Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
draclms-web /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxrwxr-x
canvaskit
[ DIR ]
drwxrwxr-x
icons
[ DIR ]
drwxrwxr-x
.last_build_id
32
B
-rw-rw-r--
favicon.png
917
B
-rw-rw-r--
flutter_service_worker.js
17.73
KB
-rw-rw-r--
index.html
7.56
KB
-rw-rw-r--
main.dart.js
12.8
MB
-rw-rw-r--
manifest.json
1.48
KB
-rw-rw-r--
version.json
85
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : main.dart.js
// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, no-legacy-javascript, new-holders, csp), the Dart to JavaScript compiler version: 2.15.1. // 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): // 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. // // 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.__proto__ && object.__proto__.p === cls.prototype.p)) return false; try { if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) return true; if (typeof version == "function" && version.length == 0) { var v = version(); if (/^\d+\.\d+\.\d+\.\d+$/.test(v)) return true; } } catch (_) { } return false; }(); function setFunctionNamesIfNecessary(holders) { function t() { } ; if (typeof t.name == "string") return; for (var i = 0; i < holders.length; i++) { var holder = holders[i]; var keys = Object.keys(holder); for (var j = 0; j < keys.length; j++) { var key = keys[j]; var f = holder[key]; if (typeof f == "function") f.name = key; } } } function inherit(cls, sup) { cls.prototype.constructor = cls; cls.prototype["$is" + cls.name] = cls; if (sup != null) { if (supportsDirectProtoAccess) { cls.prototype.__proto__ = sup.prototype; return; } var clsPrototype = Object.create(sup.prototype); copyProperties(cls.prototype, clsPrototype); cls.prototype = clsPrototype; } } function inheritMany(sup, classes) { for (var i = 0; i < classes.length; i++) inherit(classes[i], sup); } function 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; } holder[getterName] = function() { return this[name]; }; return holder[name]; }; } function makeConstList(list) { list.immutable$list = Array; list.fixed$length = Array; return list; } function convertToFastObject(properties) { function t() { } t.prototype = properties; new t(); return properties; } function convertAllToFastObject(arrayOfObjects) { for (var i = 0; i < arrayOfObjects.length; ++i) convertToFastObject(arrayOfObjects[i]); } var functionCounter = 0; function 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, setFunctionNamesIfNecessary: setFunctionNamesIfNecessary, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags}; }(); function initializeDeferredHunk(hunk) { typesOffset = init.types.length; hunk(hunkHelpers, init, holders, $); } var A = { registerHotRestartListener(listener) { $._hotRestartListeners.push(listener); }, initializeEngine() { var t1 = {}; if ($._engineInitialized) return; A._addUrlStrategyListener(); A.registerExtension("ext.flutter.disassemble", new A.initializeEngine_closure()); $._engineInitialized = true; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); if ($.WebExperiments_instance == null) $.WebExperiments_instance = A.WebExperiments$_(); t1.waitingForAnimation = false; $.scheduleFrameCallback = new A.initializeEngine_closure0(t1); if ($.Keyboard__instance == null) $.Keyboard__instance = A.Keyboard$_(); if ($.MouseCursor__instance == null) $.MouseCursor__instance = new A.MouseCursor(); }, _addUrlStrategyListener() { self._flutter_web_set_location_strategy = A.allowInterop(new A._addUrlStrategyListener_closure()); $._hotRestartListeners.push(new A._addUrlStrategyListener_closure0()); }, 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; }, detectBrowserEngineByVendorAgent(vendor, agent) { var exp; if (vendor === "Google Inc.") { exp = A.RegExp_RegExp("SAMSUNG|SGH-[I|N|T]|GT-[I|N]|SM-[A|N|P|T|Z]|SHV-E|SCH-[I|J|R|S]|SPH-L", true, false); if (exp._nativeRegExp.test(agent.toUpperCase())) return B.BrowserEngine_5; return B.BrowserEngine_0; } else if (vendor === "Apple Computer, Inc.") return B.BrowserEngine_1; else if (B.JSString_methods.contains$1(agent, "edge/")) return B.BrowserEngine_3; else if (B.JSString_methods.contains$1(agent, "Edg/")) return B.BrowserEngine_0; else if (B.JSString_methods.contains$1(agent, "trident/7.0")) return B.BrowserEngine_4; else if (vendor === "" && B.JSString_methods.contains$1(agent, "firefox")) return B.BrowserEngine_2; A.print("WARNING: failed to detect current browser engine."); return B.BrowserEngine_6; }, detectOperatingSystem() { var platform, userAgent, maxTouchPoints, t1 = window.navigator.platform; t1.toString; platform = t1; userAgent = window.navigator.userAgent; if (B.JSString_methods.startsWith$1(platform, "Mac")) { maxTouchPoints = window.navigator.maxTouchPoints; 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; }, isIOS15() { var t1 = $.$get$_operatingSystem(); return t1 === B.OperatingSystem_0 && B.JSString_methods.contains$1(window.navigator.userAgent, "OS 15_"); }, _detectWebGLVersion() { var t1, canvas = A.CanvasElement_CanvasElement(1, 1); if (B.CanvasElement_methods.getContext$1(canvas, "webgl2") != null) { t1 = $.$get$_operatingSystem(); if (t1 === B.OperatingSystem_0) return 1; return 2; } if (B.CanvasElement_methods.getContext$1(canvas, "webgl") != null) return 1; return -1; }, canvasKit() { return $.__canvasKit._readField$0(); }, 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_yXZ[i]; if (matrix4Index < t1) skMatrix[i] = matrix4[matrix4Index]; else skMatrix[i] = 0; } return skMatrix; }, toSkMatrixFromFloat64(matrix4) { var t1, i, matrix4Index, skMatrix = new Float32Array(9); for (t1 = matrix4.length, i = 0; i < 9; ++i) { matrix4Index = B.List_yXZ[i]; if (matrix4Index < t1) 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(size) { return self.window.flutterCanvasKit.Malloc(self.Float32Array, size); }, _populateSkColor(skColor, color) { var array = J.toTypedArray$0$x(skColor); array[0] = (color.get$value(color) >>> 16 & 255) / 255; array[1] = (color.get$value(color) >>> 8 & 255) / 255; array[2] = (color.get$value(color) & 255) / 255; array[3] = (color.get$value(color) >>> 24 & 255) / 255; return array; }, 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; }, 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; }, SkParagraphStyleProperties$(receiver) { return new A.SkParagraphStyleProperties(); }, SkTextStyleProperties$(receiver) { return new A.SkTextStyleProperties(); }, SkStrutStyleProperties$(receiver) { return new A.SkStrutStyleProperties(); }, SkFontStyle$(receiver) { return new A.SkFontStyle(); }, SkTextShadow$(receiver) { return new A.SkTextShadow(); }, SkFontFeature$(receiver) { return new A.SkFontFeature(); }, ProductionCollector$() { var t1 = new A.ProductionCollector(A._setArrayType([], type$.JSArray_SkDeletable)); t1.ProductionCollector$0(); return t1; }, ManagedSkColorFilter$(ckColorFilter) { var t1 = new A.ManagedSkColorFilter(ckColorFilter); t1.ManagedSkiaObject$1(null, type$.SkColorFilter); return t1; }, Mutator$transform(matrix) { var _null = null; return new A.Mutator(B.MutatorType_3, _null, _null, _null, matrix, _null); }, diffViewList(active, next) { var i, t1, t2, _null = null, index = B.JSArray_methods.indexOf$1(active, B.JSArray_methods.get$first(next)); if (index !== -1) { for (i = 0; t1 = i + index, t1 < active.length; ++i) { if (!J.$eq$(active[t1], next[i])) return _null; if (i === next.length - 1) if (index === 0) return new A.ViewListDiffResult(B.JSArray_methods.sublist$1(active, i + 1), B.List_empty18, true, B.JSArray_methods.get$first(next)); else return new A.ViewListDiffResult(B.JSArray_methods.sublist$2(active, 0, index), B.List_empty18, false, _null); } return new A.ViewListDiffResult(B.JSArray_methods.sublist$2(active, 0, index), B.JSArray_methods.sublist$1(next, active.length - index), false, _null); } index = B.JSArray_methods.lastIndexOf$1(active, B.JSArray_methods.get$last(next)); if (index !== -1) { for (i = 0; t1 = index - i, t1 >= 0; ++i) { t2 = next.length; if (t2 <= i || !J.$eq$(active[t1], next[t2 - 1 - i])) return _null; } return new A.ViewListDiffResult(B.JSArray_methods.sublist$1(active, index + 1), B.JSArray_methods.sublist$2(next, 0, next.length - index - 1), true, B.JSArray_methods.get$first(active)); } return _null; }, FontFallbackData_createNotoFontTree() { var t2, _i, font, t3, t4, _i0, range, t1 = type$.NotoFont, ranges = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_CodeunitRange); for (t2 = $.$get$_notoFonts(), _i = 0; _i < 25; ++_i) { font = t2[_i]; font._decodingCompleter = font.resolvedFont = null; for (t3 = font.approximateUnicodeRanges, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { range = t3[_i0]; J.add$1$ax(ranges.putIfAbsent$2(0, font, new A.FontFallbackData_createNotoFontTree_closure()), range); } } return A.IntervalTree_IntervalTree$createFromRanges(ranges, t1); }, findFontsForMissingCodeunits(codeUnits) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t3, t4, t5, _i, codeUnit, results, unmatchedCodeUnits, resolvedFonts, t6, t7, t8, t1, fonts, t2, coveredCodeUnits, missingCodeUnits; var $async$findFontsForMissingCodeunits = 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$FontFallbackData__instance(); fonts = A.LinkedHashSet_LinkedHashSet$_empty(type$.NotoFont); t2 = type$.int; coveredCodeUnits = A.LinkedHashSet_LinkedHashSet$_empty(t2); missingCodeUnits = A.LinkedHashSet_LinkedHashSet$_empty(t2); for (t3 = codeUnits.length, t4 = t1.notoTree, t5 = t4.$ti._eval$1("JSArray<1>"), t4 = t4.root, _i = 0; _i < codeUnits.length; codeUnits.length === t3 || (0, A.throwConcurrentModificationError)(codeUnits), ++_i) { codeUnit = codeUnits[_i]; results = A._setArrayType([], t5); t4.searchForPoint$2(codeUnit, results); fonts.addAll$1(0, results); if (results.length !== 0) coveredCodeUnits.add$1(0, codeUnit); else missingCodeUnits.add$1(0, codeUnit); } t3 = A._LinkedHashSetIterator$(fonts, fonts._collection$_modifications, fonts.$ti._precomputed1), t4 = t3.$ti._precomputed1; case 2: // for condition if (!t3.moveNext$0()) { // goto after for $async$goto = 3; break; } $async$goto = 4; return A._asyncAwait(t4._as(t3._collection$_current).ensureResolved$0(), $async$findFontsForMissingCodeunits); case 4: // returning from await. // goto for condition $async$goto = 2; break; case 3: // after for unmatchedCodeUnits = A.LinkedHashSet_LinkedHashSet$from(coveredCodeUnits, t2); fonts = A.findMinimumFontsForCodeUnits(unmatchedCodeUnits, fonts); resolvedFonts = A.LinkedHashSet_LinkedHashSet$_empty(type$._ResolvedNotoSubset); for (t2 = A._LinkedHashSetIterator$(coveredCodeUnits, coveredCodeUnits._collection$_modifications, coveredCodeUnits.$ti._precomputed1), t3 = A._instanceType(fonts), t4 = t3._eval$1("_LinkedHashSetIterator<1>"), t3 = t3._precomputed1, t5 = t2.$ti._precomputed1; t2.moveNext$0();) { t6 = t5._as(t2._collection$_current); for (t7 = new A._LinkedHashSetIterator(fonts, fonts._collection$_modifications, t4), t7._collection$_cell = fonts._collection$_first; t7.moveNext$0();) { t8 = t3._as(t7._collection$_current).resolvedFont; if (t8 == null) continue; t8 = t8.tree; results = A._setArrayType([], t8.$ti._eval$1("JSArray<1>")); t8.root.searchForPoint$2(t6, results); resolvedFonts.addAll$1(0, results); } } t2 = $.$get$notoDownloadQueue(); resolvedFonts.forEach$1(0, t2.get$add(t2)); if (missingCodeUnits._collection$_length !== 0 || unmatchedCodeUnits._collection$_length !== 0) if (!t1.registeredSymbolsAndEmoji) A._registerSymbolsAndEmoji(); else { t2 = $.$get$notoDownloadQueue(); t3 = t2.pendingSubsets; if (!(t3.get$isNotEmpty(t3) || t2._fontsLoading != null)) { $.$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"); t1.codeUnitsWithNoKnownFont.addAll$1(0, missingCodeUnits); } } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$findFontsForMissingCodeunits, $async$completer); }, _makeResolvedNotoFontFromCss(css, $name) { var t1, t2, fontFaceUnicodeRanges, fontFaceUrl, resolvingFontFace, t3, urlStart, rawRanges, _i, startEnd, rangeValue, startRange, endRange, rangesMap, subset, t4, _i0, range, _null = null, _s34_ = "Unable to parse Google Fonts CSS: ", subsets = A._setArrayType([], type$.JSArray__ResolvedNotoSubset); for (t1 = A.LineSplitter_split(css), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")), t2 = type$.JSArray_CodeunitRange, fontFaceUnicodeRanges = _null, fontFaceUrl = fontFaceUnicodeRanges, resolvingFontFace = false; t1.moveNext$0();) { t3 = t1.get$current(t1); if (!resolvingFontFace) { if (t3 !== "@font-face {") continue; resolvingFontFace = true; } else if (B.JSString_methods.startsWith$1(t3, " src:")) { urlStart = B.JSString_methods.indexOf$1(t3, "url("); if (urlStart === -1) { $.$get$printWarning().call$1("Unable to resolve Noto font URL: " + t3); return _null; } fontFaceUrl = B.JSString_methods.substring$2(t3, urlStart + 4, B.JSString_methods.indexOf$1(t3, ")")); resolvingFontFace = true; } else if (B.JSString_methods.startsWith$1(t3, " unicode-range:")) { fontFaceUnicodeRanges = A._setArrayType([], t2); rawRanges = B.JSString_methods.substring$2(t3, 17, t3.length - 1).split(", "); for (t3 = rawRanges.length, _i = 0; _i < t3; ++_i) { startEnd = J.split$1$s(rawRanges[_i], "-"); if (startEnd.length === 1) { rangeValue = A.int_parse(B.JSString_methods.substring$1(B.JSArray_methods.get$single(startEnd), 2), 16); fontFaceUnicodeRanges.push(new A.CodeunitRange(rangeValue, rangeValue)); } else { startRange = startEnd[0]; endRange = startEnd[1]; fontFaceUnicodeRanges.push(new A.CodeunitRange(A.int_parse(B.JSString_methods.substring$1(startRange, 2), 16), A.int_parse(endRange, 16))); } } resolvingFontFace = true; } else { if (t3 === "}") { if (fontFaceUrl == null || fontFaceUnicodeRanges == null) { $.$get$printWarning().call$1(_s34_ + css); return _null; } subsets.push(new A._ResolvedNotoSubset(fontFaceUrl, $name, fontFaceUnicodeRanges)); } else continue; resolvingFontFace = false; } } if (resolvingFontFace) { $.$get$printWarning().call$1(_s34_ + css); return _null; } t1 = type$._ResolvedNotoSubset; rangesMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_CodeunitRange); for (t2 = subsets.length, _i = 0; _i < subsets.length; subsets.length === t2 || (0, A.throwConcurrentModificationError)(subsets), ++_i) { subset = subsets[_i]; for (t3 = subset.ranges, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { range = t3[_i0]; J.add$1$ax(rangesMap.putIfAbsent$2(0, subset, new A._makeResolvedNotoFontFromCss_closure()), range); } } if (rangesMap.get$isEmpty(rangesMap)) { $.$get$printWarning().call$1("Parsed Google Fonts CSS was empty: " + css); return _null; } return new A._ResolvedNotoFont($name, A.IntervalTree_IntervalTree$createFromRanges(rangesMap, t1)); }, _registerSymbolsAndEmoji() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, emojiCss, symbolsCss, emojiFontUrl, symbolsFontUrl, t1; var $async$_registerSymbolsAndEmoji = 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$FontFallbackData__instance(); if (t1.registeredSymbolsAndEmoji) { // goto return $async$goto = 1; break; } t1.registeredSymbolsAndEmoji = true; $async$goto = 3; return A._asyncAwait($.$get$notoDownloadQueue().downloader.downloadAsString$1("https://fonts.googleapis.com/css2?family=Noto+Color+Emoji+Compat"), $async$_registerSymbolsAndEmoji); case 3: // returning from await. emojiCss = $async$result; $async$goto = 4; return A._asyncAwait($.$get$notoDownloadQueue().downloader.downloadAsString$1("https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols"), $async$_registerSymbolsAndEmoji); case 4: // returning from await. symbolsCss = $async$result; t1 = new A._registerSymbolsAndEmoji_extractUrlFromCss(); emojiFontUrl = t1.call$1(emojiCss); symbolsFontUrl = t1.call$1(symbolsCss); if (emojiFontUrl != null) $.$get$notoDownloadQueue().add$1(0, new A._ResolvedNotoSubset(emojiFontUrl, "Noto Color Emoji Compat", B.List_empty2)); else $.$get$printWarning().call$1("Error parsing CSS for Noto Emoji font."); if (symbolsFontUrl != null) $.$get$notoDownloadQueue().add$1(0, new A._ResolvedNotoSubset(symbolsFontUrl, "Noto Sans Symbols", B.List_empty2)); else $.$get$printWarning().call$1("Error parsing CSS for Noto Symbols font."); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_registerSymbolsAndEmoji, $async$completer); }, findMinimumFontsForCodeUnits(codeUnits, fonts) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _box_0, t14, maxCodeUnitsCovered, t15, t16, codeUnitsCovered, t17, t18, minimumFonts = A.LinkedHashSet_LinkedHashSet$_empty(type$.NotoFont), bestFonts = A._setArrayType([], type$.JSArray_NotoFont), t1 = window.navigator, language = t1.language || t1.userLanguage; for (t1 = A._instanceType(fonts), t2 = t1._eval$1("_LinkedHashSetIterator<1>"), t3 = A._instanceType(codeUnits), t4 = t3._eval$1("_LinkedHashSetIterator<1>"), t3 = t3._precomputed1, t1 = t1._precomputed1, t5 = language === "ja", t6 = language === "zh-HK", t7 = language !== "zh-Hant", t8 = language !== "zh-Hans", t9 = language !== "zh-CN", t10 = language !== "zh-SG", t11 = language === "zh-MY", t12 = language !== "zh-TW", t13 = language === "zh-MO"; codeUnits._collection$_length !== 0;) { _box_0 = {}; B.JSArray_methods.set$length(bestFonts, 0); for (t14 = new A._LinkedHashSetIterator(fonts, fonts._collection$_modifications, t2), t14._collection$_cell = fonts._collection$_first, maxCodeUnitsCovered = 0; t14.moveNext$0();) { t15 = t1._as(t14._collection$_current); for (t16 = new A._LinkedHashSetIterator(codeUnits, codeUnits._collection$_modifications, t4), t16._collection$_cell = codeUnits._collection$_first, codeUnitsCovered = 0; t16.moveNext$0();) { t17 = t3._as(t16._collection$_current); t18 = t15.resolvedFont; if ((t18 == null ? null : t18.tree.root.containsDeep$1(t17)) === true) ++codeUnitsCovered; } if (codeUnitsCovered > maxCodeUnitsCovered) { B.JSArray_methods.set$length(bestFonts, 0); bestFonts.push(t15); maxCodeUnitsCovered = codeUnitsCovered; } else if (codeUnitsCovered === maxCodeUnitsCovered) bestFonts.push(t15); } if (maxCodeUnitsCovered === 0) break; _box_0.bestFont = B.JSArray_methods.get$first(bestFonts); if (bestFonts.length > 1) if (B.JSArray_methods.every$1(bestFonts, new A.findMinimumFontsForCodeUnits_closure())) if (!t8 || !t9 || !t10 || t11) { if (B.JSArray_methods.contains$1(bestFonts, $.$get$_notoSansSC())) _box_0.bestFont = $.$get$_notoSansSC(); } else if (!t7 || !t12 || t13) { if (B.JSArray_methods.contains$1(bestFonts, $.$get$_notoSansTC())) _box_0.bestFont = $.$get$_notoSansTC(); } else if (t6) { if (B.JSArray_methods.contains$1(bestFonts, $.$get$_notoSansHK())) _box_0.bestFont = $.$get$_notoSansHK(); } else if (t5) if (B.JSArray_methods.contains$1(bestFonts, $.$get$_notoSansJP())) _box_0.bestFont = $.$get$_notoSansJP(); codeUnits._filterWhere$2(new A.findMinimumFontsForCodeUnits_closure0(_box_0), true); minimumFonts.addAll$1(0, bestFonts); } return minimumFonts; }, NotoFont$($name, approximateUnicodeRanges) { return new A.NotoFont($name, approximateUnicodeRanges); }, RegisteredFont$(bytes, family, typeface) { J.getGlyphBounds$3$x(new self.window.flutterCanvasKit.Font(typeface), A._setArrayType([0], type$.JSArray_int), null, null); return new A.RegisteredFont(family, bytes, typeface); }, ImageCodecException$(_message) { return new A.ImageCodecException(_message); }, skiaInstantiateWebImageCodec(url, chunkCallback) { var t2, t1 = new A._Future($.Zone__current, type$._Future_Codec), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_Codec), request = $.$get$httpRequestFactory().call$0(); B.HttpRequest_methods.open$3$async(request, "GET", url, true); request.responseType = "arraybuffer"; t2 = type$.ProgressEvent; A._EventStreamSubscription$(request, "progress", new A.skiaInstantiateWebImageCodec_closure(chunkCallback), false, t2); A._EventStreamSubscription$(request, "error", new A.skiaInstantiateWebImageCodec_closure0(completer, url), false, t2); A._EventStreamSubscription$(request, "load", new A.skiaInstantiateWebImageCodec_closure1(request, completer, url), false, t2); request.send(); return t1; }, CkAnimatedImage$decodeFromBytes(_bytes, src) { var t1 = new A.CkAnimatedImage(src, _bytes); t1.ManagedSkiaObject$1(null, type$.SkAnimatedImage); return t1; }, CkImage$(skImage) { var t1 = new A.CkImage($); t1.CkImage$1(skImage); return t1; }, CkImage__encodeImage(alphaType, colorSpace, colorType, format, skImage) { var t1 = format === B.ImageByteFormat_0 || format === B.ImageByteFormat_1, t2 = J.getInterceptor$x(skImage), bytes = t1 ? t2.readPixels$3(skImage, 0, 0, {width: t2.width$0(skImage), height: t2.height$0(skImage), colorType: colorType, alphaType: alphaType, colorSpace: colorSpace}) : t2.encodeToBytes$0(skImage); return bytes == null ? null : A.NativeByteData_NativeByteData$view(bytes.buffer, 0, bytes.length); }, _detectRenderer() { if (self.window.flutterWebRenderer != null) { var t1 = self.window.flutterWebRenderer; t1.toString; return J.$eq$(t1, "canvaskit"); } t1 = $.$get$_operatingSystem(); return J.containsKey$1$x(B.Set_69tl2._collection$_map, t1); }, initializeCanvasKit() { var t2, t1 = new A._Future($.Zone__current, type$._Future_void), canvasKitCompleter = new A._AsyncCompleter(t1, type$._AsyncCompleter_void); if (self.window.flutterCanvasKit != null) { t2 = self.window.flutterCanvasKit; t2.toString; $.__canvasKit.__late_helper$_value = t2; canvasKitCompleter.complete$0(0); } else { A._startDownloadingCanvasKit(null); $._canvasKitLoaded.then$1$1(0, new A.initializeCanvasKit_closure(canvasKitCompleter), type$.Null); } $.skiaSceneHost = A._ElementFactoryProvider_createElement_tag("flt-scene", null); t2 = $._domRenderer; if (t2 == null) t2 = $._domRenderer = A.DomRenderer$(); t2.renderScene$1($.skiaSceneHost); return t1; }, _startDownloadingCanvasKit(canvasKitBase) { var canvasKitJavaScriptUrl, t2, loadSubscription, t3, objectConstructor, _s14_ = "defineProperty", t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); canvasKitJavaScriptUrl = t1.get$canvasKitBaseUrl(t1) + "profiling/canvaskit.js"; t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitBaseUrl(t1) + "profiling/"; $._currentCanvasKitBase = t1; if (self.window.flutterCanvasKit == null) { t1 = $._canvasKitScript; if (t1 != null) B.ScriptElement_methods.remove$0(t1); t1 = document; t2 = t1.createElement("script"); $._canvasKitScript = t2; t2.src = canvasKitJavaScriptUrl; t2 = new A._Future($.Zone__current, type$._Future_void); $._canvasKitLoaded = t2; loadSubscription = A._Cell$named("loadSubscription"); t3 = $._canvasKitScript; t3.toString; loadSubscription.__late_helper$_value = A._EventStreamSubscription$(t3, "load", new A._startDownloadingCanvasKit_closure(loadSubscription, new A._AsyncCompleter(t2, type$._AsyncCompleter_void)), false, type$._ElementEventStreamImpl_Event._precomputed1); t2 = $.$get$_context(); objectConstructor = type$.JsFunction._as(t2.$index(0, "Object")); if (t2.$index(0, "exports") == null) objectConstructor.callMethod$2(_s14_, [t2, "exports", A.JsObject_JsObject$jsify(A.LinkedHashMap_LinkedHashMap$_literal(["get", A.allowInterop(new A._startDownloadingCanvasKit_closure0(objectConstructor)), "set", A.allowInterop(new A._startDownloadingCanvasKit_closure1()), "configurable", true], type$.String, type$.dynamic))]); if (t2.$index(0, "module") == null) objectConstructor.callMethod$2(_s14_, [t2, "module", A.JsObject_JsObject$jsify(A.LinkedHashMap_LinkedHashMap$_literal(["get", A.allowInterop(new A._startDownloadingCanvasKit_closure2(objectConstructor)), "set", A.allowInterop(new A._startDownloadingCanvasKit_closure3()), "configurable", true], type$.String, type$.dynamic))]); t1 = t1.head; t1.toString; t2 = $._canvasKitScript; t2.toString; t1.appendChild(t2); } }, IntervalTree_IntervalTree$createFromRanges(rangesMap, $T) { var t1, intervals = A._setArrayType([], $T._eval$1("JSArray<IntervalTreeNode<0>>")); rangesMap.forEach$1(0, new A.IntervalTree_IntervalTree$createFromRanges_closure(intervals, $T)); B.JSArray_methods.sort$1(intervals, new A.IntervalTree_IntervalTree$createFromRanges_closure0($T)); t1 = new A.IntervalTree_IntervalTree$createFromRanges__makeBalancedTree($T).call$1(intervals); t1.toString; new A.IntervalTree_IntervalTree$createFromRanges__computeHigh($T).call$1(t1); return new A.IntervalTree(t1, $T._eval$1("IntervalTree<0>")); }, CkPaint$() { var t1 = new A.CkPaint(B.BlendMode_3, B.PaintingStyle_0, B.StrokeCap_0, B.StrokeJoin_0, B.Color_4278190080, B.FilterQuality_0); t1.ManagedSkiaObject$1(null, type$.SkPaint); return t1; }, CkPath$() { var t1 = new A.CkPath(B.PathFillType_0); t1.ManagedSkiaObject$1(null, type$.SkPath); return t1; }, CkPath$fromSkPath(skPath, _fillType) { var t2, t3, t1 = new A.CkPath(_fillType); t1.ManagedSkiaObject$1(skPath, type$.SkPath); t2 = t1.get$skiaObject(); t3 = t1._fillType; J.setFillType$1$x(t2, $.$get$_skFillTypes()[t3.index]); return t1; }, CkContourMeasureIter$(_metrics) { var t1 = new A.CkContourMeasureIter(_metrics); t1.ManagedSkiaObject$1(null, type$.SkContourMeasureIter); return t1; }, SkiaObjects_registerCleanupCallback() { if ($.SkiaObjects__addedCleanupCallback) return; $.$get$EnginePlatformDispatcher__instance().get$rasterizer()._postFrameCallbacks.push(A._engine_SkiaObjects_postFrameCleanUp$closure()); $.SkiaObjects__addedCleanupCallback = true; }, SkiaObjects_markCacheForResize(cache) { A.SkiaObjects_registerCleanupCallback(); if (B.JSArray_methods.contains$1($.SkiaObjects_cachesToResize, cache)) return; $.SkiaObjects_cachesToResize.push(cache); }, SkiaObjects_postFrameCleanUp() { var i, object; if ($.SkiaObjects_resurrectableObjects.length === 0 && $.SkiaObjects_cachesToResize.length === 0) return; for (i = 0; i < $.SkiaObjects_resurrectableObjects.length; ++i) { object = $.SkiaObjects_resurrectableObjects[i]; object.delete$0(0); object.didDelete$0(); } B.JSArray_methods.set$length($.SkiaObjects_resurrectableObjects, 0); for (i = 0; i < $.SkiaObjects_cachesToResize.length; ++i) $.SkiaObjects_cachesToResize[i].resize$0(0); B.JSArray_methods.set$length($.SkiaObjects_cachesToResize, 0); }, SurfaceFactory_instance() { var t2, t3, t4, t5, _s20_ = "flt-canvas-container", t1 = $.SurfaceFactory__instance; if (t1 == null) { t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1); t2 = A._ElementFactoryProvider_createElement_tag(_s20_, null); t3 = A._ElementFactoryProvider_createElement_tag(_s20_, null); t4 = type$.JSArray_Surface; t5 = A._setArrayType([], t4); t4 = A._setArrayType([], t4); t1 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t2), new A.Surface(t3), t1, t5, t4); } return t1; }, CkTextStyle_CkTextStyle(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, 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); }, toSkFontStyle(fontWeight, fontStyle) { var style = A.SkFontStyle$(null); if (fontWeight != null) style.weight = $.$get$_skFontWeights()[fontWeight.index]; if (fontStyle != null) style.slant = $.$get$_skFontSlants()[fontStyle.index]; return style; }, CkParagraphBuilder$(style) { var t2, t3, t4, _null = null, t1 = A._setArrayType([], type$.JSArray__ParagraphCommand); type$.CkParagraphStyle._as(style); t2 = A._setArrayType([], type$.JSArray_double); t3 = A._setArrayType([], type$.JSArray_CkTextStyle); t4 = J.MakeFromFontProvider$2$x(J.get$ParagraphBuilder$x($.__canvasKit._readField$0()), style.skParagraphStyle, $._skiaFontCollection.fontProvider); t3.push(A.CkTextStyle_CkTextStyle(_null, _null, _null, _null, _null, _null, style._fontFamily, _null, _null, style._fontSize, style._fontStyle, style._fontWeight, _null, style.__engine$_height, style._leadingDistribution, _null, _null, _null, _null, _null)); return new A.CkParagraphBuilder(t4, style, t1, t2, t3); }, _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$FontFallbackData__instance().globalFontFallbacks); return fontFamilies; }, 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; }, computeSkShadowBounds(path, elevation, devicePixelRatio, matrix) { var isComplex, ambientBlur, spotBlur, t1, spotOffsetX, spotOffsetY, shadowBounds, inverse, pathBounds = A.fromSkRect(J.getBounds$0$x(path.get$skiaObject())); if (elevation === 0) return pathBounds; isComplex = !matrix.isIdentityOrTranslation$0(); if (isComplex) pathBounds = A.transformRect(matrix, pathBounds); ambientBlur = Math.min(elevation * 0.0078125 * 64, 150); spotBlur = 1.1 * elevation; t1 = -elevation; spotOffsetX = t1 * 0; spotOffsetY = t1 * -0.75; shadowBounds = new A.Rect(pathBounds.left - 1 + (spotOffsetX - ambientBlur - spotBlur) * devicePixelRatio, pathBounds.top - 1 + (spotOffsetY - ambientBlur - spotBlur) * devicePixelRatio, pathBounds.right + 1 + (spotOffsetX + ambientBlur + spotBlur) * devicePixelRatio, pathBounds.bottom + 1 + (spotOffsetY + ambientBlur + spotBlur) * devicePixelRatio); if (isComplex) { inverse = new A.Matrix40(new Float32Array(16)); if (inverse.copyInverse$1(matrix) !== 0) return A.transformRect(inverse, shadowBounds); else return shadowBounds; } else return shadowBounds; }, drawSkShadow(skCanvas, path, color, elevation, transparentOccluder, devicePixelRatio) { var t3, t4, 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 = {ambient: A.makeFreshSkColor(inAmbient), spot: A.makeFreshSkColor(inSpot)}, tonalColors = J.computeTonalColors$1$x($.__canvasKit._readField$0(), inTonalColors), t1 = path.get$skiaObject(), t2 = new Float32Array(3); t2[2] = devicePixelRatio * elevation; t3 = new Float32Array(3); t3[0] = 0; t3[1] = -450; t3[2] = devicePixelRatio * 600; t4 = J.getInterceptor$x(tonalColors); J.drawShadow$7$x(skCanvas, t1, t2, t3, devicePixelRatio * 1.1, t4.get$ambient(tonalColors), t4.get$spot(tonalColors), flags); }, PasteFromClipboardStrategy_PasteFromClipboardStrategy() { var t1 = $.$get$_browserEngine(); return t1 === B.BrowserEngine_2 || window.navigator.clipboard == null ? new A.ExecCommandPasteStrategy() : new A.ClipboardAPIPasteStrategy(); }, DomRenderer$() { var t1 = document.body; t1.toString; t1 = new A.DomRenderer(t1); t1.reset$0(0); return t1; }, DomRenderer_setElementStyle(element, $name, value) { var t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, $name), value, null); }, DomRenderer_setClipPath(element, value) { var t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "-webkit-clip-path"), value, null); } t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "clip-path"), value, null); }, DomRenderer_ellipse(context, centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) { var t1 = $.DomRenderer__ellipseFeatureDetected; if (t1 == null ? $.DomRenderer__ellipseFeatureDetected = context.ellipse != null : t1) context.ellipse(centerX, centerY, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise); else { context.save(); context.translate(centerX, centerY); context.rotate(rotation); context.scale(radiusX, radiusY); context.arc(0, 0, 1, startAngle, endAngle, antiClockwise); context.restore(); } }, DomRenderer__deviceOrientationToLockType(deviceOrientation) { switch (deviceOrientation) { case "DeviceOrientation.portraitUp": return "portrait-primary"; case "DeviceOrientation.landscapeLeft": return "portrait-secondary"; case "DeviceOrientation.portraitDown": return "landscape-primary"; case "DeviceOrientation.landscapeRight": return "landscape-secondary"; default: return null; } }, applyGlobalCssRulesToSheet(sheet, browserEngine, hasAutofillOverlay) { var t1, isWebKit = browserEngine === B.BrowserEngine_1, isFirefox = browserEngine === B.BrowserEngine_2; if (isFirefox) sheet.insertRule("flt-ruler-host p, flt-scene p { margin: 0; line-height: 100%;}", sheet.cssRules.length); else sheet.insertRule("flt-ruler-host p, flt-scene p { margin: 0; }", sheet.cssRules.length); sheet.insertRule(" flt-semantics input[type=range] {\n appearance: none;\n -webkit-appearance: none;\n width: 100%;\n position: absolute;\n border: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n ", sheet.cssRules.length); if (isWebKit) sheet.insertRule("flt-semantics input[type=range]::-webkit-slider-thumb { -webkit-appearance: none;}", sheet.cssRules.length); if (isFirefox) { sheet.insertRule("input::-moz-selection { background-color: transparent;}", sheet.cssRules.length); sheet.insertRule("textarea::-moz-selection { background-color: transparent;}", sheet.cssRules.length); } else { sheet.insertRule("input::selection { background-color: transparent;}", sheet.cssRules.length); sheet.insertRule("textarea::selection { background-color: transparent;}", sheet.cssRules.length); } sheet.insertRule(' flt-semantics input,\n flt-semantics textarea,\n flt-semantics [contentEditable="true"] {\n caret-color: transparent;\n }\n ', sheet.cssRules.length); if (isWebKit) sheet.insertRule(" flt-glass-pane * {\n -webkit-tap-highlight-color: transparent;\n }\n ", sheet.cssRules.length); sheet.insertRule(" .flt-text-editing::placeholder {\n opacity: 0;\n }\n ", sheet.cssRules.length); t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_0) if (t1 !== B.BrowserEngine_5) t1 = t1 === B.BrowserEngine_1; else t1 = true; else t1 = true; if (t1) sheet.insertRule(" .transparentTextEditing:-webkit-autofill,\n .transparentTextEditing:-webkit-autofill:hover,\n .transparentTextEditing:-webkit-autofill:focus,\n .transparentTextEditing:-webkit-autofill:active {\n -webkit-transition-delay: 99999s;\n }\n ", sheet.cssRules.length); }, ensureDomRendererInitialized() { var t1 = $._domRenderer; return t1 == null ? $._domRenderer = A.DomRenderer$() : t1; }, transformWithOffset(transform, offset) { var effectiveTransform; if (offset.$eq(0, B.Offset_0_0)) return transform; effectiveTransform = new A.Matrix40(new Float32Array(16)); effectiveTransform.setFrom$1(transform); effectiveTransform.translate$3(0, offset._dx, offset._dy, 0); return effectiveTransform; }, drawParagraphElement(paragraph, offset, transform) { var paragraphElement = paragraph.toDomElement$0(); if (transform != null) A.setElementTransform(paragraphElement, A.transformWithOffset(transform, offset).__engine$_m4storage); return paragraphElement; }, sendFontChangeMessage() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); 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; B.Window_methods.requestAnimationFrame$1(window, new A.sendFontChangeMessage_closure()); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$sendFontChangeMessage, $async$completer); }, BitmapCanvas$(_bounds, renderStrategy, density) { var t1 = A._ElementFactoryProvider_createElement_tag("flt-canvas", null), t2 = A._setArrayType([], type$.JSArray_Element), t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(), 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); t9 = t1.style; t9.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 = type$.HtmlElement._as(t1); t3._setupInitialTransform$0(); return t3; }, BitmapCanvas_widthToPhysical(width) { return B.JSNumber_methods.ceil$0((width + 1) * A.EnginePlatformDispatcher_browserDevicePixelRatio()) + 2; }, BitmapCanvas_heightToPhysical(height) { return B.JSNumber_methods.ceil$0((height + 1) * A.EnginePlatformDispatcher_browserDevicePixelRatio()) + 2; }, BitmapCanvas__onEvictElement(element) { B.ImageElement_methods.remove$0(element); }, stringForBlendMode(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))); } }, stringForStrokeCap(strokeCap) { 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, t2, newElement, t3, rect, newClipTransform, transformKind, clipOffsetX, clipOffsetY, newClipTransform0, t4, t5, value, borderRadius, t6, ovalBounds, reverseTransformDiv, _s8_ = "absolute", _s6_ = "hidden", _s16_ = "transform-origin", _s9_ = "transform", _s13_ = "border-radius", _s15_ = "transform-style", t1 = type$.JSArray_Element, clipDefs = A._setArrayType([], t1), len = clipStack.length; for (root = null, curElement = null, clipIndex = 0; clipIndex < len; ++clipIndex, curElement = reverseTransformDiv) { entry = clipStack[clipIndex]; t2 = document; newElement = t2.createElement("div"); t3 = newElement.style; t3.position = _s8_; t3 = $.$get$_browserEngine(); if (t3 === B.BrowserEngine_1) { t3 = newElement.style; t3.zIndex = "0"; } if (root == null) root = newElement; else { if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); curElement.appendChild(newElement); } rect = entry.rect; newClipTransform = entry.currentTransform; t3 = newClipTransform.__engine$_m4storage; transformKind = A.transformKindOf(t3); if (rect != null) { clipOffsetX = rect.left; clipOffsetY = rect.top; t3 = new Float32Array(16); newClipTransform0 = new A.Matrix40(t3); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t4 = newElement.style; t4.overflow = _s6_; t5 = A.S(rect.right - clipOffsetX) + "px"; t4.width = t5; t5 = A.S(rect.bottom - clipOffsetY) + "px"; t4.height = t5; t4 = newElement.style; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s16_); t4.setProperty(t5, "0 0 0", ""); value = A.float64ListToCssTransform(t3); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s9_); t4.setProperty(t3, value, ""); newClipTransform = newClipTransform0; } else { t4 = entry.rrect; if (t4 != null) { borderRadius = A.S(t4.tlRadiusX) + "px " + A.S(t4.trRadiusX) + "px " + A.S(t4.brRadiusX) + "px " + A.S(t4.blRadiusX) + "px"; clipOffsetX = t4.left; clipOffsetY = t4.top; t3 = new Float32Array(16); newClipTransform0 = new A.Matrix40(t3); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t5 = newElement.style; t6 = B.CssStyleDeclaration_methods._browserPropertyName$1(t5, _s13_); t5.setProperty(t6, borderRadius, ""); t5.overflow = _s6_; t6 = A.S(t4.right - clipOffsetX) + "px"; t5.width = t6; t4 = A.S(t4.bottom - clipOffsetY) + "px"; t5.height = t4; t4 = newElement.style; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s16_); t4.setProperty(t5, "0 0 0", ""); value = A.float64ListToCssTransform(t3); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s9_); t4.setProperty(t3, value, ""); newClipTransform = newClipTransform0; } else { t4 = entry.path; if (t4 != null) { t5 = t4.pathRef; if ((t5.fIsOval ? t5.fRRectOrOvalStartIdx : -1) !== -1) { ovalBounds = t4.getBounds$0(0); clipOffsetX = ovalBounds.left; clipOffsetY = ovalBounds.top; t3 = new Float32Array(16); newClipTransform0 = new A.Matrix40(t3); newClipTransform0.setFrom$1(newClipTransform); newClipTransform0.translate$2(0, clipOffsetX, clipOffsetY); t4 = newElement.style; t4.overflow = _s6_; t5 = A.S(ovalBounds.right - clipOffsetX) + "px"; t4.width = t5; t5 = A.S(ovalBounds.bottom - clipOffsetY) + "px"; t4.height = t5; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s13_); t4.setProperty(t5, "50%", ""); t4 = newElement.style; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s16_); t4.setProperty(t5, "0 0 0", ""); value = A.float64ListToCssTransform(t3); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, _s9_); t4.setProperty(t3, value, ""); newClipTransform = newClipTransform0; } else { t5 = newElement.style; value = A.float64ListToCssTransform(t3); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t5, _s9_); t5.setProperty(t3, value, ""); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t5, _s16_); t5.setProperty(t3, "0 0 0", ""); clipDefs.push(A.Element_Element$html(A.createSvgClipDef(newElement, t4), new A.NullTreeSanitizer(), null)); } } } } reverseTransformDiv = t2.createElement("div"); t2 = reverseTransformDiv.style; t2.position = _s8_; t2 = new Float32Array(16); t3 = new A.Matrix40(t2); t3.setFrom$1(newClipTransform); t3.copyInverse$1(t3); t3 = reverseTransformDiv.style; t4 = B.CssStyleDeclaration_methods._browserPropertyName$1(t3, _s16_); t3.setProperty(t4, "0 0 0", ""); value = A.float64ListToCssTransform(t2); t2 = B.CssStyleDeclaration_methods._browserPropertyName$1(t3, _s9_); t3.setProperty(t2, value, ""); if (transformKind === B.TransformKind_2) { t2 = newElement.style; t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t2, _s15_); t2.setProperty(t3, "preserve-3d", ""); t2 = reverseTransformDiv.style; t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(t2, _s15_); t2.setProperty(t3, "preserve-3d", ""); } newElement.appendChild(reverseTransformDiv); } t2 = root.style; t2.position = _s8_; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); curElement.appendChild($content); A.setElementTransform($content, A.transformWithOffset(currentTransform, offset).__engine$_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$window()._debugDevicePixelRatio; return "blur(" + A.S(t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2)) + "px)"; } else return "none"; }, createSvgClipDef(element, clipPath) { var t3, pathBounds = clipPath.getBounds$0(0), t1 = pathBounds.right, t2 = pathBounds.bottom, svgClipPath = A.pathToSvgClipPath(clipPath, 0, 0, 1 / t1, 1 / t2); A.DomRenderer_setClipPath(element, "url(#svgClip" + $._clipIdCounter + ")"); t3 = element.style; t1 = A.S(t1) + "px"; t3.width = t1; t1 = A.S(t2) + "px"; t3.height = t1; return svgClipPath; }, svgFilterFromColorMatrix(matrix) { var sbMatrix, i, t1; $.filterIdCounter = $.filterIdCounter + 1; sbMatrix = new A.StringBuffer(""); for (i = 0, t1 = ""; i < 20; ++i) { if (i !== 0) sbMatrix._contents = t1 + " "; t1 = sbMatrix._contents += A.S(matrix[i]); } return string$.x3csvg_w + $.filterIdCounter + '" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"><feColorMatrix type="matrix" values="' + sbMatrix.toString$0(0) + '" result="comp"/></filter></svg>'; }, _blendColorFilterToSvg(color, feBlend, swapLayers) { var t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; t1 = string$.x3csvg_w + t1 + string$.x22x20filt + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood>'; return t1 + (swapLayers ? '<feBlend in="SourceGraphic" in2="flood" mode="' + feBlend + '"/>' : '<feBlend in="flood" in2="SourceGraphic" mode="' + feBlend + '"/>') + "</filter></svg>"; }, buildDrawRectElement(rect, paint, tagName, transform) { var t2, left, right, $top, bottom, effectiveTransform, translated, style, cssColor, sigma, t1 = $._domRenderer, rectangle = type$.HtmlElement._as((t1 == null ? $._domRenderer = A.DomRenderer$() : t1).createElement$1(0, tagName)), isStroke = paint.style === B.PaintingStyle_1, strokeWidth = paint.strokeWidth; if (strokeWidth == null) strokeWidth = 0; t1 = rect.left; t2 = rect.right; left = Math.min(t1, t2); right = Math.max(t1, t2); t2 = rect.top; t1 = rect.bottom; $top = Math.min(t2, t1); bottom = Math.max(t2, t1); if (transform.isIdentity$0(0)) if (isStroke) { t1 = strokeWidth / 2; effectiveTransform = "translate(" + A.S(left - t1) + "px, " + A.S($top - t1) + "px)"; } else effectiveTransform = "translate(" + A.S(left) + "px, " + A.S($top) + "px)"; else { t1 = new Float32Array(16); translated = new A.Matrix40(t1); translated.setFrom$1(transform); if (isStroke) { t2 = strokeWidth / 2; translated.translate$2(0, left - t2, $top - t2); } else translated.translate$2(0, left, $top); effectiveTransform = A.float64ListToCssTransform(t1); } style = rectangle.style; style.position = "absolute"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform-origin"), "0 0 0", ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform"), effectiveTransform, ""); t1 = paint.color; if (t1 == null) cssColor = "#000000"; else { t1 = A.colorToCssString(t1); t1.toString; cssColor = t1; } t1 = paint.maskFilter; if (t1 != null) { sigma = t1._sigma; t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1 && !isStroke) { t1 = "0px 0px " + A.S(sigma * 2) + "px " + cssColor; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "box-shadow"), t1, ""); t1 = paint.color; if (t1 == null) t1 = B.Color_4278190080; t1 = A.colorToCssString(new A.Color(((B.JSNumber_methods.round$0((1 - Math.min(Math.sqrt(sigma) / 6.283185307179586, 1)) * (t1.get$value(t1) >>> 24 & 255)) & 255) << 24 | t1.get$value(t1) & 16777215) >>> 0)); t1.toString; cssColor = t1; } else { t1 = "blur(" + A.S(sigma) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "filter"), t1, ""); } } t1 = right - left; if (isStroke) { t1 = A.S(t1 - strokeWidth) + "px"; style.width = t1; t1 = A.S(bottom - $top - strokeWidth) + "px"; style.height = t1; t1 = A._borderStrokeToCssUnit(strokeWidth) + " solid " + cssColor; style.border = t1; } else { t1 = A.S(t1) + "px"; style.width = t1; t1 = A.S(bottom - $top) + "px"; style.height = t1; style.backgroundColor = cssColor; t1 = paint.shader; if (t1 != null && t1 instanceof A.EngineImageShader) { t1.toString; type$.EngineImageShader._as(t1); t2 = rectangle.style; t1 = t1.image.imgElement.src; t2.backgroundImage = t1 == null ? "" : t1; } } return rectangle; }, 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) { t1 = A._borderStrokeToCssUnit(rrect.blRadiusX); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-radius"), t1, ""); return; } t1 = A._borderStrokeToCssUnit(t1) + " " + A._borderStrokeToCssUnit(rrect.tlRadiusY); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-left-radius"), t1, ""); t2 = A._borderStrokeToCssUnit(t2) + " " + A._borderStrokeToCssUnit(rrect.trRadiusY); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-right-radius"), t2, ""); t2 = A._borderStrokeToCssUnit(rrect.blRadiusX) + " " + A._borderStrokeToCssUnit(rrect.blRadiusY); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-left-radius"), t2, ""); t2 = A._borderStrokeToCssUnit(rrect.brRadiusX) + " " + A._borderStrokeToCssUnit(rrect.brRadiusY); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-right-radius"), t2, ""); }, _borderStrokeToCssUnit(value) { return B.JSNumber_methods.toStringAsFixed$1(value === 0 ? 1 : value, 3) + "px"; }, pathToSvgElement(path, paint, width, height) { var color, t2, t3, sb = new A.StringBuffer(""), t1 = "" + ('<svg viewBox="0 0 ' + width + " " + height + '" width="' + width + 'px" height="' + height + 'px">'); sb._contents = t1; t1 = sb._contents = t1 + "<path "; color = paint.color; t2 = color == null; if (t2) color = B.Color_4278190080; 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; if (t3) { t1 += 'stroke="' + A.S(A.colorToCssString(color)) + '" '; sb._contents = t1; t2 = paint.strokeWidth; t1 += 'stroke-width="' + A.S(t2 == null ? 1 : t2) + '" '; sb._contents = t1; t1 += 'fill="none" '; sb._contents = t1; } else if (!t2) { t1 += 'fill="' + A.S(A.colorToCssString(color)) + '" '; sb._contents = t1; } else { t1 += 'fill="#000000" '; sb._contents = t1; } sb._contents = (path._fillType === B.PathFillType_1 ? sb._contents = t1 + 'fill-rule="evenodd" ' : t1) + 'd="'; A.pathToSvg(path.pathRef, sb, 0, 0); t1 = sb._contents += '"></path>'; t1 = sb._contents = t1 + "</svg>"; return A.Element_Element$html(t1.charCodeAt(0) == 0 ? t1 : t1, new A.NullTreeSanitizer(), null); }, OffScreenCanvas$(width, height) { var t3, t4, t1 = new A.OffScreenCanvas(width, height), t2 = $.OffScreenCanvas__supported; if (t2 == null ? $.OffScreenCanvas__supported = "OffscreenCanvas" in window : t2) t1.offScreenCanvas = new OffscreenCanvas(width, height); else { t2 = t1.canvasElement = A.CanvasElement_CanvasElement(height, width); t2.className = "gl-canvas"; t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t2 = t2.style; t2.position = "absolute"; t3 = A.S(width / t3) + "px"; t2.width = t3; t3 = A.S(height / t4) + "px"; t2.height = t3; } return t1; }, 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; }, chopCubicBetweenT(points, startT, stopT, buffer) { var endT, ab2x, ab2y, bc2x, bc2y, abc2x, abc2y, p3y = points[7], p0x = points[0], p0y = points[1], p1x = points[2], p1y = points[3], p2x = points[4], p2y = points[5], p3x = points[6], t1 = startT === 0, t = !t1 ? startT : stopT, t2 = 1 - t, ab1x = p0x * t2 + p1x * t, ab1y = p0y * t2 + p1y * t, bc1x = p1x * t2 + p2x * t, bc1y = p1y * t2 + p2y * t, cd1x = p2x * t2 + p3x * t, cd1y = p2y * t2 + p3y * t, abc1x = ab1x * t2 + bc1x * t, abc1y = ab1y * t2 + bc1y * t, bcd1x = bc1x * t2 + cd1x * t, bcd1y = bc1y * t2 + cd1y * t, abcd1x = abc1x * t2 + bcd1x * t, abcd1y = abc1y * t2 + bcd1y * t; if (t1) { buffer[0] = p0x; buffer[1] = p0y; buffer[2] = ab1x; buffer[3] = ab1y; buffer[4] = abc1x; buffer[5] = abc1y; buffer[6] = abcd1x; buffer[7] = abcd1y; return; } if (stopT === 1) { buffer[0] = abcd1x; buffer[1] = abcd1y; buffer[2] = bcd1x; buffer[3] = bcd1y; buffer[4] = cd1x; buffer[5] = cd1y; buffer[6] = p3x; buffer[7] = p3y; return; } endT = (stopT - startT) / (1 - startT); t1 = 1 - endT; ab2x = abcd1x * t1 + bcd1x * endT; ab2y = abcd1y * t1 + bcd1y * endT; bc2x = bcd1x * t1 + cd1x * endT; bc2y = bcd1y * t1 + cd1y * endT; abc2x = ab2x * t1 + bc2x * endT; abc2y = ab2y * t1 + bc2y * endT; buffer[0] = abcd1x; buffer[1] = abcd1y; buffer[2] = ab2x; buffer[3] = ab2y; buffer[4] = abc2x; buffer[5] = abc2y; buffer[6] = abc2x * t1 + (bc2x * t1 + (cd1x * t1 + p3x * endT) * endT) * endT; buffer[7] = abc2y * t1 + (bc2y * t1 + (cd1y * t1 + p3y * endT) * endT) * endT; }, SurfacePath$() { var t1 = new A.SurfacePath(A.PathRef$(), B.PathFillType_0); t1._resetFields$0(); return t1; }, SurfacePath$from(source) { var t3, t4, t1 = A.PathRef$(), t2 = source.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); t1._fVerbs.set(t2._fVerbs); t1.fPoints.set(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; t1 = new A.SurfacePath(t1, B.PathFillType_0); t1._copyFields$1(source); 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, forceClose, pathRef._fVerbsLength); if (pathRef.fBoundsIsDirty) pathRef._computeBounds$0(); if (!pathRef.fIsFinite) t1._verbIndex = pathRef._fVerbsLength; return t1; }, _PathContourMeasure__cubicTooCurvy(x0, y0, x1, y1, x2, y2, x3, y3) { if (Math.abs(x0 * 2 / 3 + x3 / 3 - x1) > 0.5) return true; if (Math.abs(y0 * 2 / 3 + y3 / 3 - y1) > 0.5) return true; if (Math.abs(x0 / 3 + x3 * 2 / 3 - x2) > 0.5) return true; if (Math.abs(y0 / 3 + y3 * 2 / 3 - y2) > 0.5) return true; return false; }, _PathContourMeasure__computeCubicSegments(x0, y0, x1, y1, x2, y2, x3, y3, distance, tMin, tMax, segments) { var abX, abY, bcX, bcY, cdX, cdY, abcX, abcY, bcdX, bcdY, abcdX, abcdY, tHalf, dx, dy, distance0; if (B.JSInt_methods._shrOtherPositive$1(tMax - tMin, 10) !== 0 && A._PathContourMeasure__cubicTooCurvy(x0, y0, x1, y1, x2, y2, x3, y3)) { abX = (x0 + x1) / 2; abY = (y0 + y1) / 2; bcX = (x1 + x2) / 2; bcY = (y1 + y2) / 2; cdX = (x2 + x3) / 2; cdY = (y2 + y3) / 2; abcX = (abX + bcX) / 2; abcY = (abY + bcY) / 2; bcdX = (bcX + cdX) / 2; bcdY = (bcY + cdY) / 2; abcdX = (abcX + bcdX) / 2; abcdY = (abcY + bcdY) / 2; tHalf = tMin + tMax >>> 1; distance = A._PathContourMeasure__computeCubicSegments(abcdX, abcdY, bcdX, bcdY, cdX, cdY, x3, y3, A._PathContourMeasure__computeCubicSegments(x0, y0, abX, abY, abcX, abcY, abcdX, abcdY, distance, tMin, tHalf, segments), tHalf, tMax, segments); } else { dx = x0 - x3; dy = y0 - y3; distance0 = distance + Math.sqrt(dx * dx + dy * dy); if (distance0 > distance) segments.push(new A._PathSegment(4, distance0, A._setArrayType([x0, y0, x1, y1, x2, y2, x3, y3], type$.JSArray_double))); distance = distance0; } return distance; }, _PathContourMeasure__quadTooCurvy(x0, y0, x1, y1, x2, y2) { if (Math.abs(x1 / 2 - (x0 + x2) / 4) > 0.5) return true; if (Math.abs(y1 / 2 - (y0 + y2) / 4) > 0.5) return true; return false; }, _normalizeSlope(dx, dy) { var $length = Math.sqrt(dx * dx + dy * dy); return $length < 1e-9 ? B.Offset_0_0 : new A.Offset(dx / $length, dy / $length); }, _chopQuadBetweenT(points, startT, stopT, buffer) { var endT, ab2x, ab2y, p2y = points[5], p0x = points[0], p0y = points[1], p1x = points[2], p1y = points[3], p2x = points[4], t1 = startT === 0, t = !t1 ? startT : stopT, t2 = 1 - t, ab1x = p0x * t2 + p1x * t, ab1y = p0y * t2 + p1y * t, bc1x = p1x * t2 + p2x * t, bc1y = p1y * t2 + p2y * t, abc1x = ab1x * t2 + bc1x * t, abc1y = ab1y * t2 + bc1y * t; if (t1) { buffer[0] = p0x; buffer[1] = p0y; buffer[2] = ab1x; buffer[3] = ab1y; buffer[4] = abc1x; buffer[5] = abc1y; return; } if (stopT === 1) { buffer[0] = abc1x; buffer[1] = abc1y; buffer[2] = bc1x; buffer[3] = bc1y; buffer[4] = p2x; buffer[5] = p2y; return; } endT = (stopT - startT) / (1 - startT); t1 = 1 - endT; ab2x = abc1x * t1 + bc1x * endT; ab2y = abc1y * t1 + bc1y * endT; buffer[0] = abc1x; buffer[1] = abc1y; buffer[2] = ab2x; buffer[3] = ab2y; buffer[4] = ab2x * t1 + (bc1x * t1 + p2x * endT) * endT; buffer[5] = ab2y * t1 + (bc1y * t1 + p2y * endT) * endT; }, 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, sb, offsetX, offsetY) { var outPts, verb, w, points, len, i, t1, t2, 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: sb._contents += "M " + A.S(outPts[0] + offsetX) + " " + A.S(outPts[1] + offsetY); break; case 1: sb._contents += "L " + A.S(outPts[2] + offsetX) + " " + A.S(outPts[3] + offsetY); break; case 4: sb._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: sb._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]; sb._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: sb._contents += "Z"; break; default: throw A.wrapException(A.UnimplementedError$("Unknown path verb " + verb)); } }, 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)); } }, pathToSvgClipPath(path, offsetX, offsetY, scaleX, scaleY) { var sb, t2, clipId, t1 = $._clipIdCounter + 1; $._clipIdCounter = t1; sb = new A.StringBuffer(""); t2 = "" + '<svg width="0" height="0" style="position:absolute">'; sb._contents = t2; t2 = sb._contents = t2 + "<defs>"; clipId = "svgClip" + t1; t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_2) { t1 = t2 + ("<clipPath id=" + clipId + ">"); sb._contents = t1; sb._contents = t1 + '<path fill="#FFFFFF" d="'; } else { t1 = t2 + ("<clipPath id=" + clipId + ' clipPathUnits="objectBoundingBox">'); sb._contents = t1; sb._contents = t1 + ('<path transform="scale(' + A.S(scaleX) + ", " + A.S(scaleY) + ')" fill="#FFFFFF" d="'); } A.pathToSvg(type$.SurfacePath._as(path).pathRef, sb, offsetX, offsetY); t1 = sb._contents += '"></path></clipPath></defs></svg'; return t1.charCodeAt(0) == 0 ? t1 : t1; }, reduceCanvasMemoryUsage() { var i, t1, t2, canvasCount = $._recycledCanvases.length; for (i = 0; i < canvasCount; ++i) { t1 = $._recycledCanvases[i]._canvasPool; t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1 && t1._canvas != null) { t2 = t1._canvas; t2.height = 0; t2.width = 0; } t1._clearActiveCanvasList$0(); } B.JSArray_methods.set$length($._recycledCanvases, 0); }, _recycleCanvas(canvas) { if (canvas != null && B.JSArray_methods.contains$1($._recycledCanvases, canvas)) return; if (canvas instanceof A.BitmapCanvas) { canvas._elementCache = null; if (canvas.__engine$_devicePixelRatio === A.EnginePlatformDispatcher_browserDevicePixelRatio()) { $._recycledCanvases.push(canvas); if ($._recycledCanvases.length > 30) B.JSArray_methods.removeAt$1($._recycledCanvases, 0)._canvasPool.dispose$0(0); } else canvas._canvasPool.dispose$0(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 m, t1, t2, minX, t3, minY, t4, t5, t6, t7, wp, t8, t9, t10, t11, xp, t12, t13, t14, t15, yp, minX0, maxX, minY0, maxY, scale; if (transform == null || transform.isIdentityOrTranslation$0()) return 1; m = transform.__engine$_m4storage; t1 = m[12]; t2 = m[15]; minX = t1 * t2; t3 = m[13]; minY = t3 * t2; t4 = m[3]; t5 = t4 * width; t6 = m[7]; t7 = t6 * height; wp = 1 / (t5 + t7 + t2); t8 = m[0]; t9 = t8 * width; t10 = m[4]; t11 = t10 * height; xp = (t9 + t11 + t1) * wp; t12 = m[1]; t13 = t12 * width; t14 = m[5]; t15 = t14 * height; yp = (t13 + t15 + t3) * wp; minX0 = Math.min(minX, xp); maxX = Math.max(minX, xp); minY0 = Math.min(minY, yp); maxY = Math.max(minY, yp); wp = 1 / (t4 * 0 + t7 + t2); xp = (t8 * 0 + t11 + t1) * wp; yp = (t12 * 0 + t15 + t3) * wp; minX = Math.min(minX0, xp); maxX = Math.max(maxX, xp); minY = Math.min(minY0, yp); maxY = Math.max(maxY, yp); wp = 1 / (t5 + t6 * 0 + t2); xp = (t9 + t10 * 0 + t1) * wp; yp = (t13 + t14 * 0 + t3) * wp; minX = Math.min(minX, xp); maxX = Math.max(maxX, xp); minY = Math.min(minY, yp); scale = Math.min((maxX - minX) / width, (Math.max(maxY, yp) - minY) / height); if (scale < 1e-9 || scale === 1) return 1; if (scale > 1) { scale = Math.min(4, 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; }, _measureBorderRadius(x, y) { var clampedX = x < 0 ? 0 : x, clampedY = y < 0 ? 0 : y; return clampedX * clampedX + clampedY * clampedY; }, _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, addFirst, addLast, normalizedCount, t1, bias, scale, t2, thresholds, c, targetIndex, thresholdIndex, _i, targetIndex0, t3, thresholdIndex0, lastColorIndex, i, t, colorIndex; if (stops == null) stops = B.List_0_1; colorCount = colors.length; addFirst = !J.$eq$(stops[0], 0); addLast = !J.$eq$(B.JSArray_methods.get$last(stops), 1); normalizedCount = addFirst ? colorCount + 1 : colorCount; if (addLast) ++normalizedCount; t1 = normalizedCount * 4; bias = new Float32Array(t1); scale = new Float32Array(t1); t1 = normalizedCount - 1; t2 = B.JSInt_methods._tdivFast$1(t1, 4); thresholds = new Float32Array(4 * (t2 + 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 (t2 = colors.length, _i = 0; _i < colors.length; colors.length === t2 || (0, A.throwConcurrentModificationError)(colors), ++_i) { c = colors[_i]; targetIndex0 = targetIndex + 1; t3 = J.getInterceptor$x(c); bias[targetIndex] = (t3.get$value(c) >>> 16 & 255) / 255; targetIndex = targetIndex0 + 1; bias[targetIndex0] = (t3.get$value(c) >>> 8 & 255) / 255; targetIndex0 = targetIndex + 1; bias[targetIndex] = (t3.get$value(c) & 255) / 255; targetIndex = targetIndex0 + 1; bias[targetIndex0] = (t3.get$value(c) >>> 24 & 255) / 255; } for (t2 = stops.length, _i = 0; _i < t2; ++_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 * t1; for (i = 0; i < lastColorIndex; ++i) { thresholdIndex = i >>> 2; scale[i] = (bias[i + 4] - bias[i]) / (thresholds[thresholdIndex + 1] - thresholds[thresholdIndex]); } scale[lastColorIndex] = 0; scale[lastColorIndex + 1] = 0; scale[lastColorIndex + 2] = 0; scale[lastColorIndex + 3] = 0; for (i = 0; i < normalizedCount; ++i) { t = thresholds[i]; colorIndex = i * 4; bias[colorIndex] = bias[colorIndex] - t * scale[colorIndex]; t1 = colorIndex + 1; bias[t1] = bias[t1] - t * scale[t1]; t1 = colorIndex + 2; bias[t1] = bias[t1] - t * scale[t1]; t1 = colorIndex + 3; bias[t1] = bias[t1] - t * scale[t1]; } return new A.NormalizedGradient(thresholds, bias, scale, normalizedCount); }, writeUnrolledBinarySearch(method, start, end, biasName, probe, scaleName, sourcePrefix) { var biasSource, scaleSource, mid, t1, thresholdAtMid; if (start === end) { biasSource = biasName + "_" + start; method.addStatement$1(biasName + " = " + biasSource + ";"); scaleSource = scaleName + "_" + start; method.addStatement$1(scaleName + " = " + scaleSource + ";"); } else { mid = B.JSInt_methods._tdivFast$1(start + end, 2); t1 = mid + 1; thresholdAtMid = sourcePrefix + "_" + B.JSInt_methods._tdivFast$1(t1, 4) + ("." + "xyzw"[B.JSInt_methods.$mod(t1, 4)]); method.addStatement$1("if (" + probe + " < " + thresholdAtMid + ") {"); ++method._indentLevel; A.writeUnrolledBinarySearch(method, start, mid, biasName, probe, scaleName, sourcePrefix); --method._indentLevel; method.addStatement$1("} else {"); ++method._indentLevel; A.writeUnrolledBinarySearch(method, t1, end, biasName, probe, scaleName, sourcePrefix); --method._indentLevel; method.addStatement$1("}"); } }, _addColorStopsToCanvasGradient(gradient, colors, colorStops, isDecal) { var scale, offset, t1, i, colorStop, _s9_ = "#00000000"; if (isDecal) { gradient.addColorStop(0, _s9_); scale = 0.999; offset = 0.0005000000000000004; } else { scale = 1; offset = 0; } if (colorStops == null) { t1 = A.colorToCssString(colors[0]); t1.toString; gradient.addColorStop(offset, t1); t1 = A.colorToCssString(colors[1]); t1.toString; gradient.addColorStop(1 - offset, t1); } else for (i = 0; i < colors.length; ++i) { colorStop = J.clamp$2$n(colorStops[i], 0, 1); t1 = A.colorToCssString(colors[i]); t1.toString; gradient.addColorStop(colorStop * scale + offset, t1); } if (isDecal) gradient.addColorStop(1, _s9_); }, _writeSharedGradientShader(builder, method, gradient, tileMode) { var t1, t2, t3, i, probeName, _s8_ = "tiled_st"; method.addStatement$1("vec4 bias;"); method.addStatement$1("vec4 scale;"); for (t1 = gradient.thresholdCount, t2 = t1 - 1, t3 = B.JSInt_methods._tdivFast$1(t2, 4) + 1, i = 0; i < t3; ++i) builder.addUniform$2$name(11, "threshold_" + i); for (i = 0; i < t1; ++i) { builder.addUniform$2$name(11, "bias_" + i); builder.addUniform$2$name(11, "scale_" + i); } switch (tileMode.index) { case 0: method.addStatement$1("float tiled_st = clamp(st, 0.0, 1.0);"); probeName = _s8_; break; case 3: probeName = "st"; break; case 1: method.addStatement$1("float tiled_st = fract(st);"); probeName = _s8_; break; case 2: method.addStatement$1("float t_1 = (st - 1.0);"); method.addStatement$1("float tiled_st = abs((t_1 - 2.0 * floor(t_1 * 0.5)) - 1.0);"); probeName = _s8_; break; default: probeName = "st"; } A.writeUnrolledBinarySearch(method, 0, t2, "bias", probeName, "scale", "threshold"); return probeName; }, ShaderBuilder$(version) { return new A.ShaderBuilder(A._setArrayType([], type$.JSArray_ShaderDeclaration), A._setArrayType([], type$.JSArray_ShaderMethod), version === 2, false, new A.StringBuffer("")); }, ShaderBuilder$fragment(version) { return new A.ShaderBuilder(A._setArrayType([], type$.JSArray_ShaderDeclaration), A._setArrayType([], type$.JSArray_ShaderMethod), version === 2, true, new A.StringBuffer("")); }, 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)); }, VertexShaders_writeBaseVertexShader() { var builder, method, t1 = $.VertexShaders__baseVertexShader; if (t1 == null) { t1 = $._cachedWebGLVersion; builder = A.ShaderBuilder$(t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1); 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"); builder.addOut$2$name(11, "v_color"); method = new A.ShaderMethod("main", A._setArrayType([], type$.JSArray_String)); builder._methods.push(method); method.addStatement$1("gl_Position = ((u_ctransform * position) * u_scale) + u_shift;"); method.addStatement$1("v_color = color.zyxw;"); t1 = $.VertexShaders__baseVertexShader = builder.build$0(0); } return t1; }, GlContext_GlContext(offScreenCanvas) { var t2, t3, _s18_ = "premultipliedAlpha", t1 = $.OffScreenCanvas__supported; if (t1 == null ? $.OffScreenCanvas__supported = "OffscreenCanvas" in window : t1) { t1 = offScreenCanvas.offScreenCanvas; t1.toString; t2 = type$.String; t3 = B.OffscreenCanvas_methods.getContext$2(t1, "webgl2", A.LinkedHashMap_LinkedHashMap$_literal([_s18_, false], t2, type$.dynamic)); t3.toString; t3 = new A.GlContext(t3); $.GlContext____programCache.__late_helper$_value = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_GlProgram); t3._canvas = t1; t1 = t3; } else { t1 = offScreenCanvas.canvasElement; t1.toString; t2 = $._cachedWebGLVersion; t2 = (t2 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t2) === 1 ? "webgl" : "webgl2"; t3 = type$.String; t2 = B.CanvasElement_methods.getContext$2(t1, t2, A.LinkedHashMap_LinkedHashMap$_literal([_s18_, false], t3, type$.dynamic)); t2.toString; t2 = new A.GlContext(t2); $.GlContext____programCache.__late_helper$_value = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_GlProgram); t2._canvas = t1; t1 = t2; } return t1; }, bufferVertexData(gl, positions, devicePixelRatio) { var t1, scaledList, i, _s10_ = "bufferData"; if (devicePixelRatio === 1) { t1 = gl.get$kStaticDraw(); A.callMethod(gl.glContext, _s10_, [gl.get$kArrayBuffer(), positions, t1]); } else { scaledList = new Float32Array(12); for (i = 0; i < 12; ++i) scaledList[i] = positions[i] * devicePixelRatio; t1 = gl.get$kStaticDraw(); A.callMethod(gl.glContext, _s10_, [gl.get$kArrayBuffer(), scaledList, t1]); } }, tileModeToGlWrapping(gl, tileMode) { var t1; switch (tileMode.index) { case 0: return gl.get$kClampToEdge(); case 3: return gl.get$kClampToEdge(); case 2: t1 = gl._kMirroredRepeat; return t1 == null ? gl._kMirroredRepeat = gl.glContext.MIRRORED_REPEAT : t1; case 1: t1 = gl._kRepeat; return t1 == null ? gl._kRepeat = gl.glContext.REPEAT : t1; } }, 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(); } }, Keyboard$_() { var t1 = new A.Keyboard(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Timer)); t1.Keyboard$_$0(); return t1; }, _noopCallback(data) { }, 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); }, EnginePlatformDispatcher_browserDevicePixelRatio() { var ratio = window.devicePixelRatio; return ratio === 0 ? 1 : ratio; }, EnginePlatformDispatcher__zonedPlatformMessageResponseCallback(callback) { return new A.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback_closure($.Zone__current, callback); }, EnginePlatformDispatcher_parseBrowserLanguages() { var locales, t1, t2, parts, languages = window.navigator.languages; if (languages == null || J.get$isEmpty$asx(languages)) return B.List_Locale_en_US; locales = A._setArrayType([], type$.JSArray_Locale); for (t1 = J.get$iterator$ax(languages); t1.moveNext$0();) { t2 = t1.get$current(t1); parts = t2.split("-"); 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(t2, 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$window()._debugDevicePixelRatio = 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, $A) { if (callback == null) return; if (zone === $.Zone__current) callback.call$1(arg); else zone.runUnaryGuarded$1$2(callback, arg, $A); }, 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)); }, invoke3(callback, zone, arg1, arg2, arg3) { if (callback == null) return; if (zone === $.Zone__current) callback.call$3(arg1, arg2, arg3); else zone.runGuarded$1(new A.invoke3_closure(callback, arg1, arg2, arg3)); }, createPlatformViewSlot(viewId) { var slot, slotName = "flt-pv-slot-" + viewId, t1 = document, wrapper = t1.createElement("flt-platform-view-slot"), t2 = wrapper.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t2, B.CssStyleDeclaration_methods._browserPropertyName$1(t2, "pointer-events"), "auto", ""); slot = t1.createElement("slot"); slot.setAttribute("name", slotName); wrapper.appendChild(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); } }, _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); }, timeAction($name, action) { var t1 = action.call$0(); return t1; }, frameTimingsOnVsync() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._vsyncStartMicros = B.JSNumber_methods.toInt$0(window.performance.now() * 1000); }, frameTimingsOnBuildStart() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._buildStartMicros = B.JSNumber_methods.toInt$0(window.performance.now() * 1000); }, frameTimingsOnBuildFinish() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._buildFinishMicros = B.JSNumber_methods.toInt$0(window.performance.now() * 1000); }, frameTimingsOnRasterStart() { if ($.$get$EnginePlatformDispatcher__instance()._onReportTimings == null) return; $._rasterStartMicros = B.JSNumber_methods.toInt$0(window.performance.now() * 1000); }, frameTimingsOnRasterFinish() { var now, t2, t1 = $.$get$EnginePlatformDispatcher__instance(); if (t1._onReportTimings == null) return; now = $._rasterFinishMicros = B.JSNumber_methods.toInt$0(window.performance.now() * 1000); $._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, type$.List_FrameTiming); $._frameTimings = A._setArrayType([], type$.JSArray_FrameTiming); } }, _nowMicros() { return B.JSNumber_methods.toInt$0(window.performance.now() * 1000); }, AccessibilityAnnouncements$_() { var t1 = new A.AccessibilityAnnouncements(); t1.AccessibilityAnnouncements$_$0(); return t1; }, _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; }, Incrementable$(semanticsObject) { var t1 = new A.Incrementable(A.InputElement_InputElement(null), semanticsObject); t1.Incrementable$1(semanticsObject); return t1; }, SemanticsObject__clearSemanticElementTransform(element) { var t1 = element.style; t1.removeProperty("transform-origin"); t1.removeProperty("transform"); t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_0) t1 = t1 === B.OperatingSystem_4; else t1 = true; if (t1) { t1 = element.style; t1.top = "0px"; t1.left = "0px"; } else { t1 = element.style; t1.removeProperty("top"); t1.removeProperty("left"); } }, EngineSemanticsOwner$_() { var t1 = type$.SemanticsObject, t2 = A._setArrayType([], type$.JSArray_nullable_SemanticsObject), t3 = A._setArrayType([], type$.JSArray_of_void_Function), t4 = $.$get$_operatingSystem(); t4 = J.containsKey$1$x(B.Set_69tl2._collection$_map, t4) ? new A.DesktopSemanticsEnabler() : new A.MobileSemanticsEnabler(); t4 = new A.EngineSemanticsOwner(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_int, t1), t2, t3, new A.EngineSemanticsOwner__now_closure(), new A.SemanticsHelper(t4), B.GestureMode_1, A._setArrayType([], type$.JSArray_of_nullable_void_Function_GestureMode)); t4.EngineSemanticsOwner$_$0(); return t4; }, 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; }, SemanticsTextEditingStrategy_ensureInitialized(owner) { var t1 = $.SemanticsTextEditingStrategy__instance; if (t1 != null && t1.owner === owner) { t1.toString; return t1; } return $.SemanticsTextEditingStrategy__instance = new A.SemanticsTextEditingStrategy(owner, A._setArrayType([], type$.JSArray_StreamSubscription_Event)); }, _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.WriteBuffer0(new A.Uint8Buffer0(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)); }, 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)); }, applyCssShadow(element, shape, elevation, color) { var t1, t2, t3, _s10_ = "box-shadow", shadow = A.computeShadow(shape, elevation); if (shadow == null) { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), "none", ""); } else { color = A.toShadowColor(color); t1 = element.style; t2 = shadow.offset; t3 = color.value; t3 = A.S(t2._dx) + "px " + A.S(t2._dy) + "px " + A.S(shadow.blurWidth) + "px 0px rgba(" + (t3 >>> 16 & 255) + ", " + (t3 >>> 8 & 255) + ", " + (t3 & 255) + ", " + A.S((t3 >>> 24 & 255) / 255) + ")"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), t3, ""); } }, toShadowColor(color) { var t1 = color.value; return new A.Color(((B.JSNumber_methods.round$0(0.3 * (t1 >>> 24 & 255)) & 255) << 24 | t1 & 16777215) >>> 0); }, _applySpanStylesToParagraph(element, spans) { var t1, fontSize, fontFamily, _i, span, t2, spanFontSize, cssStyle; for (t1 = spans.length, fontSize = 0, fontFamily = null, _i = 0; _i < spans.length; spans.length === t1 || (0, A.throwConcurrentModificationError)(spans), ++_i) { span = spans[_i]; if (span instanceof A.FlatTextSpan) { t2 = span.style; spanFontSize = t2.fontSize; if (spanFontSize != null && spanFontSize > fontSize) { if (t2.isFontFamilyProvided) fontFamily = t2.get$effectiveFontFamily(); fontSize = spanFontSize; } } } cssStyle = element.style; if (fontSize !== 0) { t1 = A.S(fontSize) + "px"; cssStyle.fontSize = t1; } if (fontFamily != null) { t1 = A.canonicalizeFontFamily(fontFamily); cssStyle.fontFamily = t1 == null ? "" : t1; } }, FontManager_FontManager() { var t1 = type$.JSArray_Future_void; if ($.$get$supportsFontLoadingApi()) return new A.FontManager(A._setArrayType([], t1)); else return new A._PolyfillFontManager(A._setArrayType([], t1)); }, LineBuilder$_(paragraph, spanometer, accumulatedHeight, lineNumber, maxWidth, start) { return new A.LineBuilder(A._setArrayType([], type$.JSArray_LineSegment), A._setArrayType([], type$.JSArray_RangeBox), maxWidth, paragraph, spanometer, start, lineNumber, accumulatedHeight, start); }, ensureLineLookupInitialized() { var t1 = $._lineLookup; if (t1 == null) { t1 = type$.LineCharProperty; t1 = $._lineLookup = new A.UnicodePropertyLookup(A._unpackProperties(string$.x3000000, 937, B.List_UVg, t1), B.LineCharProperty_8, A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1), type$.UnicodePropertyLookup_LineCharProperty); } return t1; }, nextLineBreak(text, index, maxEnd) { var unsafeResult = A._unsafeNextLineBreak(text, index, maxEnd); if (unsafeResult.index > maxEnd) return new A.LineBreakResult(maxEnd, Math.min(maxEnd, unsafeResult.indexWithoutTrailingNewlines), Math.min(maxEnd, unsafeResult.indexWithoutTrailingSpaces), B.LineBreakType_1); return unsafeResult; }, _unsafeNextLineBreak(text, index, maxEnd) { var t1, t2, t3, t4, lastNonNewlineIndex, lastNonSpaceIndex, prev1, regionalIndicatorCount, t5, t6, t7, t8, curr0, isCurrZWJ0, t9, t10, codePoint = A.getCodePoint(text, index), curr = A.ensureLineLookupInitialized().findForChar$1(codePoint), baseOfSpaceSequence = curr === B.LineCharProperty_5 ? B.LineCharProperty_29 : null, isCurrZWJ = curr === B.LineCharProperty_26; if (curr === B.LineCharProperty_0 || isCurrZWJ) curr = B.LineCharProperty_8; for (t1 = text.length, t2 = type$.LineCharProperty, t3 = type$.int, t4 = type$.UnicodePropertyLookup_LineCharProperty, lastNonNewlineIndex = index, lastNonSpaceIndex = lastNonNewlineIndex, prev1 = null, regionalIndicatorCount = 0; index < t1; isCurrZWJ = isCurrZWJ0, prev1 = curr, curr = curr0) { if (index > maxEnd) return new A.LineBreakResult(maxEnd, Math.min(maxEnd, lastNonNewlineIndex), Math.min(maxEnd, lastNonSpaceIndex), B.LineBreakType_1); t5 = curr === B.LineCharProperty_35; regionalIndicatorCount = t5 ? regionalIndicatorCount + 1 : 0; index = (codePoint != null && codePoint > 65535 ? index + 1 : index) + 1; t6 = curr === B.LineCharProperty_5; t7 = !t6; if (t7) baseOfSpaceSequence = null; codePoint = A.getCodePoint(text, index); t8 = $._lineLookup; curr0 = (t8 == null ? $._lineLookup = new A.UnicodePropertyLookup(A._unpackProperties(string$.x3000000, 937, B.List_UVg, t2), B.LineCharProperty_8, A.LinkedHashMap_LinkedHashMap$_empty(t3, t2), t4) : t8).findForChar$1(codePoint); isCurrZWJ0 = curr0 === B.LineCharProperty_26; if (curr === B.LineCharProperty_2 || curr === B.LineCharProperty_3) return new A.LineBreakResult(index, lastNonNewlineIndex, lastNonSpaceIndex, B.LineBreakType_2); if (curr === B.LineCharProperty_4) if (curr0 === B.LineCharProperty_2) continue; else return new A.LineBreakResult(index, lastNonNewlineIndex, lastNonSpaceIndex, B.LineBreakType_2); if (t7) lastNonSpaceIndex = index; if (curr0 === B.LineCharProperty_2 || curr0 === B.LineCharProperty_3 || curr0 === B.LineCharProperty_4) { lastNonNewlineIndex = index; continue; } if (index >= t1) return new A.LineBreakResult(t1, index, lastNonSpaceIndex, B.LineBreakType_3); if (curr0 === B.LineCharProperty_5) { baseOfSpaceSequence = t6 ? baseOfSpaceSequence : curr; lastNonNewlineIndex = index; continue; } if (curr0 === B.LineCharProperty_25) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_25 || baseOfSpaceSequence === B.LineCharProperty_25) return new A.LineBreakResult(index, index, lastNonSpaceIndex, B.LineBreakType_0); if (curr0 === B.LineCharProperty_0 || isCurrZWJ0) { if (!t6) { if (t5) --regionalIndicatorCount; lastNonNewlineIndex = index; curr0 = curr; continue; } curr0 = B.LineCharProperty_8; } if (isCurrZWJ) { lastNonNewlineIndex = index; continue; } if (curr0 === B.LineCharProperty_29 || curr === B.LineCharProperty_29) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_18) { lastNonNewlineIndex = index; continue; } if (!(!t7 || curr === B.LineCharProperty_1 || curr === B.LineCharProperty_14) && curr0 === B.LineCharProperty_18) { lastNonNewlineIndex = index; continue; } if (t7) t5 = curr0 === B.LineCharProperty_17 || curr0 === B.LineCharProperty_12 || curr0 === B.LineCharProperty_6 || curr0 === B.LineCharProperty_13 || curr0 === B.LineCharProperty_15; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_11) { lastNonNewlineIndex = index; continue; } t5 = curr === B.LineCharProperty_7; if (t5 && curr0 === B.LineCharProperty_11) { lastNonNewlineIndex = index; continue; } t7 = curr !== B.LineCharProperty_17; if ((!t7 || baseOfSpaceSequence === B.LineCharProperty_17 || curr === B.LineCharProperty_12 || baseOfSpaceSequence === B.LineCharProperty_12) && curr0 === B.LineCharProperty_24) { lastNonNewlineIndex = index; continue; } if ((curr === B.LineCharProperty_27 || baseOfSpaceSequence === B.LineCharProperty_27) && curr0 === B.LineCharProperty_27) { lastNonNewlineIndex = index; continue; } if (t6) return new A.LineBreakResult(index, index, lastNonSpaceIndex, B.LineBreakType_0); if (t5 || curr0 === B.LineCharProperty_7) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_34 || curr0 === B.LineCharProperty_34) return new A.LineBreakResult(index, index, lastNonSpaceIndex, B.LineBreakType_0); if (curr0 === B.LineCharProperty_1 || curr0 === B.LineCharProperty_14 || curr0 === B.LineCharProperty_24 || curr === B.LineCharProperty_19) { lastNonNewlineIndex = index; continue; } if (prev1 === B.LineCharProperty_20) t5 = curr === B.LineCharProperty_14 || curr === B.LineCharProperty_1; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } t5 = curr === B.LineCharProperty_15; if (t5 && curr0 === B.LineCharProperty_20) { lastNonNewlineIndex = index; continue; } if (curr0 === B.LineCharProperty_28) { lastNonNewlineIndex = index; continue; } t6 = curr !== B.LineCharProperty_8; if (!((!t6 || curr === B.LineCharProperty_20) && curr0 === B.LineCharProperty_16)) if (curr === B.LineCharProperty_16) t8 = curr0 === B.LineCharProperty_8 || curr0 === B.LineCharProperty_20; else t8 = false; else t8 = true; if (t8) { lastNonNewlineIndex = index; continue; } t8 = curr === B.LineCharProperty_9; if (t8) t9 = curr0 === B.LineCharProperty_30 || curr0 === B.LineCharProperty_31 || curr0 === B.LineCharProperty_36; else t9 = false; if (t9) { lastNonNewlineIndex = index; continue; } if ((curr === B.LineCharProperty_30 || curr === B.LineCharProperty_31 || curr === B.LineCharProperty_36) && curr0 === B.LineCharProperty_10) { lastNonNewlineIndex = index; continue; } t9 = !t8; if (!t9 || curr === B.LineCharProperty_10) t10 = curr0 === B.LineCharProperty_8 || curr0 === B.LineCharProperty_20; else t10 = false; if (t10) { lastNonNewlineIndex = index; continue; } if (!t6 || curr === B.LineCharProperty_20) t10 = curr0 === B.LineCharProperty_9 || curr0 === B.LineCharProperty_10; else t10 = false; if (t10) { lastNonNewlineIndex = index; continue; } if (!t7 || curr === B.LineCharProperty_12 || curr === B.LineCharProperty_16) t7 = curr0 === B.LineCharProperty_10 || curr0 === B.LineCharProperty_9; else t7 = false; if (t7) { lastNonNewlineIndex = index; continue; } t7 = curr !== B.LineCharProperty_10; if ((!t7 || t8) && curr0 === B.LineCharProperty_11) { lastNonNewlineIndex = index; continue; } if ((!t7 || !t9 || curr === B.LineCharProperty_14 || curr === B.LineCharProperty_13 || curr === B.LineCharProperty_16 || t5) && curr0 === B.LineCharProperty_16) { lastNonNewlineIndex = index; continue; } t5 = curr === B.LineCharProperty_21; if (t5) t7 = curr0 === B.LineCharProperty_21 || curr0 === B.LineCharProperty_22 || curr0 === B.LineCharProperty_32 || curr0 === B.LineCharProperty_33; else t7 = false; if (t7) { lastNonNewlineIndex = index; continue; } t7 = curr !== B.LineCharProperty_22; if (!t7 || curr === B.LineCharProperty_32) t9 = curr0 === B.LineCharProperty_22 || curr0 === B.LineCharProperty_23; else t9 = false; if (t9) { lastNonNewlineIndex = index; continue; } t9 = curr !== B.LineCharProperty_23; if ((!t9 || curr === B.LineCharProperty_33) && curr0 === B.LineCharProperty_23) { lastNonNewlineIndex = index; continue; } if ((t5 || !t7 || !t9 || curr === B.LineCharProperty_32 || curr === B.LineCharProperty_33) && curr0 === B.LineCharProperty_10) { lastNonNewlineIndex = index; continue; } if (t8) t5 = curr0 === B.LineCharProperty_21 || curr0 === B.LineCharProperty_22 || curr0 === B.LineCharProperty_23 || curr0 === B.LineCharProperty_32 || curr0 === B.LineCharProperty_33; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (!t6 || curr === B.LineCharProperty_20) t5 = curr0 === B.LineCharProperty_8 || curr0 === B.LineCharProperty_20; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_13) t5 = curr0 === B.LineCharProperty_8 || curr0 === B.LineCharProperty_20; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (!t6 || curr === B.LineCharProperty_20 || curr === B.LineCharProperty_16) if (curr0 === B.LineCharProperty_11) { t5 = B.JSString_methods.codeUnitAt$1(text, index); if (t5 !== 9001) if (!(t5 >= 12296 && t5 <= 12317)) t5 = t5 >= 65047 && t5 <= 65378; else t5 = true; else t5 = true; t5 = !t5; } else t5 = false; else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (curr === B.LineCharProperty_12) { t5 = B.JSString_methods.codeUnitAt$1(text, index - 1); if (t5 !== 9001) if (!(t5 >= 12296 && t5 <= 12317)) t5 = t5 >= 65047 && t5 <= 65378; else t5 = true; else t5 = true; if (!t5) t5 = curr0 === B.LineCharProperty_8 || curr0 === B.LineCharProperty_20 || curr0 === B.LineCharProperty_16; else t5 = false; } else t5 = false; if (t5) { lastNonNewlineIndex = index; continue; } if (curr0 === B.LineCharProperty_35) if ((regionalIndicatorCount & 1) === 1) { lastNonNewlineIndex = index; continue; } else return new A.LineBreakResult(index, index, lastNonSpaceIndex, B.LineBreakType_0); if (curr === B.LineCharProperty_31 && curr0 === B.LineCharProperty_36) { lastNonNewlineIndex = index; continue; } return new A.LineBreakResult(index, index, lastNonSpaceIndex, B.LineBreakType_0); } return new A.LineBreakResult(t1, lastNonNewlineIndex, lastNonSpaceIndex, B.LineBreakType_3); }, measureSubstring(_canvasContext, text, start, end, letterSpacing) { var cssFont, width, t1; if (start === end) return 0; cssFont = _canvasContext.font; if (start === $._lastStart && end === $._lastEnd && text === $._lastText && cssFont === $._lastCssFont) width = $._lastWidth; else { t1 = _canvasContext.measureText(start === 0 && end === text.length ? text : B.JSString_methods.substring$2(text, start, end)).width; t1.toString; width = t1; } $._lastStart = start; $._lastEnd = end; $._lastText = text; $._lastCssFont = cssFont; $._lastWidth = width; if (letterSpacing == null) letterSpacing = 0; return B.JSNumber_methods.round$0((letterSpacing !== 0 ? width + letterSpacing * (end - start) : width) * 100) / 100; }, _calculateJustifyPerSpaceBox(paragraph, line, lastLine, lastBox) { var t1, spaceBoxesToJustify; if (!line.$eq(0, lastLine) && isFinite(paragraph.get$_layoutService().width) && paragraph.paragraphStyle.textAlign === B.TextAlign_3) { t1 = paragraph.get$_layoutService().width; spaceBoxesToJustify = line.spaceBoxCount; if (lastBox instanceof A.SpanBox && lastBox.isSpaceOnly) --spaceBoxesToJustify; if (spaceBoxesToJustify > 0) return (t1 - line.width) / spaceBoxesToJustify; } return 0; }, EngineTextStyle$only(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, letterSpacing, locale, shadows, textBaseline, wordSpacing) { var t1 = fontFamily == null, t2 = t1 ? "" : fontFamily; return new A.EngineTextStyle(color, decoration, decorationColor, decorationStyle, decorationThickness, fontWeight, fontStyle, textBaseline, !t1, t2, fontFamilyFallback, fontFeatures, fontSize, letterSpacing, wordSpacing, height, locale, background, foreground, shadows); }, fontWeightToCss(fontWeight) { if (fontWeight == null) return null; return A.fontWeightIndexToCss(fontWeight.index); }, 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 ""; }, _placeholderAlignmentToCssVerticalAlign(placeholder) { switch (placeholder.alignment.index) { case 3: return "top"; case 5: return "middle"; case 4: return "bottom"; case 1: return "baseline"; case 2: return "-" + A.S(placeholder.height) + "px"; case 0: return A.S(placeholder.baselineOffset - placeholder.height) + "px"; } }, _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.S(A.colorToCssString(shadow.color))); } return t2.charCodeAt(0) == 0 ? t2 : t2; }, _fontFeatureListToCss(fontFeatures) { var i, t1, fontFeature, len = fontFeatures.length; for (i = 0, t1 = ""; i < len; ++i) { if (i !== 0) t1 += ","; fontFeature = fontFeatures[i]; t1 += '"' + fontFeature.feature + '" ' + fontFeature.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; } }, textDirectionToCss(textDirection) { if (textDirection == null) return null; return A.textDirectionIndexToCss(textDirection.index); }, textDirectionIndexToCss(textDirectionIndex) { switch (textDirectionIndex) { case 0: return "rtl"; case 1: return null; } 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: return ""; } }, getDirectionalBlockEnd(text, start, end) { var t2, t3, blockDirection, i, codePoint, t1 = start.index; if (t1 === end.index) return new A.DirectionalPosition(end, null, false); t2 = end.indexWithoutTrailingSpaces; if (t1 === t2) return new A.DirectionalPosition(end, null, true); t3 = $.$get$_textDirectionLookup(); blockDirection = t3.find$2(0, text, t1); i = t1 + 1; for (; i < t2;) { codePoint = A.getCodePoint(text, i); if ((codePoint == null ? t3.defaultProperty : t3.findForChar$1(codePoint)) != blockDirection) break; ++i; } if (i === end.indexWithoutTrailingNewlines) return new A.DirectionalPosition(end, blockDirection, false); return new A.DirectionalPosition(new A.LineBreakResult(i, i, i, B.LineBreakType_1), blockDirection, false); }, getCodePoint(text, index) { var char; if (index < 0 || index >= text.length) return null; char = B.JSString_methods.codeUnitAt$1(text, index); if ((char & 63488) === 55296 && index < text.length - 1) return (char >>> 6 & 31) + 1 << 16 | (char & 63) << 10 | B.JSString_methods.codeUnitAt$1(text, 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 (B.JSString_methods._codeUnitAt$1(packedData, 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(B.JSString_methods._codeUnitAt$1(packedData, i))], t1)); } return ranges; }, _getEnumIndexFromPackedValue(charCode) { if (charCode <= 90) return charCode - 65; return 26 + charCode - 97; }, _consumeInt(packedData, index) { return A._getIntFromCharCode(B.JSString_methods._codeUnitAt$1(packedData, index + 3)) + A._getIntFromCharCode(B.JSString_methods._codeUnitAt$1(packedData, index + 2)) * 36 + A._getIntFromCharCode(B.JSString_methods._codeUnitAt$1(packedData, index + 1)) * 36 * 36 + A._getIntFromCharCode(B.JSString_methods._codeUnitAt$1(packedData, 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 ((B.JSString_methods.codeUnitAt$1(text, t1) & 63488) === 55296) return false; immediateRight = $.$get$wordLookup().find$2(0, text, index); immediateLeft = $.$get$wordLookup().find$2(0, text, t1); if (immediateLeft === 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; }, 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(_) { }, _hideAutofillElements(domElement, isOffScreen) { var t1, _s11_ = "transparent", _s4_ = "none", elementStyle = domElement.style; elementStyle.whiteSpace = "pre-wrap"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "align-content"), "center", ""); elementStyle.padding = "0"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "opacity"), "1", ""); elementStyle.color = _s11_; elementStyle.backgroundColor = _s11_; elementStyle.background = _s11_; elementStyle.outline = _s4_; elementStyle.border = _s4_; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "resize"), _s4_, ""); elementStyle.width = "0"; elementStyle.height = "0"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "text-shadow"), _s11_, ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "transform-origin"), "0 0 0", ""); if (isOffScreen) { elementStyle.top = "-9999px"; elementStyle.left = "-9999px"; } t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_0) if (t1 !== B.BrowserEngine_5) t1 = t1 === B.BrowserEngine_1; else t1 = true; else t1 = true; if (t1) domElement.classList.add("transparentTextEditing"); B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "caret-color"), _s11_, null); }, EngineAutofillForm_fromFrameworkMessage(focusedElementAutofill, fields) { var t1, elements, items, formElement, ids, focusedElement, t2, t3, t4, t5, t6, autofillInfo, t7, autofill, htmlElement, _i, id, formIdentifier, form, submitButton; if (focusedElementAutofill == null) return null; t1 = type$.String; elements = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.HtmlElement); items = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AutofillInfo); formElement = document.createElement("form"); formElement.noValidate = true; formElement.method = "post"; formElement.action = "#"; B.FormElement_methods.addEventListener$2(formElement, "submit", new A.EngineAutofillForm_fromFrameworkMessage_closure()); A._hideAutofillElements(formElement, false); 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), t3 = A._instanceType(t2), t2 = new A.ListIterator(t2, t2.get$length(t2), t3._eval$1("ListIterator<ListMixin.E>")), t4 = focusedElement.uniqueIdentifier, t3 = t3._eval$1("ListMixin.E"); t2.moveNext$0();) { t5 = t3._as(t2.__internal$_current); 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 !== t4) { 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._hideAutofillElements(htmlElement, false); items.$indexSet(0, t7, autofill); elements.$indexSet(0, t7, htmlElement); formElement.appendChild(htmlElement); } } else ids.push(focusedElement.uniqueIdentifier); 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) B.FormElement_methods.remove$0(form); submitButton = A.InputElement_InputElement(null); A._hideAutofillElements(submitButton, true); submitButton.className = "submitBtn"; submitButton.type = "submit"; formElement.appendChild(submitButton); return new A.EngineAutofillForm(formElement, elements, items, 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"))); }, EditingState$(baseOffset, extentOffset, text) { var t1 = baseOffset == null, t2 = t1 ? 0 : baseOffset, t3 = extentOffset == null, t4 = t3 ? 0 : extentOffset; t4 = Math.max(0, Math.min(t2, t4)); t1 = t1 ? 0 : baseOffset; t2 = t3 ? 0 : extentOffset; return new A.EditingState(text, t4, Math.max(0, Math.max(t1, t2))); }, EditingState_EditingState$fromFrameworkMessage(flutterEditingState) { var t1 = J.getInterceptor$asx(flutterEditingState); return A.EditingState$(A._asInt(t1.$index(flutterEditingState, "selectionBase")), A._asInt(t1.$index(flutterEditingState, "selectionExtent")), A._asStringQ(t1.$index(flutterEditingState, "text"))); }, EditingState_EditingState$fromDomElement(domElement) { var t1; if (type$.InputElement._is(domElement)) { t1 = domElement.value; return A.EditingState$(domElement.selectionStart, domElement.selectionEnd, t1); } else if (type$.TextAreaElement._is(domElement)) { t1 = domElement.value; return A.EditingState$(domElement.selectionStart, domElement.selectionEnd, t1); } else throw A.wrapException(A.UnsupportedError$("Initialized with unsupported input type")); }, InputConfiguration$fromFrameworkMessage(flutterInputConfiguration) { var t5, t6, t7, t8, _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; return new A.InputConfiguration(t3, t4, t6 === true, t5 === true, t7 !== false, t2, A.EngineAutofillForm_fromFrameworkMessage(type$.nullable_Map_String_dynamic._as(t1.$index(flutterInputConfiguration, _s8_)), type$.nullable_List_dynamic._as(t1.$index(flutterInputConfiguration, "fields"))), t8); }, saveForms() { $.formsOnTheDom.forEach$1(0, new A.saveForms_closure()); }, cleanForms() { var t1, t2, t3; for (t1 = $.formsOnTheDom.get$values($.formsOnTheDom), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = t2.parentNode; if (t3 != null) t3.removeChild(t2); } $.formsOnTheDom.clear$0(0); }, setElementTransform(element, matrix4) { var t2, t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform-origin"), "0 0 0", ""); t2 = A.float64ListToCssTransform(matrix4); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); }, 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 tx, ty, t1 = matrix[0]; if (t1 === 1 && matrix[1] === 0 && matrix[2] === 0 && matrix[3] === 0 && matrix[4] === 0 && matrix[5] === 1 && matrix[6] === 0 && matrix[7] === 0 && matrix[8] === 0 && matrix[9] === 0 && matrix[10] === 1 && matrix[11] === 0 && matrix[14] === 0 && matrix[15] === 1) { tx = matrix[12]; ty = matrix[13]; return "translate3d(" + A.S(tx) + "px, " + A.S(ty) + "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]) + ")"; }, transformRect(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().__engine$_m4storage; m00 = t2[0]; m01 = t2[4]; m02 = t2[8]; m03 = t2[12]; m10 = t2[1]; m11 = t2[5]; m12 = t2[9]; m13 = t2[13]; m20 = t2[2]; m21 = t2[6]; m22 = t2[10]; m23 = t2[14]; m30 = t2[3]; m31 = t2[7]; m32 = t2[11]; m33 = t2[15]; argStorage = transform.__engine$_m4storage; t2[0] = m00 * argStorage[0] + m01 * argStorage[4] + m02 * argStorage[8] + m03 * argStorage[12]; t2[4] = m00 * argStorage[1] + m01 * argStorage[5] + m02 * argStorage[9] + m03 * argStorage[13]; t2[8] = m00 * argStorage[2] + m01 * argStorage[6] + m02 * argStorage[10] + m03 * argStorage[14]; t2[12] = m00 * argStorage[3] + m01 * argStorage[7] + m02 * argStorage[11] + m03 * argStorage[15]; t2[1] = m10 * argStorage[0] + m11 * argStorage[4] + m12 * argStorage[8] + m13 * argStorage[12]; t2[5] = m10 * argStorage[1] + m11 * argStorage[5] + m12 * argStorage[9] + m13 * argStorage[13]; t2[9] = m10 * argStorage[2] + m11 * argStorage[6] + m12 * argStorage[10] + m13 * argStorage[14]; t2[13] = m10 * argStorage[3] + m11 * argStorage[7] + m12 * argStorage[11] + m13 * argStorage[15]; t2[2] = m20 * argStorage[0] + m21 * argStorage[4] + m22 * argStorage[8] + m23 * argStorage[12]; t2[6] = m20 * argStorage[1] + m21 * argStorage[5] + m22 * argStorage[9] + m23 * argStorage[13]; t2[10] = m20 * argStorage[2] + m21 * argStorage[6] + m22 * argStorage[10] + m23 * argStorage[14]; t2[14] = m20 * argStorage[3] + m21 * argStorage[7] + m22 * argStorage[11] + m23 * argStorage[15]; t2[3] = m30 * argStorage[0] + m31 * argStorage[4] + m32 * argStorage[8] + m33 * argStorage[12]; t2[7] = m30 * argStorage[1] + m31 * argStorage[5] + m32 * argStorage[9] + m33 * argStorage[13]; t2[11] = m30 * argStorage[2] + m31 * argStorage[6] + m32 * argStorage[10] + m33 * argStorage[14]; t2[15] = m30 * argStorage[3] + m31 * argStorage[7] + m32 * argStorage[11] + m33 * argStorage[15]; w = argStorage[15]; if (w === 0) w = 1; ltrb[0] = Math.min(Math.min(Math.min(t1[0], t1[1]), t1[2]), t1[3]) / w; ltrb[1] = Math.min(Math.min(Math.min(t1[4], t1[5]), t1[6]), t1[7]) / w; ltrb[2] = Math.max(Math.max(Math.max(t1[0], t1[1]), t1[2]), t1[3]) / w; ltrb[3] = Math.max(Math.max(Math.max(t1[4], t1[5]), t1[6]), t1[7]) / w; }, rectContainsOther(rect, other) { return rect.left <= other.left && rect.top <= other.top && rect.right >= other.right && rect.bottom >= other.bottom; }, colorToCssString(color) { var value, hexValue, t1; if (color == null) return null; value = color.get$value(color); 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) { if (a === 255) return "rgb(" + r + "," + g + "," + b + ")"; else return "rgba(" + r + "," + g + "," + b + "," + 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 (J.containsKey$1$x(B.Set_wIvsi._collection$_map, 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; }, listEquals(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; }, httpFetch(url) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Body), $async$returnValue, t1, $async$temp1; var $async$httpFetch = 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 = window; $async$temp1 = type$.Body; $async$goto = 3; return A._asyncAwait(A.promiseToFuture(t1.fetch(url, null), type$.dynamic), $async$httpFetch); case 3: // returning from await. $async$returnValue = $async$temp1._as($async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$httpFetch, $async$completer); }, parseFloat(source) { var result = self.parseFloat.call$1(source); if (result == null || isNaN(result)) return null; return result; }, Matrix4_tryInvert0(other) { var r = new A.Matrix40(new Float32Array(16)); if (r.copyInverse$1(other) === 0) return null; return r; }, Matrix4$identity() { var t1 = new Float32Array(16); t1[15] = 1; t1[0] = 1; t1[5] = 1; t1[10] = 1; return new A.Matrix40(t1); }, Matrix4$fromFloat32List(_m4storage) { return new A.Matrix40(_m4storage); }, Vector3_Vector3(x, y, z) { var t1 = new Float32Array(3); t1[0] = x; t1[1] = y; t1[2] = z; return new A.Vector30(t1); }, WebExperiments$_() { var t1 = new A.WebExperiments(); t1.WebExperiments$_$0(); return t1; }, EngineSingletonFlutterWindow$(windowId, platformDispatcher) { var t1 = new A.EngineSingletonFlutterWindow(windowId, platformDispatcher, A.Future_Future$value(null, type$.void), B.WindowPadding_0_0_0_0); t1.EngineFlutterWindow$2(windowId, platformDispatcher); return t1; }, initializeEngine_closure: function initializeEngine_closure() { }, initializeEngine_closure0: function initializeEngine_closure0(t0) { this._box_0 = t0; }, initializeEngine__closure: function initializeEngine__closure(t0) { this._box_0 = t0; }, _addUrlStrategyListener_closure: function _addUrlStrategyListener_closure() { }, _addUrlStrategyListener_closure0: function _addUrlStrategyListener_closure0() { }, NullTreeSanitizer: function NullTreeSanitizer() { }, AlarmClock: function AlarmClock(t0) { var _ = this; _._timestampFunction = t0; _._datetime = _._timer = null; _.__AlarmClock_callback = $; }, AssetManager: function AssetManager() { }, AssetManager__baseUrl_closure: function AssetManager__baseUrl_closure() { }, AssetManager__baseUrl_closure0: function AssetManager__baseUrl_closure0() { }, AssetManagerException: function AssetManagerException(t0, t1) { this.url = t0; this.httpStatus = t1; }, 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 = _.__engine$_context = null; _._widthInBitmapPixels = t0; _._heightInBitmapPixels = t1; _._rootElement = _._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; }, RecordingCkCanvas: function RecordingCkCanvas(t0, t1) { this.pictureSnapshot = t0; this.skCanvas = t1; }, CkPictureSnapshot: function CkPictureSnapshot(t0, t1) { this._bounds = t0; this._commands = t1; }, CkPaintCommand: function CkPaintCommand() { }, CkClearCommand: function CkClearCommand(t0) { this.color = t0; }, CkSaveCommand: function CkSaveCommand() { }, CkRestoreCommand: function CkRestoreCommand() { }, CkRestoreToCountCommand: function CkRestoreToCountCommand(t0) { this.count = t0; }, CkTranslateCommand: function CkTranslateCommand(t0, t1) { this.dx = t0; this.dy = t1; }, CkScaleCommand: function CkScaleCommand(t0, t1) { this.sx = t0; this.sy = t1; }, CkRotateCommand: function CkRotateCommand(t0) { this.radians = t0; }, CkTransformCommand: function CkTransformCommand(t0) { this.matrix4 = t0; }, CkClipRectCommand: function CkClipRectCommand(t0, t1, t2) { this.rect = t0; this.clipOp = t1; this.doAntiAlias = t2; }, CkDrawArcCommand: function CkDrawArcCommand(t0, t1, t2, t3, t4) { var _ = this; _.oval = t0; _.startAngle = t1; _.sweepAngle = t2; _.useCenter = t3; _.paint = t4; }, CkClipRRectCommand: function CkClipRRectCommand(t0, t1) { this.rrect = t0; this.doAntiAlias = t1; }, CkClipPathCommand: function CkClipPathCommand(t0, t1) { this.path = t0; this.doAntiAlias = t1; }, CkDrawLineCommand: function CkDrawLineCommand(t0, t1, t2) { this.p1 = t0; this.p2 = t1; this.paint = t2; }, CkDrawPaintCommand: function CkDrawPaintCommand(t0) { this.paint = t0; }, CkDrawRectCommand: function CkDrawRectCommand(t0, t1) { this.rect = t0; this.paint = t1; }, CkDrawRRectCommand: function CkDrawRRectCommand(t0, t1) { this.rrect = t0; this.paint = t1; }, CkDrawDRRectCommand: function CkDrawDRRectCommand(t0, t1, t2) { this.outer = t0; this.inner = t1; this.paint = t2; }, CkDrawCircleCommand: function CkDrawCircleCommand(t0, t1, t2) { this.c = t0; this.radius = t1; this.paint = t2; }, CkDrawPathCommand: function CkDrawPathCommand(t0, t1) { this.path = t0; this.paint = t1; }, CkDrawShadowCommand: function CkDrawShadowCommand(t0, t1, t2, t3) { var _ = this; _.path = t0; _.color = t1; _.elevation = t2; _.transparentOccluder = t3; }, CkDrawImageCommand: function CkDrawImageCommand(t0, t1, t2) { this.image = t0; this.offset = t1; this.paint = t2; }, CkDrawImageRectCommand: function CkDrawImageRectCommand(t0, t1, t2, t3) { var _ = this; _.image = t0; _.src = t1; _.dst = t2; _.paint = t3; }, CkDrawParagraphCommand: function CkDrawParagraphCommand(t0, t1) { this.paragraph = t0; this.offset = t1; }, CkDrawPictureCommand: function CkDrawPictureCommand(t0) { this.picture = t0; }, CkSaveLayerCommand: function CkSaveLayerCommand(t0, t1) { this.bounds = t0; this.paint = t1; }, CkSaveLayerWithoutBoundsCommand: function CkSaveLayerWithoutBoundsCommand(t0) { this.paint = t0; }, CkSaveLayerWithFilterCommand: function CkSaveLayerWithFilterCommand(t0, t1, t2) { this.bounds = t0; this.filter = t1; this.paint = t2; }, CanvasKit: function CanvasKit() { }, CanvasKitInitOptions: function CanvasKitInitOptions() { }, CanvasKitInitPromise: function CanvasKitInitPromise() { }, ColorSpace: function ColorSpace() { }, SkWebGLContextOptions: function SkWebGLContextOptions() { }, SkSurface: function SkSurface() { }, SkGrContext: function SkGrContext() { }, SkFontSlantEnum: function SkFontSlantEnum() { }, SkFontSlant: function SkFontSlant() { }, SkFontWeightEnum: function SkFontWeightEnum() { }, SkFontWeight: function SkFontWeight() { }, SkAffinityEnum: function SkAffinityEnum() { }, SkAffinity: function SkAffinity() { }, SkTextDirectionEnum: function SkTextDirectionEnum() { }, SkTextDirection: function SkTextDirection() { }, SkTextAlignEnum: function SkTextAlignEnum() { }, SkTextAlign: function SkTextAlign() { }, SkTextHeightBehaviorEnum: function SkTextHeightBehaviorEnum() { }, SkTextHeightBehavior: function SkTextHeightBehavior() { }, SkRectHeightStyleEnum: function SkRectHeightStyleEnum() { }, SkRectHeightStyle: function SkRectHeightStyle() { }, SkRectWidthStyleEnum: function SkRectWidthStyleEnum() { }, SkRectWidthStyle: function SkRectWidthStyle() { }, SkVertexModeEnum: function SkVertexModeEnum() { }, SkVertexMode: function SkVertexMode() { }, SkPointModeEnum: function SkPointModeEnum() { }, SkPointMode: function SkPointMode() { }, SkClipOpEnum: function SkClipOpEnum() { }, SkClipOp: function SkClipOp() { }, SkFillTypeEnum: function SkFillTypeEnum() { }, SkFillType: function SkFillType() { }, SkPathOpEnum: function SkPathOpEnum() { }, SkPathOp: function SkPathOp() { }, SkBlurStyleEnum: function SkBlurStyleEnum() { }, SkBlurStyle: function SkBlurStyle() { }, SkStrokeCapEnum: function SkStrokeCapEnum() { }, SkStrokeCap: function SkStrokeCap() { }, SkPaintStyleEnum: function SkPaintStyleEnum() { }, SkPaintStyle: function SkPaintStyle() { }, SkBlendModeEnum: function SkBlendModeEnum() { }, SkBlendMode: function SkBlendMode() { }, SkStrokeJoinEnum: function SkStrokeJoinEnum() { }, SkStrokeJoin: function SkStrokeJoin() { }, SkTileModeEnum: function SkTileModeEnum() { }, SkTileMode: function SkTileMode() { }, SkFilterModeEnum: function SkFilterModeEnum() { }, SkFilterMode: function SkFilterMode() { }, SkMipmapModeEnum: function SkMipmapModeEnum() { }, SkMipmapMode: function SkMipmapMode() { }, SkAlphaTypeEnum: function SkAlphaTypeEnum() { }, SkAlphaType: function SkAlphaType() { }, SkColorTypeEnum: function SkColorTypeEnum() { }, SkColorType: function SkColorType() { }, SkAnimatedImage: function SkAnimatedImage() { }, SkImage: function SkImage() { }, SkShaderNamespace: function SkShaderNamespace() { }, SkShader: function SkShader() { }, SkMaskFilterNamespace: function SkMaskFilterNamespace() { }, SkPaint: function SkPaint() { }, CkFilterOptions: function CkFilterOptions() { }, _CkCubicFilterOptions: function _CkCubicFilterOptions() { }, _CkTransformFilterOptions: function _CkTransformFilterOptions() { }, SkMaskFilter: function SkMaskFilter() { }, SkColorFilterNamespace: function SkColorFilterNamespace() { }, SkColorFilter: function SkColorFilter() { }, SkImageFilterNamespace: function SkImageFilterNamespace() { }, SkImageFilter: function SkImageFilter() { }, SkPathNamespace: function SkPathNamespace() { }, _NativeFloat32ArrayType: function _NativeFloat32ArrayType() { }, SkFloat32List: function SkFloat32List() { }, SkPath: function SkPath() { }, SkContourMeasureIter: function SkContourMeasureIter() { }, SkContourMeasure: function SkContourMeasure() { }, SkPictureRecorder: function SkPictureRecorder() { }, SkCanvas: function SkCanvas() { }, SkPicture: function SkPicture() { }, SkParagraphBuilderNamespace: function SkParagraphBuilderNamespace() { }, SkParagraphBuilder: function SkParagraphBuilder() { }, SkParagraphStyle: function SkParagraphStyle() { }, SkParagraphStyleProperties: function SkParagraphStyleProperties() { }, SkTextStyle: function SkTextStyle() { }, SkTextDecorationStyleEnum: function SkTextDecorationStyleEnum() { }, SkTextDecorationStyle: function SkTextDecorationStyle() { }, SkTextBaselineEnum: function SkTextBaselineEnum() { }, SkTextBaseline: function SkTextBaseline() { }, SkPlaceholderAlignmentEnum: function SkPlaceholderAlignmentEnum() { }, SkPlaceholderAlignment: function SkPlaceholderAlignment() { }, SkTextStyleProperties: function SkTextStyleProperties() { }, SkStrutStyleProperties: function SkStrutStyleProperties() { }, SkFontStyle: function SkFontStyle() { }, SkTextShadow: function SkTextShadow() { }, SkFontFeature: function SkFontFeature() { }, SkTypeface: function SkTypeface() { }, SkFont: function SkFont() { }, SkFontMgr: function SkFontMgr() { }, TypefaceFontProvider: function TypefaceFontProvider() { }, SkLineMetrics: function SkLineMetrics() { }, SkParagraph: function SkParagraph() { }, SkTextPosition: function SkTextPosition() { }, SkTextRange: function SkTextRange() { }, SkVertices: function SkVertices() { }, SkTonalColors: function SkTonalColors() { }, SkFontMgrNamespace: function SkFontMgrNamespace() { }, TypefaceFontProviderNamespace: function TypefaceFontProviderNamespace() { }, ProductionCollector: function ProductionCollector(t0) { this.__ProductionCollector__skObjectFinalizationRegistry = $; this._skiaObjectCollectionQueue = t0; this._skiaObjectCollectionTimer = null; }, ProductionCollector_closure: function ProductionCollector_closure(t0) { this.$this = t0; }, ProductionCollector_collect_closure: function ProductionCollector_collect_closure(t0) { this.$this = t0; }, SkiaObjectCollectionError: function SkiaObjectCollectionError(t0, t1) { this.error = t0; this.stackTrace = t1; }, SkDeletable: function SkDeletable() { }, JsConstructor: function JsConstructor() { }, SkObjectFinalizationRegistry: function SkObjectFinalizationRegistry() { }, SkData: function SkData() { }, SkImageInfo: function SkImageInfo() { }, CanvasKitCanvas: function CanvasKitCanvas(t0) { this._canvas = t0; }, ManagedSkColorFilter: function ManagedSkColorFilter(t0) { this.colorFilter = t0; this.rawSkiaObject = null; }, CkColorFilter: function CkColorFilter() { }, CkBlendModeColorFilter: function CkBlendModeColorFilter(t0, t1) { this.color = t0; this.blendMode = t1; }, CkMatrixColorFilter: function CkMatrixColorFilter(t0) { this.matrix = t0; }, CkComposeColorFilter: function CkComposeColorFilter(t0, t1) { this.outer = t0; this.inner = t1; }, HtmlViewEmbedder: function HtmlViewEmbedder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._viewsUsingBackupSurface = t0; _._pictureRecordersCreatedDuringPreroll = t1; _._backupPictureRecorder = null; _._pictureRecorders = t2; _._currentCompositionParams = t3; _._viewClipChains = t4; _._overlays = t5; _._viewsToRecomposite = t6; _._compositionOrder = t7; _._activeCompositionOrder = t8; _._frameSize = t9; _._clipPathCount = 0; _._svgPathDefs = null; _._svgClipDefs = t10; }, HtmlViewEmbedder_getOverlayCanvases_closure: function HtmlViewEmbedder_getOverlayCanvases_closure() { }, HtmlViewEmbedder__compositeWithParams_closure: function HtmlViewEmbedder__compositeWithParams_closure(t0) { this.viewId = t0; }, HtmlViewEmbedder__applyMutators_closure: function HtmlViewEmbedder__applyMutators_closure() { }, HtmlViewEmbedder__applyMutators_closure0: function HtmlViewEmbedder__applyMutators_closure0() { }, HtmlViewEmbedder_submitFrame_closure: function HtmlViewEmbedder_submitFrame_closure(t0) { this.$this = t0; }, ViewClipChain: function ViewClipChain(t0, t1) { this.__engine$_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; }, ViewListDiffResult: function ViewListDiffResult(t0, t1, t2, t3) { var _ = this; _.viewsToRemove = t0; _.viewsToAdd = t1; _.addToBeginning = t2; _.viewToInsertBefore = t3; }, FontFallbackData: function FontFallbackData(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.registeredSymbolsAndEmoji = false; _.codeUnitsWithNoKnownFont = t0; _.knownCoveredCodeUnits = t1; _.notoTree = t2; _.registeredFallbackFonts = t3; _.globalFontFallbacks = t4; _.fontFallbackCounts = t5; _._codeUnitsToCheckAgainstFallbackFonts = t6; _._scheduledCodeUnitCheck = false; }, FontFallbackData_createNotoFontTree_closure: function FontFallbackData_createNotoFontTree_closure() { }, FontFallbackData_ensureFontsSupportText_closure: function FontFallbackData_ensureFontsSupportText_closure() { }, FontFallbackData_registerFallbackFont_closure: function FontFallbackData_registerFallbackFont_closure() { }, _makeResolvedNotoFontFromCss_closure: function _makeResolvedNotoFontFromCss_closure() { }, _registerSymbolsAndEmoji_extractUrlFromCss: function _registerSymbolsAndEmoji_extractUrlFromCss() { }, findMinimumFontsForCodeUnits_closure: function findMinimumFontsForCodeUnits_closure() { }, findMinimumFontsForCodeUnits_closure0: function findMinimumFontsForCodeUnits_closure0(t0) { this._box_0 = t0; }, NotoFont: function NotoFont(t0, t1) { var _ = this; _.name = t0; _.approximateUnicodeRanges = t1; _.resolvedFont = _._decodingCompleter = null; }, CodeunitRange: function CodeunitRange(t0, t1) { this.start = t0; this.end = t1; }, _ResolvedNotoFont: function _ResolvedNotoFont(t0, t1) { this.name = t0; this.tree = t1; }, _ResolvedNotoSubset: function _ResolvedNotoSubset(t0, t1, t2) { this.url = t0; this.family = t1; this.ranges = t2; }, FallbackFontDownloadQueue: function FallbackFontDownloadQueue(t0, t1, t2) { var _ = this; _.downloader = t0; _.downloadedSubsets = t1; _.pendingSubsets = t2; _._fontsLoading = null; }, FallbackFontDownloadQueue_startDownloads_closure: function FallbackFontDownloadQueue_startDownloads_closure(t0, t1, t2) { this.$this = t0; this.subset = t1; this.downloadedData = t2; }, NotoDownloader: function NotoDownloader() { this._debugActiveDownloadCount = 0; }, NotoDownloader_downloadAsBytes_closure: function NotoDownloader_downloadAsBytes_closure() { }, NotoDownloader_downloadAsBytes__closure: function NotoDownloader_downloadAsBytes__closure() { }, NotoDownloader_downloadAsString_closure: function NotoDownloader_downloadAsString_closure() { }, NotoDownloader_downloadAsString__closure: function NotoDownloader_downloadAsString__closure() { }, SkiaFontCollection: function SkiaFontCollection(t0, t1, t2) { var _ = this; _._unloadedFonts = t0; _._registeredFonts = t1; _.familyToFontMap = t2; _.fontProvider = null; }, SkiaFontCollection_ensureFontsLoaded_closure: function SkiaFontCollection_ensureFontsLoaded_closure() { }, SkiaFontCollection_ensureFontsLoaded_closure0: function SkiaFontCollection_ensureFontsLoaded_closure0() { }, SkiaFontCollection__getArrayBuffer_closure: function SkiaFontCollection__getArrayBuffer_closure() { }, RegisteredFont: function RegisteredFont(t0, t1, t2) { this.family = t0; this.bytes = t1; this.typeface = t2; }, ImageCodecException: function ImageCodecException(t0) { this.__engine$_message = t0; }, httpRequestFactory_closure: function httpRequestFactory_closure() { }, skiaInstantiateWebImageCodec_closure: function skiaInstantiateWebImageCodec_closure(t0) { this.chunkCallback = t0; }, skiaInstantiateWebImageCodec_closure0: function skiaInstantiateWebImageCodec_closure0(t0, t1) { this.completer = t0; this.url = t1; }, skiaInstantiateWebImageCodec_closure1: function skiaInstantiateWebImageCodec_closure1(t0, t1, t2) { this.request = t0; this.completer = t1; this.url = t2; }, CkAnimatedImage: function CkAnimatedImage(t0, t1) { var _ = this; _.src = t0; _._bytes = t1; _._frameCount = 0; _._repetitionCount = -1; _._nextFrameIndex = 0; _._disposed = false; _.rawSkiaObject = null; }, CkImage: function CkImage(t0) { this._debugStackTrace = null; this.__CkImage_box = t0; this._disposed = false; }, CkImage_closure: function CkImage_closure(t0, t1, t2) { this.originalWidth = t0; this.originalHeight = t1; this.originalBytes = t2; }, AnimatedImageFrameInfo: function AnimatedImageFrameInfo(t0, t1) { this.__engine$_duration = t0; this.__engine$_image = t1; }, CkImageFilter: function CkImageFilter() { }, _CkBlurImageFilter: function _CkBlurImageFilter(t0, t1, t2) { var _ = this; _.sigmaX = t0; _.sigmaY = t1; _.tileMode = t2; _.rawSkiaObject = null; }, initializeCanvasKit_closure: function initializeCanvasKit_closure(t0) { this.canvasKitCompleter = t0; }, initializeCanvasKit__closure: function initializeCanvasKit__closure() { }, initializeCanvasKit__closure0: function initializeCanvasKit__closure0(t0) { this.canvasKitCompleter = t0; }, _startDownloadingCanvasKit_closure: function _startDownloadingCanvasKit_closure(t0, t1) { this.loadSubscription = t0; this.canvasKitLoadCompleter = t1; }, _startDownloadingCanvasKit_closure0: function _startDownloadingCanvasKit_closure0(t0) { this.objectConstructor = t0; }, _startDownloadingCanvasKit_closure1: function _startDownloadingCanvasKit_closure1() { }, _startDownloadingCanvasKit_closure2: function _startDownloadingCanvasKit_closure2(t0) { this.objectConstructor = t0; }, _startDownloadingCanvasKit_closure3: function _startDownloadingCanvasKit_closure3() { }, IntervalTree: function IntervalTree(t0, t1) { this.root = t0; this.$ti = t1; }, IntervalTree_IntervalTree$createFromRanges_closure: function IntervalTree_IntervalTree$createFromRanges_closure(t0, t1) { this.intervals = t0; this.T = t1; }, IntervalTree_IntervalTree$createFromRanges_closure0: function IntervalTree_IntervalTree$createFromRanges_closure0(t0) { this.T = t0; }, IntervalTree_IntervalTree$createFromRanges__makeBalancedTree: function IntervalTree_IntervalTree$createFromRanges__makeBalancedTree(t0) { this.T = t0; }, IntervalTree_IntervalTree$createFromRanges__computeHigh: function IntervalTree_IntervalTree$createFromRanges__computeHigh(t0) { this.T = t0; }, IntervalTreeNode: function IntervalTreeNode(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.low = t1; _.high = t2; _.computedHigh = t3; _.right = _.left = null; _.$ti = t4; }, Layer0: function Layer0() { }, 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.__engine$_layers = t0; this.parent = null; this.paintBounds = t1; }, BackdropFilterEngineLayer: function BackdropFilterEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_filter = t0; _._blendMode = t1; _.__engine$_layers = t2; _.parent = null; _.paintBounds = t3; }, ClipPathEngineLayer: function ClipPathEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_clipPath = t0; _.__engine$_clipBehavior = t1; _.__engine$_layers = t2; _.parent = null; _.paintBounds = t3; }, ClipRectEngineLayer: function ClipRectEngineLayer(t0, t1, t2, t3) { var _ = this; _._clipRect = t0; _.__engine$_clipBehavior = t1; _.__engine$_layers = t2; _.parent = null; _.paintBounds = t3; }, ClipRRectEngineLayer: function ClipRRectEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_clipRRect = t0; _.__engine$_clipBehavior = t1; _.__engine$_layers = t2; _.parent = null; _.paintBounds = t3; }, OpacityEngineLayer: function OpacityEngineLayer(t0, t1, t2, t3) { var _ = this; _.__engine$_alpha = t0; _.__engine$_offset = t1; _.__engine$_layers = t2; _.parent = null; _.paintBounds = t3; }, TransformEngineLayer: function TransformEngineLayer(t0, t1, t2) { var _ = this; _.__engine$_transform = t0; _.__engine$_layers = t1; _.parent = null; _.paintBounds = t2; }, OffsetEngineLayer: function OffsetEngineLayer(t0, t1, t2) { var _ = this; _.__engine$_transform = t0; _.__engine$_layers = t1; _.parent = null; _.paintBounds = t2; }, PictureLayer0: function PictureLayer0(t0, t1, t2) { var _ = this; _.picture = t0; _.offset = t1; _.parent = null; _.paintBounds = t2; }, PhysicalShapeEngineLayer: function PhysicalShapeEngineLayer(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.__engine$_elevation = t0; _._color = t1; _.__engine$_shadowColor = t2; _.__engine$_path = t3; _.__engine$_clipBehavior = t4; _.__engine$_layers = t5; _.parent = null; _.paintBounds = t6; }, 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 = $; }, LayerTree: function LayerTree(t0, t1) { this.rootLayer = t0; this.frameSize = t1; }, 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.rawSkiaObject = null; }, CkNWayCanvas: function CkNWayCanvas(t0) { this._canvases = t0; }, CkPaint: function CkPaint(t0, t1, t2, t3, t4, t5) { var _ = this; _._blendMode = t0; _._style = t1; _._strokeWidth = 0; _._strokeCap = t2; _._strokeJoin = t3; _._isAntiAlias = true; _._color = t4; _._invertColors = false; _._ckMaskFilter = _._maskFilter = _._shader = _._originalColorFilter = null; _._filterQuality = t5; _._effectiveColorFilter = null; _._strokeMiterLimit = 0; _.rawSkiaObject = _._managedImageFilter = _._imageFilter = null; }, CkPath: function CkPath(t0) { this._fillType = t0; this.rawSkiaObject = this._cachedCommands = null; }, CkPathMetrics: function CkPathMetrics(t0, t1) { this.__engine$_path = t0; this._forceClosed = t1; }, CkContourMeasureIter: function CkContourMeasureIter(t0) { var _ = this; _._metrics = t0; _._contourIndexCounter = 0; _.rawSkiaObject = _.__engine$_current = null; }, CkContourMeasure: function CkContourMeasure(t0, t1) { this._metrics = t0; this.contourIndex = t1; this.rawSkiaObject = null; }, CkPathMetricIteratorEmpty: function CkPathMetricIteratorEmpty() { }, CkPicture: function CkPicture(t0, t1) { var _ = this; _.cullRect = t0; _._snapshot = t1; _._isDisposed = false; _.rawSkiaObject = null; }, CkPictureRecorder: function CkPictureRecorder() { this._recordingCanvas = this._skRecorder = this._cullRect = null; }, Rasterizer: function Rasterizer(t0, t1) { this.context = t0; this._postFrameCallbacks = t1; }, CkShader: function CkShader() { }, CkGradientLinear: function CkGradientLinear(t0, t1, t2, t3, t4, t5) { var _ = this; _.from = t0; _.to = t1; _.colors = t2; _.colorStops = t3; _.tileMode = t4; _.matrix4 = t5; _.rawSkiaObject = null; }, CkGradientRadial: function CkGradientRadial(t0, t1, t2, t3, t4, t5) { var _ = this; _.center = t0; _.radius = t1; _.colors = t2; _.colorStops = t3; _.tileMode = t4; _.matrix4 = t5; _.rawSkiaObject = null; }, CkGradientConical: function CkGradientConical(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.focal = t0; _.focalRadius = t1; _.center = t2; _.radius = t3; _.colors = t4; _.colorStops = t5; _.tileMode = t6; _.matrix4 = t7; _.rawSkiaObject = null; }, SkiaObjectCache: function SkiaObjectCache(t0, t1, t2) { this.maximumSize = t0; this._itemQueue = t1; this._itemMap = t2; }, SynchronousSkiaObjectCache: function SynchronousSkiaObjectCache(t0, t1, t2) { this.maximumSize = t0; this._itemQueue = t1; this._itemMap = t2; }, SkiaObject: function SkiaObject() { }, ManagedSkiaObject: function ManagedSkiaObject() { }, SkiaObjectBox: function SkiaObjectBox(t0, t1, t2) { var _ = this; _.__engine$_refCount = 1; _.debugReferrers = t0; _._skDeletable = _.rawSkiaObject = null; _._resurrector = t1; _._isDeletedPermanently = false; _.$ti = t2; }, SurfaceFrame: function SurfaceFrame(t0, t1) { this.skiaSurface = t0; this.submitCallback = t1; }, Surface: function Surface(t0) { var _ = this; _.__engine$_surface = null; _._forceNewContext = true; _._contextLost = false; _._skiaCacheBytes = _._glContext = _._grContext = _._cachedContextRestoredListener = _._cachedContextLostListener = null; _.htmlElement = t0; _.htmlCanvas = null; _._pixelHeight = _._pixelWidth = -1; _._addedToScene = false; _._currentSurfaceSize = _._currentCanvasPhysicalSize = null; _._currentDevicePixelRatio = -1; }, Surface_acquireFrame_closure: function Surface_acquireFrame_closure(t0) { this.$this = t0; }, CkSurface: function CkSurface(t0, t1) { this.__engine$_surface = t0; this._glContext = t1; this._isDisposed = false; }, SurfaceFactory: function SurfaceFactory(t0, t1, t2, t3, t4) { var _ = this; _.baseSurface = t0; _.backupSurface = t1; _.maximumSurfaces = t2; _._liveSurfaces = t3; _._cache = t4; }, CkParagraphStyle: function CkParagraphStyle(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.skParagraphStyle = t0; _.__engine$_textDirection = t1; _._fontFamily = t2; _._fontSize = t3; _.__engine$_height = t4; _._fontWeight = t5; _._fontStyle = t6; _._leadingDistribution = t7; }, CkTextStyle: function CkTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { 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; _.__CkTextStyle_skTextStyle = _.__CkTextStyle_effectiveFontFamilies = $; }, 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; _._fontSize = t2; _.__engine$_height = t3; _._leading = t4; _._fontWeight = t5; _._fontStyle = t6; _._forceStrutHeight = t7; _._leadingDistribution = t8; }, CkParagraph: function CkParagraph(t0, t1, t2) { var _ = this; _._skParagraph = t0; _._paragraphStyle = t1; _._paragraphCommands = t2; _._lastLayoutConstraints = null; _._alphabeticBaseline = 0; _._didExceedMaxLines = false; _.__engine$_width = _._minIntrinsicWidth = _._maxIntrinsicWidth = _._longestLine = _._ideographicBaseline = _.__engine$_height = 0; _._boxesForPlaceholders = null; }, CkParagraphBuilder: function CkParagraphBuilder(t0, t1, t2, t3, t4) { var _ = this; _._paragraphBuilder = t0; _._style = t1; _._commands = t2; _._placeholderCount = 0; _._placeholderScales = t3; _._styleStack = t4; }, _CkParagraphPlaceholder: function _CkParagraphPlaceholder(t0, t1, t2, t3, t4) { var _ = this; _.width = t0; _.height = t1; _.alignment = t2; _.baseline = t3; _.offset = t4; }, _ParagraphCommand: function _ParagraphCommand(t0, t1, t2, t3) { var _ = this; _.type = t0; _.text = t1; _.style = t2; _.placeholderStyle = t3; }, _ParagraphCommandType: function _ParagraphCommandType(t0, t1) { this.index = t0; this._core$_name = t1; }, _getEffectiveFontFamilies_closure: function _getEffectiveFontFamilies_closure(t0) { this.fontFamily = t0; }, 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; }, ClipboardAPICopyStrategy: function ClipboardAPICopyStrategy() { }, ClipboardAPIPasteStrategy: function ClipboardAPIPasteStrategy() { }, ExecCommandCopyStrategy: function ExecCommandCopyStrategy() { }, ExecCommandPasteStrategy: function ExecCommandPasteStrategy() { }, FlutterConfiguration: function FlutterConfiguration(t0) { this._js = t0; }, JsFlutterConfiguration: function JsFlutterConfiguration() { }, DomRenderer: function DomRenderer(t0) { var _ = this; _._glassPaneShadow = _._glassPaneElement = _._staleHotRestartState = _._sceneElement = _._semanticsHostElement = _._resourcesHost = _._sceneHostElement = _._viewportMeta = _._styleElement = _._localeSubscription = _._resizeSubscription = null; _.rootElement = t0; }, DomRenderer_reset_closure: function DomRenderer_reset_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.initialInnerWidth = t2; }, DomRenderer_setPreferredOrientation_closure: function DomRenderer_setPreferredOrientation_closure(t0) { this.completer = t0; }, DomRenderer_setPreferredOrientation_closure0: function DomRenderer_setPreferredOrientation_closure0(t0) { this.completer = t0; }, EngineCanvas: function EngineCanvas() { }, SaveStackEntry: function SaveStackEntry(t0, t1) { this.transform = t0; this.clipStack = t1; }, SaveClipEntry: function SaveClipEntry(t0, t1, t2, t3) { var _ = this; _.rect = t0; _.rrect = t1; _.path = t2; _.currentTransform = t3; }, _SaveElementStackEntry: function _SaveElementStackEntry(t0, t1) { this.savedElement = t0; this.transform = t1; }, SaveElementStackTracking: function SaveElementStackTracking() { }, sendFontChangeMessage_closure: function sendFontChangeMessage_closure() { }, sendFontChangeMessage__closure: function sendFontChangeMessage__closure() { }, 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; }, ShadowDomHostNode: function ShadowDomHostNode() { this.__ShadowDomHostNode__shadow = $; }, ElementHostNode: function ElementHostNode() { this.__ElementHostNode__element = $; }, PersistedBackdropFilter: function PersistedBackdropFilter(t0, t1, t2, t3) { var _ = this; _.filter = t0; _._activeClipBounds = _._filterElement = _._childContainer = null; _.__PersistedBackdropFilter__invertedTransform = $; _._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; }, SurfaceCanvas: function SurfaceCanvas(t0) { this._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; }, PersistedPhysicalShape: function PersistedPhysicalShape(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.path = t0; _.pathBounds = t1; _.elevation = t2; _.color = t3; _.shadowColor = t4; _.clipBehavior = t5; _._svgElement = _._clipElement = null; _._DomClip__childContainer = t6; _.__engine$_children = t7; _._oldLayer = t8; _.__engine$_index = -1; _.__engine$_state = t9; _.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; }, DomCanvas: function DomCanvas(t0, t1, t2, t3) { var _ = this; _.rootElement = t0; _.SaveElementStackTracking__saveStack = t1; _.SaveElementStackTracking__elementStack = t2; _.SaveElementStackTracking__currentTransform = t3; }, OffScreenCanvas: function OffScreenCanvas(t0, t1) { var _ = this; _.canvasElement = _.offScreenCanvas = null; _.width = t0; _.height = t1; }, 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; _.colorFilter = _.filterQuality = _.maskFilter = _.shader = _.color = null; }, Conic: function Conic(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.p0x = t0; _.p0y = t1; _.p1x = t2; _.p1y = t3; _.p2x = t4; _.p2y = t5; _.fW = t6; }, QuadBounds: function QuadBounds() { var _ = this; _.maxY = _.maxX = _.minY = _.minX = 0; }, ConicBounds: function ConicBounds() { var _ = this; _.maxY = _.maxX = _.minY = _.minX = 0; }, _ConicPair: function _ConicPair() { this.second = this.first = null; }, CubicBounds: function CubicBounds() { var _ = this; _.maxY = _.minY = _.maxX = _.minX = 0; }, SurfacePath: function SurfacePath(t0, t1) { var _ = this; _.pathRef = t0; _._fillType = t1; _.fLastMoveToIndex = 0; _._firstDirection = _._convexityType = -1; }, 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; }, SurfacePathMetrics: function SurfacePathMetrics(t0) { this.__engine$_iterator = t0; }, _SurfacePathMeasure: function _SurfacePathMeasure(t0, t1, t2, t3) { var _ = this; _.__engine$_path = t0; _._pathIterator = t1; _._contours = t2; _.forceClosed = t3; _._currentContourIndex = -1; _._verbIterIndex = 0; }, _PathContourMeasure: function _PathContourMeasure(t0) { var _ = this; _._verbEndIndex = 0; _._segments = t0; _._contourLength = 0; _._isClosed = false; }, _PathContourMeasure__buildSegments_lineToHandler: function _PathContourMeasure__buildSegments_lineToHandler(t0, t1) { this._box_0 = t0; this.$this = t1; }, SurfacePathMetricIterator: function SurfacePathMetricIterator(t0) { this._pathMetric = null; this._pathMeasure = t0; }, SurfacePathMetric: function SurfacePathMetric(t0, t1, t2) { this.length = t0; this.contourIndex = t1; this._measure = t2; }, _SurfaceTangent: function _SurfaceTangent(t0, t1) { this.t = t0; this.position = t1; }, _PathSegment: function _PathSegment(t0, t1, t2) { this.segmentType = t0; this.distance = t1; this.points = t2; }, 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; _.__engine$_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; _._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; _.viewId = 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, t2, t3, t4, t5) { var _ = this; _.rect = t0; _.clipOp = t1; _.isClippedOut = false; _.leftBound = t2; _.topBound = t3; _.rightBound = t4; _.bottomBound = t5; }, PaintClipRRect: function PaintClipRRect(t0, t1, t2, t3, t4) { var _ = this; _.rrect = t0; _.isClippedOut = false; _.leftBound = t1; _.topBound = t2; _.rightBound = t3; _.bottomBound = t4; }, PaintClipPath: function PaintClipPath(t0, t1, t2, t3, t4) { var _ = this; _.path = t0; _.isClippedOut = false; _.leftBound = t1; _.topBound = t2; _.rightBound = t3; _.bottomBound = t4; }, PaintDrawLine: function PaintDrawLine(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.p1 = t0; _.p2 = t1; _.paint = t2; _.isClippedOut = false; _.leftBound = t3; _.topBound = t4; _.rightBound = t5; _.bottomBound = t6; }, PaintDrawRect: function PaintDrawRect(t0, t1, t2, t3, t4, t5) { var _ = this; _.rect = t0; _.paint = t1; _.isClippedOut = false; _.leftBound = t2; _.topBound = t3; _.rightBound = t4; _.bottomBound = t5; }, PaintDrawRRect: function PaintDrawRRect(t0, t1, t2, t3, t4, t5) { var _ = this; _.rrect = t0; _.paint = t1; _.isClippedOut = false; _.leftBound = t2; _.topBound = t3; _.rightBound = t4; _.bottomBound = t5; }, PaintDrawDRRect: function PaintDrawDRRect(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.outer = t0; _.inner = t1; _.paint = t2; _.path = null; _.isClippedOut = false; _.leftBound = t3; _.topBound = t4; _.rightBound = t5; _.bottomBound = t6; }, PaintDrawCircle: function PaintDrawCircle(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.c = t0; _.radius = t1; _.paint = t2; _.isClippedOut = false; _.leftBound = t3; _.topBound = t4; _.rightBound = t5; _.bottomBound = t6; }, PaintDrawPath: function PaintDrawPath(t0, t1, t2, t3, t4, t5) { var _ = this; _.path = t0; _.paint = t1; _.isClippedOut = false; _.leftBound = t2; _.topBound = t3; _.rightBound = t4; _.bottomBound = t5; }, PaintDrawShadow: function PaintDrawShadow(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.path = t0; _.color = t1; _.elevation = t2; _.transparentOccluder = t3; _.isClippedOut = false; _.leftBound = t4; _.topBound = t5; _.rightBound = t6; _.bottomBound = t7; }, PaintDrawImage: function PaintDrawImage(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.image = t0; _.offset = t1; _.paint = t2; _.isClippedOut = false; _.leftBound = t3; _.topBound = t4; _.rightBound = t5; _.bottomBound = t6; }, PaintDrawImageRect: function PaintDrawImageRect(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.image = t0; _.src = t1; _.dst = t2; _.paint = t3; _.isClippedOut = false; _.leftBound = t4; _.topBound = t5; _.rightBound = t6; _.bottomBound = t7; }, PaintDrawParagraph: function PaintDrawParagraph(t0, t1, t2, t3, t4, t5) { var _ = this; _.paragraph = t0; _.offset = t1; _.isClippedOut = false; _.leftBound = t2; _.topBound = t3; _.rightBound = t4; _.bottomBound = t5; }, _PaintBounds: function _PaintBounds(t0, t1, t2, t3) { var _ = this; _.maxPaintBounds = t0; _._didPaintInsideClipArea = false; _.__engine$_top = _.__engine$_left = 17976931348623157e292; _.__engine$_bottom = _.__engine$_right = -17976931348623157e292; _.__engine$_transforms = t1; _._clipStack = t2; _._currentMatrixIsIdentity = true; _._currentMatrix = t3; _._clipRectInitialized = false; _._currentClipBottom = _._currentClipRight = _._currentClipTop = _._currentClipLeft = 0; }, RenderStrategy: function RenderStrategy() { var _ = this; _.isInsideSvgFilterTree = _.hasArbitraryPaint = _.hasParagraphs = _.hasImageElements = false; }, _WebGlRenderer: function _WebGlRenderer() { }, 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; }, EngineImageShader: function EngineImageShader() { }, NormalizedGradient: function NormalizedGradient(t0, t1, t2, t3) { var _ = this; _._thresholds = t0; _._bias = t1; _.__engine$_scale = t2; _.thresholdCount = t3; }, EngineGradient: function EngineGradient() { }, GradientLinear: function GradientLinear(t0, t1, t2, t3, t4, t5) { var _ = this; _.from = t0; _.to = t1; _.colors = t2; _.colorStops = t3; _.tileMode = t4; _.matrix4 = t5; }, GradientRadial: function GradientRadial(t0, t1, t2, t3, t4, t5) { var _ = this; _.center = t0; _.radius = t1; _.colors = t2; _.colorStops = t3; _.tileMode = t4; _.matrix4 = t5; }, GradientConical: function GradientConical(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.focal = t0; _.focalRadius = t1; _.center = t2; _.radius = t3; _.colors = t4; _.colorStops = t5; _.tileMode = t6; _.matrix4 = t7; }, EngineImageFilter: function EngineImageFilter() { }, _BlurEngineImageFilter: function _BlurEngineImageFilter(t0, t1, t2) { this.sigmaX = t0; this.sigmaY = t1; this.tileMode = t2; }, ShaderBuilder: function ShaderBuilder(t0, t1, t2, t3, t4) { var _ = this; _.declarations = t0; _._methods = t1; _.floatPrecision = null; _._uniformCounter = _._varyingCounter = _._attribCounter = 0; _.isWebGl2 = t2; _._isFragmentShader = t3; _._fragmentColorDeclaration = null; _.__engine$_buffer = t4; }, ShaderMethod: function ShaderMethod(t0, t1) { this.name = t0; this._statements = t1; this._indentLevel = 1; }, ShaderDeclaration: function ShaderDeclaration(t0, t1, t2) { this.name = t0; this.dataType = t1; this.storage = t2; }, GlProgram: function GlProgram(t0) { this.program = t0; }, GlContext: function GlContext(t0) { var _ = this; _.glContext = t0; _._heightInPixels = _._widthInPixels = _._canvas = _._kTexture0 = _._kTextureMinFilter = _._kLinear = _._kRGBA = _._kUnsignedShort = _._kUnsignedByte = _._kLinkStatus = _._kTriangles = _._kMirroredRepeat = _._kClampToEdge = _._kRepeat = _._kTextureWrapT = _._kTextureWrapS = _._kTexture2D = _._kColorBufferBit = _._kFloat = _._kStaticDraw = _._kElementArrayBuffer = _._kArrayBuffer = _._kCompileStatus = null; }, 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) { this._box_0 = t0; this.errorSubscription = t1; this.completer = t2; }, HtmlCodec__decodeUsingOnLoad_closure0: function HtmlCodec__decodeUsingOnLoad_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.errorSubscription = t2; _.imgElement = t3; _.completer = t4; }, HtmlBlobCodec: function HtmlBlobCodec(t0, t1) { this.src = t0; this.chunkCallback = t1; }, SingleFrameInfo: function SingleFrameInfo(t0) { this.image = t0; }, HtmlImage: function HtmlImage(t0, t1, t2) { var _ = this; _.imgElement = t0; _._disposed = _._requiresClone = false; _.width = t1; _.height = t2; }, Keyboard: function Keyboard(t0) { var _ = this; _._keydownTimers = t0; _._keyupListener = _._keydownListener = null; _._lastMetaState = 0; }, Keyboard$__closure: function Keyboard$__closure(t0) { this.$this = t0; }, Keyboard$__closure0: function Keyboard$__closure0(t0) { this.$this = t0; }, Keyboard$__closure1: function Keyboard$__closure1(t0) { this.$this = t0; }, Keyboard__handleHtmlEvent_closure: function Keyboard__handleHtmlEvent_closure(t0, t1, t2) { this.$this = t0; this.timerKey = t1; this.event = t2; }, Keyboard__handleHtmlEvent_closure0: function Keyboard__handleHtmlEvent_closure0(t0) { this.event = t0; }, _kLogicalKeyToModifierGetter_closure: function _kLogicalKeyToModifierGetter_closure() { }, _kLogicalKeyToModifierGetter_closure0: function _kLogicalKeyToModifierGetter_closure0() { }, _kLogicalKeyToModifierGetter_closure1: function _kLogicalKeyToModifierGetter_closure1() { }, _kLogicalKeyToModifierGetter_closure2: function _kLogicalKeyToModifierGetter_closure2() { }, _kLogicalKeyToModifierGetter_closure3: function _kLogicalKeyToModifierGetter_closure3() { }, _kLogicalKeyToModifierGetter_closure4: function _kLogicalKeyToModifierGetter_closure4() { }, _kLogicalKeyToModifierGetter_closure5: function _kLogicalKeyToModifierGetter_closure5() { }, _kLogicalKeyToModifierGetter_closure6: function _kLogicalKeyToModifierGetter_closure6() { }, KeyboardBinding: function KeyboardBinding(t0) { this.__KeyboardBinding__converter = $; this.__engine$_listeners = t0; }, KeyboardBinding__addEventListener_loggedHandler: function KeyboardBinding__addEventListener_loggedHandler(t0) { this.handler = t0; }, KeyboardBinding__onKeyData_closure: function KeyboardBinding__onKeyData_closure(t0) { this._box_0 = t0; }, KeyboardBinding__setup_closure: function KeyboardBinding__setup_closure(t0) { this.$this = t0; }, KeyboardBinding__setup_closure0: function KeyboardBinding__setup_closure0(t0) { this.$this = t0; }, FlutterHtmlKeyboardEvent: function FlutterHtmlKeyboardEvent(t0) { this._event = t0; }, KeyboardConverter: function KeyboardConverter(t0, t1, t2, t3) { var _ = this; _.performDispatchKeyData = t0; _.onMacOs = t1; _._dispatchKeyData = null; _._disposed = false; _._pressingRecords = t2; _._keyGuards = t3; }, KeyboardConverter__scheduleAsyncEvent_closure: function KeyboardConverter__scheduleAsyncEvent_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.callback = t2; _.getData = t3; }, KeyboardConverter__scheduleAsyncEvent_closure0: function KeyboardConverter__scheduleAsyncEvent_closure0(t0) { this._box_0 = t0; }, KeyboardConverter__startGuardingKey_closure: function KeyboardConverter__startGuardingKey_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.currentTimeStamp = t1; _.physicalKey = t2; _.logicalKey = t3; }, KeyboardConverter__startGuardingKey_closure0: function KeyboardConverter__startGuardingKey_closure0(t0, t1) { this.$this = t0; this.physicalKey = t1; }, KeyboardConverter__handleEvent_closure: function KeyboardConverter__handleEvent_closure(t0, t1, t2, t3) { var _ = this; _.event = t0; _.character = t1; _.eventKey = t2; _.physicalKey = t3; }, KeyboardConverter__handleEvent_closure0: function KeyboardConverter__handleEvent_closure0(t0, t1, t2) { this.timeStamp = t0; this.physicalKey = t1; this.logicalKey = t2; }, KeyboardConverter__handleEvent_closure1: function KeyboardConverter__handleEvent_closure1(t0, t1) { this.$this = t0; this.physicalKey = t1; }, KeyboardConverter__handleEvent_closure2: function KeyboardConverter__handleEvent_closure2(t0, t1, t2) { this.$this = t0; this.event = t1; this.timeStamp = t2; }, KeyboardConverter__handleEvent__closure: function KeyboardConverter__handleEvent__closure(t0, t1, t2) { this.$this = t0; this.logicalKey = t1; this.timeStamp = t2; }, KeyboardConverter_handleEvent_closure: function KeyboardConverter_handleEvent_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, MouseCursor: function MouseCursor() { }, BrowserHistory: function BrowserHistory() { }, MultiEntriesBrowserHistory: function MultiEntriesBrowserHistory(t0) { var _ = this; _.urlStrategy = t0; _.__BrowserHistory__unsubscribe = _.__MultiEntriesBrowserHistory__lastSeenSerialCount = $; _._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 = $; _._isDisposed = _._isTornDown = false; }, SingleEntryBrowserHistory_onPopState_closure: function SingleEntryBrowserHistory_onPopState_closure() { }, SingleEntryBrowserHistory_onPopState_closure0: function SingleEntryBrowserHistory_onPopState_closure0() { }, JsUrlStrategy: function JsUrlStrategy() { }, UrlStrategy: function UrlStrategy() { }, HashUrlStrategy: function HashUrlStrategy() { }, HashUrlStrategy_addPopStateListener_closure: function HashUrlStrategy_addPopStateListener_closure(t0, t1) { this.$this = t0; this.fn = t1; }, HashUrlStrategy__waitForPopState_closure: function HashUrlStrategy__waitForPopState_closure(t0, t1) { this.unsubscribe = t0; this.completer = t1; }, CustomUrlStrategy: function CustomUrlStrategy(t0) { this.delegate = t0; }, PlatformLocation: function PlatformLocation() { }, BrowserPlatformLocation: function BrowserPlatformLocation() { }, EnginePictureRecorder: function EnginePictureRecorder() { this._canvas = null; this.__EnginePictureRecorder_cullRect = $; this._isRecording = false; }, EnginePicture: function EnginePicture(t0) { this.recordingCanvas = t0; }, EnginePlatformDispatcher: function EnginePlatformDispatcher(t0, t1, t2, t3) { var _ = this; _._configuration = t0; _._windows = t1; _._windowConfigurations = t2; _._onLocaleChanged = _._platformViewMessageHandler = _._onReportTimingsZone = _._onReportTimings = _._onKeyDataZone = _._onKeyData = _._onPointerDataPacketZone = _._onPointerDataPacket = _._onDrawFrameZone = _._onDrawFrame = _._onBeginFrameZone = _._onBeginFrame = _._onMetricsChangedZone = _._onMetricsChanged = null; _._brightnessMediaQuery = t3; _._defaultRouteName = _._onSemanticsActionZone = _._onSemanticsAction = _._onSemanticsEnabledChangedZone = _._onSemanticsEnabledChanged = _._onPlatformBrightnessChangedZone = _._onPlatformBrightnessChanged = _._brightnessMediaQueryListener = null; _.__EnginePlatformDispatcher_rasterizer = $; }, 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__sendPlatformMessage_closure2: function EnginePlatformDispatcher__sendPlatformMessage_closure2(t0, t1) { this.$this = t0; this.callback = t1; }, EnginePlatformDispatcher__sendPlatformMessage_closure3: function EnginePlatformDispatcher__sendPlatformMessage_closure3() { }, EnginePlatformDispatcher__sendPlatformMessage_closure4: function EnginePlatformDispatcher__sendPlatformMessage_closure4(t0, t1) { this.$this = t0; this.callback = t1; }, EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure: function EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure(t0) { this.$this = t0; }, EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0: function EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0(t0) { this.$this = t0; }, EnginePlatformDispatcher_replyToPlatformMessage_closure: function EnginePlatformDispatcher_replyToPlatformMessage_closure(t0, t1) { this.callback = t0; this.data = t1; }, invoke2_closure: function invoke2_closure(t0, t1, t2) { this.callback = t0; this.arg1 = t1; this.arg2 = t2; }, invoke3_closure: function invoke3_closure(t0, t1, t2, t3) { var _ = this; _.callback = t0; _.arg1 = t1; _.arg2 = t2; _.arg3 = t3; }, PlatformViewManager: function PlatformViewManager(t0, t1) { this._factories = t0; this.__engine$_contents = t1; }, PlatformViewManager_renderContent_closure: function PlatformViewManager_renderContent_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.slotName = t1; _.viewType = t2; _.viewId = t3; _.params = t4; }, PlatformViewMessageHandler: function PlatformViewMessageHandler(t0, t1) { this._contentManager = t0; this._contentHandler = t1; }, PointerBinding: function PointerBinding(t0, t1) { this.glassPaneElement = t0; this._pointerDataConverter = t1; this.__PointerBinding__adapter = $; }, PointerSupportDetector: function PointerSupportDetector() { }, _BaseAdapter: function _BaseAdapter() { }, _BaseAdapter_addEventListener_loggedHandler: function _BaseAdapter_addEventListener_loggedHandler(t0, t1, t2) { this.$this = t0; this.acceptOutsideGlasspane = t1; this.handler = t2; }, _WheelEventListenerMixin: function _WheelEventListenerMixin() { }, _WheelEventListenerMixin__addWheelEventListener_closure: function _WheelEventListenerMixin__addWheelEventListener_closure(t0) { this.handler = t0; }, _SanitizedDetails: function _SanitizedDetails(t0, t1) { this.change = t0; this.buttons = t1; }, _ButtonSanitizer: function _ButtonSanitizer() { this._pressedButtons = 0; }, _PointerAdapter: function _PointerAdapter(t0, t1, t2, t3) { var _ = this; _._sanitizers = t0; _.glassPaneElement = t1; _.__engine$_callback = t2; _._pointerDataConverter = t3; }, _PointerAdapter__ensureSanitizer_closure: function _PointerAdapter__ensureSanitizer_closure() { }, _PointerAdapter__addPointerEventListener_closure: function _PointerAdapter__addPointerEventListener_closure(t0) { this.handler = t0; }, _PointerAdapter_setup_closure: function _PointerAdapter_setup_closure(t0) { this.$this = t0; }, _PointerAdapter_setup_closure0: function _PointerAdapter_setup_closure0(t0) { this.$this = t0; }, _PointerAdapter_setup_closure1: function _PointerAdapter_setup_closure1(t0) { this.$this = t0; }, _PointerAdapter_setup_closure2: function _PointerAdapter_setup_closure2(t0) { this.$this = t0; }, _PointerAdapter_setup_closure3: function _PointerAdapter_setup_closure3(t0) { this.$this = t0; }, _TouchAdapter: function _TouchAdapter(t0, t1, t2, t3) { var _ = this; _._pressedTouches = t0; _.glassPaneElement = t1; _.__engine$_callback = t2; _._pointerDataConverter = t3; }, _TouchAdapter__addTouchEventListener_closure: function _TouchAdapter__addTouchEventListener_closure(t0) { this.handler = t0; }, _TouchAdapter_setup_closure: function _TouchAdapter_setup_closure(t0) { this.$this = t0; }, _TouchAdapter_setup_closure0: function _TouchAdapter_setup_closure0(t0) { this.$this = t0; }, _TouchAdapter_setup_closure1: function _TouchAdapter_setup_closure1(t0) { this.$this = t0; }, _TouchAdapter_setup_closure2: function _TouchAdapter_setup_closure2(t0) { this.$this = t0; }, _MouseAdapter: function _MouseAdapter(t0, t1, t2, t3) { var _ = this; _._sanitizer = t0; _.glassPaneElement = t1; _.__engine$_callback = t2; _._pointerDataConverter = t3; }, _MouseAdapter__addMouseEventListener_closure: function _MouseAdapter__addMouseEventListener_closure(t0) { this.handler = t0; }, _MouseAdapter_setup_closure: function _MouseAdapter_setup_closure(t0) { this.$this = t0; }, _MouseAdapter_setup_closure0: function _MouseAdapter_setup_closure0(t0) { this.$this = t0; }, _MouseAdapter_setup_closure1: function _MouseAdapter_setup_closure1(t0) { this.$this = t0; }, _MouseAdapter_setup_closure2: function _MouseAdapter_setup_closure2(t0) { this.$this = t0; }, _PointerState: function _PointerState(t0, t1) { this._pointer = null; this.x = t0; this.y = t1; }, PointerDataConverter: function PointerDataConverter(t0) { this._pointers = t0; this._activeButtons = 0; }, PointerDataConverter__ensureStateForPointer_closure: function PointerDataConverter__ensureStateForPointer_closure(t0, t1) { this.x = t0; this.y = t1; }, Profiler: function Profiler() { }, AccessibilityAnnouncements: function AccessibilityAnnouncements() { this.__engine$_element = this._removeElementTimer = null; }, AccessibilityAnnouncements$__closure: function AccessibilityAnnouncements$__closure(t0) { this.$this = t0; }, AccessibilityAnnouncements_handleMessage_closure: function AccessibilityAnnouncements_handleMessage_closure(t0) { this.$this = t0; }, _CheckableKind: function _CheckableKind(t0, t1) { this.index = t0; this._core$_name = t1; }, Checkable: function Checkable(t0, t1) { this.__engine$_kind = t0; this.semanticsObject = t1; }, ImageRoleManager: function ImageRoleManager(t0) { this._auxiliaryImageElement = null; this.semanticsObject = t0; }, Incrementable: function Incrementable(t0, t1) { var _ = this; _.__engine$_element = t0; _._currentSurrogateValue = 1; _._gestureModeListener = null; _._pendingResync = false; _.semanticsObject = t1; }, Incrementable_closure: function Incrementable_closure(t0, t1) { this.$this = t0; this.semanticsObject = t1; }, Incrementable_closure0: function Incrementable_closure0(t0) { this.$this = t0; }, LabelAndValue: function LabelAndValue(t0) { this._auxiliaryValueElement = null; this.semanticsObject = t0; }, LiveRegion: function LiveRegion(t0) { this.semanticsObject = t0; }, Scrollable0: function Scrollable0(t0) { var _ = this; _.__engine$_scrollListener = _._gestureModeListener = null; _._effectiveNeutralScrollPosition = 0; _.semanticsObject = t0; }, Scrollable_update_closure: function Scrollable_update_closure(t0) { this.$this = t0; }, Scrollable_update_closure0: function Scrollable_update_closure0(t0) { this.$this = t0; }, Scrollable_update_closure1: function Scrollable_update_closure1(t0) { this.$this = t0; }, SemanticsUpdate: function SemanticsUpdate(t0) { this.__engine$_nodeUpdates = t0; }, SemanticsNodeUpdate: function SemanticsNodeUpdate(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27) { var _ = this; _.id = t0; _.flags = t1; _.actions = t2; _.textSelectionBase = t3; _.textSelectionExtent = t4; _.scrollChildren = t5; _.scrollIndex = t6; _.scrollPosition = t7; _.scrollExtentMax = t8; _.scrollExtentMin = t9; _.rect = t10; _.label = t11; _.labelAttributes = t12; _.hint = t13; _.hintAttributes = t14; _.value = t15; _.valueAttributes = t16; _.increasedValue = t17; _.increasedValueAttributes = t18; _.decreasedValue = t19; _.decreasedValueAttributes = t20; _.tooltip = t21; _.textDirection = t22; _.transform = t23; _.childrenInTraversalOrder = t24; _.childrenInHitTestOrder = t25; _.additionalActions = t26; _.thickness = t27; }, Role: function Role(t0, t1) { this.index = t0; this._core$_name = t1; }, _roleFactories_closure: function _roleFactories_closure() { }, _roleFactories_closure0: function _roleFactories_closure0() { }, _roleFactories_closure1: function _roleFactories_closure1() { }, _roleFactories_closure2: function _roleFactories_closure2() { }, _roleFactories_closure3: function _roleFactories_closure3() { }, _roleFactories_closure4: function _roleFactories_closure4() { }, _roleFactories_closure5: function _roleFactories_closure5() { }, _roleFactories_closure6: function _roleFactories_closure6() { }, RoleManager: function RoleManager() { }, SemanticsObject: function SemanticsObject(t0, t1, t2, t3) { var _ = this; _.__engine$_flags = 0; _._tooltip = _._additionalActions = _._childrenInHitTestOrder = _.__engine$_childrenInTraversalOrder = _.__engine$_transform = _.__engine$_textDirection = _._decreasedValueAttributes = _._decreasedValue = _._increasedValueAttributes = _._increasedValue = _._valueAttributes = _.__engine$_value = _._hintAttributes = _.__engine$_hint = _._labelAttributes = _.__engine$_label = _.__engine$_rect = _.__engine$_scrollExtentMin = _.__engine$_scrollExtentMax = _.__engine$_scrollPosition = _.__engine$_scrollIndex = _._scrollChildren = _._textSelectionExtent = _._textSelectionBase = _.__engine$_actions = null; _.id = t0; _.owner = t1; _.element = t2; _._dirtyFields = -1; _.__engine$_parent = _._childContainerElement = null; _._roleManagers = t3; _.horizontalContainerAdjustment = _.verticalContainerAdjustment = 0; _._previousChildrenInTraversalOrder = null; }, AccessibilityMode: function AccessibilityMode(t0, t1) { this.index = t0; this._core$_name = t1; }, GestureMode: function GestureMode(t0, t1) { this.index = t0; this._core$_name = t1; }, EngineSemanticsOwner: function EngineSemanticsOwner(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._semanticsTree = t0; _._attachments = t1; _._detachments = t2; _._oneTimePostUpdateCallbacks = t3; _._rootSemanticsElement = null; _._now = t4; _.semanticsHelper = t5; _._semanticsEnabled = false; _._gestureMode = t6; _._gestureModeClock = null; _._gestureModeListeners = t7; }, EngineSemanticsOwner$__closure: function EngineSemanticsOwner$__closure(t0) { this.$this = t0; }, EngineSemanticsOwner__now_closure: function EngineSemanticsOwner__now_closure() { }, EngineSemanticsOwner__getGestureModeClock_closure: function EngineSemanticsOwner__getGestureModeClock_closure(t0) { this.$this = t0; }, EnabledState: function EnabledState(t0, 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; }, Tappable: function Tappable(t0) { this._clickListener = null; this.semanticsObject = t0; }, Tappable_update_closure: function Tappable_update_closure(t0) { this.$this = t0; }, SemanticsTextEditingStrategy: function SemanticsTextEditingStrategy(t0, t1) { var _ = this; _._queuedStyle = _.inputConfig = _.activeTextField = null; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, TextField0: function TextField0(t0) { this.__TextField_editableElement = $; this._hasFocused = false; this.semanticsObject = t0; }, TextField__initializeForBlink_closure: function TextField__initializeForBlink_closure(t0) { this.$this = t0; }, TextField__initializeForWebkit_closure: function TextField__initializeForWebkit_closure(t0) { this._box_0 = t0; }, TextField__initializeForWebkit_closure0: function TextField__initializeForWebkit_closure0(t0, t1) { this._box_0 = t0; this.$this = t1; }, TextField_update_closure: function TextField_update_closure(t0) { this.$this = t0; }, _TypedDataBuffer: function _TypedDataBuffer() { }, _IntBuffer: function _IntBuffer() { }, Uint8Buffer0: function Uint8Buffer0(t0, t1) { this.__engine$_buffer = t0; this.__engine$_length = t1; }, MethodCall0: function MethodCall0(t0, t1) { this.method = t0; this.$arguments = t1; }, JSONMessageCodec: function JSONMessageCodec() { }, JSONMethodCodec: function JSONMethodCodec() { }, StandardMessageCodec: function StandardMessageCodec() { }, StandardMessageCodec_writeValue_closure0: function StandardMessageCodec_writeValue_closure0(t0, t1) { this.$this = t0; this.buffer = t1; }, StandardMethodCodec: function StandardMethodCodec() { }, WriteBuffer0: function WriteBuffer0(t0, t1, t2) { var _ = this; _._debugFinalized = false; _.__engine$_buffer = t0; _.__engine$_eightBytes = t1; _._eightBytesAsList = t2; }, ReadBuffer0: function ReadBuffer0(t0) { this.data = t0; this.__engine$_position = 0; }, SurfaceShadowData: function SurfaceShadowData(t0, t1) { this.blurWidth = t0; this.offset = t1; }, CanvasParagraph: function CanvasParagraph(t0, t1, t2, t3) { var _ = this; _.spans = t0; _.paragraphStyle = t1; _.plainText = t2; _.drawOnCanvas = t3; _.isLaidOut = false; _._lastUsedConstraints = null; _.__CanvasParagraph__paintService = _.__CanvasParagraph__layoutService = $; _._cachedDomElement = null; }, FlatTextSpan: function FlatTextSpan(t0, t1, t2) { this.style = t0; this.start = t1; this.end = t2; }, PlaceholderSpan: function PlaceholderSpan(t0, t1, t2, t3, t4) { var _ = this; _.end = t0; _.width = t1; _.height = t2; _.alignment = t3; _.baselineOffset = t4; }, StyleNode0: function StyleNode0() { }, 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; _._drawOnCanvas = true; }, FontCollection: function FontCollection() { this._testFontManager = this._assetFontManager = null; }, FontManager: function FontManager(t0) { this._fontLoadingFutures = t0; }, FontManager__loadFontFace_closure: function FontManager__loadFontFace_closure(t0) { this.fontFace = t0; }, FontManager__loadFontFace_closure0: function FontManager__loadFontFace_closure0(t0) { this.family = t0; }, _PolyfillFontManager: function _PolyfillFontManager(t0) { this._fontLoadingFutures = t0; }, _PolyfillFontManager_registerAsset__watchWidth: function _PolyfillFontManager_registerAsset__watchWidth(t0, t1, t2, t3, t4) { var _ = this; _.paragraph = t0; _.sansSerifWidth = t1; _.completer = t2; _._fontLoadStart = t3; _.family = t4; }, _PolyfillFontManager_registerAsset_closure: function _PolyfillFontManager_registerAsset_closure(t0) { this.fontStyleMap = t0; }, TextLayoutService: function TextLayoutService(t0, t1, t2) { var _ = this; _.paragraph = t0; _.context = t1; _.width = -1; _.height = 0; _.longestLine = null; _.maxIntrinsicWidth = _.minIntrinsicWidth = 0; _.ideographicBaseline = _.alphabeticBaseline = -1; _.didExceedMaxLines = false; _.lines = t2; }, RangeBox: function RangeBox() { }, PlaceholderBox: function PlaceholderBox(t0, t1, t2, t3, t4, t5) { var _ = this; _.placeholder = t0; _.start = t1; _.end = t2; _.__RangeBox_startOffset = $; _.width = t3; _.__RangeBox_lineWidth = $; _.paragraphDirection = t4; _.boxDirection = t5; }, SpanBox: function SpanBox(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.spanometer = t0; _.span = t1; _.contentDirection = t2; _.isSpaceOnly = t3; _.height = t4; _.baseline = t5; _.start = t6; _.end = t7; _.__RangeBox_startOffset = $; _.width = t8; _.__RangeBox_lineWidth = $; _.paragraphDirection = t9; _.boxDirection = t10; }, LineSegment: function LineSegment(t0, t1, t2, t3, t4) { var _ = this; _.span = t0; _.start = t1; _.end = t2; _.width = t3; _.widthIncludingSpace = t4; }, LineBuilder: function LineBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._segments = t0; _._boxes = t1; _.maxWidth = t2; _.paragraph = t3; _.spanometer = t4; _.start = t5; _.lineNumber = t6; _.accumulatedHeight = t7; _.__engine$_end = t8; _.descent = _.ascent = _.widthIncludingSpace = _.width = 0; _.isBreakable = false; _._spaceBoxCount = 0; _.__LineBuilder__currentContentDirection = _.__LineBuilder__currentBoxDirection = $; _._currentBoxStartOffset = 0; _._cachedNextBreak = null; }, Spanometer: function Spanometer(t0, t1) { var _ = this; _.paragraph = t0; _.context = t1; _._cssFontString = ""; _._currentSpan = _._currentRuler = null; }, LineCharProperty: function LineCharProperty(t0, t1) { this.index = t0; this._core$_name = t1; }, LineBreakType: function LineBreakType(t0, t1) { this.index = t0; this._core$_name = t1; }, LineBreakResult: function LineBreakResult(t0, t1, t2, t3) { var _ = this; _.index = t0; _.indexWithoutTrailingNewlines = t1; _.indexWithoutTrailingSpaces = t2; _.type = t3; }, 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, t9, t10, t11, t12, t13, t14) { var _ = this; _.ellipsis = t0; _.startIndex = t1; _.endIndex = t2; _.endIndexWithoutNewlines = t3; _.boxes = t4; _.spaceBoxCount = t5; _.hardBreak = t6; _.ascent = t7; _.descent = t8; _.height = t9; _.width = t10; _.widthWithTrailingSpaces = t11; _.left = t12; _.baseline = t13; _.lineNumber = t14; }, EngineParagraphStyle: function EngineParagraphStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.textAlign = t0; _.textDirection = t1; _.fontWeight = t2; _.fontStyle = t3; _.maxLines = t4; _.fontFamily = t5; _.fontSize = t6; _.height = t7; _._textHeightBehavior = t8; _.__engine$_strutStyle = t9; _.ellipsis = t10; _.locale = t11; }, EngineTextStyle: function EngineTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.color = t0; _.decoration = t1; _.decorationColor = t2; _.decorationStyle = t3; _.decorationThickness = t4; _.fontWeight = t5; _.fontStyle = t6; _.textBaseline = t7; _.isFontFamilyProvided = t8; _.fontFamily = t9; _.fontFamilyFallback = t10; _.fontFeatures = t11; _.fontSize = t12; _.letterSpacing = t13; _.wordSpacing = t14; _.height = t15; _.locale = t16; _.background = t17; _.foreground = t18; _.shadows = t19; _._cssFontString = null; _.__EngineTextStyle_heightStyle = $; }, EngineStrutStyle: function EngineStrutStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._fontFamily = t0; _._fontFamilyFallback = t1; _._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) { var _ = this; _.fontFamily = t0; _.fontSize = t1; _.height = t2; _.fontFeatures = t3; _.__TextHeightStyle_hashCode = $; }, TextDimensions: function TextDimensions(t0) { this.__engine$_element = t0; this._cachedBoundingClientRect = null; }, TextHeightRuler: function TextHeightRuler(t0, t1, t2) { var _ = this; _.textHeightStyle = t0; _.rulerHost = t1; _.__TextHeightRuler__host = _.__TextHeightRuler__probe = $; _._dimensions = t2; _.__TextHeightRuler_height = _.__TextHeightRuler_alphabeticBaseline = $; }, DirectionalPosition: function DirectionalPosition(t0, t1, t2) { this.lineBreak = t0; this.textDirection = t1; this.isSpaceOnly = t2; }, _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; }, WordCharProperty: function WordCharProperty(t0, t1) { this.index = t0; this._core$_name = t1; }, _FindBreakDirection: function _FindBreakDirection(t0) { this.step = t0; }, BrowserAutofillHints: function BrowserAutofillHints(t0) { this._flutterToEngineMap = t0; }, 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) { var _ = this; _.formElement = t0; _.elements = t1; _.items = t2; _.formIdentifier = t3; }, EngineAutofillForm_fromFrameworkMessage_closure: function EngineAutofillForm_fromFrameworkMessage_closure() { }, 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; }, EditingState: function EditingState(t0, t1, t2) { this.text = t0; this.baseOffset = t1; this.extentOffset = t2; }, InputConfiguration: function InputConfiguration(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.inputType = t0; _.inputAction = t1; _.readOnly = t2; _.obscureText = t3; _.autocorrect = t4; _.autofill = t5; _.autofillGroup = t6; _.textCapitalization = t7; }, GloballyPositionedTextEditingStrategy: function GloballyPositionedTextEditingStrategy(t0, t1) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, SafariDesktopTextEditingStrategy: function SafariDesktopTextEditingStrategy(t0, t1) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, DefaultTextEditingStrategy: function DefaultTextEditingStrategy() { }, DefaultTextEditingStrategy_addEventHandlers_closure: function DefaultTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure() { }, DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0() { }, DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1: function DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1() { }, IOSTextEditingStrategy: function IOSTextEditingStrategy(t0, t1) { var _ = this; _._positionInputElementTimer = null; _._canPosition = true; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, IOSTextEditingStrategy_addEventHandlers_closure: function IOSTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, IOSTextEditingStrategy_addEventHandlers_closure0: function IOSTextEditingStrategy_addEventHandlers_closure0(t0) { this.$this = t0; }, IOSTextEditingStrategy__addTapListener_closure: function IOSTextEditingStrategy__addTapListener_closure(t0) { this.$this = t0; }, IOSTextEditingStrategy__schedulePlacement_closure: function IOSTextEditingStrategy__schedulePlacement_closure(t0) { this.$this = t0; }, AndroidTextEditingStrategy: function AndroidTextEditingStrategy(t0, t1) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, AndroidTextEditingStrategy_addEventHandlers_closure: function AndroidTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, FirefoxTextEditingStrategy: function FirefoxTextEditingStrategy(t0, t1) { var _ = this; _.owner = t0; _.isEnabled = false; _.domElement = null; _.__DefaultTextEditingStrategy_inputConfiguration = $; _.onAction = _.onChange = _.geometry = _.style = _.lastEditingState = null; _.subscriptions = t1; _._appendedToForm = false; }, FirefoxTextEditingStrategy_addEventHandlers_closure: function FirefoxTextEditingStrategy_addEventHandlers_closure(t0) { this.$this = t0; }, FirefoxTextEditingStrategy_addEventHandlers_closure0: function FirefoxTextEditingStrategy_addEventHandlers_closure0(t0) { this.$this = t0; }, FirefoxTextEditingStrategy__postponeFocus_closure: function FirefoxTextEditingStrategy__postponeFocus_closure(t0) { this.$this = t0; }, TextInputCommand: function TextInputCommand() { }, TextInputSetClient: function TextInputSetClient(t0, t1) { this.clientId = t0; this.configuration = t1; }, TextInputUpdateConfig: function TextInputUpdateConfig() { }, TextInputSetEditingState: function TextInputSetEditingState(t0) { this.state = t0; }, TextInputShow: function TextInputShow() { }, TextInputSetEditableSizeAndTransform: function TextInputSetEditableSizeAndTransform(t0) { this.geometry = t0; }, TextInputSetStyle: function TextInputSetStyle(t0) { this.style = t0; }, TextInputClearClient: function TextInputClearClient() { }, TextInputHide: function TextInputHide() { }, TextInputSetMarkedTextRect: function TextInputSetMarkedTextRect() { }, TextInputSetCaretRect: function TextInputSetCaretRect() { }, 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 = $; _._clientId = null; _.isEditing = false; _.configuration = null; _.__HybridTextEditing_strategy = $; }, HybridTextEditing__startEditing_closure0: function HybridTextEditing__startEditing_closure0(t0) { this.$this = t0; }, HybridTextEditing__startEditing_closure: function HybridTextEditing__startEditing_closure(t0) { this.$this = t0; }, EditableTextStyle: function EditableTextStyle(t0, t1, t2, t3, t4) { var _ = this; _.fontSize = t0; _.fontWeight = t1; _.fontFamily = t2; _.textAlign = t3; _.textDirection = t4; }, EditableTextGeometry: function EditableTextGeometry(t0, t1, t2) { this.width = t0; this.height = t1; this.globalTransform = t2; }, TransformKind: function TransformKind(t0, t1) { this.index = t0; this._core$_name = t1; }, FastMatrix32: function FastMatrix32(t0) { this.matrix = t0; this.transformedY = this.transformedX = 0; }, Matrix40: function Matrix40(t0) { this.__engine$_m4storage = t0; }, Vector30: function Vector30(t0) { this.__engine$_v3storage = t0; }, WebExperiments: function WebExperiments() { }, WebExperiments$__closure: function WebExperiments$__closure() { }, EngineFlutterWindow: function EngineFlutterWindow() { }, EngineFlutterWindow_closure: function EngineFlutterWindow_closure(t0) { this.$this = t0; }, EngineFlutterWindow_handleNavigationMessage_closure: function EngineFlutterWindow_handleNavigationMessage_closure(t0, t1) { this.$this = t0; this.data = t1; }, EngineSingletonFlutterWindow: function EngineSingletonFlutterWindow(t0, t1, t2, t3) { var _ = this; _._debugDevicePixelRatio = null; _._windowId = t0; _.platformDispatcher = t1; _._browserHistory = null; _._endOfTheLine = t2; _._viewInsets = t3; _._physicalSize = null; }, WindowPadding: function WindowPadding(t0, t1, t2, t3) { var _ = this; _.left = t0; _.top = t1; _.right = t2; _.bottom = t3; }, _DomCanvas_EngineCanvas_SaveElementStackTracking: function _DomCanvas_EngineCanvas_SaveElementStackTracking() { }, _PersistedClipRRect_PersistedContainerSurface__DomClip: function _PersistedClipRRect_PersistedContainerSurface__DomClip() { }, _PersistedClipRect_PersistedContainerSurface__DomClip: function _PersistedClipRect_PersistedContainerSurface__DomClip() { }, _PersistedPhysicalShape_PersistedContainerSurface__DomClip: function _PersistedPhysicalShape_PersistedContainerSurface__DomClip() { }, __MouseAdapter__BaseAdapter__WheelEventListenerMixin: function __MouseAdapter__BaseAdapter__WheelEventListenerMixin() { }, __PointerAdapter__BaseAdapter__WheelEventListenerMixin: function __PointerAdapter__BaseAdapter__WheelEventListenerMixin() { }, JS_CONST: function JS_CONST() { }, 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$fieldADI(fieldName) { return new A.LateError("Field '" + fieldName + "' has been assigned during initialization."); }, 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$fieldAI(fieldName) { return new A.LateError("Field '" + fieldName + "' has already been initialized."); }, LateError$localAI(localName) { return new A.LateError("Local '" + localName + "' has already been initialized."); }, 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(B.JSString_methods.codeUnitAt$1(source, index)), digit2 = A.hexDigitValue(B.JSString_methods.codeUnitAt$1(source, 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; }, 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) { 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_sort(a, compare) { A.Sort__doSort(a, 0, J.get$length$asx(a) - 1, compare); }, 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); }, CastStream: function CastStream(t0, t1) { this._source = t0; this.$ti = t1; }, CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) { var _ = this; _._source = t0; _.__internal$_zone = t1; _._handleError = _._handleData = null; _.$ti = t2; }, _CopyingBytesBuilder: function _CopyingBytesBuilder(t0) { this.__internal$_length = 0; this._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; }, 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; }, 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.__internal$_message = t0; }, CodeUnits: function CodeUnits(t0) { this.__internal$_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._second = t1; this.$ti = t2; }, FollowedByIterator: function FollowedByIterator(t0, t1, t2) { this._currentIterator = t0; this._nextIterable = t1; this.$ti = t2; }, WhereTypeIterable: function WhereTypeIterable(t0, t1) { this._source = t0; this.$ti = t1; }, WhereTypeIterator: function WhereTypeIterator(t0, t1) { this._source = t0; this.$ti = t1; }, FixedLengthListMixin: function FixedLengthListMixin() { }, UnmodifiableListMixin: function UnmodifiableListMixin() { }, UnmodifiableListBase: function UnmodifiableListBase() { }, _ListIndicesIterable: function _ListIndicesIterable(t0) { this._backedList = t0; }, ListMapView: function ListMapView(t0, t1) { this._values = t0; this.$ti = t1; }, ReversedListIterable: function ReversedListIterable(t0, t1) { this._source = t0; this.$ti = t1; }, Symbol: function Symbol(t0) { this._name = t0; }, __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() { }, ConstantMap__throwUnmodifiable() { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map")); }, GeneralConstantMap__constantMapHashCode(key) { if (typeof key == "number") return B.JSNumber_methods.get$hashCode(key); if (type$.Symbol._is(key)) return key.get$hashCode(key); if (type$.Type._is(key)) return A.Primitives_objectHashCode(key); return A.objectHashCode(key); }, GeneralConstantMap__typeTest($T) { return new A.GeneralConstantMap__typeTest_closure($T); }, 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; }, Primitives_objectHashCode(object) { var hash = object.$identityHash; if (hash == null) { hash = Math.random() * 0x3fffffff | 0; object.$identityHash = 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 ((B.JSString_methods._codeUnitAt$1(digitsPart, 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 dispatchName, t1, $constructor, constructorName; if (object instanceof A.Object) return A._rtiToString(A.instanceType(object), null); if (J.getInterceptor$(object) === B.Interceptor_methods || type$.UnknownJavaScriptObject._is(object)) { dispatchName = B.C_JS_CONST(object); t1 = dispatchName !== "Object" && dispatchName !== ""; if (t1) return dispatchName; $constructor = object.constructor; if (typeof $constructor == "function") { constructorName = $constructor.name; if (typeof constructorName == "string") t1 = constructorName !== "Object" && constructorName !== ""; else t1 = false; if (t1) return constructorName; } } return A._rtiToString(A.instanceType(object), null); }, 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; 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.get$isEmpty(namedArguments)) namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments)); "" + t1.argumentCount; 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.get$isEmpty(namedArguments); 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 $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2; if (positionalArguments != null) $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic); else $arguments = []; 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.get$isNotEmpty(namedArguments)) 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.get$isNotEmpty(namedArguments)) 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.get$length(namedArguments)) 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$(index, indexable, _s5_, null, $length); return A.RangeError$value(index, _s5_, null); }, 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) { var wrapper, t1; if (ex == null) ex = new A.NullThrownError(); wrapper = new Error(); 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); }, 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, t1, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match, _null = null; if (!("message" in ex)) return ex; message = ex.message; if ("number" in ex && typeof ex.number == "number") { number = ex.number; ieErrorCode = number & 65535; if ((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: t1 = A.S(message) + " (Error " + ieErrorCode + ")"; return A.saveStackTrace(ex, new A.NullError(t1, _null)); } } if (ex instanceof TypeError) { nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern(); notClosure = $.$get$TypeErrorDecoder_notClosurePattern(); nullCall = $.$get$TypeErrorDecoder_nullCallPattern(); nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern(); undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern(); undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern(); nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern(); $.$get$TypeErrorDecoder_nullLiteralPropertyPattern(); undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern(); undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(); match = nsme.matchTypeError$1(message); if (match != null) return 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 { match = nullCall.matchTypeError$1(message); if (match == null) { match = nullLiteralCall.matchTypeError$1(message); if (match == null) { match = undefCall.matchTypeError$1(message); if (match == null) { match = undefLiteralCall.matchTypeError$1(message); if (match == null) { match = nullProperty.matchTypeError$1(message); if (match == null) { match = nullLiteralCall.matchTypeError$1(message); if (match == null) { match = undefProperty.matchTypeError$1(message); if (match == null) { match = undefLiteralProperty.matchTypeError$1(message); t1 = match != null; } else t1 = true; } else t1 = true; } else t1 = true; } else t1 = true; } else t1 = true; } else t1 = true; } else t1 = true; if (t1) return A.saveStackTrace(ex, new A.NullError(message, match == null ? _null : match.method)); } } 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; return exception.$cachedTrace = new A._StackTrace(exception); }, objectHashCode(object) { if (object == null || typeof object != "object") return J.get$hashCode$(object); else return A.Primitives_objectHashCode(object); }, 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 = function(closure, arity, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, arity, a1, a2, a3, a4); }; }(closure, arity, A.invokeClosure); closure.$identity = $function; return $function; }, 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; if (isStatic) $constructor = function static_tear_off() { this.$initialize(); }; else $constructor = 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) { var arity, t1; if (isIntercepted) return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess); arity = $function.length; t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function); return t1; }, 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 receiverField, arity, t1, interceptorField = $.BoundClosure__interceptorFieldNameCache; interceptorField == null ? $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor") : interceptorField; receiverField = $.BoundClosure__receiverFieldNameCache; receiverField == null ? $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver") : receiverField; 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); }, 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 (transformers.constructor == Array) for (i = 0; i < transformers.length; ++i) { transformer = transformers[i]; if (typeof transformer == "function") hooks = transformer(hooks) || hooks; } } getTag = hooks.getTag; getUnknownTag = hooks.getUnknownTag; prototypeForTag = hooks.prototypeForTag; $.getTagFunction = new A.initHooks_closure(getTag); $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag); $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag); }, applyHooksTransformer(transformer, hooks) { return transformer(hooks) || hooks; }, 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 { t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)); return !t1.get$isEmpty(t1); } }, escapeReplacement(replacement) { if (replacement.indexOf("$", 0) >= 0) return replacement.replace(/\$/g, "$$$$"); return 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)); } throw A.wrapException("String.replaceAll(Pattern) UNIMPLEMENTED"); }, stringReplaceAllUncheckedString(receiver, pattern, replacement) { var $length, t1, i, index; 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; } index = receiver.indexOf(pattern, 0); if (index < 0) return receiver; if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0) return receiver.split(pattern).join(replacement); return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement)); }, _stringIdentity(string) { return string; }, stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) { var t1, t2, startIndex, t3, match, t4, t5; if (onNonMatch == null) onNonMatch = A._js_helper___stringIdentity$closure(); for (t1 = pattern.allMatches$1(0, receiver), t1 = new A._AllMatchesIterator(t1._re, t1._string, t1.__js_helper$_start), t2 = type$.RegExpMatch, startIndex = 0, t3 = ""; t1.moveNext$0();) { match = t2._as(t1.__js_helper$_current); t4 = match._match; t5 = t4.index; t3 = t3 + A.S(onNonMatch.call$1(B.JSString_methods.substring$2(receiver, startIndex, t5))) + A.S(onMatch.call$1(match)); startIndex = t5 + t4[0].length; } t1 = t3 + A.S(onNonMatch.call$1(B.JSString_methods.substring$1(receiver, startIndex))); return t1.charCodeAt(0) == 0 ? t1 : t1; }, stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) { var index = receiver.indexOf(pattern, startIndex); if (index < 0) return receiver; return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement); }, stringReplaceRangeUnchecked(receiver, start, end, replacement) { var prefix = receiver.substring(0, start), suffix = receiver.substring(end); return prefix + replacement + suffix; }, ConstantMapView: function ConstantMapView(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, ConstantMap: function ConstantMap() { }, ConstantMap_map_closure: function ConstantMap_map_closure(t0, t1, t2) { this.$this = t0; this.transform = t1; this.result = t2; }, ConstantStringMap: function ConstantStringMap(t0, t1, t2, t3) { var _ = this; _.__js_helper$_length = t0; _.__js_helper$_jsObject = t1; _._keys = t2; _.$ti = t3; }, ConstantStringMap_values_closure: function ConstantStringMap_values_closure(t0) { this.$this = t0; }, _ConstantMapKeyIterable: function _ConstantMapKeyIterable(t0, t1) { this._map = t0; this.$ti = t1; }, GeneralConstantMap: function GeneralConstantMap(t0, t1) { this._jsData = t0; this.$ti = t1; }, GeneralConstantMap__typeTest_closure: function GeneralConstantMap__typeTest_closure(t0) { this.T = t0; }, Instantiation: function Instantiation() { }, Instantiation1: function Instantiation1(t0, t1) { this._genericClosure = t0; this.$ti = t1; }, JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) { var _ = this; _.__js_helper$_memberName = t0; _.__js_helper$_kind = t1; _._arguments = t2; _._namedArgumentNames = t3; _._typeArgumentCount = t4; }, Primitives_initTicker_closure: function Primitives_initTicker_closure(t0) { this.performance = t0; }, Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) { this._box_0 = t0; this.namedArgumentList = t1; this.$arguments = t2; }, TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) { var _ = this; _._pattern = t0; _._arguments = t1; _._argumentsExpr = t2; _._expr = t3; _._method = t4; _._receiver = t5; }, NullError: function NullError(t0, t1) { this.__js_helper$_message = t0; this._method = t1; }, JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) { this.__js_helper$_message = t0; this._method = t1; this._receiver = t2; }, UnknownJsTypeError: function UnknownJsTypeError(t0) { this.__js_helper$_message = t0; }, NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) { this._irritant = t0; }, ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) { this.dartException = t0; this.stackTrace = t1; }, _StackTrace: function _StackTrace(t0) { this._exception = t0; this._trace = null; }, Closure: function Closure() { }, Closure0Args: function Closure0Args() { }, Closure2Args: function Closure2Args() { }, TearOffClosure: function TearOffClosure() { }, StaticClosure: function StaticClosure() { }, BoundClosure: function BoundClosure(t0, t1) { this._receiver = t0; this._interceptor = t1; }, 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; }, initHooks_closure: function initHooks_closure(t0) { this.getTag = t0; }, initHooks_closure0: function initHooks_closure0(t0) { this.getUnknownTag = t0; }, initHooks_closure1: function initHooks_closure1(t0) { this.prototypeForTag = t0; }, JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) { var _ = this; _.pattern = t0; _._nativeRegExp = t1; _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null; }, _MatchImplementation: function _MatchImplementation(t0) { this._match = t0; }, _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) { this._re = t0; this._string = t1; this.__js_helper$_start = t2; }, _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) { var _ = this; _._regExp = t0; _._string = t1; _._nextIndex = t2; _.__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._index = t2; }, _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) { var _ = this; _._input = t0; _._pattern = t1; _._index = t2; _.__js_helper$_current = null; }, throwLateFieldADI(fieldName) { return A.throwExpression(A.LateError$fieldADI(fieldName)); }, _Cell$named(_name) { var t1 = new A._Cell(_name); return t1.__late_helper$_value = t1; }, _lateReadCheck(value, $name) { if (value === $) throw A.wrapException(A.LateError$fieldNI($name)); return value; }, _lateWriteOnceCheck(value, $name) { if (value !== $) throw A.wrapException(A.LateError$fieldAI($name)); }, _lateInitializeOnceCheck(value, $name) { if (value !== $) throw A.wrapException(A.LateError$fieldADI($name)); }, _Cell: function _Cell(t0) { this.__late_helper$_name = t0; this.__late_helper$_value = null; }, _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($length) { return new DataView(new ArrayBuffer($length)); }, 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)); }, 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__create1(arg) { return new Int8Array(arg); }, NativeUint16List_NativeUint16List($length) { return new Uint16Array($length); }, NativeUint16List_NativeUint16List$fromList(list) { return new Uint16Array(A._ensureNativeList(list)); }, NativeUint8List_NativeUint8List($length) { return new Uint8Array($length); }, NativeUint8List_NativeUint8List$fromList(elements) { return new Uint8Array(A._ensureNativeList(elements)); }, 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 === 11 || kind === 12; }, Rti__getCanonicalRecipe(rti) { return rti._canonicalRecipe; }, 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, 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: 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 12: 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 13: 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) { var rti; if (object instanceof A.Object) { rti = object.$ti; return rti != null ? rti : A._instanceTypeFromConstructor(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 ? instance.__proto__.__proto__.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; }, getRuntimeType(object) { var rti = object instanceof A.Closure ? A.closureFunctionType(object) : null; return A.createRuntimeType(rti == null ? A.instanceType(object) : rti); }, createRuntimeType(rti) { var recipe, starErasedRecipe, starErasedRti, type = rti._cachedRuntimeType; if (type != null) return type; recipe = rti._canonicalRecipe; starErasedRecipe = recipe.replace(/\*/g, ""); if (starErasedRecipe === recipe) return rti._cachedRuntimeType = new A._Type(rti); starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true); type = starErasedRti._cachedRuntimeType; return rti._cachedRuntimeType = type == null ? starErasedRti._cachedRuntimeType = new A._Type(starErasedRti) : type; }, typeLiteral(recipe) { return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false)); }, _installSpecializedIsTest(object) { var t1, unstarred, isFn, $name, testRti = this; if (testRti === type$.Object) return A._finishIsFn(testRti, object, A._isObject); if (!A.isStrongTopType(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; unstarred = t1 === 6 ? testRti._primary : testRti; 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 (unstarred._kind === 9) { $name = unstarred._primary; if (unstarred._rest.every(A.isTopType)) { testRti._specializedTestResource = "$is" + $name; if ($name === "List") return A._finishIsFn(testRti, object, A._isListTestViaProperty); return A._finishIsFn(testRti, object, A._isTestViaProperty); } } else if (t1 === 7) return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation); 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.isStrongTopType(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.isStrongTopType(testRti)) if (!(testRti === type$.legacy_Object)) if (!(testRti === type$.legacy_Never)) if (kind !== 7) 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; return t1; }, _generalIsTestImplementation(object) { var testRti = this; if (object == null) return A._nullIs(testRti); return A._isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), null, testRti, null); }, _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 t1, testRti = this; if (object == null) { t1 = A.isNullable(testRti); if (t1) 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.instanceOrFunctionType(object, testRti), A._rtiToString(testRti, null)))); }, _Error_compose(object, objectRti, checkedTypeDescription) { var objectDescription = A.Error_safeToString(object), objectTypeDescription = A._rtiToString(objectRti == null ? A.instanceType(object) : objectRti, null); return objectDescription + ": type '" + objectTypeDescription + "' 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, null, type)); }, _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; }, _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; }, _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 s, questionArgument, argumentKind, $name, $arguments, t1, kind = rti._kind; if (kind === 5) return "erased"; if (kind === 2) return "dynamic"; if (kind === 3) return "void"; if (kind === 1) return "Never"; if (kind === 4) return "any"; if (kind === 6) { s = A._rtiToString(rti._primary, genericContext); return s; } if (kind === 7) { questionArgument = rti._primary; s = A._rtiToString(questionArgument, genericContext); argumentKind = questionArgument._kind; return (argumentKind === 11 || argumentKind === 12 ? "(" + 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._functionRtiToString(rti, genericContext, null); if (kind === 12) return A._functionRtiToString(rti._primary, genericContext, rti._rest); if (kind === 13) { 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.isStrongTopType(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.isStrongTopType(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, t2, rti; if (normalize) { t1 = baseType._kind; if (!A.isStrongTopType(baseType)) if (!(baseType === type$.legacy_Object)) t2 = false; else t2 = true; else t2 = true; if (t2 || baseType === type$.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 = 13; 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, s0, $length = $arguments.length; for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") { t1 = $arguments[i]; nameSep = $arguments[i + 1] ? "!" : ":"; s0 = $arguments[i + 2]._canonicalRecipe; s += sep + t1 + nameSep + s0; } return s; }, _Universe__lookupInterfaceRti(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__lookupFunctionRti(universe, returnType, parameters) { var sep, t1, key, probe, rti, s = returnType._canonicalRecipe, requiredPositional = parameters._requiredPositional, requiredPositionalLength = requiredPositional.length, optionalPositional = parameters._optionalPositional, optionalPositionalLength = optionalPositional.length, named = parameters._named, namedLength = named.length, recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional); if (optionalPositionalLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; t1 = A._Universe__canonicalRecipeJoin(optionalPositional); recipe += sep + "[" + t1 + "]"; } if (namedLength > 0) { sep = requiredPositionalLength > 0 ? "," : ""; t1 = A._Universe__canonicalRecipeJoinNamed(named); recipe += sep + "{" + t1 + "}"; } key = s + (recipe + ")"); probe = universe.eC.get(key); if (probe != null) return probe; rti = new A.Rti(null, null); rti._kind = 11; 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 = 12; 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, head, base, parameters, optionalPositional, named, 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) 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: t3 = parser.u; array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); parser.p = t1.pop(); head = t1.pop(); if (typeof head == "string") t1.push(A._Universe__lookupInterfaceRti(t3, head, array)); else { base = A._Parser_toType(t3, parser.e, head); switch (base._kind) { case 11: t1.push(A._Universe__lookupGenericFunctionRti(t3, base, array, parser.n)); break; default: t1.push(A._Universe__lookupBindingRti(t3, base, array)); break; } } 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(parser.p); parser.p = t1.length; break; case 41: t3 = parser.u; parameters = new A._FunctionParameters(); optionalPositional = t3.sEA; named = t3.sEA; head = t1.pop(); if (typeof head == "number") switch (head) { case -1: optionalPositional = t1.pop(); break; case -2: named = t1.pop(); break; default: t1.push(head); break; } else t1.push(head); array = t1.splice(parser.p); A._Parser_toTypes(parser.u, parser.e, array); parser.p = t1.pop(); parameters._requiredPositional = array; parameters._optionalPositional = optionalPositional; parameters._named = named; t1.push(A._Universe__lookupFunctionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parameters)); 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; 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)) 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_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_toType(universe, environment, item) { if (typeof item == "string") return A._Universe__lookupInterfaceRti(universe, item, universe.sEA); else if (typeof item == "number") 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, sEnv, t, tEnv) { var t1, sKind, leftTypeVariable, tKind, sBounds, tBounds, sLength, i, sBound, tBound; if (s === t) return true; if (!A.isStrongTopType(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.isStrongTopType(s)) return false; if (s._kind !== 1) t1 = false; else t1 = true; if (t1) return true; leftTypeVariable = sKind === 13; if (leftTypeVariable) if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv)) 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); 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); if (sKind === 6) return A._isSubtype(universe, s._primary, sEnv, t, tEnv); return sKind !== 7; } if (sKind === 6) return A._isSubtype(universe, s._primary, sEnv, t, tEnv); if (tKind === 6) { t1 = A.Rti__getQuestionFromStar(universe, t); return A._isSubtype(universe, s, sEnv, t1, tEnv); } if (sKind === 8) { if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv)) return false; return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv); } if (sKind === 7) { t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv); return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv); } if (tKind === 8) { if (A._isSubtype(universe, s, sEnv, t._primary, tEnv)) return true; return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv); } if (tKind === 7) { t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv); return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv); } if (leftTypeVariable) return false; t1 = sKind !== 11; if ((!t1 || sKind === 12) && t === type$.Function) return true; if (tKind === 12) { if (s === type$.JavaScriptFunction) return true; if (sKind !== 12) return false; sBounds = s._rest; tBounds = t._rest; sLength = sBounds.length; if (sLength !== tBounds.length) return false; sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv); tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv); for (i = 0; i < sLength; ++i) { sBound = sBounds[i]; tBound = tBounds[i]; if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv)) return false; } return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv); } if (tKind === 11) { if (s === type$.JavaScriptFunction) return true; if (t1) return false; return A._isFunctionSubtype(universe, s, sEnv, t, tEnv); } if (sKind === 9) { if (tKind !== 9) return false; return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv); } return false; }, _isFunctionSubtype(universe, s, sEnv, t, tEnv) { var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired; if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv)) return false; sParameters = s._rest; tParameters = t._rest; sRequiredPositional = sParameters._requiredPositional; tRequiredPositional = tParameters._requiredPositional; sRequiredPositionalLength = sRequiredPositional.length; tRequiredPositionalLength = tRequiredPositional.length; if (sRequiredPositionalLength > tRequiredPositionalLength) return false; requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength; sOptionalPositional = sParameters._optionalPositional; tOptionalPositional = tParameters._optionalPositional; sOptionalPositionalLength = sOptionalPositional.length; tOptionalPositionalLength = tOptionalPositional.length; if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength) return false; for (i = 0; i < sRequiredPositionalLength; ++i) { t1 = sRequiredPositional[i]; if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv)) return false; } for (i = 0; i < requiredPositionalDelta; ++i) { t1 = sOptionalPositional[i]; if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv)) return false; } for (i = 0; i < tOptionalPositionalLength; ++i) { t1 = sOptionalPositional[requiredPositionalDelta + i]; if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv)) return false; } sNamed = sParameters._named; tNamed = tParameters._named; sNamedLength = sNamed.length; tNamedLength = tNamed.length; for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) { tName = tNamed[tIndex]; for (; true;) { if (sIndex >= sNamedLength) return false; sName = sNamed[sIndex]; sIndex += 3; if (tName < sName) return false; 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)) return false; break; } } for (; sIndex < sNamedLength;) { if (sNamed[sIndex + 1]) return false; sIndex += 3; } return true; }, _isInterfaceSubtype(universe, s, sEnv, t, tEnv) { var rule, recipes, $length, supertypeArgs, i, t1, t2, 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); } t1 = s._rest; t2 = t._rest; return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv); }, _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) { var i, t1, t2, $length = sArgs.length; for (i = 0; i < $length; ++i) { t1 = sArgs[i]; t2 = tArgs[i]; if (!A._isSubtype(universe, t1, sEnv, t2, tEnv)) return false; } return true; }, isNullable(t) { var t1, kind = t._kind; if (!(t === type$.Null || t === type$.JSNull)) if (!A.isStrongTopType(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; }, isTopType(t) { var t1; if (!A.isStrongTopType(t)) if (!(t === type$.legacy_Object)) t1 = false; else t1 = true; else t1 = true; return t1; }, isStrongTopType(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 = _._precomputed1 = null; _._kind = 0; _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null; }, _FunctionParameters: function _FunctionParameters() { this._named = this._optionalPositional = this._requiredPositional = null; }, _Type: function _Type(t0) { this._rti = t0; }, _Error: function _Error() { }, _TypeError: function _TypeError(t0) { this._message = t0; }, _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$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic); }, _asyncStarHelper(object, bodyFunctionOrErrorCode, controller) { var t1, t2, stream, _s10_ = "controller"; if (bodyFunctionOrErrorCode === 0) { t1 = controller.cancelationFuture; if (t1 != null) t1._completeWithValue$1(null); else A._lateReadCheck(controller.___AsyncStarStreamController_controller, _s10_).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); A._lateReadCheck(controller.___AsyncStarStreamController_controller, _s10_).addError$2(t1, t2); A._lateReadCheck(controller.___AsyncStarStreamController_controller, _s10_).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; A._lateReadCheck(controller.___AsyncStarStreamController_controller, _s10_).add$1(0, t1); A.scheduleMicrotask(new A._asyncStarHelper_closure(controller, bodyFunctionOrErrorCode)); return; } else if (t1 === 1) { stream = object.value; A._lateReadCheck(controller.___AsyncStarStreamController_controller, _s10_).addStream$2$cancelOnError(0, stream, false).then$1(0, new A._asyncStarHelper_closure0(controller, bodyFunctionOrErrorCode)); return; } } A._awaitOnObject(object, bodyFunctionOrErrorCode); }, _streamOfController(controller) { var t1 = A._lateReadCheck(controller.___AsyncStarStreamController_controller, "controller"); 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_endOfIteration() { return B._IterationMarker_null_2; }, _IterationMarker_yieldSingle(value) { return new A._IterationMarker(value, 0); }, _IterationMarker_uncaughtError(error) { return new A._IterationMarker(error, 3); }, _makeSyncStarIterable(body, $T) { return new A._SyncStarIterable(body, $T._eval$1("_SyncStarIterable<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$microtask(computation, $T) { var result = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); A.scheduleMicrotask(new A.Future_Future$microtask_closure(result, computation)); return result; }, 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, replacement; A.checkNotNullable(error, "error", type$.Object); t1 = $.Zone__current; if (t1 !== B.C__RootZone) { replacement = t1.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } } 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, eagerError, $T) { var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null, _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; }, Future_any(futures, $T) { var t1, t2, _i, completer = new A._SyncCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_SyncCompleter<0>")), onValue = new A.Future_any_onValue(completer, $T), onError = new A.Future_any_onError(completer); for (t1 = futures.length, t2 = type$.void, _i = 0; _i < futures.length; futures.length === t1 || (0, A.throwConcurrentModificationError)(futures), ++_i) futures[_i].then$1$2$onError(0, onValue, onError, t2); return completer.future; }, 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) { var replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } else if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); result._completeError$2(error, stackTrace); }, _Future__chainCoreFuture(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._state = target._state & 1 | 4; target._resultOrListeners = source; source._prependListeners$1(listeners); } }, _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) { t2 = t1._resultOrListeners; t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace); } return; } _box_0.listener = listeners; nextListener = listeners._nextListener; for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) { t1._nextListener = null; 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) { t1 = t3._zone; t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone()); } else t1 = false; if (t1) { t1 = _box_1.source; t2 = t1._resultOrListeners; t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace); return; } oldZone = $.Zone__current; if (oldZone !== zone) $.Zone__current = zone; else oldZone = null; t1 = _box_0.listener.state; if ((t1 & 15) === 8) new 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__chainCoreFuture(t1, result); else result._chainForeignFuture$1(t1); return; } } result = _box_0.listener.result; current = result._resultOrListeners; result._resultOrListeners = null; listeners = result._reverseListeners$1(current); t1 = _box_0.listenerHasError; t3 = _box_0.listenerValueOrError; if (!t1) { result._state = 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$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace); if (type$.dynamic_Function_Object._is(errorHandler)) return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object); throw 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; } if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone) t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone(); else t1 = false; if (t1) { A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void)); return; } t1 = $.Zone__current; t1.scheduleMicrotask$1(t1.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._async$_add$1(0, value); t2._closeUnchecked$0(); return new A._ControllerStream(t2, t1._eval$1("_ControllerStream<1>")); }, Stream_Stream$fromIterable(elements, $T) { return new A._GeneratedStreamImpl(new A.Stream_Stream$fromIterable_closure(elements, $T), $T._eval$1("_GeneratedStreamImpl<0>")); }, StreamIterator_StreamIterator(stream, $T) { A.checkNotNullable(stream, "stream", type$.Object); return new A._StreamIterator($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, $T) { return 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); $.Zone__current.handleUncaughtError$2(e, s); } }, _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 0; return new A._ControllerSubscription(_controller, A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), A._BufferingStreamSubscription__registerErrorHandler(t1, onError), A._BufferingStreamSubscription__registerDoneHandler(t1, onDone), t1, t2, $T._eval$1("_ControllerSubscription<0>")); }, _AddStreamState_makeErrorHandler(controller) { return new A._AddStreamState_makeErrorHandler_closure(controller); }, _BufferingStreamSubscription$(onData, onError, onDone, cancelOnError, $T) { var t1 = $.Zone__current, t2 = cancelOnError ? 1 : 0; return new A._BufferingStreamSubscription(A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T), A._BufferingStreamSubscription__registerErrorHandler(t1, onError), A._BufferingStreamSubscription__registerDoneHandler(t1, onDone), t1, t2, $T._eval$1("_BufferingStreamSubscription<0>")); }, _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) { var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData; return zone.registerUnaryCallback$2$1(t1, type$.void, $T); }, _BufferingStreamSubscription__registerErrorHandler(zone, handleError) { if (handleError == null) handleError = A.async___nullErrorHandler$closure(); if (type$.void_Function_Object_StackTrace._is(handleError)) return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); if (type$.void_Function_Object._is(handleError)) return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); throw A.wrapException(A.ArgumentError$(string$.handle, null)); }, _BufferingStreamSubscription__registerDoneHandler(zone, handleDone) { var t1 = handleDone == null ? A.async___nullDoneHandler$closure() : handleDone; return zone.registerCallback$1$1(t1, type$.void); }, _nullDataHandler(value) { }, _nullErrorHandler(error, stackTrace) { $.Zone__current.handleUncaughtError$2(error, stackTrace); }, _nullDoneHandler() { }, _DoneStreamSubscription$(_onDone, $T) { var t1 = new A._DoneStreamSubscription($.Zone__current, _onDone, $T._eval$1("_DoneStreamSubscription<0>")); t1._schedule$0(); 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 = $.Zone__current.errorCallback$2(e, s); if (replacement == null) onError.call$2(e, s); else { error = replacement.error; stackTrace = replacement.stackTrace; onError.call$2(error, stackTrace); } } }, _cancelAndError(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) { var replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } sink._addError$2(error, stackTrace); }, _StreamHandlerTransformer$(handleData, $S, $T) { return new A._StreamHandlerTransformer(new A._StreamHandlerTransformer_closure(handleData, null, null, $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 t1.createTimer$2(duration, callback); return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback)); }, Timer_Timer$periodic(duration, callback) { var boundCallback, t1 = $.Zone__current; if (t1 === B.C__RootZone) return t1.createPeriodicTimer$2(duration, callback); boundCallback = t1.bindUnaryCallbackGuarded$1$1(callback, type$.Timer); return $.Zone__current.createPeriodicTimer$2(duration, boundCallback); }, _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) { A._rootHandleError(error, stackTrace); }, _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; } }, _rootRegisterCallback($self, $parent, zone, f) { return f; }, _rootRegisterUnaryCallback($self, $parent, zone, f) { return f; }, _rootRegisterBinaryCallback($self, $parent, zone, f) { return f; }, _rootErrorCallback($self, $parent, zone, error, stackTrace) { return null; }, _rootScheduleMicrotask($self, $parent, zone, f) { var t1, t2; if (B.C__RootZone !== zone) { t1 = B.C__RootZone.get$errorZone(); t2 = zone.get$errorZone(); f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void); } A._scheduleAsyncCallback(f); }, _rootCreateTimer($self, $parent, zone, duration, callback) { return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback); }, _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) { return A.Timer__createPeriodicTimer(duration, B.C__RootZone !== zone ? zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer) : callback); }, _rootPrint($self, $parent, zone, line) { A.printString(line); }, _printToZone(line) { $.Zone__current.print$1(0, line); }, _rootFork($self, $parent, zone, specification, zoneValues) { var valueMap, t1, handleUncaughtError; $.printToZone = A.async___printToZone$closure(); if (specification == null) specification = B._ZoneSpecification_ALf; if (zoneValues == null) valueMap = zone.get$_async$_map(); else { t1 = type$.nullable_Object; valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1); } t1 = new A._CustomZone(zone.get$_run(), zone.get$_runUnary(), zone.get$_runBinary(), zone.get$_registerCallback(), zone.get$_registerUnaryCallback(), zone.get$_registerBinaryCallback(), zone.get$_errorCallback(), zone.get$_scheduleMicrotask(), zone.get$_createTimer(), zone.get$_createPeriodicTimer(), zone.get$_print(), zone.get$_fork(), zone.get$_handleUncaughtError(), zone, valueMap); handleUncaughtError = specification.handleUncaughtError; if (handleUncaughtError != null) t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError, type$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace); return t1; }, _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) { this._box_0 = t0; }, _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) { this._box_0 = t0; this.div = t1; this.span = t2; }, _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) { this.callback = t0; }, _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) { this.callback = t0; }, _TimerImpl: function _TimerImpl(t0) { this._once = t0; this._handle = null; this._tick = 0; }, _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) { this.$this = t0; this.callback = t1; }, _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.milliseconds = t1; _.start = t2; _.callback = t3; }, _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) { this._future = t0; this.isSync = false; this.$ti = t1; }, _awaitOnObject_closure: function _awaitOnObject_closure(t0) { this.bodyFunction = t0; }, _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) { this.bodyFunction = t0; }, _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) { this.$protected = t0; }, _asyncStarHelper_closure: function _asyncStarHelper_closure(t0, t1) { this.controller = t0; this.bodyFunction = t1; }, _asyncStarHelper_closure0: function _asyncStarHelper_closure0(t0, t1) { this.controller = t0; this.bodyFunction = t1; }, _AsyncStarStreamController: function _AsyncStarStreamController(t0) { var _ = this; _.___AsyncStarStreamController_controller = $; _.isSuspended = false; _.cancelationFuture = null; _.$ti = t0; }, _AsyncStarStreamController__resumeBody: function _AsyncStarStreamController__resumeBody(t0) { this.body = t0; }, _AsyncStarStreamController__resumeBody_closure: function _AsyncStarStreamController__resumeBody_closure(t0) { this.body = t0; }, _AsyncStarStreamController_closure0: function _AsyncStarStreamController_closure0(t0) { this._resumeBody = t0; }, _AsyncStarStreamController_closure1: function _AsyncStarStreamController_closure1(t0, t1) { this.$this = t0; this._resumeBody = t1; }, _AsyncStarStreamController_closure: function _AsyncStarStreamController_closure(t0, t1) { this.$this = t0; this.body = t1; }, _AsyncStarStreamController__closure: function _AsyncStarStreamController__closure(t0) { this.body = t0; }, _IterationMarker: function _IterationMarker(t0, t1) { this.value = t0; this.state = t1; }, _SyncStarIterator: function _SyncStarIterator(t0, t1) { var _ = this; _._body = t0; _._suspendedBodies = _._nestedIterator = _._async$_current = null; _.$ti = t1; }, _SyncStarIterable: function _SyncStarIterable(t0, t1) { this._outerHelper = t0; this.$ti = t1; }, AsyncError: function AsyncError(t0, t1) { this.error = t0; this.stackTrace = t1; }, _BroadcastStream: function _BroadcastStream(t0, t1) { this._async$_controller = t0; this.$ti = t1; }, _BroadcastSubscription: function _BroadcastSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._eventState = 0; _._async$_previous = _._async$_next = null; _._async$_controller = t0; _._async$_onData = t1; _._onError = t2; _._onDone = t3; _._zone = t4; _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, _BroadcastStreamController: function _BroadcastStreamController() { }, _SyncBroadcastStreamController: function _SyncBroadcastStreamController(t0, t1, t2) { var _ = this; _.onListen = t0; _.onCancel = t1; _._state = 0; _._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null; _.$ti = t2; }, _SyncBroadcastStreamController__sendData_closure: function _SyncBroadcastStreamController__sendData_closure(t0, t1) { this.$this = t0; this.data = t1; }, _SyncBroadcastStreamController__sendError_closure: function _SyncBroadcastStreamController__sendError_closure(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, _SyncBroadcastStreamController__sendDone_closure: function _SyncBroadcastStreamController__sendDone_closure(t0) { this.$this = t0; }, _AsyncBroadcastStreamController: function _AsyncBroadcastStreamController(t0, t1, t2) { var _ = this; _.onListen = t0; _.onCancel = t1; _._state = 0; _._doneFuture = _._addStreamState = _._lastSubscription = _._firstSubscription = null; _.$ti = t2; }, Future_Future_closure: function Future_Future_closure(t0, t1) { this.result = t0; this.computation = t1; }, Future_Future$microtask_closure: function Future_Future$microtask_closure(t0, t1) { this.result = t0; this.computation = t1; }, Future_Future$delayed_closure: function Future_Future$delayed_closure(t0, t1, t2) { this.computation = t0; this.result = t1; this.T = t2; }, Future_wait_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; }, Future_any_onValue: function Future_any_onValue(t0, t1) { this.completer = t0; this.T = t1; }, Future_any_onError: function Future_any_onError(t0) { this.completer = 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; }, _SyncCompleter: function _SyncCompleter(t0, t1) { this.future = t0; this.$ti = t1; }, _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) { var _ = this; _._nextListener = null; _.result = t0; _.state = t1; _.callback = t2; _.errorCallback = t3; _.$ti = t4; }, _Future: function _Future(t0, t1) { var _ = this; _._state = 0; _._zone = t0; _._resultOrListeners = null; _.$ti = t1; }, _Future__addListener_closure: function _Future__addListener_closure(t0, t1) { this.$this = t0; this.listener = t1; }, _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) { this.$this = t0; }, _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) { this.$this = t0; }, _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) { this.$this = t0; this.e = t1; this.s = t2; }, _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) { this.$this = t0; this.value = t1; }, _Future__chainFuture_closure: function _Future__chainFuture_closure(t0, t1) { this.$this = t0; this.value = t1; }, _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) { this._box_0 = t0; this._box_1 = t1; this.hasError = t2; }, _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) { this.originalSource = t0; }, _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) { this._box_0 = t0; this.sourceResult = t1; }, _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) { this._box_1 = t0; this._box_0 = t1; }, _Future_timeout_closure: function _Future_timeout_closure(t0, t1) { this._future = t0; this.timeLimit = t1; }, _Future_timeout_closure0: function _Future_timeout_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this._future = t2; }, _Future_timeout_closure1: function _Future_timeout_closure1(t0, t1) { this._box_0 = t0; this._future = t1; }, _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) { this.callback = t0; this.next = null; }, Stream: function Stream() { }, Stream_Stream$fromIterable_closure: function Stream_Stream$fromIterable_closure(t0, t1) { this.elements = t0; this.T = t1; }, Stream_reduce_closure: function Stream_reduce_closure(t0, t1, t2) { this._box_0 = t0; this.result = t1; this.value = t2; }, Stream_reduce_closure0: function Stream_reduce_closure0(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.combine = t2; _.value = t3; _.subscription = t4; _.result = t5; }, Stream_reduce__closure: function Stream_reduce__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.combine = t1; _.value = t2; _.element = t3; }, Stream_reduce__closure0: function Stream_reduce__closure0(t0, t1) { this.$this = t0; this.value = t1; }, Stream_contains_closure: function Stream_contains_closure(t0) { this.future = t0; }, Stream_contains_closure0: function Stream_contains_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.needle = t1; _.subscription = t2; _.future = t3; }, Stream_contains__closure: function Stream_contains__closure(t0, t1) { this.element = t0; this.needle = t1; }, Stream_contains__closure0: function Stream_contains__closure0(t0, t1) { this.subscription = t0; this.future = t1; }, 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_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; }, Stream_firstWhere_closure: function Stream_firstWhere_closure(t0, t1) { this.orElse = t0; this.future = t1; }, Stream_firstWhere_closure0: function Stream_firstWhere_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.test = t1; _.subscription = t2; _.future = t3; }, Stream_firstWhere__closure: function Stream_firstWhere__closure(t0, t1) { this.test = t0; this.value = t1; }, Stream_firstWhere__closure0: function Stream_firstWhere__closure0(t0, t1, t2) { this.subscription = t0; this.future = t1; this.value = t2; }, Stream_timeout_closure: function Stream_timeout_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_1 = t0; _.$this = t1; _.wrapper = t2; _.zone = t3; _.registeredOnTimeout = t4; }, Stream_timeout_closure0: function Stream_timeout_closure0(t0, t1, t2, t3) { var _ = this; _._box_1 = t0; _.$this = t1; _.zone = t2; _.timeLimit = t3; }, Stream_timeout__closure: function Stream_timeout__closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _._box_1 = t1; _.$this = t2; _.zone = t3; _.timeLimit = t4; }, Stream_timeout__closure0: function Stream_timeout__closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _._box_1 = t1; _.zone = t2; _.timeLimit = t3; }, Stream_timeout__closure1: function Stream_timeout__closure1(t0, t1) { this._box_0 = t0; this._box_1 = t1; }, Stream_timeout__closure2: function Stream_timeout__closure2(t0, t1) { this._box_0 = t0; this.subscription = t1; }, Stream_timeout__closure3: function Stream_timeout__closure3(t0, t1) { this._box_0 = t0; this.subscription = t1; }, Stream_timeout__closure4: function Stream_timeout__closure4(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _._box_1 = t1; _.subscription = t2; _.zone = t3; _.timeLimit = t4; }, StreamSubscription: function StreamSubscription() { }, StreamView: function StreamView() { }, StreamTransformerBase: function StreamTransformerBase() { }, _ControllerEventSinkWrapper: function _ControllerEventSinkWrapper(t0, t1) { this._async$_sink = t0; this.$ti = t1; }, _StreamController: function _StreamController() { }, _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) { this.$this = t0; }, _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) { this.$this = t0; }, _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() { }, _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() { }, _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) { var _ = this; _._varData = null; _._state = 0; _._doneFuture = null; _.onListen = t0; _.onPause = t1; _.onResume = t2; _.onCancel = t3; _.$ti = t4; }, _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) { var _ = this; _._varData = null; _._state = 0; _._doneFuture = null; _.onListen = t0; _.onPause = t1; _.onResume = t2; _.onCancel = t3; _.$ti = t4; }, _ControllerStream: function _ControllerStream(t0, t1) { this._async$_controller = t0; this.$ti = t1; }, _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._async$_controller = t0; _._async$_onData = t1; _._onError = t2; _._onDone = t3; _._zone = t4; _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, _AddStreamState: function _AddStreamState() { }, _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) { this.controller = t0; }, _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) { this.$this = t0; }, _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2, t3) { var _ = this; _.varData = t0; _.addStreamFuture = t1; _.addSubscription = t2; _.$ti = t3; }, _BufferingStreamSubscription: function _BufferingStreamSubscription(t0, t1, t2, t3, t4, t5) { var _ = this; _._async$_onData = t0; _._onError = t1; _._onDone = t2; _._zone = t3; _._state = t4; _._pending = _._cancelFuture = null; _.$ti = t5; }, _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) { this.$this = t0; }, _StreamImpl: function _StreamImpl() { }, _GeneratedStreamImpl: function _GeneratedStreamImpl(t0, t1) { this._pending = t0; this._isUsed = false; this.$ti = t1; }, _IterablePendingEvents: function _IterablePendingEvents(t0, t1) { this._async$_iterator = t0; this._state = 0; this.$ti = t1; }, _DelayedEvent: function _DelayedEvent() { }, _DelayedData: function _DelayedData(t0, t1) { this.value = t0; this.next = null; this.$ti = t1; }, _DelayedError: function _DelayedError(t0, t1) { this.error = t0; this.stackTrace = t1; this.next = null; }, _DelayedDone: function _DelayedDone() { }, _PendingEvents: function _PendingEvents() { }, _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) { this.$this = t0; this.dispatch = t1; }, _StreamImplEvents: function _StreamImplEvents(t0) { var _ = this; _.lastPendingEvent = _.firstPendingEvent = null; _._state = 0; _.$ti = t0; }, _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1, t2) { var _ = this; _._zone = t0; _._state = 0; _._onDone = t1; _.$ti = t2; }, _StreamIterator: function _StreamIterator(t0) { this.$ti = t0; }, _EmptyStream: function _EmptyStream(t0) { this.$ti = t0; }, _cancelAndError_closure: function _cancelAndError_closure(t0, t1, t2) { this.future = t0; this.error = t1; this.stackTrace = t2; }, _cancelAndErrorClosure_closure: function _cancelAndErrorClosure_closure(t0, t1) { this.subscription = t0; this.future = t1; }, _cancelAndValue_closure: function _cancelAndValue_closure(t0, t1) { this.future = t0; this.value = t1; }, _ForwardingStream: function _ForwardingStream() { }, _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._stream = t0; _._subscription = null; _._async$_onData = t1; _._onError = t2; _._onDone = t3; _._zone = t4; _._state = t5; _._pending = _._cancelFuture = null; _.$ti = t6; }, _WhereStream: function _WhereStream(t0, t1, t2) { this._test = t0; this._async$_source = t1; this.$ti = t2; }, _MapStream: function _MapStream(t0, t1, t2) { this._async$_transform = t0; this._async$_source = t1; this.$ti = t2; }, _EventSinkWrapper: function _EventSinkWrapper(t0, t1) { this._async$_sink = t0; this.$ti = t1; }, _SinkTransformerStreamSubscription: function _SinkTransformerStreamSubscription(t0, t1, t2, t3, t4, t5) { var _ = this; _.___SinkTransformerStreamSubscription__transformerSink = $; _._subscription = null; _._async$_onData = t0; _._onError = t1; _._onDone = t2; _._zone = t3; _._state = t4; _._pending = _._cancelFuture = null; _.$ti = t5; }, _StreamSinkTransformer: function _StreamSinkTransformer() { }, _BoundSinkStream: function _BoundSinkStream(t0, t1, t2) { this._sinkMapper = t0; this._stream = t1; this.$ti = t2; }, _HandlerEventSink: function _HandlerEventSink(t0, t1, t2, t3, t4) { var _ = this; _._async$_handleData = t0; _._async$_handleError = t1; _._handleDone = t2; _._async$_sink = t3; _.$ti = t4; }, _StreamHandlerTransformer: function _StreamHandlerTransformer(t0, t1) { this._sinkMapper = t0; this.$ti = t1; }, _StreamHandlerTransformer_closure: function _StreamHandlerTransformer_closure(t0, t1, t2, t3, t4) { var _ = this; _.handleData = t0; _.handleError = t1; _.handleDone = t2; _.T = t3; _.S = t4; }, _ZoneFunction: function _ZoneFunction(t0, t1, t2) { this.zone = t0; this.$function = t1; this.$ti = t2; }, _RunNullaryZoneFunction: function _RunNullaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _RunUnaryZoneFunction: function _RunUnaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _RunBinaryZoneFunction: function _RunBinaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _RegisterNullaryZoneFunction: function _RegisterNullaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _RegisterUnaryZoneFunction: function _RegisterUnaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _RegisterBinaryZoneFunction: function _RegisterBinaryZoneFunction(t0, t1) { this.zone = t0; this.$function = t1; }, _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.handleUncaughtError = t0; _.run = t1; _.runUnary = t2; _.runBinary = t3; _.registerCallback = t4; _.registerUnaryCallback = t5; _.registerBinaryCallback = t6; _.errorCallback = t7; _.scheduleMicrotask = t8; _.createTimer = t9; _.createPeriodicTimer = t10; _.print = t11; _.fork = t12; }, _ZoneDelegate: function _ZoneDelegate(t0) { this._delegationTarget = t0; }, _Zone: function _Zone() { }, _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._run = t0; _._runUnary = t1; _._runBinary = t2; _._registerCallback = t3; _._registerUnaryCallback = t4; _._registerBinaryCallback = t5; _._errorCallback = t6; _._scheduleMicrotask = t7; _._createTimer = t8; _._createPeriodicTimer = t9; _._print = t10; _._fork = t11; _._handleUncaughtError = t12; _._delegateCache = null; _.parent = t13; _._async$_map = t14; }, _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) { this.$this = t0; this.registered = t1; this.R = t2; }, _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.registered = t1; _.T = t2; _.R = t3; }, _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) { this.$this = t0; this.registered = t1; }, _CustomZone_bindUnaryCallbackGuarded_closure: function _CustomZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) { this.$this = t0; this.registered = t1; this.T = t2; }, _rootHandleError_closure: function _rootHandleError_closure(t0, t1) { this.error = t0; this.stackTrace = t1; }, _RootZone: function _RootZone() { }, _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) { this.$this = t0; this.f = t1; this.R = t2; }, _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.f = t1; _.T = t2; _.R = t3; }, _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, isValidKey, $K, $V) { if (isValidKey == null) 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 A._LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V); 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._LinkedCustomHashMap$(equals, hashCode, isValidKey, $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>")); }, _LinkedIdentityHashMap__LinkedIdentityHashMap$es6($K, $V) { return new A._LinkedIdentityHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedIdentityHashMap<1,2>")); }, _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) { var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K); return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $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); }, HashMap_HashMap$from(other, $K, $V) { var result = A.HashMap_HashMap(null, null, null, $K, $V); other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V)); return result; }, IterableBase_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; }, IterableBase_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; }, _isToStringVisiting(o) { var t1, i; for (t1 = $._toStringVisiting.length, i = 0; i < t1; ++i) if (o === $._toStringVisiting[i]) return true; return false; }, _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); }, LinkedHashMap_LinkedHashMap$from(other, $K, $V) { var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V); J.forEach$1$ax(other, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V)); return result; }, 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._collection$_modificationCount, list._collection$_first, $E._eval$1("_LinkedListIterator<0>")); }, ListMixin__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; }, DoubleLinkedQueue$($E) { var t1 = new A._DoubleLinkedQueueSentinel($E._eval$1("_DoubleLinkedQueueSentinel<0>")); t1._previousLink = t1; t1._nextLink = t1; return new A.DoubleLinkedQueue(t1, $E._eval$1("DoubleLinkedQueue<0>")); }, 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; }, _LinkedIdentityHashMap: function _LinkedIdentityHashMap(t0) { var _ = this; _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t0; }, _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) { var _ = this; _._equals = t0; _._hashCode = t1; _._validKey = t2; _.__js_helper$_length = 0; _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null; _._modifications = 0; _.$ti = t3; }, _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) { this.K = t0; }, _HashSet: function _HashSet(t0) { var _ = this; _._collection$_length = 0; _._elements = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; _.$ti = t0; }, _HashSetIterator: function _HashSetIterator(t0, t1, t2) { var _ = this; _._set = t0; _._elements = t1; _._offset = 0; _._collection$_current = null; _.$ti = t2; }, _LinkedHashSet: function _LinkedHashSet(t0) { var _ = this; _._collection$_length = 0; _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null; _._collection$_modifications = 0; _.$ti = t0; }, _LinkedHashSetCell: function _LinkedHashSetCell(t0) { this._collection$_element = t0; this._collection$_previous = this._collection$_next = null; }, _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) { var _ = this; _._set = t0; _._collection$_modifications = t1; _._collection$_current = _._collection$_cell = null; _.$ti = t2; }, UnmodifiableListView: function UnmodifiableListView(t0, t1) { this._collection$_source = t0; this.$ti = t1; }, HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) { this.result = t0; this.K = t1; this.V = t2; }, IterableMixin: function IterableMixin() { }, IterableBase: function IterableBase() { }, LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) { this.result = t0; this.K = t1; this.V = t2; }, LinkedList: function LinkedList(t0) { var _ = this; _._collection$_length = _._collection$_modificationCount = 0; _._collection$_first = null; _.$ti = t0; }, _LinkedListIterator: function _LinkedListIterator(t0, t1, t2, t3) { var _ = this; _._collection$_list = t0; _._collection$_modificationCount = t1; _._collection$_current = null; _._collection$_next = t2; _._visitedFirst = false; _.$ti = t3; }, LinkedListEntry: function LinkedListEntry() { }, ListBase: function ListBase() { }, ListMixin: function ListMixin() { }, MapBase: function MapBase() { }, MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) { this._box_0 = t0; this.result = t1; }, MapMixin: function MapMixin() { }, MapMixin_entries_closure: function MapMixin_entries_closure(t0) { this.$this = t0; }, UnmodifiableMapBase: function UnmodifiableMapBase() { }, _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) { var _ = this; _._collection$_keys = t0; _._collection$_map = t1; _._collection$_current = null; _.$ti = t2; }, _UnmodifiableMapMixin: function _UnmodifiableMapMixin() { }, MapView: function MapView() { }, UnmodifiableMapView: function UnmodifiableMapView(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, _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; _._collection$_modificationCount = _._tail = _._head = 0; _.$ti = t1; }, _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) { var _ = this; _._collection$_queue = t0; _._end = t1; _._collection$_modificationCount = t2; _._collection$_position = t3; _._collection$_current = null; _.$ti = t4; }, SetMixin: function SetMixin() { }, SetBase: function SetBase() { }, _SetBase: function _SetBase() { }, _UnmodifiableSetMixin: function _UnmodifiableSetMixin() { }, _UnmodifiableSet: function _UnmodifiableSet(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, _SplayTreeNode: function _SplayTreeNode() { }, _SplayTreeSetNode: function _SplayTreeSetNode(t0, t1) { var _ = this; _.key = t0; _._collection$_right = _._collection$_left = null; _.$ti = t1; }, _SplayTreeMapNode: function _SplayTreeMapNode(t0, t1, t2) { var _ = this; _.value = t0; _.key = t1; _._collection$_right = _._collection$_left = null; _.$ti = t2; }, _SplayTree: function _SplayTree() { }, SplayTreeMap: function SplayTreeMap(t0, t1, t2) { var _ = this; _._root = null; _._compare = t0; _._validKey = t1; _._splayCount = _._collection$_modificationCount = _._count = 0; _.$ti = t2; }, SplayTreeMap_closure: function SplayTreeMap_closure(t0) { this.K = t0; }, _SplayTreeIterator: function _SplayTreeIterator() { }, _SplayTreeKeyIterable: function _SplayTreeKeyIterable(t0, t1) { this._tree = t0; this.$ti = t1; }, _SplayTreeValueIterable: function _SplayTreeValueIterable(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, _SplayTreeMapEntryIterable: function _SplayTreeMapEntryIterable(t0, t1) { this._collection$_map = t0; this.$ti = t1; }, _SplayTreeKeyIterator: function _SplayTreeKeyIterator(t0, t1, t2, t3) { var _ = this; _._tree = t0; _._collection$_path = t1; _._collection$_modificationCount = null; _._splayCount = t2; _.$ti = t3; }, _SplayTreeValueIterator: function _SplayTreeValueIterator(t0, t1, t2, t3) { var _ = this; _._tree = t0; _._collection$_path = t1; _._collection$_modificationCount = null; _._splayCount = t2; _.$ti = t3; }, _SplayTreeMapEntryIterator: function _SplayTreeMapEntryIterator(t0, t1, t2, t3) { var _ = this; _._tree = t0; _._collection$_path = t1; _._collection$_modificationCount = null; _._splayCount = t2; _.$ti = t3; }, SplayTreeSet: function SplayTreeSet(t0, t1, t2) { var _ = this; _._root = null; _._compare = t0; _._validKey = t1; _._splayCount = _._collection$_modificationCount = _._count = 0; _.$ti = t2; }, SplayTreeSet_closure: function SplayTreeSet_closure(t0) { this.E = t0; }, SplayTreeSet__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; }, _ListBase_Object_ListMixin: function _ListBase_Object_ListMixin() { }, _SetBase_Object_SetMixin: function _SetBase_Object_SetMixin() { }, _SplayTreeMap__SplayTree_MapMixin: function _SplayTreeMap__SplayTree_MapMixin() { }, _SplayTreeSet__SplayTree_IterableMixin: function _SplayTreeSet__SplayTree_IterableMixin() { }, _SplayTreeSet__SplayTree_IterableMixin_SetMixin: function _SplayTreeSet__SplayTree_IterableMixin_SetMixin() { }, _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() { }, __SetBase_Object_SetMixin: function __SetBase_Object_SetMixin() { }, __UnmodifiableSet__SetBase__UnmodifiableSetMixin: function __UnmodifiableSet__SetBase__UnmodifiableSetMixin() { }, _parseJson(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__convertIntercepted(allowMalformed, codeUnits, start, end) { var casted, result; if (codeUnits instanceof Uint8Array) { casted = codeUnits; if (end == null) end = casted.length; if (end - start < 15) return null; result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end); if (result != null && allowMalformed) if (result.indexOf("\ufffd") >= 0) return null; return result; } return null; }, 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, A.RangeError_checkValidRange(start, end, codeUnits.length, null, null))); }, 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, i, byteOr, byte, outputIndex0, outputIndex1, bits = state >>> 2, expectedChars = 3 - (state & 3); for (t1 = J.getInterceptor$asx(bytes), 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; output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 18 & 63); outputIndex = outputIndex0 + 1; output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 12 & 63); outputIndex0 = outputIndex + 1; output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 6 & 63); outputIndex = outputIndex0 + 1; output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits & 63); bits = 0; expectedChars = 3; } } if (byteOr >= 0 && byteOr <= 255) { if (isLast && expectedChars < 3) { outputIndex0 = outputIndex + 1; outputIndex1 = outputIndex0 + 1; if (3 - expectedChars === 1) { output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 2 & 63); output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 4 & 63); output[outputIndex1] = 61; output[outputIndex1 + 1] = 61; } else { output[outputIndex] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 10 & 63); output[outputIndex0] = B.JSString_methods._codeUnitAt$1(alphabet, bits >>> 4 & 63); output[outputIndex1] = B.JSString_methods._codeUnitAt$1(alphabet, bits << 2 & 63); 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 = B.JSString_methods.codeUnitAt$1(input, i); charOr |= char; code = inverseAlphabet[char & 127]; if (code >= 0) { bits = (bits << 6 | code) & 16777215; count = count + 1 & 3; if (count === 0) { outIndex0 = outIndex + 1; output[outIndex] = bits >>> 16 & 255; outIndex = outIndex0 + 1; output[outIndex0] = bits >>> 8 & 255; outIndex0 = outIndex + 1; output[outIndex] = bits & 255; outIndex = outIndex0; bits = 0; } continue; } else if (code === -1 && count > 1) { if (charOr > 127) break; if (count === 3) { if ((bits & 3) !== 0) throw 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) { char = B.JSString_methods.codeUnitAt$1(input, i); if (char > 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 = B.JSString_methods.codeUnitAt$1(input, index); if (char === 61) { ++padding; newEnd = index; break c$0; } if ((char | 32) === 100) { if (index === start) break; --index; char = B.JSString_methods.codeUnitAt$1(input, index); } if (char === 51) { if (index === start) break; --index; char = B.JSString_methods.codeUnitAt$1(input, 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 = B.JSString_methods.codeUnitAt$1(input, start); if (expectedPadding === 3) { if (char === 61) { expectedPadding -= 3; ++start; break; } if (char === 37) { --expectedPadding; ++start; if (start === end) break; char = B.JSString_methods.codeUnitAt$1(input, start); } else break; } if ((expectedPadding > 3 ? expectedPadding - 3 : expectedPadding) === 2) { if (char !== 51) break; ++start; --expectedPadding; if (start === end) break; char = B.JSString_methods.codeUnitAt$1(input, 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 $.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); }, LineSplitter_split($async$lines) { return A._makeSyncStarIterable(function() { var lines = $async$lines; var $async$goto = 0, $async$handler = 1, $async$currentError, sliceStart, char, i, char0, end; return function $async$LineSplitter_split($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 end = A.RangeError_checkValidRange(0, null, lines.length, null, null); sliceStart = 0, char = 0, i = 0; case 2: // for condition if (!(i < end)) { // goto after for $async$goto = 4; break; } char0 = B.JSString_methods._codeUnitAt$1(lines, i); if (char0 !== 13) { if (char0 !== 10) { // goto for update $async$goto = 3; break; } if (char === 13) { sliceStart = i + 1; // goto for update $async$goto = 3; break; } } $async$goto = 5; return B.JSString_methods.substring$2(lines, sliceStart, i); case 5: // after yield sliceStart = i + 1; case 3: // for update ++i, char = char0; // goto for condition $async$goto = 2; break; case 4: // after for $async$goto = sliceStart < end ? 6 : 7; break; case 6: // then $async$goto = 8; return B.JSString_methods.substring$2(lines, sliceStart, end); case 8: // after yield case 7: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.String); }, _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 ""; } }, _Utf8Decoder__makeUint8List(codeUnits, start, end) { var t1, i, b, $length = end - start, bytes = new Uint8Array($length); for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) { b = t1.$index(codeUnits, start + i); bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b; } return bytes; }, _JsonMap: function _JsonMap(t0, t1) { this._original = t0; this._processed = t1; this._data = null; }, _JsonMap_values_closure: function _JsonMap_values_closure(t0) { this.$this = t0; }, _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) { this._convert$_parent = t0; }, Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() { }, Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() { }, AsciiCodec: function AsciiCodec() { }, _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() { }, AsciiEncoder: function AsciiEncoder(t0) { this._subsetMask = t0; }, _UnicodeSubsetDecoder: function _UnicodeSubsetDecoder() { }, AsciiDecoder: function AsciiDecoder(t0, t1) { this._allowInvalid = t0; this._subsetMask = t1; }, Base64Codec: function Base64Codec(t0) { this._encoder = t0; }, Base64Encoder: function Base64Encoder(t0) { this._urlSafe = t0; }, _Base64Encoder: function _Base64Encoder(t0) { this._convert$_state = 0; this._alphabet = t0; }, Base64Decoder: function Base64Decoder() { }, _Base64Decoder: function _Base64Decoder() { this._convert$_state = 0; }, ByteConversionSink: function ByteConversionSink() { }, ByteConversionSinkBase: function ByteConversionSinkBase() { }, _ByteCallbackSink: function _ByteCallbackSink(t0, t1) { this._convert$_callback = t0; this._convert$_buffer = t1; this._bufferIndex = 0; }, ChunkedConversionSink: function ChunkedConversionSink() { }, Codec0: function Codec0() { }, Converter: function Converter() { }, Encoding: function Encoding() { }, JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) { this.unsupportedObject = t0; this.cause = t1; }, JsonCyclicError: function JsonCyclicError(t0, t1) { this.unsupportedObject = t0; this.cause = t1; }, JsonCodec: function JsonCodec() { }, JsonEncoder: function JsonEncoder(t0, t1) { this.indent = t0; this._toEncodable = t1; }, JsonDecoder: function JsonDecoder(t0) { this._reviver = t0; }, _JsonStringifier: function _JsonStringifier() { }, _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) { this._box_0 = t0; this.keyValueList = t1; }, _JsonPrettyPrintMixin: function _JsonPrettyPrintMixin() { }, _JsonPrettyPrintMixin_writeMap_closure: function _JsonPrettyPrintMixin_writeMap_closure(t0, t1) { this._box_0 = t0; this.keyValueList = t1; }, _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) { this._sink = t0; this._seen = t1; this._toEncodable = t2; }, _JsonStringStringifierPretty: function _JsonStringStringifierPretty(t0, t1, t2, t3, t4) { var _ = this; _._indent = t0; _._JsonPrettyPrintMixin__indentLevel = t1; _._sink = t2; _._seen = t3; _._toEncodable = t4; }, Latin1Codec: function Latin1Codec() { }, Latin1Encoder: function Latin1Encoder(t0) { this._subsetMask = t0; }, Latin1Decoder: function Latin1Decoder(t0, t1) { this._allowInvalid = t0; this._subsetMask = t1; }, LineSplitter: function LineSplitter() { }, Utf8Codec: function Utf8Codec() { }, Utf8Encoder: function Utf8Encoder() { }, _Utf8Encoder: function _Utf8Encoder(t0) { this._bufferIndex = this._carry = 0; this._convert$_buffer = t0; }, Utf8Decoder: function Utf8Decoder(t0) { this._allowMalformed = t0; }, _Utf8Decoder: function _Utf8Decoder(t0) { this.allowMalformed = t0; this._convert$_state = 16; this._charOrIndex = 0; }, __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin: function __JsonStringStringifierPretty__JsonStringStringifier__JsonPrettyPrintMixin() { }, _symbolMapToStringMap(map) { var result = new A.JsLinkedHashMap(type$.JsLinkedHashMap_String_dynamic); map.forEach$1(0, new A._symbolMapToStringMap_closure(result)); return result; }, identityHashCode(object) { return A.objectHashCode(object); }, Function_apply($function, positionalArguments, namedArguments) { return A.Primitives_applyFunction($function, positionalArguments, namedArguments == null ? null : A._symbolMapToStringMap(namedArguments)); }, Expando$($T) { return new A.Expando(new WeakMap(), $T._eval$1("Expando<0>")); }, Expando__checkType(object) { var t1 = typeof object == "number" || typeof object == "string"; if (t1) throw A.wrapException(A.ArgumentError$value(object, string$.Expand, null)); }, 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__objectToString(object) { if (object instanceof A.Closure) return object.toString$0(0); return "Instance of '" + A.Primitives_objectTypeName(object) + "'"; }, 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, growable, $E) { var i, result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($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 array, len, _null = null; if (Array.isArray(charCodes)) { array = charCodes; len = array.length; end = A.RangeError_checkValidRange(start, end, len, _null, _null); return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array); } if (type$.NativeUint8List._is(charCodes)) return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length, _null, _null)); return A.String__stringFromIterable(charCodes, start, end); }, String_String$fromCharCode(charCode) { return A.Primitives_stringFromCharCode(charCode); }, String__stringFromIterable(charCodes, start, end) { var t1, it, i, list, _null = null; if (start < 0) throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null)); t1 = end == null; if (!t1 && end < start) throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null)); it = J.get$iterator$ax(charCodes); for (i = 0; i < start; ++i) if (!it.moveNext$0()) throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null)); list = []; if (t1) for (; it.moveNext$0();) list.push(it.get$current(it)); else for (i = start; i < end; ++i) { if (!it.moveNext$0()) throw A.wrapException(A.RangeError$range(end, start, i, _null, _null)); list.push(it.get$current(it)); } return A.Primitives_stringFromCharCodes(list); }, RegExp_RegExp(source, caseSensitive, multiLine) { return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, false, false, 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$(receiver, memberName, positionalArguments, namedArguments) { return new A.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments); }, Uri_base() { var uri = A.Primitives_currentUri(); if (uri != null) return A.Uri_parse(uri, 0, null); throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported")); }, _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) { var t1, bytes, i, t2, byte, _s16_ = "0123456789ABCDEF"; if (encoding === B.C_Utf8Codec) { t1 = $.$get$_Uri__needsNoEncoding()._nativeRegExp; t1 = t1.test(text); } else t1 = false; if (t1) return text; bytes = encoding.encode$1(text); for (t1 = J.getInterceptor$asx(bytes), i = 0, t2 = ""; i < t1.get$length(bytes); ++i) { byte = t1.$index(bytes, i); if (byte < 128 && (canonicalTable[B.JSInt_methods._shrOtherPositive$1(byte, 4)] & 1 << (byte & 15)) !== 0) t2 += A.Primitives_stringFromCharCode(byte); else t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[B.JSInt_methods._shrOtherPositive$1(byte, 4) & 15] + _s16_[byte & 15]; } return t2.charCodeAt(0) == 0 ? t2 : t2; }, StackTrace_current() { var stackTrace, exception; if ($.$get$_hasErrorStackProperty()) return A.getTraceFromException(new Error()); try { throw A.wrapException(""); } catch (exception) { stackTrace = A.getTraceFromException(exception); return stackTrace; } }, _BigIntImpl_parse(source, radix) { var result = A._BigIntImpl__tryParse(source, radix); if (result == null) throw A.wrapException(A.FormatException$("Could not parse BigInt", source, null)); return result; }, _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 + B.JSString_methods._codeUnitAt$1(source, 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(B.JSString_methods._codeUnitAt$1(source, i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; } digitIndex = t2 - 1; digits[t2] = chunk; for (; i < t1; digitIndex = digitIndex0) { for (chunk = 0, j = 0; j < 4; ++j, i = i0) { i0 = i + 1; digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); if (digitValue >= 16) return null; chunk = chunk * 16 + digitValue; } digitIndex0 = digitIndex - 1; digits[digitIndex] = chunk; } if (chunkCount === 1 && digits[0] === 0) return $.$get$_BigIntImpl_zero(); t1 = A._BigIntImpl__normalize(chunkCount, digits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, digits, t1); }, _BigIntImpl__parseRadix(source, radix, isNegative) { var t1, i, digitValue, result = $.$get$_BigIntImpl_zero(), base = A._BigIntImpl__BigIntImpl$_fromInt(radix); for (t1 = source.length, i = 0; i < t1; ++i) { digitValue = A._BigIntImpl__codeUnitToRadixValue(B.JSString_methods._codeUnitAt$1(source, i)); if (digitValue >= radix) return null; result = result.$mul(0, base).$add(0, A._BigIntImpl__BigIntImpl$_fromInt(digitValue)); } if (isNegative) return result.$negate(0); return result; }, _BigIntImpl__tryParse(source, radix) { var match, t1, isNegative, decimalMatch, hexMatch, nonDecimalMatch, _null = null; 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]; nonDecimalMatch = t1[5]; if (radix < 2 || radix > 36) throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null)); if (radix === 10 && decimalMatch != null) return A._BigIntImpl__parseDecimal(decimalMatch, isNegative); if (radix === 16) t1 = decimalMatch != null || nonDecimalMatch != null; else t1 = false; if (t1) { if (decimalMatch == null) { nonDecimalMatch.toString; t1 = nonDecimalMatch; } else t1 = decimalMatch; return A._BigIntImpl__parseHex(t1, 0, isNegative); } t1 = decimalMatch == null ? nonDecimalMatch : decimalMatch; if (t1 == null) { hexMatch.toString; t1 = hexMatch; } return A._BigIntImpl__parseRadix(t1, radix, isNegative); }, _BigIntImpl__normalize(used, digits) { while (true) { if (!(used > 0 && digits[used - 1] === 0)) break; --used; } return used; }, _BigIntImpl__cloneDigits(digits, from, to, $length) { var i, resultDigits = new Uint16Array($length), n = to - from; for (i = 0; i < n; ++i) resultDigits[i] = digits[from + i]; return resultDigits; }, _BigIntImpl__BigIntImpl$from(value) { var t1; if (value === 0) return $.$get$_BigIntImpl_zero(); if (value === 1) return $.$get$_BigIntImpl_one(); if (value === 2) return $.$get$_BigIntImpl_two(); if (Math.abs(value) < 4294967296) return A._BigIntImpl__BigIntImpl$_fromInt(B.JSInt_methods.toInt$0(value)); t1 = A._BigIntImpl__BigIntImpl$_fromDouble(value); return t1; }, _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__BigIntImpl$_fromDouble(value) { var isNegative, bits, i, t1, t2, exponent, unshiftedDigits, unshiftedBig, absResult; if (isNaN(value) || value == 1 / 0 || value == -1 / 0) throw A.wrapException(A.ArgumentError$("Value must be finite: " + value, null)); isNegative = value < 0; if (isNegative) value = -value; value = Math.floor(value); if (value === 0) return $.$get$_BigIntImpl_zero(); bits = $.$get$_BigIntImpl__bitsForFromDouble(); for (i = 0; i < 8; ++i) bits[i] = 0; A.NativeByteData_NativeByteData$view(bits.buffer, 0, null).setFloat64(0, value, true); t1 = bits[7]; t2 = bits[6]; exponent = (t1 << 4 >>> 0) + (t2 >>> 4) - 1075; unshiftedDigits = new Uint16Array(4); unshiftedDigits[0] = (bits[1] << 8 >>> 0) + bits[0]; unshiftedDigits[1] = (bits[3] << 8 >>> 0) + bits[2]; unshiftedDigits[2] = (bits[5] << 8 >>> 0) + bits[4]; unshiftedDigits[3] = t2 & 15 | 16; unshiftedBig = new A._BigIntImpl(false, unshiftedDigits, 4); if (exponent < 0) absResult = unshiftedBig.$shr(0, -exponent); else absResult = exponent > 0 ? unshiftedBig.$shl(0, exponent) : unshiftedBig; if (isNegative) return absResult.$negate(0); return absResult; }, _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, 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__mulDigits(xDigits, xUsed, otherDigits, otherUsed, resultDigits) { var i, resultUsed = xUsed + otherUsed; for (i = resultUsed; --i, i >= 0;) resultDigits[i] = 0; for (i = 0; i < otherUsed;) { A._BigIntImpl__mulAdd(otherDigits[i], xDigits, 0, resultDigits, i, xUsed); ++i; } return resultUsed; }, _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; }, _BigIntImpl__binaryGcd(x, y, inv) { var t1, uDigits, vDigits, ac, abcdUsed, abcdLen, aDigits, cDigits, bDigits, dDigits, aIsNegative, cIsNegative, bIsNegative, dIsNegative, a_cmp_c, b_cmp_d, c_cmp_a, d_cmp_b, i, _s11_ = "Not coprime", xUsed = x._used, yUsed = y._used, maxUsed = xUsed > yUsed ? xUsed : yUsed, xDigits = A._BigIntImpl__cloneDigits(x._digits, 0, xUsed, maxUsed), yDigits = A._BigIntImpl__cloneDigits(y._digits, 0, yUsed, maxUsed); if (yUsed === 1 && yDigits[0] === 1) return $.$get$_BigIntImpl_one(); if (yUsed !== 0) t1 = (yDigits[0] & 1) === 0 && (xDigits[0] & 1) === 0; else t1 = true; if (t1) throw A.wrapException(A.Exception_Exception(_s11_)); uDigits = A._BigIntImpl__cloneDigits(xDigits, 0, xUsed, maxUsed); vDigits = A._BigIntImpl__cloneDigits(yDigits, 0, yUsed, maxUsed + 2); ac = (xDigits[0] & 1) === 0; abcdUsed = maxUsed + 1; abcdLen = abcdUsed + 2; aDigits = $.$get$_dummyList(); if (ac) { aDigits = new Uint16Array(abcdLen); aDigits[0] = 1; cDigits = new Uint16Array(abcdLen); } else cDigits = aDigits; bDigits = new Uint16Array(abcdLen); dDigits = new Uint16Array(abcdLen); dDigits[0] = 1; for (aIsNegative = false, cIsNegative = false, bIsNegative = false, dIsNegative = false; true;) { for (; (uDigits[0] & 1) === 0;) { A._BigIntImpl__rsh(uDigits, maxUsed, 1, uDigits); if (ac) { if ((aDigits[0] & 1) === 1 || (bDigits[0] & 1) === 1) { if (aIsNegative) if (aDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(aDigits, maxUsed, yDigits, maxUsed) > 0) { A._BigIntImpl__absSub(aDigits, abcdUsed, yDigits, maxUsed, aDigits); aIsNegative = true; } else { A._BigIntImpl__absSub(yDigits, maxUsed, aDigits, maxUsed, aDigits); aIsNegative = false; } else A._BigIntImpl__absAdd(aDigits, abcdUsed, yDigits, maxUsed, aDigits); if (bIsNegative) A._BigIntImpl__absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); else if (bDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(bDigits, maxUsed, xDigits, maxUsed) > 0) { A._BigIntImpl__absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); bIsNegative = false; } else { A._BigIntImpl__absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); bIsNegative = true; } } A._BigIntImpl__rsh(aDigits, abcdUsed, 1, aDigits); } else if ((bDigits[0] & 1) === 1) if (bIsNegative) A._BigIntImpl__absAdd(bDigits, abcdUsed, xDigits, maxUsed, bDigits); else if (bDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(bDigits, maxUsed, xDigits, maxUsed) > 0) { A._BigIntImpl__absSub(bDigits, abcdUsed, xDigits, maxUsed, bDigits); bIsNegative = false; } else { A._BigIntImpl__absSub(xDigits, maxUsed, bDigits, maxUsed, bDigits); bIsNegative = true; } A._BigIntImpl__rsh(bDigits, abcdUsed, 1, bDigits); } for (; (vDigits[0] & 1) === 0;) { A._BigIntImpl__rsh(vDigits, maxUsed, 1, vDigits); if (ac) { if ((cDigits[0] & 1) === 1 || (dDigits[0] & 1) === 1) { if (cIsNegative) if (cDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(cDigits, maxUsed, yDigits, maxUsed) > 0) { A._BigIntImpl__absSub(cDigits, abcdUsed, yDigits, maxUsed, cDigits); cIsNegative = true; } else { A._BigIntImpl__absSub(yDigits, maxUsed, cDigits, maxUsed, cDigits); cIsNegative = false; } else A._BigIntImpl__absAdd(cDigits, abcdUsed, yDigits, maxUsed, cDigits); if (dIsNegative) A._BigIntImpl__absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); else if (dDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(dDigits, maxUsed, xDigits, maxUsed) > 0) { A._BigIntImpl__absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); dIsNegative = false; } else { A._BigIntImpl__absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); dIsNegative = true; } } A._BigIntImpl__rsh(cDigits, abcdUsed, 1, cDigits); } else if ((dDigits[0] & 1) === 1) if (dIsNegative) A._BigIntImpl__absAdd(dDigits, abcdUsed, xDigits, maxUsed, dDigits); else if (dDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(dDigits, maxUsed, xDigits, maxUsed) > 0) { A._BigIntImpl__absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); dIsNegative = false; } else { A._BigIntImpl__absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); dIsNegative = true; } A._BigIntImpl__rsh(dDigits, abcdUsed, 1, dDigits); } if (A._BigIntImpl__compareDigits(uDigits, maxUsed, vDigits, maxUsed) >= 0) { A._BigIntImpl__absSub(uDigits, maxUsed, vDigits, maxUsed, uDigits); if (ac) if (aIsNegative === cIsNegative) { a_cmp_c = A._BigIntImpl__compareDigits(aDigits, abcdUsed, cDigits, abcdUsed); if (a_cmp_c > 0) A._BigIntImpl__absSub(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); else { A._BigIntImpl__absSub(cDigits, abcdUsed, aDigits, abcdUsed, aDigits); aIsNegative = !aIsNegative && a_cmp_c !== 0; } } else A._BigIntImpl__absAdd(aDigits, abcdUsed, cDigits, abcdUsed, aDigits); if (bIsNegative === dIsNegative) { b_cmp_d = A._BigIntImpl__compareDigits(bDigits, abcdUsed, dDigits, abcdUsed); if (b_cmp_d > 0) A._BigIntImpl__absSub(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); else { A._BigIntImpl__absSub(dDigits, abcdUsed, bDigits, abcdUsed, bDigits); bIsNegative = !bIsNegative && b_cmp_d !== 0; } } else A._BigIntImpl__absAdd(bDigits, abcdUsed, dDigits, abcdUsed, bDigits); } else { A._BigIntImpl__absSub(vDigits, maxUsed, uDigits, maxUsed, vDigits); if (ac) if (cIsNegative === aIsNegative) { c_cmp_a = A._BigIntImpl__compareDigits(cDigits, abcdUsed, aDigits, abcdUsed); if (c_cmp_a > 0) A._BigIntImpl__absSub(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); else { A._BigIntImpl__absSub(aDigits, abcdUsed, cDigits, abcdUsed, cDigits); cIsNegative = !cIsNegative && c_cmp_a !== 0; } } else A._BigIntImpl__absAdd(cDigits, abcdUsed, aDigits, abcdUsed, cDigits); if (dIsNegative === bIsNegative) { d_cmp_b = A._BigIntImpl__compareDigits(dDigits, abcdUsed, bDigits, abcdUsed); if (d_cmp_b > 0) A._BigIntImpl__absSub(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); else { A._BigIntImpl__absSub(bDigits, abcdUsed, dDigits, abcdUsed, dDigits); dIsNegative = !dIsNegative && d_cmp_b !== 0; } } else A._BigIntImpl__absAdd(dDigits, abcdUsed, bDigits, abcdUsed, dDigits); } i = maxUsed; while (true) { if (!(i > 0 && uDigits[i - 1] === 0)) break; --i; } if (i === 0) break; } i = maxUsed - 1; while (true) { if (!(i > 0 && vDigits[i] === 0)) break; --i; } if (i !== 0 || vDigits[0] !== 1) throw A.wrapException(A.Exception_Exception(_s11_)); if (dIsNegative) { while (true) { if (!(dDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(dDigits, maxUsed, xDigits, maxUsed) > 0)) break; A._BigIntImpl__absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); } A._BigIntImpl__absSub(xDigits, maxUsed, dDigits, maxUsed, dDigits); } else while (true) { if (!(dDigits[maxUsed] !== 0 || A._BigIntImpl__compareDigits(dDigits, maxUsed, xDigits, maxUsed) >= 0)) break; A._BigIntImpl__absSub(dDigits, abcdUsed, xDigits, maxUsed, dDigits); } t1 = A._BigIntImpl__normalize(maxUsed, dDigits); return new A._BigIntImpl(false, dDigits, t1); }, Comparable_compare(a, b) { return J.compareTo$1$ns(a, b); }, 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$_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, seconds) { return new A.Duration(microseconds + 1000 * milliseconds + 1000000 * seconds + 3600000000 * hours + 864e8 * days); }, 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.Error__objectToString(object); }, 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_checkNotNull(argument, $name) { return argument; }, RangeError$(message) { var _null = null; return new A.RangeError(_null, _null, false, _null, _null, message); }, RangeError$value(value, $name, message) { return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message); }, 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_checkValidIndex(index, indexable, $name, $length) { if ($length == null) $length = indexable.get$length(indexable); if (0 > index || index >= $length) throw A.wrapException(A.IndexError$(index, indexable, $name == null ? "index" : $name, null, $length)); return index; }, 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 ? J.get$length$asx(indexable) : $length; return new A.IndexError(t1, true, invalidValue, $name, "Index out of range"); }, 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); }, List_copyRange(target, at, source) { var i, end = A.RangeError_checkValidRange(0, null, source.length, null, null), $length = end - 0; if (target.length < at + $length) throw A.wrapException(A.ArgumentError$value(target, "target", "Not big enough to hold " + $length + " elements at position " + at)); if (source !== target || 0 >= at) for (i = 0; i < $length; ++i) target[at + i] = source[i]; else for (i = $length; --i, i >= 0;) target[at + i] = source[i]; }, 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>")); }, Object_hash(object1, object2, object3, object4) { 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)); } t1 = A.SystemHash_hash4(J.get$hashCode$(object1), J.get$hashCode$(object2), J.get$hashCode$(object3), J.get$hashCode$(object4), $.$get$_hashSeed()); return t1; }, Object_hashAll(objects) { var t1, _i, hash = $.$get$_hashSeed(); for (t1 = objects.length, _i = 0; _i < t1; ++_i) hash = A.SystemHash_combine(hash, B.JSNumber_methods.get$hashCode(objects[_i])); return A.SystemHash_finish(hash); }, print(object) { var line = A.S(object), toZone = $.printToZone; if (toZone == null) A.printString(line); else toZone.call$1(line); }, 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 = ((B.JSString_methods._codeUnitAt$1(uri, start + 4) ^ 58) * 3 | B.JSString_methods._codeUnitAt$1(uri, start) ^ 100 | B.JSString_methods._codeUnitAt$1(uri, start + 1) ^ 97 | B.JSString_methods._codeUnitAt$1(uri, start + 2) ^ 116 | B.JSString_methods._codeUnitAt$1(uri, 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 (!(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_encodeQueryComponent(component, encoding) { return A._Uri__uriEncode(B.List_nxB, component, encoding, true); }, Uri_decodeComponent(encodedComponent) { return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false); }, 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 = B.JSString_methods.codeUnitAt$1(host, i); if (char !== 46) { if ((char ^ 48) > 9) error.call$2("invalid character", i); } else { if (partIndex === 3) error.call$2(_s43_, i); part = 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, error = new A.Uri_parseIPv6Address_error(host), parseHex = new A.Uri_parseIPv6Address_parseHex(error, host); if (host.length < 2) error.call$1("address is too short"); parts = A._setArrayType([], type$.JSArray_int); for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) { char = B.JSString_methods.codeUnitAt$1(host, i); if (char === 58) { if (i === start) { ++i; if (B.JSString_methods.codeUnitAt$1(host, i) !== 58) error.call$2("invalid start colon.", i); partStart = i; } if (i === partStart) { if (wildcardSeen) error.call$2("only one wildcard `::` is allowed", i); parts.push(-1); wildcardSeen = true; } else parts.push(parseHex.call$2(partStart, i)); partStart = i + 1; } else if (char === 46) seenDot = true; } if (parts.length === 0) error.call$1("too few parts"); atEnd = partStart === end; t1 = 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$1("an address with a wildcard must have less than 7 parts"); } else if (parts.length !== 8) error.call$1("an address without a wildcard must contain exactly 8 parts"); bytes = new Uint8Array(16); for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) { value = parts[i]; if (value === -1) for (j = 0; j < wildCardLength; ++j) { bytes[index] = 0; bytes[index + 1] = 0; index += 2; } else { bytes[index] = 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(host, path, pathSegments, port, queryParameters, scheme, userInfo) { var query, fragment, isFile, t1, hasAuthority, t2; scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length); userInfo = A._Uri__makeUserInfo(userInfo, 0, userInfo == null ? 0 : userInfo.length); host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false); query = A._Uri__makeQuery(null, 0, 0, queryParameters); fragment = A._Uri__makeFragment(null, 0, 0); port = A._Uri__makePort(port, 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, pathSegments, 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__compareScheme(scheme, uri) { var t1, i, schemeChar, uriChar, delta, lowerChar; for (t1 = scheme.length, i = 0; i < t1; ++i) { schemeChar = B.JSString_methods._codeUnitAt$1(scheme, i); uriChar = B.JSString_methods._codeUnitAt$1(uri, i); delta = schemeChar ^ uriChar; if (delta !== 0) { if (delta === 32) { lowerChar = uriChar | delta; if (97 <= lowerChar && lowerChar <= 122) continue; } return false; } } return true; }, _Uri__fail(uri, index, message) { throw A.wrapException(A.FormatException$(message, uri, index)); }, _Uri__makeHttpUri(scheme, authority, unencodedPath, queryParameters) { var userInfo, hostStart, i, hostEnd, escapeForZoneID, char, hostEnd0, t2, port, portString, host, _null = null, t1 = authority.length; if (t1 !== 0) { i = 0; while (true) { if (!(i < t1)) { userInfo = ""; hostStart = 0; break; } if (B.JSString_methods._codeUnitAt$1(authority, i) === 64) { userInfo = B.JSString_methods.substring$2(authority, 0, i); hostStart = i + 1; break; } ++i; } if (hostStart < t1 && B.JSString_methods._codeUnitAt$1(authority, hostStart) === 91) { for (hostEnd = hostStart, escapeForZoneID = -1; hostEnd < t1; ++hostEnd) { char = B.JSString_methods._codeUnitAt$1(authority, hostEnd); if (char === 37 && escapeForZoneID < 0) { hostEnd0 = B.JSString_methods.startsWith$2(authority, "25", hostEnd + 1) ? hostEnd + 2 : hostEnd; escapeForZoneID = hostEnd; hostEnd = hostEnd0; } else if (char === 93) break; } if (hostEnd === t1) throw A.wrapException(A.FormatException$("Invalid IPv6 host entry.", authority, hostStart)); t2 = escapeForZoneID < 0 ? hostEnd : escapeForZoneID; A.Uri_parseIPv6Address(authority, hostStart + 1, t2); ++hostEnd; if (hostEnd !== t1 && B.JSString_methods._codeUnitAt$1(authority, hostEnd) !== 58) throw A.wrapException(A.FormatException$("Invalid end of authority", authority, hostEnd)); } else hostEnd = hostStart; while (true) { if (!(hostEnd < t1)) { port = _null; break; } if (B.JSString_methods._codeUnitAt$1(authority, hostEnd) === 58) { portString = B.JSString_methods.substring$1(authority, hostEnd + 1); port = portString.length !== 0 ? A.int_parse(portString, _null) : _null; break; } ++hostEnd; } host = B.JSString_methods.substring$2(authority, hostStart, hostEnd); } else { port = _null; host = port; userInfo = ""; } return A._Uri__Uri(host, _null, A._setArrayType(unencodedPath.split("/"), type$.JSArray_String), port, queryParameters, scheme, userInfo); }, _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; for (t1 = A.SubListIterable$(segments, firstSegment, null, A._arrayInstanceType(segments)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', true, false); 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__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 (B.JSString_methods.codeUnitAt$1(host, start) === 91) { t1 = end - 1; if (B.JSString_methods.codeUnitAt$1(host, 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 (B.JSString_methods.codeUnitAt$1(host, 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 = B.JSString_methods.codeUnitAt$1(host, 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_nxB[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 = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; slice = 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 = B.JSString_methods.codeUnitAt$1(host, 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_qNA[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_2Vk[char >>> 4] & 1 << (char & 15)) !== 0) A._Uri__fail(host, index, "Invalid character"); else { if ((char & 64512) === 55296 && index + 1 < end) { tail = B.JSString_methods.codeUnitAt$1(host, index + 1); if ((tail & 64512) === 56320) { char = (char & 1023) << 10 | tail & 1023 | 65536; sourceLength = 2; } else sourceLength = 1; } else sourceLength = 1; slice = 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(B.JSString_methods._codeUnitAt$1(scheme, start))) A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character"); for (i = start, containsUpperCase = false; i < end; ++i) { codeUnit = B.JSString_methods._codeUnitAt$1(scheme, i); if (!(codeUnit < 128 && (B.List_JYB[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_gRj, false); }, _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) { var result, isFile = scheme === "file", ensureLeadingSlash = isFile || hasAuthority; if (path == null) { if (pathSegments == null) return isFile ? "/" : ""; result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/"); } else if (pathSegments != null) throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null)); else result = A._Uri__normalizeOrSubstring(path, start, end, B.List_qg4, 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, "/")) return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority); return A._Uri__removeDotSegments(path); }, _Uri__makeQuery(query, start, end, queryParameters) { var result, t1 = {}; 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_CVk, true); } if (queryParameters == null) return null; result = new A.StringBuffer(""); t1.separator = ""; J.forEach$1$ax(queryParameters, new A._Uri__makeQuery_closure(new A._Uri__makeQuery_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_CVk, true); }, _Uri__normalizeEscape(source, index, lowerCase) { var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value, t1 = index + 2; if (t1 >= source.length) return "%"; firstDigit = B.JSString_methods.codeUnitAt$1(source, index + 1); secondDigit = B.JSString_methods.codeUnitAt$1(source, t1); firstDigitValue = A.hexDigitValue(firstDigit); secondDigitValue = A.hexDigitValue(secondDigit); if (firstDigitValue < 0 || secondDigitValue < 0) return "%"; value = firstDigitValue * 16 + secondDigitValue; if (value < 127 && (B.List_nxB[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] = B.JSString_methods._codeUnitAt$1(_s16_, char >>> 4); codeUnits[2] = B.JSString_methods._codeUnitAt$1(_s16_, char & 15); } else { if (char > 2047) if (char > 65535) { flag = 240; encodedBytes = 4; } else { flag = 224; encodedBytes = 3; } else { flag = 192; encodedBytes = 2; } codeUnits = new Uint8Array(3 * encodedBytes); for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) { byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag; codeUnits[index] = 37; codeUnits[index + 1] = B.JSString_methods._codeUnitAt$1(_s16_, byte >>> 4); codeUnits[index + 2] = B.JSString_methods._codeUnitAt$1(_s16_, byte & 15); index += 3; } } return A.String_String$fromCharCodes(codeUnits, 0, null); }, _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters) { var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters); return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1; }, _Uri__normalize(component, start, end, charTable, escapeDelimiters) { var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, _null = null; for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) { char = B.JSString_methods.codeUnitAt$1(component, 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 (t1 && char <= 93 && (B.List_2Vk[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 = B.JSString_methods.codeUnitAt$1(component, 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; t2._contents += B.JSString_methods.substring$2(component, sectionStart, index); t2._contents += 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(B.JSString_methods._codeUnitAt$1(path, 0))) for (i = 1; i < t1; ++i) { char = B.JSString_methods._codeUnitAt$1(path, 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_JYB[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__hexCharPairToByte(s, pos) { var byte, i, charCode; for (byte = 0, i = 0; i < 2; ++i) { charCode = B.JSString_methods.codeUnitAt$1(s, pos + i); if (48 <= charCode && charCode <= 57) byte = byte * 16 + charCode - 48; else { charCode |= 32; if (97 <= charCode && charCode <= 102) byte = byte * 16 + charCode - 87; else throw 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 = B.JSString_methods.codeUnitAt$1(text, i); if (codeUnit <= 127) if (codeUnit !== 37) t1 = false; else t1 = true; else t1 = true; if (t1) { simple = false; break; } ++i; } if (simple) if (B.C_Utf8Codec === encoding || B.C_Latin1Codec === encoding || B.C_AsciiCodec === encoding) 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 = B.JSString_methods.codeUnitAt$1(text, 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 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.get$scheme() !== "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 = B.JSString_methods._codeUnitAt$1(text, 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 = B.JSString_methods._codeUnitAt$1(text, i); if (char === 61) { if (equalsIndex < 0) equalsIndex = i; } else if (char === 59 || char === 44) break; } if (equalsIndex >= 0) indices.push(equalsIndex); else { lastSeparator = 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.Base64Codec_Base64Encoder_false.normalize$3(0, text, t2, t1); else { data = A._Uri__normalize(text, t2, t1, B.List_CVk, true); 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 = "#", 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, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(14, 225); t2.call$3(b, _s77_, 1); t2.call$3(b, _s1_, 15); t2.call$3(b, _s1_0, 34); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(15, 225); t2.call$3(b, _s77_, 1); t2.call$3(b, "%", 225); t2.call$3(b, _s1_0, 34); t2.call$3(b, _s1_1, 9); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(1, 225); t2.call$3(b, _s77_, 1); t2.call$3(b, _s1_0, 34); t2.call$3(b, _s1_1, 10); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(2, 235); t2.call$3(b, _s77_, 139); t2.call$3(b, _s1_1, 131); t2.call$3(b, _s1_, 146); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(3, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_1, 68); t2.call$3(b, _s1_, 18); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(4, 229); t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); t2.call$3(b, _s1_0, 102); t2.call$3(b, "@", 68); t2.call$3(b, "[", 232); t2.call$3(b, _s1_1, 138); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(5, 229); t2.call$3(b, _s77_, 5); t3.call$3(b, "AZ", 229); t2.call$3(b, _s1_0, 102); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(6, 231); t3.call$3(b, "19", 7); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(7, 231); t3.call$3(b, "09", 7); t2.call$3(b, "@", 68); t2.call$3(b, _s1_1, 138); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); t2.call$3(t1.call$2(8, 8), "]", 5); b = t1.call$2(9, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 16); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(16, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 17); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(17, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_1, 9); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(10, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 18); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(18, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_, 19); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(19, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_1, 234); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(11, 235); t2.call$3(b, _s77_, 11); t2.call$3(b, _s1_1, 10); t2.call$3(b, _s1_2, 172); t2.call$3(b, _s1_3, 205); b = t1.call$2(12, 236); t2.call$3(b, _s77_, 12); t2.call$3(b, _s1_2, 12); t2.call$3(b, _s1_3, 205); b = t1.call$2(13, 237); t2.call$3(b, _s77_, 13); t2.call$3(b, _s1_2, 13); t3.call$3(t1.call$2(20, 245), "az", 21); b = t1.call$2(21, 245); t3.call$3(b, "az", 21); t3.call$3(b, "09", 21); t2.call$3(b, "+-.", 21); return tables; }, _scan(uri, start, end, state, indices) { var i, table, char, transition, tables = $.$get$_scannerTables(); for (i = start; i < end; ++i) { table = tables[state]; char = B.JSString_methods._codeUnitAt$1(uri, 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; }, _skipPackageNameChars(source, start, end) { var i, dots, char; for (i = start, dots = 0; i < end; ++i) { char = B.JSString_methods.codeUnitAt$1(source, i); if (char === 47) return dots !== 0 ? i : -1; if (char === 37 || char === 58) return -1; dots |= char ^ 46; } return -1; }, _symbolMapToStringMap_closure: function _symbolMapToStringMap_closure(t0) { this.result = t0; }, NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) { this._box_0 = t0; this.sb = t1; }, _BigIntImpl: function _BigIntImpl(t0, t1, t2) { this._isNegative = t0; this._digits = t1; this._used = t2; }, _BigIntImpl_hashCode_combine: function _BigIntImpl_hashCode_combine() { }, _BigIntImpl_hashCode_finish: function _BigIntImpl_hashCode_finish() { }, _BigIntImpl_toDouble_readBits: function _BigIntImpl_toDouble_readBits(t0, t1) { this._box_0 = t0; this.$this = t1; }, _BigIntImpl_toDouble_roundUp: function _BigIntImpl_toDouble_roundUp(t0) { this.resultBits = t0; }, _BigIntClassic: function _BigIntClassic(t0, t1) { this._modulus = t0; this._normalizedModulus = t1; }, Comparable: function Comparable() { }, DateTime: function DateTime(t0, t1) { this._value = t0; this.isUtc = t1; }, DateTime_parse_parseIntOrZero: function DateTime_parse_parseIntOrZero() { }, DateTime_parse_parseMilliAndMicroseconds: function DateTime_parse_parseMilliAndMicroseconds() { }, Duration: function Duration(t0) { this._duration = t0; }, _Enum: function _Enum() { }, Error: function Error() { }, AssertionError: function AssertionError(t0) { this.message = t0; }, TypeError: function TypeError() { }, NullThrownError: function NullThrownError() { }, ArgumentError: function ArgumentError(t0, t1, t2, t3) { var _ = this; _._hasValue = t0; _.invalidValue = t1; _.name = t2; _.message = t3; }, RangeError: function RangeError(t0, t1, t2, t3, t4, t5) { var _ = this; _.start = t0; _.end = t1; _._hasValue = t2; _.invalidValue = t3; _.name = t4; _.message = t5; }, IndexError: function IndexError(t0, t1, t2, t3, t4) { var _ = this; _.length = t0; _._hasValue = t1; _.invalidValue = t2; _.name = t3; _.message = t4; }, NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) { var _ = this; _._core$_receiver = t0; _._memberName = t1; _._core$_arguments = t2; _._namedArguments = t3; }, UnsupportedError: function UnsupportedError(t0) { this.message = t0; }, UnimplementedError: function UnimplementedError(t0) { this.message = t0; }, StateError: function StateError(t0) { this.message = t0; }, ConcurrentModificationError: function ConcurrentModificationError(t0) { this.modifiedObject = t0; }, OutOfMemoryError: function OutOfMemoryError() { }, StackOverflowError: function StackOverflowError() { }, CyclicInitializationError: function CyclicInitializationError(t0) { this.variableName = t0; }, _Exception: function _Exception(t0) { this.message = t0; }, FormatException: function FormatException(t0, t1, t2) { this.message = t0; this.source = t1; this.offset = t2; }, IntegerDivisionByZeroException: function IntegerDivisionByZeroException() { }, Expando: function Expando(t0, t1) { this._jsWeakMap = t0; this.$ti = t1; }, Iterable: function Iterable() { }, 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__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) { this.host = t0; }, Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) { this.host = t0; }, Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) { this.error = t0; this.host = t1; }, _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.scheme = t0; _._userInfo = t1; _._host = t2; _._port = t3; _.path = t4; _._query = t5; _._fragment = t6; _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; }, _Uri__makePath_closure: function _Uri__makePath_closure() { }, _Uri__makeQuery_writeParameter: function _Uri__makeQuery_writeParameter(t0, t1) { this._box_0 = t0; this.result = t1; }, _Uri__makeQuery_closure: function _Uri__makeQuery_closure(t0) { this.writeParameter = t0; }, UriData: function UriData(t0, t1, t2) { this._text = t0; this._separatorIndices = t1; this._uriCache = t2; }, _createTables_build: function _createTables_build(t0) { this.tables = t0; }, _createTables_setChars: function _createTables_setChars() { }, _createTables_setRange: function _createTables_setRange() { }, _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._uri = t0; _._schemeEnd = t1; _._hostStart = t2; _._portStart = t3; _._pathStart = t4; _._queryStart = t5; _._fragmentStart = t6; _._schemeCache = t7; _._hashCodeCache = null; }, _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._core$_data = t0; _.scheme = t1; _._userInfo = t2; _._host = t3; _._port = t4; _.path = t5; _._query = t6; _._fragment = t7; _.___Uri_hashCode = _.___Uri_pathSegments = _.___Uri__text = $; }, _FakeUserTag__FakeUserTag(label) { var t1, existingTag = $._FakeUserTag__instances.$index(0, label); if (existingTag != null) return existingTag; if ($._FakeUserTag__instances.get$length($._FakeUserTag__instances) === 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.ArgumentError_checkNotNull(result, "result"); return new A.ServiceExtensionResponse(); }, ServiceExtensionResponse__validateErrorCode(errorCode) { var _s9_ = "errorCode"; A.ArgumentError_checkNotNull(errorCode, _s9_); if (errorCode === -32602) return; if (errorCode >= -32016 && errorCode <= -32000) return; throw A.wrapException(A.ArgumentError$value(errorCode, _s9_, "Out of range")); }, registerExtension(method, handler) { A.ArgumentError_checkNotNull(method, "method"); 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.ArgumentError_checkNotNull(handler, "handler"); $._extensions.$indexSet(0, method, handler); }, postEvent(eventKind, eventData) { A.ArgumentError_checkNotNull(eventKind, "eventKind"); A.ArgumentError_checkNotNull(eventData, "eventData"); B.C_JsonCodec.encode$1(eventData); }, Timeline_startSync($name, $arguments, flow) { A.ArgumentError_checkNotNull($name, "name"); $.Timeline__stack.push(null); return; }, Timeline_finishSync() { var block, 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; A._argumentsAsJson(block._developer$_arguments); t1 = block._flow; if (t1 != null) { A.S(t1.id); block._flow.toString; A._argumentsAsJson(null); } }, Timeline_instantSync($name, $arguments) { A.ArgumentError_checkNotNull($name, "name"); return; }, Timeline_timeSync($name, $function, flow) { var t1; A.Timeline_startSync($name, null, flow); try { t1 = $function.call$0(); return t1; } finally { A.Timeline_finishSync(); } }, _argumentsAsJson($arguments) { if ($arguments == null || $arguments.get$length($arguments) === 0) return "{}"; return B.C_JsonCodec.encode$1($arguments); }, _FakeUserTag: function _FakeUserTag() { }, ServiceExtensionResponse: function ServiceExtensionResponse() { }, TimelineTask: function TimelineTask(t0, t1, t2, t3) { var _ = this; _._developer$_parent = t0; _._filterKey = t1; _._taskId = t2; _._stack = t3; }, window() { return window; }, document() { return document; }, AnchorElement_AnchorElement() { var e = document.createElement("a"); return e; }, Blob_Blob(blobParts) { var t1 = new self.Blob(blobParts); return t1; }, CanvasElement_CanvasElement(height, width) { var e = document.createElement("canvas"); if (width != null) e.width = width; if (height != null) e.height = height; return e; }, _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)); }, _ChildrenElementList__remove(_element, object) { return false; }, _ChildrenElementList__first(_element) { var result = _element.firstElementChild; if (result == null) throw A.wrapException(A.StateError$("No elements")); return result; }, Element_Element$html(html, treeSanitizer, validator) { var t1 = document.body; t1.toString; t1 = new A.WhereIterable(new A._ChildNodeListLazy(B.BodyElement_methods.createFragment$3$treeSanitizer$validator(t1, html, treeSanitizer, validator)), new A.Element_Element$html_closure(), type$._ChildNodeListLazy._eval$1("WhereIterable<ListMixin.E>")); return type$.Element._as(t1.get$single(t1)); }, Element_Element$tag(tag) { return A._ElementFactoryProvider_createElement_tag(tag, null); }, Element__safeTagName(element) { var t1, exception, result = "element tag unavailable"; try { t1 = J.getInterceptor$x(element); t1.get$tagName(element); result = t1.get$tagName(element); } catch (exception) { } return result; }, _ElementFactoryProvider_createElement_tag(tag, typeExtension) { return document.createElement(tag); }, FontFace_FontFace(family, source, descriptors) { var t1 = new FontFace(family, source, A.convertDartToNative_Dictionary(descriptors)); return t1; }, HttpRequest_request(url, requestHeaders, responseType) { var t2, t1 = new A._Future($.Zone__current, type$._Future_HttpRequest), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_HttpRequest), xhr = new XMLHttpRequest(); B.HttpRequest_methods.open$3$async(xhr, "GET", url, true); if (responseType != null) xhr.responseType = responseType; t2 = type$.ProgressEvent; A._EventStreamSubscription$(xhr, "load", new A.HttpRequest_request_closure(xhr, completer), false, t2); A._EventStreamSubscription$(xhr, "error", completer.get$completeError(), false, t2); xhr.send(); return t1; }, ImageElement_ImageElement() { var e = document.createElement("img"); return e; }, InputElement_InputElement(type) { var exception, t1 = document.createElement("input"), e = type$.InputElement._as(t1); if (type != null) try { e.type = type; } catch (exception) { } return e; }, ScriptElement_ScriptElement() { return document.createElement("script"); }, _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; }, _Html5NodeValidator$(uriPolicy) { var t1 = A.AnchorElement_AnchorElement(), t2 = window.location; t1 = new A._Html5NodeValidator(new A._SameOriginUriPolicy(t1, t2)); t1._Html5NodeValidator$1$uriPolicy(uriPolicy); return t1; }, _Html5NodeValidator__standardAttributeValidator(element, attributeName, value, context) { return true; }, _Html5NodeValidator__uriAttributeValidator(element, attributeName, value, context) { return context.uriPolicy.allowsUri$1(value); }, _CustomElementNodeValidator$(uriPolicy, allowedElements, allowedAttributes, allowedUriAttributes, allowTypeExtension, allowCustomTag) { var t1 = type$.String; t1 = new A._CustomElementNodeValidator(false, true, A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), uriPolicy); t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes); return t1; }, _TemplatingNodeValidator$() { var t1 = type$.String, t2 = A.LinkedHashSet_LinkedHashSet$from(B.List_wSV, t1), t3 = A._setArrayType(["TEMPLATE"], type$.JSArray_String); t1 = new A._TemplatingNodeValidator(t2, A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), A.LinkedHashSet_LinkedHashSet(t1), null); t1._SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(null, new A.MappedListIterable(B.List_wSV, new A._TemplatingNodeValidator_closure(), type$.MappedListIterable_String_String), t3, null); return t1; }, _convertNativeToDart_EventTarget(e) { var $window; if ("postMessage" in e) { $window = A._DOMWindowCrossFrame__createSafe(e); return $window; } else return e; }, _convertNativeToDart_XHR_Response(o) { if (type$.Document_2._is(o)) return o; return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(o, true); }, _DOMWindowCrossFrame__createSafe(w) { if (w === window) return w; else return new A._DOMWindowCrossFrame(w); }, _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() { }, AreaElement: function AreaElement() { }, BackgroundFetchEvent: function BackgroundFetchEvent() { }, BackgroundFetchRegistration: function BackgroundFetchRegistration() { }, BaseElement: function BaseElement() { }, Blob: function Blob() { }, BlobEvent: function BlobEvent() { }, BluetoothRemoteGattDescriptor: function BluetoothRemoteGattDescriptor() { }, Body: function Body() { }, BodyElement: function BodyElement() { }, BroadcastChannel: function BroadcastChannel() { }, ButtonElement: function ButtonElement() { }, CanvasElement: function CanvasElement() { }, CanvasElement_toBlob_closure: function CanvasElement_toBlob_closure(t0) { this.completer = t0; }, CanvasRenderingContext2D: function CanvasRenderingContext2D() { }, CharacterData: function CharacterData() { }, Client: function Client() { }, CompositionEvent: function CompositionEvent() { }, Credential: function Credential() { }, CredentialUserData: function CredentialUserData() { }, CssKeyframesRule: function CssKeyframesRule() { }, CssKeywordValue: function CssKeywordValue() { }, CssNumericValue: function CssNumericValue() { }, CssPerspective: function CssPerspective() { }, CssRule: function CssRule() { }, CssStyleDeclaration: function CssStyleDeclaration() { }, CssStyleDeclarationBase: function CssStyleDeclarationBase() { }, CssStyleSheet: function CssStyleSheet() { }, CssStyleValue: function CssStyleValue() { }, CssTransformComponent: function CssTransformComponent() { }, CssTransformValue: function CssTransformValue() { }, CssUnitValue: function CssUnitValue() { }, CssUnparsedValue: function CssUnparsedValue() { }, DataElement: function DataElement() { }, DataTransferItemList: function DataTransferItemList() { }, DivElement: function DivElement() { }, Document2: function Document2() { }, DomError: function DomError() { }, DomException: function DomException() { }, DomRectList: function DomRectList() { }, DomRectReadOnly: function DomRectReadOnly() { }, DomStringList: function DomStringList() { }, DomTokenList: function DomTokenList() { }, _ChildrenElementList: function _ChildrenElementList(t0, t1) { this._html$_element = t0; this._html$_childElements = t1; }, _FrozenElementList: function _FrozenElementList(t0, t1) { this._nodeList = t0; this.$ti = t1; }, Element2: function Element2() { }, Element_Element$html_closure: function Element_Element$html_closure() { }, EmbedElement: function EmbedElement() { }, Entry: function Entry() { }, Entry_remove_closure: function Entry_remove_closure(t0) { this.completer = t0; }, Entry_remove_closure0: function Entry_remove_closure0(t0) { this.completer = t0; }, Event: function Event() { }, EventTarget: function EventTarget() { }, ExtendableEvent: function ExtendableEvent() { }, ExtendableMessageEvent: function ExtendableMessageEvent() { }, FederatedCredential: function FederatedCredential() { }, FieldSetElement: function FieldSetElement() { }, File: function File() { }, FileList: function FileList() { }, FileReader: function FileReader() { }, FileSystem: function FileSystem() { }, FileWriter: function FileWriter() { }, FontFace: function FontFace() { }, FormElement: function FormElement() { }, Gamepad: function Gamepad() { }, GamepadButton: function GamepadButton() { }, History: function History() { }, HtmlCollection: function HtmlCollection() { }, HttpRequest: function HttpRequest() { }, HttpRequest_request_closure: function HttpRequest_request_closure(t0, t1) { this.xhr = t0; this.completer = t1; }, HttpRequestEventTarget: function HttpRequestEventTarget() { }, IFrameElement: function IFrameElement() { }, ImageData: function ImageData() { }, ImageElement: function ImageElement() { }, InputElement: function InputElement() { }, KeyboardEvent: function KeyboardEvent() { }, LIElement: function LIElement() { }, LabelElement: function LabelElement() { }, Location: function Location() { }, MapElement: function MapElement() { }, MediaElement: function MediaElement() { }, MediaKeySession: function MediaKeySession() { }, MediaList: function MediaList() { }, MediaQueryList: function MediaQueryList() { }, MediaQueryListEvent: function MediaQueryListEvent() { }, MediaStream: function MediaStream() { }, MediaStreamTrack: function MediaStreamTrack() { }, MessageEvent: function MessageEvent() { }, MessagePort: function MessagePort() { }, MetaElement: function MetaElement() { }, MeterElement: function MeterElement() { }, MidiInputMap: function MidiInputMap() { }, MidiInputMap_keys_closure: function MidiInputMap_keys_closure(t0) { this.keys = t0; }, MidiInputMap_values_closure: function MidiInputMap_values_closure(t0) { this.values = t0; }, MidiMessageEvent: function MidiMessageEvent() { }, 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() { }, NavigatorUserMediaError: function NavigatorUserMediaError() { }, _ChildNodeListLazy: function _ChildNodeListLazy(t0) { this._this = t0; }, Node1: function Node1() { }, NodeList0: function NodeList0() { }, Notification: function Notification() { }, ObjectElement: function ObjectElement() { }, OffscreenCanvas: function OffscreenCanvas() { }, OptionElement: function OptionElement() { }, OutputElement: function OutputElement() { }, OverconstrainedError: function OverconstrainedError() { }, ParagraphElement: function ParagraphElement() { }, ParamElement: function ParamElement() { }, PasswordCredential: function PasswordCredential() { }, PaymentRequest: function PaymentRequest() { }, PerformanceEntry: function PerformanceEntry() { }, PerformanceServerTiming: function PerformanceServerTiming() { }, Plugin: function Plugin() { }, PluginArray: function PluginArray() { }, PointerEvent: function PointerEvent() { }, PresentationAvailability: function PresentationAvailability() { }, PresentationConnection: function PresentationConnection() { }, ProgressElement: function ProgressElement() { }, ProgressEvent: function ProgressEvent() { }, PushEvent: function PushEvent() { }, PushMessageData: function PushMessageData() { }, RelatedApplication: function RelatedApplication() { }, RtcDataChannel: function RtcDataChannel() { }, RtcLegacyStatsReport: function RtcLegacyStatsReport() { }, RtcStatsReport: function RtcStatsReport() { }, RtcStatsReport_keys_closure: function RtcStatsReport_keys_closure(t0) { this.keys = t0; }, RtcStatsReport_values_closure: function RtcStatsReport_values_closure(t0) { this.values = t0; }, ScreenOrientation: function ScreenOrientation() { }, ScriptElement: function ScriptElement() { }, SelectElement: function SelectElement() { }, SharedWorkerGlobalScope: function SharedWorkerGlobalScope() { }, SlotElement: function SlotElement() { }, SourceBuffer: function SourceBuffer() { }, SourceBufferList: function SourceBufferList() { }, SpeechGrammar: function SpeechGrammar() { }, SpeechGrammarList: function SpeechGrammarList() { }, SpeechRecognitionResult: function SpeechRecognitionResult() { }, SpeechSynthesisEvent: function SpeechSynthesisEvent() { }, SpeechSynthesisUtterance: function SpeechSynthesisUtterance() { }, SpeechSynthesisVoice: function SpeechSynthesisVoice() { }, 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; }, StyleElement: function StyleElement() { }, StyleSheet0: function StyleSheet0() { }, TableElement: function TableElement() { }, TableRowElement: function TableRowElement() { }, TableSectionElement: function TableSectionElement() { }, TemplateElement: function TemplateElement() { }, TextAreaElement: function TextAreaElement() { }, TextEvent: function TextEvent() { }, TextTrack: function TextTrack() { }, TextTrackCue: function TextTrackCue() { }, TextTrackCueList: function TextTrackCueList() { }, TextTrackList: function TextTrackList() { }, TimeRanges: function TimeRanges() { }, Touch: function Touch() { }, TouchEvent: function TouchEvent() { }, TouchList: function TouchList() { }, TrackDefaultList: function TrackDefaultList() { }, UIEvent: function UIEvent() { }, Url: function Url() { }, VRDisplay: function VRDisplay() { }, VideoElement: function VideoElement() { }, VideoTrack: function VideoTrack() { }, VideoTrackList: function VideoTrackList() { }, VttCue: function VttCue() { }, VttRegion: function VttRegion() { }, WheelEvent: function WheelEvent() { }, Window: function Window() { }, WorkerGlobalScope: function WorkerGlobalScope() { }, _Attr: function _Attr() { }, _CssRuleList: function _CssRuleList() { }, _DomRect: function _DomRect() { }, _GamepadList: function _GamepadList() { }, _NamedNodeMap: function _NamedNodeMap() { }, _SpeechRecognitionResultList: function _SpeechRecognitionResultList() { }, _StyleSheetList: function _StyleSheetList() { }, _AttributeMap: function _AttributeMap() { }, _ElementAttributeMap: function _ElementAttributeMap(t0) { this._html$_element = t0; }, 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; _._onData = t2; _._useCapture = t3; _.$ti = t4; }, _EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) { this.onData = t0; }, _EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) { this.handleData = t0; }, _Html5NodeValidator: function _Html5NodeValidator(t0) { this.uriPolicy = t0; }, ImmutableListMixin: function ImmutableListMixin() { }, NodeValidatorBuilder: function NodeValidatorBuilder(t0) { this._validators = t0; }, NodeValidatorBuilder_allowCustomElement_closure: function NodeValidatorBuilder_allowCustomElement_closure(t0) { this.tagNameUpper = t0; }, NodeValidatorBuilder_allowsElement_closure: function NodeValidatorBuilder_allowsElement_closure(t0) { this.element = t0; }, NodeValidatorBuilder_allowsAttribute_closure: function NodeValidatorBuilder_allowsAttribute_closure(t0, t1, t2) { this.element = t0; this.attributeName = t1; this.value = t2; }, _SimpleNodeValidator: function _SimpleNodeValidator() { }, _SimpleNodeValidator_closure: function _SimpleNodeValidator_closure() { }, _SimpleNodeValidator_closure0: function _SimpleNodeValidator_closure0() { }, _CustomElementNodeValidator: function _CustomElementNodeValidator(t0, t1, t2, t3, t4, t5) { var _ = this; _.allowTypeExtension = t0; _.allowCustomTag = t1; _.allowedElements = t2; _.allowedAttributes = t3; _.allowedUriAttributes = t4; _.uriPolicy = t5; }, _TemplatingNodeValidator: function _TemplatingNodeValidator(t0, t1, t2, t3, t4) { var _ = this; _._templateAttrs = t0; _.allowedElements = t1; _.allowedAttributes = t2; _.allowedUriAttributes = t3; _.uriPolicy = t4; }, _TemplatingNodeValidator_closure: function _TemplatingNodeValidator_closure() { }, _SvgNodeValidator: function _SvgNodeValidator() { }, FixedSizeListIterator: function FixedSizeListIterator(t0, t1, t2) { var _ = this; _._array = t0; _._length = t1; _._position = -1; _._current = null; _.$ti = t2; }, Console: function Console() { }, _DOMWindowCrossFrame: function _DOMWindowCrossFrame(t0) { this._html$_window = t0; }, _SameOriginUriPolicy: function _SameOriginUriPolicy(t0, t1) { this._hiddenAnchor = t0; this._loc = t1; }, _ValidatingTreeSanitizer: function _ValidatingTreeSanitizer(t0) { this.validator = t0; this.numTreeModifications = 0; }, _ValidatingTreeSanitizer_sanitizeTree_walk: function _ValidatingTreeSanitizer_sanitizeTree_walk(t0) { this.$this = t0; }, _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase: function _CssStyleDeclaration_Interceptor_CssStyleDeclarationBase() { }, _DomRectList_Interceptor_ListMixin: function _DomRectList_Interceptor_ListMixin() { }, _DomRectList_Interceptor_ListMixin_ImmutableListMixin: function _DomRectList_Interceptor_ListMixin_ImmutableListMixin() { }, _DomStringList_Interceptor_ListMixin: function _DomStringList_Interceptor_ListMixin() { }, _DomStringList_Interceptor_ListMixin_ImmutableListMixin: function _DomStringList_Interceptor_ListMixin_ImmutableListMixin() { }, _FileList_Interceptor_ListMixin: function _FileList_Interceptor_ListMixin() { }, _FileList_Interceptor_ListMixin_ImmutableListMixin: function _FileList_Interceptor_ListMixin_ImmutableListMixin() { }, _HtmlCollection_Interceptor_ListMixin: function _HtmlCollection_Interceptor_ListMixin() { }, _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin: function _HtmlCollection_Interceptor_ListMixin_ImmutableListMixin() { }, _MidiInputMap_Interceptor_MapMixin: function _MidiInputMap_Interceptor_MapMixin() { }, _MidiOutputMap_Interceptor_MapMixin: function _MidiOutputMap_Interceptor_MapMixin() { }, _MimeTypeArray_Interceptor_ListMixin: function _MimeTypeArray_Interceptor_ListMixin() { }, _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin: function _MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin() { }, _NodeList_Interceptor_ListMixin: function _NodeList_Interceptor_ListMixin() { }, _NodeList_Interceptor_ListMixin_ImmutableListMixin: function _NodeList_Interceptor_ListMixin_ImmutableListMixin() { }, _PluginArray_Interceptor_ListMixin: function _PluginArray_Interceptor_ListMixin() { }, _PluginArray_Interceptor_ListMixin_ImmutableListMixin: function _PluginArray_Interceptor_ListMixin_ImmutableListMixin() { }, _RtcStatsReport_Interceptor_MapMixin: function _RtcStatsReport_Interceptor_MapMixin() { }, _SourceBufferList_EventTarget_ListMixin: function _SourceBufferList_EventTarget_ListMixin() { }, _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin: function _SourceBufferList_EventTarget_ListMixin_ImmutableListMixin() { }, _SpeechGrammarList_Interceptor_ListMixin: function _SpeechGrammarList_Interceptor_ListMixin() { }, _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin: function _SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin() { }, _Storage_Interceptor_MapMixin: function _Storage_Interceptor_MapMixin() { }, _TextTrackCueList_Interceptor_ListMixin: function _TextTrackCueList_Interceptor_ListMixin() { }, _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin: function _TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin() { }, _TextTrackList_EventTarget_ListMixin: function _TextTrackList_EventTarget_ListMixin() { }, _TextTrackList_EventTarget_ListMixin_ImmutableListMixin: function _TextTrackList_EventTarget_ListMixin_ImmutableListMixin() { }, _TouchList_Interceptor_ListMixin: function _TouchList_Interceptor_ListMixin() { }, _TouchList_Interceptor_ListMixin_ImmutableListMixin: function _TouchList_Interceptor_ListMixin_ImmutableListMixin() { }, __CssRuleList_Interceptor_ListMixin: function __CssRuleList_Interceptor_ListMixin() { }, __CssRuleList_Interceptor_ListMixin_ImmutableListMixin: function __CssRuleList_Interceptor_ListMixin_ImmutableListMixin() { }, __GamepadList_Interceptor_ListMixin: function __GamepadList_Interceptor_ListMixin() { }, __GamepadList_Interceptor_ListMixin_ImmutableListMixin: function __GamepadList_Interceptor_ListMixin_ImmutableListMixin() { }, __NamedNodeMap_Interceptor_ListMixin: function __NamedNodeMap_Interceptor_ListMixin() { }, __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin: function __NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin() { }, __SpeechRecognitionResultList_Interceptor_ListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin() { }, __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin: function __SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin() { }, __StyleSheetList_Interceptor_ListMixin: function __StyleSheetList_Interceptor_ListMixin() { }, __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin: function __StyleSheetList_Interceptor_ListMixin_ImmutableListMixin() { }, _convertNativeToDart_Value(value) { var 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); if (Array.isArray(value)) { values = []; for (i = 0; i < value.length; ++i) values.push(A._convertNativeToDart_Value(value[i])); return values; } return value; }, convertNativeToDart_Dictionary(object) { var dict, keys, t1, _i, key; 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]; dict.$indexSet(0, key, A._convertNativeToDart_Value(object[key])); } return dict; }, _convertDartToNative_Value(value) { var array; if (value == null) return value; if (typeof value == "string" || typeof value == "number" || A._isBool(value)) return value; if (type$.Map_dynamic_dynamic._is(value)) return A.convertDartToNative_Dictionary(value); if (type$.List_dynamic._is(value)) { array = []; J.forEach$1$ax(value, new A._convertDartToNative_Value_closure(array)); value = array; } return value; }, convertDartToNative_Dictionary(dict) { var object = {}; J.forEach$1$ax(dict, new A.convertDartToNative_Dictionary_closure(object)); return object; }, isJavaScriptSimpleObject(value) { var proto = Object.getPrototypeOf(value); return proto === Object.prototype || proto === null; }, Device_userAgent() { return window.navigator.userAgent; }, _StructuredClone: function _StructuredClone() { }, _StructuredClone_walk_closure: function _StructuredClone_walk_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _StructuredClone_walk_closure0: function _StructuredClone_walk_closure0(t0, t1) { this._box_0 = t0; this.$this = t1; }, _AcceptStructuredClone: function _AcceptStructuredClone() { }, _AcceptStructuredClone_walk_closure: function _AcceptStructuredClone_walk_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _convertDartToNative_Value_closure: function _convertDartToNative_Value_closure(t0) { this.array = t0; }, convertDartToNative_Dictionary_closure: function convertDartToNative_Dictionary_closure(t0) { this.object = t0; }, _StructuredCloneDart2Js: function _StructuredCloneDart2Js(t0, t1) { this.values = t0; this.copies = t1; }, _AcceptStructuredCloneDart2Js: function _AcceptStructuredCloneDart2Js(t0, t1) { this.values = t0; this.copies = t1; this.mustCopy = false; }, 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() { }, Index: function Index() { }, KeyRange: function KeyRange() { }, ObjectStore: function ObjectStore() { }, Observation: function Observation() { }, VersionChangeEvent: function VersionChangeEvent() { }, _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")); }, _Platform__operatingSystem() { throw A.wrapException(A.UnsupportedError$("Platform._operatingSystem")); }, Process_run(executable, $arguments) { throw A.wrapException(A.UnsupportedError$("Process.run")); }, _exceptionFromResponse(response, message, path) { var t1 = J.getInterceptor$asx(response); switch (t1.$index(response, 0)) { case 1: return new A.ArgumentError(false, null, null, message + ": " + path); case 2: return new A.FileSystemException(message, path, new A.OSError(t1.$index(response, 2), t1.$index(response, 1))); case 3: return new A.FileSystemException("File closed", path, null); default: return new A._Exception("Unknown error"); } }, 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); }, _File__namespacePointer() { return A._Namespace__namespacePointer(); }, _File__dispatchWithNamespace(request, data) { data[0] = A._File__namespacePointer(); }, 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() { var t1 = $.Zone__current.$index(0, $.$get$_ioOverridesToken()); return t1 == null ? null : t1; }, _Platform_operatingSystem() { return A._Platform__operatingSystem(); }, OSError: function OSError(t0, t1) { this.message = t0; this.errorCode = t1; }, FileMode: function FileMode(t0) { this._io$_mode = t0; }, FileSystemException: function FileSystemException(t0, t1, t2) { this.message = t0; this.path = t1; this.osError = t2; }, _FileStream: function _FileStream(t0, t1, t2, t3) { var _ = this; _.___FileStream__controller = $; _._io$_path = t0; _.___FileStream__openedFile = $; _._io$_position = t1; _._io$_end = t2; _._closeCompleter = t3; _._unsubscribed = false; _._readInProgress = true; _._atEnd = _._io$_closed = false; }, _FileStream_listen_closure: function _FileStream_listen_closure(t0) { this.$this = t0; }, _FileStream__closeFile_done: function _FileStream__closeFile_done(t0) { this.$this = t0; }, _FileStream__readBlock_closure: function _FileStream__readBlock_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _FileStream__readBlock_closure0: function _FileStream__readBlock_closure0(t0) { this.$this = t0; }, _FileStream__start_onReady: function _FileStream__start_onReady(t0) { this.$this = t0; }, _FileStream__start_onOpenFile: function _FileStream__start_onOpenFile(t0, t1) { this.$this = t0; this.onReady = t1; }, _FileStream__start_onOpenFile_closure: function _FileStream__start_onOpenFile_closure(t0) { this.$this = t0; }, _FileStream__start_openFailed: function _FileStream__start_openFailed(t0) { this.$this = t0; }, _File: function _File(t0, t1) { this._io$_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_readDataChunked: function _File_readAsBytes_readDataChunked() { }, _File_readAsBytes_readDataChunked_read: function _File_readAsBytes_readDataChunked_read(t0, t1, t2) { this.file = t0; this.builder = t1; this.completer = t2; }, _File_readAsBytes_readDataChunked_read_closure: function _File_readAsBytes_readDataChunked_read_closure(t0, t1, t2) { this.builder = t0; this.read = t1; this.completer = t2; }, _File_readAsBytes_closure: function _File_readAsBytes_closure(t0) { this.readDataChunked = t0; }, _File_readAsBytes__closure: function _File_readAsBytes__closure(t0, t1) { this.readDataChunked = t0; this.file = t1; }, _RandomAccessFile_close_closure: function _RandomAccessFile_close_closure(t0) { this.$this = t0; }, _RandomAccessFile_read_closure: function _RandomAccessFile_read_closure(t0) { this.$this = t0; }, _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($constructor) { var t1 = A._wrapToDart(new (A._convertToJS($constructor))()); return t1; }, JsObject_JsObject$jsify(object) { return A._wrapToDart(A.JsObject__convertDataTree(object)); }, JsObject__convertDataTree(data) { return new A.JsObject__convertDataTree__convert(new A._IdentityHashMap(type$._IdentityHashMap_dynamic_dynamic)).call$1(data); }, 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._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; }, _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); }, JsObject__convertDataTree__convert: function JsObject__convertDataTree__convert(t0) { this._convertedObjects = t0; }, _convertToJS_closure: function _convertToJS_closure() { }, _convertToJS_closure0: function _convertToJS_closure0(t0) { this.ctor = t0; }, _wrapToDart_closure: function _wrapToDart_closure() { }, _wrapToDart_closure0: function _wrapToDart_closure0() { }, _wrapToDart_closure1: function _wrapToDart_closure1() { }, JsObject: function JsObject(t0) { this._jsObject = t0; }, JsFunction: function JsFunction(t0) { this._jsObject = t0; }, JsArray: function JsArray(t0, t1) { this._jsObject = t0; this.$ti = t1; }, _JsArray_JsObject_ListMixin: function _JsArray_JsObject_ListMixin() { }, hasProperty(o, $name) { return $name in o; }, getProperty(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); }, 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; }, NullRejectionException: function NullRejectionException(t0) { this.isUndefined = t0; }, promiseToFuture_closure: function promiseToFuture_closure(t0) { this.completer = t0; }, promiseToFuture_closure0: function promiseToFuture_closure0(t0) { this.completer = t0; }, max0(a, b) { return Math.max(A.checkNum(a), A.checkNum(b)); }, log(x) { return Math.log(x); }, Random_Random(seed) { var t1; if (seed == null) t1 = B.C__JSRandom; else { t1 = new A._Random(); t1._Random$1(seed); } return t1; }, _clampToZero(value) { if (value === -1 / 0) return 0; return -value * 0; }, _JSRandom: function _JSRandom() { }, _Random: function _Random() { this._hi = this._lo = 0; }, _JSSecureRandom: function _JSSecureRandom(t0) { this._math$_buffer = t0; }, Point: function Point(t0, t1, t2) { this.x = t0; this.y = t1; this.$ti = t2; }, _RectangleBase: function _RectangleBase() { }, MutableRectangle: function MutableRectangle(t0, t1, t2, t3, t4) { var _ = this; _.left = t0; _.top = t1; _._math$_width = t2; _._math$_height = t3; _.$ti = t4; }, Angle: function Angle() { }, GraphicsElement: function GraphicsElement() { }, Length: function Length() { }, LengthList: function LengthList() { }, Number: function Number() { }, NumberList: function NumberList() { }, PointList: function PointList() { }, Rect0: function Rect0() { }, ScriptElement0: function ScriptElement0() { }, StringList: function StringList() { }, SvgElement: function SvgElement() { }, SvgSvgElement: function SvgSvgElement() { }, Transform0: function Transform0() { }, TransformList: function TransformList() { }, _LengthList_Interceptor_ListMixin: function _LengthList_Interceptor_ListMixin() { }, _LengthList_Interceptor_ListMixin_ImmutableListMixin: function _LengthList_Interceptor_ListMixin_ImmutableListMixin() { }, _NumberList_Interceptor_ListMixin: function _NumberList_Interceptor_ListMixin() { }, _NumberList_Interceptor_ListMixin_ImmutableListMixin: function _NumberList_Interceptor_ListMixin_ImmutableListMixin() { }, _StringList_Interceptor_ListMixin: function _StringList_Interceptor_ListMixin() { }, _StringList_Interceptor_ListMixin_ImmutableListMixin: function _StringList_Interceptor_ListMixin_ImmutableListMixin() { }, _TransformList_Interceptor_ListMixin: function _TransformList_Interceptor_ListMixin() { }, _TransformList_Interceptor_ListMixin_ImmutableListMixin: function _TransformList_Interceptor_ListMixin_ImmutableListMixin() { }, Uint64List_Uint64List($length) { throw A.wrapException(A.UnsupportedError$("Uint64List not supported on the web.")); }, ByteData_ByteData$view(buffer, offsetInBytes, $length) { return A.NativeByteData_NativeByteData$view(buffer, offsetInBytes, $length); }, Endian: function Endian() { }, PictureRecorder_PictureRecorder() { var t1 = A._detectRenderer(); if (t1) return new A.CkPictureRecorder(); else return new A.EnginePictureRecorder(); }, Canvas_Canvas(recorder, cullRect) { var _s62_ = '"recorder" must not already be associated with another Canvas.', t1 = A._detectRenderer(); if (t1) { if (recorder.get$isRecording()) A.throwExpression(A.ArgumentError$(_s62_, null)); if (cullRect == null) cullRect = B.Rect_aha; return new A.CanvasKitCanvas(type$.CkPictureRecorder._as(recorder).beginRecording$1(0, cullRect)); } else { type$.EnginePictureRecorder._as(recorder); if (recorder._isRecording) A.throwExpression(A.ArgumentError$(_s62_, null)); return new A.SurfaceCanvas(recorder.beginRecording$1(0, cullRect == null ? B.Rect_aha : cullRect)); } }, SceneBuilder_SceneBuilder() { var t2, t3, t1 = A._detectRenderer(); if (t1) { t1 = new A.RootLayer(A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0); t2 = new A.LayerSceneBuilder(t1); t2.__LayerSceneBuilder_currentLayer = t1; return t2; } else { 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); } }, Offset$(dx, dy) { return new A.Offset(dx, dy); }, 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_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$fromRectXY(rect, radiusX, radiusY) { return new A.RRect(rect.left, rect.top, rect.right, rect.bottom, radiusX, radiusY, radiusX, radiusY, radiusX, radiusY, radiusX, radiusY, radiusX === radiusY); }, 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$fromRectAndCorners(rect, bottomLeft, bottomRight, topLeft, topRight) { var t1 = bottomLeft.x, t2 = bottomLeft.y, t3 = bottomRight.x, t4 = bottomRight.y, t5 = topLeft.x, t6 = topLeft.y, t7 = topRight.x, t8 = topRight.y, t9 = t5 === t6 && t5 === t7 && t5 === t8 && t5 === t1 && t5 === t2 && t5 === t3 && t5 === t4; return new A.RRect(rect.left, rect.top, rect.right, rect.bottom, t5, t6, t7, t8, t3, t4, t1, t2, t9); }, _Jenkins_combine(hash, o) { hash = hash + J.get$hashCode$(o) & 536870911; hash = hash + ((hash & 524287) << 10) & 536870911; return hash ^ hash >>> 6; }, _Jenkins_finish(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, hashValues(arg01, arg02, arg03, arg04, arg05, arg06, arg07, arg08, arg09, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20) { var result = A._Jenkins_combine(A._Jenkins_combine(0, arg01), arg02); if (!J.$eq$(arg03, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg03); if (!J.$eq$(arg04, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg04); if (!J.$eq$(arg05, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg05); if (!J.$eq$(arg06, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg06); if (!J.$eq$(arg07, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg07); if (!J.$eq$(arg08, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg08); if (!J.$eq$(arg09, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg09); if (!J.$eq$(arg10, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg10); if (!J.$eq$(arg11, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg11); if (!J.$eq$(arg12, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg12); if (!J.$eq$(arg13, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg13); if (!J.$eq$(arg14, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg14); if (!J.$eq$(arg15, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg15); if (!J.$eq$(arg16, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg16); if (!J.$eq$(arg17, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg17); if (!J.$eq$(arg18, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg18); if (!J.$eq$(arg19, B.C__HashEnd)) { result = A._Jenkins_combine(result, arg19); if (!J.$eq$(arg20, B.C__HashEnd)) result = A._Jenkins_combine(result, arg20); } } } } } } } } } } } } } } } } } return A._Jenkins_finish(result); }, hashList($arguments) { var t1, result, _i; if ($arguments != null) for (t1 = $arguments.length, result = 0, _i = 0; _i < $arguments.length; $arguments.length === t1 || (0, A.throwConcurrentModificationError)($arguments), ++_i) result = A._Jenkins_combine(result, $arguments[_i]); else result = 0; return A._Jenkins_finish(result); }, webOnlyInitializePlatform() { var initializationFuture = A._initializePlatform(null); A.scheduleMicrotask(new A.webOnlyInitializePlatform_closure()); return initializationFuture; }, _initializePlatform(assetManager) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1; var $async$_initializePlatform = 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.initializeEngine(); t1 = A._detectRenderer(); $async$goto = t1 ? 2 : 3; break; case 2: // then $async$goto = 4; return A._asyncAwait(A.initializeCanvasKit(), $async$_initializePlatform); case 4: // returning from await. case 3: // join $async$goto = 5; return A._asyncAwait(A.webOnlySetAssetManager(B.C_AssetManager), $async$_initializePlatform); case 5: // returning from await. t1 = A._detectRenderer(); $async$goto = t1 ? 6 : 8; break; case 6: // then $async$goto = 9; return A._asyncAwait($._skiaFontCollection.ensureFontsLoaded$0(), $async$_initializePlatform); case 9: // returning from await. // goto join $async$goto = 7; break; case 8: // else $async$goto = 10; return A._asyncAwait($._fontCollection.ensureFontsLoaded$0(), $async$_initializePlatform); case 10: // returning from await. case 7: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_initializePlatform, $async$completer); }, webOnlySetAssetManager(assetManager) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t1, t2; var $async$webOnlySetAssetManager = 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 (assetManager === $._assetManager) { // goto return $async$goto = 1; break; } $._assetManager = assetManager; t1 = A._detectRenderer(); if (t1) { if ($._skiaFontCollection == null) $._skiaFontCollection = new A.SkiaFontCollection(A._setArrayType([], type$.JSArray_Future_nullable_RegisteredFont), A._setArrayType([], type$.JSArray_RegisteredFont), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_SkFont)); } else { t1 = $._fontCollection; if (t1 == null) t1 = $._fontCollection = new A.FontCollection(); t1._testFontManager = t1._assetFontManager = null; if ($.$get$supportsFontsClearApi()) document.fonts.clear(); } $async$goto = $._assetManager != null ? 3 : 4; break; case 3: // then t1 = A._detectRenderer(); t2 = $._assetManager; $async$goto = t1 ? 5 : 7; break; case 5: // then t1 = $._skiaFontCollection; t1.toString; t2.toString; $async$goto = 8; return A._asyncAwait(t1.registerFonts$1(t2), $async$webOnlySetAssetManager); case 8: // returning from await. // goto join $async$goto = 6; break; case 7: // else t1 = $._fontCollection; t1.toString; t2.toString; $async$goto = 9; return A._asyncAwait(t1.registerFonts$1(t2), $async$webOnlySetAssetManager); case 9: // returning from await. case 6: // join case 4: // join case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$webOnlySetAssetManager, $async$completer); }, KeyData__typeToString(type) { switch (type.index) { case 1: return "up"; case 0: return "down"; case 2: return "repeat"; } }, lerpDouble(a, b, t) { var t1; if (a != b) if ((a == null ? null : isNaN(a)) === true) t1 = (b == null ? null : isNaN(b)) === true; else t1 = false; else t1 = true; if (t1) return a == null ? null : a; if (a == null) a = 0; if (b == null) b = 0; return a * (1 - t) + b * t; }, _lerpDouble(a, b, t) { return a * (1 - t) + b * t; }, _lerpInt(a, b, t) { return a * (1 - t) + b * t; }, _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)); } }, Paint_Paint() { var t1 = A._detectRenderer(); return t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); }, Gradient_Gradient$linear(from, to, colors, colorStops, tileMode, matrix4) { var matrix = matrix4 == null ? null : A.toMatrix32(matrix4), t1 = A._detectRenderer(); if (t1) { t1 = new A.CkGradientLinear(from, to, colors, colorStops, tileMode, matrix); t1.ManagedSkiaObject$1(null, type$.SkShader); } else t1 = new A.GradientLinear(from, to, colors, colorStops, tileMode, matrix == null ? null : new A.FastMatrix32(matrix)); return t1; }, Gradient_Gradient$radial(center, radius, colors, colorStops, tileMode, matrix4, focal, focalRadius) { var matrix32, t1, _null = null; if (colors.length !== colorStops.length) A.throwExpression(A.ArgumentError$('"colors" and "colorStops" arguments must have equal length.', _null)); matrix32 = matrix4 != null ? A.toMatrix32(matrix4) : _null; if (focal != null) t1 = focal.$eq(0, center) && focalRadius === 0; else t1 = true; if (t1) { t1 = A._detectRenderer(); if (t1) { t1 = new A.CkGradientRadial(center, radius, colors, colorStops, tileMode, matrix32); t1.ManagedSkiaObject$1(_null, type$.SkShader); } else t1 = new A.GradientRadial(center, radius, colors, colorStops, tileMode, matrix32); return t1; } else { t1 = A._detectRenderer(); if (t1) { t1 = new A.CkGradientConical(focal, focalRadius, center, radius, colors, colorStops, tileMode, matrix32); t1.ManagedSkiaObject$1(_null, type$.SkShader); } else t1 = new A.GradientConical(focal, focalRadius, center, radius, colors, colorStops, tileMode, matrix32); return t1; } }, ImageFilter_ImageFilter$blur(sigmaX, sigmaY) { var t1 = A._detectRenderer(); if (t1) { t1 = new A._CkBlurImageFilter(sigmaX, sigmaY, B.TileMode_0); t1.ManagedSkiaObject$1(null, type$.SkImageFilter); return t1; } return new A._BlurEngineImageFilter(sigmaX, sigmaY, B.TileMode_0); }, instantiateImageCodec(list, allowUpscaling, targetHeight, targetWidth) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue, t1; var $async$instantiateImageCodec = 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._detectRenderer(); if (t1) { $async$returnValue = A.CkAnimatedImage$decodeFromBytes(list, "encoded image bytes"); // goto return $async$goto = 1; break; } else { $async$returnValue = new A.HtmlBlobCodec((self.URL || self.webkitURL).createObjectURL(A.Blob_Blob([list.buffer])), null); // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$instantiateImageCodec, $async$completer); }, webOnlyInstantiateImageCodecFromUrl(uri, chunkCallback) { var t1 = A._detectRenderer(); if (t1) return A.skiaInstantiateWebImageCodec(uri.toString$0(0), chunkCallback); else return A._futurize(new A.webOnlyInstantiateImageCodecFromUrl_closure(uri, chunkCallback), type$.Codec); }, Shadow_convertRadiusToSigma(radius) { return radius > 0 ? radius * 0.57735 + 0.5 : 0; }, Path_Path() { var t1 = A._detectRenderer(); if (t1) return A.CkPath$(); else return A.SurfacePath$(); }, PlatformConfiguration$(accessibilityFeatures, alwaysUse24HourFormat, defaultRouteName, locales, platformBrightness, semanticsEnabled, textScaleFactor) { return new A.PlatformConfiguration(accessibilityFeatures, false, semanticsEnabled, platformBrightness, textScaleFactor, locales, defaultRouteName); }, PointerData$(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalDeltaX, physicalDeltaY, physicalX, physicalY, platformData, pointerIdentifier, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scrollDeltaX, scrollDeltaY, signalKind, size, synthesized, tilt, timeStamp) { return new A.PointerData(timeStamp, change, kind, signalKind, device, pointerIdentifier, physicalX, physicalY, physicalDeltaX, physicalDeltaY, buttons, false, synthesized, pressure, pressureMin, pressureMax, distance, distanceMax, size, radiusMajor, radiusMinor, radiusMin, radiusMax, orientation, tilt, platformData, scrollDeltaX, scrollDeltaY); }, FontWeight_lerp(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_27p[A.clampInt(B.JSNumber_methods.round$0(t1), 0, 8)]; }, TextDecoration_TextDecoration$combine(decorations) { var t1, mask, _i; for (t1 = decorations.length, mask = 0, _i = 0; _i < t1; ++_i) mask |= decorations[_i]._mask; return new A.TextDecoration(mask); }, TextStyle_TextStyle(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing) { var t1 = A._detectRenderer(); if (t1) { t1 = type$.nullable_CkPaint; return A.CkTextStyle_CkTextStyle(t1._as(background), color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, t1._as(foreground), height, leadingDistribution, letterSpacing, locale, shadows, textBaseline, wordSpacing); } else return A.EngineTextStyle$only(background, color, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, letterSpacing, locale, shadows, textBaseline, wordSpacing); }, ParagraphStyle_ParagraphStyle(ellipsis, fontFamily, fontSize, fontStyle, fontWeight, height, locale, maxLines, strutStyle, textAlign, textDirection, textHeightBehavior) { var properties, t2, t3, skStrutStyle, t4, effectiveLeadingDistribution, skTextStyle, _null = null, t1 = A._detectRenderer(); if (t1) { properties = A.SkParagraphStyleProperties$(_null); if (textAlign != null) properties.textAlign = $.$get$_skTextAligns()[textAlign.index]; t1 = textDirection == null; if (!t1) 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) { type$.CkStrutStyle._as(strutStyle); skStrutStyle = A.SkStrutStyleProperties$(_null); skStrutStyle.fontFamilies = A._getEffectiveFontFamilies(strutStyle._fontFamily, strutStyle._fontFamilyFallback); t4 = strutStyle._fontSize; if (t4 != null) skStrutStyle.fontSize = t4; t4 = strutStyle.__engine$_height; if (t4 != null) skStrutStyle.heightMultiplier = t4; effectiveLeadingDistribution = t3 ? _null : textHeightBehavior.leadingDistribution; switch (effectiveLeadingDistribution) { case null: break; case B.TextLeadingDistribution_1: skStrutStyle.halfLeading = true; break; case B.TextLeadingDistribution_0: skStrutStyle.halfLeading = false; break; } t4 = strutStyle._fontWeight; if (t4 != null || strutStyle._fontStyle != null) skStrutStyle.fontStyle = A.toSkFontStyle(t4, strutStyle._fontStyle); t4 = strutStyle._forceStrutHeight; if (t4 != null) skStrutStyle.forceStrutHeight = t4; skStrutStyle.strutEnabled = true; properties.strutStyle = skStrutStyle; } skTextStyle = A.SkTextStyleProperties$(_null); if (fontWeight != null || fontStyle != null) skTextStyle.fontStyle = A.toSkFontStyle(fontWeight, fontStyle); if (fontSize != null) skTextStyle.fontSize = fontSize; if (t2) skTextStyle.heightMultiplier = height; skTextStyle.fontFamilies = A._getEffectiveFontFamilies(fontFamily, _null); properties.textStyle = skTextStyle; t2 = J.ParagraphStyle$1$x($.__canvasKit._readField$0(), properties); t1 = t1 ? B.TextDirection_1 : textDirection; return new A.CkParagraphStyle(t2, t1, fontFamily, fontSize, height, fontWeight, fontStyle, t3 ? _null : textHeightBehavior.leadingDistribution); } else return new A.EngineParagraphStyle(textAlign, textDirection, fontWeight, fontStyle, maxLines, fontFamily, fontSize, height, textHeightBehavior, type$.nullable_EngineStrutStyle._as(strutStyle), ellipsis, locale); }, StrutStyle_StrutStyle(fontFamily, fontFamilyFallback, fontSize, fontStyle, fontWeight, forceStrutHeight, height, leading) { var t1 = A._detectRenderer(); if (t1) return new A.CkStrutStyle(fontFamily, fontFamilyFallback, fontSize, height, leading, fontWeight, fontStyle, forceStrutHeight, null); else return new A.EngineStrutStyle(fontFamily, fontFamilyFallback, fontSize, height, leading, fontWeight, fontStyle, forceStrutHeight, null); }, ParagraphBuilder_ParagraphBuilder(style) { var t1 = A._detectRenderer(); if (t1) return A.CkParagraphBuilder$(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)); }, PluginUtilities_getCallbackHandle(callback) { throw A.wrapException(A.UnimplementedError$(null)); }, PluginUtilities_getCallbackFromHandle(handle) { throw A.wrapException(A.UnimplementedError$(null)); }, _futurize(callbacker, $T) { var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")), error = callbacker.call$1(new A._futurize_closure(new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>")), $T)); if (error != null) throw A.wrapException(A.Exception_Exception(error)); return t1; }, ClipOp: function ClipOp(t0, t1) { this.index = t0; this._core$_name = t1; }, VertexMode: function VertexMode(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; _._ui$_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() { }, webOnlyInitializePlatform_closure: function webOnlyInitializePlatform_closure() { }, KeyEventType: function KeyEventType(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; }, webOnlyInstantiateImageCodecFromUrl_closure: function webOnlyInstantiateImageCodecFromUrl_closure(t0, t1) { this.uri = t0; this.chunkCallback = t1; }, Shadow: function Shadow(t0, t1, t2) { this.color = t0; this.offset = t1; this.blurRadius = t2; }, Tangent: function Tangent(t0) { this.position = t0; }, PlatformDispatcher: function PlatformDispatcher() { }, PlatformConfiguration: function PlatformConfiguration(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.accessibilityFeatures = t0; _.alwaysUse24HourFormat = t1; _.semanticsEnabled = t2; _.platformBrightness = t3; _.textScaleFactor = t4; _.locales = t5; _.defaultRouteName = t6; }, ViewConfiguration0: function ViewConfiguration0() { }, FrameTiming: function FrameTiming(t0) { this._ui$_data = t0; }, AppLifecycleState: function AppLifecycleState(t0, t1) { this.index = t0; this._core$_name = t1; }, Locale: function Locale(t0, t1) { this._languageCode = t0; this._countryCode = t1; }, 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) { var _ = this; _.timeStamp = t0; _.change = t1; _.kind = t2; _.signalKind = t3; _.device = t4; _.pointerIdentifier = t5; _.physicalX = t6; _.physicalY = t7; _.physicalDeltaX = t8; _.physicalDeltaY = t9; _.buttons = t10; _.obscured = t11; _.synthesized = t12; _.pressure = t13; _.pressureMin = t14; _.pressureMax = t15; _.distance = t16; _.distanceMax = t17; _.size = t18; _.radiusMajor = t19; _.radiusMinor = t20; _.radiusMin = t21; _.radiusMax = t22; _.orientation = t23; _.tilt = t24; _.platformData = t25; _.scrollDeltaX = t26; _.scrollDeltaY = t27; }, PointerDataPacket: function PointerDataPacket(t0) { this.data = t0; }, SemanticsAction: function SemanticsAction(t0) { this.index = t0; }, SemanticsFlag: function SemanticsFlag(t0) { this.index = t0; }, SemanticsUpdateBuilder: function SemanticsUpdateBuilder(t0) { this._nodeUpdates = t0; }, FontStyle: function FontStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, PlaceholderAlignment: function PlaceholderAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, FontWeight: function FontWeight(t0) { this.index = t0; }, FontFeature: function FontFeature(t0, t1) { this.feature = t0; this.value = t1; }, 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; }, 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; }, FlutterView: function FlutterView() { }, FlutterWindow: function FlutterWindow() { }, SingletonFlutterWindow: function SingletonFlutterWindow() { }, AccessibilityFeatures: function AccessibilityFeatures() { }, Brightness: function Brightness(t0, t1) { this.index = t0; this._core$_name = t1; }, CallbackHandle: function CallbackHandle(t0) { this._ui$_handle = t0; }, GestureSettings: function GestureSettings() { }, PlatformViewRegistry: function PlatformViewRegistry() { }, _futurize_closure: function _futurize_closure(t0, t1) { this.completer = t0; this.T = t1; }, AudioBuffer: function AudioBuffer() { }, AudioParam: function AudioParam() { }, AudioParamMap: function AudioParamMap() { }, AudioParamMap_keys_closure: function AudioParamMap_keys_closure(t0) { this.keys = t0; }, AudioParamMap_values_closure: function AudioParamMap_values_closure(t0) { this.values = t0; }, AudioTrack: function AudioTrack() { }, AudioTrackList: function AudioTrackList() { }, BaseAudioContext: function BaseAudioContext() { }, OfflineAudioContext: function OfflineAudioContext() { }, _AudioParamMap_Interceptor_MapMixin: function _AudioParamMap_Interceptor_MapMixin() { }, ActiveInfo: function ActiveInfo() { }, AnimatedTextKit$(animatedTexts, isRepeatingAnimation) { return new A.AnimatedTextKit(animatedTexts, true, null); }, AnimatedText: function AnimatedText() { }, AnimatedTextKit: function AnimatedTextKit(t0, t1, t2) { this.animatedTexts = t0; this.isRepeatingAnimation = t1; this.key = t2; }, _AnimatedTextKitState: function _AnimatedTextKitState(t0, t1) { var _ = this; _.___AnimatedTextKitState__currentAnimatedText = _.___AnimatedTextKitState__controller = $; _._animated_text$_index = _._currentRepeatCount = 0; _._isCurrentlyPausing = false; _._animated_text$_timer = null; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AnimatedTextKitState__nextAnimation_closure: function _AnimatedTextKitState__nextAnimation_closure() { }, _AnimatedTextKitState__setPause_closure: function _AnimatedTextKitState__setPause_closure() { }, __AnimatedTextKitState_State_TickerProviderStateMixin: function __AnimatedTextKitState_State_TickerProviderStateMixin() { }, TypewriterAnimatedText$(text, speed, textStyle) { var t1 = text.length === 0, t2 = t1 ? B.StringCharacters_ehH : new A.StringCharacters(text); t2 = B.JSInt_methods.round$0(speed._duration * (t2.get$length(t2) + 8)); t1 = t1 ? B.StringCharacters_ehH : new A.StringCharacters(text); return new A.TypewriterAnimatedText(speed, text, B.TextAlign_4, textStyle, new A.Duration(t2), t1); }, TypewriterAnimatedText: function TypewriterAnimatedText(t0, t1, t2, t3, t4, t5) { var _ = this; _.speed = t0; _.__TypewriterAnimatedText__typewriterText = $; _.text = t1; _.textAlign = t2; _.textStyle = t3; _.duration = t4; _.textCharacters = t5; }, Archive: function Archive(t0) { this.files = t0; }, ArchiveFile: function ArchiveFile(t0, t1, t2, t3) { var _ = this; _.name = t0; _.size = t1; _.mode = 420; _.lastModTime = t2; _._compressionType = t3; _._content = _._rawContent = null; }, 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 = A.NativeUint8List_NativeUint8List$view(data.buffer, data.byteOffset, data.byteLength); else t1 = type$.List_int._is(data) ? data : A.List_List$from(type$.Iterable_dynamic._as(data), true, type$.int); t2 = new A.InputStream(t1, start, start, byteOrder, $); t2.__InputStream__length = $length == null ? t1.length : $length; return t2; }, InputStreamBase: function InputStreamBase() { }, InputStream: function InputStream(t0, t1, t2, t3, t4) { var _ = this; _.buffer = t0; _.offset = t1; _.start = t2; _.byteOrder = t3; _.__InputStream__length = t4; }, OutputStreamBase: function OutputStreamBase() { }, OutputStream: function OutputStream(t0) { this.length = 0; this._output_stream$_buffer = t0; }, ZipDirectory: function ZipDirectory(t0) { var _ = this; _.filePosition = -1; _.__ZipDirectory_centralDirectoryOffset = _.__ZipDirectory_centralDirectorySize = $; _.fileHeaders = t0; }, ZipFile: function ZipFile(t0, t1, t2) { var _ = this; _.signature = 67324752; _.lastModFileDate = _.lastModFileTime = _.compressionMethod = _.flags = 0; _.uncompressedSize = _.crc32 = null; _.filename = ""; _.extraField = t0; _.header = t1; _.__ZipFile__rawContent = $; _._zip_file$_content = null; _._isEncrypted = false; _._zip_file$_keys = t2; }, ZipFileHeader: function ZipFileHeader(t0) { var _ = this; _.versionMadeBy = 0; _.localHeaderOffset = _.externalFileAttributes = _.compressedSize = null; _.filename = ""; _.extraField = t0; _.file = null; }, ZipDecoder: function ZipDecoder() { this.__ZipDecoder_directory = $; }, HuffmanTable$(lengths) { var t1 = new A.HuffmanTable(); t1.HuffmanTable$1(lengths); return t1; }, HuffmanTable: function HuffmanTable() { this.__HuffmanTable_table = $; this.maxCodeLength = 0; this.minCodeLength = 2147483647; }, Inflate$buffer(input, uncompressedSize) { var t1 = A.HuffmanTable$(B.List_2Bc), t2 = A.HuffmanTable$(B.List_X3d), t3 = uncompressedSize == null ? 32768 : uncompressedSize; t1 = new A.Inflate(input, new A.OutputStream(new Uint8Array(t3)), t1, t2); t1.inputSet = true; t1._inflate$0(); return t1; }, Inflate: function Inflate(t0, t1, t2, t3) { var _ = this; _.__Inflate_input = t0; _.inputSet = false; _.output = t1; _._bitBufferLen = _._bitBuffer = 0; _._fixedLiteralLengthTable = t2; _._fixedDistanceTable = t3; }, StringCharacterRange_StringCharacterRange$at(string, startIndex, endIndex) { A.RangeError_checkValidRange(startIndex, endIndex, string.length, "startIndex", "endIndex"); return A.StringCharacterRange__expandRange(string, 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); }, _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 = B.JSString_methods.codeUnitAt$1(base, index - 1); if ((tail & 64512) !== 56320) break; lead = B.JSString_methods.codeUnitAt$1(base, 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 = B.JSString_methods.codeUnitAt$1(base, index); if ((char & 64512) !== 56320) category = A.low(char); else { if (index > start) { --index; prevChar = B.JSString_methods.codeUnitAt$1(base, 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 = B.JSString_methods.codeUnitAt$1(text, index); index0 = index - 1; prevChar = B.JSString_methods.codeUnitAt$1(text, index0); if ((char & 63488) !== 55296) catAfter = A.low(char); else if ((char & 64512) === 55296) { t1 = index + 1; if (t1 >= end) return true; nextChar = B.JSString_methods.codeUnitAt$1(text, 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 = B.JSString_methods.codeUnitAt$1(text, index); if ((prevPrevChar & 64512) !== 55296) return true; catBefore = A.high(prevPrevChar, prevChar); } else return true; } state = B.JSString_methods._codeUnitAt$1(_s208_, (B.JSString_methods._codeUnitAt$1(_s208_, (catAfter | 176) >>> 0) & 240 | catBefore) >>> 0); 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 = B.JSString_methods.codeUnitAt$1(text, index); if ((nextChar & 63488) !== 55296) { category = A.low(nextChar); indexBefore = index; } else if ((nextChar & 64512) === 55296) { indexAfter = index + 1; if (indexAfter < end) { secondChar = B.JSString_methods.codeUnitAt$1(text, indexAfter); category = (secondChar & 64512) === 56320 ? A.high(nextChar, secondChar) : 2; } else category = 2; indexBefore = index; } else { indexBefore = index - 1; prevChar = B.JSString_methods.codeUnitAt$1(text, indexBefore); if ((prevChar & 64512) === 55296) category = A.high(prevChar, nextChar); else { indexBefore = index; category = 2; } } return new A.BackBreaks(text, start, indexBefore, B.JSString_methods._codeUnitAt$1(string$.x10__0__, (category | 176) >>> 0)).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 = B.JSString_methods.codeUnitAt$1(text, indexBefore); if ((prevChar & 63488) !== 55296) prevCategory = A.low(prevChar); else if ((prevChar & 64512) === 55296) { nextChar = B.JSString_methods.codeUnitAt$1(text, 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 = B.JSString_methods.codeUnitAt$1(text, 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 = B.JSString_methods._codeUnitAt$1(string$.x200_000, (prevCategory | 176) >>> 0); } 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; }, AnimatedPlayPause$(color, playing) { return new A.AnimatedPlayPause(playing, color, null); }, AnimatedPlayPause: function AnimatedPlayPause(t0, t1, t2) { this.playing = t0; this.color = t1; this.key = t2; }, AnimatedPlayPauseState: function AnimatedPlayPauseState(t0, t1) { var _ = this; _.__AnimatedPlayPauseState_animationController = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AnimatedPlayPauseState_State_SingleTickerProviderStateMixin: function _AnimatedPlayPauseState_State_SingleTickerProviderStateMixin() { }, CenterPlayButton$(backgroundColor, iconColor, isFinished, isPlaying, onPressed, show) { return new A.CenterPlayButton(backgroundColor, iconColor, show, isPlaying, isFinished, onPressed, null); }, CenterPlayButton: function CenterPlayButton(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.backgroundColor = t0; _.iconColor = t1; _.show = t2; _.isPlaying = t3; _.isFinished = t4; _.onPressed = t5; _.key = t6; }, ChewieController$(allowFullScreen, allowedScreenSleep, aspectRatio, autoInitialize, autoPlay, looping, placeholder, showControls, videoPlayerController) { var t1 = new A.ChewieController(videoPlayerController, autoInitialize, autoPlay, looping, showControls, aspectRatio, placeholder, allowedScreenSleep, allowFullScreen, A.List_List$filled(0, null, false, type$.nullable_void_Function)); t1._chewie_player$_initialize$0(); return t1; }, _ChewieControllerProvider$(child, controller) { return new A._ChewieControllerProvider(controller, child, null); }, Chewie: function Chewie(t0, t1) { this.controller = t0; this.key = t1; }, ChewieState: function ChewieState(t0) { var _ = this; _._isFullScreen = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, ChewieState__defaultRoutePageBuilder_closure: function ChewieState__defaultRoutePageBuilder_closure(t0, t1, t2) { this.$this = t0; this.animation = t1; this.controllerProvider = t2; }, ChewieController: function ChewieController(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.videoPlayerController = t0; _.autoInitialize = t1; _.autoPlay = t2; _.looping = t3; _.showControls = t4; _.aspectRatio = t5; _.placeholder = t6; _.allowedScreenSleep = t7; _.allowFullScreen = t8; _._isFullScreen = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t9; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ChewieControllerProvider: function _ChewieControllerProvider(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, ChewieProgressColors$(backgroundColor, bufferedColor, handleColor, playedColor) { var t2, t3, t4, t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, playedColor); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$color(0, bufferedColor); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$color(0, handleColor); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$color(0, backgroundColor); return new A.ChewieProgressColors(t1, t2, t3, t4); }, ChewieProgressColors: function ChewieProgressColors(t0, t1, t2, t3) { var _ = this; _.playedPaint = t0; _.bufferedPaint = t1; _.handlePaint = t2; _.backgroundPaint = t3; }, CupertinoControls: function CupertinoControls(t0) { this.key = t0; }, _CupertinoControlsState: function _CupertinoControlsState(t0, t1) { var _ = this; _.___CupertinoControlsState__latestValue = $; _._latestVolume = null; _._hideStuff = true; _._initTimer = _._expandCollapseTimer = _._hideTimer = null; _._dragging = false; _._subtitlesPosition = null; _._subtitleOn = false; _.___CupertinoControlsState_controller = $; _._chewieController = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _CupertinoControlsState_build_closure0: function _CupertinoControlsState_build_closure0(t0) { this.$this = t0; }, _CupertinoControlsState_build_closure: function _CupertinoControlsState_build_closure(t0) { this.$this = t0; }, _CupertinoControlsState__buildHitArea_closure: function _CupertinoControlsState__buildHitArea_closure(t0) { this.$this = t0; }, _CupertinoControlsState__buildHitArea__closure: function _CupertinoControlsState__buildHitArea__closure(t0) { this.$this = t0; }, _CupertinoControlsState__buildMuteButton_closure: function _CupertinoControlsState__buildMuteButton_closure(t0, t1) { this.$this = t0; this.controller = t1; }, _CupertinoControlsState__buildSpeedButton_closure: function _CupertinoControlsState__buildSpeedButton_closure(t0, t1) { this.$this = t0; this.controller = t1; }, _CupertinoControlsState__buildSpeedButton__closure: function _CupertinoControlsState__buildSpeedButton__closure(t0) { this.$this = t0; }, _CupertinoControlsState__cancelAndRestartTimer_closure: function _CupertinoControlsState__cancelAndRestartTimer_closure(t0) { this.$this = t0; }, _CupertinoControlsState__initialize_closure: function _CupertinoControlsState__initialize_closure(t0) { this.$this = t0; }, _CupertinoControlsState__initialize__closure: function _CupertinoControlsState__initialize__closure(t0) { this.$this = t0; }, _CupertinoControlsState__onExpandCollapse_closure: function _CupertinoControlsState__onExpandCollapse_closure(t0) { this.$this = t0; }, _CupertinoControlsState__onExpandCollapse__closure: function _CupertinoControlsState__onExpandCollapse__closure(t0) { this.$this = t0; }, _CupertinoControlsState__onExpandCollapse___closure: function _CupertinoControlsState__onExpandCollapse___closure(t0) { this.$this = t0; }, _CupertinoControlsState__buildProgressBar_closure: function _CupertinoControlsState__buildProgressBar_closure(t0) { this.$this = t0; }, _CupertinoControlsState__buildProgressBar__closure0: function _CupertinoControlsState__buildProgressBar__closure0(t0) { this.$this = t0; }, _CupertinoControlsState__buildProgressBar_closure0: function _CupertinoControlsState__buildProgressBar_closure0(t0) { this.$this = t0; }, _CupertinoControlsState__buildProgressBar__closure: function _CupertinoControlsState__buildProgressBar__closure(t0) { this.$this = t0; }, _CupertinoControlsState__playPause_closure: function _CupertinoControlsState__playPause_closure(t0, t1) { this.$this = t0; this.isFinished = t1; }, _CupertinoControlsState__playPause__closure: function _CupertinoControlsState__playPause__closure(t0) { this.$this = t0; }, _CupertinoControlsState__startHideTimer_closure: function _CupertinoControlsState__startHideTimer_closure(t0) { this.$this = t0; }, _CupertinoControlsState__startHideTimer__closure: function _CupertinoControlsState__startHideTimer__closure(t0) { this.$this = t0; }, _CupertinoControlsState__updateState_closure: function _CupertinoControlsState__updateState_closure(t0) { this.$this = t0; }, _PlaybackSpeedDialog: function _PlaybackSpeedDialog(t0, t1, t2) { this._speeds = t0; this._cupertino_controls$_selected = t1; this.key = t2; }, _PlaybackSpeedDialog_build_closure: function _PlaybackSpeedDialog_build_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.selectedColor = t2; }, _PlaybackSpeedDialog_build__closure: function _PlaybackSpeedDialog_build__closure(t0, t1) { this.context = t0; this.e = t1; }, __CupertinoControlsState_State_SingleTickerProviderStateMixin: function __CupertinoControlsState_State_SingleTickerProviderStateMixin() { }, CupertinoVideoProgressBar: function CupertinoVideoProgressBar(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.key = t4; }, MaterialControls: function MaterialControls(t0) { this.key = t0; }, _MaterialControlsState: function _MaterialControlsState(t0, t1) { var _ = this; _.___MaterialControlsState__latestValue = $; _._material_controls$_latestVolume = null; _._material_controls$_hideStuff = true; _._material_controls$_initTimer = _._material_controls$_hideTimer = null; _.___MaterialControlsState__subtitlesPosition = $; _._material_controls$_subtitleOn = false; _._showAfterExpandCollapseTimer = null; _._displayTapped = _._material_controls$_dragging = false; _.___MaterialControlsState_controller = $; _._material_controls$_chewieController = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MaterialControlsState_build_closure0: function _MaterialControlsState_build_closure0(t0) { this.$this = t0; }, _MaterialControlsState_build_closure: function _MaterialControlsState_build_closure(t0) { this.$this = t0; }, _MaterialControlsState__buildHitArea_closure: function _MaterialControlsState__buildHitArea_closure(t0) { this.$this = t0; }, _MaterialControlsState__buildHitArea__closure: function _MaterialControlsState__buildHitArea__closure(t0) { this.$this = t0; }, _MaterialControlsState__buildHitArea__closure0: function _MaterialControlsState__buildHitArea__closure0(t0) { this.$this = t0; }, _MaterialControlsState__buildSpeedButton_closure: function _MaterialControlsState__buildSpeedButton_closure(t0, t1) { this.$this = t0; this.controller = t1; }, _MaterialControlsState__buildSpeedButton__closure: function _MaterialControlsState__buildSpeedButton__closure(t0) { this.$this = t0; }, _MaterialControlsState__buildMuteButton_closure: function _MaterialControlsState__buildMuteButton_closure(t0, t1) { this.$this = t0; this.controller = t1; }, _MaterialControlsState__cancelAndRestartTimer_closure: function _MaterialControlsState__cancelAndRestartTimer_closure(t0) { this.$this = t0; }, _MaterialControlsState__initialize_closure: function _MaterialControlsState__initialize_closure(t0) { this.$this = t0; }, _MaterialControlsState__initialize__closure: function _MaterialControlsState__initialize__closure(t0) { this.$this = t0; }, _MaterialControlsState__onExpandCollapse_closure: function _MaterialControlsState__onExpandCollapse_closure(t0) { this.$this = t0; }, _MaterialControlsState__onExpandCollapse__closure: function _MaterialControlsState__onExpandCollapse__closure(t0) { this.$this = t0; }, _MaterialControlsState__onExpandCollapse___closure: function _MaterialControlsState__onExpandCollapse___closure(t0) { this.$this = t0; }, _MaterialControlsState__playPause_closure: function _MaterialControlsState__playPause_closure(t0, t1) { this.$this = t0; this.isFinished = t1; }, _MaterialControlsState__playPause__closure: function _MaterialControlsState__playPause__closure(t0) { this.$this = t0; }, _MaterialControlsState__startHideTimer_closure: function _MaterialControlsState__startHideTimer_closure(t0) { this.$this = t0; }, _MaterialControlsState__startHideTimer__closure: function _MaterialControlsState__startHideTimer__closure(t0) { this.$this = t0; }, _MaterialControlsState__updateState_closure: function _MaterialControlsState__updateState_closure(t0) { this.$this = t0; }, _MaterialControlsState__buildProgressBar_closure: function _MaterialControlsState__buildProgressBar_closure(t0) { this.$this = t0; }, _MaterialControlsState__buildProgressBar__closure0: function _MaterialControlsState__buildProgressBar__closure0(t0) { this.$this = t0; }, _MaterialControlsState__buildProgressBar_closure0: function _MaterialControlsState__buildProgressBar_closure0(t0) { this.$this = t0; }, _MaterialControlsState__buildProgressBar__closure: function _MaterialControlsState__buildProgressBar__closure(t0) { this.$this = t0; }, _PlaybackSpeedDialog0: function _PlaybackSpeedDialog0(t0, t1, t2) { this._material_controls$_speeds = t0; this._material_controls$_selected = t1; this.key = t2; }, _PlaybackSpeedDialog_build_closure0: function _PlaybackSpeedDialog_build_closure0(t0, t1) { this.$this = t0; this.selectedColor = t1; }, _PlaybackSpeedDialog_build__closure0: function _PlaybackSpeedDialog_build__closure0(t0, t1) { this.context = t0; this._speed = t1; }, __MaterialControlsState_State_SingleTickerProviderStateMixin: function __MaterialControlsState_State_SingleTickerProviderStateMixin() { }, MaterialVideoProgressBar: function MaterialVideoProgressBar(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.key = t4; }, PlayerWithControls: function PlayerWithControls(t0) { this.key = t0; }, PlayerWithControls_build__calculateAspectRatio: function PlayerWithControls_build__calculateAspectRatio() { }, PlayerWithControls_build__buildControls: function PlayerWithControls_build__buildControls() { }, PlayerWithControls_build__buildPlayerWithControls: function PlayerWithControls_build__buildPlayerWithControls(t0) { this._buildControls = t0; }, VideoProgressBar$(controller, barHeight, colors, drawShadow, handleHeight, onDragEnd, onDragStart, onDragUpdate) { return new A.VideoProgressBar(controller, colors, onDragStart, onDragEnd, onDragUpdate, barHeight, handleHeight, drawShadow, null); }, VideoProgressBar: function VideoProgressBar(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.onDragUpdate = t4; _.barHeight = t5; _.handleHeight = t6; _.drawShadow = t7; _.key = t8; }, _VideoProgressBarState: function _VideoProgressBarState(t0) { var _ = this; _._controllerWasPlaying = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _VideoProgressBarState_listener_closure: function _VideoProgressBarState_listener_closure() { }, _VideoProgressBarState_build_closure0: function _VideoProgressBarState_build_closure0(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure1: function _VideoProgressBarState_build_closure1(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure: function _VideoProgressBarState_build_closure(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure2: function _VideoProgressBarState_build_closure2(t0) { this.$this = t0; }, _ProgressBarPainter: function _ProgressBarPainter(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _.colors = t1; _.barHeight = t2; _.handleHeight = t3; _.drawShadow = t4; _._repaint = t5; }, AnimatedPlayPause$0(color, playing) { return new A.AnimatedPlayPause0(playing, color, null); }, AnimatedPlayPause0: function AnimatedPlayPause0(t0, t1, t2) { this.playing = t0; this.color = t1; this.key = t2; }, AnimatedPlayPauseState0: function AnimatedPlayPauseState0(t0, t1) { var _ = this; _._animated_play_pause$__AnimatedPlayPauseState_animationController = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AnimatedPlayPauseState_State_SingleTickerProviderStateMixin0: function _AnimatedPlayPauseState_State_SingleTickerProviderStateMixin0() { }, ChewieAudio: function ChewieAudio(t0, t1) { this.controller = t0; this.key = t1; }, ChewieAudioController: function ChewieAudioController(t0, t1, t2, t3, t4, t5) { var _ = this; _.videoPlayerController = t0; _.autoInitialize = t1; _.autoPlay = t2; _.looping = t3; _.showControls = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _ChewieAudioControllerProvider: function _ChewieAudioControllerProvider(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, ChewieProgressColors$0(backgroundColor, bufferedColor, handleColor, playedColor) { var t2, t3, t4, t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, playedColor); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$color(0, bufferedColor); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$color(0, handleColor); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$color(0, backgroundColor); return new A.ChewieProgressColors0(t1, t2, t3, t4); }, ChewieProgressColors0: function ChewieProgressColors0(t0, t1, t2, t3) { var _ = this; _.playedPaint = t0; _.bufferedPaint = t1; _.handlePaint = t2; _.backgroundPaint = t3; }, CupertinoControls0: function CupertinoControls0(t0) { this.key = t0; }, _CupertinoControlsState0: function _CupertinoControlsState0(t0, t1) { var _ = this; _._cupertino_controls0$___CupertinoControlsState__latestValue = $; _._cupertino_controls0$_latestVolume = null; _._cupertino_controls0$___CupertinoControlsState_controller = $; _._cupertino_controls0$_chewieController = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _CupertinoControlsState__buildMuteButton_closure0: function _CupertinoControlsState__buildMuteButton_closure0(t0, t1) { this.$this = t0; this.controller = t1; }, _CupertinoControlsState__buildSpeedButton_closure0: function _CupertinoControlsState__buildSpeedButton_closure0(t0, t1) { this.$this = t0; this.controller = t1; }, _CupertinoControlsState__buildSpeedButton__closure0: function _CupertinoControlsState__buildSpeedButton__closure0(t0) { this.$this = t0; }, _CupertinoControlsState__buildProgressBar_closure1: function _CupertinoControlsState__buildProgressBar_closure1() { }, _CupertinoControlsState__buildProgressBar_closure2: function _CupertinoControlsState__buildProgressBar_closure2() { }, _CupertinoControlsState__playPause_closure0: function _CupertinoControlsState__playPause_closure0(t0, t1) { this.$this = t0; this.isFinished = t1; }, _CupertinoControlsState__playPause__closure0: function _CupertinoControlsState__playPause__closure0(t0) { this.$this = t0; }, _CupertinoControlsState__updateState_closure0: function _CupertinoControlsState__updateState_closure0(t0) { this.$this = t0; }, _PlaybackSpeedDialog1: function _PlaybackSpeedDialog1(t0, t1, t2) { this._cupertino_controls0$_speeds = t0; this._cupertino_controls0$_selected = t1; this.key = t2; }, _PlaybackSpeedDialog_build_closure1: function _PlaybackSpeedDialog_build_closure1(t0, t1, t2) { this.$this = t0; this.context = t1; this.selectedColor = t2; }, _PlaybackSpeedDialog_build__closure1: function _PlaybackSpeedDialog_build__closure1(t0, t1) { this.context = t0; this.e = t1; }, __CupertinoControlsState_State_SingleTickerProviderStateMixin0: function __CupertinoControlsState_State_SingleTickerProviderStateMixin0() { }, CupertinoVideoProgressBar0: function CupertinoVideoProgressBar0(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.key = t4; }, MaterialControls0: function MaterialControls0(t0) { this.key = t0; }, _MaterialControlsState0: function _MaterialControlsState0(t0, t1) { var _ = this; _._material_controls0$___MaterialControlsState__latestValue = $; _._material_controls0$_latestVolume = null; _._material_controls0$___MaterialControlsState_controller = $; _._material_controls0$_chewieController = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MaterialControlsState__buildSpeedButton_closure0: function _MaterialControlsState__buildSpeedButton_closure0(t0, t1) { this.$this = t0; this.controller = t1; }, _MaterialControlsState__buildSpeedButton__closure0: function _MaterialControlsState__buildSpeedButton__closure0(t0) { this.$this = t0; }, _MaterialControlsState__buildMuteButton_closure0: function _MaterialControlsState__buildMuteButton_closure0(t0, t1) { this.$this = t0; this.controller = t1; }, _MaterialControlsState__playPause_closure0: function _MaterialControlsState__playPause_closure0(t0, t1) { this.$this = t0; this.isFinished = t1; }, _MaterialControlsState__playPause__closure0: function _MaterialControlsState__playPause__closure0(t0) { this.$this = t0; }, _MaterialControlsState__updateState_closure0: function _MaterialControlsState__updateState_closure0(t0) { this.$this = t0; }, _MaterialControlsState__buildProgressBar_closure1: function _MaterialControlsState__buildProgressBar_closure1() { }, _MaterialControlsState__buildProgressBar_closure2: function _MaterialControlsState__buildProgressBar_closure2() { }, _PlaybackSpeedDialog2: function _PlaybackSpeedDialog2(t0, t1, t2) { this._material_controls0$_speeds = t0; this._material_controls0$_selected = t1; this.key = t2; }, _PlaybackSpeedDialog_build_closure2: function _PlaybackSpeedDialog_build_closure2(t0, t1) { this.$this = t0; this.selectedColor = t1; }, _PlaybackSpeedDialog_build__closure2: function _PlaybackSpeedDialog_build__closure2(t0, t1) { this.context = t0; this._speed = t1; }, __MaterialControlsState_State_SingleTickerProviderStateMixin0: function __MaterialControlsState_State_SingleTickerProviderStateMixin0() { }, MaterialVideoProgressBar0: function MaterialVideoProgressBar0(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.key = t4; }, PlayerWithControls0: function PlayerWithControls0(t0) { this.key = t0; }, PlayerWithControls_build__buildControls0: function PlayerWithControls_build__buildControls0() { }, PlayerWithControls_build__buildPlayerWithControls0: function PlayerWithControls_build__buildPlayerWithControls0(t0) { this._buildControls = t0; }, VideoProgressBar$0(controller, barHeight, colors, drawShadow, handleHeight, onDragEnd, onDragStart, onDragUpdate) { return new A.VideoProgressBar0(controller, colors, onDragStart, onDragEnd, onDragUpdate, barHeight, handleHeight, drawShadow, null); }, VideoProgressBar0: function VideoProgressBar0(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.controller = t0; _.colors = t1; _.onDragStart = t2; _.onDragEnd = t3; _.onDragUpdate = t4; _.barHeight = t5; _.handleHeight = t6; _.drawShadow = t7; _.key = t8; }, _VideoProgressBarState0: function _VideoProgressBarState0(t0) { var _ = this; _._progress_bar$_controllerWasPlaying = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _VideoProgressBarState_listener_closure0: function _VideoProgressBarState_listener_closure0() { }, _VideoProgressBarState_build_closure4: function _VideoProgressBarState_build_closure4(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure5: function _VideoProgressBarState_build_closure5(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure3: function _VideoProgressBarState_build_closure3(t0) { this.$this = t0; }, _VideoProgressBarState_build_closure6: function _VideoProgressBarState_build_closure6(t0) { this.$this = t0; }, _ProgressBarPainter0: function _ProgressBarPainter0(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _.colors = t1; _.barHeight = t2; _.handleHeight = t3; _.drawShadow = t4; _._repaint = t5; }, 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() { }, 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() { }, HeapPriorityQueue: function HeapPriorityQueue(t0, t1, t2) { var _ = this; _.comparison = t0; _._queue = t1; _._modificationCount = _._priority_queue$_length = 0; _.$ti = t2; }, _createMessages(errors, options) { var t1; if (errors == null) errors = A._setArrayType([], type$.JSArray_Message); options = A.PreprocessorOptions$("memory", false); t1 = A._setArrayType([], type$.JSArray_Message); $.__messages.__late_helper$_value = new A.Messages(B.JSArray_methods.get$add(errors), options, t1); }, parse0(input, errors) { var source = A._inputAsString(input); A._createMessages(errors, null); return A._Parser$(A.SourceFile$fromString(source, null), source).parse$0(0); }, parseSelectorGroup(input, errors) { var t1, source = A._inputAsString(input); A._createMessages(errors, null); t1 = A._Parser$(A.SourceFile$fromString(source, null), source); t1.tokenizer.inSelector = true; return t1.processSelectorGroup$0(); }, _inputAsString(input) { return input; }, _Parser$(file, text) { var t1 = new A.Tokenizer(85, 117, 43, 63, new A.CodeUnits("CDATA"), file, text, true, 0), t2 = new A._Parser(t1); t2.___Parser__peekToken = t1.next$0(0); return t2; }, _Parser__hexDigit(c) { if (c >= 48 && c <= 57) return c - 48; else if (c >= 97 && c <= 102) return c - 87; else if (c >= 65 && c <= 70) return c - 55; else return -1; }, _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 (B.JSString_methods._codeUnitAt$1(text, 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; }, Font_merge(a, b) { var t3, t4, t5, t1 = a.size, t2 = b.size; t1 = t2 == null ? t1 : t2; t2 = a.family; t3 = b.family; t2 = t3 == null ? t2 : t3; t3 = a.weight; t4 = b.weight; t3 = t4 == null ? t3 : t4; t4 = a.lineHeight; t5 = b.lineHeight; t4 = t5 == null ? t4 : t5; return new A.Font(t1, t2, t3, a.style, a.variant, t4); }, 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 = B.JSString_methods._codeUnitAt$1(ident, i); idx0 = idx + 1; char = B.JSString_methods.codeUnitAt$1(text, 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 < 26; ++_i) { entry = B.List_UJh[_i]; if (A._asInt(entry.$index(0, "unit")) === unitTokenToFind) return A._asStringQ(entry.$index(0, "value")); } return "<BAD UNIT>"; }, TokenKind_matchColorName(text) { var _i, color, $name = text.toLowerCase(); for (_i = 0; _i < 147; ++_i) { color = B.List_k6K[_i]; if (color.$index(0, "name") === $name) return color; } return null; }, TokenKind_decimalToHex(number, minDigits) { var dividend0, paddings, t1, paddings0, i, _s16_ = "0123456789abcdef", result = A._setArrayType([], type$.JSArray_String), dividend = B.JSInt_methods._shrOtherPositive$1(number, 4); result.push(_s16_[B.JSInt_methods.$mod(number, 16)]); for (; dividend !== 0; dividend = dividend0) { dividend0 = dividend >>> 4; result.push(_s16_[B.JSInt_methods.$mod(dividend, 16)]); } paddings = minDigits - result.length; for (t1 = ""; paddings0 = paddings - 1, paddings > 0; paddings = paddings0) t1 += "0"; for (i = result.length - 1; i >= 0; --i) t1 += result[i]; return t1.charCodeAt(0) == 0 ? t1 : t1; }, 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("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: return true; default: return false; } }, TokenizerHelpers_isHexDigit(c) { var t1; if (!(c >= 48 && c <= 57)) if (!(c >= 97 && c <= 102)) t1 = c >= 65 && c <= 70; else t1 = true; else t1 = true; return t1; }, 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; }, ClauseType: function ClauseType(t0, t1) { this.index = t0; this._core$_name = t1; }, _Parser: function _Parser(t0) { this.tokenizer = t0; this._previousToken = null; this.___Parser__peekToken = $; }, _Parser_processMixin_closure: function _Parser_processMixin_closure() { }, _Parser_processMixin_closure0: function _Parser_processMixin_closure0(t0, t1) { this.$this = t0; this.newDecls = t1; }, ExpressionsProcessor: function ExpressionsProcessor(t0) { this._exprs = t0; this._parser$_index = 0; }, LineHeight0: function LineHeight0(t0) { this.height = t0; }, Font: function Font(t0, t1, t2, t3, t4, t5) { var _ = this; _.size = t0; _.family = t1; _.weight = t2; _.style = t3; _.variant = t4; _.lineHeight = t5; }, BoxEdge: function BoxEdge(t0, t1) { this.top = t0; this.bottom = t1; }, Token0: function Token0(t0, t1) { this.kind = t0; this.span = t1; }, LiteralToken: function LiteralToken(t0, t1, t2) { this.value = t0; this.kind = t1; this.span = t2; }, 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; _._parser$_text = t6; _._inString = t7; _.inSelector = _.inSelectorExpression = false; _._parser$_index = t8; _._parser$_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; }, Messages_mergeMessages_closure: function Messages_mergeMessages_closure(t0) { this.$this = t0; }, PreprocessorOptions$(inputFile, useColors) { return new A.PreprocessorOptions(useColors); }, PreprocessorOptions: function PreprocessorOptions(t0) { this.useColors = t0; }, VarDefinition$(definedName, expr, span) { return new A.VarDefinition(definedName, expr, null, false, span); }, IncludeMixinAtDeclaration$(include, span) { return new A.IncludeMixinAtDeclaration(include, null, null, null, false, span); }, FontExpression$(span, family, lineHeight, size, weight) { return new A.FontExpression(new A.Font(A._asNumQ(size instanceof A.LengthTerm ? size.value : size), family, weight, null, null, lineHeight), 1, span); }, 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; }, CalcTerm: function CalcTerm(t0, t1, t2, t3) { var _ = this; _.expr = t0; _.value = t1; _.text = t2; _.span = t3; }, 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; }, StyleSheet: function StyleSheet(t0, t1) { this.topLevels = t0; this.span = t1; }, TopLevelProduction: function TopLevelProduction() { }, RuleSet: function RuleSet(t0, t1, t2) { this.selectorGroup = t0; this.declarationGroup = t1; this.span = t2; }, Directive: function Directive() { }, DocumentDirective: function DocumentDirective(t0, t1, t2) { this.functions = t0; this.groupRuleBody = t1; this.span = t2; }, SupportsDirective: function SupportsDirective(t0, t1, t2) { this.condition = t0; this.groupRuleBody = t1; this.span = t2; }, SupportsCondition: function SupportsCondition() { }, SupportsConditionInParens: function SupportsConditionInParens(t0, t1) { this.condition = t0; this.span = t1; }, SupportsNegation: function SupportsNegation(t0, t1) { this.condition = t0; this.span = t1; }, SupportsConjunction: function SupportsConjunction(t0, t1) { this.conditions = t0; this.span = t1; }, SupportsDisjunction: function SupportsDisjunction(t0, t1) { this.conditions = t0; this.span = t1; }, ViewportDirective: function ViewportDirective(t0, t1, t2) { this.name = t0; this.declarations = t1; this.span = t2; }, ImportDirective: function ImportDirective(t0, t1) { this.mediaQueries = t0; this.span = t1; }, MediaExpression: function MediaExpression(t0, t1) { this.exprs = t0; this.span = t1; }, MediaQuery0: function MediaQuery0(t0, t1) { this.expressions = t0; this.span = t1; }, MediaDirective: function MediaDirective(t0, t1, t2) { this.mediaQueries = t0; this.rules = t1; this.span = t2; }, HostDirective: function HostDirective(t0, t1) { this.rules = t0; this.span = t1; }, PageDirective: function PageDirective(t0, t1) { this._declsMargin = t0; this.span = t1; }, CharsetDirective: function CharsetDirective(t0) { this.span = t0; }, KeyFrameDirective: function KeyFrameDirective(t0, t1, t2) { this.name = t0; this._blocks = t1; this.span = t2; }, KeyFrameBlock: function KeyFrameBlock(t0, t1, t2) { this._blockSelectors = t0; this._declarations = t1; this.span = t2; }, FontFaceDirective: function FontFaceDirective(t0, t1) { this._declarations = t0; this.span = t1; }, StyletDirective: function StyletDirective(t0, t1) { this.rules = t0; this.span = t1; }, NamespaceDirective: function NamespaceDirective(t0) { this.span = t0; }, VarDefinitionDirective: function VarDefinitionDirective(t0, t1) { this.def = t0; this.span = t1; }, MixinDefinition: function MixinDefinition() { }, MixinRulesetDirective: function MixinRulesetDirective(t0, t1, t2) { this.rulesets = t0; this.name = t1; this.span = t2; }, MixinDeclarationDirective: function MixinDeclarationDirective(t0, t1, t2) { this.declarations = t0; this.name = t1; this.span = t2; }, IncludeDirective: function IncludeDirective(t0, t1, t2) { this.name = t0; this.args = t1; this.span = t2; }, Declaration: function Declaration(t0, t1, t2, t3, t4) { var _ = this; _._property = t0; _.expression = t1; _.dartStyle = t2; _.isIE7 = t3; _.span = t4; }, VarDefinition: function VarDefinition(t0, t1, t2, t3, t4) { var _ = this; _._property = t0; _.expression = t1; _.dartStyle = t2; _.isIE7 = t3; _.span = t4; }, IncludeMixinAtDeclaration: function IncludeMixinAtDeclaration(t0, t1, t2, t3, t4, t5) { var _ = this; _.include = t0; _._property = t1; _.expression = t2; _.dartStyle = t3; _.isIE7 = t4; _.span = t5; }, ExtendDeclaration: function ExtendDeclaration(t0, t1, t2, t3, t4, t5) { var _ = this; _.selectors = t0; _._property = t1; _.expression = t2; _.dartStyle = t3; _.isIE7 = t4; _.span = t5; }, DeclarationGroup: function DeclarationGroup(t0, t1) { this.declarations = t0; this.span = t1; }, MarginGroup: function MarginGroup(t0, t1) { this.declarations = t0; this.span = t1; }, VarUsage: function VarUsage(t0, t1, t2) { this.name = t0; this.defaultValues = t1; this.span = t2; }, OperatorSlash: function OperatorSlash(t0) { this.span = t0; }, OperatorComma: function OperatorComma(t0) { this.span = t0; }, OperatorPlus: function OperatorPlus(t0) { this.span = t0; }, OperatorMinus: function OperatorMinus(t0) { this.span = t0; }, UnicodeRangeTerm: function UnicodeRangeTerm(t0, t1) { this.first = t0; this.span = t1; }, 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; }, UriTerm: function UriTerm(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; }, ViewportTerm: function ViewportTerm(t0, t1, t2, t3) { var _ = this; _.unit = t0; _.value = t1; _.text = t2; _.span = t3; }, BAD_HEX_VALUE: function BAD_HEX_VALUE() { }, HexColorTerm: function HexColorTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, FunctionTerm: function FunctionTerm(t0, t1, t2, t3) { var _ = this; _._params = t0; _.value = t1; _.text = t2; _.span = t3; }, IE8Term: function IE8Term(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, GroupTerm: function GroupTerm(t0, t1) { this._terms = t0; this.span = t1; }, ItemTerm: function ItemTerm(t0, t1, t2) { this.value = t0; this.text = t1; this.span = t2; }, Expressions: function Expressions(t0, t1) { this.expressions = t0; this.span = t1; }, DartStyleExpression: function DartStyleExpression() { }, FontExpression: function FontExpression(t0, t1, t2) { this.font = t0; this._styleType = t1; this.span = t2; }, BoxExpression: function BoxExpression() { }, MarginExpression: function MarginExpression(t0, t1) { this._styleType = t0; this.span = t1; }, BorderExpression: function BorderExpression(t0, t1) { this._styleType = t0; this.span = t1; }, HeightExpression: function HeightExpression(t0, t1, t2) { this.height = t0; this._styleType = t1; this.span = t2; }, WidthExpression: function WidthExpression(t0, t1) { this._styleType = t0; this.span = t1; }, PaddingExpression: function PaddingExpression(t0, t1) { this._styleType = t0; this.span = t1; }, TreeNode: function TreeNode() { }, Expression: function Expression() { }, Visitor: function Visitor() { }, DeviceInfoPlatform: function DeviceInfoPlatform() { }, MethodChannelDeviceInfo: function MethodChannelDeviceInfo(t0) { this._instanceToken = t0; }, DeviceInfoPlusPlugin: function DeviceInfoPlusPlugin(t0) { this._instanceToken = t0; }, ResponseBody$fromBytes(bytes, statusCode, headers, isRedirect, statusMessage) { var t1 = A.instanceType(bytes)._eval$1("MappedListIterable<ListMixin.E,Uint8List>"); return new A.ResponseBody(A.Stream_Stream$fromIterable(A.List_List$of(new A.MappedListIterable(bytes, new A.ResponseBody$fromBytes_closure(), t1), true, t1._eval$1("ListIterable.E")), type$.Uint8List), headers, statusCode, statusMessage, isRedirect, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); }, ResponseBody: function ResponseBody(t0, t1, t2, t3, t4, t5) { var _ = this; _.stream = t0; _.__ResponseBody_headers = t1; _.statusCode = t2; _.statusMessage = t3; _.isRedirect = t4; _.extra = t5; }, ResponseBody$fromBytes_closure: function ResponseBody$fromBytes_closure() { }, BrowserHttpClientAdapter: function BrowserHttpClientAdapter(t0) { this._browser_adapter$_xhrs = t0; }, BrowserHttpClientAdapter_fetch_closure: function BrowserHttpClientAdapter_fetch_closure(t0) { this.xhr = t0; }, BrowserHttpClientAdapter_fetch_closure0: function BrowserHttpClientAdapter_fetch_closure0(t0, t1, t2) { this.xhr = t0; this.completer = t1; this.options = t2; }, BrowserHttpClientAdapter_fetch__closure: function BrowserHttpClientAdapter_fetch__closure(t0, t1, t2) { this.reader = t0; this.completer = t1; this.xhr = t2; }, BrowserHttpClientAdapter_fetch___closure: function BrowserHttpClientAdapter_fetch___closure() { }, BrowserHttpClientAdapter_fetch__closure0: function BrowserHttpClientAdapter_fetch__closure0(t0, t1) { this.completer = t0; this.options = t1; }, BrowserHttpClientAdapter_fetch_closure1: function BrowserHttpClientAdapter_fetch_closure1(t0, t1) { this.completer = t0; this.options = t1; }, BrowserHttpClientAdapter_fetch_closure2: function BrowserHttpClientAdapter_fetch_closure2() { }, BrowserHttpClientAdapter_fetch_closure3: function BrowserHttpClientAdapter_fetch_closure3(t0, t1) { this.$this = t0; this.xhr = t1; }, DioError$(error, requestOptions, response, type) { return new A.DioError(response, type, error); }, DioErrorType: function DioErrorType(t0, t1) { this.index = t0; this._core$_name = t1; }, DioError: function DioError(t0, t1, t2) { var _ = this; _.response = t0; _.type = t1; _.error = t2; _._stackTrace = null; }, DioMixin_listenCancelForAsyncTask(cancelToken, future, $T) { var t1 = A._setArrayType([], $T._eval$1("JSArray<Future<0>>")); t1.push(future); return A.Future_any(t1, $T); }, DioMixin_checkOptions(method, options) { if (options == null) options = A.Options$(null); options.method = method; return options; }, DioMixin_checkIfNeedEnqueue(lock, callback) { var t1 = callback.call$0(); return t1; }, DioMixin_assureDioError(err, requestOptions, stackTrace) { var dioError = err instanceof A.DioError ? err : new A.DioError(null, B.DioErrorType_5, err), t1 = dioError.error, errorStackTrace = type$.Error._is(t1) ? t1.get$stackTrace() : null; t1 = stackTrace == null ? dioError._stackTrace : stackTrace; if (t1 == null) t1 = errorStackTrace; dioError._stackTrace = t1 == null ? A.StackTrace_current() : t1; return dioError; }, DioMixin_assureResponse(response, requestOptions, $T) { var data, t1, t2, t3, _null = null; if (!(response instanceof A.Response0)) return A.Response$(response, _null, _null, _null, _null, requestOptions, _null, _null, $T); else if (!$T._eval$1("Response0<0>")._is(response)) { data = response.data; t1 = A._lateReadCheck(response.__Response_headers, "headers"); t2 = A._lateReadCheck(response.__Response_requestOptions, "requestOptions"); t3 = response.statusCode; return A.Response$(data, _null, t1, response.isRedirect, A._lateReadCheck(response.__Response_redirects, "redirects"), t2, t3, response.statusMessage, $T); } return response; }, DioMixin: function DioMixin() { }, DioMixin_fetch__requestInterceptorWrapper: function DioMixin_fetch__requestInterceptorWrapper(t0, t1) { this._box_1 = t0; this.$this = t1; }, DioMixin_fetch__requestInterceptorWrapper_closure: function DioMixin_fetch__requestInterceptorWrapper_closure(t0, t1, t2) { this._box_1 = t0; this.$this = t1; this.interceptor = t2; }, DioMixin_fetch__requestInterceptorWrapper__closure: function DioMixin_fetch__requestInterceptorWrapper__closure(t0, t1, t2) { this.$this = t0; this.interceptor = t1; this.state = t2; }, DioMixin_fetch__requestInterceptorWrapper___closure: function DioMixin_fetch__requestInterceptorWrapper___closure(t0, t1) { this.interceptor = t0; this.state = t1; }, DioMixin_fetch__responseInterceptorWrapper: function DioMixin_fetch__responseInterceptorWrapper(t0, t1) { this._box_1 = t0; this.$this = t1; }, DioMixin_fetch__responseInterceptorWrapper_closure: function DioMixin_fetch__responseInterceptorWrapper_closure(t0, t1, t2) { this._box_1 = t0; this.$this = t1; this.interceptor = t2; }, DioMixin_fetch__responseInterceptorWrapper__closure: function DioMixin_fetch__responseInterceptorWrapper__closure(t0, t1, t2) { this.$this = t0; this.interceptor = t1; this.state = t2; }, DioMixin_fetch__responseInterceptorWrapper___closure: function DioMixin_fetch__responseInterceptorWrapper___closure(t0, t1) { this.interceptor = t0; this.state = t1; }, DioMixin_fetch__errorInterceptorWrapper: function DioMixin_fetch__errorInterceptorWrapper(t0, t1) { this._box_1 = t0; this.$this = t1; }, DioMixin_fetch__errorInterceptorWrapper_closure: function DioMixin_fetch__errorInterceptorWrapper_closure(t0, t1, t2) { this._box_1 = t0; this.$this = t1; this.interceptor = t2; }, DioMixin_fetch__errorInterceptorWrapper__closure: function DioMixin_fetch__errorInterceptorWrapper__closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.interceptor = t2; }, DioMixin_fetch__errorInterceptorWrapper___closure: function DioMixin_fetch__errorInterceptorWrapper___closure(t0, t1) { this._box_0 = t0; this.interceptor = t1; }, DioMixin_fetch_closure: function DioMixin_fetch_closure(t0) { this._box_1 = t0; }, DioMixin_fetch_closure0: function DioMixin_fetch_closure0(t0, t1) { this._box_1 = t0; this._requestInterceptorWrapper = t1; }, DioMixin_fetch_closure1: function DioMixin_fetch_closure1(t0, t1) { this._box_1 = t0; this.$this = t1; }, DioMixin_fetch__closure: function DioMixin_fetch__closure(t0) { this.handler = t0; }, DioMixin_fetch__closure0: function DioMixin_fetch__closure0(t0) { this.handler = t0; }, DioMixin_fetch_closure2: function DioMixin_fetch_closure2(t0, t1) { this._box_1 = t0; this._responseInterceptorWrapper = t1; }, DioMixin_fetch_closure3: function DioMixin_fetch_closure3(t0, t1) { this._box_1 = t0; this._errorInterceptorWrapper = t1; }, DioMixin_fetch_closure4: function DioMixin_fetch_closure4(t0, t1) { this._box_1 = t0; this.T = t1; }, DioMixin_fetch_closure5: function DioMixin_fetch_closure5(t0, t1) { this._box_1 = t0; this.T = t1; }, DioMixin__dispatchRequest_closure: function DioMixin__dispatchRequest_closure(t0) { this.ret = t0; }, DioMixin__transformData_closure: function DioMixin__transformData_closure(t0, t1) { this._box_0 = t0; this.options = t1; }, DioMixin__transformData_closure0: function DioMixin__transformData_closure0(t0) { this.options = t0; }, DioForBrowser$(options) { var t1 = new A.DioForBrowser($, new A.Interceptors(A._setArrayType([], type$.JSArray_Interceptor), new A.Lock(), new A.Lock(), new A.Lock()), $, new A.DefaultTransformer(), false); t1.DioMixin___DioMixin_options = options; t1.DioMixin___DioMixin_httpClientAdapter = new A.BrowserHttpClientAdapter(A._setArrayType([], type$.JSArray_HttpRequest)); return t1; }, DioForBrowser: function DioForBrowser(t0, t1, t2, t3, t4) { var _ = this; _.DioMixin___DioMixin_options = t0; _.DioMixin__interceptors = t1; _.DioMixin___DioMixin_httpClientAdapter = t2; _.DioMixin_transformer = t3; _.DioMixin__closed = t4; }, _DioForBrowser_Object_DioMixin: function _DioForBrowser_Object_DioMixin() { }, Headers$fromMap(map) { var t1 = type$.List_String; return new A.Headers(A.caseInsensitiveKeyMap(map.map$2$1(map, new A.Headers$fromMap_closure(), type$.String, t1), t1)); }, Headers: function Headers(t0) { this._headers$_map = t0; }, Headers$fromMap_closure: function Headers$fromMap_closure() { }, Headers_toString_closure: function Headers_toString_closure(t0) { this.stringBuffer = t0; }, Headers_toString__closure: function Headers_toString__closure(t0, t1) { this.stringBuffer = t0; this.key = t1; }, Lock: function Lock() { this._lock = null; }, InterceptorResultType: function InterceptorResultType(t0, t1) { this.index = t0; this._core$_name = t1; }, InterceptorState: function InterceptorState(t0, t1, t2) { this.data = t0; this.type = t1; this.$ti = t2; }, _BaseHandler: function _BaseHandler() { }, RequestInterceptorHandler: function RequestInterceptorHandler(t0) { this._interceptor$_completer = t0; }, ResponseInterceptorHandler: function ResponseInterceptorHandler(t0) { this._interceptor$_completer = t0; }, ErrorInterceptorHandler: function ErrorInterceptorHandler(t0) { this._interceptor$_completer = t0; }, Interceptor0: function Interceptor0() { }, Interceptors: function Interceptors(t0, t1, t2, t3) { var _ = this; _._interceptor$_list = t0; _._requestLock = t1; _._responseLock = t2; _._errorLock = t3; _.length = 0; }, BaseOptions$(baseUrl, connectTimeout, contentType, headers, receiveTimeout, responseType) { var _null = null, t1 = new A.BaseOptions($, $, $, _null, _null); t1._RequestConfig$14$contentType$extra$followRedirects$headers$listFormat$maxRedirects$method$receiveDataWhenStatusError$receiveTimeout$requestEncoder$responseDecoder$responseType$sendTimeout$validateStatus(contentType, _null, _null, headers, _null, _null, _null, _null, receiveTimeout, _null, _null, responseType, _null, _null); t1.OptionsMixin___OptionsMixin_queryParameters = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); t1.OptionsMixin___OptionsMixin_baseUrl = baseUrl; t1.OptionsMixin___OptionsMixin_connectTimeout = connectTimeout == null ? 0 : connectTimeout; return t1; }, Options$(headers) { return new A.Options(headers); }, RequestOptions$(baseUrl, connectTimeout, data, extra, followRedirects, headers, listFormat, maxRedirects, method, path, queryParameters, receiveDataWhenStatusError, receiveTimeout, requestEncoder, responseDecoder, responseType, sendTimeout, validateStatus) { var t1 = new A.RequestOptions(data, path, $, $, $, requestEncoder, responseDecoder); t1._RequestConfig$14$contentType$extra$followRedirects$headers$listFormat$maxRedirects$method$receiveDataWhenStatusError$receiveTimeout$requestEncoder$responseDecoder$responseType$sendTimeout$validateStatus(null, extra, followRedirects, headers, listFormat, maxRedirects, method, receiveDataWhenStatusError, receiveTimeout, requestEncoder, responseDecoder, responseType, sendTimeout, validateStatus); t1.OptionsMixin___OptionsMixin_queryParameters = queryParameters == null ? A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic) : queryParameters; t1.OptionsMixin___OptionsMixin_baseUrl = baseUrl == null ? "" : baseUrl; t1.OptionsMixin___OptionsMixin_connectTimeout = connectTimeout == null ? 0 : connectTimeout; return t1; }, ResponseType: function ResponseType(t0, t1) { this.index = t0; this._core$_name = t1; }, ListFormat: function ListFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, BaseOptions: function BaseOptions(t0, t1, t2, t3, t4) { var _ = this; _.OptionsMixin___OptionsMixin_baseUrl = t0; _.OptionsMixin___OptionsMixin_queryParameters = t1; _.OptionsMixin___OptionsMixin_connectTimeout = t2; _.___RequestConfig_receiveTimeout = _.___RequestConfig_sendTimeout = _.___RequestConfig__headers = _.___RequestConfig_method = $; _._defaultContentType = null; _.___RequestConfig_maxRedirects = _.___RequestConfig_followRedirects = _.___RequestConfig_extra = _.___RequestConfig_receiveDataWhenStatusError = _.___RequestConfig_validateStatus = _.___RequestConfig_responseType = $; _.requestEncoder = t3; _.responseDecoder = t4; _.___RequestConfig_listFormat = $; }, OptionsMixin: function OptionsMixin() { }, Options: function Options(t0) { this.method = null; this.headers = t0; }, RequestOptions: function RequestOptions(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.data = t0; _.path = t1; _.onSendProgress = _.onReceiveProgress = _.cancelToken = null; _.OptionsMixin___OptionsMixin_baseUrl = t2; _.OptionsMixin___OptionsMixin_queryParameters = t3; _.OptionsMixin___OptionsMixin_connectTimeout = t4; _.___RequestConfig_receiveTimeout = _.___RequestConfig_sendTimeout = _.___RequestConfig__headers = _.___RequestConfig_method = $; _._defaultContentType = null; _.___RequestConfig_maxRedirects = _.___RequestConfig_followRedirects = _.___RequestConfig_extra = _.___RequestConfig_receiveDataWhenStatusError = _.___RequestConfig_validateStatus = _.___RequestConfig_responseType = $; _.requestEncoder = t5; _.responseDecoder = t6; _.___RequestConfig_listFormat = $; }, _RequestConfig: function _RequestConfig() { }, _RequestConfig_closure: function _RequestConfig_closure() { }, _BaseOptions__RequestConfig_OptionsMixin: function _BaseOptions__RequestConfig_OptionsMixin() { }, _RequestOptions__RequestConfig_OptionsMixin: function _RequestOptions__RequestConfig_OptionsMixin() { }, Response$(data, extra, headers, isRedirect, redirects, requestOptions, statusCode, statusMessage, $T) { var t1 = new A.Response0(data, requestOptions, statusCode, statusMessage, isRedirect, $T._eval$1("Response0<0>")); t1.__Response_headers = headers == null ? new A.Headers(A.caseInsensitiveKeyMap(null, type$.List_String)) : headers; t1.__Response_redirects = redirects == null ? A._setArrayType([], type$.JSArray_RedirectRecord) : redirects; return t1; }, Response0: function Response0(t0, t1, t2, t3, t4, t5) { var _ = this; _.data = t0; _.__Response_headers = $; _.__Response_requestOptions = t1; _.statusCode = t2; _.statusMessage = t3; _.__Response_redirects = $; _.isRedirect = t4; _.$ti = t5; }, Transformer_urlEncodeMap(map, listFormat) { return A.encodeMap(map, new A.Transformer_urlEncodeMap_closure(), listFormat); }, Transformer: function Transformer() { }, Transformer_urlEncodeMap_closure: function Transformer_urlEncodeMap_closure() { }, DefaultTransformer: function DefaultTransformer() { }, DefaultTransformer_transformResponse_closure: function DefaultTransformer_transformResponse_closure(t0, t1, t2) { this._box_0 = t0; this.showDownloadProgress = t1; this.options = t2; }, DefaultTransformer_transformResponse_closure0: function DefaultTransformer_transformResponse_closure0(t0, t1) { this._box_0 = t0; this.chunks = t1; }, DefaultTransformer_transformResponse_closure2: function DefaultTransformer_transformResponse_closure2(t0) { this.completer = t0; }, DefaultTransformer_transformResponse_closure1: function DefaultTransformer_transformResponse_closure1(t0) { this.completer = t0; }, encodeMap(data, handler, listFormat) { var t1 = {}, urlData = new A.StringBuffer(""); t1.first = true; new A.encodeMap_urlEncode(t1, listFormat, "%5B", "%5D", A.core_Uri_encodeQueryComponent$closure(), handler, urlData).call$2(data, ""); t1 = urlData._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _getSeparatorChar(collectionFormat) { switch (collectionFormat.index) { case 0: return ","; case 1: return " "; case 2: return "\\t"; case 3: return "|"; default: return ""; } }, caseInsensitiveKeyMap(value, $V) { var map = A.LinkedHashMap_LinkedHashMap(new A.caseInsensitiveKeyMap_closure(), new A.caseInsensitiveKeyMap_closure0(), null, type$.String, $V); if (value != null && value.get$isNotEmpty(value)) map.addAll$1(0, value); return map; }, encodeMap_urlEncode: function encodeMap_urlEncode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.listFormat = t1; _.leftBracket = t2; _.rightBracket = t3; _.encodeComponent = t4; _.handler = t5; _.urlData = t6; }, encodeMap_urlEncode_closure: function encodeMap_urlEncode_closure(t0, t1, t2, t3, t4) { var _ = this; _.path = t0; _.urlEncode = t1; _.encodeComponent = t2; _.leftBracket = t3; _.rightBracket = t4; }, caseInsensitiveKeyMap_closure: function caseInsensitiveKeyMap_closure() { }, caseInsensitiveKeyMap_closure0: function caseInsensitiveKeyMap_closure0() { }, ApiInterceptor: function ApiInterceptor() { }, ApiInterceptor_onRequest_closure: function ApiInterceptor_onRequest_closure(t0) { this.token = t0; }, RoutineApiInterceptor: function RoutineApiInterceptor() { }, RoutineApiInterceptor_onRequest_closure: function RoutineApiInterceptor_onRequest_closure(t0) { this.token = t0; }, ApiManager: function ApiManager() { this.__ApiManager_dio = $; }, RoutineManager: function RoutineManager() { this.__RoutineManager_routineDio = $; }, NavigationService: function NavigationService() { }, setupLocator() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$setupLocator = 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$locator().registerLazySingleton$1$1(new A.setupLocator_closure(), type$.ApiManager); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure0(), type$.RoutineManager); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure1(), type$.NavigationService); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure2(), type$.SharedPref); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure3(), type$.CourseContentProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure4(), type$.QAProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure5(), type$.SubjectProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure6(), type$.AuthProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure7(), type$.DictionaryProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure8(), type$.TestsProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure9(), type$.JitsiMeetingProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure10(), type$.AssignmentProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure11(), type$.NoteProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure12(), type$.QuestionProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure13(), type$.ResourceProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure14(), type$.GlobalIdsProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure15(), type$.StudentTestProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure16(), type$.ManageAccountProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure17(), type$.AdminBatchProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure18(), type$.TempJitsiProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure19(), type$.AdminSectionProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure20(), type$.AdminTeacherProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure21(), type$.AdminSubjectProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure22(), type$.AdminFilterProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure23(), type$.AdminClassProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure24(), type$.AdminStudentProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure25(), type$.TextFieldProvider); $.$get$locator().registerLazySingleton$1$1(new A.setupLocator_closure26(), type$.RoutineProvider); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$setupLocator, $async$completer); }, setupLocator_closure: function setupLocator_closure() { }, setupLocator_closure0: function setupLocator_closure0() { }, setupLocator_closure1: function setupLocator_closure1() { }, setupLocator_closure2: function setupLocator_closure2() { }, setupLocator_closure3: function setupLocator_closure3() { }, setupLocator_closure4: function setupLocator_closure4() { }, setupLocator_closure5: function setupLocator_closure5() { }, setupLocator_closure6: function setupLocator_closure6() { }, setupLocator_closure7: function setupLocator_closure7() { }, setupLocator_closure8: function setupLocator_closure8() { }, setupLocator_closure9: function setupLocator_closure9() { }, setupLocator_closure10: function setupLocator_closure10() { }, setupLocator_closure11: function setupLocator_closure11() { }, setupLocator_closure12: function setupLocator_closure12() { }, setupLocator_closure13: function setupLocator_closure13() { }, setupLocator_closure14: function setupLocator_closure14() { }, setupLocator_closure15: function setupLocator_closure15() { }, setupLocator_closure16: function setupLocator_closure16() { }, setupLocator_closure17: function setupLocator_closure17() { }, setupLocator_closure18: function setupLocator_closure18() { }, setupLocator_closure19: function setupLocator_closure19() { }, setupLocator_closure20: function setupLocator_closure20() { }, setupLocator_closure21: function setupLocator_closure21() { }, setupLocator_closure22: function setupLocator_closure22() { }, setupLocator_closure23: function setupLocator_closure23() { }, setupLocator_closure24: function setupLocator_closure24() { }, setupLocator_closure25: function setupLocator_closure25() { }, setupLocator_closure26: function setupLocator_closure26() { }, SharedPref: function SharedPref(t0) { this.encryptedSharedPreferences = t0; }, main() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), t1; 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.setupLocator(), $async$main); case 2: // returning from await. if ($.WidgetsBinding__instance == null) A.WidgetsFlutterBinding$(); $.WidgetsBinding__instance.toString; t1 = $.WidgetsBinding__instance; t1.scheduleAttachRootWidget$1(new A.MyApp(null)); t1.scheduleWarmUpFrame$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$main, $async$completer); }, MyApp: function MyApp(t0) { this.key = t0; }, MyApp_build_closure: function MyApp_build_closure() { }, MyApp_build__closure0: function MyApp_build__closure0(t0) { this.context = t0; }, MyApp_build__closure: function MyApp_build__closure() { }, AdminStudentModel: function AdminStudentModel(t0, t1, t2) { this.id = t0; this.email = t1; this.fullName = t2; }, AdminSubjectModel$(code, coverImageUrl, id, isActive, $name, resourceCateogryId) { return new A.AdminSubjectModel(id, $name, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, AdminSubjectModel: function AdminSubjectModel(t0, t1, t2) { var _ = this; _.id = t0; _.name = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AdminSubjectModel_Object_ChangeNotifier: function _AdminSubjectModel_Object_ChangeNotifier() { }, AdminTeacherModel$(email, fullName, id, teacherId, userId) { return new A.AdminTeacherModel(id, fullName, email, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, AdminTeacherModel: function AdminTeacherModel(t0, t1, t2, t3) { var _ = this; _.id = t0; _.fullName = t1; _.email = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AdminTeacherModel_Object_ChangeNotifier: function _AdminTeacherModel_Object_ChangeNotifier() { }, BatchClassSectionModel$(accountId, code, coverImageUrl, id, isActive, isCurrent, languageId, languageModel, $name, $parent, parentId) { return new A.BatchClassSectionModel(id, $name, $parent, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, BatchClassSectionModel_BatchClassSectionModel$fromMap(json) { var t11, t12, t13, t14, _s10_ = "account_id", _s11_ = "cover_image", _s9_ = "is_active", _s10_0 = "is_current", _s11_0 = "language_id", _null = null, _s8_ = "language", _s9_0 = "parent_id", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id"), t3 = t1.$index(json, _s10_), t4 = t1.$index(json, "code"), t5 = t1.$index(json, "name"), t6 = t1.$index(json, _s11_), t7 = t1.$index(json, _s9_), t8 = t1.$index(json, _s10_0), t9 = t1.$index(json, _s11_0) == null ? _null : t1.$index(json, _s11_0), t10 = t1.$index(json, _s8_) == null ? _null : A.LanguageModel_LanguageModel$fromJson(t1.$index(json, _s8_)); if (t1.$index(json, "parent") == null) t11 = _null; else { t11 = t1.$index(json, "parent"); t12 = J.getInterceptor$asx(t11); if (t12.$index(t11, _s11_0) != null) t12.$index(t11, _s11_0); t12.$index(t11, _s10_0); t12.$index(t11, _s9_); t12.$index(t11, _s10_); t13 = t12.$index(t11, "id"); t14 = t12.$index(t11, "name"); t12.$index(t11, "code"); t12.$index(t11, _s11_); if (t12.$index(t11, _s9_0) != null) t12.$index(t11, _s9_0); t11 = new A.ParentModel(t13, t14, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); } return A.BatchClassSectionModel$(t3, t4, t6, t2, t7, t8, t9, t10, t5, t11, t1.$index(json, _s9_0) == null ? _null : t1.$index(json, _s9_0)); }, LanguageModel_LanguageModel$fromJson(json) { var t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "display_name"), t3 = t1.$index(json, "id"); t1.$index(json, "code"); t1.$index(json, "name"); return new A.LanguageModel(t3, t2, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, BatchClassSectionModel: function BatchClassSectionModel(t0, t1, t2, t3) { var _ = this; _.id = t0; _.name = t1; _.parent = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, LanguageModel: function LanguageModel(t0, t1, t2) { var _ = this; _.id = t0; _.displayName = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ParentModel: function ParentModel(t0, t1, t2) { var _ = this; _.id = t0; _.name = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _BatchClassSectionModel_Object_ChangeNotifier: function _BatchClassSectionModel_Object_ChangeNotifier() { }, _LanguageModel_Object_ChangeNotifier: function _LanguageModel_Object_ChangeNotifier() { }, _ParentModel_Object_ChangeNotifier: function _ParentModel_Object_ChangeNotifier() { }, Assignment_Assignment$fromMap(json) { var _null = null, _s11_ = "resource_id", _s12_ = "instructions", _s10_ = "start_date", _s12_0 = "has_deadline", _s11_0 = "deadline_by", _s9_ = "has_marks", _s11_1 = "total_marks", _s12_1 = "is_published", _s12_2 = "created_user", _s10_0 = "created_at", _s19_ = "assignment_material", _s21_ = "assignment_submission", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t4 = t1.$index(json, "title") == null ? "" : t1.$index(json, "title"), t5 = t1.$index(json, _s12_) == null ? "" : t1.$index(json, _s12_), t6 = t1.$index(json, _s10_) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_)), t7 = t1.$index(json, _s12_0) == null ? 0 : t1.$index(json, _s12_0), t8 = t1.$index(json, _s11_0) == null ? "" : t1.$index(json, _s11_0), t9 = t1.$index(json, _s9_) == null ? 0 : t1.$index(json, _s9_), t10 = t1.$index(json, _s11_1) == null ? 0 : A.double_parse(J.toString$0$(t1.$index(json, _s11_1))), t11 = t1.$index(json, _s12_1) == null ? 0 : t1.$index(json, _s12_1), t12 = t1.$index(json, _s12_2) == null ? _null : t1.$index(json, _s12_2), t13 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)), t14 = t1.$index(json, _s19_) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s19_), new A.Assignment_Assignment$fromMap_closure()), true, type$.AssignmentMaterialElement); return new A.Assignment(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t1.$index(json, _s21_) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s21_), new A.Assignment_Assignment$fromMap_closure0()), true, type$.AssignmentMaterialElement)); }, AssignmentMaterialElement_AssignmentMaterialElement$fromMap(json) { var t3, t4, t5, t6, t7, _null = null, _s13_ = "assignment_id", _s8_ = "material", _s16_ = "material_type_id", _s8_0 = "has_file", _s12_ = "is_published", _s9_ = "file_path", _s15_ = "file_thumb_path", _s9_0 = "has_marks", _s11_ = "total_marks", _s8_1 = "file_url", _s14_ = "file_thumb_url", _s10_ = "student_id", _s14_0 = "submitted_date", _s16_0 = "teacher_feedback", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"); if (t1.$index(json, _s13_) != null) t1.$index(json, _s13_); t3 = t1.$index(json, _s8_) == null ? "" : t1.$index(json, _s8_); if (t1.$index(json, _s16_) != null) t1.$index(json, _s16_); if (t1.$index(json, _s8_0) != null) t1.$index(json, _s8_0); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); if (t1.$index(json, _s9_) != null) t1.$index(json, _s9_); if (t1.$index(json, _s15_) != null) t1.$index(json, _s15_); t4 = t1.$index(json, _s9_0) == null ? _null : t1.$index(json, _s9_0); t5 = t1.$index(json, _s11_) == null ? 0 : A.double_parse(J.toString$0$(t1.$index(json, _s11_))); t6 = t1.$index(json, _s8_1) == null ? _null : t1.$index(json, _s8_1); if (t1.$index(json, _s14_) != null) t1.$index(json, _s14_); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); t7 = t1.$index(json, _s14_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s14_0)); return new A.AssignmentMaterialElement(t2, t3, t4, t5, t6, t7, t1.$index(json, _s16_0) == null ? "" : t1.$index(json, _s16_0)); }, Assignment: function Assignment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.id = t0; _.resourceId = t1; _.title = t2; _.instructions = t3; _.startDate = t4; _.hasDeadline = t5; _.deadlineBy = t6; _.hasMarks = t7; _.totalMarks = t8; _.isPublished = t9; _.createdUser = t10; _.createdAt = t11; _.assignmentMaterial = t12; _.assignmentSubmission = t13; }, Assignment_Assignment$fromMap_closure: function Assignment_Assignment$fromMap_closure() { }, Assignment_Assignment$fromMap_closure0: function Assignment_Assignment$fromMap_closure0() { }, AssignmentMaterialElement: function AssignmentMaterialElement(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.material = t1; _.hasMarks = t2; _.totalMarks = t3; _.fileUrl = t4; _.submittedDate = t5; _.teacherFeedback = t6; }, AssignmentSubmitted: function AssignmentSubmitted(t0, t1, t2) { this.id = t0; this.fullName = t1; this.assignmentSubmission = t2; }, AssignmentSubmission: function AssignmentSubmission(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.studentId = t1; _.submittedDate = t2; _.material = t3; _.hasFile = t4; _.fileUrl = t5; _.fileThumbUrl = t6; }, UserAccount: function UserAccount(t0, t1) { this.userId = t0; this.uuid = t1; }, UserAccountDetail_UserAccountDetail$fromMap(json) { var t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, _s2_ = "id", _null = null, _s9_ = "firstname", _s10_ = "middlename", _s8_ = "lastname", _s9_0 = "user_type", _s11_ = "is_verified", _s10_0 = "created_at", _s10_1 = "updated_at", _s12_ = "account_user", _s16_ = "resource_student", _s10_2 = "student_id", _s20_ = "resource_category_id", _s17_ = "resource_category", _s9_1 = "parent_id", _s10_3 = "parent_rec", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? _null : t1.$index(json, _s2_), t3 = t1.$index(json, "uuid") == null ? _null : t1.$index(json, "uuid"), t4 = t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_), t5 = t1.$index(json, _s10_) == null ? "" : t1.$index(json, _s10_), t6 = t1.$index(json, _s8_) == null ? _null : t1.$index(json, _s8_), t7 = t1.$index(json, "email") == null ? _null : t1.$index(json, "email"), t8 = t1.$index(json, "phone") == null ? _null : t1.$index(json, "phone"), t9 = t1.$index(json, _s9_0) == null ? _null : t1.$index(json, _s9_0), t10 = t1.$index(json, "status") == null ? _null : t1.$index(json, "status"), t11 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t12 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)), t13 = t1.$index(json, _s10_1) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_1)), t14 = t1.$index(json, "token") == null ? _null : t1.$index(json, "token"); if (t1.$index(json, _s12_) == null) t1 = _null; else { t1 = t1.$index(json, _s12_); t15 = J.getInterceptor$asx(t1); t16 = t15.$index(t1, _s2_) == null ? _null : t15.$index(t1, _s2_); t17 = t15.$index(t1, "user_id") == null ? _null : t15.$index(t1, "user_id"); if (t15.$index(t1, _s16_) == null) t1 = _null; else { t1 = t15.$index(t1, _s16_); t15 = J.getInterceptor$asx(t1); t18 = t15.$index(t1, _s2_) == null ? _null : t15.$index(t1, _s2_); t19 = t15.$index(t1, _s10_2) == null ? _null : t15.$index(t1, _s10_2); t20 = t15.$index(t1, _s20_) == null ? _null : t15.$index(t1, _s20_); t21 = t15.$index(t1, "roll_no"); t22 = t15.$index(t1, "symbol_no"); if (t15.$index(t1, _s17_) == null) t1 = _null; else { t1 = t15.$index(t1, _s17_); t15 = J.getInterceptor$asx(t1); t23 = t15.$index(t1, _s2_) == null ? _null : t15.$index(t1, _s2_); t24 = t15.$index(t1, _s9_1) == null ? _null : t15.$index(t1, _s9_1); t25 = t15.$index(t1, "code") == null ? _null : t15.$index(t1, "code"); t26 = t15.$index(t1, "name") == null ? _null : t15.$index(t1, "name"); t1 = new A.ResourceCategory(t23, t24, t25, t26, t15.$index(t1, _s10_3) == null ? _null : A.ParentRec_ParentRec$fromMap(t15.$index(t1, _s10_3))); } t1 = new A.ResourceStudent0(t18, t19, t20, t21, t22, t1); } t1 = new A.AccountUser(t16, t17, t1); } return new A.UserAccountDetail(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t1); }, ParentRec_ParentRec$fromMap(json) { var _null = null, _s10_ = "account_id", _s9_ = "parent_id", _s11_ = "language_id", _s11_0 = "cover_image", _s9_0 = "is_active", _s10_0 = "is_current", _s10_1 = "created_at", _s10_2 = "updated_at", _s10_3 = "parent_rec", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s10_) == null ? _null : t1.$index(json, _s10_), t4 = t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_), t5 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t6 = t1.$index(json, "code") == null ? _null : t1.$index(json, "code"), t7 = t1.$index(json, "name") == null ? _null : t1.$index(json, "name"), t8 = t1.$index(json, _s11_0) == null ? _null : t1.$index(json, _s11_0), t9 = t1.$index(json, _s9_0) == null ? _null : t1.$index(json, _s9_0), t10 = t1.$index(json, _s10_0) == null ? _null : t1.$index(json, _s10_0), t11 = t1.$index(json, _s10_1) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_1)), t12 = t1.$index(json, _s10_2) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_2)); return new A.ParentRec(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t1.$index(json, _s10_3) == null ? _null : A.ParentRec_ParentRec$fromMap(t1.$index(json, _s10_3))); }, UserAccountDetail: function UserAccountDetail(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.id = t0; _.uuid = t1; _.firstname = t2; _.middlename = t3; _.lastname = t4; _.email = t5; _.phone = t6; _.userType = t7; _.status = t8; _.isVerified = t9; _.createdAt = t10; _.updatedAt = t11; _.token = t12; _.accountUser = t13; }, AccountUser: function AccountUser(t0, t1, t2) { this.id = t0; this.userId = t1; this.resourceStudent = t2; }, ResourceStudent0: function ResourceStudent0(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.studentId = t1; _.resourceCategoryId = t2; _.rollNo = t3; _.symbolNo = t4; _.resourceCategory = t5; }, ResourceCategory: function ResourceCategory(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.parentId = t1; _.code = t2; _.name = t3; _.parentRec = t4; }, ParentRec: function ParentRec(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.id = t0; _.accountId = t1; _.parentId = t2; _.languageId = t3; _.code = t4; _.name = t5; _.coverImage = t6; _.isActive = t7; _.isCurrent = t8; _.createdAt = t9; _.updatedAt = t10; _.parentRec = t11; }, User_User$fromMap(json) { var t4, t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id"), t3 = t1.$index(json, "uuid"); t1.$index(json, "firstname"); t1.$index(json, "middlename"); t1.$index(json, "lastname"); t1.$index(json, "email"); t1.$index(json, "phone"); t1.$index(json, "user_type"); t1.$index(json, "status"); t1.$index(json, "is_verified"); A.DateTime_parse(t1.$index(json, "created_at")); A.DateTime_parse(t1.$index(json, "updated_at")); t4 = t1.$index(json, "user_token"); t1.$index(json, "full_name"); A.List_List$from(J.map$1$ax(t1.$index(json, "account_ids"), new A.User_User$fromMap_closure()), true, type$.int); return new A.User(t2, t3, t4); }, User: function User(t0, t1, t2) { this.id = t0; this.uuid = t1; this.userToken = t2; }, User_User$fromMap_closure: function User_User$fromMap_closure() { }, CourseContentDetail_CourseContentDetail$fromMap(json) { var t6, t7, _s2_ = "id", _null = null, _s5_ = "title", _s8_ = "sequence", _s11_ = "resource_id", _s12_ = "is_published", _s14_ = "resource_title", _s11_0 = "next_lesson", _s19_ = "resource_note_count", _s17_ = "resource_qa_count", _s19_0 = "resource_test_count", _s25_ = "resource_assignment_count", _s24_ = "resource_lesson_material", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? _null : t1.$index(json, _s2_), t3 = t1.$index(json, _s5_) == null ? "" : t1.$index(json, _s5_), t4 = t1.$index(json, _s8_) == null ? _null : J.toString$0$(t1.$index(json, _s8_)), t5 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); if (t1.$index(json, _s14_) != null) t1.$index(json, _s14_); t1.$index(json, "prev_lesson"); if (t1.$index(json, _s11_0) != null) { t6 = t1.$index(json, _s11_0); t7 = J.getInterceptor$asx(t6); t7.$index(t6, _s2_) == null; if (t7.$index(t6, _s5_) != null) t7.$index(t6, _s5_); } if (t1.$index(json, _s19_) != null) t1.$index(json, _s19_); if (t1.$index(json, _s17_) != null) t1.$index(json, _s17_); if (t1.$index(json, _s19_0) != null) t1.$index(json, _s19_0); if (t1.$index(json, _s25_) != null) t1.$index(json, _s25_); return new A.CourseContentDetail(t2, t3, t4, t5, t1.$index(json, _s24_) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s24_), new A.CourseContentDetail_CourseContentDetail$fromMap_closure()), true, type$.ResourceLessonMaterial)); }, CourseContentDetail: function CourseContentDetail(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.title = t1; _.sequence = t2; _.resourceId = t3; _.resourceLessonMaterial = t4; }, CourseContentDetail_CourseContentDetail$fromMap_closure: function CourseContentDetail_CourseContentDetail$fromMap_closure() { }, NextLesson: function NextLesson(t0) { this.id = t0; }, ResourceLessonMaterial0: function ResourceLessonMaterial0(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.materialId = t1; _.isPublished = t2; _.materialType = t3; _.resourceMaterial = t4; }, ResourceMaterial: function ResourceMaterial(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.content = t1; _.contentEmbed = t2; _.title = t3; _.contentUrlPreview = t4; }, CourseContents_CourseContents$fromMap(json) { var t6, t7, _null = null, _s19_ = "resource_subject_id", _s9_ = "parent_id", _s10_ = "created_at", _s10_0 = "updated_at", _s12_ = "is_published", _s19_0 = "resource_note_count", _s17_ = "resource_qa_count", _s25_ = "resource_assignment_count", _s19_1 = "resource_test_count", _s15_ = "resource_lesson", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s19_) == null ? _null : t1.$index(json, _s19_), t4 = t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_), t5 = t1.$index(json, "title") == null ? "" : t1.$index(json, "title"); if (t1.$index(json, _s10_) != null) A.DateTime_parse(t1.$index(json, _s10_)); t6 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)); t7 = t1.$index(json, _s12_) == null ? _null : t1.$index(json, _s12_); if (t1.$index(json, _s19_0) != null) t1.$index(json, _s19_0); if (t1.$index(json, _s17_) != null) t1.$index(json, _s17_); if (t1.$index(json, _s25_) != null) t1.$index(json, _s25_); if (t1.$index(json, _s19_1) != null) t1.$index(json, _s19_1); return new A.CourseContents(t2, t3, t4, t5, t6, t7, t1.$index(json, _s15_) == null ? A._setArrayType([], type$.JSArray_ResourceLesson) : A.List_List$from(J.map$1$ax(t1.$index(json, _s15_), new A.CourseContents_CourseContents$fromMap_closure()), true, type$.ResourceLesson)); }, ResourceLesson_ResourceLesson$fromMap(json) { var t3, t4, _s2_ = "id", _s11_ = "resource_id", _s8_ = "sequence", _s5_ = "title", _s10_ = "created_at", _s10_0 = "updated_at", _s12_ = "is_published", _s24_ = "resource_lesson_material", _s8_0 = "resource", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? null : t1.$index(json, _s2_); if (t1.$index(json, _s11_) != null) t1.$index(json, _s11_); if (t1.$index(json, _s8_) != null) t1.$index(json, _s8_); t3 = t1.$index(json, _s5_) == null ? "" : t1.$index(json, _s5_); if (t1.$index(json, _s10_) != null) A.DateTime_parse(t1.$index(json, _s10_)); if (t1.$index(json, _s10_0) != null) A.DateTime_parse(t1.$index(json, _s10_0)); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); if (t1.$index(json, _s24_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s24_), new A.ResourceLesson_ResourceLesson$fromMap_closure()), true, type$.ResourceLessonMaterial_2); if (t1.$index(json, _s8_0) != null) { t1 = t1.$index(json, _s8_0); t4 = J.getInterceptor$asx(t1); t4.$index(t1, _s2_) == null; if (t4.$index(t1, _s5_) != null) t4.$index(t1, _s5_); } return new A.ResourceLesson(t2, t3); }, CourseContents: function CourseContents(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.resourceSubjectId = t1; _.parentId = t2; _.title = t3; _.updatedAt = t4; _.isPublished = t5; _.resourceLesson = t6; }, CourseContents_CourseContents$fromMap_closure: function CourseContents_CourseContents$fromMap_closure() { }, ResourceLesson: function ResourceLesson(t0, t1) { this.id = t0; this.title = t1; }, ResourceLesson_ResourceLesson$fromMap_closure: function ResourceLesson_ResourceLesson$fromMap_closure() { }, Resource: function Resource(t0) { this.id = t0; }, ResourceLessonMaterial: function ResourceLessonMaterial(t0) { this.id = t0; }, LanguageTerm_LanguageTerm$fromMap(json) { var t2, t3, _s10_ = "languageId", _s20_ = "entryDefinitionsList", _s33_ = "entryLanguageInterLinkLinkedTerms", _s36_ = "entryLanguageInterLinkPrimaryEntries", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); t2 = t1.$index(json, "term") == null ? null : t1.$index(json, "term"); t1.$index(json, "language"); if (t1.$index(json, _s20_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s20_), new A.LanguageTerm_LanguageTerm$fromMap_closure()), true, type$.dynamic); if (t1.$index(json, _s33_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s33_), new A.LanguageTerm_LanguageTerm$fromMap_closure0()), true, type$.dynamic); if (t1.$index(json, _s36_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s36_), new A.LanguageTerm_LanguageTerm$fromMap_closure1()), true, type$.dynamic); t3 = t1.$index(json, "id") == null ? null : t1.$index(json, "id"); if (t1.$index(json, "status") != null) t1.$index(json, "status"); return new A.LanguageTerm(t2, t3); }, LanguageTerm: function LanguageTerm(t0, t1) { this.term = t0; this.id = t1; }, LanguageTerm_LanguageTerm$fromMap_closure: function LanguageTerm_LanguageTerm$fromMap_closure() { }, LanguageTerm_LanguageTerm$fromMap_closure0: function LanguageTerm_LanguageTerm$fromMap_closure0() { }, LanguageTerm_LanguageTerm$fromMap_closure1: function LanguageTerm_LanguageTerm$fromMap_closure1() { }, EntryLanguageInterLink_EntryLanguageInterLink$fromMap(json) { var t2, _s14_ = "primaryEntryId", _s12_ = "linkedTermId", _s16_ = "linkedLanguageId", _s12_0 = "primaryEntry", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s14_) != null) t1.$index(json, _s14_); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); if (t1.$index(json, _s16_) != null) t1.$index(json, _s16_); t2 = t1.$index(json, "id") == null ? null : t1.$index(json, "id"); if (t1.$index(json, "status") != null) t1.$index(json, "status"); if (t1.$index(json, _s12_0) != null) A.Terms_Terms$fromMap(t1.$index(json, _s12_0)); return new A.EntryLanguageInterLink(t2); }, Language_Language$fromMap(json) { var t2, t3, _s12_ = "languageCode", _s12_0 = "languageName", _s11_ = "entriesList", _s23_ = "entryLanguageInterLinks", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); t2 = t1.$index(json, _s12_0) == null ? null : t1.$index(json, _s12_0); if (t1.$index(json, _s11_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s11_), new A.Language_Language$fromMap_closure()), true, type$.Terms); if (t1.$index(json, _s23_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s23_), new A.Language_Language$fromMap_closure0()), true, type$.EntryLanguageInterLink); t3 = t1.$index(json, "id") == null ? null : t1.$index(json, "id"); if (t1.$index(json, "status") != null) t1.$index(json, "status"); return new A.Language(t2, t3); }, Terms_Terms$fromMap(json) { var t2, t3, t4, _s10_ = "languageId", _s8_ = "language", _s20_ = "entryDefinitionsList", _s33_ = "entryLanguageInterLinkLinkedTerms", _s36_ = "entryLanguageInterLinkPrimaryEntries", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); if (t1.$index(json, "term") != null) $.$get$termValues().map.$index(0, t1.$index(json, "term")); t2 = t1.$index(json, _s8_) == null ? null : A.Language_Language$fromMap(t1.$index(json, _s8_)); t3 = t1.$index(json, _s20_) == null ? null : A.List_List$from(J.map$1$ax(t1.$index(json, _s20_), new A.Terms_Terms$fromMap_closure()), true, type$.EntryDefinitionsList); if (t1.$index(json, _s33_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s33_), new A.Terms_Terms$fromMap_closure0()), true, type$.EntryLanguageInterLinkLinkedTerm); if (t1.$index(json, _s36_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s36_), new A.Terms_Terms$fromMap_closure1()), true, type$.EntryLanguageInterLink); t4 = t1.$index(json, "id") == null ? null : t1.$index(json, "id"); if (t1.$index(json, "status") != null) t1.$index(json, "status"); return new A.Terms(t2, t3, t4); }, EntryClassification_EntryClassification$fromMap(json) { var t2, t3, _s10_ = "languageId", _s18_ = "classificationName", _s18_0 = "classificationCode", _s20_ = "entryDefinitionsList", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); t2 = t1.$index(json, _s18_) == null ? null : t1.$index(json, _s18_); if (t1.$index(json, _s18_0) != null) t1.$index(json, _s18_0); if (t1.$index(json, _s20_) != null) A.List_List$from(J.map$1$ax(t1.$index(json, _s20_), new A.EntryClassification_EntryClassification$fromMap_closure()), true, type$.dynamic); t3 = t1.$index(json, "id") == null ? null : t1.$index(json, "id"); t1.$index(json, "status"); return new A.EntryClassification(t2, t3); }, EntryLanguageInterLink: function EntryLanguageInterLink(t0) { this.id = t0; }, Language: function Language(t0, t1) { this.languageName = t0; this.id = t1; }, Language_Language$fromMap_closure: function Language_Language$fromMap_closure() { }, Language_Language$fromMap_closure0: function Language_Language$fromMap_closure0() { }, EntryLanguageInterLinkLinkedTerm: function EntryLanguageInterLinkLinkedTerm(t0) { this.id = t0; }, Terms: function Terms(t0, t1, t2) { this.language = t0; this.entryDefinitionsList = t1; this.id = t2; }, Terms_Terms$fromMap_closure: function Terms_Terms$fromMap_closure() { }, Terms_Terms$fromMap_closure0: function Terms_Terms$fromMap_closure0() { }, Terms_Terms$fromMap_closure1: function Terms_Terms$fromMap_closure1() { }, EntryDefinitionsList: function EntryDefinitionsList(t0, t1, t2, t3) { var _ = this; _.definition = t0; _.usage = t1; _.entryClassification = t2; _.id = t3; }, EntryClassification: function EntryClassification(t0, t1) { this.classificationName = t0; this.id = t1; }, EntryClassification_EntryClassification$fromMap_closure: function EntryClassification_EntryClassification$fromMap_closure() { }, Term: function Term(t0, t1) { this.index = t0; this._core$_name = t1; }, EnumValues: function EnumValues(t0, t1) { this.map = t0; this.$ti = t1; }, ManageUserAccount_ManageUserAccount$fromMap(json) { var t3, t4, t5, t6, t7, t8, t9, t10, _null = null, _s9_ = "firstname", _s10_ = "middlename", _s8_ = "lastname", _s9_0 = "full_name", _s9_1 = "is_active", _s9_2 = "user_type", _s16_ = "resource_student", _s16_0 = "resource_teacher", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"); if (t1.$index(json, "user_id") != null) t1.$index(json, "user_id"); if (t1.$index(json, "uuid") != null) t1.$index(json, "uuid"); if (t1.$index(json, _s9_) != null) t1.$index(json, _s9_); if (t1.$index(json, _s10_) != null) J.toString$0$(t1.$index(json, _s10_)); if (t1.$index(json, _s8_) != null) t1.$index(json, _s8_); t3 = t1.$index(json, _s9_0) == null ? _null : t1.$index(json, _s9_0); t4 = t1.$index(json, "email") == null ? _null : t1.$index(json, "email"); t5 = t1.$index(json, "phone") == null ? "" : J.toString$0$(t1.$index(json, "phone")); t6 = t1.$index(json, _s9_1) == null ? _null : t1.$index(json, _s9_1); if (t1.$index(json, _s9_2) != null) t1.$index(json, _s9_2); if (t1.$index(json, _s16_) == null) t7 = _null; else if (J.$eq$(J.get$length$asx(t1.$index(json, _s16_)), 0)) t7 = _null; else { t7 = t1.$index(json, _s16_); t8 = J.getInterceptor$asx(t7); t9 = t8.$index(t7, "batch") == null ? _null : t8.$index(t7, "batch"); t10 = t8.$index(t7, "class") == null ? _null : t8.$index(t7, "class"); t7 = new A.ResourceStudent(t9, t10, t8.$index(t7, "section") == null ? _null : t8.$index(t7, "section")); } return new A.ManageUserAccount(t2, t3, t4, t5, t6, t7, t1.$index(json, _s16_0) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s16_0), new A.ManageUserAccount_ManageUserAccount$fromMap_closure()), true, type$.ResourceTeacher)); }, ManageUserAccount: function ManageUserAccount(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.fullName = t1; _.email = t2; _.phone = t3; _.isActive = t4; _.resourceStudent = t5; _.resourceTeacher = t6; }, ManageUserAccount_ManageUserAccount$fromMap_closure: function ManageUserAccount_ManageUserAccount$fromMap_closure() { }, ResourceStudent: function ResourceStudent(t0, t1, t2) { this.batch = t0; this.resourceStudentClass = t1; this.section = t2; }, ResourceTeacher: function ResourceTeacher(t0, t1, t2, t3) { var _ = this; _.batch = t0; _.resourceTeacherClass = t1; _.section = t2; _.subject = t3; }, NoteModel_NoteModel$fromMap(json) { var t6, t7, _null = null, _s11_ = "resource_id", _s10_ = "short_note", _s8_ = "see_more", _s8_0 = "file_url", _s14_ = "file_thumb_url", _s10_0 = "deleted_at", _s10_1 = "created_at", _s19_ = "note_comments_count", _s9_ = "full_name", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t4 = t1.$index(json, "title") == null ? "" : t1.$index(json, "title"), t5 = J.$eq$(t1.$index(json, _s10_), "") ? _null : t1.$index(json, _s10_); if (t1.$index(json, _s8_) != null) t1.$index(json, _s8_); t6 = t1.$index(json, "note") == null ? "" : t1.$index(json, "note"); if (t1.$index(json, _s8_0) != null) t1.$index(json, _s8_0); if (t1.$index(json, _s14_) != null) t1.$index(json, _s14_); if (t1.$index(json, _s10_0) != null) A.DateTime_parse(t1.$index(json, _s10_0)); t7 = t1.$index(json, _s10_1) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_1)); if (t1.$index(json, _s19_) != null) t1.$index(json, _s19_); return new A.NoteModel(t2, t3, t4, t5, t6, t7, t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_)); }, NoteComment_NoteComment$fromMap(json) { var t5, _null = null, _s10_ = "deleted_at", _s10_0 = "created_at", _s9_ = "full_name", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, "note_id") == null ? _null : t1.$index(json, "note_id"), t4 = t1.$index(json, "comment") == null ? _null : t1.$index(json, "comment"); if (t1.$index(json, _s10_) != null) A.DateTime_parse(t1.$index(json, _s10_)); t5 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)); t1 = t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_); return new A.NoteComment(t2, t3, t4, t5, t1, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); }, NoteModel: function NoteModel(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.resourceId = t1; _.title = t2; _.shortNote = t3; _.note = t4; _.createdAt = t5; _.fullName = t6; }, NoteComment: function NoteComment(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.noteId = t1; _.comment = t2; _.createdAt = t3; _.fullName = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _NoteComment_Object_ChangeNotifier: function _NoteComment_Object_ChangeNotifier() { }, QaModel_QaModel$fromMap(json) { var t5, t6, t7, t8, _s2_ = "id", _null = null, _s11_ = "resource_id", _s5_ = "title", _s12_ = "is_published", _s12_0 = "created_user", _s10_ = "created_at", _s8_ = "question", _s10_0 = "created_by", _s10_1 = "updated_at", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? _null : t1.$index(json, _s2_), t3 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t4 = t1.$index(json, _s5_) == null ? _null : t1.$index(json, _s5_); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); if (t1.$index(json, _s12_0) != null) t1.$index(json, _s12_0); if (t1.$index(json, _s10_) != null) A.DateTime_parse(t1.$index(json, _s10_)); if (t1.$index(json, "qa") == null) t1 = _null; else { t1 = t1.$index(json, "qa"); t5 = J.getInterceptor$asx(t1); t6 = t5.$index(t1, _s2_) == null ? _null : t5.$index(t1, _s2_); if (t5.$index(t1, _s5_) != null) t5.$index(t1, _s5_); t7 = t5.$index(t1, _s8_) == null ? _null : t5.$index(t1, _s8_); t8 = t5.$index(t1, "answer") == null ? _null : t5.$index(t1, "answer"); if (t5.$index(t1, _s10_0) != null) t5.$index(t1, _s10_0); t5.$index(t1, "updated_by"); if (t5.$index(t1, _s10_) != null) A.DateTime_parse(t5.$index(t1, _s10_)); if (t5.$index(t1, _s10_1) != null) A.DateTime_parse(t5.$index(t1, _s10_1)); t1 = new A.QaClass(t6, t7, t8); } return new A.QaModel(t2, t3, t4, t1); }, QaModel: function QaModel(t0, t1, t2, t3) { var _ = this; _.id = t0; _.resourceId = t1; _.title = t2; _.qa = t3; }, QaClass: function QaClass(t0, t1, t2) { this.id = t0; this.question = t1; this.answer = t2; }, Question_Question$fromMap(json) { var _null = null, _s11_ = "question_id", _s8_ = "sequence", _s13_ = "quiz_question", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, "test_id") == null ? _null : t1.$index(json, "test_id"), t4 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_); if (t1.$index(json, _s8_) != null) t1.$index(json, _s8_); t1 = t1.$index(json, _s13_) == null ? _null : A.QuizQuestion_QuizQuestion$fromMap(t1.$index(json, _s13_)); return new A.Question(t2, t3, t4, t1, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); }, QuizQuestion_QuizQuestion$fromMap(json) { var t4, t5, t6, t7, t8, t9, _s2_ = "id", _null = null, _s8_ = "question", _s12_ = "quiz_type_id", _s8_0 = "solution", _s10_ = "created_at", _s10_0 = "updated_at", _s9_ = "quiz_type", _s11_ = "quiz_option", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? _null : t1.$index(json, _s2_), t3 = t1.$index(json, _s8_) == null ? _null : t1.$index(json, _s8_); if (t1.$index(json, _s12_) != null) t1.$index(json, _s12_); t4 = t1.$index(json, "weight") == null ? _null : t1.$index(json, "weight"); t5 = t1.$index(json, _s8_0) == null ? _null : t1.$index(json, _s8_0); if (t1.$index(json, _s10_) != null) A.DateTime_parse(t1.$index(json, _s10_)); if (t1.$index(json, _s10_0) != null) A.DateTime_parse(t1.$index(json, _s10_0)); if (t1.$index(json, _s9_) == null) t6 = _null; else { t6 = t1.$index(json, _s9_); t7 = J.getInterceptor$asx(t6); t8 = t7.$index(t6, _s2_) == null ? _null : t7.$index(t6, _s2_); t9 = t7.$index(t6, "code") == null ? _null : t7.$index(t6, "code"); t6 = new A.QuizType(t8, t9, t7.$index(t6, "name") == null ? _null : t7.$index(t6, "name")); } t1 = t1.$index(json, _s11_) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s11_), new A.QuizQuestion_QuizQuestion$fromMap_closure()), true, type$.QuizOption); return new A.QuizQuestion(t2, t3, t4, t5, t6, t1, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); }, QuizType$(code, id, $name) { return new A.QuizType(id, code, $name); }, Question: function Question(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.testId = t1; _.questionId = t2; _.quizQuestion = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, QuizQuestion: function QuizQuestion(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.id = t0; _.question = t1; _.weight = t2; _.solution = t3; _.quizType = t4; _.quizOption = t5; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, QuizQuestion_QuizQuestion$fromMap_closure: function QuizQuestion_QuizQuestion$fromMap_closure() { }, QuizOption: function QuizOption(t0, t1, t2, t3) { var _ = this; _.id = t0; _.questionId = t1; _.option = t2; _.isAnswer = t3; }, QuizType: function QuizType(t0, t1, t2) { this.id = t0; this.code = t1; this.name = t2; }, _Question_Object_ChangeNotifier: function _Question_Object_ChangeNotifier() { }, _QuizQuestion_Object_ChangeNotifier: function _QuizQuestion_Object_ChangeNotifier() { }, RoutineModel_RoutineModel$fromMap(json) { var t3, t4, t5, t6, t7, t8, t9, _s2_ = "id", _null = null, _s5_ = "title", _s4_ = "name", _s8_ = "grade_id", _s15_ = "organization_id", _s9_ = "remote_id", _s7_ = "section", _s12_ = "days_of_week", _s10_ = "event_type", _s10_0 = "created_at", _s10_1 = "updated_at", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, _s2_) == null ? _null : t1.$index(json, _s2_); if (t1.$index(json, _s5_) != null) t1.$index(json, _s5_); if (t1.$index(json, "subject") == null) t3 = _null; else { t3 = t1.$index(json, "subject"); t4 = J.getInterceptor$asx(t3); t5 = t4.$index(t3, _s2_) == null ? _null : t4.$index(t3, _s2_); t6 = t4.$index(t3, _s4_) == null ? _null : t4.$index(t3, _s4_); t4.$index(t3, _s8_); if (t4.$index(t3, _s15_) != null) t4.$index(t3, _s15_); t4.$index(t3, _s9_); t3 = new A.Subject(t5, t6); } if (t1.$index(json, "grade") == null) t4 = _null; else { t4 = t1.$index(json, "grade"); t5 = J.getInterceptor$asx(t4); t6 = t5.$index(t4, _s2_) == null ? _null : t5.$index(t4, _s2_); t7 = t5.$index(t4, _s5_) == null ? _null : t5.$index(t4, _s5_); t5.$index(t4, _s7_); if (t5.$index(t4, _s15_) != null) t5.$index(t4, _s15_); t4 = new A.Grade(t6, t7); } if (t1.$index(json, _s7_) == null) t5 = _null; else { t5 = t1.$index(json, _s7_); t6 = J.getInterceptor$asx(t5); t7 = t6.$index(t5, _s2_) == null ? _null : t6.$index(t5, _s2_); t8 = t6.$index(t5, _s5_) == null ? _null : t6.$index(t5, _s5_); if (t6.$index(t5, _s8_) != null) t6.$index(t5, _s8_); if (t6.$index(t5, _s15_) != null) t6.$index(t5, _s15_); t6.$index(t5, _s9_); t5 = new A.Section(t7, t8); } t6 = t1.$index(json, _s12_) == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, _s12_), new A.RoutineModel_RoutineModel$fromMap_closure()), true, type$.DaysOfWeek); if (t1.$index(json, _s15_) != null) t1.$index(json, _s15_); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); if (t1.$index(json, "teacher") == null) t1 = _null; else { t1 = t1.$index(json, "teacher"); t7 = J.getInterceptor$asx(t1); t8 = t7.$index(t1, _s2_) == null ? _null : t7.$index(t1, _s2_); t9 = t7.$index(t1, _s4_) == null ? _null : t7.$index(t1, _s4_); t7.$index(t1, "subject_id"); if (t7.$index(t1, _s10_0) != null) A.DateTime_parse(t7.$index(t1, _s10_0)); if (t7.$index(t1, _s10_1) != null) A.DateTime_parse(t7.$index(t1, _s10_1)); if (t7.$index(t1, _s15_) != null) t7.$index(t1, _s15_); if (t7.$index(t1, _s9_) != null) t7.$index(t1, _s9_); t1 = new A.Teacher(t8, t9); } return new A.RoutineModel(t2, t3, t4, t5, t6, t1); }, RoutineModel: function RoutineModel(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.remoteId = null; _.subject = t1; _.grade = t2; _.section = t3; _.daysOfWeek = t4; _.teacher = t5; }, RoutineModel_RoutineModel$fromMap_closure: function RoutineModel_RoutineModel$fromMap_closure() { }, DaysOfWeek: function DaysOfWeek(t0, t1) { this.day = t0; this.timeSlot = t1; }, Day: function Day(t0, t1) { this.id = t0; this.day = t1; }, TimeSlot: function TimeSlot(t0, t1, t2) { var _ = this; _.id = t0; _.endAtString = _.startsAtString = null; _.startsAt = t1; _.endsAt = t2; }, Grade: function Grade(t0, t1) { this.id = t0; this.title = t1; }, Section: function Section(t0, t1) { this.id = t0; this.title = t1; }, Subject: function Subject(t0, t1) { this.id = t0; this.name = t1; }, Teacher: function Teacher(t0, t1) { this.id = t0; this.name = t1; }, StudentSubject: function StudentSubject(t0, t1) { this.id = t0; this.subject = t1; }, Subject0: function Subject0(t0, t1, t2) { this.id = t0; this.name = t1; this.coverImage = t2; }, Teacher0: function Teacher0(t0, t1) { this.id = t0; this.name = t1; }, TeacherSubject: function TeacherSubject(t0, t1, t2, t3) { var _ = this; _.id = t0; _.name = t1; _.coverImage = t2; _.resourceCategory = t3; }, ResourceCategory0: function ResourceCategory0(t0, t1) { this.className = t0; this.sectionName = t1; }, TestModel_TestModel$fromMap(json) { var t12, t13, t14, _null = null, _s11_ = "resource_id", _s12_ = "instructions", _s10_ = "start_date", _s12_0 = "has_deadline", _s11_0 = "deadline_by", _s22_ = "show_marks_in_question", _s19_ = "show_obtained_marks", _s17_ = "can_skip_question", _s14_ = "published_user", _s12_1 = "is_published", _s12_2 = "published_at", _s12_3 = "created_user", _s10_0 = "created_at", _s19_0 = "test_question_count", _s8_ = "is_start", _s12_4 = "student_test", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_), t4 = t1.$index(json, "title") == null ? "" : t1.$index(json, "title"), t5 = t1.$index(json, _s12_) == null ? "" : t1.$index(json, _s12_), t6 = t1.$index(json, _s10_) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_)), t7 = t1.$index(json, _s12_0) == null ? _null : t1.$index(json, _s12_0), t8 = t1.$index(json, _s11_0) == null ? "" : t1.$index(json, _s11_0), t9 = t1.$index(json, _s22_) == null ? _null : t1.$index(json, _s22_), t10 = t1.$index(json, _s19_) == null ? _null : t1.$index(json, _s19_), t11 = t1.$index(json, _s17_) == null ? _null : t1.$index(json, _s17_); if (t1.$index(json, _s14_) != null) t1.$index(json, _s14_); t12 = t1.$index(json, _s12_1) == null ? _null : t1.$index(json, _s12_1); if (t1.$index(json, _s12_2) != null) A.DateTime_parse(t1.$index(json, _s12_2)); t13 = t1.$index(json, _s12_3) == null ? _null : t1.$index(json, _s12_3); t14 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)); if (t1.$index(json, _s19_0) != null) t1.$index(json, _s19_0); if (t1.$index(json, _s8_) != null) t1.$index(json, _s8_); return new A.TestModel(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t1.$index(json, _s12_4) == null ? _null : A.StudentTest_StudentTest$fromMap(t1.$index(json, _s12_4))); }, StudentTest_StudentTest$fromMap(json) { var t5, t6, t7, _null = null, _s16_ = "resource_test_id", _s19_ = "resource_student_id", _s10_ = "student_id", _s10_0 = "start_date", _s8_ = "end_date", _s11_ = "is_complete", _s9_ = "full_name", _s20_ = "total_marks_obtained", _s10_1 = "percentage", t1 = J.getInterceptor$asx(json), t2 = t1.$index(json, "id") == null ? _null : t1.$index(json, "id"), t3 = t1.$index(json, _s16_) == null ? _null : t1.$index(json, _s16_), t4 = t1.$index(json, _s19_) == null ? _null : t1.$index(json, _s19_); if (t1.$index(json, _s10_) != null) t1.$index(json, _s10_); t5 = t1.$index(json, _s10_0) == null ? _null : A.DateTime_parse(t1.$index(json, _s10_0)); if (t1.$index(json, _s8_) != null) A.DateTime_parse(t1.$index(json, _s8_)); t1.$index(json, "current_question_id"); t6 = t1.$index(json, _s11_) == null ? _null : t1.$index(json, _s11_); t7 = t1.$index(json, _s9_) == null ? _null : t1.$index(json, _s9_); if (t1.$index(json, _s20_) != null) t1.$index(json, _s20_); if (t1.$index(json, _s10_1) != null) t1.$index(json, _s10_1); return new A.StudentTest(t2, t3, t4, t5, t6, t7); }, StudentTestAnswer_StudentTestAnswer$fromMap(json) { var t2, t3, t4, t5, t6, t7, _s20_ = "student_test_details", _null = null, _s10_ = "start_date", _s8_ = "end_date", _s11_ = "total_marks", _s20_0 = "total_marks_obtained", _s10_0 = "percentage", t1 = J.getInterceptor$asx(json); if (t1.$index(json, _s20_) == null) t2 = _null; else { t2 = t1.$index(json, _s20_); t3 = J.getInterceptor$asx(t2); t4 = t3.$index(t2, _s10_) == null ? _null : A.DateTime_parse(t3.$index(t2, _s10_)); t5 = t3.$index(t2, _s8_) == null ? _null : A.DateTime_parse(t3.$index(t2, _s8_)); t6 = t3.$index(t2, _s11_) == null ? _null : t3.$index(t2, _s11_); t7 = t3.$index(t2, _s20_0) == null ? _null : t3.$index(t2, _s20_0); t2 = new A.StudentTestDetails(t4, t5, t6, t7, t3.$index(t2, _s10_0) == null ? _null : t3.$index(t2, _s10_0)); } return new A.StudentTestAnswer(t2, t1.$index(json, "rows") == null ? _null : A.List_List$from(J.map$1$ax(t1.$index(json, "rows"), new A.StudentTestAnswer_StudentTestAnswer$fromMap_closure()), true, type$.StudentAnswer)); }, TestModel: function TestModel(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.id = t0; _.resourceId = t1; _.title = t2; _.instructions = t3; _.startDate = t4; _.hasDeadline = t5; _.deadlineBy = t6; _.showMarksInQuestion = t7; _.showObtainedMarks = t8; _.canSkipQuestion = t9; _.isPublished = t10; _.createdUser = t11; _.createdAt = t12; _.studentTest = t13; }, StudentTest: function StudentTest(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.resourceTestId = t1; _.resourceStudentId = t2; _.startDate = t3; _.isComplete = t4; _.fullName = t5; }, StudentTestAnswer: function StudentTestAnswer(t0, t1) { this.studentTestDetails = t0; this.studentAnswer = t1; }, StudentTestAnswer_StudentTestAnswer$fromMap_closure: function StudentTestAnswer_StudentTestAnswer$fromMap_closure() { }, StudentAnswer: function StudentAnswer(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.isCorrect = t1; _.marks = t2; _.question = t3; _.option = t4; }, StudentTestDetails: function StudentTestDetails(t0, t1, t2, t3, t4) { var _ = this; _.startDate = t0; _.endDate = t1; _.totalMarks = t2; _.totalMarksObtained = t3; _.percentage = t4; }, TestStudentDetail: function TestStudentDetail(t0) { this.id = t0; }, AdminBatchProvider: function AdminBatchProvider(t0, t1, t2, t3) { var _ = this; _._languageId = 0; _._batchId = 1; _._admin_batch_provider$_isLoading = false; _._admin_batch_provider$_isInit = true; _._batchList = t0; _._languageList = t1; _._batchStringList = t2; _._selectedLanguage = _._selectedBatch = ""; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminBatchProvider_languageIdByName_closure: function AdminBatchProvider_languageIdByName_closure(t0) { this._box_0 = t0; }, AdminBatchProvider_languageIdByName_closure0: function AdminBatchProvider_languageIdByName_closure0() { }, AdminBatchProvider_setIdByBatchName_closure: function AdminBatchProvider_setIdByBatchName_closure(t0) { this._box_0 = t0; }, AdminBatchProvider_setIdByBatchName_closure0: function AdminBatchProvider_setIdByBatchName_closure0() { }, AdminBatchProvider_getLanguage_closure: function AdminBatchProvider_getLanguage_closure() { }, AdminBatchProvider_getBatches_closure: function AdminBatchProvider_getBatches_closure() { }, AdminBatchProvider_getBatches_closure0: function AdminBatchProvider_getBatches_closure0() { }, AdminBatchProvider_loadBatchAndLanguage_closure: function AdminBatchProvider_loadBatchAndLanguage_closure() { }, _AdminBatchProvider_Object_ChangeNotifier: function _AdminBatchProvider_Object_ChangeNotifier() { }, AdminClassProvider: function AdminClassProvider(t0, t1, t2, t3, t4) { var _ = this; _._classId = 0; _._selectedClass = ""; _._admin_class_provider$_isLoading = false; _._mapSelectedClass = t0; _._classList = t1; _._addClassList = t2; _._classStringList = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminClassProvider_setClassIdByClassName_closure: function AdminClassProvider_setClassIdByClassName_closure(t0) { this._box_0 = t0; }, AdminClassProvider_setClassIdByClassName_closure0: function AdminClassProvider_setClassIdByClassName_closure0() { }, AdminClassProvider_getClasses_closure: function AdminClassProvider_getClasses_closure() { }, AdminClassProvider_getClasses_closure0: function AdminClassProvider_getClasses_closure0() { }, AdminClassProvider_getAllClass_closure: function AdminClassProvider_getAllClass_closure(t0) { this.$this = t0; }, AdminClassProvider_getRelatedDataOfClass_closure: function AdminClassProvider_getRelatedDataOfClass_closure() { }, AdminClassProvider_addClass_closure: function AdminClassProvider_addClass_closure(t0) { this.$this = t0; }, AdminClassProvider_deleteClass_closure: function AdminClassProvider_deleteClass_closure(t0) { this.$this = t0; }, AdminClassProvider_getAddClasses_closure: function AdminClassProvider_getAddClasses_closure() { }, _AdminClassProvider_Object_ChangeNotifier: function _AdminClassProvider_Object_ChangeNotifier() { }, AdminFilterProvider: function AdminFilterProvider(t0, t1, t2, t3, t4, t5) { var _ = this; _._classProvider = t0; _._sectionProvider = t1; _._subjectProvider = t2; _._teacherProvider = t3; _._studentProvider = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AdminFilterProvider_Object_ChangeNotifier: function _AdminFilterProvider_Object_ChangeNotifier() { }, AdminSectionProvider: function AdminSectionProvider(t0, t1, t2, t3, t4) { var _ = this; _._sectionId = 0; _._selectedSection = ""; _._sectionList = t0; _._addSectionList = t1; _._sectionStringList = t2; _._mapSelectedSection = t3; _._isSectionLoading = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminSectionProvider_setIdBySectionName_closure: function AdminSectionProvider_setIdBySectionName_closure(t0) { this._box_0 = t0; }, AdminSectionProvider_setIdBySectionName_closure0: function AdminSectionProvider_setIdBySectionName_closure0() { }, AdminSectionProvider_getSections_closure: function AdminSectionProvider_getSections_closure() { }, AdminSectionProvider_getSections_closure0: function AdminSectionProvider_getSections_closure0() { }, AdminSectionProvider_getAllSections_closure: function AdminSectionProvider_getAllSections_closure() { }, AdminSectionProvider_getAddSections_closure: function AdminSectionProvider_getAddSections_closure() { }, _AdminSectionProvider_Object_ChangeNotifier: function _AdminSectionProvider_Object_ChangeNotifier() { }, AdminStudentProvider: function AdminStudentProvider(t0, t1, t2, t3) { var _ = this; _._studentList = t0; _._addStudentList = t1; _._admin_student_provider$_isLoading = false; _._selectedStudentMap = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminStudentProvider_getStudentData_closure: function AdminStudentProvider_getStudentData_closure() { }, AdminStudentProvider_getAddAdminStudent_closure: function AdminStudentProvider_getAddAdminStudent_closure() { }, AdminStudentProvider_addStudentToSection_closure: function AdminStudentProvider_addStudentToSection_closure(t0) { this.studentIds = t0; }, _AdminStudentProvider_Object_ChangeNotifier: function _AdminStudentProvider_Object_ChangeNotifier() { }, AdminSubjectProvider: function AdminSubjectProvider(t0, t1, t2, t3, t4) { var _ = this; _._admin_subject_provider$_subjectId = 0; _._selectedSubject = ""; _._isSubjectLoading = false; _._subjectList = t0; _._addSubjectList = t1; _._subjectStringList = t2; _._mapSelectedSubject = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminSubjectProvider_setIdBySubjectName_closure: function AdminSubjectProvider_setIdBySubjectName_closure(t0) { this._box_0 = t0; }, AdminSubjectProvider_setIdBySubjectName_closure0: function AdminSubjectProvider_setIdBySubjectName_closure0() { }, AdminSubjectProvider_getAdminSubjects_closure: function AdminSubjectProvider_getAdminSubjects_closure() { }, AdminSubjectProvider_getAdminSubjects_closure0: function AdminSubjectProvider_getAdminSubjects_closure0() { }, AdminSubjectProvider_getAllSubjects_closure: function AdminSubjectProvider_getAllSubjects_closure() { }, AdminSubjectProvider_getAddAdminSubjects_closure: function AdminSubjectProvider_getAddAdminSubjects_closure() { }, _AdminSubjectProvider_Object_ChangeNotifier: function _AdminSubjectProvider_Object_ChangeNotifier() { }, AdminTeacherProvider: function AdminTeacherProvider(t0, t1, t2, t3) { var _ = this; _._isTeacherLoading = false; _._teacherList = t0; _._addTeacherList = t1; _._mapSelectedTeacher = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AdminTeacherProvider_getAdminTeachers_closure: function AdminTeacherProvider_getAdminTeachers_closure() { }, AdminTeacherProvider_addAdminTeacher_closure: function AdminTeacherProvider_addAdminTeacher_closure(t0) { this.teacherIds = t0; }, AdminTeacherProvider_getAddAdminTeachers_closure: function AdminTeacherProvider_getAddAdminTeachers_closure() { }, _AdminTeacherProvider_Object_ChangeNotifier: function _AdminTeacherProvider_Object_ChangeNotifier() { }, ManageAccountProvider: function ManageAccountProvider(t0, t1) { var _ = this; _._userList = t0; _._manage_account_provider$_isLoading = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ManageAccountProvider_userList_closure: function ManageAccountProvider_userList_closure() { }, ManageAccountProvider_getUserList_closure: function ManageAccountProvider_getUserList_closure(t0) { this.users = t0; }, _ManageAccountProvider_Object_ChangeNotifier: function _ManageAccountProvider_Object_ChangeNotifier() { }, AssignmentProvider: function AssignmentProvider(t0, t1, t2, t3, t4) { var _ = this; _._assignment_provider$_studentIds = t0; _._assignmentList = t1; _._assignmentSubmittedList = t2; _._assignmentDetails = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, AssignmentProvider_getAssignmentById_closure: function AssignmentProvider_getAssignmentById_closure(t0) { this.id = t0; }, AssignmentProvider_getStudentName_closure: function AssignmentProvider_getStudentName_closure(t0, t1) { this.$this = t0; this._studentName = t1; }, AssignmentProvider_getAssignmentSubmittedById_closure: function AssignmentProvider_getAssignmentSubmittedById_closure(t0) { this.studentId = t0; }, AssignmentProvider_getAssignmentSubmittedById_closure0: function AssignmentProvider_getAssignmentSubmittedById_closure0() { }, AssignmentProvider_getMaterialsByAssignmentId_closure: function AssignmentProvider_getMaterialsByAssignmentId_closure(t0) { this.id = t0; }, AssignmentProvider_getAssignment_closure: function AssignmentProvider_getAssignment_closure(t0) { this.assignment = t0; }, AssignmentProvider_editAssignment_closure: function AssignmentProvider_editAssignment_closure(t0) { this.assignmentId = t0; }, AssignmentProvider_deleteAssignment_closure: function AssignmentProvider_deleteAssignment_closure(t0) { this.assignmentId = t0; }, AssignmentProvider_submitAssignment_closure: function AssignmentProvider_submitAssignment_closure() { }, AssignmentProvider_deleteAssignmentOnCascade_closure: function AssignmentProvider_deleteAssignmentOnCascade_closure(t0) { this.resourceId = t0; }, AssignmentProvider_listAssignmentSubmitted_closure: function AssignmentProvider_listAssignmentSubmitted_closure() { }, AssignmentProvider_addAssignmentMaterial_closure: function AssignmentProvider_addAssignmentMaterial_closure() { }, _AssignmentProvider_Object_ChangeNotifier: function _AssignmentProvider_Object_ChangeNotifier() { }, AuthProvider: function AuthProvider(t0) { var _ = this; _._currentUserAccountDetail = _._currentUserAccount = _._currentUser = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _AuthProvider_Object_ChangeNotifier: function _AuthProvider_Object_ChangeNotifier() { }, CourseContentProvider: function CourseContentProvider(t0, t1, t2) { var _ = this; _._courseContentList = t0; _._course_content_provider$_isLoading = false; _._contentDetailsList = t1; _._isMaterialPublished = _._materialTitle = _._resourceLessonMaterialId = _._materialId = _._contentEmbed = _._contentUrl = _._materialType = _._displayedContent = _._courseContentDetail = null; _.__CourseContentProvider__loadHTMLContent = $; _._isLoadingHTMLContent = true; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, CourseContentProvider_getContentOfCourse_closure: function CourseContentProvider_getContentOfCourse_closure(t0) { this.contents = t0; }, CourseContentProvider_loadCourseContent_closure: function CourseContentProvider_loadCourseContent_closure(t0) { this.$this = t0; }, CourseContentProvider_getCourseContentById_closure: function CourseContentProvider_getCourseContentById_closure(t0) { this.id = t0; }, CourseContentProvider_setHtmlContent_closure: function CourseContentProvider_setHtmlContent_closure() { }, CourseContentProvider_setHtmlContent__closure: function CourseContentProvider_setHtmlContent__closure(t0) { this.imageUrl = t0; }, CourseContentProvider_deleteCourseContent_closure: function CourseContentProvider_deleteCourseContent_closure(t0) { this.resourceId = t0; }, CourseContentProvider_editCourseContent_closure: function CourseContentProvider_editCourseContent_closure(t0) { this.resourceId = t0; }, CourseContentProvider_deleteResourceLesson_closure: function CourseContentProvider_deleteResourceLesson_closure(t0) { this.resourceId = t0; }, CourseContentProvider_deleteResourceLesson_closure0: function CourseContentProvider_deleteResourceLesson_closure0(t0) { this.resourceLessonId = t0; }, _CourseContentProvider_Object_ChangeNotifier: function _CourseContentProvider_Object_ChangeNotifier() { }, TermsDescriptionModel: function TermsDescriptionModel(t0, t1) { this.term = t0; this.termsList = t1; }, DictionaryProvider: function DictionaryProvider(t0, t1, t2, t3, t4, t5) { var _ = this; _._termList = t0; _._termDetail = null; _._term = t1; _._languageTermList = t2; _._queryList = t3; _._queryTermList = t4; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t5; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, DictionaryProvider_getDescriptionByQuery_closure: function DictionaryProvider_getDescriptionByQuery_closure(t0) { this.term = t0; }, DictionaryProvider_getDescriptionByQuery_closure0: function DictionaryProvider_getDescriptionByQuery_closure0() { }, DictionaryProvider_getTerms_closure: function DictionaryProvider_getTerms_closure() { }, DictionaryProvider_getLanguageTerms_closure: function DictionaryProvider_getLanguageTerms_closure() { }, DictionaryProvider_getLanguageTerms_closure0: function DictionaryProvider_getLanguageTerms_closure0() { }, DictionaryProvider_getLanguageTerms_closure1: function DictionaryProvider_getLanguageTerms_closure1(t0) { this.$this = t0; }, _DictionaryProvider_Object_ChangeNotifier: function _DictionaryProvider_Object_ChangeNotifier() { }, GlobalIdsProvider: function GlobalIdsProvider(t0) { var _ = this; _._subjectId = null; _._resourceLessonId = 0; _._scaffoldKey = _._resourceIdToEdit = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _GlobalIdsProvider_Object_ChangeNotifier: function _GlobalIdsProvider_Object_ChangeNotifier() { }, JitsiMeetingProvider: function JitsiMeetingProvider(t0, t1) { var _ = this; _._isFullScreenContent = false; _._contentViewWidget = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, NoteCommentModel: function NoteCommentModel(t0, t1) { this.noteId = t0; this.noteCommentList = t1; }, NoteProvider: function NoteProvider(t0, t1, t2, t3) { var _ = this; _._noteList = t0; _._noteCommentList = t1; _._note_provider$_isLoading = false; _._note_provider$_controller = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, NoteProvider_getNoteById_closure: function NoteProvider_getNoteById_closure(t0) { this.id = t0; }, NoteProvider_getCommentByNote_closure: function NoteProvider_getCommentByNote_closure(t0) { this.noteId = t0; }, NoteProvider_getCommentByNote_closure0: function NoteProvider_getCommentByNote_closure0() { }, NoteProvider_getResourceNotes_closure: function NoteProvider_getResourceNotes_closure(t0) { this.notes = t0; }, NoteProvider_getResourceNotes_closure0: function NoteProvider_getResourceNotes_closure0(t0) { this.$this = t0; }, NoteProvider__getNoteComments_closure: function NoteProvider__getNoteComments_closure() { }, NoteProvider__updateNoteComment_closure: function NoteProvider__updateNoteComment_closure(t0) { this.noteId = t0; }, NoteProvider__updateNoteComment_closure0: function NoteProvider__updateNoteComment_closure0(t0) { this.noteId = t0; }, NoteProvider__updateNoteComment_closure1: function NoteProvider__updateNoteComment_closure1(t0) { this.commentId = t0; }, NoteProvider__updateNoteComment_closure2: function NoteProvider__updateNoteComment_closure2(t0) { this.commentId = t0; }, NoteProvider_editNote_closure: function NoteProvider_editNote_closure(t0) { this.noteId = t0; }, NoteProvider_deleteNote_closure: function NoteProvider_deleteNote_closure(t0) { this.noteId = t0; }, NoteProvider_deleteNoteOnCascade_closure: function NoteProvider_deleteNoteOnCascade_closure(t0, t1) { this.resourceId = t0; this.noteIds = t1; }, NoteProvider_deleteNoteOnCascade_closure0: function NoteProvider_deleteNoteOnCascade_closure0(t0) { this.$this = t0; }, NoteProvider_deleteNoteOnCascade__closure: function NoteProvider_deleteNoteOnCascade__closure(t0) { this.noteId = t0; }, _NoteProvider_Object_ChangeNotifier: function _NoteProvider_Object_ChangeNotifier() { }, QAProvider: function QAProvider(t0, t1, t2) { var _ = this; _._qaList = t0; _._qaDetails = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, QAProvider_getQAById_closure: function QAProvider_getQAById_closure(t0) { this.id = t0; }, QAProvider_getQaList_closure: function QAProvider_getQaList_closure(t0) { this.qaList = t0; }, QAProvider_updateQa_closure: function QAProvider_updateQa_closure(t0) { this.id = t0; }, QAProvider_deleteQa_closure: function QAProvider_deleteQa_closure(t0) { this.id = t0; }, QAProvider_deleteQaOnCascade_closure: function QAProvider_deleteQaOnCascade_closure(t0) { this.resourceId = t0; }, _QAProvider_Object_ChangeNotifier: function _QAProvider_Object_ChangeNotifier() { }, QuestionProvider: function QuestionProvider(t0, t1, t2) { var _ = this; _._questionList = t0; _._question_provider$_selectedIndex = _._question_provider$_nextQuestionId = 0; _._question_provider$_selectedAnswer = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, QuestionProvider_listTestQuestion_closure: function QuestionProvider_listTestQuestion_closure() { }, QuestionProvider_addTestQuestion_closure: function QuestionProvider_addTestQuestion_closure(t0, t1) { this.answer = t0; this.answers = t1; }, QuestionProvider_editTestQuestion_closure: function QuestionProvider_editTestQuestion_closure(t0) { this.questionId = t0; }, QuestionProvider_deleteTestQuestion_closure: function QuestionProvider_deleteTestQuestion_closure(t0) { this.id = t0; }, QuestionProvider_deleteQuestionOnCascade_closure: function QuestionProvider_deleteQuestionOnCascade_closure(t0) { this.$this = t0; }, QuestionProvider_deleteQuestionOnCascade__closure: function QuestionProvider_deleteQuestionOnCascade__closure(t0) { this.testId = t0; }, QuestionProvider_removeQuestionFromList_closure: function QuestionProvider_removeQuestionFromList_closure(t0) { this.id = t0; }, _QuestionProvider_Object_ChangeNotifier: function _QuestionProvider_Object_ChangeNotifier() { }, ResourceProvider: function ResourceProvider(t0) { var _ = this; _._isChecked = _._resource_provider$_isLoading = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ResourceProvider_addResourceLesson_closure: function ResourceProvider_addResourceLesson_closure() { }, _ResourceProvider_Object_ChangeNotifier: function _ResourceProvider_Object_ChangeNotifier() { }, RoutineProvider: function RoutineProvider(t0, t1) { var _ = this; _._routines = t0; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t1; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, RoutineProvider_getTimeIndex_closure: function RoutineProvider_getTimeIndex_closure(t0, t1) { this._box_0 = t0; this.now = t1; }, RoutineProvider_getTeacherRoutine_closure: function RoutineProvider_getTeacherRoutine_closure(t0, t1) { this.$this = t0; this.subjects = t1; }, RoutineProvider_getTeacherRoutine__closure: function RoutineProvider_getTeacherRoutine__closure(t0, t1, t2) { this.$this = t0; this.element = t1; this.subjects = t2; }, RoutineProvider_getTeacherRoutine___closure: function RoutineProvider_getTeacherRoutine___closure(t0) { this.routine = t0; }, RoutineProvider_getStudentRoutine_closure: function RoutineProvider_getStudentRoutine_closure(t0, t1, t2) { this.$this = t0; this.subjects = t1; this._user = t2; }, RoutineProvider_getStudentRoutine__closure: function RoutineProvider_getStudentRoutine__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.element = t1; _.subjects = t2; _._user = t3; }, RoutineProvider_getStudentRoutine___closure: function RoutineProvider_getStudentRoutine___closure(t0, t1) { this.routine = t0; this._user = t1; }, _RoutineProvider_Object_ChangeNotifier: function _RoutineProvider_Object_ChangeNotifier() { }, StudentTestProvider: function StudentTestProvider(t0, t1, t2) { var _ = this; _._studentTestList = t0; _._studentTestAnswer = null; _._studentIds = t1; _._testStudentDetail = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, StudentTestProvider_getStudentName_closure: function StudentTestProvider_getStudentName_closure(t0, t1) { this.$this = t0; this._studentName = t1; }, StudentTestProvider_getStudentTestById_closure: function StudentTestProvider_getStudentTestById_closure(t0) { this.studentId = t0; }, StudentTestProvider_listStudentTest_closure: function StudentTestProvider_listStudentTest_closure() { }, _StudentTestProvider_Object_ChangeNotifier: function _StudentTestProvider_Object_ChangeNotifier() { }, SubjectProvider: function SubjectProvider(t0, t1, t2) { var _ = this; _._teacherSubjects = t0; _._studentSubjectList = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, SubjectProvider_getSubjectById_closure: function SubjectProvider_getSubjectById_closure(t0) { this.subjectId = t0; }, SubjectProvider_getStudentSubjectById_closure: function SubjectProvider_getStudentSubjectById_closure(t0) { this.subjectId = t0; }, SubjectProvider_getTeacherSubjects_closure: function SubjectProvider_getTeacherSubjects_closure(t0) { this.subjects = t0; }, SubjectProvider_getStudentSubject_closure: function SubjectProvider_getStudentSubject_closure(t0) { this.subjectList = t0; }, _SubjectProvider_Object_ChangeNotifier: function _SubjectProvider_Object_ChangeNotifier() { }, TempJitsiProvider: function TempJitsiProvider(t0) { var _ = this; _._isFullScreenJisti = false; _._iosAppBarRGBAColor = _._emailText = _._nameText = _._subjectText = _._roomText = _._serverText = null; _._isToShowJoinClassBtn = _._isVideoMuted = _._isAudioMuted = _._isAudioOnly = true; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TempJitsiProvider_jitsiMeetScreen_closure: function TempJitsiProvider_jitsiMeetScreen_closure(t0) { this.$this = t0; }, TempJitsiProvider_joinMeetingBtn_closure: function TempJitsiProvider_joinMeetingBtn_closure(t0) { this.$this = t0; }, TempJitsiProvider__joinMeeting_closure: function TempJitsiProvider__joinMeeting_closure(t0) { this.options = t0; }, TempJitsiProvider__joinMeeting_closure0: function TempJitsiProvider__joinMeeting_closure0(t0) { this.options = t0; }, TempJitsiProvider__joinMeeting_closure1: function TempJitsiProvider__joinMeeting_closure1(t0, t1) { this.$this = t0; this.options = t1; }, TempJitsiProvider__joinMeeting_closure2: function TempJitsiProvider__joinMeeting_closure2(t0) { this.$this = t0; }, TempJitsiProvider__joinMeeting_closure3: function TempJitsiProvider__joinMeeting_closure3() { }, _TempJitsiProvider_Object_ChangeNotifier: function _TempJitsiProvider_Object_ChangeNotifier() { }, TestsProvider: function TestsProvider(t0, t1, t2) { var _ = this; _._testList = t0; _._tests_provider$_isLoading = false; _._testDetails = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, TestsProvider_getTestById_closure: function TestsProvider_getTestById_closure(t0) { this.id = t0; }, TestsProvider_listTest_closure: function TestsProvider_listTest_closure(t0) { this.tests = t0; }, TestsProvider_editTest_closure: function TestsProvider_editTest_closure(t0) { this.testId = t0; }, TestsProvider_deleteTest_closure: function TestsProvider_deleteTest_closure(t0) { this.testId = t0; }, TestsProvider_deleteTestsOnCascade_closure: function TestsProvider_deleteTestsOnCascade_closure(t0, t1) { this.resourceId = t0; this.testIds = t1; }, _TestsProvider_Object_ChangeNotifier: function _TestsProvider_Object_ChangeNotifier() { }, TextFieldProvider: function TextFieldProvider(t0) { var _ = this; _._isPassword = true; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _TextFieldProvider_Object_ChangeNotifier: function _TextFieldProvider_Object_ChangeNotifier() { }, AdminSideDrawer: function AdminSideDrawer(t0) { this.key = t0; }, AdminSideDrawer__sideBarBtnList_closure: function AdminSideDrawer__sideBarBtnList_closure(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure0: function AdminSideDrawer__sideBarBtnList_closure0(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure1: function AdminSideDrawer__sideBarBtnList_closure1(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure2: function AdminSideDrawer__sideBarBtnList_closure2(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure3: function AdminSideDrawer__sideBarBtnList_closure3(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure4: function AdminSideDrawer__sideBarBtnList_closure4(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure5: function AdminSideDrawer__sideBarBtnList_closure5(t0) { this.$this = t0; }, AdminSideDrawer__sideBarBtnList_closure6: function AdminSideDrawer__sideBarBtnList_closure6(t0) { this.$this = t0; }, BatchesContentView: function BatchesContentView(t0) { this.key = t0; }, BatchesContentView__showAddBatchDialog_closure: function BatchesContentView__showAddBatchDialog_closure() { }, BatchesContentView_build_closure: function BatchesContentView_build_closure(t0) { this.$this = t0; }, BatchesContentView__buildList_closure: function BatchesContentView__buildList_closure(t0, t1) { this.batchProvider = t0; this.context = t1; }, BatchesContentView__buildList__closure1: function BatchesContentView__buildList__closure1(t0) { this.batchModel = t0; }, BatchesContentView__buildList__closure: function BatchesContentView__buildList__closure(t0, t1, t2) { this.context = t0; this.batchProvider = t1; this.batchModel = t2; }, BatchesContentView__buildList___closure: function BatchesContentView__buildList___closure(t0, t1, t2) { this.context = t0; this.batchProvider = t1; this.batchModel = t2; }, BatchesContentView__buildList__closure0: function BatchesContentView__buildList__closure0() { }, ClassesContentView: function ClassesContentView(t0) { this.key = t0; }, ClassesContentView__showAddClassDialog_closure: function ClassesContentView__showAddClassDialog_closure() { }, ClassesContentView__buildClassList_closure: function ClassesContentView__buildClassList_closure(t0) { this.$this = t0; }, ClassesContentView__buildList_closure0: function ClassesContentView__buildList_closure0(t0, t1) { this.classProvider = t0; this.index = t1; }, ClassesContentView__buildList_closure: function ClassesContentView__buildList_closure(t0, t1, t2) { this.context = t0; this.classProvider = t1; this.index = t2; }, ClassesContentView__buildList__closure: function ClassesContentView__buildList__closure(t0, t1, t2) { this.context = t0; this.classProvider = t1; this.index = t2; }, AddUserDialog: function AddUserDialog(t0, t1) { this.isTeacher = t0; this.key = t1; }, _AddUserDialogState: function _AddUserDialogState(t0, t1) { var _ = this; _._add_user_dialog$_formKey = t0; _._add_user_dialog$_isLoading = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AddUserDialogState__buildWebAddUserForm_closure: function _AddUserDialogState__buildWebAddUserForm_closure(t0) { this.$this = t0; }, _AddUserDialogState__addTeacher_closure: function _AddUserDialogState__addTeacher_closure(t0) { this.$this = t0; }, _AddUserDialogState__addTeacher_closure0: function _AddUserDialogState__addTeacher_closure0(t0) { this.$this = t0; }, _AddUserDialogState__addStudent_closure: function _AddUserDialogState__addStudent_closure(t0) { this.$this = t0; }, _AddUserDialogState__addStudent_closure0: function _AddUserDialogState__addStudent_closure0(t0) { this.$this = t0; }, _AddUserDialogState__assignUserActions_closure: function _AddUserDialogState__assignUserActions_closure(t0) { this.$this = t0; }, _AddUserDialogState__buildForm_closure: function _AddUserDialogState__buildForm_closure(t0) { this.$this = t0; }, _AddUserDialogState__buildForm__closure0: function _AddUserDialogState__buildForm__closure0(t0) { this.$this = t0; }, _AddUserDialogState__buildForm__closure: function _AddUserDialogState__buildForm__closure(t0) { this.data = t0; }, _AddUserDialogState__buildForm___closure: function _AddUserDialogState__buildForm___closure(t0, t1) { this.data = t0; this.teacherModel = t1; }, _AddUserDialogState__buildStudentForm_closure: function _AddUserDialogState__buildStudentForm_closure(t0) { this.$this = t0; }, _AddUserDialogState__buildStudentForm__closure0: function _AddUserDialogState__buildStudentForm__closure0(t0) { this.$this = t0; }, _AddUserDialogState__buildStudentForm__closure: function _AddUserDialogState__buildStudentForm__closure(t0) { this.data = t0; }, _AddUserDialogState__buildStudentForm___closure: function _AddUserDialogState__buildStudentForm___closure(t0, t1) { this.data = t0; this.teacherModel = t1; }, BatchForm: function BatchForm(t0) { this.key = t0; }, _BatchFormState: function _BatchFormState(t0, t1, t2) { var _ = this; _._batch_form$_formKey = t0; _._batch_form$_isInit = true; _._isActive = false; _._languageModel = t1; _._languages = null; _._batch_form$_name = _._code = ""; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _BatchFormState_didChangeDependencies_closure: function _BatchFormState_didChangeDependencies_closure() { }, _BatchFormState__buildBatchFormActions_closure: function _BatchFormState__buildBatchFormActions_closure(t0) { this.$this = t0; }, _BatchFormState__buildLanguageDropDown_closure: function _BatchFormState__buildLanguageDropDown_closure(t0) { this.$this = t0; }, _BatchFormState__buildLanguageDropDown__closure: function _BatchFormState__buildLanguageDropDown__closure(t0) { this.data = t0; }, _BatchFormState__buildCodeTextField_closure: function _BatchFormState__buildCodeTextField_closure(t0) { this.$this = t0; }, _BatchFormState__buildBatchTextField_closure: function _BatchFormState__buildBatchTextField_closure(t0) { this.$this = t0; }, _BatchFormState__buildIsActiveCheckBox_closure: function _BatchFormState__buildIsActiveCheckBox_closure(t0) { this.$this = t0; }, _BatchFormState__buildIsActiveCheckBox__closure: function _BatchFormState__buildIsActiveCheckBox__closure(t0, t1) { this.$this = t0; this.value = t1; }, ClassAddDialog: function ClassAddDialog(t0) { this.key = t0; }, _ClassAddDialogState: function _ClassAddDialogState(t0, t1) { var _ = this; _._class_add_dialog$_isAllSelected = false; _._class_add_dialog$_addClassList = t0; _._class_add_dialog$_isAdding = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ClassAddDialogState__addClass_closure: function _ClassAddDialogState__addClass_closure(t0) { this.$this = t0; }, _ClassAddDialogState__addClass_closure0: function _ClassAddDialogState__addClass_closure0(t0) { this.classId = t0; }, _ClassAddDialogState__addClass_closure1: function _ClassAddDialogState__addClass_closure1(t0) { this.classId = t0; }, _ClassAddDialogState__addClass_closure2: function _ClassAddDialogState__addClass_closure2(t0) { this.$this = t0; }, _ClassAddDialogState__addClass_closure3: function _ClassAddDialogState__addClass_closure3(t0) { this.$this = t0; }, _ClassAddDialogState_build_closure0: function _ClassAddDialogState_build_closure0(t0) { this.$this = t0; }, _ClassAddDialogState_build__closure: function _ClassAddDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _ClassAddDialogState_build_closure: function _ClassAddDialogState_build_closure(t0) { this.context = t0; }, _ClassAddDialogState__buildMasterClassCard_closure: function _ClassAddDialogState__buildMasterClassCard_closure(t0, t1, t2) { this.$this = t0; this.key = t1; this._masterClass = t2; }, _ClassAddDialogState__buildMasterClassCard__closure: function _ClassAddDialogState__buildMasterClassCard__closure(t0, t1, t2) { this.classProvider = t0; this.key = t1; this._masterClass = t2; }, CreateNewUserDialog: function CreateNewUserDialog(t0, t1) { this.isTeacher = t0; this.key = t1; }, _CreateNewUserDialogState: function _CreateNewUserDialogState(t0, t1) { var _ = this; _._create_new_user_dialog$_formKey = t0; _._create_new_user_dialog$_isAdding = false; _._generate = _._create_new_user_dialog$_password = _._phone = _._email = _._lastName = _._middleName = _._firstName = ""; _._create_new_user_dialog$_isEmail = false; _._create_new_user_dialog$_isMobile = true; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _CreateNewUserDialogState__buildWebCreateUserForm_closure: function _CreateNewUserDialogState__buildWebCreateUserForm_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildCreateUserActions_closure: function _CreateNewUserDialogState__buildCreateUserActions_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__addUser_closure: function _CreateNewUserDialogState__addUser_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__addUser_closure0: function _CreateNewUserDialogState__addUser_closure0(t0) { this.$this = t0; }, _CreateNewUserDialogState__addUser_closure1: function _CreateNewUserDialogState__addUser_closure1(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildFirstNameTextField_closure: function _CreateNewUserDialogState__buildFirstNameTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildMiddleNameTextField_closure: function _CreateNewUserDialogState__buildMiddleNameTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildLastNameTextField_closure: function _CreateNewUserDialogState__buildLastNameTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildEmailTextField_closure: function _CreateNewUserDialogState__buildEmailTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildPhoneTextField_closure: function _CreateNewUserDialogState__buildPhoneTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildPasswordTextField_closure: function _CreateNewUserDialogState__buildPasswordTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildGenerateTextField_closure: function _CreateNewUserDialogState__buildGenerateTextField_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildSendEmailCheckBox_closure: function _CreateNewUserDialogState__buildSendEmailCheckBox_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildSendEmailCheckBox__closure: function _CreateNewUserDialogState__buildSendEmailCheckBox__closure(t0, t1) { this.$this = t0; this.value = t1; }, _CreateNewUserDialogState__buildSendPhoneCheckBox_closure: function _CreateNewUserDialogState__buildSendPhoneCheckBox_closure(t0) { this.$this = t0; }, _CreateNewUserDialogState__buildSendPhoneCheckBox__closure: function _CreateNewUserDialogState__buildSendPhoneCheckBox__closure(t0, t1) { this.$this = t0; this.value = t1; }, ResetPasswordForm: function ResetPasswordForm(t0, t1, t2) { this.userType = t0; this.id = t1; this.key = t2; }, _ResetPasswordFormState: function _ResetPasswordFormState(t0, t1) { var _ = this; _._reset_password_from$_formKey = t0; _._reset_password_from$_password = ""; _._isEmail = false; _._isMobile = true; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ResetPasswordFormState_build_closure: function _ResetPasswordFormState_build_closure(t0) { this.$this = t0; }, _ResetPasswordFormState__buildForm_closure: function _ResetPasswordFormState__buildForm_closure(t0) { this.$this = t0; }, _ResetPasswordFormState__buildForm__closure2: function _ResetPasswordFormState__buildForm__closure2() { }, _ResetPasswordFormState__buildForm__closure1: function _ResetPasswordFormState__buildForm__closure1(t0) { this.$this = t0; }, _ResetPasswordFormState__buildForm_closure0: function _ResetPasswordFormState__buildForm_closure0(t0) { this.$this = t0; }, _ResetPasswordFormState__buildForm__closure0: function _ResetPasswordFormState__buildForm__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _ResetPasswordFormState__buildForm_closure1: function _ResetPasswordFormState__buildForm_closure1(t0) { this.$this = t0; }, _ResetPasswordFormState__buildForm__closure: function _ResetPasswordFormState__buildForm__closure(t0, t1) { this.$this = t0; this.value = t1; }, SectionAddDialog: function SectionAddDialog(t0) { this.key = t0; }, _SectionAddDialogState: function _SectionAddDialogState(t0, t1) { var _ = this; _._section_add_dialog$_isAllSelected = false; _._section_add_dialog$_addSectionList = t0; _._section_add_dialog$_isAdding = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SectionAddDialogState__addSection_closure: function _SectionAddDialogState__addSection_closure(t0) { this.$this = t0; }, _SectionAddDialogState__addSection_closure0: function _SectionAddDialogState__addSection_closure0(t0) { this.sectionIds = t0; }, _SectionAddDialogState__addSection_closure1: function _SectionAddDialogState__addSection_closure1(t0) { this.sectionIds = t0; }, _SectionAddDialogState__addSection_closure2: function _SectionAddDialogState__addSection_closure2(t0) { this.$this = t0; }, _SectionAddDialogState__addSection_closure3: function _SectionAddDialogState__addSection_closure3(t0) { this.$this = t0; }, _SectionAddDialogState_build_closure0: function _SectionAddDialogState_build_closure0(t0) { this.$this = t0; }, _SectionAddDialogState_build__closure: function _SectionAddDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _SectionAddDialogState_build_closure: function _SectionAddDialogState_build_closure(t0) { this.context = t0; }, _SectionAddDialogState__buildAddSectionCard_closure: function _SectionAddDialogState__buildAddSectionCard_closure(t0, t1, t2) { this.$this = t0; this.key = t1; this.addSectionModel = t2; }, _SectionAddDialogState__buildAddSectionCard__closure: function _SectionAddDialogState__buildAddSectionCard__closure(t0, t1, t2) { this.data = t0; this.key = t1; this.addSectionModel = t2; }, SubjectAddDialog: function SubjectAddDialog(t0) { this.key = t0; }, _SubjectAddDialogState: function _SubjectAddDialogState(t0, t1) { var _ = this; _._isAllSelected = false; _._subject_add_dialog$_addSubjectList = t0; _._subject_add_dialog$_isAdding = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SubjectAddDialogState__addSection_closure: function _SubjectAddDialogState__addSection_closure(t0) { this.$this = t0; }, _SubjectAddDialogState__addSection_closure0: function _SubjectAddDialogState__addSection_closure0(t0) { this.subjectIds = t0; }, _SubjectAddDialogState__addSection_closure1: function _SubjectAddDialogState__addSection_closure1(t0) { this.subjectIds = t0; }, _SubjectAddDialogState__addSection_closure2: function _SubjectAddDialogState__addSection_closure2(t0) { this.$this = t0; }, _SubjectAddDialogState__addSection_closure3: function _SubjectAddDialogState__addSection_closure3(t0) { this.$this = t0; }, _SubjectAddDialogState_build_closure0: function _SubjectAddDialogState_build_closure0(t0) { this.$this = t0; }, _SubjectAddDialogState_build__closure: function _SubjectAddDialogState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _SubjectAddDialogState_build_closure: function _SubjectAddDialogState_build_closure(t0) { this.context = t0; }, _SubjectAddDialogState__buildAddSectionCard_closure: function _SubjectAddDialogState__buildAddSectionCard_closure(t0, t1, t2) { this.$this = t0; this.key = t1; this.adminSubjectModel = t2; }, _SubjectAddDialogState__buildAddSectionCard__closure: function _SubjectAddDialogState__buildAddSectionCard__closure(t0, t1, t2) { this.data = t0; this.key = t1; this.adminSubjectModel = t2; }, ManageTeacherStudentView$(userType) { var _null = null; return new A.ManageTeacherStudentView(userType, A._setArrayType([new A.DataColumn(A.Text$("Name", _null, _null, _null, _null, _null, _null, _null, _null), false), new A.DataColumn(A.Text$("Email", _null, _null, _null, _null, _null, _null, _null, _null), false), new A.DataColumn(A.Text$("Phone", _null, _null, _null, _null, _null, _null, _null, _null), false), new A.DataColumn(A.Text$("Class", _null, _null, _null, _null, _null, _null, _null, _null), false), new A.DataColumn(A.Text$("Actions", _null, _null, _null, _null, _null, _null, _null, _null), false)], type$.JSArray_DataColumn), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), $.$get$locator().call$1$0(type$.JitsiMeetingProvider), _null); }, ManageTeacherStudentView: function ManageTeacherStudentView(t0, t1, t2, t3, t4) { var _ = this; _.userType = t0; _.createColumn = t1; _._manage_teacher_student_view$_formKey = t2; _._manage_teacher_student_view$_jitsiMeetProvider = t3; _._searchTerms = ""; _.key = t4; }, ManageTeacherStudentView_build_closure: function ManageTeacherStudentView_build_closure(t0) { this.$this = t0; }, ManageTeacherStudentView_build__closure: function ManageTeacherStudentView_build__closure(t0) { this.$this = t0; }, ManageTeacherStudentView__buildUserList_closure: function ManageTeacherStudentView__buildUserList_closure(t0, t1) { this.$this = t0; this.manageAccountProvider = t1; }, ManageTeacherStudentView__buildUserList__closure: function ManageTeacherStudentView__buildUserList__closure(t0, t1, t2) { this.$this = t0; this.manageAccountProvider = t1; this.index = t2; }, ManageTeacherStudentView__buildUserTable_closure: function ManageTeacherStudentView__buildUserTable_closure() { }, ManageTeacherStudentView__buildUserTable_closure0: function ManageTeacherStudentView__buildUserTable_closure0() { }, ManageTeacherStudentView__buildUserTable_closure1: function ManageTeacherStudentView__buildUserTable_closure1() { }, ManageTeacherStudentView__buildSearchFilter_closure: function ManageTeacherStudentView__buildSearchFilter_closure(t0) { this.$this = t0; }, ManageTeacherStudentView__buildSearchFilter_closure0: function ManageTeacherStudentView__buildSearchFilter_closure0(t0) { this.$this = t0; }, ManageTeacherStudentView__buildAction_closure: function ManageTeacherStudentView__buildAction_closure(t0, t1) { this.$this = t0; this.id = t1; }, ManageTeacherStudentView__showDetails_closure: function ManageTeacherStudentView__showDetails_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.resourceList = t1; _.userId = t2; _.resourceStudent = t3; }, ManageTeacherStudentView__showDetails__closure: function ManageTeacherStudentView__showDetails__closure(t0) { this.tempList = t0; }, ManageTeacherStudentView__showDetails__closure0: function ManageTeacherStudentView__showDetails__closure0(t0, t1) { this.$this = t0; this.userId = t1; }, ManageTeacherStudentView__showDetails__closure1: function ManageTeacherStudentView__showDetails__closure1(t0, t1) { this.$this = t0; this.userId = t1; }, ManageTeacherStudentView__showResetPasswordDialog_closure: function ManageTeacherStudentView__showResetPasswordDialog_closure(t0) { this.resetPasswordForm = t0; }, ManageTeacherStudentView__showResetPasswordDialog_closure0: function ManageTeacherStudentView__showResetPasswordDialog_closure0(t0, t1) { this.id = t0; this.userType = t1; }, ManageTeacherStudentView__buildResourceTeacher_closure: function ManageTeacherStudentView__buildResourceTeacher_closure(t0) { this.tempList = t0; }, SectionContentView: function SectionContentView(t0) { this.key = t0; }, SectionContentView__showAddBatchDialog_closure: function SectionContentView__showAddBatchDialog_closure() { }, SectionContentView_build_closure: function SectionContentView_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, SectionContentView__buildResponsiveList_closure: function SectionContentView__buildResponsiveList_closure(t0, t1) { this.sectionProvider = t0; this.context = t1; }, SectionContentView__buildResponsiveList__closure0: function SectionContentView__buildResponsiveList__closure0(t0) { this.sectionModel = t0; }, SectionContentView__buildResponsiveList__closure: function SectionContentView__buildResponsiveList__closure(t0, t1, t2) { this.context = t0; this.sectionProvider = t1; this.sectionModel = t2; }, SectionContentView__buildResponsiveList___closure: function SectionContentView__buildResponsiveList___closure(t0, t1, t2) { this.context = t0; this.sectionProvider = t1; this.sectionModel = t2; }, StudentContentView: function StudentContentView(t0) { this.key = t0; }, StudentContentView_build_closure: function StudentContentView_build_closure(t0) { this.$this = t0; }, StudentContentView_build_closure0: function StudentContentView_build_closure0(t0) { this.$this = t0; }, StudentContentView__buildStudentList_closure: function StudentContentView__buildStudentList_closure(t0) { this.context = t0; }, StudentContentView__buildStudentList__closure: function StudentContentView__buildStudentList__closure(t0, t1) { this.data = t0; this.context = t1; }, StudentContentView__buildStudentList___closure0: function StudentContentView__buildStudentList___closure0() { }, StudentContentView__buildStudentList___closure: function StudentContentView__buildStudentList___closure(t0, t1, t2) { this.context = t0; this.data = t1; this.student = t2; }, StudentContentView__buildStudentList____closure: function StudentContentView__buildStudentList____closure(t0, t1, t2) { this.context = t0; this.data = t1; this.student = t2; }, StudentContentView__showAddTeacherDialog_closure: function StudentContentView__showAddTeacherDialog_closure() { }, StudentContentView__showCreateNewDialog_closure: function StudentContentView__showCreateNewDialog_closure() { }, SubjectContentView: function SubjectContentView(t0) { this.key = t0; }, SubjectContentView__showAddSubjectDialog_closure: function SubjectContentView__showAddSubjectDialog_closure() { }, SubjectContentView_build_closure: function SubjectContentView_build_closure(t0) { this.context = t0; }, SubjectContentView_build__closure: function SubjectContentView_build__closure(t0, t1) { this.data = t0; this.context = t1; }, SubjectContentView_build___closure0: function SubjectContentView_build___closure0(t0) { this.subjectModel = t0; }, SubjectContentView_build___closure: function SubjectContentView_build___closure(t0, t1, t2) { this.context = t0; this.data = t1; this.subjectModel = t2; }, SubjectContentView_build____closure: function SubjectContentView_build____closure(t0, t1, t2) { this.context = t0; this.data = t1; this.subjectModel = t2; }, TeacherContentView: function TeacherContentView(t0) { this.key = t0; }, TeacherContentView_build_closure: function TeacherContentView_build_closure(t0) { this.$this = t0; }, TeacherContentView_build_closure0: function TeacherContentView_build_closure0(t0) { this.$this = t0; }, TeacherContentView__buildTeacherList_closure: function TeacherContentView__buildTeacherList_closure(t0) { this.context = t0; }, TeacherContentView__buildTeacherList__closure: function TeacherContentView__buildTeacherList__closure(t0, t1) { this.data = t0; this.context = t1; }, TeacherContentView__buildTeacherList___closure0: function TeacherContentView__buildTeacherList___closure0() { }, TeacherContentView__buildTeacherList___closure: function TeacherContentView__buildTeacherList___closure(t0, t1, t2) { this.context = t0; this.data = t1; this.teacherModel = t2; }, TeacherContentView__buildTeacherList____closure: function TeacherContentView__buildTeacherList____closure(t0, t1, t2) { this.context = t0; this.data = t1; this.teacherModel = t2; }, TeacherContentView__showAddTeacherDialog_closure: function TeacherContentView__showAddTeacherDialog_closure() { }, TeacherContentView__showCreateNewDialog_closure: function TeacherContentView__showCreateNewDialog_closure() { }, AdminContentCard$(icon, isThereEdit, onDelete, onEdit, onPress, subtitle, title) { return new A.AdminContentCard(title, icon, onDelete, onPress, onEdit, subtitle, isThereEdit, null); }, AdminContentCard: function AdminContentCard(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.title = t0; _.icon = t1; _.onDelete = t2; _.onPress = t3; _.onEdit = t4; _.subtitle = t5; _.isThereEdit = t6; _.key = t7; }, AdminContentCard_build_closure1: function AdminContentCard_build_closure1(t0) { this.$this = t0; }, AdminContentCard_build_closure: function AdminContentCard_build_closure(t0) { this.$this = t0; }, AdminContentCard_build_closure0: function AdminContentCard_build_closure0(t0) { this.$this = t0; }, CustomFilterWidget: function CustomFilterWidget(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.isThereBatch = t0; _.isThereClass = t1; _.isThereSection = t2; _.isThereSubject = t3; _.isToShowCreateBtn = t4; _.showAddDialog = t5; _.showCreateDialog = t6; _.key = t7; }, _CustomFilterWidgetState: function _CustomFilterWidgetState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _CustomFilterWidgetState_build_closure: function _CustomFilterWidgetState_build_closure(t0) { this.$this = t0; }, _CustomFilterWidgetState_build_closure0: function _CustomFilterWidgetState_build_closure0(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildBatchDropDown_closure: function _CustomFilterWidgetState__buildBatchDropDown_closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildBatchDropDown__closure: function _CustomFilterWidgetState__buildBatchDropDown__closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildClassDropDown_closure: function _CustomFilterWidgetState__buildClassDropDown_closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildClassDropDown__closure: function _CustomFilterWidgetState__buildClassDropDown__closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildSectionDropDown_closure: function _CustomFilterWidgetState__buildSectionDropDown_closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildSectionDropDown__closure: function _CustomFilterWidgetState__buildSectionDropDown__closure(t0) { this.$this = t0; }, _CustomFilterWidgetState__buildSubjectDropDown_closure: function _CustomFilterWidgetState__buildSubjectDropDown_closure() { }, _CustomFilterWidgetState__buildSubjectDropDown__closure: function _CustomFilterWidgetState__buildSubjectDropDown__closure() { }, DisableAccountSwitch: function DisableAccountSwitch(t0, t1, t2, t3) { var _ = this; _.isActive = t0; _.userType = t1; _.userId = t2; _.key = t3; }, _DisableAccountSwitchState: function _DisableAccountSwitchState(t0) { var _ = this; _._widget = _.isSwitched = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DisableAccountSwitchState_build_closure: function _DisableAccountSwitchState_build_closure(t0) { this.$this = t0; }, _DisableAccountSwitchState_build__closure: function _DisableAccountSwitchState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _DisableAccountSwitchState_build__closure0: function _DisableAccountSwitchState_build__closure0(t0) { this.$this = t0; }, _DisableAccountSwitchState_build___closure: function _DisableAccountSwitchState_build___closure(t0) { this.context = t0; }, _DisableAccountSwitchState_build___closure0: function _DisableAccountSwitchState_build___closure0(t0, t1) { this.$this = t0; this.context = t1; }, AdminPanelScreen: function AdminPanelScreen(t0, t1) { this._admin_panel_screen$_scaffoldKey = t0; this.key = t1; }, AdminPanelScreen_build_closure: function AdminPanelScreen_build_closure(t0) { this.$this = t0; }, AdminPanelScreen__adminPanelBody_closure: function AdminPanelScreen__adminPanelBody_closure() { }, AssignmentSubmittedScreen: function AssignmentSubmittedScreen(t0, t1) { this.assignmentId = t0; this.key = t1; }, AssignmentSubmittedScreen_build_closure: function AssignmentSubmittedScreen_build_closure(t0) { this.context = t0; }, AssignmentSubmittedScreen_build__closure: function AssignmentSubmittedScreen_build__closure() { }, AssignmentSubmittedScreen_build_closure0: function AssignmentSubmittedScreen_build_closure0() { }, AddAssignmentWidget: function AddAssignmentWidget(t0) { this.key = t0; }, _AddAssignmentWidgetState: function _AddAssignmentWidgetState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _AddAssignmentWidgetState_build_closure: function _AddAssignmentWidgetState_build_closure(t0) { this.context = t0; }, _AddAssignmentWidgetState_build__closure: function _AddAssignmentWidgetState_build__closure(t0) { this.assignmentFormPage = t0; }, AssignmentListItem: function AssignmentListItem(t0, t1) { this.assignmentId = t0; this.key = t1; }, _AssignmentListItemState: function _AssignmentListItemState(t0) { var _ = this; _._widget = _._assignment = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AssignmentListItemState__showAssignmentSubmitDialog_closure: function _AssignmentListItemState__showAssignmentSubmitDialog_closure(t0, t1, t2) { this.$this = t0; this.isAddMaterial = t1; this.isMaterial = t2; }, _AssignmentListItemState_build_closure: function _AssignmentListItemState_build_closure(t0) { this.$this = t0; }, _AssignmentListItemState__buildAssignmentContent_closure: function _AssignmentListItemState__buildAssignmentContent_closure() { }, _AssignmentListItemState__buildAssignmentContent__closure: function _AssignmentListItemState__buildAssignmentContent__closure(t0) { this.imageUrl = t0; }, _AssignmentListItemState__onPressSubmit_closure: function _AssignmentListItemState__onPressSubmit_closure(t0) { this.$this = t0; }, _AssignmentListItemState__onSubmissionPress_closure: function _AssignmentListItemState__onSubmissionPress_closure(t0) { this.$this = t0; }, _AssignmentListItemState__onSubmissionPress_closure0: function _AssignmentListItemState__onSubmissionPress_closure0(t0) { this.$this = t0; }, _AssignmentListItemState__buildPopMenu_closure: function _AssignmentListItemState__buildPopMenu_closure(t0) { this.$this = t0; }, _AssignmentListItemState__buildPopMenu__closure: function _AssignmentListItemState__buildPopMenu__closure(t0) { this.assignmentFormPage = t0; }, _AssignmentListItemState__buildPopMenu__closure0: function _AssignmentListItemState__buildPopMenu__closure0(t0) { this.$this = t0; }, AssignmentListView: function AssignmentListView(t0) { this.key = t0; }, AssignmentListView_build_closure: function AssignmentListView_build_closure() { }, AssignmentSubmissionBody: function AssignmentSubmissionBody(t0) { this.key = t0; }, _AssignmentSubmissionBodyState: function _AssignmentSubmissionBodyState(t0, t1) { var _ = this; _._studentName = ""; _._studentNames = t0; _._assignmentSubmitted = null; _._assignment_submission_body$_selectedIndex = 0; _._assignment_submission_body$_isLoading = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AssignmentSubmissionBodyState_getStudentName_closure: function _AssignmentSubmissionBodyState_getStudentName_closure(t0, t1, t2) { this.$this = t0; this.name = t1; this.index = t2; }, _AssignmentSubmissionBodyState_getStudentName_closure0: function _AssignmentSubmissionBodyState_getStudentName_closure0(t0) { this.$this = t0; }, _AssignmentSubmissionBodyState_getStudentName_closure1: function _AssignmentSubmissionBodyState_getStudentName_closure1(t0) { this.$this = t0; }, _AssignmentSubmissionBodyState__buildFileUploadContainer_closure: function _AssignmentSubmissionBodyState__buildFileUploadContainer_closure(t0, t1, t2) { this.$this = t0; this.url = t1; this._fileName = t2; }, AssignmentSubmissionContainer: function AssignmentSubmissionContainer(t0, t1, t2, t3, t4) { var _ = this; _.assignment = t0; _.isAddMaterial = t1; _.isMaterial = t2; _.isThereMaterials = t3; _.key = t4; }, _AssignmentSubmissionContainerState: function _AssignmentSubmissionContainerState(t0, t1, t2) { var _ = this; _._isPublished = _._hasMarks = _._isAssignmentPortal = _._assignment_submission_container$_isLoading = false; _._isAssignmentInfo = true; _._assignment_submission_container$_fileName = _._assignment_submission_container$_file = _._assignmentAnswer = ""; _._assignment_submission_container$_fileSize = 0; _._assignment_submission_container$_error = _._assignment_submission_container$_fileType = ""; _._totalMarks = "0"; _._userAccountDetail = t0; _._assignment_submission_container$_formKey = t1; _._isNotMaterialEmpty = false; _.___AssignmentSubmissionContainerState__dropZoneController = $; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _AssignmentSubmissionContainerState__filePicker_closure: function _AssignmentSubmissionContainerState__filePicker_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__filePicker_closure0: function _AssignmentSubmissionContainerState__filePicker_closure0(t0, t1) { this.$this = t0; this.result = t1; }, _AssignmentSubmissionContainerState_build_closure: function _AssignmentSubmissionContainerState_build_closure(t0) { this.context = t0; }, _AssignmentSubmissionContainerState_build_closure0: function _AssignmentSubmissionContainerState_build_closure0(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState_build__closure1: function _AssignmentSubmissionContainerState_build__closure1(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState_build_closure1: function _AssignmentSubmissionContainerState_build_closure1(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState_build__closure0: function _AssignmentSubmissionContainerState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _AssignmentSubmissionContainerState_build_closure2: function _AssignmentSubmissionContainerState_build_closure2(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState_build__closure: function _AssignmentSubmissionContainerState_build__closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildBody_closure: function _AssignmentSubmissionContainerState__buildBody_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildBody__closure0: function _AssignmentSubmissionContainerState__buildBody__closure0(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildBody_closure0: function _AssignmentSubmissionContainerState__buildBody_closure0(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildBody__closure: function _AssignmentSubmissionContainerState__buildBody__closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildFormContainer_closure: function _AssignmentSubmissionContainerState__buildFormContainer_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildFormContainer__closure: function _AssignmentSubmissionContainerState__buildFormContainer__closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildAssignmentMaterialCard_closure: function _AssignmentSubmissionContainerState__buildAssignmentMaterialCard_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildFileUploadContainer_closure: function _AssignmentSubmissionContainerState__buildFileUploadContainer_closure(t0, t1, t2) { this.$this = t0; this.materials = t1; this._fileName = t2; }, _AssignmentSubmissionContainerState__buildDropZone_closure: function _AssignmentSubmissionContainerState__buildDropZone_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildDropZone__closure: function _AssignmentSubmissionContainerState__buildDropZone__closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildDropZone__closure2: function _AssignmentSubmissionContainerState__buildDropZone__closure2() { }, _AssignmentSubmissionContainerState__buildDropZone__closure1: function _AssignmentSubmissionContainerState__buildDropZone__closure1() { }, _AssignmentSubmissionContainerState__buildDropZone__closure0: function _AssignmentSubmissionContainerState__buildDropZone__closure0(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildDropZone___closure: function _AssignmentSubmissionContainerState__buildDropZone___closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildDropZone___closure0: function _AssignmentSubmissionContainerState__buildDropZone___closure0(t0, t1) { this.$this = t0; this.ev = t1; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure0: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure0(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure0: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure1: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure1(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure2: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure2(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure: function _AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure(t0, t1) { this.$this = t0; this.value = t1; }, _AssignmentSubmissionContainerState__submitAssignment_closure: function _AssignmentSubmissionContainerState__submitAssignment_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__submitAssignment_closure0: function _AssignmentSubmissionContainerState__submitAssignment_closure0() { }, _AssignmentSubmissionContainerState__submitAssignment_closure1: function _AssignmentSubmissionContainerState__submitAssignment_closure1(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__addMaterial_closure: function _AssignmentSubmissionContainerState__addMaterial_closure(t0) { this.$this = t0; }, _AssignmentSubmissionContainerState__addMaterial_closure0: function _AssignmentSubmissionContainerState__addMaterial_closure0() { }, _AssignmentSubmissionContainerState__addMaterial_closure1: function _AssignmentSubmissionContainerState__addMaterial_closure1(t0) { this.$this = t0; }, AssignmentSubmissionList: function AssignmentSubmissionList(t0, t1) { this._assignment_submission_list$_assignment = t0; this.key = t1; }, AssignmentSubmissionList__buildFileUploadContainer_closure: function AssignmentSubmissionList__buildFileUploadContainer_closure(t0, t1) { this.submittedFile = t0; this._fileName = t1; }, AssignmentTabView: function AssignmentTabView(t0) { this.key = t0; }, ContentTabView: function ContentTabView(t0) { this.key = t0; }, NoteTabView: function NoteTabView(t0) { this.key = t0; }, NoteTabView_build_closure: function NoteTabView_build_closure() { }, AddNoteContainer: function AddNoteContainer(t0) { this.key = t0; }, AddNoteContainer_build_closure: function AddNoteContainer_build_closure(t0) { this.ctx = t0; }, AddNoteContainer_build__closure: function AddNoteContainer_build__closure(t0) { this.notePage = t0; }, CommentCard: function CommentCard(t0, t1, t2) { this.comment = t0; this.noteId = t1; this.key = t2; }, _CommentCardState: function _CommentCardState(t0, t1, t2) { var _ = this; _._isEdit = false; _._formKey1 = t0; _.editController = t1; _._comment = ""; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CommentCardState__editComment_closure: function _CommentCardState__editComment_closure(t0) { this.$this = t0; }, _CommentCardState_build_closure: function _CommentCardState_build_closure(t0) { this.$this = t0; }, _CommentCardState_build__closure: function _CommentCardState_build__closure(t0) { this.$this = t0; }, _CommentCardState__buildAddCommentSection_closure: function _CommentCardState__buildAddCommentSection_closure(t0) { this.$this = t0; }, _CommentCardState__buildAddCommentSection_closure0: function _CommentCardState__buildAddCommentSection_closure0(t0) { this.$this = t0; }, _CommentCardState__delete_closure: function _CommentCardState__delete_closure(t0) { this.$this = t0; }, _CommentCardState__delete__closure: function _CommentCardState__delete__closure(t0, t1) { this.$this = t0; this.context = t1; }, NoteCommentUserList: function NoteCommentUserList(t0, t1) { this.noteModel = t0; this.key = t1; }, _NoteCommentUserListState: function _NoteCommentUserListState(t0) { var _ = this; _._isToShowAllComment = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _NoteCommentUserListState__displayNotesComment_closure: function _NoteCommentUserListState__displayNotesComment_closure(t0) { this.$this = t0; }, _NoteCommentUserListState__displayNotesComment__closure: function _NoteCommentUserListState__displayNotesComment__closure(t0) { this.$this = t0; }, _NoteCommentUserListState__displayNotesComment_closure0: function _NoteCommentUserListState__displayNotesComment_closure0() { }, NoteListItem: function NoteListItem(t0, t1) { this.noteId = t0; this.key = t1; }, _NoteListItemState: function _NoteListItemState(t0, t1, t2) { var _ = this; _.noteModel = null; _._formKey2 = t0; _._commentController = t1; _._note_list_item$_comment = ""; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _NoteListItemState__buildNoteSection_closure: function _NoteListItemState__buildNoteSection_closure(t0, t1) { this.$this = t0; this.noteModel = t1; }, _NoteListItemState__buildNoteSection__closure: function _NoteListItemState__buildNoteSection__closure(t0) { this.notePage = t0; }, _NoteListItemState__buildNoteSection__closure0: function _NoteListItemState__buildNoteSection__closure0(t0, t1) { this.$this = t0; this.noteModel = t1; }, _NoteListItemState__buildAddCommentSection_closure: function _NoteListItemState__buildAddCommentSection_closure(t0) { this.$this = t0; }, ResultDetailsBody: function ResultDetailsBody(t0, t1, t2) { this.testId = t0; this.studentId = t1; this.key = t2; }, ResultDetailsBody__buildResultDetailContainer_closure: function ResultDetailsBody__buildResultDetailContainer_closure(t0) { this.$this = t0; }, TestResultBody: function TestResultBody(t0) { this.key = t0; }, _TestResultBodyState: function _TestResultBodyState(t0, t1, t2) { var _ = this; _._test_body$_studentName = ""; _._test_body$_studentNames = t0; _._studentTests = t1; _._test_body$_selectedIndex = 0; _._test_body$_isLoading = false; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _TestResultBodyState_getStudentName_closure: function _TestResultBodyState_getStudentName_closure(t0, t1, t2) { this.$this = t0; this.name = t1; this.index = t2; }, _TestResultBodyState_getStudentName_closure0: function _TestResultBodyState_getStudentName_closure0(t0) { this.$this = t0; }, _TestResultBodyState_getStudentName_closure1: function _TestResultBodyState_getStudentName_closure1(t0) { this.$this = t0; }, TestResultGrid: function TestResultGrid(t0, t1, t2) { this.studentTests = t0; this.studentName = t1; this.key = t2; }, TestResultGrid__buildTestCard_closure: function TestResultGrid__buildTestCard_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.index = t2; }, TestResultGrid__buildTestCard__closure: function TestResultGrid__buildTestCard__closure(t0, t1) { this.$this = t0; this.index = t1; }, TestResultScreen: function TestResultScreen(t0, t1) { this.testId = t0; this.key = t1; }, TestResultScreen__buildTestBody_closure: function TestResultScreen__buildTestBody_closure() { }, StudentTestBody: function StudentTestBody(t0, t1) { this.testId = t0; this.key = t1; }, _StudentTestBodyState: function _StudentTestBodyState(t0, t1) { var _ = this; _._questionLengthForCheck = _._questionLength = _._nextQuestionId = _._currentQuestionId = 0; _._isComplete = _._student_test_body$_isLoading = false; _._isInit = true; _._student_test_body$_userAccountDetail = null; _._selectedAnswer = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _StudentTestBodyState_didChangeDependencies_closure: function _StudentTestBodyState_didChangeDependencies_closure(t0) { this.$this = t0; }, _StudentTestBodyState_didChangeDependencies_closure0: function _StudentTestBodyState_didChangeDependencies_closure0(t0) { this.$this = t0; }, _StudentTestBodyState_build_closure: function _StudentTestBodyState_build_closure(t0) { this.$this = t0; }, _StudentTestBodyState_build__closure: function _StudentTestBodyState_build__closure(t0) { this.$this = t0; }, _StudentTestBodyState_build___closure: function _StudentTestBodyState_build___closure(t0) { this.$this = t0; }, _StudentTestBodyState_build___closure0: function _StudentTestBodyState_build___closure0(t0) { this.$this = t0; }, _StudentTestBodyState_build__closure0: function _StudentTestBodyState_build__closure0(t0) { this.context = t0; }, _StudentTestBodyState__buildQuestionBody_closure: function _StudentTestBodyState__buildQuestionBody_closure(t0, t1) { this._question = t0; this.index = t1; }, TestQuestionBody: function TestQuestionBody(t0, t1) { this.testId = t0; this.key = t1; }, TestQuestionBody_build_closure: function TestQuestionBody_build_closure() { }, TestQuestionForm$(isEdit, questionId, questionTestId, quizOptions, quizType, showAddForm, solution, testId, title, weight) { return new A.TestQuestionForm(questionTestId, testId, questionId, isEdit, title, weight, solution, quizType, quizOptions, null); }, TestQuestionForm: function TestQuestionForm(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.questionTestId = t0; _.testId = t1; _.questionId = t2; _.isEdit = t3; _.title = t4; _.weight = t5; _.solution = t6; _.quizType = t7; _.quizOptions = t8; _.key = t9; }, _TestQuestionFormState: function _TestQuestionFormState(t0, t1, t2, t3, t4, t5) { var _ = this; _._weight = _._test_question_form$_solution = _._test_question_form$_title = ""; _._quizType = t0; _._customTextFields = t1; _.answer = t2; _.number = 1; _._test_question_form$_isLoading = false; _._test_question_form$_formKey = t3; _._test_question_form$_controller = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _TestQuestionFormState_initState_closure: function _TestQuestionFormState_initState_closure() { }, _TestQuestionFormState_initState_closure0: function _TestQuestionFormState_initState_closure0(t0) { this.$this = t0; }, _TestQuestionFormState_initState__closure: function _TestQuestionFormState_initState__closure() { }, _TestQuestionFormState__addOrEditQuestion_closure: function _TestQuestionFormState__addOrEditQuestion_closure(t0) { this.$this = t0; }, _TestQuestionFormState__addOrEditQuestion_closure0: function _TestQuestionFormState__addOrEditQuestion_closure0() { }, _TestQuestionFormState__addOrEditQuestion_closure1: function _TestQuestionFormState__addOrEditQuestion_closure1() { }, _TestQuestionFormState__addOrEditQuestion_closure2: function _TestQuestionFormState__addOrEditQuestion_closure2(t0) { this.$this = t0; }, _TestQuestionFormState_build_closure: function _TestQuestionFormState_build_closure(t0) { this.$this = t0; }, _TestQuestionFormState_build_closure0: function _TestQuestionFormState_build_closure0(t0) { this.$this = t0; }, _TestQuestionFormState_build_closure1: function _TestQuestionFormState_build_closure1(t0) { this.$this = t0; }, _TestQuestionFormState_build_closure2: function _TestQuestionFormState_build_closure2(t0) { this.$this = t0; }, _TestQuestionFormState_build_closure3: function _TestQuestionFormState_build_closure3(t0) { this.$this = t0; }, _TestQuestionFormState__buildTrailingButton_closure: function _TestQuestionFormState__buildTrailingButton_closure(t0, t1) { this.$this = t0; this.index = t1; }, _TestQuestionFormState__buildTrailingButton__closure2: function _TestQuestionFormState__buildTrailingButton__closure2(t0, t1) { this.$this = t0; this.key = t1; }, _TestQuestionFormState__buildTrailingButton__closure3: function _TestQuestionFormState__buildTrailingButton__closure3(t0) { this.$this = t0; }, _TestQuestionFormState__buildTrailingButton_closure0: function _TestQuestionFormState__buildTrailingButton_closure0(t0, t1) { this.$this = t0; this.index = t1; }, _TestQuestionFormState__buildTrailingButton__closure1: function _TestQuestionFormState__buildTrailingButton__closure1(t0, t1) { this.$this = t0; this.index = t1; }, _TestQuestionFormState__buildTrailingButton_closure1: function _TestQuestionFormState__buildTrailingButton_closure1(t0) { this.$this = t0; }, _TestQuestionFormState__buildTrailingButton__closure0: function _TestQuestionFormState__buildTrailingButton__closure0() { }, _TestQuestionFormState__buildTrailingButton__closure: function _TestQuestionFormState__buildTrailingButton__closure(t0, t1) { this.$this = t0; this.cT = t1; }, TestQuestionItem: function TestQuestionItem(t0, t1) { this.index = t0; this.key = t1; }, _TestQuestionItemState: function _TestQuestionItemState(t0) { var _ = this; _._test_question_item$_isExpanded = false; _._question = null; _.index = ""; _._widget = _.answer = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _TestQuestionItemState_build_closure: function _TestQuestionItemState_build_closure() { }, _TestQuestionItemState_build_closure0: function _TestQuestionItemState_build_closure0(t0) { this.$this = t0; }, _TestQuestionItemState_build__closure: function _TestQuestionItemState_build__closure(t0) { this.$this = t0; }, _TestQuestionItemState__buildTrailingOptions_closure: function _TestQuestionItemState__buildTrailingOptions_closure(t0) { this.$this = t0; }, _TestQuestionItemState__buildTrailingOptions__closure: function _TestQuestionItemState__buildTrailingOptions__closure(t0) { this.$this = t0; }, _TestQuestionItemState__buildTrailingOptions___closure: function _TestQuestionItemState__buildTrailingOptions___closure(t0) { this.$this = t0; }, _TestQuestionItemState__buildTrailingOptions__closure0: function _TestQuestionItemState__buildTrailingOptions__closure0(t0) { this.$this = t0; }, _TestQuestionItemState__buildExpandedContainer_closure: function _TestQuestionItemState__buildExpandedContainer_closure(t0) { this.$this = t0; }, QuestionListView: function QuestionListView(t0) { this.key = t0; }, QuestionListView_build_closure: function QuestionListView_build_closure() { }, QuestionListView_build__closure: function QuestionListView_build__closure(t0) { this.value = t0; }, TestQuestionScreen: function TestQuestionScreen(t0, t1) { this.selectedTest = t0; this.key = t1; }, TestQuestionScreen_build_closure: function TestQuestionScreen_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen_build__closure: function TestQuestionScreen_build__closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen_build___closure: function TestQuestionScreen_build___closure(t0) { this.context = t0; }, TestQuestionScreen__testQuestionAlert_closure: function TestQuestionScreen__testQuestionAlert_closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen__testQuestionAlert__closure: function TestQuestionScreen__testQuestionAlert__closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen__testQuestionAlert___closure: function TestQuestionScreen__testQuestionAlert___closure(t0) { this.context = t0; }, TestQuestionScreen__questionBody_closure: function TestQuestionScreen__questionBody_closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen__questionBody__closure: function TestQuestionScreen__questionBody__closure(t0, t1) { this.$this = t0; this.context = t1; }, TestQuestionScreen__questionBody___closure: function TestQuestionScreen__questionBody___closure(t0) { this.context = t0; }, TestTabView: function TestTabView(t0) { this.key = t0; }, TestTabView_build_closure: function TestTabView_build_closure(t0) { this.context = t0; }, TestTabView_build__closure: function TestTabView_build__closure(t0) { this.addTestPage = t0; }, TestListItem: function TestListItem(t0, t1) { this.testId = t0; this.key = t1; }, _TestListItemState: function _TestListItemState(t0, t1) { var _ = this; _._selectedTest = null; _._test_list_item$_userAccountDetail = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _TestListItemState__showQuestionDialog_closure: function _TestListItemState__showQuestionDialog_closure(t0) { this.$this = t0; }, _TestListItemState__showQuestionDialog__closure: function _TestListItemState__showQuestionDialog__closure(t0, t1) { this.$this = t0; this.context = t1; }, _TestListItemState__showQuestionDialog___closure: function _TestListItemState__showQuestionDialog___closure() { }, _TestListItemState__showQuestionDialog___closure0: function _TestListItemState__showQuestionDialog___closure0(t0, t1) { this.$this = t0; this.context = t1; }, _TestListItemState__showQuestionDialog____closure: function _TestListItemState__showQuestionDialog____closure(t0) { this.$this = t0; }, _TestListItemState__showQuestionDialog__closure0: function _TestListItemState__showQuestionDialog__closure0(t0) { this.context = t0; }, _TestListItemState__showResultsDialog_closure: function _TestListItemState__showResultsDialog_closure(t0) { this.$this = t0; }, _TestListItemState__buildPopMenu_closure: function _TestListItemState__buildPopMenu_closure(t0) { this.$this = t0; }, _TestListItemState__buildPopMenu__closure: function _TestListItemState__buildPopMenu__closure(t0) { this.editTestForm = t0; }, _TestListItemState__buildPopMenu__closure0: function _TestListItemState__buildPopMenu__closure0(t0) { this.$this = t0; }, _TestListItemState__showDialogOfQuestions_closure: function _TestListItemState__showDialogOfQuestions_closure(t0) { this.$this = t0; }, TestListView: function TestListView(t0) { this.key = t0; }, TestListView_build_closure: function TestListView_build_closure() { }, QATabView: function QATabView(t0) { this.key = t0; }, AddQAWidget: function AddQAWidget(t0) { this.key = t0; }, _AddQAWidgetState: function _AddQAWidgetState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _AddQAWidgetState_build_closure: function _AddQAWidgetState_build_closure(t0) { this.context = t0; }, _AddQAWidgetState_build__closure: function _AddQAWidgetState_build__closure(t0) { this.qaPage = t0; }, QAFormWidget$(isEdit, qaId) { return new A.QAFormWidget(qaId, isEdit, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), A.HtmlEditorController$(), null); }, QAFormWidget: function QAFormWidget(t0, t1, t2, t3, t4) { var _ = this; _.qaId = t0; _.isEdit = t1; _._qa_form_widget$_formKey = t2; _._qa_form_widget$_controller = t3; _.key = t4; }, QAFormWidget__addNote_closure: function QAFormWidget__addNote_closure(t0) { this.homeScreen = t0; }, QAFormWidget_build_closure: function QAFormWidget_build_closure() { }, QAFormWidget_build_closure0: function QAFormWidget_build_closure0() { }, QAFormWidget_build_closure1: function QAFormWidget_build_closure1(t0) { this.$this = t0; }, QAListItem: function QAListItem(t0, t1) { this.qaId = t0; this.key = t1; }, _QAListItemState: function _QAListItemState(t0) { var _ = this; _._isCardExpanded = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _QAListItemState_build_closure0: function _QAListItemState_build_closure0(t0) { this.$this = t0; }, _QAListItemState_build__closure: function _QAListItemState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _QAListItemState_build_closure: function _QAListItemState_build_closure(t0) { this.context = t0; }, _QAListItemState__buildQATitle_closure: function _QAListItemState__buildQATitle_closure(t0, t1) { this.$this = t0; this.qaModel = t1; }, _QAListItemState__buildQATitle__closure0: function _QAListItemState__buildQATitle__closure0(t0) { this.qaFormPage = t0; }, _QAListItemState__buildQATitle_closure0: function _QAListItemState__buildQATitle_closure0(t0, t1) { this.$this = t0; this.qaModel = t1; }, _QAListItemState__buildQATitle__closure: function _QAListItemState__buildQATitle__closure(t0, t1) { this.$this = t0; this.qaModel = t1; }, QAListView: function QAListView(t0) { this.key = t0; }, QAListView_build_closure: function QAListView_build_closure() { }, ContentBody: function ContentBody(t0) { this.key = t0; }, _ContentBodyState: function _ContentBodyState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _ContentBodyState_build_closure: function _ContentBodyState_build_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.height = t2; }, _ContentBodyState__buildFileUploadContainer_closure: function _ContentBodyState__buildFileUploadContainer_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _._materialType = t2; _._contentUrl = t3; _._fileName = t4; }, _ContentBodyState__buildFileUploadContainer__closure: function _ContentBodyState__buildFileUploadContainer__closure(t0) { this.contentVideo = t0; }, _ContentBodyState__buildFileUploadContainer__closure0: function _ContentBodyState__buildFileUploadContainer__closure0() { }, _ContentBodyState__dictionary_closure: function _ContentBodyState__dictionary_closure(t0) { this.selectedText = t0; }, _ContentBodyState__dictionary_closure0: function _ContentBodyState__dictionary_closure0(t0) { this.selectedText = t0; }, ContentBodyImage: function ContentBodyImage(t0, t1) { this.imageUrl = t0; this.key = t1; }, _ContentBodyImageState: function _ContentBodyImageState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, ContentBodyVideo: function ContentBodyVideo(t0) { this.key = t0; }, _ContentBodyVideoState: function _ContentBodyVideoState(t0, t1, t2, t3, t4) { var _ = this; _._content_body_video$_isInit = true; _._content_body_video$_isLoading = false; _.height = _.width = null; _._content_body_video$_contentUrl = t0; _._content_body_video$_contentEmbed = t1; _._content_body_video$_title = t2; _._content_body_video$_materialType = t3; _._widget = _._youtubePlayerController = _._videoPlayerController1 = _._content_body_video$_chewieController = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _ContentBodyVideoState_didChangeDependencies_closure: function _ContentBodyVideoState_didChangeDependencies_closure(t0) { this.$this = t0; }, _ContentBodyVideoState_didChangeDependencies_closure0: function _ContentBodyVideoState_didChangeDependencies_closure0(t0) { this.$this = t0; }, CourseContentEditForm: function CourseContentEditForm(t0) { this.key = t0; }, _CourseContentEditFormState: function _CourseContentEditFormState(t0, t1, t2, t3, t4) { var _ = this; _._course_content_edit_form$_formKey = t0; _._course_content_edit_form$_controller = t1; _.___CourseContentEditFormState__dropZoneController = $; _.isChecked = t2; _._course_content_edit_form$_fileName = _._course_content_edit_form$_files = ""; _._course_content_edit_form$_fileSize = 0; _._course_content_edit_form$_sourceLink = _._course_content_edit_form$_source = _._course_content_edit_form$_error = _._course_content_edit_form$_fileType = ""; _._course_content_edit_form$_isLoading = _._course_content_edit_form$_isDocument = _._course_content_edit_form$_isAudio = _._course_content_edit_form$_isVideoLink = _._course_content_edit_form$_isFile = _._course_content_edit_form$_isVideo = false; _.lessonTitle = _.contentTitle = null; _.courseContentProvider = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, _CourseContentEditFormState__editCourseContent_closure: function _CourseContentEditFormState__editCourseContent_closure(t0) { this.$this = t0; }, _CourseContentEditFormState__editCourseContent_closure0: function _CourseContentEditFormState__editCourseContent_closure0() { }, _CourseContentEditFormState__editCourseContent_closure1: function _CourseContentEditFormState__editCourseContent_closure1(t0) { this.$this = t0; }, _CourseContentEditFormState__filePicker_closure: function _CourseContentEditFormState__filePicker_closure(t0) { this.$this = t0; }, _CourseContentEditFormState__filePicker_closure0: function _CourseContentEditFormState__filePicker_closure0(t0, t1) { this.$this = t0; this.result = t1; }, _CourseContentEditFormState_build_closure0: function _CourseContentEditFormState_build_closure0() { }, _CourseContentEditFormState_build_closure: function _CourseContentEditFormState_build_closure(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure2: function _CourseContentEditFormState_build_closure2() { }, _CourseContentEditFormState_build_closure1: function _CourseContentEditFormState_build_closure1(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure3: function _CourseContentEditFormState_build_closure3(t0) { this.$this = t0; }, _CourseContentEditFormState_build__closure0: function _CourseContentEditFormState_build__closure0(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure4: function _CourseContentEditFormState_build_closure4(t0) { this.$this = t0; }, _CourseContentEditFormState_build__closure: function _CourseContentEditFormState_build__closure(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure5: function _CourseContentEditFormState_build_closure5(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure6: function _CourseContentEditFormState_build_closure6(t0) { this.$this = t0; }, _CourseContentEditFormState_build_closure7: function _CourseContentEditFormState_build_closure7(t0) { this.$this = t0; }, _CourseContentEditFormState__buildDropZone_closure: function _CourseContentEditFormState__buildDropZone_closure(t0) { this.$this = t0; }, _CourseContentEditFormState__buildDropZone__closure: function _CourseContentEditFormState__buildDropZone__closure(t0) { this.$this = t0; }, _CourseContentEditFormState__buildDropZone__closure2: function _CourseContentEditFormState__buildDropZone__closure2() { }, _CourseContentEditFormState__buildDropZone__closure1: function _CourseContentEditFormState__buildDropZone__closure1() { }, _CourseContentEditFormState__buildDropZone__closure0: function _CourseContentEditFormState__buildDropZone__closure0(t0) { this.$this = t0; }, _CourseContentEditFormState__buildDropZone___closure: function _CourseContentEditFormState__buildDropZone___closure(t0) { this.$this = t0; }, _CourseContentEditFormState__buildDropZone___closure0: function _CourseContentEditFormState__buildDropZone___closure0(t0, t1) { this.$this = t0; this.ev = t1; }, EditCourseContentTextForm: function EditCourseContentTextForm(t0, t1, t2, t3) { var _ = this; _._course_content_edit_form$_formKey = t0; _._course_content_edit_form$_controller = t1; _.lessonTitle = _.contentTitle = null; _.courseContentProvider = t2; _.key = t3; }, EditCourseContentTextForm__editCourseContent_closure: function EditCourseContentTextForm__editCourseContent_closure() { }, EditCourseContentTextForm_build_closure0: function EditCourseContentTextForm_build_closure0() { }, EditCourseContentTextForm_build_closure: function EditCourseContentTextForm_build_closure(t0) { this.$this = t0; }, EditCourseContentTextForm_build_closure2: function EditCourseContentTextForm_build_closure2() { }, EditCourseContentTextForm_build_closure1: function EditCourseContentTextForm_build_closure1(t0) { this.$this = t0; }, EditCourseContentTextForm_build_closure3: function EditCourseContentTextForm_build_closure3(t0) { this.$this = t0; }, EditCourseContentTextForm_build__closure: function EditCourseContentTextForm_build__closure(t0) { this.provider = t0; }, SubjectGridViewScreen: function SubjectGridViewScreen(t0) { this.key = t0; }, SubjectGridViewScreen__navigateToPage_closure: function SubjectGridViewScreen__navigateToPage_closure(t0) { this.homeScreen = t0; }, SubjectGridViewScreen__navigateToPage_closure0: function SubjectGridViewScreen__navigateToPage_closure0() { }, SubjectGridViewScreen__buildTeacherSubjectListItem_closure: function SubjectGridViewScreen__buildTeacherSubjectListItem_closure(t0, t1) { this.$this = t0; this.teacherSubject = t1; }, SubjectGridViewScreen__buildStudentSubjectListItem_closure: function SubjectGridViewScreen__buildStudentSubjectListItem_closure(t0, t1) { this.$this = t0; this.studentSubject = t1; }, SubjectGridViewScreen__buildSubjectCard_closure: function SubjectGridViewScreen__buildSubjectCard_closure() { }, SubjectGridViewScreen__profile_closure: function SubjectGridViewScreen__profile_closure() { }, SubjectGridViewScreen__profile__closure: function SubjectGridViewScreen__profile__closure() { }, SubjectGridViewScreen__profile__closure0: function SubjectGridViewScreen__profile__closure0(t0) { this.context = t0; }, SubjectGridViewScreen__profile___closure: function SubjectGridViewScreen__profile___closure(t0) { this.loginPage = t0; }, SubjectGridViewScreen__profile___closure0: function SubjectGridViewScreen__profile___closure0() { }, CourseContentView: function CourseContentView(t0, t1) { this._jitsiMeetProvider = t0; this.key = t1; }, CourseContentView_build_closure: function CourseContentView_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, CourseContentView__buildContents_closure: function CourseContentView__buildContents_closure() { }, CourseContentView__buildContents__closure: function CourseContentView__buildContents__closure(t0) { this.courseContentEditForm = t0; }, CourseContentView__buildContents__closure0: function CourseContentView__buildContents__closure0(t0) { this.courseContentEditForm = t0; }, CourseContentView__buildContents__closure1: function CourseContentView__buildContents__closure1() { }, CourseDetailBody: function CourseDetailBody(t0) { this.key = t0; }, CourseDetailBody_build_closure: function CourseDetailBody_build_closure(t0) { this.$this = t0; }, CourseDetailBody_build__closure: function CourseDetailBody_build__closure(t0) { this.value = t0; }, HomeScreen: function HomeScreen(t0, t1) { this.resourceLessonId = t0; this.key = t1; }, _HomeScreenState: function _HomeScreenState(t0, t1) { var _ = this; _._home_screen$_future = null; _._home_screen$_isInit = true; _._home_screen$_scaffoldKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _HomeScreenState_build_closure: function _HomeScreenState_build_closure() { }, LoginScreen: function LoginScreen(t0) { this.key = t0; }, _LoginScreenState: function _LoginScreenState(t0, t1) { var _ = this; _._password = _._userName = null; _._isLoading = false; _._formKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _LoginScreenState__login_closure: function _LoginScreenState__login_closure(t0) { this.$this = t0; }, _LoginScreenState__login_closure0: function _LoginScreenState__login_closure0() { }, _LoginScreenState__login_closure1: function _LoginScreenState__login_closure1() { }, _LoginScreenState__login_closure2: function _LoginScreenState__login_closure2() { }, _LoginScreenState__login_closure3: function _LoginScreenState__login_closure3() { }, _LoginScreenState__login_closure4: function _LoginScreenState__login_closure4() { }, _LoginScreenState__login_closure5: function _LoginScreenState__login_closure5(t0) { this.$this = t0; }, _LoginScreenState__buildLoginForm_closure: function _LoginScreenState__buildLoginForm_closure(t0) { this.$this = t0; }, _LoginScreenState__buildUsernameTextField_closure: function _LoginScreenState__buildUsernameTextField_closure(t0) { this.$this = t0; }, _LoginScreenState__buildPasswordTextField_closure: function _LoginScreenState__buildPasswordTextField_closure(t0) { this.$this = t0; }, _LoginScreenState__buildPasswordTextField__closure0: function _LoginScreenState__buildPasswordTextField__closure0(t0) { this.$this = t0; }, _LoginScreenState__buildPasswordTextField__closure1: function _LoginScreenState__buildPasswordTextField__closure1() { }, _LoginScreenState__buildPasswordTextField__closure: function _LoginScreenState__buildPasswordTextField__closure(t0) { this.$this = t0; }, SideDrawer: function SideDrawer(t0) { this.key = t0; }, _SideDrawerState: function _SideDrawerState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _SideDrawerState_build_closure: function _SideDrawerState_build_closure(t0) { this.$this = t0; }, _SideDrawerState__buildTimeTableButton_closure: function _SideDrawerState__buildTimeTableButton_closure(t0) { this.$this = t0; }, _SideDrawerState__buildTimeTableButton__closure: function _SideDrawerState__buildTimeTableButton__closure() { }, _SideDrawerState__buildSubjectButton_closure: function _SideDrawerState__buildSubjectButton_closure(t0) { this.$this = t0; }, _SideDrawerState__buildSubjectButton__closure: function _SideDrawerState__buildSubjectButton__closure() { }, _SideDrawerState__buttonComponent_closure: function _SideDrawerState__buttonComponent_closure(t0) { this.show = t0; }, ChapterList: function ChapterList(t0, t1) { this.courseId = t0; this.key = t1; }, ChapterList_build_closure: function ChapterList_build_closure(t0, t1) { this.context = t0; this._courseContent = t1; }, ChapterList_build__closure0: function ChapterList_build__closure0(t0, t1) { this._courseContent = t0; this.context = t1; }, ChapterList_build__closure1: function ChapterList_build__closure1(t0) { this.resourceLessonForm = t0; }, ChapterList_build_closure0: function ChapterList_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, ChapterList_build__closure: function ChapterList_build__closure(t0, t1) { this.$this = t0; this.resLesson = t1; }, CourseContentList: function CourseContentList(t0) { this.key = t0; }, CourseContentList__showDialog_closure: function CourseContentList__showDialog_closure() { }, CourseContentList__showDialog_closure0: function CourseContentList__showDialog_closure0() { }, CourseContentList_build_closure: function CourseContentList_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, CourseContentList_build_closure0: function CourseContentList_build_closure0() { }, CourseContentList_build__closure: function CourseContentList_build__closure() { }, DictionaryTile: function DictionaryTile(t0) { this.key = t0; }, _DictionaryTileState: function _DictionaryTileState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _DictionaryTileState_build_closure: function _DictionaryTileState_build_closure(t0, t1) { this.$this = t0; this.termProvider = t1; }, MeetingSection: function MeetingSection(t0) { this.key = t0; }, _MeetingSectionState: function _MeetingSectionState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _MeetingSectionState_build_closure: function _MeetingSectionState_build_closure(t0) { this.size = t0; }, StudentCountCard: function StudentCountCard(t0) { this.key = t0; }, TimeTableListDialog: function TimeTableListDialog(t0, t1, t2) { this.isUserTeacher = t0; this._routine = t1; this.key = t2; }, TimeTableListDialog_build_closure1: function TimeTableListDialog_build_closure1(t0) { this.$this = t0; }, TimeTableListDialog_build_closure: function TimeTableListDialog_build_closure() { }, TimeTableListDialog_build_closure0: function TimeTableListDialog_build_closure0(t0) { this.$this = t0; }, TimeTableListDialog_build__closure: function TimeTableListDialog_build__closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.index = t2; }, TimeTableListDialog_build___closure: function TimeTableListDialog_build___closure() { }, SplashScreen: function SplashScreen(t0) { this.key = t0; }, _SplashScreenState: function _SplashScreenState(t0) { var _ = this; _._widget = _.isLogged = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SplashScreenState_navigationPage_closure: function _SplashScreenState_navigationPage_closure() { }, _SplashScreenState_navigationPage_closure0: function _SplashScreenState_navigationPage_closure0() { }, _SplashScreenState_navigationPage_closure1: function _SplashScreenState_navigationPage_closure1() { }, _SplashScreenState_navigationPage_closure2: function _SplashScreenState_navigationPage_closure2() { }, _SplashScreenState_navigationPage_closure3: function _SplashScreenState_navigationPage_closure3() { }, _SplashScreenState_navigationPage_closure4: function _SplashScreenState_navigationPage_closure4() { }, _SplashScreenState_navigationPage_closure5: function _SplashScreenState_navigationPage_closure5() { }, _SplashScreenState_navigationPage_closure6: function _SplashScreenState_navigationPage_closure6(t0) { this.loginPage = t0; }, _SplashScreenState_navigationPage_closure7: function _SplashScreenState_navigationPage_closure7() { }, AlertTitleButton: function AlertTitleButton(t0, t1, t2) { this.title = t0; this.secondButton = t1; this.key = t2; }, AlertTitleButton_build_closure: function AlertTitleButton_build_closure(t0) { this.context = t0; }, AppHeader: function AppHeader(t0) { this.key = t0; }, AppHeader_build_closure: function AppHeader_build_closure() { }, AppHeader__mobileHeader_closure: function AppHeader__mobileHeader_closure() { }, AppHeader__mobileHeader__closure: function AppHeader__mobileHeader__closure() { }, AppHeader__mobileHeader__closure0: function AppHeader__mobileHeader__closure0(t0) { this.context = t0; }, AppHeader__mobileHeader___closure: function AppHeader__mobileHeader___closure(t0) { this.loginPage = t0; }, AppHeader__mobileHeader___closure0: function AppHeader__mobileHeader___closure0() { }, AppHeader__profile_closure: function AppHeader__profile_closure() { }, AppHeader__profile__closure: function AppHeader__profile__closure() { }, AppHeader__profile__closure0: function AppHeader__profile__closure0(t0) { this.context = t0; }, AppHeader__profile___closure: function AppHeader__profile___closure(t0) { this.loginPage = t0; }, AppHeader__profile___closure0: function AppHeader__profile___closure0() { }, AppHeader__buttonMenu_closure: function AppHeader__buttonMenu_closure() { }, CancelButton: function CancelButton(t0) { this.key = t0; }, CancelButton_build_closure: function CancelButton_build_closure(t0) { this.context = t0; }, CancelButton_build__closure: function CancelButton_build__closure(t0) { this.homeScreen = t0; }, CustomDialogBox: function CustomDialogBox(t0, t1, t2) { this.title = t0; this.descriptions = t1; this.key = t2; }, _CustomDialogBoxState: function _CustomDialogBoxState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _CustomDialogBoxState__contentBox_closure: function _CustomDialogBoxState__contentBox_closure(t0) { this.context = t0; }, deleteAlert(onPressed, option) { var t1; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.deleteAlert_closure(option, onPressed), t1, null, true, type$.dynamic); }, deleteAlert_closure: function deleteAlert_closure(t0, t1) { this.option = t0; this.onPressed = t1; }, deleteAlert__closure: function deleteAlert__closure(t0) { this.context = t0; }, deleteAlert__closure0: function deleteAlert__closure0(t0) { this.onPressed = t0; }, CustomMaterialTextSelectionControls: function CustomMaterialTextSelectionControls() { }, DictionaryDialog: function DictionaryDialog(t0, t1) { this.term = t0; this.key = t1; }, DictionaryDialog_build_closure: function DictionaryDialog_build_closure(t0, t1) { this.$this = t0; this.termProvider = t1; }, CustomDropDown: function CustomDropDown(t0, t1, t2, t3, t4, t5) { var _ = this; _.list = t0; _.initialValue = t1; _.title = t2; _.isLoading = t3; _.changeId = t4; _.key = t5; }, _CustomDropDownState: function _CustomDropDownState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _CustomDropDownState__buildDropDownItems_closure: function _CustomDropDownState__buildDropDownItems_closure() { }, _CustomDropDownState__buildDropDownItems_closure0: function _CustomDropDownState__buildDropDownItems_closure0(t0) { this.$this = t0; }, ExpandedCard: function ExpandedCard(t0, t1, t2) { this.title = t0; this.childComponents = t1; this.key = t2; }, FileContainer: function FileContainer(t0, t1, t2, t3) { var _ = this; _.title = t0; _.icon = t1; _.ext = t2; _.key = t3; }, AssignmentForm$(assignmentId, isEdit) { return new A.AssignmentForm(assignmentId, isEdit, A.HtmlEditorController$(), new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), null); }, AssignmentForm: function AssignmentForm(t0, t1, t2, t3, t4) { var _ = this; _.assignmentId = t0; _.isEdit = t1; _._assignment_form$_controller = t2; _._assignment_form$_formKey = t3; _.key = t4; }, AssignmentForm__addAssignment_closure: function AssignmentForm__addAssignment_closure(t0) { this.homeScreen = t0; }, AssignmentForm_build_closure: function AssignmentForm_build_closure() { }, AssignmentForm_build_closure0: function AssignmentForm_build_closure0(t0) { this.$this = t0; }, AssignmentForm_build__closure: function AssignmentForm_build__closure(t0) { this.value = t0; }, AssignmentForm_build__closure0: function AssignmentForm_build__closure0(t0) { this.value = t0; }, AssignmentForm_build__closure1: function AssignmentForm_build__closure1(t0) { this.value = t0; }, AssignmentForm_build__closure2: function AssignmentForm_build__closure2(t0) { this.value = t0; }, AssignmentForm_build__closure3: function AssignmentForm_build__closure3(t0) { this.value = t0; }, AssignmentForm_build__closure4: function AssignmentForm_build__closure4(t0) { this.value = t0; }, AssignmentForm_build__closure5: function AssignmentForm_build__closure5(t0) { this.$this = t0; }, editLessonDialog(id, parentId, resourceSubjectId, title) { var t1; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.editLessonDialog_closure(title, id, resourceSubjectId, parentId, null, null), t1, null, true, type$.dynamic); }, editLessonSheet(id, parentId, resourceSubjectId, title) { var t1; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showModalBottomSheet(new A.editLessonSheet_closure(title, id, resourceSubjectId, parentId, null, null), t1, true, new A.RoundedRectangleBorder(new A.BorderRadius(new A.Radius(20, 20), new A.Radius(20, 20), B.Radius_0_0, B.Radius_0_0), B.BorderSide_0CF), false, type$.dynamic); }, getVal(value) { $.isCheck = value; }, _content(title) { return new A.Builder(new A._content_closure(title), null); }, _onPressed(id, parentId, resourceId, resourceSubjectId, sequence) { var error, t1, t2, exception; try { t1 = $.$get$_key(); if (t1.get$currentState().validate$0()) { t1.get$currentState().save$0(0); t1 = $.$get$locator().call$1$0(type$.ResourceProvider); id.toString; resourceSubjectId.toString; parentId.toString; t2 = $._lessonTitle; t1.updateResource$5$id$isPublished$parentId$resourceSubjectId$title(id, $.isCheck, parentId, resourceSubjectId, t2); $.$get$locator().call$1$0(type$.NavigationService); t2 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, null); } } catch (exception) { error = A.unwrapException(exception); A.print(error); throw exception; } }, editLessonDialog_closure: function editLessonDialog_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.title = t0; _.id = t1; _.resourceSubjectId = t2; _.parentId = t3; _.resourceId = t4; _.sequence = t5; }, editLessonDialog__closure: function editLessonDialog__closure(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.resourceSubjectId = t1; _.parentId = t2; _.resourceId = t3; _.sequence = t4; }, editLessonSheet_closure: function editLessonSheet_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.title = t0; _.id = t1; _.resourceSubjectId = t2; _.parentId = t3; _.resourceId = t4; _.sequence = t5; }, editLessonSheet__closure: function editLessonSheet__closure(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.resourceSubjectId = t1; _.parentId = t2; _.resourceId = t3; _.sequence = t4; }, _content_closure: function _content_closure(t0) { this.title = t0; }, _content__closure: function _content__closure() { }, EditTestForm: function EditTestForm(t0, t1, t2, t3) { var _ = this; _.testId = t0; _._edit_test_form$_formKey = t1; _._edit_test_form$_controller = t2; _.key = t3; }, EditTestForm__addTest_closure: function EditTestForm__addTest_closure(t0) { this.homeScreen = t0; }, EditTestForm_build_closure: function EditTestForm_build_closure() { }, EditTestForm_build_closure0: function EditTestForm_build_closure0(t0) { this.$this = t0; }, EditTestForm_build__closure: function EditTestForm_build__closure(t0) { this.testProvider = t0; }, EditTestForm_build__closure0: function EditTestForm_build__closure0(t0) { this.testProvider = t0; }, EditTestForm_build__closure1: function EditTestForm_build__closure1(t0) { this.testProvider = t0; }, EditTestForm_build__closure2: function EditTestForm_build__closure2(t0) { this.testProvider = t0; }, EditTestForm_build__closure3: function EditTestForm_build__closure3(t0) { this.testProvider = t0; }, EditTestForm_build__closure4: function EditTestForm_build__closure4(t0) { this.testProvider = t0; }, EditTestForm_build__closure5: function EditTestForm_build__closure5(t0) { this.testProvider = t0; }, EditTestForm_build__closure6: function EditTestForm_build__closure6(t0) { this.$this = t0; }, NoteForm$(description, isEdit, key, noteId, title) { return new A.NoteForm(title, description, noteId, isEdit, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), key); }, NoteForm: function NoteForm(t0, t1, t2, t3, t4, t5) { var _ = this; _.title = t0; _.description = t1; _.noteId = t2; _.isEdit = t3; _._note_form$_formKey = t4; _.key = t5; }, NoteForm__addNote_closure: function NoteForm__addNote_closure(t0) { this.homeScreen = t0; }, NoteForm_build_closure: function NoteForm_build_closure(t0) { this.$this = t0; }, NoteForm_build_closure0: function NoteForm_build_closure0(t0) { this.$this = t0; }, NoteForm_build__closure: function NoteForm_build__closure(t0, t1) { this.$this = t0; this.context = t1; }, ResourceForm: function ResourceForm(t0) { this.key = t0; }, _ResourceFormState: function _ResourceFormState(t0, t1) { var _ = this; _._resource_form$_formKey = t0; _._resource_form$_title = ""; _.isChecked = false; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ResourceFormState_build_closure: function _ResourceFormState_build_closure(t0) { this.$this = t0; }, _ResourceFormState_build_closure0: function _ResourceFormState_build_closure0(t0) { this.$this = t0; }, _ResourceFormState_build__closure: function _ResourceFormState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, _ResourceFormState_build_closure1: function _ResourceFormState_build_closure1(t0) { this.context = t0; }, ResourceLessonForm: function ResourceLessonForm(t0, t1, t2) { this.resourceSubjectId = t0; this.resourceId = t1; this.key = t2; }, _ResourceLessonFormState: function _ResourceLessonFormState(t0, t1, t2) { var _ = this; _._resource_lesson_form$_formKey = t0; _._resource_lesson_form$_controller = t1; _.___ResourceLessonFormState__dropZoneController = $; _._resource_lesson_form$_title = ""; _.isChecked = false; _._fileName = _._files = ""; _._fileSize = 0; _._sourceLink = _._resource_lesson_form$_source = _._resource_lesson_form$_error = _._fileType = ""; _._isFile = _._isVideo = true; _._isAdding = _._isDocument = _._isAudio = _._isVideoLink = false; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ResourceLessonFormState__onPress_closure: function _ResourceLessonFormState__onPress_closure(t0) { this.$this = t0; }, _ResourceLessonFormState__onPress_closure0: function _ResourceLessonFormState__onPress_closure0(t0) { this.$this = t0; }, _ResourceLessonFormState_build_closure: function _ResourceLessonFormState_build_closure(t0) { this.$this = t0; }, _ResourceLessonFormState_build__closure0: function _ResourceLessonFormState_build__closure0(t0, t1) { this.$this = t0; this.value = t1; }, _ResourceLessonFormState_build_closure0: function _ResourceLessonFormState_build_closure0(t0) { this.context = t0; }, _ResourceLessonFormState_build__closure: function _ResourceLessonFormState_build__closure() { }, _ResourceLessonFormState__buildTabBar_closure: function _ResourceLessonFormState__buildTabBar_closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildTabBar__closure1: function _ResourceLessonFormState__buildTabBar__closure1(t0) { this.$this = t0; }, _ResourceLessonFormState__buildTabBar_closure0: function _ResourceLessonFormState__buildTabBar_closure0(t0) { this.$this = t0; }, _ResourceLessonFormState__buildTabBar__closure0: function _ResourceLessonFormState__buildTabBar__closure0(t0) { this.$this = t0; }, _ResourceLessonFormState__buildTabBar_closure1: function _ResourceLessonFormState__buildTabBar_closure1(t0) { this.$this = t0; }, _ResourceLessonFormState__buildTabBar__closure: function _ResourceLessonFormState__buildTabBar__closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure: function _ResourceLessonFormState__buildForm_closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure0: function _ResourceLessonFormState__buildForm_closure0(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm__closure0: function _ResourceLessonFormState__buildForm__closure0(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure1: function _ResourceLessonFormState__buildForm_closure1(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm__closure: function _ResourceLessonFormState__buildForm__closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure2: function _ResourceLessonFormState__buildForm_closure2(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure3: function _ResourceLessonFormState__buildForm_closure3(t0) { this.$this = t0; }, _ResourceLessonFormState__buildForm_closure4: function _ResourceLessonFormState__buildForm_closure4(t0) { this.$this = t0; }, _ResourceLessonFormState__buildDropZone_closure: function _ResourceLessonFormState__buildDropZone_closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildDropZone__closure: function _ResourceLessonFormState__buildDropZone__closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildDropZone__closure2: function _ResourceLessonFormState__buildDropZone__closure2() { }, _ResourceLessonFormState__buildDropZone__closure1: function _ResourceLessonFormState__buildDropZone__closure1() { }, _ResourceLessonFormState__buildDropZone__closure0: function _ResourceLessonFormState__buildDropZone__closure0(t0) { this.$this = t0; }, _ResourceLessonFormState__buildDropZone___closure: function _ResourceLessonFormState__buildDropZone___closure(t0) { this.$this = t0; }, _ResourceLessonFormState__buildDropZone___closure0: function _ResourceLessonFormState__buildDropZone___closure0(t0, t1) { this.$this = t0; this.ev = t1; }, _ResourceLessonFormState__filePicker_closure: function _ResourceLessonFormState__filePicker_closure(t0) { this.$this = t0; }, _ResourceLessonFormState__filePicker_closure0: function _ResourceLessonFormState__filePicker_closure0(t0, t1) { this.$this = t0; this.result = t1; }, ResourceLessonTextForm: function ResourceLessonTextForm(t0, t1, t2, t3, t4) { var _ = this; _.resourceSubjectId = t0; _.resourceId = t1; _._resource_lesson_form$_formKey = t2; _._resource_lesson_form$_controller = t3; _._resource_lesson_form$_title = ""; _.key = t4; }, ResourceLessonTextForm__onPress_closure: function ResourceLessonTextForm__onPress_closure(t0) { this.homeScreen = t0; }, ResourceLessonTextForm_build_closure: function ResourceLessonTextForm_build_closure(t0) { this.$this = t0; }, ResourceLessonTextForm_build_closure0: function ResourceLessonTextForm_build_closure0() { }, ResourceLessonTextForm_build__closure0: function ResourceLessonTextForm_build__closure0(t0) { this.provider = t0; }, ResourceLessonTextForm_build_closure1: function ResourceLessonTextForm_build_closure1(t0) { this.$this = t0; }, ResourceLessonTextForm_build_closure2: function ResourceLessonTextForm_build_closure2(t0, t1) { this.$this = t0; this.context = t1; }, ResourceLessonTextForm_build__closure: function ResourceLessonTextForm_build__closure(t0) { this.resourceLessonForm = t0; }, TestForm: function TestForm(t0, t1, t2) { this._test_form$_formKey = t0; this._test_form$_controller = t1; this.key = t2; }, TestForm__addTest_closure: function TestForm__addTest_closure(t0) { this.homeScreen = t0; }, TestForm_build_closure: function TestForm_build_closure(t0) { this.context = t0; }, TestForm_build__closure: function TestForm_build__closure() { }, TestForm__buildForm_closure: function TestForm__buildForm_closure() { }, TestForm__buildForm_closure0: function TestForm__buildForm_closure0(t0) { this.$this = t0; }, TestForm__buildForm__closure: function TestForm__buildForm__closure(t0) { this.testProvider = t0; }, TestForm__buildForm__closure0: function TestForm__buildForm__closure0(t0) { this.testProvider = t0; }, TestForm__buildForm__closure1: function TestForm__buildForm__closure1(t0) { this.testProvider = t0; }, TestForm__buildForm__closure2: function TestForm__buildForm__closure2(t0) { this.testProvider = t0; }, TestForm__buildForm__closure3: function TestForm__buildForm__closure3(t0) { this.testProvider = t0; }, TestForm__buildForm__closure4: function TestForm__buildForm__closure4(t0) { this.testProvider = t0; }, TestForm__buildForm__closure5: function TestForm__buildForm__closure5(t0) { this.testProvider = t0; }, TestForm__buildForm__closure6: function TestForm__buildForm__closure6(t0, t1) { this.$this = t0; this.context = t1; }, roundButton(borderSide, buttonColor, height, isLoading, onPressed, style, text, width) { var t2, t3, t4, t5, t6, _null = null, t1 = isLoading ? _null : new A.roundButton_closure(onPressed); if (isLoading) t2 = new A.SizedBox(16, 16, A.CircularProgressIndicator$(B.Color_4294967295, 3, _null), _null); else t2 = A.Text$(text, _null, _null, _null, _null, style == null ? A.TextStyle$(_null, _null, B.Color_4294967295, _null, _null, _null, _null, _null, "Poppins", _null, _null, 14, _null, _null, _null, _null, true, _null, 0.5, _null, _null, _null, _null, _null, _null) : style, B.TextAlign_2, _null, _null); t3 = buttonColor != null ? buttonColor : $.$get$DraclmsTheme_mainColor(); t4 = width != null && height != null ? new A.Size(width, height) : _null; t5 = A.BorderRadius$circular(8); t6 = borderSide != null ? borderSide : _null; return A.ElevatedButton$(false, t2, B.Clip_0, _null, _null, _null, _null, _null, t1, A.ElevatedButton_styleFrom(_null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, t3, _null, new A.RoundedRectangleBorder(t5, B.BorderSide_0CF), t6, _null, _null, _null, _null)); }, actionButton(backgroundColor, elevation, icon, iconColor, iconSize, onTap, padding) { var _null = null; return A.GestureDetector$(_null, A.PhysicalModel$(_null, A.Container$(_null, new A.Padding(new A.EdgeInsets(padding, padding, padding, padding), A.Icon$(icon, iconColor, iconSize), _null), B.Clip_0, _null, _null, new A.BoxDecoration(backgroundColor, _null, _null, _null, _null, _null, B.BoxShape_1), _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, B.Color_0, elevation, B.Color_4278190080, B.BoxShape_0), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.actionButton_closure(onTap), _null, _null, _null, _null, _null, _null, _null); }, roundButton_closure: function roundButton_closure(t0) { this.onPressed = t0; }, actionButton_closure: function actionButton_closure(t0) { this.onTap = t0; }, CheckBox: function CheckBox(t0, t1, t2, t3, t4) { var _ = this; _.isChecked = t0; _.title = t1; _.press = t2; _.textColor = t3; _.key = t4; }, _CheckBoxState: function _CheckBoxState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _CheckBoxState_build_getColor: function _CheckBoxState_build_getColor() { }, _CheckBoxState_build_closure: function _CheckBoxState_build_closure(t0) { this.$this = t0; }, _CheckBoxState_build__closure: function _CheckBoxState_build__closure(t0, t1) { this.$this = t0; this.value = t1; }, CustomTextField$(controller, enabledBorder, fillColor, initialValue, isPassword, isToggle, key, keyboardType, labelText, maxLines, onFieldSubmitted, onSaved, prefixIcon, validator) { return new A.CustomTextField(keyboardType, labelText, initialValue, onSaved, onFieldSubmitted, prefixIcon, controller, validator, isPassword, isToggle, enabledBorder, fillColor, maxLines, key); }, CustomTextField: function CustomTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.keyboardType = t0; _.labelText = t1; _.initialValue = t2; _.onSaved = t3; _.onFieldSubmitted = t4; _.prefixIcon = t5; _.controller = t6; _.validator = t7; _.isPassword = t8; _.isToggle = t9; _.enabledBorder = t10; _.fillColor = t11; _.maxLines = t12; _.key = t13; }, CustomTextField_build_closure: function CustomTextField_build_closure(t0) { this.$this = t0; }, DatePicker: function DatePicker(t0, t1, t2, t3, t4) { var _ = this; _.selectedTime = t0; _.title = t1; _.onTimeSelected = t2; _.newSelectedTime = null; _.startDate = t3; _.key = t4; }, DatePicker_build_closure: function DatePicker_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, DatePicker_build__closure: function DatePicker_build__closure(t0, t1) { this.$this = t0; this.context = t1; }, DatePicker_build___closure: function DatePicker_build___closure(t0, t1) { this.$this = t0; this.value = t1; }, DialogBox: function DialogBox(t0, t1, t2, t3, t4, t5) { var _ = this; _.width = t0; _.height = t1; _.content = t2; _.onPressed = t3; _.buttonLabel = t4; _.key = t5; }, DialogBox_build_closure0: function DialogBox_build_closure0(t0) { this.$this = t0; }, DialogBox_build_closure: function DialogBox_build_closure(t0) { this.context = t0; }, MultilineEditableTextField: function MultilineEditableTextField(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.initialText = t1; _.hintText = t2; _.editorHeight = t3; _.key = t4; }, SearchFilterTextField: function SearchFilterTextField(t0, t1, t2) { this.onSaved = t0; this.onPressed = t1; this.key = t2; }, ListTileButton: function ListTileButton(t0, t1, t2, t3, t4) { var _ = this; _.title = t0; _.subtitle = t1; _.trailingButton = t2; _.isButton = t3; _.key = t4; }, CustomPopMenu$(list, onSelect) { return new A.CustomPopMenu(onSelect, list, null); }, CustomPopMenu: function CustomPopMenu(t0, t1, t2) { this.onSelect = t0; this.list = t1; this.key = t2; }, CustomPopMenu_build_closure: function CustomPopMenu_build_closure(t0) { this.$this = t0; }, CustomPopMenu_build_closure0: function CustomPopMenu_build_closure0(t0) { this.$this = t0; }, SplashContainer: function SplashContainer(t0) { this.key = t0; }, StudentListContainer$(_getSelectedStudentName, isDialog, selectedIndex, studentName) { return new A.StudentListContainer(_getSelectedStudentName, studentName, true, selectedIndex, A.ScrollController$(null, 0, true), null); }, StudentListContainer: function StudentListContainer(t0, t1, t2, t3, t4, t5) { var _ = this; _._getSelectedStudentName = t0; _.studentName = t1; _.isDialog = t2; _.selectedIndex = t3; _._student_list_container$_scrollController = t4; _.key = t5; }, StudentListContainer_build_closure: function StudentListContainer_build_closure(t0) { this.$this = t0; }, StudentListContainer_build__closure: function StudentListContainer_build__closure(t0, t1) { this.$this = t0; this.index = t1; }, StudentSubmittedContainer: function StudentSubmittedContainer(t0, t1, t2) { this._student_submitted_container$_studentName = t0; this.content = t1; this.key = t2; }, StudentSubmittedContainer_build_closure: function StudentSubmittedContainer_build_closure() { }, AES: function AES(t0, t1, t2) { this.key = t0; this._cipher = t1; this._streamCipher = t2; }, AESMode: function AESMode(t0, t1) { this.index = t0; this._core$_name = t1; }, Encrypted: function Encrypted(t0) { this._encrypt$_bytes = t0; }, IV: function IV(t0) { this._encrypt$_bytes = t0; }, Key: function Key(t0) { this._encrypt$_bytes = t0; }, Encrypter: function Encrypter(t0) { this.algo = t0; }, EncryptedSharedPreferences: function EncryptedSharedPreferences() { }, 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: allowedExtensions.toString; return B.JSArray_methods.fold$2(allowedExtensions, "", new A.FilePickerWeb__fileType_closure()); } }, FilePickerWeb: function FilePickerWeb(t0) { this.__FilePickerWeb__target = $; this._instanceToken = t0; }, 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() { if ($.$get$Platform_isAndroid0() || $.$get$Platform_isIOS0()) return new A.FilePickerIO($.$get$FilePicker__token()); else if ($.$get$Platform_isLinux()) return new A.FilePickerLinux($.$get$FilePicker__token()); else if ($.$get$Platform_isWindows()) return A.filePickerWithFFI(); else if ($.$get$Platform_isMacOS()) return new A.FilePickerMacOS($.$get$FilePicker__token()); else throw A.wrapException(A.UnimplementedError$('The current platform "' + $.$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(t0) { this._instanceToken = t0; }, FilePickerLinux: function FilePickerLinux(t0) { this._instanceToken = t0; }, FilePickerMacOS: function FilePickerMacOS(t0) { this._instanceToken = t0; }, 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; }, 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, withData), t2), true, t2._eval$1("Iterable.E")), false, 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._io$_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; }, ColorIndicator: function ColorIndicator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.onSelect = t0; _.isSelected = t1; _.selectedRequestsFocus = t2; _.elevation = t3; _.selectedIcon = t4; _.color = t5; _.width = t6; _.height = t7; _.borderRadius = t8; _.hasBorder = t9; _.borderColor = t10; _.key = t11; }, _ColorIndicatorState: function _ColorIndicatorState(t0) { var _ = this; _.___ColorIndicatorState__focusNode = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ColorIndicatorState_build_closure: function _ColorIndicatorState_build_closure(t0) { this.$this = t0; }, ColorPicker: function ColorPicker(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.color = t0; _.onColorChanged = t1; _.pickersEnabled = t2; _.enableOpacity = t3; _.actionButtons = t4; _.copyPasteBehavior = t5; _.width = t6; _.height = t7; _.spacing = t8; _.runSpacing = t9; _.borderRadius = t10; _.wheelDiameter = t11; _.title = t12; _.showColorCode = t13; _.colorCodeHasColor = t14; _.key = t15; }, _ColorPickerState: function _ColorPickerState(t0) { var _ = this; _.___ColorPickerState__activeColorSwatchList = _.___ColorPickerState__opacityFocusNode = _.___ColorPickerState__pickerFocusNode = _.___ColorPickerState__focusNode = $; _._activeSwatch = null; _.___ColorPickerState__opacity = _.___ColorPickerState__selectedColor = _.___ColorPickerState__activePicker = $; _._selectedShouldFocus = true; _._editCodeFocused = false; _._wheelShouldUpdate = _._editShouldUpdate = true; _._usePickerSelector = _._onWheel = _._wheelShouldFocus = false; _.___ColorPickerState__pickerLabels = _.___ColorPickerState__typeToSwatchMap = _.___ColorPickerState__recentColors = _.___ColorPickerState__pickers = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ColorPickerState__findPicker_closure: function _ColorPickerState__findPicker_closure() { }, _ColorPickerState_build_closure8: function _ColorPickerState_build_closure8(t0) { this.$this = t0; }, _ColorPickerState_build__closure: function _ColorPickerState_build__closure(t0) { this.$this = t0; }, _ColorPickerState_build__closure0: function _ColorPickerState_build__closure0(t0) { this.$this = t0; }, _ColorPickerState_build___closure: function _ColorPickerState_build___closure(t0) { this.$this = t0; }, _ColorPickerState_build_closure0: function _ColorPickerState_build_closure0(t0) { this.$this = t0; }, _ColorPickerState_build_closure: function _ColorPickerState_build_closure(t0) { this.$this = t0; }, _ColorPickerState_build__closure6: function _ColorPickerState_build__closure6(t0, t1) { this.$this = t0; this.value = t1; }, _ColorPickerState_build_closure2: function _ColorPickerState_build_closure2(t0) { this.$this = t0; }, _ColorPickerState_build_closure1: function _ColorPickerState_build_closure1(t0) { this.$this = t0; }, _ColorPickerState_build__closure5: function _ColorPickerState_build__closure5(t0, t1) { this.$this = t0; this.color = t1; }, _ColorPickerState_build_closure3: function _ColorPickerState_build_closure3(t0) { this.$this = t0; }, _ColorPickerState_build_closure4: function _ColorPickerState_build_closure4(t0) { this.$this = t0; }, _ColorPickerState_build__closure4: function _ColorPickerState_build__closure4(t0, t1) { this.$this = t0; this.value = t1; }, _ColorPickerState_build_closure5: function _ColorPickerState_build_closure5(t0) { this.$this = t0; }, _ColorPickerState_build__closure3: function _ColorPickerState_build__closure3(t0) { this.$this = t0; }, _ColorPickerState_build_closure6: function _ColorPickerState_build_closure6(t0) { this.$this = t0; }, _ColorPickerState_build__closure2: function _ColorPickerState_build__closure2(t0, t1) { this.$this = t0; this.color = t1; }, _ColorPickerState_build_closure7: function _ColorPickerState_build_closure7(t0) { this.$this = t0; }, _ColorPickerState_build__closure1: function _ColorPickerState_build__closure1(t0, t1) { this.$this = t0; this.editInFocus = t1; }, _ColorPickerState__onSelectColor_closure: function _ColorPickerState__onSelectColor_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.keepOpacity = t1; _.color = t2; _.findPicker = t3; }, _ColorPickerState__getClipboard_closure: function _ColorPickerState__getClipboard_closure(t0, t1) { this.$this = t0; this.clipColor = t1; }, ColorTools_isPrimaryColor(color) { var t1, _i, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 19; ++_i) for (t2 = B.List_qg2[_i]._swatch, _i0 = 0; _i0 < 11; ++_i0) { i = B.List_yLM[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return true; } return false; }, ColorTools_swatchContainsColor(swatch, color) { var t1, _i, i, t2; for (t1 = swatch._swatch, _i = 0; _i < 11; ++_i) { i = B.List_yLM[_i]; if (!J.$eq$(t1.$index(0, i), color)) { t2 = t1.$index(0, i); t2 = t2 == null ? null : t2.get$value(t2); t2 = t2 === color.get$value(color); } else t2 = true; if (t2) return true; } return false; }, ColorTools_primarySwatch(color) { var t1, _i, swatch, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 19; ++_i) { swatch = B.List_qg2[_i]; for (t2 = swatch._swatch, _i0 = 0; _i0 < 11; ++_i0) { i = B.List_yLM[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return swatch; } } return A.ColorTools_createPrimarySwatch(color); }, ColorTools_createPrimarySwatch(color) { var t2, t3, t4, _i, strength, ds, t5, t6, t7, swatch = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.Color), t1 = color.value, r = t1 >>> 16 & 255, g = t1 >>> 8 & 255, b = t1 & 255; for (t2 = 255 - b, t3 = 255 - g, t4 = 255 - r, _i = 0; _i < 10; ++_i) { strength = B.List_JNA[_i]; ds = 0.5 - strength / 1000; t5 = ds < 0; t6 = B.JSNumber_methods.round$0((t5 ? r : t4) * ds); t7 = B.JSNumber_methods.round$0((t5 ? g : t3) * ds); swatch.$indexSet(0, strength, A.Color$fromRGBO(r + t6, g + t7, b + B.JSNumber_methods.round$0((t5 ? b : t2) * ds), 1)); } return new A.MaterialColor(swatch, t1); }, ColorTools_isAccentColor(color) { var t1, _i, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 16; ++_i) for (t2 = B.List_MHo[_i]._swatch, _i0 = 0; _i0 < 4; ++_i0) { i = B.List_100_200_400_700[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return true; } return false; }, ColorTools_accentSwatch(color) { var t1, _i, swatch, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 16; ++_i) { swatch = B.List_MHo[_i]; for (t2 = swatch._swatch, _i0 = 0; _i0 < 4; ++_i0) { i = B.List_100_200_400_700[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return swatch; } } return A.ColorTools_createAccentSwatch(color); }, ColorTools_createAccentSwatch(color) { var t2, t3, t4, _i, strength, ds, t5, t6, t7, swatch = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.Color), t1 = color.value, r = t1 >>> 16 & 255, g = t1 >>> 8 & 255, b = t1 & 255; for (t2 = 255 - b, t3 = 255 - g, t4 = 255 - r, _i = 0; _i < 4; ++_i) { strength = B.List_100_200_400_700[_i]; ds = 0.2 - strength / 1000; t5 = ds < 0; t6 = B.JSNumber_methods.round$0((t5 ? r : t4) * ds); t7 = B.JSNumber_methods.round$0((t5 ? g : t3) * ds); swatch.$indexSet(0, strength, A.Color$fromRGBO(r + t6, g + t7, b + B.JSNumber_methods.round$0((t5 ? b : t2) * ds), 1)); } return new A.MaterialAccentColor(swatch, t1); }, ColorTools_isBlackAndWhiteColor(color) { var t1, _i, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 2; ++_i) for (t2 = B.List_ckJ[_i]._swatch, _i0 = 0; _i0 < 10; ++_i0) { i = B.List_JNA[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return true; } return false; }, ColorTools_blackAndWhiteSwatch(color) { var t1, _i, swatch, t2, _i0, i, t3; for (t1 = color.value, _i = 0; _i < 2; ++_i) { swatch = B.List_ckJ[_i]; for (t2 = swatch._swatch, _i0 = 0; _i0 < 10; ++_i0) { i = B.List_JNA[_i0]; if (!J.$eq$(t2.$index(0, i), color)) { t3 = t2.$index(0, i); t3 = (t3 == null ? null : t3.get$value(t3)) === t1; } else t3 = true; if (t3) return swatch; } } return A.ColorTools_createPrimarySwatch(color); }, ColorTools_customSwatch(color, customSwatch) { var t1, t2, t3, t4, _i, i, t5; for (t1 = J.get$iterator$ax(customSwatch.get$keys(customSwatch)), t2 = color.value; t1.moveNext$0();) { t3 = t1.get$current(t1); for (t4 = t3._swatch, _i = 0; _i < 10; ++_i) { i = B.List_JNA[_i]; if (!J.$eq$(t4.$index(0, i), color)) { t5 = t4.$index(0, i); t5 = (t5 == null ? null : t5.get$value(t5)) === t2; } else t5 = true; if (t5) return t3; } } return A.ColorTools_createPrimarySwatch(color); }, _ColorName: function _ColorName(t0, t1) { this._color_tools$_color = t0; this._color_tools$_name = t1; }, _Wheel_vectorToHue(vector) { return B.JSNumber_methods.$mod(Math.atan2(vector._dy, vector._dx) * 180 / 3.141592653589793 + 360, 360); }, ColorWheelPicker: function ColorWheelPicker(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.color = t0; _.onChanged = t1; _.onChangeStart = t2; _.onChangeEnd = t3; _.onWheel = t4; _.wheelWidth = t5; _.hasBorder = t6; _.borderColor = t7; _.shouldUpdate = t8; _.shouldRequestsFocus = t9; _.key = t10; }, _ColorWheelPickerState: function _ColorWheelPickerState(t0, t1) { var _ = this; _.renderBoxKey = t0; _.isSquare = false; _.___ColorWheelPickerState__focusNode = _.___ColorWheelPickerState_colorValue = _.___ColorWheelPickerState_colorSaturation = _.___ColorWheelPickerState_colorHue = $; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ColorWheelPickerState_build_closure2: function _ColorWheelPickerState_build_closure2(t0) { this.$this = t0; }, _ColorWheelPickerState_build_closure4: function _ColorWheelPickerState_build_closure4(t0) { this.$this = t0; }, _ColorWheelPickerState_build_closure0: function _ColorWheelPickerState_build_closure0(t0) { this.$this = t0; }, _ColorWheelPickerState_build_closure3: function _ColorWheelPickerState_build_closure3(t0) { this.$this = t0; }, _ColorWheelPickerState_build_closure: function _ColorWheelPickerState_build_closure(t0) { this.$this = t0; }, _ColorWheelPickerState_build_closure1: function _ColorWheelPickerState_build_closure1(t0) { this.$this = t0; }, _ShadePainter: function _ShadePainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.colorHue = t0; _.colorSaturation = t1; _.colorValue = t2; _.hasBorder = t3; _.borderColor = t4; _.wheelWidth = t5; _._repaint = t6; }, _WheelPainter: function _WheelPainter(t0, t1, t2, t3, t4) { var _ = this; _.hasBorder = t0; _.borderColor = t1; _.ticks = t2; _.wheelWidth = t3; _._repaint = t4; }, _ShadeThumbPainter: function _ShadeThumbPainter(t0, t1, t2) { this.colorSaturation = t0; this.colorValue = t1; this._repaint = t2; }, _WheelThumbPainter: function _WheelThumbPainter(t0, t1, t2) { this.colorHue = t0; this.wheelWidth = t1; this._repaint = t2; }, ColorPickerActionButtonType: function ColorPickerActionButtonType(t0, t1) { this.index = t0; this._core$_name = t1; }, ColorPickerActionButtons: function ColorPickerActionButtons() { }, _ColorPickerActionButtons_Object_Diagnosticable: function _ColorPickerActionButtons_Object_Diagnosticable() { }, ColorPickerCopyFormat: function ColorPickerCopyFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, ColorPickerCopyPasteBehavior: function ColorPickerCopyPasteBehavior(t0) { this.parseShortHexCode = t0; }, _ColorPickerCopyPasteBehavior_Object_Diagnosticable: function _ColorPickerCopyPasteBehavior_Object_Diagnosticable() { }, ColorPickerType: function ColorPickerType(t0, t1) { this.index = t0; this._core$_name = t1; }, ContextPopupMenu: function ContextPopupMenu(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.items = t0; _.onSelected = t1; _.onOpen = t2; _.child = t3; _.useLongPress = t4; _.useSecondaryTapDown = t5; _.useSecondaryOnDesktopLongOnDevice = t6; _.useSecondaryOnDesktopLongOnDeviceAndWeb = t7; _.key = t8; _.$ti = t9; }, _ContextPopupMenuState: function _ContextPopupMenuState(t0, t1, t2) { var _ = this; _._context_popup_menu$_downPosition = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; _.$ti = t2; }, DryIntrinsicWidth: function DryIntrinsicWidth(t0, t1) { this.child = t0; this.key = t1; }, _RenderDryIntrinsicWidth: function _RenderDryIntrinsicWidth(t0, t1, t2, t3) { var _ = this; _._stepWidth = t0; _._stepHeight = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, IfWrapper: function IfWrapper(t0, t1, t2, t3) { var _ = this; _.condition = t0; _.builder = t1; _.child = t2; _.key = t3; }, ColorCodeField: function ColorCodeField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.color = t0; _.readOnly = t1; _.onColorChanged = t2; _.onEditFocused = t3; _.textStyle = t4; _.prefixStyle = t5; _.colorCodeHasColor = t6; _.copyPasteBehavior = t7; _.enableTooltips = t8; _.shouldUpdate = t9; _.key = t10; }, _ColorCodeFieldState: function _ColorCodeFieldState(t0) { var _ = this; _.___ColorCodeFieldState_color = _.___ColorCodeFieldState_textFocusNode = _.___ColorCodeFieldState_textController = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ColorCodeFieldState_build_closure: function _ColorCodeFieldState_build_closure() { }, _ColorCodeFieldState_build_closure0: function _ColorCodeFieldState_build_closure0(t0) { this.$this = t0; }, _ColorCodeFieldState_build__closure0: function _ColorCodeFieldState_build__closure0(t0, t1) { this.$this = t0; this.textColor = t1; }, _ColorCodeFieldState_build_closure1: function _ColorCodeFieldState_build_closure1(t0) { this.$this = t0; }, _ColorCodeFieldState_build__closure: function _ColorCodeFieldState_build__closure(t0) { this.$this = t0; }, _UpperCaseTextFormatter: function _UpperCaseTextFormatter() { }, ColorPickerToolbar: function ColorPickerToolbar(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.title = t0; _.onCopy = t1; _.onPaste = t2; _.onOk = t3; _.onClose = t4; _.toolIcons = t5; _.copyPasteBehavior = t6; _.enableTooltips = t7; _.key = t8; }, CopyPasteCommands: function CopyPasteCommands(t0, t1) { this.index = t0; this._core$_name = t1; }, ContextCopyPasteMenu: function ContextCopyPasteMenu(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.useLongPress = t0; _.useSecondaryTapDown = t1; _.useSecondaryOnDesktopLongOnDevice = t2; _.useSecondaryOnDesktopLongOnDeviceAndWeb = t3; _.onSelected = t4; _.onOpen = t5; _.child = t6; _.key = t7; }, MainColors: function MainColors(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.spacing = t0; _.runSpacing = t1; _.columnSpacing = t2; _.activeColorSwatchList = t3; _.selectedColor = t4; _.onSelectColor = t5; _.includeIndex850 = t6; _.width = t7; _.height = t8; _.borderRadius = t9; _.hasBorder = t10; _.borderColor = t11; _.elevation = t12; _.selectedColorIcon = t13; _.selectedRequestsFocus = t14; _.key = t15; }, MainColors_build_closure: function MainColors_build_closure(t0, t1) { this.$this = t0; this.colorSwatch = t1; }, SelectPicker: function SelectPicker(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.pickers = t0; _.pickerLabels = t1; _.picker = t2; _.onPickerChanged = t3; _.thumbColor = t4; _.textStyle = t5; _.columnSpacing = t6; _.key = t7; }, SelectPicker_build_closure: function SelectPicker_build_closure(t0) { this.$this = t0; }, ShadeColors: function ShadeColors(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.spacing = t0; _.runSpacing = t1; _.columnSpacing = t2; _.activeSwatch = t3; _.selectedColor = t4; _.onSelectColor = t5; _.includeIndex850 = t6; _.width = t7; _.height = t8; _.borderRadius = t9; _.hasBorder = t10; _.borderColor = t11; _.elevation = t12; _.selectedColorIcon = t13; _.selectedRequestsFocus = t14; _.key = t15; }, ShadeColors_build_closure: function ShadeColors_build_closure(t0, t1) { this.$this = t0; this.color = t1; }, 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 = $; _._lastElapsedDuration = null; _._direction = t6; _.__AnimationController__status = $; _._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() { }, 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._status = B.AnimationStatus_0; t1._animations$_value = 0; } return t1; }, CurvedAnimation$(curve, $parent, reverseCurve) { var t1 = new A.CurvedAnimation($parent, curve, reverseCurve); t1._updateCurveDirection$1($parent.get$status($parent)); $parent.addStatusListener$1(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._mode = B._TrainHoppingMode_1; else t1._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() { }, AnimationWithParentMixin: function AnimationWithParentMixin() { }, ProxyAnimation: function ProxyAnimation(t0, t1, t2) { var _ = this; _._animations$_parent = _._animations$_value = _._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; _._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; }, FlippedCurve: function FlippedCurve(t0) { this.curve = t0; }, _DecelerateCurve: function _DecelerateCurve() { }, 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>")); }, ColorTween$(begin, end) { return new A.ColorTween(begin, end); }, 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; }, RectTween: function RectTween(t0, t1) { this.begin = t0; this.end = t1; }, IntTween: function IntTween(t0, t1) { this.begin = t0; this.end = t1; }, CurveTween: function CurveTween(t0) { this.curve = t0; }, __AnimatedEvaluation_Animation_AnimationWithParentMixin: function __AnimatedEvaluation_Animation_AnimationWithParentMixin() { }, 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() { }, _CupertinoDesktopTextSelectionControls: function _CupertinoDesktopTextSelectionControls() { }, _isInAccessibilityMode(context) { var data = A.MediaQuery_maybeOf(context); return data != null && data.textScaleFactor > 1.4; }, CupertinoActionSheet$(actions) { return new A.CupertinoActionSheet(actions, null); }, CupertinoActionSheetAction$(child, onPressed) { return new A.CupertinoActionSheetAction(onPressed, child, null); }, CupertinoActionSheet: function CupertinoActionSheet(t0, t1) { this.actions = t0; this.key = t1; }, CupertinoActionSheetAction: function CupertinoActionSheetAction(t0, t1, t2) { this.onPressed = t0; this.child = t1; this.key = t2; }, _CupertinoDialogRenderWidget: function _CupertinoDialogRenderWidget(t0, t1, t2, t3, t4) { var _ = this; _.contentSection = t0; _.actionsSection = t1; _.dividerColor = t2; _.isActionSheet = t3; _.key = t4; }, _CupertinoDialogRenderElement: function _CupertinoDialogRenderElement(t0, t1, t2, t3, t4) { var _ = this; _.allowMoveRenderObjectChild = t0; _._renderObject = _._actionsElement = _._contentElement = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _RenderCupertinoDialog: function _RenderCupertinoDialog(t0, t1, t2, t3, t4) { var _ = this; _._actionsSection = _._contentSection = null; _._isInAccessibilityMode = t0; _._isActionSheet = t1; _._dividerThickness = t2; _._dividerPaint = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderCupertinoDialog_hitTestChildren_closure: function _RenderCupertinoDialog_hitTestChildren_closure(t0, t1, t2) { this.$this = t0; this.position = t1; this.contentSectionParentData = t2; }, _RenderCupertinoDialog_hitTestChildren_closure0: function _RenderCupertinoDialog_hitTestChildren_closure0(t0, t1, t2) { this.$this = t0; this.position = t1; this.actionsSectionParentData = t2; }, _AlertDialogSizes: function _AlertDialogSizes(t0, t1, t2) { this.size = t0; this.contentHeight = t1; this.dividerThickness = t2; }, _AlertDialogSections: function _AlertDialogSections(t0, t1) { this.index = t0; this._core$_name = t1; }, _CupertinoAlertActionSection: function _CupertinoAlertActionSection(t0, t1, t2, t3, t4) { var _ = this; _.children = t0; _.scrollController = t1; _.hasCancelButton = t2; _.isActionSheet = t3; _.key = t4; }, _CupertinoAlertActionSectionState: function _CupertinoAlertActionSectionState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _PressableActionButton: function _PressableActionButton(t0, t1) { this.child = t0; this.key = t1; }, _PressableActionButtonState: function _PressableActionButtonState(t0) { var _ = this; _._isPressed = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PressableActionButtonState_build_closure0: function _PressableActionButtonState_build_closure0(t0) { this.$this = t0; }, _PressableActionButtonState_build__closure0: function _PressableActionButtonState_build__closure0(t0) { this.$this = t0; }, _PressableActionButtonState_build_closure1: function _PressableActionButtonState_build_closure1(t0) { this.$this = t0; }, _PressableActionButtonState_build__closure: function _PressableActionButtonState_build__closure(t0) { this.$this = t0; }, _PressableActionButtonState_build_closure: function _PressableActionButtonState_build_closure(t0) { this.$this = t0; }, _PressableActionButtonState_build__closure1: function _PressableActionButtonState_build__closure1(t0) { this.$this = t0; }, _ActionButtonParentDataWidget: function _ActionButtonParentDataWidget(t0, t1, t2) { this.isPressed = t0; this.child = t1; this.key = t2; }, _ActionButtonParentData: function _ActionButtonParentData(t0, t1, t2) { var _ = this; _.isPressed = false; _.id = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, _CupertinoDialogActionsRenderWidget: function _CupertinoDialogActionsRenderWidget(t0, t1, t2, t3, t4) { var _ = this; _._dividerThickness = t0; _._hasCancelButton = t1; _._isActionSheet = t2; _.children = t3; _.key = t4; }, _RenderCupertinoDialogActions: function _RenderCupertinoDialogActions(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._dialogWidth = t0; _._dividerThickness = t1; _._hasCancelButton = t2; _._buttonBackgroundPaint = t3; _._pressedButtonBackgroundPaint = t4; _._dividerPaint = t5; _._isActionSheet = t6; _.ContainerRenderObjectMixin__childCount = t7; _.ContainerRenderObjectMixin__firstChild = t8; _.ContainerRenderObjectMixin__lastChild = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, __RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin: function __RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin() { }, __RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, CupertinoIconThemeData: function CupertinoIconThemeData(t0, t1, t2) { this.color = t0; this._opacity = t1; this.size = t2; }, _CupertinoIconThemeData_IconThemeData_Diagnosticable: function _CupertinoIconThemeData_IconThemeData_Diagnosticable() { }, CupertinoUserInterfaceLevel$(child, data) { return new A.CupertinoUserInterfaceLevel(data, child, null); }, CupertinoUserInterfaceLevel_maybeOf(context) { var query = context.dependOnInheritedWidgetOfExactType$1$0(type$.CupertinoUserInterfaceLevel); if (query != null) return query._interface_level$_data; return null; }, CupertinoUserInterfaceLevelData: function CupertinoUserInterfaceLevelData(t0, t1) { this.index = t0; this._core$_name = t1; }, CupertinoUserInterfaceLevel: function CupertinoUserInterfaceLevel(t0, t1, t2) { this._interface_level$_data = t0; this.child = t1; this.key = t2; }, _CupertinoLocalizationsDelegate: function _CupertinoLocalizationsDelegate() { }, DefaultCupertinoLocalizations: function DefaultCupertinoLocalizations() { }, 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) return false; if (route.fullscreenDialog) return false; t1 = route._animationProxy; if (t1.get$status(t1) !== B.AnimationStatus_3) return false; t1 = route._secondaryAnimationProxy; if (t1.get$status(t1) !== 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 t2, t3, t4, t5, t6, t7, _null = null, t1 = route._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value; if (route.fullscreenDialog) { t2 = A.CurvedAnimation$(B.Cubic_izR, animation, new A.FlippedCurve(B.Cubic_izR)); t3 = $.$get$_kBottomUpTween(); t4 = type$.Animation_double; t4._as(t2); t1 = t1 ? secondaryAnimation : A.CurvedAnimation$(B.Cubic_izR, secondaryAnimation, B.Cubic_OcD); t5 = $.$get$_kMiddleLeftTween(); return new A.CupertinoFullscreenDialogTransition(new A._AnimatedEvaluation(t2, t3, t3.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._AnimatedEvaluation(t4._as(t1), t5, t5.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), child, _null); } else { t2 = t1 ? animation : A.CurvedAnimation$(B.Cubic_izR, animation, B.Cubic_OcD); 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 t2, t3, t4, i, t5, t6, t1 = a == null; if (t1 && b == null) return null; if (t1) { t1 = b._colors; if (t1 == null) t1 = b; else { t2 = 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._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); for (t2 = b._colors, t3 = a._colors, t4 = t3 == null, i = 0; i < t2.length; ++i) { t5 = t4 ? null : t3[i]; t6 = t2[i]; t5 = A.Color_lerp(t5, t6, t); t5.toString; t1.push(t5); } return new A._CupertinoEdgeShadowDecoration(t1); }, showCupertinoModalPopup(builder, context, semanticsDismissible, useRootNavigator, $T) { var _null = null, t1 = A.Navigator_of(context, true), t2 = B.CupertinoDynamicColor_6pl.resolveFrom$1(context), t3 = A._setArrayType([], type$.JSArray_of_Future_bool_Function), t4 = $.Zone__current, t5 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation), t6 = A._setArrayType([], type$.JSArray_OverlayEntry), t7 = A.List_List$filled(0, _null, false, type$.nullable_void_Function), t8 = $.Zone__current; t2 = new A.CupertinoModalPopupRoute(builder, t2, _null, t3, new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, new A._AsyncCompleter(new A._Future(t4, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t5, t6, B.RouteSettings_null_null, new A.ValueNotifier(_null, t7, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t8, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), $T._eval$1("CupertinoModalPopupRoute<0>")); t2._semanticsDismissible = t2._barrierDismissible = true; return t1.push$1(t2); }, 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; }, CupertinoFullscreenDialogTransition: function CupertinoFullscreenDialogTransition(t0, t1, t2, t3) { var _ = this; _._positionAnimation = t0; _._secondaryPositionAnimation = t1; _.child = t2; _.key = t3; }, _CupertinoBackGestureDetector: function _CupertinoBackGestureDetector(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.enabledCallback = t1; _.onStartPopGesture = t2; _.key = t3; _.$ti = t4; }, _CupertinoBackGestureDetectorState: function _CupertinoBackGestureDetectorState(t0, t1) { var _ = this; _._backGestureController = null; _.___CupertinoBackGestureDetectorState__recognizer = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _CupertinoBackGestureController: function _CupertinoBackGestureController(t0, t1, t2) { this.controller = t0; this.navigator = t1; this.$ti = t2; }, _CupertinoBackGestureController_dragEnd_closure: function _CupertinoBackGestureController_dragEnd_closure(t0, t1) { this.$this = t0; this.animationStatusCallback = t1; }, _CupertinoEdgeShadowDecoration: function _CupertinoEdgeShadowDecoration(t0) { this._colors = t0; }, _CupertinoEdgeShadowDecoration_lerp_closure: function _CupertinoEdgeShadowDecoration_lerp_closure(t0) { this.t = t0; }, _CupertinoEdgeShadowDecoration_lerp_closure0: function _CupertinoEdgeShadowDecoration_lerp_closure0(t0) { this.t = t0; }, _CupertinoEdgeShadowPainter: function _CupertinoEdgeShadowPainter(t0, t1) { this._route$_decoration = t0; this.onChanged = t1; }, CupertinoModalPopupRoute: function CupertinoModalPopupRoute(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.builder = t0; _._semanticsDismissible = _._barrierDismissible = null; _.barrierColor = t1; _._route$_animation = null; _.__CupertinoModalPopupRoute__offsetTween = $; _.filter = t2; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t3; _._scopeKey = t4; _._subtreeKey = t5; _._storageBucket = t6; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t7; _._transitionCompleter = t8; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t9; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t10; _._navigator$_navigator = null; _._settings = t11; _._restorationScopeId = t12; _._popCompleter = t13; _.$ti = t14; }, CupertinoScrollbar$(child, controller, isAlwaysShown, notificationPredicate, radius, radiusWhileDragging, scrollbarOrientation, thickness, thicknessWhileDragging) { return new A.CupertinoScrollbar(thicknessWhileDragging, radiusWhileDragging, child, controller, isAlwaysShown, radius, thickness, B.Duration_250000, B.Duration_1200000, B.Duration_100000, A.scroll_notification__defaultScrollNotificationPredicate$closure(), null, scrollbarOrientation, null); }, CupertinoScrollbar: function CupertinoScrollbar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.thicknessWhileDragging = t0; _.radiusWhileDragging = t1; _.child = t2; _.controller = t3; _.isAlwaysShown = t4; _.radius = t5; _.thickness = t6; _.fadeDuration = t7; _.timeToFade = t8; _.pressDuration = t9; _.notificationPredicate = t10; _.interactive = t11; _.scrollbarOrientation = t12; _.key = t13; }, _CupertinoScrollbarState: function _CupertinoScrollbarState(t0, t1, t2) { var _ = this; _.___CupertinoScrollbarState__thicknessAnimationController = $; _._pressStartAxisPosition = 0; _._fadeoutTimer = _._currentController = _._dragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation = _.__RawScrollbarState__fadeoutAnimationController = $; _._scrollbarPainterKey = t0; _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter = $; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CupertinoScrollbarState_initState_closure: function _CupertinoScrollbarState_initState_closure(t0) { this.$this = t0; }, _CupertinoScrollbarState_handleThumbPress_closure: function _CupertinoScrollbarState_handleThumbPress_closure() { }, _Segment: function _Segment(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.pressed = t1; _.highlighted = t2; _.isDragging = t3; _.key = t4; _.$ti = t5; }, _SegmentState: function _SegmentState(t0, t1, t2) { var _ = this; _.___SegmentState_highlightPressScaleAnimation = _.___SegmentState_highlightPressScaleController = $; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; _.$ti = t2; }, _SegmentSeparator: function _SegmentSeparator(t0, t1) { this.highlighted = t0; this.key = t1; }, _SegmentSeparatorState: function _SegmentSeparatorState(t0, t1) { var _ = this; _.___SegmentSeparatorState_separatorOpacityController = $; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _SegmentSeparatorState_build_closure: function _SegmentSeparatorState_build_closure(t0) { this.$this = t0; }, CupertinoSlidingSegmentedControl: function CupertinoSlidingSegmentedControl(t0, t1, t2, t3, t4, t5) { var _ = this; _.children = t0; _.groupValue = t1; _.onValueChanged = t2; _.thumbColor = t3; _.key = t4; _.$ti = t5; }, _SegmentedControlState: function _SegmentedControlState(t0, t1, t2, t3, t4, t5) { var _ = this; _.___SegmentedControlState_thumbController = $; _.thumbAnimatable = null; _.___SegmentedControlState_thumbScaleAnimation = _.___SegmentedControlState_thumbScaleController = $; _.tap = t0; _.drag = t1; _.longPress = t2; _.pressed = _.highlighted = _._startedOnSelectedSegment = null; _.TickerProviderStateMixin__tickers = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; _.$ti = t5; }, _SegmentedControlState_initState_closure: function _SegmentedControlState_initState_closure() { }, _SegmentedControlState_onHighlightChangedByGesture_closure: function _SegmentedControlState_onHighlightChangedByGesture_closure(t0, t1) { this.$this = t0; this.newValue = t1; }, _SegmentedControlState_onPressedChangedByGesture_closure: function _SegmentedControlState_onPressedChangedByGesture_closure(t0, t1) { this.$this = t0; this.newValue = t1; }, _SegmentedControlState_build_closure: function _SegmentedControlState_build_closure(t0, t1) { this.$this = t0; this.entry = t1; }, _SegmentedControlState_build_closure0: function _SegmentedControlState_build_closure0(t0, t1) { this._box_0 = t0; this.$this = t1; }, _SegmentedControlRenderWidget: function _SegmentedControlRenderWidget(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.highlightedIndex = t0; _.thumbColor = t1; _.thumbScale = t2; _.state = t3; _.children = t4; _.key = t5; _.$ti = t6; }, _SegmentedControlContainerBoxParentData: function _SegmentedControlContainerBoxParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.offset = t2; }, _RenderSegmentedControl: function _RenderSegmentedControl(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.state = t0; _.currentThumbRect = null; _._thumbScale = t1; _._highlightedIndex = t2; _._sliding_segmented_control$_thumbColor = t3; _.separatorPaint = t4; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; _.$ti = t9; }, _RenderSegmentedControl_hitTestChildren_closure: function _RenderSegmentedControl_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.childParentData = t2; }, __RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin: function __RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin() { }, __RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function __RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, __SegmentSeparatorState_State_TickerProviderStateMixin: function __SegmentSeparatorState_State_TickerProviderStateMixin() { }, __SegmentState_State_TickerProviderStateMixin: function __SegmentState_State_TickerProviderStateMixin() { }, __SegmentedControlState_State_TickerProviderStateMixin: function __SegmentedControlState_State_TickerProviderStateMixin() { }, _TextSelectionHandlePainter0: function _TextSelectionHandlePainter0(t0, t1) { this.color = t0; this._repaint = t1; }, CupertinoTextSelectionControls: function CupertinoTextSelectionControls() { }, _resolveTextStyle(style, context) { return null; }, CupertinoTextThemeData: function CupertinoTextThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._text_theme$_defaults = t0; _._primaryColor = t1; _._text_theme$_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_KQb : t1).resolveFrom$1(context); }, CupertinoThemeData$_rawWithDefaults(brightness, primaryColor, primaryContrastingColor, textTheme, barBackgroundColor, scaffoldBackgroundColor, _defaults) { return new A.CupertinoThemeData(_defaults, brightness, primaryColor, primaryContrastingColor, textTheme, barBackgroundColor, scaffoldBackgroundColor); }, 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) { var _ = this; _._defaults = t0; _.brightness = t1; _.primaryColor = t2; _.primaryContrastingColor = t3; _.textTheme = t4; _.barBackgroundColor = t5; _.scaffoldBackgroundColor = t6; }, CupertinoThemeData_resolveFrom_convertColor: function CupertinoThemeData_resolveFrom_convertColor(t0) { this.context = t0; }, NoDefaultCupertinoThemeData: function NoDefaultCupertinoThemeData(t0, t1, t2, t3, t4, t5) { var _ = this; _.brightness = t0; _.primaryColor = t1; _.primaryContrastingColor = t2; _.textTheme = t3; _.barBackgroundColor = t4; _.scaffoldBackgroundColor = t5; }, NoDefaultCupertinoThemeData_resolveFrom_convertColor: function NoDefaultCupertinoThemeData_resolveFrom_convertColor(t0) { this.context = t0; }, _CupertinoThemeDefaults: function _CupertinoThemeDefaults(t0, t1, t2, t3, t4, t5) { var _ = this; _.brightness = t0; _.primaryColor = t1; _.primaryContrastingColor = t2; _.barBackgroundColor = t3; _.scaffoldBackgroundColor = t4; _.textThemeDefaults = t5; }, _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; _._primaryColor = t3; _._text_theme$_textStyle = t4; _._actionTextStyle = t5; _._tabLabelTextStyle = t6; _._navTitleTextStyle = t7; _._navLargeTitleTextStyle = t8; _._navActionTextStyle = t9; _._pickerTextStyle = t10; _._dateTimePickerTextStyle = t11; }, _CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable: function _CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable() { }, 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, 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; } if (reasons[index0] != null) suffix = index0 !== index ? " (" + (index0 - index + 2) + " frames)" : " (1 frame)"; else suffix = ""; t3 = reasons[index0]; result.push(A.S(t3 == null ? 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.get$value(t3) > 0) t1.push(t3.get$key(t3)); } 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); if (t1.length > 2) result.push("(elided " + skipped + " frames from " + B.JSArray_methods.join$1(t1, ", ") + ")"); else result.push("(elided " + skipped + " 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; if (label != null) 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_empty0, t1, stack, true, $name, true, true, null, B.DiagnosticsTreeStyle_7); }, DiagnosticsStackTrace__applyStackFilter(stack, stackFilter) { if (stack == null) return A._setArrayType([], type$.JSArray_DiagnosticsNode); return J.map$1$1$ax(A.FlutterError_defaultStackFilter(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; _._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; _._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; _._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; _._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) { var _ = this; _.exception = t0; _.stack = t1; _.library = t2; _.context = t3; _.informationCollector = t4; _.silent = t5; }, 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) { var _ = this; _._children = t0; _._properties = t1; _.value = t2; _.allowTruncate = t3; _.name = t4; _.showSeparator = t5; _.showName = t6; _.linePrefix = t7; _.style = t8; }, _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.$this = t0; this.timelineTask = 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() { }, DebugReassembleConfig: function DebugReassembleConfig(t0) { this.widgetName = t0; }, ValueNotifier$(_value, $T) { return new A.ValueNotifier(_value, A.List_List$filled(0, null, false, type$.nullable_void_Function), $T._eval$1("ValueNotifier<0>")); }, Listenable: function Listenable() { }, ValueListenable: function ValueListenable() { }, ChangeNotifier: function ChangeNotifier() { }, 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) { return A._PrefixedStringBuilder__wordWrapLine$body(message, wrapRanges, width, otherLineOffset, startOffset); }, _PrefixedStringBuilder__wordWrapLine$body($async$message, $async$wrapRanges, $async$width, $async$otherLineOffset, $async$startOffset) { return A._makeSyncStarIterable(function() { var message = $async$message, wrapRanges = $async$wrapRanges, width = $async$width, otherLineOffset = $async$otherLineOffset, startOffset = $async$startOffset; var $async$goto = 0, $async$handler = 2, $async$currentError, startForLengthCalculations, lastWordStart, noWrap, t2, addPrefix, index, mode, lastWordEnd, start, t3, _box_0, t1; return function $async$_PrefixedStringBuilder__wordWrapLine($async$errorCode, $async$result) { if ($async$errorCode === 1) { $async$currentError = $async$result; $async$goto = $async$handler; } while (true) switch ($async$goto) { case 0: // Function start _box_0 = {}; t1 = message.length; $async$goto = t1 + startOffset < width ? 3 : 4; break; case 3: // then $async$goto = 5; return message; case 5: // after yield // goto return $async$goto = 1; break; case 4: // join startForLengthCalculations = -startOffset; lastWordStart = A._Cell$named("lastWordStart"); _box_0.currentChunk = 0; noWrap = new A._PrefixedStringBuilder__wordWrapLine_noWrap(_box_0, wrapRanges); t2 = lastWordStart.__late_helper$_name, addPrefix = false, index = 0, mode = B._WordWrapParseMode_0, lastWordEnd = null, start = 0; case 6: // for condition // trivial condition case 8: // switch switch (mode.index) { case 0: // goto case $async$goto = 10; break; case 1: // goto case $async$goto = 11; break; case 2: // goto case $async$goto = 12; break; default: // goto after switch $async$goto = 9; break; } break; case 10: // case while (true) { if (!(index < t1 && message[index] === " ")) break; ++index; } lastWordStart.__late_helper$_value = index; mode = B._WordWrapParseMode_1; // goto after switch $async$goto = 9; break; case 11: // case while (true) { if (index < t1) t3 = message[index] !== " " || noWrap.call$1(index); else t3 = false; if (!t3) break; ++index; } mode = B._WordWrapParseMode_2; // goto after switch $async$goto = 9; break; case 12: // case t3 = index - startForLengthCalculations; $async$goto = t3 > width || index === t1 ? 13 : 15; break; case 13: // then if (t3 <= width || lastWordEnd == null) lastWordEnd = index; $async$goto = 16; return B.JSString_methods.substring$2(message, start, lastWordEnd); case 16: // after yield if (lastWordEnd >= t1) { // goto return $async$goto = 1; break; } if (lastWordEnd === index) { while (true) { if (!(index < t1 && message[index] === " ")) break; ++index; } start = index; mode = 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; addPrefix = true; lastWordEnd = null; // goto join $async$goto = 14; break; case 15: // else lastWordEnd = index; mode = B._WordWrapParseMode_0; case 14: // join // goto after switch $async$goto = 9; break; case 9: // after switch // goto for condition $async$goto = 6; break; case 7: // after for case 1: // return return A._IterationMarker_endOfIteration(); case 2: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.String); }, 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) { var description = J.toString$0$(enumEntry); return B.JSString_methods.substring$1(description, B.JSString_methods.indexOf$1(description, ".") + 1); }, 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; _._description = t0; _.expandableValue = t1; _.allowWrap = t2; _.ifNull = t3; _.ifEmpty = t4; _.tooltip = t5; _.missingIfNull = t6; _._diagnostics$_value = t7; _._valueComputed = t8; _._diagnostics$_exception = null; _.defaultValue = t9; _._defaultLevel = t10; _._computeValue = t11; _.name = t12; _.showSeparator = t13; _.showName = t14; _.linePrefix = t15; _.style = t16; _.$ti = t17; }, DiagnosticableNode: function DiagnosticableNode() { }, DiagnosticableTreeNode: function DiagnosticableTreeNode(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _._cachedBuilder = null; _.name = t1; _.showSeparator = t2; _.showName = t3; _.linePrefix = t4; _.style = t5; }, DiagnosticPropertiesBuilder: function DiagnosticPropertiesBuilder(t0, t1) { this.properties = t0; this.defaultDiagnosticsTreeStyle = t1; this.emptyBodyDescription = null; }, Diagnosticable: function Diagnosticable() { }, DiagnosticableTree: function DiagnosticableTree() { }, DiagnosticableTreeMixin: function DiagnosticableTreeMixin() { }, DiagnosticsBlock: function DiagnosticsBlock() { }, _DiagnosticableTree_Object_Diagnosticable: function _DiagnosticableTree_Object_Diagnosticable() { }, Key0: function Key0() { }, LocalKey: function LocalKey() { }, ValueKey: function ValueKey(t0, t1) { this.value = t0; this.$ti = t1; }, _TypeLiteral: function _TypeLiteral(t0) { this.$ti = t0; }, LicenseEntry: function LicenseEntry() { }, LicenseEntryWithLineBreaks: function LicenseEntryWithLineBreaks(t0) { this.text = t0; }, AbstractNode: function AbstractNode() { }, 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; _._list = t0; _._isDirty = false; _.__ObserverList__set = $; _.$ti = t1; }, HashedObserverList: function HashedObserverList(t0, t1) { this._observer_list$_map = t0; this.$ti = t1; }, TargetPlatform: function TargetPlatform(t0, t1) { this.index = t0; this._core$_name = t1; }, debugPrintThrottled(message, wrapWidth) { var messageLines = message == null ? null : A._setArrayType(message.split("\n"), type$.JSArray_String); if (messageLines == null) messageLines = A._setArrayType(["null"], type$.JSArray_String); if (wrapWidth != null) $.$get$_debugPrintBuffer().addAll$1(0, new A.ExpandIterable(messageLines, new A.debugPrintThrottled_closure(wrapWidth), A._arrayInstanceType(messageLines)._eval$1("ExpandIterable<1,String>"))); else $.$get$_debugPrintBuffer().addAll$1(0, messageLines); if (!$._debugPrintScheduled) A._debugPrintTask(); }, _debugPrintTask() { var line, toZone, t1 = $._debugPrintScheduled = false, t2 = $.$get$_debugPrintStopwatch(); if (A.Duration$(0, 0, t2.get$elapsedMicroseconds(), 0, 0)._duration > 1000000) { if (t2._stop == null) t2._stop = $.Primitives_timerTicks.call$0(); t2.reset$0(0); $._debugPrintedCharacters = 0; } while (true) { if ($._debugPrintedCharacters < 12288) { t2 = $.$get$_debugPrintBuffer(); t2 = !t2.get$isEmpty(t2); } else t2 = t1; if (!t2) break; line = $.$get$_debugPrintBuffer().removeFirst$0(); $._debugPrintedCharacters = $._debugPrintedCharacters + line.length; toZone = $.printToZone; if (toZone == null) A.printString(line); else toZone.call$1(line); } t1 = $.$get$_debugPrintBuffer(); if (!t1.get$isEmpty(t1)) { $._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; } }, debugWordWrap($async$message, $async$width) { return A._makeSyncStarIterable(function() { var message = $async$message, width = $async$width; var $async$goto = 0, $async$handler = 2, $async$currentError, prefix, index, lastWordStart, t2, index0, start, startForLengthCalculations, addPrefix, mode, lastWordEnd, t3, t1; return function $async$debugWordWrap($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 = message.length; $async$goto = t1 < width || B.JSString_methods.trimLeft$0(message)[0] === "#" ? 3 : 4; break; case 3: // then $async$goto = 5; return message; case 5: // after yield // goto return $async$goto = 1; break; case 4: // join prefix = B.JSString_methods.$mul(" ", $.$get$_indentPattern().matchAsPrefix$1(0, message)._match[0].length); index = prefix.length; lastWordStart = A._Cell$named("lastWordStart"); t2 = lastWordStart.__late_helper$_name, index0 = index, start = 0, startForLengthCalculations = 0, addPrefix = false, mode = B._WordWrapParseMode_00, lastWordEnd = null; case 6: // for condition // trivial condition case 8: // switch switch (mode.index) { case 0: // goto case $async$goto = 10; break; case 1: // goto case $async$goto = 11; break; case 2: // goto case $async$goto = 12; break; default: // goto after switch $async$goto = 9; break; } break; case 10: // case while (true) { if (!(index0 < t1 && message[index0] === " ")) break; ++index0; } lastWordStart.__late_helper$_value = index0; mode = B._WordWrapParseMode_10; // goto after switch $async$goto = 9; break; case 11: // case while (true) { if (!(index0 < t1 && message[index0] !== " ")) break; ++index0; } mode = B._WordWrapParseMode_20; // goto after switch $async$goto = 9; break; case 12: // case t3 = index0 - startForLengthCalculations; $async$goto = t3 > width || index0 === t1 ? 13 : 15; break; case 13: // then if (t3 <= width || lastWordEnd == null) lastWordEnd = index0; $async$goto = addPrefix ? 16 : 18; break; case 16: // then $async$goto = 19; return prefix + B.JSString_methods.substring$2(message, start, lastWordEnd); case 19: // after yield // goto join $async$goto = 17; break; case 18: // else $async$goto = 20; return B.JSString_methods.substring$2(message, start, lastWordEnd); case 20: // after yield addPrefix = true; case 17: // join if (lastWordEnd >= t1) { // goto return $async$goto = 1; break; } if (lastWordEnd === index0) { while (true) { if (!(index0 < t1 && message[index0] === " ")) break; ++index0; } start = index0; mode = B._WordWrapParseMode_10; } else { start = lastWordStart.__late_helper$_value; if (start === lastWordStart) A.throwExpression(A.LateError$localNI(t2)); mode = B._WordWrapParseMode_20; } startForLengthCalculations = start - index; lastWordEnd = null; // goto join $async$goto = 14; break; case 15: // else lastWordEnd = index0; mode = B._WordWrapParseMode_00; case 14: // join // goto after switch $async$goto = 9; break; case 9: // after switch // goto for condition $async$goto = 6; break; case 7: // after for case 1: // return return A._IterationMarker_endOfIteration(); case 2: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.String); }, debugPrintThrottled_closure: function debugPrintThrottled_closure(t0) { this.wrapWidth = t0; }, _WordWrapParseMode0: function _WordWrapParseMode0(t0, t1) { this.index = t0; this._core$_name = t1; }, WriteBuffer$() { var t1 = A.Uint8Buffer$(), t2 = new DataView(new ArrayBuffer(8)); t1 = new A.WriteBuffer(t1, t2); t1.__WriteBuffer__eightBytesAsList = A.NativeUint8List_NativeUint8List$view(t2.buffer, 0, null); return t1; }, WriteBuffer: function WriteBuffer(t0, t1) { var _ = this; _._serialization$_buffer = t0; _._isDone = false; _._eightBytes = t1; _.__WriteBuffer__eightBytesAsList = $; }, ReadBuffer: function ReadBuffer(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__parseWebFrame(line) { var t1 = A.StackFrame__parseWebNonDebugFrame(line); return t1; }, StackFrame__parseWebNonDebugFrame(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__parseWebFrame(line); t1 = A.RegExp_RegExp("^#(\\d+) +(.+) \\((.+?):?(\\d+){0,1}:?(\\d+){0,1}\\)$", true, 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, informationCollector, false); }, _Resampler: function _Resampler(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._resamplers = t0; _._binding2$_frameCallbackScheduled = false; _._frameTime = t1; _._frameTimeAge = t2; _._lastSampleTime = t3; _._lastEventTime = t4; _._handlePointerEvent = t5; _._handleSampleTimeChanged = t6; _._samplingInterval = t7; _._binding2$_timer = null; }, GestureBinding: function GestureBinding() { }, GestureBinding_dispatchEvent_closure: function GestureBinding_dispatchEvent_closure(t0) { this.event = t0; }, GestureBinding_dispatchEvent_closure0: function GestureBinding_dispatchEvent_closure0(t0, t1) { this.event = t0; this.entry = t1; }, FlutterErrorDetailsForPointerEventDispatcher: function FlutterErrorDetailsForPointerEventDispatcher(t0, t1, t2, t3, t4, t5) { var _ = this; _.exception = t0; _.stack = t1; _.library = t2; _.context = t3; _.informationCollector = t4; _.silent = t5; }, DragDownDetails: function DragDownDetails(t0, t1) { this.globalPosition = t0; this.localPosition = t1; }, DragStartDetails: function DragStartDetails(t0, t1, t2) { this.sourceTimeStamp = t0; this.globalPosition = t1; this.kind = t2; }, 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.Matrix4(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) { return new A.PointerAddedEvent(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) { return new A.PointerRemovedEvent(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) { return new A.PointerHoverEvent(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) { return new A.PointerEnterEvent(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) { return new A.PointerExitEvent(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) { return new A.PointerDownEvent(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) { return new A.PointerMoveEvent(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) { return new A.PointerUpEvent(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) { return new A.PointerScrollEvent(scrollDelta, 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); }, PointerCancelEvent$(buttons, device, distance, distanceMax, embedderId, kind, obscured, orientation, pointer, position, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, size, tilt, timeStamp) { return new A.PointerCancelEvent(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) { switch (kind.index) { case 1: return 1; case 2: case 3: case 4: case 0: return 18; } }, computePanSlop(kind, settings) { switch (kind.index) { case 1: return 2; case 2: case 3: case 4: case 0: return 36; } }, PointerEvent0: function PointerEvent0() { }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerAddedEvent: function _TransformedPointerAddedEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerRemovedEvent: function _TransformedPointerRemovedEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerHoverEvent: function _TransformedPointerHoverEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerEnterEvent: function _TransformedPointerEnterEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerExitEvent: function _TransformedPointerExitEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerDownEvent: function _TransformedPointerDownEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerMoveEvent: function _TransformedPointerMoveEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerUpEvent: function _TransformedPointerUpEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, 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) { var _ = this; _.scrollDelta = 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; }, _TransformedPointerScrollEvent: function _TransformedPointerScrollEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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) { var _ = this; _.embedderId = t0; _.timeStamp = t1; _.pointer = t2; _.kind = t3; _.device = t4; _.position = t5; _.delta = t6; _.buttons = t7; _.down = t8; _.obscured = t9; _.pressure = t10; _.pressureMin = t11; _.pressureMax = t12; _.distance = t13; _.distanceMax = t14; _.size = t15; _.radiusMajor = t16; _.radiusMinor = t17; _.radiusMin = t18; _.radiusMax = t19; _.orientation = t20; _.tilt = t21; _.platformData = t22; _.synthesized = t23; _.transform = t24; _.original = t25; }, _TransformedPointerCancelEvent: function _TransformedPointerCancelEvent(t0, t1) { var _ = this; _.original = t0; _.transform = t1; _.___TransformedPointerEvent_localDelta = _.___TransformedPointerEvent_localPosition = $; }, _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() { }, _PointerRemovedEvent_PointerEvent__PointerEventDescription: function _PointerRemovedEvent_PointerEvent__PointerEventDescription() { }, _PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent: function _PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent() { }, _PointerScrollEvent_PointerSignalEvent__PointerEventDescription: function _PointerScrollEvent_PointerSignalEvent__PointerEventDescription() { }, _PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent: function _PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent() { }, _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() { }, __TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent: function __TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent() { }, __TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent: function __TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent() { }, __TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent: function __TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent() { }, ForcePressGestureRecognizer$(debugOwner) { 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, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, ForcePressGestureRecognizer__inverseLerp(min, max, t) { var value = (t - min) / (max - min); return !isNaN(value) ? B.JSNumber_methods.clamp$2(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) { var _ = this; _.onEnd = _.onPeak = _.onUpdate = _.onStart = null; _.__ForcePressGestureRecognizer__lastPressure = _.__ForcePressGestureRecognizer__lastPosition = $; _._force_press$_state = t0; _._recognizer$_entries = t1; _._trackedPointers = t2; _._team = null; _.debugOwner = t3; _._supportedDevices = t4; _._pointerToKind = t5; }, 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), t2 = new A.Matrix4(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) { this.target = t0; this._transform = null; }, _TransformPart: function _TransformPart() { }, _MatrixTransformPart: function _MatrixTransformPart(t0) { this.matrix = t0; }, _OffsetTransformPart: function _OffsetTransformPart(t0) { this.offset = t0; }, HitTestResult: function HitTestResult(t0, t1, t2) { this._path = t0; this._transforms = t1; this._localTransforms = t2; }, LongPressGestureRecognizer$(debugOwner, duration, kind, postAcceptSlopTolerance, supportedDevices) { var t1 = duration == null ? B.Duration_500000 : duration, t2 = type$.int, t3 = A.HashSet_HashSet(t2), t4 = type$.PointerDeviceKind, t5 = kind == null ? supportedDevices : A.LinkedHashSet_LinkedHashSet$_literal([kind], t4); return new A.LongPressGestureRecognizer(t1, postAcceptSlopTolerance, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.GestureArenaEntry), t3, debugOwner, t5, A.LinkedHashMap_LinkedHashMap$_empty(t2, t4)); }, LongPressStartDetails: function LongPressStartDetails(t0, t1) { this.globalPosition = t0; this.localPosition = t1; }, LongPressMoveUpdateDetails: function LongPressMoveUpdateDetails(t0, t1, t2) { this.globalPosition = t0; this.localPosition = t1; this.offsetFromOrigin = t2; }, LongPressEndDetails: function LongPressEndDetails(t0, t1) { this.localPosition = t0; this.velocity = t1; }, LongPressGestureRecognizer: function LongPressGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._longPressAccepted = false; _._velocityTracker = _.onTertiaryLongPressEnd = _.onTertiaryLongPressUp = _.onTertiaryLongPressMoveUpdate = _.onTertiaryLongPressStart = _.onTertiaryLongPress = _.onTertiaryLongPressCancel = _.onTertiaryLongPressDown = _.onSecondaryLongPressEnd = _.onSecondaryLongPressUp = _.onSecondaryLongPressMoveUpdate = _.onSecondaryLongPressStart = _.onSecondaryLongPress = _.onSecondaryLongPressCancel = _.onSecondaryLongPressDown = _.onLongPressEnd = _.onLongPressUp = _.onLongPressMoveUpdate = _.onLongPressStart = _.onLongPress = _.onLongPressCancel = _.onLongPressDown = _._long_press$_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; _._supportedDevices = t6; _._pointerToKind = t7; }, LongPressGestureRecognizer__checkLongPressStart_closure: function LongPressGestureRecognizer__checkLongPressStart_closure(t0, t1) { this.$this = t0; this.details = t1; }, LongPressGestureRecognizer__checkLongPressMoveUpdate_closure: function LongPressGestureRecognizer__checkLongPressMoveUpdate_closure(t0, t1) { this.$this = t0; this.details = t1; }, LongPressGestureRecognizer__checkLongPressEnd_closure: function LongPressGestureRecognizer__checkLongPressEnd_closure(t0, t1) { this.$this = t0; this.details = t1; }, _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 = $; }, 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)); }, VerticalDragGestureRecognizer$(debugOwner, supportedDevices) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); return new A.VerticalDragGestureRecognizer(B.DragStartBehavior_1, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, debugOwner, supportedDevices, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, HorizontalDragGestureRecognizer$(debugOwner, kind, supportedDevices) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1), t3 = type$.PointerDeviceKind, t4 = kind == null ? supportedDevices : A.LinkedHashSet_LinkedHashSet$_literal([kind], t3); return new A.HorizontalDragGestureRecognizer(B.DragStartBehavior_1, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, debugOwner, t4, A.LinkedHashMap_LinkedHashMap$_empty(t1, t3)); }, _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(t0, t1) { this.estimate = t0; this.velocity = t1; }, DragGestureRecognizer__checkEnd_closure0: function DragGestureRecognizer__checkEnd_closure0(t0) { this.estimate = t0; }, DragGestureRecognizer__checkEnd_closure1: function DragGestureRecognizer__checkEnd_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, VerticalDragGestureRecognizer: function VerticalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.dragStartBehavior = t0; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.velocityTrackerBuilder = t1; _._monodrag$_state = t2; _.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $; _._lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved = $; _._velocityTrackers = t3; _._acceptedActivePointers = t4; _._recognizer$_entries = t5; _._trackedPointers = t6; _._team = null; _.debugOwner = t7; _._supportedDevices = t8; _._pointerToKind = t9; }, HorizontalDragGestureRecognizer: function HorizontalDragGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.dragStartBehavior = t0; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.velocityTrackerBuilder = t1; _._monodrag$_state = t2; _.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $; _._lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved = $; _._velocityTrackers = t3; _._acceptedActivePointers = t4; _._recognizer$_entries = t5; _._trackedPointers = t6; _._team = null; _.debugOwner = t7; _._supportedDevices = t8; _._pointerToKind = t9; }, PanGestureRecognizer: function PanGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.dragStartBehavior = t0; _.maxFlingVelocity = _.minFlingVelocity = _.minFlingDistance = _.onCancel = _.onEnd = _.onUpdate = _.onStart = _.onDown = null; _.velocityTrackerBuilder = t1; _._monodrag$_state = t2; _.__DragGestureRecognizer__pendingDragOffset = _.__DragGestureRecognizer__initialPosition = $; _._lastTransform = _._initialButtons = _._lastPendingEventTimestamp = null; _.__DragGestureRecognizer__globalDistanceMoved = $; _._velocityTrackers = t3; _._acceptedActivePointers = t4; _._recognizer$_entries = t5; _._trackedPointers = t6; _._team = null; _.debugOwner = t7; _._supportedDevices = t8; _._pointerToKind = t9; }, DoubleTapGestureRecognizer$(debugOwner) { var t1 = type$.int; return new A.DoubleTapGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._TapTracker), debugOwner, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, _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) { var _ = this; _._firstTap = _._doubleTapTimer = _.onDoubleTapCancel = _.onDoubleTap = _.onDoubleTapDown = null; _._trackers = t0; _.debugOwner = t1; _._supportedDevices = t2; _._pointerToKind = t3; }, 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; }, DragStartBehavior: function DragStartBehavior(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() { }, TapGestureRecognizer$(debugOwner) { 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, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, TapDownDetails: function TapDownDetails(t0, t1, t2) { this.globalPosition = t0; this.kind = t1; this.localPosition = t2; }, TapUpDetails: function TapUpDetails(t0, t1, t2) { this.globalPosition = t0; this.localPosition = t1; this.kind = t2; }, BaseTapGestureRecognizer: function BaseTapGestureRecognizer() { }, TapGestureRecognizer: function TapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.onTertiaryTapCancel = _.onTertiaryTapUp = _.onTertiaryTapDown = _.onSecondaryTapCancel = _.onSecondaryTapUp = _.onSecondaryTapDown = _.onSecondaryTap = _.onTapCancel = _.onTap = _.onTapUp = _.onTapDown = null; _._wonArenaForPrimaryPointer = _._sentTapDown = false; _._up = _._down = null; _.deadline = t0; _.postAcceptSlopTolerance = t1; _._recognizer$_state = t2; _._initialPosition = _._primaryPointer = null; _._gestureAccepted = false; _._recognizer$_timer = null; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _._supportedDevices = t6; _._pointerToKind = t7; }, TapGestureRecognizer_handleTapDown_closure: function TapGestureRecognizer_handleTapDown_closure(t0, t1) { this.$this = t0; this.details = t1; }, TapGestureRecognizer_handleTapDown_closure0: function TapGestureRecognizer_handleTapDown_closure0(t0, t1) { this.$this = t0; this.details = t1; }, TapGestureRecognizer_handleTapUp_closure: function TapGestureRecognizer_handleTapUp_closure(t0, t1) { this.$this = t0; this.details = t1; }, TapGestureRecognizer_handleTapUp_closure0: function TapGestureRecognizer_handleTapUp_closure0(t0) { this.$this = t0; }, _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; }, Velocity: function Velocity(t0) { this.pixelsPerSecond = t0; }, VelocityEstimate: function VelocityEstimate(t0, t1, t2, t3) { var _ = this; _.pixelsPerSecond = t0; _.confidence = t1; _.duration = t2; _.offset = t3; }, _PointAtTime: function _PointAtTime(t0, t1) { this.time = t0; this.point = t1; }, VelocityTracker: function VelocityTracker(t0, t1) { this.kind = t0; this._samples = t1; this._velocity_tracker$_index = 0; }, IOSScrollViewFlingVelocityTracker: function IOSScrollViewFlingVelocityTracker(t0, t1, t2) { var _ = this; _._touchSamples = t0; _.kind = t1; _._samples = t2; _._velocity_tracker$_index = 0; }, AnimatedIcon$(color, icon, progress, size) { return new A.AnimatedIcon(progress, color, size, icon, null); }, AnimatedIcon__pathFactory() { return A.Path_Path(); }, _interpolate(values, progress, interpolator) { var lowIdx, highIdx, t1 = A.lerpDouble(0, 15, progress); t1.toString; lowIdx = B.JSNumber_methods.floor$0(t1); highIdx = B.JSNumber_methods.ceil$0(t1); return interpolator.call$3(values[lowIdx], values[highIdx], t1 - lowIdx); }, AnimatedIcon: function AnimatedIcon(t0, t1, t2, t3, t4) { var _ = this; _.progress = t0; _.color = t1; _.size = t2; _.icon = t3; _.key = t4; }, _AnimatedIconPainter: function _AnimatedIconPainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.paths = t0; _.progress = t1; _.color = t2; _.scale = t3; _.shouldMirror = t4; _.uiPathFactory = t5; _._repaint = t6; }, _PathFrames: function _PathFrames(t0, t1) { this.commands = t0; this.opacities = t1; }, _PathCommand: function _PathCommand() { }, _PathMoveTo: function _PathMoveTo(t0) { this.points = t0; }, _PathCubicTo: function _PathCubicTo(t0, t1, t2) { this.controlPoints2 = t0; this.controlPoints1 = t1; this.targetPoints = t2; }, _PathClose: function _PathClose() { }, AnimatedIconData: function AnimatedIconData() { }, _AnimatedIconData: function _AnimatedIconData() { }, 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) { var _ = this; _.navigatorKey = t0; _.home = t1; _.builder = t2; _.title = t3; _.theme = t4; _.debugShowCheckedModeBanner = t5; _.key = t6; }, MaterialApp_createMaterialHeroController_closure: function MaterialApp_createMaterialHeroController_closure() { }, MaterialScrollBehavior: function MaterialScrollBehavior() { }, _MaterialAppState: function _MaterialAppState(t0) { var _ = this; _.___MaterialAppState__heroController = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _MaterialAppState__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, automaticallyImplyLeading, backgroundColor, elevation, iconTheme, leading, title) { return new A.AppBar(leading, automaticallyImplyLeading, title, actions, elevation, backgroundColor, iconTheme, new A._PreferredAppBarSize(null, null, 1 / 0, 56), null); }, AppBar_preferredHeightFor(context, preferredSize) { var t1 = A.Theme_of(context).appBarTheme.toolbarHeight; if (t1 == null) t1 = 56; return t1 + 0; }, _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) { var _ = this; _.leading = t0; _.automaticallyImplyLeading = t1; _.title = t2; _.actions = t3; _.elevation = t4; _.backgroundColor = t5; _.iconTheme = t6; _.preferredSize = t7; _.key = t8; }, _AppBarState: function _AppBarState(t0) { var _ = this; _._scrollNotificationObserver = null; _._scrolledUnder = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _AppBarState__handleScrollNotification_closure: function _AppBarState__handleScrollNotification_closure() { }, _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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, AppBarTheme: function AppBarTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.brightness = t0; _.backgroundColor = t1; _.foregroundColor = t2; _.elevation = t3; _.shadowColor = t4; _.shape = t5; _.iconTheme = t6; _.actionsIconTheme = t7; _.textTheme = t8; _.centerTitle = t9; _.titleSpacing = t10; _.toolbarHeight = t11; _.toolbarTextStyle = t12; _.titleTextStyle = t13; _.systemOverlayStyle = t14; _.backwardsCompatibility = t15; }, _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 = _._arc$_radius = _._arc$_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 = _.__MaterialRectArcTween__beginArc = $; _.begin = t0; _.end = t1; }, MaterialRectArcTween__initialize_closure: function MaterialRectArcTween__initialize_closure(t0, t1) { this.$this = t0; this.centersVector = t1; }, BackButtonIcon__getIconData(platform) { switch (platform.index) { case 0: case 1: case 3: case 5: return B.IconData_57490_MaterialIcons_null_true; case 2: case 4: return B.IconData_57491_MaterialIcons_null_true; } }, BackButtonIcon: function BackButtonIcon(t0) { this.key = t0; }, BackButton: function BackButton(t0) { this.key = t0; }, BackButton_build_closure: function BackButton_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, CloseButton: function CloseButton(t0) { this.key = t0; }, CloseButton_build_closure: function CloseButton_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, MaterialBannerThemeData: function MaterialBannerThemeData(t0, t1, t2, t3, t4) { var _ = this; _.backgroundColor = t0; _.contentTextStyle = t1; _.elevation = t2; _.padding = t3; _.leadingPadding = t4; }, _MaterialBannerThemeData_Object_Diagnosticable: function _MaterialBannerThemeData_Object_Diagnosticable() { }, BottomAppBarTheme: function BottomAppBarTheme(t0, t1, t2) { this.color = t0; this.elevation = t1; this.shape = t2; }, _BottomAppBarTheme_Object_Diagnosticable: function _BottomAppBarTheme_Object_Diagnosticable() { }, BottomNavigationBarThemeData: function BottomNavigationBarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { 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; }, _BottomNavigationBarThemeData_Object_Diagnosticable: function _BottomNavigationBarThemeData_Object_Diagnosticable() { }, BottomSheet$(animationController, backgroundColor, builder, clipBehavior, constraints, elevation, enableDrag, onClosing, onDragEnd, onDragStart, shape) { return new A.BottomSheet(animationController, onClosing, builder, enableDrag, onDragStart, onDragEnd, backgroundColor, elevation, shape, clipBehavior, constraints, null); }, showModalBottomSheet(builder, context, isScrollControlled, shape, useRootNavigator, $T) { var t2, t3, t4, t5, t6, t7, _null = null, $navigator = A.Navigator_of(context, useRootNavigator), t1 = $navigator._framework$_element; t1.toString; t1 = A.InheritedTheme_capture(context, t1); A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; 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 = A.List_List$filled(0, _null, false, type$.nullable_void_Function); t7 = $.Zone__current; return $navigator.push$1(new A._ModalBottomSheetRoute(builder, t1, true, _null, _null, shape, _null, _null, _null, true, true, _null, "Dismiss", _null, t2, new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, 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, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), $T._eval$1("_ModalBottomSheetRoute<0>"))); }, 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) { var _ = this; _._childKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ModalBottomSheetLayout: function _ModalBottomSheetLayout(t0, t1) { this.progress = t0; this.isScrollControlled = t1; }, _ModalBottomSheet: function _ModalBottomSheet(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.route = t0; _.isScrollControlled = t1; _.backgroundColor = t2; _.elevation = t3; _.shape = t4; _.clipBehavior = t5; _.constraints = t6; _.enableDrag = t7; _.key = t8; _.$ti = t9; }, _ModalBottomSheetState: function _ModalBottomSheetState(t0, t1, t2) { var _ = this; _.animationCurve = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; _.$ti = t2; }, _ModalBottomSheetState_build_closure0: function _ModalBottomSheetState_build_closure0(t0, t1) { this.$this = t0; this.context = t1; }, _ModalBottomSheetState_build_closure: function _ModalBottomSheetState_build_closure(t0, t1, t2) { this.$this = t0; this.mediaQuery = t1; this.routeLabel = t2; }, _ModalBottomSheetRoute: function _ModalBottomSheetRoute(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; _.builder = t0; _.capturedThemes = t1; _.isScrollControlled = t2; _.backgroundColor = t3; _.elevation = t4; _.shape = t5; _.clipBehavior = t6; _.constraints = t7; _.modalBarrierColor = t8; _.isDismissible = t9; _.enableDrag = t10; _.transitionAnimationController = t11; _.barrierLabel = t12; _._bottom_sheet$_animationController = null; _.filter = t13; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t14; _._scopeKey = t15; _._subtreeKey = t16; _._storageBucket = t17; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t18; _._transitionCompleter = t19; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t20; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t21; _._navigator$_navigator = null; _._settings = t22; _._restorationScopeId = t23; _._popCompleter = t24; _.$ti = t25; }, _ModalBottomSheetRoute_buildPage_closure: function _ModalBottomSheetRoute_buildPage_closure(t0) { this.$this = t0; }, _BottomSheetSuspendedCurve: function _BottomSheetSuspendedCurve(t0, t1) { this.startingPoint = t0; this.curve = t1; }, BottomSheetThemeData_lerp(a, b, t) { var t6, t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t), t2 = A.lerpDouble(a.elevation, b.elevation, t), t3 = A.Color_lerp(a.modalBackgroundColor, b.modalBackgroundColor, t), t4 = A.lerpDouble(a.modalElevation, b.modalElevation, t), t5 = A.ShapeBorder_lerp(a.shape, b.shape, t); if (t < 0.5) t6 = a.clipBehavior; else t6 = b.clipBehavior; return new A.BottomSheetThemeData(t1, t2, t3, t4, t5, t6, A.BoxConstraints_lerp(a.constraints, b.constraints, t)); }, BottomSheetThemeData: function BottomSheetThemeData(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.modalBackgroundColor = t2; _.modalElevation = t3; _.shape = t4; _.clipBehavior = t5; _.constraints = t6; }, _BottomSheetThemeData_Object_Diagnosticable: function _BottomSheetThemeData_Object_Diagnosticable() { }, RawMaterialButton$(animationDuration, autofocus, child, clipBehavior, constraints, disabledElevation, elevation, enableFeedback, fillColor, focusColor, focusElevation, focusNode, highlightColor, highlightElevation, hoverColor, hoverElevation, materialTapTargetSize, mouseCursor, onHighlightChanged, onLongPress, onPressed, padding, shape, splashColor, textStyle, visualDensity) { return new A.RawMaterialButton(onPressed, onLongPress, onHighlightChanged, mouseCursor, textStyle, fillColor, focusColor, hoverColor, highlightColor, splashColor, elevation, hoverElevation, focusElevation, highlightElevation, disabledElevation, padding, visualDensity, constraints, shape, animationDuration, child, materialTapTargetSize, focusNode, false, clipBehavior, true, null); }, RawMaterialButton: function RawMaterialButton(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; _.onPressed = t0; _.onLongPress = t1; _.onHighlightChanged = t2; _.mouseCursor = t3; _.textStyle = t4; _.fillColor = t5; _.focusColor = t6; _.hoverColor = t7; _.highlightColor = t8; _.splashColor = t9; _.elevation = t10; _.hoverElevation = t11; _.focusElevation = t12; _.highlightElevation = t13; _.disabledElevation = t14; _.padding = t15; _.visualDensity = t16; _.constraints = t17; _.shape = t18; _.animationDuration = t19; _.child = t20; _.materialTapTargetSize = t21; _.focusNode = t22; _.autofocus = t23; _.clipBehavior = t24; _.enableFeedback = t25; _.key = t26; }, _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; _._button$_minSize = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 t2, t3, t4, t5, t6, t7, t8, t9, 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, maximumSize, minimumSize, mouseCursor, overlayColor, padding, shadowColor, shape, side, splashFactory, tapTargetSize, textStyle, visualDensity) { return new A.ButtonStyle(textStyle, backgroundColor, foregroundColor, overlayColor, shadowColor, elevation, padding, minimumSize, fixedSize, maximumSize, side, shape, mouseCursor, visualDensity, tapTargetSize, animationDuration, enableFeedback, alignment, splashFactory); }, ButtonStyle_lerp(a, b, t) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, _null = null, t1 = a == null; if (t1 && b == null) return _null; t2 = t1 ? _null : a.textStyle; t3 = b == null; t4 = t3 ? _null : b.textStyle; t4 = A.ButtonStyle__lerpProperties(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.ButtonStyle__lerpProperties(t2, t5, t, A.ui_Color_lerp$closure(), t6); t2 = t1 ? _null : a.foregroundColor; t2 = A.ButtonStyle__lerpProperties(t2, t3 ? _null : b.foregroundColor, t, A.ui_Color_lerp$closure(), t6); t7 = t1 ? _null : a.overlayColor; t7 = A.ButtonStyle__lerpProperties(t7, t3 ? _null : b.overlayColor, t, A.ui_Color_lerp$closure(), t6); t8 = t1 ? _null : a.shadowColor; t6 = A.ButtonStyle__lerpProperties(t8, t3 ? _null : b.shadowColor, t, A.ui_Color_lerp$closure(), t6); t8 = t1 ? _null : a.elevation; t9 = t3 ? _null : b.elevation; t9 = A.ButtonStyle__lerpProperties(t8, t9, t, A.ui__lerpDouble$closure(), type$.nullable_double); t8 = t1 ? _null : a.padding; t10 = t3 ? _null : b.padding; t10 = A.ButtonStyle__lerpProperties(t8, t10, t, A.edge_insets_EdgeInsetsGeometry_lerp$closure(), type$.nullable_EdgeInsetsGeometry); t8 = t1 ? _null : a.minimumSize; t11 = t3 ? _null : b.minimumSize; t12 = type$.nullable_Size; t11 = A.ButtonStyle__lerpProperties(t8, t11, t, A.ui_Size_lerp$closure(), t12); t8 = t1 ? _null : a.fixedSize; t8 = A.ButtonStyle__lerpProperties(t8, t3 ? _null : b.fixedSize, t, A.ui_Size_lerp$closure(), t12); t13 = t1 ? _null : a.maximumSize; t12 = A.ButtonStyle__lerpProperties(t13, t3 ? _null : b.maximumSize, t, A.ui_Size_lerp$closure(), t12); t13 = t1 ? _null : a.side; t13 = A.ButtonStyle__lerpSides(t13, t3 ? _null : b.side, t); t14 = t1 ? _null : a.shape; t14 = A.ButtonStyle__lerpShapes(t14, t3 ? _null : b.shape, t); t15 = t < 0.5; if (t15) t16 = t1 ? _null : a.mouseCursor; else t16 = t3 ? _null : b.mouseCursor; if (t15) t17 = t1 ? _null : a.visualDensity; else t17 = t3 ? _null : b.visualDensity; if (t15) t18 = t1 ? _null : a.tapTargetSize; else t18 = t3 ? _null : b.tapTargetSize; if (t15) t19 = t1 ? _null : a.animationDuration; else t19 = t3 ? _null : b.animationDuration; if (t15) t20 = t1 ? _null : a.enableFeedback; else t20 = t3 ? _null : b.enableFeedback; t21 = t1 ? _null : a.alignment; t21 = A.AlignmentGeometry_lerp(t21, t3 ? _null : b.alignment, t); if (t15) t1 = t1 ? _null : a.splashFactory; else t1 = t3 ? _null : b.splashFactory; return A.ButtonStyle$(t21, t19, t5, t9, t20, t8, t2, t12, t11, t16, t7, t10, t6, t14, t13, t1, t18, t4, t17); }, ButtonStyle__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties3(a, b, t, lerpFunction, $T._eval$1("_LerpProperties3<0>")); }, ButtonStyle__lerpSides(a, b, t) { if (a == null && b == null) return null; return new A._LerpSides(a, b, t); }, ButtonStyle__lerpShapes(a, b, t) { if (a == null && b == null) return null; return new A._LerpShapes(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) { var _ = this; _.textStyle = t0; _.backgroundColor = t1; _.foregroundColor = t2; _.overlayColor = t3; _.shadowColor = t4; _.elevation = t5; _.padding = t6; _.minimumSize = t7; _.fixedSize = t8; _.maximumSize = t9; _.side = t10; _.shape = t11; _.mouseCursor = t12; _.visualDensity = t13; _.tapTargetSize = t14; _.animationDuration = t15; _.enableFeedback = t16; _.alignment = t17; _.splashFactory = t18; }, _LerpProperties3: function _LerpProperties3(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _LerpSides: function _LerpSides(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _LerpShapes: function _LerpShapes(t0, t1, t2) { this.a = t0; this.b = t1; this.t = t2; }, _ButtonStyle_Object_Diagnosticable: function _ButtonStyle_Object_Diagnosticable() { }, ButtonStyleButton_scaledPadding(geometry1x, geometry2x, geometry3x, textScaleFactor) { var t1; if (textScaleFactor <= 1) return geometry1x; else if (textScaleFactor >= 3) return geometry3x; else if (textScaleFactor <= 2) { t1 = A.EdgeInsetsGeometry_lerp(geometry1x, geometry2x, textScaleFactor - 1); t1.toString; return t1; } t1 = A.EdgeInsetsGeometry_lerp(geometry2x, geometry3x, textScaleFactor - 2); t1.toString; return t1; }, ButtonStyleButton: function ButtonStyleButton() { }, _ButtonStyleState: function _ButtonStyleState(t0, t1, t2) { var _ = this; _._backgroundColor = _._button_style_button$_elevation = _._button_style_button$_controller = null; _.TickerProviderStateMixin__tickers = t0; _.MaterialStateMixin_materialStates = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _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_closure17: function _ButtonStyleState_build_closure17(t0) { this.effectiveValue = t0; }, _ButtonStyleState_build__closure0: function _ButtonStyleState_build__closure0(t0) { this.states = t0; }, _ButtonStyleState_build_closure18: function _ButtonStyleState_build_closure18(t0) { this.effectiveValue = t0; }, _ButtonStyleState_build__closure: function _ButtonStyleState_build__closure(t0) { this.states = t0; }, _ButtonStyleState_build_closure10: function _ButtonStyleState_build_closure10() { }, _ButtonStyleState_build_closure11: function _ButtonStyleState_build_closure11() { }, _ButtonStyleState_build_closure12: function _ButtonStyleState_build_closure12() { }, _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(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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderInputPadding_hitTest_closure0: function _RenderInputPadding_hitTest_closure0(t0, t1) { this.$this = t0; this.center = t1; }, __ButtonStyleState_State_MaterialStateMixin: function __ButtonStyleState_State_MaterialStateMixin() { }, __ButtonStyleState_State_MaterialStateMixin_TickerProviderStateMixin: function __ButtonStyleState_State_MaterialStateMixin_TickerProviderStateMixin() { }, ButtonTheme_of(context) { var theme, buttonTheme, t1, t2; context.dependOnInheritedWidgetOfExactType$1$0(type$.ButtonTheme); theme = A.Theme_of(context); buttonTheme = theme.buttonTheme; if (buttonTheme.colorScheme == null) { t1 = buttonTheme.get$padding(buttonTheme); t2 = buttonTheme.get$shape(buttonTheme); buttonTheme = A.ButtonThemeData$(false, buttonTheme._buttonColor, theme.colorScheme, buttonTheme._disabledColor, buttonTheme._focusColor, buttonTheme.height, buttonTheme._highlightColor, buttonTheme._hoverColor, buttonTheme.layoutBehavior, buttonTheme._materialTapTargetSize, buttonTheme.minWidth, t1, t2, buttonTheme._splashColor, buttonTheme.textTheme); } 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; }, 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; _._padding = t4; _._button_theme$_shape = t5; _.alignedDropdown = t6; _._buttonColor = t7; _._disabledColor = t8; _._focusColor = t9; _._hoverColor = t10; _._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__selectedDate = _.___CalendarDatePickerState__currentDisplayedMonthDate = _.___CalendarDatePickerState__mode = $; _._monthPickerKey = t0; _._yearPickerKey = t1; _.___CalendarDatePickerState__textDirection = _.___CalendarDatePickerState__localizations = $; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _CalendarDatePickerState__handleModeChanged_closure: function _CalendarDatePickerState__handleModeChanged_closure(t0, t1) { this.$this = t0; this.mode = t1; }, _CalendarDatePickerState__handleMonthChanged_closure: function _CalendarDatePickerState__handleMonthChanged_closure(t0, t1) { this.$this = t0; this.date = t1; }, _CalendarDatePickerState__handleYearChanged_closure: function _CalendarDatePickerState__handleYearChanged_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, _CalendarDatePickerState__handleDayChanged_closure: function _CalendarDatePickerState__handleDayChanged_closure(t0, t1) { this.$this = t0; this.value = t1; }, _CalendarDatePickerState_build_closure: function _CalendarDatePickerState_build_closure(t0) { this.$this = t0; }, _DatePickerModeToggleButton: function _DatePickerModeToggleButton(t0, t1, t2, t3) { var _ = this; _.mode = t0; _.title = t1; _.onTitlePressed = t2; _.key = t3; }, _DatePickerModeToggleButtonState: function _DatePickerModeToggleButtonState(t0, t1) { var _ = this; _.___DatePickerModeToggleButtonState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MonthPicker: function _MonthPicker(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.initialMonth = t0; _.currentDate = t1; _.firstDate = t2; _.lastDate = t3; _.selectedDate = t4; _.onChanged = t5; _.onDisplayedMonthChanged = t6; _.selectableDayPredicate = t7; _.key = t8; }, _MonthPickerState: function _MonthPickerState(t0, t1) { var _ = this; _._pageViewKey = t0; _.___MonthPickerState__textDirection = _.___MonthPickerState__localizations = _.___MonthPickerState__pageController = _.___MonthPickerState__previousMonthDate = _.___MonthPickerState__nextMonthDate = _.___MonthPickerState__currentMonth = $; _._actionMap = _._shortcutMap = null; _.___MonthPickerState__dayGridFocus = $; _._widget = _._focusedDay = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MonthPickerState_didUpdateWidget_closure: function _MonthPickerState_didUpdateWidget_closure(t0) { this.$this = t0; }, _MonthPickerState__handleMonthPageChanged_closure: function _MonthPickerState__handleMonthPageChanged_closure(t0, t1) { this.$this = t0; this.monthPage = t1; }, _MonthPickerState__handleGridFocusChange_closure: function _MonthPickerState__handleGridFocusChange_closure(t0, t1) { this.$this = t0; this.focused = t1; }, _MonthPickerState__handleDirectionFocus_closure: function _MonthPickerState__handleDirectionFocus_closure(t0, t1) { this.$this = t0; this.intent = t1; }, _FocusedDate: function _FocusedDate(t0, t1, t2) { this.date = t0; this.child = t1; this.key = t2; }, _DayPicker: function _DayPicker(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.selectedDate = t0; _.currentDate = t1; _.onChanged = t2; _.firstDate = t3; _.lastDate = t4; _.displayedMonth = t5; _.selectableDayPredicate = t6; _.key = t7; }, _DayPickerState: function _DayPickerState(t0) { var _ = this; _.___DayPickerState__dayFocusNodes = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _DayPickerState_build_closure: function _DayPickerState_build_closure(t0, t1) { this.$this = t0; this.dayToBuild = t1; }, _DayPickerGridDelegate: function _DayPickerGridDelegate() { }, YearPicker: function YearPicker(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.currentDate = t0; _.firstDate = t1; _.lastDate = t2; _.initialDate = t3; _.selectedDate = t4; _.onChanged = t5; _.key = t6; }, _YearPickerState: function _YearPickerState(t0) { var _ = this; _.___YearPickerState__scrollController = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _YearPickerState__buildYearItem_closure: function _YearPickerState__buildYearItem_closure(t0, t1) { this.$this = t0; this.year = t1; }, _YearPickerGridDelegate: function _YearPickerGridDelegate() { }, __DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin: function __DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin() { }, Card$(child, color, elevation, key, margin, shadowColor, shape) { return new A.Card(color, shadowColor, elevation, shape, margin, child, key); }, Card: function Card(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.color = t0; _.shadowColor = t1; _.elevation = t2; _.shape = t3; _.margin = t4; _.child = t5; _.key = t6; }, CardTheme: function CardTheme(t0, t1, t2, t3, t4, t5) { var _ = this; _.clipBehavior = t0; _.color = t1; _.shadowColor = t2; _.elevation = t3; _.margin = t4; _.shape = t5; }, _CardTheme_Object_Diagnosticable: function _CardTheme_Object_Diagnosticable() { }, Checkbox$(activeColor, autofocus, checkColor, fillColor, materialTapTargetSize, onChanged, tristate, value) { return new A.Checkbox(value, onChanged, activeColor, fillColor, checkColor, tristate, materialTapTargetSize, false, null); }, Checkbox: function Checkbox(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.value = t0; _.onChanged = t1; _.activeColor = t2; _.fillColor = t3; _.checkColor = t4; _.tristate = t5; _.materialTapTargetSize = t6; _.autofocus = t7; _.key = t8; }, _CheckboxState: function _CheckboxState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._checkbox$_painter = t0; _._previousValue = null; _.ToggleableStateMixin___ToggleableStateMixin__positionController = t1; _.ToggleableStateMixin___ToggleableStateMixin__position = t2; _.ToggleableStateMixin___ToggleableStateMixin__reactionController = t3; _.ToggleableStateMixin___ToggleableStateMixin__reaction = t4; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = t5; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t6; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = t7; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t8; _.ToggleableStateMixin___ToggleableStateMixin__actionMap = t9; _.ToggleableStateMixin__downPosition = t10; _.ToggleableStateMixin__focused = t11; _.ToggleableStateMixin__hovering = t12; _.TickerProviderStateMixin__tickers = t13; _._widget = null; _._debugLifecycleState = t14; _._framework$_element = null; }, _CheckboxState__widgetFillColor_closure: function _CheckboxState__widgetFillColor_closure(t0) { this.$this = t0; }, _CheckboxState__defaultFillColor_closure: function _CheckboxState__defaultFillColor_closure(t0) { this.themeData = t0; }, _CheckboxState_build_closure: function _CheckboxState_build_closure(t0, t1) { this.$this = t0; this.themeData = t1; }, _CheckboxPainter: function _CheckboxPainter(t0) { var _ = this; _._isHovered = _._isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._reaction = _._toggleable$_position = _._side = _._checkbox$_shape = _._previousValue = _._checkbox$_value = _._checkColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, __CheckboxState_State_TickerProviderStateMixin: function __CheckboxState_State_TickerProviderStateMixin() { }, __CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin: function __CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, CheckboxListTile$(checkColor, controlAffinity, onChanged, title, value) { return new A.CheckboxListTile(value, onChanged, checkColor, title, controlAffinity, null); }, CheckboxListTile: function CheckboxListTile(t0, t1, t2, t3, t4, t5) { var _ = this; _.value = t0; _.onChanged = t1; _.checkColor = t2; _.title = t3; _.controlAffinity = t4; _.key = t5; }, CheckboxThemeData__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties1(a, b, t, lerpFunction, $T._eval$1("_LerpProperties1<0>")); }, CheckboxThemeData__lerpSides(a, b, t) { if (a == null && b == null) return null; a.toString; b.toString; return A.BorderSide_lerp(a, b, t); }, 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; }, _LerpProperties1: function _LerpProperties1(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _CheckboxThemeData_Object_Diagnosticable: function _CheckboxThemeData_Object_Diagnosticable() { }, Chip$(backgroundColor, elevation, label) { return new A.Chip(label, backgroundColor, elevation, null); }, _RenderChip__boxRect(box) { var t1, t2, t3; if (box == null) t1 = B.Rect_0_0_0_0; else { t1 = box.parentData; t1.toString; t1 = type$.BoxParentData._as(t1).offset; t2 = box._size; t2.toString; t3 = t1._dx; t1 = t1._dy; t2 = new A.Rect(t3, t1, t3 + t2._dx, t1 + t2._dy); t1 = t2; } return t1; }, _hitIsOnDeleteIcon(chipSize, deleteButtonSize, padding, tapPosition, textDirection) { var adjustedPosition, t2, accessibleDeleteButtonWidth, t1 = chipSize._dx - padding.get$horizontal(); padding.get$_top(padding); padding.get$_bottom(padding); adjustedPosition = tapPosition.$sub(0, new A.Offset(padding.left, padding.top)); t2 = deleteButtonSize._dx; accessibleDeleteButtonWidth = Math.min(t1 * 0.499, Math.max(t2, 24 + t2 / 2)); switch (textDirection.index) { case 1: return adjustedPosition._dx >= t1 - accessibleDeleteButtonWidth; case 0: return adjustedPosition._dx <= accessibleDeleteButtonWidth; } }, Chip: function Chip(t0, t1, t2, t3) { var _ = this; _.label = t0; _.backgroundColor = t1; _.elevation = t2; _.key = t3; }, RawChip: function RawChip(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.avatar = t0; _.label = t1; _.labelStyle = t2; _.labelPadding = t3; _.deleteIcon = t4; _.onDeleted = t5; _.deleteIconColor = t6; _.useDeleteButtonTooltip = t7; _.deleteButtonTooltipMessage = t8; _.side = t9; _.shape = t10; _.clipBehavior = t11; _.focusNode = t12; _.autofocus = t13; _.backgroundColor = t14; _.padding = t15; _.visualDensity = t16; _.materialTapTargetSize = t17; _.elevation = t18; _.shadowColor = t19; _.tapEnabled = t20; _.key = t21; }, _RawChipState: function _RawChipState(t0, t1, t2) { var _ = this; _.___RawChipState_selectionFade = _.___RawChipState_enableAnimation = _.___RawChipState_deleteDrawerAnimation = _.___RawChipState_avatarDrawerAnimation = _.___RawChipState_checkmarkAnimation = _.___RawChipState_enableController = _.___RawChipState_deleteDrawerController = _.___RawChipState_avatarDrawerController = _.___RawChipState_selectController = $; _._isTapping = false; _.TickerProviderStateMixin__tickers = t0; _.MaterialStateMixin_materialStates = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _RawChipState__handleTapDown_closure: function _RawChipState__handleTapDown_closure(t0) { this.$this = t0; }, _RawChipState__handleTapCancel_closure: function _RawChipState__handleTapCancel_closure(t0) { this.$this = t0; }, _RawChipState__handleTap_closure: function _RawChipState__handleTap_closure(t0) { this.$this = t0; }, _RawChipState_build_closure: function _RawChipState_build_closure(t0, t1, t2) { this.$this = t0; this.resolvedShape = t1; this.chipTheme = t2; }, _ChipRedirectingHitDetectionWidget: function _ChipRedirectingHitDetectionWidget(t0, t1, t2) { this.constraints = t0; this.child = t1; this.key = t2; }, _RenderChipRedirectingHitDetection: function _RenderChipRedirectingHitDetection(t0, t1, t2) { var _ = this; _._additionalConstraints = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderChipRedirectingHitDetection_hitTest_closure: function _RenderChipRedirectingHitDetection_hitTest_closure(t0, t1) { this.$this = t0; this.offset = t1; }, _ChipRenderWidget: function _ChipRenderWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.theme = t0; _.value = t1; _.isEnabled = t2; _.checkmarkAnimation = t3; _.avatarDrawerAnimation = t4; _.deleteDrawerAnimation = t5; _.enableAnimation = t6; _.avatarBorder = t7; _.key = t8; }, _ChipSlot: function _ChipSlot(t0, t1) { this.index = t0; this._core$_name = t1; }, _RenderChipElement: function _RenderChipElement(t0, t1, t2, t3, t4) { var _ = this; _.slotToChild = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _ChipRenderTheme: function _ChipRenderTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.avatar = t0; _.label = t1; _.deleteIcon = t2; _.brightness = t3; _.padding = t4; _.visualDensity = t5; _.labelPadding = t6; _.showAvatar = t7; _.showCheckmark = t8; _.checkmarkColor = t9; _.canTapBody = t10; }, _RenderChip: function _RenderChip(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.children = t0; _.value = t1; _.isEnabled = t2; _.___RenderChip__pressRect = _.___RenderChip__deleteButtonRect = $; _.checkmarkAnimation = t3; _.avatarDrawerAnimation = t4; _.deleteDrawerAnimation = t5; _.enableAnimation = t6; _.avatarBorder = t7; _._chip$_label = _._deleteIcon = _._avatar = null; _._theme = t8; _._chip$_textDirection = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderChip_debugDescribeChildren_add: function _RenderChip_debugDescribeChildren_add(t0) { this.value = t0; }, _RenderChip_hitTest_closure: function _RenderChip_hitTest_closure(t0, t1) { this.center = t0; this.hitTestChild = t1; }, _RenderChip_performLayout_centerLayout: function _RenderChip_performLayout_centerLayout(t0, t1) { this.$this = t0; this.sizes = t1; }, _RenderChip__paintAvatar_paintWithOverlay: function _RenderChip__paintAvatar_paintWithOverlay(t0) { this.$this = t0; }, _RenderChip__paintChild_closure: function _RenderChip__paintChild_closure(t0) { this.child = t0; }, _ChipSizes: function _ChipSizes(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.size = t0; _.overall = t1; _.content = t2; _.avatar = t3; _.label = t4; _.deleteIcon = t5; _.densityAdjustment = t6; }, __RawChipState_State_MaterialStateMixin: function __RawChipState_State_MaterialStateMixin() { }, __RawChipState_State_MaterialStateMixin_TickerProviderStateMixin: function __RawChipState_State_MaterialStateMixin_TickerProviderStateMixin() { }, ChipThemeData$(backgroundColor, brightness, checkmarkColor, deleteIconColor, disabledColor, elevation, labelPadding, labelStyle, padding, pressElevation, secondaryLabelStyle, secondarySelectedColor, selectedColor, selectedShadowColor, shadowColor, shape, side) { return new A.ChipThemeData(backgroundColor, deleteIconColor, disabledColor, selectedColor, secondarySelectedColor, shadowColor, selectedShadowColor, checkmarkColor, labelPadding, padding, side, shape, labelStyle, secondaryLabelStyle, brightness, elevation, pressElevation); }, ChipThemeData_ChipThemeData$fromDefaults(brightness, labelStyle, secondaryColor) { var backgroundColor, deleteIconColor, disabledColor, selectedColor, secondarySelectedColor, secondaryLabelStyle, _null = null, primaryColor = brightness === B.Brightness_1 ? B.Color_4278190080 : B.Color_4294967295, t1 = primaryColor.value, t2 = t1 >>> 16 & 255, t3 = t1 >>> 8 & 255; t1 &= 255; backgroundColor = A.Color$fromARGB(31, t2, t3, t1); deleteIconColor = A.Color$fromARGB(222, t2, t3, t1); disabledColor = A.Color$fromARGB(12, t2, t3, t1); selectedColor = A.Color$fromARGB(61, t2, t3, t1); secondarySelectedColor = A.Color$fromARGB(61, secondaryColor.get$value(secondaryColor) >>> 16 & 255, secondaryColor.get$value(secondaryColor) >>> 8 & 255, secondaryColor.get$value(secondaryColor) & 255); secondaryLabelStyle = labelStyle.copyWith$1$color(A.Color$fromARGB(222, secondaryColor.get$value(secondaryColor) >>> 16 & 255, secondaryColor.get$value(secondaryColor) >>> 8 & 255, secondaryColor.get$value(secondaryColor) & 255)); return A.ChipThemeData$(backgroundColor, brightness, _null, deleteIconColor, disabledColor, _null, _null, labelStyle.copyWith$1$color(A.Color$fromARGB(222, t2, t3, t1)), B.EdgeInsets_4_4_4_4, _null, secondaryLabelStyle, secondarySelectedColor, selectedColor, _null, _null, _null, _null); }, ChipThemeData_lerp(a, b, t) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t1 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t); t1.toString; t2 = A.Color_lerp(a.deleteIconColor, b.deleteIconColor, t); t3 = A.Color_lerp(a.disabledColor, b.disabledColor, t); t3.toString; t4 = A.Color_lerp(a.selectedColor, b.selectedColor, t); t4.toString; t5 = A.Color_lerp(a.secondarySelectedColor, b.secondarySelectedColor, t); t5.toString; t6 = A.Color_lerp(a.shadowColor, b.shadowColor, t); t7 = A.Color_lerp(a.selectedShadowColor, b.selectedShadowColor, t); t8 = A.Color_lerp(a.checkmarkColor, b.checkmarkColor, t); t9 = A.EdgeInsetsGeometry_lerp(a.labelPadding, b.labelPadding, t); t10 = A.EdgeInsetsGeometry_lerp(a.padding, b.padding, t); t10.toString; t11 = A.ChipThemeData__lerpSides(a.side, b.side, t); t12 = A.ChipThemeData__lerpShapes(a.shape, b.shape, t); t13 = A.TextStyle_lerp(a.labelStyle, b.labelStyle, t); t13.toString; t14 = A.TextStyle_lerp(a.secondaryLabelStyle, b.secondaryLabelStyle, t); t14.toString; if (t < 0.5) t15 = a.brightness; else t15 = b.brightness; t16 = A.lerpDouble(a.elevation, b.elevation, t); return A.ChipThemeData$(t1, t15, t8, t2, t3, t16, t9, t13, t10, A.lerpDouble(a.pressElevation, b.pressElevation, t), t14, t5, t4, t7, t6, t12, t11); }, 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), 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), 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) { var _ = this; _.backgroundColor = t0; _.deleteIconColor = t1; _.disabledColor = t2; _.selectedColor = t3; _.secondarySelectedColor = t4; _.shadowColor = t5; _.selectedShadowColor = t6; _.checkmarkColor = t7; _.labelPadding = t8; _.padding = t9; _.side = t10; _.shape = t11; _.labelStyle = t12; _.secondaryLabelStyle = t13; _.brightness = t14; _.elevation = t15; _.pressElevation = t16; }, _ChipThemeData_Object_Diagnosticable: function _ChipThemeData_Object_Diagnosticable() { }, CircleAvatar$(child, radius) { return new A.CircleAvatar(child, radius, null); }, CircleAvatar: function CircleAvatar(t0, t1, t2) { this.child = t0; this.radius = t1; this.key = t2; }, ColorScheme: function ColorScheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.primary = t0; _.primaryVariant = t1; _.secondary = t2; _.secondaryVariant = t3; _.surface = t4; _.background = t5; _.error = t6; _.onPrimary = t7; _.onSecondary = t8; _.onSurface = t9; _.onBackground = t10; _.onError = t11; _.brightness = t12; }, _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; }, DataCell$(child) { return new A.DataCell(child); }, DataTable$(columnSpacing, columns, dataRowColor, dataRowHeight, dataTextStyle, decoration, dividerThickness, headingRowColor, headingRowHeight, headingTextStyle, horizontalMargin, rows, showBottomBorder, showCheckboxColumn) { return new A.DataTable(columns, decoration, dataRowColor, dataRowHeight, dataTextStyle, headingRowColor, headingRowHeight, headingTextStyle, horizontalMargin, columnSpacing, showCheckboxColumn, rows, dividerThickness, showBottomBorder, A.DataTable__initOnlyTextColumn(columns), null); }, DataTable__initOnlyTextColumn(columns) { var t1, result, index, index0; for (t1 = columns.length, result = null, index = 0; index < t1; index0 = index + 1, result = index, index = index0) if (result != null) return null; return result; }, TableRowInkWell$(child, onLongPress, onTap, overlayColor) { var _null = null; return new A.TableRowInkWell(child, onTap, _null, _null, _null, onLongPress, _null, _null, _null, true, B.BoxShape_0, _null, _null, _null, _null, _null, _null, overlayColor, _null, _null, true, false, _null, false, _null, true, _null); }, DataColumn: function DataColumn(t0, t1) { this.label = t0; this.numeric = t1; }, DataRow: function DataRow(t0, t1) { this.cells = t0; this.color = t1; }, DataCell: function DataCell(t0) { this.child = t0; }, DataTable: function DataTable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.columns = t0; _.decoration = t1; _.dataRowColor = t2; _.dataRowHeight = t3; _.dataTextStyle = t4; _.headingRowColor = t5; _.headingRowHeight = t6; _.headingTextStyle = t7; _.horizontalMargin = t8; _.columnSpacing = t9; _.showCheckboxColumn = t10; _.rows = t11; _.dividerThickness = t12; _.showBottomBorder = 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) { var _ = this; _.$this = t0; _.anyRowSelectable = t1; _.effectiveDataRowColor = t2; _.effectiveHeadingRowColor = t3; _.context = t4; _.theme = t5; _.defaultRowColor = t6; _.tableColumns = t7; }, DataTable_build_closure4: function DataTable_build_closure4(t0, t1) { this.$this = t0; this.someChecked = t1; }, TableRowInkWell: function TableRowInkWell(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapCancel = t3; _.onDoubleTap = t4; _.onLongPress = t5; _.onHighlightChanged = t6; _.onHover = t7; _.mouseCursor = t8; _.containedInkWell = t9; _.highlightShape = t10; _.radius = t11; _.borderRadius = t12; _.customBorder = t13; _.focusColor = t14; _.hoverColor = t15; _.highlightColor = t16; _.overlayColor = t17; _.splashColor = t18; _.splashFactory = t19; _.enableFeedback = t20; _.excludeFromSemantics = t21; _.onFocusChange = t22; _.autofocus = t23; _.focusNode = t24; _.canRequestFocus = t25; _.key = t26; }, TableRowInkWell_getRectCallback_closure: function TableRowInkWell_getRectCallback_closure(t0) { this.referenceBox = t0; }, _NullTableColumnWidth: function _NullTableColumnWidth() { }, _NullWidget0: function _NullWidget0(t0) { this.key = t0; }, DataTableThemeData__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties2(a, b, t, lerpFunction, $T._eval$1("_LerpProperties2<0>")); }, DataTableThemeData: function DataTableThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.decoration = t0; _.dataRowColor = t1; _.dataRowHeight = t2; _.dataTextStyle = t3; _.headingRowColor = t4; _.headingRowHeight = t5; _.headingTextStyle = t6; _.horizontalMargin = t7; _.columnSpacing = t8; _.dividerThickness = t9; _.checkboxHorizontalMargin = t10; }, _LerpProperties2: function _LerpProperties2(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _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_WB4[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) { return A.showDatePicker$body(context, firstDate, initialDate, lastDate); }, showDatePicker$body(context, firstDate, initialDate, lastDate) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_DateTime), $async$returnValue, t3, t4, t5, 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); 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)); 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)); t1.dialog = new A.DatePickerDialog(new A.DateTime(t2, false), 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); $async$returnValue = A.showDialog(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) { 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; _.key = t14; }, _DatePickerDialogState: function _DatePickerDialogState(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.___DatePickerDialogState__entryMode = _.___DatePickerDialogState__selectedDate = $; _._date_picker$_autovalidateMode = t0; _._calendarPickerKey = t1; _._date_picker$_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) { var _ = this; _._box_0 = t0; _.orientation = t1; _.header = t2; _.actions = t3; }, _RestorableDatePickerEntryMode: function _RestorableDatePickerEntryMode(t0, t1) { var _ = this; _._date_picker$_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; }, _RestorableAutovalidateMode0: function _RestorableAutovalidateMode0(t0, t1) { var _ = this; _._date_picker$_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() { }, _DesktopTextSelectionControls: function _DesktopTextSelectionControls() { }, Dialog$(alignment, backgroundColor, child, clipBehavior, elevation, insetPadding, shape) { return new A.Dialog(backgroundColor, elevation, insetPadding, clipBehavior, shape, alignment, child, null); }, AlertDialog$(actions, backgroundColor, buttonPadding, $content, contentPadding, elevation, insetPadding, scrollable, shape, title, titlePadding) { return new A.AlertDialog(title, titlePadding, $content, contentPadding, actions, buttonPadding, backgroundColor, elevation, insetPadding, shape, scrollable, null); }, _buildMaterialDialogTransitions(context, animation, secondaryAnimation, child) { return A.FadeTransition$(false, child, A.CurvedAnimation$(B.Cubic_xDo0, animation, null)); }, showDialog(builder, context, routeSettings, useRootNavigator, $T) { var themes, t1 = A.Navigator_of(context, true)._framework$_element; t1.toString; themes = A.InheritedTheme_capture(context, t1); return A.Navigator_of(context, true).push$1(A.DialogRoute$(B.Color_2315255808, true, null, builder, context, routeSettings, themes, true, $T)); }, DialogRoute$(barrierColor, barrierDismissible, barrierLabel, builder, context, settings, themes, useSafeArea, $T) { var t2, t3, t4, t5, t6, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; 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 = A.List_List$filled(0, _null, false, type$.nullable_void_Function); t6 = $.Zone__current; return new A.DialogRoute(new A.DialogRoute_closure(builder, themes, true), true, "Dismiss", barrierColor, B.Duration_150000, A.dialog___buildMaterialDialogTransitions$closure(), _null, t1, new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, new A._AsyncCompleter(new A._Future(t2, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t3, t4, B.RouteSettings_null_null, new A.ValueNotifier(_null, t5, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t6, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), $T._eval$1("DialogRoute<0>")); }, _paddingScaleFactor(textScaleFactor) { var t1 = A.lerpDouble(1, 0.3333333333333333, B.JSNumber_methods.clamp$2(textScaleFactor, 1, 2) - 1); t1.toString; return t1; }, Dialog: function Dialog(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.insetPadding = t2; _.clipBehavior = t3; _.shape = t4; _.alignment = t5; _.child = t6; _.key = t7; }, AlertDialog: function AlertDialog(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.title = t0; _.titlePadding = t1; _.content = t2; _.contentPadding = t3; _.actions = t4; _.buttonPadding = t5; _.backgroundColor = t6; _.elevation = t7; _.insetPadding = t8; _.shape = t9; _.scrollable = t10; _.key = t11; }, SimpleDialog: function SimpleDialog(t0, t1) { this.children = t0; this.key = t1; }, DialogRoute: function DialogRoute(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _._pageBuilder = t0; _._routes$_barrierDismissible = t1; _._barrierLabel = t2; _._barrierColor = t3; _._transitionDuration = t4; _._transitionBuilder = t5; _.filter = t6; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t7; _._scopeKey = t8; _._subtreeKey = t9; _._storageBucket = t10; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t11; _._transitionCompleter = t12; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t13; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t14; _._navigator$_navigator = null; _._settings = t15; _._restorationScopeId = t16; _._popCompleter = t17; _.$ti = t18; }, DialogRoute_closure: function DialogRoute_closure(t0, t1, t2) { this.builder = t0; this.themes = t1; this.useSafeArea = t2; }, DialogTheme: function DialogTheme(t0, t1, t2, t3, t4, t5) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.shape = t2; _.alignment = t3; _.titleTextStyle = t4; _.contentTextStyle = t5; }, _DialogTheme_Object_Diagnosticable: function _DialogTheme_Object_Diagnosticable() { }, Divider$() { return new A.Divider(null); }, Divider_createBorderSide(context, color, width) { var t1, effectiveColor, effectiveWidth; if (color == null) { t1 = A.DividerTheme_of(context).color; if (t1 == null) t1 = A.Theme_of(context).dividerColor; effectiveColor = t1; } else effectiveColor = color; effectiveWidth = width; return new A.BorderSide(effectiveColor, effectiveWidth, B.BorderStyle_1); }, VerticalDivider$(color, thickness) { return new A.VerticalDivider(thickness, null, null, color, null); }, Divider: function Divider(t0) { this.key = t0; }, VerticalDivider: function VerticalDivider(t0, t1, t2, t3, t4) { var _ = this; _.thickness = t0; _.indent = t1; _.endIndent = t2; _.color = t3; _.key = t4; }, 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() { }, DrawerAlignment: function DrawerAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, 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) { var _ = this; _._historyEntry = null; _._drawer$_focusScopeNode = t0; _.__DrawerControllerState__controller = $; _._drawerKey = t1; _._previouslyOpened = false; _.__DrawerControllerState__scrimColorTween = $; _._drawer$_gestureDetectorKey = t2; _.SingleTickerProviderStateMixin__ticker = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, DrawerControllerState__animationChanged_closure: function DrawerControllerState__animationChanged_closure() { }, _DrawerControllerState_State_SingleTickerProviderStateMixin: function _DrawerControllerState_State_SingleTickerProviderStateMixin() { }, DrawerThemeData_lerp(a, b, t) { var 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); return new A.DrawerThemeData(t1, t2, t3, A.ShapeBorder_lerp(a.shape, b.shape, t)); }, DrawerThemeData: function DrawerThemeData(t0, t1, t2, t3) { var _ = this; _.backgroundColor = t0; _.scrimColor = t1; _.elevation = t2; _.shape = t3; }, _DrawerThemeData_Object_Diagnosticable: function _DrawerThemeData_Object_Diagnosticable() { }, _DropdownMenuPainter0: function _DropdownMenuPainter0(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; }, _DropdownMenuItemButton0: function _DropdownMenuItemButton0(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.route = t0; _.padding = t1; _.buttonRect = t2; _.constraints = t3; _.itemIndex = t4; _.enableFeedback = t5; _.borderRadius = t6; _.key = t7; _.$ti = t8; }, _DropdownMenuItemButtonState0: function _DropdownMenuItemButtonState0(t0, t1) { var _ = this; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownMenu0: function _DropdownMenu0(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.route = t0; _.padding = t1; _.buttonRect = t2; _.constraints = t3; _.dropdownColor = t4; _.enableFeedback = t5; _.borderRadius = t6; _.key = t7; _.$ti = t8; }, _DropdownMenuState0: function _DropdownMenuState0(t0, t1) { var _ = this; _._dropdown$___DropdownMenuState__resize = _._dropdown$___DropdownMenuState__fadeOpacity = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownMenuState_build_closure0: function _DropdownMenuState_build_closure0(t0) { this.route = t0; }, _DropdownMenuRouteLayout0: function _DropdownMenuRouteLayout0(t0, t1, t2, t3) { var _ = this; _.buttonRect = t0; _.route = t1; _.textDirection = t2; _.$ti = t3; }, _DropdownRouteResult0: function _DropdownRouteResult0(t0, t1) { this.result = t0; this.$ti = t1; }, _MenuLimits0: function _MenuLimits0(t0, t1, t2) { this.top = t0; this.height = t1; this.scrollOffset = t2; }, _DropdownRoute0: function _DropdownRoute0(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; _.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; _.scrollController = null; _.barrierLabel = t13; _.filter = t14; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t15; _._scopeKey = t16; _._subtreeKey = t17; _._storageBucket = t18; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t19; _._transitionCompleter = t20; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t21; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t22; _._navigator$_navigator = null; _._settings = t23; _._restorationScopeId = t24; _._popCompleter = t25; _.$ti = t26; }, _DropdownRoute_buildPage_closure0: function _DropdownRoute_buildPage_closure0(t0) { this.$this = t0; }, _DropdownRoute_getItemOffset_closure0: function _DropdownRoute_getItemOffset_closure0() { }, _DropdownRoute_getMenuLimits_closure0: function _DropdownRoute_getMenuLimits_closure0() { }, _DropdownRoutePage0: function _DropdownRoutePage0(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; }, _DropdownRoutePage_build_closure0: function _DropdownRoutePage_build_closure0(t0, t1, t2) { this.$this = t0; this.textDirection = t1; this.menu = t2; }, _MenuItem1: function _MenuItem1(t0, t1, t2, t3, t4) { var _ = this; _.onLayout = t0; _.item = t1; _.child = t2; _.key = t3; _.$ti = t4; }, _RenderMenuItem1: function _RenderMenuItem1(t0, t1, t2) { var _ = this; _.onLayout = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _DropdownMenuItemContainer0: function _DropdownMenuItemContainer0() { }, DropdownMenuItem: function DropdownMenuItem(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.child = t1; _.alignment = t2; _.key = t3; _.$ti = t4; }, DropdownButtonHideUnderline: function DropdownButtonHideUnderline(t0, t1) { this.child = t0; this.key = t1; }, DropdownButton: function DropdownButton(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.items = t0; _.value = t1; _.onChanged = t2; _.underline = t3; _.icon = t4; _.key = t5; _.$ti = t6; }, _DropdownButtonState0: function _DropdownButtonState0(t0, t1) { var _ = this; _._dropdown$_internalNode = _._dropdown$_lastOrientation = _._dropdown$_dropdownRoute = _._dropdown$_selectedIndex = null; _._dropdown$_hasPrimaryFocus = false; _._dropdown$___DropdownButtonState__focusHighlightMode = _._dropdown$___DropdownButtonState__actionMap = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _DropdownButtonState_initState_closure1: function _DropdownButtonState_initState_closure1(t0) { this.$this = t0; }, _DropdownButtonState_initState_closure2: function _DropdownButtonState_initState_closure2(t0) { this.$this = t0; }, _DropdownButtonState__handleFocusChanged_closure0: function _DropdownButtonState__handleFocusChanged_closure0(t0) { this.$this = t0; }, _DropdownButtonState__handleFocusHighlightModeChange_closure0: function _DropdownButtonState__handleFocusHighlightModeChange_closure0(t0, t1) { this.$this = t0; this.mode = t1; }, _DropdownButtonState__handleTap_closure1: function _DropdownButtonState__handleTap_closure1(t0, t1) { this.$this = t0; this.index = t1; }, _DropdownButtonState__handleTap_closure2: function _DropdownButtonState__handleTap_closure2(t0) { this.$this = t0; }, _DropdownButtonState_build_closure0: function _DropdownButtonState_build_closure0(t0) { this.$this = t0; }, __DropdownButtonState_State_WidgetsBindingObserver: function __DropdownButtonState_State_WidgetsBindingObserver() { }, ElevatedButton$(autofocus, child, clipBehavior, focusNode, key, onFocusChange, onHover, onLongPress, onPressed, style) { return new A.ElevatedButton(onPressed, onLongPress, onHover, onFocusChange, style, clipBehavior, focusNode, false, child, key); }, ElevatedButton_styleFrom(alignment, animationDuration, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, fixedSize, maximumSize, minimumSize, onPrimary, onSurface, padding, primary, shadowColor, shape, side, splashFactory, tapTargetSize, textStyle, visualDensity) { var t2, t3, t4, t5, t6, t7, _null = null, t1 = onSurface == null, backgroundColor = t1 && primary == null ? _null : new A._ElevatedButtonDefaultBackground(primary, onSurface), foregroundColor = t1 && onPrimary == null ? _null : new A._ElevatedButtonDefaultForeground(onPrimary, onSurface), overlayColor = onPrimary == null ? _null : new A._ElevatedButtonDefaultOverlay(onPrimary), elevationValue = elevation == null ? _null : new A._ElevatedButtonDefaultElevation(elevation), mouseCursor = enabledMouseCursor == null && disabledMouseCursor == null ? _null : new A._ElevatedButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor); t1 = shadowColor == null ? _null : new A._MaterialStatePropertyAll(shadowColor, type$._MaterialStatePropertyAll_Color); t2 = padding == null ? _null : new A._MaterialStatePropertyAll(padding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry); t3 = minimumSize == null ? _null : new A._MaterialStatePropertyAll(minimumSize, type$._MaterialStatePropertyAll_Size); t4 = fixedSize == null ? _null : new A._MaterialStatePropertyAll(fixedSize, type$._MaterialStatePropertyAll_Size); t5 = maximumSize == null ? _null : new A._MaterialStatePropertyAll(maximumSize, type$._MaterialStatePropertyAll_Size); t6 = side == null ? _null : new A._MaterialStatePropertyAll(side, type$._MaterialStatePropertyAll_BorderSide); t7 = shape == null ? _null : new A._MaterialStatePropertyAll(shape, type$._MaterialStatePropertyAll_OutlinedBorder); return A.ButtonStyle$(alignment, animationDuration, backgroundColor, elevationValue, enableFeedback, t4, foregroundColor, t5, t3, mouseCursor, overlayColor, t2, t1, t7, t6, splashFactory, tapTargetSize, new A._MaterialStatePropertyAll(textStyle, type$._MaterialStatePropertyAll_nullable_TextStyle), visualDensity); }, _ElevatedButtonWithIcon$(icon, label, onPressed, style) { var _null = null; return new A._ElevatedButtonWithIcon(onPressed, _null, _null, _null, style, B.Clip_0, _null, false, new A._ElevatedButtonWithIconChild(label, icon, _null), _null); }, ElevatedButton: function ElevatedButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.child = t8; _.key = t9; }, _ElevatedButtonDefaultBackground: function _ElevatedButtonDefaultBackground(t0, t1) { this.primary = t0; this.onSurface = t1; }, _ElevatedButtonDefaultForeground: function _ElevatedButtonDefaultForeground(t0, t1) { this.onPrimary = t0; this.onSurface = t1; }, _ElevatedButtonDefaultOverlay: function _ElevatedButtonDefaultOverlay(t0) { this.onPrimary = t0; }, _ElevatedButtonDefaultElevation: function _ElevatedButtonDefaultElevation(t0) { this.elevation = t0; }, _ElevatedButtonDefaultMouseCursor: function _ElevatedButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _ElevatedButtonWithIcon: function _ElevatedButtonWithIcon(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.child = t8; _.key = t9; }, _ElevatedButtonWithIconChild: function _ElevatedButtonWithIconChild(t0, t1, t2) { this.label = t0; this.icon = t1; this.key = t2; }, __ElevatedButtonDefaultBackground_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultBackground_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultForeground_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultForeground_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, __ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable: function __ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable() { }, ElevatedButtonThemeData_lerp(a, b, t) { 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() { }, ExpansionTile$(children, childrenPadding, expandedAlignment, expandedCrossAxisAlignment, iconColor, key, leading, onExpansionChanged, subtitle, title, trailing) { return new A.ExpansionTile(leading, title, subtitle, onExpansionChanged, children, trailing, expandedAlignment, expandedCrossAxisAlignment, childrenPadding, iconColor, key); }, ExpansionTile: function ExpansionTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.leading = t0; _.title = t1; _.subtitle = t2; _.onExpansionChanged = t3; _.children = t4; _.trailing = t5; _.expandedAlignment = t6; _.expandedCrossAxisAlignment = t7; _.childrenPadding = t8; _.iconColor = t9; _.key = t10; }, _ExpansionTileState: function _ExpansionTileState(t0, t1, t2, t3, t4, t5) { var _ = this; _._borderColorTween = t0; _._headerColorTween = t1; _._iconColorTween = t2; _._backgroundColorTween = t3; _.___ExpansionTileState__backgroundColor = _.___ExpansionTileState__iconColor = _.___ExpansionTileState__headerColor = _.___ExpansionTileState__borderColor = _.___ExpansionTileState__heightFactor = _.___ExpansionTileState__iconTurns = _.___ExpansionTileState__controller = $; _._isExpanded = false; _.SingleTickerProviderStateMixin__ticker = t4; _._widget = null; _._debugLifecycleState = t5; _._framework$_element = null; }, _ExpansionTileState__handleTap_closure: function _ExpansionTileState__handleTap_closure(t0) { this.$this = t0; }, _ExpansionTileState__handleTap__closure: function _ExpansionTileState__handleTap__closure(t0) { this.$this = t0; }, _ExpansionTileState__handleTap___closure: function _ExpansionTileState__handleTap___closure() { }, __ExpansionTileState_State_SingleTickerProviderStateMixin: function __ExpansionTileState_State_SingleTickerProviderStateMixin() { }, 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; }, FlexibleSpaceBarSettings: function FlexibleSpaceBarSettings(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.toolbarOpacity = t0; _.minExtent = t1; _.maxExtent = t2; _.currentExtent = t3; _.isScrolledUnder = t4; _.child = t5; _.key = t6; }, _DefaultHeroTag: function _DefaultHeroTag() { }, _FloatingActionButtonType: function _FloatingActionButtonType(t0, t1) { this.index = t0; this._core$_name = t1; }, FloatingActionButton: function FloatingActionButton(t0, t1, t2, t3) { var _ = this; _.child = t0; _.onPressed = t1; _._floatingActionButtonType = t2; _.key = t3; }, _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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _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() { }, FabFloatOffsetY: function FabFloatOffsetY() { }, FabEndOffsetX: function FabEndOffsetX() { }, _EndFloatFabLocation: function _EndFloatFabLocation() { }, 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; }, __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX: function __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX() { }, __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX_FabFloatOffsetY: function __EndFloatFabLocation_StandardFabLocation_FabEndOffsetX_FabFloatOffsetY() { }, FloatingActionButtonThemeData_lerp(a, b, t) { var t12, t13, t14, t15, t16, t17, t18, 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); if (t < 0.5) t12 = a.enableFeedback; else t12 = b.enableFeedback; t13 = A.BoxConstraints_lerp(a.sizeConstraints, b.sizeConstraints, t); t14 = A.BoxConstraints_lerp(a.smallSizeConstraints, b.smallSizeConstraints, t); t15 = A.BoxConstraints_lerp(a.largeSizeConstraints, b.largeSizeConstraints, t); t16 = A.BoxConstraints_lerp(a.extendedSizeConstraints, b.extendedSizeConstraints, t); t17 = A.lerpDouble(a.extendedIconLabelSpacing, b.extendedIconLabelSpacing, t); t18 = A.EdgeInsetsGeometry_lerp(a.extendedPadding, b.extendedPadding, t); return new A.FloatingActionButtonThemeData(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, A.TextStyle_lerp(a.extendedTextStyle, b.extendedTextStyle, t)); }, FloatingActionButtonThemeData: function FloatingActionButtonThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { 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; _.sizeConstraints = t12; _.smallSizeConstraints = t13; _.largeSizeConstraints = t14; _.extendedSizeConstraints = t15; _.extendedIconLabelSpacing = t16; _.extendedPadding = t17; _.extendedTextStyle = t18; }, _FloatingActionButtonThemeData_Object_Diagnosticable: function _FloatingActionButtonThemeData_Object_Diagnosticable() { }, IconButton$(alignment, color, constraints, enableFeedback, icon, iconSize, onPressed, padding, splashRadius, tooltip, visualDensity) { return new A.IconButton(iconSize, visualDensity, padding, alignment, splashRadius, icon, color, onPressed, tooltip, true, constraints, null); }, IconButton: function IconButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.iconSize = t0; _.visualDensity = t1; _.padding = t2; _.alignment = t3; _.splashRadius = t4; _.icon = t5; _.color = t6; _.onPressed = t7; _.tooltip = t8; _.enableFeedback = t9; _.constraints = t10; _.key = t11; }, Ink: function Ink(t0, t1, t2) { this.child = t0; this.decoration = t1; this.key = t2; }, _InkState: function _InkState(t0, t1) { var _ = this; _._boxKey = t0; _._widget = _._ink = null; _._debugLifecycleState = t1; _._framework$_element = null; }, InkDecoration: function InkDecoration(t0, t1, t2, t3) { var _ = this; _._ink_decoration$_decoration = _._ink_decoration$_painter = null; _._ink_decoration$_configuration = t0; _._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; _._ink_highlight$_customBorder = t3; _._rectCallback = t4; _._ink_highlight$_textDirection = t5; _.__InkHighlight__alphaController = _.__InkHighlight__alpha = $; _._active = true; _._ink_well$_color = t6; _._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; }, _getClipCallback_closure0: function _getClipCallback_closure0(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; _._customBorder = t2; _._ink_ripple$_targetRadius = t3; _._clipCallback = t4; _._ink_ripple$_textDirection = t5; _.__InkRipple__fadeOutController = _.__InkRipple__fadeOut = _.__InkRipple__fadeInController = _.__InkRipple__fadeIn = _.__InkRipple__radiusController = _.__InkRipple__radius = $; _._ink_well$_color = t6; _._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; }, _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 { t1 = referenceBox._size; t1.toString; size = t1; } 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_closure: function _getClipCallback_closure(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; _._ink_splash$_customBorder = t2; _._targetRadius = t3; _._ink_splash$_clipCallback = t4; _._repositionToReferenceBox = t5; _._ink_splash$_textDirection = t6; _.__InkSplash__alpha = _.__InkSplash__radiusController = _.__InkSplash__radius = $; _._alphaController = null; _._ink_well$_color = t7; _._controller = t8; _.referenceBox = t9; _.onRemoved = t10; _._material$_debugDisposed = false; }, InkResponse$(autofocus, borderRadius, canRequestFocus, child, containedInkWell, customBorder, enableFeedback, excludeFromSemantics, focusColor, focusNode, highlightColor, highlightShape, hoverColor, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onTap, onTapCancel, onTapDown, overlayColor, radius, splashColor, splashFactory) { return new A.InkResponse(child, onTap, onTapDown, onTapCancel, onDoubleTap, onLongPress, onHighlightChanged, onHover, mouseCursor, containedInkWell, highlightShape, radius, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback, false, onFocusChange, autofocus, focusNode, canRequestFocus, key); }, InkWell$(autofocus, borderRadius, canRequestFocus, child, customBorder, enableFeedback, focusColor, focusNode, highlightColor, hoverColor, key, mouseCursor, onDoubleTap, onFocusChange, onHighlightChanged, onHover, onLongPress, onTap, onTapCancel, onTapDown, overlayColor, radius, splashColor, splashFactory) { return new A.InkWell(child, onTap, onTapDown, onTapCancel, onDoubleTap, onLongPress, onHighlightChanged, onHover, mouseCursor, true, B.BoxShape_0, radius, borderRadius, customBorder, focusColor, hoverColor, highlightColor, overlayColor, splashColor, splashFactory, enableFeedback !== false, false, onFocusChange, autofocus, focusNode, canRequestFocus, key); }, InteractiveInkFeature: function InteractiveInkFeature() { }, InteractiveInkFeatureFactory: function InteractiveInkFeatureFactory() { }, _ParentInkResponseProvider: function _ParentInkResponseProvider(t0, t1, t2) { this.state = t0; this.child = t1; this.key = t2; }, InkResponse: function InkResponse(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapCancel = t3; _.onDoubleTap = t4; _.onLongPress = t5; _.onHighlightChanged = t6; _.onHover = t7; _.mouseCursor = t8; _.containedInkWell = t9; _.highlightShape = t10; _.radius = t11; _.borderRadius = t12; _.customBorder = t13; _.focusColor = t14; _.hoverColor = t15; _.highlightColor = t16; _.overlayColor = t17; _.splashColor = t18; _.splashFactory = t19; _.enableFeedback = t20; _.excludeFromSemantics = t21; _.onFocusChange = t22; _.autofocus = t23; _.focusNode = t24; _.canRequestFocus = t25; _.key = t26; }, _InkResponseStateWidget: function _InkResponseStateWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapCancel = t3; _.onDoubleTap = t4; _.onLongPress = t5; _.onHighlightChanged = t6; _.onHover = t7; _.mouseCursor = t8; _.containedInkWell = t9; _.highlightShape = t10; _.radius = t11; _.borderRadius = t12; _.customBorder = t13; _.focusColor = t14; _.hoverColor = t15; _.highlightColor = t16; _.overlayColor = t17; _.splashColor = t18; _.splashFactory = t19; _.enableFeedback = t20; _.excludeFromSemantics = t21; _.onFocusChange = t22; _.autofocus = t23; _.focusNode = t24; _.canRequestFocus = t25; _.parentState = t26; _.getRectCallback = t27; _.debugCheckContext = t28; _.key = t29; }, _HighlightType: function _HighlightType(t0, 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 = $; _._activeChildren = t1; _._hasFocus = false; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t2; _._widget = null; _._debugLifecycleState = t3; _._framework$_element = null; }, _InkResponseState_highlightsExist_closure: function _InkResponseState_highlightsExist_closure() { }, _InkResponseState_updateHighlight_handleInkRemoval: function _InkResponseState_updateHighlight_handleInkRemoval(t0, t1) { this.$this = t0; this.type = t1; }, _InkResponseState__createInkFeature_onRemoved: function _InkResponseState__createInkFeature_onRemoved(t0, t1) { this._box_0 = t0; this.$this = t1; }, _InkResponseState__handleFocusHighlightModeChange_closure: function _InkResponseState__handleFocusHighlightModeChange_closure(t0) { this.$this = t0; }, InkWell: function InkWell(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) { var _ = this; _.child = t0; _.onTap = t1; _.onTapDown = t2; _.onTapCancel = t3; _.onDoubleTap = t4; _.onLongPress = t5; _.onHighlightChanged = t6; _.onHover = t7; _.mouseCursor = t8; _.containedInkWell = t9; _.highlightShape = t10; _.radius = t11; _.borderRadius = t12; _.customBorder = t13; _.focusColor = t14; _.hoverColor = t15; _.highlightColor = t16; _.overlayColor = t17; _.splashColor = t18; _.splashFactory = t19; _.enableFeedback = t20; _.excludeFromSemantics = t21; _.onFocusChange = t22; _.autofocus = t23; _.focusNode = t24; _.canRequestFocus = t25; _.key = t26; }, __InkResponseState_State_AutomaticKeepAliveClientMixin: function __InkResponseState_State_AutomaticKeepAliveClientMixin() { }, 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) { var _ = this; _.initialDate = t0; _.firstDate = t1; _.lastDate = t2; _.onDateSubmitted = t3; _.onDateSaved = t4; _.selectableDayPredicate = t5; _.errorFormatText = t6; _.errorInvalidText = t7; _.fieldHintText = t8; _.fieldLabelText = t9; _.autofocus = t10; _.key = t11; }, _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; }, InputDecoration$(alignLabelWithHint, border, constraints, contentPadding, counter, counterStyle, counterText, disabledBorder, enabled, enabledBorder, errorBorder, errorMaxLines, errorStyle, errorText, fillColor, filled, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, helperText, 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, errorText, errorStyle, errorMaxLines, floatingLabelBehavior, isDense, contentPadding, false, 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, true, semanticCounterText, alignLabelWithHint, 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) { var _ = this; _.___BorderContainerState__hoverColorTween = _.___BorderContainerState__hoverAnimation = _.___BorderContainerState__border = _.___BorderContainerState__borderAnimation = _.___BorderContainerState__hoverColorController = _.___BorderContainerState__controller = $; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _.textAlign = t0; _.helperText = t1; _.helperStyle = t2; _.helperMaxLines = t3; _.errorText = t4; _.errorStyle = t5; _.errorMaxLines = t6; _.key = t7; }, _HelperErrorState: function _HelperErrorState(t0, t1) { var _ = this; _.___HelperErrorState__controller = $; _._error = _._helper = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _HelperErrorState__handleChange_closure: function _HelperErrorState__handleChange_closure() { }, FloatingLabelBehavior: function FloatingLabelBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, _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) { var _ = this; _.contentPadding = t0; _.isCollapsed = t1; _.floatingLabelHeight = t2; _.floatingLabelProgress = t3; _.border = t4; _.borderGap = t5; _.alignLabelWithHint = t6; _.isDense = t7; _.visualDensity = t8; _.icon = t9; _.input = t10; _.label = t11; _.hint = t12; _.prefix = t13; _.suffix = t14; _.prefixIcon = t15; _.suffixIcon = t16; _.helperError = t17; _.counter = t18; _.container = t19; }, _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) { var _ = this; _.children = t0; _._input_decorator$_container = _._counter = _._helperError = _._suffixIcon = _._prefixIcon = _._suffix = _._prefix = _._hint = _._label = _._input_decorator$_input = _._icon = null; _._input_decorator$_decoration = t1; _._input_decorator$_textDirection = t2; _._input_decorator$_textBaseline = t3; _._textAlignVertical = t4; _._input_decorator$_isFocused = t5; _._expands = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = _._labelTransform = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderDecoration_debugDescribeChildren_add: function _RenderDecoration_debugDescribeChildren_add(t0) { this.value = t0; }, _RenderDecoration_performLayout_centerLayout: function _RenderDecoration_performLayout_centerLayout(t0) { this._box_0 = t0; }, _RenderDecoration_performLayout_baselineLayout: function _RenderDecoration_performLayout_baselineLayout(t0, t1) { this._box_0 = 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; }, _DecorationElement: function _DecorationElement(t0, t1, t2, t3, t4) { var _ = this; _.slotToChild = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _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; }, _AffixText: function _AffixText(t0, t1, t2, t3, t4) { var _ = this; _.labelIsFloating = t0; _.text = t1; _.style = t2; _.child = t3; _.key = t4; }, 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) { var _ = this; _.___InputDecoratorState__shakingLabelController = _.___InputDecoratorState__floatingLabelController = $; _._borderGap = t0; _._effectiveDecoration = null; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _InputDecoratorState__handleChange_closure: function _InputDecoratorState__handleChange_closure() { }, _InputDecoratorState__getIconColor__resolveIconColor: function _InputDecoratorState__getIconColor__resolveIconColor(t0) { this.themeData = t0; }, _InputDecoratorState__getFloatingLabelStyle_getFallbackTextStyle: function _InputDecoratorState__getFloatingLabelStyle_getFallbackTextStyle(t0, t1) { this.$this = t0; this.themeData = t1; }, 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) { 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; _.errorText = t13; _.errorStyle = t14; _.errorMaxLines = t15; _.floatingLabelBehavior = t16; _.isDense = t17; _.contentPadding = t18; _.isCollapsed = t19; _.prefixIcon = t20; _.prefixIconConstraints = t21; _.prefix = t22; _.prefixText = t23; _.prefixStyle = t24; _.prefixIconColor = t25; _.suffixIcon = t26; _.suffix = t27; _.suffixText = t28; _.suffixStyle = t29; _.suffixIconColor = t30; _.suffixIconConstraints = t31; _.counterText = t32; _.counter = t33; _.counterStyle = t34; _.filled = t35; _.fillColor = t36; _.focusColor = t37; _.hoverColor = t38; _.errorBorder = t39; _.focusedBorder = t40; _.focusedErrorBorder = t41; _.disabledBorder = t42; _.enabledBorder = t43; _.border = t44; _.enabled = t45; _.semanticCounterText = t46; _.alignLabelWithHint = t47; _.constraints = t48; }, InputDecorationTheme: function InputDecorationTheme() { }, _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() { }, ListTileThemeData_lerp(a, b, t) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, 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.EdgeInsetsGeometry_lerp(a.contentPadding, b.contentPadding, t); t9 = A.Color_lerp(a.tileColor, b.tileColor, t); t10 = A.Color_lerp(a.selectedTileColor, b.selectedTileColor, t); t11 = A.lerpDouble(a.horizontalTitleGap, b.horizontalTitleGap, t); t12 = A.lerpDouble(a.minVerticalPadding, b.minVerticalPadding, t); t13 = A.lerpDouble(a.minLeadingWidth, b.minLeadingWidth, t); if (t1) t1 = a.enableFeedback; else t1 = b.enableFeedback; return new A.ListTileThemeData(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t1); }, ListTileTheme$(child, data, key, style) { return new A.ListTileTheme(data, style, child, key); }, ListTileTheme_of(context) { var result = context.dependOnInheritedWidgetOfExactType$1$0(type$.ListTileTheme), t1 = result == null ? null : result.get$data(result); return t1 == null ? A.Theme_of(context).listTileTheme : t1; }, ListTileTheme_merge(child, iconColor, selectedColor, textColor) { var _null = null; return new A.Builder(new A.ListTileTheme_merge_closure(_null, _null, _null, _null, selectedColor, iconColor, textColor, _null, _null, _null, _null, _null, _null, _null, child), _null); }, ListTile$(autofocus, contentPadding, dense, enableFeedback, enabled, focusNode, hoverColor, isThreeLine, leading, onTap, selected, selectedTileColor, shape, subtitle, tileColor, title, trailing, visualDensity) { return new A.ListTile(leading, title, subtitle, trailing, isThreeLine, dense, visualDensity, shape, contentPadding, enabled, onTap, selected, hoverColor, focusNode, false, tileColor, selectedTileColor, enableFeedback, null); }, _RenderListTile__layoutBox(box, constraints) { var t1; if (box == null) return B.Size_0_0; box.layout$2$parentUsesSize(0, constraints, true); t1 = box._size; t1.toString; return t1; }, ListTileStyle: function ListTileStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, ListTileControlAffinity: function ListTileControlAffinity(t0, t1) { this.index = t0; this._core$_name = t1; }, ListTileThemeData: function ListTileThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.dense = t0; _.shape = t1; _.style = t2; _.selectedColor = t3; _.iconColor = t4; _.textColor = t5; _.contentPadding = t6; _.tileColor = t7; _.selectedTileColor = t8; _.horizontalTitleGap = t9; _.minVerticalPadding = t10; _.minLeadingWidth = t11; _.enableFeedback = t12; }, ListTileTheme: function ListTileTheme(t0, t1, t2, t3) { var _ = this; _._list_tile$_data = t0; _._list_tile$_style = t1; _.child = t2; _.key = t3; }, ListTileTheme_merge_closure: function ListTileTheme_merge_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.key = t0; _.dense = t1; _.shape = t2; _.style = t3; _.selectedColor = t4; _.iconColor = t5; _.textColor = t6; _.contentPadding = t7; _.tileColor = t8; _.selectedTileColor = t9; _.enableFeedback = t10; _.horizontalTitleGap = t11; _.minVerticalPadding = t12; _.minLeadingWidth = t13; _.child = t14; }, ListTile: function ListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.leading = t0; _.title = t1; _.subtitle = t2; _.trailing = t3; _.isThreeLine = t4; _.dense = t5; _.visualDensity = t6; _.shape = t7; _.contentPadding = t8; _.enabled = t9; _.onTap = t10; _.selected = t11; _.hoverColor = t12; _.focusNode = t13; _.autofocus = t14; _.tileColor = t15; _.selectedTileColor = t16; _.enableFeedback = t17; _.key = t18; }, _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) { var _ = this; _.leading = t0; _.title = t1; _.subtitle = t2; _.trailing = t3; _.isThreeLine = t4; _.isDense = t5; _.visualDensity = t6; _.textDirection = t7; _.titleBaselineType = t8; _.subtitleBaselineType = t9; _.horizontalTitleGap = t10; _.minVerticalPadding = t11; _.minLeadingWidth = t12; _.key = t13; }, _ListTileElement: function _ListTileElement(t0, t1, t2, t3, t4) { var _ = this; _.slotToChild = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _RenderListTile: function _RenderListTile(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.children = t0; _._trailing = _._subtitle = _._title = _._list_tile$_leading = null; _._isDense = t1; _._visualDensity = t2; _._isThreeLine = t3; _._list_tile$_textDirection = t4; _._titleBaselineType = t5; _._subtitleBaselineType = t6; _._horizontalTitleGap = t7; _._minVerticalPadding = t8; _._minLeadingWidth = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderListTile_debugDescribeChildren_add: function _RenderListTile_debugDescribeChildren_add(t0) { this.value = t0; }, _RenderListTile_paint_doPaint: function _RenderListTile_paint_doPaint(t0, t1) { this.context = t0; this.offset = t1; }, _RenderListTile_hitTestChildren_closure: function _RenderListTile_hitTestChildren_closure(t0, t1, t2) { this.position = t0; this.parentData = t1; this.child = t2; }, _ListTileThemeData_Object_Diagnosticable: function _ListTileThemeData_Object_Diagnosticable() { }, Material$(animationDuration, borderOnForeground, borderRadius, child, clipBehavior, color, elevation, key, shadowColor, shape, textStyle, type) { return new A.Material(child, type, elevation, color, shadowColor, textStyle, shape, true, clipBehavior, animationDuration, borderRadius, key); }, _MaterialState__transparentInterior(clipBehavior, contents, context, shape) { var child = new A._ShapeBorderPaint(contents, shape, true, null); if (clipBehavior === B.Clip_0) return child; return A.ClipPath$(child, clipBehavior, new A.ShapeBorderClipper(shape, A.Directionality_maybeOf(context), null)); }, 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) { var _ = this; _.child = t0; _.type = t1; _.elevation = t2; _.color = t3; _.shadowColor = t4; _.textStyle = t5; _.shape = t6; _.borderOnForeground = t7; _.clipBehavior = t8; _.animationDuration = t9; _.borderRadius = t10; _.key = t11; }, _MaterialState: function _MaterialState(t0, t1, t2) { var _ = this; _._inkFeatureRenderer = t0; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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) { var _ = this; _.child = t0; _.shape = t1; _.borderOnForeground = t2; _.clipBehavior = t3; _.elevation = t4; _.color = t5; _.shadowColor = t6; _.curve = t7; _.duration = t8; _.onEnd = t9; _.key = t10; }, _MaterialInteriorState: function _MaterialInteriorState(t0, t1) { var _ = this; _._border = _._shadowColor = _._elevation = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MaterialInteriorState_forEachTween_closure: function _MaterialInteriorState_forEachTween_closure() { }, _MaterialInteriorState_forEachTween_closure0: function _MaterialInteriorState_forEachTween_closure0() { }, _MaterialInteriorState_forEachTween_closure1: function _MaterialInteriorState_forEachTween_closure1() { }, _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() { }, MaterialButton$(child, elevation, onPressed) { return new A.MaterialButton(onPressed, elevation, child, null); }, MaterialButton: function MaterialButton(t0, t1, t2, t3) { var _ = this; _.onPressed = t0; _.elevation = t1; _.child = t2; _.key = t3; }, _MaterialLocalizationsDelegate: function _MaterialLocalizationsDelegate() { }, DefaultMaterialLocalizations: function DefaultMaterialLocalizations() { }, _MaterialStateColor$(_resolve) { return new A._MaterialStateColor(_resolve, J.get$value$x(_resolve.call$1(B.Set_empty0))); }, MaterialStateProperty_resolveAs(value, states, $T) { if ($T._eval$1("MaterialStateProperty<0>")._is(value)) return value.resolve$1(states); return value; }, 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; }, MaterialStateProperty: function MaterialStateProperty() { }, _MaterialStatePropertyWith: function _MaterialStatePropertyWith(t0, t1) { this._material_state$_resolve = t0; this.$ti = t1; }, _MaterialStatePropertyAll: function _MaterialStatePropertyAll(t0, t1) { this.value = t0; this.$ti = t1; }, 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() { }, NavigationBarThemeData_lerp(a, b, t) { var t6, t1 = A.lerpDouble(a.height, b.height, t), t2 = A.Color_lerp(a.backgroundColor, b.backgroundColor, t), t3 = A.Color_lerp(a.indicatorColor, b.indicatorColor, t), t4 = A.NavigationBarThemeData__lerpProperties(a.labelTextStyle, b.labelTextStyle, t, A.text_style_TextStyle_lerp$closure(), type$.nullable_TextStyle), t5 = A.NavigationBarThemeData__lerpProperties(a.iconTheme, b.iconTheme, t, A.icon_theme_data_IconThemeData_lerp$closure(), type$.nullable_IconThemeData); if (t < 0.5) t6 = a.labelBehavior; else t6 = b.labelBehavior; return new A.NavigationBarThemeData(t1, t2, t3, t4, t5, t6); }, NavigationBarThemeData__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties4(a, b, t, lerpFunction, $T._eval$1("_LerpProperties4<0>")); }, NavigationBarThemeData: function NavigationBarThemeData(t0, t1, t2, t3, t4, t5) { var _ = this; _.height = t0; _.backgroundColor = t1; _.indicatorColor = t2; _.labelTextStyle = t3; _.iconTheme = t4; _.labelBehavior = t5; }, _LerpProperties4: function _LerpProperties4(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _NavigationBarThemeData_Object_Diagnosticable: function _NavigationBarThemeData_Object_Diagnosticable() { }, NavigationRailThemeData_lerp(a, b, t) { var t8, 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.IconThemeData_lerp(a.unselectedIconTheme, b.unselectedIconTheme, t), t6 = A.IconThemeData_lerp(a.selectedIconTheme, b.selectedIconTheme, t), t7 = A.lerpDouble(a.groupAlignment, b.groupAlignment, t); if (t < 0.5) t8 = a.labelType; else t8 = b.labelType; return new A.NavigationRailThemeData(t1, t2, t3, t4, t5, t6, t7, t8); }, NavigationRailThemeData: function NavigationRailThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.backgroundColor = t0; _.elevation = t1; _.unselectedLabelTextStyle = t2; _.selectedLabelTextStyle = t3; _.unselectedIconTheme = t4; _.selectedIconTheme = t5; _.groupAlignment = t6; _.labelType = t7; }, _NavigationRailThemeData_Object_Diagnosticable: function _NavigationRailThemeData_Object_Diagnosticable() { }, OutlinedButton_styleFrom(alignment, animationDuration, backgroundColor, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, maximumSize, minimumSize, onSurface, padding, primary, shadowColor, shape, side, splashFactory, tapTargetSize, textStyle, visualDensity) { var mouseCursor, t1, t2, t3, t4, t5, t6, t7, t8, _null = null, foregroundColor = onSurface == null && primary == null ? _null : new A._OutlinedButtonDefaultForeground(primary, onSurface), overlayColor = primary == null ? _null : new A._OutlinedButtonDefaultOverlay(primary); if (enabledMouseCursor == null && disabledMouseCursor == null) mouseCursor = _null; else { enabledMouseCursor.toString; disabledMouseCursor.toString; mouseCursor = new A._OutlinedButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor); } t1 = textStyle == null ? _null : new A._MaterialStatePropertyAll(textStyle, type$._MaterialStatePropertyAll_TextStyle); t2 = backgroundColor == null ? _null : new A._MaterialStatePropertyAll(backgroundColor, type$._MaterialStatePropertyAll_Color); t3 = shadowColor == null ? _null : new A._MaterialStatePropertyAll(shadowColor, type$._MaterialStatePropertyAll_Color); t4 = elevation == null ? _null : new A._MaterialStatePropertyAll(elevation, type$._MaterialStatePropertyAll_double); t5 = padding == null ? _null : new A._MaterialStatePropertyAll(padding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry); t6 = minimumSize == null ? _null : new A._MaterialStatePropertyAll(minimumSize, type$._MaterialStatePropertyAll_Size); t7 = maximumSize == null ? _null : new A._MaterialStatePropertyAll(maximumSize, type$._MaterialStatePropertyAll_Size); t8 = side == null ? _null : new A._MaterialStatePropertyAll(side, type$._MaterialStatePropertyAll_BorderSide); return A.ButtonStyle$(alignment, animationDuration, t2, t4, enableFeedback, _null, foregroundColor, t7, t6, mouseCursor, overlayColor, t5, t3, shape == null ? _null : new A._MaterialStatePropertyAll(shape, type$._MaterialStatePropertyAll_OutlinedBorder), t8, splashFactory, tapTargetSize, t1, visualDensity); }, OutlinedButton: function OutlinedButton() { }, _OutlinedButtonDefaultForeground: function _OutlinedButtonDefaultForeground(t0, t1) { this.primary = t0; this.onSurface = t1; }, _OutlinedButtonDefaultOverlay: function _OutlinedButtonDefaultOverlay(t0) { this.primary = t0; }, _OutlinedButtonDefaultMouseCursor: function _OutlinedButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _OutlinedButtonWithIcon: function _OutlinedButtonWithIcon(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.child = t8; _.key = t9; }, _OutlinedButtonWithIconChild: function _OutlinedButtonWithIconChild(t0, t1, t2) { this.label = t0; this.icon = t1; this.key = t2; }, __OutlinedButtonDefaultForeground_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultForeground_MaterialStateProperty_Diagnosticable() { }, __OutlinedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, __OutlinedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable: function __OutlinedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable() { }, OutlinedButtonThemeData_lerp(a, b, t) { 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, fullscreenDialog, 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 = A.List_List$filled(0, _null, false, type$.nullable_void_Function), t6 = $.Zone__current, t7 = settings == null ? B.RouteSettings_null_null : settings; return new A.MaterialPageRoute(builder, fullscreenDialog, _null, t1, new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, new A._AsyncCompleter(new A._Future(t2, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t3, t4, t7, new A.ValueNotifier(_null, t5, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t6, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), $T._eval$1("MaterialPageRoute<0>")); }, MaterialPageRoute: function MaterialPageRoute(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.builder = t0; _.fullscreenDialog = t1; _.filter = t2; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t3; _._scopeKey = t4; _._subtreeKey = t5; _._storageBucket = t6; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t7; _._transitionCompleter = t8; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t9; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t10; _._navigator$_navigator = null; _._settings = t11; _._restorationScopeId = t12; _._popCompleter = t13; _.$ti = t14; }, MaterialRouteTransitionMixin: function MaterialRouteTransitionMixin() { }, _MaterialPageRoute_PageRoute_MaterialRouteTransitionMixin: function _MaterialPageRoute_PageRoute_MaterialRouteTransitionMixin() { }, _FadeUpwardsPageTransition: function _FadeUpwardsPageTransition(t0, t1, t2, t3) { var _ = this; _._page_transitions_theme$_positionAnimation = t0; _._opacityAnimation = t1; _.child = t2; _.key = t3; }, PageTransitionsBuilder: function PageTransitionsBuilder() { }, FadeUpwardsPageTransitionsBuilder: function FadeUpwardsPageTransitionsBuilder() { }, CupertinoPageTransitionsBuilder: function CupertinoPageTransitionsBuilder() { }, PageTransitionsTheme: function PageTransitionsTheme() { }, PageTransitionsTheme__all_closure: function PageTransitionsTheme__all_closure(t0) { this.builders = t0; }, _PageTransitionsTheme_Object_Diagnosticable: function _PageTransitionsTheme_Object_Diagnosticable() { }, PopupMenuItem$(child, height, value, $T) { return new A.PopupMenuItem(value, height, child, null, $T._eval$1("PopupMenuItem<0>")); }, showMenu(color, context, elevation, initialValue, items, position, shape, $T) { var semanticLabel, t1, $navigator, t2, t3, t4, t5, t6, t7, t8, _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 = "Popup menu"; break; default: semanticLabel = _null; } $navigator = A.Navigator_of(context, false); A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = $navigator._framework$_element; t1.toString; t1 = A.InheritedTheme_capture(context, t1); t2 = A.List_List$filled(J.get$length$asx(items), _null, false, type$.nullable_Size); t3 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t4 = $.Zone__current; t5 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t6 = A._setArrayType([], type$.JSArray_OverlayEntry); t7 = A.List_List$filled(0, _null, false, type$.nullable_void_Function); t8 = $.Zone__current; return $navigator.push$1(new A._PopupMenuRoute(position, items, t2, initialValue, elevation, semanticLabel, shape, color, t1, "Dismiss", _null, t3, new A.LabeledGlobalKey(_null, $T._eval$1("LabeledGlobalKey<_ModalScopeState<0>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, new A._AsyncCompleter(new A._Future(t4, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), t5, t6, B.RouteSettings_null_null, new A.ValueNotifier(_null, t7, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t8, $T._eval$1("_Future<0?>")), $T._eval$1("_AsyncCompleter<0?>")), $T._eval$1("_PopupMenuRoute<0>"))); }, PopupMenuButton$(elevation, icon, iconSize, itemBuilder, onSelected, padding, $T) { return new A.PopupMenuButton(itemBuilder, onSelected, elevation, padding, icon, iconSize, null, $T._eval$1("PopupMenuButton<0>")); }, PopupMenuEntry: function PopupMenuEntry() { }, _MenuItem: function _MenuItem(t0, t1, t2) { this.onLayout = t0; this.child = t1; this.key = t2; }, _RenderMenuItem: function _RenderMenuItem(t0, t1, t2) { var _ = this; _.onLayout = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, PopupMenuItem: function PopupMenuItem(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.height = t1; _.child = t2; _.key = t3; _.$ti = t4; }, PopupMenuItemState: function PopupMenuItemState(t0, t1) { var _ = this; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, _PopupMenu: function _PopupMenu(t0, t1, t2, t3) { var _ = this; _.route = t0; _.semanticLabel = t1; _.key = t2; _.$ti = t3; }, _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) { var _ = this; _.$this = t0; _.opacity = t1; _.popupMenuTheme = t2; _.width = t3; _.height = t4; }, _PopupMenuRouteLayout: function _PopupMenuRouteLayout(t0, t1, t2, t3, t4) { var _ = this; _.position = t0; _.itemSizes = t1; _.selectedItemIndex = t2; _.textDirection = t3; _.padding = t4; }, _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) { var _ = this; _.position = t0; _.items = t1; _.itemSizes = t2; _.initialValue = t3; _.elevation = t4; _.semanticLabel = t5; _.shape = t6; _.color = t7; _.capturedThemes = t8; _.barrierLabel = t9; _.filter = t10; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t11; _._scopeKey = t12; _._subtreeKey = t13; _._storageBucket = t14; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t15; _._transitionCompleter = t16; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t17; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t18; _._navigator$_navigator = null; _._settings = t19; _._restorationScopeId = t20; _._popCompleter = t21; _.$ti = t22; }, _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) { var _ = this; _.itemBuilder = t0; _.onSelected = t1; _.elevation = t2; _.padding = t3; _.icon = t4; _.iconSize = t5; _.key = t6; _.$ti = t7; }, 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; }, PopupMenuThemeData_lerp(a, b, t) { var t5, 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.TextStyle_lerp(a.textStyle, b.textStyle, t); if (t < 0.5) t5 = a.enableFeedback; else t5 = b.enableFeedback; return new A.PopupMenuThemeData(t1, t2, t3, t4, t5); }, 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) { var _ = this; _.color = t0; _.shape = t1; _.elevation = t2; _.textStyle = t3; _.enableFeedback = t4; }, _PopupMenuThemeData_Object_Diagnosticable: function _PopupMenuThemeData_Object_Diagnosticable() { }, CircularProgressIndicator$(backgroundColor, strokeWidth, value) { var _null = null; return new A.CircularProgressIndicator(strokeWidth, value, backgroundColor, _null, _null, _null, _null, _null); }, _ActivityIndicatorType: function _ActivityIndicatorType(t0, t1) { this.index = t0; this._core$_name = t1; }, ProgressIndicator: function ProgressIndicator() { }, _CircularProgressIndicatorPainter: function _CircularProgressIndicatorPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.backgroundColor = t0; _.valueColor = t1; _.value = t2; _.headValue = t3; _.tailValue = t4; _.offsetValue = t5; _.rotationValue = t6; _.strokeWidth = t7; _.arcStart = t8; _.arcSweep = t9; _._repaint = t10; }, CircularProgressIndicator: function CircularProgressIndicator(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.strokeWidth = t0; _.value = t1; _.backgroundColor = t2; _.color = t3; _.valueColor = t4; _.semanticsLabel = t5; _.semanticsValue = t6; _.key = t7; }, _CircularProgressIndicatorState: function _CircularProgressIndicatorState(t0, t1) { var _ = this; _.___CircularProgressIndicatorState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _CircularProgressIndicatorState__buildAnimation_closure: function _CircularProgressIndicatorState__buildAnimation_closure(t0) { this.$this = t0; }, __CircularProgressIndicatorState_State_SingleTickerProviderStateMixin: function __CircularProgressIndicatorState_State_SingleTickerProviderStateMixin() { }, ProgressIndicatorThemeData_lerp(a, b, t) { var 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() { }, RadioThemeData__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties0(a, b, t, lerpFunction, $T._eval$1("_LerpProperties0<0>")); }, RadioThemeData: function RadioThemeData(t0, t1, t2, t3, t4, t5) { var _ = this; _.mouseCursor = t0; _.fillColor = t1; _.overlayColor = t2; _.splashRadius = t3; _.materialTapTargetSize = t4; _.visualDensity = t5; }, _LerpProperties0: function _LerpProperties0(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _RadioThemeData_Object_Diagnosticable: function _RadioThemeData_Object_Diagnosticable() { }, Scaffold$(appBar, backgroundColor, body, endDrawer, endDrawerEnableOpenDragGesture, key, resizeToAvoidBottomInset) { return new A.Scaffold(appBar, body, endDrawer, backgroundColor, resizeToAvoidBottomInset, endDrawerEnableOpenDragGesture, key); }, 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$('There are several ways to avoid this problem. The simplest is to use a Builder to get a context that is "under" the Scaffold. For an example of this, please see the documentation for Scaffold.of():\n https://api.flutter.dev/flutter/material/Scaffold/of.html'), 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) { var _ = this; _._scaffolds = t0; _._materialBanners = t1; _._snackBars = t2; _._accessibleNavigation = _._snackBarTimer = _._snackBarController = null; _.TickerProviderStateMixin__tickers = t3; _._widget = null; _._debugLifecycleState = t4; _._framework$_element = null; }, ScaffoldMessengerState_hideCurrentSnackBar_closure: function ScaffoldMessengerState_hideCurrentSnackBar_closure(t0, t1, t2) { this.$this = t0; this.completer = t1; this.reason = t2; }, ScaffoldMessengerState_build_closure: function ScaffoldMessengerState_build_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.snackBar = 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) { var _ = this; _.floatingActionButtonSize = t0; _.bottomSheetSize = t1; _.contentBottom = t2; _.minInsets = t3; _.minViewPadding = t4; _.scaffoldSize = t5; _.snackBarSize = t6; _.textDirection = t7; }, 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) { var _ = this; _.___FloatingActionButtonTransitionState__currentRotationAnimation = _.___FloatingActionButtonTransitionState__extendedCurrentScaleAnimation = _.___FloatingActionButtonTransitionState__currentScaleAnimation = _.___FloatingActionButtonTransitionState__previousRotationAnimation = _.___FloatingActionButtonTransitionState__previousScaleAnimation = _.___FloatingActionButtonTransitionState__previousController = $; _._previousChild = null; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _.appBar = t0; _.body = t1; _.endDrawer = t2; _.backgroundColor = t3; _.resizeToAvoidBottomInset = t4; _.endDrawerEnableOpenDragGesture = t5; _.key = t6; }, ScaffoldState: function ScaffoldState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._scaffold$_drawerKey = t0; _._endDrawerKey = t1; _._appBarMaxHeight = null; _._drawerOpened = t2; _._endDrawerOpened = t3; _._accessibleNavigation = _._scaffoldMessenger = null; _._snackBars = t4; _._messengerMaterialBanner = _._messengerSnackBar = _._snackBarTimer = null; _._dismissedBottomSheets = t5; _._currentBottomSheet = null; _._currentBottomSheetKey = t6; _.__ScaffoldState__floatingActionButtonAnimator = _.__ScaffoldState__floatingActionButtonMoveController = $; _._floatingActionButtonLocation = _._previousFloatingActionButtonLocation = null; _.__ScaffoldState__geometryNotifier = _.__ScaffoldState__floatingActionButtonVisibilityController = $; _._showBodyScrim = false; _._bodyScrimColor = t7; _.RestorationMixin__bucket = t8; _.RestorationMixin__properties = t9; _.RestorationMixin__debugPropertiesWaitingForReregistration = t10; _.RestorationMixin__firstRestorePending = t11; _.RestorationMixin__currentParent = t12; _.TickerProviderStateMixin__tickers = t13; _._widget = null; _._debugLifecycleState = t14; _._framework$_element = null; }, ScaffoldState__endDrawerOpenedCallback_closure: function ScaffoldState__endDrawerOpenedCallback_closure(t0, t1) { this.$this = t0; this.isOpened = t1; }, ScaffoldState_hideCurrentSnackBar_closure: function ScaffoldState_hideCurrentSnackBar_closure(t0, t1, t2) { this.$this = t0; this.completer = t1; this.reason = t2; }, 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_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; }, _ScaffoldScope: function _ScaffoldScope(t0, t1, t2) { this.hasDrawer = t0; this.child = t1; this.key = t2; }, _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, isAlwaysShown) { return new A.Scrollbar(child, controller, isAlwaysShown, null); }, Scrollbar: function Scrollbar(t0, t1, t2, t3) { var _ = this; _.child = t0; _.controller = t1; _.isAlwaysShown = t2; _.key = t3; }, _MaterialScrollbar: function _MaterialScrollbar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.showTrackOnHover = t0; _.hoverThickness = t1; _.child = t2; _.controller = t3; _.isAlwaysShown = t4; _.radius = t5; _.thickness = t6; _.fadeDuration = t7; _.timeToFade = t8; _.pressDuration = t9; _.notificationPredicate = t10; _.interactive = t11; _.scrollbarOrientation = t12; _.key = t13; }, _MaterialScrollbarState: function _MaterialScrollbarState(t0, t1, t2) { var _ = this; _.___MaterialScrollbarState__hoverAnimationController = $; _._scrollbar0$_hoverIsActive = _._dragIsActive = false; _.___MaterialScrollbarState__useAndroidScrollbar = _.___MaterialScrollbarState__scrollbarTheme = _.___MaterialScrollbarState__colorScheme = $; _._fadeoutTimer = _._currentController = _._dragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation = _.__RawScrollbarState__fadeoutAnimationController = $; _._scrollbarPainterKey = t0; _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter = $; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _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__lerpProperties(a, b, t, lerpFunction, $T) { if (a == null && b == null) return null; return new A._LerpProperties5(a, b, t, lerpFunction, $T._eval$1("_LerpProperties5<0>")); }, ScrollbarThemeData: function ScrollbarThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.thickness = t0; _.showTrackOnHover = t1; _.isAlwaysShown = t2; _.interactive = t3; _.radius = t4; _.thumbColor = t5; _.trackColor = t6; _.trackBorderColor = t7; _.crossAxisMargin = t8; _.mainAxisMargin = t9; _.minThumbLength = t10; }, _LerpProperties5: function _LerpProperties5(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _ScrollbarThemeData_Object_Diagnosticable: function _ScrollbarThemeData_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), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, SelectableText$(data, style) { var _null = null; return new A.SelectableText(data, _null, style, _null, _null, _null, _null, _null, B.ToolbarOptions_true_false_false, _null, _null); }, SelectableText$rich(textSpan, key, maxLines, onTap, selectionControls, style, textAlign, textDirection, textScaleFactor) { return new A.SelectableText(null, textSpan, style, textAlign, textDirection, textScaleFactor, maxLines, selectionControls, B.ToolbarOptions_true_false_false, onTap, key); }, _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; _._dragStartViewportOffset = 0; }, SelectableText: function SelectableText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.data = t0; _.textSpan = t1; _.style = t2; _.textAlign = t3; _.textDirection = t4; _.textScaleFactor = t5; _.maxLines = t6; _.selectionControls = t7; _.toolbarOptions = t8; _.onTap = t9; _.key = t10; }, _SelectableTextState: function _SelectableTextState(t0, t1, t2) { var _ = this; _.___SelectableTextState__controller = $; _._selectable_text$_focusNode = null; _._selectable_text$_showSelectionHandles = false; _.___SelectableTextState_forcePressEnabled = _.___SelectableTextState__selectionGestureDetectorBuilder = $; _.editableTextKey = t0; _._lastSeenTextSelection = null; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _SelectableTextState__onControllerChanged_closure: function _SelectableTextState__onControllerChanged_closure(t0, t1) { this.$this = t0; this.showSelectionHandles = t1; }, _SelectableTextState__handleSelectionChanged_closure: function _SelectableTextState__handleSelectionChanged_closure(t0, t1) { this.$this = t0; this.willShowSelectionHandles = t1; }, _SelectableTextState_build_closure: function _SelectableTextState_build_closure(t0) { this.$this = t0; }, __SelectableTextState_State_AutomaticKeepAliveClientMixin: function __SelectableTextState_State_AutomaticKeepAliveClientMixin() { }, SliderThemeData$(activeTickMarkColor, activeTrackColor, disabledActiveTickMarkColor, disabledActiveTrackColor, disabledInactiveTickMarkColor, disabledInactiveTrackColor, disabledThumbColor, inactiveTickMarkColor, inactiveTrackColor, minThumbSeparation, overlappingShapeStrokeColor, overlayColor, overlayShape, rangeThumbShape, rangeTickMarkShape, rangeTrackShape, rangeValueIndicatorShape, showValueIndicator, thumbColor, thumbSelector, thumbShape, tickMarkShape, trackHeight, trackShape, valueIndicatorColor, valueIndicatorShape, valueIndicatorTextStyle) { return new A.SliderThemeData(trackHeight, activeTrackColor, inactiveTrackColor, disabledActiveTrackColor, disabledInactiveTrackColor, activeTickMarkColor, inactiveTickMarkColor, disabledActiveTickMarkColor, disabledInactiveTickMarkColor, thumbColor, overlappingShapeStrokeColor, disabledThumbColor, overlayColor, valueIndicatorColor, overlayShape, tickMarkShape, thumbShape, trackShape, valueIndicatorShape, rangeTickMarkShape, rangeThumbShape, rangeTrackShape, rangeValueIndicatorShape, showValueIndicator, valueIndicatorTextStyle, minThumbSeparation, thumbSelector); }, SliderThemeData: function SliderThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26) { var _ = this; _.trackHeight = t0; _.activeTrackColor = t1; _.inactiveTrackColor = t2; _.disabledActiveTrackColor = t3; _.disabledInactiveTrackColor = t4; _.activeTickMarkColor = t5; _.inactiveTickMarkColor = t6; _.disabledActiveTickMarkColor = t7; _.disabledInactiveTickMarkColor = t8; _.thumbColor = t9; _.overlappingShapeStrokeColor = t10; _.disabledThumbColor = t11; _.overlayColor = t12; _.valueIndicatorColor = t13; _.overlayShape = t14; _.tickMarkShape = t15; _.thumbShape = t16; _.trackShape = t17; _.valueIndicatorShape = t18; _.rangeTickMarkShape = t19; _.rangeThumbShape = t20; _.rangeTrackShape = t21; _.rangeValueIndicatorShape = t22; _.showValueIndicator = t23; _.valueIndicatorTextStyle = t24; _.minThumbSeparation = t25; _.thumbSelector = t26; }, _SliderThemeData_Object_Diagnosticable: function _SliderThemeData_Object_Diagnosticable() { }, SnackBarClosedReason: function SnackBarClosedReason(t0, t1) { this.index = t0; this._core$_name = t1; }, SnackBarThemeData: function SnackBarThemeData(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.backgroundColor = t0; _.actionTextColor = t1; _.disabledActionTextColor = t2; _.contentTextStyle = t3; _.elevation = t4; _.shape = t5; _.behavior = t6; }, _SnackBarThemeData_Object_Diagnosticable: function _SnackBarThemeData_Object_Diagnosticable() { }, _SwitchType: function _SwitchType(t0, t1) { this.index = t0; this._core$_name = t1; }, Switch: function Switch(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.onChanged = t1; _.activeColor = t2; _.activeTrackColor = t3; _.key = t4; }, _MaterialSwitch: function _MaterialSwitch(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.value = t0; _.onChanged = t1; _.activeColor = t2; _.activeTrackColor = t3; _.inactiveThumbColor = t4; _.inactiveTrackColor = t5; _.activeThumbImage = t6; _.onActiveThumbImageError = t7; _.inactiveThumbImage = t8; _.onInactiveThumbImageError = t9; _.thumbColor = t10; _.trackColor = t11; _.dragStartBehavior = t12; _.mouseCursor = t13; _.focusColor = t14; _.hoverColor = t15; _.overlayColor = t16; _.splashRadius = t17; _.focusNode = t18; _.autofocus = t19; _.size = t20; _.key = t21; }, _MaterialSwitchState: function _MaterialSwitchState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _._switch$_painter = t0; _._needsPositionAnimation = false; _.ToggleableStateMixin___ToggleableStateMixin__positionController = t1; _.ToggleableStateMixin___ToggleableStateMixin__position = t2; _.ToggleableStateMixin___ToggleableStateMixin__reactionController = t3; _.ToggleableStateMixin___ToggleableStateMixin__reaction = t4; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = t5; _.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t6; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = t7; _.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t8; _.ToggleableStateMixin___ToggleableStateMixin__actionMap = t9; _.ToggleableStateMixin__downPosition = t10; _.ToggleableStateMixin__focused = t11; _.ToggleableStateMixin__hovering = t12; _.TickerProviderStateMixin__tickers = t13; _._widget = null; _._debugLifecycleState = t14; _._framework$_element = null; }, _MaterialSwitchState__widgetThumbColor_closure: function _MaterialSwitchState__widgetThumbColor_closure(t0) { this.$this = t0; }, _MaterialSwitchState__defaultThumbColor_closure: function _MaterialSwitchState__defaultThumbColor_closure(t0, t1) { this.isDark = t0; this.theme = t1; }, _MaterialSwitchState__widgetTrackColor_closure: function _MaterialSwitchState__widgetTrackColor_closure(t0) { this.$this = t0; }, _MaterialSwitchState__defaultTrackColor_closure: function _MaterialSwitchState__defaultTrackColor_closure(t0, t1) { this.$this = t0; this.isDark = t1; }, _MaterialSwitchState__handleDragEnd_closure: function _MaterialSwitchState__handleDragEnd_closure(t0) { this.$this = t0; }, _MaterialSwitchState_build_closure: function _MaterialSwitchState_build_closure(t0, t1) { this.$this = t0; this.theme = t1; }, _SwitchPainter: function _SwitchPainter(t0) { var _ = this; _._cachedThumbPainter = _._cachedThumbErrorListener = _._cachedThumbImage = _._cachedThumbColor = _._trackInnerLength = _._isInteractive = _._surfaceColor = _._switch$_textDirection = _._switch$_configuration = _._inactiveTrackColor = _._activeTrackColor = _._onInactiveThumbImageError = _._inactiveThumbImage = _._onActiveThumbImageError = _._activeThumbImage = null; _._isPainting = false; _._isHovered = _._isFocused = _._downPosition = _._splashRadius = _._toggleable$_focusColor = _._toggleable$_hoverColor = _._reactionColor = _._inactiveReactionColor = _._inactiveColor = _._activeColor = _._reactionHoverFade = _._reactionFocusFade = _._reaction = _._toggleable$_position = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t0; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, __MaterialSwitchState_State_TickerProviderStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin() { }, __MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin: function __MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin() { }, SwitchThemeData__lerpProperties(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>")); }, SwitchThemeData: function SwitchThemeData(t0, t1, t2, t3, t4, t5) { var _ = this; _.thumbColor = t0; _.trackColor = t1; _.materialTapTargetSize = t2; _.mouseCursor = t3; _.overlayColor = t4; _.splashRadius = t5; }, _LerpProperties: function _LerpProperties(t0, t1, t2, t3, t4) { var _ = this; _.a = t0; _.b = t1; _.t = t2; _.lerpFunction = t3; _.$ti = t4; }, _SwitchThemeData_Object_Diagnosticable: function _SwitchThemeData_Object_Diagnosticable() { }, TabBarTheme: function TabBarTheme(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.indicator = t0; _.indicatorSize = t1; _.labelColor = t2; _.labelPadding = t3; _.labelStyle = t4; _.unselectedLabelColor = t5; _.unselectedLabelStyle = t6; }, _TabBarTheme_Object_Diagnosticable: function _TabBarTheme_Object_Diagnosticable() { }, DefaultTabController_of(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._TabControllerScope); return scope == null ? null : scope.controller; }, TabController: function TabController(t0, t1, t2, t3, t4) { var _ = this; _._tab_controller$_animationController = t0; _.length = t1; _._tab_controller$_index = t2; _._previousIndex = t3; _.ChangeNotifier__count = _._indexIsChangingCount = 0; _.ChangeNotifier__listeners = t4; _.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, t3) { var _ = this; _.length = t0; _.initialIndex = t1; _.child = t2; _.key = t3; }, _DefaultTabControllerState: function _DefaultTabControllerState(t0, t1) { var _ = this; _.___DefaultTabControllerState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, __DefaultTabControllerState_State_SingleTickerProviderStateMixin: function __DefaultTabControllerState_State_SingleTickerProviderStateMixin() { }, UnderlineTabIndicator: function UnderlineTabIndicator(t0, t1) { this.borderSide = t0; this.insets = t1; }, _UnderlinePainter: function _UnderlinePainter(t0, t1) { this.decoration = t0; this.onChanged = t1; }, Tab$(child) { return new A.Tab(child, null); }, _TabStyle$(animation, child, labelColor, labelStyle, selected, unselectedLabelColor, unselectedLabelStyle) { return new A._TabStyle(labelStyle, unselectedLabelStyle, selected, labelColor, unselectedLabelColor, child, animation, null); }, _indexChangeProgress(controller) { var t1 = A._lateReadCheck(controller.get$animation(controller).__AnimationController__value, "_value"), previousIndex = controller._previousIndex, currentIndex = controller._tab_controller$_index; if (controller._indexIsChangingCount === 0) return B.JSNumber_methods.clamp$2(Math.abs(currentIndex - t1), 0, 1); return Math.abs(t1 - currentIndex) / Math.abs(currentIndex - previousIndex); }, Tab: function Tab(t0, t1) { this.child = t0; this.key = t1; }, _TabStyle: function _TabStyle(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.labelStyle = t0; _.unselectedLabelStyle = t1; _.selected = t2; _.labelColor = t3; _.unselectedLabelColor = t4; _.child = t5; _.listenable = t6; _.key = t7; }, _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; _._flex$_crossAxisAlignment = t4; _._flex$_textDirection = t5; _._flex$_verticalDirection = t6; _._flex$_textBaseline = t7; _._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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t15; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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; }, _IndicatorPainter: function _IndicatorPainter(t0, t1, t2, t3, t4, t5) { var _ = this; _.controller = t0; _.indicator = t1; _.indicatorSize = t2; _.indicatorPadding = t3; _.tabKeys = t4; _._tabs$_painter = _._currentRect = _._currentTextDirection = _._currentTabOffsets = null; _._tabs$_needsPaint = false; _._repaint = t5; }, _ChangeAnimation: function _ChangeAnimation(t0) { this.controller = t0; }, _DragAnimation: function _DragAnimation(t0, t1) { this.controller = t0; this.index = t1; }, TabBar: function TabBar(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.tabs = t0; _.indicatorColor = t1; _.labelColor = t2; _.unselectedLabelColor = t3; _.labelStyle = t4; _.unselectedLabelStyle = t5; _.key = t6; }, _TabBarState: function _TabBarState(t0) { var _ = this; _._currentIndex = _._indicatorPainter = _._tabs$_controller = _._tabs$_scrollController = null; _.___TabBarState__tabKeys = _.___TabBarState__tabStripWidth = $; _._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.index = t1; }, TabBarView: function TabBarView(t0, t1) { this.children = t0; this.key = t1; }, _TabBarViewState: function _TabBarViewState(t0) { var _ = this; _._tabs$_controller = null; _.___TabBarViewState__childrenWithKey = _.___TabBarViewState__children = _.___TabBarViewState__pageController = $; _._currentIndex = null; _._warpUnderwayCount = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _TabBarViewState__warpToCurrentIndex_closure: function _TabBarViewState__warpToCurrentIndex_closure(t0, t1, t2) { this.$this = t0; this.initialPage = t1; this.previousIndex = t2; }, _TabBarViewState__warpToCurrentIndex_closure0: function _TabBarViewState__warpToCurrentIndex_closure0(t0, t1) { this.$this = t0; this.originalChildren = t1; }, __ChangeAnimation_Animation_AnimationWithParentMixin: function __ChangeAnimation_Animation_AnimationWithParentMixin() { }, __DragAnimation_Animation_AnimationWithParentMixin: function __DragAnimation_Animation_AnimationWithParentMixin() { }, TextButton$(autofocus, child, clipBehavior, focusNode, key, onFocusChange, onHover, onLongPress, onPressed, style) { return new A.TextButton(onPressed, onLongPress, onHover, onFocusChange, style, clipBehavior, focusNode, false, child, key); }, TextButton_styleFrom(alignment, animationDuration, backgroundColor, disabledMouseCursor, elevation, enableFeedback, enabledMouseCursor, maximumSize, minimumSize, onSurface, padding, primary, shadowColor, shape, splashFactory, tapTargetSize, textStyle, visualDensity) { var mouseCursor, t1, t2, t3, t4, t5, t6, t7, _null = null; if (enabledMouseCursor == null && disabledMouseCursor == null) mouseCursor = _null; else { enabledMouseCursor.toString; disabledMouseCursor.toString; mouseCursor = new A._TextButtonDefaultMouseCursor(enabledMouseCursor, disabledMouseCursor); } t1 = textStyle == null ? _null : new A._MaterialStatePropertyAll(textStyle, type$._MaterialStatePropertyAll_TextStyle); t2 = backgroundColor == null ? _null : new A._MaterialStatePropertyAll(backgroundColor, type$._MaterialStatePropertyAll_Color); t3 = shadowColor == null ? _null : new A._MaterialStatePropertyAll(shadowColor, type$._MaterialStatePropertyAll_Color); t4 = elevation == null ? _null : new A._MaterialStatePropertyAll(elevation, type$._MaterialStatePropertyAll_double); 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, t2, t4, enableFeedback, _null, new A._TextButtonDefaultForeground(primary, onSurface), t6, t5, mouseCursor, new A._TextButtonDefaultOverlay(primary), new A._MaterialStatePropertyAll(padding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry), t3, t7, _null, splashFactory, tapTargetSize, t1, visualDensity); }, TextButton: function TextButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.child = t8; _.key = t9; }, _TextButtonDefaultForeground: function _TextButtonDefaultForeground(t0, t1) { this.primary = t0; this.onSurface = t1; }, _TextButtonDefaultOverlay: function _TextButtonDefaultOverlay(t0) { this.primary = t0; }, _TextButtonDefaultMouseCursor: function _TextButtonDefaultMouseCursor(t0, t1) { this.enabledCursor = t0; this.disabledCursor = t1; }, _TextButtonWithIcon: function _TextButtonWithIcon(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.onPressed = t0; _.onLongPress = t1; _.onHover = t2; _.onFocusChange = t3; _.style = t4; _.clipBehavior = t5; _.focusNode = t6; _.autofocus = t7; _.child = t8; _.key = t9; }, _TextButtonWithIconChild: function _TextButtonWithIconChild(t0, t1, t2) { this.label = t0; this.icon = t1; this.key = t2; }, __TextButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable: function __TextButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable() { }, TextButtonThemeData_lerp(a, b, t) { 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, controller, cursorColor, cursorHeight, cursorRadius, cursorWidth, decoration, enableIMEPersonalizedLearning, enableInteractiveSelection, enableSuggestions, enabled, expands, focusNode, inputFormatters, keyboardAppearance, keyboardType, maxLength, maxLengthEnforced, maxLengthEnforcement, maxLines, minLines, obscureText, obscuringCharacter, onChanged, onEditingComplete, onSubmitted, onTap, readOnly, restorationId, scrollController, scrollPadding, scrollPhysics, selectionControls, showCursor, smartDashesType, smartQuotesType, strutStyle, style, textAlign, textAlignVertical, textCapitalization, textDirection, textInputAction, toolbarOptions) { 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 (toolbarOptions == null) t4 = obscureText ? B.ToolbarOptions_false_false_true : B.ToolbarOptions_true_true_true; else t4 = toolbarOptions; return new A.TextField(controller, focusNode, decoration, t3, textInputAction, textCapitalization, style, strutStyle, textAlign, textAlignVertical, textDirection, autofocus, obscuringCharacter, obscureText, true, t1, t2, true, maxLines, minLines, expands, readOnly, t4, showCursor, maxLength, true, maxLengthEnforcement, onChanged, onEditingComplete, onSubmitted, inputFormatters, enabled, cursorWidth, cursorHeight, cursorRadius, cursorColor, keyboardAppearance, scrollPadding, enableInteractiveSelection, selectionControls, onTap, buildCounter, scrollPhysics, scrollController, autofillHints, restorationId, true, null); }, _TextFieldSelectionGestureDetectorBuilder: function _TextFieldSelectionGestureDetectorBuilder(t0, t1) { var _ = this; _._text_field$_state = t0; _.delegate = t1; _._shouldShowSelectionToolbar = true; _._dragStartViewportOffset = 0; }, 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) { var _ = this; _.controller = t0; _.focusNode = t1; _.decoration = t2; _.keyboardType = t3; _.textInputAction = t4; _.textCapitalization = t5; _.style = t6; _.strutStyle = t7; _.textAlign = t8; _.textAlignVertical = t9; _.textDirection = t10; _.autofocus = t11; _.obscuringCharacter = t12; _.obscureText = t13; _.autocorrect = t14; _.smartDashesType = t15; _.smartQuotesType = t16; _.enableSuggestions = t17; _.maxLines = t18; _.minLines = t19; _.expands = t20; _.readOnly = t21; _.toolbarOptions = t22; _.showCursor = t23; _.maxLength = t24; _.maxLengthEnforced = t25; _.maxLengthEnforcement = t26; _.onChanged = t27; _.onEditingComplete = t28; _.onSubmitted = t29; _.inputFormatters = t30; _.enabled = t31; _.cursorWidth = t32; _.cursorHeight = t33; _.cursorRadius = t34; _.cursorColor = t35; _.keyboardAppearance = t36; _.scrollPadding = t37; _.enableInteractiveSelection = t38; _.selectionControls = t39; _.onTap = t40; _.buildCounter = t41; _.scrollPhysics = t42; _.scrollController = t43; _.autofillHints = t44; _.restorationId = t45; _.enableIMEPersonalizedLearning = t46; _.key = t47; }, _TextFieldState: function _TextFieldState(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._text_field$_focusNode = _._text_field$_controller = null; _._showSelectionHandles = _._isHovering = false; _.___TextFieldState_forcePressEnabled = _.___TextFieldState__selectionGestureDetectorBuilder = $; _.editableTextKey = t0; _.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_build_closure: function _TextFieldState_build_closure(t0) { this.$this = t0; }, _TextFieldState_build_closure0: function _TextFieldState_build_closure0(t0, t1, t2) { this.$this = t0; this.focusNode = t1; this.controller = t2; }, _TextFieldState_build_closure2: function _TextFieldState_build_closure2(t0) { this.$this = t0; }, _TextFieldState_build_closure3: function _TextFieldState_build_closure3(t0) { this.$this = t0; }, _TextFieldState_build_closure1: function _TextFieldState_build_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, _TextFieldState_build__closure: function _TextFieldState_build__closure(t0) { this.$this = t0; }, __TextFieldState_State_RestorationMixin_dispose_closure: function __TextFieldState_State_RestorationMixin_dispose_closure() { }, __TextFieldState_State_RestorationMixin: function __TextFieldState_State_RestorationMixin() { }, TextFormField$(autofocus, controller, decoration, expands, focusNode, initialValue, inputFormatters, keyboardType, maxLines, obscureText, onChanged, onEditingComplete, onFieldSubmitted, onSaved, readOnly, restorationId, style, textAlign, textInputAction, validator) { var t1, _null = null; if (controller != null) t1 = controller._change_notifier$_value.text; else t1 = initialValue == null ? "" : initialValue; return new A.TextFormField(controller, onSaved, validator, new A.TextFormField_closure(decoration, onChanged, restorationId, focusNode, keyboardType, textInputAction, style, _null, textAlign, _null, _null, B.TextCapitalization_30, autofocus, _null, readOnly, _null, "\u2022", obscureText, true, _null, _null, true, true, _null, maxLines, _null, expands, _null, _null, onEditingComplete, onFieldSubmitted, inputFormatters, _null, 2, _null, _null, _null, B.EdgeInsets_20_20_20_20, _null, _null, true, _null, _null, _null, _null, true), t1, true, B.AutovalidateMode_0, restorationId, _null); }, 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) { 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; _.toolbarOptions = t13; _.readOnly = t14; _.showCursor = t15; _.obscuringCharacter = t16; _.obscureText = t17; _.autocorrect = t18; _.smartDashesType = t19; _.smartQuotesType = t20; _.enableSuggestions = t21; _.maxLengthEnforced = t22; _.maxLengthEnforcement = t23; _.maxLines = t24; _.minLines = t25; _.expands = t26; _.maxLength = t27; _.onTap = t28; _.onEditingComplete = t29; _.onFieldSubmitted = t30; _.inputFormatters = t31; _.enabled = t32; _.cursorWidth = t33; _.cursorHeight = t34; _.cursorRadius = t35; _.cursorColor = t36; _.scrollPadding = t37; _.scrollPhysics = t38; _.keyboardAppearance = t39; _.enableInteractiveSelection = t40; _.selectionControls = t41; _.buildCounter = t42; _.autofillHints = t43; _.scrollController = t44; _.enableIMEPersonalizedLearning = t45; }, 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 = $; _._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; }, MaterialTextSelectionControls: function MaterialTextSelectionControls() { }, _TextSelectionHandlePainter: function _TextSelectionHandlePainter(t0, t1) { this.color = t0; this._repaint = t1; }, TextSelectionThemeData_lerp(a, b, t) { var 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)); }, TextSelectionTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.TextSelectionTheme); t1 = A.Theme_of(context); return t1.textSelectionTheme; }, TextSelectionThemeData: function TextSelectionThemeData(t0, t1, t2) { this.cursorColor = t0; this.selectionColor = t1; this.selectionHandleColor = t2; }, _TextSelectionThemeData_Object_Diagnosticable: function _TextSelectionThemeData_Object_Diagnosticable() { }, TextTheme_lerp(a, b, t) { var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, _null = null, t1 = a == null, t2 = t1 ? _null : a.headline1, t3 = b == null; t2 = A.TextStyle_lerp(t2, t3 ? _null : b.headline1, t); t4 = t1 ? _null : a.headline2; t4 = A.TextStyle_lerp(t4, t3 ? _null : b.headline2, t); t5 = t1 ? _null : a.headline3; t5 = A.TextStyle_lerp(t5, t3 ? _null : b.headline3, t); t6 = t1 ? _null : a.headline4; t6 = A.TextStyle_lerp(t6, t3 ? _null : b.headline4, t); t7 = t1 ? _null : a.headline5; t7 = A.TextStyle_lerp(t7, t3 ? _null : b.headline5, t); t8 = t1 ? _null : a.headline6; t8 = A.TextStyle_lerp(t8, t3 ? _null : b.headline6, t); t9 = t1 ? _null : a.subtitle1; t9 = A.TextStyle_lerp(t9, t3 ? _null : b.subtitle1, t); t10 = t1 ? _null : a.subtitle2; t10 = A.TextStyle_lerp(t10, t3 ? _null : b.subtitle2, t); t11 = t1 ? _null : a.bodyText1; t11 = A.TextStyle_lerp(t11, t3 ? _null : b.bodyText1, t); t12 = t1 ? _null : a.bodyText2; t12 = A.TextStyle_lerp(t12, t3 ? _null : b.bodyText2, t); t13 = t1 ? _null : a.caption; t13 = A.TextStyle_lerp(t13, t3 ? _null : b.caption, t); t14 = t1 ? _null : a.button; t14 = A.TextStyle_lerp(t14, t3 ? _null : b.button, t); t1 = t1 ? _null : a.overline; return new A.TextTheme(t2, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, A.TextStyle_lerp(t1, t3 ? _null : b.overline, t)); }, TextTheme: function TextTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.headline1 = t0; _.headline2 = t1; _.headline3 = t2; _.headline4 = t3; _.headline5 = t4; _.headline6 = t5; _.subtitle1 = t6; _.subtitle2 = t7; _.bodyText1 = t8; _.bodyText2 = t9; _.caption = t10; _.button = t11; _.overline = t12; }, _TextTheme_Object_Diagnosticable: function _TextTheme_Object_Diagnosticable() { }, Theme_of(context) { var theme, inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedTheme_2), category = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations) == null ? null : B.ScriptCategory_0; 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) { var _ = this; _._theme$_data = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AnimatedThemeState_forEachTween_closure: function _AnimatedThemeState_forEachTween_closure() { }, ThemeData_ThemeData(brightness, fontFamily, textTheme) { var _brightness, isDark, visualDensity, t1, primaryColor, primaryColorBrightness, primaryColorLight, primaryColorDark, primaryIsDark, toggleableActiveColor, accentColor, accentColorBrightness, accentIsDark, canvasColor, bottomAppBarColor, cardColor, dividerColor, primaryIsDark0, t2, t3, t4, t5, t6, t7, colorScheme, selectedRowColor, unselectedWidgetColor, secondaryHeaderColor, textSelectionColor, textSelectionHandleColor, backgroundColor, dialogBackgroundColor, indicatorColor, hintColor, errorColor, primaryIconTheme, accentIconTheme, iconTheme, platform, typography, defaultTextTheme, defaultPrimaryTextTheme, defaultAccentTextTheme, primaryTextTheme, accentTextTheme, materialTapTargetSize, buttonColor, focusColor, hoverColor, buttonTheme, disabledColor, highlightColor, splashColor, chipTheme, _null = null; if (brightness == null) _brightness = _null; else _brightness = brightness; if (_brightness == null) _brightness = B.Brightness_1; isDark = _brightness === B.Brightness_0; visualDensity = A.VisualDensity_adaptivePlatformDensity(); if (isDark) { t1 = B.Map_HFpTk.$index(0, 900); t1.toString; primaryColor = t1; } else primaryColor = B.MaterialColor_Map_JNwaj_4280391411; primaryColorBrightness = A.ThemeData_estimateBrightnessForColor(primaryColor); if (isDark) { t1 = B.Map_HFpTk.$index(0, 500); t1.toString; primaryColorLight = t1; } else { t1 = B.Map_JNwaj.$index(0, 100); t1.toString; primaryColorLight = t1; } if (isDark) primaryColorDark = B.Color_4278190080; else { t1 = B.Map_JNwaj.$index(0, 700); t1.toString; primaryColorDark = t1; } primaryIsDark = primaryColorBrightness === B.Brightness_0; if (isDark) { t1 = B.Map_iTYZn.$index(0, 200); t1.toString; toggleableActiveColor = t1; } else { t1 = B.Map_JNwaj.$index(0, 600); t1.toString; toggleableActiveColor = t1; } if (isDark) { t1 = B.Map_iTYZn.$index(0, 200); t1.toString; accentColor = t1; } else { t1 = B.Map_JNwaj.$index(0, 500); t1.toString; accentColor = t1; } accentColorBrightness = A.ThemeData_estimateBrightnessForColor(accentColor); accentIsDark = accentColorBrightness === B.Brightness_0; if (isDark) { t1 = B.Map_HFpTk.$index(0, 850); t1.toString; canvasColor = t1; } else { t1 = B.Map_HFpTk.$index(0, 50); t1.toString; canvasColor = t1; } if (isDark) { t1 = B.Map_HFpTk.$index(0, 800); t1.toString; bottomAppBarColor = t1; } else bottomAppBarColor = B.Color_4294967295; if (isDark) { t1 = B.Map_HFpTk.$index(0, 800); t1.toString; cardColor = t1; } else cardColor = B.Color_4294967295; dividerColor = isDark ? B.Color_536870911 : B.Color_520093696; primaryIsDark0 = A.ThemeData_estimateBrightnessForColor(B.MaterialColor_Map_JNwaj_4280391411) === B.Brightness_0; t1 = A.ThemeData_estimateBrightnessForColor(accentColor); if (isDark) { t2 = B.Map_iTYZn.$index(0, 700); t2.toString; } else { t2 = B.Map_JNwaj.$index(0, 700); t2.toString; } if (isDark) { t3 = B.Map_HFpTk.$index(0, 700); t3.toString; } else { t3 = B.Map_JNwaj.$index(0, 200); t3.toString; } t4 = B.Map_JNc9P.$index(0, 700); t4.toString; t5 = primaryIsDark0 ? 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 = primaryIsDark0 ? B.Color_4294967295 : B.Color_4278190080; colorScheme = new A.ColorScheme(B.MaterialColor_Map_JNwaj_4280391411, primaryColorDark, accentColor, t2, cardColor, t3, t4, t5, t1, t6, t7, isDark ? B.Color_4278190080 : B.Color_4294967295, _brightness); t1 = B.Map_HFpTk.$index(0, 100); t1.toString; selectedRowColor = t1; unselectedWidgetColor = isDark ? B.Color_3019898879 : B.Color_2315255808; if (isDark) { t1 = B.Map_HFpTk.$index(0, 700); t1.toString; secondaryHeaderColor = t1; } else { t1 = B.Map_JNwaj.$index(0, 50); t1.toString; secondaryHeaderColor = t1; } if (isDark) textSelectionColor = accentColor; else { t1 = B.Map_JNwaj.$index(0, 200); t1.toString; textSelectionColor = t1; } if (isDark) { t1 = B.Map_iTYZn.$index(0, 400); t1.toString; textSelectionHandleColor = t1; } else { t1 = B.Map_JNwaj.$index(0, 300); t1.toString; textSelectionHandleColor = t1; } if (isDark) { t1 = B.Map_HFpTk.$index(0, 700); t1.toString; backgroundColor = t1; } else { t1 = B.Map_JNwaj.$index(0, 200); t1.toString; backgroundColor = t1; } if (isDark) { t1 = B.Map_HFpTk.$index(0, 800); t1.toString; dialogBackgroundColor = t1; } else dialogBackgroundColor = B.Color_4294967295; indicatorColor = accentColor.$eq(0, primaryColor) ? B.Color_4294967295 : accentColor; hintColor = isDark ? B.Color_2583691263 : A.Color$fromARGB(153, 0, 0, 0); t1 = B.Map_JNc9P.$index(0, 700); t1.toString; errorColor = t1; primaryIconTheme = primaryIsDark ? B.IconThemeData_Color_4294967295_null_null : B.IconThemeData_Color_4278190080_null_null; accentIconTheme = accentIsDark ? B.IconThemeData_Color_4294967295_null_null : B.IconThemeData_Color_4278190080_null_null; iconTheme = isDark ? B.IconThemeData_Color_4294967295_null_null : B.IconThemeData_Color_3707764736_null_null; platform = A.defaultTargetPlatform(); platform = platform; typography = A.Typography_Typography$material2014(platform); defaultTextTheme = isDark ? typography.white : typography.black; defaultPrimaryTextTheme = primaryIsDark ? typography.white : typography.black; defaultAccentTextTheme = accentIsDark ? typography.white : typography.black; if (fontFamily != null) { defaultTextTheme = defaultTextTheme.apply$1$fontFamily(fontFamily); defaultPrimaryTextTheme = defaultPrimaryTextTheme.apply$1$fontFamily(fontFamily); defaultAccentTextTheme = defaultAccentTextTheme.apply$1$fontFamily(fontFamily); } textTheme = defaultTextTheme.merge$1(textTheme); primaryTextTheme = defaultPrimaryTextTheme.merge$1(_null); accentTextTheme = defaultAccentTextTheme.merge$1(_null); 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 (isDark) { t1 = B.Map_JNwaj.$index(0, 600); t1.toString; buttonColor = t1; } else { t1 = B.Map_HFpTk.$index(0, 300); t1.toString; buttonColor = 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); buttonTheme = A.ButtonThemeData$(false, buttonColor, 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 (isDark) { t1 = B.Map_iTYZn.$index(0, 200); t1.toString; } else t1 = primaryColor; t2 = textTheme.bodyText1; t2.toString; chipTheme = A.ChipThemeData_ChipThemeData$fromDefaults(colorScheme.brightness, t2, t1); return A.ThemeData$raw(accentColor, accentColorBrightness, accentIconTheme, accentTextTheme, _null, B.AppBarTheme_6cf, false, backgroundColor, B.MaterialBannerThemeData_6JY, bottomAppBarColor, B.BottomAppBarTheme_null_null_null, B.BottomNavigationBarThemeData_aBG, B.BottomSheetThemeData_OEE, B.ButtonBarThemeData_A0t, buttonColor, buttonTheme, canvasColor, cardColor, B.CardTheme_hKX, B.CheckboxThemeData_EkK, chipTheme, colorScheme, _null, B.Color_4282549748, B.DataTableThemeData_SL9, dialogBackgroundColor, B.DialogTheme_zPV, disabledColor, dividerColor, B.DividerThemeData_Tnu, B.DrawerThemeData_null_null_null_null, B.ElevatedButtonThemeData_null, errorColor, true, B.FloatingActionButtonThemeData_ebz, focusColor, highlightColor, hintColor, hoverColor, iconTheme, indicatorColor, B.C_InputDecorationTheme, B.ListTileThemeData_b9P, materialTapTargetSize, B.NavigationBarThemeData_Jeh, B.NavigationRailThemeData_U06, B.OutlinedButtonThemeData_null, B.C_PageTransitionsTheme, platform, B.PopupMenuThemeData_XJe, primaryColor, primaryColorBrightness, primaryColorDark, primaryColorLight, primaryIconTheme, primaryTextTheme, B.ProgressIndicatorThemeData_Z49, B.RadioThemeData_gDe, canvasColor, B.ScrollbarThemeData_I7P, secondaryHeaderColor, selectedRowColor, B.Color_4278190080, B.SliderThemeData_Q5Z, B.SnackBarThemeData_gc6, splashColor, B.C__InkSplashFactory, B.SwitchThemeData_v9F, B.TabBarTheme_Srx, B.TextButtonThemeData_null, textSelectionColor, textSelectionHandleColor, B.TextSelectionThemeData_null_null_null, textTheme, B.TimePickerThemeData_10O, B.ToggleButtonsThemeData_UsI, toggleableActiveColor, B.TooltipThemeData_kSE, typography, unselectedWidgetColor, true, visualDensity); }, ThemeData$raw(accentColor, accentColorBrightness, accentIconTheme, accentTextTheme, androidOverscrollIndicator, appBarTheme, applyElevationOverlayColor, backgroundColor, bannerTheme, bottomAppBarColor, bottomAppBarTheme, bottomNavigationBarTheme, bottomSheetTheme, buttonBarTheme, buttonColor, buttonTheme, canvasColor, cardColor, cardTheme, checkboxTheme, chipTheme, colorScheme, cupertinoOverrideTheme, cursorColor, dataTableTheme, dialogBackgroundColor, dialogTheme, disabledColor, dividerColor, dividerTheme, drawerTheme, elevatedButtonTheme, errorColor, fixTextFieldOutlineLabel, floatingActionButtonTheme, focusColor, highlightColor, hintColor, hoverColor, iconTheme, indicatorColor, inputDecorationTheme, listTileTheme, materialTapTargetSize, navigationBarTheme, navigationRailTheme, outlinedButtonTheme, pageTransitionsTheme, platform, popupMenuTheme, primaryColor, primaryColorBrightness, primaryColorDark, primaryColorLight, primaryIconTheme, primaryTextTheme, progressIndicatorTheme, radioTheme, scaffoldBackgroundColor, scrollbarTheme, secondaryHeaderColor, selectedRowColor, shadowColor, sliderTheme, snackBarTheme, splashColor, splashFactory, switchTheme, tabBarTheme, textButtonTheme, textSelectionColor, textSelectionHandleColor, textSelectionTheme, textTheme, timePickerTheme, toggleButtonsTheme, toggleableActiveColor, tooltipTheme, typography, unselectedWidgetColor, useTextSelectionTheme, visualDensity) { return new A.ThemeData(visualDensity, primaryColor, primaryColorBrightness, primaryColorLight, primaryColorDark, canvasColor, shadowColor, accentColor, accentColorBrightness, scaffoldBackgroundColor, bottomAppBarColor, cardColor, dividerColor, focusColor, hoverColor, highlightColor, splashColor, splashFactory, selectedRowColor, unselectedWidgetColor, disabledColor, buttonTheme, toggleButtonsTheme, buttonColor, secondaryHeaderColor, textSelectionColor, cursorColor, textSelectionHandleColor, backgroundColor, dialogBackgroundColor, indicatorColor, hintColor, errorColor, toggleableActiveColor, textTheme, primaryTextTheme, accentTextTheme, inputDecorationTheme, iconTheme, primaryIconTheme, accentIconTheme, sliderTheme, tabBarTheme, tooltipTheme, cardTheme, chipTheme, platform, materialTapTargetSize, false, pageTransitionsTheme, appBarTheme, scrollbarTheme, bottomAppBarTheme, colorScheme, snackBarTheme, dialogTheme, floatingActionButtonTheme, navigationBarTheme, navigationRailTheme, typography, cupertinoOverrideTheme, bottomSheetTheme, popupMenuTheme, bannerTheme, dividerTheme, buttonBarTheme, bottomNavigationBarTheme, timePickerTheme, textButtonTheme, elevatedButtonTheme, outlinedButtonTheme, textSelectionTheme, dataTableTheme, checkboxTheme, radioTheme, switchTheme, progressIndicatorTheme, drawerTheme, listTileTheme, true, true, androidOverscrollIndicator); }, ThemeData_ThemeData$fallback() { return A.ThemeData_ThemeData(B.Brightness_1, null, null); }, 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; }, MaterialBasedCupertinoThemeData$_(_materialTheme, _cupertinoOverrideTheme) { return new A.MaterialBasedCupertinoThemeData(_materialTheme, _cupertinoOverrideTheme, B._CupertinoThemeDefaults_iF8, _cupertinoOverrideTheme.brightness, _cupertinoOverrideTheme.primaryColor, _cupertinoOverrideTheme.primaryContrastingColor, _cupertinoOverrideTheme.textTheme, _cupertinoOverrideTheme.barBackgroundColor, _cupertinoOverrideTheme.scaffoldBackgroundColor); }, VisualDensity_adaptivePlatformDensity() { switch (A.defaultTargetPlatform().index) { case 0: case 2: case 1: break; case 3: case 4: case 5: return B.VisualDensity_m2_m2; } return B.VisualDensity_0_0; }, 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) { var _ = this; _.visualDensity = t0; _.primaryColor = t1; _.primaryColorBrightness = t2; _.primaryColorLight = t3; _.primaryColorDark = t4; _.canvasColor = t5; _.shadowColor = t6; _.accentColor = t7; _.accentColorBrightness = t8; _.scaffoldBackgroundColor = t9; _.bottomAppBarColor = t10; _.cardColor = t11; _.dividerColor = t12; _.focusColor = t13; _.hoverColor = t14; _.highlightColor = t15; _.splashColor = t16; _.splashFactory = t17; _.selectedRowColor = t18; _.unselectedWidgetColor = t19; _.disabledColor = t20; _.buttonTheme = t21; _.toggleButtonsTheme = t22; _.buttonColor = t23; _.secondaryHeaderColor = t24; _.textSelectionColor = t25; _.cursorColor = t26; _.textSelectionHandleColor = t27; _.backgroundColor = t28; _.dialogBackgroundColor = t29; _.indicatorColor = t30; _.hintColor = t31; _.errorColor = t32; _.toggleableActiveColor = t33; _.textTheme = t34; _.primaryTextTheme = t35; _.accentTextTheme = t36; _.inputDecorationTheme = t37; _.iconTheme = t38; _.primaryIconTheme = t39; _.accentIconTheme = t40; _.sliderTheme = t41; _.tabBarTheme = t42; _.tooltipTheme = t43; _.cardTheme = t44; _.chipTheme = t45; _.platform = t46; _.materialTapTargetSize = t47; _.applyElevationOverlayColor = t48; _.pageTransitionsTheme = t49; _.appBarTheme = t50; _.scrollbarTheme = t51; _.bottomAppBarTheme = t52; _.colorScheme = t53; _.snackBarTheme = t54; _.dialogTheme = t55; _.floatingActionButtonTheme = t56; _.navigationBarTheme = t57; _.navigationRailTheme = t58; _.typography = t59; _.cupertinoOverrideTheme = t60; _.bottomSheetTheme = t61; _.popupMenuTheme = t62; _.bannerTheme = t63; _.dividerTheme = t64; _.buttonBarTheme = t65; _.bottomNavigationBarTheme = t66; _.timePickerTheme = t67; _.textButtonTheme = t68; _.elevatedButtonTheme = t69; _.outlinedButtonTheme = t70; _.textSelectionTheme = t71; _.dataTableTheme = t72; _.checkboxTheme = t73; _.radioTheme = t74; _.switchTheme = t75; _.progressIndicatorTheme = t76; _.drawerTheme = t77; _.listTileTheme = t78; _.fixTextFieldOutlineLabel = t79; _.useTextSelectionTheme = t80; _.androidOverscrollIndicator = t81; }, ThemeData_localize_closure: function ThemeData_localize_closure(t0, t1) { this.baseTheme = t0; this.localTextGeometry = t1; }, MaterialBasedCupertinoThemeData: function MaterialBasedCupertinoThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._materialTheme = t0; _._cupertinoOverrideTheme = t1; _._defaults = t2; _.brightness = t3; _.primaryColor = t4; _.primaryContrastingColor = t5; _.textTheme = t6; _.barBackgroundColor = t7; _.scaffoldBackgroundColor = t8; }, _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; }, _DayPeriodInputPadding$(child, minSize, orientation) { return new A._DayPeriodInputPadding(minSize, orientation, child, null); }, _DialState__nearest(target, a, b) { return Math.abs(target - a) < Math.abs(target - b) ? a : b; }, _HourMinuteTextField$(autofocus, isHour, onChanged, onSavedSubmitted, restorationId, selectedTime, semanticHintText, style, validator) { return new A._HourMinuteTextField(selectedTime, isHour, autofocus, style, semanticHintText, validator, onSavedSubmitted, onChanged, restorationId, null); }, showTimePicker(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(new A.showTimePicker_closure(null, new A.TimePickerDialog(initialTime, B.TimePickerEntryMode_0, null, null, null, null, null, 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); }, _TimePickerMode: function _TimePickerMode(t0, t1) { this.index = t0; this._core$_name = t1; }, TimePickerEntryMode: function TimePickerEntryMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _TimePickerFragmentContext: function _TimePickerFragmentContext(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.selectedTime = t0; _.mode = t1; _.onTimeChange = t2; _.onModeChange = t3; _.onHourDoubleTapped = t4; _.onMinuteDoubleTapped = t5; _.use24HourDials = t6; }, _TimePickerHeader: function _TimePickerHeader(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.selectedTime = t0; _.mode = t1; _.orientation = t2; _.onModeChanged = t3; _.onChanged = t4; _.onHourDoubleTapped = t5; _.onMinuteDoubleTapped = t6; _.use24HourDials = t7; _.helpText = t8; _.key = t9; }, _HourMinuteControl: function _HourMinuteControl(t0, t1, t2, t3, t4) { var _ = this; _.text = t0; _.onTap = t1; _.onDoubleTap = t2; _.isSelected = t3; _.key = t4; }, _HourMinuteControl_build_closure: function _HourMinuteControl_build_closure(t0) { this.themeData = t0; }, _HourMinuteControl_build_closure0: function _HourMinuteControl_build_closure0(t0, t1) { this.themeData = t0; this.isDark = t1; }, _HourControl: function _HourControl(t0, t1) { this.fragmentContext = t0; this.key = t1; }, _HourControl_build_hoursFromSelected: function _HourControl_build_hoursFromSelected(t0) { this.$this = t0; }, _HourControl_build_closure1: function _HourControl_build_closure1(t0, t1) { this.$this = t0; this.nextHour = t1; }, _HourControl_build_closure0: function _HourControl_build_closure0(t0, t1) { this.$this = t0; this.previousHour = t1; }, _HourControl_build_closure: function _HourControl_build_closure(t0) { this.$this = t0; }, _StringFragment: function _StringFragment(t0, t1) { this.timeOfDayFormat = t0; this.key = t1; }, _MinuteControl: function _MinuteControl(t0, t1) { this.fragmentContext = t0; this.key = t1; }, _MinuteControl_build_closure1: function _MinuteControl_build_closure1(t0, t1) { this.$this = t0; this.nextMinute = t1; }, _MinuteControl_build_closure0: function _MinuteControl_build_closure0(t0, t1) { this.$this = t0; this.previousMinute = t1; }, _MinuteControl_build_closure: function _MinuteControl_build_closure(t0) { this.$this = t0; }, _DayPeriodControl: function _DayPeriodControl(t0, t1, t2, t3) { var _ = this; _.selectedTime = t0; _.orientation = t1; _.onChanged = t2; _.key = t3; }, _DayPeriodControl_build_closure: function _DayPeriodControl_build_closure(t0) { this.colorScheme = t0; }, _DayPeriodControl_build_closure0: function _DayPeriodControl_build_closure0(t0, t1) { this.colorScheme = t0; this.isDark = t1; }, _DayPeriodControl_build_closure1: function _DayPeriodControl_build_closure1(t0, t1) { this.$this = t0; this.context = t1; }, _DayPeriodControl_build_closure2: function _DayPeriodControl_build_closure2(t0, t1) { this.$this = t0; this.context = t1; }, _DayPeriodInputPadding: function _DayPeriodInputPadding(t0, t1, t2, t3) { var _ = this; _.minSize = t0; _.orientation = t1; _.child = t2; _.key = t3; }, _RenderInputPadding1: function _RenderInputPadding1(t0, t1, t2, t3) { var _ = this; _.orientation = t0; _._minSize = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderInputPadding_hitTest_closure1: function _RenderInputPadding_hitTest_closure1(t0, t1) { this._box_0 = t0; this.$this = t1; }, _TappableLabel: function _TappableLabel(t0, t1, t2) { this.value = t0; this.painter = t1; this.onTap = t2; }, _DialPainter: function _DialPainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.primaryLabels = t0; _.secondaryLabels = t1; _.backgroundColor = t2; _.accentColor = t3; _.dotColor = t4; _.theta = t5; _._repaint = t6; }, _DialPainter_paint_getOffsetForTheta: function _DialPainter_paint_getOffsetForTheta(t0, t1) { this.center = t0; this.labelRadius = t1; }, _DialPainter_paint_paintLabels: function _DialPainter_paint_paintLabels(t0, t1) { this.canvas = t0; this.getOffsetForTheta = t1; }, _Dial: function _Dial(t0, t1, t2, t3, t4, t5) { var _ = this; _.selectedTime = t0; _.mode = t1; _.use24HourDials = t2; _.onChanged = t3; _.onHourSelected = t4; _.key = t5; }, _DialState: function _DialState(t0, t1) { var _ = this; _.___DialState__thetaController = _.___DialState__theta = _.___DialState__thetaTween = _.___DialState_media = _.___DialState_localizations = _.___DialState_themeData = $; _._time_picker$_dragging = false; _._time_picker$_center = _._time_picker$_position = null; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _DialState_initState_closure: function _DialState_initState_closure(t0) { this.$this = t0; }, _DialState_initState__closure: function _DialState_initState__closure() { }, _DialState__updateThetaForPan_closure: function _DialState__updateThetaForPan_closure(t0, t1) { this.$this = t0; this.roundMinutes = t1; }, _DialState__build24HourRing_closure: function _DialState__build24HourRing_closure(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, t9) { var _ = this; _.initialSelectedTime = t0; _.helpText = t1; _.errorInvalidText = t2; _.hourLabelText = t3; _.minuteLabelText = t4; _.autofocusHour = t5; _.autofocusMinute = t6; _.onChanged = t7; _.restorationId = t8; _.key = t9; }, _TimePickerInputState: function _TimePickerInputState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.___TimePickerInputState__selectedTime = $; _.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) { var _ = this; _.selectedTime = t0; _.style = t1; _.autofocus = t2; _.validator = t3; _.onSavedSubmitted = t4; _.onChanged = t5; _.hourLabelText = t6; _.restorationId = t7; _.key = t8; }, _MinuteTextField: function _MinuteTextField(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.selectedTime = t0; _.style = t1; _.autofocus = t2; _.validator = t3; _.onSavedSubmitted = t4; _.minuteLabelText = t5; _.restorationId = t6; _.key = t7; }, _HourMinuteTextField: function _HourMinuteTextField(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.selectedTime = t0; _.isHour = t1; _.autofocus = t2; _.style = t3; _.semanticHintText = t4; _.validator = t5; _.onSavedSubmitted = t6; _.onChanged = t7; _.restorationId = t8; _.key = t9; }, _HourMinuteTextFieldState: function _HourMinuteTextFieldState(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.controller = t0; _.controllerHasBeenSet = t1; _.___HourMinuteTextFieldState_focusNode = $; _.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) { var _ = this; _.initialTime = t0; _.initialEntryMode = t1; _.cancelText = t2; _.confirmText = t3; _.helpText = t4; _.errorInvalidText = t5; _.hourLabelText = t6; _.minuteLabelText = t7; _.onEntryModeChanged = t8; _.key = t9; }, _RestorableTimePickerEntryMode: function _RestorableTimePickerEntryMode(t0, t1) { var _ = this; _._time_picker$_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; }, _RestorableTimePickerMode: function _RestorableTimePickerMode(t0, t1) { var _ = this; _._time_picker$_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; _._time_picker$_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; }, _RestorableTimePickerModeN: function _RestorableTimePickerModeN(t0, t1) { var _ = this; _._time_picker$_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; }, _TimePickerDialogState: function _TimePickerDialogState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _._time_picker$_formKey = t0; _.___TimePickerDialogState__entryMode = $; _._time_picker$_mode = t1; _._lastModeAnnounced = t2; _._autovalidateMode = t3; _._autofocusHour = t4; _._autofocusMinute = t5; _._announcedInitialTime = t6; _.___TimePickerDialogState__selectedTime = _.___TimePickerDialogState__entryModeListener = $; _._vibrateTimer = null; _.___TimePickerDialogState_localizations = $; _.RestorationMixin__bucket = t7; _.RestorationMixin__properties = t8; _.RestorationMixin__debugPropertiesWaitingForReregistration = t9; _.RestorationMixin__firstRestorePending = t10; _.RestorationMixin__currentParent = t11; _._widget = null; _._debugLifecycleState = t12; _._framework$_element = null; }, _TimePickerDialogState_initState_closure: function _TimePickerDialogState_initState_closure(t0) { this.$this = t0; }, _TimePickerDialogState__vibrate_closure: function _TimePickerDialogState__vibrate_closure(t0) { this.$this = t0; }, _TimePickerDialogState__handleModeChanged_closure: function _TimePickerDialogState__handleModeChanged_closure(t0, t1) { this.$this = t0; this.mode = t1; }, _TimePickerDialogState__handleEntryModeToggle_closure: function _TimePickerDialogState__handleEntryModeToggle_closure(t0) { this.$this = t0; }, _TimePickerDialogState__handleTimeChanged_closure: function _TimePickerDialogState__handleTimeChanged_closure(t0, t1) { this.$this = t0; this.value = t1; }, _TimePickerDialogState__handleHourSelected_closure: function _TimePickerDialogState__handleHourSelected_closure(t0) { this.$this = t0; }, _TimePickerDialogState__handleOk_closure: function _TimePickerDialogState__handleOk_closure(t0) { this.$this = t0; }, showTimePicker_closure: function showTimePicker_closure(t0, t1) { this.builder = t0; this.dialog = t1; }, __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() { }, __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() { }, 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) { var _ = this; _.backgroundColor = t0; _.hourMinuteTextColor = t1; _.hourMinuteColor = t2; _.dayPeriodTextColor = t3; _.dayPeriodColor = t4; _.dialHandColor = t5; _.dialBackgroundColor = t6; _.dialTextColor = t7; _.entryModeIconColor = t8; _.hourMinuteTextStyle = t9; _.dayPeriodTextStyle = t10; _.helpTextStyle = t11; _.shape = t12; _.hourMinuteShape = t13; _.dayPeriodShape = t14; _.dayPeriodBorderSide = t15; _.inputDecorationTheme = t16; }, _TimePickerThemeData_Object_Diagnosticable: function _TimePickerThemeData_Object_Diagnosticable() { }, ToggleButtons: function ToggleButtons(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.children = t0; _.isSelected = t1; _.onPressed = t2; _.textStyle = t3; _.constraints = t4; _.color = t5; _.selectedColor = t6; _.fillColor = t7; _.focusColor = t8; _.highlightColor = t9; _.splashColor = t10; _.hoverColor = t11; _.renderBorder = t12; _.borderColor = t13; _.selectedBorderColor = t14; _.borderWidth = t15; _.borderRadius = t16; _.key = t17; }, 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; }, _ToggleButton: function _ToggleButton(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; _.selected = t0; _.textStyle = t1; _.constraints = t2; _.color = t3; _.selectedColor = t4; _.disabledColor = t5; _.fillColor = t6; _.focusColor = t7; _.hoverColor = t8; _.highlightColor = t9; _.splashColor = t10; _.focusNode = t11; _.onPressed = t12; _.mouseCursor = t13; _.leadingBorderSide = t14; _.borderSide = t15; _.trailingBorderSide = t16; _.borderRadius = t17; _.clipRadius = t18; _.isFirstButton = t19; _.isLastButton = t20; _.direction = t21; _.verticalDirection = t22; _.child = t23; _.key = t24; }, _ResolveFillColor: function _ResolveFillColor(t0) { this.primary = t0; }, _DefaultFillColor: function _DefaultFillColor(t0) { this.colorScheme = t0; }, _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; _._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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, __DefaultFillColor_MaterialStateProperty_Diagnosticable: function __DefaultFillColor_MaterialStateProperty_Diagnosticable() { }, __ResolveFillColor_MaterialStateProperty_Diagnosticable: function __ResolveFillColor_MaterialStateProperty_Diagnosticable() { }, ToggleButtonsThemeData_lerp(a, b, t) { var 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); }, ToggleButtonsTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.ToggleButtonsTheme); t1 = A.Theme_of(context); return t1.toggleButtonsTheme; }, ToggleButtonsThemeData: function ToggleButtonsThemeData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.textStyle = t0; _.constraints = t1; _.color = t2; _.selectedColor = t3; _.disabledColor = t4; _.fillColor = t5; _.focusColor = t6; _.highlightColor = t7; _.splashColor = t8; _.hoverColor = t9; _.borderColor = t10; _.selectedBorderColor = t11; _.disabledBorderColor = t12; _.borderWidth = t13; _.borderRadius = t14; }, _ToggleButtonsThemeData_Object_Diagnosticable: function _ToggleButtonsThemeData_Object_Diagnosticable() { }, ToggleableStateMixin: function ToggleableStateMixin() { }, 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; }, ToggleablePainter: function ToggleablePainter() { }, Tooltip$(child, message) { return new A.Tooltip(message, child, null); }, Tooltip__concealOtherTooltips(current) { var openedTooltips, t1, _i, state; 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) { state = openedTooltips[_i]; if (J.$eq$(state, current)) continue; state._concealTooltip$0(); } } }, 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]._dismissTooltip$1$immediately(true); return true; } return false; }, Tooltip: function Tooltip(t0, t1, t2) { this.message = t0; this.child = t1; this.key = t2; }, _TooltipState: function _TooltipState(t0, t1) { var _ = this; _.___TooltipState__controller = _.___TooltipState_excludeFromSemantics = _.___TooltipState_preferBelow = _.___TooltipState_verticalOffset = _.___TooltipState_textStyle = _.___TooltipState_decoration = _.___TooltipState_margin = _.___TooltipState_padding = _.___TooltipState_height = $; _._showTimer = _._dismissTimer = _._tooltip$_entry = null; _.___TooltipState__mouseIsConnected = _.___TooltipState_waitDuration = _.___TooltipState_hoverShowDuration = _.___TooltipState_showDuration = $; _._pressActivated = false; _.___TooltipState__visible = _.___TooltipState__forceRemoval = _.___TooltipState__isConcealed = _.___TooltipState_enableFeedback = _.___TooltipState_triggerMode = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _TooltipState__handleMouseTrackerChange_closure: function _TooltipState__handleMouseTrackerChange_closure(t0, t1) { this.$this = t0; this.mouseIsConnected = t1; }, _TooltipState__createNewEntry_closure: function _TooltipState__createNewEntry_closure(t0) { this.$this = t0; }, _TooltipState__createNewEntry_closure0: function _TooltipState__createNewEntry_closure0(t0) { this.$this = t0; }, _TooltipState__createNewEntry_closure1: function _TooltipState__createNewEntry_closure1(t0) { this.overlay = t0; }, _TooltipState_build_closure: function _TooltipState_build_closure(t0) { this.$this = t0; }, _TooltipState_build_closure0: function _TooltipState_build_closure0(t0) { this.$this = t0; }, _TooltipPositionDelegate: function _TooltipPositionDelegate(t0, t1, t2) { this.target = t0; this.verticalOffset = t1; this.preferBelow = t2; }, _TooltipOverlay: function _TooltipOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.richMessage = t0; _.height = t1; _.padding = t2; _.margin = t3; _.decoration = t4; _.textStyle = t5; _.animation = t6; _.target = t7; _.verticalOffset = t8; _.preferBelow = t9; _.onEnter = t10; _.onExit = t11; _.key = t12; }, __TooltipState_State_SingleTickerProviderStateMixin: function __TooltipState_State_SingleTickerProviderStateMixin() { }, TooltipThemeData_lerp(a, b, t) { var t6, t7, 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) t5 = a.excludeFromSemantics; else t5 = b.excludeFromSemantics; t7 = A.Decoration_lerp(a.decoration, b.decoration, t); return new A.TooltipThemeData(t1, t2, t3, t4, t6, t5, t7, A.TextStyle_lerp(a.textStyle, b.textStyle, t)); }, TooltipThemeData: function TooltipThemeData(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.height = t0; _.padding = t1; _.margin = t2; _.verticalOffset = t3; _.preferBelow = t4; _.excludeFromSemantics = t5; _.decoration = t6; _.textStyle = t7; }, TooltipTriggerMode: function TooltipTriggerMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _TooltipThemeData_Object_Diagnosticable: function _TooltipThemeData_Object_Diagnosticable() { }, Typography_Typography$material2014(platform) { return A.Typography_Typography$_withPlatform(platform, null, null, B.TextTheme_EKW, B.TextTheme_BtQ, B.TextTheme_oCX); }, Typography_Typography$material2018(platform) { return A.Typography_Typography$_withPlatform(platform, null, null, B.TextTheme_5UD, B.TextTheme_gam, B.TextTheme_tto); }, Typography_Typography$_withPlatform(platform, black, white, englishLike, dense, tall) { switch (platform) { case B.TargetPlatform_2: black = B.TextTheme_c9P; white = B.TextTheme_8aB; break; case B.TargetPlatform_0: case B.TargetPlatform_1: black = B.TextTheme_CCL; white = B.TextTheme_lBF; break; case B.TargetPlatform_5: black = B.TextTheme_7FR; white = B.TextTheme_G7H; break; case B.TargetPlatform_4: black = B.TextTheme_NkP; white = B.TextTheme_IdR; break; case B.TargetPlatform_3: black = B.TextTheme_OaX; white = B.TextTheme_4eO; break; case null: break; } black.toString; white.toString; return new A.Typography(black, white, englishLike, dense, tall); }, 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() { }, NetworkImage: function NetworkImage(t0, t1) { this.url = t0; this.scale = t1; }, NetworkImage__loadAsync_closure: function NetworkImage__loadAsync_closure(t0) { this.chunkEvents = t0; }, AlignmentGeometry_lerp(a, b, t) { var t2, t3, t1 = a == null; if (t1 && b == null) return null; if (t1) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); 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 t2, 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 t2, 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; }, Axis: function Axis(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) { var t1 = a == null; if (t1 && b == null) return null; if (t1) a = B.BorderRadius_tLn; return a.add$1(0, (b == null ? B.BorderRadius_tLn : 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 t2, t3, t4, t1 = a == null; if (t1 && b == null) return null; if (t1) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); t1 = A.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; }, _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_0CF; if (aIsNone) return b; if (bIsNone) return a; return new A.BorderSide(a.color, a.width + b.width, t1); }, 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; 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_0CF; t2 = a.style; t3 = b.style; if (t2 === t3) { t3 = A.Color_lerp(a.color, b.color, t); t3.toString; return new A.BorderSide(t3, t1, t2); } 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.Color_lerp(colorA, colorB, t); t2.toString; return new A.BorderSide(t2, t1, B.BorderStyle_1); }, ShapeBorder_lerp(a, b, t) { var t1, result = b != null ? b.lerpFrom$2(a, t) : null; if (result == null && a != null) result = a.lerpTo$2(b, t); if (result == null) t1 = t < 0.5 ? a : b; else t1 = result; return t1; }, _CompoundBorder_lerp(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 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$strokeWidth(0); path = A.Path_Path(); 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(0, 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(0, 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(0, 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(0, path, paint); break; case 0: break; } }, BorderStyle: function BorderStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, BorderSide: function BorderSide(t0, t1, t2) { this.color = t0; this.width = t1; this.style = t2; }, ShapeBorder: function ShapeBorder() { }, OutlinedBorder: function OutlinedBorder() { }, _CompoundBorder: function _CompoundBorder(t0) { this.borders = t0; }, _CompoundBorder_dimensions_closure: function _CompoundBorder_dimensions_closure() { }, _CompoundBorder_scale_closure: function _CompoundBorder_scale_closure(t0) { this.t = t0; }, _CompoundBorder_toString_closure: function _CompoundBorder_toString_closure() { }, BoxBorder_lerp(a, b, t) { var t0, t2, 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_0CF) && b.end.$eq(0, B.BorderSide_0CF)) return new A.Border(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(a.right, B.BorderSide_0CF, t), A.BorderSide_lerp(a.bottom, b.bottom, t), A.BorderSide_lerp(a.left, B.BorderSide_0CF, t)); t2 = a.left; if (t2.$eq(0, B.BorderSide_0CF) && a.right.$eq(0, B.BorderSide_0CF)) return new A.BorderDirectional(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(B.BorderSide_0CF, t1, t), A.BorderSide_lerp(B.BorderSide_0CF, 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_0CF, t1), A.BorderSide_lerp(a.bottom, b.bottom, t), A.BorderSide_lerp(t2, B.BorderSide_0CF, t1)); } t2 = (t - 0.5) * 2; return new A.BorderDirectional(A.BorderSide_lerp(a.top, b.top, t), A.BorderSide_lerp(B.BorderSide_0CF, t1, t2), A.BorderSide_lerp(B.BorderSide_0CF, 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 outer, width, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, side.color); outer = borderRadius.toRRect$1(rect); width = side.width; if (width === 0) { paint.set$style(0, B.PaintingStyle_1); paint.set$strokeWidth(0); canvas.drawRRect$2(0, outer, paint); } else canvas.drawDRRect$3(0, outer, outer.inflate$1(-width), paint); }, BoxBorder__paintUniformBorderWithCircle(canvas, rect, side) { var paint = side.toPaint$0(), t1 = rect.get$shortestSide(); canvas.drawCircle$3(0, rect.get$center(), (t1 - side.width) / 2, paint); }, BoxBorder__paintUniformBorderWithRectangle(canvas, rect, side) { var paint = side.toPaint$0(); canvas.drawRect$2(0, rect.inflate$1(-(side.width / 2)), paint); }, Border_lerp(a, b, t) { var t1 = a == null; if (t1 && b == null) return null; if (t1) return b.scale$1(0, t); if (b == null) return a.scale$1(0, 1 - t); 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 t2, t3, t1 = a == null; if (t1 && b == null) return null; if (t1) return b.scale$1(0, t); if (b == null) return a.scale$1(0, 1 - t); t1 = 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, t7; if (t === 0) return a; if (t === 1) return b; t1 = A.Color_lerp(a.color, b.color, t); t2 = t < 0.5; t3 = t2 ? a.image : b.image; t4 = A.BoxBorder_lerp(a.border, b.border, t); t5 = A.BorderRadiusGeometry_lerp(a.borderRadius, b.borderRadius, t); t6 = A.BoxShadow_lerpList(a.boxShadow, b.boxShadow, t); t7 = A.Gradient_lerp(a.gradient, b.gradient, t); return new A.BoxDecoration(t1, t3, t4, t5, t6, t7, t2 ? a.shape : b.shape); }, BoxDecoration: function BoxDecoration(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.color = t0; _.image = t1; _.border = t2; _.borderRadius = t3; _.boxShadow = t4; _.gradient = t5; _.shape = t6; }, _BoxDecorationPainter: function _BoxDecorationPainter(t0, t1) { var _ = this; _._box_decoration$_decoration = t0; _._box_decoration$_imagePainter = _._rectForCachedBackgroundPaint = _._cachedBackgroundPaint = null; _.onChanged = t1; }, 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: t1 = inputSize._dx; t2 = outputSize._dx; t3 = t1 * outputSize._dy / t2; sourceSize = new A.Size(t1, t3); destinationSize = new A.Size(t2, t3 * t2 / t1); break; case 4: t2 = outputSize._dy; t3 = t1 * outputSize._dx / t2; sourceSize = new A.Size(t3, t1); destinationSize = new A.Size(t3 * t2 / t1, t2); 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$(blurRadius, blurStyle, color, offset, spreadRadius) { return new A.BoxShadow(spreadRadius, blurStyle, color, offset, blurRadius); }, BoxShadow_lerp(a, b, t) { var t2, t3, t4, t5, 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, i, t2, t3, t4, t5, t6, t1 = a == null; if (t1 && b == null) return null; if (t1) 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) { t2 = A.BoxShadow_lerp(a[i], b[i], t); t2.toString; t1.push(t2); } 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) { this.side = t0; }, 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; }, _getHue(red, green, blue, max, delta) { var 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(); return hue._readLocal$0(); }, _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)); }, HSVColor_HSVColor$fromColor(color) { var t1 = color.value, red = (t1 >>> 16 & 255) / 255, green = (t1 >>> 8 & 255) / 255, blue = (t1 & 255) / 255, max = Math.max(red, Math.max(green, blue)), delta = max - Math.min(red, Math.min(green, blue)), hue = A._getHue(red, green, blue, max, delta), saturation = max === 0 ? 0 : delta / max; return new A.HSVColor((t1 >>> 24 & 255) / 255, hue, saturation, max); }, HSVColor: function HSVColor(t0, t1, t2, t3) { var _ = this; _.alpha = t0; _.hue = t1; _.saturation = t2; _.value = t3; }, HSLColor: function HSLColor(t0, t1, t2, t3) { var _ = this; _.alpha = t0; _.hue = t1; _.saturation = t2; _.lightness = t3; }, ColorSwatch: function ColorSwatch(t0, t1, t2) { this._swatch = t0; this.value = t1; this.$ti = t2; }, ImageSizeInfo: function ImageSizeInfo(t0, t1, t2) { this.source = t0; this.displaySize = t1; this.imageSize = t2; }, Decoration_lerp(a, b, t) { var _null = null, t1 = a == null; if (t1 && b == null) return _null; if (t1) { 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$(fit, image, onError) { return new A.DecorationImage(image, onError, fit); }, paintImage(alignment, 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, t7, paint, halfWidthDelta, t8, halfHeightDelta, destinationRect, sizeInfo, existingSizeInfo, needSave, dx, sourceRect; if (rect.get$isEmpty(rect)) 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; t7 = A._detectRenderer(); paint = t7 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$isAntiAlias(false); if (colorFilter != null) paint.set$colorFilter(colorFilter); paint.set$color(0, A.Color$fromRGBO(0, 0, 0, opacity)); paint.set$filterQuality(filterQuality); paint.set$invertColors(invertColors); 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); t3 = debugImageLabel == null ? "<Unknown Image(" + A.S(image.get$width(image)) + "\xd7" + A.S(image.get$height(image)) + ")>" : debugImageLabel; t4 = image.get$width(image); t7 = image.get$height(image); $.PaintingBinding__instance.toString; t8 = $.$get$window()._debugDevicePixelRatio; t8 = outputSize.$mul(0, t8 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t8); 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_closure()); } needSave = repeat !== B.ImageRepeat_3 || flipHorizontally; if (needSave) canvas.save$0(0); t3 = repeat === B.ImageRepeat_3; if (!t3) canvas.clipRect$1(0, 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), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) canvas.drawImageRect$4(image, sourceRect, t1.get$current(t1), paint); if (needSave) canvas.restore$0(0); }, _generateImageTileRects($async$outputRect, $async$fundamentalRect, $async$repeat) { return A._makeSyncStarIterable(function() { var outputRect = $async$outputRect, fundamentalRect = $async$fundamentalRect, repeat = $async$repeat; var $async$goto = 0, $async$handler = 1, $async$currentError, startX, stopX, startY, stopY, i, j, t1, t2, strideX, t3, t4, strideY, t5; return function $async$_generateImageTileRects($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 = 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; } i = startX; case 2: // for condition if (!(i <= stopX)) { // goto after for $async$goto = 4; break; } t1 = i * strideX, j = startY; case 5: // for condition if (!(j <= stopY)) { // goto after for $async$goto = 7; break; } $async$goto = 8; return fundamentalRect.shift$1(new A.Offset(t1, j * strideY)); case 8: // after yield case 6: // for update ++j; // goto for condition $async$goto = 5; break; case 7: // after for case 3: // for update ++i; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.Rect); }, ImageRepeat: function ImageRepeat(t0, t1) { this.index = t0; this._core$_name = t1; }, DecorationImage: function DecorationImage(t0, t1, t2) { this.image = t0; this.onError = t1; this.fit = t2; }, DecorationImagePainter: function DecorationImagePainter(t0, t1) { var _ = this; _._details = t0; _._onChanged = t1; _._decoration_image$_image = _._decoration_image$_imageStream = null; }, paintImage_closure: function paintImage_closure() { }, EdgeInsetsGeometry_lerp(a, b, t) { var t2, t3, t4, t5, t6, t1 = a == null; if (t1 && b == null) return null; if (t1) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); 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$fromWindowPadding(padding, devicePixelRatio) { return new A.EdgeInsets(padding.left / devicePixelRatio, padding.top / devicePixelRatio, padding.right / devicePixelRatio, padding.bottom / devicePixelRatio); }, EdgeInsets_lerp(a, b, t) { var t2, t3, t4, 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 t2, t3, t4, 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; }, Gradient_lerp(a, b, t) { return null; }, Gradient0: function Gradient0() { }, LinearGradient: function LinearGradient(t0, t1, t2, t3, t4, t5) { var _ = this; _.begin = t0; _.end = t1; _.tileMode = t2; _.colors = t3; _.stops = t4; _.transform = t5; }, _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) { this._box_0 = t0; this.$this = t1; this.key = t2; }, _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 = $; _.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; }, ResizeImage_resizeIfNeeded(cacheWidth, cacheHeight, provider) { return provider; }, 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) { this.handleError = t0; }, ImageProvider__createErrorHandlerAndKey_closure0: function ImageProvider__createErrorHandlerAndKey_closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.configuration = t2; _.handleError = t3; _.successCallback = t4; }, 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; }, 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) { var _ = this; _._image_stream$_listeners = t0; _.debugLabel = _._currentError = _._currentImage = null; _._hadAtLeastOneListener = false; _._keepAliveHandles = 0; _._image_stream$_disposed = false; _._onLastListenerRemovedCallbacks = t1; }, AssetImage__manifestParser(jsonData) { var parsedJson, t1, t2, t3, t4, t5, t6; if (jsonData == null) return new A.SynchronousFuture(null, type$.SynchronousFuture_nullable_Map_of_String_and_List_String); parsedJson = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(0, jsonData)); t1 = J.getInterceptor$x(parsedJson); t2 = type$.String; t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_String); for (t4 = J.get$iterator$ax(t1.get$keys(parsedJson)), t5 = type$.List_dynamic; t4.moveNext$0();) { t6 = t4.get$current(t4); t3.$indexSet(0, t6, A.List_List$from(t5._as(t1.$index(parsedJson, t6)), true, t2)); } return new A.SynchronousFuture(t3, type$.SynchronousFuture_nullable_Map_of_String_and_List_String); }, 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)); 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) { var _ = this; _._codec = null; _._scale = t0; _._informationCollector = t1; _._nextFrame = null; _.__MultiFrameImageStreamCompleter__shownTimestamp = $; _._frameDuration = null; _._framesEmitted = 0; _._image_stream$_timer = null; _._frameCallbackScheduled = false; _._image_stream$_listeners = t2; _.debugLabel = _._currentError = _._currentImage = null; _._hadAtLeastOneListener = false; _._keepAliveHandles = 0; _._image_stream$_disposed = false; _._onLastListenerRemovedCallbacks = t3; }, 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(0, 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; }, PlaceholderSpan0: function PlaceholderSpan0() { }, RoundedRectangleBorder: function RoundedRectangleBorder(t0, t1) { this.borderRadius = t0; this.side = t1; }, _RoundedRectangleToCircleBorder: function _RoundedRectangleToCircleBorder(t0, t1, t2) { this.borderRadius = t0; this.circleness = t1; this.side = t2; }, ShapeDecoration_ShapeDecoration$fromBoxDecoration(source) { var t1, shape, t2; switch (source.shape.index) { case 1: t1 = source.border; shape = t1 != null ? new A.CircleBorder(t1.get$top(t1)) : B.CircleBorder_IVQ; 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_0CF : t2); } else if (shape == null) shape = B.Border_27z; break; default: shape = null; } return new A.ShapeDecoration(source.color, source.gradient, source.image, source.boxShadow, shape); }, ShapeDecoration_lerp(a, b, t) { var t2, t3, t4, t5, t6, _null = null, t1 = a == null; if (t1 && b == null) return _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 = t < 0.5 ? a.image : b.image; 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); }, 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 = $; _._shadowCount = _._interiorPaint = _._innerPath = null; _.___ShapeDecorationPainter__shadowPaints = _.___ShapeDecorationPainter__shadowPaths = $; _._imagePainter = null; _.onChanged = t1; }, _ShapeDecorationPainter__precache_closure: function _ShapeDecorationPainter__precache_closure() { }, _ShapeDecorationPainter__precache_closure0: function _ShapeDecorationPainter__precache_closure0(t0, t1, t2) { this.$this = t0; this.rect = t1; this.textDirection = t2; }, StadiumBorder: function StadiumBorder(t0) { this.side = t0; }, _StadiumToCircleBorder: function _StadiumToCircleBorder(t0, t1) { this.circleness = t0; this.side = t1; }, _StadiumToRoundedRectangleBorder: function _StadiumToRoundedRectangleBorder(t0, t1, t2) { this.borderRadius = t0; this.rectness = 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() { }, TextPainter$(ellipsis, locale, maxLines, strutStyle, text, textAlign, textDirection, textHeightBehavior, textScaleFactor, textWidthBasis) { return new A.TextPainter(text, textAlign, textDirection, textScaleFactor, ellipsis, locale, maxLines, strutStyle, textWidthBasis, textHeightBehavior); }, TextOverflow: function TextOverflow(t0, t1) { this.index = t0; this._core$_name = t1; }, PlaceholderDimensions: function PlaceholderDimensions(t0, t1, t2) { this.size = t0; this.baselineOffset = t1; this.baseline = t2; }, TextWidthBasis: function TextWidthBasis(t0, t1) { this.index = t0; this._core$_name = t1; }, _CaretMetrics: function _CaretMetrics(t0, t1) { this.offset = t0; this.fullHeight = t1; }, TextPainter: function TextPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._paragraph = null; _._rebuildParagraphForPaint = true; _._text_painter$_text = t0; _._textAlign = t1; _._text_painter$_textDirection = t2; _._textScaleFactor = t3; _._ellipsis = t4; _._text_painter$_locale = t5; _._maxLines = t6; _._strutStyle = t7; _._textWidthBasis = t8; _._text_painter$_textHeightBehavior = t9; _._lastMaxWidth = _._lastMinWidth = _._layoutTemplate = _._placeholderDimensions = _._inlinePlaceholderScales = _._inlinePlaceholderBoxes = null; _.__TextPainter__caretMetrics = $; _._previousCaretPrototype = _._previousCaretPosition = null; }, TextSpan$(children, mouseCursor, recognizer, semanticsLabel, style, text) { var t1; if (mouseCursor == null) t1 = recognizer == null ? B.C__DeferringMouseCursor : B.SystemMouseCursor_click; else t1 = mouseCursor; return new A.TextSpan(text, children, recognizer, t1, semanticsLabel, style); }, TextSpan: function TextSpan(t0, t1, t2, t3, t4, t5) { var _ = this; _.text = t0; _.children = t1; _.recognizer = t2; _.mouseCursor = t3; _.semanticsLabel = t4; _.style = t5; }, TextSpan_debugDescribeChildren_closure: function TextSpan_debugDescribeChildren_closure() { }, TextStyle$(background, backgroundColor, color, debugLabel, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, 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, overflow); }, TextStyle_lerp(a, b, t) { var 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, t1 = a == null; if (t1 && b == null) return _null; if (t1) { 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 = t4 ? _null : b.decoration; t19 = A.Color_lerp(_null, b.decorationColor, t); t20 = t4 ? _null : b.decorationStyle; t21 = t4 ? _null : b.decorationThickness; t22 = t4 ? _null : b.get$_text_style$_fontFamily(b); t23 = t4 ? _null : b.get$fontFamilyFallback(); t24 = t4 ? _null : b._package; return A.TextStyle$(t15, t3, t2, _null, t18, t19, t20, t21, t22, t23, t17, t5, t7, t6, t14, t11, t1, t12, t8, t13, t4 ? _null : b.overflow, t24, 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 = t4 ? a.decoration : _null; t19 = A.Color_lerp(a.decorationColor, _null, t); t20 = t4 ? a.decorationStyle : _null; t21 = t4 ? a.decorationThickness : _null; t22 = t4 ? a.get$_text_style$_fontFamily(a) : _null; t23 = t4 ? a.get$fontFamilyFallback() : _null; t24 = t4 ? a._package : _null; return A.TextStyle$(t15, t3, t2, _null, t18, t19, t20, t21, t22, t23, t17, t5, t7, t6, t14, t11, t1, t12, t8, t13, t4 ? a.overflow : _null, t24, t16, t10, t9); } t1 = b.inherit; t2 = a.foreground; t3 = t2 == null; t4 = t3 && b.foreground == null ? A.Color_lerp(a.color, b.color, t) : _null; t5 = a.background; t6 = t5 == null; t7 = t6 && b.background == null ? A.Color_lerp(a.backgroundColor, b.backgroundColor, t) : _null; t8 = a.fontSize; t9 = t8 == null ? b.fontSize : t8; t10 = b.fontSize; t8 = A.lerpDouble(t9, t10 == null ? t8 : t10, t); t9 = A.FontWeight_lerp(a.fontWeight, b.fontWeight, t); t10 = t < 0.5; t11 = t10 ? 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 = t10 ? 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 = t10 ? a.leadingDistribution : b.leadingDistribution; t17 = t10 ? a.locale : b.locale; if (!t3 || b.foreground != null) if (t10) { if (t3) { t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = a.color; t3.toString; t2.set$color(0, t3); } } else { t2 = b.foreground; if (t2 == null) { t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = b.color; t3.toString; t2.set$color(0, t3); } } else t2 = _null; if (!t6 || b.background != null) if (t10) if (t6) { t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5 = a.backgroundColor; t5.toString; t3.set$color(0, t5); } else t3 = t5; else { t3 = b.background; if (t3 == null) { t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5 = b.backgroundColor; t5.toString; t3.set$color(0, t5); } } else t3 = _null; t5 = t10 ? a.shadows : b.shadows; t6 = t10 ? a.fontFeatures : b.fontFeatures; t18 = t10 ? a.decoration : b.decoration; t19 = A.Color_lerp(a.decorationColor, b.decorationColor, t); t20 = t10 ? a.decorationStyle : b.decorationStyle; t21 = a.decorationThickness; t22 = t21 == null ? b.decorationThickness : t21; t23 = b.decorationThickness; t21 = A.lerpDouble(t22, t23 == null ? t21 : t23, t); t22 = t10 ? a.get$_text_style$_fontFamily(a) : b.get$_text_style$_fontFamily(b); t23 = t10 ? a.get$fontFamilyFallback() : b.get$fontFamilyFallback(); t24 = t10 ? a._package : b._package; return A.TextStyle$(t3, t7, t4, _null, t18, t19, t20, t21, t22, t23, t6, t8, t11, t9, t2, t15, t1, t16, t12, t17, t10 ? a.overflow : b.overflow, t24, t5, t14, t13); }, 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) { 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; _.overflow = t24; }, TextStyle_fontFamilyFallback_closure: function TextStyle_fontFamilyFallback_closure(t0) { this.$this = t0; }, _TextStyle_Object_Diagnosticable: function _TextStyle_Object_Diagnosticable() { }, FrictionSimulation: function FrictionSimulation(t0, t1, t2, t3, t4) { var _ = this; _._drag = t0; _._dragLog = t1; _._friction_simulation$_x = t2; _._v = t3; _.tolerance = t4; }, Simulation: function Simulation() { }, SpringDescription$withDampingRatio(mass, ratio, stiffness) { return new A.SpringDescription(mass, stiffness, ratio * 2 * Math.sqrt(mass * stiffness)); }, SpringSimulation$(spring, start, end, velocity, tolerance) { return new A.SpringSimulation(end, A._SpringSolution__SpringSolution(spring, start - end, velocity), tolerance); }, _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; }, RendererBinding: function RendererBinding() { }, RendererBinding__scheduleMouseTrackerUpdate_closure: function RendererBinding__scheduleMouseTrackerUpdate_closure(t0) { this.$this = t0; }, 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_lerp(a, b, t) { var t2, t3, t4, t1 = a == null; if (t1 && b == null) return null; if (t1) return b.$mul(0, t); if (b == null) return a.$mul(0, 1 - t); t1 = a.minWidth; 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$() { var t1 = A._setArrayType([], type$.JSArray_HitTestEntry), t2 = new A.Matrix4(new Float64Array(16)); t2.setIdentity$0(); return new A.BoxHitTestResult(t1, A._setArrayType([t2], type$.JSArray_Matrix4_2), A._setArrayType([], type$.JSArray__TransformPart)); }, BoxHitTestResult$wrap(result) { return new A.BoxHitTestResult(result._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._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_layout0$_delegate = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin: function _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin() { }, _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, RenderCustomPaint__updateSemanticsChildren(oldSemantics, newChildSemantics) { var t1, oldChildrenBottom, newChildren, haveOldChildren, newSemantics, newChild, oldKeyedChildren, oldChildrenTop, t2, newChildrenTop, key, t3, oldChild, _box_0 = {}; _box_0.newChildSemantics = newChildSemantics; if (oldSemantics == null) oldSemantics = B.List_empty28; t1 = J.getInterceptor$asx(oldSemantics); oldChildrenBottom = t1.get$length(oldSemantics) - 1; newChildren = A.List_List$filled(0, null, false, type$.nullable_SemanticsNode); haveOldChildren = 0 <= oldChildrenBottom; while (true) { if (!false) break; t1.$index(oldSemantics, 0); newSemantics = newChildSemantics[0]; newSemantics.get$key(newSemantics); break; } while (true) { if (!false) break; t1.$index(oldSemantics, oldChildrenBottom); newChild = newChildSemantics[-1]; newChild.get$key(newChild); break; } oldKeyedChildren = A._Cell$named("oldKeyedChildren"); if (haveOldChildren) { oldKeyedChildren.set$finalLocalValue(A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.SemanticsNode)); for (oldChildrenTop = 0; oldChildrenTop <= oldChildrenBottom;) { t1.$index(oldSemantics, oldChildrenTop); ++oldChildrenTop; } haveOldChildren = true; } else oldChildrenTop = 0; for (t2 = oldKeyedChildren.__late_helper$_name, newChildrenTop = 0; false;) { newSemantics = _box_0.newChildSemantics[newChildrenTop]; if (haveOldChildren) { key = newSemantics.get$key(newSemantics); t3 = oldKeyedChildren.__late_helper$_value; if (t3 === oldKeyedChildren) A.throwExpression(A.LateError$localNI(t2)); oldChild = J.$index$asx(t3, key); if (oldChild != null) { newSemantics.get$key(newSemantics); oldChild = null; } } else oldChild = null; newChildren[newChildrenTop] = A.RenderCustomPaint__updateSemanticsChild(oldChild, newSemantics); ++newChildrenTop; } t1.get$length(oldSemantics); while (true) { if (!false) break; newChildren[newChildrenTop] = A.RenderCustomPaint__updateSemanticsChild(t1.$index(oldSemantics, oldChildrenTop), _box_0.newChildSemantics[newChildrenTop]); ++newChildrenTop; ++oldChildrenTop; } return new A.CastList(newChildren, A._arrayInstanceType(newChildren)._eval$1("CastList<1,SemanticsNode>")); }, RenderCustomPaint__updateSemanticsChild(oldChild, newSemantics) { var t1, newChild = oldChild == null ? A.SemanticsNode$(newSemantics.get$key(newSemantics), null) : oldChild, properties = newSemantics.get$properties(), config = A.SemanticsConfiguration$(); properties.get$sortKey(); config._semantics$_sortKey = properties.get$sortKey(); config._hasBeenAnnotated = true; properties.get$checked(properties); t1 = properties.get$checked(properties); config._setFlag$2(B.SemanticsFlag_1, true); config._setFlag$2(B.SemanticsFlag_2, t1); properties.get$selected(properties); config._setFlag$2(B.SemanticsFlag_4, properties.get$selected(properties)); properties.get$button(properties); config._setFlag$2(B.SemanticsFlag_8, properties.get$button(properties)); properties.get$link(); config._setFlag$2(B.SemanticsFlag_4194304, properties.get$link()); properties.get$textField(); config._setFlag$2(B.SemanticsFlag_16, properties.get$textField()); properties.get$slider(); config._setFlag$2(B.SemanticsFlag_8388608, properties.get$slider()); properties.get$keyboardKey(); config._setFlag$2(B.SemanticsFlag_16777216, properties.get$keyboardKey()); properties.get$readOnly(properties); config._setFlag$2(B.SemanticsFlag_1048576, properties.get$readOnly(properties)); properties.get$focusable(); config._setFlag$2(B.SemanticsFlag_2097152, properties.get$focusable()); properties.get$focused(properties); config._setFlag$2(B.SemanticsFlag_32, properties.get$focused(properties)); properties.get$enabled(properties); t1 = properties.get$enabled(properties); config._setFlag$2(B.SemanticsFlag_64, true); config._setFlag$2(B.SemanticsFlag_128, t1); properties.get$inMutuallyExclusiveGroup(); config._setFlag$2(B.SemanticsFlag_256, properties.get$inMutuallyExclusiveGroup()); properties.get$obscured(); config._setFlag$2(B.SemanticsFlag_1024, properties.get$obscured()); properties.get$multiline(properties); config._setFlag$2(B.SemanticsFlag_524288, properties.get$multiline(properties)); properties.get$hidden(properties); config._setFlag$2(B.SemanticsFlag_8192, properties.get$hidden(properties)); properties.get$header(); config._setFlag$2(B.SemanticsFlag_512, properties.get$header()); properties.get$scopesRoute(); config._setFlag$2(B.SemanticsFlag_2048, properties.get$scopesRoute()); properties.get$namesRoute(); config._setFlag$2(B.SemanticsFlag_4096, properties.get$namesRoute()); properties.get$liveRegion(); config._setFlag$2(B.SemanticsFlag_32768, properties.get$liveRegion()); properties.get$maxValueLength(); config.set$maxValueLength(properties.get$maxValueLength()); properties.get$currentValueLength(); config.set$currentValueLength(properties.get$currentValueLength()); properties.get$toggled(); t1 = properties.get$toggled(); config._setFlag$2(B.SemanticsFlag_65536, true); config._setFlag$2(B.SemanticsFlag_131072, t1); properties.get$image(properties); config._setFlag$2(B.SemanticsFlag_16384, properties.get$image(properties)); properties.get$label(properties); config._semantics$_attributedLabel = new A.AttributedString(properties.get$label(properties), B.List_empty3); config._hasBeenAnnotated = true; properties.get$value(properties); config._semantics$_attributedValue = new A.AttributedString(properties.get$value(properties), B.List_empty3); config._hasBeenAnnotated = true; properties.get$increasedValue(); config._semantics$_attributedIncreasedValue = new A.AttributedString(properties.get$increasedValue(), B.List_empty3); config._hasBeenAnnotated = true; properties.get$decreasedValue(); config._semantics$_attributedDecreasedValue = new A.AttributedString(properties.get$decreasedValue(), B.List_empty3); config._hasBeenAnnotated = true; properties.get$hint(properties); config._semantics$_attributedHint = new A.AttributedString(properties.get$hint(properties), B.List_empty3); config._hasBeenAnnotated = true; properties.get$textDirection(properties); config._semantics$_textDirection = properties.get$textDirection(properties); config._hasBeenAnnotated = true; properties.get$onTap(); config.set$onTap(properties.get$onTap()); properties.get$onLongPress(); config.set$onLongPress(properties.get$onLongPress()); properties.get$onScrollLeft(); config.set$onScrollLeft(properties.get$onScrollLeft()); properties.get$onScrollRight(); config.set$onScrollRight(properties.get$onScrollRight()); properties.get$onScrollUp(); config.set$onScrollUp(properties.get$onScrollUp()); properties.get$onScrollDown(); config.set$onScrollDown(properties.get$onScrollDown()); properties.get$onIncrease(); config.set$onIncrease(properties.get$onIncrease()); properties.get$onDecrease(); config.set$onDecrease(properties.get$onDecrease()); properties.get$onCopy(properties); config.set$onCopy(0, properties.get$onCopy(properties)); properties.get$onCut(properties); config.set$onCut(0, properties.get$onCut(properties)); properties.get$onPaste(properties); config.set$onPaste(0, properties.get$onPaste(properties)); properties.get$onMoveCursorForwardByCharacter(); config.set$onMoveCursorForwardByCharacter(properties.get$onMoveCursorForwardByCharacter()); properties.get$onMoveCursorBackwardByCharacter(); config.set$onMoveCursorBackwardByCharacter(properties.get$onMoveCursorBackwardByCharacter()); properties.get$onMoveCursorForwardByWord(); config.set$onMoveCursorForwardByWord(properties.get$onMoveCursorForwardByWord()); properties.get$onMoveCursorBackwardByWord(); config.set$onMoveCursorBackwardByWord(properties.get$onMoveCursorBackwardByWord()); properties.get$onSetSelection(); config.set$onSetSelection(properties.get$onSetSelection()); properties.get$onSetText(); config.set$onSetText(properties.get$onSetText()); properties.get$onDidGainAccessibilityFocus(); config.set$onDidGainAccessibilityFocus(properties.get$onDidGainAccessibilityFocus()); properties.get$onDidLoseAccessibilityFocus(); config.set$onDidLoseAccessibilityFocus(properties.get$onDidLoseAccessibilityFocus()); properties.get$onDismiss(); config.set$onDismiss(properties.get$onDismiss()); newChild.updateWith$2$childrenInInversePaintOrder$config(0, B.List_empty28, config); newChild.set$rect(0, newSemantics.get$rect(newSemantics)); newChild.set$transform(0, newSemantics.get$transform(newSemantics)); newChild.tags = newSemantics.get$tags(); return newChild; }, CustomPainter: function CustomPainter() { }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, DebugOverflowIndicatorMixin: function DebugOverflowIndicatorMixin() { }, _RenderEditableCustomPaint$(painter) { var t1 = new A._RenderEditableCustomPaint(painter, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; return t1; }, _TextHighlightPainter$() { var t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); return new A._TextHighlightPainter(t1, B.BoxHeightStyle_0, B.BoxWidthStyle_0, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, TextSelectionPoint: function TextSelectionPoint(t0, t1) { this.point = t0; this.direction = t1; }, RenderEditable: function RenderEditable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32) { var _ = this; _._backgroundRenderObject = _._foregroundRenderObject = null; _.__RenderEditable__placeholderSpans = $; _._editable$_painter = _._editable$_foregroundPainter = null; _.__RenderEditable__caretPainter = $; _._selectionPainter = t0; _._autocorrectHighlightPainter = t1; _._lastCaretRect = _._textLayoutLastMinWidth = _._textLayoutLastMaxWidth = _._cachedBuiltInPainters = _._cachedBuiltInForegroundPainters = null; _.onCaretChanged = t2; _.ignorePointer = t3; _._devicePixelRatio = t4; _._obscuringCharacter = t5; _._obscureText = t6; _.textSelectionDelegate = t7; _._selectionStartInViewport = t8; _._selectionEndInViewport = t9; _._cachedPlainText = null; _._textPainter = t10; _._cachedCombinedSemanticsInfos = _._cachedAttributedValue = null; _._showCursor = t11; _._editable$_hasFocus = t12; _._forceLine = t13; _._readOnly = t14; _._editable$_maxLines = t15; _._minLines = t16; _._editable$_expands = t17; _._selection = t18; _._editable$_offset = t19; _._cursorWidth = t20; _._editable$_cursorHeight = t21; _._paintCursorOnTop = t22; _._editable$_startHandleLayerLink = t23; _._editable$_endHandleLayerLink = t24; _._floatingCursorOn = false; _.__RenderEditable__floatingCursorTextPosition = $; _._enableInteractiveSelection = t25; _._editable$_maxScrollExtent = 0; _._editable$_clipBehavior = t26; _._cachedChildNodes = _._editable$_semanticsInfo = null; _.__RenderEditable__longPress = _.__RenderEditable__tap = $; _._editable$_placeholderDimensions = _._lastSecondaryTapDownPosition = _._lastTapDownPosition = null; _.__RenderEditable__caretPrototype = $; _._relativeOrigin = t27; _._previousOffset = null; _._resetOriginOnBottom = _._resetOriginOnTop = _._resetOriginOnRight = _._resetOriginOnLeft = false; _._resetFloatingCursorAnimationValue = null; _._editable$_clipRectLayer = t28; _.ContainerRenderObjectMixin__childCount = t29; _.ContainerRenderObjectMixin__firstChild = t30; _.ContainerRenderObjectMixin__lastChild = t31; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t32; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderEditable__extractPlaceholderSpans_closure: function RenderEditable__extractPlaceholderSpans_closure(t0) { this.$this = t0; }, RenderEditable_describeSemanticsConfiguration_closure: function RenderEditable_describeSemanticsConfiguration_closure() { }, RenderEditable_getRectForComposingRange_closure: function RenderEditable_getRectForComposingRange_closure() { }, RenderEditable_hitTestChildren_closure: function RenderEditable_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.textParentData = t2; }, RenderEditable__paintContents_closure: function RenderEditable__paintContents_closure(t0) { this._box_0 = t0; }, _RenderEditableCustomPaint: function _RenderEditableCustomPaint(t0, t1) { var _ = this; _._editable$_painter = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderEditablePainter: function RenderEditablePainter() { }, _TextHighlightPainter: function _TextHighlightPainter(t0, t1, t2, t3) { var _ = this; _.highlightPaint = t0; _._highlightedRange = _._editable$_highlightColor = null; _._selectionHeightStyle = t1; _._selectionWidthStyle = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _FloatingCursorPainter: function _FloatingCursorPainter(t0, t1, t2, t3) { var _ = this; _._shouldPaint = true; _.caretPaintCallback = t0; _.showRegularCaret = false; _.caretPaint = t1; _.___FloatingCursorPainter_floatingCursorPaint = $; _._cursorRadius = _._caretColor = null; _._cursorOffset = t2; _._floatingCursorRect = _._backgroundCursorColor = null; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.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_RenderBoxContainerDefaultsMixin: function _RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, RenderErrorBox: function RenderErrorBox(t0, t1) { var _ = this; _.message = t0; _.__RenderErrorBox__paragraph = $; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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: return null; } break; case 1: switch (verticalDirection) { case B.VerticalDirection_1: return true; case B.VerticalDirection_0: return false; case null: return null; } break; } }, RenderFlex$(children, 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, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, children); 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; _._flex$_crossAxisAlignment = t3; _._flex$_textDirection = t4; _._flex$_verticalDirection = t5; _._flex$_textBaseline = t6; _._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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t14; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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$_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; _._image$_invertColors = t13; _._matchTextDirection = t14; _._image$_textDirection = t15; _._image$_isAntiAlias = t16; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t17; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, LayerHandle$($T) { return new A.LayerHandle($T._eval$1("LayerHandle<0>")); }, TransformLayer$(transform) { return new A.TransformLayer(transform, B.Offset_0_0, A.LayerHandle$(type$.Layer_2)); }, OpacityLayer$(alpha) { return new A.OpacityLayer(alpha, B.Offset_0_0, A.LayerHandle$(type$.Layer_2)); }, PhysicalModelLayer$() { return new A.PhysicalModelLayer(B.Clip_0, A.LayerHandle$(type$.Layer_2)); }, FollowerLayer__collectTransformForLayerChain(layers) { var index, t1, result = new A.Matrix4(new Float64Array(16)); result.setIdentity$0(); for (index = layers.length - 1; index > 0; --index) { t1 = layers[index]; if (t1 != null) t1.applyTransform$2(layers[index - 1], result); } return result; }, FollowerLayer__pathsToCommonAncestor(a, b, ancestorsA, ancestorsB) { var t1, t2; if (a == null || b == null) return null; if (a === b) return a; t1 = a._depth; t2 = b._depth; if (t1 < t2) { t1 = type$.nullable_ContainerLayer; ancestorsB.push(t1._as(A.AbstractNode.prototype.get$parent.call(b, b))); return A.FollowerLayer__pathsToCommonAncestor(a, t1._as(A.AbstractNode.prototype.get$parent.call(b, b)), ancestorsA, ancestorsB); } else if (t1 > t2) { t1 = type$.nullable_ContainerLayer; ancestorsA.push(t1._as(A.AbstractNode.prototype.get$parent.call(a, a))); return A.FollowerLayer__pathsToCommonAncestor(t1._as(A.AbstractNode.prototype.get$parent.call(a, a)), b, ancestorsA, ancestorsB); } t1 = type$.nullable_ContainerLayer; ancestorsA.push(t1._as(A.AbstractNode.prototype.get$parent.call(a, a))); ancestorsB.push(t1._as(A.AbstractNode.prototype.get$parent.call(b, b))); return A.FollowerLayer__pathsToCommonAncestor(t1._as(A.AbstractNode.prototype.get$parent.call(a, a)), t1._as(A.AbstractNode.prototype.get$parent.call(b, b)), ancestorsA, ancestorsB); }, AnnotationEntry: function AnnotationEntry(t0, t1, t2) { this.annotation = t0; this.localPosition = t1; this.$ti = t2; }, AnnotationResult: function AnnotationResult(t0, t1) { this._layer$_entries = t0; this.$ti = t1; }, Layer1: function Layer1() { }, LayerHandle: function LayerHandle(t0) { this._layer = null; this.$ti = t0; }, PictureLayer: function PictureLayer(t0, t1) { var _ = this; _.canvasBounds = t0; _._layer$_picture = null; _._layer$_debugDisposed = _._willChangeHint = _._isComplexHint = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, TextureLayer: function TextureLayer(t0, t1, t2, t3, t4) { var _ = this; _.rect = t0; _.textureId = t1; _.freeze = t2; _.filterQuality = t3; _._layer$_debugDisposed = false; _._parentHandle = t4; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, PlatformViewLayer: function PlatformViewLayer(t0, t1, t2) { var _ = this; _.rect = t0; _.viewId = t1; _._layer$_debugDisposed = false; _._parentHandle = t2; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, PerformanceOverlayLayer: function PerformanceOverlayLayer(t0, t1, t2, t3, t4, t5) { var _ = this; _._overlayRect = t0; _.optionsMask = t1; _.rasterizerThreshold = t2; _.checkerboardRasterCacheImages = t3; _.checkerboardOffscreenLayers = t4; _._layer$_debugDisposed = false; _._parentHandle = t5; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ContainerLayer0: function ContainerLayer0() { }, OffsetLayer: function OffsetLayer(t0, t1) { var _ = this; _._layer$_offset = t0; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ClipRectLayer: function ClipRectLayer(t0, t1) { var _ = this; _._layer$_clipRect = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ClipRRectLayer: function ClipRRectLayer(t0, t1) { var _ = this; _._clipRRect = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ClipPathLayer: function ClipPathLayer(t0, t1) { var _ = this; _._clipPath = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, TransformLayer: function TransformLayer(t0, t1, t2) { var _ = this; _._layer$_transform = t0; _._invertedTransform = _._lastEffectiveTransform = null; _._inverseDirty = true; _._layer$_offset = t1; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t2; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, OpacityLayer: function OpacityLayer(t0, t1, t2) { var _ = this; _._layer$_alpha = t0; _._layer$_offset = t1; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t2; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, BackdropFilterLayer: function BackdropFilterLayer(t0, t1) { var _ = this; _._layer$_filter = null; _._layer$_blendMode = t0; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, PhysicalModelLayer: function PhysicalModelLayer(t0, t1) { var _ = this; _._clipPath = null; _._layer$_clipBehavior = t0; _._lastChild = _._firstChild = _._layer$_shadowColor = _._layer$_color = _._layer$_elevation = null; _._layer$_debugDisposed = false; _._parentHandle = t1; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, LayerLink: function LayerLink() { this._leader = null; this._connectedFollowers = 0; this.leaderSize = null; }, _LayerLinkHandle: function _LayerLinkHandle(t0) { this._layer$_link = t0; }, LeaderLayer: function LeaderLayer(t0, t1, t2) { var _ = this; _._layer$_link = t0; _._layer$_offset = t1; _._lastChild = _._firstChild = _._lastOffset = null; _._layer$_debugDisposed = false; _._parentHandle = t2; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, FollowerLayer: function FollowerLayer(t0, t1, t2, t3, t4) { var _ = this; _._layer$_link = t0; _.showWhenUnlinked = t1; _.unlinkedOffset = t2; _.linkedOffset = t3; _._invertedTransform = _._layer$_lastTransform = _._lastOffset = _._leaderHandle = null; _._inverseDirty = true; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t4; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, AnnotatedRegionLayer: function AnnotatedRegionLayer(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.size = t1; _.offset = t2; _._lastChild = _._firstChild = null; _._layer$_debugDisposed = false; _._parentHandle = t3; _._refCount = 0; _._needsAddToScene = true; _.debugCreator = _._previousSibling = _._nextSibling = _._engineLayer = null; _._depth = 0; _._node$_parent = _._node$_owner = null; _.$ti = t4; }, _Layer_AbstractNode_DiagnosticableTreeMixin: function _Layer_AbstractNode_DiagnosticableTreeMixin() { }, 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; _._list_body$_axisDirection = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderListBody_computeMinIntrinsicWidth_closure: function RenderListBody_computeMinIntrinsicWidth_closure(t0) { this.height = t0; }, RenderListBody_computeMinIntrinsicWidth_closure0: function RenderListBody_computeMinIntrinsicWidth_closure0(t0) { this.height = t0; }, RenderListBody_computeMaxIntrinsicWidth_closure: function RenderListBody_computeMaxIntrinsicWidth_closure(t0) { this.height = t0; }, RenderListBody_computeMaxIntrinsicWidth_closure0: function RenderListBody_computeMaxIntrinsicWidth_closure0(t0) { this.height = t0; }, RenderListBody_computeMinIntrinsicHeight_closure: function RenderListBody_computeMinIntrinsicHeight_closure(t0) { this.width = t0; }, RenderListBody_computeMinIntrinsicHeight_closure0: function RenderListBody_computeMinIntrinsicHeight_closure0(t0) { this.width = t0; }, RenderListBody_computeMaxIntrinsicHeight_closure: function RenderListBody_computeMaxIntrinsicHeight_closure(t0) { this.width = t0; }, RenderListBody_computeMaxIntrinsicHeight_closure0: function RenderListBody_computeMaxIntrinsicHeight_closure0(t0) { this.width = t0; }, _RenderListBody_RenderBox_ContainerRenderObjectMixin: function _RenderListBody_RenderBox_ContainerRenderObjectMixin() { }, _RenderListBody_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderListBody_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, 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, enteringAnnotations, baseEnterEvent, result = details.triggeringEvent; if (result == null) result = details.previousEvent; lastAnnotations = details.lastAnnotations; nextAnnotations = details.nextAnnotations; t1 = result.get$timeStamp(result); t2 = result.get$pointer(); t3 = result.get$kind(result); t4 = result.get$device(result); t5 = result.get$position(result); t6 = result.get$delta(); t7 = result.get$buttons(result); result.get$obscured(); t8 = result.get$pressureMin(); t9 = result.get$pressureMax(); t10 = result.get$distance(); t11 = result.get$distanceMax(); t12 = result.get$size(result); t13 = result.get$radiusMajor(); t14 = result.get$radiusMinor(); t15 = result.get$radiusMin(); t16 = result.get$radiusMax(); t17 = result.get$orientation(result); t18 = result.get$tilt(); lastAnnotations.forEach$1(0, new A.MouseTracker__handleDeviceUpdateMouseEvents_closure(nextAnnotations, A.PointerExitEvent$(t7, t6, t4, t10, t11, result.get$down(), 0, t3, false, t17, t2, t5, t9, t8, t13, t16, t15, t14, t12, result.get$synthesized(), t18, t1).transformed$1(result.get$transform(result)), lastAnnotations)); t1 = nextAnnotations.get$keys(nextAnnotations); t18 = A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>"); enteringAnnotations = A.List_List$of(new A.WhereIterable(t1, new A.MouseTracker__handleDeviceUpdateMouseEvents_closure0(lastAnnotations), t18), true, t18._eval$1("Iterable.E")); t18 = result.get$timeStamp(result); t1 = result.get$pointer(); t12 = result.get$kind(result); t14 = result.get$device(result); t15 = result.get$position(result); t16 = result.get$delta(); t13 = result.get$buttons(result); result.get$obscured(); t8 = result.get$pressureMin(); t9 = result.get$pressureMax(); t5 = result.get$distance(); t2 = result.get$distanceMax(); t17 = result.get$size(result); t3 = result.get$radiusMajor(); t11 = result.get$radiusMinor(); t10 = result.get$radiusMin(); t4 = result.get$radiusMax(); t6 = result.get$orientation(result); t7 = result.get$tilt(); baseEnterEvent = A.PointerEnterEvent$(t13, t16, t14, t5, t2, result.get$down(), 0, t12, false, t6, t1, t15, t9, t8, t3, t4, t10, t11, t17, result.get$synthesized(), t7, t18).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(t2), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) { t3 = t1._as(t2.__internal$_current); if (t3.get$validForMouseTracker() && t3.get$onEnter(t3) != null) { t4 = t3.get$onEnter(t3); t4.toString; 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) { var _ = this; _._mouseCursorMixin = t0; _._mouseStates = t1; _._debugDuringDeviceUpdate = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.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; _.$this = t0; _.existingState = t1; _.event = t2; _.device = t3; _.result = t4; }, MouseTracker_updateWithEvent__closure: function MouseTracker_updateWithEvent__closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.existingState = t1; _.event = t2; _.device = t3; _.result = t4; }, MouseTracker_updateAllDevices_closure: function MouseTracker_updateAllDevices_closure(t0, t1) { this.$this = t0; this.hitTest = t1; }, 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, t2, t1 = child._layerHandle, childLayer = type$.nullable_OffsetLayer._as(t1._layer); if (childLayer == null) { layer = new A.OffsetLayer(B.Offset_0_0, A.LayerHandle$(type$.Layer_2)); t1.set$layer(0, layer); t1 = layer; } else { childLayer.removeAllChildren$0(); t1 = childLayer; } t2 = child.get$paintBounds(); childContext = new A.PaintingContext(t1, t2); child._paintWithContext$2(childContext, B.Offset_0_0); childContext.stopRecordingIfNeeded$0(); }, RenderObject__cleanChildRelayoutBoundary(child) { child._cleanRelayoutBoundary$0(); }, _SemanticsGeometry__transformRect(rect, transform) { var t1; if (rect == null) return null; if (!rect.get$isEmpty(rect)) { t1 = transform._m4storage; t1 = t1[0] === 0 && t1[1] === 0 && t1[2] === 0 && t1[3] === 0 && t1[4] === 0 && t1[5] === 0 && t1[6] === 0 && t1[7] === 0 && t1[8] === 0 && t1[9] === 0 && t1[10] === 0 && t1[11] === 0 && t1[12] === 0 && t1[13] === 0 && t1[14] === 0 && t1[15] === 0; } else t1 = true; if (t1) return B.Rect_0_0_0_0; return A.MatrixUtils_inverseTransformRect(transform, rect); }, _SemanticsGeometry__applyIntermediatePaintTransforms(ancestor, child, transform, clipRectTransform) { var t2, intermediateParent, t3, t1 = child.get$parent(child); t1.toString; t2 = type$.RenderObject; t2._as(t1); for (intermediateParent = t1; intermediateParent !== ancestor; intermediateParent = t1, child = t3) { intermediateParent.applyPaintTransform$2(child, transform); t1 = intermediateParent.get$parent(intermediateParent); t1.toString; t2._as(t1); t3 = child.get$parent(child); t3.toString; t2._as(t3); } ancestor.applyPaintTransform$2(child, transform); ancestor.applyPaintTransform$2(child, clipRectTransform); }, _SemanticsGeometry__intersectRects(a, b) { if (a == null) return b; if (b == null) return a; return a.intersect$1(b); }, DiagnosticsDebugCreator$(value) { var _null = null; return new A.DiagnosticsDebugCreator(_null, false, true, _null, _null, _null, false, value, true, B.C__NoDefaultValue, B.DiagnosticLevel_0, _null, "debugCreator", true, true, _null, B.DiagnosticsTreeStyle_8); }, ParentData: function ParentData() { }, PaintingContext: function PaintingContext(t0, t1) { var _ = this; _._containerLayer = t0; _.estimatedBounds = t1; _._object$_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() { }, SemanticsHandle: function SemanticsHandle(t0, t1) { this._object$_owner = t0; this.listener = t1; }, PipelineOwner: function PipelineOwner(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.onNeedVisualUpdate = t0; _.onSemanticsOwnerCreated = t1; _.onSemanticsOwnerDisposed = t2; _._rootNode = null; _._nodesNeedingLayout = t3; _._debugAllowMutationsToDirtySubtrees = _._debugDoingLayout = false; _._nodesNeedingCompositingBitsUpdate = t4; _._nodesNeedingPaint = t5; _._debugDoingPaint = false; _._semanticsOwner = null; _._outstandingSemanticsHandles = 0; _._debugDoingSemantics = false; _._nodesNeedingSemantics = t6; }, 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_reassemble_closure: function RenderObject_reassemble_closure() { }, RenderObject__debugReportException_closure: function RenderObject__debugReportException_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) { var _ = this; _._box_0 = t0; _.$this = t1; _.childrenMergeIntoParent = t2; _.fragments = t3; _.toBeMarkedExplicit = t4; _.config = t5; _.producesForkingFragment = t6; }, RenderObjectWithChildMixin: function RenderObjectWithChildMixin() { }, ContainerParentDataMixin: function ContainerParentDataMixin() { }, ContainerRenderObjectMixin: function ContainerRenderObjectMixin() { }, RelayoutWhenSystemFontsChangeMixin: function RelayoutWhenSystemFontsChangeMixin() { }, _SemanticsFragment: function _SemanticsFragment() { }, _ContainerSemanticsFragment: function _ContainerSemanticsFragment(t0, t1) { this.interestingFragments = t0; this.dropsSemanticsOfPreviousSiblings = t1; }, _InterestingSemanticsFragment: function _InterestingSemanticsFragment() { }, _RootSemanticsFragment: function _RootSemanticsFragment(t0, t1, t2) { var _ = this; _._object$_children = t0; _._ancestorChain = t1; _._object$_tagsForChildren = null; _.dropsSemanticsOfPreviousSiblings = t2; }, _SwitchableSemanticsFragment: function _SwitchableSemanticsFragment(t0, t1, t2, t3, t4) { var _ = this; _._mergeIntoParent = t0; _._config = t1; _._isConfigWritable = false; _._object$_children = t2; _._isExplicit = false; _._ancestorChain = t3; _._object$_tagsForChildren = null; _.dropsSemanticsOfPreviousSiblings = t4; }, _SemanticsGeometry: function _SemanticsGeometry() { var _ = this; _._semanticsClipRect = _._paintClipRect = null; _.___SemanticsGeometry__rect = _.___SemanticsGeometry__transform = $; _._markAsHidden = false; }, DiagnosticsDebugCreator: function DiagnosticsDebugCreator(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _._description = t0; _.expandableValue = t1; _.allowWrap = t2; _.ifNull = t3; _.ifEmpty = t4; _.tooltip = t5; _.missingIfNull = t6; _._diagnostics$_value = t7; _._valueComputed = t8; _._diagnostics$_exception = null; _.defaultValue = t9; _._defaultLevel = t10; _._computeValue = t11; _.name = t12; _.showSeparator = t13; _.showName = t14; _.linePrefix = t15; _.style = t16; }, _RenderObject_AbstractNode_DiagnosticableTreeMixin: function _RenderObject_AbstractNode_DiagnosticableTreeMixin() { }, TextParentData: function TextParentData(t0, t1, t2) { var _ = this; _.scale = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, PlaceholderSpanIndexSemanticsTag: function PlaceholderSpanIndexSemanticsTag(t0, t1) { this.index = t0; this.name = t1; }, RenderParagraph: function RenderParagraph(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._paragraph$_textPainter = t0; _._paragraph$_cachedCombinedSemanticsInfos = _._cachedAttributedLabel = null; _.__RenderParagraph__placeholderSpans = $; _._softWrap = t1; _._paragraph$_overflow = t2; _._needsClipping = false; _._paragraph$_cachedChildNodes = _._semanticsInfo = _._paragraph$_placeholderDimensions = _._overflowShader = null; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderParagraph__extractPlaceholderSpans_closure: function RenderParagraph__extractPlaceholderSpans_closure(t0) { this.$this = t0; }, RenderParagraph_hitTestChildren_closure: function RenderParagraph_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.textParentData = t2; }, RenderParagraph_paint_closure: function RenderParagraph_paint_closure(t0) { this._box_0 = t0; }, RenderParagraph_describeSemanticsConfiguration_closure: function RenderParagraph_describeSemanticsConfiguration_closure() { }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin() { }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_RelayoutWhenSystemFontsChangeMixin: function _RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_RelayoutWhenSystemFontsChangeMixin() { }, RenderPerformanceOverlay: function RenderPerformanceOverlay(t0, t1, t2, t3, t4) { var _ = this; _._optionsMask = t0; _._rasterizerThreshold = t1; _._checkerboardRasterCacheImages = t2; _._checkerboardOffscreenLayers = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _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<SetMixin.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.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); t1._PlatformViewGestureRecognizer$3$supportedDevices(handlePointerEvent, gestureRecognizerFactories, null); 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) { var _ = this; _.___PlatformViewGestureRecognizer__handlePointerEvent = $; _.cachedEvents = t0; _.forwardedPointers = t1; _.gestureRecognizerFactories = t2; _.___PlatformViewGestureRecognizer__gestureRecognizers = $; _._recognizer$_entries = t3; _._trackedPointers = t4; _._team = null; _.debugOwner = t5; _._supportedDevices = t6; _._pointerToKind = t7; }, _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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, RenderIntrinsicWidth$(stepHeight, stepWidth) { var t1 = new A.RenderIntrinsicWidth(stepWidth, stepHeight, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, RenderIntrinsicWidth__applyStep(input, step) { if (step == null) return input; return B.JSNumber_methods.ceil$0(input / step) * step; }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderLimitedBox: function RenderLimitedBox(t0, t1, t2, t3) { var _ = this; _._maxWidth = t0; _._maxHeight = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderAspectRatio: function RenderAspectRatio(t0, t1, t2) { var _ = this; _._aspectRatio = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderIntrinsicWidth: function RenderIntrinsicWidth(t0, t1, t2, t3) { var _ = this; _._stepWidth = t0; _._stepHeight = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderIntrinsicHeight: function RenderIntrinsicHeight(t0, t1) { var _ = this; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderAnimatedOpacityMixin: function RenderAnimatedOpacityMixin() { }, RenderAnimatedOpacity: function RenderAnimatedOpacity(t0, t1, t2, t3, t4, t5) { var _ = this; _.RenderAnimatedOpacityMixin__alpha = t0; _.RenderAnimatedOpacityMixin__currentlyNeedsCompositing = t1; _.RenderAnimatedOpacityMixin__opacity = t2; _.RenderAnimatedOpacityMixin__alwaysIncludeSemantics = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderBackdropFilter: function RenderBackdropFilter(t0, t1, t2, t3) { var _ = this; _._filter = t0; _._proxy_box$_blendMode = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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; _._clipBehavior = t1; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderClipRRect: function RenderClipRRect(t0, t1, t2, t3, t4) { var _ = this; _._proxy_box$_borderRadius = t0; _._clipper = t1; _._clip = null; _._clipBehavior = t2; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderClipOval: function RenderClipOval(t0, t1, t2, t3) { var _ = this; _._proxy_box$_cachedRect = null; _.__RenderClipOval__cachedPath = $; _._clipper = t0; _._clip = null; _._clipBehavior = t1; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderClipPath: function RenderClipPath(t0, t1, t2, t3) { var _ = this; _._clipper = t0; _._clip = null; _._clipBehavior = t1; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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; _._clipBehavior = t6; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, 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; _._clipBehavior = t4; _._debugText = _._debugPaint = null; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderTransform: function RenderTransform(t0, t1, t2) { var _ = this; _._textDirection = _._alignment = _._origin = null; _.transformHitTests = t0; _._proxy_box$_filterQuality = _._proxy_box$_transform = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderTransform_hitTestChildren_closure: function RenderTransform_hitTestChildren_closure(t0) { this.$this = t0; }, RenderFittedBox: function RenderFittedBox(t0, t1, t2, t3, t4, t5) { var _ = this; _._resolvedAlignment = null; _._fit = t0; _._alignment = t1; _._textDirection = t2; _._proxy_box$_transform = _._hasVisualOverflow = null; _._clipBehavior = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderFractionalTranslation_hitTestChildren_closure: function RenderFractionalTranslation_hitTestChildren_closure(t0) { this.$this = t0; }, RenderPointerListener: function RenderPointerListener(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.onPointerDown = t0; _.onPointerMove = t1; _.onPointerUp = t2; _.onPointerHover = t3; _.onPointerCancel = t4; _.onPointerSignal = t5; _.behavior = t6; _.RenderObjectWithChildMixin__child = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderMouseRegion: function RenderMouseRegion(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._proxy_box$_opaque = t0; _.onEnter = t1; _.onHover = t2; _.onExit = t3; _._cursor = t4; _._validForMouseTracker = true; _.RenderObjectWithChildMixin__child = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderRepaintBoundary: function RenderRepaintBoundary(t0, t1) { var _ = this; _._debugAsymmetricPaintCount = _._debugSymmetricPaintCount = 0; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderIgnorePointer: function RenderIgnorePointer(t0, t1, t2, t3) { var _ = this; _._ignoring = t0; _._ignoringSemantics = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderOffstage: function RenderOffstage(t0, t1, t2) { var _ = this; _._offstage = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderAbsorbPointer: function RenderAbsorbPointer(t0, t1, t2, t3) { var _ = this; _._absorbing = t0; _._ignoringSemantics = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderMetaData: function RenderMetaData(t0, t1, t2, t3) { var _ = this; _.metaData = t0; _.behavior = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderSemanticsGestureHandler: function RenderSemanticsGestureHandler(t0, t1, t2) { var _ = this; _._onVerticalDragUpdate = _._onHorizontalDragUpdate = _._onLongPress = _._onTap = _._validActions = null; _.behavior = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderSemanticsAnnotations: function RenderSemanticsAnnotations(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57) { var _ = this; _._container = t0; _._explicitChildNodes = t1; _._excludeSemantics = t2; _._checked = t3; _._enabled = t4; _._selected = t5; _._button = t6; _._slider = t7; _._keyboardKey = t8; _._proxy_box$_link = t9; _._header = t10; _._textField = t11; _._proxy_box$_readOnly = t12; _._focusable = t13; _._focused = t14; _._inMutuallyExclusiveGroup = t15; _._obscured = t16; _._multiline = t17; _._scopesRoute = t18; _._namesRoute = t19; _._proxy_box$_hidden = t20; _._image = t21; _._liveRegion = t22; _._maxValueLength = t23; _._currentValueLength = t24; _._toggled = t25; _._attributedLabel = t26; _._attributedValue = t27; _._attributedIncreasedValue = t28; _._attributedDecreasedValue = t29; _._attributedHint = t30; _._hintOverrides = t31; _._textDirection = t32; _._sortKey = t33; _._tagForChildren = t34; _._onTap = t35; _._onDismiss = t36; _._onLongPress = t37; _._onScrollLeft = t38; _._onScrollRight = t39; _._onScrollUp = t40; _._onScrollDown = t41; _._onIncrease = t42; _._onDecrease = t43; _._onCopy = t44; _._onCut = t45; _._onPaste = t46; _._onMoveCursorForwardByCharacter = t47; _._onMoveCursorBackwardByCharacter = t48; _._onMoveCursorForwardByWord = t49; _._onMoveCursorBackwardByWord = t50; _._onSetSelection = t51; _._onSetText = t52; _._onDidGainAccessibilityFocus = t53; _._onDidLoseAccessibilityFocus = t54; _._proxy_box$_customSemanticsActions = t55; _.RenderObjectWithChildMixin__child = t56; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t57; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderBlockSemantics: function RenderBlockSemantics(t0, t1, t2) { var _ = this; _._blocking = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderMergeSemantics: function RenderMergeSemantics(t0, t1) { var _ = this; _.RenderObjectWithChildMixin__child = t0; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderExcludeSemantics: function RenderExcludeSemantics(t0, t1, t2) { var _ = this; _._excluding = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderIndexedSemantics: function RenderIndexedSemantics(t0, t1, t2) { var _ = this; _._proxy_box$_index = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderLeaderLayer: function RenderLeaderLayer(t0, t1, t2) { var _ = this; _._proxy_box$_link = t0; _._previousLayoutSize = null; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderFollowerLayer_hitTestChildren_closure: function RenderFollowerLayer_hitTestChildren_closure(t0) { this.$this = t0; }, RenderAnnotatedRegion: function RenderAnnotatedRegion(t0, t1, t2, t3, t4) { var _ = this; _._proxy_box$_value = t0; _._sized = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; _.$ti = t4; }, _RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin: function _RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin() { }, _RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin_RenderAnimatedOpacityMixin: function _RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin_RenderAnimatedOpacityMixin() { }, _RenderProxyBox_RenderBox_RenderObjectWithChildMixin: function _RenderProxyBox_RenderBox_RenderObjectWithChildMixin() { }, _RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin: function _RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin() { }, RenderShiftedBox: function RenderShiftedBox() { }, RenderShiftedBox_hitTestChildren_closure: function RenderShiftedBox_hitTestChildren_closure(t0, t1, t2) { this.$this = t0; this.position = t1; this.childParentData = t2; }, RenderPadding: function RenderPadding(t0, t1, t2, t3) { var _ = this; _._shifted_box$_resolvedPadding = null; _._shifted_box$_padding = t0; _._shifted_box$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderConstraintsTransformBox: function RenderConstraintsTransformBox(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._constraintsTransform = t0; _._shifted_box$_clipBehavior = t1; _._overflowContainerRect = t2; _._overflowChildRect = t3; _._isOverflowing = false; _._childConstraints = null; _._clipRectLayer = t4; _.DebugOverflowIndicatorMixin__indicatorLabel = t5; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t6; _._shifted_box$_resolvedAlignment = null; _._shifted_box$_alignment = t7; _._shifted_box$_textDirection = t8; _.RenderObjectWithChildMixin__child = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderConstraintsTransformBox_RenderAligningShiftedBox_DebugOverflowIndicatorMixin: function _RenderConstraintsTransformBox_RenderAligningShiftedBox_DebugOverflowIndicatorMixin() { }, _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); }, 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._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; }, RenderSliverSingleBoxAdapter: function RenderSliverSingleBoxAdapter() { }, _RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin: function _RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin() { }, _RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers: function _RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers() { }, _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; _._childManager = t1; _._keepAliveBucket = t2; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderSliverFillRemaining: function RenderSliverFillRemaining(t0, t1) { var _ = this; _.RenderObjectWithChildMixin__child = t0; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t1; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderSliverFixedExtentBoxAdaptor: function RenderSliverFixedExtentBoxAdaptor() { }, RenderSliverFixedExtentList: function RenderSliverFixedExtentList(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._itemExtent = t0; _._childManager = t1; _._keepAliveBucket = t2; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, 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 = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderSliverList: function RenderSliverList(t0, t1, t2, t3, t4, t5) { var _ = this; _._childManager = t0; _._keepAliveBucket = t1; _.__RenderSliverMultiBoxAdaptor__debugDanglingKeepAlives = $; _._debugChildIntegrityEnabled = true; _.ContainerRenderObjectMixin__childCount = t2; _.ContainerRenderObjectMixin__firstChild = t3; _.ContainerRenderObjectMixin__lastChild = t4; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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; _._resolvedPadding = null; _._sliver_padding$_padding = t0; _._sliver_padding$_textDirection = t1; _.RenderObjectWithChildMixin__child = t2; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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)); }, 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() { }, _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.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; 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_mlX3.tighten$1$width(size._dx - t2 - t1); } else { t1 = childParentData.width; childConstraints = t1 != null ? B.BoxConstraints_mlX3.tighten$1$width(t1) : B.BoxConstraints_mlX3; } 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(0, childConstraints, true); x = childParentData.left; if (!(x != null)) { t1 = childParentData.right; t2 = child._size; if (t1 != null) x = size._dx - t1 - t2._dx; else { t2.toString; x = alignment.alongOffset$1(type$.Offset._as(size.$sub(0, t2)))._dx; } } hasVisualOverflow = (x < 0 || x + child._size._dx > size._dx) && true; y = childParentData.top; if (!(y != null)) { t1 = childParentData.bottom; t2 = child._size; if (t1 != null) y = size._dy - t1 - t2._dy; else { t2.toString; y = alignment.alongOffset$1(type$.Offset._as(size.$sub(0, t2)))._dy; } } if (y < 0 || y + child._size._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; }, Overflow: function Overflow(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; _._stack$_resolvedAlignment = null; _._stack$_alignment = t0; _._stack$_textDirection = t1; _._stack$_fit = t2; _._stack$_clipBehavior = t3; _._stack$_clipRectLayer = t4; _.ContainerRenderObjectMixin__childCount = t5; _.ContainerRenderObjectMixin__firstChild = t6; _.ContainerRenderObjectMixin__lastChild = t7; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t8; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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; _._stack$_resolvedAlignment = null; _._stack$_alignment = t1; _._stack$_textDirection = t2; _._stack$_fit = t3; _._stack$_clipBehavior = t4; _._stack$_clipRectLayer = t5; _.ContainerRenderObjectMixin__childCount = t6; _.ContainerRenderObjectMixin__firstChild = t7; _.ContainerRenderObjectMixin__lastChild = t8; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t9; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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() { }, 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; _._columns = t1; _._rows = t2; _._columnWidths = t3; _._defaultColumnWidth = t4; _._table$_textDirection = t5; _._table$_border = t6; _._rowDecorationPainters = _._table$_rowDecorations = null; _._table$_configuration = t7; _._defaultVerticalAlignment = t8; _._table$_textBaseline = t9; _._baselineDistance = null; _._rowTops = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = _._columnLefts = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderTable_computeDryLayout_closure: function RenderTable_computeDryLayout_closure() { }, RenderTable_hitTestChildren_closure: function RenderTable_hitTestChildren_closure(t0, t1, t2) { this.position = t0; this.childParentData = t1; this.child = t2; }, TableBorder_TableBorder$all(color, width) { var side = new A.BorderSide(color, width, B.BorderStyle_1); return new A.TableBorder(side, side, side, side, side, side, B.BorderRadius_tLn); }, TableBorder: function TableBorder(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.top = t0; _.right = t1; _.bottom = t2; _.left = t3; _.horizontalInside = t4; _.verticalInside = t5; _.borderRadius = t6; }, TextureBox: function TextureBox(t0, t1, t2, t3) { var _ = this; _._texture$_textureId = t0; _._freeze = t1; _._texture$_filterQuality = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, 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(t0, t1, t2, t3, t4) { var _ = this; _._view$_size = t0; _._view$_configuration = t1; _._view$_window = t2; _.automaticSystemUiAdjustment = true; _._rootTransform = null; _.RenderObjectWithChildMixin__child = t3; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderView_RenderObject_RenderObjectWithChildMixin: function _RenderView_RenderObject_RenderObjectWithChildMixin() { }, RenderAbstractViewport_of(object) { var t1, t2; for (t1 = type$.nullable_RenderObject, t2 = type$.RenderAbstractViewport; object != null;) { if (t2._is(object)) return object; object = t1._as(object.get$parent(object)); } return null; }, RenderViewportBase_showInViewport(curve, descendant, duration, offset, rect, viewport) { var leadingEdgeOffset, trailingEdgeOffset, t1, t2, t3, targetOffset, transform; if (descendant == null) return rect; leadingEdgeOffset = viewport.getOffsetToReveal$3$rect(descendant, 0, rect); trailingEdgeOffset = viewport.getOffsetToReveal$3$rect(descendant, 1, rect); t1 = offset._pixels; t1.toString; t2 = leadingEdgeOffset.offset; t3 = trailingEdgeOffset.offset; if (t2 < t3) targetOffset = Math.abs(t1 - t2) < Math.abs(t1 - t3) ? leadingEdgeOffset : trailingEdgeOffset; else if (t1 > t2) targetOffset = leadingEdgeOffset; else { if (!(t1 < t3)) { t1 = viewport._node$_parent; t1.toString; transform = descendant.getTransformTo$1(0, type$.RenderObject._as(t1)); return A.MatrixUtils_transformRect(transform, rect == null ? descendant.get$paintBounds() : rect); } targetOffset = trailingEdgeOffset; } offset.moveTo$3$curve$duration(0, targetOffset.offset, curve, duration); return targetOffset.rect; }, CacheExtentStyle: function CacheExtentStyle(t0, 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; _._center = null; _.__RenderViewport__maxScrollExtent = _.__RenderViewport__minScrollExtent = $; _._viewport$_hasVisualOverflow = false; _._axisDirection = t1; _._crossAxisDirection = t2; _._viewport$_offset = t3; _._cacheExtent = t4; _._calculatedCacheExtent = null; _._cacheExtentStyle = t5; _._viewport$_clipBehavior = t6; _._viewport$_clipRectLayer = t7; _.ContainerRenderObjectMixin__childCount = t8; _.ContainerRenderObjectMixin__firstChild = t9; _.ContainerRenderObjectMixin__lastChild = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderShrinkWrappingViewport: function RenderShrinkWrappingViewport(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.__RenderShrinkWrappingViewport__shrinkWrapExtent = _.__RenderShrinkWrappingViewport__maxScrollExtent = $; _._viewport$_hasVisualOverflow = false; _._axisDirection = t0; _._crossAxisDirection = t1; _._viewport$_offset = t2; _._cacheExtent = t3; _._calculatedCacheExtent = null; _._cacheExtentStyle = t4; _._viewport$_clipBehavior = t5; _._viewport$_clipRectLayer = t6; _.ContainerRenderObjectMixin__childCount = t7; _.ContainerRenderObjectMixin__firstChild = t8; _.ContainerRenderObjectMixin__lastChild = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t13; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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) { var t1 = scheduler.SchedulerBinding__transientCallbacks; if (t1.get$length(t1) > 0) return priority >= 100000; return true; }, _TaskEntry: function _TaskEntry(t0, t1, t2, t3, t4, t5) { var _ = this; _.task = t0; _.priority = t1; _.debugLabel = t2; _.flow = t3; _.___TaskEntry_debugStack = $; _.completer = t4; _.$ti = t5; }, _TaskEntry_run_closure: function _TaskEntry_run_closure(t0) { this.$this = t0; }, _FrameCallbackEntry: function _FrameCallbackEntry(t0) { this.callback = t0; this.debugStack = null; }, SchedulerPhase: function SchedulerPhase(t0, t1) { this.index = t0; this._core$_name = t1; }, SchedulerBinding: function SchedulerBinding() { }, SchedulerBinding_endOfFrame_closure: function SchedulerBinding_endOfFrame_closure(t0) { this.$this = t0; }, SchedulerBinding_scheduleWarmUpFrame_closure: function SchedulerBinding_scheduleWarmUpFrame_closure(t0) { this.$this = t0; }, SchedulerBinding_scheduleWarmUpFrame_closure0: function SchedulerBinding_scheduleWarmUpFrame_closure0(t0, t1) { this.$this = t0; this.hadScheduledFrame = t1; }, SchedulerBinding_scheduleWarmUpFrame_closure1: function SchedulerBinding_scheduleWarmUpFrame_closure1(t0, t1) { this.$this = t0; this.timelineTask = t1; }, SchedulerBinding__handleDrawFrame_closure: function SchedulerBinding__handleDrawFrame_closure(t0) { this.$this = t0; }, SchedulerBinding_handleBeginFrame_closure: function SchedulerBinding_handleBeginFrame_closure(t0) { this.$this = t0; }, Priority: function Priority(t0) { this._priority$_value = 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 = $; }, 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() { }, 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, focusable, focused, header, hidden, hint, hintOverrides, image, inMutuallyExclusiveGroup, increasedValue, keyboardKey, label, link, liveRegion, maxValueLength, 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, value) { return new A.SemanticsProperties(enabled, checked, toggled, selected, button, link, header, textField, slider, keyboardKey, readOnly, focusable, focused, inMutuallyExclusiveGroup, hidden, obscured, multiline, scopesRoute, namesRoute, image, liveRegion, maxValueLength, currentValueLength, label, attributedLabel, value, attributedValue, increasedValue, attributedIncreasedValue, decreasedValue, attributedDecreasedValue, hint, attributedHint, 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 t14, t1 = $.$get$SemanticsNode__kEmptyConfig(), t2 = t1._isMergingSemanticsOfDescendants, t3 = t1._actions, t4 = t1._customSemanticsActions, t5 = t1._actionsAsBits, t6 = t1._flags, t7 = t1._semantics$_attributedLabel, t8 = t1._semantics$_attributedValue, t9 = t1._semantics$_attributedIncreasedValue, t10 = t1._semantics$_attributedDecreasedValue, t11 = t1._semantics$_attributedHint, t12 = t1._semantics$_elevation, t13 = t1._semantics$_thickness; t1 = t1._semantics$_textDirection; t14 = ($.SemanticsNode__lastIdentifier + 1) % 65535; $.SemanticsNode__lastIdentifier = t14; return new A.SemanticsNode(key, t14, showOnScreen, B.Rect_0_0_0_0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t1); }, _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; }, 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) { var _ = this; _.flags = t0; _.actions = t1; _.attributedLabel = t2; _.attributedValue = t3; _.attributedIncreasedValue = t4; _.attributedDecreasedValue = t5; _.attributedHint = t6; _.textDirection = t7; _.textSelection = t8; _.scrollChildCount = t9; _.scrollIndex = t10; _.scrollPosition = t11; _.scrollExtentMax = t12; _.scrollExtentMin = t13; _.platformViewId = t14; _.maxValueLength = t15; _.currentValueLength = t16; _.rect = t17; _.tags = t18; _.transform = t19; _.elevation = t20; _.thickness = t21; _.customSemanticsActionIds = t22; }, _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; }, 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) { var _ = this; _.enabled = t0; _.checked = t1; _.toggled = t2; _.selected = t3; _.button = t4; _.link = t5; _.header = t6; _.textField = t7; _.slider = t8; _.keyboardKey = t9; _.readOnly = t10; _.focusable = t11; _.focused = t12; _.inMutuallyExclusiveGroup = t13; _.hidden = t14; _.obscured = t15; _.multiline = t16; _.scopesRoute = t17; _.namesRoute = t18; _.image = t19; _.liveRegion = t20; _.maxValueLength = t21; _.currentValueLength = t22; _.label = t23; _.attributedLabel = t24; _.value = t25; _.attributedValue = t26; _.increasedValue = t27; _.attributedIncreasedValue = t28; _.decreasedValue = t29; _.attributedDecreasedValue = t30; _.hint = t31; _.attributedHint = t32; _.hintOverrides = t33; _.textDirection = t34; _.sortKey = t35; _.tagForChildren = t36; _.onTap = t37; _.onLongPress = t38; _.onScrollLeft = t39; _.onScrollRight = t40; _.onScrollUp = t41; _.onScrollDown = t42; _.onIncrease = t43; _.onDecrease = t44; _.onCopy = t45; _.onCut = t46; _.onPaste = t47; _.onMoveCursorForwardByCharacter = t48; _.onMoveCursorBackwardByCharacter = t49; _.onSetSelection = t50; _.onSetText = t51; _.onDidGainAccessibilityFocus = t52; _.onDidLoseAccessibilityFocus = t53; _.onDismiss = t54; _.customSemanticsActions = t55; }, SemanticsNode: function SemanticsNode(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.key = t0; _._semantics$_id = t1; _._showOnScreen = t2; _._semantics$_transform = null; _._semantics$_rect = t3; _.indexInParent = _.elevationAdjustment = _.parentPaintClipRect = _.parentSemanticsClipRect = null; _._isMergedIntoParent = false; _._mergeAllDescendantsIntoThisNode = t4; _._semantics$_children = null; _.__SemanticsNode__debugPreviousSnapshot = $; _._semantics$_dirty = _._dead = false; _._actions = t5; _._customSemanticsActions = t6; _._actionsAsBits = t7; _.tags = null; _._flags = t8; _._semantics$_attributedLabel = t9; _._semantics$_attributedValue = t10; _._semantics$_attributedIncreasedValue = t11; _._semantics$_attributedDecreasedValue = t12; _._semantics$_attributedHint = t13; _._semantics$_elevation = t14; _._semantics$_thickness = t15; _._semantics$_hintOverrides = null; _._semantics$_textDirection = t16; _._semantics$_currentValueLength = _._semantics$_maxValueLength = _._platformViewId = _._scrollExtentMin = _._scrollExtentMax = _._scrollPosition = _._scrollIndex = _._scrollChildCount = _._textSelection = _._semantics$_sortKey = null; _._depth = 0; _._node$_parent = _._node$_owner = 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) { var _ = this; _._semantics$_dirtyNodes = t0; _._nodes = t1; _._detachedNodes = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.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 = _._isSemanticBoundary = false; _._actions = t0; _._actionsAsBits = 0; _._semantics$_currentValueLength = _._semantics$_maxValueLength = _._platformViewId = _._scrollIndex = _._scrollChildCount = _._indexInParent = _._semantics$_sortKey = _._semantics$_onTap = null; _._isMergingSemanticsOfDescendants = false; _._customSemanticsActions = t1; _._semantics$_attributedLabel = t2; _._semantics$_attributedValue = t3; _._semantics$_attributedIncreasedValue = t4; _._semantics$_attributedDecreasedValue = t5; _._semantics$_attributedHint = t6; _._semantics$_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; }, 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_AbstractNode_DiagnosticableTreeMixin: function _SemanticsNode_AbstractNode_DiagnosticableTreeMixin() { }, _SemanticsSortKey_Object_Diagnosticable: function _SemanticsSortKey_Object_Diagnosticable() { }, SemanticsEvent: function SemanticsEvent() { }, AnnounceSemanticsEvent: function AnnounceSemanticsEvent(t0, t1, t2) { this.message = t0; this.textDirection = t1; this.type = t2; }, 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; }, AssetBundle__utf8decode(data) { return B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(data.buffer, 0, null)); }, 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; }, PlatformAssetBundle: function PlatformAssetBundle(t0, t1) { this._stringCache = t0; this._structuredDataCache = t1; }, AutofillConfiguration: function AutofillConfiguration(t0, t1, t2, t3, t4) { var _ = this; _.enabled = t0; _.uniqueIdentifier = t1; _.autofillHints = t2; _.currentEditingValue = t3; _.hintText = t4; }, BinaryMessenger: function BinaryMessenger() { }, ServicesBinding__parseLicenses(rawLicenses) { var t1, _i, license, t2, split, _licenseSeparator = "\n" + B.JSString_methods.$mul("-", 80) + "\n", result = A._setArrayType([], type$.JSArray_LicenseEntry), licenses = rawLicenses.split(_licenseSeparator); for (t1 = licenses.length, _i = 0; _i < t1; ++_i) { license = licenses[_i]; t2 = J.getInterceptor$asx(license); split = t2.indexOf$1(license, "\n\n"); if (split >= 0) { t2.substring$2(license, 0, split).split("\n"); result.push(new A.LicenseEntryWithLineBreaks(t2.substring$1(license, split + 2))); } else result.push(new A.LicenseEntryWithLineBreaks(license)); } return result; }, ServicesBinding__parseAppLifecycleMessage(message) { switch (message) { case "AppLifecycleState.paused": return B.AppLifecycleState_2; case "AppLifecycleState.resumed": return B.AppLifecycleState_0; case "AppLifecycleState.inactive": return B.AppLifecycleState_1; case "AppLifecycleState.detached": return B.AppLifecycleState_3; } return null; }, ServicesBinding: function ServicesBinding() { }, ServicesBinding__addLicenses_closure: function ServicesBinding__addLicenses_closure(t0) { this.rawLicenses = t0; }, ServicesBinding__addLicenses_closure0: function ServicesBinding__addLicenses_closure0(t0, t1) { this.parsedLicenses = t0; this.rawLicenses = t1; }, _DefaultBinaryMessenger: function _DefaultBinaryMessenger() { }, _DefaultBinaryMessenger_send_closure: function _DefaultBinaryMessenger_send_closure(t0) { this.completer = t0; }, _DefaultBinaryMessenger_setMessageHandler_closure: function _DefaultBinaryMessenger_setMessageHandler_closure(t0) { this.handler = t0; }, 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._asStringQ(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; }, KeyEventManager__eventFromData(keyData) { var logicalKey, timeStamp, t1 = keyData.physical, physicalKey = B.Map_kxyHF.$index(0, t1); if (physicalKey == null) physicalKey = new A.PhysicalKeyboardKey(t1); t1 = keyData.logical; logicalKey = B.Map_mUsBb.$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 new A.KeyUpEvent(physicalKey, logicalKey, null, timeStamp, keyData.synthesized); case 2: return new A.KeyRepeatEvent(physicalKey, logicalKey, keyData.character, timeStamp, false); } }, KeyboardLockMode: function KeyboardLockMode(t0) { this.logicalKey = t0; }, 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) { var _ = this; _.keyMessageHandler = null; _._hardwareKeyboard = t0; _._rawKeyboard = t1; _._transitMode = null; _._keyEventsSinceLastMessage = t2; }, _KeyEvent_Object_Diagnosticable: function _KeyEvent_Object_Diagnosticable() { }, LogicalKeyboardKey_collapseSynonyms(input) { var t1, t2, synonym, result = A.LinkedHashSet_LinkedHashSet$_empty(type$.LogicalKeyboardKey); for (t1 = input.get$iterator(input); t1.moveNext$0();) { t2 = t1.get$current(t1); synonym = $.LogicalKeyboardKey__synonyms.$index(0, t2); result.add$1(0, synonym == null ? t2 : synonym); } return result; }, KeyboardKey: function KeyboardKey() { }, LogicalKeyboardKey: function LogicalKeyboardKey(t0) { this.keyId = t0; }, 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); }, MethodCall: function MethodCall(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_closure: function StandardMessageCodec_writeValue_closure(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 = t1._as(t2.__internal$_current); 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() { }, MethodChannel$($name, codec, binaryMessenger) { return new A.MethodChannel($name, codec, binaryMessenger); }, 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; }, EventChannel: function EventChannel(t0) { this.name = t0; }, EventChannel_receiveBroadcastStream_closure0: function EventChannel_receiveBroadcastStream_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.controller = t1; _.methodChannel = t2; _.$arguments = t3; }, EventChannel_receiveBroadcastStream__closure: function EventChannel_receiveBroadcastStream__closure(t0, t1) { this.$this = t0; this.controller = t1; }, EventChannel_receiveBroadcastStream_closure: function EventChannel_receiveBroadcastStream_closure(t0, t1, t2) { this.$this = t0; this.methodChannel = t1; this.$arguments = t2; }, PlatformViewsRegistry: function PlatformViewsRegistry() { this._nextPlatformViewId = 0; }, PlatformViewController: function PlatformViewController() { }, RawKeyEvent_RawKeyEvent$fromMessage(message) { var data, type, _box_0 = {}; _box_0.character = null; data = new A.RawKeyEvent_RawKeyEvent$fromMessage__dataFromWeb(_box_0, message).call$0(); type = A._asString(J.$index$asx(message, "type")); switch (type) { case "keydown": return new A.RawKeyDownEvent(_box_0.character, data); case "keyup": return new A.RawKeyUpEvent(null, data); default: throw A.wrapException(A.FlutterError_FlutterError("Unknown key event type: " + type)); } }, 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) { this.character = t0; this.data = t1; }, RawKeyUpEvent: function RawKeyUpEvent(t0, t1) { this.character = t0; this.data = t1; }, RawKeyboard: function RawKeyboard(t0, t1, t2) { this._raw_keyboard$_listeners = t0; this._keysPressed = t1; this._hiddenKeysPressed = t2; }, RawKeyboard__synchronizeModifiers_closure: function RawKeyboard__synchronizeModifiers_closure(t0) { this.anySideKeys = t0; }, _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() { }, RawKeyEventDataFuchsia: function RawKeyEventDataFuchsia() { }, RawKeyEventDataIos: function RawKeyEventDataIos() { }, RawKeyEventDataMacOs: function RawKeyEventDataMacOs() { }, RawKeyEventDataWeb: function RawKeyEventDataWeb(t0, t1, t2, t3) { var _ = this; _.code = t0; _.key = t1; _.location = t2; _.metaState = t3; }, 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() { }, _stringify(list) { var t2, _i, t1 = A._setArrayType([], type$.JSArray_String); for (t2 = list.length, _i = 0; _i < list.length; list.length === t2 || (0, A.throwConcurrentModificationError)(list), ++_i) t1.push(list[_i].toString$0(0)); return t1; }, SystemChrome_setPreferredOrientations(orientations) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SystemChrome_setPreferredOrientations = 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("SystemChrome.setPreferredOrientations", A._stringify(orientations), type$.void), $async$SystemChrome_setPreferredOrientations); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemChrome_setPreferredOrientations, $async$completer); }, 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_setEnabledSystemUIOverlays(overlays) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$SystemChrome_setEnabledSystemUIOverlays = 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.SystemChrome_setEnabledSystemUIMode(B.SystemUiMode_4, overlays), $async$SystemChrome_setEnabledSystemUIOverlays); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemChrome_setEnabledSystemUIOverlays, $async$completer); }, SystemChrome_setEnabledSystemUIMode(mode, overlays) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1; var $async$SystemChrome_setEnabledSystemUIMode = 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$.void; $async$goto = mode !== B.SystemUiMode_4 ? 2 : 4; break; case 2: // then $async$goto = 5; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("SystemChrome.setEnabledSystemUIMode", "SystemUiMode." + mode._core$_name, t1), $async$SystemChrome_setEnabledSystemUIMode); case 5: // returning from await. // goto join $async$goto = 3; break; case 4: // else $async$goto = 6; return A._asyncAwait(B.OptionalMethodChannel_0.invokeMethod$1$2("SystemChrome.setEnabledSystemUIOverlays", A._stringify(overlays), t1), $async$SystemChrome_setEnabledSystemUIMode); case 6: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$SystemChrome_setEnabledSystemUIMode, $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()); }, DeviceOrientation: function DeviceOrientation(t0, t1) { this.index = t0; this._core$_name = t1; }, ApplicationSwitcherDescription: function ApplicationSwitcherDescription(t0, t1) { this.label = t0; this.primaryColor = t1; }, SystemUiOverlay: function SystemUiOverlay(t0, t1) { this.index = t0; this._core$_name = t1; }, SystemUiMode: function SystemUiMode(t0, t1) { this.index = t0; this._core$_name = 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", "SystemSoundType." + type._core$_name, 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; }, TextSelection$(affinity, baseOffset, extentOffset, isDirectional) { var t1 = baseOffset < extentOffset, t2 = t1 ? extentOffset : baseOffset; return new A.TextSelection(baseOffset, extentOffset, affinity, isDirectional, t1 ? baseOffset : extentOffset, t2); }, 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 t2, t3, t4, textStart, textEnd, newText, 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; A._asIntQ(t1.$index(encoded, "composingBase")); A._asIntQ(t1.$index(encoded, "composingExtent")); 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")); A.TextSelection$(t4, t2, t3, t1 === true); if (isNonTextUpdate) return new A.TextEditingDeltaNonTextUpdate(); textStart = B.JSString_methods.substring$2(oldText, 0, replacementDestinationStart); textEnd = B.JSString_methods.substring$2(oldText, replacementDestinationEnd, oldText.length); newText = textStart + replacementSource + textEnd; t1 = replacementDestinationEnd - replacementDestinationStart; t2 = replacementSourceEnd - 0; if (replacementSourceEnd === 0) isDeletingByReplacingWithEmpty = 0 === replacementSourceEnd; else isDeletingByReplacingWithEmpty = false; isReplacedByShorter = t1 - t2 > 1 && 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(); else if ((!t5 || isDeletingInsideComposingRegion) && t3) return new A.TextEditingDeltaDeletion(); else if ((replacementDestinationStart === replacementDestinationEnd || isInsertingInsideComposingRegion) && t3) { B.JSString_methods.substring$2(replacementSource, t1, t1 + (replacementSourceEnd - t1)); return new A.TextEditingDeltaInsertion(); } else if (isReplaced) return new A.TextEditingDeltaReplacement(); return new A.TextEditingDeltaNonTextUpdate(); }, TextEditingDelta: function TextEditingDelta() { }, TextEditingDeltaInsertion: function TextEditingDeltaInsertion() { }, TextEditingDeltaDeletion: function TextEditingDeltaDeletion() { }, TextEditingDeltaReplacement: function TextEditingDeltaReplacement() { }, TextEditingDeltaNonTextUpdate: function TextEditingDeltaNonTextUpdate() { }, LengthLimitingTextInputFormatter_getDefaultMaxLengthEnforcement(platform) { return B.MaxLengthEnforcement_2; }, LengthLimitingTextInputFormatter_truncate(value, maxLength) { var truncated, t2, t3, t4, t1 = value.text, iterator = new A.StringCharacterRange(t1, 0, 0); t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); if (t1.get$length(t1) > maxLength) iterator._advanceEnd$2(maxLength, 0); truncated = iterator.get$current(iterator); 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$(autocorrect, autofillConfiguration, enableDeltaModel, enableIMEPersonalizedLearning, enableSuggestions, inputAction, inputType, keyboardAppearance, obscureText, readOnly, smartDashesType, smartQuotesType, textCapitalization) { return new A.TextInputConfiguration(inputType, readOnly, obscureText, true, autofillConfiguration, smartDashesType, smartQuotesType, true, inputAction, textCapitalization, keyboardAppearance, true, false); }, _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 t4, t5, t6, t1 = J.getInterceptor$asx(encoded), t2 = A._asString(t1.$index(encoded, "text")), t3 = A._asIntQ(t1.$index(encoded, "selectionBase")); if (t3 == null) t3 = -1; t4 = A._asIntQ(t1.$index(encoded, "selectionExtent")); if (t4 == null) t4 = -1; t5 = A._toTextAffinity0(A._asStringQ(t1.$index(encoded, "selectionAffinity"))); if (t5 == null) t5 = B.TextAffinity_1; t6 = A._asBoolQ(t1.$index(encoded, "selectionIsDirectional")); t3 = A.TextSelection$(t5, t3, t4, t6 === true); t4 = A._asIntQ(t1.$index(encoded, "composingBase")); if (t4 == null) t4 = -1; t1 = A._asIntQ(t1.$index(encoded, "composingExtent")); return new A.TextEditingValue(t2, t3, new A.TextRange(t4, t1 == null ? -1 : t1)); }, TextInputConnection$_(_client) { var t1 = $.TextInputConnection__nextId; $.TextInputConnection__nextId = t1 + 1; return new A.TextInputConnection(t1, _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.continue_action": 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))); }, 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) { var _ = this; _.inputType = t0; _.readOnly = t1; _.obscureText = t2; _.autocorrect = t3; _.autofillConfiguration = t4; _.smartDashesType = t5; _.smartQuotesType = t6; _.enableSuggestions = t7; _.inputAction = t8; _.textCapitalization = t9; _.keyboardAppearance = t10; _.enableIMEPersonalizedLearning = t11; _.enableDeltaModel = t12; }, FloatingCursorDragState: function FloatingCursorDragState(t0, t1) { this.index = t0; this._core$_name = t1; }, TextEditingValue: function TextEditingValue(t0, t1, t2) { this.text = t0; this.selection = t1; this.composing = t2; }, SelectionChangedCause: function SelectionChangedCause(t0, t1) { this.index = t0; this._core$_name = t1; }, TextSelectionDelegate: function TextSelectionDelegate() { }, TextInputConnection: function TextInputConnection(t0, t1) { var _ = this; _._cachedCaretRect = _._cachedRect = _._cachedTransform = _._cachedSize = null; _._id = t0; _._client = t1; }, TextInput: function TextInput() { var _ = this; _.__TextInput__channel = $; _._currentConnection = null; _.__TextInput__currentConfiguration = $; _._hidePending = false; }, TextInput__scheduleHide_closure: function TextInput__scheduleHide_closure(t0) { this.$this = t0; }, _getParent(context) { var $parent = A._Cell$named("parent"); context.visitAncestorElements$1(new A._getParent_closure($parent)); return $parent._readLocal$0(); }, Actions__visitActionsAncestors(context, visitor) { var t2, ancestor, t1 = type$._ActionsMarker, actionsElement = context.getElementForInheritedWidgetOfExactType$1$0(t1); for (; t2 = actionsElement != null, t2; actionsElement = ancestor) { if (J.$eq$(visitor.call$1(actionsElement), true)) break; t2 = A._getParent(actionsElement)._inheritedWidgets; 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; A.getRuntimeType(intent); A.Actions__visitActionsAncestors(context, new A.Actions_maybeFind_closure(t1, intent, context, $T)); return t1.action; }, Actions__castAction(actionsMarker, intent, $T) { var t1 = A.getRuntimeType(intent), mappedAction = actionsMarker.actions.$index(0, t1); if ($T._eval$1("Action<0>?")._is(mappedAction)) return mappedAction; else return null; }, 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) { this.onInvoke = t0; this._listeners = t1; this.$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; }, _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; }, _ActionsMarker: function _ActionsMarker(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; _._actions$_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; }, DoNothingAction: function DoNothingAction(t0, t1) { this._consumesKey = t0; this._listeners = t1; }, ActivateIntent: function ActivateIntent() { }, ButtonActivateIntent: function ButtonActivateIntent() { }, DismissIntent: function DismissIntent() { }, DismissAction: function DismissAction() { }, PrioritizedIntents: function PrioritizedIntents() { }, PrioritizedAction: function PrioritizedAction(t0) { this.__PrioritizedAction__selectedIntent = this.__PrioritizedAction__selectedAction = $; this._listeners = t0; }, _Action_Object_Diagnosticable: function _Action_Object_Diagnosticable() { }, _ActionDispatcher_Object_Diagnosticable: function _ActionDispatcher_Object_Diagnosticable() { }, _Intent_Object_Diagnosticable: function _Intent_Object_Diagnosticable() { }, AnimatedSwitcher$(child, duration, switchInCurve, transitionBuilder) { return new A.AnimatedSwitcher(child, duration, switchInCurve, transitionBuilder, null); }, AnimatedSwitcher_defaultTransitionBuilder(child, animation) { return A.FadeTransition$(false, child, animation); }, AnimatedSwitcher_defaultLayoutBuilder(currentChild, previousChildren) { var t1 = A.List_List$of(previousChildren, true, type$.Widget); if (currentChild != null) t1.push(currentChild); return A.Stack$(B.Alignment_0_0, t1, B.StackFit_0, null, 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) { var _ = this; _.child = t0; _.duration = t1; _.switchInCurve = t2; _.transitionBuilder = t3; _.key = t4; }, _AnimatedSwitcherState: function _AnimatedSwitcherState(t0, t1, t2, t3) { var _ = this; _._currentEntry = null; _._outgoingEntries = t0; _._outgoingWidgets = t1; _._childNumber = 0; _.TickerProviderStateMixin__tickers = t2; _._widget = null; _._debugLifecycleState = t3; _._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_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, 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 (_i = 0; _i < 1; ++_i) { locale = supportedLocales[_i]; t1 = locale._languageCode; t2 = B.Map_YCOho.$index(0, t1); t2 = (t2 == null ? t1 : t2) + "_null_"; t3 = locale._countryCode; t4 = B.Map_0Agg9.$index(0, t3); t2 += A.S(t4 == null ? t3 : t4); if (allSupportedLocales.$index(0, t2) == null) allSupportedLocales.$indexSet(0, t2, locale); t2 = B.Map_YCOho.$index(0, t1); t2 = (t2 == null ? t1 : t2) + "_null"; if (languageAndScriptLocales.$index(0, t2) == null) languageAndScriptLocales.$indexSet(0, t2, locale); t2 = B.Map_YCOho.$index(0, t1); t2 = (t2 == null ? t1 : t2) + "_"; t4 = B.Map_0Agg9.$index(0, t3); t2 += A.S(t4 == null ? t3 : t4); if (languageAndCountryLocales.$index(0, t2) == null) languageAndCountryLocales.$indexSet(0, t2, locale); t2 = B.Map_YCOho.$index(0, t1); t1 = t2 == null ? t1 : t2; if (languageLocales.$index(0, t1) == null) languageLocales.$indexSet(0, t1, locale); t1 = B.Map_0Agg9.$index(0, t3); if (t1 == null) t1 = t3; if (countryLocales.$index(0, t1) == null) countryLocales.$indexSet(0, t1, locale); } for (matchesCountryCode = _null, matchesLanguageCode = matchesCountryCode, localeIndex = 0; localeIndex < preferredLocales.length; ++localeIndex) { userLocale = preferredLocales[localeIndex]; t1 = userLocale._languageCode; t2 = B.Map_YCOho.$index(0, t1); t2 = (t2 == null ? t1 : t2) + "_null_"; t3 = userLocale._countryCode; t4 = B.Map_0Agg9.$index(0, t3); if (allSupportedLocales.containsKey$1(0, t2 + A.S(t4 == null ? t3 : t4))) return userLocale; t2 = B.Map_0Agg9.$index(0, t3); if ((t2 == null ? t3 : t2) != null) { t2 = B.Map_YCOho.$index(0, t1); t2 = (t2 == null ? t1 : t2) + "_"; t4 = B.Map_0Agg9.$index(0, t3); match = languageAndCountryLocales.$index(0, t2 + A.S(t4 == null ? t3 : t4)); if (match != null) return match; } if (matchesLanguageCode != null) return matchesLanguageCode; t2 = B.Map_YCOho.$index(0, t1); match = languageLocales.$index(0, t2 == null ? t1 : t2); if (match != null) { if (localeIndex === 0) { t2 = localeIndex + 1; if (t2 < preferredLocales.length) { t2 = preferredLocales[t2]._languageCode; t4 = B.Map_YCOho.$index(0, t2); t2 = t4 == null ? t2 : t4; t4 = B.Map_YCOho.$index(0, t1); t1 = t2 === (t4 == null ? t1 : t4); } else t1 = false; t1 = !t1; } else t1 = false; if (t1) return match; matchesLanguageCode = match; } if (matchesCountryCode == null) { t1 = B.Map_0Agg9.$index(0, t3); t1 = (t1 == null ? t3 : t1) != null; } else t1 = false; if (t1) { t1 = B.Map_0Agg9.$index(0, t3); match = countryLocales.$index(0, t1 == null ? t3 : t1); if (match != null) matchesCountryCode = match; } } resolvedLocale = matchesLanguageCode == null ? matchesCountryCode : matchesLanguageCode; return resolvedLocale == null ? B.JSArray_methods.get$first(supportedLocales) : resolvedLocale; }, WidgetsApp_defaultShortcuts() { return B.Map_zPybB; }, 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) { var _ = this; _.navigatorKey = t0; _.onGenerateRoute = t1; _.onGenerateInitialRoutes = t2; _.pageRouteBuilder = t3; _.routeInformationParser = t4; _.routerDelegate = t5; _.backButtonDispatcher = t6; _.routeInformationProvider = t7; _.home = t8; _.routes = t9; _.onUnknownRoute = t10; _.initialRoute = t11; _.navigatorObservers = t12; _.builder = t13; _.title = t14; _.onGenerateTitle = t15; _.textStyle = t16; _.color = t17; _.locale = t18; _.localizationsDelegates = t19; _.localeListResolutionCallback = t20; _.localeResolutionCallback = t21; _.supportedLocales = t22; _.showPerformanceOverlay = t23; _.checkerboardRasterCacheImages = t24; _.checkerboardOffscreenLayers = t25; _.showSemanticsDebugger = t26; _.inspectorSelectButtonBuilder = t27; _.debugShowCheckedModeBanner = t28; _.shortcuts = t29; _.actions = t30; _.restorationScopeId = t31; _.useInheritedMediaQuery = t32; _.key = t33; }, _WidgetsAppState: function _WidgetsAppState(t0) { var _ = this; _._widget = _._app$_locale = _._navigator = _._defaultRouteInformationProvider = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _WidgetsAppState__onGenerateRoute_closure: function _WidgetsAppState__onGenerateRoute_closure(t0) { this.$this = t0; }, _WidgetsAppState_didChangeLocales_closure: function _WidgetsAppState_didChangeLocales_closure(t0, t1) { this.$this = t0; this.newLocale = t1; }, _WidgetsAppState_build_closure: function _WidgetsAppState_build_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, __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>")); }, FutureBuilder$(builder, future, $T) { return new A.FutureBuilder(future, builder, null, $T._eval$1("FutureBuilder<0>")); }, 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; }, 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 = $; _._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; }, AutomaticKeepAlive: function AutomaticKeepAlive(t0, t1) { this.child = t0; this.key = t1; }, _AutomaticKeepAliveState: function _AutomaticKeepAliveState(t0) { var _ = this; _._automatic_keep_alive$_child = _._automatic_keep_alive$_handles = null; _._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) { this.$this = t0; this.handle = t1; }, _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; }, 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$(alwaysIncludeSemantics, child, opacity) { return new A.Opacity(opacity, false, 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, clipper) { return new A.ClipRect(clipper, child, null); }, ClipRRect$(borderRadius, child) { return new A.ClipRRect(borderRadius, child, null); }, ClipOval$(child) { return new A.ClipOval(child, null); }, ClipPath$(child, clipBehavior, clipper) { return new A.ClipPath(clipper, clipBehavior, child, null); }, PhysicalModel$(borderRadius, child, clipBehavior, color, elevation, shadowColor, shape) { return new A.PhysicalModel(shape, clipBehavior, borderRadius, elevation, color, shadowColor, child, null); }, Transform$(alignment, child, transform, transformHitTests) { return new A.Transform(transform, alignment, transformHitTests, null, child, null); }, Transform$rotate(alignment, angle, child, filterQuality) { return new A.Transform(A.Matrix4_Matrix4$rotationZ(angle), alignment, true, filterQuality, child, null); }, Transform$translate(child, key, offset) { return new A.Transform(A.Matrix4_Matrix4$translationValues(offset._dx, offset._dy, 0), null, true, null, child, key); }, CompositedTransformFollower$(child, link, offset, showWhenUnlinked) { return new A.CompositedTransformFollower(link, showWhenUnlinked, offset, child, null); }, FittedBox$(alignment, child, clipBehavior, fit) { return new A.FittedBox(fit, alignment, clipBehavior, 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$shrink() { return new A.SizedBox(0, 0, null, null); }, SizedBox$fromSize(child, size) { return new A.SizedBox(size._dx, size._dy, child, null); }, ConstraintsTransformBox_widthUnconstrained(constraints) { return new A.BoxConstraints(0, 1 / 0, constraints.minHeight, constraints.maxHeight); }, ConstraintsTransformBox_heightUnconstrained(constraints) { return new A.BoxConstraints(constraints.minWidth, constraints.maxWidth, 0, 1 / 0); }, LimitedBox$(child, maxHeight, maxWidth) { return new A.LimitedBox(maxWidth, 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 axisDirection; case 1: return B.AxisDirection_2; } }, ListBody$(children) { return new A.ListBody(children, null); }, Stack$(alignment, children, fit, key, textDirection) { return new A.Stack(alignment, textDirection, fit, children, key); }, IndexedStack$(alignment, children, index) { return new A.IndexedStack(index, alignment, null, B.StackFit_0, children, null); }, Positioned$(bottom, child, height, key, left, right, $top, width) { return new A.Positioned(left, $top, right, bottom, width, height, child, key); }, Positioned$fill(child) { return new A.Positioned(0, 0, 0, 0, null, null, child, null); }, 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, key, mainAxisAlignment, mainAxisSize, textBaseline, textDirection) { return new A.Row(B.Axis_0, mainAxisAlignment, mainAxisSize, crossAxisAlignment, textDirection, B.VerticalDirection_1, textBaseline, children, key); }, Column$(children, crossAxisAlignment, mainAxisAlignment, mainAxisSize, verticalDirection) { return new A.Column(B.Axis_1, mainAxisAlignment, mainAxisSize, crossAxisAlignment, null, verticalDirection, null, children, null); }, Expanded$(child, flex) { return new A.Expanded(flex, B.FlexFit_0, child, null); }, Wrap$(alignment, children, crossAxisAlignment, runAlignment, runSpacing, spacing) { return new A.Wrap(alignment, spacing, runAlignment, runSpacing, crossAxisAlignment, children, null); }, RichText$(key, locale, maxLines, overflow, softWrap, strutStyle, text, textAlign, textDirection, textHeightBehavior, textScaleFactor, textWidthBasis) { return new A.RichText(text, textAlign, textDirection, softWrap, overflow, textScaleFactor, maxLines, locale, strutStyle, textWidthBasis, textHeightBehavior, A.RichText__extractChildren(text), key); }, RichText__extractChildren(span) { var result, t1 = {}; t1.index = 0; result = A._setArrayType([], type$.JSArray_Widget); span.visitChildren$1(new A.RichText__extractChildren_closure(t1, result)); return result; }, DefaultAssetBundle_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultAssetBundle); t1 = $.$get$rootBundle(); return t1; }, Listener$(behavior, child, onPointerCancel, onPointerDown, onPointerSignal, onPointerUp) { return new A.Listener(onPointerDown, onPointerUp, onPointerCancel, onPointerSignal, behavior, child, null); }, MouseRegion$(child, cursor, key, onEnter, onExit, onHover) { return new A.MouseRegion(onEnter, onHover, onExit, cursor, 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, key; if (child.get$key(child) != null) { t1 = child.get$key(child); t1.toString; key = new A.ValueKey(t1, type$.ValueKey_Key); } else key = new A.ValueKey(childIndex, type$.ValueKey_int); return new A.KeyedSubtree(child, key); }, KeyedSubtree_ensureUniqueKeysForList(items) { var itemsWithUniqueKeys, t2, t3, itemIndex, _i, item, t4, key, t1 = items.length; if (t1 === 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]; if (item.get$key(item) != null) { t4 = item.get$key(item); t4.toString; key = new A.ValueKey(t4, t3); } else key = new A.ValueKey(itemIndex, t2); itemsWithUniqueKeys.push(new A.KeyedSubtree(item, key)); ++itemIndex; } return itemsWithUniqueKeys; }, Directionality: function Directionality(t0, t1, t2) { this.textDirection = t0; this.child = t1; this.key = t2; }, Opacity: function Opacity(t0, t1, t2, t3) { var _ = this; _.opacity = t0; _.alwaysIncludeSemantics = t1; _.child = t2; _.key = t3; }, 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) { this.clipper = t0; this.child = t1; this.key = t2; }, ClipRRect: function ClipRRect(t0, t1, t2) { this.borderRadius = t0; this.child = t1; this.key = t2; }, ClipOval: function ClipOval(t0, t1) { this.child = t0; this.key = t1; }, ClipPath: function ClipPath(t0, t1, t2, t3) { var _ = this; _.clipper = t0; _.clipBehavior = t1; _.child = t2; _.key = t3; }, PhysicalModel: function PhysicalModel(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.shape = t0; _.clipBehavior = t1; _.borderRadius = t2; _.elevation = t3; _.color = t4; _.shadowColor = t5; _.child = t6; _.key = t7; }, PhysicalShape: function PhysicalShape(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.clipper = t0; _.clipBehavior = t1; _.elevation = t2; _.color = t3; _.shadowColor = t4; _.child = t5; _.key = t6; }, Transform: function Transform(t0, t1, t2, t3, t4, 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) { var _ = this; _.link = t0; _.showWhenUnlinked = t1; _.offset = t2; _.child = t3; _.key = t4; }, FittedBox: function FittedBox(t0, t1, t2, t3, t4) { var _ = this; _.fit = t0; _.alignment = t1; _.clipBehavior = t2; _.child = t3; _.key = t4; }, 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; }, ConstraintsTransformBox: function ConstraintsTransformBox(t0, t1, t2, t3, t4, t5) { var _ = this; _.textDirection = t0; _.alignment = t1; _.constraintsTransform = t2; _.clipBehavior = t3; _.child = t4; _.key = t5; }, UnconstrainedBox: function UnconstrainedBox(t0, t1, t2) { this.constrainedAxis = t0; this.child = t1; this.key = t2; }, LimitedBox: function LimitedBox(t0, t1, t2, t3) { var _ = this; _.maxWidth = t0; _.maxHeight = t1; _.child = t2; _.key = t3; }, Offstage: function Offstage(t0, t1, t2) { this.offstage = t0; this.child = t1; this.key = t2; }, _OffstageElement: function _OffstageElement(t0, t1, t2, t3) { var _ = this; _._renderObject = _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, AspectRatio: function AspectRatio(t0, t1, t2) { this.aspectRatio = t0; this.child = t1; this.key = t2; }, IntrinsicWidth: function IntrinsicWidth(t0, t1, t2) { this.stepWidth = t0; this.child = t1; this.key = t2; }, IntrinsicHeight: function IntrinsicHeight(t0, t1) { this.child = t0; this.key = t1; }, SliverPadding: function SliverPadding(t0, t1, t2) { this.padding = t0; this.child = t1; this.key = t2; }, ListBody: function ListBody(t0, t1) { this.children = t0; this.key = t1; }, Stack: function Stack(t0, t1, t2, t3, t4) { var _ = this; _.alignment = t0; _.textDirection = t1; _.fit = t2; _.children = t3; _.key = t4; }, IndexedStack: function IndexedStack(t0, t1, t2, t3, t4, t5) { var _ = this; _.index = t0; _.alignment = t1; _.textDirection = t2; _.fit = t3; _.children = t4; _.key = t5; }, 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; _.runSpacing = t3; _.crossAxisAlignment = t4; _.children = t5; _.key = t6; }, RichText: function RichText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.text = t0; _.textAlign = t1; _.textDirection = t2; _.softWrap = t3; _.overflow = t4; _.textScaleFactor = t5; _.maxLines = t6; _.locale = t7; _.strutStyle = t8; _.textWidthBasis = t9; _.textHeightBehavior = t10; _.children = t11; _.key = t12; }, RichText__extractChildren_closure: function RichText__extractChildren_closure(t0, t1) { this._box_0 = t0; this.result = t1; }, RawImage: function RawImage(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, 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) { var _ = this; _.onPointerDown = t0; _.onPointerUp = t1; _.onPointerCancel = t2; _.onPointerSignal = t3; _.behavior = t4; _.child = t5; _.key = t6; }, MouseRegion: function MouseRegion(t0, t1, t2, t3, t4, t5) { var _ = this; _.onEnter = t0; _.onHover = t1; _.onExit = t2; _.cursor = t3; _.child = t4; _.key = t5; }, _MouseRegionState: function _MouseRegionState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _RawMouseRegion: function _RawMouseRegion(t0, t1, t2) { this.owner = t0; this.child = t1; this.key = t2; }, RepaintBoundary: function RepaintBoundary(t0, t1) { this.child = t0; this.key = t1; }, IgnorePointer: function IgnorePointer(t0, t1, t2, t3) { var _ = this; _.ignoring = t0; _.ignoringSemantics = t1; _.child = t2; _.key = t3; }, AbsorbPointer: function AbsorbPointer(t0, t1, t2) { this.absorbing = t0; this.child = t1; this.key = t2; }, MetaData: function MetaData(t0, t1, t2) { this.behavior = t0; this.child = t1; this.key = t2; }, Semantics: function Semantics(t0, t1, t2, t3, t4, t5) { var _ = this; _.properties = t0; _.container = t1; _.explicitChildNodes = t2; _.excludeSemantics = t3; _.child = t4; _.key = t5; }, MergeSemantics: function MergeSemantics(t0, t1) { this.child = t0; this.key = t1; }, BlockSemantics: function BlockSemantics(t0, t1) { this.child = t0; this.key = t1; }, ExcludeSemantics: function ExcludeSemantics(t0, t1, t2) { this.excluding = t0; this.child = t1; this.key = t2; }, IndexedSemantics: function IndexedSemantics(t0, t1, t2) { this.index = t0; this.child = t1; this.key = t2; }, KeyedSubtree: function KeyedSubtree(t0, t1) { this.child = t0; this.key = t1; }, Builder: function Builder(t0, t1) { this.builder = t0; this.key = t1; }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderObjectToWidgetElement$(widget, $T) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.RenderObjectToWidgetElement(t1, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2), $T._eval$1("RenderObjectToWidgetElement<0>")); }, WidgetsFlutterBinding$() { var t9, _null = null, t1 = A._setArrayType([], type$.JSArray_WidgetsBindingObserver), t2 = $.Zone__current, t3 = A._setArrayType([], type$.JSArray_of_void_Function_List_FrameTiming), t4 = A.List_List$filled(7, _null, false, type$.nullable__TaskEntry_dynamic), t5 = type$.int, t6 = A.HashSet_HashSet(t5), t7 = type$.JSArray_of_void_Function_Duration, t8 = A._setArrayType([], t7); t7 = A._setArrayType([], t7); t9 = A._setArrayType([], type$.JSArray_nullable__AsyncBlock); t1 = new A.WidgetsFlutterBinding(_null, t1, true, new A._AsyncCompleter(new A._Future(t2, type$._Future_void), type$._AsyncCompleter_void), false, _null, false, false, _null, $, _null, false, 0, false, $, _null, new A._SystemFontsNotifier(A.LinkedHashSet_LinkedHashSet$_empty(type$.void_Function)), $, $, $, $, _null, t3, _null, A.binding__defaultSchedulingStrategy$closure(), new A.HeapPriorityQueue(A.binding_SchedulerBinding__taskSorter$closure(), t4, type$.HeapPriorityQueue__TaskEntry_dynamic), false, 0, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$._FrameCallbackEntry), t6, t8, t7, _null, false, B.SchedulerPhase_0, true, false, _null, B.Duration_0, B.Duration_0, _null, 0, _null, false, new A.TimelineTask(_null, _null, 0, t9), A.ListQueue$(_null, type$.PointerEvent_2), new A.PointerRouter(A.LinkedHashMap_LinkedHashMap$_empty(t5, 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(t5, type$._GestureArena)), new A.PointerSignalResolver(), A.LinkedHashMap_LinkedHashMap$_empty(t5, 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_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure(t0, t1, t2) { this.$this = t0; this.hitTestResult = t1; this.event = t2; }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure(t0) { 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; }, 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_drawFrame_closure: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_drawFrame_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, WidgetsBinding_scheduleAttachRootWidget_closure: function WidgetsBinding_scheduleAttachRootWidget_closure(t0, t1) { this.$this = t0; this.rootWidget = t1; }, RenderObjectToWidgetAdapter: function RenderObjectToWidgetAdapter(t0, t1, t2, t3, t4) { var _ = this; _.child = t0; _.container = t1; _.debugShortDescription = t2; _.key = t3; _.$ti = t4; }, RenderObjectToWidgetAdapter_attachToRenderTree_closure: function RenderObjectToWidgetAdapter_attachToRenderTree_closure(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.owner = t2; }, RenderObjectToWidgetAdapter_attachToRenderTree_closure0: function RenderObjectToWidgetAdapter_attachToRenderTree_closure0(t0) { this._box_0 = t0; }, RenderObjectToWidgetElement: function RenderObjectToWidgetElement(t0, t1, t2, t3, t4) { var _ = this; _._renderObject = _._newWidget = _._child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t4; }, WidgetsFlutterBinding: function WidgetsFlutterBinding(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52) { var _ = this; _.WidgetsBinding__buildOwner = t0; _.WidgetsBinding__observers = t1; _.WidgetsBinding__needToReportFirstFrame = t2; _.WidgetsBinding__firstFrameCompleter = t3; _.WidgetsBinding_debugBuildingDirtyElements = t4; _.WidgetsBinding__renderViewElement = t5; _.WidgetsBinding__readyToProduceFrames = t6; _.RendererBinding__debugIsRenderViewInitialized = t7; _.RendererBinding__mouseTracker = t8; _.RendererBinding___RendererBinding__pipelineOwner = t9; _.RendererBinding__semanticsHandle = t10; _.RendererBinding__debugMouseTrackerUpdateScheduled = t11; _.RendererBinding__firstFrameDeferredCount = t12; _.RendererBinding__firstFrameSent = t13; _.SemanticsBinding___SemanticsBinding__accessibilityFeatures = t14; _.PaintingBinding__imageCache = t15; _.PaintingBinding__systemFonts = t16; _.ServicesBinding___ServicesBinding__keyboard = t17; _.ServicesBinding___ServicesBinding__keyEventManager = t18; _.ServicesBinding___ServicesBinding__defaultBinaryMessenger = t19; _.ServicesBinding___ServicesBinding__restorationManager = t20; _.ServicesBinding__systemUiChangeCallback = t21; _.SchedulerBinding__timingsCallbacks = t22; _.SchedulerBinding__lifecycleState = t23; _.SchedulerBinding_schedulingStrategy = t24; _.SchedulerBinding__taskQueue = t25; _.SchedulerBinding__hasRequestedAnEventLoopCallback = t26; _.SchedulerBinding__nextFrameCallbackId = t27; _.SchedulerBinding__transientCallbacks = t28; _.SchedulerBinding__removedIds = t29; _.SchedulerBinding__persistentCallbacks = t30; _.SchedulerBinding__postFrameCallbacks = t31; _.SchedulerBinding__nextFrameCompleter = t32; _.SchedulerBinding__hasScheduledFrame = t33; _.SchedulerBinding__schedulerPhase = t34; _.SchedulerBinding__framesEnabled = t35; _.SchedulerBinding__warmUpFrame = t36; _.SchedulerBinding__firstRawTimeStampInEpoch = t37; _.SchedulerBinding__epochStart = t38; _.SchedulerBinding__lastRawTimeStamp = t39; _.SchedulerBinding__currentFrameTimeStamp = t40; _.SchedulerBinding__debugFrameNumber = t41; _.SchedulerBinding__debugBanner = t42; _.SchedulerBinding__rescheduleAfterWarmUpFrame = t43; _.SchedulerBinding__frameTimelineTask = t44; _.GestureBinding__pendingPointerEvents = t45; _.GestureBinding_pointerRouter = t46; _.GestureBinding_gestureArena = t47; _.GestureBinding_pointerSignalResolver = t48; _.GestureBinding__hitTests = t49; _.GestureBinding___GestureBinding__resampler = t50; _.GestureBinding_resamplingEnabled = t51; _.GestureBinding_samplingOffset = t52; _._lockCount = 0; }, _WidgetsFlutterBinding_BindingBase_GestureBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding() { }, _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding: function _WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding() { }, 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; }, DefaultTextEditingActions: function DefaultTextEditingActions(t0, t1, t2) { this.actions = t0; this.child = t1; this.key = t2; }, _DoNothingAndStopPropagationTextAction: function _DoNothingAndStopPropagationTextAction(t0) { this._listeners = t0; }, _DeleteTextAction: function _DeleteTextAction(t0) { this._listeners = t0; }, _DeleteByWordTextAction: function _DeleteByWordTextAction(t0) { this._listeners = t0; }, _DeleteByLineTextAction: function _DeleteByLineTextAction(t0) { this._listeners = t0; }, _DeleteForwardTextAction: function _DeleteForwardTextAction(t0) { this._listeners = t0; }, _DeleteForwardByWordTextAction: function _DeleteForwardByWordTextAction(t0) { this._listeners = t0; }, _DeleteForwardByLineTextAction: function _DeleteForwardByLineTextAction(t0) { this._listeners = t0; }, _ExpandSelectionLeftByLineTextAction: function _ExpandSelectionLeftByLineTextAction(t0) { this._listeners = t0; }, _ExpandSelectionRightByLineTextAction: function _ExpandSelectionRightByLineTextAction(t0) { this._listeners = t0; }, _ExpandSelectionToEndTextAction: function _ExpandSelectionToEndTextAction(t0) { this._listeners = t0; }, _ExpandSelectionToStartTextAction: function _ExpandSelectionToStartTextAction(t0) { this._listeners = t0; }, _ExtendSelectionDownTextAction: function _ExtendSelectionDownTextAction(t0) { this._listeners = t0; }, _ExtendSelectionLeftByLineTextAction: function _ExtendSelectionLeftByLineTextAction(t0) { this._listeners = t0; }, _ExtendSelectionLeftByWordAndStopAtReversalTextAction: function _ExtendSelectionLeftByWordAndStopAtReversalTextAction(t0) { this._listeners = t0; }, _ExtendSelectionLeftByWordTextAction: function _ExtendSelectionLeftByWordTextAction(t0) { this._listeners = t0; }, _ExtendSelectionLeftTextAction: function _ExtendSelectionLeftTextAction(t0) { this._listeners = t0; }, _ExtendSelectionRightByLineTextAction: function _ExtendSelectionRightByLineTextAction(t0) { this._listeners = t0; }, _ExtendSelectionRightByWordAndStopAtReversalTextAction: function _ExtendSelectionRightByWordAndStopAtReversalTextAction(t0) { this._listeners = t0; }, _ExtendSelectionRightByWordTextAction: function _ExtendSelectionRightByWordTextAction(t0) { this._listeners = t0; }, _ExtendSelectionRightTextAction: function _ExtendSelectionRightTextAction(t0) { this._listeners = t0; }, _ExtendSelectionUpTextAction: function _ExtendSelectionUpTextAction(t0) { this._listeners = t0; }, _MoveSelectionDownTextAction: function _MoveSelectionDownTextAction(t0) { this._listeners = t0; }, _MoveSelectionLeftTextAction: function _MoveSelectionLeftTextAction(t0) { this._listeners = t0; }, _MoveSelectionRightTextAction: function _MoveSelectionRightTextAction(t0) { this._listeners = t0; }, _MoveSelectionUpTextAction: function _MoveSelectionUpTextAction(t0) { this._listeners = t0; }, _MoveSelectionLeftByLineTextAction: function _MoveSelectionLeftByLineTextAction(t0) { this._listeners = t0; }, _MoveSelectionLeftByWordTextAction: function _MoveSelectionLeftByWordTextAction(t0) { this._listeners = t0; }, _MoveSelectionRightByLineTextAction: function _MoveSelectionRightByLineTextAction(t0) { this._listeners = t0; }, _MoveSelectionRightByWordTextAction: function _MoveSelectionRightByWordTextAction(t0) { this._listeners = t0; }, _MoveSelectionToEndTextAction: function _MoveSelectionToEndTextAction(t0) { this._listeners = t0; }, _MoveSelectionToStartTextAction: function _MoveSelectionToStartTextAction(t0) { this._listeners = t0; }, _SelectAllTextAction: function _SelectAllTextAction(t0) { this._listeners = t0; }, _CopySelectionTextAction: function _CopySelectionTextAction(t0) { this._listeners = t0; }, _CutSelectionTextAction: function _CutSelectionTextAction(t0) { this._listeners = t0; }, _PasteTextAction: function _PasteTextAction(t0) { this._listeners = t0; }, DefaultTextEditingShortcuts__shortcuts() { return B.Map_eV4SE; }, DefaultTextEditingShortcuts: function DefaultTextEditingShortcuts(t0, t1, t2, t3) { var _ = this; _.shortcuts = t0; _.child = t1; _.debugLabel = t2; _.key = t3; }, DisposableBuildContext: function DisposableBuildContext(t0, t1) { this._disposable_build_context$_state = t0; this.$ti = t1; }, TextEditingController$(text) { var t1 = text == null ? B.TextEditingValue_li8 : new A.TextEditingValue(text, B.TextSelection_ke5, B.TextRange_m1_m1); return new A.TextEditingController(t1, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, EditableText$(autocorrect, autocorrectionTextRectColor, autofillClient, autofillHints, autofocus, backgroundCursorColor, clipBehavior, controller, cursorColor, cursorHeight, cursorOffset, cursorOpacityAnimates, cursorRadius, cursorWidth, dragStartBehavior, enableIMEPersonalizedLearning, enableInteractiveSelection, enableSuggestions, expands, focusNode, forceLine, inputFormatters, key, keyboardAppearance, keyboardType, maxLines, minLines, mouseCursor, obscureText, obscuringCharacter, onAppPrivateCommand, onChanged, onEditingComplete, onSelectionChanged, onSelectionHandleTapped, onSubmitted, paintCursorAboveText, readOnly, rendererIgnoresPointer, restorationId, scrollController, scrollPadding, scrollPhysics, selectionColor, selectionControls, selectionHeightStyle, selectionWidthStyle, showCursor, showSelectionHandles, smartDashesType, smartQuotesType, strutStyle, style, textAlign, textCapitalization, textDirection, textHeightBehavior, textInputAction, textScaleFactor, textWidthBasis, toolbarOptions) { var t1, t2, t3, t4; if (smartDashesType == null) t1 = obscureText ? B.SmartDashesType_0 : B.SmartDashesType_1; else t1 = smartDashesType; if (smartQuotesType == null) t2 = obscureText ? B.SmartQuotesType_0 : B.SmartQuotesType_1; else t2 = smartQuotesType; t3 = keyboardType == null ? A.EditableText__inferKeyboardType(autofillHints, maxLines) : keyboardType; if (maxLines === 1) { t4 = A._setArrayType([$.$get$FilteringTextInputFormatter_singleLineFormatter()], type$.JSArray_TextInputFormatter); B.JSArray_methods.addAll$1(t4, inputFormatters == null ? B.C_EmptyIterable : inputFormatters); } else t4 = inputFormatters; return new A.EditableText(controller, focusNode, obscuringCharacter, obscureText, textHeightBehavior, textWidthBasis, readOnly, forceLine, toolbarOptions, showSelectionHandles, showCursor == null ? !readOnly : showCursor, true, t1, t2, true, style, strutStyle, textAlign, textDirection, textCapitalization, textScaleFactor, cursorColor, autocorrectionTextRectColor, backgroundCursorColor, maxLines, minLines, expands, autofocus, selectionColor, selectionControls, t3, textInputAction, onChanged, onEditingComplete, onSubmitted, onAppPrivateCommand, onSelectionChanged, onSelectionHandleTapped, t4, mouseCursor, true, cursorWidth, cursorHeight, cursorRadius, cursorOpacityAnimates, cursorOffset, paintCursorAboveText, selectionHeightStyle, selectionWidthStyle, keyboardAppearance, scrollPadding, enableInteractiveSelection, dragStartBehavior, scrollController, scrollPhysics, autofillHints, autofillClient, clipBehavior, restorationId, true, key); }, EditableText__inferKeyboardType(autofillHints, maxLines) { return maxLines === 1 ? B.TextInputType_0_null_null : B.TextInputType_1_null_null; }, _Editable__extractChildren(span) { var result = A._setArrayType([], type$.JSArray_Widget); span.visitChildren$1(new A._Editable__extractChildren_closure(result)); return result; }, 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) { this.copy = t0; this.cut = t1; this.paste = t2; }, EditableText: function EditableText(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40, t41, t42, t43, t44, t45, t46, t47, t48, t49, t50, t51, t52, t53, t54, t55, t56, t57, t58, t59, t60) { var _ = this; _.controller = t0; _.focusNode = t1; _.obscuringCharacter = t2; _.obscureText = t3; _.textHeightBehavior = t4; _.textWidthBasis = t5; _.readOnly = t6; _.forceLine = t7; _.toolbarOptions = t8; _.showSelectionHandles = t9; _.showCursor = t10; _.autocorrect = t11; _.smartDashesType = t12; _.smartQuotesType = t13; _.enableSuggestions = t14; _.style = t15; _._editable_text$_strutStyle = t16; _.textAlign = t17; _.textDirection = t18; _.textCapitalization = t19; _.textScaleFactor = t20; _.cursorColor = t21; _.autocorrectionTextRectColor = t22; _.backgroundCursorColor = t23; _.maxLines = t24; _.minLines = t25; _.expands = t26; _.autofocus = t27; _.selectionColor = t28; _.selectionControls = t29; _.keyboardType = t30; _.textInputAction = t31; _.onChanged = t32; _.onEditingComplete = t33; _.onSubmitted = t34; _.onAppPrivateCommand = t35; _.onSelectionChanged = t36; _.onSelectionHandleTapped = t37; _.inputFormatters = t38; _.mouseCursor = t39; _.rendererIgnoresPointer = t40; _.cursorWidth = t41; _.cursorHeight = t42; _.cursorRadius = t43; _.cursorOpacityAnimates = t44; _.cursorOffset = t45; _.paintCursorAboveText = t46; _.selectionHeightStyle = t47; _.selectionWidthStyle = t48; _.keyboardAppearance = t49; _.scrollPadding = t50; _.enableInteractiveSelection = t51; _.dragStartBehavior = t52; _.scrollController = t53; _.scrollPhysics = t54; _.autofillHints = t55; _.autofillClient = t56; _.clipBehavior = t57; _.restorationId = t58; _.enableIMEPersonalizedLearning = t59; _.key = t60; }, EditableTextState: function EditableTextState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._cursorTimer = null; _._targetCursorVisibility = false; _._cursorVisibilityNotifier = t0; _._editableKey = t1; _._internalScrollController = _._selectionOverlay = _._textInputConnection = null; _.__EditableTextState__cursorBlinkOpacityController = $; _._toolbarLayerLink = t2; _._startHandleLayerLink = t3; _._endHandleLayerLink = t4; _._didAutoFocus = false; _._currentAutofillScope = _._editable_text$_focusAttachment = null; _.__EditableTextState__floatingCursorResetController = $; _._tickersEnabled = true; _._lastBoundedOffset = _._pointOffsetOrigin = _._lastTextPosition = _._startCaretRect = _._lastKnownRemoteTextEditingValue = null; _._batchEditDepth = 0; _._restartConnectionScheduled = false; _._currentCaretRect = null; _._showCaretOnScreenScheduled = false; _.__EditableTextState__lastBottomViewInset = $; _._obscureShowCharTicksPending = 0; _._obscureLatestCharIndex = null; _._cursorActive = false; _._currentPromptRectRange = null; _.TextEditingActionTarget__cursorResetLocation = t5; _.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = t6; _.TickerProviderStateMixin__tickers = t7; _.AutomaticKeepAliveClientMixin__keepAliveHandle = t8; _._widget = null; _._debugLifecycleState = t9; _._framework$_element = null; }, EditableTextState_didChangeDependencies_closure: function EditableTextState_didChangeDependencies_closure(t0) { this.$this = t0; }, EditableTextState__scheduleShowCaretOnScreen_closure: function EditableTextState__scheduleShowCaretOnScreen_closure(t0) { this.$this = t0; }, EditableTextState_didChangeMetrics_closure: function EditableTextState_didChangeMetrics_closure(t0) { this.$this = t0; }, EditableTextState__formatAndSetValue_closure: function EditableTextState__formatAndSetValue_closure(t0) { this.$this = t0; }, EditableTextState__cursorTick_closure: function EditableTextState__cursorTick_closure(t0) { this.$this = t0; }, EditableTextState__didChangeTextEditingValue_closure: function EditableTextState__didChangeTextEditingValue_closure() { }, EditableTextState__handleFocusChanged_closure: function EditableTextState__handleFocusChanged_closure(t0) { this.$this = t0; }, EditableTextState__updateSizeAndTransform_closure: function EditableTextState__updateSizeAndTransform_closure(t0) { this.$this = t0; }, EditableTextState__updateComposingRectIfNeeded_closure: function EditableTextState__updateComposingRectIfNeeded_closure(t0) { this.$this = t0; }, EditableTextState__updateCaretRectIfNeeded_closure: function EditableTextState__updateCaretRectIfNeeded_closure(t0) { this.$this = t0; }, EditableTextState_showAutocorrectionPromptRect_closure: function EditableTextState_showAutocorrectionPromptRect_closure(t0, t1, t2) { this.$this = t0; this.start = t1; this.end = t2; }, EditableTextState__semanticsOnCopy_closure: function EditableTextState__semanticsOnCopy_closure(t0, t1) { this.$this = t0; this.controls = t1; }, EditableTextState__semanticsOnCut_closure: function EditableTextState__semanticsOnCut_closure(t0, t1) { this.$this = t0; this.controls = t1; }, EditableTextState__semanticsOnPaste_closure: function EditableTextState__semanticsOnPaste_closure(t0, t1) { this.$this = t0; this.controls = t1; }, EditableTextState_build_closure: function EditableTextState_build_closure(t0, t1) { this.$this = t0; this.controls = t1; }, _Editable: function _Editable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39, t40) { 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; _.textScaleFactor = t15; _.textAlign = t16; _.textDirection = t17; _.locale = t18; _.obscuringCharacter = t19; _.obscureText = t20; _.textHeightBehavior = t21; _.textWidthBasis = t22; _.offset = t23; _.onCaretChanged = t24; _.rendererIgnoresPointer = t25; _.cursorWidth = t26; _.cursorHeight = t27; _.cursorRadius = t28; _.cursorOffset = t29; _.paintCursorAboveText = t30; _.selectionHeightStyle = t31; _.selectionWidthStyle = t32; _.enableInteractiveSelection = t33; _.textSelectionDelegate = t34; _.devicePixelRatio = t35; _.promptRectRange = t36; _.promptRectColor = t37; _.clipBehavior = t38; _.children = t39; _.key = t40; }, _Editable__extractChildren_closure: function _Editable__extractChildren_closure(t0) { this.result = t0; }, _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_TextEditingActionTarget: function _EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate_TextEditingActionTarget() { }, 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, onKey, onKeyEvent, skipTraversal) { return new A.FocusNode(skipTraversal, canRequestFocus, true, onKey, onKeyEvent, A._setArrayType([], type$.JSArray_FocusNode), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, FocusScopeNode$(canRequestFocus, debugLabel, skipTraversal) { var t1 = type$.JSArray_FocusNode; return new A.FocusScopeNode(A._setArrayType([], t1), skipTraversal, canRequestFocus, true, null, null, A._setArrayType([], t1), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, FocusManager__defaultModeForPlatform() { switch (A.defaultTargetPlatform().index) { case 0: case 1: case 2: var t1 = $.WidgetsBinding__instance.RendererBinding__mouseTracker._mouseStates; if (t1.get$isNotEmpty(t1)) 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) { var _ = this; _._skipTraversal = t0; _._canRequestFocus = t1; _._focus_manager$_descendantsAreFocusable = t2; _._context = null; _.onKey = t3; _.onKeyEvent = t4; _._descendants = _._ancestors = _._manager = null; _._hasKeyboardToken = false; _._focus_manager$_parent = null; _._focus_manager$_children = t5; _._attachment = _._focus_manager$_debugLabel = null; _._requestFocusWhenReparented = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, FocusNode_traversalDescendants_closure: function FocusNode_traversalDescendants_closure() { }, FocusNode_debugDescribeChildren_closure: function FocusNode_debugDescribeChildren_closure(t0) { this._box_0 = t0; }, FocusScopeNode: function FocusScopeNode(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._focusedChildren = t0; _._skipTraversal = t1; _._canRequestFocus = t2; _._focus_manager$_descendantsAreFocusable = t3; _._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; }, 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; _._lastInteractionWasTouch = _._highlightMode = null; _._focus_manager$_listeners = t0; _.rootScope = t1; _._primaryFocus = null; _._dirtyNodes = t2; _._markedForFocus = null; _._pendingAutofocuses = t3; _._haveScheduledUpdate = false; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _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, focusNode, includeSemantics, key, onFocusChange, onKey, onKeyEvent, skipTraversal) { return new A.Focus(child, focusNode, autofocus, onFocusChange, onKeyEvent, onKey, canRequestFocus, skipTraversal, descendantsAreFocusable, includeSemantics, debugLabel, key); }, Focus_maybeOf(context, scopeOk) { var marker = context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusMarker), node = marker == null ? null : marker.notifier; if (node == null) return null; return node; }, _FocusState$() { return new A._FocusState(B._StateLifecycle_0); }, FocusScope$(autofocus, child, key, node) { var _null = null; return new A.FocusScope(child, node, autofocus, _null, _null, _null, _null, _null, _null, true, _null, key); }, FocusScope_of(context) { var t1, marker = context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusMarker); if (marker == null) t1 = null; else t1 = marker.notifier.get$nearestScope(); return t1 == null ? context._owner.focusManager.rootScope : t1; }, _FocusMarker$(child, node) { return new A._FocusMarker(node, child, null); }, Focus: function Focus(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.child = t0; _.focusNode = t1; _.autofocus = t2; _.onFocusChange = t3; _._onKeyEvent = t4; _._onKey = t5; _._focus_scope$_canRequestFocus = t6; _._focus_scope$_skipTraversal = t7; _._descendantsAreFocusable = t8; _.includeSemantics = t9; _._focus_scope$_debugLabel = t10; _.key = t11; }, _FocusState: function _FocusState(t0) { var _ = this; _._internalNode = null; _.___FocusState__descendantsWereFocusable = _.___FocusState__couldRequestFocus = _.___FocusState__hadPrimaryFocus = $; _._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; }, FocusScope: function FocusScope(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.child = t0; _.focusNode = t1; _.autofocus = t2; _.onFocusChange = t3; _._onKeyEvent = t4; _._onKey = t5; _._focus_scope$_canRequestFocus = t6; _._focus_scope$_skipTraversal = t7; _._descendantsAreFocusable = t8; _.includeSemantics = t9; _._focus_scope$_debugLabel = t10; _.key = t11; }, _FocusScopeState: function _FocusScopeState(t0) { var _ = this; _._internalNode = null; _.___FocusState__descendantsWereFocusable = _.___FocusState__couldRequestFocus = _.___FocusState__hadPrimaryFocus = $; _._didAutofocus = false; _._widget = _._focusAttachment = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FocusMarker: function _FocusMarker(t0, t1, t2) { this.notifier = t0; this.child = t1; this.key = t2; }, _getAncestor(context, count) { var t1 = {}; t1.count = count; t1.target = null; context.visitAncestorElements$1(new A._getAncestor_closure(t1)); return t1.target; }, _focusAndEnsureVisible(node, alignmentPolicy) { var t1; node.requestFocus$0(); t1 = node._context; t1.toString; A.Scrollable_ensureVisible(t1, 1, alignmentPolicy); }, _FocusTraversalGroupInfo$(marker, defaultPolicy, members) { var t1 = marker == null ? null : marker.policy; if (t1 == null) t1 = defaultPolicy; return new A._FocusTraversalGroupInfo(t1, members); }, _ReadingOrderSortData_commonDirectionalityOf(list) { var t2, common, 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(allAncestors), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"), common = null; t2.moveNext$0();) { common0 = t1._as(t2.__internal$_current); 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); }, _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; }, FocusTraversalPolicy: function FocusTraversalPolicy() { }, FocusTraversalPolicy__sortAllDescendants_visitGroups: function FocusTraversalPolicy__sortAllDescendants_visitGroups(t0, t1) { this.groups = t0; this.sortedDescendants = t1; }, FocusTraversalPolicy__sortAllDescendants_closure: function FocusTraversalPolicy__sortAllDescendants_closure() { }, _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__sortAndFilterHorizontally_closure: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure() { }, DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1: function DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure() { }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0(t0) { this.target = t0; }, DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1: function DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1(t0) { this.target = t0; }, 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.focusedChild = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure2: function DirectionalFocusTraversalPolicyMixin_inDirection_closure2(t0) { this.focusedScrollable = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure3: function DirectionalFocusTraversalPolicyMixin_inDirection_closure3(t0) { this.band = t0; }, DirectionalFocusTraversalPolicyMixin_inDirection_closure4: function DirectionalFocusTraversalPolicyMixin_inDirection_closure4(t0) { this.focusedChild = 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) { this.DirectionalFocusTraversalPolicyMixin__policyData = t0; }, 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) { this.policy = t0; this.child = t1; this.key = t2; }, _FocusTraversalGroupState: function _FocusTraversalGroupState(t0) { var _ = this; _._widget = _.focusNode = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _FocusTraversalGroupMarker: function _FocusTraversalGroupMarker(t0, t1, t2, t3) { var _ = this; _.policy = t0; _.focusNode = t1; _.child = t2; _.key = t3; }, RequestFocusAction: function RequestFocusAction(t0) { this._listeners = t0; }, NextFocusIntent: function NextFocusIntent() { }, NextFocusAction: function NextFocusAction(t0) { this._listeners = t0; }, PreviousFocusIntent: function PreviousFocusIntent() { }, PreviousFocusAction: function PreviousFocusAction(t0) { this._listeners = t0; }, DirectionalFocusIntent: function DirectionalFocusIntent(t0) { this.direction = t0; }, DirectionalFocusAction: function DirectionalFocusAction(t0) { this._listeners = t0; }, _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_of(context) { var scope = context.dependOnInheritedWidgetOfExactType$1$0(type$._FormScope); return scope == null ? null : scope._formState; }, FormFieldState$($T) { var _null = null; return new A.FormFieldState(new A.RestorableStringN(_null, A.List_List$filled(0, _null, false, type$.nullable_void_Function)), A.RestorableBool$(false), _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; }, _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 = $; _._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() { }, UniqueKey$() { return new A.UniqueKey(); }, 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 t1, _s6_ = "_depth"; if (A._lateReadCheck(a.__Element__depth, _s6_) < A._lateReadCheck(b.__Element__depth, _s6_)) return -1; if (A._lateReadCheck(b.__Element__depth, _s6_) < A._lateReadCheck(a.__Element__depth, _s6_)) return 1; t1 = b._dirty; if (t1 && !a._dirty) return -1; if (a._dirty && !t1) return 1; return 0; }, 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()); }, StatelessElement$(widget) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.StatelessElement(t1, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); }, StatefulElement$(widget) { var t1 = widget.createState$0(), t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; t2 = new A.StatefulElement(t1, t2, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); t2.get$state(t2)._framework$_element = t2; t2.get$state(t2)._widget = widget; return t2; }, InheritedElement$(widget) { var t1 = type$.Element_2, t2 = A.HashMap_HashMap(null, null, null, t1, type$.nullable_Object), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A.InheritedElement(t2, t3, widget, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, SingleChildRenderObjectElement$(widget) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.SingleChildRenderObjectElement(t1, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); }, MultiChildRenderObjectElement$(widget) { var t1 = type$.Element_2, t2 = A.HashSet_HashSet(t1), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A.MultiChildRenderObjectElement(t2, t3, widget, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, _debugReportException(context, exception, stack, informationCollector) { var details = new A.FlutterErrorDetails(exception, stack, "widgets library", context, informationCollector, false); A.FlutterError_reportError(details); return details; }, _debugShouldReassemble(config, widget) { var t1; if (config != null) { t1 = config.widgetName; if (t1 != null) t1 = (widget == null ? null : A._rtiToString(A.getRuntimeType(widget)._rti, null)) === t1; else t1 = true; } else t1 = true; return t1; }, UniqueKey: function UniqueKey() { }, ObjectKey: function ObjectKey(t0) { this.value = t0; }, GlobalKey: function GlobalKey() { }, LabeledGlobalKey: function LabeledGlobalKey(t0, t1) { this._debugLabel = t0; this.$ti = t1; }, GlobalObjectKey: function GlobalObjectKey(t0, t1) { this.value = t0; this.$ti = t1; }, Widget: function Widget() { }, StatelessWidget: function StatelessWidget() { }, StatefulWidget: function StatefulWidget() { }, _StateLifecycle: function _StateLifecycle(t0, 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, t4, t5) { var _ = this; _.onBuildScheduled = null; _._inactiveElements = t0; _._dirtyElements = t1; _._scheduledFlushDirtyElements = false; _._dirtyElementsNeedsResorting = null; _.focusManager = t2; _._debugStateLockLevel = 0; _._debugBuilding = false; _._debugElementsThatWillNeedToBeRebuiltDueToGlobalKeyShenanigans = _._debugCurrentBuildTarget = null; _._globalKeyRegistry = t3; _._debugIllFatedElements = t4; _._debugGlobalKeyReservations = t5; }, BuildOwner_buildScope_closure: function BuildOwner_buildScope_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, BuildOwner_finalizeTree_closure: function BuildOwner_finalizeTree_closure(t0) { this.$this = t0; }, Element: function Element() { }, Element_reassemble_closure: function Element_reassemble_closure(t0) { this.$this = t0; }, Element_renderObject_visit: function Element_renderObject_visit(t0) { this._box_0 = t0; }, Element_updateSlotForChild_visit: function Element_updateSlotForChild_visit(t0) { this.newSlot = t0; }, Element__updateDepth_closure: function Element__updateDepth_closure(t0) { this.expectedDepth = t0; }, Element_detachRenderObject_closure: function Element_detachRenderObject_closure() { }, Element_attachRenderObject_closure: function Element_attachRenderObject_closure(t0) { this.newSlot = t0; }, Element_debugDescribeChildren_closure: function Element_debugDescribeChildren_closure(t0) { this.children = t0; }, _ElementDiagnosticableTreeNode: function _ElementDiagnosticableTreeNode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.stateful = t0; _.value = t1; _._cachedBuilder = null; _.name = t2; _.showSeparator = t3; _.showName = t4; _.linePrefix = t5; _.style = t6; }, ErrorWidget: function ErrorWidget(t0, t1, t2) { this.message = t0; this._flutterError = t1; this.key = t2; }, ComponentElement: function ComponentElement() { }, ComponentElement_performRebuild_closure: function ComponentElement_performRebuild_closure(t0) { this.$this = t0; }, ComponentElement_performRebuild_closure0: function ComponentElement_performRebuild_closure0(t0) { this.$this = t0; }, StatelessElement: function StatelessElement(t0, t1, t2, t3) { var _ = this; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, StatefulElement: function StatefulElement(t0, t1, t2, t3, t4) { var _ = this; _._framework$_state = t0; _._didChangeDependencies = false; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, ProxyElement: function ProxyElement() { }, ParentDataElement: function ParentDataElement(t0, t1, t2, t3, t4) { var _ = this; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t4; }, ParentDataElement__applyParentData_applyParentDataToChild: function ParentDataElement__applyParentData_applyParentDataToChild(t0) { this.widget = t0; }, InheritedElement: function InheritedElement(t0, t1, t2, t3, t4) { var _ = this; _._dependents = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, RenderObjectElement: function RenderObjectElement() { }, RenderObjectElement_updateChildren_replaceWithNullIfForgotten: function RenderObjectElement_updateChildren_replaceWithNullIfForgotten(t0) { this.forgottenChildren = t0; }, RenderObjectElement_updateChildren_slotFor: function RenderObjectElement_updateChildren_slotFor(t0) { this.slots = t0; }, RootRenderObjectElement: function RootRenderObjectElement() { }, LeafRenderObjectElement: function LeafRenderObjectElement(t0, t1, t2, t3) { var _ = this; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, SingleChildRenderObjectElement: function SingleChildRenderObjectElement(t0, t1, t2, t3) { var _ = this; _._renderObject = _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, MultiChildRenderObjectElement: function MultiChildRenderObjectElement(t0, t1, t2, t3, t4) { var _ = this; _.__MultiChildRenderObjectElement__children = $; _._forgottenChildren = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, MultiChildRenderObjectElement_children_closure: function MultiChildRenderObjectElement_children_closure(t0) { this.$this = t0; }, DebugCreator: function DebugCreator(t0) { this.element = t0; }, IndexedSlot: function IndexedSlot(t0, t1, t2) { this.value = t0; this.index = t1; this.$ti = t2; }, _NullElement: function _NullElement(t0, t1, t2, t3) { var _ = this; _._debugReassembleConfig = _._parent = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _NullWidget: function _NullWidget(t0) { this.key = t0; }, _State_Object_Diagnosticable: function _State_Object_Diagnosticable() { }, GestureDetector$(behavior, child, dragStartBehavior, excludeFromSemantics, key, onDoubleTap, onHorizontalDragCancel, onHorizontalDragDown, onHorizontalDragEnd, onHorizontalDragStart, onHorizontalDragUpdate, onLongPress, onLongPressStart, onPanDown, onPanEnd, onPanStart, onPanUpdate, onSecondaryTapDown, onTap, onTapCancel, onTapDown, onTapUp, onVerticalDragDown, onVerticalDragEnd, onVerticalDragStart, onVerticalDragUpdate) { return new A.GestureDetector(child, onTapDown, onTapUp, onTap, onTapCancel, onSecondaryTapDown, onDoubleTap, onLongPress, onLongPressStart, onVerticalDragDown, onVerticalDragStart, onVerticalDragUpdate, onVerticalDragEnd, onHorizontalDragDown, onHorizontalDragStart, onHorizontalDragUpdate, onHorizontalDragEnd, onHorizontalDragCancel, onPanDown, onPanStart, onPanUpdate, onPanEnd, behavior, excludeFromSemantics, dragStartBehavior, key); }, GestureRecognizerFactory: function GestureRecognizerFactory() { }, GestureRecognizerFactoryWithHandlers: function GestureRecognizerFactoryWithHandlers(t0, t1, t2) { this._constructor = t0; this._initializer = t1; this.$ti = t2; }, GestureDetector: function GestureDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25) { var _ = this; _.child = t0; _.onTapDown = t1; _.onTapUp = t2; _.onTap = t3; _.onTapCancel = t4; _.onSecondaryTapDown = t5; _.onDoubleTap = t6; _.onLongPress = t7; _.onLongPressStart = t8; _.onVerticalDragDown = t9; _.onVerticalDragStart = t10; _.onVerticalDragUpdate = t11; _.onVerticalDragEnd = t12; _.onHorizontalDragDown = t13; _.onHorizontalDragStart = t14; _.onHorizontalDragUpdate = t15; _.onHorizontalDragEnd = t16; _.onHorizontalDragCancel = t17; _.onPanDown = t18; _.onPanStart = t19; _.onPanUpdate = t20; _.onPanEnd = t21; _.behavior = t22; _.excludeFromSemantics = t23; _.dragStartBehavior = t24; _.key = t25; }, GestureDetector_build_closure: function GestureDetector_build_closure(t0) { this.$this = t0; }, GestureDetector_build_closure0: function GestureDetector_build_closure0(t0) { this.$this = t0; }, GestureDetector_build_closure1: function GestureDetector_build_closure1(t0) { this.$this = t0; }, GestureDetector_build_closure2: function GestureDetector_build_closure2(t0) { this.$this = t0; }, GestureDetector_build_closure3: function GestureDetector_build_closure3(t0) { this.$this = t0; }, GestureDetector_build_closure4: function GestureDetector_build_closure4(t0) { this.$this = t0; }, GestureDetector_build_closure5: function GestureDetector_build_closure5(t0) { this.$this = t0; }, GestureDetector_build_closure6: function GestureDetector_build_closure6(t0) { this.$this = t0; }, GestureDetector_build_closure7: function GestureDetector_build_closure7(t0) { this.$this = t0; }, GestureDetector_build_closure8: function GestureDetector_build_closure8(t0) { this.$this = t0; }, GestureDetector_build_closure9: function GestureDetector_build_closure9(t0) { this.$this = t0; }, GestureDetector_build_closure10: function GestureDetector_build_closure10(t0) { this.$this = t0; }, RawGestureDetector: function RawGestureDetector(t0, t1, t2, t3, t4, t5) { var _ = this; _.child = t0; _.gestures = t1; _.behavior = t2; _.excludeFromSemantics = t3; _.semantics = t4; _.key = t5; }, RawGestureDetectorState: function RawGestureDetectorState(t0, t1) { var _ = this; _._recognizers = t0; _._widget = _._gesture_detector$_semantics = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _GestureSemantics: function _GestureSemantics(t0, t1, t2, t3) { var _ = this; _.behavior = t0; _.assignSemantics = t1; _.child = t2; _.key = t3; }, SemanticsGestureDelegate: function SemanticsGestureDelegate() { }, _DefaultSemanticsGestureDelegate: function _DefaultSemanticsGestureDelegate(t0) { this.detectorState = t0; }, _DefaultSemanticsGestureDelegate__getTapHandler_closure: function _DefaultSemanticsGestureDelegate__getTapHandler_closure(t0) { this.tap = t0; }, _DefaultSemanticsGestureDelegate__getLongPressHandler_closure: function _DefaultSemanticsGestureDelegate__getLongPressHandler_closure(t0) { this.longPress = t0; }, _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure(t0) { this.horizontal = t0; }, _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0(t0) { this.pan = t0; }, _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1: function _DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1(t0, t1) { this.horizontalHandler = t0; this.panHandler = t1; }, _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure(t0) { this.vertical = t0; }, _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0(t0) { this.pan = t0; }, _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1: function _DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1(t0, t1) { this.verticalHandler = t0; this.panHandler = t1; }, Hero$(child, createRectTween, flightShuttleBuilder, placeholderBuilder, tag, transitionOnUserGestures) { return new A.Hero(tag, createRectTween, child, flightShuttleBuilder, placeholderBuilder, false, null); }, 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._size; 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, t3, t4, t5, t6) { var _ = this; _.tag = t0; _.createRectTween = t1; _.child = t2; _.flightShuttleBuilder = t3; _.placeholderBuilder = t4; _.transitionOnUserGestures = t5; _.key = t6; }, Hero__allHeroesFor_inviteHero: function Hero__allHeroesFor_inviteHero(t0, t1) { this.result = t0; this.isUserGestureTransition = t1; }, Hero__allHeroesFor_visitor: function Hero__allHeroesFor_visitor(t0, t1) { this.navigator = t0; this.inviteHero = t1; }, _HeroState: function _HeroState(t0, t1) { var _ = this; _._heroes$_key = t0; _._placeholderSize = null; _._shouldIncludeChild = true; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _HeroState_startFlight_closure: function _HeroState_startFlight_closure(t0, t1) { this.$this = t0; this.box = t1; }, _HeroState_endFlight_closure: function _HeroState_endFlight_closure() { }, _HeroFlightManifest: function _HeroFlightManifest(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.type = t0; _.overlay = t1; _.navigatorSize = t2; _.fromRoute = t3; _.toRoute = t4; _.fromHero = t5; _.toHero = t6; _.createRectTween = t7; _.shuttleBuilder = t8; _.isUserGestureTransition = t9; _.isDiverted = t10; _.___HeroFlightManifest_isValid = _.___HeroFlightManifest_toHeroLocation = _.___HeroFlightManifest_fromHeroLocation = $; }, _HeroFlight: function _HeroFlight(t0, t1) { var _ = this; _.onFlightEnded = t0; _.___HeroFlight_heroRectTween = $; _.shuttle = null; _._heroOpacity = t1; _.___HeroFlight_manifest = _.___HeroFlight__proxyAnimation = $; _.overlayEntry = null; _._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; this._navigator$_navigator = null; }, HeroController_didStopUserGesture_isInvalidFlight: function HeroController_didStopUserGesture_isInvalidFlight() { }, HeroController__maybeStartHeroTransition_closure: function HeroController__maybeStartHeroTransition_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.$this = t0; _.from = t1; _.to = t2; _.animation = t3; _.flightType = t4; _.isUserGestureTransition = t5; }, Icon$(icon, color, size) { return new A.Icon(icon, size, color, null); }, Icon: function Icon(t0, t1, t2, t3) { var _ = this; _.icon = t0; _.size = t1; _.color = t2; _.key = t3; }, 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, iconThemeData = A.IconTheme__getInheritedIconThemeData(context).resolve$1(context), t1 = iconThemeData.color, t2 = t1 == null; if (!t2 && iconThemeData.get$opacity(iconThemeData) != null && iconThemeData.size != null) t1 = iconThemeData; else { t3 = iconThemeData.size; if (t3 == null) t3 = 24; if (t2) t1 = B.Color_4278190080; t2 = iconThemeData.get$opacity(iconThemeData); t1 = iconThemeData.copyWith$3$color$opacity$size(t1, t2 == null ? B.IconThemeData_Color_4278190080_1_24.get$opacity(B.IconThemeData_Color_4278190080_1_24) : t2, 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_Color_4278190080_1_24 : t1; }, IconTheme: function IconTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, IconTheme_merge_closure: function IconTheme_merge_closure(t0, t1, t2) { this.key = t0; this.data = t1; this.child = t2; }, IconThemeData_lerp(a, b, t) { var t4, _null = null, t1 = a == null, t2 = t1 ? _null : a.color, t3 = b == null; t2 = A.Color_lerp(t2, t3 ? _null : b.color, t); t4 = t1 ? _null : a.get$opacity(a); t4 = A.lerpDouble(t4, t3 ? _null : b.get$opacity(b), t); t1 = t1 ? _null : a.size; return new A.IconThemeData(t2, t4, A.lerpDouble(t1, t3 ? _null : b.size, t)); }, IconThemeData: function IconThemeData(t0, t1, t2) { this.color = t0; this._opacity = t1; this.size = t2; }, _IconThemeData_Object_Diagnosticable: function _IconThemeData_Object_Diagnosticable() { }, createLocalImageConfiguration(context, size) { var t1 = A.DefaultAssetBundle_of(context), t2 = A.MediaQuery_maybeOf(context); 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()); }, precacheImage(provider, context, onError) { var listener, t1 = {}, config = A.createLocalImageConfiguration(context, null), t2 = new A._Future($.Zone__current, type$._Future_void), completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_void), stream = provider.resolve$1(config); t1.listener = null; listener = new A.ImageStreamListener(new A.precacheImage_closure(t1, completer, stream), null, new A.precacheImage_closure0(t1, completer, stream, onError)); t1.listener = listener; stream.addListener$1(0, listener); return t2; }, Image$network(src, errorBuilder, fit, frameBuilder, headers, height, width) { return new A.Image(A.ResizeImage_resizeIfNeeded(null, null, new A.NetworkImage(src, 1)), frameBuilder, errorBuilder, width, height, B.FilterQuality_1, fit, false, null); }, Image$asset($name, fit, frameBuilder, height, width) { var _null = null; return new A.Image(A.ResizeImage_resizeIfNeeded(_null, _null, new A.AssetImage($name, _null, _null)), frameBuilder, _null, width, height, B.FilterQuality_1, fit, false, _null); }, Image$memory(bytes, frameBuilder, height, width) { var _null = null; return new A.Image(A.ResizeImage_resizeIfNeeded(_null, _null, new A.MemoryImage(bytes, 1)), frameBuilder, _null, width, height, B.FilterQuality_1, _null, false, _null); }, precacheImage_closure: function precacheImage_closure(t0, t1, t2) { this._box_0 = t0; this.completer = t1; this.stream = t2; }, precacheImage__closure: function precacheImage__closure(t0, t1) { this._box_0 = t0; this.stream = t1; }, precacheImage_closure0: function precacheImage_closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.completer = t1; _.stream = t2; _.onError = t3; }, Image: function Image(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.image = t0; _.frameBuilder = t1; _.errorBuilder = t2; _.width = t3; _.height = t4; _.filterQuality = t5; _.fit = t6; _.gaplessPlayback = t7; _.key = t8; }, _ImageState: function _ImageState(t0) { var _ = this; _._loadingProgress = _._imageInfo = _._imageStream = null; _._isListeningToStream = false; _.___ImageState__invertColors = $; _._frameNumber = null; _._wasSynchronouslyLoaded = false; _.___ImageState__scrollAwareContext = $; _._widget = _._imageStreamListener = _._completerHandle = _._lastStack = _._lastException = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ImageState__getListener_closure: function _ImageState__getListener_closure(t0) { this.$this = t0; }, _ImageState__getListener__closure: function _ImageState__getListener__closure(t0, t1, t2) { this.$this = t0; this.error = t1; this.stackTrace = t2; }, _ImageState__handleImageFrame_closure: function _ImageState__handleImageFrame_closure(t0, t1, t2) { this.$this = t0; this.imageInfo = t1; this.synchronousCall = t2; }, _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, foregroundDecoration, height, 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 = constraints == null ? _null : constraints.tighten$2$height$width(height, width); if (t2 == null) t2 = A.BoxConstraints$tightFor(height, width); } else t2 = constraints; return new A.AnimatedContainer(child, alignment, padding, t1, foregroundDecoration, t2, curve, duration, _null, _null); }, AnimatedPadding$(child, curve, duration, padding) { return new A.AnimatedPadding(padding, child, curve, duration, null, null); }, AnimatedOpacity$(alwaysIncludeSemantics, child, curve, duration, opacity) { return new A.AnimatedOpacity(child, opacity, alwaysIncludeSemantics, 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; }, 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; _.foregroundDecoration = t4; _.constraints = t5; _.curve = t6; _.duration = t7; _.onEnd = t8; _.key = t9; }, _AnimatedContainerState: function _AnimatedContainerState(t0, t1) { var _ = this; _._transformAlignment = _._implicit_animations$_transform = _._margin = _._implicit_animations$_constraints = _._foregroundDecoration = _._implicit_animations$_decoration = _._implicit_animations$_padding = _._implicit_animations$_alignment = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _._implicit_animations$_padding = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _AnimatedPaddingState_forEachTween_closure: function _AnimatedPaddingState_forEachTween_closure() { }, AnimatedOpacity: function AnimatedOpacity(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.child = t0; _.opacity = t1; _.alwaysIncludeSemantics = t2; _.curve = t3; _.duration = t4; _.onEnd = t5; _.key = t6; }, _AnimatedOpacityState: function _AnimatedOpacityState(t0, t1) { var _ = this; _._implicit_animations$_opacity = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = _.___AnimatedOpacityState__opacityAnimation = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _._implicit_animations$_style = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _._implicit_animations$_shadowColor = _._implicit_animations$_color = _._implicit_animations$_elevation = _._borderRadius = null; _.__ImplicitlyAnimatedWidgetState__animation = _.__ImplicitlyAnimatedWidgetState__controller = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._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: function InheritedModel() { }, InheritedModelElement: function InheritedModelElement(t0, t1, t2, t3, t4, t5) { var _ = this; _._dependents = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t5; }, InheritedNotifier: function InheritedNotifier() { }, _InheritedNotifierElement: function _InheritedNotifierElement(t0, t1, t2, t3, t4, t5) { var _ = this; _._inherited_notifier$_dirty = false; _._dependents = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t5; }, InheritedTheme_capture(from, to) { var themes; if (from === 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; }, _debugReportException0(context, exception, stack, informationCollector) { var details = new A.FlutterErrorDetails(exception, stack, "widgets library", context, informationCollector, false); A.FlutterError_reportError(details); return details; }, ConstrainedLayoutBuilder: function ConstrainedLayoutBuilder() { }, _LayoutBuilderElement: function _LayoutBuilderElement(t0, t1, t2, t3, t4) { var _ = this; _._renderObject = _._layout_builder$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t4; }, _LayoutBuilderElement__layout_layoutCallback: function _LayoutBuilderElement__layout_layoutCallback(t0, t1) { this.$this = t0; this.constraints = t1; }, _LayoutBuilderElement__layout_layoutCallback_closure: function _LayoutBuilderElement__layout_layoutCallback_closure(t0) { this.$this = t0; }, _LayoutBuilderElement__layout_layoutCallback_closure0: function _LayoutBuilderElement__layout_layoutCallback_closure0(t0) { this.$this = t0; }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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<@>>")), false, t2).then$1$1(0, new A._loadAll_closure1(_box_1, output), type$.Map_Type_dynamic); }, 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; }, MediaQueryData$(accessibleNavigation, alwaysUse24HourFormat, boldText, devicePixelRatio, disableAnimations, gestureSettings, highContrast, invertColors, navigationMode, padding, platformBrightness, size, systemGestureInsets, textScaleFactor, viewInsets, viewPadding) { return new A.MediaQueryData(size, devicePixelRatio, textScaleFactor, platformBrightness, viewInsets, padding, viewPadding, systemGestureInsets, false, accessibleNavigation, invertColors, highContrast, disableAnimations, boldText, navigationMode, gestureSettings); }, MediaQueryData$fromWindow($window) { var t3, t4, t5, t6, t7, t1 = $window.get$physicalSize(), t2 = $window._debugDevicePixelRatio; t1 = t1.$div(0, t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t2 = $window._debugDevicePixelRatio; if (t2 == null) t2 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t3 = $window.platformDispatcher._configuration; $window.get$viewConfiguration(); t4 = $window._debugDevicePixelRatio; t4 = A.EdgeInsets$fromWindowPadding(B.WindowPadding_0_0_0_0, t4 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t4); $window.get$viewConfiguration(); t5 = $window._debugDevicePixelRatio; t5 = A.EdgeInsets$fromWindowPadding(B.WindowPadding_0_0_0_0, t5 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t5); t6 = $window._viewInsets; t7 = $window._debugDevicePixelRatio; t6 = A.EdgeInsets$fromWindowPadding(t6, t7 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t7); $window.get$viewConfiguration(); t7 = $window._debugDevicePixelRatio; t7 = A.EdgeInsets$fromWindowPadding(B.WindowPadding_0_0_0_0, t7 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t7); $window.get$viewConfiguration(); return new A.MediaQueryData(t1, t2, t3.textScaleFactor, t3.platformBrightness, t6, t4, t5, t7, false, false, false, false, false, false, B.NavigationMode_0, new A.DeviceGestureSettings(null)); }, MediaQuery_MediaQuery$removePadding(child, context, removeBottom, removeLeft, removeRight, removeTop) { return new A.MediaQuery(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.removePadding$4$removeBottom$removeLeft$removeRight$removeTop(removeBottom, removeLeft, removeRight, removeTop), child, null); }, MediaQuery_maybeOf(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery); return t1 == null ? null : t1.data; }, MediaQuery_textScaleFactorOf(context) { var t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; return t1 == null ? 1 : t1; }, MediaQuery_boldTextOverride(context) { var t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.boldText; return t1 === true; }, Orientation: function Orientation(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) { var _ = this; _.size = t0; _.devicePixelRatio = t1; _.textScaleFactor = t2; _.platformBrightness = t3; _.viewInsets = t4; _.padding = t5; _.viewPadding = t6; _.systemGestureInsets = t7; _.alwaysUse24HourFormat = t8; _.accessibleNavigation = t9; _.invertColors = t10; _.highContrast = t11; _.disableAnimations = t12; _.boldText = t13; _.navigationMode = t14; _.gestureSettings = t15; }, MediaQuery: function MediaQuery(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, NavigationMode: function NavigationMode(t0, t1) { this.index = t0; this._core$_name = t1; }, _MediaQueryFromWindow: function _MediaQueryFromWindow(t0, t1) { this.child = t0; this.key = t1; }, _MediaQueryFromWindowState: function _MediaQueryFromWindowState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _MediaQueryFromWindowState_didChangeMetrics_closure: function _MediaQueryFromWindowState_didChangeMetrics_closure() { }, _MediaQueryFromWindowState_didChangePlatformBrightness_closure: function _MediaQueryFromWindowState_didChangePlatformBrightness_closure() { }, __MediaQueryFromWindowState_State_WidgetsBindingObserver: function __MediaQueryFromWindowState_State_WidgetsBindingObserver() { }, ModalBarrier: function ModalBarrier(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.dismissible = t1; _.barrierSemanticsDismissible = t2; _.semanticsLabel = t3; _.key = t4; }, ModalBarrier_build_handleDismiss: function ModalBarrier_build_handleDismiss(t0) { this.context = t0; }, ModalBarrier_build_closure: function ModalBarrier_build_closure(t0, t1) { this.$this = t0; this.handleDismiss = 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) { 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; _._supportedDevices = t6; _._pointerToKind = t7; }, _ModalBarrierSemanticsDelegate: function _ModalBarrierSemanticsDelegate(t0) { this.onDismiss = t0; }, _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_pushReplacement(context, newRoute) { return A.Navigator_of(context, false).pushReplacement$2$result(newRoute, null); }, Navigator_pushAndRemoveUntil(context, newRoute, predicate) { A.Navigator_of(context, false)._pushEntryAndRemoveUntil$2(A._RouteEntry$(newRoute, B._RouteLifecycle_3, null), predicate); return newRoute._popCompleter.future; }, Navigator_maybePop(context) { return A.Navigator_of(context, false).maybePop$1(null); }, Navigator_of(context, rootNavigator) { var navigator0, t1, $navigator = context instanceof A.StatefulElement && context.get$state(context) instanceof A.NavigatorState ? type$.NavigatorState._as(context.get$state(context)) : 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_defaultGenerateInitialRoutes($navigator, initialRouteName) { var t1, routeParts, t2, _i, t3, routeName, _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) B.JSArray_methods.set$length(result, 0); } 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, restorationInformation) { var t1 = $.$get$_RouteEntry_notAnnounced(); return new A._RouteEntry(route, restorationInformation, initialState, t1, t1, t1); }, _RouteEntry_isPresentPredicate(entry) { return entry.get$isPresent(); }, _RouteEntry_suitableForTransitionAnimationPredicate(entry) { var t1 = entry.currentState.index; return t1 <= 9 && t1 >= 3; }, _RouteEntry_willBePresentPredicate(entry) { var t1 = entry.currentState.index; return t1 <= 7 && t1 >= 1; }, _RouteEntry_isRoutePredicate(route) { return new A._RouteEntry_isRoutePredicate_closure(route); }, _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_MYz[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; }, Route_isCurrent_closure: function Route_isCurrent_closure() { }, Route_isCurrent_closure0: function Route_isCurrent_closure0() { }, Route_isFirst_closure: function Route_isFirst_closure() { }, Route_isFirst_closure0: function Route_isFirst_closure0() { }, Route_isActive_closure: function Route_isActive_closure(t0) { this.$this = t0; }, Route_isActive_closure0: function Route_isActive_closure0() { }, 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) { var _ = this; _.initialRoute = t0; _.onGenerateRoute = t1; _.onUnknownRoute = t2; _.observers = t3; _.restorationScopeId = t4; _.onGenerateInitialRoutes = t5; _.reportsRouteUpdateToEngine = t6; _.key = t7; }, 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) { var _ = this; _._navigator$_navigator = null; _._settings = t0; _._restorationScopeId = t1; _._popCompleter = t2; }, _RouteEntry: function _RouteEntry(t0, t1, t2, t3, t4, t5) { var _ = this; _.route = t0; _.restorationInformation = t1; _.currentState = t2; _.lastAnnouncedPreviousRoute = t3; _.lastAnnouncedPoppedNextRoute = t4; _.lastAnnouncedNextRoute = t5; _.doingPop = false; _._reportRemovalToObserver = true; _._isWaitingForExitingDecision = false; }, _RouteEntry_handlePush_closure: function _RouteEntry_handlePush_closure(t0, t1) { this.$this = t0; this.navigator = t1; }, _RouteEntry_dispose_closure: function _RouteEntry_dispose_closure() { }, _RouteEntry_dispose_closure0: function _RouteEntry_dispose_closure0(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.entry = t2; _.listener = t3; }, _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; }, NavigatorState: function NavigatorState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.__NavigatorState__overlayKey = $; _._history = t0; _._serializableHistory = t1; _._observedRouteAdditions = t2; _._observedRouteDeletions = t3; _.focusScopeNode = t4; _._debugLocked = false; _._heroControllerFromScope = null; _.__NavigatorState__effectiveObservers = $; _._rawNextPagelessRestorationScopeId = t5; _._lastAnnouncedRouteName = null; _._debugUpdatingPage = false; _._userGesturesInProgressCount = 0; _.userGestureInProgressNotifier = t6; _._activePointers = t7; _.RestorationMixin__bucket = t8; _.RestorationMixin__properties = t9; _.RestorationMixin__debugPropertiesWaitingForReregistration = t10; _.RestorationMixin__firstRestorePending = t11; _.RestorationMixin__currentParent = t12; _.TickerProviderStateMixin__tickers = t13; _._widget = null; _._debugLifecycleState = t14; _._framework$_element = null; }, NavigatorState_restoreState_closure: function NavigatorState_restoreState_closure(t0) { this.$this = t0; }, NavigatorState__flushHistoryUpdates_closure: function NavigatorState__flushHistoryUpdates_closure() { }, NavigatorState__flushHistoryUpdates_closure0: function NavigatorState__flushHistoryUpdates_closure0() { }, NavigatorState__afterNavigation_closure: function NavigatorState__afterNavigation_closure() { }, NavigatorState_maybePop_closure: function NavigatorState_maybePop_closure() { }, NavigatorState_maybePop_closure0: function NavigatorState_maybePop_closure0() { }, NavigatorState_maybePop_closure1: function NavigatorState_maybePop_closure1() { }, NavigatorState_maybePop_closure2: function NavigatorState_maybePop_closure2() { }, NavigatorState_removeRoute_closure: function NavigatorState_removeRoute_closure() { }, NavigatorState_removeRoute_closure0: function NavigatorState_removeRoute_closure0() { }, NavigatorState__cancelActivePointers_closure: function NavigatorState__cancelActivePointers_closure(t0) { this.absorber = t0; }, _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() { }, _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() { }, Notification0: function Notification0() { }, NotificationListener: function NotificationListener(t0, t1, t2, t3) { var _ = this; _.child = t0; _.onNotification = t1; _.key = t2; _.$ti = t3; }, LayoutChangedNotification: function LayoutChangedNotification() { }, 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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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$0(builder, maintainState) { return new A.OverlayEntry0(builder, maintainState, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey__OverlayEntryWidgetState), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, OverlayEntry0: function OverlayEntry0(t0, t1, t2, t3) { var _ = this; _.builder = t0; _._opaque = false; _._maintainState = t1; _._mounted = false; _._overlay = null; _._overlay0$_key = t2; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t3; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, OverlayEntry_remove_closure: function OverlayEntry_remove_closure(t0) { this.overlay = t0; }, _OverlayEntryWidget0: function _OverlayEntryWidget0(t0, t1, t2) { this.entry = t0; this.tickerEnabled = t1; this.key = t2; }, _OverlayEntryWidgetState0: function _OverlayEntryWidgetState0(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _OverlayEntryWidgetState__markNeedsBuild_closure: function _OverlayEntryWidgetState__markNeedsBuild_closure() { }, Overlay0: function Overlay0(t0, t1) { this.initialEntries = t0; this.key = t1; }, OverlayState0: function OverlayState0(t0, t1, t2) { var _ = this; _._overlay0$_entries = t0; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._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() { }, _Theatre0: function _Theatre0(t0, t1, t2, t3) { var _ = this; _.skipCount = t0; _.clipBehavior = t1; _.children = t2; _.key = t3; }, _TheatreElement0: function _TheatreElement0(t0, t1, t2, t3, t4) { var _ = this; _.__MultiChildRenderObjectElement__children = $; _._forgottenChildren = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _RenderTheatre0: function _RenderTheatre0(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._overlay0$_hasVisualOverflow = false; _._overlay0$_resolvedAlignment = null; _._overlay0$_textDirection = t0; _._overlay0$_skipCount = t1; _._overlay0$_clipBehavior = t2; _._overlay0$_clipRectLayer = t3; _.ContainerRenderObjectMixin__childCount = t4; _.ContainerRenderObjectMixin__firstChild = t5; _.ContainerRenderObjectMixin__lastChild = t6; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t7; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderTheatre_computeMinIntrinsicWidth_closure: function _RenderTheatre_computeMinIntrinsicWidth_closure(t0) { this.height = t0; }, _RenderTheatre_computeMaxIntrinsicWidth_closure: function _RenderTheatre_computeMaxIntrinsicWidth_closure(t0) { this.height = t0; }, _RenderTheatre_computeMinIntrinsicHeight_closure: function _RenderTheatre_computeMinIntrinsicHeight_closure(t0) { this.width = t0; }, _RenderTheatre_computeMaxIntrinsicHeight_closure: function _RenderTheatre_computeMaxIntrinsicHeight_closure(t0) { this.width = t0; }, _RenderTheatre_hitTestChildren_closure0: function _RenderTheatre_hitTestChildren_closure0(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.childParentData = t2; }, _OverlayState_State_TickerProviderStateMixin: function _OverlayState_State_TickerProviderStateMixin() { }, __RenderTheatre_RenderBox_ContainerRenderObjectMixin: function __RenderTheatre_RenderBox_ContainerRenderObjectMixin() { }, _GlowController$(axis, color, vsync) { var decelerator, _null = null, _s15_ = "_glowController", 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, 0.5, 0.5, color, axis, A.List_List$filled(0, _null, false, type$.nullable_void_Function)), t5 = A.AnimationController$(_null, _null, _null, 1, _null, vsync); t5.addStatusListener$1(t4.get$_changePhase()); A._lateWriteOnceCheck(t4.___GlowController__glowController, _s15_); t4.___GlowController__glowController = t5; decelerator = A.CurvedAnimation$(B.C__DecelerateCurve, A._lateReadCheck(t5, _s15_), _null); decelerator.parent.addListener$1(0, t4.get$notifyListeners()); type$.Animation_double._as(decelerator); A._lateWriteOnceCheck(t4.___GlowController__glowOpacity, "_glowOpacity"); t4.___GlowController__glowOpacity = new A._AnimatedEvaluation(decelerator, t2, t1._eval$1("_AnimatedEvaluation<Animatable.T>")); A._lateWriteOnceCheck(t4.___GlowController__glowSize, "_glowSize"); t4.___GlowController__glowSize = new A._AnimatedEvaluation(decelerator, t3, t1._eval$1("_AnimatedEvaluation<Animatable.T>")); t1 = vsync.createTicker$1(t4.get$_tickDisplacement()); A._lateWriteOnceCheck(t4.___GlowController__displacementTicker, "_displacementTicker"); t4.___GlowController__displacementTicker = 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) { var _ = this; _._lastNotificationType = _._leadingAndTrailingListener = _._trailingController = _._leadingController = null; _._accepted = t0; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _GlowState: function _GlowState(t0, t1) { this.index = t0; this._core$_name = t1; }, _GlowController: function _GlowController(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._overscroll_indicator$_state = t0; _.___GlowController__glowController = $; _._pullRecedeTimer = null; _._paintOffsetScrollPixels = _._overscroll_indicator$_paintOffset = 0; _._glowOpacityTween = t1; _.___GlowController__glowOpacity = $; _._glowSizeTween = t2; _.___GlowController__displacementTicker = _.___GlowController__glowSize = $; _._displacementTickerLastElapsed = null; _._displacementTarget = t3; _._displacement = t4; _._pullDistance = 0; _._overscroll_indicator$_color = t5; _._axis = t6; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t7; _.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; }, StretchingOverscrollIndicator: function StretchingOverscrollIndicator(t0, t1, t2) { this.axisDirection = t0; this.child = t1; this.key = t2; }, _StretchingOverscrollIndicatorState: function _StretchingOverscrollIndicatorState(t0, t1) { var _ = this; _.___StretchingOverscrollIndicatorState__stretchController = $; _._lastOverscrollNotification = _._lastNotification = null; _._accepted = true; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._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) { var _ = this; _.___StretchController__stretchSize = _.___StretchController__stretchController = $; _._stretchSizeTween = t0; _._overscroll_indicator$_state = t1; _.ChangeNotifier__count = _._pullDistance = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, OverscrollIndicatorNotification: function OverscrollIndicatorNotification(t0, t1) { this.leading = t0; 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(); widget.get$key(widget); return !(widget instanceof A.PageStorage); }, PageStorage_of(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, A._setArrayType([], type$.JSArray_ScrollPosition), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, PageView$builder(allowImplicitScrolling, controller, itemBuilder, itemCount, key, onPageChanged, physics, reverse, scrollDirection) { return new A.PageView(false, scrollDirection, false, controller, physics, onPageChanged, A.SliverChildBuilderDelegate$(itemBuilder, true, true, true, itemCount), B.DragStartBehavior_1, key); }, PageController: function PageController(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.initialPage = t0; _.viewportFraction = t1; _._initialScrollOffset = t2; _.keepScrollOffset = t3; _.debugLabel = t4; _._positions = t5; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t6; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, PageMetrics: function PageMetrics(t0, t1, t2, t3, t4, t5) { var _ = this; _.viewportFraction = t0; _._minScrollExtent = t1; _._maxScrollExtent = t2; _._scroll_metrics$_pixels = t3; _._scroll_metrics$_viewportDimension = t4; _.axisDirection = t5; }, _PagePosition: function _PagePosition(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _._pageToUseOnStartup = t0; _._cachedPage = null; _._viewportFraction = t1; _._heldPreviousVelocity = 0; _._userScrollDirection = t2; _._currentDrag = null; _.physics = t3; _.context = t4; _.keepScrollOffset = t5; _.debugLabel = t6; _._scroll_position$_maxScrollExtent = _._scroll_position$_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, t7, t8) { var _ = this; _.allowImplicitScrolling = t0; _.scrollDirection = t1; _.reverse = t2; _.controller = t3; _.physics = t4; _.onPageChanged = t5; _.childrenDelegate = t6; _.dragStartBehavior = t7; _.key = t8; }, _PageViewState: function _PageViewState(t0) { var _ = this; _._lastReportedPage = 0; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _PageViewState_build_closure0: function _PageViewState_build_closure0(t0) { this.$this = t0; }, _PageViewState_build_closure: function _PageViewState_build_closure(t0, t1) { this.$this = t0; this.axisDirection = t1; }, _defaultTransitionsBuilder(context, animation, secondaryAnimation, child) { return child; }, PageRoute: function PageRoute() { }, PageRouteBuilder: function PageRouteBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.pageBuilder = t0; _.fullscreenDialog = t1; _.filter = t2; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t3; _._scopeKey = t4; _._subtreeKey = t5; _._storageBucket = t6; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t7; _._transitionCompleter = t8; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t9; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t10; _._navigator$_navigator = null; _._settings = t11; _._restorationScopeId = t12; _._popCompleter = t13; _.$ti = t14; }, PerformanceOverlay: function PerformanceOverlay(t0, t1, t2, t3) { var _ = this; _.optionsMask = t0; _.checkerboardRasterCacheImages = t1; _.checkerboardOffscreenLayers = t2; _.key = t3; }, HtmlElementView: function HtmlElementView(t0, t1, t2) { this.viewType = t0; this.onPlatformViewCreated = t1; this.key = t2; }, HtmlElementView_build_closure: function HtmlElementView_build_closure() { }, HtmlElementView__createHtmlElementView_closure: function HtmlElementView__createHtmlElementView_closure(t0, t1) { this.$this = t0; this.params = t1; }, _HtmlElementViewController: function _HtmlElementViewController(t0, t1) { this.viewId = t0; this.viewType = t1; this._initialized = false; }, 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 = _._surface = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _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; }, PrimaryScrollController$(child, controller) { return new A.PrimaryScrollController(controller, child, null); }, PrimaryScrollController$none(child) { return new A.PrimaryScrollController(null, child, null); }, PrimaryScrollController_of(context) { var result = context.dependOnInheritedWidgetOfExactType$1$0(type$.PrimaryScrollController); return result == null ? null : result.controller; }, PrimaryScrollController: function PrimaryScrollController(t0, t1, t2) { this.controller = t0; this.child = t1; this.key = t2; }, RawKeyboardListener: function RawKeyboardListener(t0, t1, t2, t3, t4) { var _ = this; _.focusNode = t0; _.autofocus = t1; _.onKey = t2; _.child = t3; _.key = t4; }, _RawKeyboardListenerState: function _RawKeyboardListenerState(t0) { var _ = this; _._listening = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, RestorationScope_of(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() { }, RestorableBool$(defaultValue) { return new A.RestorableBool(false, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, 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; }, RestorableDateTime: function RestorableDateTime(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; }, RouteInformation: function RouteInformation(t0, t1) { this.location = t0; this.state = t1; }, RouteInformationProvider: function RouteInformationProvider() { }, PlatformRouteInformationProvider: function PlatformRouteInformationProvider(t0, t1, t2) { var _ = this; _._router$_value = t0; _._valueInEngine = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, _PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver: function _PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver() { }, _PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver_ChangeNotifier: function _PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver_ChangeNotifier() { }, 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) { this.onRemove = t0; this._routes$_owner = null; }, LocalHistoryRoute: function LocalHistoryRoute() { }, LocalHistoryRoute_removeLocalHistoryEntry_closure: function LocalHistoryRoute_removeLocalHistoryEntry_closure(t0) { this.$this = t0; }, _DismissModalAction: function _DismissModalAction(t0, t1) { this.context = t0; this._listeners = t1; }, _ModalScopeStatus: function _ModalScopeStatus(t0, t1, t2, t3, t4) { var _ = this; _.isCurrent = t0; _.canPop = t1; _.route = t2; _.child = t3; _.key = t4; }, _ModalScope: function _ModalScope(t0, t1, t2) { this.route = t0; this.key = t1; this.$ti = t2; }, _ModalScopeState: function _ModalScopeState(t0, t1, t2, t3) { var _ = this; _._page = null; _.___ModalScopeState__listenable = $; _.focusScopeNode = t0; _.primaryScrollController = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; _.$ti = t3; }, _ModalScopeState__forceRebuildPage_closure: function _ModalScopeState__forceRebuildPage_closure(t0) { this.$this = t0; }, _ModalScopeState_build_closure: function _ModalScopeState_build_closure(t0) { this.$this = t0; }, _ModalScopeState_build_closure0: function _ModalScopeState_build_closure0(t0) { this.$this = t0; }, _ModalScopeState_build__closure0: function _ModalScopeState_build__closure0(t0) { this.$this = t0; }, _ModalScopeState_build___closure: function _ModalScopeState_build___closure(t0) { this.$this = t0; }, _ModalScopeState_build__closure: function _ModalScopeState_build__closure(t0) { this.$this = t0; }, ModalRoute: function ModalRoute() { }, ModalRoute_offstage_closure: function ModalRoute_offstage_closure(t0, t1) { this.$this = t0; this.value = t1; }, ModalRoute_changedInternalState_closure: function ModalRoute_changedInternalState_closure() { }, PopupRoute: function PopupRoute() { }, RawDialogRoute: function RawDialogRoute() { }, FocusTrap: function FocusTrap(t0, t1, t2) { this.focusScopeNode = t0; this.child = t1; this.key = t2; }, FocusTrapArea: function FocusTrapArea(t0, t1, t2) { this.focusNode = t0; this.child = t1; this.key = t2; }, _RenderFocusTrapArea: function _RenderFocusTrapArea(t0, t1, t2) { var _ = this; _.focusNode = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderFocusTrap: function _RenderFocusTrap(t0, t1, t2, t3, t4) { var _ = this; _.cachedResults = t0; _._focusScopeNode = t1; _.behavior = t2; _.RenderObjectWithChildMixin__child = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _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._scroll_activity$_delegate = t0; }, HoldScrollActivity: function HoldScrollActivity(t0, t1) { this.onHoldCanceled = t0; this._scroll_activity$_delegate = t1; }, ScrollDragController: function ScrollDragController(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._scroll_activity$_delegate = t0; _.onDragCanceled = t1; _.carriedVelocity = t2; _.motionStartDistanceThreshold = t3; _._lastNonStationaryTimestamp = t4; _._retainMomentum = t5; _._offsetSinceLastStop = t6; _._lastDetails = t7; }, DragScrollActivity: function DragScrollActivity(t0, t1) { this._scroll_activity$_controller = t0; this._scroll_activity$_delegate = t1; }, BallisticScrollActivity: function BallisticScrollActivity(t0) { this.__BallisticScrollActivity__controller = $; this._scroll_activity$_delegate = t0; }, DrivenScrollActivity: function DrivenScrollActivity(t0) { this.__DrivenScrollActivity__controller = this.__DrivenScrollActivity__completer = $; this._scroll_activity$_delegate = t0; }, 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() { }, _WrappedScrollBehavior: function _WrappedScrollBehavior(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.delegate = t0; _.scrollbars = t1; _.overscroll = t2; _.physics = t3; _.platform = t4; _._dragDevices = t5; _._androidOverscrollIndicator = t6; }, ScrollConfiguration: function ScrollConfiguration(t0, t1, t2) { this.behavior = t0; this.child = t1; this.key = t2; }, ScrollController$(debugLabel, initialScrollOffset, keepScrollOffset) { return new A.ScrollController(initialScrollOffset, true, debugLabel, A._setArrayType([], type$.JSArray_ScrollPosition), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, ScrollController: function ScrollController(t0, t1, t2, t3, t4) { var _ = this; _._initialScrollOffset = t0; _.keepScrollOffset = t1; _.debugLabel = t2; _._positions = t3; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t4; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, ScrollMetrics: function ScrollMetrics() { }, FixedScrollMetrics: function FixedScrollMetrics(t0, t1, t2, t3, t4) { var _ = this; _._minScrollExtent = t0; _._maxScrollExtent = t1; _._scroll_metrics$_pixels = t2; _._scroll_metrics$_viewportDimension = t3; _.axisDirection = t4; }, _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() { }, 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; _._collection$_previous = _._collection$_next = _._collection$_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; }, 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; }, ScrollPhysics: function ScrollPhysics(t0) { this.parent = t0; }, RangeMaintainingScrollPhysics: function RangeMaintainingScrollPhysics(t0) { this.parent = t0; }, BouncingScrollPhysics: function BouncingScrollPhysics(t0) { this.parent = t0; }, 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 = type$.nullable_void_Function; t1 = new A.ScrollPositionWithSingleContext(B.ScrollDirection_0, physics, context, true, debugLabel, new A.ValueNotifier(false, A.List_List$filled(0, null, false, t1), type$.ValueNotifier_bool), A.List_List$filled(0, null, false, 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; _._scroll_position$_maxScrollExtent = _._scroll_position$_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; }, BouncingScrollSimulation: function BouncingScrollSimulation(t0, t1, t2, t3) { var _ = this; _.leadingExtent = t0; _.trailingExtent = t1; _.spring = t2; _.__BouncingScrollSimulation__springTime = _.__BouncingScrollSimulation__springSimulation = _.__BouncingScrollSimulation__frictionSimulation = $; _._timeOffset = 0; _.tolerance = t3; }, ClampingScrollSimulation: function ClampingScrollSimulation(t0, t1, t2) { var _ = this; _.position = t0; _.velocity = t1; _.__ClampingScrollSimulation__distance = _.__ClampingScrollSimulation__duration = $; _.tolerance = t2; }, CustomScrollView$(scrollDirection, shrinkWrap, slivers) { var _null = null, t1 = scrollDirection === B.Axis_1, t2 = scrollDirection === B.Axis_1; t2 = t2 ? B.AlwaysScrollableScrollPhysics_null : _null; return new A.CustomScrollView(slivers, scrollDirection, false, _null, t1, t2, _null, shrinkWrap, _null, 0, _null, _null, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, ListView$(addAutomaticKeepAlives, addRepaintBoundaries, children, controller, key, padding, physics, scrollDirection, shrinkWrap) { var t4, _null = null, t1 = A.SliverChildListDelegate$(children, addAutomaticKeepAlives, addRepaintBoundaries, true), t2 = children.length, t3 = controller == null && scrollDirection === B.Axis_1; if (physics == null) { t4 = controller == null && scrollDirection === B.Axis_1; t4 = t4 ? B.AlwaysScrollableScrollPhysics_null : _null; } else t4 = physics; return new A.ListView(_null, t1, padding, scrollDirection, false, controller, t3, t4, _null, shrinkWrap, _null, 0, _null, t2, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, key); }, ListView$builder(controller, itemBuilder, itemCount, itemExtent, padding, physics, scrollDirection, shrinkWrap) { var t3, _null = null, t1 = A.SliverChildBuilderDelegate$(itemBuilder, true, true, true, itemCount), t2 = controller == null && scrollDirection === B.Axis_1; if (physics == null) { t3 = controller == null && scrollDirection === B.Axis_1; t3 = t3 ? B.AlwaysScrollableScrollPhysics_null : _null; } else t3 = physics; return new A.ListView(itemExtent, t1, padding, scrollDirection, false, controller, t2, t3, _null, shrinkWrap, _null, 0, _null, itemCount, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, GridView$builder(controller, dragStartBehavior, gridDelegate, itemBuilder, itemCount, padding) { var _null = null, t1 = A.SliverChildBuilderDelegate$(itemBuilder, true, true, true, itemCount), t2 = controller == null && true, t3 = controller == null && true; t3 = t3 ? B.AlwaysScrollableScrollPhysics_null : _null; return new A.GridView(gridDelegate, t1, padding, B.Axis_1, false, controller, t2, t3, _null, false, _null, 0, _null, itemCount, dragStartBehavior, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); }, GridView$count(childAspectRatio, children, controller, crossAxisCount, crossAxisSpacing, mainAxisSpacing, padding, physics, shrinkWrap) { var t4, _null = null, t1 = A.SliverChildListDelegate$(children, true, true, true), t2 = children.length, t3 = controller == null && true; if (physics == null) { t4 = controller == null && true; t4 = t4 ? B.AlwaysScrollableScrollPhysics_null : _null; } else t4 = physics; return new A.GridView(new A.SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount, mainAxisSpacing, crossAxisSpacing, childAspectRatio), t1, padding, B.Axis_1, false, controller, t3, t4, _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, t18) { var _ = this; _.itemExtent = 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; }, 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, controller, dragStartBehavior, excludeFromSemantics, physics, restorationId, scrollBehavior, semanticChildCount, viewportBuilder) { return new A.Scrollable(axisDirection, controller, physics, viewportBuilder, excludeFromSemantics, semanticChildCount, dragStartBehavior, restorationId, scrollBehavior, null); }, Scrollable_of(context) { var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$._ScrollableScope); return widget == null ? null : widget.scrollable; }, Scrollable_recommendDeferredLoadingForContext(context) { var t1 = context.getElementForInheritedWidgetOfExactType$1$0(type$._ScrollableScope); t1 = t1 == null ? null : t1.get$widget(); type$.nullable__ScrollableScope._as(t1); if (t1 == null) return false; t1 = t1.position; return t1.physics.recommendDeferredLoading$3(t1._activity.get$velocity() + t1._impliedVelocity, t1.copyWith$0(), context); }, Scrollable_ensureVisible(context, alignment, alignmentPolicy) { var t1, targetRenderObject, t2, t3, widget, futures = A._setArrayType([], type$.JSArray_Future_void), scrollable = A.Scrollable_of(context); for (t1 = type$._ScrollableScope, targetRenderObject = null; scrollable != null;) { t2 = scrollable._scrollable$_position; t2.toString; t3 = context.get$renderObject(); t3.toString; futures.push(t2.ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(t3, alignment, alignmentPolicy, B.Cubic_JUR0, B.Duration_0, targetRenderObject)); if (targetRenderObject == null) targetRenderObject = context.get$renderObject(); context = scrollable._framework$_element; widget = context.dependOnInheritedWidgetOfExactType$1$0(t1); scrollable = widget == null ? null : widget.scrollable; } t1 = futures.length; if (t1 !== 0) t2 = 0 === 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, false, t1).then$1$1(0, new A.Scrollable_ensureVisible_closure(), t1); }, _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) { var _ = this; _.axisDirection = t0; _.controller = t1; _.physics = t2; _.viewportBuilder = t3; _.excludeFromSemantics = t4; _.semanticChildCount = t5; _.dragStartBehavior = t6; _.restorationId = t7; _.scrollBehavior = t8; _.key = t9; }, 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) { var _ = this; _._scrollable$_position = null; _._persistedScrollOffset = t0; _.__ScrollableState__configuration = $; _._fallbackScrollController = _._physics = 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; _._widget = null; _._debugLifecycleState = t11; _._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; }, ScrollableDetails: function ScrollableDetails(t0, t1) { this.direction = t0; this.controller = t1; }, _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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, 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._listeners = t0; }, _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() { }, RawScrollbar$(child, controller, fadeDuration, interactive, isAlwaysShown, key, notificationPredicate, pressDuration, radius, scrollbarOrientation, thickness, timeToFade) { return new A.RawScrollbar(child, controller, isAlwaysShown, radius, thickness, fadeDuration, timeToFade, pressDuration, notificationPredicate, interactive, scrollbarOrientation, key); }, RawScrollbarState$($T) { return new A.RawScrollbarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), 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) { var _ = this; _._scrollbar$_color = t0; _._scrollbar$_trackColor = t1; _._scrollbar$_trackBorderColor = t2; _._scrollbar$_textDirection = null; _._thickness = t3; _.fadeoutOpacityAnimation = t4; _._mainAxisMargin = t5; _._crossAxisMargin = t6; _._radius = null; _._scrollbar$_shape = t7; _._scrollbar$_padding = t8; _._minLength = t9; _._minOverscrollLength = t10; _._scrollbarOrientation = t11; _._trackRect = _._thumbRect = _._lastAxisDirection = _._lastMetrics = null; _.__ScrollbarPainter__thumbOffset = $; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t12; _.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) { var _ = this; _.child = t0; _.controller = t1; _.isAlwaysShown = t2; _.radius = t3; _.thickness = t4; _.fadeDuration = t5; _.timeToFade = t6; _.pressDuration = t7; _.notificationPredicate = t8; _.interactive = t9; _.scrollbarOrientation = t10; _.key = t11; }, RawScrollbarState: function RawScrollbarState(t0, t1, t2, t3) { var _ = this; _._fadeoutTimer = _._currentController = _._dragScrollbarAxisOffset = null; _.__RawScrollbarState__fadeoutOpacityAnimation = _.__RawScrollbarState__fadeoutAnimationController = $; _._scrollbarPainterKey = t0; _._hoverIsActive = false; _.__RawScrollbarState_scrollbarPainter = $; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; _.$ti = t3; }, 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) { 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 = _._long_press$_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; _._supportedDevices = t7; _._pointerToKind = t8; }, _TrackTapGestureRecognizer: function _TrackTapGestureRecognizer(t0, t1, t2, t3, t4, t5, t6, t7, t8) { 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; _._supportedDevices = t7; _._pointerToKind = t8; }, _RawScrollbarState_State_TickerProviderStateMixin: function _RawScrollbarState_State_TickerProviderStateMixin() { }, SharedAppData: function SharedAppData(t0, t1) { this.child = t0; this.key = t1; }, _SharedAppDataState: function _SharedAppDataState(t0) { var _ = this; _.___SharedAppDataState_data = $; _._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 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(); t1 = t1._precomputed1; h1 = J.get$hashCode$(t1._as(iterator._collection$_current)); if ($length === 1) return h1; iterator.moveNext$0(); h2 = J.get$hashCode$(t1._as(iterator._collection$_current)); if ($length === 2) return h1 < h2 ? A.hashValues(h1, h2, 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, 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.hashValues(h2, h1, 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, 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); sortedHashes = $length === 3 ? $.KeySet__tempHashStore3 : $.KeySet__tempHashStore4; sortedHashes[0] = h1; sortedHashes[1] = h2; iterator.moveNext$0(); sortedHashes[2] = J.get$hashCode$(t1._as(iterator._collection$_current)); if ($length === 4) { iterator.moveNext$0(); sortedHashes[3] = J.get$hashCode$(t1._as(iterator._collection$_current)); } B.JSArray_methods.sort$0(sortedHashes); return A.hashList(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; }, ShortcutManager$() { return new A.ShortcutManager(B.Map_empty14, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, 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; }, KeySet: function KeySet() { }, LogicalKeySet: function LogicalKeySet(t0) { this.__LogicalKeySet__triggers = $; this._shortcuts$_keys = t0; this.__KeySet_hashCode = $; }, 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) { var _ = this; _.shortcuts = t0; _.child = t1; _.debugLabel = t2; _.key = t3; }, _ShortcutsState: function _ShortcutsState(t0) { var _ = this; _._widget = _._internalManager = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _ShortcutsMarker: function _ShortcutsMarker(t0, t1, t2) { this.notifier = t0; this.child = t1; this.key = t2; }, _LogicalKeySet_KeySet_Diagnosticable: function _LogicalKeySet_KeySet_Diagnosticable() { }, _ShortcutManager_ChangeNotifier_Diagnosticable: function _ShortcutManager_ChangeNotifier_Diagnosticable() { }, _SingleActivator_Object_Diagnosticable: function _SingleActivator_Object_Diagnosticable() { }, __ActivatorIntentPair_Object_Diagnosticable: function __ActivatorIntentPair_Object_Diagnosticable() { }, SingleChildScrollView$(child, controller, dragStartBehavior, key, padding, physics, restorationId, scrollDirection) { var t1 = controller == null && scrollDirection === B.Axis_1; return new A.SingleChildScrollView(scrollDirection, padding, controller, t1, physics, child, dragStartBehavior, restorationId, key); }, SingleChildScrollView: function SingleChildScrollView(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.scrollDirection = t0; _.padding = t1; _.controller = t2; _.primary = t3; _.physics = t4; _.child = t5; _.dragStartBehavior = t6; _.restorationId = t7; _.key = t8; }, 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; }, _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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = 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() { }, _kDefaultSemanticIndexCallback(_, localIndex) { return localIndex; }, SliverChildBuilderDelegate$(builder, addAutomaticKeepAlives, addRepaintBoundaries, addSemanticIndexes, childCount) { return new A.SliverChildBuilderDelegate(builder, childCount, true, true, true); }, SliverChildListDelegate$(children, addAutomaticKeepAlives, addRepaintBoundaries, addSemanticIndexes) { return new A.SliverChildListDelegate(addAutomaticKeepAlives, addRepaintBoundaries, true, children, A.LinkedHashMap_LinkedHashMap$_literal([null, 0], type$.nullable_Key, type$.int)); }, SliverList$(delegate) { return new A.SliverList(delegate, null); }, SliverFixedExtentList$(delegate, itemExtent) { return new A.SliverFixedExtentList(itemExtent, delegate, null); }, SliverMultiBoxAdaptorElement$(widget, replaceMovedChildren) { var t1 = A.SplayTreeMap$(type$.int, type$.nullable_Element), t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; return new A.SliverMultiBoxAdaptorElement(replaceMovedChildren, t1, t2, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); }, 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); }, SliverChildDelegate: function SliverChildDelegate() { }, _SaltedValueKey: function _SaltedValueKey(t0) { this.value = t0; }, SliverChildBuilderDelegate: function SliverChildBuilderDelegate(t0, t1, t2, t3, t4) { var _ = this; _.builder = t0; _.childCount = t1; _.addAutomaticKeepAlives = t2; _.addRepaintBoundaries = t3; _.addSemanticIndexes = t4; }, SliverChildListDelegate: function SliverChildListDelegate(t0, t1, t2, t3, t4) { var _ = this; _.addAutomaticKeepAlives = t0; _.addRepaintBoundaries = t1; _.addSemanticIndexes = t2; _.children = t3; _._keyToIndex = t4; }, SliverWithKeepAliveWidget: function SliverWithKeepAliveWidget() { }, SliverMultiBoxAdaptorWidget: function SliverMultiBoxAdaptorWidget() { }, SliverList: function SliverList(t0, t1) { this.delegate = t0; this.key = t1; }, SliverFixedExtentList: function SliverFixedExtentList(t0, t1, t2) { this.itemExtent = t0; this.delegate = t1; this.key = t2; }, SliverGrid: function SliverGrid(t0, t1, t2) { this.gridDelegate = t0; this.delegate = t1; this.key = t2; }, SliverMultiBoxAdaptorElement: function SliverMultiBoxAdaptorElement(t0, t1, t2, t3, t4, t5) { var _ = this; _._replaceMovedChildren = t0; _._childElements = t1; _._currentlyUpdatingChildIndex = _._currentBeforeChild = null; _._didUnderflow = false; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t2; _._slot = null; _.__Element__depth = $; _._widget = t3; _._owner = null; _._lifecycleState = t4; _._debugForgottenChildrenWithGlobalKey = t5; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, SliverMultiBoxAdaptorElement_performRebuild_processElement: function SliverMultiBoxAdaptorElement_performRebuild_processElement(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.newChildren = t2; _.indexToLayoutOffset = t3; }, 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; }, SliverFillRemaining$(child, hasScrollBody) { return new A.SliverFillRemaining(child, false, null); }, 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; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, SliverFillRemaining: function SliverFillRemaining(t0, t1, t2) { this.child = t0; this.hasScrollBody = t1; this.key = t2; }, _SliverFillRemainingWithoutScrollable: function _SliverFillRemainingWithoutScrollable(t0, t1) { this.child = t0; this.key = t1; }, SliverPersistentHeaderDelegate: function SliverPersistentHeaderDelegate() { }, SliverPersistentHeader: function SliverPersistentHeader(t0, t1, t2) { this.delegate = t0; this.pinned = t1; this.key = t2; }, _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, t3, t4) { var _ = this; _.floating = t0; _._renderObject = _.child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _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 = $; _._needsUpdateChild = true; _._lastShrinkOffset = 0; _._lastOverlapsContent = false; _.stretchConfiguration = t1; _.RenderObjectWithChildMixin__child = t2; _._geometry = null; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, __RenderSliverPinnedPersistentHeaderForWidgets_RenderSliverPinnedPersistentHeader__RenderSliverPersistentHeaderForWidgetsMixin: function __RenderSliverPinnedPersistentHeaderForWidgets_RenderSliverPinnedPersistentHeader__RenderSliverPersistentHeaderForWidgetsMixin() { }, Spacer: function Spacer(t0) { this.key = t0; }, Table$(border, children, columnWidths, defaultColumnWidth, defaultVerticalAlignment) { 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, null); }, TableCell$(child, verticalAlignment) { return new A.TableCell(verticalAlignment, child, null); }, TableRow: function TableRow(t0, t1, t2) { this.key = t0; this.decoration = t1; this.children = t2; }, _TableElementRow: function _TableElementRow(t0, t1) { this.key = t0; this.children = t1; }, Table: function Table(t0, t1, t2, t3, t4, t5, 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, t4, t5) { var _ = this; _._table0$_children = t0; _._doingMountOrUpdate = false; _._table0$_forgottenChildren = t1; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t2; _._slot = null; _.__Element__depth = $; _._widget = t3; _._owner = null; _._lifecycleState = t4; _._debugForgottenChildrenWithGlobalKey = t5; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _TableElement_mount_closure: function _TableElement_mount_closure(t0, t1) { this._box_1 = t0; this.$this = t1; }, _TableElement_mount__closure: function _TableElement_mount__closure(t0, t1, t2) { this._box_0 = t0; this._box_1 = t1; this.$this = t2; }, _TableElement_update_closure: function _TableElement_update_closure() { }, _TableElement_update_closure0: function _TableElement_update_closure0(t0) { this.taken = t0; }, _TableElement__updateRenderObjectChildren_closure: function _TableElement__updateRenderObjectChildren_closure() { }, _TableElement__updateRenderObjectChildren__closure: function _TableElement__updateRenderObjectChildren__closure() { }, _TableElement_visitChildren_closure: function _TableElement_visitChildren_closure() { }, TableCell: function TableCell(t0, t1, t2) { this.verticalAlignment = t0; this.child = t1; this.key = t2; }, _TableSlot: function _TableSlot(t0, t1) { this.column = t0; this.row = t1; }, __TableSlot_Object_Diagnosticable: function __TableSlot_Object_Diagnosticable() { }, DefaultTextStyle$(child, key, maxLines, overflow, softWrap, style, textAlign, textHeightBehavior, textWidthBasis) { return new A.DefaultTextStyle(style, textAlign, softWrap, overflow, maxLines, textWidthBasis, textHeightBehavior, child, key); }, DefaultTextStyle_merge(child, style) { var _null = null; return new A.Builder(new A.DefaultTextStyle_merge_closure(_null, style, _null, _null, _null, _null, _null, child), _null); }, DefaultTextHeightBehavior_of(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextHeightBehavior); return t1 == null ? null : t1.get$textHeightBehavior(t1); }, Text$(data, maxLines, overflow, semanticsLabel, softWrap, style, textAlign, textDirection, textScaleFactor) { return new A.Text(data, null, style, textAlign, textDirection, softWrap, overflow, textScaleFactor, maxLines, semanticsLabel, null); }, Text$rich(textSpan, maxLines, overflow, style, textAlign, textDirection, textScaleFactor) { var _null = null; return new A.Text(_null, textSpan, style, textAlign, textDirection, _null, overflow, textScaleFactor, maxLines, _null, _null); }, 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; }, DefaultTextStyle_merge_closure: function DefaultTextStyle_merge_closure(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.key = t0; _.style = t1; _.textAlign = t2; _.softWrap = t3; _.overflow = t4; _.maxLines = t5; _.textWidthBasis = t6; _.child = t7; }, _NullWidget2: function _NullWidget2(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; _.textScaleFactor = t7; _.maxLines = t8; _.semanticsLabel = t9; _.key = t10; }, TextEditingAction: function TextEditingAction() { }, TextEditingActionTarget_nextCharacter(index, string, includeWhitespace) { var range, t1 = string.length; if (index === t1) return t1; range = A.StringCharacterRange_StringCharacterRange$at(string, 0, index); if (range.get$current(range).length !== index) return range.get$current(range).length; range._advanceEnd$2(1, range._characters_impl$_start); if (!includeWhitespace) range.expandWhile$1(new A.TextEditingActionTarget_nextCharacter_closure()); return range.get$current(range).length; }, TextEditingActionTarget_previousCharacter(index, string, includeWhitespace) { var range, t1, t2, t3; if (index === 0) return 0; range = A.StringCharacterRange_StringCharacterRange$at(string, 0, index); if (range.get$current(range).length !== index) { range.dropLast$0(); return range.get$current(range).length; } range.dropLast$0(); if (!includeWhitespace) { t1 = range._characters_impl$_string; while (true) { t2 = range._currentCache; if ((t2 == null ? range._currentCache = B.JSString_methods.substring$2(t1, range._characters_impl$_start, range._characters_impl$_end) : t2).length !== 0) { t2 = B.JSString_methods.substring$1(t1, range._characters_impl$_end); t3 = t2.length; t2 = A.TextLayoutMetrics_isWhitespace(B.JSString_methods._codeUnitAt$1(t3 === 0 ? A.throwExpression(A.StateError$("No element")) : B.JSString_methods.substring$2(t2, 0, new A.Breaks(t2, t3, 0, 176).nextBreak$0()), 0)); } else t2 = false; if (!t2) break; range.dropLast$0(); } } return range.get$current(range).length; }, TextEditingActionTarget: function TextEditingActionTarget() { }, TextEditingActionTarget_nextCharacter_closure: function TextEditingActionTarget_nextCharacter_closure() { }, DoNothingAndStopPropagationTextIntent: function DoNothingAndStopPropagationTextIntent() { }, TextSelectionHandleType: function TextSelectionHandleType(t0, t1) { this.index = t0; this._core$_name = t1; }, _TextSelectionHandlePosition: function _TextSelectionHandlePosition(t0, t1) { this.index = t0; this._core$_name = t1; }, TextSelectionControls: function TextSelectionControls() { }, TextSelectionOverlay: function TextSelectionOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.context = t0; _.debugRequiredFor = t1; _.toolbarLayerLink = t2; _.startHandleLayerLink = t3; _.endHandleLayerLink = t4; _.renderObject = t5; _.selectionControls = t6; _.selectionDelegate = t7; _.dragStartBehavior = t8; _.onSelectionHandleTapped = t9; _.clipboardStatus = t10; _.__TextSelectionOverlay__toolbarController = $; _._text_selection$_value = t11; _._toolbar = _._handles = null; _._handlesVisible = false; }, TextSelectionOverlay_showHandles_closure: function TextSelectionOverlay_showHandles_closure(t0) { this.$this = t0; }, TextSelectionOverlay_showHandles_closure0: function TextSelectionOverlay_showHandles_closure0(t0) { this.$this = t0; }, TextSelectionOverlay__buildHandle_closure: function TextSelectionOverlay__buildHandle_closure(t0, t1) { this.$this = t0; this.position = t1; }, _TextSelectionHandleOverlay: function _TextSelectionHandleOverlay(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.selection = t0; _.position = t1; _.startHandleLayerLink = t2; _.endHandleLayerLink = t3; _.renderObject = t4; _.onSelectionHandleChanged = t5; _.onSelectionHandleTapped = t6; _.selectionControls = t7; _.dragStartBehavior = t8; _.selectionDelegate = t9; _.key = t10; }, _TextSelectionHandleOverlayState: function _TextSelectionHandleOverlayState(t0, t1) { var _ = this; _.___TextSelectionHandleOverlayState__controller = _.___TextSelectionHandleOverlayState__dragPosition = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, TextSelectionGestureDetectorBuilder: function TextSelectionGestureDetectorBuilder() { }, TextSelectionGestureDetector: function TextSelectionGestureDetector(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { var _ = this; _.onTapDown = t0; _.onForcePressStart = t1; _.onForcePressEnd = t2; _.onSecondaryTap = t3; _.onSecondaryTapDown = t4; _.onSingleTapUp = t5; _.onSingleTapCancel = t6; _.onSingleLongTapStart = t7; _.onSingleLongTapMoveUpdate = t8; _.onSingleLongTapEnd = t9; _.onDoubleTapDown = t10; _.onDragSelectionStart = t11; _.onDragSelectionUpdate = t12; _.onDragSelectionEnd = t13; _.behavior = t14; _.child = t15; _.key = t16; }, _TextSelectionGestureDetectorState: function _TextSelectionGestureDetectorState(t0) { var _ = this; _._lastTapOffset = _._text_selection$_doubleTapTimer = null; _._isDoubleTap = false; _._widget = _._dragUpdateThrottleTimer = _._lastDragUpdateDetails = _._lastDragStartDetails = null; _._debugLifecycleState = t0; _._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; }, __TextSelectionHandleOverlayState_State_SingleTickerProviderStateMixin: function __TextSelectionHandleOverlayState_State_SingleTickerProviderStateMixin() { }, Texture: function Texture(t0, t1) { this.textureId = t0; this.key = t1; }, TickerMode_of(context) { var widget = context.dependOnInheritedWidgetOfExactType$1$0(type$._EffectiveTickerMode), t1 = widget == null ? null : widget.enabled; return t1 !== false; }, TickerMode: function TickerMode(t0, t1, t2) { this.enabled = t0; this.child = t1; this.key = t2; }, _EffectiveTickerMode: function _EffectiveTickerMode(t0, t1, t2) { this.enabled = t0; this.child = t1; this.key = t2; }, 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 = $; }, 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$(child, scale) { return new A.ScaleTransition(child, scale, null); }, RotationTransition$(child, turns) { return new A.RotationTransition(child, turns, null); }, FadeTransition$(alwaysIncludeSemantics, child, opacity) { return new A.FadeTransition(opacity, alwaysIncludeSemantics, child, null); }, 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; }, ScaleTransition: function ScaleTransition(t0, t1, t2) { this.child = t0; this.listenable = t1; this.key = t2; }, RotationTransition: function RotationTransition(t0, t1, t2) { this.child = t0; this.listenable = t1; this.key = t2; }, 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; }, AnimatedBuilder: function AnimatedBuilder(t0, t1, t2, t3) { var _ = this; _.builder = t0; _.child = t1; _.listenable = t2; _.key = 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, t3, t4) { var _ = this; _.__MultiChildRenderObjectElement__children = $; _._forgottenChildren = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, ShrinkWrappingViewport: function ShrinkWrappingViewport(t0, t1, t2, t3, t4) { var _ = this; _.axisDirection = t0; _.offset = t1; _.clipBehavior = t2; _.children = t3; _.key = t4; }, Visibility$(child, maintainAnimation, maintainInteractivity, maintainSemantics, maintainSize, maintainState, replacement, visible) { return new A.Visibility(child, replacement, visible, false, false, false, false, false, null); }, Visibility: function Visibility(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.child = t0; _.replacement = t1; _.visible = t2; _.maintainState = t3; _.maintainAnimation = t4; _.maintainSize = t5; _.maintainSemantics = t6; _.maintainInteractivity = t7; _.key = t8; }, WidgetSpan: function WidgetSpan(t0, t1, t2, t3) { var _ = this; _.child = t0; _.alignment = t1; _.baseline = t2; _.style = t3; }, WillPopScope: function WillPopScope(t0, t1, t2) { this.child = t0; this.onWillPop = t1; this.key = t2; }, _WillPopScopeState: function _WillPopScopeState(t0) { var _ = this; _._widget = _._route = null; _._debugLifecycleState = t0; _._framework$_element = null; }, DropzoneView$(cursor, onCreated, onDrop, onError, onLoaded, operation) { return new A.DropzoneView(operation, cursor, onCreated, onLoaded, onError, onDrop, null); }, DropzoneViewController$_create(viewId, widget) { var t1 = new A.DropzoneViewController(viewId, widget); t1.DropzoneViewController$_create$2(viewId, widget); return t1; }, DropzoneView: function DropzoneView(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.operation = t0; _.cursor = t1; _.onCreated = t2; _.onLoaded = t3; _.onError = t4; _.onDrop = t5; _.key = t6; }, _DropzoneViewState: function _DropzoneViewState(t0, t1) { var _ = this; _._dropzone_view$_controller = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _DropzoneViewState_build_closure: function _DropzoneViewState_build_closure(t0, t1) { this.$this = t0; this.params = t1; }, DropzoneViewController: function DropzoneViewController(t0, t1) { this.viewId = t0; this.widget = t1; }, DropzoneViewController$_create_closure: function DropzoneViewController$_create_closure(t0) { this.$this = t0; }, DropzoneViewController$_create_closure0: function DropzoneViewController$_create_closure0(t0) { this.$this = t0; }, DropzoneViewController$_create_closure1: function DropzoneViewController$_create_closure1(t0) { this.$this = t0; }, DragOperation: function DragOperation(t0, t1) { this.index = t0; this._core$_name = t1; }, CursorType: function CursorType(t0, t1) { this.index = t0; this._core$_name = t1; }, FlutterDropzonePlatform: function FlutterDropzonePlatform() { }, FlutterDropzonePlatform_onLoaded_closure: function FlutterDropzonePlatform_onLoaded_closure(t0) { this.viewId = t0; }, FlutterDropzonePlatform_onError_closure: function FlutterDropzonePlatform_onError_closure(t0) { this.viewId = t0; }, FlutterDropzonePlatform_onDrop_closure: function FlutterDropzonePlatform_onDrop_closure(t0) { this.viewId = t0; }, DropzoneEvent: function DropzoneEvent() { }, DropzoneLoadedEvent: function DropzoneLoadedEvent(t0, t1) { this.viewId = t0; this.value = t1; }, DropzoneErrorEvent: function DropzoneErrorEvent(t0, t1) { this.viewId = t0; this.value = t1; }, DropzoneHoverEvent: function DropzoneHoverEvent(t0, t1) { this.viewId = t0; this.value = t1; }, DropzoneDropEvent: function DropzoneDropEvent(t0, t1) { this.viewId = t0; this.value = t1; }, DropzoneLeaveEvent: function DropzoneLeaveEvent(t0, t1) { this.viewId = t0; this.value = t1; }, MethodChannelFlutterDropzone: function MethodChannelFlutterDropzone(t0, t1) { this.events = t0; this._instanceToken = t1; }, FlutterDropzonePlugin_registerWith(registrar) { var t3, t1 = A.StreamController_StreamController$broadcast(null, null, type$.DropzoneEvent_dynamic), t2 = $.$get$FlutterDropzonePlatform__token(), $self = new A.FlutterDropzonePlugin(t1, t2); t1 = $.$get$FlutterDropzonePlugin__readyCompleter().future; t3 = $.FlutterDropzonePlugin____isReady.__late_helper$_value; if (t3 == null ? $.FlutterDropzonePlugin____isReady != null : t3 !== $.FlutterDropzonePlugin____isReady) A.throwExpression(A.LateError$fieldAI($.FlutterDropzonePlugin____isReady.__late_helper$_name)); $.FlutterDropzonePlugin____isReady.__late_helper$_value = t1; B.Window_methods.addEventListener$2(window, "flutter_dropzone_web_ready", new A.FlutterDropzonePlugin_registerWith_closure()); A.PlatformInterface_verifyToken($self, t2); $.FlutterDropzonePlatform__instance = $self; $.$get$platformViewRegistry(); $.$get$platformViewManager().registerFactory$2("com.creativephotocloud.plugins/dropzone", new A.FlutterDropzonePlugin_registerWith_closure0()); t1 = document; t2 = t1.body; t2.toString; t1 = t1.createElement("script"); t1.src = "assets/packages/flutter_dropzone_web/assets/flutter_dropzone.js"; t1.type = "application/javascript"; t1.defer = true; t2.appendChild(t1); }, FlutterDropzonePlugin: function FlutterDropzonePlugin(t0, t1) { this.events = t0; this._instanceToken = t1; }, FlutterDropzonePlugin_registerWith_closure: function FlutterDropzonePlugin_registerWith_closure() { }, FlutterDropzonePlugin_registerWith_closure0: function FlutterDropzonePlugin_registerWith_closure0() { }, FlutterDropzonePlugin_buildView_closure: function FlutterDropzonePlugin_buildView_closure(t0) { this.onPlatformViewCreated = t0; }, FlutterDropzoneView$(viewId) { var t1 = new A.FlutterDropzoneView(viewId); t1.FlutterDropzoneView$1(viewId); return t1; }, FlutterDropzoneView: function FlutterDropzoneView(t0) { var _ = this; _.viewId = t0; _.__FlutterDropzoneView_container = $; _.cursor = _.operation = _.mime = null; }, FlutterDropzoneView_closure: function FlutterDropzoneView_closure(t0) { this.$this = t0; }, FlutterDropzoneView_getFileData_closure: function FlutterDropzoneView_getFileData_closure(t0, t1) { this.completer = t0; this.reader = t1; }, Html$(data, onLinkTap, style) { return new A.Html(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), data, onLinkTap, style, null); }, Html: function Html(t0, t1, t2, t3, t4) { var _ = this; _._anchorKey = t0; _.data = t1; _.onLinkTap = t2; _.style = t3; _.key = t4; }, HtmlParser_lexDomTree(html, customRenderTags, tagsList, navigationDelegateForIframe, context) { var tree, _null = null, t1 = A._setArrayType([], type$.JSArray_StyledElement), t2 = new A.SelectorEvaluator().querySelector$2(0, html, A._parseSelectorList("html")), t3 = A.Theme_of(context).textTheme.bodyText2, t4 = new A.Style(_null, _null, _null, _null, _null, _null, _null, _null, _null, _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.backgroundColor = t3.backgroundColor; t4.color = t3.color; t4.textDecoration = t3.decoration; t4.textDecorationColor = t3.decorationColor; t4.textDecorationStyle = t3.decorationStyle; t4.textDecorationThickness = t3.decorationThickness; t4.fontFamily = t3.fontFamily; t4.fontFeatureSettings = t3.fontFeatures; t4.fontSize = new A.FontSize(t3.fontSize, ""); t4.fontStyle = t3.fontStyle; t4.fontWeight = t3.fontWeight; t4.letterSpacing = t3.letterSpacing; t4.textShadow = t3.shadows; t4.wordSpacing = t3.wordSpacing; t3 = t3.height; t4.lineHeight = new A.LineHeight(t3 == null ? 1.2 : t3, ""); tree = new A.StyledElement("[Tree Root]", "[[No ID]]", B.List_empty1, t1, t4, t2); t1 = html.get$nodes(html); t1.forEach$1(t1, new A.HtmlParser_lexDomTree_closure(tree, customRenderTags, tagsList, navigationDelegateForIframe)); return tree; }, HtmlParser__recursiveLexer(node, customRenderTags, tagsList, navigationDelegateForIframe) { var cell, t2, parentNode, _s5_ = "empty", _null = null, children = A._setArrayType([], type$.JSArray_StyledElement), t1 = node.get$nodes(node); t1.forEach$1(t1, new A.HtmlParser__recursiveLexer_closure(children, customRenderTags, tagsList, navigationDelegateForIframe)); if (node instanceof A.Element0) { t1 = node.localName; if (!B.JSArray_methods.contains$1(tagsList, t1)) return A.EmptyContentElement$(_s5_); if (B.JSArray_methods.contains$1(B.List_KXO, t1)) return A.parseStyledElement(node, children); else if (B.JSArray_methods.contains$1(B.List_a, t1)) return A.parseInteractableElement(node, children); else if (B.JSArray_methods.contains$1(B.List_HTJ, t1)) return A.parseReplacedElement(node, navigationDelegateForIframe); else if (B.JSArray_methods.contains$1(B.List_oyU, t1)) return A.parseLayoutElement(node, children); else if (B.JSArray_methods.contains$1(B.List_th_td, t1)) { t1.toString; cell = new A.TableCellElement(t1, node.get$id(node), A.List_List$of(new A.ElementCssClassSet(node), true, type$.ElementCssClassSet._eval$1("SetMixin.E")), children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), node); cell.colspan = A.TableCellElement__parseSpan(cell, "colspan"); cell.rowspan = A.TableCellElement__parseSpan(cell, "rowspan"); if (t1 === "th") cell.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return cell; } else if (B.JSArray_methods.contains$1(B.List_col_colgroup, t1)) return A.parseTableDefinitionElement(node, children); else if (B.JSArray_methods.contains$1(customRenderTags, t1)) return A.parseStyledElement(node, children); else return A.EmptyContentElement$(_s5_); } else if (node instanceof A.Text0) { t1 = J.toString$0$(node._dom$_data); node._dom$_data = t1; t2 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); parentNode = node.parentNode; return A.TextContentElement$(parentNode instanceof A.Element0 ? parentNode : _null, node, t2, t1); } else return A.EmptyContentElement$(_s5_); }, HtmlParser__getExternalCssDeclarations(styles, errorHandler) { var t1, fullCss, _i, str, t2; for (t1 = styles.length, fullCss = "", _i = 0; _i < styles.length; styles.length === t1 || (0, A.throwConcurrentModificationError)(styles), ++_i) { str = new A.StringBuffer(""); styles[_i]._addInnerHtml$1(str); t2 = str._contents; fullCss += t2.charCodeAt(0) == 0 ? t2 : t2; } if (fullCss.length !== 0) return A.parseExternalCss(fullCss, errorHandler); else return A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Map_of_String_and_List_Expression); }, HtmlParser__applyExternalCss(declarations, tree) { declarations.forEach$1(0, new A.HtmlParser__applyExternalCss_closure(tree)); B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__applyExternalCss_closure0(declarations)); return tree; }, HtmlParser__applyInlineStyles(tree, errorHandler) { var newStyle; if (tree.get$attributes(tree).containsKey$1(0, "style")) { newStyle = A.inlineCssToStyle(tree.get$attributes(tree).$index(0, "style"), errorHandler); if (newStyle != null) tree.style = tree.style.merge$1(newStyle); } B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__applyInlineStyles_closure(errorHandler)); return tree; }, HtmlParser__applyCustomStyles(style, tree) { style.forEach$1(0, new A.HtmlParser__applyCustomStyles_closure(tree)); B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__applyCustomStyles_closure0(style)); return tree; }, HtmlParser__cascadeStyles(style, tree) { B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__cascadeStyles_closure(tree, style)); return tree; }, HtmlParser__handleAnchorTap(key, onLinkTap) { return new A.HtmlParser__handleAnchorTap_closure(key, onLinkTap); }, HtmlParser__processInternalWhitespace(tree) { var t2, t1 = tree.style.whiteSpace; if ((t1 == null ? B.WhiteSpace_0 : t1) !== B.WhiteSpace_1) if (tree instanceof A.TextContentElement) { t1 = tree.text; t1.toString; t2 = A.RegExp_RegExp(" *(?=\n)", true, false); t1 = A.stringReplaceAllUnchecked(t1, t2, "\n"); t2 = A.RegExp_RegExp("(?:\n) *", true, false); t1 = A.stringReplaceAllUnchecked(t1, t2, "\n"); t1 = A.stringReplaceAllUnchecked(t1, "\n", " "); t1 = A.stringReplaceAllUnchecked(t1, "\t", " "); t2 = A.RegExp_RegExp(" {2,}", true, false); tree.text = A.stringReplaceAllUnchecked(t1, t2, " "); } else B.JSArray_methods.forEach$1(tree.children, A.html_parser_HtmlParser__processInternalWhitespace$closure()); return tree; }, HtmlParser__processInlineWhitespaceRecursive(tree, keepLeadingSpace) { var t1, t2, t3, textIndex, parentNodes, parentNode, t4, elementIndex, parentAfterText, parentAfter, value, t5, _s1_ = " ", _null = null; if (tree instanceof A.TextContentElement) { t1 = tree._styled_element$_node; t2 = t1 == null; t3 = t2 ? _null : t1.get$nodes(t1)._list_proxy$_list.length; if ((t3 == null ? 0 : t3) >= 1) { if (t2) textIndex = _null; else { t3 = t1.get$nodes(t1); t3 = t3.indexWhere$1(t3, new A.HtmlParser__processInlineWhitespaceRecursive_closure(tree)); textIndex = t3; } if (textIndex == null) textIndex = -1; } else textIndex = -1; if (t2) parentNodes = _null; else { parentNode = t1.parentNode; t3 = parentNode instanceof A.Element0 ? parentNode : _null; parentNodes = t3 == null ? _null : t3.get$nodes(t3); } t3 = parentNodes == null; t4 = t3 ? _null : parentNodes._list_proxy$_list.length; if ((t4 == null ? 0 : t4) >= 1) { elementIndex = t3 ? _null : parentNodes.indexWhere$1(parentNodes, new A.HtmlParser__processInlineWhitespaceRecursive_closure0(tree)); if (elementIndex == null) elementIndex = -1; } else elementIndex = -1; t4 = t3 ? _null : parentNodes._list_proxy$_list.length; if (elementIndex < (t4 == null ? 1 : t4) - 1) t4 = (t3 ? _null : parentNodes._list_proxy$_list[elementIndex + 1]) instanceof A.Text0; else t4 = false; if (t4) { parentAfterText = t3 ? _null : J.get$text$x(parentNodes._list_proxy$_list[elementIndex + 1]); if (parentAfterText == null) parentAfterText = _s1_; } else { t4 = t3 ? _null : parentNodes._list_proxy$_list.length; if (elementIndex < (t4 == null ? 1 : t4) - 1) { parentAfter = t3 ? _null : parentNodes._list_proxy$_list[elementIndex + 1]; for (t4 = type$.JSArray_Node_3; parentAfter instanceof A.Element0;) { value = parentAfter.__Node_nodes; if (value === $) { t5 = A._setArrayType([], t4); A._lateInitializeOnceCheck(parentAfter.__Node_nodes, "nodes"); value = parentAfter.__Node_nodes = new A.NodeList(parentAfter, t5); } if (!value.get$isEmpty(value)) { value = parentAfter.__Node_nodes; if (value === $) { t5 = A._setArrayType([], t4); A._lateInitializeOnceCheck(parentAfter.__Node_nodes, "nodes"); value = parentAfter.__Node_nodes = new A.NodeList(parentAfter, t5); } if (value.get$length(value) === 0) A.throwExpression(A.IterableElementError_noElement()); parentAfter = value.$index(0, 0); } else break; } parentAfterText = parentAfter == null ? _null : parentAfter.get$text(parentAfter); if (parentAfterText == null) parentAfterText = _s1_; } else parentAfterText = _s1_; } if (textIndex < 1) { t4 = tree.text; t4.toString; if (B.JSString_methods.startsWith$1(t4, _s1_)) if ((t2 ? _null : t1.localName) !== "br") { if (keepLeadingSpace.data) { t4 = t2 ? _null : t1.localName; t4 = B.JSArray_methods.contains$1(B.List_e3N, t4 == null ? "" : t4); } else t4 = true; if (t4) if (elementIndex >= 1) if (elementIndex >= 1) if ((t3 ? _null : parentNodes._list_proxy$_list[elementIndex - 1]) instanceof A.Text0) { t3 = J.get$text$x(parentNodes._list_proxy$_list[elementIndex - 1]); t3.toString; t3 = B.JSString_methods.endsWith$1(t3, _s1_); } else t3 = false; else t3 = false; else t3 = true; else t3 = false; } else t3 = false; else t3 = false; } else t3 = false; if (t3) { t3 = tree.text; t3.toString; tree.text = B.JSString_methods.replaceFirst$2(t3, _s1_, ""); } else { if (textIndex >= 1) { t3 = tree.text; t3.toString; if (B.JSString_methods.startsWith$1(t3, _s1_)) if ((t2 ? _null : t1.get$nodes(t1)._list_proxy$_list[textIndex - 1]) instanceof A.Element0) { t3 = t2 ? _null : t1.get$nodes(t1)._list_proxy$_list[textIndex - 1]; t3 = type$.Element_3._as(t3).localName === "br"; } else t3 = false; else t3 = false; } else t3 = false; if (t3) { t3 = tree.text; t3.toString; tree.text = B.JSString_methods.replaceFirst$2(t3, _s1_, ""); } } t3 = t2 ? _null : t1.get$nodes(t1)._list_proxy$_list.length; if (textIndex === (t3 == null ? 1 : t3) - 1) t1 = (t2 ? _null : t1.localName) !== "br" && B.JSString_methods.startsWith$1(parentAfterText, _s1_); else t1 = false; if (t1) { t1 = tree.text; t1.toString; keepLeadingSpace.data = !B.JSString_methods.endsWith$1(t1, _s1_); } } B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__processInlineWhitespaceRecursive_closure1(keepLeadingSpace)); return tree; }, HtmlParser__processListCharactersRecursive(tree, olStack) { var t2, start, x, t3, _null = null, _s5_ = "start", t1 = tree.name === "ol"; if (t1 && tree.style.listStyleType != null) switch (tree.style.listStyleType.index) { case 2: case 0: case 3: case 1: olStack._add$1(0, new A.Context1("a", type$.Context_String)); if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; t2 = A.Primitives_parseInt(t2, _null); } else t2 = _null; if (t2 != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; start = A.Primitives_parseInt(t2, _null); if (start == null) start = 1; for (x = 1; x < start;) { olStack.get$last(olStack).data = A.IterateLetters_nextLetter(J.toString$0$(olStack.get$last(olStack).data)); ++x; } } break; default: if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2 = A.Primitives_parseInt(t2 == null ? "" : t2, _null); if (t2 == null) t2 = 1; } else t2 = 1; olStack._add$1(0, new A.Context1(t2 - 1, type$.Context_int)); break; } else { t2 = tree.style; if (t2.display === B.Display_3 && t2.listStyleType != null) switch (t2.listStyleType.index) { case 4: t2.markerContent = "\u25cb"; break; case 9: t2.markerContent = "\u25a0"; break; case 5: t2.markerContent = "\u2022"; break; case 6: if (olStack._head === olStack._tail) { if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2 = A.Primitives_parseInt(t2 == null ? "" : t2, _null); if (t2 == null) t2 = 1; } else t2 = 1; olStack._add$1(0, new A.Context1(t2 - 1, type$.Context_int)); } t2 = olStack.get$last(olStack); t2.data = J.$add$ansx(t2.data, 1); tree.style.markerContent = A.S(olStack.get$last(olStack).data) + "."; break; case 2: case 0: if (olStack._head === olStack._tail) { olStack._add$1(0, new A.Context1("a", type$.Context_String)); if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; t2 = A.Primitives_parseInt(t2, _null); } else t2 = _null; if (t2 != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; start = A.Primitives_parseInt(t2, _null); if (start == null) start = 1; for (x = 1; x < start;) { olStack.get$last(olStack).data = A.IterateLetters_nextLetter(J.toString$0$(olStack.get$last(olStack).data)); ++x; } } } tree.style.markerContent = J.toString$0$(olStack.get$last(olStack).data) + "."; olStack.get$last(olStack).data = A.IterateLetters_nextLetter(J.toString$0$(olStack.get$last(olStack).data)); break; case 3: case 1: if (olStack._head === olStack._tail) { olStack._add$1(0, new A.Context1("a", type$.Context_String)); if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; t2 = A.Primitives_parseInt(t2, _null); } else t2 = _null; if (t2 != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2.toString; start = A.Primitives_parseInt(t2, _null); if (start == null) start = 1; for (x = 1; x < start;) { olStack.get$last(olStack).data = A.IterateLetters_nextLetter(J.toString$0$(olStack.get$last(olStack).data)); ++x; } } } tree.style.markerContent = J.toString$0$(olStack.get$last(olStack).data).toUpperCase() + "."; olStack.get$last(olStack).data = A.IterateLetters_nextLetter(J.toString$0$(olStack.get$last(olStack).data)); break; case 7: if (olStack._head === olStack._tail) { if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2 = A.Primitives_parseInt(t2 == null ? "" : t2, _null); if (t2 == null) t2 = 1; } else t2 = 1; olStack._add$1(0, new A.Context1(t2 - 1, type$.Context_int)); } t2 = olStack.get$last(olStack); t2.data = J.$add$ansx(t2.data, 1); t2 = J.$le$n(olStack.get$last(olStack).data, 0); t3 = tree.style; if (t2) t3.markerContent = A.S(olStack.get$last(olStack).data) + "."; else t3.markerContent = A.RomanNumeralsInt_toRomanNumeralString(A._asInt(olStack.get$last(olStack).data)).toLowerCase() + "."; break; case 8: if (olStack._head === olStack._tail) { if (tree.get$attributes(tree).$index(0, _s5_) != null) { t2 = tree.get$attributes(tree).$index(0, _s5_); t2 = A.Primitives_parseInt(t2 == null ? "" : t2, _null); if (t2 == null) t2 = 1; } else t2 = 1; olStack._add$1(0, new A.Context1(t2 - 1, type$.Context_int)); } t2 = olStack.get$last(olStack); t2.data = J.$add$ansx(t2.data, 1); t2 = J.$le$n(olStack.get$last(olStack).data, 0); t3 = tree.style; if (t2) t3.markerContent = A.S(olStack.get$last(olStack).data) + "."; else { t2 = A.RomanNumeralsInt_toRomanNumeralString(A._asInt(olStack.get$last(olStack).data)); t2.toString; t3.markerContent = t2 + "."; } break; } } B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__processListCharactersRecursive_closure(olStack)); if (t1) olStack.removeLast$0(0); return tree; }, HtmlParser__processBeforesAndAfters(tree) { var _null = null, t1 = tree.style, t2 = t1.before; if (t2 != null) B.JSArray_methods.insert$2(tree.children, 0, A.TextContentElement$(_null, _null, t1.copyWith$2$beforeAfterNull$display(true, B.Display_1), t2)); t1 = tree.style; t2 = t1.after; if (t2 != null) tree.children.push(A.TextContentElement$(_null, _null, t1.copyWith$2$beforeAfterNull$display(true, B.Display_1), t2)); B.JSArray_methods.forEach$1(tree.children, A.html_parser_HtmlParser__processBeforesAndAfters$closure()); return tree; }, HtmlParser__collapseMargins(tree) { var t2, t3, parentTop, firstChildTop, newOuterMarginTop, parentBottom, lastChildBottom, newOuterMarginBottom, i, t4, previousSiblingBottom, t5, thisTop, newInternalMargin, _null = null, t1 = tree.children; if (t1.length === 0) { t1 = tree.style; t2 = t1.height; if ((t2 == null ? 0 : t2) === 0) t1.margin = B.EdgeInsets_0_0_0_0; return tree; } B.JSArray_methods.forEach$1(t1, A.html_parser_HtmlParser__collapseMargins$closure()); t2 = tree.name; if (t2 === "[Tree Root]" || t2 === "html") return tree; t2 = tree.style; t3 = t2.padding; t3 = t3 == null ? _null : t3.top; if ((t3 == null ? 0 : t3) === 0) { t2 = t2.margin; parentTop = t2 == null ? _null : t2.top; if (parentTop == null) parentTop = 0; t2 = B.JSArray_methods.get$first(t1).style.margin; firstChildTop = t2 == null ? _null : t2.top; if (firstChildTop == null) firstChildTop = 0; newOuterMarginTop = Math.max(parentTop, firstChildTop); t2 = tree.style; t3 = t2.margin; if (t3 == null) t2.margin = new A.EdgeInsets(0, newOuterMarginTop, 0, 0); else t2.margin = t3.copyWith$1$top(newOuterMarginTop); if (B.JSArray_methods.get$first(t1).style.margin == null) B.JSArray_methods.get$first(t1).style.margin = B.EdgeInsets_0_0_0_0; else B.JSArray_methods.get$first(t1).style.margin = B.JSArray_methods.get$first(t1).style.margin.copyWith$1$top(0); } t2 = tree.style; t3 = t2.padding; t3 = t3 == null ? _null : t3.bottom; if ((t3 == null ? 0 : t3) === 0) { t2 = t2.margin; parentBottom = t2 == null ? _null : t2.bottom; if (parentBottom == null) parentBottom = 0; t2 = B.JSArray_methods.get$last(t1).style.margin; lastChildBottom = t2 == null ? _null : t2.bottom; if (lastChildBottom == null) lastChildBottom = 0; newOuterMarginBottom = Math.max(parentBottom, lastChildBottom); t2 = tree.style; t3 = t2.margin; if (t3 == null) t2.margin = new A.EdgeInsets(0, 0, 0, newOuterMarginBottom); else t2.margin = t3.copyWith$1$bottom(newOuterMarginBottom); if (B.JSArray_methods.get$last(t1).style.margin == null) B.JSArray_methods.get$last(t1).style.margin = B.EdgeInsets_0_0_0_0; else B.JSArray_methods.get$last(t1).style.margin = B.JSArray_methods.get$last(t1).style.margin.copyWith$1$bottom(0); } if (t1.length > 1) for (i = 1; i < t1.length; ++i) { t2 = t1[i - 1].style; t3 = t2.margin; t4 = t3 == null; previousSiblingBottom = t4 ? _null : t3.bottom; if (previousSiblingBottom == null) previousSiblingBottom = 0; t5 = t1[i].style.margin; thisTop = t5 == null ? _null : t5.top; if (thisTop == null) thisTop = 0; newInternalMargin = Math.max(previousSiblingBottom, thisTop) / 2; if (t4) t2.margin = new A.EdgeInsets(0, 0, 0, newInternalMargin); else t2.margin = t3.copyWith$1$bottom(newInternalMargin); t2 = t1[i].style; t3 = t2.margin; if (t3 == null) t2.margin = new A.EdgeInsets(0, newInternalMargin, 0, 0); else t2.margin = t3.copyWith$1$top(newInternalMargin); } return tree; }, HtmlParser__removeEmptyElements(tree) { var t2, t1 = {}, toRemove = A._setArrayType([], type$.JSArray_StyledElement); t1.lastChildBlock = true; t2 = tree.children; B.JSArray_methods.forEach$1(t2, new A.HtmlParser__removeEmptyElements_closure(t1, toRemove, tree)); if (!!t2.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t2, new A.HtmlParser__removeEmptyElements_closure0(toRemove), true); return tree; }, HtmlParser__processFontSize(tree) { var t1 = tree.style.fontSize, parentFontSize = t1 == null ? null : t1.size; if (parentFontSize == null) parentFontSize = 14; B.JSArray_methods.forEach$1(tree.children, new A.HtmlParser__processFontSize_closure(parentFontSize)); return tree; }, ContainerSpan$(child, children, key, newContext, shrinkWrap, style) { return new A.ContainerSpan(key, child, children, style, newContext, false, key); }, StyledText$(renderContext, style, textScaleFactor, textSpan) { return new A.StyledText(textSpan, style, textScaleFactor, renderContext, false, null, null); }, IterateLetters_nextLetter(_this) { var t1, lastChar, sub, s = _this.toLowerCase(); if (s === "z") { t1 = B.JSString_methods._codeUnitAt$1(s, 0) - 25; return A.Primitives_stringFromCharCode(t1) + A.Primitives_stringFromCharCode(t1); } else { t1 = s.length - 1; lastChar = B.JSString_methods.substring$1(s, t1); sub = B.JSString_methods.substring$2(s, 0, t1); if (lastChar === "z") return A.IterateLetters_nextLetter(sub) + "a"; else return sub + A.Primitives_stringFromCharCode(B.JSString_methods._codeUnitAt$1(lastChar, 0) + 1); } }, HtmlParser0: function HtmlParser0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.HtmlParser_key = t0; _.htmlData = t1; _.onImageTap = t2; _.onCssParseError = t3; _.onImageError = t4; _.onMathError = t5; _.shrinkWrap = t6; _.selectable = t7; _.style = t8; _.customRender = t9; _.imageRenders = t10; _.tagsList = t11; _.navigationDelegateForIframe = t12; _._onAnchorTap = t13; _.key = t14; }, HtmlParser_lexDomTree_closure: function HtmlParser_lexDomTree_closure(t0, t1, t2, t3) { var _ = this; _.tree = t0; _.customRenderTags = t1; _.tagsList = t2; _.navigationDelegateForIframe = t3; }, HtmlParser__recursiveLexer_closure: function HtmlParser__recursiveLexer_closure(t0, t1, t2, t3) { var _ = this; _.children = t0; _.customRenderTags = t1; _.tagsList = t2; _.navigationDelegateForIframe = t3; }, HtmlParser__applyExternalCss_closure: function HtmlParser__applyExternalCss_closure(t0) { this.tree = t0; }, HtmlParser__applyExternalCss_closure0: function HtmlParser__applyExternalCss_closure0(t0) { this.declarations = t0; }, HtmlParser__applyInlineStyles_closure: function HtmlParser__applyInlineStyles_closure(t0) { this.errorHandler = t0; }, HtmlParser__applyCustomStyles_closure: function HtmlParser__applyCustomStyles_closure(t0) { this.tree = t0; }, HtmlParser__applyCustomStyles_closure0: function HtmlParser__applyCustomStyles_closure0(t0) { this.style = t0; }, HtmlParser__cascadeStyles_closure: function HtmlParser__cascadeStyles_closure(t0, t1) { this.tree = t0; this.style = t1; }, HtmlParser_parseTree_closure: function HtmlParser_parseTree_closure(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser_parseTree_closure0: function HtmlParser_parseTree_closure0(t0, t1, t2) { this.$this = t0; this.tree = t1; this.newContext = t2; }, HtmlParser_parseTree_getChildren: function HtmlParser_parseTree_getChildren(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser_parseTree_getChildren_closure: function HtmlParser_parseTree_getChildren_closure(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser_parseTree_addTaps: function HtmlParser_parseTree_addTaps(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.newContext = t1; _.tree = t2; _.context = t3; }, HtmlParser_parseTree_addTaps_closure: function HtmlParser_parseTree_addTaps_closure(t0, t1, t2) { this.addTaps = t0; this.childStyle = t1; this.childSpan = t2; }, HtmlParser_parseTree_addTaps_closure0: function HtmlParser_parseTree_addTaps_closure0(t0, t1, t2) { this.$this = t0; this.tree = t1; this.context = t2; }, HtmlParser_parseTree_addTaps_closure1: function HtmlParser_parseTree_addTaps_closure1(t0, t1, t2) { this.$this = t0; this.tree = t1; this.context = t2; }, HtmlParser_parseTree_addTaps_closure2: function HtmlParser_parseTree_addTaps_closure2(t0, t1, t2) { this.$this = t0; this.tree = t1; this.context = t2; }, HtmlParser_parseTree_closure1: function HtmlParser_parseTree_closure1(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser_parseTree_closure2: function HtmlParser_parseTree_closure2(t0, t1) { this.addTaps = t0; this.newContext = t1; }, HtmlParser_parseTree_closure3: function HtmlParser_parseTree_closure3(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser_parseTree_closure4: function HtmlParser_parseTree_closure4(t0, t1) { this.$this = t0; this.newContext = t1; }, HtmlParser__handleAnchorTap_closure: function HtmlParser__handleAnchorTap_closure(t0, t1) { this.key = t0; this.onLinkTap = t1; }, HtmlParser__processInlineWhitespaceRecursive_closure: function HtmlParser__processInlineWhitespaceRecursive_closure(t0) { this.tree = t0; }, HtmlParser__processInlineWhitespaceRecursive_closure0: function HtmlParser__processInlineWhitespaceRecursive_closure0(t0) { this.tree = t0; }, HtmlParser__processInlineWhitespaceRecursive_closure1: function HtmlParser__processInlineWhitespaceRecursive_closure1(t0) { this.keepLeadingSpace = t0; }, HtmlParser__processListCharactersRecursive_closure: function HtmlParser__processListCharactersRecursive_closure(t0) { this.olStack = t0; }, HtmlParser__removeEmptyElements_closure: function HtmlParser__removeEmptyElements_closure(t0, t1, t2) { this._box_0 = t0; this.toRemove = t1; this.tree = t2; }, HtmlParser__removeEmptyElements_closure0: function HtmlParser__removeEmptyElements_closure0(t0) { this.toRemove = t0; }, HtmlParser__processFontSize_closure: function HtmlParser__processFontSize_closure(t0) { this.parentFontSize = t0; }, RenderContext: function RenderContext(t0, t1, t2) { this.buildContext = t0; this.parser = t1; this.style = t2; }, ContainerSpan: function ContainerSpan(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.ContainerSpan_key = t0; _.child = t1; _.children = t2; _.style = t3; _.newContext = t4; _.shrinkWrap = t5; _.key = t6; }, StyledText: function StyledText(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.textSpan = t0; _.style = t1; _.textScaleFactor = t2; _.renderContext = t3; _._selectable = t4; _.selectionControls = t5; _.key = t6; }, dataUriMatcher(encoding, mime) { return new A.dataUriMatcher_closure(mime, encoding); }, networkSourceMatcher(extension) { return new A.networkSourceMatcher_closure(B.List_https_http, null, extension); }, assetUriMatcher() { return new A.assetUriMatcher_closure(); }, base64ImageRender() { return new A.base64ImageRender_closure(); }, assetImageRender() { return new A.assetImageRender_closure(null, null); }, networkImageRender() { var _null = null; return new A.networkImageRender_closure(_null, _null, _null, _null, _null, _null); }, svgDataImageRender() { return new A.svgDataImageRender_closure(); }, svgNetworkImageRender() { return new A.svgNetworkImageRender_closure(); }, _height(attributes) { var heightString = J.$index$asx(attributes, "height"); return heightString == null ? heightString : A.Primitives_parseDouble(heightString); }, _width(attributes) { var widthString = J.$index$asx(attributes, "width"); return widthString == null ? widthString : A.Primitives_parseDouble(widthString); }, _aspectRatio(attributes, calculated) { var height, width, t1 = J.getInterceptor$asx(attributes), heightString = t1.$index(attributes, "height"), widthString = t1.$index(attributes, "width"); if (heightString != null && widthString != null) { height = A.Primitives_parseDouble(heightString); width = A.Primitives_parseDouble(widthString); if (height == null || width == null) { t1 = calculated.data; t1.toString; t1 = J.get$aspectRatio$z(t1); } else t1 = width / height; return t1; } t1 = calculated.data; t1.toString; return J.get$aspectRatio$z(t1); }, dataUriMatcher_closure: function dataUriMatcher_closure(t0, t1) { this.mime = t0; this.encoding = t1; }, networkSourceMatcher_closure: function networkSourceMatcher_closure(t0, t1, t2) { this.schemas = t0; this.domains = t1; this.extension = t2; }, assetUriMatcher_closure: function assetUriMatcher_closure() { }, base64ImageRender_closure: function base64ImageRender_closure() { }, base64ImageRender__closure: function base64ImageRender__closure(t0) { this.context = t0; }, base64ImageRender__closure0: function base64ImageRender__closure0(t0, t1) { this.attributes = t0; this.context = t1; }, assetImageRender_closure: function assetImageRender_closure(t0, t1) { this.width = t0; this.height = t1; }, assetImageRender__closure: function assetImageRender__closure(t0, t1) { this.attributes = t0; this.context = t1; }, networkImageRender_closure: function networkImageRender_closure(t0, t1, t2, t3, t4, t5) { var _ = this; _.mapUrl = t0; _.headers = t1; _.width = t2; _.height = t3; _.altWidget = t4; _.loadingWidget = t5; }, networkImageRender__closure: function networkImageRender__closure(t0) { this.context = t0; }, networkImageRender__closure0: function networkImageRender__closure0(t0) { this.completer = t0; }, networkImageRender__closure1: function networkImageRender__closure1(t0) { this.completer = t0; }, networkImageRender__closure2: function networkImageRender__closure2(t0) { this.completer = t0; }, networkImageRender__closure3: function networkImageRender__closure3(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.completer = t0; _.image = t1; _.listener = t2; _.width = t3; _.attributes = t4; _.src = t5; _.headers = t6; _.height = t7; _.altWidget = t8; _.context = t9; _.loadingWidget = t10; }, networkImageRender___closure: function networkImageRender___closure(t0, t1, t2) { this.altWidget = t0; this.attributes = t1; this.context = t2; }, svgDataImageRender_closure: function svgDataImageRender_closure() { }, svgNetworkImageRender_closure: function svgNetworkImageRender_closure() { }, AnchorKey_of(parentKey, id) { var key = A.AnchorKey_forId(parentKey, id.elementId); if (key == null || $.AnchorKey__registry.contains$1(0, key)) return null; $.AnchorKey__registry.add$1(0, key); return key; }, AnchorKey_forId(parentKey, id) { var t1 = id == null || id.length === 0 || id === "[[No ID]]"; if (t1) return null; return new A.AnchorKey(parentKey, id); }, AnchorKey: function AnchorKey(t0, t1) { this.parentKey = t0; this.id = t1; }, declarationsToStyle(declarations) { var _null = null, style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); J.forEach$1$ax(declarations, new A.declarationsToStyle_closure(style)); return style; }, inlineCssToStyle(inlineStyle, errorHandler) { var t1, errors = A._setArrayType([], type$.JSArray_Message), sheet = A.parse0("*{" + A.S(inlineStyle) + "}", errors); if (errors.length === 0) { t1 = A.DeclarationVisitor$().getDeclarations$1(sheet).$index(0, "*"); t1.toString; return A.declarationsToStyle(t1); } return null; }, parseExternalCss(css, errorHandler) { var errors = A._setArrayType([], type$.JSArray_Message), sheet = A.parse0(css, errors); if (errors.length === 0) return A.DeclarationVisitor$().getDeclarations$1(sheet); return A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Map_of_String_and_List_Expression); }, DeclarationVisitor$() { var t1 = type$.String; return new A.DeclarationVisitor(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_String_and_List_Expression), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Expression)); }, ExpressionMapping_expressionToBorderWidth(value) { var t1, t2; if (value instanceof A.NumberTerm) { t1 = A.Primitives_parseDouble(value.text); return t1 == null ? 1 : t1; } else if (value instanceof A.PercentageTerm) { t1 = A.Primitives_parseDouble(value.text); return (t1 == null ? 400 : t1) / 100; } else if (value instanceof A.EmTerm) { t1 = A.Primitives_parseDouble(value.text); return t1 == null ? 1 : t1; } else if (value instanceof A.RemTerm) { t1 = A.Primitives_parseDouble(value.text); return t1 == null ? 1 : t1; } else if (value instanceof A.LengthTerm) { t1 = value.text; t2 = A.RegExp_RegExp("\\s+(\\d+\\.\\d+)\\s+", true, false); t1 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t1, t2, "")); return t1 == null ? 1 : t1; } else if (value instanceof A.LiteralTerm) switch (value.text) { case "thin": return 2; case "medium": return 4; case "thick": return 6; } return 4; }, ExpressionMapping_expressionToBorderStyle(value) { var t1; if (value != null) { t1 = value.text; t1 = t1 !== "none" && t1 !== "hidden"; } else t1 = false; if (t1) return B.BorderStyle_1; return B.BorderStyle_0; }, ExpressionMapping_expressionToColor(value) { var t1; if (value != null) if (value instanceof A.HexColorTerm) return A.ExpressionMapping_stringToColor(value.text); else if (value instanceof A.FunctionTerm) { t1 = value.text; if (t1 === "rgba" || t1 === "rgb") { t1 = value.span; return A.ExpressionMapping_rgbOrRgbaToColor(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._file$_end), 0, null)); } else if (t1 === "hsla" || t1 === "hsl") { t1 = value.span; return A.ExpressionMapping_hslToRgbToColor(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._file$_end), 0, null)); } } else if (value instanceof A.LiteralTerm) return A.ExpressionMapping_namedColorToColor(value.text); return null; }, ExpressionMapping_expressionToDirection(value) { if (value instanceof A.LiteralTerm) switch (value.text) { case "ltr": return B.TextDirection_1; case "rtl": return B.TextDirection_0; } return B.TextDirection_1; }, ExpressionMapping_expressionToDisplay(value) { if (value instanceof A.LiteralTerm) switch (value.text) { case "block": return B.Display_0; case "inline-block": return B.Display_2; case "inline": return B.Display_1; case "list-item": return B.Display_3; case "none": return B.Display_4; } return B.Display_1; }, ExpressionMapping_expressionToFontFeatureSettings(value) { var t1, i, exp, t2, nextExp, t3, fontFeatures = A._setArrayType([], type$.JSArray_FontFeature); for (t1 = J.getInterceptor$asx(value), i = 0; i < t1.get$length(value); ++i) { exp = t1.$index(value, i); if (exp instanceof A.LiteralTerm) { t2 = exp.text; if (t2 !== "on" && t2 !== "off" && t2 !== "1" && t2 !== "0") if (i < t1.get$length(value) - 1) { nextExp = t1.$index(value, i + 1); if (nextExp instanceof A.LiteralTerm) { t3 = nextExp.text; t3 = t3 === "on" || t3 === "off" || t3 === "1" || t3 === "0"; } else t3 = false; if (t3) { t3 = nextExp.text; fontFeatures.push(new A.FontFeature(t2, t3 === "on" || t3 === "1" ? 1 : 0)); } else fontFeatures.push(new A.FontFeature(t2, 1)); } else fontFeatures.push(new A.FontFeature(t2, 1)); } } t1 = A.LinkedHashSet_LinkedHashSet$from(fontFeatures, type$.FontFeature); return A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); }, ExpressionMapping_expressionToFontSize(value) { var t1; if (value instanceof A.NumberTerm) return new A.FontSize(A.Primitives_parseDouble(value.text), ""); else if (value instanceof A.PercentageTerm) { t1 = A.Primitives_parseInt(value.text, null); t1.toString; return new A.FontSize(t1 / -100, "%"); } else if (value instanceof A.EmTerm) return new A.FontSize(A.Primitives_parseDouble(value.text), "em"); else if (value instanceof A.RemTerm) { t1 = A.Primitives_parseDouble(value.text); t1.toString; return new A.FontSize(t1 * 16 - 2, "rem"); } else if (value instanceof A.LengthTerm) { t1 = A.RegExp_RegExp("\\s+(\\d+\\.\\d+)\\s+", true, false); return new A.FontSize(A.Primitives_parseDouble(A.stringReplaceAllUnchecked(value.text, t1, "")), ""); } else if (value instanceof A.LiteralTerm) switch (value.text) { case "xx-small": return B.FontSize_i69; case "x-small": return B.FontSize_MYA; case "small": return B.FontSize_kjl; case "medium": return B.FontSize_62F; case "large": return B.FontSize_4UD; case "x-large": return B.FontSize_62F0; case "xx-large": return B.FontSize_62F1; } return null; }, ExpressionMapping_expressionToFontStyle(value) { if (value instanceof A.LiteralTerm) { switch (value.text) { case "italic": case "oblique": return B.FontStyle_1; } return B.FontStyle_0; } return B.FontStyle_0; }, ExpressionMapping_expressionToFontWeight(value) { if (value instanceof A.NumberTerm) switch (value.text) { case "100": return B.FontWeight_0; case "200": return B.FontWeight_1; case "300": return B.FontWeight_2; case "400": return B.FontWeight_3; case "500": return B.FontWeight_4; case "600": return B.FontWeight_5; case "700": return B.FontWeight_6; case "800": return B.FontWeight_7; case "900": return B.FontWeight_8; } else if (value instanceof A.LiteralTerm) { switch (value.text) { case "bold": return B.FontWeight_6; case "bolder": return B.FontWeight_8; case "lighter": return B.FontWeight_1; } return B.FontWeight_3; } return B.FontWeight_3; }, ExpressionMapping_expressionToFontFamily(value) { if (value instanceof A.LiteralTerm) return value.text; return null; }, ExpressionMapping_expressionToLineHeight(value) { var t1; if (value instanceof A.NumberTerm) { t1 = A.Primitives_parseDouble(value.text); t1.toString; return new A.LineHeight(t1 * 1.2, "number"); } else if (value instanceof A.PercentageTerm) { t1 = A.Primitives_parseDouble(value.text); t1.toString; return new A.LineHeight(t1 / 100 * 1.2, "%"); } else if (value instanceof A.EmTerm) { t1 = A.Primitives_parseDouble(value.text); t1.toString; return new A.LineHeight(t1 * 1.2, "em"); } else if (value instanceof A.RemTerm) { t1 = A.Primitives_parseDouble(value.text); t1.toString; return new A.LineHeight(t1 * 1.2, "rem"); } else if (value instanceof A.LengthTerm) { t1 = A.RegExp_RegExp("\\s+(\\d+\\.\\d+)\\s+", true, false); return new A.LineHeight(A.Primitives_parseDouble(A.stringReplaceAllUnchecked(value.text, t1, "")), "length"); } return B.LineHeight_Jp8; }, ExpressionMapping_expressionToListStyleType(value) { switch (value.text) { case "disc": return B.ListStyleType_5; case "circle": return B.ListStyleType_4; case "decimal": return B.ListStyleType_6; case "lower-alpha": return B.ListStyleType_0; case "lower-latin": return B.ListStyleType_2; case "lower-roman": return B.ListStyleType_7; case "square": return B.ListStyleType_9; case "upper-alpha": return B.ListStyleType_1; case "upper-latin": return B.ListStyleType_3; case "upper-roman": return B.ListStyleType_8; } return null; }, ExpressionMapping_expressionToPadding(lengths) { var $top, right, bottom, left, _null = null, t1 = lengths.length; if (t1 !== 0) { $top = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$first(lengths)); if (lengths.length === 4) { right = A.ExpressionMapping_expressionToPaddingLength(lengths[1]); bottom = A.ExpressionMapping_expressionToPaddingLength(lengths[2]); left = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$last(lengths)); } else { bottom = _null; right = bottom; left = right; } if (lengths.length === 3) { left = A.ExpressionMapping_expressionToPaddingLength(lengths[1]); right = A.ExpressionMapping_expressionToPaddingLength(lengths[1]); bottom = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$last(lengths)); } if (lengths.length === 2) { bottom = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$first(lengths)); left = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$last(lengths)); right = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$last(lengths)); } if (lengths.length === 1) { bottom = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$first(lengths)); left = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$first(lengths)); right = A.ExpressionMapping_expressionToPaddingLength(B.JSArray_methods.get$first(lengths)); } } else { bottom = _null; $top = bottom; right = $top; left = right; } return A._setArrayType([left, right, $top, bottom], type$.JSArray_nullable_double); }, ExpressionMapping_expressionToPaddingLength(value) { var t1; if (value instanceof A.NumberTerm) return A.Primitives_parseDouble(value.text); else if (value instanceof A.EmTerm) return A.Primitives_parseDouble(value.text); else if (value instanceof A.RemTerm) return A.Primitives_parseDouble(value.text); else if (value instanceof A.LengthTerm) { t1 = A.RegExp_RegExp("\\s+(\\d+\\.\\d+)\\s+", true, false); return A.Primitives_parseDouble(A.stringReplaceAllUnchecked(value.text, t1, "")); } return null; }, ExpressionMapping_expressionToTextAlign(value) { if (value instanceof A.LiteralTerm) switch (value.text) { case "center": return B.TextAlign_2; case "left": return B.TextAlign_0; case "right": return B.TextAlign_1; case "justify": return B.TextAlign_3; case "end": return B.TextAlign_5; case "start": return B.TextAlign_4; } return B.TextAlign_4; }, ExpressionMapping_expressionToTextDecorationLine(value) { var t2, _i, term, t1 = type$.JSArray_TextDecoration, decorationList = A._setArrayType([], t1); for (t2 = value.length, _i = 0; _i < value.length; value.length === t2 || (0, A.throwConcurrentModificationError)(value), ++_i) { term = value[_i]; if (term != null) switch (term.text) { case "overline": decorationList.push(B.TextDecoration_2); break; case "underline": decorationList.push(B.TextDecoration_1); break; case "line-through": decorationList.push(B.TextDecoration_4); break; default: decorationList.push(B.TextDecoration_0); break; } } return A.TextDecoration_TextDecoration$combine(B.JSArray_methods.contains$1(decorationList, B.TextDecoration_0) ? A._setArrayType([B.TextDecoration_0], t1) : decorationList); }, ExpressionMapping_expressionToTextDecorationStyle(value) { switch (value.text) { case "wavy": return B.TextDecorationStyle_4; case "dotted": return B.TextDecorationStyle_2; case "dashed": return B.TextDecorationStyle_3; case "double": return B.TextDecorationStyle_1; default: return B.TextDecorationStyle_0; } }, ExpressionMapping_expressionToTextShadow(value) { var t1, t2, t3, previousIndex, _i, i, list, nonNumberRegex, t4, t5, t6, shadow = A._setArrayType([], type$.JSArray_Shadow), indices = A._setArrayType([], type$.JSArray_int), valueList = A._setArrayType([], type$.JSArray_List_Expression); for (t1 = J.getInterceptor$ax(value), t2 = t1.get$iterator(value); t2.moveNext$0();) { t3 = t2.get$current(t2); if (t3 instanceof A.OperatorComma) indices.push(t1.indexOf$1(value, t3)); } indices.push(t1.get$length(value)); for (t2 = indices.length, previousIndex = 0, _i = 0; _i < indices.length; indices.length === t2 || (0, A.throwConcurrentModificationError)(indices), ++_i) { i = indices[_i]; valueList.push(t1.sublist$2(value, previousIndex, i)); previousIndex = i + 1; } for (t1 = valueList.length, t2 = type$.LiteralTerm, _i = 0; _i < valueList.length; valueList.length === t1 || (0, A.throwConcurrentModificationError)(valueList), ++_i) { t3 = {}; list = valueList[_i]; t3.color = t3.blurRadius = t3.offsetY = t3.offsetX = null; t3.expressionIndex = 0; J.forEach$1$ax(list, new A.ExpressionMapping_expressionToTextShadow_closure(t3)); nonNumberRegex = A.RegExp_RegExp("\\s+(\\d+\\.\\d+)\\s+", true, false); if (t3.offsetX instanceof A.LiteralTerm && t3.offsetY instanceof A.LiteralTerm) { t4 = t3.color; if (t4 != null && A.ExpressionMapping_expressionToColor(t4) != null) { t4 = A.ExpressionMapping_expressionToColor(t3.color); t4.toString; t5 = t2._as(t3.offsetX); t5 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t5.text, nonNumberRegex, "")); t5.toString; t6 = t2._as(t3.offsetY); t6 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t6.text, nonNumberRegex, "")); t6.toString; t3 = t3.blurRadius; if (t3 instanceof A.LiteralTerm) { t3 = t3.text; t3 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t3, nonNumberRegex, "")); t3.toString; } else t3 = 0; shadow.push(new A.Shadow(t4, new A.Offset(t5, t6), t3)); } else { t4 = t2._as(t3.offsetX); t4 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t4.text, nonNumberRegex, "")); t4.toString; t5 = t2._as(t3.offsetY); t5 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t5.text, nonNumberRegex, "")); t5.toString; t3 = t3.blurRadius; if (t3 instanceof A.LiteralTerm) { t3 = t3.text; t3 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(t3, nonNumberRegex, "")); t3.toString; } else t3 = 0; shadow.push(new A.Shadow(B.Color_4278190080, new A.Offset(t4, t5), t3)); } } } t1 = A.LinkedHashSet_LinkedHashSet$from(shadow, type$.Shadow); return A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); }, ExpressionMapping_stringToColor(_text) { var text = B.JSString_methods.replaceFirst$2(_text, "#", ""); if (text.length === 3) text = A.stringReplaceAllFuncUnchecked(text, A.RegExp_RegExp("[a-f]|\\d", false, false), new A.ExpressionMapping_stringToColor_closure(), null); return new A.Color(A.int_parse(text.length > 6 ? "0x" + text : "0xFF" + text, null) >>> 0); }, ExpressionMapping_rgbOrRgbaToColor(text) { var rgbaValues, t2, exception, t1 = A.stringReplaceAllUnchecked(text, ")", ""), rgbaText = A.stringReplaceAllUnchecked(t1, " ", ""); try { t1 = J.split$1$s(rgbaText, ","); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,double>"); rgbaValues = A.List_List$of(new A.MappedListIterable(t1, new A.ExpressionMapping_rgbOrRgbaToColor_closure(), t2), true, t2._eval$1("ListIterable.E")); if (J.get$length$asx(rgbaValues) === 4) { t1 = A.Color$fromRGBO(J.toInt$0$n(J.$index$asx(rgbaValues, 0)), J.toInt$0$n(J.$index$asx(rgbaValues, 1)), J.toInt$0$n(J.$index$asx(rgbaValues, 2)), J.$index$asx(rgbaValues, 3)); return t1; } else if (J.get$length$asx(rgbaValues) === 3) { t1 = A.Color$fromRGBO(J.toInt$0$n(J.$index$asx(rgbaValues, 0)), J.toInt$0$n(J.$index$asx(rgbaValues, 1)), J.toInt$0$n(J.$index$asx(rgbaValues, 2)), 1); return t1; } return null; } catch (exception) { return null; } }, ExpressionMapping_hslToRgbToColor(text) { var t3, t4, t1 = A.stringReplaceAllUnchecked(text, ")", ""), t2 = type$.JSArray_String, hslValues = A._setArrayType(A._setArrayType(A.stringReplaceAllUnchecked(t1, " ", "").split(","), t2).slice(0), t2), parsedHsl = A._setArrayType([], type$.JSArray_nullable_double); B.JSArray_methods.forEach$1(hslValues, new A.ExpressionMapping_hslToRgbToColor_closure(parsedHsl, hslValues)); if (parsedHsl.length === 4 && !B.JSArray_methods.contains$1(parsedHsl, null)) { t1 = B.JSArray_methods.get$last(parsedHsl); t1.toString; t2 = B.JSArray_methods.get$first(parsedHsl); t2.toString; t3 = parsedHsl[1]; t3.toString; t4 = parsedHsl[2]; t4.toString; return new A.HSLColor(t1, t2, t3, t4).toColor$0(); } else if (parsedHsl.length === 3 && !B.JSArray_methods.contains$1(parsedHsl, null)) { t1 = B.JSArray_methods.get$first(parsedHsl); t1.toString; t2 = parsedHsl[1]; t2.toString; t3 = B.JSArray_methods.get$last(parsedHsl); t3.toString; return new A.HSLColor(1, t1, t2, t3).toColor$0(); } else return B.Color_4278190080; }, ExpressionMapping_namedColorToColor(text) { var t1 = $.namedColors, namedColor = t1.get$keys(t1).firstWhere$2$orElse(0, new A.ExpressionMapping_namedColorToColor_closure(text), new A.ExpressionMapping_namedColorToColor_closure0()); if (namedColor !== "") { t1 = $.namedColors.$index(0, namedColor); t1.toString; return A.ExpressionMapping_stringToColor(t1); } else return null; }, declarationsToStyle_closure: function declarationsToStyle_closure(t0) { this.style = t0; }, declarationsToStyle__closure: function declarationsToStyle__closure() { }, declarationsToStyle__closure0: function declarationsToStyle__closure0() { }, declarationsToStyle__closure1: function declarationsToStyle__closure1(t0) { this.possibleBorderValues = t0; }, declarationsToStyle__closure2: function declarationsToStyle__closure2() { }, declarationsToStyle__closure3: function declarationsToStyle__closure3() { }, declarationsToStyle__closure4: function declarationsToStyle__closure4() { }, declarationsToStyle__closure5: function declarationsToStyle__closure5(t0) { this.possibleBorderValues = t0; }, declarationsToStyle__closure6: function declarationsToStyle__closure6() { }, declarationsToStyle__closure7: function declarationsToStyle__closure7() { }, declarationsToStyle__closure8: function declarationsToStyle__closure8() { }, declarationsToStyle__closure9: function declarationsToStyle__closure9(t0) { this.possibleBorderValues = t0; }, declarationsToStyle__closure10: function declarationsToStyle__closure10() { }, declarationsToStyle__closure11: function declarationsToStyle__closure11() { }, declarationsToStyle__closure12: function declarationsToStyle__closure12() { }, declarationsToStyle__closure13: function declarationsToStyle__closure13(t0) { this.possibleBorderValues = t0; }, declarationsToStyle__closure14: function declarationsToStyle__closure14() { }, declarationsToStyle__closure15: function declarationsToStyle__closure15() { }, declarationsToStyle__closure16: function declarationsToStyle__closure16() { }, declarationsToStyle__closure17: function declarationsToStyle__closure17(t0) { this.possibleBorderValues = t0; }, declarationsToStyle__closure18: function declarationsToStyle__closure18() { }, declarationsToStyle__closure19: function declarationsToStyle__closure19() { }, declarationsToStyle__closure20: function declarationsToStyle__closure20() { }, declarationsToStyle__closure21: function declarationsToStyle__closure21() { }, declarationsToStyle__closure22: function declarationsToStyle__closure22() { }, DeclarationVisitor: function DeclarationVisitor(t0, t1) { var _ = this; _._css_parser$_result = t0; _._css_parser$_properties = t1; _.__DeclarationVisitor__currentProperty = _.__DeclarationVisitor__selector = $; }, DeclarationVisitor_getDeclarations_closure: function DeclarationVisitor_getDeclarations_closure(t0) { this.$this = t0; }, DeclarationVisitor_getDeclarations__closure: function DeclarationVisitor_getDeclarations__closure(t0) { this.$this = t0; }, ExpressionMapping_expressionToTextShadow_closure: function ExpressionMapping_expressionToTextShadow_closure(t0) { this._box_0 = t0; }, ExpressionMapping_stringToColor_closure: function ExpressionMapping_stringToColor_closure() { }, ExpressionMapping_rgbOrRgbaToColor_closure: function ExpressionMapping_rgbOrRgbaToColor_closure() { }, ExpressionMapping_hslToRgbToColor_closure: function ExpressionMapping_hslToRgbToColor_closure(t0, t1) { this.parsedHsl = t0; this.hslValues = t1; }, ExpressionMapping_namedColorToColor_closure: function ExpressionMapping_namedColorToColor_closure(t0) { this.text = t0; }, ExpressionMapping_namedColorToColor_closure0: function ExpressionMapping_namedColorToColor_closure0() { }, InteractableElement$(children, elementId, href, $name, node, style) { return new A.InteractableElement(href, $name, elementId, B.List_empty1, children, style, node); }, parseInteractableElement(element, children) { var t2, t3, _null = null, t1 = element.localName; switch (t1) { case "a": t1.toString; t2 = element.attributes.$index(0, "href"); t3 = A.Style$(_null, _null, B.Color_0, _null, _null, B.MaterialColor_Map_JNwaj_4280391411, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, B.TextDecoration_1, _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.InteractableElement$(children, element.get$id(element), t2, t1, element, t3); default: t1.toString; return A.InteractableElement$(children, "[[No ID]]", "", t1, element, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); } }, InteractableElement: function InteractableElement(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.href = t0; _.name = t1; _.elementId = t2; _.elementClasses = t3; _.children = t4; _.style = t5; _._styled_element$_node = t6; }, TableLayoutElement$(children, $name, node) { var _null = null, t1 = node.get$id(node); return new A.TableLayoutElement($name, t1, B.List_empty1, children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), node); }, TableCellElement__parseSpan(element, attributeName) { var t1, spanValue = element.get$attributes(element).$index(0, attributeName); if (spanValue == null) t1 = 1; else { t1 = A.Primitives_parseInt(spanValue, null); if (t1 == null) t1 = 1; } return t1; }, TableStyleElement$(children, $name, node, style) { return new A.TableStyleElement($name, "[[No ID]]", B.List_empty1, children, style, node); }, parseTableDefinitionElement(element, children) { var _null = null, t1 = element.localName; switch (t1) { case "colgroup": case "col": t1.toString; return A.TableStyleElement$(children, t1, element, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); default: return A.TableStyleElement$(children, "[[No Name]]", element, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); } }, parseLayoutElement(element, children) { var t2, t3, _null = null, _s9_ = "[[No ID]]", t1 = element.localName; switch (t1) { case "details": if (children.length === 0) { t1 = A._setArrayType([], type$.JSArray_StyledElement); return new A.EmptyLayoutElement("empty", _s9_, B.List_empty1, t1, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null); } t1.toString; t2 = element.get$children(element); t3 = element.get$id(element); return new A.DetailsContentElement(t2, t1, t3, B.List_empty1, children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), element); case "table": t1.toString; return A.TableLayoutElement$(children, t1, element); case "thead": case "tbody": case "tfoot": t1.toString; return new A.TableSectionLayoutElement(t1, _s9_, B.List_empty1, children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null); case "tr": t1.toString; return new A.TableRowLayoutElement(t1, _s9_, B.List_empty1, children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), element); default: return A.TableLayoutElement$(children, "[[No Name]]", element); } }, LayoutElement: function LayoutElement() { }, TableLayoutElement: function TableLayoutElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, TableLayoutElement_toWidget_closure: function TableLayoutElement_toWidget_closure(t0, t1) { this.$this = t0; this.context = t1; }, TableLayoutElement__layoutCells_closure: function TableLayoutElement__layoutCells_closure() { }, TableLayoutElement__layoutCells_closure0: function TableLayoutElement__layoutCells_closure0(t0) { this.constraints = t0; }, TableLayoutElement__layoutCells__closure0: function TableLayoutElement__layoutCells__closure0(t0, t1) { this.colWidth = t0; this.constraints = t1; }, TableLayoutElement__layoutCells_closure1: function TableLayoutElement__layoutCells_closure1() { }, TableLayoutElement__layoutCells_closure2: function TableLayoutElement__layoutCells_closure2() { }, TableLayoutElement__layoutCells__closure: function TableLayoutElement__layoutCells__closure() { }, TableSectionLayoutElement: function TableSectionLayoutElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, TableRowLayoutElement: function TableRowLayoutElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, TableCellElement: function TableCellElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.rowspan = _.colspan = 1; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, TableStyleElement: function TableStyleElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, DetailsContentElement: function DetailsContentElement(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.elementList = t0; _.name = t1; _.elementId = t2; _.elementClasses = t3; _.children = t4; _.style = t5; _._styled_element$_node = t6; }, DetailsContentElement_toWidget_closure: function DetailsContentElement_toWidget_closure(t0) { this.context = t0; }, EmptyLayoutElement: function EmptyLayoutElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, ReplacedElement_parseMediaSources(elements) { var t2, t3, t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(elements._childNodes, t1), true, t1._eval$1("Iterable.E")); t2 = A._arrayInstanceType(t1); t3 = t2._eval$1("MappedIterable<1,String?>"); return A.List_List$of(new A.MappedIterable(new A.WhereIterable(t1, new A.ReplacedElement_parseMediaSources_closure(), t2._eval$1("WhereIterable<1>")), new A.ReplacedElement_parseMediaSources_closure0(), t3), true, t3._eval$1("Iterable.E")); }, TextContentElement$(element, node, style, text) { return new A.TextContentElement(text, node, B.PlaceholderAlignment_1, "[text]", "[[No ID]]", B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), style, element); }, EmptyContentElement$($name) { var _null = null, t1 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.EmptyContentElement(B.PlaceholderAlignment_1, $name, "[[No ID]]", B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t1, _null); }, parseReplacedElement(element, navigationDelegateForIframe) { var t2, t3, t4, t5, t6, t7, t8, t9, str, _s3_ = "src", _null = null, _s8_ = "controls", _s8_0 = "autoplay", _s5_ = "width", _s6_ = "height", t1 = element.localName; switch (t1) { case "audio": t1 = A._setArrayType([], type$.JSArray_nullable_String); if (element.attributes.$index(0, _s3_) != null) t1.push(element.attributes.$index(0, _s3_)); B.JSArray_methods.addAll$1(t1, A.ReplacedElement_parseMediaSources(element.get$children(element))); if (t1.length === 0 || B.JSArray_methods.get$first(t1) == null) return A.EmptyContentElement$("empty"); t2 = element.attributes.$index(0, _s8_); t3 = element.attributes.$index(0, "loop"); t4 = element.attributes.$index(0, _s8_0); element.attributes.$index(0, "muted"); t5 = element.get$id(element); t6 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.AudioContentElement(t1, t2 != null, t4 != null, t3 != null, B.PlaceholderAlignment_1, "audio", t5, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t6, element); case "br": return A.TextContentElement$(element, element, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.WhiteSpace_1, _null, _null), "\n"); case "iframe": t1 = element.attributes.$index(0, _s3_); t2 = element.attributes.$index(0, _s5_); t2 = A.Primitives_parseDouble(t2 == null ? "" : t2); t3 = element.attributes.$index(0, _s6_); t3 = A.Primitives_parseDouble(t3 == null ? "" : t3); t4 = A.getRandString0(10); t5 = element.get$id(element); t6 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.IframeContentElement(t1, t2, t3, new A.UniqueKey(), t4, B.PlaceholderAlignment_1, "iframe", t5, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t6, element); case "img": t1 = element.attributes.$index(0, _s3_); element.attributes.$index(0, "alt"); t2 = element.get$id(element); t3 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.ImageContentElement(t1, B.PlaceholderAlignment_5, "img", t2, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t3, element); case "video": t1 = A._setArrayType([], type$.JSArray_nullable_String); if (element.attributes.$index(0, _s3_) != null) t1.push(element.attributes.$index(0, _s3_)); B.JSArray_methods.addAll$1(t1, A.ReplacedElement_parseMediaSources(element.get$children(element))); if (t1.length === 0 || B.JSArray_methods.get$first(t1) == null) return A.EmptyContentElement$("empty"); t2 = element.attributes.$index(0, "poster"); t3 = element.attributes.$index(0, _s8_); t4 = element.attributes.$index(0, "loop"); t5 = element.attributes.$index(0, _s8_0); element.attributes.$index(0, "muted"); t6 = element.attributes.$index(0, _s5_); t6 = A.Primitives_parseDouble(t6 == null ? "" : t6); t7 = element.attributes.$index(0, _s6_); t7 = A.Primitives_parseDouble(t7 == null ? "" : t7); t8 = element.get$id(element); t9 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.VideoContentElement(t1, t2, t3 != null, t5 != null, t4 != null, t6, t7, B.PlaceholderAlignment_1, "video", t8, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t9, element); case "svg": str = new A.StringBuffer(""); element._addOuterHtml$1(str); t1 = str._contents; t2 = element.attributes.$index(0, _s5_); t2 = A.Primitives_parseDouble(t2 == null ? "" : t2); t3 = element.attributes.$index(0, _s6_); t3 = A.Primitives_parseDouble(t3 == null ? "" : t3); t4 = element.get$id(element); t5 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.SvgContentElement(t1.charCodeAt(0) == 0 ? t1 : t1, t2, t3, B.PlaceholderAlignment_5, "svg", t4, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t5, element); case "ruby": t1 = element.get$id(element); t2 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.RubyElement(element, B.PlaceholderAlignment_5, "ruby", t1, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t2, _null); case "math": t1 = element.get$id(element); t2 = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.MathElement(element, B.PlaceholderAlignment_5, "math", t1, B.List_empty1, A._setArrayType([], type$.JSArray_StyledElement), t2, _null); default: return A.EmptyContentElement$(t1 == null ? "[[No Name]]" : t1); } }, ReplacedElement: function ReplacedElement() { }, ReplacedElement_parseMediaSources_closure: function ReplacedElement_parseMediaSources_closure() { }, ReplacedElement_parseMediaSources_closure0: function ReplacedElement_parseMediaSources_closure0() { }, TextContentElement: function TextContentElement(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.text = t0; _.node = t1; _.alignment = t2; _.name = t3; _.elementId = t4; _.elementClasses = t5; _.children = t6; _.style = t7; _._styled_element$_node = t8; }, ImageContentElement: function ImageContentElement(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.src = t0; _.alignment = t1; _.name = t2; _.elementId = t3; _.elementClasses = t4; _.children = t5; _.style = t6; _._styled_element$_node = t7; }, ImageContentElement_toWidget_closure: function ImageContentElement_toWidget_closure(t0, t1, t2) { this.$this = t0; this.context = t1; this.widget = t2; }, ImageContentElement_toWidget__closure: function ImageContentElement_toWidget__closure(t0, t1, t2) { this.$this = t0; this.buildContext = t1; this.context = t2; }, AudioContentElement: function AudioContentElement(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.src = t0; _.showControls = t1; _.autoplay = t2; _.loop = t3; _.alignment = t4; _.name = t5; _.elementId = t6; _.elementClasses = t7; _.children = t8; _.style = t9; _._styled_element$_node = t10; }, VideoContentElement: function VideoContentElement(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.src = t0; _.poster = t1; _.showControls = t2; _.autoplay = t3; _.loop = t4; _.width = t5; _.height = t6; _.alignment = t7; _.name = t8; _.elementId = t9; _.elementClasses = t10; _.children = t11; _.style = t12; _._styled_element$_node = t13; }, SvgContentElement: function SvgContentElement(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.data = t0; _.width = t1; _.height = t2; _.alignment = t3; _.name = t4; _.elementId = t5; _.elementClasses = t6; _.children = t7; _.style = t8; _._styled_element$_node = t9; }, EmptyContentElement: function EmptyContentElement(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.alignment = t0; _.name = t1; _.elementId = t2; _.elementClasses = t3; _.children = t4; _.style = t5; _._styled_element$_node = t6; }, RubyElement: function RubyElement(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.element = t0; _.alignment = t1; _.name = t2; _.elementId = t3; _.elementClasses = t4; _.children = t5; _.style = t6; _._styled_element$_node = t7; }, RubyElement_toWidget_closure: function RubyElement_toWidget_closure(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.rubyYPos = t1; _.context = t2; _.rubySize = t3; _.widgets = t4; }, MathElement: function MathElement(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.element = t0; _.texStr = null; _.alignment = t1; _.name = t2; _.elementId = t3; _.elementClasses = t4; _.children = t5; _.style = t6; _._styled_element$_node = t7; }, MathElement_toWidget_closure: function MathElement_toWidget_closure(t0, t1) { this.$this = t0; this.context = t1; }, MathElement_parseMathRecursive_closure: function MathElement_parseMathRecursive_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, MathElement_parseMathRecursive_closure0: function MathElement_parseMathRecursive_closure0(t0) { this.node = t0; }, parseStyledElement(element, children) { var styledElement, target, parentNode, t2, t3, _null = null, _s5_ = "color", t1 = element.localName; t1.toString; styledElement = new A.StyledElement(t1, element.get$id(element), A.List_List$of(new A.ElementCssClassSet(element), true, type$.ElementCssClassSet._eval$1("SetMixin.E")), children, A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), element); switch (t1) { case "abbr": case "acronym": target = 1; break; case "address": target = 2; break; case "article": target = 3; break; case "aside": target = 4; break; case "b": target = 5; break; case "bdo": target = 6; break; case "big": target = 7; break; case "blockquote": target = 8; break; case "body": target = 9; break; case "center": target = 10; break; case "cite": target = 11; break; case "code": target = 12; break; case "dd": target = 13; break; case "del": target = 14; break; case "dfn": target = 15; break; case "div": target = 16; break; case "dl": target = 17; break; case "dt": target = 18; break; case "em": target = 19; break; case "figcaption": target = 20; break; case "figure": target = 21; break; case "footer": target = 22; break; case "font": target = 23; break; case "h1": target = 24; break; case "h2": target = 25; break; case "h3": target = 26; break; case "h4": target = 27; break; case "h5": target = 28; break; case "h6": target = 29; break; case "header": target = 30; break; case "hr": target = 31; break; case "html": target = 32; break; case "i": target = 33; break; case "ins": target = 34; break; case "kbd": target = 35; break; case "li": target = 36; break; case "main": target = 37; break; case "mark": target = 38; break; case "nav": target = 39; break; case "noscript": target = 40; break; case "ol": case "ul": target = 41; break; case "p": target = 42; break; case "pre": target = 43; break; case "q": target = 44; break; case "s": target = 45; break; case "samp": target = 46; break; case "section": target = 47; break; case "small": target = 48; break; case "strike": target = 49; break; case "strong": target = 50; break; case "sub": target = 51; break; case "sup": target = 52; break; case "tt": target = 53; break; case "u": target = 54; break; case "var": target = 55; break; default: target = _null; break; } if (target) c$0: for (; true;) switch (target) { case 1: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, B.TextDecoration_1, _null, B.TextDecorationStyle_2, _null, _null, _null, _null, _null, _null, _null); break c$0; case 2: target = 33; continue c$0; case 3: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 4: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 5: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 6: t1 = element.attributes.$index(0, "dir"); styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, J.$eq$(t1 == null ? "ltr" : t1, "rtl") ? B.TextDirection_0 : B.TextDirection_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 7: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, B.FontSize_iqV, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 8: parentNode = element.parentNode; if ((parentNode instanceof A.Element0 ? parentNode : _null).localName === "blockquote") styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, B.EdgeInsets_40_0_40_14, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); else styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, B.EdgeInsets_40_14_40_14, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 9: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(8, 8, 8, 8), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 10: styledElement.style = A.Style$(_null, B.Alignment_0_0, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 11: target = 33; continue c$0; case 12: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, "Monospace", _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 13: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(40, 0, 0, 0), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 14: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, B.TextDecoration_4, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 15: target = 33; continue c$0; case 16: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 0, 0, 0), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 17: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 14, 0, 14), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 18: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 19: target = 33; continue c$0; case 20: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 21: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(40, 14, 40, 14), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 22: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 23: if (element.attributes.$index(0, _s5_) != null) { t1 = element.attributes.$index(0, _s5_); t1.toString; t1 = J.startsWith$1$s(t1, "#"); t2 = element.attributes; if (t1) { t1 = t2.$index(0, _s5_); t1.toString; t1 = A.ExpressionMapping_stringToColor(t1); } else { t1 = t2.$index(0, _s5_); t1.toString; t1 = A.ExpressionMapping_namedColorToColor(t1); } } else t1 = _null; t2 = element.attributes.$index(0, "face"); t2 = t2 == null ? _null : B.JSArray_methods.get$first(J.split$1$s(t2, ",")); t3 = element.attributes.$index(0, "size"); styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, t1, _null, _null, t2, _null, A.numberToFontSize(t3 == null ? "" : t3), _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 24: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, B.FontSize_62F1, _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 18.67, 0, 18.67), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 25: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, B.FontSize_62F0, _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 17.5, 0, 17.5), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 26: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, new A.FontSize(16.38, ""), _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 16.5, 0, 16.5), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 27: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, B.FontSize_62F, _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 18.5, 0, 18.5), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 28: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, new A.FontSize(11.62, ""), _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 19.25, 0, 19.25), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 29: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, new A.FontSize(9.38, ""), _null, B.FontWeight_6, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 22, 0, 22), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 30: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 31: styledElement.style = A.Style$(_null, _null, B.Color_4278190080, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, 1, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 7, 0, 7), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 1 / 0, _null); break c$0; case 32: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 33: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, B.FontStyle_1, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 34: target = 54; continue c$0; case 35: target = 12; continue c$0; case 36: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_3, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 37: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 38: styledElement.style = A.Style$(_null, _null, B.MaterialColor_Map_JNHRl_4294961979, _null, _null, B.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 39: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 40: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 41: parentNode = element.parentNode; if ((parentNode instanceof A.Element0 ? parentNode : _null).localName === "li") styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, t1 === "ol" ? B.ListStyleType_6 : B.ListStyleType_5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); else styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, t1 === "ol" ? B.ListStyleType_6 : B.ListStyleType_5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 42: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 14, 0, 14), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 43: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, "monospace", _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, new A.EdgeInsets(0, 14, 0, 14), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.WhiteSpace_1, _null, _null); break c$0; case 44: styledElement.style = A.Style$('"', _null, B.Color_0, '"', _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 45: target = 14; continue c$0; case 46: target = 12; continue c$0; case 47: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, B.Display_0, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 48: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, B.FontSize_WRB, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 49: target = 14; continue c$0; case 50: target = 5; continue c$0; case 51: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, B.FontSize_WRB, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.VerticalAlign_1, _null, _null, _null); break c$0; case 52: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, B.FontSize_WRB, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.VerticalAlign_2, _null, _null, _null); break c$0; case 53: target = 12; continue c$0; case 54: styledElement.style = A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, B.TextDecoration_1, _null, _null, _null, _null, _null, _null, _null, _null, _null); break c$0; case 55: target = 33; continue c$0; } return styledElement; }, numberToFontSize(num) { var relativeNum; switch (num) { case "1": return B.FontSize_i69; case "2": return B.FontSize_MYA; case "3": return B.FontSize_kjl; case "4": return B.FontSize_62F; case "5": return B.FontSize_4UD; case "6": return B.FontSize_62F0; case "7": return B.FontSize_62F1; } if (B.JSString_methods.startsWith$1(num, "+")) { relativeNum = A.Primitives_parseDouble(B.JSString_methods.substring$1(num, 1)); return A.numberToFontSize(B.JSNumber_methods.toString$0(3 + (relativeNum == null ? 0 : relativeNum))); } if (B.JSString_methods.startsWith$1(num, "-")) { relativeNum = A.Primitives_parseDouble(B.JSString_methods.substring$1(num, 1)); return A.numberToFontSize(B.JSNumber_methods.toString$0(3 - (relativeNum == null ? 0 : relativeNum))); } return B.FontSize_62F; }, StyledElement: function StyledElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.elementId = t1; _.elementClasses = t2; _.children = t3; _.style = t4; _._styled_element$_node = t5; }, StyledElement_attributes_closure: function StyledElement_attributes_closure() { }, StyledElement_toString_closure: function StyledElement_toString_closure(t0) { this._box_0 = t0; }, getRandString0(len) { var i, t1 = $.$get$Random__secureRandom(), values = J.JSArray_JSArray$allocateGrowable(len, type$.int); for (i = 0; i < len; ++i) values[i] = t1.nextInt$1(255); return B.Base64Codec_Base64Encoder_true.get$encoder().convert$1(values); }, Context1: function Context1(t0, t1) { this.data = t0; this.$ti = t1; }, MultipleTapGestureDetector: function MultipleTapGestureDetector(t0, t1, t2) { this.onTap = t0; this.child = t1; this.key = t2; }, IframeContentElement: function IframeContentElement(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.src = t0; _.width = t1; _.height = t2; _.key = t3; _.createdViewId = t4; _.alignment = t5; _.name = t6; _.elementId = t7; _.elementClasses = t8; _.children = t9; _.style = t10; _._styled_element$_node = t11; }, IframeContentElement_toWidget_closure: function IframeContentElement_toWidget_closure(t0) { this.iframe = t0; }, Style$(after, alignment, backgroundColor, before, border, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, height, letterSpacing, lineHeight, listStylePosition, listStyleType, margin, markerContent, maxLines, padding, textAlign, textDecoration, textDecorationColor, textDecorationStyle, textDecorationThickness, textOverflow, textShadow, verticalAlign, whiteSpace, width, wordSpacing) { var t2, t1 = new A.Style(backgroundColor, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, height, letterSpacing, listStyleType, listStylePosition, padding, margin, textAlign, textDecoration, textDecorationColor, textDecorationStyle, textDecorationThickness, textShadow, verticalAlign, whiteSpace, width, wordSpacing, lineHeight, before, after, border, alignment, markerContent, maxLines, textOverflow); if (alignment == null) t2 = display === B.Display_0 || display === B.Display_3; else t2 = false; if (t2) t1.alignment = B.Alignment_m1_0; return t1; }, Style: function Style(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; _.backgroundColor = t0; _.color = t1; _.direction = t2; _.display = t3; _.fontFamily = t4; _.fontFeatureSettings = t5; _.fontSize = t6; _.fontStyle = t7; _.fontWeight = t8; _.height = t9; _.letterSpacing = t10; _.listStyleType = t11; _.listStylePosition = t12; _.padding = t13; _.margin = t14; _.textAlign = t15; _.textDecoration = t16; _.textDecorationColor = t17; _.textDecorationStyle = t18; _.textDecorationThickness = t19; _.textShadow = t20; _.verticalAlign = t21; _.whiteSpace = t22; _.width = t23; _.wordSpacing = t24; _.lineHeight = t25; _.before = t26; _.after = t27; _.border = t28; _.alignment = t29; _.markerContent = t30; _.maxLines = t31; _.textOverflow = t32; }, Display: function Display(t0, t1) { this.index = t0; this._core$_name = t1; }, FontSize: function FontSize(t0, t1) { this.size = t0; this.units = t1; }, LineHeight: function LineHeight(t0, t1) { this.size = t0; this.units = t1; }, ListStyleType: function ListStyleType(t0, t1) { this.index = t0; this._core$_name = t1; }, ListStylePosition: function ListStylePosition(t0, t1) { this.index = t0; this._core$_name = t1; }, VerticalAlign: function VerticalAlign(t0, t1) { this.index = t0; this._core$_name = t1; }, WhiteSpace: function WhiteSpace(t0, t1) { this.index = t0; this._core$_name = t1; }, FlutterKeyboardVisibilityPlatform: function FlutterKeyboardVisibilityPlatform() { }, FlutterKeyboardVisibilityPlugin: function FlutterKeyboardVisibilityPlugin(t0) { this._instanceToken = t0; }, _removeDuplicatesPredicate($T) { var seen = A.LinkedHashSet_LinkedHashSet$_empty($T); return seen.get$add(seen); }, sum(numbers, $T) { A.createRuntimeType($T); return J.fold$2$ax(numbers, $T._as(0), new A.sum_closure($T)); }, cumulativeSum(numbers, includeLast, $T) { return A.cumulativeSum$body(numbers, false, $T, $T); }, cumulativeSum$body($async$numbers, $async$includeLast, $async$$T, $async$type) { return A._makeSyncStarIterable(function() { var numbers = $async$numbers, includeLast = $async$includeLast, $T = $async$$T; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, current, i; return function $async$cumulativeSum($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.createRuntimeType($T); $T._as(0); t1 = numbers.$ti, t2 = new A.ListIterator(numbers, numbers.get$length(numbers), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"), current = 0; case 2: // for condition if (!t2.moveNext$0()) { // goto after for $async$goto = 3; break; } i = t1._as(t2.__internal$_current); $async$goto = 4; return current; case 4: // after yield current = $T._as(current + i); // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, sum_closure: function sum_closure(t0) { this.T = t0; }, _WhereBuilderIterable: function _WhereBuilderIterable(t0, t1, t2) { this._collections$_iterable = t0; this._predicateBuilder = t1; this.$ti = t2; }, _WhereIterator: function _WhereIterator(t0, t1, t2) { this._collections$_iterator = t0; this._collections$_f = t1; this.$ti = t2; }, GridArea: function GridArea(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.columnStart = t1; _.rowStart = t2; _.columnEnd = t3; _.rowEnd = t4; }, constraintBoundsForType(constraints, type) { var t1 = type$.MinMax_double; return type === B.TrackType_0 ? new A.MinMax(constraints.minWidth, constraints.maxWidth, t1) : new A.MinMax(constraints.minHeight, constraints.maxHeight, t1); }, _sizesToTracks(sizes) { var t1 = type$.EnumerateIterable_TrackSize; t1 = A.MappedIterable_MappedIterable(new A.EnumerateIterable(sizes, t1), new A._sizesToTracks_closure(), t1._eval$1("Iterable.E"), type$.GridTrack); return new A.UnmodifiableListView(A.List_List$of(t1, false, A._instanceType(t1)._eval$1("Iterable.E")), type$.UnmodifiableListView_GridTrack); }, _sortByGrowthPotential(a, b) { var t1 = a._growthLimit, t2 = t1 === 1 / 0, t3 = b._growthLimit; if (t2 !== (t3 === 1 / 0)) return t2 ? -1 : 1; return B.JSNumber_methods.compareTo$1(t1 - a._baseSize, t3 - b._baseSize); }, GridParentData: function GridParentData(t0, t1, t2) { var _ = this; _.columnStart = null; _.columnSpan = 1; _.rowStart = null; _.rowSpan = 1; _._areaName = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, RenderLayoutGrid: function RenderLayoutGrid(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.needsPlacement = true; _.__RenderLayoutGrid__debugChildRect = _.__RenderLayoutGrid_lastGridSizing = _.__RenderLayoutGrid__placementGrid = $; _._autoPlacementMode = t0; _._gridFit = t1; _._areasSpec = t2; _._layout_grid$_areas = t3; _._columnSizes = t4; _._rowSizes = t5; _._columnGap = t6; _._rowGap = t7; _._layout_grid$_textDirection = t8; _.DebugOverflowIndicatorMixin__indicatorLabel = t9; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t10; _.ContainerRenderObjectMixin__childCount = t11; _.ContainerRenderObjectMixin__firstChild = t12; _.ContainerRenderObjectMixin__lastChild = t13; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t14; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderLayoutGrid_getChildrenInTrack_closure: function RenderLayoutGrid_getChildrenInTrack_closure() { }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure(t0, t1) { this.$this = t0; this.type = t1; }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure0: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure0(t0, t1) { this.$this = t0; this.sizingAxis = t1; }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure1: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure1(t0, t1) { this.$this = t0; this.sizingAxis = t1; }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure2: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure2() { }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure3: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure3() { }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure4: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure4(t0, t1, t2) { this.$this = t0; this.gridSizing = t1; this.crossAxis = t2; }, RenderLayoutGrid__resolveIntrinsicTrackSizes_closure5: function RenderLayoutGrid__resolveIntrinsicTrackSizes_closure5() { }, RenderLayoutGrid__distributeCalculatedSpaceToSpannedTracks_closure: function RenderLayoutGrid__distributeCalculatedSpaceToSpannedTracks_closure() { }, RenderLayoutGrid__distributeFreeSpace_distribute: function RenderLayoutGrid__distributeFreeSpace_distribute(t0) { this._box_0 = t0; }, RenderLayoutGrid__distributeFreeSpace_closure: function RenderLayoutGrid__distributeFreeSpace_closure() { }, RenderLayoutGrid__distributeFreeSpace_closure0: function RenderLayoutGrid__distributeFreeSpace_closure0() { }, RenderLayoutGrid__stretchIntrinsicTracks_closure: function RenderLayoutGrid__stretchIntrinsicTracks_closure() { }, RenderLayoutGrid_paint_closure: function RenderLayoutGrid_paint_closure(t0, t1) { this.context = t0; this.offset = t1; }, _IntrinsicDimension0: function _IntrinsicDimension0(t0, t1) { this.index = t0; this._core$_name = t1; }, GridTrack: function GridTrack(t0, t1) { var _ = this; _.index = t0; _.sizeFunction = t1; _.sizeDuringDistribution = _._growthLimit = _._baseSize = 0; }, _sizesToTracks_closure: function _sizesToTracks_closure() { }, GridSizingInfo: function GridSizingInfo(t0, t1, t2, t3, t4) { var _ = this; _.gridSize = null; _.columnGap = t0; _.rowGap = t1; _.columnTracks = t2; _.rowTracks = t3; _.textDirection = t4; _._rowStarts = _._ltrColumnStarts = null; _.maxTracksHeight = _.maxTracksWidth = _.minHeightOfTracks = _.minWidthOfTracks = 0; _.hasRowSizing = _.hasColumnSizing = false; }, GridSizingInfo_columnStartsWithoutGaps_closure: function GridSizingInfo_columnStartsWithoutGaps_closure() { }, GridSizingInfo_rowStartsWithoutGaps_closure: function GridSizingInfo_rowStartsWithoutGaps_closure() { }, GridSizingInfo_internalGridSize_closure: function GridSizingInfo_internalGridSize_closure() { }, GridSizingInfo_internalGridSize_closure0: function GridSizingInfo_internalGridSize_closure0() { }, GridSizingInfo_baseSizesForType_closure: function GridSizingInfo_baseSizesForType_closure() { }, GridSizingInfo_sizeForAreaOnAxis_closure: function GridSizingInfo_sizeForAreaOnAxis_closure() { }, MinMax: function MinMax(t0, t1, t2) { this.min = t0; this.max = t1; this.$ti = t2; }, _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin: function _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin() { }, _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin: function _RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin() { }, computeItemPlacement(grid) { var growthAxis, fixedAxis, t1, fullyPlacedChildren, flowAxisPlacedChildren, toPlaceChildren, child, t2, childParentData, t3, t4, _i, t5, t6, t7, t8, cursor, autoFlowCursor, autoPlacement = grid._autoPlacementMode, occupancy = new A.PlacementGrid(grid, grid._columnSizes.length, grid._rowSizes.length, A.LinkedHashMap_LinkedHashMap$_empty(type$.RenderBox, type$.GridArea)); occupancy.PlacementGrid$1$grid(grid); growthAxis = autoPlacement.trackType === B.TrackType_1 ? B.Axis_1 : B.Axis_0; fixedAxis = A.flipAxis(growthAxis); t1 = type$.JSArray_RenderBox; fullyPlacedChildren = A._setArrayType([], t1); flowAxisPlacedChildren = A._setArrayType([], t1); toPlaceChildren = A._setArrayType([], t1); child = grid.ContainerRenderObjectMixin__firstChild; for (t1 = growthAxis === B.Axis_0, t2 = type$.GridParentData; child != null;) { childParentData = t2._as(child.parentData); t3 = childParentData.columnStart == null; t4 = !t3; if (t4 && childParentData.rowStart != null) fullyPlacedChildren.push(child); else if (t1 ? t4 : childParentData.rowStart != null) flowAxisPlacedChildren.push(child); else if (!(t3 && childParentData.columnSpan == null && childParentData.rowStart == null && childParentData.rowSpan == null)) toPlaceChildren.push(child); child = childParentData.ContainerParentDataMixin_nextSibling; } for (t3 = fullyPlacedChildren.length, _i = 0; _i < fullyPlacedChildren.length; fullyPlacedChildren.length === t3 || (0, A.throwConcurrentModificationError)(fullyPlacedChildren), ++_i) { child = fullyPlacedChildren[_i]; childParentData = t2._as(child.parentData); t4 = childParentData._areaName; t5 = childParentData.columnStart; t5.toString; t6 = childParentData.columnSpan; t6.toString; t7 = childParentData.rowStart; t7.toString; t8 = childParentData.rowSpan; t8.toString; occupancy.addItemToArea$2(child, new A.GridArea(t4, t5, t7, t5 + t6, t7 + t8)); } for (t3 = flowAxisPlacedChildren.length, _i = 0; _i < flowAxisPlacedChildren.length; flowAxisPlacedChildren.length === t3 || (0, A.throwConcurrentModificationError)(flowAxisPlacedChildren), ++_i) { child = flowAxisPlacedChildren[_i]; childParentData = t2._as(child.parentData); cursor = new A.PlacementGridCursor(occupancy, autoPlacement); cursor.fixedTrackIndex = t1 ? childParentData.columnStart : childParentData.rowStart; cursor.fixedAxis = growthAxis; occupancy.addItemToArea$2(child, cursor.moveToNextEmptyArea$2(childParentData.columnSpan, childParentData.rowSpan)); } autoFlowCursor = new A.PlacementGridCursor(occupancy, autoPlacement); for (t1 = toPlaceChildren.length, t3 = fixedAxis === B.Axis_0, _i = 0; _i < toPlaceChildren.length; toPlaceChildren.length === t1 || (0, A.throwConcurrentModificationError)(toPlaceChildren), ++_i) { child = toPlaceChildren[_i]; childParentData = t2._as(child.parentData); if (t3 ? childParentData.columnStart != null : childParentData.rowStart != null) { autoFlowCursor.fixedTrackIndex = t3 ? childParentData.columnStart : childParentData.rowStart; autoFlowCursor.fixedAxis = growthAxis; } else autoFlowCursor.fixedAxis = autoFlowCursor.fixedTrackIndex = null; occupancy.addItemToArea$2(child, autoFlowCursor.moveToNextEmptyArea$2(childParentData.columnSpan, childParentData.rowSpan)); } return occupancy; }, PlacementGrid: function PlacementGrid(t0, t1, t2, t3) { var _ = this; _.grid = t0; _.explicitColumnCount = t1; _.explicitRowCount = t2; _.itemAreas = t3; _.__PlacementGrid__cells = $; }, PlacementGrid_checkIsVacant_closure: function PlacementGrid_checkIsVacant_closure() { }, PlacementGrid_toString_closure: function PlacementGrid_toString_closure() { }, PlacementGrid_toString_closure0: function PlacementGrid_toString_closure0() { }, PlacementGridCursor: function PlacementGridCursor(t0, t1) { var _ = this; _.grid = t0; _.autoPlacementMode = t1; _.currentRow = _.currentColumn = -1; _.fixedAxis = _.fixedTrackIndex = null; }, PlacementGridCursor__moveFixedToNext_closure: function PlacementGridCursor__moveFixedToNext_closure(t0, t1) { this.$this = t0; this.traversalAxis = t1; }, PlacementGridCursor__moveAutoToNext_closure: function PlacementGridCursor__moveAutoToNext_closure(t0, t1) { this.$this = t0; this.fixedAxis = t1; }, PlacementGridCursor__moveAutoToNext_closure0: function PlacementGridCursor__moveAutoToNext_closure0(t0, t1) { this.$this = t0; this.growthAxis = t1; }, GridCell: function GridCell(t0, t1, t2) { this.grid = t0; this.index = t1; this.occupants = t2; }, trackSizeListsEqual(a, b) { if (a === b) return true; return a.length === b.length && A.zip(A._setArrayType([a, b], type$.JSArray_List_TrackSize), type$.TrackSize).every$1(0, new A.trackSizeListsEqual_closure()); }, TrackType: function TrackType(t0, t1) { this.index = t0; this._core$_name = t1; }, TrackSize: function TrackSize() { }, FixedTrackSize: function FixedTrackSize(t0, t1) { this.sizeInPx = t0; this.debugLabel = t1; }, FlexibleTrackSize: function FlexibleTrackSize(t0, t1) { this.flexFactor = t0; this.debugLabel = t1; }, IntrinsicContentTrackSize: function IntrinsicContentTrackSize(t0) { this.debugLabel = t0; }, IntrinsicContentTrackSize_minIntrinsicSize_closure: function IntrinsicContentTrackSize_minIntrinsicSize_closure() { }, IntrinsicContentTrackSize_minIntrinsicSize_closure0: function IntrinsicContentTrackSize_minIntrinsicSize_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.type = t2; }, IntrinsicContentTrackSize_maxIntrinsicSize_closure: function IntrinsicContentTrackSize_maxIntrinsicSize_closure(t0, t1, t2) { this.$this = t0; this.type = t1; this.crossAxisSizeForItem = t2; }, trackSizeListsEqual_closure: function trackSizeListsEqual_closure() { }, _TrackSize_Object_Diagnosticable: function _TrackSize_Object_Diagnosticable() { }, AutoPlacement: function AutoPlacement(t0, t1) { this.trackType = t0; this.packing = t1; }, GridFit: function GridFit(t0, t1) { this.index = t0; this._core$_name = t1; }, LayoutGrid: function LayoutGrid(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.gridFit = t0; _.columnSizes = t1; _.rowSizes = t2; _.columnGap = t3; _.rowGap = t4; _.children = t5; _.key = t6; }, AutoPlacementPacking: function AutoPlacementPacking(t0, t1) { this.index = t0; this._core$_name = t1; }, GridPlacement: function GridPlacement(t0, t1, t2, t3, t4, t5) { var _ = this; _.columnStart = t0; _.columnSpan = t1; _.rowStart = t2; _.rowSpan = t3; _.child = t4; _.key = t5; }, kFallbackStyle_closure: function kFallbackStyle_closure() { }, _BlockElement: function _BlockElement(t0, t1) { this.tag = t0; this.children = t1; this.nextListIndex = 0; }, _TableElement0: function _TableElement0(t0) { this.rows = t0; }, _InlineElement: function _InlineElement(t0, t1) { this.style = t0; this.children = t1; }, MarkdownBuilder: function MarkdownBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.delegate = t0; _.selectionControls = t1; _.selectable = t2; _.styleSheet = t3; _.imageDirectory = t4; _.imageBuilder = t5; _.checkboxBuilder = t6; _.bulletBuilder = t7; _.builders = t8; _.paddingBuilders = t9; _.fitContent = t10; _.listItemCrossAxisAlignment = t11; _.onTapText = t12; _.softLineBreak = t13; _._listIndents = t14; _._builder$_blocks = t15; _._tables = t16; _._inlines = t17; _._linkHandlers = t18; _._lastTag = _._currentBlockTag = null; _._isInBlockquote = false; }, MarkdownBuilder_extractTextFromElement_closure: function MarkdownBuilder_extractTextFromElement_closure(t0) { this.$this = t0; }, MarkdownBuilder_visitText_trimText: function MarkdownBuilder_visitText_trimText(t0) { this.$this = t0; }, MarkdownBuilder__mergeInlineChildren_closure: function MarkdownBuilder__mergeInlineChildren_closure() { }, MarkdownStyleSheet$(a, blockSpacing, blockquote, blockquoteAlign, blockquoteDecoration, blockquotePadding, checkbox, code, codeblockAlign, codeblockDecoration, codeblockPadding, del, em, h1, h1Align, h1Padding, h2, h2Align, h2Padding, h3, h3Align, h3Padding, h4, h4Align, h4Padding, h5, h5Align, h5Padding, h6, h6Align, h6Padding, horizontalRuleDecoration, img, listBullet, listBulletPadding, listIndent, orderedListAlign, p, pPadding, strong, tableBody, tableBorder, tableCellsDecoration, tableCellsPadding, tableColumnWidth, tableHead, tableHeadAlign, textAlign, textScaleFactor, unorderedListAlign) { return new A.MarkdownStyleSheet(a, p, pPadding, code, h1, h1Padding, h2, h2Padding, h3, h3Padding, h4, h4Padding, h5, h5Padding, h6, h6Padding, em, strong, del, blockquote, img, checkbox, blockSpacing, listIndent, listBullet, listBulletPadding, tableHead, tableBody, tableHeadAlign, tableBorder, tableColumnWidth, tableCellsPadding, tableCellsDecoration, blockquotePadding, blockquoteDecoration, codeblockPadding, codeblockDecoration, horizontalRuleDecoration, textAlign, h1Align, h2Align, h3Align, h4Align, h5Align, h6Align, unorderedListAlign, orderedListAlign, blockquoteAlign, codeblockAlign, textScaleFactor, A.LinkedHashMap_LinkedHashMap$_literal(["a", a, "p", p, "li", p, "code", code, "pre", p, "h1", h1, "h2", h2, "h3", h3, "h4", h4, "h5", h5, "h6", h6, "em", em, "strong", strong, "del", del, "blockquote", blockquote, "img", img, "table", p, "th", tableHead, "tr", tableBody, "td", tableBody], type$.String, type$.nullable_TextStyle)); }, MarkdownStyleSheet_MarkdownStyleSheet$fromTheme(theme) { var t3, t4, t5, t6, t7, t8, t9, t10, t11, _null = null, t1 = theme.textTheme, t2 = t1.bodyText2; t2.toString; t3 = theme.cardTheme.color; t4 = t3 == null; t5 = t4 ? theme.cardColor : t3; t6 = t2.fontSize; t6.toString; t6 = t2.copyWith$3$backgroundColor$fontFamily$fontSize(t5, "monospace", t6 * 0.85); t5 = t1.bodyText1; t7 = t2.copyWith$1$color(theme.primaryColor); t8 = theme.dividerColor; t9 = A.TableBorder_TableBorder$all(t8, 1); t10 = B.Map_JNwaj.$index(0, 100); t10.toString; t11 = A.BorderRadius$circular(2); if (t4) t3 = theme.cardColor; return A.MarkdownStyleSheet$(B.TextStyle_6C4, 8, t2, B.WrapAlignment_0, new A.BoxDecoration(t10, _null, _null, t11, _null, _null, B.BoxShape_0), B.EdgeInsets_8_8_8_8, t7, t6, B.WrapAlignment_0, new A.BoxDecoration(t3, _null, _null, A.BorderRadius$circular(2), _null, _null, B.BoxShape_0), B.EdgeInsets_8_8_8_8, B.TextStyle_3WR0, B.TextStyle_e3N, t1.headline5, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t1.headline6, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t1.subtitle1, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t5, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t5, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t5, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, new A.BoxDecoration(_null, _null, new A.Border(new A.BorderSide(t8, 5, B.BorderStyle_1), B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), t2, t2, B.EdgeInsets_0_0_4_0, 24, B.WrapAlignment_0, t2, B.EdgeInsets_0_0_0_0, B.TextStyle_oqK, t2, t9, B.BoxDecoration_423, B.EdgeInsets_16_8_16_8, B.C_FlexColumnWidth, B.TextStyle_oqK1, B.TextAlign_2, B.WrapAlignment_0, _null, B.WrapAlignment_0); }, MarkdownStyleSheet_MarkdownStyleSheet$fromCupertinoTheme(theme) { var 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, t1 = theme.get$textTheme(); t1 = t1.get$textStyle(t1); t1 = t1.copyWith$1$color(theme.get$brightness() === B.Brightness_0 ? B.Color_4278813951 : B.Color_4278221567); t2 = theme.get$textTheme(); t2 = t2.get$textStyle(t2); t3 = theme.get$textTheme(); t3 = t3.get$textStyle(t3); t4 = theme.get$brightness() === B.Brightness_0 ? B.Color_4280032286 : B.Color_4294111991; t5 = theme.get$textTheme(); t5 = t5.get$textStyle(t5).fontSize; t5.toString; t5 = t3.copyWith$3$backgroundColor$fontFamily$fontSize(t4, "monospace", t5 * 0.85); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4); t3 = theme.get$textTheme(); t3 = t3.get$textStyle(t3).fontSize; t3.toString; t3 = t4.copyWith$2$fontSize$fontWeight(t3 + 10, B.FontWeight_4); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4); t6 = theme.get$textTheme(); t6 = t6.get$textStyle(t6).fontSize; t6.toString; t6 = t4.copyWith$2$fontSize$fontWeight(t6 + 8, B.FontWeight_4); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4); t7 = theme.get$textTheme(); t7 = t7.get$textStyle(t7).fontSize; t7.toString; t7 = t4.copyWith$2$fontSize$fontWeight(t7 + 6, B.FontWeight_4); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4); t8 = theme.get$textTheme(); t8 = t8.get$textStyle(t8).fontSize; t8.toString; t8 = t4.copyWith$2$fontSize$fontWeight(t8 + 4, B.FontWeight_4); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4); t9 = theme.get$textTheme(); t9 = t9.get$textStyle(t9).fontSize; t9.toString; t9 = t4.copyWith$2$fontSize$fontWeight(t9 + 2, B.FontWeight_4); t4 = theme.get$textTheme(); t4 = t4.get$textStyle(t4).copyWith$1$fontWeight(B.FontWeight_4); t10 = theme.get$textTheme(); t10 = t10.get$textStyle(t10).copyWith$1$fontStyle(B.FontStyle_1); t11 = theme.get$textTheme(); t11 = t11.get$textStyle(t11).copyWith$1$fontWeight(B.FontWeight_6); t12 = theme.get$textTheme(); t12 = t12.get$textStyle(t12).copyWith$1$decoration(B.TextDecoration_4); t13 = theme.get$textTheme(); t13 = t13.get$textStyle(t13); t14 = theme.get$textTheme(); t14 = t14.get$textStyle(t14); t15 = theme.get$textTheme(); t15 = t15.get$textStyle(t15).copyWith$1$color(theme.get$primaryColor()); t16 = theme.get$textTheme(); t16 = t16.get$textStyle(t16); t17 = theme.get$textTheme(); t17 = t17.get$textStyle(t17).copyWith$1$fontWeight(B.FontWeight_5); t18 = theme.get$textTheme(); t18 = t18.get$textStyle(t18); t19 = A.TableBorder_TableBorder$all(B.CupertinoDynamicColor_SZk, 0); t20 = theme.get$brightness() === B.Brightness_0 ? B.Color_4280032286 : B.Color_4294111991; t21 = theme.get$brightness() === B.Brightness_0 ? B.Color_4280032286 : B.Color_4294111991; t22 = theme.get$brightness() === B.Brightness_0 ? B.Color_4282006076 : B.Color_4291940822; t23 = theme.get$brightness() === B.Brightness_0 ? B.Color_4280032286 : B.Color_4294111991; t24 = theme.get$brightness() === B.Brightness_0 ? B.Color_4282006076 : B.Color_4291940822; return A.MarkdownStyleSheet$(t1, 8, t13, B.WrapAlignment_0, new A.BoxDecoration(t21, _null, new A.Border(B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF, new A.BorderSide(t22, 4, B.BorderStyle_1)), _null, _null, _null, B.BoxShape_0), B.EdgeInsets_16_16_16_16, t15, t5, B.WrapAlignment_0, new A.BoxDecoration(t23, _null, _null, _null, _null, _null, B.BoxShape_0), B.EdgeInsets_8_8_8_8, t12, t10, t3, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t6, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t7, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t8, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t9, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, t4, B.WrapAlignment_0, B.EdgeInsets_0_0_0_0, new A.BoxDecoration(_null, _null, new A.Border(new A.BorderSide(t24, 1, B.BorderStyle_1), B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), t14, t16, B.EdgeInsets_0_0_4_0, 24, B.WrapAlignment_0, t2, B.EdgeInsets_0_0_0_0, t11, t18, t19, new A.BoxDecoration(t20, _null, _null, _null, _null, _null, B.BoxShape_0), B.EdgeInsets_16_8_16_8, B.C_FlexColumnWidth, t17, B.TextAlign_2, B.WrapAlignment_0, _null, B.WrapAlignment_0); }, MarkdownStyleSheet: function MarkdownStyleSheet(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) { var _ = this; _.a = t0; _.p = t1; _.pPadding = t2; _.code = t3; _.h1 = t4; _.h1Padding = t5; _.h2 = t6; _.h2Padding = t7; _.h3 = t8; _.h3Padding = t9; _.h4 = t10; _.h4Padding = t11; _.h5 = t12; _.h5Padding = t13; _.h6 = t14; _.h6Padding = t15; _.em = t16; _.strong = t17; _.del = t18; _.blockquote = t19; _.img = t20; _.checkbox = t21; _.blockSpacing = t22; _.listIndent = t23; _.listBullet = t24; _.listBulletPadding = t25; _.tableHead = t26; _.tableBody = t27; _.tableHeadAlign = t28; _.tableBorder = t29; _.tableColumnWidth = t30; _.tableCellsPadding = t31; _.tableCellsDecoration = t32; _.blockquotePadding = t33; _.blockquoteDecoration = t34; _.codeblockPadding = t35; _.codeblockDecoration = t36; _.horizontalRuleDecoration = t37; _.textAlign = t38; _.h1Align = t39; _.h2Align = t40; _.h3Align = t41; _.h4Align = t42; _.h5Align = t43; _.h6Align = t44; _.unorderedListAlign = t45; _.orderedListAlign = t46; _.blockquoteAlign = t47; _.codeblockAlign = t48; _.textScaleFactor = t49; _._styles = t50; }, MarkdownBody$(data, fitContent, imageBuilder, selectable, selectionControls, shrinkWrap, styleSheet) { var _null = null; return new A.MarkdownBody(true, data, selectionControls, selectable, styleSheet, _null, _null, _null, _null, _null, _null, _null, _null, imageBuilder, _null, _null, B.Map_empty11, B.Map_empty12, true, B.MarkdownListItemCrossAxisAlignment_0, false, _null); }, MarkdownStyleSheetBaseTheme: function MarkdownStyleSheetBaseTheme(t0, t1) { this.index = t0; this._core$_name = t1; }, MarkdownListItemCrossAxisAlignment: function MarkdownListItemCrossAxisAlignment(t0, t1) { this.index = t0; this._core$_name = t1; }, MarkdownWidget: function MarkdownWidget() { }, _MarkdownWidgetState: function _MarkdownWidgetState(t0, t1) { var _ = this; _._widget$_children = null; _._widget$_recognizers = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _MarkdownWidgetState_createLink_closure: function _MarkdownWidgetState_createLink_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.text = t1; _.href = t2; _.title = t3; }, MarkdownBody: function MarkdownBody(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21) { var _ = this; _.shrinkWrap = t0; _.data = t1; _.selectionControls = t2; _.selectable = t3; _.styleSheet = t4; _.styleSheetTheme = t5; _.syntaxHighlighter = t6; _.onTapLink = t7; _.onTapText = t8; _.imageDirectory = t9; _.blockSyntaxes = t10; _.inlineSyntaxes = t11; _.extensionSet = t12; _.imageBuilder = t13; _.checkboxBuilder = t14; _.bulletBuilder = t15; _.builders = t16; _.paddingBuilders = t17; _.fitContent = t18; _.listItemCrossAxisAlignment = t19; _.softLineBreak = t20; _.key = t21; }, TaskListSyntax: function TaskListSyntax(t0, t1) { this.pattern = t0; this._startCharacter = t1; }, AccentRenderConfig: function AccentRenderConfig(t0, t1, t2) { this.overChar = t0; this.overImageName = t1; this.underImageName = t2; }, FontMetrics_fromMap(map) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, exception; try { map.$index(0, "slant").toString; map.$index(0, "space").toString; map.$index(0, "stretch").toString; map.$index(0, "shrink").toString; t1 = map.$index(0, "xHeight"); t1.toString; t2 = map.$index(0, "quad"); t2.toString; map.$index(0, "extraSpace").toString; t3 = map.$index(0, "num1"); t3.toString; t4 = map.$index(0, "num2"); t4.toString; t5 = map.$index(0, "num3"); t5.toString; t6 = map.$index(0, "denom1"); t6.toString; t7 = map.$index(0, "denom2"); t7.toString; t8 = map.$index(0, "sup1"); t8.toString; t9 = map.$index(0, "sup2"); t9.toString; t10 = map.$index(0, "sup3"); t10.toString; t11 = map.$index(0, "sub1"); t11.toString; t12 = map.$index(0, "sub2"); t12.toString; t13 = map.$index(0, "supDrop"); t13.toString; t14 = map.$index(0, "subDrop"); t14.toString; map.$index(0, "delim1").toString; map.$index(0, "delim2").toString; t15 = map.$index(0, "axisHeight"); t15.toString; t16 = map.$index(0, "defaultRuleThickness"); t16.toString; t17 = map.$index(0, "bigOpSpacing1"); t17.toString; t18 = map.$index(0, "bigOpSpacing2"); t18.toString; t19 = map.$index(0, "bigOpSpacing3"); t19.toString; t20 = map.$index(0, "bigOpSpacing4"); t20.toString; t21 = map.$index(0, "bigOpSpacing5"); t21.toString; t22 = map.$index(0, "sqrtRuleThickness"); t22.toString; map.$index(0, "ptPerEm").toString; map.$index(0, "doubleRuleSep").toString; map.$index(0, "arrayRuleWidth").toString; map.$index(0, "fboxsep").toString; t23 = map.$index(0, "fboxrule"); t23.toString; return new A.FontMetrics(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23); } catch (exception) { if (type$.Error._is(A.unwrapException(exception))) return null; else throw exception; } }, FontMetrics: function FontMetrics(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; _.xHeight = t0; _.quad = t1; _.num1 = t2; _.num2 = t3; _.num3 = t4; _.denom1 = t5; _.denom2 = t6; _.sup1 = t7; _.sup2 = t8; _.sup3 = t9; _.sub1 = t10; _.sub2 = t11; _.supDrop = t12; _.subDrop = t13; _.axisHeight = t14; _.defaultRuleThickness = t15; _.bigOpSpacing1 = t16; _.bigOpSpacing2 = t17; _.bigOpSpacing3 = t18; _.bigOpSpacing4 = t19; _.bigOpSpacing5 = t20; _.sqrtRuleThickness = t21; _.fboxrule = t22; }, AccentNode$(base, isShifty, isStretchy, label) { return new A.AccentNode(base, label, isStretchy, isShifty); }, AccentNode: function AccentNode(t0, t1, t2, t3) { var _ = this; _.base = t0; _.label = t1; _.isStretchy = t2; _.isShifty = t3; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, AccentNode_buildWidget_closure: function AccentNode_buildWidget_closure(t0, t1) { this._box_0 = t0; this.options = t1; }, AccentNode_buildWidget_closure0: function AccentNode_buildWidget_closure0(t0, t1) { this.$this = t0; this.options = t1; }, AccentNode_buildWidget_closure1: function AccentNode_buildWidget_closure1(t0) { this.skew = t0; }, AccentUnderNode$(base, label) { return new A.AccentUnderNode(base, label); }, AccentUnderNode: function AccentUnderNode(t0, t1) { var _ = this; _.base = t0; _.label = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, AccentUnderNode_buildWidget_closure0: function AccentUnderNode_buildWidget_closure0() { }, AccentUnderNode_buildWidget_closure: function AccentUnderNode_buildWidget_closure(t0, t1) { this.$this = t0; this.options = t1; }, EnclosureNode$(backgroundcolor, base, bordercolor, hasBorder, horizontalPadding, notation, verticalPadding) { return new A.EnclosureNode(base, hasBorder, bordercolor, backgroundcolor, notation, horizontalPadding, verticalPadding); }, EnclosureNode: function EnclosureNode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.base = t0; _.hasBorder = t1; _.bordercolor = t2; _.backgroundcolor = t3; _.notation = t4; _.horizontalPadding = t5; _.verticalPadding = t6; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, EnclosureNode_buildWidget_closure: function EnclosureNode_buildWidget_closure(t0, t1) { this.$this = t0; this.options = t1; }, EnclosureNode_buildWidget_closure0: function EnclosureNode_buildWidget_closure0(t0, t1) { this.$this = t0; this.options = t1; }, LinePainter: function LinePainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.startRelativeX = t0; _.startRelativeY = t1; _.endRelativeX = t2; _.endRelativeY = t3; _.lineWidth = t4; _.color = t5; _._repaint = t6; }, HorizontalStrikeDelegate: function HorizontalStrikeDelegate(t0, t1, t2) { var _ = this; _.ruleThickness = t0; _.vShift = t1; _.color = t2; _.width = _.height = 0; }, EquationArrayNode: function EquationArrayNode(t0, t1, t2, t3, t4) { var _ = this; _.arrayStretch = t0; _.addJot = t1; _.body = t2; _.hlines = t3; _.rowSpacings = t4; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, EquationArrayNode_buildWidget_closure: function EquationArrayNode_buildWidget_closure(t0) { this.options = t0; }, EquationArrayNode_buildWidget_closure0: function EquationArrayNode_buildWidget_closure0() { }, EquationArrayNode_toJson_closure: function EquationArrayNode_toJson_closure() { }, EquationArrayNode_toJson_closure0: function EquationArrayNode_toJson_closure0() { }, EquationArrayNode_toJson_closure1: function EquationArrayNode_toJson_closure1() { }, FracNode$(barSize, continued, denominator, numerator) { return new A.FracNode(numerator, denominator, barSize, continued); }, FracNode: function FracNode(t0, t1, t2, t3) { var _ = this; _.numerator = t0; _.denominator = t1; _.barSize = t2; _.continued = t3; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, _FracPos: function _FracPos(t0, t1) { this.index = t0; this._core$_name = t1; }, FracLayoutDelegate: function FracLayoutDelegate(t0, t1) { var _ = this; _.barSize = t0; _.options = t1; _.barLength = _.width = _.a = _.height = _.theta = 0; }, FunctionNode$(argument, functionName) { return new A.FunctionNode(functionName, argument); }, FunctionNode: function FunctionNode(t0, t1) { var _ = this; _.functionName = t0; _.argument = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, LeftRightNode$(body, leftDelim, middle, rightDelim) { return new A.LeftRightNode(leftDelim, rightDelim, body, middle); }, buildCustomSizedDelimWidget(delim, minDelimiterHeight, options) { var axisHeight, t1, t2, sequence, delimConf, _null = null; if (delim == null) { axisHeight = new A.Measurement(options.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(options); return A.ShiftBaseline$(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, minDelimiterHeight, _null, _null, _null, _null, _null, B.Measurement_mNO.toLpUnder$1(options)), axisHeight, 0.5); } t1 = B.Set_6VnO6._collection$_map; t2 = J.getInterceptor$x(t1); if (t2.containsKey$1(t1, delim)) sequence = B.List_KX3; else sequence = J.containsKey$1$x(B.Set_ali02._collection$_map, delim) ? B.List_KX3 : B.List_koo; delimConf = A.IterableExtension_firstWhereOrNull(sequence, new A.buildCustomSizedDelimWidget_closure(delim, options, minDelimiterHeight)); if (t2.containsKey$1(t1, delim)) delimConf = delimConf == null ? B.JSArray_methods.get$last(sequence) : delimConf; if (delimConf != null) { axisHeight = new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options); t1 = delimConf.font; return A.ShiftBaseline$(A.makeChar(delim, t1, A.getCharacterMetrics(delim, t1.get$fontName(), B.Mode_0), options, false), axisHeight, 0.5); } else return A.makeStackedDelim(delim, minDelimiterHeight, B.Mode_0, options); }, makeStackedDelim(delim, minDelimiterHeight, mode, options) { var t4, t5, t6, t7, topHeight, repeatHeight, bottomHeight, t8, t9, middleMetrics, middleHeight, middleFactor, repeatCount, axisHeight, i, conf = B.Map_8IeTF.$index(0, delim), t1 = conf.top, t2 = conf.font, t3 = A.getCharacterMetrics(t1, t2.get$fontName(), B.Mode_0); t3.toString; t4 = conf.repeat; t5 = A.getCharacterMetrics(t4, t2.get$fontName(), B.Mode_0); t5.toString; t6 = conf.bottom; t7 = A.getCharacterMetrics(t6, t2.get$fontName(), B.Mode_0); t7.toString; topHeight = new A.Measurement(t3.height + t3.depth, B.Unit_16).toLpUnder$1(options); repeatHeight = new A.Measurement(t5.height + t5.depth, B.Unit_16).toLpUnder$1(options); bottomHeight = new A.Measurement(t7.height + t7.depth, B.Unit_16).toLpUnder$1(options); t8 = conf.middle; t9 = t8 != null; if (t9) { middleMetrics = A.getCharacterMetrics(t8, t2.get$fontName(), B.Mode_0); middleHeight = new A.Measurement(middleMetrics.height + middleMetrics.depth, B.Unit_16).toLpUnder$1(options); middleFactor = 2; } else { middleHeight = 0; middleFactor = 1; middleMetrics = null; } repeatCount = B.JSNumber_methods.ceil$0(Math.max(0, (minDelimiterHeight - (topHeight + bottomHeight + middleHeight)) / (repeatHeight * middleFactor))); axisHeight = new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options); t1 = A._setArrayType([A.makeChar(t1, t2, t3, options, false)], type$.JSArray_Widget); for (i = 0; i < repeatCount; ++i) t1.push(A.makeChar(t4, t2, t5, options, false)); if (t9) { middleMetrics.toString; t1.push(A.makeChar(t8, t2, middleMetrics, options, false)); } if (t9) for (i = 0; i < repeatCount; ++i) t1.push(A.makeChar(t4, t2, t5, options, false)); t1.push(A.makeChar(t6, t2, t7, options, false)); return A.ShiftBaseline$(A.Column$(t1, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), axisHeight, 0.5); }, LeftRightNode: function LeftRightNode(t0, t1, t2, t3) { var _ = this; _.leftDelim = t0; _.rightDelim = t1; _.body = t2; _.middle = t3; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, LeftRightNode_buildWidget_closure: function LeftRightNode_buildWidget_closure(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.a = t1; _.options = t2; _.numElements = t3; _.childBuildResults = t4; }, LeftRightNode_buildWidget__closure0: function LeftRightNode_buildWidget__closure0(t0, t1) { this.a = t0; this.options = t1; }, LeftRightNode_buildWidget__closure: function LeftRightNode_buildWidget__closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.index = t1; _.numElements = t2; _.options = t3; }, LeftRightNode_toJson_closure: function LeftRightNode_toJson_closure() { }, buildCustomSizedDelimWidget_closure: function buildCustomSizedDelimWidget_closure(t0, t1, t2) { this.delim = t0; this.options = t1; this.minDelimiterHeight = t2; }, StackDelimiterConf: function StackDelimiterConf(t0, t1, t2, t3, t4) { var _ = this; _.top = t0; _.middle = t1; _.repeat = t2; _.bottom = t3; _.font = t4; }, MatrixNode_MatrixNode(arrayStretch, body, columnAligns, hLines, hskipBeforeAndAfter, isSmall, rowSpacings, vLines) { var t3, t4, cols, sanitizedColumnAligns, sanitizedVLines, t5, rows, sanitizedBody, t1 = A._arrayInstanceType(body), t2 = A.NumIterableExtension_get_maxOrNull(new A.MappedListIterable(body, new A.MatrixNode_MatrixNode_closure(), t1._eval$1("MappedListIterable<1,int>"))); if (t2 == null) t2 = 0; t3 = columnAligns.length; t4 = vLines.length; cols = Math.max(Math.max(t2, t3), t4 - 1); sanitizedColumnAligns = A.ListExtension_extendToByFill(columnAligns, cols, B.MatrixColumnAlign_1, type$.MatrixColumnAlign); t4 = type$.MatrixSeparatorStyle; sanitizedVLines = A.ListExtension_extendToByFill(vLines, cols + 1, B.MatrixSeparatorStyle_2, t4); t3 = body.length; t2 = rowSpacings.length; t5 = hLines.length; rows = Math.max(Math.max(t3, t2), t5 - 1); t1 = t1._eval$1("MappedListIterable<1,List<EquationRowNode?>>"); sanitizedBody = A.ListExtension_extendToByFill(A.List_List$of(new A.MappedListIterable(body, new A.MatrixNode_MatrixNode_closure0(cols), t1), false, t1._eval$1("ListIterable.E")), rows, A.List_List$filled(cols, null, false, type$.nullable_EquationRowNode), type$.List_nullable_EquationRowNode); return new A.MatrixNode(arrayStretch, hskipBeforeAndAfter, isSmall, sanitizedColumnAligns, sanitizedVLines, A.ListExtension_extendToByFill(rowSpacings, rows, B.Measurement_0_Unit_0, type$.Measurement), A.ListExtension_extendToByFill(hLines, rows + 1, B.MatrixSeparatorStyle_2, t4), sanitizedBody, rows, cols); }, MatrixSeparatorStyle: function MatrixSeparatorStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, MatrixColumnAlign: function MatrixColumnAlign(t0, t1) { this.index = t0; this._core$_name = t1; }, MatrixNode: function MatrixNode(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.arrayStretch = t0; _.hskipBeforeAndAfter = t1; _.isSmall = t2; _.columnAligns = t3; _.vLines = t4; _.rowSpacings = t5; _.hLines = t6; _.body = t7; _.rows = t8; _.cols = t9; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, MatrixNode_MatrixNode_closure: function MatrixNode_MatrixNode_closure() { }, MatrixNode_MatrixNode_closure0: function MatrixNode_MatrixNode_closure0(t0) { this.cols = t0; }, MatrixNode_buildWidget_closure: function MatrixNode_buildWidget_closure(t0) { this.options = t0; }, MatrixNode_buildWidget_closure0: function MatrixNode_buildWidget_closure0() { }, MatrixNode_computeChildren_closure: function MatrixNode_computeChildren_closure() { }, MatrixNode_toJson_closure: function MatrixNode_toJson_closure() { }, MatrixNode_toJson_closure0: function MatrixNode_toJson_closure0() { }, MatrixNode_toJson_closure1: function MatrixNode_toJson_closure1() { }, MatrixNode_toJson_closure2: function MatrixNode_toJson_closure2() { }, MatrixNode_toJson_closure3: function MatrixNode_toJson_closure3() { }, MatrixNode_toJson_closure4: function MatrixNode_toJson_closure4() { }, MatrixNode_toJson_closure5: function MatrixNode_toJson_closure5() { }, MatrixNode_toJson__closure: function MatrixNode_toJson__closure() { }, MatrixLayoutDelegate: function MatrixLayoutDelegate(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.rows = t0; _.cols = t1; _.ruleThickness = t2; _.arrayskip = t3; _.rowSpacings = t4; _.hLines = t5; _.hskipBeforeAndAfter = t6; _.arraycolsep = t7; _.vLines = t8; _.columnAligns = t9; _.hLinePos = t10; _.vLinePos = t11; _.width = _.totalHeight = 0; }, MatrixLayoutDelegate_performHorizontalIntrinsicLayout_closure: function MatrixLayoutDelegate_performHorizontalIntrinsicLayout_closure(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.colPos = t1; _.colWidths = t2; _.childWidths = t3; }, MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure: function MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure(t0, t1) { this.childrenBaselines = t0; this.childrenHeights = t1; }, MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure0: function MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure0(t0, t1, t2) { this.$this = t0; this.rowBaselinePos = t1; this.childHeights = t2; }, MultiscriptsNode$(base, sub, sup) { return new A.MultiscriptsNode(base, sub, sup); }, MultiscriptsNode: function MultiscriptsNode(t0, t1, t2) { var _ = this; _.base = t0; _.sub = t1; _.sup = t2; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, NaryOperatorNode: function NaryOperatorNode(t0, t1, t2, t3, t4, t5) { var _ = this; _.operator = t0; _.lowerLimit = t1; _.upperLimit = t2; _.naryand = t3; _.limits = t4; _.allowLargeOp = t5; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, OverNode$(above, base, stackRel) { return new A.OverNode(base, above, stackRel); }, OverNode: function OverNode(t0, t1, t2) { var _ = this; _.base = t0; _.above = t1; _.stackRel = t2; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, PhantomNode: function PhantomNode(t0, t1, t2, t3) { var _ = this; _.phantomChild = t0; _.zeroWidth = t1; _.zeroHeight = t2; _.zeroDepth = t3; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, RaiseBoxNode: function RaiseBoxNode(t0, t1) { var _ = this; _.body = t0; _.dy = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, SpaceNode$(breakPenalty, fill, height, mode, shift, width) { return new A.SpaceNode(height, width, shift, breakPenalty, fill, mode, false); }, SpaceNode$alignerOrSpacer() { return new A.SpaceNode(B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, null, true, B.Mode_0, true); }, SpaceNode: function SpaceNode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.height = t0; _.width = t1; _.shift = t2; _.breakPenalty = t3; _.fill = t4; _.mode = t5; _.alignerOrSpacer = t6; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, getSqrtAdvanceWidth(minDelimiterHeight, baseWidth, options) { var delimOptions, delimConf = A.IterableExtension_firstWhereOrNull(B.List_BmO, new A.getSqrtAdvanceWidth_closure(options, minDelimiterHeight)); if (delimConf != null) { delimOptions = options.havingStyle$1(delimConf.style); if (delimConf.font.get$fontName() === "Main-Regular") return new A.Measurement(0.833, B.Unit_16).toLpUnder$1(delimOptions); else return new A.Measurement(1, B.Unit_16).toLpUnder$1(delimOptions); } else return new A.Measurement(1.056, B.Unit_16).toLpUnder$1(options); }, sqrtSvg(baseWidth, minDelimiterHeight, options) { var t1, t2, delimOptions, viewPortHeight, t3, t4, viewPortWidth, svgPath, t5, viewBoxHeight, delimConf = A.IterableExtension_firstWhereOrNull(B.List_BmO, new A.sqrtSvg_closure(options, minDelimiterHeight)); if (delimConf != null) { t1 = delimConf.font; t2 = B.Map_gcKtb.$index(0, t1.get$fontName()); t2.toString; delimOptions = options.havingStyle$1(delimConf.style); viewPortHeight = new A.Measurement(t2 + 0 + 0.08, B.Unit_16).toLpUnder$1(delimOptions); t3 = delimOptions.fontSize; t4 = options.color; if (t1.get$fontName() === "Main-Regular") { viewPortWidth = new A.Measurement(0.833, B.Unit_16).toLpUnder$1(delimOptions) + baseWidth; t1 = new A.Measurement(viewPortWidth, B.Unit_15).toLpUnder$1(delimOptions); svgPath = A.sqrtPath("sqrtMain", 0, 1080); t2 = new A.Measurement(options.get$fontMetrics().sqrtRuleThickness + 0, B.Unit_16).toLpUnder$1(delimOptions); t5 = new A.Measurement(0.08, B.Unit_16).toLpUnder$1(delimOptions); return new A.ResetBaseline(t2, A.MinDimension$(0, A.svgWidgetFromPath(svgPath, new A.Size(viewPortWidth, viewPortHeight), new A.Rect(0, 0, 0 + t1 / t3 * 1000, 1080), t4, B.Alignment_m1_m1, B.BoxFit_0), 0, 0, -t5), null); } else { viewPortWidth = Math.max(new A.Measurement(1, B.Unit_16).toLpUnder$1(delimOptions) + baseWidth, new A.Measurement(1.02, B.Unit_16).toLpUnder$1(delimOptions) / t3); viewBoxHeight = 1080 * t2; t2 = new A.Measurement(viewPortWidth, B.Unit_15).toLpUnder$1(delimOptions); svgPath = A.sqrtPath("sqrt" + B.JSString_methods.substring$2(t1.get$fontName(), 0, 5), 0, viewBoxHeight); t1 = new A.Measurement(options.get$fontMetrics().sqrtRuleThickness + 0, B.Unit_16).toLpUnder$1(delimOptions); t5 = new A.Measurement(0.08, B.Unit_16).toLpUnder$1(delimOptions); return new A.ResetBaseline(t1, A.MinDimension$(0, A.svgWidgetFromPath(svgPath, new A.Size(viewPortWidth, viewPortHeight), new A.Rect(0, 0, 0 + t2 / t3 * 1000, 0 + viewBoxHeight), t4, B.Alignment_m1_m1, B.BoxFit_2), 0, 0, -t5), null); } } else { t1 = new A.Measurement(0.08, B.Unit_16).toLpUnder$1(options); t2 = options.fontSize; viewBoxHeight = 1000 * (new A.Measurement(minDelimiterHeight, B.Unit_15).toLpUnder$1(options) / t2) + 0 + 80; viewPortWidth = new A.Measurement(1.056, B.Unit_16).toLpUnder$1(options) + baseWidth; t3 = new A.Measurement(viewPortWidth, B.Unit_15).toLpUnder$1(options); svgPath = A.sqrtPath("sqrtTall", 0, viewBoxHeight); t4 = new A.Measurement(options.get$fontMetrics().sqrtRuleThickness + 0, B.Unit_16).toLpUnder$1(options); t5 = new A.Measurement(0.08, B.Unit_16).toLpUnder$1(options); return new A.ResetBaseline(t4, A.MinDimension$(0, A.svgWidgetFromPath(svgPath, new A.Size(viewPortWidth, minDelimiterHeight + t1), new A.Rect(0, 0, 0 + t3 / t2 * 1000, 0 + viewBoxHeight), options.color, B.Alignment_m1_m1, B.BoxFit_2), 0, 0, -t5), null); } }, SqrtNode: function SqrtNode(t0, t1) { var _ = this; _.index = t0; _.base = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, SqrtNode_buildWidget_closure: function SqrtNode_buildWidget_closure(t0) { this.options = t0; }, _SqrtPos: function _SqrtPos(t0, t1) { this.index = t0; this._core$_name = t1; }, SqrtLayoutDelegate: function SqrtLayoutDelegate(t0, t1) { this.options = t0; this.baseOptions = t1; this.heightAboveBaseline = 0; }, getSqrtAdvanceWidth_closure: function getSqrtAdvanceWidth_closure(t0, t1) { this.options = t0; this.minDelimiterHeight = t1; }, sqrtSvg_closure: function sqrtSvg_closure(t0, t1) { this.options = t0; this.minDelimiterHeight = t1; }, StretchyOpNode: function StretchyOpNode(t0, t1, t2) { var _ = this; _.symbol = t0; _.above = t1; _.below = t2; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, StretchyOpNode_buildWidget_closure0: function StretchyOpNode_buildWidget_closure0(t0) { this.options = t0; }, StretchyOpNode_buildWidget_closure: function StretchyOpNode_buildWidget_closure(t0, t1) { this.$this = t0; this.options = t1; }, StyleNode$(children, optionsDiff) { return new A.StyleNode(children, optionsDiff); }, StyleNode: function StyleNode(t0, t1) { var _ = this; _.children = t0; _.optionsDiff = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__TransparentNode_rightType = _.__TransparentNode_leftType = _.__TransparentNode_flattenedChildList = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, StyleNode_toJson_closure: function StyleNode_toJson_closure() { }, stringToNode(string, mode) { var t1 = type$.MappedListIterable_String_SymbolNode; return A.EquationRowNode$(A.List_List$of(new A.MappedListIterable(A._setArrayType(string.split(""), type$.JSArray_String), new A.stringToNode_closure(mode), t1), false, t1._eval$1("ListIterable.E")), null); }, getDefaultAtomTypeForSymbol(symbol, mode, variantForm) { var t1, renderConfig, symbolRenderConfig = B.Map_mlU8b.$index(0, symbol); if (variantForm) symbolRenderConfig = symbolRenderConfig == null ? null : symbolRenderConfig.variantForm; t1 = mode === B.Mode_0; if (t1) renderConfig = symbolRenderConfig == null ? null : symbolRenderConfig.math; else renderConfig = symbolRenderConfig == null ? null : symbolRenderConfig.text; if (renderConfig != null) { t1 = renderConfig.defaultType; return t1 == null ? B.AtomType_0 : t1; } if (!variantForm && t1) { if (B.Map_GNyEC.containsKey$1(0, symbol)) return B.AtomType_3; if (B.Map_yvMMh.containsKey$1(0, symbol)) { t1 = $.compactedCompositeSymbolTypes.$index(0, symbol); t1.toString; return t1; } if (J.containsKey$1$x(B.Set_ww8._collection$_map, symbol)) return B.AtomType_3; } return B.AtomType_0; }, SymbolNode: function SymbolNode(t0, t1, t2, t3, t4) { var _ = this; _.symbol = t0; _.variantForm = t1; _.__SymbolNode_atomType = $; _.overrideAtomType = t2; _.overrideFont = t3; _.mode = t4; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, SymbolNode_buildWidget_closure: function SymbolNode_buildWidget_closure() { }, stringToNode_closure: function stringToNode_closure(t0) { this.mode = t0; }, UnderNode$(base, below) { return new A.UnderNode(base, below); }, UnderNode: function UnderNode(t0, t1) { var _ = this; _.base = t0; _.below = t1; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = _.__SlotableNode_children = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, MathOptions$_(color, fontSize, logicalPpi, mathFontOptions, sizeUnderTextStyle, style, textFontOptions) { return new A.MathOptions(style, color, sizeUnderTextStyle, textFontOptions, mathFontOptions, fontSize, logicalPpi); }, MathOptions: function MathOptions(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.style = t0; _.color = t1; _.__MathOptions_size = $; _.sizeUnderTextStyle = t2; _.textFontOptions = t3; _.mathFontOptions = t4; _.__MathOptions_fontMetrics = _.__MathOptions_sizeMultiplier = $; _.fontSize = t5; _.logicalPpi = t6; }, OptionsDiff: function OptionsDiff(t0, t1, t2, t3, t4) { var _ = this; _.style = t0; _.size = t1; _.color = t2; _.textFontOptions = t3; _.mathFontOptions = t4; }, FontOptions: function FontOptions(t0, t1, t2, t3) { var _ = this; _.fontFamily = t0; _.fontWeight = t1; _.fontShape = t2; _.fallback = t3; }, PartialFontOptions: function PartialFontOptions(t0, t1, t2) { this.fontFamily = t0; this.fontWeight = t1; this.fontShape = t2; }, MeasurementExtOnNum_get_mu(_this) { return new A.Measurement(_this, B.Unit_14); }, Unit: function Unit(t0, t1) { this.index = t0; this._core$_name = t1; }, Measurement: function Measurement(t0, t1) { this.value = t0; this.unit = t1; }, MathSize: function MathSize(t0, t1) { this.index = t0; this._core$_name = t1; }, MathStyleExt_reduce(_this, diff) { var t1 = B.List_ugg[B.List_XGg[diff.index][_this.index]]; return t1; }, MathStyleExtOnSize_underStyle(_this, style) { var t1 = style.index; if (t1 <= 3) return _this; return B.List_GJj[B.List_gQW[_this.index][(t1 / 2 | 0) - 1] - 1]; }, MathStyle: function MathStyle(t0, t1) { this.index = t0; this._core$_name = t1; }, MathStyleDiff: function MathStyleDiff(t0, t1) { this.index = t0; this._core$_name = t1; }, SymbolRenderConfig: function SymbolRenderConfig(t0, t1, t2) { this.math = t0; this.text = t1; this.variantForm = t2; }, RenderConfig: function RenderConfig(t0, t1, t2) { this.replaceChar = t0; this.defaultFont = t1; this.defaultType = t2; }, SyntaxNode$($parent, pos, value) { return new A.SyntaxNode($parent, value, pos); }, EquationRowNode$(children, overrideType) { return new A.EquationRowNode(overrideType, children, B.TextRange_0_m1); }, GreenNodeWrappingExt_wrapWithEquationRow(_this) { if (_this instanceof A.EquationRowNode) return _this; return A.EquationRowNode$(A._setArrayType([_this], type$.JSArray_GreenNode), null); }, GreenNodeWrappingExt_expandEquationRow(_this) { if (_this instanceof A.EquationRowNode) return _this.children; return A._setArrayType([_this], type$.JSArray_GreenNode); }, GreenNodeListWrappingExt_wrapWithEquationRow(_this) { var t1 = J.getInterceptor$asx(_this); if (t1.get$length(_this) === 1 && t1.$index(_this, 0) instanceof A.EquationRowNode) return type$.EquationRowNode._as(t1.$index(_this, 0)); return A.EquationRowNode$(_this, null); }, _traverseNonSpaceNodes(childTypeList, callback) { var t1, prev, _i, child; for (t1 = childTypeList.length, prev = null, _i = 0; _i < t1; ++_i) { child = childTypeList[_i]; if (child.leftType === B.AtomType_8 || child.rightType === B.AtomType_8) continue; callback.call$2(prev, child); prev = child; } if (prev != null) callback.call$2(prev, null); }, SyntaxTree: function SyntaxTree(t0) { this.greenRoot = t0; this.__SyntaxTree_root = $; }, SyntaxNode: function SyntaxNode(t0, t1, t2) { var _ = this; _.parent = t0; _.value = t1; _.pos = t2; _.__SyntaxNode_children = $; }, GreenNode: function GreenNode() { }, ParentableNode: function ParentableNode() { }, PositionDependentMixin: function PositionDependentMixin() { }, SlotableNode: function SlotableNode() { }, SlotableNode_computeWidth_closure: function SlotableNode_computeWidth_closure(t0) { this.$this = t0; }, TransparentNode: function TransparentNode() { }, TransparentNode_computeWidth_closure: function TransparentNode_computeWidth_closure() { }, TransparentNode_computeChildPositions_closure: function TransparentNode_computeChildPositions_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, TransparentNode_buildWidget_closure: function TransparentNode_buildWidget_closure() { }, TransparentNode_flattenedChildList_closure: function TransparentNode_flattenedChildList_closure() { }, EquationRowNode: function EquationRowNode(t0, t1, t2) { var _ = this; _.overrideType = t0; _.children = t1; _._syntax_tree$_key = null; _.__EquationRowNode_caretPositions = _.__EquationRowNode_flattenedChildList = $; _.PositionDependentMixin_range = t2; _.__ParentableNode_childPositions = _.__ParentableNode_editingWidth = $; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, EquationRowNode_computeWidth_closure: function EquationRowNode_computeWidth_closure() { }, EquationRowNode_computeChildPositions_closure: function EquationRowNode_computeChildPositions_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, EquationRowNode_flattenedChildList_closure: function EquationRowNode_flattenedChildList_closure() { }, EquationRowNode_computeCaretPositions_closure: function EquationRowNode_computeCaretPositions_closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, EquationRowNode_buildWidget_closure: function EquationRowNode_buildWidget_closure() { }, EquationRowNode_buildWidget_closure0: function EquationRowNode_buildWidget_closure0() { }, EquationRowNode_buildWidget_closure1: function EquationRowNode_buildWidget_closure1(t0, t1) { this.$this = t0; this.flattenedChildOptions = t1; }, EquationRowNode_buildWidget_closure2: function EquationRowNode_buildWidget_closure2() { }, EquationRowNode_buildWidget_closure3: function EquationRowNode_buildWidget_closure3() { }, EquationRowNode_buildWidget_closure4: function EquationRowNode_buildWidget_closure4(t0, t1, t2) { this.$this = t0; this.lineChildren = t1; this.options = t2; }, EquationRowNode_buildWidget__closure1: function EquationRowNode_buildWidget__closure1() { }, EquationRowNode_buildWidget__closure2: function EquationRowNode_buildWidget__closure2(t0) { this.$this = t0; }, EquationRowNode_buildWidget__closure0: function EquationRowNode_buildWidget__closure0(t0) { this.$this = t0; }, EquationRowNode_buildWidget__closure: function EquationRowNode_buildWidget__closure(t0, t1, t2) { this.$this = t0; this.lineChildren = t1; this.options = t2; }, EquationRowNode_toJson_closure: function EquationRowNode_toJson_closure() { }, _ClipChildrenMixin: function _ClipChildrenMixin() { }, LeafNode: function LeafNode() { }, AtomType: function AtomType(t0, t1) { this.index = t0; this._core$_name = t1; }, TemporaryNode: function TemporaryNode() { }, BuildResult: function BuildResult(t0, t1, t2, t3, t4) { var _ = this; _.widget = t0; _.options = t1; _.italic = t2; _.skew = t3; _.results = t4; }, _NodeSpacingConf: function _NodeSpacingConf(t0, t1, t2, t3) { var _ = this; _.leftType = t0; _.rightType = t1; _.options = t2; _.spacingAfter = t3; }, _EquationRowNode_ParentableNode_PositionDependentMixin: function _EquationRowNode_ParentableNode_PositionDependentMixin() { }, _EquationRowNode_ParentableNode_PositionDependentMixin__ClipChildrenMixin: function _EquationRowNode_ParentableNode_PositionDependentMixin__ClipChildrenMixin() { }, _TransparentNode_ParentableNode__ClipChildrenMixin: function _TransparentNode_ParentableNode__ClipChildrenMixin() { }, Mode: function Mode(t0, t1) { this.index = t0; this._core$_name = t1; }, getCharacterMetrics(character, fontName, mode) { var ch, t1, metricsMapFont = B.Map_C1g0k.$index(0, fontName); if (metricsMapFont == null) throw A.wrapException(A.Exception_Exception("Font metrics not found for font: " + fontName + ".")); ch = B.JSString_methods._codeUnitAt$1(character, 0); if (metricsMapFont.containsKey$1(0, ch)) return metricsMapFont.$index(0, ch); t1 = B.Map_EOUKl.$index(0, character[0]); if ((t1 == null ? null : B.JSString_methods._codeUnitAt$1(t1, 0)) != null) return metricsMapFont.$index(0, ch); if (mode === B.Mode_1 && A.supportedCodepoint(ch)) return metricsMapFont.$index(0, 77); return null; }, getGlobalMetrics(size) { switch (size.index) { case 0: case 1: return $.$get$scriptscriptFontMetrics(); case 2: case 3: return $.$get$scriptFontMetrics(); case 4: case 5: case 6: case 7: case 8: case 9: case 10: return $.$get$textFontMetrics(); default: throw A.wrapException(A.ArgumentError$(size, null)); } }, textFontMetrics_closure: function textFontMetrics_closure() { }, scriptFontMetrics_closure: function scriptFontMetrics_closure() { }, scriptscriptFontMetrics_closure: function scriptscriptFontMetrics_closure() { }, CharacterMetrics: function CharacterMetrics(t0, t1, t2, t3) { var _ = this; _.depth = t0; _.height = t1; _.italic = t2; _.skew = t3; }, supportedCodepoint(codepoint) { var t1 = $.$get$allBlocks(); return (t1 && B.JSArray_methods).any$1(t1, new A.supportedCodepoint_closure(codepoint)); }, allBlocks_closure: function allBlocks_closure() { }, supportedCodepoint_closure: function supportedCodepoint_closure(t0) { this.codepoint = t0; }, environments() { if ($._environments.get$isEmpty($._environments)) $.$get$_environmentsEntries().forEach$1(0, new A.environments_closure()); return $._environments; }, EnvContext: function EnvContext(t0) { this.envName = t0; }, EnvSpec: function EnvSpec(t0) { this.handler = t0; }, environments_closure: function environments_closure() { }, _casesHandler(parser, context) { var t2, body = A.parseEqnArray(parser, false, new A._casesHandler_closure(context)), t1 = context.envName; t1 = t1 === "rcases" || t1 === "drcases"; t2 = type$.JSArray_EquationRowNode; if (t1) return A.LeftRightNode$(A._setArrayType([A.GreenNodeWrappingExt_wrapWithEquationRow(body)], t2), null, B.List_empty21, "}"); else return A.LeftRightNode$(A._setArrayType([A.GreenNodeWrappingExt_wrapWithEquationRow(body)], t2), "{", B.List_empty21, null); }, _alignedHandler(parser, context) { return A.parseEqnArray(parser, true, new A._alignedHandler_closure()); }, _alignedAtHandler(parser, context) { var cols = A.Primitives_parseInt(J.map$1$1$ax(A.assertNodeType(parser.parseArgNode$2$mode$optional(null, false), type$.EquationRowNode).children, new A._alignedAtHandler_closure(), type$.String).join$1(0, ""), null); if (cols == null) throw A.wrapException(A.ParseException$("Invalid argument for environment: alignedat", null)); return A.parseEqnArray(parser, true, new A._alignedAtHandler_closure0(cols)); }, parseEqnArray(parser, addJot, concatRow) { var stretch, arrayStretch, row, body, rowGaps, hLinesBeforeRow, t6, cellBody, next, t7, rows, _null = null, t1 = parser.macroExpander, t2 = t1.macros, t3 = t2.undefStack, t4 = type$.String, t5 = t2.$ti._eval$1("1?"); t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); t2.$set$2(0, "\\\\", A.MacroDefinition$fromString("\\cr")); stretch = t1.expandMacroAsText$1("\\arraystretch"); if (stretch == null) arrayStretch = 1; else { arrayStretch = A.Primitives_parseDouble(stretch); if (arrayStretch == null || arrayStretch < 0) throw A.wrapException(A.ParseException$("Invalid \\arraystretch: " + stretch, _null)); } t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); t1 = type$.JSArray_EquationRowNode; row = A._setArrayType([], t1); body = A._setArrayType([row], type$.JSArray_List_EquationRowNode); rowGaps = A._setArrayType([], type$.JSArray_Measurement); hLinesBeforeRow = A._setArrayType([], type$.JSArray_MatrixSeparatorStyle); t6 = A.IterableExtension_get_lastOrNull(A.getHLines(parser)); hLinesBeforeRow.push(t6 == null ? B.MatrixSeparatorStyle_2 : t6); for (t6 = type$.CrNode; true;) { cellBody = parser.parseExpression$2$breakOnInfix$breakOnTokenText(false, "\\cr"); t2.endGroup$0(); t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); row.push(A.GreenNodeListWrappingExt_wrapWithEquationRow(cellBody)); next = parser.fetch$0(0).text; if (next === "&") parser.nextToken = null; else if (next === "\\end") { row.length === 1; if (hLinesBeforeRow.length < body.length + 1) hLinesBeforeRow.push(B.MatrixSeparatorStyle_2); break; } else if (next === "\\cr") { t7 = A.assertNodeType(parser.parseFunction$3(_null, _null, _null), t6).size; rowGaps.push(t7 == null ? B.Measurement_0_Unit_0 : t7); t7 = A.IterableExtension_get_lastOrNull(A.getHLines(parser)); hLinesBeforeRow.push(t7 == null ? B.MatrixSeparatorStyle_2 : t7); row = A._setArrayType([], t1); body.push(row); } else throw A.wrapException(A.ParseException$("Expected & or \\\\ or \\cr or \\end", parser.nextToken)); } t2.endGroup$0(); t2.endGroup$0(); t1 = type$.MappedListIterable_of_List_EquationRowNode_and_EquationRowNode; rows = A.List_List$of(new A.MappedListIterable(body, concatRow, t1), true, t1._eval$1("ListIterable.E")); t1 = rows.length; t2 = A.ListExtension_extendToByFill(hLinesBeforeRow, t1 + 1, B.MatrixSeparatorStyle_2, type$.MatrixSeparatorStyle); return new A.EquationArrayNode(arrayStretch, addJot, rows, t2, A.ListExtension_extendToByFill(rowGaps, t1, B.Measurement_0_Unit_0, type$.Measurement)); }, _casesHandler_closure: function _casesHandler_closure(t0) { this.context = t0; }, _alignedHandler_closure: function _alignedHandler_closure() { }, _alignedHandler__closure: function _alignedHandler__closure() { }, _alignedAtHandler_closure: function _alignedAtHandler_closure() { }, _alignedAtHandler_closure0: function _alignedAtHandler_closure0(t0) { this.cols = t0; }, _alignedAtHandler__closure: function _alignedAtHandler__closure() { }, RegisterFunctionExt_registerFunctions(_this, entries) { entries.forEach$1(0, new A.RegisterFunctionExt_registerFunctions_closure(_this)); }, FunctionContext: function FunctionContext(t0, t1, t2) { this.funcName = t0; this.breakOnTokenText = t1; this.infixExistingArguments = t2; }, FunctionSpec: function FunctionSpec(t0, t1, t2, t3, t4, t5) { var _ = this; _.greediness = t0; _.allowedInText = t1; _.allowedInMath = t2; _.infix = t3; _.handler = t4; _.$ti = t5; }, RegisterFunctionExt_registerFunctions_closure: function RegisterFunctionExt_registerFunctions_closure(t0) { this._this = t0; }, _accentHandler(parser, context) { var t2, isStretchy, isShifty, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; t2 = context.funcName; isStretchy = !J.containsKey$1$x(B.Set_2nUAj._collection$_map, t2); isShifty = !isStretchy || J.containsKey$1$x(B.Set_G1kX6._collection$_map, t2); t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t2 = B.Map_QPKz0.$index(0, t2); t2.toString; return A.AccentNode$(t1, isShifty, isStretchy, t2); }, _textAccentHandler(parser, context) { var t2, node, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; if (t1 instanceof A.SymbolNode) { t2 = B.Map_C1Sv3.$index(0, context.funcName); t2.toString; return t1.withSymbol$1(t1.symbol + t2); } if (t1 instanceof A.EquationRowNode && J.get$length$asx(t1.children) === 1) { node = J.$index$asx(t1.children, 0); if (node instanceof A.SymbolNode) { t1 = node.symbol; t2 = B.Map_C1Sv3.$index(0, context.funcName); t2.toString; return node.withSymbol$1(t1 + t2); } } t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t2 = B.Map_QPKz0.$index(0, context.funcName); t2.toString; return A.AccentNode$(t1, true, false, t2); }, _accentUnderHandler(parser, context) { var t2, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t2 = B.Map_CsINK.$index(0, context.funcName); t2.toString; return A.AccentUnderNode$(t1, t2); }, _throwExceptionHandler(parser, context) { throw A.wrapException(A.ParseException$(context.funcName + " valid only within array environment", null)); }, _arrowHandler(parser, context) { var t2, t3, t4, below = parser.parseArgNode$2$mode$optional(null, true), t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t2 = below == null ? null : A.GreenNodeWrappingExt_wrapWithEquationRow(below); t3 = context.funcName; t4 = B.Map_5iXRr.$index(0, t3); return new A.StretchyOpNode(t4 == null ? t3 : t4, t1, t2); }, _breakHandler(parser, context) { var t1 = context.funcName === "\\nobreak" ? 10000 : 0; return A.SpaceNode$(t1, false, B.Measurement_0_Unit_0, parser.mode, B.Measurement_0_Unit_0, B.Measurement_0_Unit_0); }, _charHandler(parser, context) { var _null = null, number = J.map$1$1$ax(A.assertNodeType(parser.parseArgNode$2$mode$optional(_null, false), type$.EquationRowNode).children, new A._charHandler_closure(), type$.String).join$1(0, ""), code = A.Primitives_parseInt(number, _null); if (code == null) throw A.wrapException(A.ParseException$("\\@char has non-numeric argument " + number, _null)); return new A.SymbolNode(A.Primitives_stringFromCharCode(code), false, B.AtomType_0, _null, parser.mode); }, _textcolorHandler(parser, context) { var t2, _null = null, t1 = parser.parseArgColor$1$optional(false); t1.toString; t2 = parser.parseArgNode$2$mode$optional(_null, false); t2.toString; return A.StyleNode$(A.GreenNodeWrappingExt_expandEquationRow(t2), new A.OptionsDiff(_null, _null, t1, _null, _null)); }, _colorHandler(parser, context) { var _null = null, color = parser.parseArgColor$1$optional(false); return A.StyleNode$(parser.parseExpression$2$breakOnInfix$breakOnTokenText(true, context.breakOnTokenText), new A.OptionsDiff(_null, _null, color, _null, _null)); }, _crHandler(parser, context) { var size = parser.parseArgSize$1$optional(true); context.funcName !== "\\cr"; return new A.CrNode(size); }, _checkDelimiter(delim, context) { var t1; if (delim instanceof A.SymbolNode) { t1 = $.$get$_delimiterSymbols(); if ((t1 && B.JSArray_methods).any$1(t1, new A._checkDelimiter_closure(delim))) { t1 = delim.symbol; if (t1 === "<" || t1 === "lt") return "\u27e8"; else if (t1 === ">" || t1 === "gt") return "\u27e9"; else if (t1 === ".") return null; else return t1; } else throw A.wrapException(A.ParseException$("Invalid delimiter '" + delim.symbol + "' after '" + context.funcName + "'", null)); } else throw A.wrapException(A.ParseException$("Invalid delimiter type '" + A.getRuntimeType(delim).toString$0(0) + "'", null)); }, _delimSizeHandler(parser, context) { var delim, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; delim = A._checkDelimiter(t1, context); if (delim == null) t1 = A.SpaceNode$(null, false, B.Measurement_0_Unit_0, B.Mode_0, B.Measurement_0_Unit_0, B.Measurement_0_Unit_0); else { t1 = context.funcName; t1 = new A.SymbolNode(delim, false, B.Map_zzmHk.$index(0, t1), new A.FontOptions("Size" + A.S(B.Map_zzZ6W.$index(0, t1)), B.FontWeight_3, B.FontStyle_0, B.List_empty16), B.Mode_0); } return t1; }, _rightHandler(parser, context) { var t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; return new A._LeftRightRightNode(A._checkDelimiter(t1, context)); }, _leftHandler(parser, context) { var delim, body, right, splittedBody, middles, t2, _i, element, t3, _null = null, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; delim = A._checkDelimiter(t1, context); ++parser.leftrightDepth; body = parser.parseExpression$1$breakOnInfix(false); --parser.leftrightDepth; parser.expect$2$consume("\\right", false); right = A.assertNodeType(parser.parseFunction$3(_null, _null, _null), type$._LeftRightRightNode); t1 = type$.JSArray_GreenNode; splittedBody = A._setArrayType([A._setArrayType([], t1)], type$.JSArray_List_GreenNode); middles = A._setArrayType([], type$.JSArray_nullable_String); for (t2 = body.length, _i = 0; _i < body.length; body.length === t2 || (0, A.throwConcurrentModificationError)(body), ++_i) { element = body[_i]; if (element instanceof A._MiddleNode) { splittedBody.push(A._setArrayType([], t1)); t3 = element.delim; middles.push(t3 === "." ? _null : t3); } else B.JSArray_methods.get$last(splittedBody).push(element); } t1 = delim === "." ? _null : delim; t2 = right.delim; if (t2 === ".") t2 = _null; t3 = type$.MappedListIterable_of_List_GreenNode_and_EquationRowNode; return A.LeftRightNode$(A.List_List$of(new A.MappedListIterable(splittedBody, new A._leftHandler_closure(), t3), false, t3._eval$1("ListIterable.E")), t1, middles, t2); }, _middleHandler(parser, context) { var delim, contexts, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; delim = A._checkDelimiter(t1, context); if (parser.leftrightDepth <= 0) throw A.wrapException(A.ParseException$("\\middle without preceding \\left", null)); contexts = parser.argParsingContexts.toList$1$growable(0, false); if (contexts[contexts.length - 2].funcName !== "\\left") throw A.wrapException(A.ParseException$("\\middle must be within \\left and \\right", null)); return new A._MiddleNode(delim); }, _colorboxHandler(parser, context) { var color = parser.parseArgColor$1$optional(false), t1 = parser.parseArgNode$2$mode$optional(B.Mode_1, false); t1.toString; return A.EnclosureNode$(color, A.GreenNodeWrappingExt_wrapWithEquationRow(t1), null, false, new A.Measurement(0.3, B.Unit_16), B.List_empty1, new A.Measurement(0.3, B.Unit_16)); }, _fcolorboxHandler(parser, context) { var t2, t3, t1 = parser.parseArgColor$1$optional(false); t1.toString; t2 = parser.parseArgColor$1$optional(false); t2.toString; t3 = parser.parseArgNode$2$mode$optional(B.Mode_1, false); t3.toString; return A.EnclosureNode$(t2, A.GreenNodeWrappingExt_wrapWithEquationRow(t3), t1, true, new A.Measurement(0.3, B.Unit_16), B.List_empty1, new A.Measurement(0.3, B.Unit_16)); }, _fboxHandler(parser, context) { return A.EnclosureNode$(null, A.GreenNodeWrappingExt_wrapWithEquationRow(parser.parseArgHbox$1$optional(false)), null, true, new A.Measurement(0.3, B.Unit_16), B.List_empty1, new A.Measurement(0.3, B.Unit_16)); }, _cancelHandler(parser, context) { var t2, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t2 = B.Map_RoTjk.$index(0, context.funcName); t2.toString; return A.EnclosureNode$(null, A.GreenNodeWrappingExt_wrapWithEquationRow(t1), null, false, new A.Measurement(0.2, B.Unit_16), t2, new A.Measurement(0.2, B.Unit_16)); }, _enviromentHandler(parser, context) { var envName, result, endNameToken, t1, _null = null, nameGroup = parser.parseArgNode$2$mode$optional(B.Mode_1, false); if (J.any$1$ax(nameGroup.get$children(nameGroup), new A._enviromentHandler_closure())) throw A.wrapException(A.ParseException$("Invalid environment name", _null)); envName = J.map$1$1$ax(nameGroup.get$children(nameGroup), new A._enviromentHandler_closure0(), type$.String).join$0(0); if (context.funcName === "\\begin") { if (!A.environments().containsKey$1(0, envName)) throw A.wrapException(A.ParseException$("No such environment: " + envName, _null)); result = A.environments().$index(0, envName).handler.call$2(parser, new A.EnvContext(envName)); parser.expect$2$consume("\\end", false); endNameToken = parser.nextToken; t1 = A.assertNodeType(parser.parseFunction$3(_null, _null, _null), type$._EndEnvironmentNode).name; if (t1 !== envName) throw A.wrapException(A.ParseException$("Mismatch: \\begin{" + envName + "} matched by \\end{" + t1 + "}", endNameToken)); return result; } else return new A._EndEnvironmentNode(envName); }, _fontHandler(parser, context) { var func, _null = null, t1 = parser.parseArgNode$2$mode$optional(_null, false); t1.toString; func = context.funcName; if (B.Map_LlZLh.containsKey$1(0, func)) func = B.Map_LlZLh.$index(0, func); return A.StyleNode$(A.GreenNodeWrappingExt_expandEquationRow(t1), new A.OptionsDiff(_null, _null, _null, _null, B.Map_b7YYn.$index(0, func))); }, _boldSymbolHandler(parser, context) { var _null = null, t1 = parser.parseArgNode$2$mode$optional(_null, false); t1.toString; return A.StyleNode$(A.GreenNodeWrappingExt_expandEquationRow(t1), new A.OptionsDiff(_null, _null, _null, _null, B.Map_b7YYn.$index(0, "\\boldsymbol"))); }, _textFontHandler(parser, context) { var _null = null; return A.StyleNode$(parser.parseExpression$2$breakOnInfix$breakOnTokenText(true, context.breakOnTokenText), new A.OptionsDiff(_null, _null, _null, _null, B.Map_b7YYn.$index(0, "\\math" + B.JSString_methods.substring$1(context.funcName, 1)))); }, _fracHandler(parser, context) { var t2, t3, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t2 = parser.parseArgNode$2$mode$optional(null, false); t2.toString; t3 = context.funcName; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); return A._internalFracHandler(A.GreenNodeWrappingExt_wrapWithEquationRow(t2), t3, t1); }, _internalFracHandler(denom, funcName, numer) { var rightDelim, leftDelim, hasBarLine, size, t1, res, _null = null; switch (funcName) { case "\\cfrac": case "\\dfrac": case "\\frac": case "\\tfrac": rightDelim = _null; leftDelim = rightDelim; hasBarLine = true; break; case "\\\\atopfrac": rightDelim = _null; leftDelim = rightDelim; hasBarLine = false; break; case "\\dbinom": case "\\binom": case "\\tbinom": hasBarLine = false; leftDelim = "("; rightDelim = ")"; break; case "\\\\bracefrac": hasBarLine = false; leftDelim = "{"; rightDelim = "}"; break; case "\\\\brackfrac": hasBarLine = false; leftDelim = "["; rightDelim = "]"; break; default: throw A.wrapException(A.ParseException$("Unrecognized genfrac command", _null)); } switch (funcName) { case "\\cfrac": case "\\dfrac": case "\\dbinom": size = B.MathStyle_0; break; case "\\tfrac": case "\\tbinom": size = B.MathStyle_2; break; default: size = _null; } t1 = hasBarLine ? _null : B.Measurement_0_Unit_0; res = A.FracNode$(t1, funcName === "\\cfrac", denom, numer); if (leftDelim != null || rightDelim != null) res = A.LeftRightNode$(A._setArrayType([A.GreenNodeWrappingExt_wrapWithEquationRow(res)], type$.JSArray_EquationRowNode), leftDelim, B.List_empty21, rightDelim); return size != null ? A.StyleNode$(A._setArrayType([res], type$.JSArray_GreenNode), new A.OptionsDiff(size, _null, _null, _null, _null)) : res; }, _overHandler(parser, context) { var replaceWith, numerBody, denomBody, t1; switch (context.funcName) { case "\\over": replaceWith = "\\frac"; break; case "\\choose": replaceWith = "\\binom"; break; case "\\atop": replaceWith = "\\\\atopfrac"; break; case "\\brace": replaceWith = "\\\\bracefrac"; break; case "\\brack": replaceWith = "\\\\brackfrac"; break; default: throw A.wrapException(A.ArgumentError$("Unrecognized infix genfrac command", null)); } numerBody = context.infixExistingArguments; denomBody = parser.parseExpression$2$breakOnTokenText$infixArgumentMode(context.breakOnTokenText, true); t1 = A.GreenNodeListWrappingExt_wrapWithEquationRow(numerBody); return A._internalFracHandler(A.GreenNodeListWrappingExt_wrapWithEquationRow(denomBody), replaceWith, t1); }, _genfracHandler(parser, context) { var t2, t3, t4, t5, t6, t7, leftDelimNode, rightDelimNode, leftDelim, rightDelim, style, res, _null = null, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; t2 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t2.toString; t3 = parser.parseArgSize$1$optional(false); t3.toString; t4 = parser.parseArgNode$2$mode$optional(B.Mode_1, false); t4.toString; t5 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t5.toString; t6 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t6.toString; if (t1 instanceof A.EquationRowNode) { t1 = t1.children; t7 = J.getInterceptor$asx(t1); leftDelimNode = t7.get$length(t1) === 1 ? t7.get$first(t1) : _null; } else leftDelimNode = t1; if (t2 instanceof A.EquationRowNode) { t1 = t2.children; t2 = J.getInterceptor$asx(t1); rightDelimNode = t2.get$length(t1) === 1 ? t2.get$first(t1) : _null; } else rightDelimNode = t2; leftDelim = leftDelimNode instanceof A.SymbolNode && leftDelimNode.get$atomType() === B.AtomType_4 ? leftDelimNode.symbol : _null; rightDelim = rightDelimNode instanceof A.SymbolNode && rightDelimNode.get$atomType() === B.AtomType_5 ? rightDelimNode.symbol : _null; style = J.get$isNotEmpty$asx(A.GreenNodeWrappingExt_expandEquationRow(t4)) ? A.Primitives_parseInt(A.assertNodeType(J.$index$asx(A.GreenNodeWrappingExt_expandEquationRow(t4), 0), type$.SymbolNode).symbol, _null) : _null; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t5); res = A.FracNode$(t3, false, A.GreenNodeWrappingExt_wrapWithEquationRow(t6), t1); if (leftDelim != null || rightDelim != null) res = A.LeftRightNode$(A._setArrayType([A.GreenNodeWrappingExt_wrapWithEquationRow(res)], type$.JSArray_EquationRowNode), leftDelim, B.List_empty21, rightDelim); return style != null ? A.StyleNode$(A._setArrayType([res], type$.JSArray_GreenNode), new A.OptionsDiff(B.List_ugg[B.JSNumber_methods.toInt$0(B.JSInt_methods.clamp$2(style * 2, 0, 6))], _null, _null, _null, _null)) : res; }, _aboveHandler(parser, context) { var numerBody = context.infixExistingArguments, barSize = parser.parseArgSize$1$optional(false), denomBody = parser.parseExpression$2$breakOnTokenText$infixArgumentMode(context.breakOnTokenText, true), t1 = A.GreenNodeListWrappingExt_wrapWithEquationRow(numerBody); return A.FracNode$(barSize, false, A.GreenNodeListWrappingExt_wrapWithEquationRow(denomBody), t1); }, _aboveFracHandler(parser, context) { var t2, t3, t1 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t1.toString; t2 = parser.parseArgSize$1$optional(false); t2.toString; t3 = parser.parseArgNode$2$mode$optional(B.Mode_0, false); t3.toString; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); return A.FracNode$(t2, false, A.GreenNodeWrappingExt_wrapWithEquationRow(t3), t1); }, _horizBraceHandler(parser, context) { var scripts, res, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; scripts = parser.parseScripts$0(); if (context.funcName === "\\overbrace") { res = A.AccentNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(t1), false, true, "\u23de"); t1 = scripts.superscript; if (t1 != null) res = A.OverNode$(t1, A.GreenNodeWrappingExt_wrapWithEquationRow(res), false); t1 = scripts.subscript; return t1 != null ? A.UnderNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(res), t1) : res; } else { res = A.AccentUnderNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(t1), "\u23df"); t1 = scripts.subscript; if (t1 != null) res = A.UnderNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(res), t1); t1 = scripts.superscript; return t1 != null ? A.OverNode$(t1, A.GreenNodeWrappingExt_wrapWithEquationRow(res), false) : res; } }, _kernHandler(parser, context) { var t1, t2, muUnit, _s15_ = "mathVsTextUnits", size = parser.parseArgSize$1$optional(false); if (size == null) size = B.Measurement_0_Unit_0; t1 = context.funcName; t2 = size.unit; muUnit = t2 === B.Unit_14; if (t1[1] === "m") { if (!muUnit) parser.settings.reportNonstrict$2(_s15_, "LaTeX's " + t1 + " supports only mu units, not " + t2.toString$0(0) + " units"); if (parser.mode !== B.Mode_0) parser.settings.reportNonstrict$2(_s15_, "LaTeX's " + t1 + " works only in math mode"); } else if (muUnit) parser.settings.reportNonstrict$2(_s15_, "LaTeX's " + t1 + " doesn't support mu units"); return A.SpaceNode$(null, false, B.Measurement_0_Unit_0, parser.mode, B.Measurement_0_Unit_0, size); }, _mathLeftHandler(parser, context) { var t1, $close, body, _null = null, outerMode = parser.mode; parser.mode = B.Mode_0; t1 = parser.macroExpander; t1.mode = B.Mode_0; $close = context.funcName === "\\(" ? "\\)" : "$"; body = parser.parseExpression$2$breakOnInfix$breakOnTokenText(false, $close); parser.expect$1($close); t1.mode = parser.mode = outerMode; return A.StyleNode$(body, new A.OptionsDiff(B.MathStyle_2, _null, _null, _null, _null)); }, _mathRightHandler(parser, context) { throw A.wrapException(A.ParseException$("Mismatched " + context.funcName, null)); }, _mclassHandler(parser, context) { var t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; return A.EquationRowNode$(A.GreenNodeWrappingExt_expandEquationRow(t1), B.Map_QYah0.$index(0, context.funcName)); }, _parseNaryOperator(command, parser, context) { var t2, t3, scriptsResult = parser.parseScripts$1$allowLimits(true), t1 = parser.parseAtom$1(context.breakOnTokenText), arg = t1 == null ? null : A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t1 = B.Map_SPp4G.$index(0, B.Mode_0).$index(0, command).symbol; t2 = arg == null ? A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), null) : arg; t3 = command !== "\\smallint" || false; return new A.NaryOperatorNode(t1, scriptsResult.subscript, scriptsResult.superscript, t2, scriptsResult.limits, t3); }, _parseMathFunction(funcNameBase, parser, context, defaultLimits) { var limits, base, t2, functionName, scriptsResult = parser.parseScripts$1$allowLimits(true), t1 = parser.parseAtom$1(context.breakOnTokenText), arg = t1 == null ? null : A.GreenNodeWrappingExt_wrapWithEquationRow(t1); if (arg == null) arg = A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), null); limits = scriptsResult.limits; if (limits == null) limits = defaultLimits; base = A.GreenNodeWrappingExt_wrapWithEquationRow(funcNameBase); t1 = scriptsResult.subscript; t2 = t1 == null; if (t2 && scriptsResult.superscript == null) return A.FunctionNode$(arg, base); if (limits) { functionName = !t2 ? A.GreenNodeWrappingExt_wrapWithEquationRow(A.UnderNode$(base, t1)) : base; t1 = scriptsResult.superscript; return A.FunctionNode$(arg, A.GreenNodeWrappingExt_wrapWithEquationRow(t1 != null ? A.GreenNodeWrappingExt_wrapWithEquationRow(A.OverNode$(t1, functionName, false)) : functionName)); } else return A.FunctionNode$(arg, A.GreenNodeWrappingExt_wrapWithEquationRow(A.MultiscriptsNode$(base, t1, scriptsResult.superscript))); }, _bigOpHandler(parser, context) { var t1, fName = context.funcName; if (fName.length === 1) { t1 = B.Map_MEq91.$index(0, fName); t1.toString; fName = t1; } return A._parseNaryOperator(fName, parser, context); }, _mathFunctionHandler(parser, context) { return A._parseMathFunction(A.stringToNode(B.JSString_methods.substring$1(context.funcName, 1), B.Mode_1), parser, context, false); }, _mathLimitsHandler(parser, context) { return A._parseMathFunction(A.stringToNode(B.JSString_methods.substring$1(context.funcName, 1), B.Mode_1), parser, context, true); }, _integralHandler(parser, context) { var t1, fName = context.funcName; if (fName.length === 1) { t1 = B.Map_A41Od.$index(0, fName); t1.toString; fName = t1; } return A._parseNaryOperator(fName, parser, context); }, _operatorNameHandler(parser, context) { var t2, scripts, body, $name, t3, _null = null, t1 = parser.parseArgNode$2$mode$optional(_null, false); t1.toString; t2 = context.funcName; scripts = parser.parseScripts$1$allowLimits(t2 === "\\operatorname*"); body = parser.parseGroup$5$consumeSpaces$greediness$mode$optional(t2, true, 1, _null, false); if (body == null) body = A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), _null); $name = A.StyleNode$(A.GreenNodeWrappingExt_expandEquationRow(t1), new A.OptionsDiff(_null, _null, _null, _null, B.Map_b7YYn.$index(0, "\\mathrm"))); t1 = scripts.subscript; t2 = t1 == null; if (!(t2 && scripts.superscript == null)) if (scripts.limits === true) { t3 = scripts.superscript; if (t3 != null) $name = A.OverNode$(t3, A.GreenNodeWrappingExt_wrapWithEquationRow($name), false); if (!t2) $name = A.UnderNode$(A.GreenNodeWrappingExt_wrapWithEquationRow($name), t1); } else $name = A.MultiscriptsNode$(A.GreenNodeWrappingExt_wrapWithEquationRow($name), t1, scripts.superscript); t1 = A.GreenNodeWrappingExt_wrapWithEquationRow($name); return A.FunctionNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(body), t1); }, _phantomHandler(parser, context) { var t2, t3, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(t1); t2 = context.funcName; t3 = t2 === "\\hphantom"; return new A.PhantomNode(t1, t2 === "\\vphantom", t3, t3); }, _raiseBoxHandler(parser, context) { var dy = parser.parseArgSize$1$optional(false); if (dy == null) dy = B.Measurement_0_Unit_0; return new A.RaiseBoxNode(A.GreenNodeWrappingExt_wrapWithEquationRow(parser.parseArgHbox$1$optional(false)), dy); }, _ruleHandler(parser, context) { var width, height, shift = parser.parseArgSize$1$optional(true); if (shift == null) shift = B.Measurement_0_Unit_0; width = parser.parseArgSize$1$optional(false); if (width == null) width = B.Measurement_0_Unit_0; height = parser.parseArgSize$1$optional(false); return A.SpaceNode$(null, true, height == null ? B.Measurement_0_Unit_0 : height, B.Mode_0, shift, width); }, _sizingHandler(parser, context) { var _null = null; return A.StyleNode$(parser.parseExpression$2$breakOnInfix$breakOnTokenText(false, context.breakOnTokenText), new A.OptionsDiff(_null, B.List_GJj[B.JSArray_methods.indexOf$1(B.List_Iwp, context.funcName)], _null, _null, _null)); }, _sqrtHandler(parser, context) { var t2, index = parser.parseArgNode$2$mode$optional(null, true), t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t2 = index == null ? null : A.GreenNodeWrappingExt_wrapWithEquationRow(index); return new A.SqrtNode(t2, A.GreenNodeWrappingExt_wrapWithEquationRow(t1)); }, _stylingHandler(parser, context) { var _null = null, body = parser.parseExpression$2$breakOnInfix$breakOnTokenText(true, context.breakOnTokenText), t1 = context.funcName; return A.StyleNode$(body, new A.OptionsDiff(B.Map_gkwAg.$index(0, B.JSString_methods.substring$2(t1, 1, t1.length - 5)), _null, _null, _null, _null)); }, _textHandler(parser, context) { var fontOptions, _null = null, t1 = parser.parseArgNode$2$mode$optional(B.Mode_1, false); t1.toString; fontOptions = B.Map_xoknt.$index(0, context.funcName); if (fontOptions == null) return t1; return A.StyleNode$(A.GreenNodeWrappingExt_expandEquationRow(t1), new A.OptionsDiff(_null, _null, _null, fontOptions, _null)); }, _underOverHandler(parser, context) { var t2, t3, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; t2 = parser.parseArgNode$2$mode$optional(null, false); t2.toString; t3 = context.funcName; if (t3 === "\\underset") return A.UnderNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(t2), A.GreenNodeWrappingExt_wrapWithEquationRow(t1)); else { t2 = A.GreenNodeWrappingExt_wrapWithEquationRow(t2); return A.OverNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(t1), t2, t3 === "\\stackrel"); } }, _charHandler_closure: function _charHandler_closure() { }, CrNode: function CrNode(t0) { var _ = this; _.size = t0; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, _delimiterSymbols_closure: function _delimiterSymbols_closure() { }, _checkDelimiter_closure: function _checkDelimiter_closure(t0) { this.delim = t0; }, _LeftRightRightNode: function _LeftRightRightNode(t0) { var _ = this; _.delim = t0; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, _leftHandler_closure: function _leftHandler_closure() { }, _MiddleNode: function _MiddleNode(t0) { var _ = this; _.delim = t0; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, _enviromentHandler_closure: function _enviromentHandler_closure() { }, _enviromentHandler_closure0: function _enviromentHandler_closure0() { }, _EndEnvironmentNode: function _EndEnvironmentNode(t0) { var _ = this; _.name = t0; _._oldChildBuildResults = _._oldBuildResult = _._oldOptions = null; }, Lexer$(input, settings) { var t1 = A.LinkedHashMap_LinkedHashMap$_literal(["%", 14], type$.String, type$.int), t2 = $.$get$Lexer_tokenRegex().allMatches$1(0, input); return new A.Lexer(input, settings, t1, new A._AllMatchesIterator(t2._re, t2._string, t2.__js_helper$_start)); }, Lexer: function Lexer(t0, t1, t2, t3) { var _ = this; _.input = t0; _.settings = t1; _.catCodes = t2; _.pos = 0; _.it = t3; }, MacroExpander: function MacroExpander(t0, t1, t2, t3, t4) { var _ = this; _.settings = t0; _.mode = t1; _.expansionCount = 0; _.stack = t2; _.lexer = t3; _.macros = t4; }, MacroExpander_consumeArgs_closure: function MacroExpander_consumeArgs_closure(t0) { this.$this = t0; }, MacroExpander_expandMacroAsText_closure: function MacroExpander_expandMacroAsText_closure() { }, MacroDefinition$(expand, unexpandable) { return new A.MacroDefinition(expand, false); }, MacroDefinition$fromString(output) { return new A.MacroDefinition(new A.MacroDefinition$fromString_closure(output), false); }, MacroDefinition$fromCtxString(expand) { return new A.MacroDefinition(new A.MacroDefinition$fromCtxString_closure(expand), false); }, MacroDefinition$fromMacroExpansion(output) { return new A.MacroDefinition(new A.MacroDefinition$fromMacroExpansion_closure(output), false); }, MacroExpansion_fromString(expansion, context) { var t1, stripped, numArgs, numArgs0, bodyLexer, tokens, tok; if (B.JSString_methods.contains$1(expansion, "#")) { t1 = $.$get$MacroExpansion__strippedRegex(); stripped = A.stringReplaceAllUnchecked(expansion, t1, ""); numArgs = 0; while (true) { numArgs0 = numArgs + 1; t1 = "#" + numArgs0; if (!A.stringContainsUnchecked(stripped, t1, 0)) break; numArgs = numArgs0; } } else numArgs = 0; bodyLexer = A.Lexer$(expansion, context.settings); tokens = A._setArrayType([], type$.JSArray_Token); tok = bodyLexer.lex$0(); for (; tok.text !== "EOF";) { tokens.push(tok); tok = bodyLexer.lex$0(); } t1 = type$.ReversedListIterable_Token; return new A.MacroExpansion(A.List_List$of(new A.ReversedListIterable(tokens, t1), true, t1._eval$1("ListIterable.E")), numArgs); }, newcommand(context, existsOK, nonexistsOK) { var $name, exists, token, argText, t1, numArgs, _null = null, arg = context.consumeArgs$1(1)[0]; if (arg.length !== 1) throw A.wrapException(A.ParseException$("\\newcommand's first argument must be a macro name", _null)); $name = arg[0].text; exists = context.isDefined$1($name); if (exists && !existsOK) throw A.wrapException(A.ParseException$("\\newcommand{" + $name + "} attempting to redefine " + $name + "; use \\renewcommand", _null)); if (!exists && !nonexistsOK) throw A.wrapException(A.ParseException$("\\renewcommand{" + $name + "} when command " + $name + " does not yet exist; use \\newcommand", _null)); arg = context.consumeArgs$1(1)[0]; if (arg.length === 1 && arg[0].text === "[") { token = context.expandNextToken$0(); argText = ""; while (true) { t1 = token.text; if (!(t1 !== "]" && t1 !== "EOF")) break; argText += t1; token = context.expandNextToken$0(); } t1 = A.RegExp_RegExp("^\\s*[0-9]+\\s*$", true, false); if (!t1._nativeRegExp.test(argText)) throw A.wrapException(A.ParseException$("Invalid number of arguments: " + argText, _null)); numArgs = A.int_parse(argText, _null); arg = context.consumeArgs$1(1)[0]; } else numArgs = 0; context.macros.$set$2(0, $name, A.MacroDefinition$fromMacroExpansion(new A.MacroExpansion(arg, numArgs))); return ""; }, MacroDefinition: function MacroDefinition(t0, t1) { this.expand = t0; this.unexpandable = t1; }, MacroDefinition$fromString_closure: function MacroDefinition$fromString_closure(t0) { this.output = t0; }, MacroDefinition$fromCtxString_closure: function MacroDefinition$fromCtxString_closure(t0) { this.expand = t0; }, MacroDefinition$fromMacroExpansion_closure: function MacroDefinition$fromMacroExpansion_closure(t0) { this.output = t0; }, MacroExpansion: function MacroExpansion(t0, t1) { this.tokens = t0; this.numArgs = t1; }, builtinMacros_closure: function builtinMacros_closure() { }, builtinMacros_closure0: function builtinMacros_closure0() { }, builtinMacros_closure1: function builtinMacros_closure1() { }, builtinMacros_closure2: function builtinMacros_closure2() { }, builtinMacros_closure3: function builtinMacros_closure3() { }, builtinMacros_closure4: function builtinMacros_closure4() { }, builtinMacros_closure5: function builtinMacros_closure5() { }, builtinMacros_closure6: function builtinMacros_closure6() { }, builtinMacros_closure7: function builtinMacros_closure7() { }, builtinMacros_closure8: function builtinMacros_closure8() { }, builtinMacros_closure9: function builtinMacros_closure9() { }, builtinMacros__closure0: function builtinMacros__closure0() { }, builtinMacros_closure10: function builtinMacros_closure10() { }, builtinMacros__closure: function builtinMacros__closure() { }, builtinMacros_closure11: function builtinMacros_closure11() { }, builtinMacros_closure12: function builtinMacros_closure12() { }, builtinMacros_closure13: function builtinMacros_closure13() { }, Namespace: function Namespace(t0, t1, t2, t3) { var _ = this; _.current = t0; _.builtins = t1; _.undefStack = t2; _.$ti = t3; }, Namespace_endGroup_closure: function Namespace_endGroup_closure(t0) { this.$this = t0; }, ParseException$(message, token) { var t1 = new A.ParseException(message, token); t1.ParseException$2(message, token); return t1; }, ParseException: function ParseException(t0, t1) { this.message = t0; this.token = t1; }, ParseException_closure: function ParseException_closure() { }, assertNodeType(node, $T) { if ($T._is(node)) return node; throw A.wrapException(A.ParseException$("Expected node of type " + A.createRuntimeType($T).toString$0(0) + ", but got node of type " + J.get$runtimeType$(node).toString$0(0), null)); }, TexParser: function TexParser(t0, t1, t2, t3) { var _ = this; _.settings = t0; _.mode = t1; _.leftrightDepth = 0; _.macroExpander = t2; _.nextToken = null; _.argParsingContexts = t3; }, TexParser__parseSymbol_closure: function TexParser__parseSymbol_closure() { }, ArgumentParsingContext: function ArgumentParsingContext(t0, t1) { var _ = this; _.funcName = t0; _.currArgNum = -1; _.funcData = t1; _._optional = true; }, ScriptsParsingResults: function ScriptsParsingResults(t0, t1, t2) { this.subscript = t0; this.superscript = t1; this.limits = t2; }, Strict: function Strict(t0, t1) { this.index = t0; this._core$_name = t1; }, TexParserSettings: function TexParserSettings() { }, SourceLocation$0(lexer, start, end) { return new A.SourceLocation0(lexer, start, end); }, SourceLocation_range(first, second) { var t2, t1 = first.loc; if (t1 != null) { t2 = second.loc; t2 = t2 == null || t1.lexer !== t2.lexer; } else t2 = true; if (t2) return null; else return new A.SourceLocation0(t1.lexer, t1.start, second.loc.end); }, SourceLocation0: function SourceLocation0(t0, t1, t2) { this.lexer = t0; this.start = t1; this.end = t2; }, TexSymbolConfig: function TexSymbolConfig(t0, t1, t2) { this.symbol = t0; this.variantForm = t1; this.type = t2; }, Token$(text, loc) { return new A.Token1(text, loc); }, Token_range(startToken, endToken, text) { return new A.Token1(text, A.SourceLocation_range(startToken, endToken)); }, Token1: function Token1(t0, t1) { this.text = t0; this.loc = t1; this.noexpand = false; }, CustomLayoutId$(child, id, $T) { return new A.CustomLayoutId(id, child, new A.ValueKey(id, $T._eval$1("ValueKey<0>")), $T._eval$1("CustomLayoutId<0>")); }, CustomLayoutDelegate: function CustomLayoutDelegate() { }, CustomLayoutParentData: function CustomLayoutParentData(t0, t1, t2, t3) { var _ = this; _.id = null; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; _.$ti = t3; }, CustomLayoutId: function CustomLayoutId(t0, t1, t2, t3) { var _ = this; _.id = t0; _.child = t1; _.key = t2; _.$ti = t3; }, CustomLayout: function CustomLayout(t0, t1, t2, t3) { var _ = this; _.delegate = t0; _.children = t1; _.key = t2; _.$ti = t3; }, RenderCustomLayout: function RenderCustomLayout(t0, t1, t2, t3, t4, t5) { var _ = this; _._custom_layout$_delegate = t0; _.ContainerRenderObjectMixin__childCount = t1; _.ContainerRenderObjectMixin__firstChild = t2; _.ContainerRenderObjectMixin__lastChild = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; _.$ti = t5; }, RenderCustomLayout_computeMinIntrinsicWidth_closure: function RenderCustomLayout_computeMinIntrinsicWidth_closure() { }, RenderCustomLayout_computeMaxIntrinsicWidth_closure: function RenderCustomLayout_computeMaxIntrinsicWidth_closure() { }, RenderCustomLayout_computeMinIntrinsicHeight_closure: function RenderCustomLayout_computeMinIntrinsicHeight_closure() { }, RenderCustomLayout_computeMaxIntrinsicHeight_closure: function RenderCustomLayout_computeMaxIntrinsicHeight_closure() { }, AxisConfiguration: function AxisConfiguration(t0, t1, t2) { this.size = t0; this.offsetTable = t1; this.$ti = t2; }, IntrinsicLayoutDelegate: function IntrinsicLayoutDelegate() { }, IntrinsicLayoutDelegate_getIntrinsicSize_closure: function IntrinsicLayoutDelegate_getIntrinsicSize_closure(t0, t1) { this.$this = t0; this.childSize = t1; }, IntrinsicLayoutDelegate_getIntrinsicSize_closure0: function IntrinsicLayoutDelegate_getIntrinsicSize_closure0(t0, t1) { this.$this = t0; this.childSize = t1; }, IntrinsicLayoutDelegate_computeLayout_closure: function IntrinsicLayoutDelegate_computeLayout_closure(t0) { this.$this = t0; }, IntrinsicLayoutDelegate_computeLayout_closure0: function IntrinsicLayoutDelegate_computeLayout_closure0(t0) { this.$this = t0; }, IntrinsicLayoutDelegate_computeLayout_closure1: function IntrinsicLayoutDelegate_computeLayout_closure1(t0, t1) { this.$this = t0; this.dry = t1; }, IntrinsicLayoutDelegate_computeLayout_closure2: function IntrinsicLayoutDelegate_computeLayout_closure2(t0, t1, t2) { this.$this = t0; this.hconf = t1; this.vconf = t2; }, _RenderCustomLayout_RenderBox_ContainerRenderObjectMixin: function _RenderCustomLayout_RenderBox_ContainerRenderObjectMixin() { }, _RenderCustomLayout_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderCustomLayout_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, EqnArrayParentData: function EqnArrayParentData(t0, t1, t2) { this.ContainerParentDataMixin_previousSibling = t0; this.ContainerParentDataMixin_nextSibling = t1; this.offset = t2; }, EqnArray: function EqnArray(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.ruleThickness = t0; _.jotSize = t1; _.arrayskip = t2; _.hlines = t3; _.rowSpacings = t4; _.children = t5; _.key = t6; }, RenderEqnArray: function RenderEqnArray(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._ruleThickness = t0; _._jotSize = t1; _._arrayskip = t2; _._hlines = t3; _._rowSpacings = t4; _.hlinePos = t5; _.width = 0; _.DebugOverflowIndicatorMixin__indicatorLabel = t6; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t7; _.ContainerRenderObjectMixin__childCount = t8; _.ContainerRenderObjectMixin__firstChild = t9; _.ContainerRenderObjectMixin__lastChild = t10; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t11; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderEqnArray__computeLayout_closure: function RenderEqnArray__computeLayout_closure() { }, _RenderEqnArray_RenderBox_ContainerRenderObjectMixin: function _RenderEqnArray_RenderBox_ContainerRenderObjectMixin() { }, _RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin: function _RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin() { }, LayoutBuilderPreserveBaseline: function LayoutBuilderPreserveBaseline(t0, t1) { this.builder = t0; this.key = t1; }, _RenderLayoutBuilderPreserveBaseline: function _RenderLayoutBuilderPreserveBaseline(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 = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, __RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin: function __RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin() { }, __RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder: function __RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder() { }, LineElement$(alignerOrSpacer, canBreakBefore, child, customCrossSize, trailingMargin) { return new A.LineElement(false, customCrossSize, trailingMargin, alignerOrSpacer, child, null); }, Line$(children, key) { return new A.Line(children, key); }, RenderLine$(children, crossAxisAlignment, minDepth, minHeight, textBaseline, textDirection) { var _null = null, t1 = new A.RenderLine(crossAxisAlignment, minDepth, minHeight, textBaseline, textDirection, A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, children); return t1; }, LineParentData: function LineParentData(t0, t1, t2) { var _ = this; _.canBreakBefore = false; _.customCrossSize = null; _.trailingMargin = 0; _.alignerOrSpacer = false; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, LineElement: function LineElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.canBreakBefore = t0; _.customCrossSize = t1; _.trailingMargin = t2; _.alignerOrSpacer = t3; _.child = t4; _.key = t5; }, Line: function Line(t0, t1) { this.children = t0; this.key = t1; }, RenderLine: function RenderLine(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._crossAxisAlignment = t0; _._minDepth = t1; _._minHeight = t2; _._line$_textBaseline = t3; _._line$_textDirection = t4; _._line$_overflow = null; _.maxHeightAboveBaseline = 0; _.__RenderLine_caretOffsets = $; _.alignColWidth = null; _.DebugOverflowIndicatorMixin__indicatorLabel = t5; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t6; _.ContainerRenderObjectMixin__childCount = t7; _.ContainerRenderObjectMixin__firstChild = t8; _.ContainerRenderObjectMixin__lastChild = t9; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t10; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderLine_computeMinIntrinsicWidth_closure: function RenderLine_computeMinIntrinsicWidth_closure() { }, RenderLine_computeMaxIntrinsicWidth_closure: function RenderLine_computeMaxIntrinsicWidth_closure() { }, RenderLine_computeMinIntrinsicHeight_closure: function RenderLine_computeMinIntrinsicHeight_closure() { }, RenderLine_computeMaxIntrinsicHeight_closure: function RenderLine_computeMaxIntrinsicHeight_closure() { }, _RenderLine_RenderBox_ContainerRenderObjectMixin: function _RenderLine_RenderBox_ContainerRenderObjectMixin() { }, _RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin: function _RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin() { }, EditableLine: function EditableLine(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.cursorBlinkOpacityController = t0; _.cursorColor = t1; _.cursorOffset = t2; _.cursorRadius = t3; _.cursorWidth = t4; _.cursorHeight = t5; _.devicePixelRatio = t6; _.hintingColor = t7; _.node = t8; _.paintCursorAboveText = t9; _.preferredLineHeight = t10; _.selection = t11; _.selectionColor = t12; _.showCursor = t13; _.startHandleLayerLink = t14; _.endHandleLayerLink = t15; _.children = t16; _.key = t17; }, RenderEditableLine: function RenderEditableLine(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; _._line_editable$_cursorBlinkOpacityController = t0; _._cursorColor = t1; _._line_editable$_cursorOffset = t2; _._line_editable$_cursorRadius = t3; _._line_editable$_cursorWidth = t4; _._cursorHeight = t5; _._line_editable$_devicePixelRatio = t6; _._hintingColor = t7; _._paintCursorAboveText = t8; _.preferredLineHeight = t9; _._line_editable$_selection = t10; _._selectionColor = t11; _._line_editable$_showCursor = t12; _._line_editable$_startHandleLayerLink = t13; _._line_editable$_endHandleLayerLink = t14; _._crossAxisAlignment = t15; _._minDepth = t16; _._minHeight = t17; _._line$_textBaseline = t18; _._line$_textDirection = t19; _._line$_overflow = null; _.maxHeightAboveBaseline = 0; _.__RenderLine_caretOffsets = $; _.alignColWidth = null; _.DebugOverflowIndicatorMixin__indicatorLabel = t20; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t21; _.ContainerRenderObjectMixin__childCount = t22; _.ContainerRenderObjectMixin__firstChild = t23; _.ContainerRenderObjectMixin__lastChild = t24; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t25; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, MinDimension$(bottomPadding, child, minDepth, minHeight, topPadding) { return new A.MinDimension(minHeight, minDepth, topPadding, bottomPadding, child, null); }, MinDimension: function MinDimension(t0, t1, t2, t3, t4, t5) { var _ = this; _.minHeight = t0; _.minDepth = t1; _.topPadding = t2; _.bottomPadding = t3; _.child = t4; _.key = t5; }, RenderMinDimension: function RenderMinDimension(t0, t1, t2, t3, t4, t5) { var _ = this; _._min_dimension$_minHeight = t0; _._min_dimension$_minDepth = t1; _._topPadding = t2; _._bottomPadding = t3; _.distanceToBaseline = 0; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, Multiscripts$(alignPostscripts, baseResult, isBaseCharacterBox, presubResult, presupResult, subResult, supResult) { return new A.Multiscripts(false, isBaseCharacterBox, baseResult, subResult, supResult, presubResult, presupResult, null); }, calculateUV(base, isBaseCharacterBox, sub, sup) { var t3, r, v, t4, t5, q, u, hx, dx, theta, hy, psi, t1 = base.options, metrics = t1.get$fontMetrics(), h = base.baseline, t2 = sub != null; if (t2) { t3 = sub.options; r = new A.Measurement(t3.get$fontMetrics().subDrop, B.Unit_16).toLpUnder$1(t3); v = isBaseCharacterBox ? 0 : base.fullHeight - h + r; } else v = 0; t3 = sup == null; t4 = !t3; if (t4) { t5 = sup.options; q = new A.Measurement(t5.get$fontMetrics().supDrop, B.Unit_16).toLpUnder$1(t5); u = isBaseCharacterBox ? 0 : h - q; } else u = 0; if (t3 && t2) { hx = sub.baseline; v = Math.max(v, Math.max(new A.Measurement(metrics.sub1, B.Unit_16).toLpUnder$1(t1), hx - 0.8 * new A.Measurement(metrics.xHeight, B.Unit_16).toLpUnder$1(t1))); } else if (t4) { dx = sup.fullHeight - sup.baseline; t3 = t1.style; if (t3 === B.MathStyle_0) t3 = metrics.sup1; else t3 = (t3.index & 1) === 0 ? metrics.sup3 : metrics.sup2; t4 = metrics.xHeight; u = Math.max(u, Math.max(new A.Measurement(t3, B.Unit_16).toLpUnder$1(t1), dx + 0.25 * new A.Measurement(t4, B.Unit_16).toLpUnder$1(t1))); if (t2) { v = Math.max(v, new A.Measurement(metrics.sub2, B.Unit_16).toLpUnder$1(t1)); theta = new A.Measurement(metrics.defaultRuleThickness, B.Unit_16).toLpUnder$1(t1); hy = sub.baseline; t2 = u - dx; t3 = 4 * theta; if (t2 - (hy - v) < t3) { v = t3 - u + dx + hy; psi = 0.8 * new A.Measurement(t4, B.Unit_16).toLpUnder$1(t1) - t2; if (psi > 0) { u += psi; v -= psi; } } } } return new A.Tuple2(u, v, type$.Tuple2_double_double); }, _ScriptPos: function _ScriptPos(t0, t1) { this.index = t0; this._core$_name = t1; }, Multiscripts: function Multiscripts(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.alignPostscripts = t0; _.isBaseCharacterBox = t1; _.baseResult = t2; _.subResult = t3; _.supResult = t4; _.presubResult = t5; _.presupResult = t6; _.key = t7; }, MultiscriptsLayoutDelegate: function MultiscriptsLayoutDelegate(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.alignPostscripts = t0; _.italic = t1; _.isBaseCharacterBox = t2; _.baseOptions = t3; _.subOptions = t4; _.supOptions = t5; _.presubOptions = t6; _.presupOptions = t7; _.baselineDistance = 0; }, _ScriptUvConf: function _ScriptUvConf(t0, t1, t2) { this.fullHeight = t0; this.baseline = t1; this.options = t2; }, ResetBaseline: function ResetBaseline(t0, t1, t2) { this.height = t0; this.child = t1; this.key = t2; }, RenderResetBaseline: function RenderResetBaseline(t0, t1, t2) { var _ = this; _._reset_baseline$_height = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ResetDimension$(child, depth, height, horizontalAlignment, width) { return new A.ResetDimension(height, depth, width, horizontalAlignment, child, null); }, ResetDimension: function ResetDimension(t0, t1, t2, t3, t4, t5) { var _ = this; _.height = t0; _.depth = t1; _.width = t2; _.horizontalAlignment = t3; _.child = t4; _.key = t5; }, RenderResetDimension: function RenderResetDimension(t0, t1, t2, t3, t4, t5) { var _ = this; _._layoutHeight = t0; _._layoutDepth = t1; _._layoutWidth = t2; _._horizontalAlignment = t3; _.RenderObjectWithChildMixin__child = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, ShiftBaseline$(child, offset, relativePos) { return new A.ShiftBaseline(relativePos, offset, child, null); }, ShiftBaseline: function ShiftBaseline(t0, t1, t2, t3) { var _ = this; _.relativePos = t0; _.offset = t1; _.child = t2; _.key = t3; }, RenderShiftBaseline: function RenderShiftBaseline(t0, t1, t2, t3) { var _ = this; _._relativePos = t0; _._shift_baseline$_offset = t1; _._shift_baseline$_height = 0; _.RenderObjectWithChildMixin__child = t2; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t3; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, VListElement$(child, customCrossSize, hShift, trailingMargin) { return new A.VListElement(customCrossSize, trailingMargin, hShift, child, null); }, VList$(baselineReferenceWidgetIndex, children) { return new A.VList(baselineReferenceWidgetIndex, children, null); }, VListParentData: function VListParentData(t0, t1, t2) { var _ = this; _.customCrossSize = null; _.hShift = _.trailingMargin = 0; _.ContainerParentDataMixin_previousSibling = t0; _.ContainerParentDataMixin_nextSibling = t1; _.offset = t2; }, VListElement: function VListElement(t0, t1, t2, t3, t4) { var _ = this; _.customCrossSize = t0; _.trailingMargin = t1; _.hShift = t2; _.child = t3; _.key = t4; }, VList: function VList(t0, t1, t2) { this.baselineReferenceWidgetIndex = t0; this.children = t1; this.key = t2; }, RenderRelativeWidthColumn: function RenderRelativeWidthColumn(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._vlist$_textBaseline = t0; _._baselineReferenceWidgetIndex = t1; _._vlist$_crossAxisAlignment = t2; _._vlist$_textDirection = t3; _.distanceToBaseline = _._vlist$_overflow = null; _.DebugOverflowIndicatorMixin__indicatorLabel = t4; _.DebugOverflowIndicatorMixin__overflowReportNeeded = t5; _.ContainerRenderObjectMixin__childCount = t6; _.ContainerRenderObjectMixin__firstChild = t7; _.ContainerRenderObjectMixin__lastChild = t8; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t9; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, RenderRelativeWidthColumn_computeMinIntrinsicWidth_closure: function RenderRelativeWidthColumn_computeMinIntrinsicWidth_closure() { }, RenderRelativeWidthColumn_computeMaxIntrinsicWidth_closure: function RenderRelativeWidthColumn_computeMaxIntrinsicWidth_closure() { }, RenderRelativeWidthColumn_computeMinIntrinsicHeight_closure: function RenderRelativeWidthColumn_computeMinIntrinsicHeight_closure() { }, RenderRelativeWidthColumn_computeMaxIntrinsicHeight_closure: function RenderRelativeWidthColumn_computeMaxIntrinsicHeight_closure() { }, _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin: function _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin() { }, _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin: function _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin() { }, _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin: function _RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin() { }, getHeightForDelim(delim, fontName, options, style) { var char, metrics, t1 = B.Map_mlU8b.$index(0, delim); if (t1 == null) char = null; else { t1 = t1.math; t1 = t1 == null ? null : t1.replaceChar; char = t1; } metrics = A.getCharacterMetrics(char == null ? delim : char, fontName, B.Mode_0); if (metrics == null) throw A.wrapException(A.StateError$("Illegal delimiter char " + delim + "(" + A.unicodeLiteral(delim) + ") appeared in AST")); return new A.Measurement(metrics.height + metrics.depth, B.Unit_16).toLpUnder$1(options.havingStyle$1(style)); }, DelimiterConf: function DelimiterConf(t0, t1) { this.font = t0; this.style = t1; }, strechySvgSpan($name, width, options) { var effCharNum, pathName, viewBoxWidth, viewBoxHeight, height, imgIndex, t1, data, t2, numSvgChildren, actualWidth, t3, aligns, widths, _list, index, t4; if (J.containsKey$1$x(B.Set_SFNp2._collection$_map, $name)) { effCharNum = B.JSNumber_methods.ceil$0(width / new A.Measurement(1, B.Unit_16).toLpUnder$1(options)); if (effCharNum > 5) if ($name === "widehat" || $name === "widecheck") { pathName = $name + "4"; viewBoxWidth = 2364; viewBoxHeight = 420; height = 0.42; } else { viewBoxWidth = 2340; viewBoxHeight = 312; pathName = "tilde4"; height = 0.34; } else { imgIndex = B.List_ww8[effCharNum]; if ($name === "widehat" || $name === "widecheck") { viewBoxWidth = B.List_SBF[imgIndex]; viewBoxHeight = B.List_iHz[imgIndex]; height = B.List_Gvh[imgIndex]; pathName = $name + imgIndex; } else { viewBoxWidth = B.List_QIS[imgIndex]; viewBoxHeight = B.List_yTu[imgIndex]; height = B.List_oyU0[imgIndex]; pathName = "tilde" + imgIndex; } } height = new A.Measurement(height, B.Unit_16).toLpUnder$1(options); t1 = B.Map_f0FYo.$index(0, pathName); t1.toString; return A.svgWidgetFromPath(t1, new A.Size(width, height), new A.Rect(0, 0, viewBoxWidth, viewBoxHeight), options.color, B.Alignment_m1_m1, B.BoxFit_0); } else { data = B.Map_r8IYK.$index(0, $name); if (data == null) throw A.wrapException(A.ArgumentError$value($name, "name", "Invalid stretchy svg name")); t1 = data.viewBoxHeight; height = new A.Measurement(t1 / 1000, B.Unit_16).toLpUnder$1(options); t2 = data.paths; numSvgChildren = t2.length; actualWidth = Math.max(width, new A.Measurement(data.minWidth, B.Unit_16).toLpUnder$1(options)); switch (numSvgChildren) { case 1: t3 = data.align; t3.toString; aligns = A._setArrayType([t3], type$.JSArray_Alignment); widths = A._setArrayType([actualWidth], type$.JSArray_double); break; case 2: t3 = actualWidth / 2; widths = A._setArrayType([t3, t3], type$.JSArray_double); aligns = B.List_kyU; break; case 3: t3 = actualWidth / 4; widths = A._setArrayType([t3, actualWidth / 2, t3], type$.JSArray_double); aligns = B.List_Ja3; break; default: throw A.wrapException(A.StateError$("Bug inside stretchy svg code")); } _list = J.JSArray_JSArray$allocateFixed(numSvgChildren, type$.Widget); for (t3 = options.color, index = 0; index < numSvgChildren; ++index) { t4 = B.Map_f0FYo.$index(0, t2[index]); t4.toString; _list[index] = A.svgWidgetFromPath(t4, new A.Size(widths[index], height), new A.Rect(0, 0, 400000, t1), t3, aligns[index], B.BoxFit_2); } return A.Row$(_list, B.CrossAxisAlignment_0, null, B.MainAxisAlignment_0, B.MainAxisSize_1, null, null); } }, _KatexImagesData: function _KatexImagesData(t0, t1, t2, t3) { var _ = this; _.paths = t0; _.minWidth = t1; _.viewBoxHeight = t2; _.align = t3; }, makeDecoratedEqualSymbol(symbol, type, mode, options) { var decoratorSymbols, decoratorFont, decoratorSize, t1, decorator, _null = null; switch (symbol) { case "\u2259": decoratorSymbols = A._setArrayType(["\u2227"], type$.JSArray_String); decoratorFont = _null; decoratorSize = B.MathSize_0; break; case "\u225a": decoratorSymbols = A._setArrayType(["\u2228"], type$.JSArray_String); decoratorFont = _null; decoratorSize = B.MathSize_0; break; case "\u225b": decoratorSymbols = A._setArrayType(["\u22c6"], type$.JSArray_String); decoratorFont = _null; decoratorSize = B.MathSize_2; break; case "\u225d": decoratorSymbols = A._setArrayType(["d", "e", "f"], type$.JSArray_String); t1 = B.Map_b7YYn.$index(0, "\\mathrm"); t1.toString; decoratorFont = t1; decoratorSize = B.MathSize_0; break; case "\u225e": decoratorSymbols = A._setArrayType(["m"], type$.JSArray_String); t1 = B.Map_b7YYn.$index(0, "\\mathrm"); t1.toString; decoratorFont = t1; decoratorSize = B.MathSize_0; break; case "\u225f": decoratorSymbols = A._setArrayType(["?"], type$.JSArray_String); decoratorFont = _null; decoratorSize = B.MathSize_0; break; default: throw A.wrapException(A.ArgumentError$value(A.unicodeLiteral(symbol), "symbol", "Not a decorator character")); } t1 = A._arrayInstanceType(decoratorSymbols)._eval$1("MappedListIterable<1,SymbolNode>"); decorator = A.StyleNode$(A.List_List$of(new A.MappedListIterable(decoratorSymbols, new A.makeDecoratedEqualSymbol_closure(mode), t1), false, t1._eval$1("ListIterable.E")), new A.OptionsDiff(_null, decoratorSize, _null, _null, decoratorFont)); t1 = A.GreenNodeWrappingExt_wrapWithEquationRow(new A.SymbolNode("=", false, type, _null, mode)); return A.SyntaxNode$(_null, 0, A.OverNode$(A.GreenNodeWrappingExt_wrapWithEquationRow(decorator), t1, false)).buildWidget$1(options); }, makeDecoratedEqualSymbol_closure: function makeDecoratedEqualSymbol_closure(t0) { this.mode = t0; }, makeBaseSymbol(atomType, mode, options, overrideFont, symbol, variantForm) { var t1, t2, t3, renderConfig, char, useMathFont, font, charMetrics, t4, _i, fallback, t5, postfix, italic, defaultFont, characterMetrics, chars, res1, res2, widget1, widget2, _null = null, _box_0 = {}, symbolRenderConfig = B.Map_mlU8b.$index(0, symbol); if (symbolRenderConfig != null) { if (variantForm) symbolRenderConfig = symbolRenderConfig.variantForm; t1 = mode === B.Mode_0; if (t1) { t2 = symbolRenderConfig == null; t3 = t2 ? _null : symbolRenderConfig.math; if (t3 == null) { t2 = t2 ? _null : symbolRenderConfig.text; renderConfig = t2; } else renderConfig = t3; } else { t2 = symbolRenderConfig == null; t3 = t2 ? _null : symbolRenderConfig.text; if (t3 == null) { t2 = t2 ? _null : symbolRenderConfig.math; renderConfig = t2; } else renderConfig = t3; } t2 = renderConfig == null; char = t2 ? _null : renderConfig.replaceChar; if (char == null) char = symbol; if (atomType === B.AtomType_0 && B.JSString_methods._codeUnitAt$1(symbol, 0) !== 55349) { if (!t1) useMathFont = mode === B.Mode_1 && options.mathFontOptions != null; else useMathFont = true; if (overrideFont == null) font = useMathFont ? options.mathFontOptions : options.textFontOptions; else font = overrideFont; _box_0.font = font; if (font != null) { charMetrics = A.getCharacterMetrics(char, font.get$fontName(), mode); if (charMetrics == null) { for (t3 = font.fallback, t4 = t3.length, _i = 0; _i < t4; ++_i) { fallback = t3[_i]; t5 = fallback.fontWeight === B.FontWeight_6 ? "Bold" : ""; postfix = t5 + (fallback.fontShape === B.FontStyle_1 ? "Italic" : ""); t5 = fallback.fontFamily + "-"; charMetrics = A.getCharacterMetrics(char, t5 + (postfix.length === 0 ? "Regular" : postfix), mode); if (charMetrics != null) { _box_0.font = fallback; break; } } _box_0.font.toString; } if (charMetrics != null) { italic = new A.Measurement(charMetrics.italic, B.Unit_16).toLpUnder$1(options); t2 = new A.Measurement(charMetrics.skew, B.Unit_16).toLpUnder$1(options); return new A.BuildResult(A.makeChar(symbol, _box_0.font, charMetrics, options, t1), options, italic, t2, _null); } else if (B.Map_V0ckJ.containsKey$1(0, symbol) && _box_0.font.fontFamily === "Typewriter") { t1 = type$.MappedListIterable_String_Widget; return new A.BuildResult(A.Row$(A.List_List$of(new A.MappedListIterable(A._setArrayType(B.Map_V0ckJ.$index(0, symbol).split(""), type$.JSArray_String), new A.makeBaseSymbol_closure(_box_0, mode, options), t1), false, t1._eval$1("ListIterable.E")), B.CrossAxisAlignment_4, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.TextBaseline_0, _null), options, 0, 0, _null); } } } defaultFont = t2 ? _null : renderConfig.defaultFont; if (defaultFont == null) defaultFont = B.FontOptions_D9x; t2 = t2 ? _null : renderConfig.replaceChar; if (t2 == null) t2 = symbol; characterMetrics = A.getCharacterMetrics(t2, defaultFont.get$fontName(), B.Mode_0); t2 = characterMetrics == null; italic = t2 ? _null : new A.Measurement(characterMetrics.italic, B.Unit_16).toLpUnder$1(options); if (italic == null) italic = 0; t1 = A.makeChar(char, defaultFont, characterMetrics, options, t1); t2 = t2 ? _null : new A.Measurement(characterMetrics.skew, B.Unit_16).toLpUnder$1(options); return new A.BuildResult(t1, options, italic, t2 == null ? 0 : t2, _null); } else { t1 = mode === B.Mode_0; if (t1 && !variantForm) if (B.Map_GNyEC.containsKey$1(0, symbol)) { chars = B.Map_GNyEC.$index(0, symbol); t1 = chars[0]; t2 = chars[1]; res1 = A.makeBaseSymbol(atomType, mode, options, _null, t1, false); res2 = A.makeBaseSymbol(atomType, mode, options, _null, t2, false); return new A.BuildResult(A.Row$(A._setArrayType([A.ResetDimension$(res1.widget, _null, _null, B.CrossAxisAlignment_0, 0), res2.widget], type$.JSArray_Widget), B.CrossAxisAlignment_4, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.TextBaseline_0, _null), options, res2.italic, 0, _null); } else if (B.Map_yvMMh.containsKey$1(0, symbol)) { t1 = B.Map_yvMMh.$index(0, symbol); t1.toString; t2 = $.$get$compactedCompositeSymbolSpacings().$index(0, symbol); t2.toString; t3 = t1[0]; t1 = t1[1]; res1 = A.makeBaseSymbol(atomType, mode, options, _null, t3, false); res2 = A.makeBaseSymbol(atomType, mode, options, _null, t1, false); widget1 = res1.widget; widget1 = t3 !== ":" ? widget1 : A.ShiftBaseline$(widget1, new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options), 0.5); widget2 = res2.widget; widget2 = t1 !== ":" ? widget2 : A.ShiftBaseline$(widget2, new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options), 0.5); return new A.BuildResult(A.Line$(A._setArrayType([A.LineElement$(false, false, widget1, _null, t2.toLpUnder$1(options)), widget2], type$.JSArray_Widget), _null), options, res2.italic, 0, _null); } else if (J.containsKey$1$x(B.Set_ww8._collection$_map, symbol)) return A.makeDecoratedEqualSymbol(symbol, atomType, mode, options); } return new A.BuildResult(A.makeChar(symbol, B.FontOptions_D9x, _null, options, t1), options, 0, 0, _null); }, makeChar(character, font, characterMetrics, options, needItalic) { var italic, _null = null, t1 = characterMetrics == null, t2 = t1 ? _null : new A.Measurement(characterMetrics.height, B.Unit_16).toLpUnder$1(options), t3 = t1 ? _null : new A.Measurement(characterMetrics.depth, B.Unit_16).toLpUnder$1(options), t4 = "packages/flutter_math_fork/KaTeX_" + font.fontFamily, t5 = font.fontWeight, t6 = font.fontShape, charWidget = A.ResetDimension$(A.RichText$(_null, _null, _null, B.TextOverflow_3, false, _null, A.TextSpan$(_null, _null, _null, _null, A.TextStyle$(_null, _null, options.color, _null, _null, _null, _null, _null, t4, _null, _null, new A.Measurement(1, B.Unit_16).toLpUnder$1(options), t6, t5, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), character), B.TextAlign_4, _null, _null, 1, B.TextWidthBasis_0), t3, t2, B.CrossAxisAlignment_2, _null); if (needItalic) { italic = t1 ? _null : new A.Measurement(characterMetrics.italic, B.Unit_16).toLpUnder$1(options); return new A.Padding(new A.EdgeInsets(0, 0, italic == null ? 0 : italic, 0), charWidget, _null); } return charWidget; }, makeBaseSymbol_closure: function makeBaseSymbol_closure(t0, t1, t2) { this._box_0 = t0; this.mode = t1; this.options = t2; }, unicodeLiteral(str) { return new A.MappedListIterable(A._setArrayType(str.split(""), type$.JSArray_String), new A.unicodeLiteral_closure(false), type$.MappedListIterable_String_String).join$0(0); }, unicodeLiteral_closure: function unicodeLiteral_closure(t0) { this.escape = t0; }, BuildException: function BuildException(t0) { this.message = t0; }, Math_Math$tex(expression, mathStyle, onErrorFallback, textStyle) { var e, e0, t1, t2, t3, t4, t5, t6, parse, exception, _null = null, settings = B.C_TexParserSettings, ast = null, parseError = null; try { t1 = settings; t2 = A.ListQueue$(_null, type$.ArgumentParsingContext); t3 = A._setArrayType([], type$.JSArray_Token); t4 = $.$get$builtinMacros(); t5 = A._setArrayType([], type$.JSArray_Map_of_String_and_nullable_MacroDefinition); t6 = type$.String; t4 = new A.Namespace(A.LinkedHashMap_LinkedHashMap$from(B.Map_empty9, t6, type$.MacroDefinition), t4, t5, type$.Namespace_MacroDefinition); t2 = new A.TexParser(t1, B.Mode_0, new A.MacroExpander(t1, B.Mode_0, t3, A.Lexer$(expression, t1), t4), t2); t5.push(A.LinkedHashMap_LinkedHashMap$_empty(t6, type$.nullable_MacroDefinition)); parse = t2.parseExpression$1$breakOnInfix(false); t2.expect$1("EOF"); t4.endGroup$0(); ast = new A.SyntaxTree(A.GreenNodeListWrappingExt_wrapWithEquationRow(parse)); } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.ParseException) { e = t1; parseError = e; } else { e0 = t1; parseError = A.ParseException$("Unsanitized parse exception detected: " + A.S(e0) + string$.x2ePleas, _null); } } return new A.Math(ast, mathStyle, onErrorFallback, _null, parseError, _null, textStyle, _null); }, Math_defaultOnErrorFallback(error) { return A.SelectableText$(error.get$messageWithType(), null); }, Math: function Math(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.ast = t0; _.mathStyle = t1; _.onErrorFallback = t2; _.options = t3; _.parseError = t4; _.textScaleFactor = t5; _.textStyle = t6; _.key = t7; }, FlutterMathMode: function FlutterMathMode(t0, t1) { this.index = t0; this._core$_name = t1; }, SvgParser: function SvgParser() { }, PictureCache: function PictureCache(t0) { this._picture_cache$_cache = t0; }, PictureConfiguration: function PictureConfiguration(t0, t1, t2, t3, t4, t5) { var _ = this; _.bundle = t0; _.locale = t1; _.textDirection = t2; _.viewBox = t3; _.platform = t4; _.colorFilter = t5; }, PictureProvider: function PictureProvider() { }, PictureProvider_resolve_closure: function PictureProvider_resolve_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.stream = t2; _.onError = t3; }, PictureProvider_resolve__closure0: function PictureProvider_resolve__closure0(t0, t1, t2) { this.$this = t0; this.key = t1; this.onError = t2; }, PictureProvider_resolve_closure0: function PictureProvider_resolve_closure0(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.onError = t2; }, PictureProvider_resolve__closure: function PictureProvider_resolve__closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, AssetBundlePictureKey: function AssetBundlePictureKey(t0, t1, t2) { this.bundle = t0; this.name = t1; this.colorFilter = t2; }, AssetBundlePictureProvider: function AssetBundlePictureProvider() { }, AssetBundlePictureProvider_load_closure: function AssetBundlePictureProvider_load_closure(t0, t1) { this.$this = t0; this.key = t1; }, NetworkPicture: function NetworkPicture(t0, t1, t2, t3, t4) { var _ = this; _.decoderBuilder = t0; _.decoder = t1; _.url = t2; _.headers = t3; _.colorFilter = t4; _._currentColor = null; }, NetworkPicture_load_closure: function NetworkPicture_load_closure(t0, t1) { this.$this = t0; this.key = t1; }, MemoryPicture: function MemoryPicture(t0, t1, t2, t3) { var _ = this; _.decoderBuilder = t0; _.decoder = t1; _.bytes = t2; _.colorFilter = t3; _._currentColor = null; }, StringPicture: function StringPicture(t0, t1, t2, t3) { var _ = this; _.decoderBuilder = t0; _.decoder = t1; _.string = t2; _.colorFilter = t3; _._currentColor = null; }, ExactAssetPicture: function ExactAssetPicture(t0, t1, t2, t3, t4, t5) { var _ = this; _.assetName = t0; _.bundle = t1; _.$package = t2; _.decoderBuilder = t3; _.decoder = t4; _.colorFilter = t5; _._currentColor = null; }, OneFramePictureStreamCompleter$(picture, informationCollector) { var t1 = new A.OneFramePictureStreamCompleter(A._setArrayType([], type$.JSArray__PictureListenerPair)); t1.OneFramePictureStreamCompleter$2$informationCollector(picture, informationCollector); return t1; }, _PictureListenerPair: function _PictureListenerPair(t0, t1) { this.listener = t0; this.errorListener = t1; }, PictureInfo: function PictureInfo(t0, t1, t2) { this.picture = t0; this.viewport = t1; this.size = t2; }, PictureStream: function PictureStream() { this._picture_stream$_listeners = this._picture_stream$_completer = null; }, PictureStream_removeListener_closure: function PictureStream_removeListener_closure(t0) { this.listener = t0; }, PictureStreamCompleter: function PictureStreamCompleter() { }, PictureStreamCompleter_removeListener_closure: function PictureStreamCompleter_removeListener_closure(t0) { this.listener = t0; }, OneFramePictureStreamCompleter: function OneFramePictureStreamCompleter(t0) { this._picture_stream$_listeners = t0; this._picture_stream$_current = null; }, OneFramePictureStreamCompleter_closure: function OneFramePictureStreamCompleter_closure(t0) { this.informationCollector = t0; }, _PictureStream_Object_Diagnosticable: function _PictureStream_Object_Diagnosticable() { }, _PictureStreamCompleter_Object_Diagnosticable: function _PictureStreamCompleter_Object_Diagnosticable() { }, scaleCanvasToViewBox(canvas, desiredSize, viewBox, pictureSize) { var scale, scaledHalfViewBoxSize, halfDesiredSize, t1 = viewBox.right - viewBox.left, t2 = viewBox.bottom - viewBox.top; if (!desiredSize.$eq(0, new A.Size(t1, t2))) { scale = Math.min(desiredSize._dx / t1, desiredSize._dy / t2); scaledHalfViewBoxSize = new A.Size(t1, t2).$mul(0, scale).$div(0, 2); halfDesiredSize = desiredSize.$div(0, 2); canvas.translate$2(0, halfDesiredSize._dx - scaledHalfViewBoxSize._dx, halfDesiredSize._dy - scaledHalfViewBoxSize._dy); canvas.scale$2(0, scale, scale); } }, RawPicture: function RawPicture(t0, t1, t2, t3) { var _ = this; _.picture = t0; _.matchTextDirection = t1; _.allowDrawingOutsideViewBox = t2; _.key = t3; }, RenderPicture: function RenderPicture(t0, t1, t2, t3, t4) { var _ = this; _._render_picture$_matchTextDirection = t0; _._render_picture$_textDirection = t1; _._render_picture$_picture = t2; _._allowDrawingOutsideViewBox = t3; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t4; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, parseColor(colorString) { var r, g, b, color, t1, rawColorElements, t2, rgb, values, hue, luminance, alpha, a, namedColor; if (colorString == null || colorString.length === 0) return null; if (colorString === "none") return null; if (colorString.toLowerCase() === "currentcolor") return null; if (colorString[0] === "#") { if (colorString.length === 4) { r = colorString[1]; g = colorString[2]; b = colorString[3]; colorString = "#" + r + r + g + g + b + b; } color = A.int_parse(J.substring$1$s(colorString, 1), 16); t1 = colorString.length; if (t1 === 7) return new A.Color((color | 4278190080) >>> 0); if (t1 === 9) return new A.Color(color >>> 0); } if (B.JSString_methods.startsWith$1(colorString.toLowerCase(), "rgba")) { t1 = type$.MappedListIterable_String_String; rawColorElements = A.List_List$of(new A.MappedListIterable(A._setArrayType(B.JSString_methods.substring$2(colorString, J.indexOf$1$asx(colorString, "(") + 1, B.JSString_methods.indexOf$1(colorString, ")")).split(","), type$.JSArray_String), new A.parseColor_closure(), t1), true, t1._eval$1("ListIterable.E")); t1 = A.parseDouble(B.JSArray_methods.removeLast$0(rawColorElements), false); t1.toString; t2 = A._arrayInstanceType(rawColorElements)._eval$1("MappedListIterable<1,int>"); rgb = A.List_List$of(new A.MappedListIterable(rawColorElements, new A.parseColor_closure0(), t2), true, t2._eval$1("ListIterable.E")); return A.Color$fromRGBO(rgb[0], rgb[1], rgb[2], t1); } if (B.JSString_methods.startsWith$1(colorString.toLowerCase(), "hsl")) { t1 = type$.MappedListIterable_String_int; values = A.List_List$of(new A.MappedListIterable(A._setArrayType(B.JSString_methods.substring$2(colorString, J.indexOf$1$asx(colorString, "(") + 1, B.JSString_methods.indexOf$1(colorString, ")")).split(","), type$.JSArray_String), new A.parseColor_closure1(), t1), true, t1._eval$1("ListIterable.E")); hue = B.JSNumber_methods.$mod(values[0] / 360, 1); t1 = values[1]; luminance = values[2] / 100; alpha = values.length > 3 ? values[3] : 255; rgb = A._setArrayType([0, 0, 0], type$.JSArray_double); if (hue < 0.16666666666666666) { rgb[0] = 1; rgb[1] = hue * 6; } else if (hue < 0.3333333333333333) { rgb[0] = 2 - hue * 6; rgb[1] = 1; } else if (hue < 0.5) { rgb[1] = 1; rgb[2] = hue * 6 - 2; } else if (hue < 0.6666666666666666) { rgb[1] = 4 - hue * 6; rgb[2] = 1; } else { t2 = hue * 6; if (hue < 0.8333333333333334) { rgb[0] = t2 - 4; rgb[2] = 1; } else { rgb[0] = 1; rgb[2] = 6 - t2; } } t2 = type$.MappedListIterable_double_double; rgb = A.List_List$of(new A.MappedListIterable(rgb, new A.parseColor_closure2(t1 / 100), t2), true, t2._eval$1("ListIterable.E")); t1 = A._arrayInstanceType(rgb)._eval$1("MappedListIterable<1,double>"); rgb = luminance < 0.5 ? A.List_List$of(new A.MappedListIterable(rgb, new A.parseColor_closure3(luminance), t1), true, t1._eval$1("ListIterable.E")) : A.List_List$of(new A.MappedListIterable(rgb, new A.parseColor_closure4(luminance), t1), true, t1._eval$1("ListIterable.E")); t1 = A._arrayInstanceType(rgb)._eval$1("MappedListIterable<1,double>"); rgb = A.List_List$of(new A.MappedListIterable(rgb, new A.parseColor_closure5(), t1), true, t1._eval$1("ListIterable.E")); return A.Color$fromARGB(alpha, J.round$0$n(rgb[0]), J.round$0$n(rgb[1]), J.round$0$n(rgb[2])); } if (B.JSString_methods.startsWith$1(colorString.toLowerCase(), "rgb")) { t1 = type$.MappedListIterable_String_int; rgb = A.List_List$of(new A.MappedListIterable(A._setArrayType(B.JSString_methods.substring$2(colorString, J.indexOf$1$asx(colorString, "(") + 1, B.JSString_methods.indexOf$1(colorString, ")")).split(","), type$.JSArray_String), new A.parseColor_closure6(), t1), true, t1._eval$1("ListIterable.E")); a = rgb.length > 3 ? rgb[3] : 255; return A.Color$fromARGB(a, rgb[0], rgb[1], rgb[2]); } namedColor = B.Map_LEopZ.$index(0, colorString); if (namedColor != null) return namedColor; throw A.wrapException(A.StateError$('Could not parse "' + A.S(colorString) + '" as a color.')); }, parseColor_closure: function parseColor_closure() { }, parseColor_closure0: function parseColor_closure0() { }, parseColor_closure1: function parseColor_closure1() { }, parseColor_closure2: function parseColor_closure2(t0) { this.saturation = t0; }, parseColor_closure3: function parseColor_closure3(t0) { this.luminance = t0; }, parseColor_closure4: function parseColor_closure4(t0) { this.luminance = t0; }, parseColor_closure5: function parseColor_closure5() { }, parseColor_closure6: function parseColor_closure6() { }, _Elements_svg(parserState, warningsAsErrors) { var t1, t2, t3, _null = null, _s18_ = "_currentAttributes", viewBox = A.parseViewBox(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_)), id = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", ""), color = A.parseColor(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "color", _null)); if (color == null) color = parserState.theme.currentColor; if (parserState._parser_state$_root != null) { A.FlutterError_reportError(new A.FlutterErrorDetails(new A.UnsupportedError("Unsupported nested <svg> element."), _null, "SVG", A.ErrorDescription$("in _Element.svg"), new A._Elements_svg_closure(parserState), false)); t1 = A._setArrayType([], type$.JSArray_Drawable); t2 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); t3 = viewBox.viewBox; parserState._parentDrawables._add$1(0, new A._SvgGroupTuple("svg", new A.DrawableGroup(id, t1, A.parseStyle(parserState._parser_state$_key, t2, parserState._definitions, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _null, color, _null), _null, color))); return _null; } viewBox.toString; t1 = parserState._definitions; t2 = viewBox.viewBox; t2 = new A.DrawableRoot(viewBox, id, _null, color, A._setArrayType([], type$.JSArray_Drawable), t1, A.parseStyle(parserState._parser_state$_key, A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), t1, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy), _null, color, _null)); parserState._parser_state$_root = t2; t1 = parserState._currentStartElement; t1.toString; parserState.addGroup$2(t1, t2); return _null; }, _Elements_g(parserState, warningsAsErrors) { var color, t2, t3, t4, t5, group, _null = null, _s18_ = "_currentAttributes", t1 = parserState._parentDrawables; t1 = t1.get$last(t1).drawable; t1.toString; color = A.parseColor(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "color", _null)); if (color == null) color = t1.get$color(t1); t2 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", ""); t3 = A._setArrayType([], type$.JSArray_Drawable); t4 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); t5 = parserState._parser_state$_root.viewport.viewBox; t5 = A.parseStyle(parserState._parser_state$_key, t4, parserState._definitions, new A.Rect(0, 0, 0 + t5._dx, 0 + t5._dy), t1.get$style(t1), color, _null); t4 = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "transform", _null)); group = new A.DrawableGroup(t2, t3, t5, t4 == null ? _null : t4._m4storage, color); if (!parserState._inDefs) B.JSArray_methods.add$1(t1.get$children(t1), group); t1 = parserState._currentStartElement; t1.toString; parserState.addGroup$2(t1, group); return _null; }, _Elements_symbol(parserState, warningsAsErrors) { var color, t2, t3, t4, t5, _null = null, _s18_ = "_currentAttributes", t1 = parserState._parentDrawables; t1 = t1.get$last(t1).drawable; t1.toString; color = A.parseColor(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "color", _null)); if (color == null) color = t1.get$color(t1); t2 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", ""); t3 = A._setArrayType([], type$.JSArray_Drawable); t1 = A.parseStyle(parserState._parser_state$_key, A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), parserState._definitions, _null, t1.get$style(t1), color, _null); t4 = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "transform", _null)); t4 = t4 == null ? _null : t4._m4storage; t5 = parserState._currentStartElement; t5.toString; parserState.addGroup$2(t5, new A.DrawableGroup(t2, t3, t1, t4, color)); return _null; }, _Elements_use(parserState, warningsAsErrors) { var xlinkHref, t2, t3, style, transform, group, isIri, _null = null, _s18_ = "_currentAttributes", t1 = parserState._parentDrawables, $parent = t1.get$last(t1).drawable; t1 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); xlinkHref = A.getAttribute(t1, "href", A.getAttribute(t1, "href", "")); if (xlinkHref.length === 0) return _null; t1 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); t2 = parserState._definitions; t3 = parserState._parser_state$_root.viewport.viewBox; style = A.parseStyle(parserState._parser_state$_key, t1, t2, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), $parent.get$style($parent), $parent.get$color($parent), _null); transform = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "transform", _null)); if (transform == null) { transform = new A.Matrix4(new Float64Array(16)); transform.setIdentity$0(); } t1 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "x", "0"), false); t3 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "y", "0"), false); t3.toString; transform.translate$2(0, t1, t3); t2 = t2.getDrawable$1("url(" + xlinkHref + ")"); t2.toString; group = new A.DrawableGroup(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", ""), A._setArrayType([t2.mergeStyle$1(style)], type$.JSArray_Drawable), style, transform._m4storage, _null); isIri = parserState.checkForIri$1(group); if (!parserState._inDefs || !isIri) B.JSArray_methods.add$1($parent.get$children($parent), group); return _null; }, _Elements_parseStops(parserState, colors, offsets) { var t2, t3, rawOpacity, stopColor, t4, _s18_ = "_currentAttributes", t1 = parserState._parentDrawables; t1 = t1.get$last(t1).drawable; t1.toString; for (t2 = parserState._readSubtree$0(), t2 = new A._SyncStarIterator(t2._outerHelper(), A._instanceType(t2)._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) { t3 = t2.get$current(t2); if (t3 instanceof A.XmlEndElementEvent) continue; if (t3 instanceof A.XmlStartElementEvent) { rawOpacity = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "stop-opacity", "1"); t3 = A.parseColor(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "stop-color", "")); stopColor = t3 == null ? t1.get$color(t1) : t3; if (stopColor == null) stopColor = B.Color_4278190080; t3 = A.parseDouble(rawOpacity, false); t3.toString; t4 = stopColor.value; colors.push(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * t3), t4 >>> 16 & 255, t4 >>> 8 & 255, t4 & 255)); t4 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "offset", "0%"); t4.toString; offsets.push(A.parseDecimalOrPercentage(t4)); } } return null; }, _Elements_radialGradient(parserState, warningsAsErrors) { var t1, href, ref, cx, cy, r, fx, fy, t2, t3, t4, t5, t6, _null = null, _s18_ = "_currentAttributes", gradientUnits = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "gradientUnits", _null), isObjectBoundingBox = gradientUnits !== "userSpaceOnUse", rawCx = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "cx", "50%"), rawCy = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "cy", "50%"), rawR = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "r", "50%"), rawFx = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "fx", rawCx), rawFy = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "fy", rawCy), spreadMethod = A.parseTileMode(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_)), id = "url(#" + A.S(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", "")) + ")", originalTransform = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "gradientTransform", _null)), offsets = A._setArrayType([], type$.JSArray_double), colors = A._setArrayType([], type$.JSArray_Color); if (parserState._currentStartElement.isSelfClosing) { t1 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); href = A.getAttribute(t1, "href", A.getAttribute(t1, "href", "")); ref = type$.nullable_DrawableGradient._as(parserState._definitions._gradients.$index(0, "url(" + A.S(href) + ")")); if (ref == null) A.reportMissingDef(parserState._parser_state$_key, href, "radialGradient"); else { if (gradientUnits == null) isObjectBoundingBox = ref.unitMode === B.GradientUnitMode_0; B.JSArray_methods.addAll$1(colors, ref.colors); B.JSArray_methods.addAll$1(offsets, ref.offsets); } } else A._Elements_parseStops(parserState, colors, offsets); cx = A._Cell$named("cx"); cy = A._Cell$named("cy"); r = A._Cell$named("r"); fx = A._Cell$named("fx"); fy = A._Cell$named("fy"); if (isObjectBoundingBox) { rawCx.toString; cx.__late_helper$_value = A.parseDecimalOrPercentage(rawCx); rawCy.toString; cy.__late_helper$_value = A.parseDecimalOrPercentage(rawCy); rawR.toString; r.__late_helper$_value = A.parseDecimalOrPercentage(rawR); rawFx.toString; fx.__late_helper$_value = A.parseDecimalOrPercentage(rawFx); rawFy.toString; fy.__late_helper$_value = A.parseDecimalOrPercentage(rawFy); } else { rawCx.toString; if (B.JSString_methods.endsWith$1(rawCx, "%")) t1 = A.parsePercentage(rawCx, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dx - 0) + 0; else { t1 = A.parseDouble(rawCx, false); t1.toString; } cx.__late_helper$_value = t1; rawCy.toString; if (B.JSString_methods.endsWith$1(rawCy, "%")) t1 = A.parsePercentage(rawCy, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dy - 0) + 0; else { t1 = A.parseDouble(rawCy, false); t1.toString; } cy.__late_helper$_value = t1; rawR.toString; if (B.JSString_methods.endsWith$1(rawR, "%")) { t1 = A.parsePercentage(rawR, 1); t2 = parserState._parser_state$_root.viewport.viewBox; t2 = t1 * ((0 + t2._dy - 0 + (0 + t2._dx - 0)) / 2); t1 = t2; } else { t1 = A.parseDouble(rawR, false); t1.toString; } r.__late_helper$_value = t1; rawFx.toString; if (B.JSString_methods.endsWith$1(rawFx, "%")) t1 = A.parsePercentage(rawFx, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dx - 0) + 0; else { t1 = A.parseDouble(rawFx, false); t1.toString; } fx.__late_helper$_value = t1; rawFy.toString; if (B.JSString_methods.endsWith$1(rawFy, "%")) t1 = A.parsePercentage(rawFy, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dy - 0) + 0; else { t1 = A.parseDouble(rawFy, false); t1.toString; } fy.__late_helper$_value = t1; } t1 = cx._readLocal$0(); t2 = cy._readLocal$0(); t3 = r._readLocal$0(); t4 = !J.$eq$(fx._readLocal$0(), cx._readLocal$0()) || !J.$eq$(fy._readLocal$0(), cy._readLocal$0()) ? new A.Offset(fx._readLocal$0(), fy._readLocal$0()) : new A.Offset(cx._readLocal$0(), cy._readLocal$0()); t5 = isObjectBoundingBox ? B.GradientUnitMode_0 : B.GradientUnitMode_1; t6 = originalTransform == null ? _null : originalTransform._m4storage; parserState._definitions._gradients.$indexSet(0, id, new A.DrawableRadialGradient(new A.Offset(t1, t2), t3, t4, offsets, colors, spreadMethod, t5, t6)); return _null; }, _Elements_linearGradient(parserState, warningsAsErrors) { var t1, href, ref, fromOffset, toOffset, t2, _null = null, _s18_ = "_currentAttributes", gradientUnits = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "gradientUnits", _null), isObjectBoundingBox = gradientUnits !== "userSpaceOnUse", x1 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "x1", "0%"), x2 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "x2", "100%"), y1 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "y1", "0%"), y2 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "y2", "0%"), id = "url(#" + A.S(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", "")) + ")", originalTransform = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "gradientTransform", _null)), spreadMethod = A.parseTileMode(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_)), colors = A._setArrayType([], type$.JSArray_Color), offsets = A._setArrayType([], type$.JSArray_double); if (parserState._currentStartElement.isSelfClosing) { t1 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); href = A.getAttribute(t1, "href", A.getAttribute(t1, "href", "")); ref = type$.nullable_DrawableGradient._as(parserState._definitions._gradients.$index(0, "url(" + A.S(href) + ")")); if (ref == null) A.reportMissingDef(parserState._parser_state$_key, href, "linearGradient"); else { if (gradientUnits == null) isObjectBoundingBox = ref.unitMode === B.GradientUnitMode_0; B.JSArray_methods.addAll$1(colors, ref.colors); B.JSArray_methods.addAll$1(offsets, ref.offsets); } } else A._Elements_parseStops(parserState, colors, offsets); if (isObjectBoundingBox) { x1.toString; t1 = A.parseDecimalOrPercentage(x1); y1.toString; fromOffset = new A.Offset(t1, A.parseDecimalOrPercentage(y1)); x2.toString; t1 = A.parseDecimalOrPercentage(x2); y2.toString; toOffset = new A.Offset(t1, A.parseDecimalOrPercentage(y2)); } else { x1.toString; if (B.JSString_methods.endsWith$1(x1, "%")) t1 = A.parsePercentage(x1, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dx - 0) + 0; else { t1 = A.parseDouble(x1, false); t1.toString; } y1.toString; if (B.JSString_methods.endsWith$1(y1, "%")) t2 = A.parsePercentage(y1, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dy - 0) + 0; else { t2 = A.parseDouble(y1, false); t2.toString; } fromOffset = new A.Offset(t1, t2); x2.toString; if (B.JSString_methods.endsWith$1(x2, "%")) t1 = A.parsePercentage(x2, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dx - 0) + 0; else { t1 = A.parseDouble(x2, false); t1.toString; } y2.toString; if (B.JSString_methods.endsWith$1(y2, "%")) t2 = A.parsePercentage(y2, 1) * (0 + parserState._parser_state$_root.viewport.viewBox._dy - 0) + 0; else { t2 = A.parseDouble(y2, false); t2.toString; } toOffset = new A.Offset(t1, t2); } t1 = isObjectBoundingBox ? B.GradientUnitMode_0 : B.GradientUnitMode_1; t2 = originalTransform == null ? _null : originalTransform._m4storage; parserState._definitions._gradients.$indexSet(0, id, new A.DrawableLinearGradient(fromOffset, toOffset, offsets, colors, spreadMethod, t1, t2)); return _null; }, _Elements_clipPath(parserState, warningsAsErrors) { var t1, t2, currentPath, t3, t4, pathFn, errorMessage, t5, _s18_ = "_currentAttributes", id = "url(#" + A.S(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "id", "")) + ")", paths = A._setArrayType([], type$.JSArray_Path); for (t1 = parserState._readSubtree$0(), t1 = new A._SyncStarIterator(t1._outerHelper(), A._instanceType(t1)._eval$1("_SyncStarIterator<1>")), t2 = parserState._definitions, currentPath = null; t1.moveNext$0();) { t3 = t1.get$current(t1); if (t3 instanceof A.XmlEndElementEvent) continue; if (t3 instanceof A.XmlStartElementEvent) { t4 = t3.name; pathFn = B.Map_0MYu.$index(0, t4); if (pathFn != null) { t3 = A.applyTransformIfNeeded(pathFn.call$1(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_)), A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_)); t3.toString; t4 = A.parseRawFillRule(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_), "clip-rule", "nonzero")); t4.toString; t3.set$fillType(t4); t4 = currentPath == null; if (!t4 && t3.get$fillType() !== currentPath.get$fillType()) { paths.push(t3); currentPath = t3; } else if (t4) { paths.push(t3); currentPath = t3; } else currentPath.addPath$2(0, t3, B.Offset_0_0); } else if (t4 === "use") { t3 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, _s18_); new A._Elements_clipPath_extractPathsFromDrawable(paths).call$1(t2.getDrawable$1("url(" + A.S(A.getAttribute(t3, "href", A.getAttribute(t3, "href", ""))) + ")")); } else { errorMessage = "Unsupported clipPath child " + t4; t4 = A.ErrorDescription$("in _Element.clipPath"); t5 = $.$get$FlutterError_onError(); if (t5 != null) t5.call$1(new A.FlutterErrorDetails(new A.UnsupportedError(errorMessage), null, "SVG", t4, new A._Elements_clipPath_closure(t3, parserState), false)); } } } t2._clipPaths.$indexSet(0, id, paths); return null; }, _Elements_image(parserState, warningsAsErrors) { return A._Elements_image$body(parserState, false); }, _Elements_image$body(parserState, warningsAsErrors) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, t2, t3, t4, image, t5, $parent, parentStyle, t6, t7, t8, drawable, isIri, t1, href; var $async$_Elements_image = 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._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"); href = A.getAttribute(t1, "href", A.getAttribute(t1, "href", "")); if (href == null) { // goto return $async$goto = 1; break; } t1 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "x", "0"), false); t1.toString; t2 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "y", "0"), false); t2.toString; t3 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "width", "0"), false); t3.toString; t4 = A.parseDouble(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "height", "0"), false); t4.toString; $async$goto = 3; return A._asyncAwait(A.resolveImage(href), $async$_Elements_image); case 3: // returning from await. image = $async$result; t5 = parserState._parentDrawables; $parent = t5.get$last(t5).drawable; parentStyle = $parent.get$style($parent); t6 = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "id", ""); t7 = A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"); t8 = parserState._parser_state$_root.viewport.viewBox; t8 = A.parseStyle(parserState._parser_state$_key, t7, parserState._definitions, new A.Rect(0, 0, 0 + t8._dx, 0 + t8._dy), parentStyle, $parent.get$color($parent), null); t7 = A.parseTransform(A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "transform", null)); t7 = t7 == null ? null : t7._m4storage; drawable = new A.DrawableRasterImage(t6, image, new A.Offset(t1, t2), new A.Size(t3, t4), t7, t8); isIri = parserState.checkForIri$1(drawable); if (!parserState._inDefs || !isIri) { t1 = t5.get$last(t5).drawable; B.JSArray_methods.add$1(t1.get$children(t1), drawable); } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_Elements_image, $async$completer); }, _Elements_text(parserState, warningsAsErrors) { return A._Elements_text$body(parserState, false); }, _Elements_text$body(parserState, warningsAsErrors) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, textInfos, _processText, _processStartElement, t1, t2, space, t3, t4, _box_0; var $async$_Elements_text = 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 (parserState._currentStartElement.isSelfClosing) { // goto return $async$goto = 1; break; } textInfos = A.ListQueue$(null, type$._TextInfo); _box_0.lastTextWidth = 0; _processText = new A._Elements_text__processText(_box_0, textInfos, parserState); _processStartElement = new A._Elements_text__processStartElement(_box_0, textInfos, parserState); t1 = parserState._currentStartElement; t1.toString; _processStartElement.call$1(t1); for (t1 = parserState._readSubtree$0(), t1 = new A._SyncStarIterator(t1._outerHelper(), A._instanceType(t1)._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) { t2 = t1.get$current(t1); if (t2 instanceof A.XmlCDATAEvent) _processText.call$1(B.JSString_methods.trim$0(t2.text)); else if (t2 instanceof A.XmlTextEvent) { space = A.getAttribute(A._lateReadCheck(parserState.__SvgParserState__currentAttributes, "_currentAttributes"), "space", null); t3 = t2.text; if (space !== "preserve") _processText.call$1(B.JSString_methods.trim$0(t3)); else { t4 = $.$get$_trimPattern(); _processText.call$1(A.stringReplaceAllUnchecked(t3, t4, "")); } } if (t2 instanceof A.XmlStartElementEvent) _processStartElement.call$1(t2); else if (t2 instanceof A.XmlEndElementEvent) textInfos.removeLast$0(0); } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_Elements_text, $async$completer); }, _Paths_circle(attributes) { var t2, t3, oval, t1 = A.parseDouble(A.getAttribute(attributes, "cx", "0"), false); t1.toString; t2 = A.parseDouble(A.getAttribute(attributes, "cy", "0"), false); t2.toString; t3 = A.parseDouble(A.getAttribute(attributes, "r", "0"), false); t3.toString; oval = A.Rect$fromCircle(new A.Offset(t1, t2), t3); t3 = A.Path_Path(); t3.addOval$1(0, oval); return t3; }, _Paths_path(attributes) { var t1 = A.getAttribute(attributes, "d", ""); t1.toString; return A.parseSvgPathData(t1); }, _Paths_rect(attributes) { var t2, t3, t4, rect, rxRaw, ryRaw, t1 = A.parseDouble(A.getAttribute(attributes, "x", "0"), false); t1.toString; t2 = A.parseDouble(A.getAttribute(attributes, "y", "0"), false); t2.toString; t3 = A.parseDouble(A.getAttribute(attributes, "width", "0"), false); t3.toString; t4 = A.parseDouble(A.getAttribute(attributes, "height", "0"), false); t4.toString; rect = new A.Rect(t1, t2, t1 + t3, t2 + t4); rxRaw = A.getAttribute(attributes, "rx", null); ryRaw = A.getAttribute(attributes, "ry", null); if (rxRaw == null) rxRaw = ryRaw; if (ryRaw == null) ryRaw = rxRaw; if (rxRaw != null && rxRaw !== "") { t1 = A.parseDouble(rxRaw, false); t1.toString; t2 = A.parseDouble(ryRaw, false); t2.toString; t3 = A.Path_Path(); t3.addRRect$1(0, A.RRect$fromRectXY(rect, t1, t2)); return t3; } t1 = A.Path_Path(); t1.addRect$1(0, rect); return t1; }, _Paths_polygon(attributes) { return A._Paths_parsePathFromPoints(attributes, true); }, _Paths_polyline(attributes) { return A._Paths_parsePathFromPoints(attributes, false); }, _Paths_parsePathFromPoints(attributes, $close) { var t1, points = A.getAttribute(attributes, "points", ""); if (points === "") return null; t1 = "M" + A.S(points); return A.parseSvgPathData(t1 + ($close ? "z" : "")); }, _Paths_ellipse(attributes) { var t2, t3, t4, t5, t1 = A.parseDouble(A.getAttribute(attributes, "cx", "0"), false); t1.toString; t2 = A.parseDouble(A.getAttribute(attributes, "cy", "0"), false); t2.toString; t3 = A.parseDouble(A.getAttribute(attributes, "rx", "0"), false); t3.toString; t4 = A.parseDouble(A.getAttribute(attributes, "ry", "0"), false); t4.toString; t1 -= t3; t2 -= t4; t5 = A.Path_Path(); t5.addOval$1(0, new A.Rect(t1, t2, t1 + t3 * 2, t2 + t4 * 2)); return t5; }, _Paths_line(attributes) { var t2, t3, t4, t5, t1 = A.parseDouble(A.getAttribute(attributes, "x1", "0"), false); t1.toString; t2 = A.parseDouble(A.getAttribute(attributes, "x2", "0"), false); t2.toString; t3 = A.parseDouble(A.getAttribute(attributes, "y1", "0"), false); t3.toString; t4 = A.parseDouble(A.getAttribute(attributes, "y2", "0"), false); t4.toString; t5 = A.Path_Path(); t5.moveTo$2(0, t1, t3); t5.lineTo$2(0, t2, t4); return t5; }, _TextInfo: function _TextInfo(t0, t1, t2) { this.style = t0; this.offset = t1; this.transform = t2; }, _Elements_svg_closure: function _Elements_svg_closure(t0) { this.parserState = t0; }, _Elements_clipPath_extractPathsFromDrawable: function _Elements_clipPath_extractPathsFromDrawable(t0) { this.paths = t0; }, _Elements_clipPath_closure: function _Elements_clipPath_closure(t0, t1) { this.event = t0; this.parserState = t1; }, _Elements_text__processText: function _Elements_text__processText(t0, t1, t2) { this._box_0 = t0; this.textInfos = t1; this.parserState = t2; }, _Elements_text__processStartElement: function _Elements_text__processStartElement(t0, t1, t2) { this._box_0 = t0; this.textInfos = t1; this.parserState = t2; }, _SvgGroupTuple: function _SvgGroupTuple(t0, t1) { this.name = t0; this.drawable = t1; }, SvgParserState: function SvgParserState(t0, t1, t2, t3, t4, t5) { var _ = this; _.theme = t0; _._eventIterator = t1; _._parser_state$_key = t2; _._warningsAsErrors = t3; _._definitions = t4; _._parentDrawables = t5; _._parser_state$_root = null; _._inDefs = false; _.__SvgParserState__currentAttributes = $; _._currentStartElement = null; _.depth = 0; }, parseFontSize(raw, parentValue) { var ret; if (raw == null || raw === "") return null; ret = A.parseDouble(raw, true); if (ret != null) return ret; raw = B.JSString_methods.trim$0(raw.toLowerCase()); ret = $._kTextSizeMap.$index(0, raw); if (ret != null) return ret; if (raw === "larger") { if (parentValue == null) return $._kTextSizeMap.$index(0, "large"); return parentValue * 1.2; } if (raw === "smaller") { if (parentValue == null) return $._kTextSizeMap.$index(0, "small"); return parentValue / 1.2; } throw A.wrapException(A.StateError$("Could not parse font-size: " + raw)); }, parseTextAnchor(raw) { switch (raw) { case "inherit": return null; case "middle": return B.DrawableTextAnchorPosition_1; case "end": return B.DrawableTextAnchorPosition_2; case "start": default: return B.DrawableTextAnchorPosition_0; } }, parseTransform(transform) { var t1, t2, matches, result, t3, t4, command, params, transformer; if (transform == null || transform === "") return null; t1 = $.$get$_transformValidator()._nativeRegExp; if (!t1.test(transform)) throw A.wrapException(A.StateError$("illegal or unsupported transform: " + transform)); t1 = $.$get$_transformCommand().allMatches$1(0, transform); t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); matches = new A.ReversedListIterable(t1, t2); result = new A.Matrix4(new Float64Array(16)); result.setIdentity$0(); for (t1 = new A.ListIterator(matches, matches.get$length(matches), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); t4 = t3.group$1(1); t4.toString; command = B.JSString_methods.trim$0(t4); params = t3.group$1(2); transformer = B.Map_0rQoN.$index(0, command); if (transformer == null) throw A.wrapException(A.StateError$("Unsupported transform: " + command)); result = transformer.call$2(params, result); } return result; }, _parseSvgMatrix(paramsStr, current) { var params, t1, t2, t3, t4, t5, t6, t7; paramsStr.toString; params = B.JSString_methods.split$1(B.JSString_methods.trim$0(paramsStr), $.$get$_valueSeparator()); t1 = A.parseDouble(params[0], false); t1.toString; t2 = A.parseDouble(params[1], false); t2.toString; t3 = A.parseDouble(params[2], false); t3.toString; t4 = A.parseDouble(params[3], false); t4.toString; t5 = A.parseDouble(params[4], false); t5.toString; t6 = A.parseDouble(params[5], false); t6.toString; t7 = new A.Matrix4(new Float64Array(16)); t7.setValues$16(t1, t2, 0, 0, t3, t4, 0, 0, 0, 0, 1, 0, t5, t6, 0, 1); return t7.multiplied$1(current); }, _parseSvgSkewX(paramsStr, current) { var t2, t1 = A.parseDouble(paramsStr, false); t1.toString; t1 = Math.tan(t1); t2 = new A.Matrix4(new Float64Array(16)); t2.setValues$16(1, 0, 0, 0, t1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); return t2.multiplied$1(current); }, _parseSvgSkewY(paramsStr, current) { var t2, t1 = A.parseDouble(paramsStr, false); t1.toString; t1 = Math.tan(t1); t2 = new A.Matrix4(new Float64Array(16)); t2.setValues$16(1, t1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); return t2.multiplied$1(current); }, _parseSvgTranslate(paramsStr, current) { var params, t1, y, t2; paramsStr.toString; params = B.JSString_methods.split$1(paramsStr, $.$get$_valueSeparator()); t1 = A.parseDouble(params[0], false); t1.toString; if (params.length < 2) y = 0; else { t2 = A.parseDouble(params[1], false); t2.toString; y = t2; } t2 = new A.Matrix4(new Float64Array(16)); t2.setValues$16(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, t1, y, 0, 1); return t2.multiplied$1(current); }, _parseSvgScale(paramsStr, current) { var params, t1, y, t2; paramsStr.toString; params = B.JSString_methods.split$1(paramsStr, $.$get$_valueSeparator()); t1 = A.parseDouble(params[0], false); t1.toString; if (params.length < 2) y = t1; else { t2 = A.parseDouble(params[1], false); t2.toString; y = t2; } t2 = new A.Matrix4(new Float64Array(16)); t2.setValues$16(t1, 0, 0, 0, 0, y, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); return t2.multiplied$1(current); }, _parseSvgRotate(paramsStr, current) { var params, t1, a, t2, t3, t4, rotate, y; paramsStr.toString; params = B.JSString_methods.split$1(paramsStr, $.$get$_valueSeparator()); t1 = A.parseDouble(params[0], false); t1.toString; a = t1 * 0.017453292519943295; t1 = Math.cos(a); t2 = Math.sin(a); t3 = Math.sin(a); t4 = Math.cos(a); rotate = new A.Matrix4(new Float64Array(16)); rotate.setValues$16(t1, t2, 0, 0, -t3, t4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); if (params.length > 1) { t1 = A.parseDouble(params[1], false); t1.toString; if (params.length === 3) { t2 = A.parseDouble(params[2], false); t2.toString; y = t2; } else y = t1; t2 = new A.Matrix4(new Float64Array(16)); t2.setValues$16(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, t1, y, 0, 1); t2 = t2.multiplied$1(current).multiplied$1(rotate); t3 = new A.Matrix4(new Float64Array(16)); t3.setValues$16(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -t1, -y, 0, 1); return t2.multiplied$1(t3); } else return rotate.multiplied$1(current); }, parseRawFillRule(rawFillRule) { if (rawFillRule === "inherit" || rawFillRule == null) return null; return rawFillRule !== "evenodd" ? B.PathFillType_0 : B.PathFillType_1; }, resolveImage(href) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Image), $async$returnValue, t1, t2, decodeImage, $async$temp1; var $async$resolveImage = 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 decodeImage = new A.resolveImage_closure(); $async$goto = B.JSString_methods.startsWith$1(href, "http") ? 3 : 4; break; case 3: // then $async$temp1 = decodeImage; $async$goto = 5; return A._asyncAwait(A.httpGet(href, null), $async$resolveImage); case 5: // returning from await. $async$returnValue = $async$temp1.call$1($async$result); // goto return $async$goto = 1; break; case 4: // join if (B.JSString_methods.startsWith$1(href, "data:")) { t1 = B.JSString_methods.substring$1(href, B.JSString_methods.indexOf$1(href, ",") + 1); t2 = $.$get$_whitespacePattern(); $async$returnValue = decodeImage.call$1(B.C_Base64Decoder.convert$1(A.stringReplaceAllUnchecked(t1, t2, ""))); // goto return $async$goto = 1; break; } throw A.wrapException(A.UnsupportedError$("Could not resolve image href: " + href)); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$resolveImage, $async$completer); }, createParagraph(text, style, foregroundOverride) { var _null = null, builder = A.ParagraphBuilder_ParagraphBuilder(A.ParagraphStyle_ParagraphStyle(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), t1 = style.textStyle, t2 = foregroundOverride == null ? _null : foregroundOverride.toFlutterPaint$0(); if (t2 == null) t2 = _null; builder.pushStyle$1(0, A.TextStyle_TextStyle(_null, _null, t1.decoration, t1.decorationColor, t1.decorationStyle, _null, t1.fontFamily, _null, _null, t1.fontSize, t1.fontStyle, t1.fontWeight, t2, t1.height, _null, t1.letterSpacing, t1.locale, _null, t1.textBaseline, t1.wordSpacing)); builder.addText$1(0, text); t1 = builder.build$0(0); t1.layout$1(0, B.ParagraphConstraints_C5f); return t1; }, parseDecimalOrPercentage(val) { var t1; if (B.JSString_methods.endsWith$1(val, "%")) return A.parsePercentage(val, 1); else { t1 = A.parseDouble(val, false); t1.toString; return t1; } }, parsePercentage(val, multiplier) { var t1 = A.parseDouble(B.JSString_methods.substring$2(val, 0, val.length - 1), false); t1.toString; return t1 / 100 * multiplier; }, resolveImage_closure: function resolveImage_closure() { }, SvgTheme: function SvgTheme(t0) { this.currentColor = t0; }, _parseRawWidthHeight(raw) { var t1; if (raw === "100%" || raw === "") return 1 / 0; raw.toString; t1 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(raw, "px", "")); return t1 == null ? 1 / 0 : t1; }, parseViewBox(svg) { var width, height, parts, t2, t3, t4, viewBox = A.getAttribute(svg, "viewBox", ""), rawWidth = A.getAttribute(svg, "width", ""), rawHeight = A.getAttribute(svg, "height", ""), t1 = viewBox === ""; if (t1 && rawWidth === "" && rawHeight === "") throw A.wrapException(A.StateError$("SVG did not specify dimensions\n\nThe SVG library looks for a `viewBox` or `width` and `height` attribute to determine the viewport boundary of the SVG. Note that these attributes, as with all SVG attributes, are case sensitive.\nDuring processing, the following attributes were found:\n " + svg.toString$0(0))); width = A._parseRawWidthHeight(rawWidth); height = A._parseRawWidthHeight(rawHeight); if (t1) return new A.DrawableViewport(B.Offset_0_0, new A.Size(width, height), new A.Size(width, height)); viewBox.toString; parts = B.JSString_methods.split$1(viewBox, A.RegExp_RegExp("[ ,]+", true, false)); if (parts.length < 4) throw A.wrapException(A.StateError$("viewBox element must be 4 elements long")); t1 = A.parseDouble(parts[2], false); t1.toString; t2 = A.parseDouble(parts[3], false); t2.toString; t3 = A.parseDouble(parts[0], false); t3.toString; t4 = A.parseDouble(parts[1], false); t4.toString; return new A.DrawableViewport(new A.Offset(-t3, -t4), new A.Size(t1, t2), new A.Size(width, height)); }, parseTileMode(attributes) { switch (A.getAttribute(attributes, "spreadMethod", "pad")) { case "pad": return B.TileMode_0; case "repeat": return B.TileMode_1; case "reflect": return B.TileMode_2; default: return B.TileMode_0; } }, parseDashArray(attributes) { var parts, t1, rawDashArray = A.getAttribute(attributes, "stroke-dasharray", ""); if (rawDashArray === "") return null; else if (rawDashArray === "none") return $.$get$DrawableStyle_emptyDashArray(); rawDashArray.toString; parts = B.JSString_methods.split$1(rawDashArray, A.RegExp_RegExp("[ ,]+", true, false)); t1 = A._arrayInstanceType(parts)._eval$1("MappedListIterable<1,double>"); return new A.CircularIntervalList(A.List_List$of(new A.MappedListIterable(parts, new A.parseDashArray_closure(), t1), true, t1._eval$1("ListIterable.E")), type$.CircularIntervalList_double); }, parseDashOffset(attributes) { var t1, rawDashOffset = A.getAttribute(attributes, "stroke-dashoffset", ""); if (rawDashOffset === "") return null; rawDashOffset.toString; if (B.JSString_methods.endsWith$1(rawDashOffset, "%")) { t1 = A.parseDouble(B.JSString_methods.substring$2(rawDashOffset, 0, rawDashOffset.length - 1), false); t1.toString; return new A.DashOffset(B.JSNumber_methods.clamp$2(t1 / 100, 0, 1), B._DashOffsetType_1); } else { t1 = A.parseDouble(rawDashOffset, false); t1.toString; return new A.DashOffset(t1, B._DashOffsetType_0); } }, parseOpacity(attributes) { var t1, rawOpacity = A.getAttribute(attributes, "opacity", null); if (rawOpacity != null) { t1 = A.parseDouble(rawOpacity, false); t1.toString; return B.JSNumber_methods.clamp$2(t1, 0, 1); } return null; }, _getDefinitionPaint(key, paintingStyle, iri, definitions, bounds, opacity) { var t1, _null = null, srv = definitions._gradients.$index(0, iri), shader = srv != null ? srv.createShader$1(0, bounds) : _null; if (shader == null) A.reportMissingDef(key, iri, "_getDefinitionPaint"); t1 = A.Color$fromRGBO(255, 255, 255, opacity); return new A.DrawablePaint(t1, shader, _null, _null, _null, _null, _null, paintingStyle, _null, _null, _null, _null); }, parseStroke(key, attributes, bounds, definitions, parentStroke, currentColor) { var rawStrokeOpacity, rawOpacity, t2, opacity, t3, rawStrokeCap, rawLineJoin, rawMiterLimit, rawStrokeWidth, t4, t5, _null = null, t1 = A.getAttribute(attributes, "stroke", ""); t1.toString; rawStrokeOpacity = A.getAttribute(attributes, "stroke-opacity", "1.0"); rawOpacity = A.getAttribute(attributes, "opacity", ""); t2 = A.parseDouble(rawStrokeOpacity, false); t2.toString; opacity = B.JSNumber_methods.clamp$2(t2, 0, 1); if (rawOpacity !== "") { t2 = A.parseDouble(rawOpacity, false); t2.toString; opacity *= B.JSNumber_methods.clamp$2(t2, 0, 1); } if (B.JSString_methods.startsWith$1(t1, "url")) { bounds.toString; return A._getDefinitionPaint(key, B.PaintingStyle_1, t1, definitions, bounds, opacity); } t2 = t1 === ""; if (t2) t3 = parentStroke == null || parentStroke === B.DrawablePaint_aZ8; else t3 = false; if (t3) return _null; if (t1 === "none") return B.DrawablePaint_aZ8; rawStrokeCap = A.getAttribute(attributes, "stroke-linecap", ""); rawLineJoin = A.getAttribute(attributes, "stroke-linejoin", ""); rawMiterLimit = A.getAttribute(attributes, "stroke-miterlimit", ""); rawStrokeWidth = A.getAttribute(attributes, "stroke-width", ""); if (t2) { t1 = parentStroke == null ? _null : parentStroke.color; if (t1 == null) t1 = B.Color_4278190080; t1 = t1.value; t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * opacity), t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } else { t1 = A.parseColor(t1); if (t1 == null) t1 = currentColor; if (t1 == null) t1 = parentStroke == null ? _null : parentStroke.color; if (t1 == null) t1 = B.Color_4278190080; t1 = t1.value; t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * opacity), t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } if (rawStrokeCap === "null") { t2 = parentStroke == null ? _null : parentStroke.strokeCap; if (t2 == null) t2 = B.StrokeCap_0; } else t2 = B.JSArray_methods.firstWhere$2$orElse(B.List_c0h, new A.parseStroke_closure(rawStrokeCap), new A.parseStroke_closure0()); if (rawLineJoin === "") { t3 = parentStroke == null ? _null : parentStroke.strokeJoin; if (t3 == null) t3 = B.StrokeJoin_0; } else t3 = B.JSArray_methods.firstWhere$2$orElse(B.List_Odp, new A.parseStroke_closure1(rawLineJoin), new A.parseStroke_closure2()); if (rawMiterLimit === "") { t4 = parentStroke == null ? _null : parentStroke.strokeMiterLimit; if (t4 == null) t4 = 4; } else t4 = A.parseDouble(rawMiterLimit, false); if (rawStrokeWidth === "") { t5 = parentStroke == null ? _null : parentStroke.strokeWidth; if (t5 == null) t5 = 1; } else t5 = A.parseDouble(rawStrokeWidth, false); return new A.DrawablePaint(t1, _null, _null, _null, _null, _null, _null, B.PaintingStyle_1, t2, t3, t4, t5); }, parseFill(key, el, bounds, definitions, parentFill, defaultFillColor, currentColor) { var rawFillOpacity, rawOpacity, t2, opacity, t3, _null = null, t1 = A.getAttribute(el, "fill", ""); t1.toString; rawFillOpacity = A.getAttribute(el, "fill-opacity", "1.0"); rawOpacity = A.getAttribute(el, "opacity", ""); t2 = A.parseDouble(rawFillOpacity, false); t2.toString; opacity = B.JSNumber_methods.clamp$2(t2, 0, 1); t2 = rawOpacity === ""; if (!t2) { t3 = A.parseDouble(rawOpacity, false); t3.toString; opacity *= B.JSNumber_methods.clamp$2(t3, 0, 1); } if (B.JSString_methods.startsWith$1(t1, "url")) { bounds.toString; return A._getDefinitionPaint(key, B.PaintingStyle_0, t1, definitions, bounds, opacity); } if (t1 === "" && parentFill === B.DrawablePaint_aZ8) return _null; if (t1 === "none") return B.DrawablePaint_aZ8; t3 = parentFill == null ? _null : parentFill.color; return new A.DrawablePaint(A._determineFillColor(t3, t1, opacity, !t2 || rawFillOpacity !== "", defaultFillColor, currentColor), _null, _null, _null, _null, _null, _null, B.PaintingStyle_0, _null, _null, _null, _null); }, _determineFillColor(parentFillColor, rawFill, opacity, explicitOpacity, defaultFillColor, currentColor) { var color, t2, t1 = A.parseColor(rawFill); if (t1 == null) t1 = currentColor; color = t1 == null ? parentFillColor : t1; if (color == null) color = defaultFillColor; if (explicitOpacity && color != null) { t1 = B.JSNumber_methods.round$0(255 * opacity); t2 = color.value; return A.Color$fromARGB(t1, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); } return color; }, applyTransformIfNeeded(path, attributes) { var transform = A.parseTransform(A.getAttribute(attributes, "transform", null)); if (transform != null) return path.transform$1(0, transform._m4storage); else return path; }, parseClipPath(attributes, definitions) { var rawClipAttribute = A.getAttribute(attributes, "clip-path", ""); if (rawClipAttribute !== "") { rawClipAttribute.toString; return definitions._clipPaths.$index(0, rawClipAttribute); } return null; }, parseMask(attributes, definitions) { var rawMaskAttribute = A.getAttribute(attributes, "mask", ""); if (rawMaskAttribute !== "") { rawMaskAttribute.toString; return definitions.getDrawable$1(rawMaskAttribute); } return null; }, parseFontWeight(fontWeight) { if (fontWeight == null) return null; switch (fontWeight) { case "100": return B.FontWeight_0; case "200": return B.FontWeight_1; case "300": return B.FontWeight_2; case "normal": case "400": return B.FontWeight_3; case "500": return B.FontWeight_4; case "600": return B.FontWeight_5; case "bold": case "700": return B.FontWeight_6; case "800": return B.FontWeight_7; case "900": return B.FontWeight_8; } throw A.wrapException(A.UnsupportedError$('Attribute value for font-weight="' + fontWeight + '" is not supported')); }, parseFontStyle(fontStyle) { if (fontStyle == null) return null; switch (fontStyle) { case "normal": return B.FontStyle_0; case "italic": case "oblique": return B.FontStyle_1; } throw A.wrapException(A.UnsupportedError$('Attribute value for font-style="' + fontStyle + '" is not supported')); }, parseTextDecoration(textDecoration) { if (textDecoration == null) return null; switch (textDecoration) { case "none": return B.TextDecoration_0; case "underline": return B.TextDecoration_1; case "overline": return B.TextDecoration_2; case "line-through": return B.TextDecoration_4; } throw A.wrapException(A.UnsupportedError$('Attribute value for text-decoration="' + textDecoration + '" is not supported')); }, parseTextDecorationStyle(textDecorationStyle) { if (textDecorationStyle == null) return null; switch (textDecorationStyle) { case "solid": return B.TextDecorationStyle_0; case "dashed": return B.TextDecorationStyle_3; case "dotted": return B.TextDecorationStyle_2; case "double": return B.TextDecorationStyle_1; case "wavy": return B.TextDecorationStyle_4; } throw A.wrapException(A.UnsupportedError$('Attribute value for text-decoration-style="' + textDecorationStyle + '" is not supported')); }, parseStyle(key, attributes, definitions, bounds, parentStyle, currentColor, defaultFillColor) { var t12, t13, t14, t15, t16, t17, _null = null, t1 = parentStyle == null, t2 = A.parseStroke(key, attributes, bounds, definitions, t1 ? _null : parentStyle.stroke, currentColor), t3 = A.parseDashArray(attributes), t4 = A.parseDashOffset(attributes), t5 = A.parseFill(key, attributes, bounds, definitions, t1 ? _null : parentStyle.fill, defaultFillColor, currentColor), t6 = A.parseRawFillRule(A.getAttribute(attributes, "fill-rule", !t1 ? _null : "nonzero")), t7 = A.parseOpacity(attributes), t8 = A.parseMask(attributes, definitions), t9 = A.parseClipPath(attributes, definitions), t10 = A.getAttribute(attributes, "font-family", ""), t11 = A.getAttribute(attributes, "font-size", ""); if (t1) t1 = _null; else t1 = parentStyle.textStyle.fontSize; t1 = A.parseFontSize(t11, t1); t11 = A.parseFontWeight(A.getAttribute(attributes, "font-weight", _null)); t12 = A.parseFontStyle(A.getAttribute(attributes, "font-style", _null)); t13 = A.parseTextAnchor(A.getAttribute(attributes, "text-anchor", "inherit")); t14 = A.parseTextDecoration(A.getAttribute(attributes, "text-decoration", _null)); t15 = A.parseColor(A.getAttribute(attributes, "text-decoration-color", _null)); t16 = A.parseTextDecorationStyle(A.getAttribute(attributes, "text-decoration-style", _null)); t17 = A.getAttribute(attributes, "mix-blend-mode", ""); t17.toString; return A.DrawableStyle_mergeAndBlend(parentStyle, B.Map_t4ijH.$index(0, t17), t9, t3, t4, t5, t7, t8, t6, t2, new A.DrawableTextStyle(t14, t15, t16, t11, t12, _null, t10, t1, _null, _null, _null, _null, _null, _null, t13)); }, parseDashArray_closure: function parseDashArray_closure() { }, parseStroke_closure: function parseStroke_closure(t0) { this.rawStrokeCap = t0; }, parseStroke_closure0: function parseStroke_closure0() { }, parseStroke_closure1: function parseStroke_closure1(t0) { this.rawLineJoin = t0; }, parseStroke_closure2: function parseStroke_closure2() { }, UnboundedColorFiltered: function UnboundedColorFiltered(t0, t1, t2) { this.colorFilter = t0; this.child = t1; this.key = t2; }, _UnboundedColorFilteredRenderBox: function _UnboundedColorFilteredRenderBox(t0, t1, t2) { var _ = this; _._unbounded_color_filtered$_colorFilter = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, getAttribute(el, $name, def) { var raw, style = A._getAttribute(el, "style"); if (style !== "" && true) { raw = B.JSArray_methods.firstWhere$2$orElse(A._setArrayType(style.split(";"), type$.JSArray_String), new A.getAttribute_closure($name), new A.getAttribute_closure0()); if (raw !== "") raw = B.JSString_methods.trim$0(B.JSString_methods.substring$1(raw, B.JSString_methods.indexOf$1(raw, ":") + 1)); } else raw = ""; if (raw === "") raw = A._getAttribute(el, $name); return raw === "" ? def : raw; }, _getAttribute(attributes, localName) { var t1 = attributes.$index(0, localName); return t1 == null ? "" : t1; }, AttributeMapXmlEventAttributeExtension_toAttributeMap(_this) { var t2, t3, t4, index, t1 = type$.String; t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t2 = J.get$iterator$ax(_this); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t3.name; index = B.JSString_methods.indexOf$1(t4, ":"); if (index > 0) t4 = B.JSString_methods.substring$1(t4, index + 1); t1.$indexSet(0, t4, B.JSString_methods.trim$0(t3.value)); } return t1; }, getAttribute_closure: function getAttribute_closure(t0) { this.name = t0; }, getAttribute_closure0: function getAttribute_closure0() { }, DrawableStyle_mergeAndBlend($parent, blendMode, clipPath, dashArray, dashOffset, fill, groupOpacity, mask, pathFillType, stroke, textStyle) { var t4, t5, t6, _null = null, t1 = $parent == null, t2 = A.DrawablePaint_merge(fill, t1 ? _null : $parent.fill), t3 = A.DrawablePaint_merge(stroke, t1 ? _null : $parent.stroke); if (dashArray == null) t4 = t1 ? _null : $parent.dashArray; else t4 = dashArray; if (dashOffset == null) t5 = t1 ? _null : $parent.dashOffset; else t5 = dashOffset; t6 = A.DrawableTextStyle_merge(textStyle, t1 ? _null : $parent.textStyle); if (pathFillType == null) t1 = t1 ? _null : $parent.pathFillType; else t1 = pathFillType; return new A.DrawableStyle(t3, t4, t5, t2, t6, t1, clipPath, mask, groupOpacity, blendMode); }, DrawablePaint_merge(a, b) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t1 = a == null; if (t1 && b == null) return null; if (b == null && !t1) return a; if (a === B.DrawablePaint_aZ8 || b === B.DrawablePaint_aZ8) return t1 ? b : a; if (t1) return b; t1 = a.style; if (t1 == null) t1 = b.style; t2 = a.color; if (t2 == null) t2 = b.color; t3 = a.shader; if (t3 == null) t3 = b.shader; t4 = b.blendMode; t5 = b.colorFilter; t6 = b.isAntiAlias; t7 = b.filterQuality; t8 = b.maskFilter; t9 = a.strokeCap; if (t9 == null) t9 = b.strokeCap; t10 = a.strokeJoin; if (t10 == null) t10 = b.strokeJoin; t11 = a.strokeMiterLimit; if (t11 == null) t11 = b.strokeMiterLimit; t12 = a.strokeWidth; return new A.DrawablePaint(t2, t3, t4, t5, t6, t7, t8, t1, t9, t10, t11, t12 == null ? b.strokeWidth : t12); }, DrawableTextStyle_merge(a, b) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15; if (b == null) return a; t1 = a.decoration; if (t1 == null) t1 = b.decoration; t2 = a.decorationColor; if (t2 == null) t2 = b.decorationColor; t3 = a.decorationStyle; if (t3 == null) t3 = b.decorationStyle; t4 = a.fontWeight; if (t4 == null) t4 = b.fontWeight; t5 = a.fontStyle; if (t5 == null) t5 = b.fontStyle; t6 = b.textBaseline; t7 = a.fontFamily; if (t7 == null) t7 = b.fontFamily; t8 = a.fontSize; if (t8 == null) t8 = b.fontSize; t9 = b.letterSpacing; t10 = b.wordSpacing; t11 = b.height; t12 = b.locale; t13 = b.background; t14 = b.foreground; t15 = a.anchor; return new A.DrawableTextStyle(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15 == null ? b.anchor : t15); }, DrawableText_resolveOffset(paragraph, anchor, offset) { switch (anchor.index) { case 1: return new A.Offset(offset._dx - paragraph.get$minIntrinsicWidth() / 2, offset._dy - paragraph.get$alphabeticBaseline(paragraph)); case 2: return new A.Offset(offset._dx - paragraph.get$minIntrinsicWidth(), offset._dy - paragraph.get$alphabeticBaseline(paragraph)); case 0: return new A.Offset(offset._dx, offset._dy - paragraph.get$alphabeticBaseline(paragraph)); default: return offset; } }, DrawableStyle: function DrawableStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.stroke = t0; _.dashArray = t1; _.dashOffset = t2; _.fill = t3; _.textStyle = t4; _.pathFillType = t5; _.clipPath = t6; _.mask = t7; _.groupOpacity = t8; _.blendMode = t9; }, DrawablePaint: function DrawablePaint(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.color = t0; _.shader = t1; _.blendMode = t2; _.colorFilter = t3; _.isAntiAlias = t4; _.filterQuality = t5; _.maskFilter = t6; _.style = t7; _.strokeCap = t8; _.strokeJoin = t9; _.strokeMiterLimit = t10; _.strokeWidth = t11; }, DrawableTextStyle: function DrawableTextStyle(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) { var _ = this; _.decoration = t0; _.decorationColor = t1; _.decorationStyle = t2; _.fontWeight = t3; _.fontStyle = t4; _.textBaseline = t5; _.fontFamily = t6; _.fontSize = t7; _.letterSpacing = t8; _.wordSpacing = t9; _.height = t10; _.locale = t11; _.background = t12; _.foreground = t13; _.anchor = t14; }, DrawableTextAnchorPosition: function DrawableTextAnchorPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, DrawableText: function DrawableText(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.offset = t1; _.anchor = t2; _.fill = t3; _.stroke = t4; _.transform = t5; }, DrawableDefinitionServer: function DrawableDefinitionServer(t0, t1, t2) { this._gradients = t0; this._clipPaths = t1; this._drawables = t2; }, GradientUnitMode: function GradientUnitMode(t0, t1) { this.index = t0; this._core$_name = t1; }, DrawableGradient: function DrawableGradient() { }, DrawableLinearGradient: function DrawableLinearGradient(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.from = t0; _.to = t1; _.offsets = t2; _.colors = t3; _.spreadMethod = t4; _.unitMode = t5; _.transform = t6; }, DrawableRadialGradient: function DrawableRadialGradient(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.center = t0; _.radius = t1; _.focal = t2; _.offsets = t3; _.colors = t4; _.spreadMethod = t5; _.unitMode = t6; _.transform = t7; }, DrawableViewport: function DrawableViewport(t0, t1, t2) { this.viewBoxOffset = t0; this.viewBox = t1; this.size = t2; }, DrawableRoot: function DrawableRoot(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.viewport = t0; _.id = t1; _.transform = t2; _.color = t3; _.children = t4; _.definitions = t5; _.style = t6; }, DrawableRoot_mergeStyle_closure: function DrawableRoot_mergeStyle_closure(t0) { this.mergedStyle = t0; }, DrawableGroup: function DrawableGroup(t0, t1, t2, t3, t4) { var _ = this; _.id = t0; _.children = t1; _.style = t2; _.transform = t3; _.color = t4; }, DrawableGroup_draw_closure: function DrawableGroup_draw_closure(t0, t1, t2) { this.$this = t0; this.canvas = t1; this.bounds = t2; }, DrawableGroup_mergeStyle_closure: function DrawableGroup_mergeStyle_closure(t0) { this.mergedStyle = t0; }, DrawableRasterImage: function DrawableRasterImage(t0, t1, t2, t3, t4, t5) { var _ = this; _.id = t0; _.image = t1; _.offset = t2; _.size = t3; _.transform = t4; _.style = t5; }, DrawableShape: function DrawableShape(t0, t1, t2, t3) { var _ = this; _.id = t0; _.transform = t1; _.style = t2; _.path = t3; }, DrawableShape_draw_closure: function DrawableShape_draw_closure(t0, t1, t2) { this.$this = t0; this.canvas = t1; this.bounds = t2; }, SvgPicture$asset(assetName, color, height, width) { var t2, t3, _null = null, t1 = $.$get$SvgPicture_svgStringDecoderBuilder(); $.$get$svg().toString; t2 = t1.call$1(_null); t3 = color == null ? _null : new A.CkBlendModeColorFilter(color, B.BlendMode_5); return new A.SvgPicture(width, height, B.BoxFit_1, B.Alignment_0_0, new A.ExactAssetPicture(assetName, _null, _null, t1, t2, _null), t3, _null); }, SvgPicture$string(string, alignment, fit, height, key, width) { var t2, t1 = $.$get$SvgPicture_svgStringDecoderBuilder(); $.$get$svg().toString; t2 = t1.call$1(null); return new A.SvgPicture(width, height, fit, alignment, new A.StringPicture(t1, t2, string, null), null, key); }, Svg: function Svg() { }, SvgPicture: function SvgPicture(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.width = t0; _.height = t1; _.fit = t2; _.alignment = t3; _.pictureProvider = t4; _.colorFilter = t5; _.key = t6; }, SvgPicture_defaultPlaceholderBuilder_closure: function SvgPicture_defaultPlaceholderBuilder_closure() { }, SvgPicture_svgByteDecoderBuilder_closure: function SvgPicture_svgByteDecoderBuilder_closure() { }, SvgPicture_svgByteDecoderBuilder__closure: function SvgPicture_svgByteDecoderBuilder__closure(t0) { this.currentColor = t0; }, SvgPicture_svgStringDecoderBuilder_closure: function SvgPicture_svgStringDecoderBuilder_closure() { }, SvgPicture_svgStringDecoderBuilder__closure: function SvgPicture_svgStringDecoderBuilder__closure(t0) { this.currentColor = t0; }, _SvgPictureState: function _SvgPictureState(t0) { var _ = this; _._pictureStream = _._picture = null; _._svg$_isListeningToStream = false; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _SvgPictureState__handleImageChanged_closure: function _SvgPictureState__handleImageChanged_closure(t0, t1) { this.$this = t0; this.imageInfo = t1; }, JsUrlStrategy0: function JsUrlStrategy0() { }, Registrar: function Registrar() { }, Registrar_send_closure: function Registrar_send_closure(t0) { this.completer = t0; }, PluginRegistry: function PluginRegistry(t0) { this._plugin_registry$_handlers = t0; }, _ServiceFactoryType: function _ServiceFactoryType(t0, t1) { this.index = t0; this._core$_name = t1; }, _ServiceFactory: function _ServiceFactory(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.factoryType = t0; _._getItInstance = t1; _.___ServiceFactory_param2Type = _.___ServiceFactory_param1Type = $; _.creationFunction = t2; _.creationFunctionParam = t3; _.disposeFunction = t4; _.instanceName = t5; _.isAsync = t6; _.instance = t7; _.___ServiceFactory__readyCompleter = _.___ServiceFactory_registrationType = $; _.pendingResult = null; _.objectsWaiting = t8; _.shouldSignalReady = t9; _.$ti = t10; }, _Scope: function _Scope(t0, t1) { this.name = t0; this.factoriesByName = t1; }, _GetItImplementation: function _GetItImplementation(t0, t1) { this._scopes = t0; this._globalReadyCompleter = t1; }, _GetItImplementation__register_closure: function _GetItImplementation__register_closure() { }, Document$() { return new A.Document0(A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); }, DocumentType$($name, publicId, systemId) { return new A.DocumentType($name, publicId, systemId, A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); }, Text$0(data) { return new A.Text0(data, A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); }, Element$_(localName, namespaceUri) { return new A.Element0(namespaceUri, localName, A.LinkedHashMap_LinkedHashMap(null, 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 + ":"; }, _getText(node) { var t1 = new A.StringBuffer(""); new A._ConcatTextVisitor(t1).visit$1(node); t1 = t1._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, AttributeName: function AttributeName(t0, t1, t2) { this.prefix = t0; this.name = t1; this.namespace = t2; }, _ParentNode: function _ParentNode() { }, _NonElementParentNode: function _NonElementParentNode() { }, _ElementAndDocument: function _ElementAndDocument() { }, Node: function Node() { }, Document0: function Document0(t0) { var _ = this; _.parentNode = null; _.attributes = t0; _.__Node_nodes = $; _.sourceSpan = _._dom$_elements = null; }, DocumentType: function DocumentType(t0, t1, t2, t3) { var _ = this; _.name = t0; _.publicId = t1; _.systemId = t2; _.parentNode = null; _.attributes = t3; _.__Node_nodes = $; _.sourceSpan = _._dom$_elements = null; }, Text0: function Text0(t0, t1) { var _ = this; _._dom$_data = t0; _.parentNode = null; _.attributes = t1; _.__Node_nodes = $; _.sourceSpan = _._dom$_elements = null; }, Element0: function Element0(t0, t1, t2) { var _ = this; _.namespaceUri = t0; _.localName = t1; _.parentNode = null; _.attributes = t2; _.__Node_nodes = $; _.sourceSpan = _._dom$_elements = 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_nodes = $; _.sourceSpan = _._dom$_elements = null; }, NodeList: function NodeList(t0, t1) { this._dom$_parent = t0; this._list_proxy$_list = t1; }, 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() { }, 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; }, 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.Element0) { tag = $parent.localName; if (B.JSArray_methods.contains$1(B.List_yHT, 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() { }, parse(input) { var t4, p, _null = null, t1 = A._setArrayType([], type$.JSArray_ParseError), t2 = A._setArrayType([], type$.JSArray_Element_4), t3 = A._setArrayType([], type$.JSArray_nullable_Element); t2 = new A.TreeBuilder("http://www.w3.org/1999/xhtml", t2, new A.ActiveFormattingElements(t3)); t2.reset$0(0); t3 = A.ListQueue$(_null, type$.String); t4 = A._setArrayType([], type$.JSArray_int); t4 = new A.HtmlInputStream(A.codecName(_null), _null, t3, t4); t4._rawChars = new A.CodeUnits(input); t4.charEncodingName = "utf-8"; t4.reset$0(0); t3 = new A.HtmlTokenizer(t4, true, true, false, A.ListQueue$(_null, type$.nullable_Token), new A.StringBuffer(""), new A.StringBuffer(""), new A.StringBuffer("")); t3.reset$0(0); p = new A.HtmlParser(false, t3, t2, t1); t3.parser = p; p._parse$0(); return A._lateReadCheck(t2.__TreeBuilder_document, "document"); }, HtmlParser$(input, encoding, generateSpans, sourceUrl) { var t4, t1 = A._setArrayType([], type$.JSArray_ParseError), t2 = A._setArrayType([], type$.JSArray_Element_4), t3 = A._setArrayType([], type$.JSArray_nullable_Element); t2 = new A.TreeBuilder("http://www.w3.org/1999/xhtml", t2, new A.ActiveFormattingElements(t3)); t2.reset$0(0); t3 = A.ListQueue$(null, type$.String); t4 = A._setArrayType([], type$.JSArray_int); t4 = new A.HtmlInputStream(A.codecName(encoding), sourceUrl, t3, t4); t4._rawChars = new A.CodeUnits(input); t4.charEncodingName = "utf-8"; t4.reset$0(0); t3 = new A.HtmlTokenizer(t4, true, true, false, A.ListQueue$(null, type$.nullable_Token), new A.StringBuffer(""), new A.StringBuffer(""), new A.StringBuffer("")); t3.reset$0(0); return t3.parser = new A.HtmlParser(false, t3, t2, t1); }, 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 = $; _.originalPhase = null; _.framesetOK = true; _.__HtmlParser__afterAfterFramesetPhase = _.__HtmlParser__afterAfterBodyPhase = _.__HtmlParser__afterFramesetPhase = _.__HtmlParser__inFramesetPhase = _.__HtmlParser__afterBodyPhase = _.__HtmlParser__inForeignContentPhase = _.__HtmlParser__inSelectInTablePhase = _.__HtmlParser__inSelectPhase = _.__HtmlParser__inCellPhase = _.__HtmlParser__inRowPhase = _.__HtmlParser__inTableBodyPhase = _.__HtmlParser__inColumnGroupPhase = _.__HtmlParser__inCaptionPhase = _.__HtmlParser__inTableTextPhase = _.__HtmlParser__inTablePhase = _.__HtmlParser__textPhase = _.__HtmlParser__inBodyPhase = _.__HtmlParser__afterHeadPhase = _.__HtmlParser__inHeadPhase = _.__HtmlParser__beforeHeadPhase = _.__HtmlParser__beforeHtmlPhase = _.__HtmlParser__initialPhase = $; }, 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(B.JSString_methods._codeUnitAt$1(char, 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 = B.JSString_methods._codeUnitAt$1(char, 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 = B.JSString_methods._codeUnitAt$1(char, 0); return cc >= 48 && cc < 58; }, isHexDigit(char) { if (char == null) return false; switch (B.JSString_methods._codeUnitAt$1(char, 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; }, EncodingBytes: function EncodingBytes(t0) { this._encoding_parser$_bytes = t0; this.__position = -1; }, ContentAttrParser: function ContentAttrParser(t0) { this.data = 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); if (encoding == null) return null; return B.Map_wEdnB.$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() { }, querySelectorAll(node, selector) { var results = A._setArrayType([], type$.JSArray_Element_4); new A.SelectorEvaluator().querySelectorAll$3(0, node, A._parseSelectorList(selector), results); return results; }, _parseSelectorList(selector) { var t1, t2, group, _null = null, errors = A._setArrayType([], type$.JSArray_Message), source = A._inputAsString(selector); A._createMessages(errors, _null); t1 = A._Parser$(A.SourceFile$fromString(source, _null), source); t2 = t1.tokenizer.inSelector = true; group = t1.processSelectorGroup$0(); if (group != null ? errors.length !== 0 : t2) 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.Element0 ? 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, null, type$.Object, type$.String) : data, namespace, $name, selfClosing); }, Token2: function Token2() { }, 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 = $; }, 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 = $; _._tokenizer$_buffer = t5; _.__HtmlTokenizer__lastOffset = $; _._tokenizer$_current = _._attributeNames = _._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 t1, keyA, valB; if (a.get$length(a) !== b.get$length(b)) return false; if (a.get$isEmpty(a)) return true; for (t1 = a.get$keys(a), t1 = t1.get$iterator(t1); t1.moveNext$0();) { keyA = t1.get$current(t1); valB = b.$index(0, keyA); if (valB == null && !b.containsKey$1(0, keyA)) return false; if (!J.$eq$(a.$index(0, keyA), valB)) return false; } return true; }, TreeBuilder__insertText($parent, data, span, refNode) { var last, t1, t2, index, nodes = $parent.get$nodes($parent); 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 = $; _.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(B.JSString_methods._codeUnitAt$1(str, 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(html) { var doc, root, t1; if (html.length === 0) return ""; A.updateStyleOptions(null); doc = A.parse(html); root = B.JSArray_methods.get$first(A.querySelectorAll(doc, "html")); t1 = new A.Node0(); t1.Node$1(A._collapseWhitespace(root, A._setArrayType(["noscript"], type$.JSArray_String))); return A._postProcess(A._process(t1)); }, _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), new A._escape_closure(), _null), A.RegExp_RegExp("^(#{1,6} )", true, true), new A._escape_closure0(), _null), A.RegExp_RegExp("^([-*_] *){3,}$", true, true), new A._escape_closure1(), _null), A.RegExp_RegExp("^(\\W* {0,3})(\\d+)\\. ", true, true), new A._escape_closure2(), _null), A.RegExp_RegExp("^([^\\\\\\w]*)[*+-] ", true, true), new A._escape_closure3(), _null), A.RegExp_RegExp("^(\\W* {0,3})> ", true, false), new A._escape_closure4(), _null), A.RegExp_RegExp("\\*+(?![*\\s\\W]).+?\\*+", true, false), new A._escape_closure5(), _null), A.RegExp_RegExp("_+(?![_\\s\\W]).+?_+", true, false), new A._escape_closure6(), _null), A.RegExp_RegExp("`+(?![`\\s\\W]).+?`+", true, false), new A._escape_closure7(), _null), A.RegExp_RegExp("[\\[\\]]", true, false), new A._escape_closure8(), _null); }, _isFlankedByWhitespace(node, side) { var sibling, regExp, isFlanked, t1 = node._node0$_node; if (side === "left") { t1.toString; sibling = A.previousSibling(t1); regExp = A.RegExp_RegExp(" $", true, false); } else { t1.toString; sibling = A.nextSibling(t1); regExp = A.RegExp_RegExp("^ ", true, false); } if (sibling != null) { sibling.get$nodeType(sibling); if (sibling instanceof A.Element0 && !A.isBlock(sibling)) { t1 = sibling.get$_innerHtml(sibling); isFlanked = regExp._nativeRegExp.test(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(); string2 = A.stringReplaceAllUnchecked(string2, t1, ""); return string1 + separator + string2; }, _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); t1 = A.stringReplaceAllUnchecked(t1, t2, ""); t2 = A.RegExp_RegExp("[\\t\\r\\n\\s]+$", true, false); return A.stringReplaceAllUnchecked(t1, t2, ""); } return ""; }, _process(inNode) { var t1, t2, result, t3, t4, textContent, replacement, rule, $content, result0, t5, hasLeading, hasTrailing, separator, string1, string2, _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.get$current(t1); t4 = t3._el == null ? _null : 1; if (t4 == null) { t4 = t3._node0$_node; t4 = t4.get$nodeType(t4); } if (t4 === 3) { textContent = t3.get$textContent(); replacement = t3.get$isCode() ? textContent : A._escape(textContent); } else { t4 = t3._el == null ? _null : 1; if (t4 == null) { t4 = t3._node0$_node; t4 = t4.get$nodeType(t4); } if (t4 === 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); t4 = A._asElement(t3._el); if (t4 == null) t4 = _null; else { t4 = t4.localName; t4 = t4 == null ? _null : t4.toLowerCase(); } if (!B.JSArray_methods.contains$1(B.List_ILN, t4)) { t4 = A.RegExp_RegExp("^[ \\r\\n\\t]", true, false); t5 = t3.get$textContent(); hasLeading = t4._nativeRegExp.test(t5); t4 = A.RegExp_RegExp("[ \\r\\n\\t]$", true, false); t5 = t3.get$textContent(); hasTrailing = t4._nativeRegExp.test(t5); 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") { t3._el.attributes.$index(0, "src"); $._customOptions.$index(0, "imageBaseUrl"); } t3 = result0.$index(0, _s7_); t3 = (t3 == null ? "" : t3) + replacement; result0 = result0.$index(0, _s8_); replacement = t3 + (result0 == null ? "" : result0); } else replacement = ""; } separator = A._separatingNewlines(result, replacement); t3 = $.$get$_trailingNewLinesRegExp(); string1 = A.stringReplaceAllUnchecked(result, t3, ""); t3 = $.$get$_leadingNewLinesRegExp(); string2 = A.stringReplaceAllUnchecked(replacement, t3, ""); result = string1 + separator + string2; } 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() { }, Node0: function Node0() { this._node0$_text = this._el = this._node0$_node = null; }, 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, t1, t2; if ($.Rule__customRules.length !== 0) { customRule = A.IterableExtension_firstWhereOrNull($.Rule__customRules, new A.Rule_findRule_closure(node)); if (customRule != null) return customRule; } if (B.JSArray_methods.contains$1(A._setArrayType(["a", "th", "td"], type$.JSArray_String), node.get$nodeName(node))) { t1 = A.RegExp_RegExp("^\\s*$", false, false); t2 = node.get$textContent(); if (t1._nativeRegExp.test(t2)) if (!A.isVoid(node._el)) { t1 = node._el; if (t1 instanceof A.Element0) { t1 = A._asElement(t1); t1.toString; t1 = A.querySelectorAll(t1, B.JSArray_methods.join$1(B.List_Vqn, ",")).length !== 0; } else t1 = false; t1 = !t1; } else t1 = false; else t1 = false; } else t1 = false; if (t1) return $.$get$_BaseRules_blankRule(); 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; }, 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_blankRule_closure: function _BaseRules_blankRule_closure() { }, _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_table_closure: function _TableRules_table_closure() { }, _TableRules_tr_closure: function _TableRules_tr_closure() { }, _TableRules_tHeadBody_closure: function _TableRules_tHeadBody_closure() { }, _TableRules_th_closure: function _TableRules_th_closure() { }, _TableRules_td_closure: function _TableRules_td_closure() { }, 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_ILN, t1); }, isVoid(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_Vqn, t1); }, nextSibling(node) { var siblings, i, t1 = node.parentNode; if (t1 == null) return null; siblings = t1.get$nodes(t1); i = siblings.indexOf$1(siblings, node) + 1; t1 = siblings._list_proxy$_list; if (i < t1.length) return t1[i]; return null; }, countSiblingEl(node) { var t1 = {}, t2 = node.parentNode; if (t2 == null) return 0; t1.count = 0; t2 = t2.get$nodes(t2); t2.forEach$1(t2, new A.countSiblingEl_closure(t1)); return t1.count; }, previousSibling(node) { var siblings, i, t1 = node.parentNode; if (t1 == null) return null; siblings = t1.get$nodes(t1); i = siblings.indexOf$1(siblings, node) - 1; if (i >= 0) return siblings._list_proxy$_list[i]; return null; }, _asElement(node) { if (!(node instanceof A.Element0)) return null; return node; }, _collapseWhitespace(domNode, removeTags) { var current, t2, t3, prevText, prev, t4, t5, text, next, value, _null = null, _s5_ = "nodes", t1 = domNode.get$nodes(domNode); if ((!t1.get$isEmpty(t1) ? domNode.get$nodes(domNode)._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_3, 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); text = A.stringReplaceAllUnchecked(t4, t5, " "); if (prevText != null) { t4 = A.RegExp_RegExp(" $", true, 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; if (value === $) { t5 = A._setArrayType([], t3); A._lateInitializeOnceCheck(t4.__Node_nodes, _s5_); value = t4.__Node_nodes = 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; if (value === $) { t5 = A._setArrayType([], t3); A._lateInitializeOnceCheck(t4.__Node_nodes, _s5_); value = t4.__Node_nodes = 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_ILN, t5) || t4.toLowerCase() === "br") { if (prevText != null) { t4 = J.toString$0$(prevText._dom$_data); prevText._dom$_data = t4; t5 = A.RegExp_RegExp(" $", true, 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_Vqn, t4)) prevText = _null; } } else { next = A.nextSibling(current); if (next == null) next = current.parentNode; t4 = current.parentNode; if (t4 != null) { value = t4.__Node_nodes; if (value === $) { t5 = A._setArrayType([], t3); A._lateInitializeOnceCheck(t4.__Node_nodes, _s5_); value = t4.__Node_nodes = 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); 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.Element0 && 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(current); t1 = !t1.get$isEmpty(t1) ? current.get$nodes(current)._list_proxy$_list[0] : null; if (t1 == null) t1 = A.nextSibling(current); if (t1 == null) { parentNode = current.parentNode; t1 = parentNode instanceof A.Element0 ? parentNode : null; } return t1; }, _remove(node) { var next = A.nextSibling(node); if (next == null) next = node.parentNode; node.remove$0(0); return next; }, countSiblingEl_closure: function countSiblingEl_closure(t0) { this._box_0 = t0; }, ToolbarType: function ToolbarType(t0, t1) { this.index = t0; this._core$_name = t1; }, ToolbarPosition: function ToolbarPosition(t0, t1) { this.index = t0; this._core$_name = t1; }, DropdownMenuDirection: function DropdownMenuDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, HtmlInputType: function HtmlInputType(t0, t1) { this.index = t0; this._core$_name = t1; }, HtmlEditorController0: function HtmlEditorController0() { }, HtmlEditorController$() { return new A.HtmlEditorController(); }, HtmlEditorController: function HtmlEditorController() { this.toolbar = this._viewId = this.HtmlEditorController_toolbar = null; }, HtmlEditorController_getText_closure: function HtmlEditorController_getText_closure() { }, HtmlEditor: function HtmlEditor(t0, t1, t2, t3, t4) { var _ = this; _.controller = t0; _.htmlEditorOptions = t1; _.htmlToolbarOptions = t2; _.otherOptions = t3; _.key = t4; }, HtmlEditorWidget: function HtmlEditorWidget(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.controller = t0; _.callbacks = t1; _.plugins = t2; _.htmlEditorOptions = t3; _.htmlToolbarOptions = t4; _.otherOptions = t5; _.initBC = t6; _.key = t7; }, _HtmlEditorWidgetWebState: function _HtmlEditorWidgetWebState(t0, t1) { var _ = this; _.___HtmlEditorWidgetWebState_actualHeight = _.___HtmlEditorWidgetWebState_createdViewId = $; _.summernoteInit = null; _.toolbarKey = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _HtmlEditorWidgetWebState_initSummernote_closure: function _HtmlEditorWidgetWebState_initSummernote_closure(t0, t1) { this.$this = t0; this.p = t1; }, _HtmlEditorWidgetWebState_initSummernote_closure0: function _HtmlEditorWidgetWebState_initSummernote_closure0(t0) { this.$this = t0; }, _HtmlEditorWidgetWebState_initSummernote__closure: function _HtmlEditorWidgetWebState_initSummernote__closure(t0) { this.$this = t0; }, _HtmlEditorWidgetWebState_initSummernote___closure: function _HtmlEditorWidgetWebState_initSummernote___closure(t0, t1) { this.$this = t0; this.docHeight = t1; }, _HtmlEditorWidgetWebState_initSummernote_closure1: function _HtmlEditorWidgetWebState_initSummernote_closure1(t0) { this.iframe = t0; }, _HtmlEditorWidgetWebState_initSummernote_closure2: function _HtmlEditorWidgetWebState_initSummernote_closure2(t0) { this.$this = t0; }, _HtmlEditorWidgetWebState_build_closure: function _HtmlEditorWidgetWebState_build_closure(t0) { this.$this = t0; }, ToolbarWidget: function ToolbarWidget(t0, t1, t2, t3) { var _ = this; _.controller = t0; _.htmlToolbarOptions = t1; _.callbacks = t2; _.key = t3; }, ToolbarWidgetState: function ToolbarWidgetState(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _._fontSelected = t0; _._miscFontSelected = t1; _._colorSelected = t2; _._listSelected = t3; _._miscSelected = t4; _._alignSelected = t5; _._textDirectionSelected = t6; _._fontSelectedItem = "p"; _._fontNameSelectedItem = "sans-serif"; _._fontSizeSelectedItem = 3; _._actualFontSizeSelectedItem = 16; _._fontSizeUnitSelectedItem = "pt"; _._foreColorSelected = t7; _._backColorSelected = t8; _._listStyleSelectedItem = null; _._lineHeightSelectedItem = 1; _._toolbar_widget$_isExpanded = false; _._widget = null; _._debugLifecycleState = t9; _._framework$_element = null; }, ToolbarWidgetState_updateToolbar_closure: function ToolbarWidgetState_updateToolbar_closure(t0, t1) { this.$this = t0; this.parentElem = t1; }, ToolbarWidgetState_updateToolbar_closure0: function ToolbarWidgetState_updateToolbar_closure0(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure1: function ToolbarWidgetState_updateToolbar_closure1(t0, t1) { this.$this = t0; this.fontName = t1; }, ToolbarWidgetState_updateToolbar_closure2: function ToolbarWidgetState_updateToolbar_closure2(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure3: function ToolbarWidgetState_updateToolbar_closure3(t0, t1) { this.$this = t0; this.colorList = t1; }, ToolbarWidgetState_updateToolbar_closure4: function ToolbarWidgetState_updateToolbar_closure4(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure5: function ToolbarWidgetState_updateToolbar_closure5(t0, t1) { this.$this = t0; this.colorList = t1; }, ToolbarWidgetState_updateToolbar_closure6: function ToolbarWidgetState_updateToolbar_closure6(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure7: function ToolbarWidgetState_updateToolbar_closure7(t0, t1) { this.$this = t0; this.listType = t1; }, ToolbarWidgetState_updateToolbar_closure8: function ToolbarWidgetState_updateToolbar_closure8(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure9: function ToolbarWidgetState_updateToolbar_closure9(t0, t1) { this.$this = t0; this.lineHeightDouble = t1; }, ToolbarWidgetState_updateToolbar_closure10: function ToolbarWidgetState_updateToolbar_closure10(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure11: function ToolbarWidgetState_updateToolbar_closure11(t0, t1) { this.$this = t0; this.fontSize = t1; }, ToolbarWidgetState_updateToolbar_closure12: function ToolbarWidgetState_updateToolbar_closure12(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure13: function ToolbarWidgetState_updateToolbar_closure13(t0) { this.$this = t0; }, ToolbarWidgetState_updateToolbar_closure14: function ToolbarWidgetState_updateToolbar_closure14(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.fontList = t1; _.miscFontList = t2; _.paragraphList = t3; _.alignList = t4; }, ToolbarWidgetState_build_closure: function ToolbarWidgetState_build_closure(t0) { this.$this = t0; }, ToolbarWidgetState_build__closure0: function ToolbarWidgetState_build__closure0(t0) { this.$this = t0; }, ToolbarWidgetState_build_closure0: function ToolbarWidgetState_build_closure0(t0) { this.$this = t0; }, ToolbarWidgetState_build__closure: function ToolbarWidgetState_build__closure(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren_closure: function ToolbarWidgetState__buildChildren_closure(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren_closure_updateSelectedItem1: function ToolbarWidgetState__buildChildren_closure_updateSelectedItem1(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren__updateSelectedItem_closure1: function ToolbarWidgetState__buildChildren__updateSelectedItem_closure1(t0, t1) { this.$this = t0; this.changed = t1; }, ToolbarWidgetState__buildChildren_closure0: function ToolbarWidgetState__buildChildren_closure0(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren_closure_updateSelectedItem0: function ToolbarWidgetState__buildChildren_closure_updateSelectedItem0(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren__updateSelectedItem_closure0: function ToolbarWidgetState__buildChildren__updateSelectedItem_closure0(t0, t1) { this.$this = t0; this.changed = t1; }, ToolbarWidgetState__buildChildren_closure1: function ToolbarWidgetState__buildChildren_closure1(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren_closure_updateSelectedItem: function ToolbarWidgetState__buildChildren_closure_updateSelectedItem(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren__updateSelectedItem_closure: function ToolbarWidgetState__buildChildren__updateSelectedItem_closure(t0, t1) { this.$this = t0; this.changed = t1; }, ToolbarWidgetState__buildChildren_closure2: function ToolbarWidgetState__buildChildren_closure2(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure_updateStatus3: function ToolbarWidgetState__buildChildren_closure_updateStatus3(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren__updateStatus_closure3: function ToolbarWidgetState__buildChildren__updateStatus_closure3(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren_closure3: function ToolbarWidgetState__buildChildren_closure3(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure_updateStatus2: function ToolbarWidgetState__buildChildren_closure_updateStatus2(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren__updateStatus_closure2: function ToolbarWidgetState__buildChildren__updateStatus_closure2(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren_closure4: function ToolbarWidgetState__buildChildren_closure4(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure_updateStatus1: function ToolbarWidgetState__buildChildren_closure_updateStatus1(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren__updateStatus_closure1: function ToolbarWidgetState__buildChildren__updateStatus_closure1(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren__closure5: function ToolbarWidgetState__buildChildren__closure5(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.newColor = t1; _.t = t2; _.index = t3; }, ToolbarWidgetState__buildChildren___closure8: function ToolbarWidgetState__buildChildren___closure8(t0) { this.newColor = t0; }, ToolbarWidgetState__buildChildren___closure5: function ToolbarWidgetState__buildChildren___closure5(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren___closure6: function ToolbarWidgetState__buildChildren___closure6(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.t = t1; _.index = t2; _.context = t3; }, ToolbarWidgetState__buildChildren____closure28: function ToolbarWidgetState__buildChildren____closure28(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren____closure29: function ToolbarWidgetState__buildChildren____closure29(t0) { this.$this = t0; }, ToolbarWidgetState__buildChildren___closure7: function ToolbarWidgetState__buildChildren___closure7(t0, t1, t2, t3, t4) { var _ = this; _.$this = t0; _.t = t1; _.index = t2; _.newColor = t3; _.context = t4; }, ToolbarWidgetState__buildChildren____closure25: function ToolbarWidgetState__buildChildren____closure25(t0, t1) { this.$this = t0; this.newColor = t1; }, ToolbarWidgetState__buildChildren____closure26: function ToolbarWidgetState__buildChildren____closure26(t0, t1) { this.$this = t0; this.newColor = t1; }, ToolbarWidgetState__buildChildren____closure27: function ToolbarWidgetState__buildChildren____closure27(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren_closure5: function ToolbarWidgetState__buildChildren_closure5(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure_updateStatus0: function ToolbarWidgetState__buildChildren_closure_updateStatus0(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren__updateStatus_closure0: function ToolbarWidgetState__buildChildren__updateStatus_closure0(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren_closure6: function ToolbarWidgetState__buildChildren_closure6(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure_updateStatus: function ToolbarWidgetState__buildChildren_closure_updateStatus(t0, t1, t2) { this.$this = t0; this.t = t1; this.index = t2; }, ToolbarWidgetState__buildChildren__updateStatus_closure: function ToolbarWidgetState__buildChildren__updateStatus_closure(t0, t1) { this.$this = t0; this.index = t1; }, ToolbarWidgetState__buildChildren_closure7: function ToolbarWidgetState__buildChildren_closure7(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren_closure8: function ToolbarWidgetState__buildChildren_closure8(t0, t1) { this.$this = t0; this.t = t1; }, ToolbarWidgetState__buildChildren__closure: function ToolbarWidgetState__buildChildren__closure(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.formKey = t2; _.text = t3; _.textFocus = t4; _.urlFocus = t5; _.url = t6; }, ToolbarWidgetState__buildChildren___closure4: function ToolbarWidgetState__buildChildren___closure4(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._box_0 = t0; _.$this = t1; _.formKey = t2; _.text = t3; _.textFocus = t4; _.urlFocus = t5; _.url = t6; }, ToolbarWidgetState__buildChildren____closure19: function ToolbarWidgetState__buildChildren____closure19(t0) { this.urlFocus = t0; }, ToolbarWidgetState__buildChildren____closure20: function ToolbarWidgetState__buildChildren____closure20() { }, ToolbarWidgetState__buildChildren____closure21: function ToolbarWidgetState__buildChildren____closure21(t0, t1) { this._box_0 = t0; this.setState = t1; }, ToolbarWidgetState__buildChildren_____closure18: function ToolbarWidgetState__buildChildren_____closure18(t0, t1) { this._box_0 = t0; this.value = t1; }, ToolbarWidgetState__buildChildren____closure22: function ToolbarWidgetState__buildChildren____closure22(t0, t1) { this._box_0 = t0; this.setState = t1; }, ToolbarWidgetState__buildChildren_____closure17: function ToolbarWidgetState__buildChildren_____closure17(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren____closure23: function ToolbarWidgetState__buildChildren____closure23(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure24: function ToolbarWidgetState__buildChildren____closure24(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.formKey = t2; _.text = t3; _.url = t4; _.context = t5; }, ToolbarWidgetState__buildChildren__closure0: function ToolbarWidgetState__buildChildren__closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren___closure3: function ToolbarWidgetState__buildChildren___closure3(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren____closure15: function ToolbarWidgetState__buildChildren____closure15(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.setState = t2; _.filename = t3; }, ToolbarWidgetState__buildChildren_____closure16: function ToolbarWidgetState__buildChildren_____closure16(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure16: function ToolbarWidgetState__buildChildren____closure16(t0, t1, t2) { this._box_0 = t0; this.setState = t1; this.filename = t2; }, ToolbarWidgetState__buildChildren_____closure15: function ToolbarWidgetState__buildChildren_____closure15(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure17: function ToolbarWidgetState__buildChildren____closure17(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure18: function ToolbarWidgetState__buildChildren____closure18(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.setState = t4; _.context = t5; }, ToolbarWidgetState__buildChildren_____closure13: function ToolbarWidgetState__buildChildren_____closure13(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren_____closure14: function ToolbarWidgetState__buildChildren_____closure14(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren__closure1: function ToolbarWidgetState__buildChildren__closure1(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren___closure2: function ToolbarWidgetState__buildChildren___closure2(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren____closure11: function ToolbarWidgetState__buildChildren____closure11(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.setState = t2; _.filename = t3; }, ToolbarWidgetState__buildChildren_____closure12: function ToolbarWidgetState__buildChildren_____closure12(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure12: function ToolbarWidgetState__buildChildren____closure12(t0, t1, t2) { this._box_0 = t0; this.setState = t1; this.filename = t2; }, ToolbarWidgetState__buildChildren_____closure11: function ToolbarWidgetState__buildChildren_____closure11(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure13: function ToolbarWidgetState__buildChildren____closure13(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure14: function ToolbarWidgetState__buildChildren____closure14(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.setState = t4; _.context = t5; }, ToolbarWidgetState__buildChildren_____closure9: function ToolbarWidgetState__buildChildren_____closure9(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren_____closure10: function ToolbarWidgetState__buildChildren_____closure10(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren__closure2: function ToolbarWidgetState__buildChildren__closure2(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren___closure1: function ToolbarWidgetState__buildChildren___closure1(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren____closure7: function ToolbarWidgetState__buildChildren____closure7(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.setState = t2; _.filename = t3; }, ToolbarWidgetState__buildChildren_____closure8: function ToolbarWidgetState__buildChildren_____closure8(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure8: function ToolbarWidgetState__buildChildren____closure8(t0, t1, t2) { this._box_0 = t0; this.setState = t1; this.filename = t2; }, ToolbarWidgetState__buildChildren_____closure7: function ToolbarWidgetState__buildChildren_____closure7(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure9: function ToolbarWidgetState__buildChildren____closure9(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure10: function ToolbarWidgetState__buildChildren____closure10(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.setState = t4; _.context = t5; }, ToolbarWidgetState__buildChildren_____closure5: function ToolbarWidgetState__buildChildren_____closure5(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren_____closure6: function ToolbarWidgetState__buildChildren_____closure6(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren__closure3: function ToolbarWidgetState__buildChildren__closure3(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren___closure0: function ToolbarWidgetState__buildChildren___closure0(t0, t1, t2, t3, t4) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.urlFocus = t4; }, ToolbarWidgetState__buildChildren____closure3: function ToolbarWidgetState__buildChildren____closure3(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.$this = t1; _.setState = t2; _.filename = t3; }, ToolbarWidgetState__buildChildren_____closure4: function ToolbarWidgetState__buildChildren_____closure4(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure4: function ToolbarWidgetState__buildChildren____closure4(t0, t1, t2) { this._box_0 = t0; this.setState = t1; this.filename = t2; }, ToolbarWidgetState__buildChildren_____closure3: function ToolbarWidgetState__buildChildren_____closure3(t0, t1) { this._box_0 = t0; this.filename = t1; }, ToolbarWidgetState__buildChildren____closure5: function ToolbarWidgetState__buildChildren____closure5(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure6: function ToolbarWidgetState__buildChildren____closure6(t0, t1, t2, t3, t4, t5) { var _ = this; _._box_0 = t0; _.$this = t1; _.filename = t2; _.url = t3; _.setState = t4; _.context = t5; }, ToolbarWidgetState__buildChildren_____closure1: function ToolbarWidgetState__buildChildren_____closure1(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren_____closure2: function ToolbarWidgetState__buildChildren_____closure2(t0) { this._box_0 = t0; }, ToolbarWidgetState__buildChildren__closure4: function ToolbarWidgetState__buildChildren__closure4(t0, t1) { this._box_0 = t0; this.$this = t1; }, ToolbarWidgetState__buildChildren___closure: function ToolbarWidgetState__buildChildren___closure(t0, t1) { this._box_0 = t0; this.$this = t1; }, ToolbarWidgetState__buildChildren____closure: function ToolbarWidgetState__buildChildren____closure(t0, t1) { this._box_0 = t0; this.setState = t1; }, ToolbarWidgetState__buildChildren_____closure0: function ToolbarWidgetState__buildChildren_____closure0(t0, t1) { this._box_0 = t0; this.value = t1; }, ToolbarWidgetState__buildChildren____closure0: function ToolbarWidgetState__buildChildren____closure0(t0, t1) { this._box_0 = t0; this.setState = t1; }, ToolbarWidgetState__buildChildren_____closure: function ToolbarWidgetState__buildChildren_____closure(t0, t1) { this._box_0 = t0; this.value = t1; }, ToolbarWidgetState__buildChildren____closure1: function ToolbarWidgetState__buildChildren____closure1(t0) { this.context = t0; }, ToolbarWidgetState__buildChildren____closure2: function ToolbarWidgetState__buildChildren____closure2(t0, t1, t2) { this._box_0 = t0; this.$this = t1; this.context = t2; }, HtmlEditorOptions: function HtmlEditorOptions(t0, t1, t2, t3, t4) { var _ = this; _.autoAdjustHeight = t0; _.hint = t1; _.initialText = t2; _.shouldEnsureVisible = t3; _.spellCheck = t4; }, HtmlToolbarOptions: function HtmlToolbarOptions(t0, t1, t2) { this.toolbarType = t0; this.textStyle = t1; this.renderSeparatorWidget = t2; }, OtherOptions: function OtherOptions(t0) { this.height = t0; }, Toolbar: function Toolbar() { }, StyleButtons: function StyleButtons() { }, FontSettingButtons: function FontSettingButtons() { }, FontButtons: function FontButtons() { }, ColorButtons: function ColorButtons() { }, ListButtons: function ListButtons() { }, ParagraphButtons: function ParagraphButtons() { }, InsertButtons: function InsertButtons() { }, intersperse(element, iterable, $T) { return A.intersperse$body(element, iterable, $T, $T); }, intersperse$body($async$element, $async$iterable, $async$$T, $async$type) { return A._makeSyncStarIterable(function() { var element = $async$element, iterable = $async$iterable, $T = $async$$T; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, iterator; return function $async$intersperse($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 = A._arrayInstanceType(iterable); iterator = new J.ArrayIterator(iterable, iterable.length, t1._eval$1("ArrayIterator<1>")); $async$goto = iterator.moveNext$0() ? 2 : 3; break; case 2: // then t1 = t1._precomputed1; $async$goto = 4; return t1._as(iterator.__interceptors$_current); case 4: // after yield case 5: // for condition if (!iterator.moveNext$0()) { // goto after for $async$goto = 6; break; } $async$goto = 7; return element; case 7: // after yield $async$goto = 8; return t1._as(iterator.__interceptors$_current); case 8: // after yield // goto for condition $async$goto = 5; break; case 6: // after for case 3: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, getRandString(len) { var i, t1 = $.$get$Random__secureRandom(), values = J.JSArray_JSArray$allocateGrowable(len, type$.int); for (i = 0; i < len; ++i) values[i] = t1.nextInt$1(255); return B.Base64Codec_Base64Encoder_true.get$encoder().convert$1(values); }, CustomDropdownButton$(dropdownColor, elevation, focusColor, hint, icon, iconEnabledColor, iconSize, itemHeight, items, menuDirection, menuMaxHeight, onChanged, style, value, $T) { return new A.CustomDropdownButton(menuDirection, items, value, hint, onChanged, elevation, style, icon, iconEnabledColor, iconSize, itemHeight, focusColor, dropdownColor, menuMaxHeight, null, $T._eval$1("CustomDropdownButton<0>")); }, ExpandIconDelegate: function ExpandIconDelegate(t0, t1, t2) { this._utils$_size = t0; this._utils$_isExpanded = t1; this._setState = t2; }, ExpandIconDelegate_build_closure: function ExpandIconDelegate_build_closure(t0) { this.$this = t0; }, _DropdownMenuPainter: function _DropdownMenuPainter(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.color = t0; _.elevation = t1; _.selectedIndex = t2; _.resize = t3; _.getSelectedItemOffset = t4; _._utils$_painter = t5; _._repaint = t6; }, _DropdownMenuItemButton: function _DropdownMenuItemButton(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.route = t0; _.padding = t1; _.buttonRect = t2; _.constraints = t3; _.itemIndex = t4; _.key = t5; _.$ti = t6; }, _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) { var _ = this; _.route = t0; _.padding = t1; _.buttonRect = t2; _.constraints = t3; _.dropdownColor = t4; _.key = t5; _.$ti = t6; }, _DropdownMenuState: function _DropdownMenuState(t0, t1) { var _ = this; _.___DropdownMenuState__resize = _.___DropdownMenuState__fadeOpacity = $; _._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) { var _ = this; _.items = t0; _.padding = t1; _.buttonRect = t2; _.selectedIndex = t3; _.elevation = t4; _.capturedThemes = t5; _.style = t6; _.dropdownColor = t7; _.menuMaxHeight = t8; _.menuDirection = t9; _.itemHeights = t10; _.scrollController = null; _.barrierLabel = t11; _.filter = t12; _._routes$_offstage = false; _._secondaryAnimationProxy = _._animationProxy = null; _._willPopCallbacks = t13; _._scopeKey = t14; _._subtreeKey = t15; _._storageBucket = t16; _.__ModalRoute__modalBarrier = $; _._modalScopeCache = null; _.__ModalRoute__modalScope = $; _.LocalHistoryRoute__localHistory = t17; _._transitionCompleter = t18; _._routes$_controller = _._routes$_animation = null; _._secondaryAnimation = t19; _.willDisposeAnimationController = true; _._trainHoppingListenerRemover = _._result = null; _._overlayEntries = t20; _._navigator$_navigator = null; _._settings = t21; _._restorationScopeId = t22; _._popCompleter = t23; _.$ti = t24; }, _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) { var _ = this; _.route = t0; _.constraints = t1; _.padding = t2; _.buttonRect = t3; _.selectedIndex = t4; _.capturedThemes = t5; _.dropdownColor = t6; _.key = t7; _.$ti = t8; }, _DropdownRoutePage_build_closure: function _DropdownRoutePage_build_closure(t0, t1, t2) { this.$this = t0; this.textDirection = t1; this.menu = t2; }, _MenuItem0: function _MenuItem0(t0, t1, t2, t3, t4) { var _ = this; _.onLayout = t0; _.item = t1; _.child = t2; _.key = t3; _.$ti = t4; }, _RenderMenuItem0: function _RenderMenuItem0(t0, t1, t2) { var _ = this; _.onLayout = t0; _.RenderObjectWithChildMixin__child = t1; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t2; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _DropdownMenuItemContainer: function _DropdownMenuItemContainer(t0, t1) { this.child = t0; this.key = t1; }, CustomDropdownMenuItem: function CustomDropdownMenuItem(t0, t1, t2, t3) { var _ = this; _.value = t0; _.child = t1; _.key = t2; _.$ti = t3; }, CustomDropdownButtonHideUnderline: function CustomDropdownButtonHideUnderline(t0, t1) { this.child = t0; this.key = t1; }, CustomDropdownButton: function CustomDropdownButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.menuDirection = t0; _.items = t1; _.value = t2; _.hint = t3; _.onChanged = t4; _.elevation = t5; _.style = t6; _.icon = t7; _.iconEnabledColor = t8; _.iconSize = t9; _.itemHeight = t10; _.focusColor = t11; _.dropdownColor = t12; _.menuMaxHeight = t13; _.key = t14; _.$ti = t15; }, _DropdownButtonState: function _DropdownButtonState(t0, t1) { var _ = this; _._utils$_internalNode = _._lastOrientation = _._dropdownRoute = _._selectedIndex = null; _._hasPrimaryFocus = false; _.___DropdownButtonState__focusHighlightMode = _.___DropdownButtonState__actionMap = $; _._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__handleFocusChanged_closure: function _DropdownButtonState__handleFocusChanged_closure(t0) { this.$this = t0; }, _DropdownButtonState__handleFocusHighlightModeChange_closure: function _DropdownButtonState__handleFocusHighlightModeChange_closure(t0, t1) { this.$this = t0; this.mode = t1; }, _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; }, __DropdownButtonState_State_WidgetsBindingObserver0: function __DropdownButtonState_State_WidgetsBindingObserver0() { }, get(url, headers) { return A._withClient(new A.get_closure(url, headers), type$.Response); }, post(url, body, headers) { return A._withClient(new A.post_closure(url, headers, body, null), type$.Response); }, put(url, body, headers) { return A._withClient(new A.put_closure(url, headers, body, null), type$.Response); }, _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 = [], t1, client; 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 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$x(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; }, post_closure: function post_closure(t0, t1, t2, t3) { var _ = this; _.url = t0; _.headers = t1; _.body = t2; _.encoding = t3; }, put_closure: function put_closure(t0, t1, t2, t3) { var _ = this; _.url = t0; _.headers = t1; _.body = t2; _.encoding = t3; }, 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; }, 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: function ClientException(t0) { this.message = t0; }, Request$(method, url) { var t1 = new Uint8Array(0), t2 = $.$get$BaseRequest__tokenRE()._nativeRegExp; if (!t2.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(), null, 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_fromStream(response) { return A.Response_fromStream$body(response); }, Response_fromStream$body(response) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, body, t1, t2, t3, t4, t5, t6; 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$goto = 3; return A._asyncAwait(response.stream.toBytes$0(), $async$Response_fromStream); case 3: // returning from await. body = $async$result; t1 = response.statusCode; t2 = response.request; t3 = response.headers; t4 = response.reasonPhrase; t5 = A.toUint8List(body); t6 = body.length; t5 = new A.Response(t5, t2, t1, t4, t6, t3, false, true); t5.BaseResponse$7$contentLength$headers$isRedirect$persistentConnection$reasonPhrase$request(t1, t6, t3, false, true, t4, t2); $async$returnValue = t5; // 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: 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; }, 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() { }, DateSymbols: function DateSymbols(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) { 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; _.STANDALONENARROWWEEKDAYS = t13; _.SHORTQUARTERS = t14; _.QUARTERS = t15; _.AMPMS = t16; }, 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$yMMMEd() { var t1 = A.verifiedLocale(null, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMMMEd"); return t1; }, DateFormat$yMMMMd() { var t1 = A.verifiedLocale(null, A.date_format_DateFormat_localeExists$closure(), null); t1.toString; t1 = new A.DateFormat(new A.DateFormat_dateTimeConstructor_closure(), t1); t1.addPattern$1("yMMMMd"); return t1; }, DateFormat_localeExists(localeName) { var t1 = $.$get$_dateTimeSymbols(); t1.toString; if (A.canonicalizedLocale(localeName) !== "en_US") t1._throwException$0(); return true; }, 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; _._date_format$_locale = t1; _._localeZero = _._localeZeroCodeUnit = _._useNativeDigits = _._formatFieldsPrivate = _._date_format$_pattern = null; }, DateFormat_dateTimeConstructor_closure: function DateFormat_dateTimeConstructor_closure() { }, 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.pattern = t0; this.parent = t1; }, UninitializedLocaleData$(message, fallbackData, $F) { return new A.UninitializedLocaleData(message, fallbackData, A._setArrayType([], type$.JSArray_String), $F._eval$1("UninitializedLocaleData<0>")); }, canonicalizedLocale(aLocale) { var t1, region; if (aLocale === "C") return "en_ISO"; if (aLocale.length < 5) return aLocale; t1 = aLocale[2]; if (t1 !== "-" && t1 !== "_") return aLocale; region = B.JSString_methods.substring$1(aLocale, 3); if (region.length <= 3) region = region.toUpperCase(); return aLocale[0] + aLocale[1] + "_" + region; }, verifiedLocale(newLocale, localeExists, onFailure) { var t1, _i, each; 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; for (t1 = [A.canonicalizedLocale(newLocale), A.shortLocale(newLocale), "fallback"], _i = 0; _i < 3; ++_i) { each = t1[_i]; if (localeExists.call$1(each)) return each; } return A._throwLocaleError(newLocale); }, _throwLocaleError(localeName) { throw A.wrapException(A.ArgumentError$('Invalid locale "' + localeName + '"', null)); }, shortLocale(aLocale) { if (aLocale.length < 2) return aLocale; return B.JSString_methods.substring$2(aLocale, 0, 2).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; }, JitsiMeet_joinMeeting(options, listener) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.JitsiMeetingResponse), $async$returnValue, t1, roomNameConstraints; var $async$JitsiMeet_joinMeeting = 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 roomNameConstraints = $.$get$JitsiMeet_defaultRoomNameConstraints(); if (roomNameConstraints.get$isNotEmpty(roomNameConstraints)) for (t1 = roomNameConstraints.get$values(roomNameConstraints), t1 = t1.get$iterator(t1); t1.moveNext$0();) t1.get$current(t1); $async$goto = 3; return A._asyncAwait($.$get$JitsiMeetPlatform__instance().joinMeeting$2$listener(options, listener), $async$JitsiMeet_joinMeeting); 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$JitsiMeet_joinMeeting, $async$completer); }, JitsiMeet_defaultRoomNameConstraints_closure: function JitsiMeet_defaultRoomNameConstraints_closure() { }, JitsiMeet_defaultRoomNameConstraints_closure0: function JitsiMeet_defaultRoomNameConstraints_closure0() { }, JitsiMeetConferencing: function JitsiMeetConferencing(t0, t1) { this.extraJS = t0; this.key = t1; }, RoomNameConstraint$(checkFunction, constraintMessage) { var t1 = new A.RoomNameConstraint(); t1.__RoomNameConstraint__checkFunction = checkFunction; t1._constraintMessage = constraintMessage; return t1; }, RoomNameConstraint: function RoomNameConstraint() { this.__RoomNameConstraint__checkFunction = $; this._constraintMessage = null; }, RoomNameConstraintType: function RoomNameConstraintType(t0, t1) { this.index = t0; this._core$_name = t1; }, FeatureFlagEnum: function FeatureFlagEnum(t0, t1) { this.index = t0; this._core$_name = t1; }, JitsiMeetingOptions: function JitsiMeetingOptions(t0, t1) { var _ = this; _.room = t0; _.webOptions = _.iosAppBarRGBAColor = _.userEmail = _.userDisplayName = _.videoMuted = _.audioOnly = _.audioMuted = _.subject = _.serverURL = null; _.featureFlags = t1; }, JitsiMeetingOptions_getFeatureFlags_closure: function JitsiMeetingOptions_getFeatureFlags_closure(t0) { this.featureFlagsWithStrings = t0; }, JitsiMeetPlatform: function JitsiMeetPlatform() { }, JitsiMeetingResponse: function JitsiMeetingResponse(t0, t1, t2) { this.isSuccess = t0; this.message = t1; this.error = t2; }, JitsiMeetingListener: function JitsiMeetingListener(t0, t1, t2, t3, t4) { var _ = this; _.onConferenceWillJoin = t0; _.onConferenceJoined = t1; _.onConferenceTerminated = t2; _.onError = t3; _.genericListeners = t4; }, JitsiGenericListener: function JitsiGenericListener(t0, t1) { this.eventName = t0; this.callback = t1; }, MethodChannelJitsiMeet: function MethodChannelJitsiMeet(t0, t1, t2) { this._method_channel_jitsi_meet$_listeners = t0; this._perMeetingListeners = t1; this._instanceToken = t2; }, MethodChannelJitsiMeet_joinMeeting_closure: function MethodChannelJitsiMeet_joinMeeting_closure(t0) { this.listener = t0; }, MethodChannelJitsiMeet_joinMeeting_closure0: function MethodChannelJitsiMeet_joinMeeting_closure0(t0) { this.listener = t0; }, MethodChannelJitsiMeet_joinMeeting_closure1: function MethodChannelJitsiMeet_joinMeeting_closure1() { }, MethodChannelJitsiMeet_joinMeeting_closure2: function MethodChannelJitsiMeet_joinMeeting_closure2() { }, MethodChannelJitsiMeet_initialize_closure: function MethodChannelJitsiMeet_initialize_closure(t0) { this.$this = t0; }, MethodChannelJitsiMeet_initialize_closure0: function MethodChannelJitsiMeet_initialize_closure0(t0) { this.$this = t0; }, MethodChannelJitsiMeet_initialize__closure: function MethodChannelJitsiMeet_initialize__closure(t0) { this.error = t0; }, MethodChannelJitsiMeet_initialize__closure0: function MethodChannelJitsiMeet_initialize__closure0(t0) { this.error = t0; }, MethodChannelJitsiMeet__broadcastToGlobalListeners_closure: function MethodChannelJitsiMeet__broadcastToGlobalListeners_closure(t0) { this.message = t0; }, JitsiMeetAPI: function JitsiMeetAPI() { }, JitsiMeetPlugin: function JitsiMeetPlugin(t0, t1) { var _ = this; _.api = null; _.extraJSAdded = false; _.cleanDomain = t0; _._instanceToken = t1; }, JitsiMeetPlugin_joinMeeting_closure: function JitsiMeetPlugin_joinMeeting_closure(t0) { this.listener = t0; }, JitsiMeetPlugin_joinMeeting_closure0: function JitsiMeetPlugin_joinMeeting_closure0(t0) { this.listener = t0; }, JitsiMeetPlugin_joinMeeting_closure1: function JitsiMeetPlugin_joinMeeting_closure1(t0) { this.listener = t0; }, JitsiMeetPlugin_joinMeeting_closure2: function JitsiMeetPlugin_joinMeeting_closure2(t0) { this.$this = t0; }, JitsiMeetPlugin__addGenericListeners_closure: function JitsiMeetPlugin__addGenericListeners_closure(t0) { this.$this = t0; }, JitsiMeetPlugin_buildView_closure: function JitsiMeetPlugin_buildView_closure() { }, JitsiMeetPlugin__setupExtraScripts_closure: function JitsiMeetPlugin__setupExtraScripts_closure() { }, BaseStrokeContent: function BaseStrokeContent() { }, BaseStrokeContent_closure: function BaseStrokeContent_closure() { }, BaseStrokeContent__applyTrimPath_closure: function BaseStrokeContent__applyTrimPath_closure() { }, _PathGroup: function _PathGroup(t0, t1) { this.paths = t0; this.trimPath = t1; }, CompoundTrimPathContent: function CompoundTrimPathContent(t0) { this._compound_trim_path_content$_contents = t0; }, ContentGroup_contentsFromModels(drawable, layer, contentModels) { var i, $content, contents = A._setArrayType([], type$.JSArray_Content); for (i = 0; i < contentModels.length; ++i) { $content = contentModels[i].toContent$2(drawable, layer); if ($content != null) contents.push($content); } return contents; }, ContentGroup_findTransform(contentModels) { var t1, i, contentModel; for (t1 = contentModels.length, i = 0; i < t1; ++i) { contentModel = contentModels[i]; if (contentModel instanceof A.AnimatableTransform) return contentModel; } return null; }, ContentGroup$(lottieDrawable, layer, shapeGroup) { var t5, t6, t1 = shapeGroup.name, t2 = shapeGroup.hidden, t3 = shapeGroup.items, t4 = A.ContentGroup_contentsFromModels(lottieDrawable, layer, t3); t3 = A.ContentGroup_findTransform(t3); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6 = new A.Matrix4(new Float64Array(16)); t6.setIdentity$0(); t6 = new A.ContentGroup(t5, t6, A.Path_Path(), t1, t2, t4, lottieDrawable); t6.ContentGroup$copy$6(lottieDrawable, layer, t1, t2, t4, t3); return t6; }, ContentGroup$copy(_lottieDrawable, layer, $name, _hidden, _contents, transform) { var t2, t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = new A.Matrix4(new Float64Array(16)); t2.setIdentity$0(); t2 = new A.ContentGroup(t1, t2, A.Path_Path(), $name, _hidden, _contents, _lottieDrawable); t2.ContentGroup$copy$6(_lottieDrawable, layer, $name, _hidden, _contents, transform); return t2; }, ContentGroup: function ContentGroup(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._offScreenPaint = t0; _._content_group$_matrix = t1; _._content_group$_path = t2; _.name = t3; _._content_group$_hidden = t4; _._content_group$_contents = t5; _._lottieDrawable = t6; _._transformAnimation = _._pathContents = null; }, EllipseContent: function EllipseContent(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._ellipse_content$_path = t0; _.name = t1; _.lottieDrawable = t2; _._sizeAnimation = t3; _._ellipse_content$_positionAnimation = t4; _._circleShape = t5; _._ellipse_content$_trimPaths = t6; _._ellipse_content$_isPathValid = false; }, FillContent: function FillContent(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._fill_content$_path = t0; _._fill_content$_paint = t1; _.layer = t2; _.name = t3; _._fill_content$_hidden = t4; _._fill_content$_paths = t5; _.__FillContent__opacityAnimation = _.__FillContent__colorAnimation = $; _.lottieDrawable = t6; _._fill_content$_blurAnimation = null; _._fill_content$_blurMaskFilterRadius = 0; _.dropShadowAnimation = null; }, GradientFillContent: function GradientFillContent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.layer = t0; _._fill = t1; _._gradient_fill_content$_linearGradientCache = t2; _._gradient_fill_content$_radialGradientCache = t3; _._gradient_fill_content$_path = t4; _._gradient_fill_content$_paint = t5; _._paths = t6; _._gradient_fill_content$_colorAnimation = t7; _._gradient_fill_content$_opacityAnimation = t8; _._gradient_fill_content$_startPointAnimation = t9; _._gradient_fill_content$_endPointAnimation = t10; _.lottieDrawable = t11; _._gradient_fill_content$_cacheSteps = t12; _._blurAnimation = null; _._gradient_fill_content$_blurMaskFilterRadius = 0; _.dropShadowAnimation = null; }, GradientStrokeContent$(lottieDrawable, layer, stroke) { var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t1 = type$.int, t2 = type$.Gradient, t3 = lottieDrawable.composition._parameters; t3 = B.JSNumber_methods.round$0(B.JSInt_methods._tdivFast$1(A.Duration$(0, 0, 0, B.JSNumber_methods.round$0((t3.endFrame - t3.startFrame) / t3.frameRate * 1000), 0)._duration, 1000) / 32); t4 = A.GradientColorKeyframeAnimation$(stroke.gradientColor.keyframes); t5 = type$.Offset; t6 = type$.JSArray_of_void_Function; t7 = A._setArrayType([], t6); t8 = new A.PointKeyframeAnimation(t7, A.BaseKeyframeAnimation__wrap(stroke.startPoint.keyframes, t5)); t9 = A._setArrayType([], t6); t5 = new A.PointKeyframeAnimation(t9, A.BaseKeyframeAnimation__wrap(stroke.endPoint.keyframes, t5)); t10 = A.lineCapTypeToPaintCap(stroke.capType); t11 = stroke.dashOffset; t12 = stroke.lineDashPattern; t13 = A.lineJoinTypeToPaintJoin(stroke.joinType); t14 = stroke.opacity; t15 = stroke.width; t16 = A.Path_Path(); t17 = A.Path_Path(); t18 = A._setArrayType([], type$.JSArray__PathGroup); t19 = A._detectRenderer(); t19 = t19 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t19.set$style(0, B.PaintingStyle_1); t20 = type$.double; t21 = A._setArrayType([], t6); t22 = A.BaseKeyframeAnimation__wrap(t15.keyframes, t20); t23 = A._setArrayType([], t6); t24 = A.BaseKeyframeAnimation__wrap(t14.keyframes, t1); if (t11 == null) t6 = null; else { t25 = t11.keyframes; t25 = new A.DoubleKeyframeAnimation(A._setArrayType([], t6), A.BaseKeyframeAnimation__wrap(t25, t20)); t6 = t25; } t25 = A._arrayInstanceType(t12)._eval$1("MappedListIterable<1,DoubleKeyframeAnimation>"); t25 = A.List_List$of(new A.MappedListIterable(t12, new A.BaseStrokeContent_closure(), t25), true, t25._eval$1("ListIterable.E")); t6 = new A.GradientStrokeContent(stroke.name, stroke.hidden, A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), stroke.gradientType, t3, t4, t8, t5, t16, t17, lottieDrawable, layer, t18, A.List_List$filled(t12.length, 0, false, t20), t19, new A.DoubleKeyframeAnimation(t21, t22), new A.IntegerKeyframeAnimation(t23, t24), t25, t6); t6.BaseStrokeContent$9$cap$dashOffset$dashPattern$join$miterLimit$opacity$width(lottieDrawable, layer, t10, t11, t12, t13, stroke.miterLimit, t14, t15); t15 = t6.get$onUpdateListener(); t4.listeners.push(t15); layer.addAnimation$1(t4); t7.push(t15); layer.addAnimation$1(t8); t9.push(t15); layer.addAnimation$1(t5); return t6; }, GradientStrokeContent: function GradientStrokeContent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19) { var _ = this; _.name = t0; _._gradient_stroke_content$_hidden = t1; _._linearGradientCache = t2; _._radialGradientCache = t3; _._type = t4; _._cacheSteps = t5; _._gradient_stroke_content$_colorAnimation = t6; _._startPointAnimation = t7; _._endPointAnimation = t8; _._base_stroke_content$_path = t9; _._trimPathPath = t10; _.lottieDrawable = t11; _.layer = t12; _._pathGroups = t13; _._dashPatternValues = t14; _.paint = t15; _._widthAnimation = t16; _._base_stroke_content$_opacityAnimation = t17; _._dashPatternAnimations = t18; _._dashPatternOffsetAnimation = t19; _._base_stroke_content$_blurAnimation = null; _._blurMaskFilterRadius = 0; _.dropShadowAnimation = null; }, PolystarContent: function PolystarContent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._polystar_content$_path = t0; _.lottieDrawable = t1; _._polystarShape = t2; _._pointsAnimation = t3; _._polystar_content$_positionAnimation = t4; _._rotationAnimation = t5; _._innerRadiusAnimation = t6; _._outerRadiusAnimation = t7; _._innerRoundednessAnimation = t8; _._outerRoundednessAnimation = t9; _._trimPaths = t10; _._isPathValid = false; }, RectangleContent: function RectangleContent(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._rectangle_content$_path = t0; _.name = t1; _._hidden = t2; _.lottieDrawable = t3; _._rectangle_content$_positionAnimation = t4; _._rectangle_content$_sizeAnimation = t5; _._cornerRadiusAnimation = t6; _._rectangle_content$_trimPaths = t7; _._rectangle_content$_isPathValid = false; }, RepeaterContent: function RepeaterContent(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _._repeater_content$_matrix = t0; _._repeater_content$_path = t1; _.lottieDrawable = t2; _.layer = t3; _._repeater = t4; _._copies = t5; _._repeater_content$_offset = t6; _._repeater_content$_transform = t7; _._contentGroup = null; }, ShapeContent: function ShapeContent(t0, t1, t2, t3, t4) { var _ = this; _._shape_content$_path = t0; _._shape_content$_shape = t1; _.lottieDrawable = t2; _._shapeAnimation = t3; _._shape_content$_isPathValid = false; _._shape_content$_trimPaths = t4; }, StrokeContent$(lottieDrawable, layer, stroke) { var t14, t15, t16, t17, t18, t19, t1 = type$.JSArray_of_void_Function, t2 = A._setArrayType([], t1), t3 = new A.ColorKeyframeAnimation(t2, A.BaseKeyframeAnimation__wrap(stroke.color.keyframes, type$.Color)), t4 = A.lineCapTypeToPaintCap(stroke.capType), t5 = stroke.dashOffset, t6 = stroke.lineDashPattern, t7 = A.lineJoinTypeToPaintJoin(stroke.joinType), t8 = stroke.opacity, t9 = stroke.width, t10 = A.Path_Path(), t11 = A.Path_Path(), t12 = A._setArrayType([], type$.JSArray__PathGroup), t13 = A._detectRenderer(); t13 = t13 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t13.set$style(0, B.PaintingStyle_1); t14 = type$.double; t15 = A._setArrayType([], t1); t16 = A.BaseKeyframeAnimation__wrap(t9.keyframes, t14); t17 = A._setArrayType([], t1); t18 = A.BaseKeyframeAnimation__wrap(t8.keyframes, type$.int); if (t5 == null) t1 = null; else { t19 = t5.keyframes; t19 = new A.DoubleKeyframeAnimation(A._setArrayType([], t1), A.BaseKeyframeAnimation__wrap(t19, t14)); t1 = t19; } t19 = A._arrayInstanceType(t6)._eval$1("MappedListIterable<1,DoubleKeyframeAnimation>"); t19 = A.List_List$of(new A.MappedListIterable(t6, new A.BaseStrokeContent_closure(), t19), true, t19._eval$1("ListIterable.E")); t1 = new A.StrokeContent(stroke.name, stroke.hidden, t3, t10, t11, lottieDrawable, layer, t12, A.List_List$filled(t6.length, 0, false, t14), t13, new A.DoubleKeyframeAnimation(t15, t16), new A.IntegerKeyframeAnimation(t17, t18), t19, t1); t1.BaseStrokeContent$9$cap$dashOffset$dashPattern$join$miterLimit$opacity$width(lottieDrawable, layer, t4, t5, t6, t7, stroke.miterLimit, t8, t9); t2.push(t1.get$onUpdateListener()); layer.addAnimation$1(t3); return t1; }, StrokeContent: function StrokeContent(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.name = t0; _._stroke_content$_hidden = t1; _._stroke_content$_colorAnimation = t2; _._base_stroke_content$_path = t3; _._trimPathPath = t4; _.lottieDrawable = t5; _.layer = t6; _._pathGroups = t7; _._dashPatternValues = t8; _.paint = t9; _._widthAnimation = t10; _._base_stroke_content$_opacityAnimation = t11; _._dashPatternAnimations = t12; _._dashPatternOffsetAnimation = t13; _._base_stroke_content$_blurAnimation = null; _._blurMaskFilterRadius = 0; _.dropShadowAnimation = null; }, TrimPathContent: function TrimPathContent(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.name = t0; _.hidden = t1; _._trim_path_content$_listeners = t2; _.type = t3; _.start = t4; _.end = t5; _.offset = t6; }, BaseKeyframeAnimation__wrap(keyframes, $T) { var t1 = keyframes.length; if (t1 === 0) return new A._EmptyKeyframeWrapper($T._eval$1("_EmptyKeyframeWrapper<0>")); if (t1 === 1) return new A._SingleKeyframeWrapper(B.JSArray_methods.get$first(keyframes), $T._eval$1("_SingleKeyframeWrapper<0>")); t1 = new A._KeyframesWrapperImpl(keyframes, $T._eval$1("_KeyframesWrapperImpl<0>")); t1._currentKeyframe = t1.findKeyframe$1(0); return t1; }, BaseKeyframeAnimation: function BaseKeyframeAnimation() { }, _EmptyKeyframeWrapper: function _EmptyKeyframeWrapper(t0) { this.$ti = t0; }, _SingleKeyframeWrapper: function _SingleKeyframeWrapper(t0, t1) { this.keyframe = t0; this._cachedInterpolatedProgress = -1; this.$ti = t1; }, _KeyframesWrapperImpl: function _KeyframesWrapperImpl(t0, t1) { var _ = this; _.keyframes = t0; _._cachedCurrentKeyframe = _._currentKeyframe = null; _._cachedInterpolatedProgress = -1; _.$ti = t1; }, ColorKeyframeAnimation: function ColorKeyframeAnimation(t0, t1) { var _ = this; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, DoubleKeyframeAnimation: function DoubleKeyframeAnimation(t0, t1) { var _ = this; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, DropShadowKeyframeAnimation$(listener, layer, dropShadowEffect) { var t6, _s8_ = "_opacity", _s10_ = "_direction", _s9_ = "_distance", t1 = new A.DropShadowKeyframeAnimation(listener), t2 = type$.JSArray_of_void_Function, t3 = A._setArrayType([], t2), t4 = new A.ColorKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(dropShadowEffect.color.keyframes, type$.Color)), t5 = t1.get$onValueChanged(); t3.push(t5); A._lateWriteOnceCheck(t1.__DropShadowKeyframeAnimation__color, "_color"); t1.__DropShadowKeyframeAnimation__color = t4; layer.addAnimation$1(A._lateReadCheck(t4, "_color")); t4 = type$.double; t3 = A._setArrayType([], t2); t6 = new A.DoubleKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(dropShadowEffect.opacity.keyframes, t4)); t3.push(t5); A._lateWriteOnceCheck(t1.__DropShadowKeyframeAnimation__opacity, _s8_); t1.__DropShadowKeyframeAnimation__opacity = t6; layer.addAnimation$1(A._lateReadCheck(t6, _s8_)); t6 = A._setArrayType([], t2); t3 = new A.DoubleKeyframeAnimation(t6, A.BaseKeyframeAnimation__wrap(dropShadowEffect.direction.keyframes, t4)); t6.push(t5); A._lateWriteOnceCheck(t1.__DropShadowKeyframeAnimation__direction, _s10_); t1.__DropShadowKeyframeAnimation__direction = t3; layer.addAnimation$1(A._lateReadCheck(t3, _s10_)); t3 = A._setArrayType([], t2); t6 = new A.DoubleKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(dropShadowEffect.distance.keyframes, t4)); t3.push(t5); A._lateWriteOnceCheck(t1.__DropShadowKeyframeAnimation__distance, _s9_); t1.__DropShadowKeyframeAnimation__distance = t6; layer.addAnimation$1(A._lateReadCheck(t6, _s9_)); t2 = A._setArrayType([], t2); t4 = new A.DoubleKeyframeAnimation(t2, A.BaseKeyframeAnimation__wrap(dropShadowEffect.radius.keyframes, t4)); t2.push(t5); A._lateWriteOnceCheck(t1.__DropShadowKeyframeAnimation__radius, "_radius"); t1.__DropShadowKeyframeAnimation__radius = t4; layer.addAnimation$1(A._lateReadCheck(t4, "_radius")); return t1; }, DropShadowKeyframeAnimation: function DropShadowKeyframeAnimation(t0) { var _ = this; _.listener = t0; _.__DropShadowKeyframeAnimation__radius = _.__DropShadowKeyframeAnimation__distance = _.__DropShadowKeyframeAnimation__direction = _.__DropShadowKeyframeAnimation__opacity = _.__DropShadowKeyframeAnimation__color = $; _._paint = null; }, GradientColorKeyframeAnimation$(keyframes) { var t1 = new A.GradientColorKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(keyframes, type$.GradientColor)), startValue = B.JSArray_methods.get$first(keyframes).startValue, size = startValue == null ? 0 : startValue.colors.length; t1.__GradientColorKeyframeAnimation__gradientColor = new A.GradientColor(A.List_List$filled(size, 0, false, type$.double), A.List_List$filled(size, B.Color_0, false, type$.Color)); return t1; }, GradientColorKeyframeAnimation: function GradientColorKeyframeAnimation(t0, t1) { var _ = this; _.__GradientColorKeyframeAnimation__gradientColor = $; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, IntegerKeyframeAnimation: function IntegerKeyframeAnimation(t0, t1) { var _ = this; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, KeyframeAnimation: function KeyframeAnimation() { }, MaskKeyframeAnimation: function MaskKeyframeAnimation(t0, t1, t2) { this.maskAnimations = t0; this.opacityAnimations = t1; this.masks = t2; }, PathKeyframe: function PathKeyframe(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._path_keyframe$_path = null; _._pointKeyFrame = t0; _._composition = t1; _.startValue = t2; _.endValue = t3; _.interpolator = t4; _.xInterpolator = t5; _.yInterpolator = t6; _.startFrame = t7; _.endFrame = t8; _._startProgress = t9; _._endProgress = t10; _.pathCp2 = _.pathCp1 = null; }, PathKeyframeAnimation: function PathKeyframeAnimation(t0, t1) { var _ = this; _._pathMeasureKeyframe = null; _.__PathKeyframeAnimation__pathMeasure = $; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, PointKeyframeAnimation: function PointKeyframeAnimation(t0, t1) { var _ = this; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, ShapeKeyframeAnimation$(keyframes) { var t1 = type$.JSArray_CubicCurveData; t1 = A._setArrayType(A._setArrayType([], t1).slice(0), t1); return new A.ShapeKeyframeAnimation(new A.ShapeData(t1, B.Offset_0_0, false), A.Path_Path(), A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(keyframes, type$.ShapeData)); }, ShapeKeyframeAnimation: function ShapeKeyframeAnimation(t0, t1, t2, t3) { var _ = this; _._tempShapeData = t0; _._tempPath = t1; _.listeners = t2; _._isDiscrete = false; _._keyframesWrapper = t3; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, SplitDimensionPathKeyframeAnimation: function SplitDimensionPathKeyframeAnimation(t0, t1, t2, t3) { var _ = this; _.__SplitDimensionPathKeyframeAnimation__point = $; _._xAnimation = t0; _._yAnimation = t1; _.listeners = t2; _._isDiscrete = false; _._keyframesWrapper = t3; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, TextKeyframeAnimation: function TextKeyframeAnimation(t0, t1) { var _ = this; _.listeners = t0; _._isDiscrete = false; _._keyframesWrapper = t1; _._base_keyframe_animation$_progress = 0; _._cachedGetValue = null; _._cachedEndProgress = _._cachedStartDelayProgress = -1; }, TransformKeyframeAnimation$(animatableTransform) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _null = null, t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t2 = animatableTransform.skew; t3 = t2 == null; if (t3) t4 = _null; else { t4 = new A.Matrix4(new Float64Array(16)); t4.setIdentity$0(); } if (t3) t5 = _null; else { t5 = new A.Matrix4(new Float64Array(16)); t5.setIdentity$0(); } if (t3) t6 = _null; else { t6 = new A.Matrix4(new Float64Array(16)); t6.setIdentity$0(); } t7 = animatableTransform.anchorPoint; t7 = t7 == null ? _null : t7.createAnimation$0(); t8 = animatableTransform.position; t8 = t8 == null ? _null : t8.createAnimation$0(); t9 = animatableTransform.scale; if (t9 == null) t9 = _null; else { t9 = t9.keyframes; t9 = new A.PointKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t9, type$.Offset)); } t10 = animatableTransform.rotation; if (t10 == null) t10 = _null; else { t10 = t10.keyframes; t10 = new A.DoubleKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t10, type$.double)); } if (t3) t2 = _null; else { t2 = t2.keyframes; t2 = new A.DoubleKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t2, type$.double)); } t3 = animatableTransform.skewAngle; if (t3 == null) t3 = _null; else { t3 = t3.keyframes; t3 = new A.DoubleKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t3, type$.double)); } t11 = animatableTransform.opacity; if (t11 == null) t11 = _null; else { t11 = t11.keyframes; t11 = new A.IntegerKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t11, type$.int)); } t12 = animatableTransform.startOpacity; if (t12 == null) t12 = _null; else { t12 = t12.keyframes; t12 = new A.DoubleKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t12, type$.double)); } t13 = animatableTransform.endOpacity; if (t13 == null) t13 = _null; else { t13 = t13.keyframes; t13 = new A.DoubleKeyframeAnimation(A._setArrayType([], type$.JSArray_of_void_Function), A.BaseKeyframeAnimation__wrap(t13, type$.double)); } return new A.TransformKeyframeAnimation(t1, t4, t5, t6, t7, t8, t9, t10, t2, t3, t11, t12, t13); }, TransformKeyframeAnimation: function TransformKeyframeAnimation(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _._transform_keyframe_animation$_matrix = t0; _._skewMatrix1 = t1; _._skewMatrix2 = t2; _._skewMatrix3 = t3; _._anchorPoint = t4; _._transform_keyframe_animation$_position = t5; _._transform_keyframe_animation$_scale = t6; _._rotation = t7; _._skew = t8; _._skewAngle = t9; _._transform_keyframe_animation$_opacity = t10; _._startOpacity = t11; _._endOpacity = t12; }, LottieComposition_fromBytes(bytes, imageProviderFactory, $name) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.LottieComposition), $async$returnValue, archive, jsonFile, t1, t2, t3, t4, t5, composition, t6, t7, parts, found, $async$temp1; var $async$LottieComposition_fromBytes = 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 (bytes[0] === 80 && bytes[1] === 75) { archive = new A.ZipDecoder().decodeBuffer$3$password$verify(A.InputStream$(bytes, 0, null, 0), null, false); jsonFile = B.JSArray_methods.firstWhere$1(archive.files, new A.LottieComposition_fromBytes_closure()); bytes = type$.Uint8List._as(jsonFile.get$content(jsonFile)); } else archive = null; t1 = type$.String; t2 = A._setArrayType([], type$.JSArray_Layer_2); t3 = type$.int; t4 = A._setArrayType([], type$.JSArray_Marker); t5 = new A.JsonUtf8Reader(new A.Buffer(bytes), A.List_List$filled(32, 0, false, t3), A.List_List$filled(32, null, false, type$.nullable_String), A.List_List$filled(32, 0, false, t3)); t5.pushScope$1(6); composition = A.LottieCompositionParser_parse(new A.LottieComposition($name, new A.PerformanceTracker(A.LinkedHashSet_LinkedHashSet$_empty(type$.FrameListener), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MeanCalculator)), A.LinkedHashSet_LinkedHashSet$_empty(t1), new A.CompositionParameters(new A.MutableRectangle(0, 0, 0, 0, type$.MutableRectangle_int), t2, A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Layer_3), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Layer), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.LottieImageAsset), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.FontCharacter), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Font), t4)), t5); $async$goto = archive != null ? 3 : 4; break; case 3: // then t1 = composition._parameters.images, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1), t2 = type$.JSArray_nullable_String, t3 = type$.WhereTypeIterable_String, t4 = archive.files, t5 = type$.Uint8List; case 5: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 6; break; } t6 = t1.get$current(t1); t7 = $.$get$posix(); parts = A._setArrayType([t6.dirName, t6.fileName, null, null, null, null, null, null], t2); A._validateArgList("join", parts); found = A.IterableExtension_firstWhereOrNull0(t4, new A.LottieComposition_fromBytes_closure0(t7.joinAll$1(new A.WhereTypeIterable(parts, t3)))); $async$goto = found != null ? 7 : 8; break; case 7: // then $async$goto = t6.loadedImage == null ? 9 : 10; break; case 9: // then if (found._content == null) found.decompress$0(); $async$temp1 = t6; $async$goto = 11; return A._asyncAwait(A.loadImage(composition, t6, new A.MemoryImage(t5._as(found._content), 1)), $async$LottieComposition_fromBytes); case 11: // returning from await. $async$temp1.loadedImage = $async$result; case 10: // join case 8: // join // goto for condition $async$goto = 5; break; case 6: // after for case 4: // join $async$returnValue = composition; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$LottieComposition_fromBytes, $async$completer); }, CompositionParameters: function CompositionParameters(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.bounds = t0; _.frameRate = _.endFrame = _.startFrame = 0; _.layers = t1; _.layerMap = t2; _.precomps = t3; _.images = t4; _.characters = t5; _.fonts = t6; _.markers = t7; }, LottieComposition: function LottieComposition(t0, t1, t2, t3) { var _ = this; _.name = t0; _._performanceTracker = t1; _._warnings = t2; _._parameters = t3; _._maskAndMatteCount = 0; _.onWarning = null; }, LottieComposition_fromBytes_closure: function LottieComposition_fromBytes_closure() { }, LottieComposition_fromBytes_closure0: function LottieComposition_fromBytes_closure0(t0) { this.imagePath = t0; }, FrameRate$_special(framesPerSecond) { return new A.FrameRate(framesPerSecond); }, FrameRate: function FrameRate(t0) { this.framesPerSecond = t0; }, Lottie_asset($name, height, width) { var _null = null; return new A.LottieBuilder(new A.AssetLottie($name, _null, _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, width, height, _null, _null, _null, _null, _null, _null); }, Lottie: function Lottie(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.composition = t0; _.controller = t1; _.frameRate = t2; _.animate = t3; _.repeat = t4; _.reverse = t5; _.width = t6; _.height = t7; _.fit = t8; _.alignment = t9; _.delegates = t10; _.options = t11; _.addRepaintBoundary = t12; _.key = t13; }, _LottieState: function _LottieState(t0, t1) { var _ = this; _.___LottieState__autoAnimation = $; _.TickerProviderStateMixin__tickers = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _LottieState_build_closure: function _LottieState_build_closure(t0) { this.$this = t0; }, __LottieState_State_TickerProviderStateMixin: function __LottieState_State_TickerProviderStateMixin() { }, LottieBuilder: function LottieBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _.lottie = t0; _.onLoaded = t1; _.controller = t2; _.frameRate = t3; _.animate = t4; _.repeat = t5; _.reverse = t6; _.delegates = t7; _.options = t8; _.frameBuilder = t9; _.width = t10; _.height = t11; _.fit = t12; _.alignment = t13; _.addRepaintBoundary = t14; _.onWarning = t15; _.errorBuilder = t16; _.key = t17; }, _LottieBuilderState: function _LottieBuilderState(t0) { var _ = this; _._widget = _._loadingFuture = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _LottieBuilderState__load_closure: function _LottieBuilderState__load_closure(t0, t1) { this.$this = t0; this.provider = t1; }, _LottieBuilderState_build_closure: function _LottieBuilderState_build_closure(t0) { this.$this = t0; }, LottieDrawable$(composition, enableMergePaths) { var t2, t3, t4, t5, t6, _null = null, t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t2 = A._setArrayType([], type$.JSArray_ValueDelegate_dynamic); t3 = composition._parameters; t4 = t3.bounds; t5 = t4._math$_width; t6 = t4._math$_height; t1 = new A.LottieDrawable(composition, t1, new A.Size(t5, t6), enableMergePaths === true, t2); t1.set$delegates(_null); t2 = A._setArrayType([], type$.JSArray_ContentModel); t5 = A._setArrayType([], type$.JSArray_Mask); t6 = t4._math$_width; t4 = t4._math$_height; t1.__LottieDrawable__compositionLayer = A.CompositionLayer$(t1, A.Layer$(_null, composition, _null, -1, A._setArrayType([], type$.JSArray_Keyframe_double), false, B.LayerType_0, t5, B.MatteType_0, "__container", -1, t4, t6, _null, t2, B.Color_0, 0, 0, 0, _null, _null, _null, 0, new A.AnimatableTransform(_null, _null, _null, _null, _null, _null, _null, _null, _null)), t3.layers, composition); return t1; }, LottieDrawable: function LottieDrawable(t0, t1, t2, t3, t4) { var _ = this; _.composition = t0; _._matrix = t1; _.__LottieDrawable__compositionLayer = $; _.size = t2; _._delegates = null; _._lottie_drawable$_isDirty = true; _.enableMergePaths = t3; _._progress = null; _._valueDelegates = t4; }, LottieFontStyle: function LottieFontStyle(t0) { this.fontFamily = t0; }, LottieImageAsset: function LottieImageAsset(t0, t1, t2, t3, t4) { var _ = this; _.width = t0; _.height = t1; _.id = t2; _.fileName = t3; _.dirName = t4; _.loadedImage = null; }, AnimatableColorValue: function AnimatableColorValue(t0) { this.keyframes = t0; }, AnimatableDoubleValue: function AnimatableDoubleValue(t0) { this.keyframes = t0; }, AnimatableGradientColorValue: function AnimatableGradientColorValue(t0) { this.keyframes = t0; }, AnimatableIntegerValue: function AnimatableIntegerValue(t0) { this.keyframes = t0; }, AnimatablePathValue: function AnimatablePathValue(t0) { this.keyframes = t0; }, AnimatablePointValue: function AnimatablePointValue(t0) { this.keyframes = t0; }, AnimatableScaleValue: function AnimatableScaleValue(t0) { this.keyframes = t0; }, AnimatableShapeValue: function AnimatableShapeValue(t0) { this.keyframes = t0; }, AnimatableSplitDimensionPathValue: function AnimatableSplitDimensionPathValue(t0, t1) { this._animatableXDimension = t0; this._animatableYDimension = t1; }, AnimatableTextFrame: function AnimatableTextFrame(t0) { this.keyframes = t0; }, AnimatableTextProperties: function AnimatableTextProperties(t0, t1, t2, t3) { var _ = this; _.color = t0; _.stroke = t1; _.strokeWidth = t2; _.tracking = t3; }, AnimatableTransform: function AnimatableTransform(t0, t1, t2, t3, t4, t5, t6, t7, t8) { var _ = this; _.anchorPoint = t0; _.position = t1; _.scale = t2; _.rotation = t3; _.opacity = t4; _.skew = t5; _.skewAngle = t6; _.startOpacity = t7; _.endOpacity = t8; }, BaseAnimatableValue: function BaseAnimatableValue() { }, BlurEffect: function BlurEffect(t0) { this.blurriness = t0; }, CircleShape: function CircleShape(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.position = t1; _.size = t2; _.isReversed = t3; _.hidden = t4; }, DropShadowEffect: function DropShadowEffect(t0, t1, t2, t3, t4) { var _ = this; _.color = t0; _.opacity = t1; _.direction = t2; _.distance = t3; _.radius = t4; }, GradientColor: function GradientColor(t0, t1) { this.positions = t0; this.colors = t1; }, GradientFill: function GradientFill(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.name = t0; _.gradientType = t1; _.fillType = t2; _.gradientColor = t3; _.opacity = t4; _.startPoint = t5; _.endPoint = t6; _.hidden = t7; }, GradientStroke: function GradientStroke(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.name = t0; _.gradientType = t1; _.gradientColor = t2; _.opacity = t3; _.startPoint = t4; _.endPoint = t5; _.width = t6; _.capType = t7; _.joinType = t8; _.miterLimit = t9; _.lineDashPattern = t10; _.dashOffset = t11; _.hidden = t12; }, GradientType: function GradientType(t0, t1) { this.index = t0; this._core$_name = t1; }, MaskMode: function MaskMode(t0, t1) { this.index = t0; this._core$_name = t1; }, Mask: function Mask(t0, t1, t2, t3) { var _ = this; _.maskMode = t0; _.maskPath = t1; _.opacity = t2; _.isInverted = t3; }, MergePaths_modeForId(id) { switch (id) { case 1: return B.MergePathsMode_0; case 2: return B.MergePathsMode_1; case 3: return B.MergePathsMode_2; case 4: return B.MergePathsMode_3; case 5: return B.MergePathsMode_4; default: return B.MergePathsMode_0; } }, MergePathsMode: function MergePathsMode(t0, t1) { this.index = t0; this._core$_name = t1; }, MergePaths: function MergePaths(t0, t1, t2) { this.name = t0; this.mode = t1; this.hidden = t2; }, PolystarShapeType_forValue(value) { var _i, type; for (_i = 0; _i < 2; ++_i) { type = B.List_SFx[_i]; if (type.value === value) return type; } return null; }, PolystarShapeType: function PolystarShapeType(t0) { this.value = t0; }, PolystarShape: function PolystarShape(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.type = t1; _.points = t2; _.position = t3; _.rotation = t4; _.innerRadius = t5; _.outerRadius = t6; _.innerRoundedness = t7; _.outerRoundedness = t8; _.hidden = t9; }, RectangleShape: function RectangleShape(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.position = t1; _.size = t2; _.cornerRadius = t3; _.hidden = t4; }, Repeater: function Repeater(t0, t1, t2, t3, t4) { var _ = this; _.name = t0; _.copies = t1; _.offset = t2; _.transform = t3; _.hidden = t4; }, ShapeData$(curves, $closed, initialPoint) { var t1 = A._setArrayType(curves.slice(0), A._arrayInstanceType(curves)), t2 = initialPoint == null ? B.Offset_0_0 : initialPoint; return new A.ShapeData(t1, t2, $closed === true); }, ShapeData$empty() { var t1 = type$.JSArray_CubicCurveData; t1 = A._setArrayType(A._setArrayType([], t1).slice(0), t1); return new A.ShapeData(t1, B.Offset_0_0, false); }, ShapeData: function ShapeData(t0, t1, t2) { this.curves = t0; this._initialPoint = t1; this._closed = t2; }, ShapeFill: function ShapeFill(t0, t1, t2, t3, t4, t5) { var _ = this; _.fillEnabled = t0; _.fillType = t1; _.name = t2; _.color = t3; _.opacity = t4; _.hidden = t5; }, ShapeGroup: function ShapeGroup(t0, t1, t2) { this.name = t0; this.items = t1; this.hidden = t2; }, ShapePath: function ShapePath(t0, t1, t2, t3) { var _ = this; _.name = t0; _.index = t1; _.shapePath = t2; _.hidden = t3; }, lineCapTypeToPaintCap(cap) { switch (cap) { case B.LineCapType_0: return B.StrokeCap_0; case B.LineCapType_1: return B.StrokeCap_1; case B.LineCapType_2: case null: return B.StrokeCap_2; } }, lineJoinTypeToPaintJoin(join) { switch (join) { case B.LineJoinType_2: return B.StrokeJoin_2; case B.LineJoinType_1: return B.StrokeJoin_1; case B.LineJoinType_0: case null: return B.StrokeJoin_0; } }, LineCapType: function LineCapType(t0, t1) { this.index = t0; this._core$_name = t1; }, LineJoinType: function LineJoinType(t0, t1) { this.index = t0; this._core$_name = t1; }, ShapeStroke: function ShapeStroke(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.name = t0; _.dashOffset = t1; _.lineDashPattern = t2; _.color = t3; _.opacity = t4; _.width = t5; _.capType = t6; _.joinType = t7; _.miterLimit = t8; _.hidden = t9; }, ShapeTrimPath_typeForId(id) { switch (id) { case 1: return B.ShapeTrimPathType_0; case 2: return B.ShapeTrimPathType_1; default: throw A.wrapException(A.Exception_Exception("Unknown trim path type " + id)); } }, ShapeTrimPathType: function ShapeTrimPathType(t0, t1) { this.index = t0; this._core$_name = t1; }, ShapeTrimPath: function ShapeTrimPath(t0, t1, t2, t3, t4, t5) { var _ = this; _.name = t0; _.type = t1; _.start = t2; _.end = t3; _.offset = t4; _.hidden = t5; }, CubicCurveData: function CubicCurveData(t0, t1, t2) { this.controlPoint1 = t0; this.controlPoint2 = t1; this.vertex = t2; }, Justification: function Justification(t0, t1) { this.index = t0; this._core$_name = t1; }, DocumentData: function DocumentData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.text = t0; _.fontName = t1; _.size = t2; _.justification = t3; _.tracking = t4; _.lineHeight = t5; _.baselineShift = t6; _.color = t7; _.strokeColor = t8; _.strokeWidth = t9; _.strokeOverFill = t10; }, Font0: function Font0(t0, t1, t2) { this.family = t0; this.name = t1; this.style = t2; }, FontCharacter_hashFor(character, fontFamily, style) { return 31 * (31 * B.JSString_methods.get$hashCode(character) + B.JSString_methods.get$hashCode(fontFamily)) + B.JSString_methods.get$hashCode(style); }, FontCharacter: function FontCharacter(t0, t1, t2, t3, t4, t5) { var _ = this; _.shapes = t0; _.character = t1; _.size = t2; _.width = t3; _.style = t4; _.fontFamily = t5; }, BaseLayer_forModel(compositionLayer, layerModel, drawable, composition) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, textProperties, t1 = layerModel.layerType; switch (t1.index) { case 4: t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$blendMode(B.BlendMode_6); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$blendMode(B.BlendMode_8); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$isAntiAlias(false); t6.set$blendMode(B.BlendMode_0); t7 = new A.Matrix4(new Float64Array(16)); t7.setIdentity$0(); t8 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t8 = new A.ShapeLayer(compositionLayer, t1, t2, t3, t4, t5, t6, layerModel.name + "#draw", t7, drawable, layerModel, t8, A.TransformKeyframeAnimation$(layerModel.transform)); t8.BaseLayer$2(drawable, layerModel); t7 = A.ContentGroup$(drawable, t8, new A.ShapeGroup("__container", layerModel.shapes, false)); t6 = type$.JSArray_Content; t7.setContents$2(A._setArrayType([], t6), A._setArrayType([], t6)); t8.__ShapeLayer__contentGroup = t7; return t8; case 0: t1 = composition._parameters.precomps.$index(0, layerModel.refId); t1.toString; return A.CompositionLayer$(drawable, layerModel, t1, composition); case 1: t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$style(0, B.PaintingStyle_0); t2 = A.Path_Path(); t3 = new A.Matrix4(new Float64Array(16)); t3.setIdentity$0(); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5.set$blendMode(B.BlendMode_6); t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$blendMode(B.BlendMode_8); t7 = A._detectRenderer(); t7 = t7 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t8 = A._detectRenderer(); t8 = t8 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t8.set$isAntiAlias(false); t8.set$blendMode(B.BlendMode_0); t9 = new A.Matrix4(new Float64Array(16)); t9.setIdentity$0(); t10 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t10 = new A.SolidLayer(t1, t2, t3, t4, t5, t6, t7, t8, layerModel.name + "#draw", t9, drawable, layerModel, t10, A.TransformKeyframeAnimation$(layerModel.transform)); t10.BaseLayer$2(drawable, layerModel); t9 = layerModel.solidColor.value; t1.set$color(0, A.Color$fromARGB(0, t9 >>> 16 & 255, t9 >>> 8 & 255, t9 & 255)); return t10; case 2: t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = new A.Matrix4(new Float64Array(16)); t2.setIdentity$0(); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$blendMode(B.BlendMode_6); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5.set$blendMode(B.BlendMode_8); t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t7 = A._detectRenderer(); t7 = t7 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t7.set$isAntiAlias(false); t7.set$blendMode(B.BlendMode_0); t8 = new A.Matrix4(new Float64Array(16)); t8.setIdentity$0(); t9 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t9 = new A.ImageLayer(t1, t2, t3, t4, t5, t6, t7, layerModel.name + "#draw", t8, drawable, layerModel, t9, A.TransformKeyframeAnimation$(layerModel.transform)); t9.BaseLayer$2(drawable, layerModel); return t9; case 3: t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$blendMode(B.BlendMode_6); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$blendMode(B.BlendMode_8); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$isAntiAlias(false); t6.set$blendMode(B.BlendMode_0); t7 = new A.Matrix4(new Float64Array(16)); t7.setIdentity$0(); t8 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t8 = new A.NullLayer(t1, t2, t3, t4, t5, t6, layerModel.name + "#draw", t7, drawable, layerModel, t8, A.TransformKeyframeAnimation$(layerModel.transform)); t8.BaseLayer$2(drawable, layerModel); return t8; case 5: t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$style(0, B.PaintingStyle_0); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$style(0, B.PaintingStyle_1); t4 = layerModel.text.keyframes; t5 = type$.JSArray_of_void_Function; t6 = A._setArrayType([], t5); t4 = new A.TextKeyframeAnimation(t6, A.BaseKeyframeAnimation__wrap(t4, type$.DocumentData)); t7 = new A.Matrix4(new Float64Array(16)); t7.setIdentity$0(); t8 = A._detectRenderer(); t8 = t8 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t9 = A._detectRenderer(); t9 = t9 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t9.set$blendMode(B.BlendMode_6); t10 = A._detectRenderer(); t10 = t10 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t10.set$blendMode(B.BlendMode_8); t11 = A._detectRenderer(); t11 = t11 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t12 = A._detectRenderer(); t12 = t12 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t12.set$isAntiAlias(false); t12.set$blendMode(B.BlendMode_0); t13 = new A.Matrix4(new Float64Array(16)); t13.setIdentity$0(); t14 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t14 = new A.TextLayer(t1, t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.FontCharacter, type$.List_ContentGroup), t4, layerModel.composition, t7, t8, t9, t10, t11, t12, layerModel.name + "#draw", t13, drawable, layerModel, t14, A.TransformKeyframeAnimation$(layerModel.transform)); t14.BaseLayer$2(drawable, layerModel); t13 = t14.get$invalidateSelf(); t6.push(t13); t14.addAnimation$1(t4); textProperties = layerModel.textProperties; t1 = textProperties != null; if (t1 && textProperties.color != null) { t2 = textProperties.color.keyframes; t3 = A._setArrayType([], t5); t2 = new A.ColorKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(t2, type$.Color)); t3.push(t13); t14._colorAnimation = t2; t14.addAnimation$1(t2); } if (t1 && textProperties.stroke != null) { t2 = textProperties.stroke.keyframes; t3 = A._setArrayType([], t5); t2 = new A.ColorKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(t2, type$.Color)); t3.push(t13); t14._strokeColorAnimation = t2; t14.addAnimation$1(t2); } if (t1 && textProperties.strokeWidth != null) { t2 = textProperties.strokeWidth.keyframes; t3 = A._setArrayType([], t5); t2 = new A.DoubleKeyframeAnimation(t3, A.BaseKeyframeAnimation__wrap(t2, type$.double)); t3.push(t13); t14._strokeWidthAnimation = t2; t14.addAnimation$1(t2); } if (t1 && textProperties.tracking != null) { t1 = textProperties.tracking.keyframes; t5 = A._setArrayType([], t5); t1 = new A.DoubleKeyframeAnimation(t5, A.BaseKeyframeAnimation__wrap(t1, type$.double)); t5.push(t13); t14._trackingAnimation = t1; t14.addAnimation$1(t1); } return t14; case 6: drawable.composition.addWarning$1("Unknown layer type " + t1.toString$0(0)); return null; } }, BaseLayer: function BaseLayer() { }, BaseLayer__setupInOutAnimations_closure: function BaseLayer__setupInOutAnimations_closure(t0, t1) { this.$this = t0; this.inOutAnimation = t1; }, CompositionLayer$(lottieDrawable, layerModel, layerModels, composition) { var t3, t4, t5, t6, t7, t8, t9, t10, t1 = A._setArrayType([], type$.JSArray_BaseLayer), t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = new A.Matrix4(new Float64Array(16)); t3.setIdentity$0(); t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5.set$blendMode(B.BlendMode_6); t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$blendMode(B.BlendMode_8); t7 = A._detectRenderer(); t7 = t7 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t8 = A._detectRenderer(); t8 = t8 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t8.set$isAntiAlias(false); t8.set$blendMode(B.BlendMode_0); t9 = new A.Matrix4(new Float64Array(16)); t9.setIdentity$0(); t10 = A._setArrayType([], type$.JSArray_BaseKeyframeAnimation_of_Object_and_nullable_Object); t10 = new A.CompositionLayer(t1, t2, t3, t4, t5, t6, t7, t8, layerModel.name + "#draw", t9, lottieDrawable, layerModel, t10, A.TransformKeyframeAnimation$(layerModel.transform)); t10.BaseLayer$2(lottieDrawable, layerModel); t10.CompositionLayer$4(lottieDrawable, layerModel, layerModels, composition); return t10; }, CompositionLayer: function CompositionLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _._timeRemapping = null; _._layers = t0; _._layerPaint = t1; _._base_layer$_matrix = t2; _._contentPaint = t3; _._dstInPaint = t4; _._dstOutPaint = t5; _._mattePaint = t6; _._clearPaint = t7; _._drawTraceName = t8; _.boundsMatrix = t9; _.lottieDrawable = t10; _.layerModel = t11; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t12; _.transform = t13; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, ImageLayer: function ImageLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.paint = t0; _._base_layer$_matrix = t1; _._contentPaint = t2; _._dstInPaint = t3; _._dstOutPaint = t4; _._mattePaint = t5; _._clearPaint = t6; _._drawTraceName = t7; _.boundsMatrix = t8; _.lottieDrawable = t9; _.layerModel = t10; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t11; _.transform = t12; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, Layer$(blurEffect, composition, dropShadowEffect, id, inOutKeyframes, isHidden, layerType, masks, matteType, $name, parentId, preCompHeight, preCompWidth, refId, shapes, solidColor, solidHeight, solidWidth, startFrame, text, textProperties, timeRemapping, timeStretch, transform) { return new A.Layer(shapes, composition, $name, id, layerType, parentId, refId, masks, transform, solidWidth, solidHeight, solidColor, timeStretch, startFrame, preCompWidth, preCompHeight, text, textProperties, inOutKeyframes, matteType, timeRemapping, isHidden, blurEffect, dropShadowEffect); }, LayerType: function LayerType(t0, t1) { this.index = t0; this._core$_name = t1; }, MatteType: function MatteType(t0, t1) { this.index = t0; this._core$_name = t1; }, Layer: function Layer(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; _.shapes = t0; _.composition = t1; _.name = t2; _.id = t3; _.layerType = t4; _.parentId = t5; _.refId = t6; _.masks = t7; _.transform = t8; _.solidWidth = t9; _.solidHeight = t10; _.solidColor = t11; _.timeStretch = t12; _.startFrame = t13; _.preCompWidth = t14; _.preCompHeight = t15; _.text = t16; _.textProperties = t17; _.inOutKeyframes = t18; _.matteType = t19; _.timeRemapping = t20; _.isHidden = t21; _.blurEffect = t22; _.dropShadowEffect = t23; }, NullLayer: function NullLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _._base_layer$_matrix = t0; _._contentPaint = t1; _._dstInPaint = t2; _._dstOutPaint = t3; _._mattePaint = t4; _._clearPaint = t5; _._drawTraceName = t6; _.boundsMatrix = t7; _.lottieDrawable = t8; _.layerModel = t9; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t10; _.transform = t11; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, ShapeLayer: function ShapeLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) { var _ = this; _.__ShapeLayer__contentGroup = $; _._compositionLayer = t0; _._base_layer$_matrix = t1; _._contentPaint = t2; _._dstInPaint = t3; _._dstOutPaint = t4; _._mattePaint = t5; _._clearPaint = t6; _._drawTraceName = t7; _.boundsMatrix = t8; _.lottieDrawable = t9; _.layerModel = t10; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t11; _.transform = t12; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, SolidLayer: function SolidLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) { var _ = this; _.paint = t0; _.path = t1; _._base_layer$_matrix = t2; _._contentPaint = t3; _._dstInPaint = t4; _._dstOutPaint = t5; _._mattePaint = t6; _._clearPaint = t7; _._drawTraceName = t8; _.boundsMatrix = t9; _.lottieDrawable = t10; _.layerModel = t11; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t12; _.transform = t13; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, TextLayer: function TextLayer(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) { var _ = this; _._text_layer$_matrix = t0; _._fillPaint = t1; _._strokePaint = t2; _._contentsForCharacter = t3; _._textAnimation = t4; _._text_layer$_composition = t5; _._trackingAnimation = _._strokeWidthAnimation = _._strokeColorAnimation = _._colorAnimation = null; _._base_layer$_matrix = t6; _._contentPaint = t7; _._dstInPaint = t8; _._dstOutPaint = t9; _._mattePaint = t10; _._clearPaint = t11; _._drawTraceName = t12; _.boundsMatrix = t13; _.lottieDrawable = t14; _.layerModel = t15; _._parentLayers = _._parentLayer = _._matteLayer = _._inOutAnimation = _._base_layer$_mask = null; _._animations = t16; _.transform = t17; _._visible = true; _.blurMaskFilterRadius = 0; _.blurMaskFilter = null; }, Marker: function Marker(t0) { this.name = t0; }, DropShadowEffectParser: function DropShadowEffectParser() { var _ = this; _._drop_shadow_effect_parser$_radius = _._distance = _._drop_shadow_effect_parser$_direction = _._drop_shadow_effect_parser$_opacity = _._drop_shadow_effect_parser$_color = null; }, GradientColorParser: function GradientColorParser(t0) { this._colorPoints = t0; }, KeyframeParser_parse(reader, composition, scale, valueParser, animated, multiDimensional, $T) { if (animated && multiDimensional) return A.KeyframeParser__parseMultiDimensionalKeyframe(composition, reader, scale, valueParser, $T); else if (animated) return A.KeyframeParser__parseKeyframe(composition, reader, scale, valueParser, $T); else return A.Keyframe$nonAnimated(valueParser.call$2$scale(reader, scale), $T); }, KeyframeParser__parseKeyframe(composition, reader, scale, valueParser, $T) { var pathCp2, pathCp1, endValue, startValue, cp2, cp1, startFrame, hold, p, interpolator, keyframe, _null = null; reader.beginObject$0(); pathCp2 = _null; pathCp1 = pathCp2; endValue = pathCp1; startValue = endValue; cp2 = startValue; cp1 = cp2; startFrame = 0; hold = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$KeyframeParser__names())) { case 0: startFrame = reader.nextDouble$0(); break; case 1: startValue = valueParser.call$2$scale(reader, scale); break; case 2: endValue = valueParser.call$2$scale(reader, scale); break; case 3: cp1 = A.JsonUtils_jsonToPoint(reader, 1); break; case 4: cp2 = A.JsonUtils_jsonToPoint(reader, 1); break; case 5: hold = reader.nextInt$0() === 1; break; case 6: pathCp1 = A.JsonUtils_jsonToPoint(reader, scale); break; case 7: pathCp2 = A.JsonUtils_jsonToPoint(reader, scale); break; default: reader.skipValue$0(); } } reader.endObject$0(); if (hold) { endValue = startValue; interpolator = B.C__Linear; } else interpolator = cp1 != null && cp2 != null ? A.KeyframeParser__interpolatorFor(cp1, cp2) : B.C__Linear; keyframe = A.Keyframe$(composition, _null, endValue, interpolator, startFrame, startValue, _null, _null, $T); keyframe.pathCp1 = pathCp1; keyframe.pathCp2 = pathCp2; return keyframe; }, KeyframeParser__parseMultiDimensionalKeyframe(composition, reader, scale, valueParser, $T) { var pathCp2, pathCp1, endValue, startValue, yCp2, yCp1, xCp2, xCp1, cp2, cp1, startFrame, hold, p, xCp1x, xCp1y, yCp1x, yCp1y, xCp2x, xCp2y, yCp2x, yCp2y, yInterpolator, xInterpolator, interpolator, keyframe, _null = null; reader.beginObject$0(); pathCp2 = _null; pathCp1 = pathCp2; endValue = pathCp1; startValue = endValue; yCp2 = startValue; yCp1 = yCp2; xCp2 = yCp1; xCp1 = xCp2; cp2 = xCp1; cp1 = cp2; startFrame = 0; hold = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$KeyframeParser__names())) { case 0: startFrame = reader.nextDouble$0(); break; case 1: startValue = valueParser.call$2$scale(reader, scale); break; case 2: endValue = valueParser.call$2$scale(reader, scale); break; case 3: if (reader.peek$0() === B.Token_2) { reader.beginObject$0(); xCp1x = 0; xCp1y = 0; yCp1x = 0; yCp1y = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$KeyframeParser__interpolatorNames())) { case 0: if (reader.peek$0() === B.Token_6) { xCp1x = reader.nextDouble$0(); yCp1x = xCp1x; } else { reader.beginArray$0(); xCp1x = reader.nextDouble$0(); yCp1x = reader.peek$0() === B.Token_6 ? reader.nextDouble$0() : xCp1x; reader.endArray$0(); } break; case 1: if (reader.peek$0() === B.Token_6) { xCp1y = reader.nextDouble$0(); yCp1y = xCp1y; } else { reader.beginArray$0(); xCp1y = reader.nextDouble$0(); yCp1y = reader.peek$0() === B.Token_6 ? reader.nextDouble$0() : xCp1y; reader.endArray$0(); } break; default: reader.skipValue$0(); } } xCp1 = new A.Offset(xCp1x, xCp1y); yCp1 = new A.Offset(yCp1x, yCp1y); reader.endObject$0(); } else cp1 = A.JsonUtils_jsonToPoint(reader, scale); break; case 4: if (reader.peek$0() === B.Token_2) { reader.beginObject$0(); xCp2x = 0; xCp2y = 0; yCp2x = 0; yCp2y = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$KeyframeParser__interpolatorNames())) { case 0: if (reader.peek$0() === B.Token_6) { xCp2x = reader.nextDouble$0(); yCp2x = xCp2x; } else { reader.beginArray$0(); xCp2x = reader.nextDouble$0(); yCp2x = reader.peek$0() === B.Token_6 ? reader.nextDouble$0() : xCp2x; reader.endArray$0(); } break; case 1: if (reader.peek$0() === B.Token_6) { xCp2y = reader.nextDouble$0(); yCp2y = xCp2y; } else { reader.beginArray$0(); xCp2y = reader.nextDouble$0(); yCp2y = reader.peek$0() === B.Token_6 ? reader.nextDouble$0() : xCp2y; reader.endArray$0(); } break; default: reader.skipValue$0(); } } xCp2 = new A.Offset(xCp2x, xCp2y); yCp2 = new A.Offset(yCp2x, yCp2y); reader.endObject$0(); } else cp2 = A.JsonUtils_jsonToPoint(reader, scale); break; case 5: hold = reader.nextInt$0() === 1; break; case 6: pathCp1 = A.JsonUtils_jsonToPoint(reader, scale); break; case 7: pathCp2 = A.JsonUtils_jsonToPoint(reader, scale); break; default: reader.skipValue$0(); } } reader.endObject$0(); if (hold) { yInterpolator = _null; xInterpolator = yInterpolator; endValue = startValue; interpolator = B.C__Linear; } else if (cp1 != null && cp2 != null) { interpolator = A.KeyframeParser__interpolatorFor(cp1, cp2); yInterpolator = _null; xInterpolator = yInterpolator; } else if (xCp1 != null && yCp1 != null && xCp2 != null && yCp2 != null) { xInterpolator = A.KeyframeParser__interpolatorFor(xCp1, xCp2); yInterpolator = A.KeyframeParser__interpolatorFor(yCp1, yCp2); interpolator = _null; } else { yInterpolator = _null; xInterpolator = yInterpolator; interpolator = B.C__Linear; } keyframe = xInterpolator != null && yInterpolator != null ? A.Keyframe$(composition, _null, endValue, _null, startFrame, startValue, xInterpolator, yInterpolator, $T) : A.Keyframe$(composition, _null, endValue, interpolator, startFrame, startValue, _null, _null, $T); keyframe.pathCp1 = pathCp1; keyframe.pathCp2 = pathCp2; return keyframe; }, KeyframeParser__interpolatorFor(cp1, cp2) { var t2, t3, t4, t5, result, t1 = {}; t1.cp1 = cp1; t1.cp2 = cp2; t2 = B.JSNumber_methods.clamp$2(cp1._dx, -1, 1); t3 = B.JSNumber_methods.clamp$2(cp1._dy, -100, 100); t1.cp1 = new A.Offset(t2, t3); t4 = B.JSNumber_methods.clamp$2(cp2._dx, -1, 1); t5 = B.JSNumber_methods.clamp$2(cp2._dy, -100, 100); t1.cp2 = new A.Offset(t4, t5); result = t2 !== 0 ? B.JSNumber_methods.round$0(527 * t2) : 17; if (t3 !== 0) result = B.JSNumber_methods.round$0(31 * result * t3); if (t4 !== 0) result = B.JSNumber_methods.round$0(31 * result * t4); if (t5 !== 0) result = B.JSNumber_methods.round$0(31 * result * t5); return $.KeyframeParser__pathInterpolatorCache.putIfAbsent$2(0, result, new A.KeyframeParser__interpolatorFor_closure(t1)); }, KeyframeParser__interpolatorFor_closure: function KeyframeParser__interpolatorFor_closure(t0) { this._box_0 = t0; }, Buffer__isPrefix(search, buffer, start) { var t1, i; for (t1 = J.getInterceptor$asx(search), i = 0; i < t1.get$length(search); ++i) if (!J.$eq$(t1.$index(search, i), buffer[start + i])) return false; return true; }, Buffer: function Buffer(t0) { this.buffer = t0; this._buffer$_size = this._buffer$_start = 0; }, JsonReader__copyOf(source, newSize, fill, $T) { var newList = A.List_List$filled(newSize, fill, false, $T); A.List_copyRange(newList, 0, source); return newList; }, JsonReaderOptions_of(strings) { var t1 = A._arrayInstanceType(strings)._eval$1("MappedListIterable<1,List<int>>"); return new A.JsonReaderOptions(strings, A.List_List$of(new A.MappedListIterable(strings, new A.JsonReaderOptions_of_closure(), t1), true, t1._eval$1("ListIterable.E"))); }, JsonDataException$(message) { return new A.JsonDataException(message); }, JsonEncodingException$(message) { return new A.JsonEncodingException(message); }, JsonReader: function JsonReader() { }, JsonReaderOptions: function JsonReaderOptions(t0, t1) { this.strings = t0; this.doubleQuoteSuffix = t1; }, JsonReaderOptions_of_closure: function JsonReaderOptions_of_closure() { }, Token3: function Token3(t0, t1) { this.index = t0; this._core$_name = t1; }, JsonDataException: function JsonDataException(t0) { this.message = t0; }, JsonEncodingException: function JsonEncodingException(t0) { this.message = t0; }, JsonUtf8Reader: function JsonUtf8Reader(t0, t1, t2, t3) { var _ = this; _.buffer = t0; _._peeked = 0; _.__JsonUtf8Reader__peekedNumberLength = _.__JsonUtf8Reader__peekedLong = $; _._peekedString = null; _.stackSize = 0; _.scopes = t1; _.pathNames = t2; _.pathIndices = t3; }, PerformanceTracker: function PerformanceTracker(t0, t1) { this._frameListeners = t0; this._layerRenderTimes = t1; }, AssetLottie: function AssetLottie(t0, t1, t2, t3) { var _ = this; _.assetName = t0; _.bundle = t1; _.$package = t2; _.imageProviderFactory = t3; }, AssetLottie_load_closure: function AssetLottie_load_closure(t0) { this.$this = t0; }, loadImage(composition, lottieImage, provider) { var t1 = new A._Future($.Zone__current, type$._Future_nullable_Image), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Image), imageStream = provider.resolve$1(B.ImageConfiguration_Eba), listener = A._Cell$named("listener"); listener.__late_helper$_value = new A.ImageStreamListener(new A.loadImage_closure(imageStream, listener, completer), null, new A.loadImage_closure0(imageStream, listener, composition, lottieImage, completer)); imageStream.addListener$1(0, listener._readLocal$0()); return t1; }, fromDataUri(filePath) { var t1; if (B.JSString_methods.startsWith$1(filePath, "data:")) { t1 = A.Uri_parse(filePath, 0, null); return new A.MemoryImage(t1.get$data(t1).contentAsBytes$0(), 1); } return null; }, loadImage_closure: function loadImage_closure(t0, t1, t2) { this.imageStream = t0; this.listener = t1; this.completer = t2; }, loadImage_closure0: function loadImage_closure0(t0, t1, t2, t3, t4) { var _ = this; _.imageStream = t0; _.listener = t1; _.composition = t2; _.lottieImage = t3; _.completer = t4; }, LottieProvider: function LottieProvider() { }, LottieCache: function LottieCache(t0, t1) { this.maximumSize = t0; this._lottie_provider$_cache = t1; }, RawLottie: function RawLottie(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) { var _ = this; _.composition = t0; _.delegates = t1; _.options = t2; _.progress = t3; _.frameRate = t4; _.width = t5; _.height = t6; _.fit = t7; _.alignment = t8; _.key = t9; }, RenderLottie: function RenderLottie(t0, t1, t2, t3, t4, t5) { var _ = this; _._drawable = t0; _._render_lottie$_width = t1; _._render_lottie$_height = t2; _._render_lottie$_fit = t3; _._render_lottie$_alignment = t4; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t5; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, dashPath0(source, intervals, phase) { var t1, metric, t2, t3, dest = A.Path_Path(); for (t1 = source.computeMetrics$0(), t1 = t1.get$iterator(t1); t1.moveNext$0();) { metric = t1.get$current(t1); for (t2 = A._dashes(metric.get$length(metric), intervals, phase), t2 = new A._SyncStarIterator(t2._outerHelper(), t2.$ti._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) { t3 = t2.get$current(t2); dest.addPath$2(0, metric.extractPath$2(t3.left, t3.right), B.Offset_0_0); } } return dest; }, _dashes($length, intervals, phase) { return A._dashes$body($length, intervals, phase); }, _dashes$body($async$$length, $async$intervals, $async$phase) { return A._makeSyncStarIterable(function() { var $length = $async$$length, intervals = $async$intervals, phase = $async$phase; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, distance, position, end, i, offset, distance0, intervalLength; return function $async$_dashes($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 intervalLength = B.JSArray_methods.fold$2(intervals, 0, new A._dashes_closure()); t1 = intervals.length, t2 = t1 - 1, distance = 0; case 2: // for condition if (!(distance < $length)) { // goto after for $async$goto = 3; break; } position = B.JSNumber_methods.$mod(distance + phase, intervalLength); end = 0, i = 0; case 4: // for condition if (!(i < t1)) { // goto after for $async$goto = 6; break; } end += intervals[i]; $async$goto = end > position || i === t2 ? 7 : 8; break; case 7: // then offset = Math.max(0.1, end - position); $async$goto = (i & 1) === 0 ? 9 : 10; break; case 9: // then $async$goto = 11; return new A.Rect(distance, 0, Math.min($length, distance + offset), 0); case 11: // after yield case 10: // join distance0 = distance + offset; distance = distance0; // goto after for $async$goto = 6; break; case 8: // join case 5: // for update ++i; // goto for condition $async$goto = 4; break; case 6: // after for // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.Rect); }, _dashes_closure: function _dashes_closure() { }, PathInterpolator_PathInterpolator(path) { var mX, mY, i, t2, t1 = path.computeMetrics$0(), pathMeasure = B.JSArray_methods.get$first(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"))), pathLength = pathMeasure.get$length(pathMeasure), numPoints = B.JSNumber_methods.round$0(pathLength / 0.002) + 1; t1 = type$.double; mX = A.List_List$filled(numPoints, 0, false, t1); mY = A.List_List$filled(numPoints, 0, false, t1); for (t1 = numPoints - 1, i = 0; i < numPoints; ++i) { t2 = pathMeasure.getTangentForOffset$1(i * pathLength / t1).position; mX[i] = t2._dx; mY[i] = t2._dy; } return new A.PathInterpolator(mX, mY); }, PathInterpolator__createCubic(controlX1, controlY1, controlX2, controlY2) { var path = A.Path_Path(); path.moveTo$2(0, 0, 0); path.cubicTo$6(0, controlX1, controlY1, controlX2, controlY2, 1, 1); return path; }, PathInterpolator: function PathInterpolator(t0, t1) { this._mX = t0; this._mY = t1; }, Keyframe$(_composition, endFrame, endValue, interpolator, startFrame, startValue, xInterpolator, yInterpolator, $T) { return new A.Keyframe(_composition, startValue, endValue, interpolator, xInterpolator, yInterpolator, startFrame, endFrame, 5e-324, 5e-324, $T._eval$1("Keyframe<0>")); }, Keyframe$nonAnimated(value, $T) { var _null = null; return new A.Keyframe(_null, value, value, _null, _null, _null, 5e-324, 17976931348623157e292, 5e-324, 5e-324, $T._eval$1("Keyframe<0>")); }, Keyframe: function Keyframe(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _._composition = t0; _.startValue = t1; _.endValue = t2; _.interpolator = t3; _.xInterpolator = t4; _.yInterpolator = t5; _.startFrame = t6; _.endFrame = t7; _._startProgress = t8; _._endProgress = t9; _.pathCp2 = _.pathCp1 = null; _.$ti = t10; }, 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), A.RegExp_RegExp("</pre>", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<script(?:\\s|>|$)", true, false), A.RegExp_RegExp("</script>", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<style(?:\\s|>|$)", true, false), A.RegExp_RegExp("</style>", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<!--", true, false), A.RegExp_RegExp("-->", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<\\?", true, false), A.RegExp_RegExp("\\?>", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<![A-Z]", true, false), A.RegExp_RegExp(">", true, false)), new A.LongBlockHtmlSyntax(A.RegExp_RegExp("^ {0,3}<!\\[CDATA\\[", true, false), A.RegExp_RegExp("\\]\\]>", true, 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; for (t1 = new A.CodeUnits(input), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListMixin.E>")), t2 = t2._eval$1("ListMixin.E"), $length = 0; t1.moveNext$0();) $length += t2._as(t1.__internal$_current) === 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() { }, TableSyntax: function TableSyntax() { }, TableSyntax__parseAlignments_closure: function TableSyntax__parseAlignments_closure() { }, 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; }, Document1: function Document1(t0, t1, t2, t3, t4) { var _ = this; _.linkReferences = t0; _.extensionSet = t1; _.encodeHtml = t2; _._blockSyntaxes = t3; _._inlineSyntaxes = t4; }, LinkReference: function LinkReference(t0, t1) { this.destination = t0; this.title = t1; }, ExtensionSet$(blockSyntaxes, inlineSyntaxes) { return new A.ExtensionSet(blockSyntaxes, inlineSyntaxes); }, ExtensionSet: function ExtensionSet(t0, t1) { this.blockSyntaxes = t0; this.inlineSyntaxes = t1; }, InlineParser$(source, $document) { var t1 = new A.InlineParser(source, $document, A._setArrayType([], type$.JSArray_InlineSyntax), A._setArrayType([], type$.JSArray_Delimiter), A._setArrayType([], type$.JSArray_Node_2)); t1.InlineParser$2(source, $document); return t1; }, TextSyntax$(pattern, startCharacter, sub) { return new A.TextSyntax(sub, A.RegExp_RegExp(pattern, true, true), startCharacter); }, InlineHtmlSyntax$() { return new A.InlineHtmlSyntax("", A.RegExp_RegExp("<[/!?]?[A-Za-z][A-Za-z0-9-]*(?:\\s[^>]*)?>", true, true), 60); }, 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 || allowIntraWord; if (B.JSString_methods.contains$1(_s4_, preceding)) rightFlanking = false; else rightFlanking = !precededByPunctuation || t1 || followedByPunctuation || allowIntraWord; if (!leftFlanking && !rightFlanking) return null; t1 = B.JSString_methods.codeUnitAt$1(t2, runStart); if (leftFlanking) t2 = t1 === 42 || !rightFlanking || allowIntraWord || precededByPunctuation; else t2 = false; if (rightFlanking) t3 = t1 === 42 || !leftFlanking || allowIntraWord || followedByPunctuation; else t3 = false; return new A.DelimiterRun(node, t1, syntax, t2, t3); }, TagSyntax$(pattern, allowIntraWord, requiresDelimiterRun, startCharacter) { return new A.TagSyntax(requiresDelimiterRun, allowIntraWord, A.RegExp_RegExp(pattern, true, true), startCharacter); }, LinkSyntax$(linkResolver, pattern, startCharacter) { return new A.LinkSyntax(new A.LinkSyntax_closure(), false, false, A.RegExp_RegExp(pattern, true, true), startCharacter); }, ImageSyntax$(linkResolver) { return new A.ImageSyntax(new A.LinkSyntax_closure(), false, false, A.RegExp_RegExp("!\\[", true, true), 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_closure: function InlineParser_closure(t0) { this.$this = t0; }, 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(t0) { this.delimiter = t0; }, InlineParser__linkOrImage_closure1: function InlineParser__linkOrImage_closure1(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; }, AutolinkExtensionSyntax: function AutolinkExtensionSyntax(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, t3) { var _ = this; _.requiresDelimiterRun = t0; _.allowIntraWord = t1; _.pattern = t2; _._startCharacter = t3; }, StrikethroughSyntax: function StrikethroughSyntax(t0, t1, t2, t3) { var _ = this; _.requiresDelimiterRun = t0; _.allowIntraWord = t1; _.pattern = t2; _._startCharacter = t3; }, LinkSyntax: function LinkSyntax(t0, t1, t2, t3, t4) { var _ = this; _.linkResolver = t0; _.requiresDelimiterRun = t1; _.allowIntraWord = t2; _.pattern = t3; _._startCharacter = t4; }, LinkSyntax_closure: function LinkSyntax_closure() { }, ImageSyntax: function ImageSyntax(t0, t1, t2, t3, t4) { var _ = this; _.linkResolver = t0; _.requiresDelimiterRun = t1; _.allowIntraWord = t2; _.pattern = t3; _._startCharacter = t4; }, 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; }, Document: function Document(t0, t1) { this.id = t0; this.document = t1; }, Page: function Page(t0, t1, t2, t3) { var _ = this; _.id = t0; _.documentId = t1; _.page = t2; _._viewport = t3; }, Page_render_closure: function Page_render_closure(t0, t1, t2) { this.data = t0; this.reader = t1; this.completer = t2; }, Data: function Data(t0, t1, t2) { this.width = t0; this.height = t1; this.data = t2; }, NativePdfRendererPlugin: function NativePdfRendererPlugin(t0, t1) { this._documents = t0; this._pages = t1; }, 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() { }, DocumentRepository: function DocumentRepository(t0) { this._items = t0; }, PageRepository: function PageRepository(t0) { this._items = t0; }, Repository: function Repository() { }, RepositoryItemNotFoundException: function RepositoryItemNotFoundException() { }, SingleChildStatelessElement$(widget) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.SingleChildStatelessElement(null, t1, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); }, SingleChildStatefulElement$(widget) { var t1 = widget.createState$0(), t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; t2 = new A.SingleChildStatefulElement(null, t1, t2, widget, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); t2.get$state(t2)._framework$_element = t2; t2.get$state(t2)._widget = widget; return t2; }, Nested: function Nested() { }, _NestedElement: function _NestedElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.nodes = t0; _.SingleChildWidgetElementMixin__parent = t1; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t2; _._slot = null; _.__Element__depth = $; _._widget = t3; _._owner = null; _._lifecycleState = t4; _._debugForgottenChildrenWithGlobalKey = t5; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _NestedHook: function _NestedHook(t0, t1, t2, t3) { var _ = this; _.wrappedWidget = t0; _.injectedChild = t1; _.owner = t2; _.key = t3; }, _NestedHookElement: function _NestedHookElement(t0, t1, t2, t3) { var _ = this; _._framework$_child = _._wrappedChild = _._injectedChild = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t0; _._slot = null; _.__Element__depth = $; _._widget = t1; _._owner = null; _._lifecycleState = t2; _._debugForgottenChildrenWithGlobalKey = t3; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _NestedHookElement_injectedChild_closure: function _NestedHookElement_injectedChild_closure() { }, SingleChildWidgetElementMixin: function SingleChildWidgetElementMixin() { }, _SingleChildStatefulElement_StatefulElement_SingleChildWidgetElementMixin_activate_closure: function _SingleChildStatefulElement_StatefulElement_SingleChildWidgetElementMixin_activate_closure(t0) { this.$this = t0; }, _SingleChildStatelessElement_StatelessElement_SingleChildWidgetElementMixin_activate_closure: function _SingleChildStatelessElement_StatelessElement_SingleChildWidgetElementMixin_activate_closure(t0) { this.$this = t0; }, __NestedElement_StatelessElement_SingleChildWidgetElementMixin_activate_closure: function __NestedElement_StatelessElement_SingleChildWidgetElementMixin_activate_closure(t0) { this.$this = t0; }, SingleChildStatelessWidget: function SingleChildStatelessWidget() { }, SingleChildStatelessElement: function SingleChildStatelessElement(t0, t1, t2, t3, t4) { var _ = this; _.SingleChildWidgetElementMixin__parent = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, SingleChildStatefulWidget: function SingleChildStatefulWidget() { }, SingleChildState: function SingleChildState() { }, SingleChildStatefulElement: function SingleChildStatefulElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.SingleChildWidgetElementMixin__parent = t0; _._framework$_state = t1; _._didChangeDependencies = false; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t2; _._slot = null; _.__Element__depth = $; _._widget = t3; _._owner = null; _._lifecycleState = t4; _._debugForgottenChildrenWithGlobalKey = t5; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _SingleChildStatefulElement_StatefulElement_SingleChildWidgetElementMixin: function _SingleChildStatefulElement_StatefulElement_SingleChildWidgetElementMixin() { }, _SingleChildStatelessElement_StatelessElement_SingleChildWidgetElementMixin: function _SingleChildStatelessElement_StatelessElement_SingleChildWidgetElementMixin() { }, __NestedElement_StatelessElement_SingleChildWidgetElementMixin: function __NestedElement_StatelessElement_SingleChildWidgetElementMixin() { }, NumberPicker$(maxValue, minValue, onChanged, value) { return new A.NumberPicker(minValue, maxValue, value, onChanged, null); }, NumberPicker: function NumberPicker(t0, t1, t2, t3, t4) { var _ = this; _.minValue = t0; _.maxValue = t1; _.value = t2; _.onChanged = t3; _.key = t4; }, _NumberPickerState: function _NumberPickerState(t0) { var _ = this; _.___NumberPickerState__scrollController = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _NumberPickerState__scrollListener_closure: function _NumberPickerState__scrollListener_closure(t0) { this.$this = t0; }, _NumberPickerState_build_closure: function _NumberPickerState_build_closure(t0) { this.$this = t0; }, _NumberPickerState_build__closure: function _NumberPickerState_build__closure(t0) { this.$this = t0; }, _NumberPickerSelectedItemDecoration: function _NumberPickerSelectedItemDecoration(t0, t1, t2, t3) { var _ = this; _.axis = t0; _.itemExtent = t1; _.decoration = t2; _.key = t3; }, RomanNumeralsInt_toRomanNumeralString(_this) { var t1, nRevMap, accum, curString, nIndex, divisor, got; if (_this < 0 || _this > 65535) return null; if (_this === 0) return B.JSString_methods.substring$2("N", 0, 1).toUpperCase(); t1 = $._romanNumbersToLetters.get$keys($._romanNumbersToLetters); nRevMap = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); B.JSArray_methods.sort$1(nRevMap, new A.RomanNumeralsInt_toRomanNumeralString_closure()); for (accum = _this, curString = "", nIndex = 0; accum > 0;) { divisor = nRevMap[nIndex]; if (B.JSInt_methods.$tdiv(accum, divisor) > 0) { got = $._romanNumbersToLetters.$index(0, divisor); if (got != null) { curString += got; accum -= divisor; } } else ++nIndex; } return curString; }, RomanNumeralsInt_toRomanNumeralString_closure: function RomanNumeralsInt_toRomanNumeralString_closure() { }, ToastPosition: function ToastPosition(t0, t1) { this.align = t0; this.offset = t1; }, _defaultBuildAnimation(context, child, controller, percent) { return A.Opacity$(false, child, percent); }, showToastWidget(widget, animationBuilder, animationCurve, animationDuration, context, dismissOtherToast, duration, onDismiss, position, textDirection) { var handleTouch, t2, key, entry, future, t3, _null = null, t1 = {}; t1.widget = widget; t1.context = context; t1.duration = duration; t1.position = position; t1.handleTouch = handleTouch; t1.animationBuilder = animationBuilder; t1.animationDuration = animationDuration; t1.animationCurve = animationCurve; t1.handleTouch = null; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._ToastTheme); if (t2 == null) t2 = B._ToastTheme_YiR; t1.handleTouch = false; t1.animationBuilder = t2.animationBuilder; t1.animationDuration = t2.animationDuration; t1.animationCurve = t2.animationCurve; key = new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey__ToastContainerState); t1.widget = new A.Align(position.align, _null, _null, widget, _null); entry = A.OverlayEntry$(new A.showToastWidget_closure(t1, textDirection, key, true)); if (t2.dismissOtherOnShow) $.$get$ToastManager__instance().dismissAll$0(); future = new A.ToastFuture(entry, onDismiss, key, t1.animationDuration); entry.addListener$1(0, future.get$_mountedListener()); t2 = t1.duration; if (!(t2._duration === B.Duration_0._duration)) future.timer = A.Timer_Timer(t2, new A.showToastWidget_closure0(future)); $.$get$ToastManager__instance().toastSet.add$1(0, future); t2 = new A.showToastWidget__insertOverlayEntry(t1, future); t1.context.get$debugDoingBuild(); t1 = t1.context; t3 = (t1._owner == null && _null) !== true; t1 = t3; if (t1) t2.call$0(); else { t1 = $.WidgetsBinding__instance; if (t1 != null) t1.SchedulerBinding__postFrameCallbacks.push(new A.showToastWidget_closure1(t2)); } return future; }, showToastWidget_closure: function showToastWidget_closure(t0, t1, t2, t3) { var _ = this; _._box_0 = t0; _.direction = t1; _.key = t2; _.movingOnWindowChange = t3; }, showToastWidget_closure0: function showToastWidget_closure0(t0) { this.future = t0; }, showToastWidget__insertOverlayEntry: function showToastWidget__insertOverlayEntry(t0, t1) { this._box_0 = t0; this.future = t1; }, showToastWidget_closure1: function showToastWidget_closure1(t0) { this._insertOverlayEntry = t0; }, ToastFuture: function ToastFuture(t0, t1, t2, t3) { var _ = this; _._toast$_entry = t0; _._toast$_onDismiss = t1; _._containerKey = t2; _.animationDuration = t3; _.timer = null; _._isEntryInserted = _._dismissed = _._isShow = false; }, ToastContainer: function ToastContainer(t0, t1, t2, t3, t4, t5, t6, t7) { var _ = this; _.duration = t0; _.child = t1; _.movingOnWindowChange = t2; _.position = t3; _.animationBuilder = t4; _.animationDuration = t5; _.animationCurve = t6; _.key = t7; }, _ToastContainerState: function _ToastContainerState(t0, t1) { var _ = this; _.___ToastContainerState__animationController = $; _.SingleTickerProviderStateMixin__ticker = t0; _._widget = null; _._debugLifecycleState = t1; _._framework$_element = null; }, _ToastContainerState_initState_closure: function _ToastContainerState_initState_closure(t0) { this.$this = t0; }, _ToastContainerState_initState_closure0: function _ToastContainerState_initState_closure0(t0) { this.$this = t0; }, _ToastContainerState_didChangeMetrics_closure: function _ToastContainerState_didChangeMetrics_closure() { }, _ToastContainerState_build_closure: function _ToastContainerState_build_closure(t0, t1) { this.$this = t0; this.context = t1; }, OKToast: function OKToast(t0, t1, t2) { this.child = t0; this.backgroundColor = t1; this.key = t2; }, _OKToastState: function _OKToastState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, _OKToastState_build_closure: function _OKToastState_build_closure(t0) { this.$this = t0; }, _ToastTheme: function _ToastTheme(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) { var _ = this; _.textStyle = t0; _.backgroundColor = t1; _.radius = t2; _.position = t3; _.dismissOtherOnShow = t4; _.movingOnWindowChange = t5; _.textDirection = t6; _.textPadding = t7; _.textAlign = t8; _.handleTouch = t9; _.animationBuilder = t10; _.animationDuration = t11; _.animationCurve = t12; _.duration = t13; _.child = t14; _.key = t15; }, __ToastContainerState_State_WidgetsBindingObserver: function __ToastContainerState_State_WidgetsBindingObserver() { }, __ToastContainerState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin: function __ToastContainerState_State_WidgetsBindingObserver_SingleTickerProviderStateMixin() { }, ToastManager: function ToastManager(t0) { this.toastSet = t0; }, ToastManager_dismissAll_closure: function ToastManager_dismissAll_closure(t0) { this.showAnim = t0; }, OverlayEntry$(builder) { return new A.OverlayEntry(builder, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey__OverlayEntryWidgetState_2), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, OverlayEntry: function OverlayEntry(t0, t1, t2) { var _ = this; _.builder = t0; _._overlay$_mounted = false; _._overlay$_overlay = null; _._key = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, OverlayEntry_remove_closure0: function OverlayEntry_remove_closure0(t0) { this.overlay = t0; }, _OverlayEntryWidget: function _OverlayEntryWidget(t0, t1, t2) { this.entry = t0; this.tickerEnabled = t1; this.key = t2; }, _OverlayEntryWidgetState: function _OverlayEntryWidgetState(t0) { this._widget = null; this._debugLifecycleState = t0; this._framework$_element = null; }, Overlay: function Overlay(t0, t1) { this.initialEntries = t0; this.key = t1; }, OverlayState: function OverlayState(t0, t1, t2) { var _ = this; _._entries = t0; _.TickerProviderStateMixin__tickers = t1; _._widget = null; _._debugLifecycleState = t2; _._framework$_element = null; }, OverlayState_insert_closure0: function OverlayState_insert_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.below = t1; _.above = t2; _.entry = t3; }, OverlayState_insertAll_closure0: function OverlayState_insertAll_closure0(t0, t1, t2, t3) { var _ = this; _.$this = t0; _.below = t1; _.above = t2; _.entries = t3; }, OverlayState__markDirty_closure0: function OverlayState__markDirty_closure0() { }, _Theatre: function _Theatre(t0, t1, t2, t3) { var _ = this; _.skipCount = t0; _.clipBehavior = t1; _.children = t2; _.key = t3; }, _TheatreElement: function _TheatreElement(t0, t1, t2, t3, t4) { var _ = this; _.__MultiChildRenderObjectElement__children = $; _._forgottenChildren = t0; _._renderObject = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = _._ancestorRenderObjectElement = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; }, _RenderTheatre: function _RenderTheatre(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._overlay$_hasVisualOverflow = false; _._overlay$_resolvedAlignment = null; _._overlay$_textDirection = t0; _._overlay$_skipCount = t1; _._overlay$_clipBehavior = t2; _._overlay$_clipRectLayer = null; _.ContainerRenderObjectMixin__childCount = t3; _.ContainerRenderObjectMixin__firstChild = t4; _.ContainerRenderObjectMixin__lastChild = t5; _._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null; _._computingThisDryLayout = false; _._cachedBaselines = _._size = null; _._debugActivePointers = 0; _._object$_debugDisposed = false; _.debugCreator = _.parentData = null; _._debugDoingThisLayout = _._debugDoingThisResize = false; _._debugCanParentUseSize = null; _._debugMutationsLocked = false; _._needsLayout = true; _._relayoutBoundary = null; _._doingThisLayoutWithCallback = false; _._constraints = null; _._debugDoingThisPaint = false; _._layerHandle = t6; _._needsCompositingBitsUpdate = false; _.__RenderObject__needsCompositing = $; _._needsPaint = true; _._cachedSemanticsConfiguration = null; _._needsSemanticsUpdate = true; _._semantics = null; _._depth = 0; _._node$_parent = _._node$_owner = null; }, _RenderTheatre_computeMinIntrinsicWidth_closure0: function _RenderTheatre_computeMinIntrinsicWidth_closure0(t0) { this.height = t0; }, _RenderTheatre_computeMaxIntrinsicWidth_closure0: function _RenderTheatre_computeMaxIntrinsicWidth_closure0(t0) { this.height = t0; }, _RenderTheatre_computeMinIntrinsicHeight_closure0: function _RenderTheatre_computeMinIntrinsicHeight_closure0(t0) { this.width = t0; }, _RenderTheatre_computeMaxIntrinsicHeight_closure0: function _RenderTheatre_computeMaxIntrinsicHeight_closure0(t0) { this.width = t0; }, _RenderTheatre_hitTestChildren_closure: function _RenderTheatre_hitTestChildren_closure(t0, t1, t2) { this._box_0 = t0; this.position = t1; this.childParentData = t2; }, _OverlayState_State_TickerProviderStateMixin0: function _OverlayState_State_TickerProviderStateMixin0() { }, __RenderTheatre_RenderBox_ContainerRenderObjectMixin0: function __RenderTheatre_RenderBox_ContainerRenderObjectMixin0() { }, Context_Context(current, style) { if (current == null) current = style == null ? A.current() : "."; if (style == null) style = $.$get$Style_platform(); return new A.Context0(type$.InternalStyle._as(style), current); }, _parseUri(uri) { if (type$.Uri._is(uri)) return uri; throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a 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)); } }, Context0: function Context0(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(B.JSString_methods._codeUnitAt$1(path, 0))) { separators.push(path[0]); start = 1; } else { separators.push(""); start = 0; } for (i = start; i < t1; ++i) if (style.isSeparator$1(B.JSString_methods._codeUnitAt$1(path, 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; }, ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() { }, ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() { }, 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, "a/b", _null, _null, _null, _null, _null).toFilePath$0() === "a\\b") return $.$get$Style_windows(); return $.$get$Style_posix(); }, Style0: function Style0() { }, 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; }, dashPath(source, dashArray, dashOffset) { var dest, t1, t2, distance, t3, metric, t4, distance0, draw, len; if (dashOffset == null) dashOffset = B.DashOffset_0__DashOffsetType_0; dest = A.Path_Path(); for (t1 = source.computeMetrics$0(), t1 = t1.get$iterator(t1), t2 = dashArray._vals, distance = dashOffset._rawVal, t3 = dashOffset._dashOffsetType === B._DashOffsetType_0; t1.moveNext$0();) { metric = t1.get$current(t1); t4 = metric.get$length(metric); distance0 = t3 ? distance : t4 * distance; for (draw = true; distance0 < metric.get$length(metric);) { t4 = dashArray._dash_path$_idx; if (t4 >= t2.length) t4 = dashArray._dash_path$_idx = 0; dashArray._dash_path$_idx = t4 + 1; len = t2[t4]; if (draw) dest.addPath$2(0, metric.extractPath$2(distance0, distance0 + len), B.Offset_0_0); distance0 += len; draw = !draw; } } return dest; }, CircularIntervalList$(_vals, $T) { return new A.CircularIntervalList(_vals, $T._eval$1("CircularIntervalList<0>")); }, _DashOffsetType: function _DashOffsetType(t0, t1) { this.index = t0; this._core$_name = t1; }, DashOffset: function DashOffset(t0, t1) { this._rawVal = t0; this._dashOffsetType = t1; }, CircularIntervalList: function CircularIntervalList(t0, t1) { this._vals = t0; this._dash_path$_idx = 0; this.$ti = t1; }, parseSvgPathData(svg) { var parser, t1, path, normalizer, t2, t3, target, t4, t5, t6, t7, t8, t9; if (svg === "") return A.Path_Path(); parser = new A.SvgPathStringSource(svg, B.SvgPathSegType_0, svg.length); parser._skipOptionalSvgSpaces$0(); t1 = A.Path_Path(); path = new A.FlutterPathProxy(t1); normalizer = new A.SvgPathNormalizer(B._PathOffset_0_0, B._PathOffset_0_0, B._PathOffset_0_0, B.SvgPathSegType_0); for (t2 = parser.parseSegments$0(), t2 = new A._SyncStarIterator(t2._outerHelper(), t2.$ti._eval$1("_SyncStarIterator<1>")); t2.moveNext$0();) { t3 = t2.get$current(t2); switch (t3.command.index) { case 9: target = 1; break; case 7: target = 2; break; case 17: target = 3; break; case 3: case 5: case 13: case 15: case 19: case 11: target = 4; break; case 12: target = 5; break; case 14: target = 6; break; case 1: target = 7; break; default: target = 8; break; } c$0: for (; true;) switch (target) { case 1: t4 = t3.point1; t5 = normalizer._currentPoint; t6 = t5.dx; t5 = t5.dy; t3.point1 = new A._PathOffset(t4.dx + t6, t4.dy + t5); t4 = t3.targetPoint; t3.targetPoint = new A._PathOffset(t4.dx + t6, t4.dy + t5); break c$0; case 2: t4 = t3.point1; t5 = normalizer._currentPoint; t3.point1 = new A._PathOffset(t4.dx + t5.dx, t4.dy + t5.dy); target = 3; continue c$0; case 3: t4 = t3.point2; t5 = normalizer._currentPoint; t3.point2 = new A._PathOffset(t4.dx + t5.dx, t4.dy + t5.dy); target = 4; continue c$0; case 4: t4 = t3.targetPoint; t5 = normalizer._currentPoint; t3.targetPoint = new A._PathOffset(t4.dx + t5.dx, t4.dy + t5.dy); break c$0; case 5: t3.targetPoint = new A._PathOffset(t3.targetPoint.dx, normalizer._currentPoint.dy); break c$0; case 6: t3.targetPoint = new A._PathOffset(normalizer._currentPoint.dx, t3.targetPoint.dy); break c$0; case 7: t3.targetPoint = normalizer._subPathPoint; break c$0; case 8: break c$0; } switch (t3.command.index) { case 3: case 2: target = 1; break; case 5: case 4: case 13: case 12: case 15: case 14: target = 2; break; case 1: target = 3; break; case 17: case 16: target = 4; break; case 7: case 6: target = 5; break; case 19: case 18: target = 6; break; case 9: case 8: target = 7; break; case 11: case 10: target = 8; break; default: target = 9; break; } c$3: for (; true;) switch (target) { case 1: t4 = normalizer._subPathPoint = t3.targetPoint; t1.moveTo$2(0, t4.dx, t4.dy); break c$3; case 2: t4 = t3.targetPoint; t1.lineTo$2(0, t4.dx, t4.dy); break c$3; case 3: t1.close$0(0); break c$3; case 4: t4 = normalizer._lastCommand; t4 = t4 === B.SvgPathSegType_6 || t4 === B.SvgPathSegType_7 || t4 === B.SvgPathSegType_16 || t4 === B.SvgPathSegType_17; t5 = normalizer._currentPoint; if (!t4) t3.point1 = t5; else { t4 = normalizer._controlPoint; t3.point1 = new A._PathOffset(2 * t5.dx - t4.dx, 2 * t5.dy - t4.dy); } target = 5; continue c$3; case 5: t4 = normalizer._controlPoint = t3.point2; t5 = t3.point1; t6 = t3.targetPoint; t1.cubicTo$6(0, t5.dx, t5.dy, t4.dx, t4.dy, t6.dx, t6.dy); break c$3; case 6: t4 = normalizer._lastCommand; t4 = t4 === B.SvgPathSegType_8 || t4 === B.SvgPathSegType_9 || t4 === B.SvgPathSegType_18 || t4 === B.SvgPathSegType_19; t5 = normalizer._currentPoint; if (!t4) t3.point1 = t5; else { t4 = normalizer._controlPoint; t3.point1 = new A._PathOffset(2 * t5.dx - t4.dx, 2 * t5.dy - t4.dy); } target = 7; continue c$3; case 7: t4 = normalizer._controlPoint = t3.point1; t5 = normalizer._currentPoint; t6 = 2 * t4.dx; t7 = (t5.dx + t6) * 0.3333333333333333; t4 = 2 * t4.dy; t5 = (t5.dy + t4) * 0.3333333333333333; t3.point1 = new A._PathOffset(t7, t5); t8 = t3.targetPoint; t9 = t8.dx; t6 = (t9 + t6) * 0.3333333333333333; t8 = t8.dy; t4 = (t8 + t4) * 0.3333333333333333; t3.point2 = new A._PathOffset(t6, t4); t1.cubicTo$6(0, t7, t5, t6, t4, t9, t8); break c$3; case 8: if (!normalizer._decomposeArcToCubic$3(normalizer._currentPoint, t3, path)) { t4 = t3.targetPoint; t1.lineTo$2(0, t4.dx, t4.dy); } break c$3; case 9: A.throwExpression(A.StateError$("Invalid command type in path")); break c$3; } t4 = t3.targetPoint; normalizer._currentPoint = t4; t3 = t3.command; if (!(t3 === B.SvgPathSegType_6 || t3 === B.SvgPathSegType_7 || t3 === B.SvgPathSegType_16 || t3 === B.SvgPathSegType_17)) t5 = !(t3 === B.SvgPathSegType_8 || t3 === B.SvgPathSegType_9 || t3 === B.SvgPathSegType_18 || t3 === B.SvgPathSegType_19); else t5 = false; if (t5) normalizer._controlPoint = t4; normalizer._lastCommand = t3; } return t1; }, FlutterPathProxy: function FlutterPathProxy(t0) { this.path = t0; }, PathProxy: function PathProxy() { }, _PathOffset: function _PathOffset(t0, t1) { this.dx = t0; this.dy = t1; }, SvgPathStringSource: function SvgPathStringSource(t0, t1, t2) { var _ = this; _._path_parsing$_string = t0; _._previousCommand = t1; _._idx = 0; _._path_parsing$_length = t2; }, PathSegmentData: function PathSegmentData(t0, t1, t2, t3) { var _ = this; _.command = t0; _.targetPoint = t1; _.point1 = t2; _.point2 = t3; _.arcLarge = _.arcSweep = false; }, SvgPathNormalizer: function SvgPathNormalizer(t0, t1, t2, t3) { var _ = this; _._currentPoint = t0; _._subPathPoint = t1; _._controlPoint = t2; _._lastCommand = t3; }, SvgPathSegType: function SvgPathSegType(t0, t1) { this.index = t0; this._core$_name = t1; }, Context: function Context(t0, t1) { this.buffer = t0; this.position = t1; }, Failure: function Failure(t0, t1, t2, t3) { var _ = this; _.message = t0; _.buffer = t1; _.position = t2; _.$ti = t3; }, Result: function Result() { }, Success: function Success(t0, t1, t2, t3) { var _ = this; _.value = t0; _.buffer = t1; _.position = t2; _.$ti = t3; }, ParserException: function ParserException(t0) { this.failure = t0; }, Parser: function Parser() { }, Token_lineAndColumnOf(buffer, position) { var t1, list, line, offset, _i, offset0; for (t1 = $.$get$Token__newlineParser(), list = A._setArrayType([], type$.JSArray_Token_dynamic), A.PossessiveRepeatingParserExtension_repeat(A.ChoiceParserExtension_or(A.MapParserExtension_map(new A.TokenParser(t1, type$.TokenParser_dynamic), B.JSArray_methods.get$add(list), true, type$.Token_dynamic, type$.void), new A.AnyParser("input expected")), 0, -1, type$.dynamic).fastParseOn$2(buffer, 0), t1 = list.length, line = 1, offset = 0, _i = 0; _i < t1; ++_i, offset = offset0) { offset0 = list[_i].stop; if (position < offset0) return A._setArrayType([line, position - offset + 1], type$.JSArray_int); ++line; } return A._setArrayType([line, position - offset + 1], type$.JSArray_int); }, Token_positionString(buffer, position) { var lineAndColumn = A.Token_lineAndColumnOf(buffer, position); return "" + lineAndColumn[0] + ":" + lineAndColumn[1]; }, Token: function Token(t0, t1, t2, t3, t4) { var _ = this; _.value = t0; _.buffer = t1; _.start = t2; _.stop = t3; _.$ti = t4; }, GrammarDefinition: function GrammarDefinition() { }, GrammarDefinition__resolve__dereference: function GrammarDefinition__resolve__dereference(t0) { this.mapping = t0; }, Reference: function Reference(t0, t1, t2) { this.$function = t0; this.$arguments = t1; this.$ti = t2; }, FlattenParser: function FlattenParser(t0, t1, t2) { this.message = t0; this.delegate = t1; this.$ti = t2; }, MapParserExtension_map(_this, callback, hasSideEffects, $T, $R) { return new A.MapParser(callback, hasSideEffects, _this, $T._eval$1("@<0>")._bind$1($R)._eval$1("MapParser<1,2>")); }, MapParser: function MapParser(t0, t1, t2, t3) { var _ = this; _.callback = t0; _.hasSideEffects = t1; _.delegate = t2; _.$ti = t3; }, PickParser: function PickParser(t0, t1, t2) { this.index = t0; this.delegate = t1; this.$ti = t2; }, TokenParser: function TokenParser(t0, t1) { this.delegate = t0; this.$ti = t1; }, char(char, message) { var t1 = A.toCharCode(char), t2 = new A.MappedListIterable(new A.CodeUnits(char), A.code___toFormattedChar$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,String>")).join$0(0); t2 = '"' + t2 + '" expected'; return new A.CharacterParser(new A.SingleCharPredicate(t1), t2); }, SingleCharPredicate: function SingleCharPredicate(t0) { this.value = t0; }, ConstantCharPredicate: function ConstantCharPredicate(t0) { this.constant = t0; }, LookupCharPredicate: function LookupCharPredicate(t0, t1, t2) { this.start = t0; this.stop = t1; this.bits = t2; }, NotCharacterPredicate: function NotCharacterPredicate(t0) { this.predicate = t0; }, optimizedRanges(ranges) { var mergedRanges, t1, _i, thisRange, lastRange, t2, t3, matchingCount, sortedRanges = A.List_List$of(ranges, false, type$.RangeCharPredicate); B.JSArray_methods.sort$1(sortedRanges, new A.optimizedRanges_closure()); mergedRanges = A._setArrayType([], type$.JSArray_RangeCharPredicate); for (t1 = sortedRanges.length, _i = 0; _i < t1; ++_i) { thisRange = sortedRanges[_i]; if (mergedRanges.length === 0) mergedRanges.push(thisRange); else { lastRange = B.JSArray_methods.get$last(mergedRanges); if (lastRange.stop + 1 >= thisRange.start) { t2 = lastRange.start; t3 = thisRange.stop; if (t2 > t3) A.throwExpression(A.ArgumentError$("Invalid range: " + t2 + "-" + t3, null)); mergedRanges[mergedRanges.length - 1] = new A.RangeCharPredicate(t2, t3); } else mergedRanges.push(thisRange); } } matchingCount = B.JSArray_methods.fold$2(mergedRanges, 0, new A.optimizedRanges_closure0()); if (matchingCount === 0) return B.ConstantCharPredicate_false; else if (matchingCount - 1 === 65535) return B.ConstantCharPredicate_true; else if (mergedRanges.length === 1) { t1 = mergedRanges[0]; t2 = t1.start; return t2 === t1.stop ? new A.SingleCharPredicate(t2) : t1; } else { t1 = B.JSArray_methods.get$first(mergedRanges); t2 = B.JSArray_methods.get$last(mergedRanges); t3 = B.JSInt_methods._shrOtherPositive$1(B.JSArray_methods.get$last(mergedRanges).stop - B.JSArray_methods.get$first(mergedRanges).start + 1 + 31, 5); t1 = new A.LookupCharPredicate(t1.start, t2.stop, new Uint32Array(t3)); t1.LookupCharPredicate$1(mergedRanges); return t1; } }, optimizedRanges_closure: function optimizedRanges_closure() { }, optimizedRanges_closure0: function optimizedRanges_closure0() { }, CharacterParser: function CharacterParser(t0, t1) { this.predicate = t0; this.message = t1; }, pattern(element, message) { var t2, t1 = $.$get$_pattern().parseOn$1(new A.Context(element, 0)); t1 = t1.get$value(t1); t2 = new A.MappedListIterable(new A.CodeUnits(element), A.code___toFormattedChar$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,String>")).join$0(0); t2 = "[" + t2 + "] expected"; return new A.CharacterParser(t1, t2); }, _single_closure: function _single_closure() { }, _range_closure: function _range_closure() { }, _sequence_closure: function _sequence_closure() { }, _pattern_closure: function _pattern_closure() { }, CharacterPredicate: function CharacterPredicate() { }, RangeCharPredicate$(start, $stop) { if (start > $stop) A.throwExpression(A.ArgumentError$("Invalid range: " + start + "-" + $stop, null)); return new A.RangeCharPredicate(start, $stop); }, RangeCharPredicate: function RangeCharPredicate(t0, t1) { this.start = t0; this.stop = t1; }, WhitespaceCharPredicate: function WhitespaceCharPredicate() { }, ChoiceParserExtension_or(_this, other) { var t1, t2; if (_this instanceof A.ChoiceParser) { t1 = A.List_List$of(_this.children, true, type$.Parser_dynamic); t1.push(other); t2 = _this.failureJoiner; t1 = A.ChoiceParser$(t1, t2, type$.dynamic); } else t1 = A.ChoiceParser$(A._setArrayType([_this, other], type$.JSArray_Parser_dynamic), null, type$.dynamic); return t1; }, ChoiceParser$(children, failureJoiner, $T) { var t1 = failureJoiner == null ? A.instantiate1(A.failure_joiner__selectLast$closure(), $T) : failureJoiner, t2 = A.List_List$of(children, false, $T._eval$1("Parser<0>")); if (children.length === 0) A.throwExpression(A.ArgumentError$("Choice parser cannot be empty.", null)); return new A.ChoiceParser(t1, t2, $T._eval$1("ChoiceParser<0>")); }, ChoiceParser: function ChoiceParser(t0, t1, t2) { this.failureJoiner = t0; this.children = t1; this.$ti = t2; }, DelegateParser: function DelegateParser() { }, ListParser: function ListParser() { }, OptionalParserExtension_optional(_this, $T) { return new A.OptionalParser(null, _this, $T._eval$1("OptionalParser<0?>")); }, OptionalParser: function OptionalParser(t0, t1, t2) { this.otherwise = t0; this.delegate = t1; this.$ti = t2; }, SequenceParserExtension_seq(_this, other) { var t3, t1 = type$.Parser_dynamic, t2 = type$.SequenceParser_dynamic; if (_this instanceof A.SequenceParser) { t3 = A.List_List$of(_this.children, true, t1); t3.push(other); t2 = new A.SequenceParser(A.List_List$of(t3, false, t1), t2); t1 = t2; } else t1 = new A.SequenceParser(A.List_List$of(A._setArrayType([_this, other], type$.JSArray_Parser_dynamic), false, t1), t2); return t1; }, SequenceParser: function SequenceParser(t0, t1) { this.children = t0; this.$ti = t1; }, EpsilonParser: function EpsilonParser(t0, t1) { this.result = t0; this.$ti = t1; }, any() { return new A.AnyParser("input expected"); }, AnyParser: function AnyParser(t0) { this.message = t0; }, PredicateParser: function PredicateParser(t0, t1, t2) { this.length = t0; this.predicate = t1; this.message = t2; }, PredicateStringExtension_toParser(_this) { var t1 = _this.length; if (t1 === 0) return new A.EpsilonParser(_this, type$.EpsilonParser_String); else if (t1 === 1) { t1 = A.char(_this, null); return t1; } else { t1 = A.string(_this, null); return t1; } }, string(element, message) { var t1 = element + " expected"; return new A.PredicateParser(element.length, new A.string_closure(element), t1); }, string_closure: function string_closure(t0) { this.element = t0; }, LazyRepeatingParser$(parser, limit, min, max, $R) { var t1 = new A.LazyRepeatingParser(limit, min, max, parser, $R._eval$1("LazyRepeatingParser<0>")); t1.RepeatingParser$3(parser, min, max); return t1; }, LazyRepeatingParser: function LazyRepeatingParser(t0, t1, t2, t3, t4) { var _ = this; _.limit = t0; _.min = t1; _.max = t2; _.delegate = t3; _.$ti = t4; }, LimitedRepeatingParser: function LimitedRepeatingParser() { }, PossessiveRepeatingParserExtension_star(_this, $T) { return A.PossessiveRepeatingParserExtension_repeat(_this, 0, -1, $T); }, PossessiveRepeatingParserExtension_repeat(_this, min, max, $T) { var t1 = new A.PossessiveRepeatingParser(min, max, _this, $T._eval$1("PossessiveRepeatingParser<0>")); t1.RepeatingParser$3(_this, min, max); return t1; }, PossessiveRepeatingParser: function PossessiveRepeatingParser(t0, t1, t2, t3) { var _ = this; _.min = t0; _.max = t1; _.delegate = t2; _.$ti = t3; }, RepeatingParser: function RepeatingParser() { }, SeparatedBy_separatedBy(_this, separator, $T, $R) { var t1 = type$.JSArray_Parser_dynamic, t2 = type$.Parser_dynamic, t3 = type$.SequenceParser_dynamic, t4 = type$.List_dynamic; t1 = A._setArrayType([_this, A.PossessiveRepeatingParserExtension_repeat(new A.SequenceParser(A.List_List$of(A._setArrayType([separator, _this], t1), false, t2), t3), 0, -1, t4)], t1); return A.MapParserExtension_map(new A.SequenceParser(A.List_List$of(t1, false, t2), t3), new A.SeparatedBy_separatedBy_closure(true, false, $R), false, t4, $R._eval$1("List<0>")); }, SeparatedBy_separatedBy_closure: function SeparatedBy_separatedBy_closure(t0, t1, t2) { this.includeSeparators = t0; this.optionalSeparatorAtEnd = t1; this.R = t2; }, PlatformInterface_verifyToken(instance, token) { if (token !== instance._instanceToken) throw A.wrapException(A.AssertionError$(string$.Platfo)); }, PlatformInterface: function PlatformInterface() { }, _registerFactory(debug) { var viewType = debug ? "__webPointerInterceptorViewType__debug__" : "__webPointerInterceptorViewType__"; $.$get$platformViewRegistry(); $.$get$platformViewManager().registerFactory$2(viewType, new A._registerFactory_closure(debug)); }, 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; }, StreamCipherAsBlockCipher: function StreamCipherAsBlockCipher() { }, InvalidCipherTextException$(message) { return new A.InvalidCipherTextException(message); }, RegistryFactoryException$(message) { return new A.RegistryFactoryException(message); }, RegistryFactoryException$invalid(algorithm) { var t1 = "Algorithm name " + algorithm + " is invalid"; return new A.RegistryFactoryException(t1); }, InvalidCipherTextException: function InvalidCipherTextException(t0) { this.message = t0; }, CipherParameters: function CipherParameters() { }, KeyParameter: function KeyParameter(t0) { this.__KeyParameter_key = t0; }, PaddedBlockCipherParameters: function PaddedBlockCipherParameters(t0, t1, t2) { this.underlyingCipherParameters = t0; this.paddingCipherParameters = t1; this.$ti = t2; }, ParametersWithIV: function ParametersWithIV(t0, t1, t2) { this.iv = t0; this.parameters = t1; this.$ti = t2; }, RegistryFactoryException: function RegistryFactoryException(t0) { this.message = t0; }, OAEPEncoding: function OAEPEncoding(t0, t1) { this.hash = t0; this.defHash = t1; }, OAEPEncoding_factoryConfig_closure: function OAEPEncoding_factoryConfig_closure() { }, OAEPEncoding_factoryConfig__closure: function OAEPEncoding_factoryConfig__closure(t0) { this.match = t0; }, PKCS1Encoding$(_engine) { return new A.PKCS1Encoding(); }, PKCS1Encoding: function PKCS1Encoding() { }, PKCS1Encoding_factoryConfig_closure: function PKCS1Encoding_factoryConfig_closure() { }, PKCS1Encoding_factoryConfig__closure: function PKCS1Encoding_factoryConfig__closure(t0) { this.match = t0; }, RSAEngine$() { return new A.RSAEngine(); }, RSAEngine: function RSAEngine() { }, RSAEngine_factoryConfig_closure: function RSAEngine_factoryConfig_closure() { }, AESFastEngine$() { return new A.AESFastEngine(); }, _subWord(x) { return ($._s[x & 255] & 255 | ($._s[B.JSInt_methods._shrOtherPositive$1(x, 8) & 255] & 255) << 8 | ($._s[B.JSInt_methods._shrOtherPositive$1(x, 16) & 255] & 255) << 16 | $._s[B.JSInt_methods._shrOtherPositive$1(x, 24) & 255] << 24) >>> 0; }, AESFastEngine: function AESFastEngine() { var _ = this; _.__AESFastEngine__forEncryption = $; _._aes_fast$_workingKey = null; _.__AESFastEngine__c3 = _.__AESFastEngine__c2 = _.__AESFastEngine__c1 = _.__AESFastEngine__c0 = _.__AESFastEngine__rounds = $; }, AESFastEngine_factoryConfig_closure: function AESFastEngine_factoryConfig_closure() { }, CBCBlockCipher$(_underlyingCipher) { var t1 = new A.CBCBlockCipher(_underlyingCipher), t2 = _underlyingCipher.get$blockSize(); t1.__CBCBlockCipher__iv = new Uint8Array(t2); t2 = _underlyingCipher.get$blockSize(); t1._cbcV = new Uint8Array(t2); t2 = _underlyingCipher.get$blockSize(); t1._cbcNextV = new Uint8Array(t2); return t1; }, CBCBlockCipher: function CBCBlockCipher(t0) { var _ = this; _._underlyingCipher = t0; _.__CBCBlockCipher__iv = $; _._cbcNextV = _._cbcV = null; _.__CBCBlockCipher__encrypting = $; }, CBCBlockCipher_factoryConfig_closure: function CBCBlockCipher_factoryConfig_closure() { }, CBCBlockCipher_factoryConfig__closure: function CBCBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, CCMBlockCipher: function CCMBlockCipher(t0, t1, t2) { var _ = this; _.__CCMBlockCipher_nonce = _.__CCMBlockCipher__macBlock = $; _.aad = null; _.__CCMBlockCipher__keyParam = _.__CCMBlockCipher_macSize = $; _.associatedText = t0; _.data = t1; _.__CCMBlockCipher__forEncryption = $; _._base_aead_block_cipher$_underlyingCipher = t2; _.__BaseAEADBlockCipher__macSize = _.__BaseAEADBlockCipher__forEncryption = $; _._lastKey = null; _.__BaseAEADBlockCipher__initialAssociatedText = _.__BaseAEADBlockCipher__nonce = $; _._lastMacSizeBytes = _._bufOff = _._bufBlock = null; _.__BaseAEADBlockCipher__lastMacSizeBytesOff = $; }, CCMBlockCipher_factoryConfig_closure: function CCMBlockCipher_factoryConfig_closure() { }, CCMBlockCipher_factoryConfig__closure: function CCMBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, CFBBlockCipher: function CFBBlockCipher(t0, t1) { var _ = this; _.blockSize = t0; _._cfb$_underlyingCipher = t1; _.__CFBBlockCipher__iv = $; _._cfbOutV = _._cfbV = null; _.__CFBBlockCipher__encrypting = $; }, CFBBlockCipher_factoryConfig_closure: function CFBBlockCipher_factoryConfig_closure() { }, CFBBlockCipher_factoryConfig__closure: function CFBBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, CTRBlockCipher: function CTRBlockCipher(t0, t1) { this.streamCipher = t0; this.blockSize = t1; }, CTRBlockCipher_factoryConfig_closure: function CTRBlockCipher_factoryConfig_closure() { }, CTRBlockCipher_factoryConfig__closure: function CTRBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, ECBBlockCipher: function ECBBlockCipher(t0) { this._ecb$_underlyingCipher = t0; }, ECBBlockCipher_factoryConfig_closure: function ECBBlockCipher_factoryConfig_closure() { }, ECBBlockCipher_factoryConfig__closure: function ECBBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, GCMBlockCipher: function GCMBlockCipher(t0, t1) { var _ = this; _.__GCMBlockCipher__processedBytes = _.__GCMBlockCipher__x = _.__GCMBlockCipher__e0 = _.__GCMBlockCipher__e = _.__GCMBlockCipher__counter = _.__GCMBlockCipher__h = $; _.r = t0; _._base_aead_block_cipher$_underlyingCipher = t1; _.__BaseAEADBlockCipher__macSize = _.__BaseAEADBlockCipher__forEncryption = $; _._lastKey = null; _.__BaseAEADBlockCipher__initialAssociatedText = _.__BaseAEADBlockCipher__nonce = $; _._lastMacSizeBytes = _._bufOff = _._bufBlock = null; _.__BaseAEADBlockCipher__lastMacSizeBytesOff = $; }, GCMBlockCipher_factoryConfig_closure: function GCMBlockCipher_factoryConfig_closure() { }, GCMBlockCipher_factoryConfig__closure: function GCMBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, GCTRBlockCipher: function GCTRBlockCipher(t0) { var _ = this; _._gctr$_underlyingCipher = t0; _.__GCTRBlockCipher__iv = $; _._gctr$_ofbOutV = _._gctr$_ofbV = null; _._firstStep = true; _.__GCTRBlockCipher__n4 = _.__GCTRBlockCipher__n3 = $; }, GCTRBlockCipher_factoryConfig_closure: function GCTRBlockCipher_factoryConfig_closure() { }, GCTRBlockCipher_factoryConfig__closure: function GCTRBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, IGEBlockCipher: function IGEBlockCipher(t0) { var _ = this; _._ige$_underlyingCipher = t0; _.__IGEBlockCipher__encrypting = _.__IGEBlockCipher__yPrev = _.__IGEBlockCipher__xPrev = _.__IGEBlockCipher__y0 = _.__IGEBlockCipher__x0 = $; }, IGEBlockCipher_factoryConfig_closure: function IGEBlockCipher_factoryConfig_closure() { }, IGEBlockCipher_factoryConfig__closure: function IGEBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, OFBBlockCipher: function OFBBlockCipher(t0, t1) { var _ = this; _.blockSize = t0; _._ofb$_underlyingCipher = t1; _.__OFBBlockCipher__iv = $; _._ofbOutV = _._ofbV = null; }, OFBBlockCipher_factoryConfig_closure: function OFBBlockCipher_factoryConfig_closure() { }, OFBBlockCipher_factoryConfig__closure: function OFBBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, SICBlockCipher: function SICBlockCipher(t0, t1) { this.streamCipher = t0; this.blockSize = t1; }, SICBlockCipher_factoryConfig_closure: function SICBlockCipher_factoryConfig_closure() { }, SICBlockCipher_factoryConfig__closure: function SICBlockCipher_factoryConfig__closure(t0) { this.match = t0; }, Blake2bDigest: function Blake2bDigest(t0, t1, t2, t3, t4) { var _ = this; _._digestLength = 64; _._keyLength = 0; _._blake2b$_buffer = _._personalization = _._salt = null; _._internalState = t0; _._chainValue = null; _._t0 = t1; _._t1 = t2; _._f0 = t3; _._m = t4; }, Blake2bDigest_factoryConfig_closure: function Blake2bDigest_factoryConfig_closure() { }, CSHAKEDigest: function CSHAKEDigest(t0, t1, t2) { var _ = this; _._diff = null; _._cshake$_padding = t0; _._keccak_engine$_state = t1; _._dataQueue = t2; _.__KeccakEngine__squeezing = _.__KeccakEngine__bitsInQueue = _.__KeccakEngine_fixedOutputLength = _.__KeccakEngine__rate = $; }, CSHAKEDigest_factoryConfig_closure: function CSHAKEDigest_factoryConfig_closure() { }, CSHAKEDigest_factoryConfig__closure: function CSHAKEDigest_factoryConfig__closure(t0) { this.match = t0; }, KeccakDigest: function KeccakDigest(t0, t1) { var _ = this; _._keccak_engine$_state = t0; _._dataQueue = t1; _.__KeccakEngine__squeezing = _.__KeccakEngine__bitsInQueue = _.__KeccakEngine_fixedOutputLength = _.__KeccakEngine__rate = $; }, KeccakDigest_factoryConfig_closure: function KeccakDigest_factoryConfig_closure() { }, KeccakDigest_factoryConfig__closure: function KeccakDigest_factoryConfig__closure(t0) { this.match = t0; }, MD2Digest: function MD2Digest(t0, t1, t2) { this._md2$_x = t0; this._md2$_m = t1; this._c = t2; }, MD2Digest_factoryConfig_closure: function MD2Digest_factoryConfig_closure() { }, MD4Digest: function MD4Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, MD4Digest_factoryConfig_closure: function MD4Digest_factoryConfig_closure() { }, MD5Digest: function MD5Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, MD5Digest_factoryConfig_closure: function MD5Digest_factoryConfig_closure() { }, RIPEMD128Digest: function RIPEMD128Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, RIPEMD128Digest_factoryConfig_closure: function RIPEMD128Digest_factoryConfig_closure() { }, RIPEMD160Digest: function RIPEMD160Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, RIPEMD160Digest_factoryConfig_closure: function RIPEMD160Digest_factoryConfig_closure() { }, RIPEMD256Digest: function RIPEMD256Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, RIPEMD256Digest_factoryConfig_closure: function RIPEMD256Digest_factoryConfig_closure() { }, RIPEMD320Digest: function RIPEMD320Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, RIPEMD320Digest_factoryConfig_closure: function RIPEMD320Digest_factoryConfig_closure() { }, SHA1Digest$() { var t1 = A.Register64$(0, null), t2 = new Uint8Array(4), t3 = type$.int; t3 = new A.SHA1Digest(t1, t2, B.C_Endian0, 5, A.List_List$filled(5, 0, false, t3), A.List_List$filled(80, 0, false, t3)); t3.reset$0(0); return t3; }, SHA1Digest: function SHA1Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, SHA1Digest_factoryConfig_closure: function SHA1Digest_factoryConfig_closure() { }, SHA224Digest: function SHA224Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, SHA224Digest_factoryConfig_closure: function SHA224Digest_factoryConfig_closure() { }, SHA256Digest: function SHA256Digest(t0, t1, t2, t3, t4, t5) { var _ = this; _._byteCount = t0; _._md4_family_digest$_wordBuffer = t1; _.__MD4FamilyDigest__wordBufferOffset = $; _._endian = t2; _._packedStateSize = t3; _.state = t4; _.buffer = t5; _.__MD4FamilyDigest_bufferOffset = $; }, SHA256Digest_factoryConfig_closure: function SHA256Digest_factoryConfig_closure() { }, SHA3Digest: function SHA3Digest(t0, t1) { var _ = this; _._keccak_engine$_state = t0; _._dataQueue = t1; _.__KeccakEngine__squeezing = _.__KeccakEngine__bitsInQueue = _.__KeccakEngine_fixedOutputLength = _.__KeccakEngine__rate = $; }, SHA3Digest_factoryConfig_closure: function SHA3Digest_factoryConfig_closure() { }, SHA3Digest_factoryConfig__closure: function SHA3Digest_factoryConfig__closure(t0) { this.match = t0; }, SHA384Digest: function SHA384Digest(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.h1 = t0; _.h2 = t1; _.h3 = t2; _.h4 = t3; _.h5 = t4; _.h6 = t5; _.h7 = t6; _.h8 = t7; _._wordBuffer = t8; _._wordBufferOffset = 0; _._long_sha2_family_digest$_w = t9; _._wOff = 0; _._byteCount1 = t10; _._byteCount2 = t11; }, SHA384Digest_factoryConfig_closure: function SHA384Digest_factoryConfig_closure() { }, SHA512Digest: function SHA512Digest(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.h1 = t0; _.h2 = t1; _.h3 = t2; _.h4 = t3; _.h5 = t4; _.h6 = t5; _.h7 = t6; _.h8 = t7; _._wordBuffer = t8; _._wordBufferOffset = 0; _._long_sha2_family_digest$_w = t9; _._wOff = 0; _._byteCount1 = t10; _._byteCount2 = t11; }, SHA512Digest_factoryConfig_closure: function SHA512Digest_factoryConfig_closure() { }, SHA512tDigest: function SHA512tDigest(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.digestSize = t0; _._h1t = t1; _._h2t = t2; _._h3t = t3; _._h4t = t4; _._h5t = t5; _._h6t = t6; _._h7t = t7; _._h8t = t8; _.h1 = t9; _.h2 = t10; _.h3 = t11; _.h4 = t12; _.h5 = t13; _.h6 = t14; _.h7 = t15; _.h8 = t16; _._wordBuffer = t17; _._wordBufferOffset = 0; _._long_sha2_family_digest$_w = t18; _._wOff = 0; _._byteCount1 = t19; _._byteCount2 = t20; }, SHA512tDigest_factoryConfig_closure: function SHA512tDigest_factoryConfig_closure() { }, SHA512tDigest_factoryConfig__closure: function SHA512tDigest_factoryConfig__closure(t0) { this.match = t0; }, SHAKEDigest$(bitLength) { var t1 = new Uint8Array(200); t1 = new A.SHAKEDigest(t1, new Uint8Array(192)); t1.SHAKEDigest$1(bitLength); return t1; }, SHAKEDigest: function SHAKEDigest(t0, t1) { var _ = this; _._keccak_engine$_state = t0; _._dataQueue = t1; _.__KeccakEngine__squeezing = _.__KeccakEngine__bitsInQueue = _.__KeccakEngine_fixedOutputLength = _.__KeccakEngine__rate = $; }, SHAKEDigest_factoryConfig_closure: function SHAKEDigest_factoryConfig_closure() { }, SHAKEDigest_factoryConfig__closure: function SHAKEDigest_factoryConfig__closure(t0) { this.match = t0; }, TigerDigest: function TigerDigest(t0, t1, t2, t3, t4, t5) { var _ = this; _._tiger$_a = t0; _._tiger$_b = t1; _._tiger$_c = t2; _._tiger$_byteCount = t3; _._tiger$_wordBuffer = t4; _._tiger$_buffer = t5; }, TigerDigest_factoryConfig_closure: function TigerDigest_factoryConfig_closure() { }, WhirlpoolDigest: function WhirlpoolDigest(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _._whirlpool$_buffer = t0; _._bitCount = t1; _._hash = t2; _._whirlpool$_k = t3; _._l = t4; _._block = t5; _._whirlpool$_state = t6; }, WhirlpoolDigest_factoryConfig_closure: function WhirlpoolDigest_factoryConfig_closure() { }, ECCurve_brainpoolp160r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp160r1(curve, _h); }, ECCurve_brainpoolp160r1: function ECCurve_brainpoolp160r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp160r1_factoryConfig_closure: function ECCurve_brainpoolp160r1_factoryConfig_closure() { }, ECCurve_brainpoolp160t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp160t1(curve, _h); }, ECCurve_brainpoolp160t1: function ECCurve_brainpoolp160t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp160t1_factoryConfig_closure: function ECCurve_brainpoolp160t1_factoryConfig_closure() { }, ECCurve_brainpoolp192r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp192r1(curve, _h); }, ECCurve_brainpoolp192r1: function ECCurve_brainpoolp192r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp192r1_factoryConfig_closure: function ECCurve_brainpoolp192r1_factoryConfig_closure() { }, ECCurve_brainpoolp192t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp192t1(curve, _h); }, ECCurve_brainpoolp192t1: function ECCurve_brainpoolp192t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp192t1_factoryConfig_closure: function ECCurve_brainpoolp192t1_factoryConfig_closure() { }, ECCurve_brainpoolp224r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp224r1(curve, _h); }, ECCurve_brainpoolp224r1: function ECCurve_brainpoolp224r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp224r1_factoryConfig_closure: function ECCurve_brainpoolp224r1_factoryConfig_closure() { }, ECCurve_brainpoolp224t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp224t1(curve, _h); }, ECCurve_brainpoolp224t1: function ECCurve_brainpoolp224t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp224t1_factoryConfig_closure: function ECCurve_brainpoolp224t1_factoryConfig_closure() { }, ECCurve_brainpoolp256r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp256r1(curve, _h); }, ECCurve_brainpoolp256r1: function ECCurve_brainpoolp256r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp256r1_factoryConfig_closure: function ECCurve_brainpoolp256r1_factoryConfig_closure() { }, ECCurve_brainpoolp256t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp256t1(curve, _h); }, ECCurve_brainpoolp256t1: function ECCurve_brainpoolp256t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp256t1_factoryConfig_closure: function ECCurve_brainpoolp256t1_factoryConfig_closure() { }, ECCurve_brainpoolp320r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp320r1(curve, _h); }, ECCurve_brainpoolp320r1: function ECCurve_brainpoolp320r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp320r1_factoryConfig_closure: function ECCurve_brainpoolp320r1_factoryConfig_closure() { }, ECCurve_brainpoolp320t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp320t1(curve, _h); }, ECCurve_brainpoolp320t1: function ECCurve_brainpoolp320t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp320t1_factoryConfig_closure: function ECCurve_brainpoolp320t1_factoryConfig_closure() { }, ECCurve_brainpoolp384r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp384r1(curve, _h); }, ECCurve_brainpoolp384r1: function ECCurve_brainpoolp384r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp384r1_factoryConfig_closure: function ECCurve_brainpoolp384r1_factoryConfig_closure() { }, ECCurve_brainpoolp384t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp384t1(curve, _h); }, ECCurve_brainpoolp384t1: function ECCurve_brainpoolp384t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp384t1_factoryConfig_closure: function ECCurve_brainpoolp384t1_factoryConfig_closure() { }, ECCurve_brainpoolp512r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp512r1(curve, _h); }, ECCurve_brainpoolp512r1: function ECCurve_brainpoolp512r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp512r1_factoryConfig_closure: function ECCurve_brainpoolp512r1_factoryConfig_closure() { }, ECCurve_brainpoolp512t1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_brainpoolp512t1(curve, _h); }, ECCurve_brainpoolp512t1: function ECCurve_brainpoolp512t1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_brainpoolp512t1_factoryConfig_closure: function ECCurve_brainpoolp512t1_factoryConfig_closure() { }, ECCurve_gostr3410_2001_cryptopro_a__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_gostr3410_2001_cryptopro_a(curve, _h); }, ECCurve_gostr3410_2001_cryptopro_a: function ECCurve_gostr3410_2001_cryptopro_a(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_gostr3410_2001_cryptopro_a_factoryConfig_closure: function ECCurve_gostr3410_2001_cryptopro_a_factoryConfig_closure() { }, ECCurve_gostr3410_2001_cryptopro_b__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_gostr3410_2001_cryptopro_b(curve, _h); }, ECCurve_gostr3410_2001_cryptopro_b: function ECCurve_gostr3410_2001_cryptopro_b(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_gostr3410_2001_cryptopro_b_factoryConfig_closure: function ECCurve_gostr3410_2001_cryptopro_b_factoryConfig_closure() { }, ECCurve_gostr3410_2001_cryptopro_c__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_gostr3410_2001_cryptopro_c(curve, _h); }, ECCurve_gostr3410_2001_cryptopro_c: function ECCurve_gostr3410_2001_cryptopro_c(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_gostr3410_2001_cryptopro_c_factoryConfig_closure: function ECCurve_gostr3410_2001_cryptopro_c_factoryConfig_closure() { }, ECCurve_gostr3410_2001_cryptopro_xcha__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_gostr3410_2001_cryptopro_xcha(curve, _h); }, ECCurve_gostr3410_2001_cryptopro_xcha: function ECCurve_gostr3410_2001_cryptopro_xcha(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_gostr3410_2001_cryptopro_xcha_factoryConfig_closure: function ECCurve_gostr3410_2001_cryptopro_xcha_factoryConfig_closure() { }, ECCurve_gostr3410_2001_cryptopro_xchb__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_gostr3410_2001_cryptopro_xchb(curve, _h); }, ECCurve_gostr3410_2001_cryptopro_xchb: function ECCurve_gostr3410_2001_cryptopro_xchb(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_gostr3410_2001_cryptopro_xchb_factoryConfig_closure: function ECCurve_gostr3410_2001_cryptopro_xchb_factoryConfig_closure() { }, ECCurve_prime192v1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime192v1(curve, _h); }, ECCurve_prime192v1: function ECCurve_prime192v1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime192v1_factoryConfig_closure: function ECCurve_prime192v1_factoryConfig_closure() { }, ECCurve_prime192v2__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime192v2(curve, _h); }, ECCurve_prime192v2: function ECCurve_prime192v2(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime192v2_factoryConfig_closure: function ECCurve_prime192v2_factoryConfig_closure() { }, ECCurve_prime192v3__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime192v3(curve, _h); }, ECCurve_prime192v3: function ECCurve_prime192v3(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime192v3_factoryConfig_closure: function ECCurve_prime192v3_factoryConfig_closure() { }, ECCurve_prime239v1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime239v1(curve, _h); }, ECCurve_prime239v1: function ECCurve_prime239v1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime239v1_factoryConfig_closure: function ECCurve_prime239v1_factoryConfig_closure() { }, ECCurve_prime239v2__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime239v2(curve, _h); }, ECCurve_prime239v2: function ECCurve_prime239v2(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime239v2_factoryConfig_closure: function ECCurve_prime239v2_factoryConfig_closure() { }, ECCurve_prime239v3__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime239v3(curve, _h); }, ECCurve_prime239v3: function ECCurve_prime239v3(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime239v3_factoryConfig_closure: function ECCurve_prime239v3_factoryConfig_closure() { }, ECCurve_prime256v1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_prime256v1(curve, _h); }, ECCurve_prime256v1: function ECCurve_prime256v1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_prime256v1_factoryConfig_closure: function ECCurve_prime256v1_factoryConfig_closure() { }, ECCurve_secp112r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp112r1(curve, _h); }, ECCurve_secp112r1: function ECCurve_secp112r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp112r1_factoryConfig_closure: function ECCurve_secp112r1_factoryConfig_closure() { }, ECCurve_secp112r2__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp112r2(curve, _h); }, ECCurve_secp112r2: function ECCurve_secp112r2(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp112r2_factoryConfig_closure: function ECCurve_secp112r2_factoryConfig_closure() { }, ECCurve_secp128r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp128r1(curve, _h); }, ECCurve_secp128r1: function ECCurve_secp128r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp128r1_factoryConfig_closure: function ECCurve_secp128r1_factoryConfig_closure() { }, ECCurve_secp128r2__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp128r2(curve, _h); }, ECCurve_secp128r2: function ECCurve_secp128r2(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp128r2_factoryConfig_closure: function ECCurve_secp128r2_factoryConfig_closure() { }, ECCurve_secp160k1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp160k1(curve, _h); }, ECCurve_secp160k1: function ECCurve_secp160k1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp160k1_factoryConfig_closure: function ECCurve_secp160k1_factoryConfig_closure() { }, ECCurve_secp160r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp160r1(curve, _h); }, ECCurve_secp160r1: function ECCurve_secp160r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp160r1_factoryConfig_closure: function ECCurve_secp160r1_factoryConfig_closure() { }, ECCurve_secp160r2__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp160r2(curve, _h); }, ECCurve_secp160r2: function ECCurve_secp160r2(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp160r2_factoryConfig_closure: function ECCurve_secp160r2_factoryConfig_closure() { }, ECCurve_secp192k1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp192k1(curve, _h); }, ECCurve_secp192k1: function ECCurve_secp192k1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp192k1_factoryConfig_closure: function ECCurve_secp192k1_factoryConfig_closure() { }, ECCurve_secp192r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp192r1(curve, _h); }, ECCurve_secp192r1: function ECCurve_secp192r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp192r1_factoryConfig_closure: function ECCurve_secp192r1_factoryConfig_closure() { }, ECCurve_secp224k1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp224k1(curve, _h); }, ECCurve_secp224k1: function ECCurve_secp224k1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp224k1_factoryConfig_closure: function ECCurve_secp224k1_factoryConfig_closure() { }, ECCurve_secp224r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp224r1(curve, _h); }, ECCurve_secp224r1: function ECCurve_secp224r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp224r1_factoryConfig_closure: function ECCurve_secp224r1_factoryConfig_closure() { }, ECCurve_secp256k1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp256k1(curve, _h); }, ECCurve_secp256k1: function ECCurve_secp256k1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp256k1_factoryConfig_closure: function ECCurve_secp256k1_factoryConfig_closure() { }, ECCurve_secp256r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp256r1(curve, _h); }, ECCurve_secp256r1: function ECCurve_secp256r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp256r1_factoryConfig_closure: function ECCurve_secp256r1_factoryConfig_closure() { }, ECCurve_secp384r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp384r1(curve, _h); }, ECCurve_secp384r1: function ECCurve_secp384r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp384r1_factoryConfig_closure: function ECCurve_secp384r1_factoryConfig_closure() { }, ECCurve_secp521r1__make(domainName, curve, $G, n, _h, seed) { return new A.ECCurve_secp521r1(curve, _h); }, ECCurve_secp521r1: function ECCurve_secp521r1(t0, t1) { this.curve = t0; this._ecc_base$_h = t1; }, ECCurve_secp521r1_factoryConfig_closure: function ECCurve_secp521r1_factoryConfig_closure() { }, ECDomainParametersImpl: function ECDomainParametersImpl() { }, ECFieldElementBase: function ECFieldElementBase() { }, ECPointBase: function ECPointBase() { }, ECCurveBase: function ECCurveBase() { }, _lbit(x) { var r, t1 = $.$get$_BigIntImpl_zero(), t2 = x.compareTo$1(0, t1); if (t2 === 0) return -1; r = 0; while (true) { t2 = x.$and(0, A._BigIntImpl__BigIntImpl$from(4294967295)).compareTo$1(0, t1); if (!(t2 === 0)) break; x = x.$shr(0, 32); r += 32; } t2 = x.$and(0, A._BigIntImpl__BigIntImpl$from(65535)).compareTo$1(0, t1); if (t2 === 0) { x = x.$shr(0, 16); r += 16; } t2 = x.$and(0, A._BigIntImpl__BigIntImpl$from(255)).compareTo$1(0, t1); if (t2 === 0) { x = x.$shr(0, 8); r += 8; } t2 = x.$and(0, A._BigIntImpl__BigIntImpl$from(15)).compareTo$1(0, t1); if (t2 === 0) { x = x.$shr(0, 4); r += 4; } t2 = x.$and(0, A._BigIntImpl__BigIntImpl$from(3)).compareTo$1(0, t1); if (t2 === 0) { x = x.$shr(0, 2); r += 2; } t1 = x.$and(0, $.$get$_BigIntImpl_one()).compareTo$1(0, t1); return t1 === 0 ? r + 1 : r; }, ECFieldElement$(q, x) { if (x.compareTo$1(0, q) >= 0) A.throwExpression(A.ArgumentError$("Value x must be smaller than q", null)); return new A.ECFieldElement(q, x); }, ECPoint$(curve, x, y, withCompression) { var t1 = x == null; if (!(!t1 && y == null)) t1 = t1 && y != null; else t1 = true; if (t1) A.throwExpression(A.ArgumentError$("Exactly one of the field elements is null", null)); return new A.ECPoint(curve, x, y, withCompression, A.ecc_fp___wNafMultiplier$closure()); }, _wNafMultiplier(p, k, preCompInfo) { var width, reqPreCompLen, preComp, twiceP, preCompLen, preComp0, i, wnaf, q, t1, wnafPreCompInfo = !(preCompInfo instanceof A._WNafPreCompInfo) ? new A._WNafPreCompInfo() : preCompInfo, m = k.get$bitLength(k); if (m < 13) { width = 2; reqPreCompLen = 1; } else if (m < 41) { width = 3; reqPreCompLen = 2; } else if (m < 121) { width = 4; reqPreCompLen = 4; } else if (m < 337) { width = 5; reqPreCompLen = 8; } else if (m < 897) { width = 6; reqPreCompLen = 16; } else if (m < 2305) { width = 7; reqPreCompLen = 32; } else { width = 8; reqPreCompLen = 127; } preComp = wnafPreCompInfo.preComp; twiceP = wnafPreCompInfo.twiceP; if (preComp == null) { preComp = A.List_List$filled(1, p, false, type$.ECPoint); preCompLen = 1; } else preCompLen = preComp.length; if (twiceP == null) twiceP = p.twice$0(); if (preCompLen < reqPreCompLen) { type$.List_ECPoint._as(preComp); preComp0 = A.List_List$filled(reqPreCompLen, null, false, type$.nullable_ECPoint); B.JSArray_methods.setAll$2(preComp0, 0, preComp); for (i = preCompLen; i < reqPreCompLen; ++i) preComp0[i] = twiceP.$add(0, preComp0[i - 1]); preComp = preComp0; } wnaf = A._windowNaf(width, k); q = p.curve._infinity; for (i = wnaf.length - 1; i >= 0; --i) { q = q.twice$0(); if (!J.$eq$(wnaf[i], 0)) { t1 = wnaf[i]; t1.toString; if (t1 > 0) { q.toString; q = q.$add(0, preComp[B.JSNumber_methods._tdivFast$1(t1 - 1, 2)]); } else { q.toString; t1 = preComp[B.JSNumber_methods._tdivFast$1(-t1 - 1, 2)]; t1.toString; q = q.$sub(0, t1); } } } t1 = A._arrayInstanceType(preComp)._eval$1("MappedListIterable<1,ECPoint>"); wnafPreCompInfo.preComp = A.List_List$of(new A.MappedListIterable(preComp, new A._wNafMultiplier_closure(), t1), true, t1._eval$1("ListIterable.E")); wnafPreCompInfo.twiceP = twiceP; p._preCompInfo = wnafPreCompInfo; return q; }, _windowNaf(width, k) { var t2, i, $length, t3, t4, t5, remainder, wnafShort, t1 = type$.nullable_int, wnaf = A.List_List$filled(k.get$bitLength(k) + 1, null, false, t1), pow2wB = B.JSInt_methods._shlPositive$1(1, width), pow2wBI = A._BigIntImpl__BigIntImpl$from(pow2wB); for (t2 = width - 1, i = 0, $length = 0; k.get$sign(k) > 0;) { t3 = $.$get$_BigIntImpl_one(); t4 = k.$and(0, t3.$shl(0, 0)); t5 = $.$get$_BigIntImpl_zero(); t4 = t4.compareTo$1(0, t5); if (t4 !== 0) { remainder = k.$mod(0, pow2wBI); t3 = remainder.$and(0, t3.$shl(0, t2)).compareTo$1(0, t5); if (t3 !== 0) { t3 = remainder.toInt$0(0) - pow2wB; wnaf[i] = t3; } else { t3 = remainder.toInt$0(0); wnaf[i] = t3; } t3 = B.JSInt_methods.$mod(t3, 256); wnaf[i] = t3; if ((t3 & 128) !== 0) { t3 -= 256; wnaf[i] = t3; } k = k.$sub(0, A._BigIntImpl__BigIntImpl$from(t3)); $length = i; } else wnaf[i] = 0; k = k.$shr(0, 1); ++i; } ++$length; wnafShort = A.List_List$filled($length, null, false, t1); B.JSArray_methods.setAll$2(wnafShort, 0, B.JSArray_methods.sublist$2(wnaf, 0, $length)); return wnafShort; }, ECFieldElement: function ECFieldElement(t0, t1) { this.q = t0; this.x = t1; }, ECPoint: function ECPoint(t0, t1, t2, t3, t4) { var _ = this; _.curve = t0; _.x = t1; _.y = t2; _.isCompressed = t3; _._multiplier = t4; _._preCompInfo = null; }, ECCurve: function ECCurve(t0) { var _ = this; _.q = t0; _._b = _._a = _._infinity = null; }, _WNafPreCompInfo: function _WNafPreCompInfo() { this.twiceP = this.preComp = null; }, _wNafMultiplier_closure: function _wNafMultiplier_closure() { }, Argon2BytesGenerator: function Argon2BytesGenerator() { }, Argon2BytesGenerator_factoryConfig_closure: function Argon2BytesGenerator_factoryConfig_closure() { }, HKDFKeyDerivator__getBlockLengthFromDigest(digestName) { var t1 = A.IterableExtension_firstWhereOrNull($.HKDFKeyDerivator__digestBlockLength.get$entries($.HKDFKeyDerivator__digestBlockLength), new A.HKDFKeyDerivator__getBlockLengthFromDigest_closure(digestName)), blockLength = t1 == null ? null : J.get$value$x(t1); blockLength.toString; return blockLength; }, HKDFKeyDerivator: function HKDFKeyDerivator() { this.__HKDFKeyDerivator__hMac = $; }, HKDFKeyDerivator_factoryConfig_closure: function HKDFKeyDerivator_factoryConfig_closure() { }, HKDFKeyDerivator_factoryConfig__closure: function HKDFKeyDerivator_factoryConfig__closure(t0) { this.digest = t0; }, HKDFKeyDerivator__getBlockLengthFromDigest_closure: function HKDFKeyDerivator__getBlockLengthFromDigest_closure(t0) { this.digestName = t0; }, PBKDF2KeyDerivator: function PBKDF2KeyDerivator(t0) { this._mac = t0; }, PBKDF2KeyDerivator_factoryConfig_closure: function PBKDF2KeyDerivator_factoryConfig_closure() { }, PBKDF2KeyDerivator_factoryConfig__closure: function PBKDF2KeyDerivator_factoryConfig__closure(t0) { this.match = t0; }, Scrypt: function Scrypt() { }, Scrypt_factoryConfig_closure: function Scrypt_factoryConfig_closure() { }, ECKeyGenerator: function ECKeyGenerator() { }, ECKeyGenerator_factoryConfig_closure: function ECKeyGenerator_factoryConfig_closure() { }, RSAKeyGenerator: function RSAKeyGenerator() { }, RSAKeyGenerator_factoryConfig_closure: function RSAKeyGenerator_factoryConfig_closure() { }, CBCBlockCipherMac$(cipher, macSizeInBits, padding) { var t2, t1 = new A.CBCBlockCipherMac(A.CBCBlockCipher$(cipher), padding, B.JSInt_methods._tdivFast$1(macSizeInBits, 8)); if (B.JSInt_methods.$mod(macSizeInBits, 8) !== 0) A.throwExpression(A.ArgumentError$("MAC size must be multiple of 8", null)); t2 = cipher.get$blockSize(); t1.__CBCBlockCipherMac__mac = new Uint8Array(t2); t2 = cipher.get$blockSize(); t1.__CBCBlockCipherMac__buf = new Uint8Array(t2); t1.__CBCBlockCipherMac__bufOff = 0; return t1; }, CBCBlockCipherMac: function CBCBlockCipherMac(t0, t1, t2) { var _ = this; _.__CBCBlockCipherMac__bufOff = _.__CBCBlockCipherMac__buf = _.__CBCBlockCipherMac__mac = $; _._cbc_block_cipher_mac$_cipher = t0; _._cbc_block_cipher_mac$_padding = t1; _._cbc_block_cipher_mac$_macSize = t2; _._cbc_block_cipher_mac$_params = null; }, CBCBlockCipherMac_factoryConfig_closure: function CBCBlockCipherMac_factoryConfig_closure() { }, CBCBlockCipherMac_factoryConfig__closure: function CBCBlockCipherMac_factoryConfig__closure(t0) { this.match = t0; }, CMac: function CMac(t0, t1) { this._cmac$_cipher = t0; this._macSize = t1; }, CMac_factoryConfig_closure: function CMac_factoryConfig_closure() { }, CMac_factoryConfig__closure: function CMac_factoryConfig__closure(t0) { this.match = t0; }, HMac: function HMac(t0, t1) { this._digest = t0; this.__HMac__digestSize = $; this.__HMac__blockLength = t1; }, HMac_factoryConfig_closure: function HMac_factoryConfig_closure() { }, HMac_factoryConfig__closure: function HMac_factoryConfig__closure(t0) { this.digestName = t0; }, Poly1305: function Poly1305(t0, t1, t2) { this.cipher = t0; this.singleByte = t1; this.currentBlock = t2; }, Poly1305_factoryConfig_closure: function Poly1305_factoryConfig_closure() { }, Poly1305_factoryConfig__closure: function Poly1305_factoryConfig__closure(t0) { this.match = t0; }, PaddedBlockCipherImpl: function PaddedBlockCipherImpl(t0, t1) { this.padding = t0; this.cipher = t1; this._encrypting = null; }, PaddedBlockCipherImpl_factoryConfig_closure: function PaddedBlockCipherImpl_factoryConfig_closure() { }, PaddedBlockCipherImpl_factoryConfig__closure: function PaddedBlockCipherImpl_factoryConfig__closure(t0) { this.match = t0; }, ISO7816d4Padding: function ISO7816d4Padding() { }, ISO7816d4Padding_factoryConfig_closure: function ISO7816d4Padding_factoryConfig_closure() { }, PKCS7Padding: function PKCS7Padding() { }, PKCS7Padding_factoryConfig_closure: function PKCS7Padding_factoryConfig_closure() { }, AutoSeedBlockCtrRandom$(cipher, _reseedIV) { var t1 = new A.AutoSeedBlockCtrRandom(_reseedIV); t1.__AutoSeedBlockCtrRandom__delegate = A.BlockCtrRandom$(cipher); return t1; }, AutoSeedBlockCtrRandom: function AutoSeedBlockCtrRandom(t0) { this.__AutoSeedBlockCtrRandom__delegate = $; this._reseedIV = t0; this._inAutoReseed = false; }, AutoSeedBlockCtrRandom_factoryConfig_closure: function AutoSeedBlockCtrRandom_factoryConfig_closure() { }, AutoSeedBlockCtrRandom_factoryConfig__closure: function AutoSeedBlockCtrRandom_factoryConfig__closure(t0) { this.match = t0; }, AutoSeedBlockCtrRandom_nextBigInteger_closure: function AutoSeedBlockCtrRandom_nextBigInteger_closure(t0, t1) { this.$this = t0; this.bitLength = t1; }, AutoSeedBlockCtrRandom_nextBytes_closure: function AutoSeedBlockCtrRandom_nextBytes_closure(t0, t1) { this.$this = t0; this.count = t1; }, BlockCtrRandom$(cipher) { var t1 = new A.BlockCtrRandom(cipher), t2 = cipher.get$blockSize(); t1.__BlockCtrRandom__input = new Uint8Array(t2); t2 = cipher.get$blockSize(); t2 = new Uint8Array(t2); t1.__BlockCtrRandom__output = t2; t1.__BlockCtrRandom__used = A._lateReadCheck(t2, "_output").length; return t1; }, BlockCtrRandom: function BlockCtrRandom(t0) { var _ = this; _.cipher = t0; _.__BlockCtrRandom__used = _.__BlockCtrRandom__output = _.__BlockCtrRandom__input = $; }, BlockCtrRandom_factoryConfig_closure: function BlockCtrRandom_factoryConfig_closure() { }, BlockCtrRandom_factoryConfig__closure: function BlockCtrRandom_factoryConfig__closure(t0) { this.match = t0; }, FortunaRandom: function FortunaRandom(t0) { this._aes = t0; this.__FortunaRandom__prng = $; }, FortunaRandom_factoryConfig_closure: function FortunaRandom_factoryConfig_closure() { }, ECDSASigner: function ECDSASigner() { }, ECDSASigner_factoryConfig_closure: function ECDSASigner_factoryConfig_closure() { }, ECDSASigner_factoryConfig__closure: function ECDSASigner_factoryConfig__closure(t0, t1) { this.digestName = t0; this.withMac = t1; }, PSSSigner: function PSSSigner() { }, PSSSigner_factoryConfig_closure: function PSSSigner_factoryConfig_closure() { }, PSSSigner_factoryConfig__closure: function PSSSigner_factoryConfig__closure(t0) { this.digestName = t0; }, RSASigner: function RSASigner(t0) { this._rsa = t0; }, RSASigner_factoryConfig_closure: function RSASigner_factoryConfig_closure() { }, RSASigner_factoryConfig__closure: function RSASigner_factoryConfig__closure(t0, t1) { this.digestName = t0; this.digestIdentifierHex = t1; }, BaseAEADBlockCipher: function BaseAEADBlockCipher() { }, BaseAEADCipher: function BaseAEADCipher() { }, BaseAsymmetricBlockCipher: function BaseAsymmetricBlockCipher() { }, BaseBlockCipher: function BaseBlockCipher() { }, BaseDigest: function BaseDigest() { }, BaseKeyDerivator: function BaseKeyDerivator() { }, BaseMac: function BaseMac() { }, BasePadding: function BasePadding() { }, BaseStreamCipher: function BaseStreamCipher() { }, KeccakEngine: function KeccakEngine() { }, LongSHA2FamilyDigest: function LongSHA2FamilyDigest() { }, MD4FamilyDigest: function MD4FamilyDigest() { }, SecureRandomBase: function SecureRandomBase() { }, NodeCrypto: function NodeCrypto() { }, PlatformException$0(cause) { return new A.PlatformException0(cause); }, Platform: function Platform() { }, PlatformException0: function PlatformException0(t0) { this.cause = t0; }, PlatformWeb: function PlatformWeb() { }, StaticFactoryConfig$(type, algorithmName, factory) { return new A.StaticFactoryConfig(algorithmName, factory, type); }, _escapeRegExp(str) { return A.stringReplaceAllFuncUnchecked(str, $.$get$_specialRegExpChars(), new A._escapeRegExp_closure(), new A._escapeRegExp_closure0()); }, DynamicFactoryConfig$(type, regExp, factory) { return new A.DynamicFactoryConfig(regExp, factory, type); }, DynamicFactoryConfig$regex(type, regexString, factory) { return new A.DynamicFactoryConfig(A.RegExp_RegExp(regexString, true, false), factory, type); }, DynamicFactoryConfig$prefix(type, prefix, factory) { return new A.DynamicFactoryConfig(A.RegExp_RegExp("^" + A._escapeRegExp(prefix) + "(.+)$", true, false), factory, type); }, DynamicFactoryConfig$suffix(type, suffix, factory) { return new A.DynamicFactoryConfig(A.RegExp_RegExp("^(.+)" + A._escapeRegExp(suffix) + "$", true, false), factory, type); }, FactoryConfig: function FactoryConfig() { }, StaticFactoryConfig: function StaticFactoryConfig(t0, t1, t2) { this.algorithmName = t0; this.factory = t1; this.type = t2; }, _escapeRegExp_closure: function _escapeRegExp_closure() { }, _escapeRegExp_closure0: function _escapeRegExp_closure0() { }, DynamicFactoryConfig: function DynamicFactoryConfig(t0, t1, t2) { this.regExp = t0; this.factory = t1; this.type = t2; }, _RegistryImpl: function _RegistryImpl(t0, t1, t2) { var _ = this; _._staticFactories = t0; _._dynamicFactories = t1; _._constructorCache = t2; _._registry$_initialized = false; }, _RegistryImpl__addStaticFactoryConfig_closure: function _RegistryImpl__addStaticFactoryConfig_closure() { }, _RegistryImpl__addDynamicFactoryConfig_closure: function _RegistryImpl__addDynamicFactoryConfig_closure() { }, shiftl32(x, n) { n &= 31; return (x & $._MASK32_HI_BITS[n]) << n >>> 0; }, rotl32(x, n) { n &= 31; return (A.shiftl32(x, n) | B.JSInt_methods.$shr(x, 32 - n)) >>> 0; }, pack32(x, out, offset, endian) { if (!type$.ByteData._is(out)) out = A.NativeByteData_NativeByteData$view(out.buffer, out.byteOffset, J.get$length$asx(out)); out.setUint32(offset, x, B.C_Endian === endian); }, unpack32(inp, offset, endian) { if (!type$.ByteData._is(inp)) inp = A.NativeByteData_NativeByteData$view(inp.buffer, inp.byteOffset, J.get$length$asx(inp)); return inp.getUint32(offset, B.C_Endian === endian); }, Register64$(hiOrLo32OrY, lo32) { var t1 = new A.Register64(); t1.$set$2(0, hiOrLo32OrY, lo32); return t1; }, Register64List$from(values) { var i, t1, t2, _length = values.length, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Register64); for (i = 0; i < _length; ++i) { t1 = values[i]; t2 = new A.Register64(); t2.$set$2(0, t1[0], t1[1]); _list[i] = t2; } return new A.Register64List(_list); }, Register64List$($length) { var _i, t1, _list = J.JSArray_JSArray$allocateGrowable($length, type$.Register64); for (_i = 0; _i < $length; ++_i) { t1 = new A.Register64(); t1.$set$2(0, 0, null); _list[_i] = t1; } return new A.Register64List(_list); }, Register64: function Register64() { this.__Register64__lo32 = this.__Register64__hi32 = $; }, Register64List: function Register64List(t0) { this._ufixnum$_list = t0; }, ChaCha20Engine: function ChaCha20Engine(t0, t1, t2, t3) { var _ = this; _.rounds = t0; _._chacha20$_workingKey = null; _.__ChaCha20Engine__workingIV = $; _._chacha20$_state = t1; _._chacha20$_buffer = t2; _._chacha20$_keyStream = t3; _._chacha20$_keyStreamOffset = 0; _._chacha20$_initialised = false; }, ChaCha20Engine_factoryConfig_closure: function ChaCha20Engine_factoryConfig_closure() { }, ChaCha20Engine_factoryConfig__closure: function ChaCha20Engine_factoryConfig__closure(t0) { this.match = t0; }, ChaCha20Poly1305: function ChaCha20Poly1305(t0, t1, t2, t3) { var _ = this; _._chacha20poly1305$_key = t0; _._chacha20poly1305$_nonce = t1; _._chacha20poly1305$_buf = t2; _._chacha20poly1305$_mac = t3; }, ChaCha20Poly1305_factoryConfig_closure: function ChaCha20Poly1305_factoryConfig_closure() { }, ChaCha7539Engine: function ChaCha7539Engine(t0, t1, t2, t3) { var _ = this; _.rounds = t0; _._workingKey = null; _.__ChaCha7539Engine__workingIV = $; _._chacha7539$_state = t1; _._chacha7539$_buffer = t2; _._keyStream = t3; _._keyStreamOffset = 0; _._initialised = false; }, ChaCha7539Engine_factoryConfig_closure: function ChaCha7539Engine_factoryConfig_closure() { }, ChaCha7539Engine_factoryConfig__closure: function ChaCha7539Engine_factoryConfig__closure(t0) { this.match = t0; }, CTRStreamCipher$(underlyingCipher) { var t1 = new A.CTRStreamCipher(underlyingCipher); t1.SICStreamCipher$1(underlyingCipher); return t1; }, CTRStreamCipher: function CTRStreamCipher(t0) { var _ = this; _.underlyingCipher = t0; _.__SICStreamCipher__consumed = _.__SICStreamCipher__counterOut = _.__SICStreamCipher__counter = _.__SICStreamCipher__iv = $; }, CTRStreamCipher_factoryConfig_closure: function CTRStreamCipher_factoryConfig_closure() { }, CTRStreamCipher_factoryConfig__closure: function CTRStreamCipher_factoryConfig__closure(t0) { this.match = t0; }, Salsa20Engine: function Salsa20Engine(t0, t1, t2) { var _ = this; _._salsa20$_workingKey = null; _.__Salsa20Engine__workingIV = $; _._salsa20$_state = t0; _._salsa20$_buffer = t1; _._salsa20$_keyStream = t2; _._salsa20$_keyStreamOffset = 0; _._salsa20$_initialised = false; }, Salsa20Engine_factoryConfig_closure: function Salsa20Engine_factoryConfig_closure() { }, SICStreamCipher$(underlyingCipher) { var t1 = new A.SICStreamCipher(underlyingCipher); t1.SICStreamCipher$1(underlyingCipher); return t1; }, SICStreamCipher: function SICStreamCipher(t0) { var _ = this; _.underlyingCipher = t0; _.__SICStreamCipher__consumed = _.__SICStreamCipher__counterOut = _.__SICStreamCipher__counter = _.__SICStreamCipher__iv = $; }, SICStreamCipher_factoryConfig_closure: function SICStreamCipher_factoryConfig_closure() { }, SICStreamCipher_factoryConfig__closure: function SICStreamCipher_factoryConfig__closure(t0) { this.match = t0; }, ChangeNotifierProvider$value(child, value, $T) { var _null = null; return new A.ChangeNotifierProvider(new A._ValueInheritedProvider(value, _null, A.listenable_provider_ListenableProvider__startListening$closure(), $T._eval$1("_ValueInheritedProvider<0>")), _null, _null, child, _null, $T._eval$1("ChangeNotifierProvider<0>")); }, ChangeNotifierProvider: function ChangeNotifierProvider(t0, t1, t2, t3, t4, t5) { var _ = this; _._delegate = t0; _._lazy = t1; _.builder = t2; _._nested$_child = t3; _.key = t4; _.$ti = t5; }, Consumer$(builder, $T) { return new A.Consumer(builder, null, null, $T._eval$1("Consumer<0>")); }, Consumer: function Consumer(t0, t1, t2, t3) { var _ = this; _.builder = t0; _._nested$_child = t1; _.key = t2; _.$ti = t3; }, ListenableProvider__startListening(e, value) { value.addListener$1(0, e.get$markNeedsNotifyDependents()); return new A.ListenableProvider__startListening_closure(value, e); }, ListenableProvider: function ListenableProvider() { }, ListenableProvider__startListening_closure: function ListenableProvider__startListening_closure(t0, t1) { this.value = t0; this.e = t1; }, MultiProvider$(builder, providers) { return new A.MultiProvider(providers, new A.Builder(new A.MultiProvider_closure(builder, null), null), null); }, Provider_of(context, listen, $T) { var value, t1, inheritedElement = A.Provider__inheritedElementOf(context, $T); if (listen) context.dependOnInheritedWidgetOfExactType$1$0($T._eval$1("_InheritedProviderScope<0?>")); if (inheritedElement == null) value = null; else { t1 = A._lateReadCheck(inheritedElement.___InheritedProviderScopeElement__delegateState, "_delegateState"); value = t1.get$value(t1); } if ($.$get$_isSoundMode()) { if (!$T._is(value)) throw A.wrapException(new A.ProviderNullException(A.createRuntimeType($T), A.getRuntimeType(context.get$widget()))); return value; } return $T._as(value); }, Provider__inheritedElementOf(context, $T) { var t2, t1 = {}; t1.inheritedElement = null; t2 = $T._eval$1("_InheritedProviderScope<0?>"); if (t2._is(context.get$widget())) context.visitAncestorElements$1(new A.Provider__inheritedElementOf_closure(t1, $T)); else t1.inheritedElement = $T._eval$1("_InheritedProviderScopeElement<0?>?")._as(context.getElementForInheritedWidgetOfExactType$1$0(t2)); t1 = t1.inheritedElement; if (t1 == null && !$T._is(null)) throw A.wrapException(new A.ProviderNotFoundException(A.createRuntimeType($T), A.getRuntimeType(context.get$widget()))); return t1; }, InheritedProvider: function InheritedProvider() { }, _InheritedProviderElement: function _InheritedProviderElement(t0, t1, t2, t3, t4, t5) { var _ = this; _.SingleChildWidgetElementMixin__parent = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t5; }, _InheritedProviderScope: function _InheritedProviderScope(t0, t1, t2, t3, t4) { var _ = this; _.owner = t0; _.debugType = t1; _.child = t2; _.key = t3; _.$ti = t4; }, _Dependency: function _Dependency(t0, t1) { var _ = this; _.shouldClearMutationScheduled = _.shouldClearSelectors = false; _.selectors = t0; _.$ti = t1; }, _InheritedProviderScopeElement: function _InheritedProviderScopeElement(t0, t1, t2, t3, t4, t5) { var _ = this; _._debugInheritLocked = _._shouldNotifyDependents = false; _._firstBuild = _._isNotifyDependentsEnabled = true; _._isBuildFromExternalSources = _._updatedShouldNotify = false; _.___InheritedProviderScopeElement__debugId = _.___InheritedProviderScopeElement__delegateState = $; _._dependents = t0; _._framework$_child = null; _._debugDoingBuild = false; _._debugReassembleConfig = _._parent = null; _._cachedHash = t1; _._slot = null; _.__Element__depth = $; _._widget = t2; _._owner = null; _._lifecycleState = t3; _._debugForgottenChildrenWithGlobalKey = t4; _._dependencies = _._inheritedWidgets = null; _._hadUnsatisfiedDependencies = false; _._dirty = true; _._debugAllowIgnoredCallsToMarkNeedsBuild = _._debugBuiltOnce = _._inDirtyList = false; _.$ti = t5; }, _InheritedProviderScopeElement_updateDependencies_closure: function _InheritedProviderScopeElement_updateDependencies_closure(t0) { this.selectorDependency = t0; }, _Delegate: function _Delegate() { }, _DelegateState: function _DelegateState() { }, _CreateInheritedProvider: function _CreateInheritedProvider(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.create = t0; _.update = t1; _._updateShouldNotify = t2; _.debugCheckInvalidValueType = t3; _.startListening = t4; _.dispose = t5; _.$ti = t6; }, _CreateInheritedProviderState: function _CreateInheritedProviderState(t0) { var _ = this; _._removeListener = null; _._didSucceedInit = _._didInitValue = false; _.element = _._previousWidget = _._provider$_value = null; _.$ti = t0; }, _ValueInheritedProvider: function _ValueInheritedProvider(t0, t1, t2, t3) { var _ = this; _.value = t0; _._updateShouldNotify = t1; _.startListening = t2; _.$ti = t3; }, _ValueInheritedProviderState: function _ValueInheritedProviderState(t0) { this.element = this._removeListener = null; this.$ti = t0; }, MultiProvider: function MultiProvider(t0, t1, t2) { this._nested$_children = t0; this._nested$_child = t1; this.key = t2; }, MultiProvider_closure: function MultiProvider_closure(t0, t1) { this.builder = t0; this.child = t1; }, Provider: function Provider(t0, t1, t2, t3, t4, t5) { var _ = this; _._delegate = t0; _._lazy = t1; _.builder = t2; _._nested$_child = t3; _.key = t4; _.$ti = t5; }, Provider__inheritedElementOf_closure: function Provider__inheritedElementOf_closure(t0, t1) { this._box_0 = t0; this.T = t1; }, Provider_debugCheckInvalidValueType_closure: function Provider_debugCheckInvalidValueType_closure() { }, ProviderNullException: function ProviderNullException(t0, t1) { this.valueType = t0; this.widgetType = t1; }, ProviderNotFoundException: function ProviderNotFoundException(t0, t1) { this.valueType = t0; this.widgetType = t1; }, ProxyProvider$(child, create, update, $T, $R) { var _null = null; return new A.ProxyProvider(new A._CreateInheritedProvider(create, new A.ProxyProvider_closure(update, $R, $T), _null, new A.ProxyProvider0_closure($R), _null, _null, $R._eval$1("_CreateInheritedProvider<0>")), _null, _null, child, _null, $T._eval$1("@<0>")._bind$1($R)._eval$1("ProxyProvider<1,2>")); }, ProxyProvider0: function ProxyProvider0() { }, ProxyProvider0_closure: function ProxyProvider0_closure(t0) { this.R = t0; }, ProxyProvider: function ProxyProvider(t0, t1, t2, t3, t4, t5) { var _ = this; _._delegate = t0; _._lazy = t1; _.builder = t2; _._nested$_child = t3; _.key = t4; _.$ti = t5; }, ProxyProvider_closure: function ProxyProvider_closure(t0, t1, t2) { this.update = t0; this.R = t1; this.T = t2; }, Selector2$(builder, selector, $A, $B, $S) { return new A.Selector2(builder, new A.Selector2_closure(selector, $S, $A, $B), null, null, null, $A._eval$1("@<0>")._bind$1($B)._bind$1($S)._eval$1("Selector2<1,2,3>")); }, Selector0: function Selector0() { }, _Selector0State: function _Selector0State(t0, t1) { var _ = this; _._widget = _.oldWidget = _.cache = _.value = null; _._debugLifecycleState = t0; _._framework$_element = null; _.$ti = t1; }, Selector2: function Selector2(t0, t1, t2, t3, t4, t5) { var _ = this; _.builder = t0; _.selector = t1; _._shouldRebuild = t2; _._nested$_child = t3; _.key = t4; _.$ti = t5; }, Selector2_closure: function Selector2_closure(t0, t1, t2, t3) { var _ = this; _.selector = t0; _.S = t1; _.A = t2; _.B = t3; }, hashObjects(objects) { return A._finish(B.JSArray_methods.fold$2(objects, 0, new A.hashObjects_closure())); }, _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() { }, IndexedValue: function IndexedValue(t0, t1, t2) { this.index = t0; this.value = t1; this.$ti = t2; }, EnumerateIterable: function EnumerateIterable(t0, t1) { this._enumerate$_iterable = t0; this.$ti = t1; }, EnumerateIterator: function EnumerateIterator(t0, t1) { var _ = this; _._enumerate$_iterator = t0; _._enumerate$_index = 0; _._enumerate$_current = null; _.$ti = t1; }, max(i, $T) { if (i.get$length(i) === 0) return null; return i.reduce$1(0, new A.max_closure(A.instantiate1(A.min_max___compareAny$closure(), $T), $T)); }, _compareAny(a, b) { var t1 = type$.Comparable_dynamic; return J.compareTo$1$ns(t1._as(a), t1._as(b)); }, max_closure: function max_closure(t0, t1) { this._compare = t0; this.T = t1; }, _Partition: function _Partition(t0, t1, t2) { this._partition$_iterable = t0; this._partition$_size = t1; this.$ti = t2; }, _PartitionIterator: function _PartitionIterator(t0, t1, t2) { var _ = this; _._partition$_iterator = t0; _._partition$_size = t1; _._partition$_current = null; _.$ti = t2; }, zip(iterables, $T) { return A.zip$body(iterables, $T, $T._eval$1("List<0>")); }, zip$body($async$iterables, $async$$T, $async$type) { return A._makeSyncStarIterable(function() { var iterables = $async$iterables, $T = $async$$T; var $async$goto = 0, $async$handler = 1, $async$currentError, t2, t1, iterators; return function $async$zip($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 = A._arrayInstanceType(iterables)._eval$1("@<1>")._bind$1($T._eval$1("Iterator<0>"))._eval$1("MappedListIterable<1,2>"); iterators = A.List_List$of(new A.MappedListIterable(iterables, new A.zip_closure($T), t1), false, t1._eval$1("ListIterable.E")); t1 = A._arrayInstanceType(iterators)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"), t2 = t1._eval$1("ListIterable.E"); case 2: // for condition if (!B.JSArray_methods.every$1(iterators, new A.zip_closure0($T))) { // goto after for $async$goto = 3; break; } $async$goto = 4; return A.List_List$of(new A.MappedListIterable(iterators, new A.zip_closure1($T), t1), false, t2); case 4: // after yield // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, zip_closure: function zip_closure(t0) { this.T = t0; }, zip_closure0: function zip_closure0(t0) { this.T = t0; }, zip_closure1: function zip_closure1(t0) { this.T = t0; }, ResponsiveValue$(context, defaultValue, valueWhen, $T) { var t1 = new A.ResponsiveValue(defaultValue, valueWhen, context, $T._eval$1("ResponsiveValue<0>")); t1.ResponsiveValue$3$defaultValue$valueWhen(context, defaultValue, valueWhen, $T); return t1; }, ResponsiveVisibility$(child, hiddenWhen, visibleWhen) { return new A.ResponsiveVisibility(child, visibleWhen, hiddenWhen, null); }, ResponsiveValue: function ResponsiveValue(t0, t1, t2, t3) { var _ = this; _.value = null; _.defaultValue = t0; _.valueWhen = t1; _.context = t2; _.$ti = t3; }, ResponsiveValue_closure: function ResponsiveValue_closure() { }, ResponsiveValue_closure0: function ResponsiveValue_closure0(t0) { this.segments = t0; }, ResponsiveValue__closure: function ResponsiveValue__closure(t0) { this.e = t0; }, ResponsiveValue__closure0: function ResponsiveValue__closure0(t0) { this.e = t0; }, ResponsiveValue_closure1: function ResponsiveValue_closure1() { }, ResponsiveValue_getActiveCondition_closure: function ResponsiveValue_getActiveCondition_closure(t0) { this.context = t0; }, ResponsiveValue_getActiveCondition_closure0: function ResponsiveValue_getActiveCondition_closure0(t0) { this.context = t0; }, ResponsiveValue_getActiveCondition_closure1: function ResponsiveValue_getActiveCondition_closure1(t0) { this.context = t0; }, Conditional: function Conditional(t0, t1) { this.index = t0; this._core$_name = t1; }, Condition: function Condition(t0, t1, t2, t3, t4, t5) { var _ = this; _.breakpoint = t0; _.name = t1; _.condition = t2; _.value = t3; _.landscapeValue = t4; _.$ti = t5; }, ResponsiveVisibility: function ResponsiveVisibility(t0, t1, t2, t3) { var _ = this; _.child = t0; _.visibleWhen = t1; _.hiddenWhen = t2; _.key = t3; }, ResponsiveVisibility_build_closure: function ResponsiveVisibility_build_closure() { }, ResponsiveVisibility_build_closure0: function ResponsiveVisibility_build_closure0() { }, ResponsiveConstraints: function ResponsiveConstraints(t0, t1, t2) { this.child = t0; this.constraintsWhen = t1; this.key = t2; }, ResponsiveWrapper_of(context) { var data = context.dependOnInheritedWidgetOfExactType$1$0(type$.InheritedResponsiveWrapper); if (data != null) return data.data; throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("ResponsiveWrapper.of() called with a context that does not contain a ResponsiveWrapper."), A.ErrorDescription$("No Responsive ancestor could be found starting from the context that was passed to ResponsiveWrapper.of(). Place a ResponsiveWrapper at the root of the app or supply a ResponsiveWrapper.builder."), context.describeElement$1("The context used was")], type$.JSArray_DiagnosticsNode))); }, getBreakpointSegments(breakpoints, defaultBreakpoint) { var t1, t2, breakpointTags, breakpointsHolder, minWidth, minWidthOverride, t3, initialBreakpoint, t4, t5, breakpointCounter, i, breakpoint, breakpointSegmentHolder, overrideBreakpointSegment, breakpointTag, breakpointHolderIndex, breakpointSegments = A._setArrayType([], type$.JSArray_ResponsiveBreakpointSegment); if (breakpoints.length === 0) { breakpointSegments.push(new A.ResponsiveBreakpointSegment(0, defaultBreakpoint.behavior, defaultBreakpoint)); return breakpointSegments; } t1 = A._arrayInstanceType(breakpoints)._eval$1("WhereIterable<1>"); t2 = t1._eval$1("Iterable.E"); breakpointTags = A.List_List$of(new A.WhereIterable(breakpoints, new A.getBreakpointSegments_closure(), t1), true, t2); breakpointsHolder = A.List_List$of(new A.WhereIterable(breakpoints, new A.getBreakpointSegments_closure0(), t1), true, t2); minWidth = defaultBreakpoint.breakpoint; minWidthOverride = A.IterableExtension_firstWhereOrNull(breakpointsHolder, new A.getBreakpointSegments_closure1(minWidth)); t1 = defaultBreakpoint.name; t2 = defaultBreakpoint.behavior; t3 = defaultBreakpoint.scaleFactor; if (minWidthOverride != null) B.JSArray_methods.insert$2(breakpointsHolder, 0, new A.ResponsiveBreakpoint(minWidth, t1, t2, t3).merge$1(minWidthOverride)); else B.JSArray_methods.insert$2(breakpointsHolder, 0, new A.ResponsiveBreakpoint(minWidth, t1, t2, t3)); B.JSArray_methods.sort$1(breakpointsHolder, A.responsive_utils_ResponsiveUtils_breakpointComparator$closure()); B.JSArray_methods.sort$1(breakpointTags, A.responsive_utils_ResponsiveUtils_breakpointComparator$closure()); initialBreakpoint = B.JSArray_methods.get$first(breakpointsHolder); t4 = initialBreakpoint.breakpoint; t5 = initialBreakpoint.behavior === B.ResponsiveBreakpointBehavior_2 ? B.ResponsiveBreakpointBehavior_1 : t2; B.JSArray_methods.insert$2(breakpointSegments, 0, new A.ResponsiveBreakpointSegment(0, t2, new A.ResponsiveBreakpoint(t4, t1, t2, t3).copyWith$1$behavior(t5))); for (breakpointCounter = 0, i = 0; i < breakpointsHolder.length; ++i) { breakpoint = breakpointsHolder[i]; t1 = breakpoint.behavior; switch (t1.index) { case 0: case 1: breakpointSegmentHolder = new A.ResponsiveBreakpointSegment(breakpoint.breakpoint, t1, breakpoint); break; case 2: overrideBreakpointSegment = breakpointSegments[breakpointCounter]; t2 = overrideBreakpointSegment.responsiveBreakpoint; t3 = breakpoint.breakpoint; breakpointSegments[breakpointCounter] = overrideBreakpointSegment.copyWith$1$responsiveBreakpoint(t2.copyWith$2$behavior$breakpoint(B.ResponsiveBreakpointBehavior_1, t3)); breakpointSegmentHolder = new A.ResponsiveBreakpointSegment(t3, t1, new A.ResponsiveBreakpoint(t3, breakpoint.name, B.ResponsiveBreakpointBehavior_1, breakpoint.scaleFactor)); break; case 3: breakpointSegmentHolder = null; break; default: breakpointSegmentHolder = null; } if (B.JSArray_methods.get$last(breakpointSegments).breakpoint === breakpointSegmentHolder.breakpoint) { breakpointSegments[breakpointSegments.length - 1] = B.JSArray_methods.get$last(breakpointSegments).merge$1(breakpointSegmentHolder); continue; } breakpointSegments.push(breakpointSegmentHolder); ++breakpointCounter; } for (t1 = type$.ReversedListIterable_ResponsiveBreakpointSegment, i = 0; i < breakpointTags.length; ++i) { breakpointTag = breakpointTags[i]; breakpointSegmentHolder = new A.ReversedListIterable(breakpointSegments, t1).firstWhere$1(0, new A.getBreakpointSegments_closure2(breakpointTag)); breakpointHolderIndex = B.JSArray_methods.indexOf$1(breakpointSegments, breakpointSegmentHolder); t2 = breakpointSegmentHolder.breakpoint; t3 = breakpointTag.breakpoint; t4 = breakpointSegmentHolder.responsiveBreakpoint; if (t2 === t3) breakpointSegments[breakpointHolderIndex] = new A.ResponsiveBreakpointSegment(t2, breakpointSegmentHolder.segmentType, t4.merge$1(breakpointTag)); else B.JSArray_methods.insert$2(breakpointSegments, breakpointHolderIndex + 1, new A.ResponsiveBreakpointSegment(t3, breakpointTag.behavior, t4.merge$1(breakpointTag))); } return breakpointSegments; }, ResponsiveWrapper: function ResponsiveWrapper(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) { var _ = this; _.child = t0; _.breakpoints = t1; _.breakpointsLandscape = t2; _.landscapePlatforms = t3; _.minWidth = t4; _.maxWidth = t5; _.defaultName = t6; _.defaultScale = t7; _.defaultScaleFactor = t8; _.minWidthLandscape = t9; _.maxWidthLandscape = t10; _.defaultNameLandscape = t11; _.defaultScaleLandscape = t12; _.defaultScaleFactorLandscape = t13; _.background = t14; _.backgroundColor = t15; _.mediaQueryData = t16; _.shrinkWrap = t17; _.alignment = t18; _.debugLog = t19; _.key = t20; }, _ResponsiveWrapperState: function _ResponsiveWrapperState(t0, t1, t2) { var _ = this; _.devicePixelRatio = 1; _.windowHeight = _.windowWidth = 0; _.breakpoints = t0; _.breakpointSegments = t1; _.screenHeight = _.screenWidth = 0; _.___ResponsiveWrapperState_activeBreakpointSegment = $; _.scaledHeight = _.scaledWidth = 0; _._widget = _.platform = _.scaledPadding = _.scaledViewPadding = _.scaledViewInsets = null; _._debugLifecycleState = t2; _._framework$_element = null; }, _ResponsiveWrapperState_getActiveBreakpointSegment_closure: function _ResponsiveWrapperState_getActiveBreakpointSegment_closure(t0) { this.windowWidth = t0; }, _ResponsiveWrapperState_initState_closure: function _ResponsiveWrapperState_initState_closure(t0) { this.$this = t0; }, _ResponsiveWrapperState_initState__closure: function _ResponsiveWrapperState_initState__closure() { }, _ResponsiveWrapperState_didChangeMetrics_closure: function _ResponsiveWrapperState_didChangeMetrics_closure(t0) { this.$this = t0; }, _ResponsiveWrapperState_didChangeMetrics__closure: function _ResponsiveWrapperState_didChangeMetrics__closure() { }, _ResponsiveWrapperState_didUpdateWidget_closure: function _ResponsiveWrapperState_didUpdateWidget_closure() { }, ResponsiveWrapperData: function ResponsiveWrapperData(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.screenWidth = t0; _.screenHeight = t1; _.scaledWidth = t2; _.scaledHeight = t3; _.breakpoints = t4; _.breakpointSegments = t5; _.activeBreakpoint = t6; _.isMobile = t7; _.isPhone = t8; _.isTablet = t9; _.isDesktop = t10; _.orientation = t11; }, ResponsiveWrapperData_isSmallerThan_closure: function ResponsiveWrapperData_isSmallerThan_closure(t0) { this.name = t0; }, ResponsiveWrapperData_isSmallerThan_closure0: function ResponsiveWrapperData_isSmallerThan_closure0() { }, InheritedResponsiveWrapper: function InheritedResponsiveWrapper(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, ResponsiveBreakpointBehavior: function ResponsiveBreakpointBehavior(t0, t1) { this.index = t0; this._core$_name = t1; }, ResponsiveBreakpoint: function ResponsiveBreakpoint(t0, t1, t2, t3) { var _ = this; _.breakpoint = t0; _.name = t1; _.behavior = t2; _.scaleFactor = t3; }, ResponsiveBreakpointSegment: function ResponsiveBreakpointSegment(t0, t1, t2) { this.breakpoint = t0; this.segmentType = t1; this.responsiveBreakpoint = t2; }, getBreakpointSegments_closure: function getBreakpointSegments_closure() { }, getBreakpointSegments_closure0: function getBreakpointSegments_closure0() { }, getBreakpointSegments_closure1: function getBreakpointSegments_closure1(t0) { this.minWidth = t0; }, getBreakpointSegments_closure2: function getBreakpointSegments_closure2(t0) { this.breakpointTag = t0; }, __ResponsiveWrapperState_State_WidgetsBindingObserver: function __ResponsiveWrapperState_State_WidgetsBindingObserver() { }, ResponsiveUtils_breakpointComparator(a, b) { var t1 = a.breakpoint, t2 = b.breakpoint; if (t1 === t2) { t1 = $.ResponsiveUtils_breakpointCompartorList.$index(0, a.behavior); t1.toString; t2 = $.ResponsiveUtils_breakpointCompartorList.$index(0, b.behavior); t2.toString; return B.JSInt_methods.compareTo$1(t1, t2); } return B.JSInt_methods.compareTo$1(t1, t2); }, ResponsiveTargetPlatform: function ResponsiveTargetPlatform(t0, t1) { this.index = t0; this._core$_name = t1; }, BouncingScrollBehavior: function BouncingScrollBehavior() { }, BouncingScrollWrapper: function BouncingScrollWrapper(t0, t1) { this.child = t0; this.key = t1; }, SharedPreferences__store() { if ($.SharedPreferences__manualDartRegistrationNeeded) $.SharedPreferences__manualDartRegistrationNeeded = false; return $.$get$SharedPreferencesStorePlatform__instance(); }, SharedPreferences_getInstance() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.SharedPreferences), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], completer, preferencesMap, e, sharedPrefsFuture, exception, t1, $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 t1 = $.SharedPreferences__completer; $async$goto = t1 == null ? 3 : 4; break; case 3: // then completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_SharedPreferences), type$._AsyncCompleter_SharedPreferences); $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; t1 = A.unwrapException($async$exception); if (type$.Exception._is(t1)) { e = t1; completer.completeError$1(e); sharedPrefsFuture = completer.future; $.SharedPreferences__completer = null; $async$returnValue = sharedPrefsFuture; // goto return $async$goto = 1; break; } else throw $async$exception; // goto after finally $async$goto = 8; break; case 5: // uncaught // goto rethrow $async$goto = 2; break; case 8: // after finally t1 = $.SharedPreferences__completer = completer; case 4: // join $async$returnValue = t1.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, t1, t2, t3, t4, fromSystem, preferencesMap; 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 $async$goto = 3; return A._asyncAwait(A.SharedPreferences__store().getAll$0(0), $async$SharedPreferences__getSharedPreferencesMap); case 3: // returning from await. fromSystem = $async$result; preferencesMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Object); for (t1 = J.getInterceptor$x(fromSystem), t2 = J.get$iterator$ax(t1.get$keys(fromSystem)); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = B.JSString_methods.substring$1(t3, 8); t3 = t1.$index(fromSystem, t3); t3.toString; preferencesMap.$indexSet(0, t4, t3); } $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_instance(value) { var exception; try { } catch (exception) { if (type$.NoSuchMethodError._is(A.unwrapException(exception))) throw A.wrapException(A.AssertionError$(string$.Platfo)); else throw exception; } $.SharedPreferencesStorePlatform__instance = value; }, SharedPreferencesStorePlatform: function SharedPreferencesStorePlatform() { }, SharedPreferencesPlugin: function SharedPreferencesPlugin() { }, SharedPreferencesPlugin__storedFlutterKeys_closure: function SharedPreferencesPlugin__storedFlutterKeys_closure() { }, 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(file) + ".")); 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(file) + ".")); 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, highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.nullable_Uri); for (t1 = highlightsByUrl.get$values(highlightsByUrl), t1 = t1.get$iterator(t1); t1.moveNext$0();) J.sort$1$ax(t1.get$current(t1), new A.Highlighter__collateLines_closure0()); t1 = highlightsByUrl.get$values(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) { return new A._Highlight(new A._Highlight_closure(span).call$0(), true); }, _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 (B.JSString_methods._codeUnitAt$1(text, i) === 13 && B.JSString_methods._codeUnitAt$1(text, 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 (B.JSString_methods.codeUnitAt$1(text, 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; _._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) { this.span = t0; this.isPrimary = t1; }, _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; }, 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; }, ConnectorTheme_of(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.ConnectorTheme); t1 = A.TimelineTheme_of(context); return t1.connectorTheme; }, ConnectorThemeData: function ConnectorThemeData(t0) { this.color = t0; }, ThemedConnectorComponent: function ThemedConnectorComponent() { }, _ConnectorThemeData_Object_Diagnosticable: function _ConnectorThemeData_Object_Diagnosticable() { }, TransparentConnector$() { var _null = null; return new A.TransparentConnector(_null, _null, _null, _null, _null, _null, _null); }, Connector: function Connector() { }, SolidLineConnector: function SolidLineConnector(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.direction = t0; _.space = t1; _.thickness = t2; _.indent = t3; _.endIndent = t4; _.color = t5; _.key = t6; }, TransparentConnector: function TransparentConnector(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.direction = t0; _.space = t1; _.thickness = t2; _.indent = t3; _.endIndent = t4; _.color = t5; _.key = t6; }, _ConnectorIndent: function _ConnectorIndent(t0, t1, t2, t3, t4, t5) { var _ = this; _.direction = t0; _.space = t1; _.indent = t2; _.endIndent = t3; _.child = t4; _.key = t5; }, _Connector_StatelessWidget_ThemedConnectorComponent: function _Connector_StatelessWidget_ThemedConnectorComponent() { }, IndicatorTheme$(child, data) { return new A.IndicatorTheme(data, child, null); }, IndicatorTheme_of(context) { var indicatorTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.IndicatorTheme), t1 = indicatorTheme == null ? null : indicatorTheme.data; return t1 == null ? A.TimelineTheme_of(context).indicatorTheme : t1; }, IndicatorThemeData: function IndicatorThemeData() { }, IndicatorTheme: function IndicatorTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, ThemedIndicatorComponent: function ThemedIndicatorComponent() { }, _IndicatorThemeData_Object_Diagnosticable: function _IndicatorThemeData_Object_Diagnosticable() { }, PositionedIndicator: function PositionedIndicator() { }, Indicator: function Indicator() { }, ContainerIndicator: function ContainerIndicator(t0, t1, t2, t3) { var _ = this; _.size = t0; _.color = t1; _.position = t2; _.key = t3; }, DotIndicator: function DotIndicator(t0, t1, t2, t3, t4, t5) { var _ = this; _.DotIndicator_border = t0; _.DotIndicator_child = t1; _.size = t2; _.color = t3; _.position = t4; _.key = t5; }, OutlinedDotIndicator: function OutlinedDotIndicator(t0, t1, t2, t3, t4) { var _ = this; _.OutlinedDotIndicator_child = t0; _.size = t1; _.color = t2; _.position = t3; _.key = t4; }, _Indicator_StatelessWidget_PositionedIndicator: function _Indicator_StatelessWidget_PositionedIndicator() { }, _Indicator_StatelessWidget_PositionedIndicator_ThemedIndicatorComponent: function _Indicator_StatelessWidget_PositionedIndicator_ThemedIndicatorComponent() { }, TimelineTileNode: function TimelineTileNode() { }, TimelineNode: function TimelineNode(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.startConnector = t0; _.endConnector = t1; _.indicator = t2; _.indicatorPosition = t3; _.position = t4; _.overlap = t5; _.key = t6; }, _TimelineNode_StatelessWidget_TimelineTileNode: function _TimelineNode_StatelessWidget_TimelineTileNode() { }, TimelineTheme_of(context) { var inheritedTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$._InheritedTheme), t1 = inheritedTheme == null ? null : inheritedTheme.theme.data; return t1 == null ? $.$get$TimelineTheme__kFallbackTheme() : t1; }, TimelineThemeData_TimelineThemeData(connectorTheme, direction, nodePosition) { if (direction == null) direction = B.Axis_1; if (nodePosition == null) nodePosition = 0.5; if (connectorTheme == null) connectorTheme = new A.ConnectorThemeData(null); return new A.TimelineThemeData(direction, B.MaterialColor_Map_JNwaj_4280391411, nodePosition, false, 0.5, new A.IndicatorThemeData(), connectorTheme); }, TimelineThemeData_TimelineThemeData$fallback() { return A.TimelineThemeData_TimelineThemeData(null, B.Axis_1, null); }, TimelineTheme: function TimelineTheme(t0, t1, t2) { this.data = t0; this.child = t1; this.key = t2; }, _InheritedTheme0: function _InheritedTheme0(t0, t1, t2) { this.theme = t0; this.child = t1; this.key = t2; }, TimelineThemeData: function TimelineThemeData(t0, t1, t2, t3, t4, t5, t6) { var _ = this; _.direction = t0; _.color = t1; _.nodePosition = t2; _.nodeItemOverlap = t3; _.indicatorPosition = t4; _.indicatorTheme = t5; _.connectorTheme = t6; }, _TimelineThemeData_Object_Diagnosticable: function _TimelineThemeData_Object_Diagnosticable() { }, TimelineNodeAlign: function TimelineNodeAlign(t0, t1) { this.index = t0; this._core$_name = t1; }, TimelineTile: function TimelineTile(t0, t1, t2, t3, t4) { var _ = this; _.node = t0; _.contents = t1; _.oppositeContents = t2; _.mainAxisExtent = t3; _.key = t4; }, TimelineTileBuilder_TimelineTileBuilder(contentsAlign, contentsBuilder, endConnectorBuilder, indicatorBuilder, indicatorPositionBuilder, itemCount, itemExtent, itemExtentBuilder, nodePositionBuilder, oppositeContentsBuilder, startConnectorBuilder) { return new A.TimelineTileBuilder(new A.TimelineTileBuilder_TimelineTileBuilder_closure(itemExtent, itemExtentBuilder, indicatorBuilder, startConnectorBuilder, endConnectorBuilder, null, nodePositionBuilder, indicatorPositionBuilder, A.TimelineTileBuilder__createAlignedContentsBuilder(contentsAlign, contentsBuilder, oppositeContentsBuilder), A.TimelineTileBuilder__createAlignedContentsBuilder(contentsAlign, oppositeContentsBuilder, contentsBuilder), null), itemCount); }, TimelineTileBuilder__createConnectedStartConnectorBuilder(connectionDirection, connectorBuilder, firstConnectorBuilder) { return new A.TimelineTileBuilder__createConnectedStartConnectorBuilder_closure(firstConnectorBuilder, connectionDirection, connectorBuilder); }, TimelineTileBuilder__createConnectedEndConnectorBuilder(connectionDirection, connectorBuilder, itemCount, lastConnectorBuilder) { return new A.TimelineTileBuilder__createConnectedEndConnectorBuilder_closure(itemCount, lastConnectorBuilder, connectionDirection, connectorBuilder); }, TimelineTileBuilder__createAlignedContentsBuilder(align, contentsBuilder, oppositeContentsBuilder) { return new A.TimelineTileBuilder__createAlignedContentsBuilder_closure(align, oppositeContentsBuilder, contentsBuilder); }, ContentsAlign: function ContentsAlign(t0, t1) { this.index = t0; this._core$_name = t1; }, ConnectionDirection: function ConnectionDirection(t0, t1) { this.index = t0; this._core$_name = t1; }, ConnectorType: function ConnectorType(t0, t1) { this.index = t0; this._core$_name = t1; }, TimelineTileBuilder: function TimelineTileBuilder(t0, t1) { this._builder = t0; this.itemCount = t1; }, TimelineTileBuilder_TimelineTileBuilder_closure: function TimelineTileBuilder_TimelineTileBuilder_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.itemExtent = t0; _.itemExtentBuilder = t1; _.indicatorBuilder = t2; _.startConnectorBuilder = t3; _.endConnectorBuilder = t4; _.nodeItemOverlapBuilder = t5; _.nodePositionBuilder = t6; _.indicatorPositionBuilder = t7; _.effectiveContentsBuilder = t8; _.effectiveOppositeContentsBuilder = t9; _.themeBuilder = t10; }, TimelineTileBuilder__createConnectedStartConnectorBuilder_closure: function TimelineTileBuilder__createConnectedStartConnectorBuilder_closure(t0, t1, t2) { this.firstConnectorBuilder = t0; this.connectionDirection = t1; this.connectorBuilder = t2; }, TimelineTileBuilder__createConnectedEndConnectorBuilder_closure: function TimelineTileBuilder__createConnectedEndConnectorBuilder_closure(t0, t1, t2, t3) { var _ = this; _.itemCount = t0; _.lastConnectorBuilder = t1; _.connectionDirection = t2; _.connectorBuilder = t3; }, TimelineTileBuilder__createAlignedContentsBuilder_closure: function TimelineTileBuilder__createAlignedContentsBuilder_closure(t0, t1, t2) { this.align = t0; this.oppositeContentsBuilder = t1; this.contentsBuilder = t2; }, Timeline: function Timeline(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18) { var _ = this; _.childrenDelegate = t0; _.theme = 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; }, Tuple2: function Tuple2(t0, t1, t2) { this.item1 = t0; this.item2 = t1; this.$ti = t2; }, Tuple3: function Tuple3(t0, t1, t2, t3) { var _ = this; _.item1 = t0; _.item2 = t1; _.item3 = t2; _.$ti = t3; }, 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; } }, Uint8Buffer$() { return new A.Uint8Buffer(new Uint8Array(0), 0); }, TypedDataBuffer: function TypedDataBuffer() { }, _IntBuffer0: function _IntBuffer0() { }, Uint8Buffer: function Uint8Buffer(t0, t1) { this._typed_buffer$_buffer = t0; this._typed_buffer$_length = t1; }, MethodChannelUrlLauncher: function MethodChannelUrlLauncher(t0) { this._instanceToken = t0; }, MethodChannelUrlLauncher_canLaunch_closure: function MethodChannelUrlLauncher_canLaunch_closure() { }, MethodChannelUrlLauncher_launch_closure: function MethodChannelUrlLauncher_launch_closure() { }, UrlLauncherPlatform: function UrlLauncherPlatform() { }, UrlLauncherPlugin: function UrlLauncherPlugin(t0, t1) { this._window = t0; this._isSafari = false; this._instanceToken = t1; }, Uuid$() { return new A.Uuid(); }, Uuid: function Uuid() { }, Matrix41: function Matrix41(t0) { this._vector_math$_m4storage = t0; }, Vector40: function Vector40(t0) { this._vector_math$_v4storage = t0; }, Matrix4_tryInvert(other) { var r = new A.Matrix4(new Float64Array(16)); if (r.copyInverse$1(other) === 0) return null; return r; }, Matrix4$zero() { return new A.Matrix4(new Float64Array(16)); }, Matrix4_Matrix4$identity() { var t1 = new A.Matrix4(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.Matrix4(t1); }, Matrix4_Matrix4$translationValues(x, y, z) { var t1 = new A.Matrix4(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.Matrix4(t1); }, Matrix4_Matrix4$skewY(beta) { var t1 = new Float64Array(16), m = new A.Matrix4(t1); m.setIdentity$0(); t1[1] = Math.tan(beta); return m; }, Quaternion_Quaternion$identity() { var t1 = new Float64Array(4); t1[3] = 1; return new A.Quaternion(t1); }, Matrix3: function Matrix3(t0) { this._m3storage = t0; }, Matrix4: function Matrix4(t0) { this._m4storage = t0; }, Quaternion: function Quaternion(t0) { this._qStorage = t0; }, Vector3: function Vector3(t0) { this._v3storage = t0; }, Vector4: function Vector4(t0) { this._v4storage = t0; }, Caption: function Caption() { }, _videoPlayerPlatform() { var t1 = $.$get$VideoPlayerPlatform__instance(); if ($._lastVideoPlayerPlatform !== t1) { t1.init$0(); $._lastVideoPlayerPlatform = t1; } return t1; }, VideoPlayerController$network(dataSource) { return new A.VideoPlayerController(dataSource, new A.VideoPlayerValue(B.Duration_0, B.Duration_0, B.C_Caption, B.List_empty24, false, false, false, 1, 1, null, B.Size_0_0, false), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, _VideoPlayerState$() { var t1 = new A._VideoPlayerState(B._StateLifecycle_0); t1._VideoPlayerState$0(); return t1; }, VideoPlayerValue: function VideoPlayerValue(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) { var _ = this; _.duration = t0; _.position = t1; _.caption = t2; _.buffered = t3; _.isPlaying = t4; _.isLooping = t5; _.isBuffering = t6; _.volume = t7; _.playbackSpeed = t8; _.errorDescription = t9; _.size = t10; _.isInitialized = t11; }, VideoPlayerController: function VideoPlayerController(t0, t1, t2) { var _ = this; _.dataSource = t0; _._video_player$_timer = _._closedCaptionFile = null; _._video_player$_isDisposed = false; _._eventSubscription = _._creatingCompleter = null; _.__VideoPlayerController__lifeCycleObserver = $; _._textureId = -1; _._change_notifier$_value = t1; _.ChangeNotifier__count = 0; _.ChangeNotifier__listeners = t2; _.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0; _.ChangeNotifier__debugDisposed = false; }, VideoPlayerController_initialize_eventListener: function VideoPlayerController_initialize_eventListener(t0, t1) { this.$this = t0; this.initializingCompleter = t1; }, VideoPlayerController_initialize_eventListener_closure: function VideoPlayerController_initialize_eventListener_closure(t0) { this.$this = t0; }, VideoPlayerController_initialize_errorListener: function VideoPlayerController_initialize_errorListener(t0, t1) { this.$this = t0; this.initializingCompleter = t1; }, VideoPlayerController__applyPlayPause_closure: function VideoPlayerController__applyPlayPause_closure(t0) { this.$this = t0; }, _VideoAppLifeCycleObserver: function _VideoAppLifeCycleObserver(t0) { this._wasPlayingBeforePause = false; this._video_player$_controller = t0; }, VideoPlayer: function VideoPlayer(t0, t1) { this.controller = t0; this.key = t1; }, _VideoPlayerState: function _VideoPlayerState(t0) { var _ = this; _.___VideoPlayerState__textureId = _.___VideoPlayerState__listener = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _VideoPlayerState_closure: function _VideoPlayerState_closure(t0) { this.$this = t0; }, _VideoPlayerState__closure: function _VideoPlayerState__closure(t0, t1) { this.$this = t0; this.newTextureId = t1; }, __VideoAppLifeCycleObserver_Object_WidgetsBindingObserver: function __VideoAppLifeCycleObserver_Object_WidgetsBindingObserver() { }, TextureMessage: function TextureMessage() { this.textureId = null; }, CreateMessage: function CreateMessage() { var _ = this; _.httpHeaders = _.formatHint = _.packageName = _.uri = _.asset = null; }, LoopingMessage: function LoopingMessage() { this.isLooping = this.textureId = null; }, VolumeMessage: function VolumeMessage() { this.volume = this.textureId = null; }, PlaybackSpeedMessage: function PlaybackSpeedMessage() { this.speed = this.textureId = null; }, PositionMessage: function PositionMessage() { this.position = this.textureId = null; }, VideoPlayerApi: function VideoPlayerApi() { }, MethodChannelVideoPlayer: function MethodChannelVideoPlayer(t0) { this._api = t0; }, MethodChannelVideoPlayer_videoEventsFor_closure: function MethodChannelVideoPlayer_videoEventsFor_closure(t0) { this.$this = t0; }, VideoPlayerPlatform_instance(instance) { var exception; try { } catch (exception) { if (type$.NoSuchMethodError._is(A.unwrapException(exception))) throw A.wrapException(A.AssertionError$(string$.Platfo)); else throw exception; } $.VideoPlayerPlatform__instance = instance; }, VideoPlayerPlatform: function VideoPlayerPlatform() { }, DataSource: function DataSource(t0, t1, t2, t3, t4, t5) { var _ = this; _.sourceType = t0; _.uri = t1; _.formatHint = t2; _.httpHeaders = t3; _.asset = t4; _.$package = t5; }, DataSourceType: function DataSourceType(t0, t1) { this.index = t0; this._core$_name = t1; }, VideoFormat: function VideoFormat(t0, t1) { this.index = t0; this._core$_name = t1; }, VideoEvent: function VideoEvent(t0, t1, t2, t3) { var _ = this; _.eventType = t0; _.duration = t1; _.size = t2; _.buffered = t3; }, VideoEventType: function VideoEventType(t0, t1) { this.index = t0; this._core$_name = t1; }, DurationRange: function DurationRange(t0, t1) { this.start = t0; this.end = t1; }, VideoPlayerPlugin: function VideoPlayerPlugin(t0) { this._videoPlayers = t0; this._textureCounter = 1; }, VideoPlayerPlugin__disposeAllPlayers_closure: function VideoPlayerPlugin__disposeAllPlayers_closure() { }, _VideoPlayer: function _VideoPlayer(t0, t1, t2) { var _ = this; _.eventController = t0; _.uri = t1; _.textureId = t2; _.___VideoPlayer_videoElement = $; _.isBuffering = _.isInitialized = false; }, _VideoPlayer_initialize_closure: function _VideoPlayer_initialize_closure(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure0: function _VideoPlayer_initialize_closure0(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure1: function _VideoPlayer_initialize_closure1(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure2: function _VideoPlayer_initialize_closure2(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure3: function _VideoPlayer_initialize_closure3(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure4: function _VideoPlayer_initialize_closure4(t0) { this.$this = t0; }, _VideoPlayer_initialize_closure5: function _VideoPlayer_initialize_closure5(t0) { this.$this = t0; }, _VideoPlayer_play_closure: function _VideoPlayer_play_closure(t0) { this.$this = t0; }, _VideoPlayer_play_closure0: function _VideoPlayer_play_closure0() { }, ToggleMessage: function ToggleMessage() { this.enable = null; }, IsEnabledMessage: function IsEnabledMessage() { this.enabled = null; }, _WakelockApiCodec: function _WakelockApiCodec() { }, WakelockApi: function WakelockApi() { }, MethodChannelWakelock: function MethodChannelWakelock(t0) { this._method_channel_wakelock$_api = t0; }, WakelockPlatformInterface: function WakelockPlatformInterface() { }, PromiseJsImpl: function PromiseJsImpl() { }, WakelockWeb: function WakelockWeb() { }, WebNode: function WebNode(t0, t1) { this.node = t0; this.key = t1; }, WebNodeState: function WebNodeState(t0) { var _ = this; _._widget = _._htmlElementView = _._latestNode = null; _._debugLifecycleState = t0; _._framework$_element = null; }, WebNodeState_build_closure: function WebNodeState_build_closure(t0) { this.$this = t0; }, _textReplace(match) { switch (match.group$1(0)) { case "<": return "<"; case "&": return "&"; case "]]>": return "]]>"; } throw A.wrapException(A.ArgumentError$value(match, "match", null)); }, _singeQuoteAttributeReplace(match) { switch (match.group$1(0)) { case "'": return "'"; case "&": return "&"; case "<": return "<"; case "\n": return "
"; case "\r": return "
"; case "\t": return "	"; } throw A.wrapException(A.ArgumentError$value(match, "match", null)); }, _doubleQuoteAttributeReplace(match) { switch (match.group$1(0)) { case '"': return """; case "&": return "&"; case "<": return "<"; case "\n": return "
"; case "\r": return "
"; case "\t": return "	"; } throw A.wrapException(A.ArgumentError$value(match, "match", null)); }, XmlDefaultEntityMapping: function XmlDefaultEntityMapping() { }, XmlEntityMapping: function XmlEntityMapping() { }, XmlProductionDefinition: function XmlProductionDefinition() { }, XmlAttributeType: function XmlAttributeType(t0, t1) { this.index = t0; this._core$_name = t1; }, XmlCache: function XmlCache(t0, t1, t2, t3) { var _ = this; _._loader = t0; _._maxSize = t1; _._cache$_values = t2; _.$ti = t3; }, XmlCharacterDataParser: function XmlCharacterDataParser(t0, t1, t2, t3) { var _ = this; _._entityMapping = t0; _._stopper = t1; _._stopperCode = t2; _._character_data_parser$_minLength = t3; }, XmlException: function XmlException() { }, XmlParserException: function XmlParserException(t0, t1, t2, t3, t4) { var _ = this; _.buffer = t0; _.position = t1; _.line = t2; _.column = t3; _.message = t4; }, XmlNodeType: function XmlNodeType(t0, t1) { this.index = t0; this._core$_name = t1; }, XmlEventEncoder: function XmlEventEncoder(t0) { this.entityMapping = t0; }, _XmlEventEncoderSink: function _XmlEventEncoderSink(t0, t1) { this.sink = t0; this.entityMapping = t1; }, __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor: function __XmlEventEncoderSink_ChunkedConversionSink_XmlEventVisitor() { }, XmlEvent: function XmlEvent() { }, _XmlEvent_Object_XmlParented: function _XmlEvent_Object_XmlParented() { }, XmlCDATAEvent: function XmlCDATAEvent(t0, t1) { this.text = t0; this.XmlParented__parentEvent = t1; }, XmlCommentEvent: function XmlCommentEvent(t0, t1) { this.text = t0; this.XmlParented__parentEvent = t1; }, XmlDeclarationEvent: function XmlDeclarationEvent(t0, t1) { this.attributes = t0; this.XmlParented__parentEvent = t1; }, XmlDoctypeEvent: function XmlDoctypeEvent(t0, t1) { this.text = t0; this.XmlParented__parentEvent = t1; }, XmlEndElementEvent: function XmlEndElementEvent(t0, t1) { this.name = t0; this.XmlParented__parentEvent = t1; }, _XmlEndElementEvent_XmlEvent_XmlNamed: function _XmlEndElementEvent_XmlEvent_XmlNamed() { }, XmlProcessingEvent: function XmlProcessingEvent(t0, t1, t2) { this.target = t0; this.text = t1; this.XmlParented__parentEvent = t2; }, XmlStartElementEvent: function XmlStartElementEvent(t0, t1, t2, t3) { var _ = this; _.name = t0; _.attributes = t1; _.isSelfClosing = t2; _.XmlParented__parentEvent = t3; }, _XmlStartElementEvent_XmlEvent_XmlNamed: function _XmlStartElementEvent_XmlEvent_XmlNamed() { }, XmlTextEvent: function XmlTextEvent(t0, t1) { this.text = t0; this.XmlParented__parentEvent = t1; }, XmlEventIterator$(input, entityMapping) { return new A.XmlEventIterator($.$get$eventParserCache().$index(0, entityMapping), new A.Success(null, input, 0, type$.Success_dynamic)); }, XmlEventIterator: function XmlEventIterator(t0, t1) { this._eventParser = t0; this._iterator$_context = t1; this.__XmlEventIterator__current = $; }, XmlEventDefinition: function XmlEventDefinition(t0) { this.entityMapping = t0; }, XmlEventDefinition_characterData_closure: function XmlEventDefinition_characterData_closure() { }, XmlEventDefinition_startElement_closure: function XmlEventDefinition_startElement_closure() { }, XmlEventDefinition_attribute_closure: function XmlEventDefinition_attribute_closure() { }, XmlEventDefinition_endElement_closure: function XmlEventDefinition_endElement_closure() { }, XmlEventDefinition_comment_closure: function XmlEventDefinition_comment_closure() { }, XmlEventDefinition_cdata_closure: function XmlEventDefinition_cdata_closure() { }, XmlEventDefinition_declaration_closure: function XmlEventDefinition_declaration_closure() { }, XmlEventDefinition_processing_closure: function XmlEventDefinition_processing_closure() { }, XmlEventDefinition_doctype_closure: function XmlEventDefinition_doctype_closure() { }, eventParserCache_closure: function eventParserCache_closure() { }, ConversionSink: function ConversionSink(t0, t1) { this.callback = t0; this.$ti = t1; }, XmlEventAttribute: function XmlEventAttribute(t0, t1, t2, t3) { var _ = this; _.name = t0; _.value = t1; _.attributeType = t2; _.XmlParented__parentEvent = t3; }, _XmlEventAttribute_Object_XmlNamed: function _XmlEventAttribute_Object_XmlNamed() { }, _XmlEventAttribute_Object_XmlNamed_XmlParented: function _XmlEventAttribute_Object_XmlNamed_XmlParented() { }, XmlNamed: function XmlNamed() { }, XmlParented: function XmlParented() { }, XmlEventVisitor: function XmlEventVisitor() { }, YoutubePlayerController$(initialVideoId, params) { var t1 = new A.YoutubePlayerController(initialVideoId, params, A.StreamController_StreamController$broadcast(null, null, type$.YoutubePlayerValue), new A.YoutubePlayerValue(false, false, B.Duration_0, 0, false, 100, B.PlayerState_0, 1, B.YoutubeError_0, null, B.YoutubeMetaData_Li2)); t1.YoutubePlayerController$2$initialVideoId$params(initialVideoId, params); return t1; }, YoutubePlayerController: function YoutubePlayerController(t0, t1, t2, t3) { var _ = this; _.initialVideoId = t0; _.params = t1; _._controller$_controller = t2; _._controller$_value = t3; }, PlayerState: function PlayerState(t0, t1) { this.index = t0; this._core$_name = t1; }, errorEnum(errorCode) { switch (errorCode) { case 2: return B.YoutubeError_1; case 5: return B.YoutubeError_2; case 100: return B.YoutubeError_3; case 101: return B.YoutubeError_4; case 105: return B.YoutubeError_5; case 150: return B.YoutubeError_6; default: return B.YoutubeError_7; } }, YoutubeError: function YoutubeError(t0, t1) { this.index = t0; this._core$_name = t1; }, YoutubeMetaData: function YoutubeMetaData(t0, t1, t2, t3) { var _ = this; _.videoId = t0; _.title = t1; _.author = t2; _.duration = t3; }, YoutubePlayerParams: function YoutubePlayerParams(t0, t1) { this.showFullscreenButton = t0; this.privacyEnhanced = t1; }, YoutubePlayerValue: function YoutubePlayerValue(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) { var _ = this; _.isReady = t0; _.hasPlayed = t1; _.position = t2; _.buffered = t3; _.isFullScreen = t4; _.volume = t5; _.playerState = t6; _.playbackRate = t7; _.error = t8; _.playbackQuality = t9; _.metaData = t10; }, RawYoutubePlayer: function RawYoutubePlayer(t0, t1) { this.controller = t0; this.key = t1; }, _WebYoutubePlayerState: function _WebYoutubePlayerState(t0) { var _ = this; _.___WebYoutubePlayerState__iFrame = _.___WebYoutubePlayerState_controller = $; _._widget = null; _._debugLifecycleState = t0; _._framework$_element = null; }, _WebYoutubePlayerState_initState_closure: function _WebYoutubePlayerState_initState_closure(t0, t1) { this.$this = t0; this.playerIFrame = t1; }, _WebYoutubePlayerState_initState__closure: function _WebYoutubePlayerState_initState__closure(t0) { this.$this = t0; }, YoutubePlayerIFrame: function YoutubePlayerIFrame(t0, t1, t2) { this.controller = t0; this.aspectRatio = t1; this.key = t2; }, LinkViewController__viewFactory(viewId) { return $.LinkViewController__instances.$index(0, viewId).get$_element(); }, YoutubePlayerControllerProvider_of(context) { var controllerProvider = context.dependOnInheritedWidgetOfExactType$1$0(type$.YoutubePlayerControllerProvider); return controllerProvider.get$controller(controllerProvider); }, YoutubePlayerControllerExtension_get_ytController(_this) { return A.YoutubePlayerControllerProvider_of(_this); }, isBrowserObject(o) { return type$.Blob._is(o) || type$.Event._is(o) || type$.KeyRange._is(o) || type$.ImageData._is(o) || type$.Node_3._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 window == "object") return; if (typeof print == "function") { print(string); return; } throw "Unable to print message: " + String(string); }, low(codeUnit) { var index = B.JSString_methods._codeUnitAt$1(string$.u0e3b_____, codeUnit >>> 6) + (codeUnit & 63), bit = index & 1, pair = B.JSString_methods._codeUnitAt$1(string$.x22x22____, index >>> 1); return pair >>> 4 & -bit | pair & 15 & bit - 1; }, high(lead, tail) { var index = B.JSString_methods._codeUnitAt$1(string$.u0e3b_____, 1024 + (lead & 1023)) + (tail & 1023), bit = index & 1, pair = B.JSString_methods._codeUnitAt$1(string$.x22x22____, index >>> 1); return pair >>> 4 & -bit | pair & 15 & bit - 1; }, formatDuration(position) { var minutes, hoursString, minutesString, secondsString, seconds = B.JSInt_methods._tdivFast$1(B.JSInt_methods._tdivFast$1(position._duration, 1000), 1000), hours = B.JSInt_methods._tdivFast$1(seconds, 3600); seconds = B.JSInt_methods.$mod(seconds, 3600); minutes = B.JSInt_methods._tdivFast$1(seconds, 60); seconds = B.JSInt_methods.$mod(seconds, 60); if (hours >= 10) hoursString = "" + hours; else hoursString = hours === 0 ? "00" : "0" + hours; if (minutes >= 10) minutesString = "" + minutes; else minutesString = minutes === 0 ? "00" : "0" + minutes; if (seconds >= 10) secondsString = "" + seconds; else secondsString = seconds === 0 ? "00" : "0" + seconds; return (hoursString === "00" ? "" : hoursString + ":") + minutesString + ":" + secondsString; }, formatDuration0(position) { var minutes, hoursString, minutesString, secondsString, seconds = B.JSInt_methods._tdivFast$1(B.JSInt_methods._tdivFast$1(position._duration, 1000), 1000), hours = B.JSInt_methods._tdivFast$1(seconds, 3600); seconds = B.JSInt_methods.$mod(seconds, 3600); minutes = B.JSInt_methods._tdivFast$1(seconds, 60); seconds = B.JSInt_methods.$mod(seconds, 60); if (hours >= 10) hoursString = "" + hours; else hoursString = hours === 0 ? "00" : "0" + hours; if (minutes >= 10) minutesString = "" + minutes; else minutesString = minutes === 0 ? "00" : "0" + minutes; if (seconds >= 10) secondsString = "" + seconds; else secondsString = seconds === 0 ? "00" : "0" + seconds; return (hoursString === "00" ? "" : hoursString + ":") + minutesString + ":" + secondsString; }, groupBy(values, key, $S, $T) { var t1, t2, element, t3, t4, map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>")); for (t1 = J.get$iterator$ax(values), t2 = $S._eval$1("JSArray<0>"); t1.moveNext$0();) { element = t1.get$current(t1); t3 = key.call$1(element); t4 = map.$index(0, t3); if (t4 == null) { t4 = A._setArrayType([], t2); map.$indexSet(0, t3, t4); t3 = t4; } else t3 = t4; t3.push(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_lastOrNull(_this) { if (_this.length === 0) return null; return B.JSArray_methods.get$last(_this); }, IterableNullableExtension_whereNotNull(_this, $T) { return A.IterableNullableExtension_whereNotNull$body(_this, $T, $T); }, IterableNullableExtension_whereNotNull$body($async$_this, $async$$T, $async$type) { return A._makeSyncStarIterable(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$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 element; case 6: // after yield case 5: // join // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, IterableIntegerExtension_get_sum(_this) { var t1, result; for (t1 = _this.get$iterator(_this), result = 0; t1.moveNext$0();) result += t1.get$current(t1); return result; }, IterableDoubleExtension_get_sum(_this) { var t1, result, _i; for (t1 = _this.length, result = 0, _i = 0; _i < t1; ++_i) result += _this[_i]; return result; }, ListExtensions_mapIndexed(_this, convert, $E, $R) { return A.ListExtensions_mapIndexed$body(_this, convert, $E, $R, $R); }, ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R, $async$type) { return A._makeSyncStarIterable(function() { var _this = $async$_this, convert = $async$convert, $E = $async$$E, $R = $async$$R; var $async$goto = 0, $async$handler = 1, $async$currentError, index; return function $async$ListExtensions_mapIndexed($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 index = 0; case 2: // for condition if (!(index < _this.length)) { // goto after for $async$goto = 4; break; } $async$goto = 5; return convert.call$2(index, _this[index]); case 5: // after yield case 3: // for update ++index; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, ListExtensions_expandIndexed(_this, expand, $E, $R) { return A.ListExtensions_expandIndexed$body(_this, expand, $E, $R, $R); }, ListExtensions_expandIndexed$body($async$_this, $async$expand, $async$$E, $async$$R, $async$type) { return A._makeSyncStarIterable(function() { var _this = $async$_this, expand = $async$expand, $E = $async$$E, $R = $async$$R; var $async$goto = 0, $async$handler = 1, $async$currentError, index; return function $async$ListExtensions_expandIndexed($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 index = 0; case 2: // for condition if (!(index < _this.length)) { // goto after for $async$goto = 4; break; } $async$goto = 5; return A._IterationMarker_yieldStar(expand.call$2(index, _this[index])); case 5: // after yield case 3: // for update ++index; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, DraclmsTheme_heading3Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 18, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 18, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_5, _null, _null, true, _null, 1, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_title1Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 16, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 16, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, $.$get$DraclmsTheme_textFormFieldButtonColor(), _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_title2Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 14, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_title3Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 10, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 10, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_5, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_subTitleStyle() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 14, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, B.MaterialColor_Map_HFpTk_4288585374, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_subTitle1Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 14, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 12, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, B.MaterialColor_Map_HFpTk_4288585374, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_subTitle2Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 10, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 10, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_4, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_subTitle3Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 16, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_bodyStyle() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 14, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 12, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, B.Color_3707764736, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_body1Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 18, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 18, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_4, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_body2Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 12, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_body3Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 12, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 12, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_body4Style() { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 16, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 16, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_4, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, DraclmsTheme_markdownTheme() { var t1 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t2 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t3 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t4 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t5 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t6 = A.DraclmsTheme_title2Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_5), t7 = A.DraclmsTheme_subTitle1Style(), t8 = A.DraclmsTheme_bodyStyle(); return new A.TextTheme(t1, t2, t3, t4, t5, t6, A.DraclmsTheme_subTitle1Style(), A.DraclmsTheme_subTitle2Style(), t8, A.DraclmsTheme_bodyStyle().copyWith$2$letterSpacing$wordSpacing(1.1, 1), t7, null, null); }, Validator_validator(value) { if (value == null || value.length === 0) { A.showToaster("Title should not be empty", B.MaterialColor_Map_JNc9P_4294198070); return ""; } return null; }, BatchClassSectionRepository_getBatch() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_getBatch = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/list", A.LinkedHashMap_LinkedHashMap$_literal(["customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["level", 0], t1, type$.int)], t1, type$.Map_String_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getBatch, $async$completer); }, BatchClassSectionRepository_getClass(batchId, classId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_getClass = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/list", A.LinkedHashMap_LinkedHashMap$_literal(["customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["level", classId, "batch_id", batchId], t1, type$.int)], t1, type$.Map_String_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getClass, $async$completer); }, BatchClassSectionRepository_getSection(classId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_getSection = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/list", A.LinkedHashMap_LinkedHashMap$_literal(["customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["level", 2, "class_id", classId], t1, type$.int)], t1, type$.Map_String_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getSection, $async$completer); }, BatchClassSectionRepository_getSubjects(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_getSubjects = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-subject/list", A.LinkedHashMap_LinkedHashMap$_literal(["customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["section_id", sectionId], t1, type$.int)], t1, type$.Map_String_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getSubjects, $async$completer); }, BatchClassSectionRepository_getLanguage() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getLanguage = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-language", type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getLanguage, $async$completer); }, BatchClassSectionRepository_getMasterClass(batchId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getMasterClass = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-master-class/" + batchId, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getMasterClass, $async$completer); }, BatchClassSectionRepository_getAddSectionsList(classId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getAddSectionsList = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-master-section/" + classId, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAddSectionsList, $async$completer); }, BatchClassSectionRepository_getAddAdminSubjectList(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getAddAdminSubjectList = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-master-subject/" + sectionId, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAddAdminSubjectList, $async$completer); }, BatchClassSectionRepository_getAdminTeacherList(subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getAdminTeacherList = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-subject-teacher/list", A.LinkedHashMap_LinkedHashMap$_literal(["subject_id", subjectId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAdminTeacherList, $async$completer); }, BatchClassSectionRepository_getAdminStudentList(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_getAdminStudentList = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student/list", A.LinkedHashMap_LinkedHashMap$_literal(["resource_category_id", sectionId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAdminStudentList, $async$completer); }, BatchClassSectionRepository_getAddTeacherList(subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_getAddTeacherList = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("get-user-list", A.LinkedHashMap_LinkedHashMap$_literal(["customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["resource_subject_id", "" + subjectId, "user_type", "teacher"], t1, t1), "filtered", [], "page", 0, "pageSize", 50, "sorted", []], t1, type$.Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAddTeacherList, $async$completer); }, BatchClassSectionRepository_getAddStudentList(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1, t2; var $async$BatchClassSectionRepository_getAddStudentList = 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; $async$returnValue = A._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("get-user-list", A.LinkedHashMap_LinkedHashMap$_literal(["page", 0, "pageSize", 50, "sorted", [], "filtered", [], "customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["resource_section_id", sectionId, "user_type", "student", "advanced_search", false], t1, t2)], t1, t2), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_getAddStudentList, $async$completer); }, BatchClassSectionRepository_addTeacherOrStudent(email, firstName, generate, isTeacher, lastName, middleName, password, phone, sendToEmail, sendToPhone) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$BatchClassSectionRepository_addTeacherOrStudent = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio"); $async$returnValue = t1.post$1$2$data("add-user", A.LinkedHashMap_LinkedHashMap$_literal(["password", password, "sendToEmail", sendToEmail, "sendToPhone", sendToPhone, "user_type", isTeacher ? "teacher" : "student", "middlename", firstName, "firstname", middleName, "lastname", lastName, "email", email, "phone", phone], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addTeacherOrStudent, $async$completer); }, BatchClassSectionRepository_addBatch(code, isActive, languageId, $name) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addBatch = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/save", A.LinkedHashMap_LinkedHashMap$_literal(["level", 0, "parent_id", null, "language_id", languageId, "code", code, "name", $name, "cover_image", null, "is_current", isActive], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addBatch, $async$completer); }, BatchClassSectionRepository_addClass(batchId, classIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addClass = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/save", A.LinkedHashMap_LinkedHashMap$_literal(["level", 1, "parent_id", batchId, "class_id", classIds], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addClass, $async$completer); }, BatchClassSectionRepository_addSection(classId, sectionIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addSection = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-category/save", A.LinkedHashMap_LinkedHashMap$_literal(["level", 2, "parent_id", classId, "section_id", sectionIds], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addSection, $async$completer); }, BatchClassSectionRepository_addSubject(sectionId, subjectIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addSubject = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-subject/save", A.LinkedHashMap_LinkedHashMap$_literal(["class_subject_id", subjectIds, "resource_category_id", sectionId], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addSubject, $async$completer); }, BatchClassSectionRepository_addTeacherToSubject(subjectId, teacherIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addTeacherToSubject = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-subject-teacher/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_subject_id", subjectId, "teacher_id", teacherIds], type$.String, type$.Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addTeacherToSubject, $async$completer); }, BatchClassSectionRepository_addStudentToSection(resourceCategoryId, studentIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_addStudentToSection = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_category_id", resourceCategoryId, "student_id", studentIds], type$.String, type$.Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_addStudentToSection, $async$completer); }, BatchClassSectionRepository_deleteClass(classId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteClass = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-category/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", classId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteClass, $async$completer); }, BatchClassSectionRepository_deleteSection(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteSection = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-category/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", sectionId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteSection, $async$completer); }, BatchClassSectionRepository_deleteSubject(subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteSubject = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-subject/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", subjectId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteSubject, $async$completer); }, BatchClassSectionRepository_deleteBatch(batchId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteBatch = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-category/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", batchId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteBatch, $async$completer); }, BatchClassSectionRepository_deleteTeacherFromSubject(teacherSubjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteTeacherFromSubject = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-subject-teacher/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", teacherSubjectId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteTeacherFromSubject, $async$completer); }, BatchClassSectionRepository_deleteStudentFromSection(studentSectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$BatchClassSectionRepository_deleteStudentFromSection = 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._lateReadCheck($.$get$BatchClassSectionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-student/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", studentSectionId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$BatchClassSectionRepository_deleteStudentFromSection, $async$completer); }, AssignmentRepository_getAssignment(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$AssignmentRepository_getAssignment = 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._lateReadCheck($.$get$AssignmentRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-assignment/list", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$AssignmentRepository_getAssignment, $async$completer); }, AssignmentRepository_addAssignment(deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$AssignmentRepository_addAssignment = 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._lateReadCheck($.$get$AssignmentRepository__apiManager().__ApiManager_dio, "dio"); $async$returnValue = t1.post$1$2$data("resource-assignment/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId, "title", title, "instructions", A.stringReplaceAllUnchecked(instructions, "\n", ""), "start_date", startDate, "has_deadline", hasDeadline, "has_marks", hasMarks, "is_published", isPublished, "deadline_by", deadLine, "total_marks", totalMarks], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$AssignmentRepository_addAssignment, $async$completer); }, AssignmentRepository_editAssignment(assignmentId, deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$AssignmentRepository_editAssignment = 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._lateReadCheck($.$get$AssignmentRepository__apiManager().__ApiManager_dio, "dio"); $async$returnValue = t1.put$1$2$data(0, "resource-assignment/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", assignmentId, "resource_id", resourceId, "title", title, "instructions", A.stringReplaceAllUnchecked(instructions, "\n", ""), "start_date", startDate, "has_deadline", hasDeadline, "has_marks", hasMarks, "is_published", isPublished, "deadline_by", deadLine, "total_marks", totalMarks], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$AssignmentRepository_editAssignment, $async$completer); }, AssignmentRepository_deleteAssignment(assignmentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$AssignmentRepository_deleteAssignment = 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._lateReadCheck($.$get$AssignmentRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-assignment/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", assignmentId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$AssignmentRepository_deleteAssignment, $async$completer); }, AssignmentRepository_submitAssignment(assignmentId, materialArray, studentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, t1, payload, token; var $async$AssignmentRepository_submitAssignment = 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; payload = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["assignment_id", assignmentId, "student_id", studentId, "materialArray", materialArray], t1, type$.nullable_Object)); $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getToken$0(), $async$AssignmentRepository_submitAssignment); case 3: // returning from await. token = $async$result; $async$goto = 4; return A._asyncAwait(A.post(A.Uri_parse("https://lms.schoolsnepal.com/api/v1/resource-assignment-submission/save", 0, null), payload, A.LinkedHashMap_LinkedHashMap$_literal(["Accept", "application/json", "Content-Type", "application/json", "Authorization", "Bearer " + token], t1, t1)), $async$AssignmentRepository_submitAssignment); case 4: // 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$AssignmentRepository_submitAssignment, $async$completer); }, AssignmentRepository_listAssignmentSubmitted(assignmentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$AssignmentRepository_listAssignmentSubmitted = 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._lateReadCheck($.$get$AssignmentRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-assignment-submission/list", A.LinkedHashMap_LinkedHashMap$_literal(["assignment_id", assignmentId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$AssignmentRepository_listAssignmentSubmitted, $async$completer); }, AssignmentRepository_addAssignmentMaterial(assignmentId, materialArray) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, t1, payload, token; var $async$AssignmentRepository_addAssignmentMaterial = 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; payload = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["assignment_id", assignmentId, "materialArray", materialArray], t1, type$.nullable_Object)); $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getToken$0(), $async$AssignmentRepository_addAssignmentMaterial); case 3: // returning from await. token = $async$result; $async$goto = 4; return A._asyncAwait(A.post(A.Uri_parse("https://lms.schoolsnepal.com/api/v1/resource-assignment-material/save", 0, null), payload, A.LinkedHashMap_LinkedHashMap$_literal(["Accept", "application/json", "Content-Type", "application/json", "Authorization", "Bearer " + token], t1, t1)), $async$AssignmentRepository_addAssignmentMaterial); case 4: // 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$AssignmentRepository_addAssignmentMaterial, $async$completer); }, CourseContentRepository_getCourseContents(subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$CourseContentRepository_getCourseContents = 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._lateReadCheck($.$get$CourseContentRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "course-content/" + A.S(subjectId), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$CourseContentRepository_getCourseContents, $async$completer); }, CourseContentRepository_getCourseContentDetails(resourceLessonId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$CourseContentRepository_getCourseContentDetails = 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._lateReadCheck($.$get$CourseContentRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "course-content-detail/" + resourceLessonId, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$CourseContentRepository_getCourseContentDetails, $async$completer); }, DictionaryRepository_getTermsQuery(term, token) { return A.DictionaryRepository_getTermsQuery$body(term, token); }, DictionaryRepository_getTermsQuery$body(term, token) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.List_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], response, e, t1, exception, $async$exception; var $async$DictionaryRepository_getTermsQuery = 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 = type$.String; $async$goto = 7; return A._asyncAwait(A.get(A.Uri_parse("https://dictionary.schoolsnepal.com/api/v1/Terms/Query/" + term, 0, null), A.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json", "Authorization", "Bearer " + token], t1, t1)), $async$DictionaryRepository_getTermsQuery); case 7: // returning from await. response = $async$result; t1 = response; t1 = J.$index$asx(B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1.headers).parameters._collection$_map, "charset")).decode$1(0, t1.bodyBytes)), "data"); $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); A.print(e); 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$DictionaryRepository_getTermsQuery, $async$completer); }, DictionaryRepository_getLanguageTermQuery(languageId, token) { return A.DictionaryRepository_getLanguageTermQuery$body(languageId, token); }, DictionaryRepository_getLanguageTermQuery$body(languageId, token) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.List_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], response, t1, exception, $async$exception; var $async$DictionaryRepository_getLanguageTermQuery = 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 = type$.String; $async$goto = 7; return A._asyncAwait(A.get(A.Uri_parse("https://dictionary.schoolsnepal.com/api/v1/Terms/GetAll/" + languageId, 0, null), A.LinkedHashMap_LinkedHashMap$_literal(["Content-Type", "application/json", "Authorization", "Bearer " + token], t1, t1)), $async$DictionaryRepository_getLanguageTermQuery); case 7: // returning from await. response = $async$result; t1 = response; t1 = J.$index$asx(B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1.headers).parameters._collection$_map, "charset")).decode$1(0, t1.bodyBytes)), "data"); $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; 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$DictionaryRepository_getLanguageTermQuery, $async$completer); }, ManageAccountUserRepository_getUserAccountList(searchText, userType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$ManageAccountUserRepository_getUserAccountList = 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; $async$returnValue = A._lateReadCheck($.$get$ManageAccountUserRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("manage-account-user", A.LinkedHashMap_LinkedHashMap$_literal(["user_type", userType, "page", 0, "pageSize", 50, "sorted", [], "filtered", [], "customFiltered", A.LinkedHashMap_LinkedHashMap$_literal(["search_text", searchText], t1, type$.nullable_String)], t1, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$ManageAccountUserRepository_getUserAccountList, $async$completer); }, ManageAccountUserRepository_disableUserAccount(id, isActive) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$ManageAccountUserRepository_disableUserAccount = 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._lateReadCheck($.$get$ManageAccountUserRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("disable-account-user", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "is_active", isActive], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$ManageAccountUserRepository_disableUserAccount, $async$completer); }, ManageAccountUserRepository_changePassword(id, password, sendToEmail, sendToPhone, userType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$ManageAccountUserRepository_changePassword = 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._lateReadCheck($.$get$ManageAccountUserRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("reset-account-user-password", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "password", password, "sendToEmail", sendToEmail, "sendToPhone", sendToPhone, "user_type", userType], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$ManageAccountUserRepository_changePassword, $async$completer); }, NotesRepository_getResourceNoteList(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_getResourceNoteList = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-note/list", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_getResourceNoteList, $async$completer); }, NotesRepository_getNoteCommentList(noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_getNoteCommentList = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-note-comment/list", A.LinkedHashMap_LinkedHashMap$_literal(["note_id", noteId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_getNoteCommentList, $async$completer); }, NotesRepository_addNote(file, note, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_addNote = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-note/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId, "title", title, "file", file, "note", note], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_addNote, $async$completer); }, NotesRepository_addComment(comment, noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_addComment = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-note-comment/save", A.LinkedHashMap_LinkedHashMap$_literal(["note_id", noteId, "comment", comment], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_addComment, $async$completer); }, NotesRepository_editNote(file, note, noteId, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_editNote = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-note/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", noteId, "resource_id", resourceId, "title", title, "file", file, "note", note], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_editNote, $async$completer); }, NotesRepository_editComment(comment, commentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_editComment = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-note-comment/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", commentId, "comment", comment], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_editComment, $async$completer); }, NotesRepository_deleteNote(noteId, resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_deleteNote = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-note/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", noteId, "resource_id", resourceId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_deleteNote, $async$completer); }, NotesRepository_deleteComment(commentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$NotesRepository_deleteComment = 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._lateReadCheck($.$get$NotesRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-note-comment/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", commentId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$NotesRepository_deleteComment, $async$completer); }, QaRepository_getQaList(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$QaRepository_getQaList = 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._lateReadCheck($.$get$QaRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-qa/list", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$QaRepository_getQaList, $async$completer); }, QaRepository_saveQa(resourceId, title, question, answer, isPublished) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$QaRepository_saveQa = 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._lateReadCheck($.$get$QaRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-qa/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId, "title", title, "question", question, "answer", answer, "is_published", isPublished], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$QaRepository_saveQa, $async$completer); }, QaRepository_updateQa(id, resourceId, title, question, answer, isPublished) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$QaRepository_updateQa = 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._lateReadCheck($.$get$QaRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-qa/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "resource_id", resourceId, "title", title, "question", question, "answer", answer, "is_published", isPublished], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$QaRepository_updateQa, $async$completer); }, QaRepository_deleteQa(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$QaRepository_deleteQa = 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._lateReadCheck($.$get$QaRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-qa/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", id], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$QaRepository_deleteQa, $async$completer); }, ResourceLessonRepository_addRes($content, fileName, fileSize, fileType, files, isFile, isPublished, materialType, resourceId, source, sourceLink, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, t1, t2, t3, t4, t5, payload, token; var $async$ResourceLessonRepository_addRes = 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 = B.JSInt_methods.toString$0(resourceId); t2 = isPublished ? "1" : "0"; t3 = J.toString$0$(fileSize); t4 = isFile ? "1" : "0"; t5 = type$.String; payload = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["content", $content, "resource_id", t1, "material_type", materialType, "title", title, "is_published", t2, "file_name", fileName, "file_size", t3, "file_type", fileType, "source_text", source, "source_link", sourceLink, "is_file", t4, "files", files], t5, type$.nullable_String)); $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getToken$0(), $async$ResourceLessonRepository_addRes); case 3: // returning from await. token = $async$result; $async$goto = 4; return A._asyncAwait(A.post(A.Uri_parse("https://lms.schoolsnepal.com/api/v1/resource-lesson/save", 0, null), payload, A.LinkedHashMap_LinkedHashMap$_literal(["Accept", "application/json", "Content-Type", "application/json", "Authorization", "Bearer " + token], t5, t5)), $async$ResourceLessonRepository_addRes); case 4: // 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$ResourceLessonRepository_addRes, $async$completer); }, ResourceMaterialRepository_updateResourceMaterial(caption, $content, fileName, fileSize, fileType, files, id, isFile, isPublished, materialId, materialType, source, sourceLink, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response), $async$returnValue, t1, payload, token; var $async$ResourceMaterialRepository_updateResourceMaterial = 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; payload = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "material_id", materialId, "material_type", materialType, "is_published", isPublished, "content", $content, "title", title, "caption", caption, "source_text", source, "source_link", sourceLink, "is_file", isFile, "file_name", fileName, "file_size", J.toString$0$(fileSize), "file_type", fileType, "files", files], t1, type$.nullable_Object)); $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getToken$0(), $async$ResourceMaterialRepository_updateResourceMaterial); case 3: // returning from await. token = $async$result; $async$goto = 4; return A._asyncAwait(A.put(A.Uri_parse("https://lms.schoolsnepal.com/api/v1/resource-material/update", 0, null), payload, A.LinkedHashMap_LinkedHashMap$_literal(["Accept", "application/json", "Content-Type", "application/json", "Authorization", "Bearer " + token], t1, t1)), $async$ResourceMaterialRepository_updateResourceMaterial); case 4: // 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$ResourceMaterialRepository_updateResourceMaterial, $async$completer); }, RoutineRepository_getTeacherRoutine() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t2, t3, _routineToken, t1; var $async$RoutineRepository_getTeacherRoutine = 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$locator().call$1$0(type$.SharedPref).readStringValue$1("routineToken"), $async$RoutineRepository_getTeacherRoutine); case 3: // returning from await. _routineToken = $async$result; t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.id; t1.toString; t2 = type$.String; t3 = type$.dynamic; $async$returnValue = A._lateReadCheck($.$get$RoutineRepository__apiManager().__RoutineManager_routineDio, "routineDio").post$1$3$data$options("routine/teacher", A.LinkedHashMap_LinkedHashMap$_literal(["remote_id", t1], t2, type$.int), A.Options$(A.LinkedHashMap_LinkedHashMap$_literal(["Authorization", "Bearer " + _routineToken], t2, t3)), t3); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$RoutineRepository_getTeacherRoutine, $async$completer); }, RoutineRepository_getStudentRoutine() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, _routineToken, t1, t2; var $async$RoutineRepository_getStudentRoutine = 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$locator().call$1$0(type$.SharedPref).readStringValue$1("routineToken"), $async$RoutineRepository_getStudentRoutine); case 3: // returning from await. _routineToken = $async$result; t1 = type$.String; t2 = type$.dynamic; $async$returnValue = A._lateReadCheck($.$get$RoutineRepository__apiManager().__RoutineManager_routineDio, "routineDio").post$1$3$data$options("routine/student", A.LinkedHashMap_LinkedHashMap$_literal(["grade_id", 13, "section_id", 10], t1, type$.int), A.Options$(A.LinkedHashMap_LinkedHashMap$_literal(["Authorization", "Bearer " + _routineToken], t1, t2)), t2); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$RoutineRepository_getStudentRoutine, $async$completer); }, StudentTestRepository_addStudentTestDetail(currentQuestionId, isComplete, startDate, studentId, testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$StudentTestRepository_addStudentTestDetail = 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._lateReadCheck($.$get$StudentTestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student-test/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_test_id", testId, "student_id", studentId, "start_date", startDate, "is_complete", false, "current_question_id", currentQuestionId], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$StudentTestRepository_addStudentTestDetail, $async$completer); }, StudentTestRepository_addStudentTestAnswer(currentQuestionId, isCompleted, optionId, questionId, studentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$StudentTestRepository_addStudentTestAnswer = 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; $async$returnValue = A._lateReadCheck($.$get$StudentTestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student-test-answer/save", A.LinkedHashMap_LinkedHashMap$_literal(["0", A.LinkedHashMap_LinkedHashMap$_literal(["resource_student_test_id", studentId, "resource_question_id", questionId, "option_id", optionId, "is_complete", isCompleted, "current_question_id", currentQuestionId], t1, type$.nullable_Object)], t1, type$.Map_of_String_and_nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$StudentTestRepository_addStudentTestAnswer, $async$completer); }, StudentTestRepository_listStudentTest(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$StudentTestRepository_listStudentTest = 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._lateReadCheck($.$get$StudentTestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student-test/list", A.LinkedHashMap_LinkedHashMap$_literal(["test_id", testId], type$.String, type$.int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$StudentTestRepository_listStudentTest, $async$completer); }, StudentTestRepository_listStudentTestAnswer(studentId, testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$StudentTestRepository_listStudentTestAnswer = 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$.dynamic; $async$returnValue = A._lateReadCheck($.$get$StudentTestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-student-test-answer/list", A.LinkedHashMap_LinkedHashMap$_literal(["test_id", testId, "student_id", studentId], type$.String, t1), t1); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$StudentTestRepository_listStudentTestAnswer, $async$completer); }, SubjectRepository_getTeacherSubjects(userId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$SubjectRepository_getTeacherSubjects = 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._lateReadCheck($.$get$SubjectRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-teacher-subject/" + A.S(userId), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SubjectRepository_getTeacherSubjects, $async$completer); }, SubjectRepository_getStudentSubjects(resouceCategoryId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$SubjectRepository_getStudentSubjects = 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._lateReadCheck($.$get$SubjectRepository__apiManager().__ApiManager_dio, "dio").$get$1$1(0, "get-subject/" + resouceCategoryId, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$SubjectRepository_getStudentSubjects, $async$completer); }, TestQuestionRepository_listTestQuestion(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestQuestionRepository_listTestQuestion = 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._lateReadCheck($.$get$TestQuestionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-test-question/list", A.LinkedHashMap_LinkedHashMap$_literal(["test_id", testId, "page", 0, "page_size", 1], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestQuestionRepository_listTestQuestion, $async$completer); }, TestQuestionRepository_addTestQuestion(question, quizCode, quizOptionArray, quizTypeId, solution, testId, weight) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestQuestionRepository_addTestQuestion = 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._lateReadCheck($.$get$TestQuestionRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-test-question/save", A.LinkedHashMap_LinkedHashMap$_literal(["test_id", testId, "question", question, "quiz_code", quizCode, "quiz_type_id", quizTypeId, "weight", weight, "solution", solution, "quizOptionArray", quizOptionArray], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestQuestionRepository_addTestQuestion, $async$completer); }, TestQuestionRepository_editTestQuestion(id, question, questionId, quizCode, quizOptionArray, quizTypeId, solution, testId, weight) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestQuestionRepository_editTestQuestion = 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._lateReadCheck($.$get$TestQuestionRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-test-question/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "question_id", questionId, "test_id", testId, "question", question, "quiz_code", quizCode, "quiz_type_id", quizTypeId, "weight", weight, "solution", solution, "quizOptionArray", quizOptionArray], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestQuestionRepository_editTestQuestion, $async$completer); }, TestQuestionRepository_deleteTestQuestion(id, questionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestQuestionRepository_deleteTestQuestion = 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._lateReadCheck($.$get$TestQuestionRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-test-question/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "question_id", questionId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestQuestionRepository_deleteTestQuestion, $async$completer); }, TestRepository_listTest(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestRepository_listTest = 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._lateReadCheck($.$get$TestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-test/list", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestRepository_listTest, $async$completer); }, TestRepository_addTest(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestRepository_addTest = 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._lateReadCheck($.$get$TestRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource-test/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_id", resourceId, "title", title, "instructions", instruction, "start_date", startDate, "has_deadline", hasDeadline, "can_skip_question", canSkipQuestion, "show_obtained_marks", showObtainedMarks, "show_marks_in_question", showMarksInQuestion, "is_published", isPublished, "deadline_by", deadLineBy], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestRepository_addTest, $async$completer); }, TestRepository_editTest(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, testId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestRepository_editTest = 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._lateReadCheck($.$get$TestRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-test/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", testId, "title", title, "resource_id", resourceId, "instructions", instruction, "start_date", startDate, "has_deadline", hasDeadline, "can_skip_question", canSkipQuestion, "show_obtained_marks", showObtainedMarks, "show_marks_in_question", showMarksInQuestion, "is_published", isPublished, "deadline_by", deadLineBy, "has_marks", 0], type$.String, type$.nullable_Object), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestRepository_editTest, $async$completer); }, TestRepository_deleteTest(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue; var $async$TestRepository_deleteTest = 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._lateReadCheck($.$get$TestRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-test/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", testId], type$.String, type$.nullable_int), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$TestRepository_deleteTest, $async$completer); }, UserRepository_userLogin(password, userName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, t1; var $async$UserRepository_userLogin = 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; $async$returnValue = A._lateReadCheck($.$get$UserRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("login", A.LinkedHashMap_LinkedHashMap$_literal(["email", userName, "password", password], t1, t1), type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$UserRepository_userLogin, $async$completer); }, showToaster(message, toastColor) { var context, t2, t3, _null = null, t1 = A.Duration$(0, 0, 0, 0, 2); $.$get$locator().call$1$0(type$.NavigationService); context = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._ToastTheme); if (t2 == null) t2 = B._ToastTheme_YiR; t3 = A.BorderRadius$circular(t2.radius); A.showToastWidget(A.Container$(_null, A.ClipRect$(A.Text$(message, _null, _null, _null, _null, t2.textStyle, t2.textAlign, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(toastColor, _null, _null, t3, _null, _null, B.BoxShape_0), _null, _null, _null, B.EdgeInsets_50_50_50_50, t2.textPadding, _null, _null, _null), _null, _null, _null, context, _null, t1, _null, B.ToastPosition_Alignment_0_m1_75, t2.textDirection); }, filePickerWithFFI() { return A.throwExpression(A.UnimplementedError$("Unsupported")); }, FlexPickerNoNullColorExtensions_get_hexAlpha(_this) { return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(_this.get$value(_this), 16).toUpperCase(), 8, "0"); }, FlexPickerNoNullColorExtensions_get_hex(_this) { return B.JSString_methods.substring$1(B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(_this.get$value(_this), 16).toUpperCase(), 8, "0"), 2); }, FlexPickerNoNullStringExtensions_toColorShort(_this, enableShortRGB) { var hexColor, t1, t2, $length; if (_this === "") return B.Color_4278190080; if (_this.length > 200) return B.Color_4278190080; hexColor = A.stringReplaceAllUnchecked(_this, "#", ""); if (hexColor === "") return B.Color_4278190080; hexColor = A.stringReplaceAllUnchecked(hexColor, " ", ""); if (hexColor === "") return B.Color_4278190080; hexColor = A.stringReplaceAllUnchecked(hexColor, "0x", ""); if (hexColor === "") return B.Color_4278190080; if (hexColor.length === 3 && enableShortRGB) { t1 = hexColor[0]; t1 += t1; t2 = hexColor[1]; t2 = t1 + t2 + t2; t1 = hexColor[2]; hexColor = t2 + t1 + t1; } hexColor = B.JSString_methods.padLeft$2(B.JSString_methods.padLeft$2(hexColor, 6, "0"), 8, "F"); $length = hexColor.length; t1 = A.Primitives_parseInt("0x" + B.JSString_methods.substring$2(hexColor, $length - 8, $length), null); return new A.Color((t1 == null ? 4278190080 : t1) >>> 0); }, FlexPickerNullableStringExtensions_toColorShortMaybeNull(_this, enableShortRGB) { var t2, hexColor, $length, intColor, _null = null, t1 = _this == null; if (t1 || _this === "") return _null; t2 = t1 ? _null : _this.length; if ((t2 == null ? 200 : t2) > 200) return _null; if (t1) hexColor = _null; else { t1 = A.stringReplaceAllUnchecked(_this, "#", ""); hexColor = t1; } if (hexColor == null) hexColor = ""; if (hexColor === "") return _null; hexColor = A.stringReplaceAllUnchecked(hexColor, " ", ""); if (hexColor === "") return _null; hexColor = A.stringReplaceAllUnchecked(hexColor, "0x", ""); if (hexColor === "") return _null; if (hexColor.length === 3 && enableShortRGB) { t1 = hexColor[0]; t1 += t1; t2 = hexColor[1]; t2 = t1 + t2 + t2; t1 = hexColor[2]; hexColor = t2 + t1 + t1; } hexColor = B.JSString_methods.padLeft$2(B.JSString_methods.padLeft$2(hexColor, 6, "0"), 8, "F"); $length = hexColor.length; intColor = A.Primitives_parseInt("0x" + B.JSString_methods.substring$2(hexColor, $length - 8, $length), _null); return intColor != null ? new A.Color(intColor >>> 0) : _null; }, platformControlKey(platform, key) { switch (platform.index) { case 0: case 2: case 1: return ""; case 3: case 5: return " (CTRL-" + key + ")"; case 4: return " (CMD-" + key + ")"; } }, findColorInSelector(color, include850, lookInShades, pickersEnabled, typeToSwatchMap) { var t1, t2, t3, t4; for (t1 = typeToSwatchMap.get$keys(typeToSwatchMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = pickersEnabled.$index(0, t2); t3.toString; if (t3) { t3 = typeToSwatchMap.$index(0, t2); t3.toString; t3 = J.get$iterator$ax(t3); for (; t3.moveNext$0();) { t4 = t3.get$current(t3); if (A.isShadeOfMain(t4, color, false)) return t2; } } } for (t1 = typeToSwatchMap.get$keys(typeToSwatchMap), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = pickersEnabled.$index(0, t2); t3.toString; if (t3) return t2; } return B.ColorPickerType_1; }, findColorSwatch(color, swatches, include850) { var t1, t2; for (t1 = J.get$iterator$ax(swatches); t1.moveNext$0();) { t2 = t1.get$current(t1); if (A.isShadeOfMain(t2, color, false)) return t2; } return null; }, isShadeOfMain(mainColor, shadeColor, include850) { var t1, t2, t3, _i, shade; for (t1 = A.getMaterialColorShades(mainColor, false), t2 = t1.length, t3 = shadeColor.value, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { shade = t1[_i]; if (shade.$eq(0, shadeColor) || shade.get$value(shade) === t3) return true; } return false; }, getMaterialColorShades(color, include850) { var t3, t1 = A._setArrayType([], type$.JSArray_Color), t2 = color._swatch; if (t2.$index(0, 50) != null) { t3 = t2.$index(0, 50); t3.toString; t1.push(t3); } if (t2.$index(0, 100) != null) { t3 = t2.$index(0, 100); t3.toString; t1.push(t3); } if (t2.$index(0, 200) != null) { t3 = t2.$index(0, 200); t3.toString; t1.push(t3); } if (t2.$index(0, 300) != null) { t3 = t2.$index(0, 300); t3.toString; t1.push(t3); } if (t2.$index(0, 400) != null) { t3 = t2.$index(0, 400); t3.toString; t1.push(t3); } if (t2.$index(0, 500) != null) { t3 = t2.$index(0, 500); t3.toString; t1.push(t3); } if (t2.$index(0, 600) != null) { t3 = t2.$index(0, 600); t3.toString; t1.push(t3); } if (t2.$index(0, 700) != null) { t3 = t2.$index(0, 700); t3.toString; t1.push(t3); } if (t2.$index(0, 800) != null) { t3 = t2.$index(0, 800); t3.toString; t1.push(t3); } t2.$index(0, 850); if (t2.$index(0, 900) != null) { t2 = t2.$index(0, 900); t2.toString; t1.push(t2); } return t1; }, compute(callback, message, debugLabel, $Q, $R) { return A.compute$body(callback, message, debugLabel, $Q, $R, $R); }, compute$body(callback, message, debugLabel, $Q, $R, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue; var $async$compute = 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(null, $async$compute); 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$compute, $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; }, listEquals0(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); }, _synthesiseDownButtons(buttons, kind) { switch (kind.index) { case 1: return buttons; case 0: case 2: case 3: return buttons === 0 ? 1 : buttons; case 4: return buttons === 0 ? 1 : buttons; } }, PointerEventConverter_expand($async$data, $async$devicePixelRatio) { return A._makeSyncStarIterable(function() { var data = $async$data, devicePixelRatio = $async$devicePixelRatio; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, _i, datum, position, delta, radiusMinor, radiusMajor, radiusMin, radiusMax, timeStamp, kind, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11; return function $async$PointerEventConverter_expand($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 = data.length, _i = 0; case 2: // for condition if (!(_i < data.length)) { // goto after for $async$goto = 4; break; } datum = data[_i]; position = new A.Offset(datum.physicalX / devicePixelRatio, datum.physicalY / devicePixelRatio); delta = new A.Offset(datum.physicalDeltaX / devicePixelRatio, datum.physicalDeltaY / 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; $async$goto = t2 == null || t2 === B.PointerSignalKind_0 ? 5 : 7; break; case 5: // then case 8: // switch switch (datum.change.index) { case 1: // goto case $async$goto = 10; break; case 3: // goto case $async$goto = 11; break; case 4: // goto case $async$goto = 12; break; case 5: // goto case $async$goto = 13; break; case 6: // goto case $async$goto = 14; break; case 0: // goto case $async$goto = 15; break; case 2: // goto case $async$goto = 16; break; default: // goto after switch $async$goto = 9; break; } break; case 10: // case t2 = datum.device; t3 = datum.pressureMin; t4 = datum.pressureMax; $async$goto = 17; return A.PointerAddedEvent$(t2, datum.distance, datum.distanceMax, 0, kind, false, datum.orientation, position, t4, t3, radiusMax, radiusMin, datum.tilt, timeStamp); case 17: // after yield // goto after switch $async$goto = 9; break; case 11: // case t2 = datum.device; t3 = datum.buttons; t4 = datum.pressureMin; t5 = datum.pressureMax; t6 = datum.distance; t7 = datum.distanceMax; t8 = datum.size; t9 = datum.orientation; t10 = datum.tilt; $async$goto = 18; return A.PointerHoverEvent$(t3, delta, t2, t6, t7, 0, kind, false, t9, position, t5, t4, radiusMajor, radiusMax, radiusMin, radiusMinor, t8, datum.synthesized, t10, timeStamp); case 18: // after yield // goto after switch $async$goto = 9; break; case 12: // case t2 = datum.pointerIdentifier; t3 = datum.device; t4 = A._synthesiseDownButtons(datum.buttons, kind); t5 = datum.pressure; t6 = datum.pressureMin; t7 = datum.pressureMax; t8 = datum.distanceMax; t9 = datum.size; $async$goto = 19; return A.PointerDownEvent$(t4, t3, t8, 0, kind, false, datum.orientation, t2, position, t5, t7, t6, radiusMajor, radiusMax, radiusMin, radiusMinor, t9, datum.tilt, timeStamp); case 19: // after yield // goto after switch $async$goto = 9; break; case 13: // case t2 = datum.pointerIdentifier; t3 = datum.device; t4 = A._synthesiseDownButtons(datum.buttons, kind); t5 = datum.pressure; t6 = datum.pressureMin; t7 = datum.pressureMax; t8 = datum.distanceMax; t9 = datum.size; t10 = datum.orientation; t11 = datum.tilt; $async$goto = 20; return A.PointerMoveEvent$(t4, delta, t3, t8, 0, kind, false, t10, datum.platformData, t2, position, t5, t7, t6, radiusMajor, radiusMax, radiusMin, radiusMinor, t9, datum.synthesized, t11, timeStamp); case 20: // after yield // goto after switch $async$goto = 9; break; case 14: // case t2 = datum.pointerIdentifier; t3 = datum.device; t4 = datum.buttons; t5 = datum.pressure; t6 = datum.pressureMin; t7 = datum.pressureMax; t8 = datum.distance; t9 = datum.distanceMax; t10 = datum.size; $async$goto = 21; return A.PointerUpEvent$(t4, t3, t8, t9, 0, kind, false, datum.orientation, t2, position, t5, t7, t6, radiusMajor, radiusMax, radiusMin, radiusMinor, t10, datum.tilt, timeStamp); case 21: // after yield // goto after switch $async$goto = 9; break; case 15: // case t2 = datum.pointerIdentifier; t3 = datum.device; t4 = datum.buttons; t5 = datum.pressureMin; t6 = datum.pressureMax; t7 = datum.distance; t8 = datum.distanceMax; t9 = datum.size; $async$goto = 22; return A.PointerCancelEvent$(t4, t3, t7, t8, 0, kind, false, datum.orientation, t2, position, t6, t5, radiusMajor, radiusMax, radiusMin, radiusMinor, t9, datum.tilt, timeStamp); case 22: // after yield // goto after switch $async$goto = 9; break; case 16: // case t2 = datum.device; t3 = datum.pressureMin; t4 = datum.pressureMax; $async$goto = 23; return A.PointerRemovedEvent$(t2, datum.distanceMax, 0, kind, false, position, t4, t3, radiusMax, radiusMin, timeStamp); case 23: // after yield // goto after switch $async$goto = 9; break; case 9: // after switch // goto join $async$goto = 6; break; case 7: // else case 24: // switch switch (t2.index) { case 1: // goto case $async$goto = 26; break; case 0: // goto case $async$goto = 27; break; case 2: // goto case $async$goto = 28; break; default: // goto after switch $async$goto = 25; break; } break; case 26: // case t2 = datum.scrollDeltaX; t3 = datum.scrollDeltaY; $async$goto = 29; return A.PointerScrollEvent$(datum.device, 0, kind, position, new A.Offset(t2 / devicePixelRatio, t3 / devicePixelRatio), timeStamp); case 29: // after yield // goto after switch $async$goto = 25; break; case 27: // case // goto after switch $async$goto = 25; break; case 28: // case // goto after switch $async$goto = 25; break; case 25: // after switch case 6: // join case 3: // for update data.length === t1 || (0, A.throwConcurrentModificationError)(data), ++_i; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.PointerEvent_2); }, ElevationOverlay_applyOverlay(context, color, elevation) { A.Theme_of(context); elevation > 0; return color; }, positionDependentBox(childSize, preferBelow, size, target, verticalOffset) { var fitsAbove, tooltipBelow, y, x, normalizedTargetX, edge, t1 = target._dy, t2 = t1 + verticalOffset, t3 = childSize._dy, t4 = size._dy - 10, fitsBelow = t2 + t3 <= t4; t3 = t1 - verticalOffset - t3; fitsAbove = t3 >= 10; if (preferBelow) tooltipBelow = fitsBelow || !fitsAbove; else tooltipBelow = !(fitsAbove || !fitsBelow); y = tooltipBelow ? Math.min(t2, t4) : Math.max(t3, 10); t1 = size._dx; t2 = childSize._dx; if (t1 - 20 < t2) x = (t1 - t2) / 2; else { t3 = t1 - 10; normalizedTargetX = B.JSNumber_methods.clamp$2(target._dx, 10, t3); t4 = t2 / 2; edge = 10 + t4; if (normalizedTargetX < edge) x = 10; else x = normalizedTargetX > t1 - edge ? t3 - t2 : normalizedTargetX - t4; } return new A.Offset(x, y); }, MatrixUtils_getAsTranslation(transform) { var values = transform._m4storage; if (values[0] === 1 && values[1] === 0 && values[2] === 0 && values[3] === 0 && values[4] === 0 && values[5] === 1 && values[6] === 0 && values[7] === 0 && values[8] === 0 && values[9] === 0 && values[10] === 1 && values[11] === 0 && values[14] === 0 && values[15] === 1) return new A.Offset(values[12], values[13]); return null; }, MatrixUtils_matrixEquals(a, b) { var t1, t2; if (a === b) return true; if (a == null) return A.MatrixUtils_isIdentity(b); t1 = a._m4storage; t2 = b._m4storage; return t1[0] === t2[0] && t1[1] === t2[1] && t1[2] === t2[2] && t1[3] === t2[3] && t1[4] === t2[4] && t1[5] === t2[5] && t1[6] === t2[6] && t1[7] === t2[7] && t1[8] === t2[8] && t1[9] === t2[9] && t1[10] === t2[10] && t1[11] === t2[11] && t1[12] === t2[12] && t1[13] === t2[13] && t1[14] === t2[14] && t1[15] === t2[15]; }, MatrixUtils_isIdentity(a) { var t1 = a._m4storage; return t1[0] === 1 && t1[1] === 0 && t1[2] === 0 && t1[3] === 0 && t1[4] === 0 && t1[5] === 1 && t1[6] === 0 && t1[7] === 0 && t1[8] === 0 && t1[9] === 0 && t1[10] === 1 && t1[11] === 0 && t1[12] === 0 && t1[13] === 0 && t1[14] === 0 && t1[15] === 1; }, MatrixUtils_transformPoint(transform, point) { var storage = transform._m4storage, x = point._dx, y = point._dy, rx = storage[0] * x + storage[4] * y + storage[12], ry = storage[1] * x + storage[5] * y + storage[13], rw = storage[3] * x + storage[7] * y + storage[15]; if (rw === 1) return new 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._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.Matrix4(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.Matrix4(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) { var t1; child.layout$2$parentUsesSize(0, constraints, true); t1 = child._size; t1.toString; return t1; }, SemanticsService_announce(message, textDirection) { 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, "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_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); }, 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($location, replace, state) { return B.OptionalMethodChannel_qNA.invokeMethod$1$2("routeInformationUpdated", A.LinkedHashMap_LinkedHashMap$_literal(["location", $location, "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; }, LayoutGridExtensionsForBoxConstraints_constraintsForGridFit(_this, gridFit) { var t1; switch (gridFit.index) { case 0: t1 = B.JSInt_methods.clamp$2(1 / 0, _this.minWidth, _this.maxWidth); return A.BoxConstraints$tightForFinite(B.JSInt_methods.clamp$2(1 / 0, _this.minHeight, _this.maxHeight), t1); case 1: return new A.BoxConstraints(0, _this.maxWidth, 0, _this.maxHeight); case 2: return _this; } }, getSpacingSize(left, right, style) { var t1; if (style.index >= 4) { t1 = B.Map_OkW7z.$index(0, left); t1 = t1 == null ? null : t1.$index(0, right); } else { t1 = B.Map_OkCxF.$index(0, left); t1 = t1 == null ? null : t1.$index(0, right); } return t1 == null ? B.Measurement_0_Unit_0 : t1; }, getHLines(parser) { var next, next0, hlineInfo = A._setArrayType([], type$.JSArray_MatrixSeparatorStyle); parser.consumeSpaces$0(); next = parser.fetch$0(0).text; while (true) { if (!(next === "\\hline" || next === "\\hdashline")) break; parser.nextToken = null; hlineInfo.push(next === "\\hdashline" ? B.MatrixSeparatorStyle_1 : B.MatrixSeparatorStyle_0); parser.consumeSpaces$0(); next0 = parser.fetch$0(0).text; next = next0; } return hlineInfo; }, parseArray(parser, arrayStretch, colAligns, hskipBeforeAndAfter, isSmall, separators, style) { var stretch, row, body, rowGaps, hLinesBeforeRow, t6, cellBody, next, t7, _null = null, t1 = parser.macroExpander, t2 = t1.macros, t3 = t2.undefStack, t4 = type$.String, t5 = t2.$ti._eval$1("1?"); t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); t2.$set$2(0, "\\\\", A.MacroDefinition$fromString("\\cr")); if (arrayStretch == null) { stretch = t1.expandMacroAsText$1("\\arraystretch"); if (stretch == null) arrayStretch = 1; else { arrayStretch = A.Primitives_parseDouble(stretch); if (arrayStretch == null || arrayStretch < 0) throw A.wrapException(A.ParseException$("Invalid \\arraystretch: " + stretch, _null)); } } t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); t1 = type$.JSArray_EquationRowNode; row = A._setArrayType([], t1); body = A._setArrayType([row], type$.JSArray_List_EquationRowNode); rowGaps = A._setArrayType([], type$.JSArray_Measurement); hLinesBeforeRow = A._setArrayType([], type$.JSArray_MatrixSeparatorStyle); t6 = A.IterableExtension_get_lastOrNull(A.getHLines(parser)); hLinesBeforeRow.push(t6 == null ? B.MatrixSeparatorStyle_2 : t6); for (t6 = type$.CrNode; true;) { cellBody = parser.parseExpression$2$breakOnInfix$breakOnTokenText(false, "\\cr"); t2.endGroup$0(); t3.push(A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); row.push(A.GreenNodeWrappingExt_wrapWithEquationRow(A.StyleNode$(cellBody, new A.OptionsDiff(style, _null, _null, _null, _null)))); next = parser.fetch$0(0).text; if (next === "&") parser.nextToken = null; else if (next === "\\end") { if (row.length === 1 && cellBody.length === 0) body.pop(); if (hLinesBeforeRow.length < body.length + 1) hLinesBeforeRow.push(B.MatrixSeparatorStyle_2); break; } else if (next === "\\cr") { t7 = A.assertNodeType(parser.parseFunction$3(_null, _null, _null), t6).size; rowGaps.push(t7 == null ? B.Measurement_0_Unit_0 : t7); t7 = A.IterableExtension_get_lastOrNull(A.getHLines(parser)); hLinesBeforeRow.push(t7 == null ? B.MatrixSeparatorStyle_2 : t7); row = A._setArrayType([], t1); body.push(row); } else throw A.wrapException(A.ParseException$("Expected & or \\\\ or \\cr or \\end", parser.nextToken)); } t2.endGroup$0(); t2.endGroup$0(); return A.MatrixNode_MatrixNode(arrayStretch, body, colAligns, hLinesBeforeRow, hskipBeforeAndAfter, isSmall, rowGaps, separators); }, _arrayHandler(parser, context) { var t1, t2, alignSpecified, lastIsSeparator, ca, t3, symArg = parser.parseArgNode$2$mode$optional(null, false), colalign = symArg instanceof A.SymbolNode ? A._setArrayType([symArg], type$.JSArray_SymbolNode) : A.assertNodeType(symArg, type$.EquationRowNode).children, separators = A._setArrayType([], type$.JSArray_MatrixSeparatorStyle), aligns = A._setArrayType([], type$.JSArray_MatrixColumnAlign); for (t1 = J.get$iterator$ax(colalign), t2 = type$.SymbolNode, alignSpecified = true, lastIsSeparator = false; t1.moveNext$0();) { ca = A.assertNodeType(t1.get$current(t1), t2).symbol; switch (ca) { case "l": case "c": case "r": t3 = B.Map_R4VoY.$index(0, ca); t3.toString; aligns.push(t3); if (alignSpecified) separators.push(B.MatrixSeparatorStyle_2); alignSpecified = true; lastIsSeparator = false; break; case "|": case ":": if (alignSpecified) { t3 = B.Map_xw8TW.$index(0, ca); t3.toString; separators.push(t3); } alignSpecified = false; lastIsSeparator = true; break; default: throw A.wrapException(A.ParseException$("Unknown column alignment: " + ca, null)); } } if (!lastIsSeparator) separators.push(B.MatrixSeparatorStyle_2); return A.parseArray(parser, null, aligns, true, false, separators, B.JSString_methods.substring$2(context.envName, 0, 1) === "d" ? B.MathStyle_0 : B.MathStyle_2); }, _matrixHandler(parser, context) { var t2, t1 = context.envName, delimiters = B.Map_IEdwh.$index(0, t1), res = A.parseArray(parser, null, B.List_empty23, false, false, B.List_empty22, B.JSString_methods.substring$2(t1, 0, 1) === "d" ? B.MathStyle_0 : B.MathStyle_2); if (delimiters == null) t1 = res; else { t1 = delimiters[0]; t2 = delimiters[1]; t2 = A.LeftRightNode$(A._setArrayType([A.GreenNodeListWrappingExt_wrapWithEquationRow(A._setArrayType([res], type$.JSArray_MatrixNode))], type$.JSArray_EquationRowNode), t1, B.List_empty21, t2); t1 = t2; } return t1; }, _smallMatrixHandler(parser, context) { return A.parseArray(parser, 0.5, B.List_empty23, false, true, B.List_empty22, B.MathStyle_4); }, _subArrayHandler(parser, context) { var t1, t2, ca, t3, res, _null = null, _s38_ = "{subarray} can contain only one column", symArg = parser.parseArgNode$2$mode$optional(_null, false), colalign = symArg instanceof A.SymbolNode ? A._setArrayType([symArg], type$.JSArray_SymbolNode) : A.assertNodeType(symArg, type$.EquationRowNode).children, aligns = A._setArrayType([], type$.JSArray_MatrixColumnAlign); for (t1 = J.get$iterator$ax(colalign), t2 = type$.SymbolNode; t1.moveNext$0();) { ca = A.assertNodeType(t1.get$current(t1), t2).symbol; t3 = ca === "l"; if (t3 || ca === "c") aligns.push(t3 ? B.MatrixColumnAlign_0 : B.MatrixColumnAlign_1); else throw A.wrapException(A.ParseException$("Unknown column alignment: " + ca, _null)); } if (aligns.length > 1) throw A.wrapException(A.ParseException$(_s38_, _null)); res = A.parseArray(parser, 0.5, aligns, false, false, B.List_empty22, B.MathStyle_4); if (J.get$length$asx(J.$index$asx(res.body, 0)) > 1) throw A.wrapException(A.ParseException$(_s38_, _null)); return res; }, _notHandler(parser, context) { var node, remappedSymbol, t1 = parser.parseArgNode$2$mode$optional(null, false); t1.toString; node = A.assertNodeType(t1, type$.SymbolNode); remappedSymbol = B.Map_AekGu.$index(0, node.symbol); if (node.mode !== B.Mode_0 || node.variantForm || remappedSymbol == null) throw A.wrapException(A.ParseException$("\\not has to be followed by a combinable character", null)); return node.withSymbol$1(remappedSymbol); }, staticSvg($name, options, needBaseline) { var width, height, viewPortWidth, viewPortHeight, t1, svgWidget, dimen = B.Map_7N4m4.$index(0, $name); if (dimen == null) throw A.wrapException(A.ArgumentError$value($name, "name", "Invalid static svg name")); width = dimen[0]; height = dimen[1]; viewPortWidth = new A.Measurement(width, B.Unit_16).toLpUnder$1(options); viewPortHeight = new A.Measurement(height, B.Unit_16).toLpUnder$1(options); t1 = B.Map_f0FYo.$index(0, $name); t1.toString; svgWidget = A.svgWidgetFromPath(t1, new A.Size(viewPortWidth, viewPortHeight), new A.Rect(0, 0, 0 + 1000 * width, 0 + 1000 * height), options.color, B.Alignment_m1_m1, B.BoxFit_0); if (needBaseline) return new A.ResetBaseline(viewPortHeight, svgWidget, null); return svgWidget; }, sqrtPath(size, extraViniculum, viewBoxHeight) { var t1, path; extraViniculum = 1000 * extraViniculum; switch (size) { case "sqrtMain": t1 = 40 + extraViniculum; path = "M95," + (622 + extraViniculum + 80) + "\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl" + A.S(extraViniculum / 2.075) + " -" + extraViniculum + "\nc5.3,-9.3,12,-14,20,-14\nH400000v" + t1 + "H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM" + (834 + extraViniculum) + " 80h400000v" + t1 + "h-400000z"; break; case "sqrtSize1": t1 = 40 + extraViniculum; path = "M263," + (601 + extraViniculum + 80) + "c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl" + A.S(extraViniculum / 2.084) + " -" + extraViniculum + "\nc4.7,-7.3,11,-11,19,-11\nH40000v" + t1 + "H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM" + (1001 + extraViniculum) + " 80h400000v" + t1 + "h-400000z"; break; case "sqrtSize2": t1 = 40 + extraViniculum; path = "M983 " + (10 + extraViniculum + 80) + "\nl" + A.S(extraViniculum / 3.13) + " -" + extraViniculum + "\nc4,-6.7,10,-10,18,-10 H400000v" + t1 + "\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM" + (1001 + extraViniculum) + " 80h400000v" + t1 + "h-400000z"; break; case "sqrtSize3": t1 = 40 + extraViniculum; path = "M424," + (2398 + extraViniculum + 80) + "\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl" + A.S(extraViniculum / 4.223) + " -" + extraViniculum + "c4,-6.7,10,-10,18,-10 H400000\nv" + t1 + "H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M" + (1001 + extraViniculum) + " 80\nh400000v" + t1 + "h-400000z"; break; case "sqrtSize4": t1 = 40 + extraViniculum; path = "M473," + (2713 + extraViniculum + 80) + "\nc339.3,-1799.3,509.3,-2700,510,-2702 l" + A.S(extraViniculum / 5.298) + " -" + extraViniculum + "\nc3.3,-7.3,9.3,-11,18,-11 H400000v" + t1 + "H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM" + (1001 + extraViniculum) + " 80h400000v" + t1 + "H1017.7z"; break; case "sqrtTall": t1 = 40 + extraViniculum; path = "M702 " + (extraViniculum + 80) + "H400000" + t1 + "\nH742v" + A.S(viewBoxHeight - 54 - 80 - extraViniculum) + "l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v" + t1 + "H742z"; break; default: path = ""; } return path; }, svgWidgetFromPath(path, viewPort, viewBox, color, align, fit) { var _null = null, alignment = $._alignmentToString.$index(0, align), meetOrSlice = fit === B.BoxFit_1 ? "meet" : "slice", preserveAspectRatio = fit === B.BoxFit_0 ? "none" : A.S(alignment) + " " + meetOrSlice, t1 = viewPort._dx, t2 = viewPort._dy, t3 = viewBox.left, t4 = viewBox.top; return A.Container$(_null, A.SvgPicture$string('<svg xmlns="http://www.w3.org/2000/svg" width="' + A.S(t1) + '" height="' + A.S(t2) + '" preserveAspectRatio="' + preserveAspectRatio + '" viewBox="' + A.S(t3) + " " + A.S(t4) + " " + A.S(viewBox.right - t3) + " " + A.S(viewBox.bottom - t4) + '" ><path fill="rgb(' + (color.get$value(color) >>> 16 & 255) + "," + (color.get$value(color) >>> 8 & 255) + "," + (color.get$value(color) & 255) + ')" d="' + path + '"></path></svg>', align, fit, t2, _null, t1), B.Clip_0, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, t1); }, RenderBoxLayout_getLayoutSize(_this, constraints, dry) { var boxSize, t1; if (dry) boxSize = _this.getDryLayout$1(constraints); else { _this.layout$2$parentUsesSize(0, constraints, true); t1 = _this._size; t1.toString; boxSize = t1; } return boxSize; }, NumIterableExtension_get_maxOrNull(_this) { var value, newValue, t1 = _this.$ti, iterator = new A.ListIterator(_this, _this.get$length(_this), t1._eval$1("ListIterator<ListIterable.E>")); if (iterator.moveNext$0()) { t1 = t1._eval$1("ListIterable.E"); value = t1._as(iterator.__internal$_current); for (; iterator.moveNext$0();) { newValue = t1._as(iterator.__internal$_current); if (J.compareTo$1$ns(value, newValue) < 0) value = newValue; } return value; } return null; }, NumIterableExtension_get_max(_this) { var value, newValue, t1 = A._arrayInstanceType(_this), iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>")); if (iterator.moveNext$0()) { t1 = t1._precomputed1; value = t1._as(iterator.__interceptors$_current); for (; iterator.moveNext$0();) { newValue = t1._as(iterator.__interceptors$_current); if (J.compareTo$1$ns(value, newValue) < 0) value = newValue; } return value; } throw A.wrapException(A.StateError$("No element")); }, ListExtension_extendToByFill(_this, desiredLength, fill, $T) { var _list, index, t1 = J.getInterceptor$asx(_this); if (t1.get$length(_this) >= desiredLength) t1 = _this; else { _list = J.JSArray_JSArray$allocateFixed(desiredLength, $T); for (index = 0; index < desiredLength; ++index) _list[index] = index < t1.get$length(_this) ? t1.$index(_this, index) : fill; t1 = _list; } return t1; }, NumListSearchExt_slotFor(_this, value) { var left, i, element, right = _this.length; for (left = -1, i = 0; i < right; ++i) { element = _this[i]; if (element < value) left = i; else if (element === value) return i; else if (element > value) { right = i; break; } } return (left + right) / 2; }, IntExt_clampInt(_this, lowerLimit, upperLimit) { if (_this < lowerLimit) return lowerLimit; if (_this > upperLimit) return upperLimit; return _this; }, httpGet(url, headers) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, t1; var $async$httpGet = 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.HttpRequest_request(url, headers, null), $async$httpGet); case 3: // returning from await. t1 = $async$result.responseText; t1.toString; $async$returnValue = new Uint8Array(A._ensureNativeList(B.C_Utf8Codec.get$encoder().convert$1(t1))); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$httpGet, $async$completer); }, reportMissingDef(key, href, methodName) { var t1 = $.$get$FlutterError_onError(); t1.toString; t1.call$1(new A.FlutterErrorDetails(new A.FlutterError(A._setArrayType([A.ErrorSummary$("Failed to find definition for " + A.S(href)), A.ErrorDescription$("This library only supports <defs> and xlink:href references that are defined ahead of their references."), A.ErrorHint$("This error can be caused when the desired definition is defined after the element referring to it (e.g. at the end of the file), or defined in another file."), A.ErrorDescription$("This error is treated as non-fatal, but your SVG file will likely not render as intended")], type$.JSArray_DiagnosticsNode)), null, "SVG", A.ErrorDescription$("while parsing " + key + " in " + methodName), null, false)); }, parseDouble(maybeDouble, tryParse) { if (maybeDouble == null) return null; maybeDouble = B.JSString_methods.trim$0(B.JSString_methods.replaceFirst$2(maybeDouble, "px", "")); if (tryParse) return A.Primitives_parseDouble(maybeDouble); return A.double_parse(maybeDouble); }, 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) { if (type$.Uint8List._is(input)) return input; if (type$.TypedData._is(input)) return A.NativeUint8List_NativeUint8List$view(input.buffer, 0, null); return new Uint8Array(A._ensureNativeList(input)); }, toByteStream(stream) { return stream; }, 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; } }, defaultLocale() { var zoneLocale = A._asStringQ($.Zone__current.$index(0, B.Symbol_89P)); return zoneLocale == null ? $._defaultLocale : zoneLocale; }, 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; }, L_beginSection(section) { return; }, L_endSection(section) { var t1 = $.L__depthPastMaxDepth; if (t1 > 0) { $.L__depthPastMaxDepth = t1 - 1; return 0; } return 0; }, defaultTextStyleDelegate(font) { var _null = null; return A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, font.fontFamily, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); }, AnimatablePathValueParser_parse(reader, composition) { var t1, p, t2, t3, ratio, keyframe, keyframes = A._setArrayType([], type$.JSArray_Keyframe_Offset); if (reader.peek$0() === B.Token_0) { reader.beginArray$0(); t1 = type$.Offset; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; t2 = reader.peek$0(); t3 = $.$get$window()._debugDevicePixelRatio; if (t3 == null) { ratio = window.devicePixelRatio; t3 = ratio === 0 ? 1 : ratio; } keyframe = A.KeyframeParser_parse(reader, composition, t3, A.path_parser__pathParser$closure(), t2 === B.Token_2, false, t1); t2 = keyframe.endFrame; t3 = keyframe.endValue; t2 = new A.PathKeyframe(keyframe, composition, keyframe.startValue, t3, keyframe.interpolator, keyframe.xInterpolator, keyframe.yInterpolator, keyframe.startFrame, t2, 5e-324, 5e-324); t2.createPath$0(); keyframes.push(t2); } reader.endArray$0(); A.KeyframesParser_setEndFrames(keyframes); } else { t1 = $.$get$window()._debugDevicePixelRatio; keyframes.push(A.Keyframe$nonAnimated(A.JsonUtils_jsonToPoint(reader, t1 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t1), type$.Offset)); } return new A.AnimatablePathValue(keyframes); }, AnimatablePathValueParser_parseSplitPath(reader, composition) { var t1, pathAnimation, xAnimation, yAnimation, hasExpressions, t2, ratio, scale; reader.beginObject$0(); for (t1 = type$.double, pathAnimation = null, xAnimation = null, yAnimation = null, hasExpressions = false; reader.peek$0() !== B.Token_3;) switch (reader.selectName$1($.$get$AnimatablePathValueParser__names())) { case 0: pathAnimation = A.AnimatablePathValueParser_parse(reader, composition); break; case 1: if (reader.peek$0() === B.Token_5) { reader.skipValue$0(); hasExpressions = true; } else { t2 = $.$get$window(); t2 = t2._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; scale = t2; } else scale = t2; xAnimation = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); } break; case 2: if (reader.peek$0() === B.Token_5) { reader.skipValue$0(); hasExpressions = true; } else { t2 = $.$get$window(); t2 = t2._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; scale = t2; } else scale = t2; yAnimation = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); } break; default: reader.skipName$0(); reader.skipValue$0(); } reader.endObject$0(); if (hasExpressions) composition.addWarning$1("Lottie doesn't support expressions."); if (pathAnimation != null) return pathAnimation; xAnimation.toString; yAnimation.toString; return new A.AnimatableSplitDimensionPathValue(xAnimation, yAnimation); }, AnimatableTextPropertiesParser_parse(reader, composition) { var anim, p, _null = null; reader.beginObject$0(); anim = _null; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$AnimatableTextPropertiesParser__propertiesNames())) { case 0: anim = A.AnimatableTextPropertiesParser__parseAnimatableTextProperties(reader, composition); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); if (anim == null) return new A.AnimatableTextProperties(_null, _null, _null, _null); return anim; }, AnimatableTextPropertiesParser__parseAnimatableTextProperties(reader, composition) { var t1, t2, tracking, strokeWidth, stroke, color, p, t3, ratio, scale, _null = null; reader.beginObject$0(); t1 = type$.double; t2 = type$.Color; tracking = _null; strokeWidth = tracking; stroke = strokeWidth; color = stroke; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$AnimatableTextPropertiesParser__animatablePropertiesNames())) { case 0: color = new A.AnimatableColorValue(A.KeyframesParser_parse(reader, composition, 1, A.color_parser__colorParser$closure(), false, t2)); break; case 1: stroke = new A.AnimatableColorValue(A.KeyframesParser_parse(reader, composition, 1, A.color_parser__colorParser$closure(), false, t2)); break; case 2: t3 = $.$get$window(); t3 = t3._debugDevicePixelRatio; if (t3 == null) { ratio = window.devicePixelRatio; t3 = ratio === 0 ? 1 : ratio; scale = t3; } else scale = t3; strokeWidth = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 3: t3 = $.$get$window(); t3 = t3._debugDevicePixelRatio; if (t3 == null) { ratio = window.devicePixelRatio; t3 = ratio === 0 ? 1 : ratio; scale = t3; } else scale = t3; tracking = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); return new A.AnimatableTextProperties(color, stroke, strokeWidth, tracking); }, AnimatableTransformParser_parse(reader, composition) { var t1, t2, t3, t4, t5, t6, skewAngle, skew, endOpacity, startOpacity, opacity, rotation, scale, position, anchorPoint, p, $name, t7, t8, _null = null, isObject = reader.peek$0() === B.Token_2; if (isObject) reader.beginObject$0(); t1 = type$.double; t2 = type$.int; t3 = composition._warnings; t4 = type$.Keyframe_double; t5 = composition._parameters; t6 = type$.Offset; skewAngle = _null; skew = skewAngle; endOpacity = skew; startOpacity = endOpacity; opacity = startOpacity; rotation = opacity; scale = rotation; position = scale; anchorPoint = position; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; $name = reader.selectName$1($.$get$AnimatableTransformParser__names()); switch ($name) { case 0: reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$AnimatableTransformParser__animatableNames())) { case 0: anchorPoint = A.AnimatablePathValueParser_parse(reader, composition); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); break; case 1: position = A.AnimatablePathValueParser_parseSplitPath(reader, composition); break; case 2: scale = new A.AnimatableScaleValue(A.KeyframesParser_parse(reader, composition, 1, A.scale_xy_parser__scaleXYParser$closure(), false, t6)); break; case 3: case 4: if ($name === 3) t3.add$1(0, "Lottie doesn't support 3D layers."); t7 = A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1); rotation = new A.AnimatableDoubleValue(t7); if (t7.length === 0) { t8 = t5.endFrame; t7.push(new A.Keyframe(composition, 0, 0, _null, _null, _null, 0, t8, 5e-324, 5e-324, t4)); } else if (B.JSArray_methods.get$first(t7).startValue == null) { t8 = t5.endFrame; B.JSArray_methods.set$first(t7, new A.Keyframe(composition, 0, 0, _null, _null, _null, 0, t8, 5e-324, 5e-324, t4)); } break; case 5: opacity = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t2)); break; case 6: startOpacity = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 7: endOpacity = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 8: skew = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 9: skewAngle = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; default: reader.skipName$0(); reader.skipValue$0(); } } if (isObject) reader.endObject$0(); if (anchorPoint != null) t1 = anchorPoint.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(anchorPoint.keyframes).startValue, B.Offset_0_0); else t1 = true; if (t1) anchorPoint = _null; if (position != null) t1 = !(position instanceof A.AnimatableSplitDimensionPathValue) && position.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(position.get$keyframes()).startValue, B.Offset_0_0); else t1 = true; if (t1) position = _null; if (rotation != null) t1 = rotation.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(rotation.keyframes).startValue, 0); else t1 = true; if (t1) rotation = _null; if (scale != null) t1 = scale.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(scale.keyframes).startValue, B.Offset_1_1); else t1 = true; if (t1) scale = _null; if (skew != null) t1 = skew.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(skew.keyframes).startValue, 0); else t1 = true; if (t1) skew = _null; if (skewAngle != null) t1 = skewAngle.get$isStatic() && J.$eq$(B.JSArray_methods.get$first(skewAngle.keyframes).startValue, 0); else t1 = true; return new A.AnimatableTransform(anchorPoint, position, scale, rotation, opacity, skew, t1 ? _null : skewAngle, startOpacity, endOpacity); }, BlurEffectParser_parse(reader, composition) { var p, be, blurEffect = null; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$BlurEffectParser__blurEffectNames())) { case 0: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; be = A.BlurEffectParser__maybeParseInnerEffect(reader, composition); if (be != null) blurEffect = be; } reader.endArray$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } return blurEffect; }, BlurEffectParser__maybeParseInnerEffect(reader, composition) { var t1, blurEffect, isCorrectType, p, t2, ratio, scale; reader.beginObject$0(); t1 = type$.double; blurEffect = null; isCorrectType = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$BlurEffectParser__innerBlurEffectNames())) { case 0: isCorrectType = reader.nextInt$0() === 0; break; case 1: if (isCorrectType) { t2 = $.$get$window(); t2 = t2._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; scale = t2; } else scale = t2; blurEffect = new A.BlurEffect(new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1))); } else reader.skipValue$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); return blurEffect; }, CircleShapeParser_parse(reader, composition, d) { var p, t2, ratio, position = A._Cell$named("position"), size = A._Cell$named("size"), reversed = d === 3, t1 = type$.Offset, $name = null, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$CircleShapeParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: position.__late_helper$_value = A.AnimatablePathValueParser_parseSplitPath(reader, composition); break; case 2: t2 = $.$get$window()._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; } size.__late_helper$_value = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t2, A.offset_parser__offsetParser$closure(), true, t1)); break; case 3: hidden = reader.nextBoolean$0(); break; case 4: reversed = reader.nextInt$0() === 3; break; default: reader.skipName$0(); reader.skipValue$0(); } } return new A.CircleShape($name, position._readLocal$0(), size._readLocal$0(), reversed, hidden); }, colorParser(reader, scale) { var r, g, b, a, isArray = reader.peek$0() === B.Token_0; if (isArray) reader.beginArray$0(); r = reader.nextDouble$0(); g = reader.nextDouble$0(); b = reader.nextDouble$0(); a = reader.peek$0() === B.Token_6 ? reader.nextDouble$0() : 1; if (isArray) reader.endArray$0(); if (r <= 1 && g <= 1 && b <= 1) { r *= 255; g *= 255; b *= 255; if (a <= 1) a *= 255; } return A.Color$fromARGB(B.JSNumber_methods.round$0(a), B.JSNumber_methods.round$0(r), B.JSNumber_methods.round$0(g), B.JSNumber_methods.round$0(b)); }, ContentModelParser_parse(reader, composition) { var type, d, p, model; reader.beginObject$0(); d = 2; $label0$1: while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) { type = null; break; } c$1: switch (reader.selectName$1($.$get$ContentModelParser__names())) { case 0: type = reader.nextString$0(); break $label0$1; case 1: d = reader.nextInt$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } if (type == null) return null; switch (type) { case "gr": model = A.ShapeGroupParser_parse(reader, composition); break; case "st": model = A.ShapeStrokeParser_parse(reader, composition); break; case "gs": model = A.GradientStrokeParser_parse(reader, composition); break; case "fl": model = A.ShapeFillParser_parse(reader, composition); break; case "gf": model = A.GradientFillParser_parse(reader, composition); break; case "tr": model = A.AnimatableTransformParser_parse(reader, composition); break; case "sh": model = A.ShapePathParser_parse(reader, composition); break; case "el": model = A.CircleShapeParser_parse(reader, composition, d); break; case "rc": model = A.RectangleShapeParser_parse(reader, composition); break; case "tm": model = A.ShapeTrimPathParser_parse(reader, composition); break; case "sr": model = A.PolystarShapeParser_parse(reader, composition); break; case "mm": model = A.MergePathsParser_parse(reader); break; case "rp": model = A.RepeaterParser_parse(reader, composition); break; default: composition.addWarning$1("Unknown shape type " + type); model = null; } while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } reader.endObject$0(); return model; }, documentDataParser(reader, scale) { var text, fontName, size, justification, tracking, lineHeight, baselineShift, fillColor, strokeColor, strokeWidth, strokeOverFill, p, justificationInt; reader.beginObject$0(); text = null; fontName = null; size = 0; justification = B.Justification_2; tracking = 0; lineHeight = 0; baselineShift = 0; fillColor = B.Color_0; strokeColor = B.Color_0; strokeWidth = 0; strokeOverFill = true; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$_names0())) { case 0: text = reader.nextString$0(); break; case 1: fontName = reader.nextString$0(); break; case 2: size = reader.nextDouble$0(); break; case 3: justificationInt = reader.nextInt$0(); justification = justificationInt > 2 || justificationInt < 0 ? B.Justification_2 : B.List_lYV[justificationInt]; break; case 4: tracking = reader.nextInt$0(); break; case 5: lineHeight = reader.nextDouble$0(); break; case 6: baselineShift = reader.nextDouble$0(); break; case 7: fillColor = A.JsonUtils_jsonToColor(reader); break; case 8: strokeColor = A.JsonUtils_jsonToColor(reader); break; case 9: strokeWidth = reader.nextDouble$0(); break; case 10: strokeOverFill = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); return new A.DocumentData(text == null ? "" : text, fontName, size, justification, tracking, lineHeight, baselineShift, fillColor, strokeColor, strokeWidth, strokeOverFill); }, floatParser(reader, scale) { return A.JsonUtils_valueFromObject(reader) * scale; }, FontCharacterParser_parse(reader, composition) { var t1, character, size, width, style, fontFamily, p, t2, shapes = A._setArrayType([], type$.JSArray_ShapeGroup); reader.beginObject$0(); t1 = type$.ShapeGroup; character = ""; size = 0; width = 0; style = null; fontFamily = null; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$FontCharacterParser__names())) { case 0: character = reader.nextString$0(); break; case 1: size = reader.nextDouble$0(); break; case 2: width = reader.nextDouble$0(); break; case 3: style = reader.nextString$0(); break; case 4: fontFamily = reader.nextString$0(); break; case 5: reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$FontCharacterParser__dataNames())) { case 0: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; t2 = A.ContentModelParser_parse(reader, composition); t2.toString; shapes.push(t1._as(t2)); } reader.endArray$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); t1 = style == null ? "" : style; return new A.FontCharacter(shapes, character, size, width, t1, fontFamily == null ? "" : fontFamily); }, FontParser_parse(reader) { var family, $name, style, ascent, p, t1, t2; reader.beginObject$0(); family = null; $name = null; style = null; ascent = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$FontParser__names())) { case 0: family = reader.nextString$0(); break; case 1: $name = reader.nextString$0(); break; case 2: style = reader.nextString$0(); break; case 3: ascent = reader.nextDouble$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); t1 = family == null ? "" : family; t2 = $name == null ? "" : $name; return new A.Font0(t1, t2, style == null ? "" : style); }, GradientFillParser_parse(reader, composition) { var p, points, t4, ratio, _null = null, t1 = type$.Offset, t2 = type$.int, t3 = type$.GradientColor, endPoint = _null, startPoint = endPoint, gradientType = startPoint, opacity = gradientType, color = opacity, $name = color, fillType = B.PathFillType_0, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$GradientFillParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: reader.beginObject$0(); points = -1; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$GradientFillParser__gradientNames())) { case 0: points = reader.nextInt$0(); break; case 1: t4 = new A.GradientColorParser(points); color = new A.AnimatableGradientColorValue(A.KeyframesParser_parse(reader, composition, 1, t4.get$parse(t4), false, t3)); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); break; case 2: opacity = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t2)); break; case 3: gradientType = reader.nextInt$0() === 1 ? B.GradientType_0 : B.GradientType_1; break; case 4: t4 = $.$get$window()._debugDevicePixelRatio; if (t4 == null) { ratio = window.devicePixelRatio; t4 = ratio === 0 ? 1 : ratio; } startPoint = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t4, A.offset_parser__offsetParser$closure(), true, t1)); break; case 5: t4 = $.$get$window()._debugDevicePixelRatio; if (t4 == null) { ratio = window.devicePixelRatio; t4 = ratio === 0 ? 1 : ratio; } endPoint = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t4, A.offset_parser__offsetParser$closure(), true, t1)); break; case 6: fillType = reader.nextInt$0() === 1 ? B.PathFillType_0 : B.PathFillType_1; break; case 7: hidden = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } if (opacity == null) opacity = new A.AnimatableIntegerValue(A._setArrayType([A.Keyframe$nonAnimated(100, t2)], type$.JSArray_Keyframe_int)); t1 = gradientType == null ? B.GradientType_0 : gradientType; color.toString; startPoint.toString; endPoint.toString; return new A.GradientFill($name, t1, fillType, color, opacity, startPoint, endPoint, hidden); }, GradientStrokeParser_parse(reader, composition) { var p, points, t5, ratio, scale, val, n, _null = null, lineDashPattern = A._setArrayType([], type$.JSArray_AnimatableDoubleValue), t1 = type$.double, t2 = type$.Offset, t3 = type$.int, t4 = type$.GradientColor, offset = _null, joinType = offset, capType = joinType, width = capType, endPoint = width, startPoint = endPoint, gradientType = startPoint, opacity = gradientType, color = opacity, $name = color, miterLimit = 0, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$GradientStrokeParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: reader.beginObject$0(); points = -1; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$GradientStrokeParser__gradientNames())) { case 0: points = reader.nextInt$0(); break; case 1: t5 = new A.GradientColorParser(points); color = new A.AnimatableGradientColorValue(A.KeyframesParser_parse(reader, composition, 1, t5.get$parse(t5), false, t4)); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); break; case 2: opacity = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t3)); break; case 3: gradientType = reader.nextInt$0() === 1 ? B.GradientType_0 : B.GradientType_1; break; case 4: t5 = $.$get$window()._debugDevicePixelRatio; if (t5 == null) { ratio = window.devicePixelRatio; t5 = ratio === 0 ? 1 : ratio; } startPoint = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t5, A.offset_parser__offsetParser$closure(), true, t2)); break; case 5: t5 = $.$get$window()._debugDevicePixelRatio; if (t5 == null) { ratio = window.devicePixelRatio; t5 = ratio === 0 ? 1 : ratio; } endPoint = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t5, A.offset_parser__offsetParser$closure(), true, t2)); break; case 6: t5 = $.$get$window(); t5 = t5._debugDevicePixelRatio; if (t5 == null) { ratio = window.devicePixelRatio; t5 = ratio === 0 ? 1 : ratio; scale = t5; } else scale = t5; width = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 7: capType = B.List_kr3[reader.nextInt$0() - 1]; break; case 8: joinType = B.List_ZG6[reader.nextInt$0() - 1]; break; case 9: miterLimit = reader.nextDouble$0(); break; case 10: hidden = reader.nextBoolean$0(); break; case 11: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.beginObject$0(); val = _null; n = val; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$GradientStrokeParser__dashPatternNames())) { case 0: n = reader.nextString$0(); break; case 1: t5 = $.$get$window(); t5 = t5._debugDevicePixelRatio; if (t5 == null) { ratio = window.devicePixelRatio; t5 = ratio === 0 ? 1 : ratio; scale = t5; } else scale = t5; val = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); if (n === "o") offset = val; else if (n === "d" || n === "g") { val.toString; lineDashPattern.push(val); } } reader.endArray$0(); if (lineDashPattern.length === 1) lineDashPattern.push(lineDashPattern[0]); break; default: reader.skipName$0(); reader.skipValue$0(); } } if (opacity == null) opacity = new A.AnimatableIntegerValue(A._setArrayType([A.Keyframe$nonAnimated(100, t3)], type$.JSArray_Keyframe_int)); t1 = gradientType == null ? B.GradientType_0 : gradientType; color.toString; startPoint.toString; endPoint.toString; width.toString; return new A.GradientStroke($name, t1, color, opacity, startPoint, endPoint, width, capType, joinType, miterLimit, lineDashPattern, offset, hidden); }, integerParser(reader, scale) { return B.JSNumber_methods.round$0(A.JsonUtils_valueFromObject(reader) * scale); }, JsonUtils_jsonToColor(reader) { var r, g, b, p; reader.beginArray$0(); r = B.JSNumber_methods.round$0(reader.nextDouble$0() * 255); g = B.JSNumber_methods.round$0(reader.nextDouble$0() * 255); b = B.JSNumber_methods.round$0(reader.nextDouble$0() * 255); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } reader.endArray$0(); return A.Color$fromARGB(255, r, g, b); }, JsonUtils_jsonToPoints(reader, scale) { var points = A._setArrayType([], type$.JSArray_Offset); reader.beginArray$0(); for (; reader.peek$0() === B.Token_0;) { reader.beginArray$0(); points.push(A.JsonUtils_jsonToPoint(reader, scale)); reader.endArray$0(); } reader.endArray$0(); return points; }, JsonUtils_jsonToPoint(reader, scale) { switch (reader.peek$0().index) { case 6: return A.JsonUtils__jsonNumbersToPoint(reader, scale); case 0: return A.JsonUtils__jsonArrayToPoint(reader, scale); case 2: return A.JsonUtils__jsonObjectToPoint(reader, scale); default: throw A.wrapException(A.Exception_Exception("Unknown point starts with " + reader.peek$0().toString$0(0))); } }, JsonUtils__jsonNumbersToPoint(reader, scale) { var p, x = reader.nextDouble$0(), y = reader.nextDouble$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } return new A.Offset(x * scale, y * scale); }, JsonUtils__jsonArrayToPoint(reader, scale) { var x, y; reader.beginArray$0(); x = reader.nextDouble$0(); y = reader.nextDouble$0(); for (; reader.peek$0() !== B.Token_1;) reader.skipValue$0(); reader.endArray$0(); return new A.Offset(x * scale, y * scale); }, JsonUtils__jsonObjectToPoint(reader, scale) { var x, y, p; reader.beginObject$0(); x = 0; y = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$JsonUtils__pointNames())) { case 0: x = A.JsonUtils_valueFromObject(reader); break; case 1: y = A.JsonUtils_valueFromObject(reader); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); return new A.Offset(x * scale, y * scale); }, JsonUtils_valueFromObject(reader) { var val, p, token = reader.peek$0(); switch (token.index) { case 6: return reader.nextDouble$0(); case 0: reader.beginArray$0(); val = reader.nextDouble$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } reader.endArray$0(); return val; default: throw A.wrapException(A.Exception_Exception("Unknown value for token of type " + token.toString$0(0))); } }, KeyframesParser_parse(reader, composition, scale, valueParser, multiDimensional, $T) { var p, keyframes = A._setArrayType([], $T._eval$1("JSArray<Keyframe<0>>")); if (reader.peek$0() === B.Token_5) { composition.addWarning$1("Lottie doesn't support expressions."); return keyframes; } reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$KeyframesParser__names())) { case 0: if (reader.peek$0() === B.Token_0) { reader.beginArray$0(); if (reader.peek$0() === B.Token_6) keyframes.push(A.KeyframeParser_parse(reader, composition, scale, valueParser, false, multiDimensional, $T)); else while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; keyframes.push(A.KeyframeParser_parse(reader, composition, scale, valueParser, true, multiDimensional, $T)); } reader.endArray$0(); } else keyframes.push(A.KeyframeParser_parse(reader, composition, scale, valueParser, false, multiDimensional, $T)); break; default: reader.skipValue$0(); } } reader.endObject$0(); A.KeyframesParser_setEndFrames(keyframes); return keyframes; }, KeyframesParser_setEndFrames(keyframes) { var t1, i, keyframe, nextKeyframe, lastKeyframe; for (t1 = keyframes.length - 1, i = 0; i < t1;) { keyframe = keyframes[i]; ++i; nextKeyframe = keyframes[i]; keyframe.endFrame = nextKeyframe.startFrame; if (keyframe.endValue == null && nextKeyframe.startValue != null) { keyframe.endValue = nextKeyframe.startValue; if (keyframe instanceof A.PathKeyframe) keyframe.createPath$0(); } } lastKeyframe = keyframes[t1]; if ((lastKeyframe.startValue == null || lastKeyframe.endValue == null) && keyframes.length > 1) B.JSArray_methods.remove$1(keyframes, lastKeyframe); }, LayerParser_parseJson(reader, composition) { var t1, t2, t3, t4, t5, timeRemapping, textProperties, text, transform, dropShadowEffect, blurEffect, cl, refId, layerName, layerType, layerId, solidWidth, solidHeight, solidColor, preCompWidth, preCompHeight, parentId, timeStretch, startFrame, inFrame, outFrame, hidden, matteType, p, layerTypeInt, t6, t7, ratio, matteTypeIndex, shape, effectNames, type, inOutKeyframes, _null = null, masks = A._setArrayType([], type$.JSArray_Mask), shapes = A._setArrayType([], type$.JSArray_ContentModel); reader.beginObject$0(); t1 = type$.double; t2 = composition._warnings; t3 = type$.JSArray_String; t4 = type$.DocumentData; t5 = composition.get$addWarning(); timeRemapping = _null; textProperties = timeRemapping; text = textProperties; transform = text; dropShadowEffect = transform; blurEffect = dropShadowEffect; cl = blurEffect; refId = cl; layerName = "UNSET"; layerType = B.LayerType_6; layerId = 0; solidWidth = 0; solidHeight = 0; solidColor = B.Color_0; preCompWidth = 0; preCompHeight = 0; parentId = -1; timeStretch = 1; startFrame = 0; inFrame = 0; outFrame = 0; hidden = false; matteType = B.MatteType_0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LayerParser__names())) { case 0: layerName = reader.nextString$0(); break; case 1: layerId = reader.nextInt$0(); break; case 2: refId = reader.nextString$0(); break; case 3: layerTypeInt = reader.nextInt$0(); layerType = layerTypeInt < 6 ? B.List_6La[layerTypeInt] : B.LayerType_6; break; case 4: parentId = reader.nextInt$0(); break; case 5: t6 = reader.nextInt$0(); t7 = $.$get$window()._debugDevicePixelRatio; if (t7 == null) { ratio = window.devicePixelRatio; t7 = ratio === 0 ? 1 : ratio; } solidWidth = B.JSNumber_methods.round$0(t6 * t7); break; case 6: t6 = reader.nextInt$0(); t7 = $.$get$window()._debugDevicePixelRatio; if (t7 == null) { ratio = window.devicePixelRatio; t7 = ratio === 0 ? 1 : ratio; } solidHeight = B.JSNumber_methods.round$0(t6 * t7); break; case 7: solidColor = A.MiscUtils_parseColor(reader.nextString$0(), t5); break; case 8: transform = A.AnimatableTransformParser_parse(reader, composition); break; case 9: matteTypeIndex = reader.nextInt$0(); if (matteTypeIndex >= 6) { t2.add$1(0, "Unsupported matte type: " + matteTypeIndex); break; } matteType = B.List_CeS[matteTypeIndex]; if (matteType === B.MatteType_3) t2.add$1(0, "Unsupported matte type: Luma"); else if (matteType === B.MatteType_4) t2.add$1(0, "Unsupported matte type: Luma Inverted"); ++composition._maskAndMatteCount; break; case 10: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; masks.push(A.MaskParser_parse(reader, composition)); } composition._maskAndMatteCount += masks.length; reader.endArray$0(); break; case 11: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; shape = A.ContentModelParser_parse(reader, composition); if (shape != null) shapes.push(shape); } reader.endArray$0(); break; case 12: reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LayerParser__textNames())) { case 0: text = new A.AnimatableTextFrame(A.KeyframesParser_parse(reader, composition, 1, A.document_data_parser__documentDataParser$closure(), false, t4)); break; case 1: reader.beginArray$0(); p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (p !== 2 && p !== 4 && p !== 18) textProperties = A.AnimatableTextPropertiesParser_parse(reader, composition); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } reader.endArray$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); break; case 13: reader.beginArray$0(); effectNames = A._setArrayType([], t3); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LayerParser__effectsNames())) { case 0: type = reader.nextInt$0(); if (type === 29) blurEffect = A.BlurEffectParser_parse(reader, composition); else if (type === 25) dropShadowEffect = new A.DropShadowEffectParser().parse$2(0, reader, composition); break; case 1: effectNames.push(reader.nextString$0()); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); } reader.endArray$0(); t2.add$1(0, "Lottie doesn't support layer effects. If you are using them for fills, strokes, trim paths etc. then try adding them directly as contents in your shape. Found: " + A.S(effectNames)); break; case 14: timeStretch = reader.nextDouble$0(); break; case 15: startFrame = reader.nextDouble$0(); break; case 16: t6 = reader.nextInt$0(); t7 = $.$get$window()._debugDevicePixelRatio; if (t7 == null) { ratio = window.devicePixelRatio; t7 = ratio === 0 ? 1 : ratio; } preCompWidth = B.JSNumber_methods.round$0(t6 * t7); break; case 17: t6 = reader.nextInt$0(); t7 = $.$get$window()._debugDevicePixelRatio; if (t7 == null) { ratio = window.devicePixelRatio; t7 = ratio === 0 ? 1 : ratio; } preCompHeight = B.JSNumber_methods.round$0(t6 * t7); break; case 18: inFrame = reader.nextDouble$0(); break; case 19: outFrame = reader.nextDouble$0(); break; case 20: timeRemapping = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 21: cl = reader.nextString$0(); break; case 22: hidden = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); inOutKeyframes = A._setArrayType([], type$.JSArray_Keyframe_double); if (inFrame > 0) inOutKeyframes.push(A.Keyframe$(composition, inFrame, 0, _null, 0, 0, _null, _null, t1)); outFrame = outFrame > 0 ? outFrame : composition._parameters.endFrame; inOutKeyframes.push(A.Keyframe$(composition, outFrame, 1, _null, inFrame, 1, _null, _null, t1)); inOutKeyframes.push(A.Keyframe$(composition, 17976931348623157e292, 0, _null, outFrame, 0, _null, _null, t1)); if (B.JSString_methods.endsWith$1(layerName, ".ai") || "ai" === cl) composition.addWarning$1("Convert your Illustrator layers to shape layers."); transform.toString; return A.Layer$(blurEffect, composition, dropShadowEffect, layerId, inOutKeyframes, hidden, layerType, masks, matteType, layerName, parentId, preCompHeight, preCompWidth, refId, shapes, solidColor, solidHeight, solidWidth, startFrame, text, textProperties, timeRemapping, timeStretch, transform); }, LottieCompositionParser_parse(composition, reader) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, p, width, height, versions, parameters = composition._parameters, scale = $.$get$window()._debugDevicePixelRatio; if (scale == null) scale = A.EnginePlatformDispatcher_browserDevicePixelRatio(); reader.beginObject$0(); t1 = parameters.markers; t2 = parameters.characters; t3 = parameters.fonts; t4 = parameters.precomps; t5 = parameters.images; t6 = parameters.layers; t7 = parameters.layerMap; t8 = composition._warnings; t9 = parameters.bounds; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LottieCompositionParser__names())) { case 0: width = B.JSNumber_methods.round$0(reader.nextInt$0() * scale); t9._math$_width = width < 0 ? A._clampToZero(width) : width; break; case 1: height = B.JSNumber_methods.round$0(reader.nextInt$0() * scale); t9._math$_height = height < 0 ? A._clampToZero(height) : height; break; case 2: parameters.startFrame = reader.nextDouble$0(); break; case 3: parameters.endFrame = reader.nextDouble$0() - 0.01; break; case 4: parameters.frameRate = reader.nextDouble$0(); break; case 5: versions = reader.nextString$0().split("."); if (!A.MiscUtils_isAtLeastVersion(A.int_parse(versions[0], null), A.int_parse(versions[1], null), A.int_parse(versions[2], null), 4, 4, 0)) t8.add$1(0, "Lottie only supports bodymovin >= 4.4.0"); break; case 6: A.LottieCompositionParser__parseLayers(reader, composition, t6, t7); break; case 7: A.LottieCompositionParser__parseAssets(reader, composition, t4, t5); break; case 8: A.LottieCompositionParser__parseFonts(reader, t3); break; case 9: A.LottieCompositionParser__parseChars(reader, composition, t2); break; case 10: A.LottieCompositionParser__parseMarkers(reader, composition, t1); break; default: reader.skipName$0(); reader.skipValue$0(); } } return composition; }, LottieCompositionParser__parseLayers(reader, composition, layers, layerMap) { var imageCount, p, layer; reader.beginArray$0(); imageCount = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; layer = A.LayerParser_parseJson(reader, composition); if (layer.layerType === B.LayerType_2) ++imageCount; layers.push(layer); layerMap.$indexSet(0, layer.id, layer); } if (imageCount > 4) composition.addWarning$1("You have " + imageCount + " images. Lottie should primarily be used with shapes. If you are using Adobe Illustrator, convert the Illustrator layers to shape layers."); reader.endArray$0(); }, LottieCompositionParser__parseAssets(reader, composition, precomps, images) { var t1, t2, t3, p, id, layers, layerMap, width, height, imageFileName, relativeFolder, layer, t4; reader.beginArray$0(); t1 = type$.JSArray_Layer_2; t2 = type$.int; t3 = type$.Layer_3; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; id = A._Cell$named("id"); layers = A._setArrayType([], t1); layerMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); reader.beginObject$0(); width = 0; height = 0; imageFileName = null; relativeFolder = null; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LottieCompositionParser__assetsNames())) { case 0: id.__late_helper$_value = reader.nextString$0(); break; case 1: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; layer = A.LayerParser_parseJson(reader, composition); layerMap.$indexSet(0, layer.id, layer); layers.push(layer); } reader.endArray$0(); break; case 2: width = reader.nextInt$0(); break; case 3: height = reader.nextInt$0(); break; case 4: imageFileName = reader.nextString$0(); break; case 5: relativeFolder = reader.nextString$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); if (imageFileName != null) { t4 = id.__late_helper$_value; if (t4 === id) A.throwExpression(A.LateError$localNI(id.__late_helper$_name)); images.$indexSet(0, t4, new A.LottieImageAsset(width, height, t4, imageFileName, relativeFolder == null ? "" : relativeFolder)); } else { t4 = id.__late_helper$_value; if (t4 === id) A.throwExpression(A.LateError$localNI(id.__late_helper$_name)); precomps.$indexSet(0, t4, layers); } } reader.endArray$0(); }, LottieCompositionParser__parseFonts(reader, fonts) { var p, font; reader.beginObject$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LottieCompositionParser__fontNames())) { case 0: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; font = A.FontParser_parse(reader); fonts.$indexSet(0, font.name, font); } reader.endArray$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); }, LottieCompositionParser__parseChars(reader, composition, characters) { var p, character; reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; character = A.FontCharacterParser_parse(reader, composition); characters.$indexSet(0, A.FontCharacter_hashFor(character.character, character.fontFamily, character.style), character); } reader.endArray$0(); }, LottieCompositionParser__parseMarkers(reader, composition, markers) { var p, comment, frame, durationFrames; reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.beginObject$0(); comment = null; frame = 0; durationFrames = 0; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$LottieCompositionParser__markerNames())) { case 0: comment = reader.nextString$0(); break; case 1: frame = reader.nextDouble$0(); break; case 2: durationFrames = reader.nextDouble$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); markers.push(new A.Marker(comment == null ? "" : comment)); } reader.endArray$0(); }, MaskParser_parse(reader, composition) { var t1, t2, t3, inverted, p, modeName, scale, ratio, maskMode = A._Cell$named("maskMode"), maskPath = A._Cell$named("maskPath"), opacity = A._Cell$named("opacity"); reader.beginObject$0(); t1 = type$.int; t2 = type$.ShapeData; t3 = composition._warnings; inverted = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.nextName$0()) { case "mode": modeName = reader.nextString$0(); switch (modeName) { case "a": maskMode.__late_helper$_value = B.MaskMode_0; break; case "s": maskMode.__late_helper$_value = B.MaskMode_1; break; case "n": maskMode.__late_helper$_value = B.MaskMode_3; break; case "i": t3.add$1(0, "Animation contains intersect masks. They are not supported but will be treated like add masks."); maskMode.__late_helper$_value = B.MaskMode_2; break; default: t3.add$1(0, "Unknown mask mode " + modeName + ". Defaulting to Add."); maskMode.__late_helper$_value = B.MaskMode_0; } break; case "pt": scale = $.$get$window()._debugDevicePixelRatio; if (scale == null) { ratio = window.devicePixelRatio; scale = ratio === 0 ? 1 : ratio; } maskPath.__late_helper$_value = new A.AnimatableShapeValue(A.KeyframesParser_parse(reader, composition, scale, A.shape_data_parser__shapeDataParser$closure(), false, t2)); break; case "o": opacity.__late_helper$_value = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t1)); break; case "inv": inverted = reader.nextBoolean$0(); break; default: reader.skipValue$0(); } } reader.endObject$0(); return new A.Mask(maskMode._readLocal$0(), maskPath._readLocal$0(), opacity._readLocal$0(), inverted); }, MergePathsParser_parse(reader) { var p, t1, mode = A._Cell$named("mode"), $name = null, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$MergePathsParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: mode.__late_helper$_value = A.MergePaths_modeForId(reader.nextInt$0()); break; case 2: hidden = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } t1 = $name == null ? "" : $name; return new A.MergePaths(t1, mode._readLocal$0(), hidden); }, JsonScope_getPath(stackSize, stack, pathNames, pathIndices) { var i, t1, t2, result = new A.StringBuffer(""); result._contents = "" + "$"; for (i = 0; i < stackSize; ++i) switch (stack[i]) { case 1: case 2: t1 = result._contents += "["; t1 += A.S(pathIndices[i]); result._contents = t1; result._contents = t1 + "]"; break; case 3: case 4: case 5: t1 = result._contents += "."; t2 = pathNames[i]; if (t2 != null) result._contents = t1 + A.S(t2); break; case 7: case 6: case 8: break; } t1 = result._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, offsetParser(reader, scale) { var t1, t2, p, token = reader.peek$0(); if (token === B.Token_0) return A.JsonUtils_jsonToPoint(reader, scale); else if (token === B.Token_2) return A.JsonUtils_jsonToPoint(reader, scale); else if (token === B.Token_6) { t1 = reader.nextDouble$0(); t2 = reader.nextDouble$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } return new A.Offset(t1 * scale, t2 * scale); } else throw A.wrapException(A.Exception_Exception("Cannot convert json to point. Next token is " + token.toString$0(0))); }, pathParser(reader, scale) { return A.JsonUtils_jsonToPoint(reader, scale); }, PolystarShapeParser_parse(reader, composition) { var p, t2, ratio, scale, _null = null, points = A._Cell$named("points"), position = A._Cell$named("position"), rotation = A._Cell$named("rotation"), outerRadius = A._Cell$named("outerRadius"), outerRoundedness = A._Cell$named("outerRoundedness"), t1 = type$.double, innerRoundedness = _null, innerRadius = innerRoundedness, type = innerRadius, $name = type, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$PolystarShapeParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: type = A.PolystarShapeType_forValue(reader.nextInt$0()); break; case 2: points.__late_helper$_value = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 3: position.__late_helper$_value = A.AnimatablePathValueParser_parseSplitPath(reader, composition); break; case 4: rotation.__late_helper$_value = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 5: t2 = $.$get$window(); t2 = t2._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; scale = t2; } else scale = t2; outerRadius.__late_helper$_value = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 6: outerRoundedness.__late_helper$_value = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 7: t2 = $.$get$window(); t2 = t2._debugDevicePixelRatio; if (t2 == null) { ratio = window.devicePixelRatio; t2 = ratio === 0 ? 1 : ratio; scale = t2; } else scale = t2; innerRadius = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 8: innerRoundedness = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 9: hidden = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } return new A.PolystarShape($name, type, points._readLocal$0(), position._readLocal$0(), rotation._readLocal$0(), innerRadius, outerRadius._readLocal$0(), innerRoundedness, outerRoundedness._readLocal$0(), hidden); }, RectangleShapeParser_parse(reader, composition) { var p, t3, ratio, scale, _null = null, t1 = type$.double, t2 = type$.Offset, roundedness = _null, size = roundedness, position = size, $name = position, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$RectangleShapeParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: position = A.AnimatablePathValueParser_parseSplitPath(reader, composition); break; case 2: t3 = $.$get$window()._debugDevicePixelRatio; if (t3 == null) { ratio = window.devicePixelRatio; t3 = ratio === 0 ? 1 : ratio; } size = new A.AnimatablePointValue(A.KeyframesParser_parse(reader, composition, t3, A.offset_parser__offsetParser$closure(), true, t2)); break; case 3: t3 = $.$get$window(); t3 = t3._debugDevicePixelRatio; if (t3 == null) { ratio = window.devicePixelRatio; t3 = ratio === 0 ? 1 : ratio; scale = t3; } else scale = t3; roundedness = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 4: hidden = reader.nextBoolean$0(); break; default: reader.skipValue$0(); } } position.toString; size.toString; roundedness.toString; return new A.RectangleShape($name, position, size, roundedness, hidden); }, RepeaterParser_parse(reader, composition) { var p, _null = null, t1 = type$.double, transform = _null, offset = transform, copies = offset, $name = copies, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$RepeaterParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: copies = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 2: offset = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 3: transform = A.AnimatableTransformParser_parse(reader, composition); break; case 4: hidden = reader.nextBoolean$0(); break; default: reader.skipValue$0(); } } copies.toString; offset.toString; transform.toString; return new A.Repeater($name, copies, offset, transform, hidden); }, scaleXYParser(reader, scale) { var sx, sy, p, isArray = reader.peek$0() === B.Token_0; if (isArray) reader.beginArray$0(); sx = reader.nextDouble$0(); sy = reader.nextDouble$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.skipValue$0(); } if (isArray) reader.endArray$0(); return new A.Offset(sx / 100 * scale, sy / 100 * scale); }, shapeDataParser(reader, scale) { var $closed, pointsArray, inTangents, outTangents, p, t1, vertex, curves, i, vertex0, t2, previousVertex, cp1, cp2, shapeCp1, shapeCp2; if (reader.peek$0() === B.Token_0) reader.beginArray$0(); reader.beginObject$0(); $closed = false; pointsArray = null; inTangents = null; outTangents = null; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$_names())) { case 0: $closed = reader.nextBoolean$0(); break; case 1: pointsArray = A.JsonUtils_jsonToPoints(reader, scale); break; case 2: inTangents = A.JsonUtils_jsonToPoints(reader, scale); break; case 3: outTangents = A.JsonUtils_jsonToPoints(reader, scale); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); if (reader.peek$0() === B.Token_1) reader.endArray$0(); if (pointsArray == null || inTangents == null || outTangents == null) throw A.wrapException(A.Exception_Exception("Shape data was missing information.")); t1 = pointsArray.length; if (t1 === 0) return A.ShapeData$(A._setArrayType([], type$.JSArray_CubicCurveData), false, B.Offset_0_0); vertex = pointsArray[0]; curves = A._setArrayType([], type$.JSArray_CubicCurveData); for (i = 1; i < t1; ++i) { vertex0 = pointsArray[i]; t2 = i - 1; previousVertex = pointsArray[t2]; cp1 = outTangents[t2]; cp2 = inTangents[i]; t2 = new A.CubicCurveData(B.Offset_0_0, B.Offset_0_0, B.Offset_0_0); t2.controlPoint1 = new A.Offset(previousVertex._dx + cp1._dx, previousVertex._dy + cp1._dy); t2.controlPoint2 = new A.Offset(vertex0._dx + cp2._dx, vertex0._dy + cp2._dy); t2.vertex = vertex0; curves.push(t2); } if ($closed) { vertex0 = pointsArray[0]; --t1; previousVertex = pointsArray[t1]; cp1 = outTangents[t1]; cp2 = inTangents[0]; shapeCp1 = previousVertex.$add(0, cp1); shapeCp2 = vertex0.$add(0, cp2); t1 = new A.CubicCurveData(B.Offset_0_0, B.Offset_0_0, B.Offset_0_0); t1.controlPoint1 = shapeCp1; t1.controlPoint2 = shapeCp2; t1.vertex = vertex0; curves.push(t1); } return A.ShapeData$(curves, $closed, vertex); }, ShapeFillParser_parse(reader, composition) { var p, fillType, t1 = type$.int, t2 = type$.Color, color = null, fillEnabled = false, opacity = null, $name = null, fillTypeInt = 1, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapeFillParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: color = new A.AnimatableColorValue(A.KeyframesParser_parse(reader, composition, 1, A.color_parser__colorParser$closure(), false, t2)); break; case 2: opacity = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t1)); break; case 3: fillEnabled = reader.nextBoolean$0(); break; case 4: fillTypeInt = reader.nextInt$0(); break; case 5: hidden = reader.nextBoolean$0(); break; default: reader.skipName$0(); reader.skipValue$0(); } } fillType = fillTypeInt === 1 ? B.PathFillType_0 : B.PathFillType_1; return new A.ShapeFill(fillEnabled, fillType, $name, color, opacity == null ? new A.AnimatableIntegerValue(A._setArrayType([A.Keyframe$nonAnimated(100, t1)], type$.JSArray_Keyframe_int)) : opacity, hidden); }, ShapeGroupParser_parse(reader, composition) { var p, newItem, items = A._setArrayType([], type$.JSArray_ContentModel), $name = null, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapeGroupParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: hidden = reader.nextBoolean$0(); break; case 2: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; newItem = A.ContentModelParser_parse(reader, composition); if (newItem != null) items.push(newItem); } reader.endArray$0(); break; default: reader.skipValue$0(); } } return new A.ShapeGroup($name, items, hidden); }, ShapePathParser_parse(reader, composition) { var p, scale, ratio, t1 = type$.ShapeData, $name = null, ind = 0, shape = null, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapePathParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: ind = reader.nextInt$0(); break; case 2: scale = $.$get$window()._debugDevicePixelRatio; if (scale == null) { ratio = window.devicePixelRatio; scale = ratio === 0 ? 1 : ratio; } shape = new A.AnimatableShapeValue(A.KeyframesParser_parse(reader, composition, scale, A.shape_data_parser__shapeDataParser$closure(), false, t1)); break; case 3: hidden = reader.nextBoolean$0(); break; default: reader.skipValue$0(); } } shape.toString; return new A.ShapePath($name, ind, shape, hidden); }, ShapeStrokeParser_parse(reader, composition) { var p, t4, ratio, scale, val, n, _null = null, lineDashPattern = A._setArrayType([], type$.JSArray_AnimatableDoubleValue), t1 = type$.double, t2 = type$.int, t3 = type$.Color, offset = _null, joinType = offset, capType = joinType, opacity = capType, width = opacity, color = width, $name = color, miterLimit = 0, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapeStrokeParser__names())) { case 0: $name = reader.nextString$0(); break; case 1: color = new A.AnimatableColorValue(A.KeyframesParser_parse(reader, composition, 1, A.color_parser__colorParser$closure(), false, t3)); break; case 2: t4 = $.$get$window(); t4 = t4._debugDevicePixelRatio; if (t4 == null) { ratio = window.devicePixelRatio; t4 = ratio === 0 ? 1 : ratio; scale = t4; } else scale = t4; width = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; case 3: opacity = new A.AnimatableIntegerValue(A.KeyframesParser_parse(reader, composition, 1, A.integer_parser__integerParser$closure(), false, t2)); break; case 4: capType = B.List_kr3[reader.nextInt$0() - 1]; break; case 5: joinType = B.List_ZG6[reader.nextInt$0() - 1]; break; case 6: miterLimit = reader.nextDouble$0(); break; case 7: hidden = reader.nextBoolean$0(); break; case 8: reader.beginArray$0(); while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; reader.beginObject$0(); val = _null; n = val; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapeStrokeParser__dashPatternNames())) { case 0: n = reader.nextString$0(); break; case 1: t4 = $.$get$window(); t4 = t4._debugDevicePixelRatio; if (t4 == null) { ratio = window.devicePixelRatio; t4 = ratio === 0 ? 1 : ratio; scale = t4; } else scale = t4; val = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, scale, A.float_parser__floatParser$closure(), false, t1)); break; default: reader.skipName$0(); reader.skipValue$0(); } } reader.endObject$0(); switch (n) { case "o": offset = val; break; case "d": case "g": val.toString; lineDashPattern.push(val); break; } } reader.endArray$0(); if (lineDashPattern.length === 1) lineDashPattern.push(B.JSArray_methods.get$first(lineDashPattern)); break; default: reader.skipValue$0(); } } if (opacity == null) opacity = new A.AnimatableIntegerValue(A._setArrayType([A.Keyframe$nonAnimated(100, t2)], type$.JSArray_Keyframe_int)); color.toString; width.toString; return new A.ShapeStroke($name, offset, lineDashPattern, color, opacity, width, capType, joinType, miterLimit, hidden); }, ShapeTrimPathParser_parse(reader, composition) { var p, _null = null, t1 = type$.double, offset = _null, end = offset, start = end, type = start, $name = type, hidden = false; while (true) { p = reader._peeked; if (p === 0) p = reader._doPeek$0(); if (!(p !== 2 && p !== 4 && p !== 18)) break; switch (reader.selectName$1($.$get$ShapeTrimPathParser__names())) { case 0: start = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 1: end = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 2: offset = new A.AnimatableDoubleValue(A.KeyframesParser_parse(reader, composition, 1, A.float_parser__floatParser$closure(), false, t1)); break; case 3: $name = reader.nextString$0(); break; case 4: type = A.ShapeTrimPath_typeForId(reader.nextInt$0()); break; case 5: hidden = reader.nextBoolean$0(); break; default: reader.skipValue$0(); } } type.toString; start.toString; end.toString; offset.toString; return new A.ShapeTrimPath($name, type, start, end, offset, hidden); }, Matrix4Extension_mapPoints(_this, array) { var i, t1, v; for (i = 0; i < 8; i += 2) { t1 = i + 1; v = A.MatrixUtils_transformPoint(_this, new A.Offset(array[i], array[t1])); array[i] = v._dx; array[t1] = v._dy; } }, Matrix4Extension_getScale(_this) { var t2, t3, t4, p1, dx, dy, t1 = new Float64Array(3), p0 = new A.Vector3(t1); p0.setValues$3(0, 0, 0); p0.applyMatrix4$1(_this); t2 = Math.sqrt(2); t3 = Math.sqrt(2); t4 = new Float64Array(3); p1 = new A.Vector3(t4); p1.setValues$3(1 / t2, 1 / t3, 0); p1.applyMatrix4$1(_this); dx = t4[0] - t1[0]; dy = t4[1] - t1[1]; return Math.sqrt(dx * dx + dy * dy); }, IterableExtension_firstWhereOrNull0(_this, test) { var t1, _i, element; for (t1 = _this.length, _i = 0; _i < _this.length; _this.length === t1 || (0, A.throwConcurrentModificationError)(_this), ++_i) { element = _this[_i]; if (test.call$1(element)) return element; } return null; }, GammaEvaluator__oecfSRgb(linear) { return linear <= 0.0031308 ? linear * 12.92 : Math.pow(linear, 0.4166666666666667) * 1.055 - 0.055; }, GammaEvaluator__eocfSRgb(srgb) { return srgb <= 0.04045 ? srgb / 12.92 : Math.pow((srgb + 0.055) / 1.055, 2.4); }, GammaEvaluator_evaluate(fraction, startColor, endColor) { var startA, t1, t2, t3, t4, t5, t6, t7, startR, startG, startB, endR, endG, endB; if (startColor.$eq(0, endColor)) return startColor; startA = (startColor.get$value(startColor) >>> 24 & 255) / 255; t1 = startColor.get$value(startColor); t2 = startColor.get$value(startColor); t3 = startColor.get$value(startColor); t4 = endColor.get$value(endColor); t5 = endColor.get$value(endColor); t6 = endColor.get$value(endColor); t7 = endColor.get$value(endColor); startR = A.GammaEvaluator__eocfSRgb((t1 >>> 16 & 255) / 255); startG = A.GammaEvaluator__eocfSRgb((t2 >>> 8 & 255) / 255); startB = A.GammaEvaluator__eocfSRgb((t3 & 255) / 255); endR = A.GammaEvaluator__eocfSRgb((t5 >>> 16 & 255) / 255); endG = A.GammaEvaluator__eocfSRgb((t6 >>> 8 & 255) / 255); endB = A.GammaEvaluator__eocfSRgb((t7 & 255) / 255); t7 = A.GammaEvaluator__oecfSRgb(startR + fraction * (endR - startR)); t6 = A.GammaEvaluator__oecfSRgb(startG + fraction * (endG - startG)); t5 = A.GammaEvaluator__oecfSRgb(startB + fraction * (endB - startB)); return A.Color$fromARGB(B.JSNumber_methods.round$0((startA + fraction * ((t4 >>> 24 & 255) / 255 - startA)) * 255), B.JSNumber_methods.round$0(t7 * 255), B.JSNumber_methods.round$0(t6 * 255), B.JSNumber_methods.round$0(t5 * 255)); }, MiscUtils_getPathFromData(shapeData, outPath) { var initialPoint, t1, currentPoint, i, curveData, cp1, cp2, vertex, t2, t3, t4; outPath.reset$0(0); initialPoint = shapeData._initialPoint; outPath.moveTo$2(0, initialPoint._dx, initialPoint._dy); for (t1 = shapeData.curves, currentPoint = initialPoint, i = 0; i < t1.length; ++i, currentPoint = vertex) { curveData = t1[i]; cp1 = curveData.controlPoint1; cp2 = curveData.controlPoint2; vertex = curveData.vertex; if (cp1.$eq(0, currentPoint)) t2 = vertex._dx === cp2._dx && vertex._dy === cp2._dy; else t2 = false; t3 = vertex._dx; t4 = vertex._dy; if (t2) outPath.lineTo$2(0, t3, t4); else outPath.cubicTo$6(0, cp1._dx, cp1._dy, cp2._dx, cp2._dy, t3, t4); } if (shapeData._closed) outPath.close$0(0); }, MiscUtils_isAtLeastVersion(major, minor, patch, minMajor, minMinor, minPatch) { if (major < minMajor) return false; else if (major > minMajor) return true; if (minor < minMinor) return false; else if (minor > minMinor) return true; return patch >= minPatch; }, MiscUtils_parseColor(colorString, warningCallback) { var color, t1 = colorString.length; if (t1 !== 0 && colorString[0] === "#") { color = A.int_parse(B.JSString_methods.substring$1(colorString, 1), 16); if (t1 === 7) color |= 4278190080; else if (t1 !== 9) { warningCallback.call$1("Unknown color colorString: " + colorString); return B.Color_4294967295; } return new A.Color(color >>> 0); } warningCallback.call$1("Unknown colorString is empty or format incorrect: " + colorString); return B.Color_4294967295; }, MiscUtils_floorMod(x, y) { var t1 = B.JSNumber_methods.toInt$0(x), t2 = B.JSNumber_methods.toInt$0(y), r = B.JSInt_methods.$tdiv(t1, t2); B.JSInt_methods.$mod(t1, t2); return t1 - t2 * r; }, Utils_applyTrimPathContentIfNeeded(path, trimPath) { var t1, t2, t3; if (trimPath.hidden) return; t1 = trimPath.start; t2 = trimPath.end; t3 = trimPath.offset; A.Utils_applyTrimPathIfNeeded(path, t1.get$value(t1) / 100, t2.get$value(t2) / 100, t3.get$value(t3) / 360); }, Utils_applyTrimPathIfNeeded(path, startValue, endValue, offsetValue) { var t1, metrics, pathMeasure, $length, start, end, offset, newStart, newEnd, tempPath, _s21_ = "applyTrimPathIfNeeded"; A.L_beginSection(_s21_); t1 = path.computeMetrics$0(); metrics = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); if (metrics.length === 0) { A.L_endSection(_s21_); return; } pathMeasure = B.JSArray_methods.get$first(metrics); if (startValue === 1 && endValue === 0) { A.L_endSection(_s21_); return; } $length = pathMeasure.get$length(pathMeasure); if ($length < 1 || Math.abs(endValue - startValue - 1) < 0.01) { A.L_endSection(_s21_); return; } start = $length * startValue; end = $length * endValue; offset = offsetValue * $length; newStart = Math.min(start, end) + offset; newEnd = Math.max(start, end) + offset; if (newStart >= $length && newEnd >= $length) { newStart = A.MiscUtils_floorMod(newStart, $length); newEnd = A.MiscUtils_floorMod(newEnd, $length); } if (newStart < 0) newStart = A.MiscUtils_floorMod(newStart, $length); if (newEnd < 0) newEnd = A.MiscUtils_floorMod(newEnd, $length); if (newStart === newEnd) { path.reset$0(0); A.L_endSection(_s21_); return; } if (newStart >= newEnd) newStart -= $length; tempPath = pathMeasure.extractPath$3$startWithMoveTo(newStart, newEnd, true); if (newEnd > $length) tempPath.addPath$2(0, pathMeasure.extractPath$3$startWithMoveTo(0, B.JSNumber_methods.$mod(newEnd, $length), true), B.Offset_0_0); else if (newStart < 0) tempPath.addPath$2(0, pathMeasure.extractPath$3$startWithMoveTo($length + newStart, $length, true), B.Offset_0_0); path.reset$0(0); path.addPath$2(0, tempPath, B.Offset_0_0); A.L_endSection(_s21_); }, escapeAttribute(value) { var ch, t1 = value.length, i = 0, t2 = ""; while (true) { if (!(i < t1)) { t1 = t2; break; } ch = B.JSString_methods._codeUnitAt$1(value, i); if (ch === 92) { ++i; if (i === t1) { t1 = t2 + A.Primitives_stringFromCharCode(ch); break; } ch = B.JSString_methods._codeUnitAt$1(value, 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 = uri.resolve$1(".").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; }, isDriveLetter(path, index) { var t1 = path.length, t2 = index + 2; if (t1 < t2) return false; if (!A.isAlphabetic(B.JSString_methods.codeUnitAt$1(path, index))) return false; if (B.JSString_methods.codeUnitAt$1(path, index + 1) !== 58) return false; if (t1 === t2) return true; return B.JSString_methods.codeUnitAt$1(path, t2) === 47; }, toCharCode(element) { var value; if (typeof element == "number") return B.JSNumber_methods.round$0(element); value = J.toString$0$(element); if (value.length !== 1) throw A.wrapException(A.ArgumentError$('"' + value + '" is not a character', null)); return B.JSString_methods._codeUnitAt$1(value, 0); }, _toFormattedChar(code) { switch (code) { case 8: return "\\b"; case 9: return "\\t"; case 10: return "\\n"; case 11: return "\\v"; case 12: return "\\f"; case 13: return "\\r"; case 34: return '\\"'; case 39: return "\\'"; case 92: return "\\\\"; } if (code < 32) return "\\x" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(code, 16), 2, "0"); return A.Primitives_stringFromCharCode(code); }, selectLast(first, second) { return second; }, constructFpStandardCurve($name, $constructor, a, b, g, h, n, q, seed) { var seedBytes, encoded, expectedLength, t1, p, x, t2, beta, t3, bit0, _null = null, curve = new A.ECCurve(q); curve.ECCurveBase$2(a, b); curve._infinity = A.ECPoint$(curve, _null, _null, false); seedBytes = seed == null ? _null : A.encodeBigInt(seed); encoded = A.encodeBigInt(g); expectedLength = B.JSInt_methods._tdivFast$1(q.get$bitLength(q) + 7, 8); t1 = encoded[0]; switch (t1) { case 0: if (encoded.length !== 1) A.throwExpression(A.ArgumentError$("Incorrect length for infinity encoding", _null)); p = curve._infinity; break; case 2: case 3: if (encoded.length !== expectedLength + 1) A.throwExpression(A.ArgumentError$("Incorrect length for compressed encoding", _null)); x = A.ECFieldElement$(q, A.decodeBigIntWithSign(1, B.NativeUint8List_methods.sublist$2(encoded, 1, 1 + expectedLength))); t2 = type$.ECFieldElement; beta = x.$mul(0, x.$mul(0, x).$add(0, t2._as(curve._a))).$add(0, t2._as(curve._b)).sqrt$0(); if (beta == null) A.throwExpression(A.ArgumentError$("Invalid point compression", _null)); t2 = beta.x; t2.toString; t3 = t2.$and(0, $.$get$_BigIntImpl_one().$shl(0, 0)).compareTo$1(0, $.$get$_BigIntImpl_zero()); bit0 = t3 !== 0 ? 1 : 0; p = A.ECPoint$(curve, x, bit0 !== (t1 & 1) ? A.ECFieldElement$(q, q.$sub(0, t2)) : beta, true); break; case 4: case 6: case 7: if (encoded.length !== 2 * expectedLength + 1) A.throwExpression(A.ArgumentError$("Incorrect length for uncompressed/hybrid encoding", _null)); t1 = 1 + expectedLength; t2 = A.decodeBigIntWithSign(1, B.NativeUint8List_methods.sublist$2(encoded, 1, t1)); t1 = A.decodeBigIntWithSign(1, B.NativeUint8List_methods.sublist$2(encoded, t1, t1 + expectedLength)); p = A.ECPoint$(curve, A.ECFieldElement$(q, t2), A.ECFieldElement$(q, t1), false); break; default: A.throwExpression(A.ArgumentError$("Invalid point encoding 0x" + B.JSInt_methods.toRadixString$1(t1, 16), _null)); p = _null; } return $constructor.call$6($name, curve, p, n, h, seedBytes); }, arrayCopy(sourceArr, sourcePos, outArr, outPos, len) { var i; for (i = 0; i < len; ++i) outArr[outPos + i] = sourceArr[sourcePos + i]; }, decodeBigIntWithSign(sign, magnitude) { var t1, result, i, t2; if (sign === 0) return $.$get$_BigIntImpl_zero(); t1 = magnitude.length; if (t1 === 1) result = A._BigIntImpl__BigIntImpl$from(magnitude[0]); else { result = A._BigIntImpl__BigIntImpl$from(0); for (i = 0; i < t1; ++i) result = result.$or(0, A._BigIntImpl__BigIntImpl$from(magnitude[t1 - i - 1]).$shl(0, 8 * i)); } t1 = result.compareTo$1(0, $.$get$_BigIntImpl_zero()); if (t1 !== 0) { t1 = result.get$bitLength(result); t2 = $.$get$_BigIntImpl_one(); result = result.$and(0, t2.$shl(0, t1).$sub(0, t2)); } return result; }, encodeBigInt(number) { var rawSize, needsPaddingByte, size, result, i, t1 = $.$get$_BigIntImpl_zero(), t2 = number.compareTo$1(0, t1); if (t2 === 0) return new Uint8Array(A._ensureNativeList(A._setArrayType([0], type$.JSArray_int))); if (number.compareTo$1(0, t1) > 0) { rawSize = B.JSInt_methods._shrOtherPositive$1(number.get$bitLength(number) + 7, 3); t1 = number.$shr(0, (rawSize - 1) * 8); t2 = $.$get$negativeFlag(); needsPaddingByte = J.$eq$(t1.$and(0, t2), t2) ? 1 : 0; } else { rawSize = B.JSInt_methods._shrOtherPositive$1(number.get$bitLength(number) + 8, 3); needsPaddingByte = 0; } size = rawSize + needsPaddingByte; result = new Uint8Array(size); for (i = 0; i < rawSize; ++i) { number.toString; result[size - i - 1] = number.$and(0, $.$get$_byteMask()).toInt$0(0); number = number.$shr(0, 8); } return result; }, isAllTheSame(iter) { var firstValue, t1, t2; if (iter.get$length(iter) === 0) return true; firstValue = iter.get$first(iter); for (t1 = A.SubListIterable$(iter, 1, null, iter.$ti._eval$1("ListIterable.E")), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) if (!J.$eq$(t2._as(t1.__internal$_current), 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; for (t1 = new A.CodeUnits(string), t2 = type$.CodeUnits, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListMixin.E>")), t2 = t2._eval$1("ListMixin.E"), count = 0; t1.moveNext$0();) if (t2._as(t1.__internal$_current) === 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; }, operatingSystem() { var s = window.navigator.userAgent.toLowerCase(); if (B.JSString_methods.contains$1(s, "iphone") || B.JSString_methods.contains$1(s, "ipad") || B.JSString_methods.contains$1(s, "ipod") || B.JSString_methods.contains$1(s, "watch os")) return "ios"; if (B.JSString_methods.contains$1(s, "mac os")) return "macos"; if (B.JSString_methods.contains$1(s, "fuchsia")) return "fuchsia"; if (B.JSString_methods.contains$1(s, "android")) return "android"; if (B.JSString_methods.contains$1(s, "linux") || B.JSString_methods.contains$1(s, "cros") || B.JSString_methods.contains$1(s, "chromebook")) return "linux"; if (B.JSString_methods.contains$1(s, "windows")) return "windows"; return ""; }, launch(urlString) { return A.launch$body(urlString); }, launch$body(urlString) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, url, isWebURL, t1, result; var $async$launch = 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 url = A.Uri_parse(B.JSString_methods.trimLeft$0(urlString), 0, null); isWebURL = url.get$scheme() === "http" || url.get$scheme() === "https"; t1 = $.$get$UrlLauncherPlatform__instance(); $async$goto = 3; return A._asyncAwait(t1.launch$8$enableDomStorage$enableJavaScript$headers$universalLinksOnly$useSafariVC$useWebView$webOnlyWindowName(urlString, false, false, B.Map_empty10, false, isWebURL, false, null), $async$launch); case 3: // returning from await. result = $async$result; $async$returnValue = result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$launch, $async$completer); }, canLaunch(urlString) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue; var $async$canLaunch = 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$UrlLauncherPlatform__instance().canLaunch$1(urlString), $async$canLaunch); case 3: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$canLaunch, $async$completer); }, UuidUtil_mathRNG() { var i, b = new Uint8Array(16), rand = $.$get$UuidUtil__random(); for (i = 0; i < 16; ++i) b[i] = rand.nextInt$1(256); return b; }, _defaultPlatformInstance() { var t1 = $.$get$WakelockPlatformInterface__instance(); return t1; }, _libraryUrl(url, pluginName) { var _s18_ = "./assets/packages/"; if (B.JSString_methods.startsWith$1(url, "./")) { url = B.JSString_methods.replaceFirst$2(url, "./", ""); return _s18_ + pluginName + "/" + url; } if (B.JSString_methods.startsWith$1(url, "assets/")) return _s18_ + pluginName + "/" + url; else return url; }, _importJSLibraries(libraries) { var t2, _i, library, t3, script, loading = A._setArrayType([], type$.JSArray_Future_void), t1 = document, head = t1.querySelector("head"); for (t2 = type$._ElementEventStreamImpl_Event, _i = 0; _i < 1; ++_i) { library = libraries[_i]; t3 = t1.querySelector("head"); t3.toString; if (!A._isLoaded(t3, library)) { script = t1.createElement("script"); script.type = "text/javascript"; script.charset = "utf-8"; script.async = true; script.src = library; head.toString; J.get$children$x(head).add$1(0, script); t3 = new A._ElementEventStreamImpl(script, "load", false, t2); loading.push(t3.get$first(t3)); } } return A.Future_wait(loading, false, type$.void); }, _isLoaded(head, url) { var t1, t2, t3, t4; if (B.JSString_methods.startsWith$1(url, "./")) url = B.JSString_methods.replaceFirst$2(url, "./", ""); for (t1 = J.get$children$x(head), t1 = t1.get$iterator(t1), t2 = type$.ScriptElement_2, t3 = t1.$ti._precomputed1; t1.moveNext$0();) { t4 = t3._as(t1.__interceptors$_current); if (t2._is(t4)) if (B.JSString_methods.endsWith$1(t4.src, url)) return true; } return false; }, main0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t2, t3, t4, vendor, appVersion, t1; 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 t1 = $.$get$webPluginRegistrar(); window.navigator; t2 = $.$get$DeviceInfoPlatform__token(); t3 = new A.DeviceInfoPlusPlugin(t2); A.PlatformInterface_verifyToken(t3, t2); $.DeviceInfoPlatform__instance = t3; t3 = $.$get$FilePickerWeb_platform(); A.PlatformInterface_verifyToken(t3, $.$get$FilePicker__token()); $.FilePicker__instance = t3; A.FlutterDropzonePlugin_registerWith(t1); window.navigator; t3 = $.$get$FlutterKeyboardVisibilityPlatform__token(); A.PlatformInterface_verifyToken(new A.FlutterKeyboardVisibilityPlugin(t3), t3); t3 = $.$get$JitsiMeetPlugin__instance(); A.PlatformInterface_verifyToken(t3, $.$get$JitsiMeetPlatform__token()); $.JitsiMeetPlatform__instance = t3; t3 = type$.nullable_String; new A.MethodChannel("io.scer.native_pdf_renderer", B.C_StandardMethodCodec, t1).setMethodCallHandler$1(new A.NativePdfRendererPlugin(new A.DocumentRepository(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Document_3)), new A.PageRepository(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.Page))).get$onMethodCall()); A.SharedPreferencesStorePlatform_instance(new A.SharedPreferencesPlugin()); t2 = window; t3 = $.$get$UrlLauncherPlatform__token(); t4 = new A.UrlLauncherPlugin(t2, t3); t2 = t2.navigator; vendor = t2.vendor; appVersion = t2.appVersion; if (B.JSString_methods.contains$1(vendor, "Apple")) t2 = B.JSString_methods.contains$1(appVersion, "Version"); else t2 = false; t4._isSafari = t2; A.PlatformInterface_verifyToken(t4, t3); $.UrlLauncherPlatform__instance = t4; $.$get$platformViewRegistry(); $.$get$platformViewManager().registerFactory$2("__url_launcher::link", A.link_LinkViewController__viewFactory$closure()); A.VideoPlayerPlatform_instance(new A.VideoPlayerPlugin(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._VideoPlayer))); A._importJSLibraries(A._setArrayType([A._libraryUrl("assets/no_sleep.js", "wakelock_web")], type$.JSArray_String)); $.WakelockPlatformInterface__instance = new A.WakelockWeb(); $.pluginMessageCallHandler = t1.get$handleFrameworkMessage(); $async$goto = 2; return A._asyncAwait(A.webOnlyInitializePlatform(), $async$main0); case 2: // returning from await. A.main(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$main0, $async$completer); } }, 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 = B.JSString_methods._codeUnitAt$1(string, 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 = B.JSString_methods.codeUnitAt$1(string, 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 (receiver.constructor == Array) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.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 (receiver.constructor == Array) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.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 (receiver.constructor == Array) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; return receiver; } if (receiver instanceof A.Object) return receiver; return J.getNativeInterceptor(receiver); }, getInterceptor$ax(receiver) { if (receiver == null) return receiver; if (receiver.constructor == Array) return J.JSArray.prototype; if (typeof receiver != "object") { if (typeof receiver == "function") return J.JavaScriptFunction.prototype; return receiver; } if (receiver instanceof 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; 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$height$x(receiver, value) { return J.getInterceptor$x(receiver).set$height(receiver, value); }, set$length$asx(receiver, value) { return J.getInterceptor$asx(receiver).set$length(receiver, value); }, set$width$x(receiver, value) { return J.getInterceptor$x(receiver).set$width(receiver, value); }, get$AboveBaseline$x(receiver) { return J.getInterceptor$x(receiver).get$AboveBaseline(receiver); }, get$All$x(receiver) { return J.getInterceptor$x(receiver).get$All(receiver); }, get$AlphaType$x(receiver) { return J.getInterceptor$x(receiver).get$AlphaType(receiver); }, get$Alphabetic$x(receiver) { return J.getInterceptor$x(receiver).get$Alphabetic(receiver); }, get$Baseline$x(receiver) { return J.getInterceptor$x(receiver).get$Baseline(receiver); }, get$BelowBaseline$x(receiver) { return J.getInterceptor$x(receiver).get$BelowBaseline(receiver); }, get$Bevel$x(receiver) { return J.getInterceptor$x(receiver).get$Bevel(receiver); }, get$BlendMode$x(receiver) { return J.getInterceptor$x(receiver).get$BlendMode(receiver); }, get$BlurStyle$x(receiver) { return J.getInterceptor$x(receiver).get$BlurStyle(receiver); }, get$Bold$x(receiver) { return J.getInterceptor$x(receiver).get$Bold(receiver); }, get$Bottom$x(receiver) { return J.getInterceptor$x(receiver).get$Bottom(receiver); }, get$Butt$x(receiver) { return J.getInterceptor$x(receiver).get$Butt(receiver); }, get$Center$x(receiver) { return J.getInterceptor$x(receiver).get$Center(receiver); }, get$Clamp$x(receiver) { return J.getInterceptor$x(receiver).get$Clamp(receiver); }, get$Clear$x(receiver) { return J.getInterceptor$x(receiver).get$Clear(receiver); }, get$ClipOp$x(receiver) { return J.getInterceptor$x(receiver).get$ClipOp(receiver); }, get$Color$x(receiver) { return J.getInterceptor$x(receiver).get$Color(receiver); }, get$ColorBurn$x(receiver) { return J.getInterceptor$x(receiver).get$ColorBurn(receiver); }, get$ColorDodge$x(receiver) { return J.getInterceptor$x(receiver).get$ColorDodge(receiver); }, get$ColorFilter$x(receiver) { return J.getInterceptor$x(receiver).get$ColorFilter(receiver); }, get$ColorType$x(receiver) { return J.getInterceptor$x(receiver).get$ColorType(receiver); }, get$Darken$x(receiver) { return J.getInterceptor$x(receiver).get$Darken(receiver); }, get$Dashed$x(receiver) { return J.getInterceptor$x(receiver).get$Dashed(receiver); }, get$Decal$x(receiver) { return J.getInterceptor$x(receiver).get$Decal(receiver); }, get$DecorationStyle$x(receiver) { return J.getInterceptor$x(receiver).get$DecorationStyle(receiver); }, get$Difference$x(receiver) { return J.getInterceptor$x(receiver).get$Difference(receiver); }, get$DisableAll$x(receiver) { return J.getInterceptor$x(receiver).get$DisableAll(receiver); }, get$DisableFirstAscent$x(receiver) { return J.getInterceptor$x(receiver).get$DisableFirstAscent(receiver); }, get$DisableLastDescent$x(receiver) { return J.getInterceptor$x(receiver).get$DisableLastDescent(receiver); }, get$Dotted$x(receiver) { return J.getInterceptor$x(receiver).get$Dotted(receiver); }, get$Double$x(receiver) { return J.getInterceptor$x(receiver).get$Double(receiver); }, get$Dst$x(receiver) { return J.getInterceptor$x(receiver).get$Dst(receiver); }, get$DstATop$x(receiver) { return J.getInterceptor$x(receiver).get$DstATop(receiver); }, get$DstIn$x(receiver) { return J.getInterceptor$x(receiver).get$DstIn(receiver); }, get$DstOut$x(receiver) { return J.getInterceptor$x(receiver).get$DstOut(receiver); }, get$DstOver$x(receiver) { return J.getInterceptor$x(receiver).get$DstOver(receiver); }, get$End$x(receiver) { return J.getInterceptor$x(receiver).get$End(receiver); }, get$EvenOdd$x(receiver) { return J.getInterceptor$x(receiver).get$EvenOdd(receiver); }, get$Exclusion$x(receiver) { return J.getInterceptor$x(receiver).get$Exclusion(receiver); }, get$ExtraBlack$x(receiver) { return J.getInterceptor$x(receiver).get$ExtraBlack(receiver); }, get$ExtraBold$x(receiver) { return J.getInterceptor$x(receiver).get$ExtraBold(receiver); }, get$ExtraLight$x(receiver) { return J.getInterceptor$x(receiver).get$ExtraLight(receiver); }, get$Fill$x(receiver) { return J.getInterceptor$x(receiver).get$Fill(receiver); }, get$FillType$x(receiver) { return J.getInterceptor$x(receiver).get$FillType(receiver); }, get$FilterMode$x(receiver) { return J.getInterceptor$x(receiver).get$FilterMode(receiver); }, get$FontMgr$x(receiver) { return J.getInterceptor$x(receiver).get$FontMgr(receiver); }, get$FontSlant$x(receiver) { return J.getInterceptor$x(receiver).get$FontSlant(receiver); }, get$FontWeight$x(receiver) { return J.getInterceptor$x(receiver).get$FontWeight(receiver); }, get$HardLight$x(receiver) { return J.getInterceptor$x(receiver).get$HardLight(receiver); }, get$Hue$x(receiver) { return J.getInterceptor$x(receiver).get$Hue(receiver); }, get$Ideographic$x(receiver) { return J.getInterceptor$x(receiver).get$Ideographic(receiver); }, get$ImageFilter$x(receiver) { return J.getInterceptor$x(receiver).get$ImageFilter(receiver); }, get$IncludeLineSpacingBottom$x(receiver) { return J.getInterceptor$x(receiver).get$IncludeLineSpacingBottom(receiver); }, get$IncludeLineSpacingMiddle$x(receiver) { return J.getInterceptor$x(receiver).get$IncludeLineSpacingMiddle(receiver); }, get$IncludeLineSpacingTop$x(receiver) { return J.getInterceptor$x(receiver).get$IncludeLineSpacingTop(receiver); }, get$Inner$x(receiver) { return J.getInterceptor$x(receiver).get$Inner(receiver); }, get$Intersect$x(receiver) { return J.getInterceptor$x(receiver).get$Intersect(receiver); }, get$Italic$x(receiver) { return J.getInterceptor$x(receiver).get$Italic(receiver); }, get$Justify$x(receiver) { return J.getInterceptor$x(receiver).get$Justify(receiver); }, get$LTR$x(receiver) { return J.getInterceptor$x(receiver).get$LTR(receiver); }, get$Left$x(receiver) { return J.getInterceptor$x(receiver).get$Left(receiver); }, get$Light$x(receiver) { return J.getInterceptor$x(receiver).get$Light(receiver); }, get$Lighten$x(receiver) { return J.getInterceptor$x(receiver).get$Lighten(receiver); }, get$LineThroughDecoration$x(receiver) { return J.getInterceptor$x(receiver).get$LineThroughDecoration(receiver); }, get$Linear$x(receiver) { return J.getInterceptor$x(receiver).get$Linear(receiver); }, get$Luminosity$x(receiver) { return J.getInterceptor$x(receiver).get$Luminosity(receiver); }, get$MaskFilter$x(receiver) { return J.getInterceptor$x(receiver).get$MaskFilter(receiver); }, get$Max$x(receiver) { return J.getInterceptor$x(receiver).get$Max(receiver); }, get$Medium$x(receiver) { return J.getInterceptor$x(receiver).get$Medium(receiver); }, get$Middle$x(receiver) { return J.getInterceptor$x(receiver).get$Middle(receiver); }, get$MipmapMode$x(receiver) { return J.getInterceptor$x(receiver).get$MipmapMode(receiver); }, get$Mirror$x(receiver) { return J.getInterceptor$x(receiver).get$Mirror(receiver); }, get$Miter$x(receiver) { return J.getInterceptor$x(receiver).get$Miter(receiver); }, get$Modulate$x(receiver) { return J.getInterceptor$x(receiver).get$Modulate(receiver); }, get$Multiply$x(receiver) { return J.getInterceptor$x(receiver).get$Multiply(receiver); }, get$Nearest$x(receiver) { return J.getInterceptor$x(receiver).get$Nearest(receiver); }, get$NoDecoration$x(receiver) { return J.getInterceptor$x(receiver).get$NoDecoration(receiver); }, get$None$x(receiver) { return J.getInterceptor$x(receiver).get$None(receiver); }, get$Normal$x(receiver) { return J.getInterceptor$x(receiver).get$Normal(receiver); }, get$Outer$x(receiver) { return J.getInterceptor$x(receiver).get$Outer(receiver); }, get$Overlay$x(receiver) { return J.getInterceptor$x(receiver).get$Overlay(receiver); }, get$OverlineDecoration$x(receiver) { return J.getInterceptor$x(receiver).get$OverlineDecoration(receiver); }, get$PaintStyle$x(receiver) { return J.getInterceptor$x(receiver).get$PaintStyle(receiver); }, get$ParagraphBuilder$x(receiver) { return J.getInterceptor$x(receiver).get$ParagraphBuilder(receiver); }, get$Path$x(receiver) { return J.getInterceptor$x(receiver).get$Path(receiver); }, get$PlaceholderAlignment$x(receiver) { return J.getInterceptor$x(receiver).get$PlaceholderAlignment(receiver); }, get$Plus$x(receiver) { return J.getInterceptor$x(receiver).get$Plus(receiver); }, get$Premul$x(receiver) { return J.getInterceptor$x(receiver).get$Premul(receiver); }, get$RGBA_8888$x(receiver) { return J.getInterceptor$x(receiver).get$RGBA_8888(receiver); }, get$RTL$x(receiver) { return J.getInterceptor$x(receiver).get$RTL(receiver); }, get$RectHeightStyle$x(receiver) { return J.getInterceptor$x(receiver).get$RectHeightStyle(receiver); }, get$RectWidthStyle$x(receiver) { return J.getInterceptor$x(receiver).get$RectWidthStyle(receiver); }, get$Repeat$x(receiver) { return J.getInterceptor$x(receiver).get$Repeat(receiver); }, get$Right$x(receiver) { return J.getInterceptor$x(receiver).get$Right(receiver); }, get$Round$x(receiver) { return J.getInterceptor$x(receiver).get$Round(receiver); }, get$Saturation$x(receiver) { return J.getInterceptor$x(receiver).get$Saturation(receiver); }, get$Screen$x(receiver) { return J.getInterceptor$x(receiver).get$Screen(receiver); }, get$SemiBold$x(receiver) { return J.getInterceptor$x(receiver).get$SemiBold(receiver); }, get$Shader$x(receiver) { return J.getInterceptor$x(receiver).get$Shader(receiver); }, get$SoftLight$x(receiver) { return J.getInterceptor$x(receiver).get$SoftLight(receiver); }, get$Solid$x(receiver) { return J.getInterceptor$x(receiver).get$Solid(receiver); }, get$Square$x(receiver) { return J.getInterceptor$x(receiver).get$Square(receiver); }, get$Src$x(receiver) { return J.getInterceptor$x(receiver).get$Src(receiver); }, get$SrcATop$x(receiver) { return J.getInterceptor$x(receiver).get$SrcATop(receiver); }, get$SrcIn$x(receiver) { return J.getInterceptor$x(receiver).get$SrcIn(receiver); }, get$SrcOut$x(receiver) { return J.getInterceptor$x(receiver).get$SrcOut(receiver); }, get$SrcOver$x(receiver) { return J.getInterceptor$x(receiver).get$SrcOver(receiver); }, get$Start$x(receiver) { return J.getInterceptor$x(receiver).get$Start(receiver); }, get$Stroke$x(receiver) { return J.getInterceptor$x(receiver).get$Stroke(receiver); }, get$StrokeCap$x(receiver) { return J.getInterceptor$x(receiver).get$StrokeCap(receiver); }, get$StrokeJoin$x(receiver) { return J.getInterceptor$x(receiver).get$StrokeJoin(receiver); }, get$Strut$x(receiver) { return J.getInterceptor$x(receiver).get$Strut(receiver); }, get$TextAlign$x(receiver) { return J.getInterceptor$x(receiver).get$TextAlign(receiver); }, get$TextBaseline$x(receiver) { return J.getInterceptor$x(receiver).get$TextBaseline(receiver); }, get$TextDirection$x(receiver) { return J.getInterceptor$x(receiver).get$TextDirection(receiver); }, get$TextHeightBehavior$x(receiver) { return J.getInterceptor$x(receiver).get$TextHeightBehavior(receiver); }, get$Thin$x(receiver) { return J.getInterceptor$x(receiver).get$Thin(receiver); }, get$Tight$x(receiver) { return J.getInterceptor$x(receiver).get$Tight(receiver); }, get$TileMode$x(receiver) { return J.getInterceptor$x(receiver).get$TileMode(receiver); }, get$Top$x(receiver) { return J.getInterceptor$x(receiver).get$Top(receiver); }, get$TypefaceFontProvider$x(receiver) { return J.getInterceptor$x(receiver).get$TypefaceFontProvider(receiver); }, get$UnderlineDecoration$x(receiver) { return J.getInterceptor$x(receiver).get$UnderlineDecoration(receiver); }, get$Upright$x(receiver) { return J.getInterceptor$x(receiver).get$Upright(receiver); }, get$Wavy$x(receiver) { return J.getInterceptor$x(receiver).get$Wavy(receiver); }, get$Winding$x(receiver) { return J.getInterceptor$x(receiver).get$Winding(receiver); }, get$Xor$x(receiver) { return J.getInterceptor$x(receiver).get$Xor(receiver); }, get$aspectRatio$z(receiver) { return J.getInterceptor$z(receiver).get$aspectRatio(receiver); }, get$attributes$x(receiver) { return J.getInterceptor$x(receiver).get$attributes(receiver); }, get$canvasKitBaseUrl$x(receiver) { return J.getInterceptor$x(receiver).get$canvasKitBaseUrl(receiver); }, get$canvasKitForceCpuOnly$x(receiver) { return J.getInterceptor$x(receiver).get$canvasKitForceCpuOnly(receiver); }, get$canvasKitMaximumSurfaces$x(receiver) { return J.getInterceptor$x(receiver).get$canvasKitMaximumSurfaces(receiver); }, get$children$x(receiver) { return J.getInterceptor$x(receiver).get$children(receiver); }, get$current$z(receiver) { return J.getInterceptor$z(receiver).get$current(receiver); }, get$data$x(receiver) { return J.getInterceptor$x(receiver).get$data(receiver); }, get$debugShowSemanticsNodes$x(receiver) { return J.getInterceptor$x(receiver).get$debugShowSemanticsNodes(receiver); }, get$displayName$x(receiver) { return J.getInterceptor$x(receiver).get$displayName(receiver); }, get$entries$x(receiver) { return J.getInterceptor$x(receiver).get$entries(receiver); }, get$first$ax(receiver) { return J.getInterceptor$ax(receiver).get$first(receiver); }, get$hashCode$(receiver) { return J.getInterceptor$(receiver).get$hashCode(receiver); }, get$id$x(receiver) { return J.getInterceptor$x(receiver).get$id(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$key$x(receiver) { return J.getInterceptor$x(receiver).get$key(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$length$asx(receiver) { return J.getInterceptor$asx(receiver).get$length(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$parent$x(receiver) { return J.getInterceptor$x(receiver).get$parent(receiver); }, get$path$x(receiver) { return J.getInterceptor$x(receiver).get$path(receiver); }, get$promise$x(receiver) { return J.getInterceptor$x(receiver).get$promise(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$source$z(receiver) { return J.getInterceptor$z(receiver).get$source(receiver); }, get$stream$z(receiver) { return J.getInterceptor$z(receiver).get$stream(receiver); }, get$target$x(receiver) { return J.getInterceptor$x(receiver).get$target(receiver); }, get$text$x(receiver) { return J.getInterceptor$x(receiver).get$text(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$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); }, $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); }, $index$asx(receiver, a0) { if (typeof a0 === "number") if (receiver.constructor == Array || 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 ((receiver.constructor == Array || 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); }, $le$n(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver <= a0; return J.getInterceptor$n(receiver).$le(receiver, a0); }, $mul$ns(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver * a0; return J.getInterceptor$ns(receiver).$mul(receiver, a0); }, $negate$in(receiver) { if (typeof receiver == "number") return -receiver; return J.getInterceptor$in(receiver).$negate(receiver); }, $set$2$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).$set$2(receiver, a0, a1); }, $sub$n(receiver, a0) { if (typeof receiver == "number" && typeof a0 == "number") return receiver - a0; return J.getInterceptor$n(receiver).$sub(receiver, a0); }, GetWebGLContext$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).GetWebGLContext$2(receiver, a0, a1); }, Make$0$x(receiver) { return J.getInterceptor$x(receiver).Make$0(receiver); }, MakeAnimatedImageFromEncoded$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeAnimatedImageFromEncoded$1(receiver, a0); }, MakeBlend$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).MakeBlend$2(receiver, a0, a1); }, MakeBlur$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).MakeBlur$3(receiver, a0, a1, a2); }, MakeBlur$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).MakeBlur$4(receiver, a0, a1, a2, a3); }, MakeCompose$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).MakeCompose$2(receiver, a0, a1); }, MakeFromCmds$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeFromCmds$1(receiver, a0); }, MakeFromFontProvider$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).MakeFromFontProvider$2(receiver, a0, a1); }, MakeGrContext$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeGrContext$1(receiver, a0); }, MakeImage$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).MakeImage$3(receiver, a0, a1, a2); }, MakeLinearGradient$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).MakeLinearGradient$6(receiver, a0, a1, a2, a3, a4, a5); }, MakeMatrix$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeMatrix$1(receiver, a0); }, MakeOnScreenGLSurface$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).MakeOnScreenGLSurface$4(receiver, a0, a1, a2, a3); }, MakeRadialGradient$7$x(receiver, a0, a1, a2, a3, a4, a5, a6) { return J.getInterceptor$x(receiver).MakeRadialGradient$7(receiver, a0, a1, a2, a3, a4, a5, a6); }, MakeSWCanvasSurface$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeSWCanvasSurface$1(receiver, a0); }, MakeTwoPointConicalGradient$9$x(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8) { return J.getInterceptor$x(receiver).MakeTwoPointConicalGradient$9(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8); }, MakeTypefaceFromData$1$x(receiver, a0) { return J.getInterceptor$x(receiver).MakeTypefaceFromData$1(receiver, a0); }, ParagraphStyle$1$x(receiver, a0) { return J.getInterceptor$x(receiver).ParagraphStyle$1(receiver, a0); }, RefDefault$0$x(receiver) { return J.getInterceptor$x(receiver).RefDefault$0(receiver); }, TextStyle$1$x(receiver, a0) { return J.getInterceptor$x(receiver).TextStyle$1(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); }, addArc$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).addArc$3(receiver, a0, a1, a2); }, addEventListener$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); }, 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); }, addOval$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).addOval$3(receiver, a0, a1, a2); }, addPath$11$x(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) { return J.getInterceptor$x(receiver).addPath$11(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10); }, addPlaceholder$5$x(receiver, a0, a1, a2, a3, a4) { return J.getInterceptor$x(receiver).addPlaceholder$5(receiver, a0, a1, a2, a3, a4); }, addPopStateListener$1$x(receiver, a0) { return J.getInterceptor$x(receiver).addPopStateListener$1(receiver, a0); }, addRRect$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).addRRect$2(receiver, a0, a1); }, addRect$1$x(receiver, a0) { return J.getInterceptor$x(receiver).addRect$1(receiver, a0); }, addText$1$x(receiver, a0) { return J.getInterceptor$x(receiver).addText$1(receiver, a0); }, allMatches$1$s(receiver, a0) { return J.getInterceptor$s(receiver).allMatches$1(receiver, a0); }, any$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).any$1(receiver, a0); }, arcToOval$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).arcToOval$4(receiver, a0, a1, a2, a3); }, beginRecording$1$x(receiver, a0) { return J.getInterceptor$x(receiver).beginRecording$1(receiver, a0); }, build$0$x(receiver) { return J.getInterceptor$x(receiver).build$0(receiver); }, build$3$dimensions$textScaleFactor$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).build$3$dimensions$textScaleFactor(receiver, a0, a1, a2); }, cancel$0$z(receiver) { return J.getInterceptor$z(receiver).cancel$0(receiver); }, 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); }, clear$0$ax(receiver) { return J.getInterceptor$ax(receiver).clear$0(receiver); }, clear$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).clear$1(receiver, a0); }, clipPath$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).clipPath$3(receiver, a0, a1, a2); }, clipRRect$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).clipRRect$3(receiver, a0, a1, a2); }, clipRect$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).clipRect$3(receiver, a0, a1, a2); }, close$0$x(receiver) { return J.getInterceptor$x(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); }, 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); }, computeTonalColors$1$x(receiver, a0) { return J.getInterceptor$x(receiver).computeTonalColors$1(receiver, a0); }, concat$1$x(receiver, a0) { return J.getInterceptor$x(receiver).concat$1(receiver, a0); }, contains$1$asx(receiver, a0) { return J.getInterceptor$asx(receiver).contains$1(receiver, a0); }, contains$2$asx(receiver, a0, a1) { return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1); }, containsKey$1$x(receiver, a0) { return J.getInterceptor$x(receiver).containsKey$1(receiver, a0); }, copy$0$x(receiver) { return J.getInterceptor$x(receiver).copy$0(receiver); }, copy$1$range$x(receiver, a0) { return J.getInterceptor$x(receiver).copy$1$range(receiver, a0); }, createElement$1$x(receiver, a0) { return J.getInterceptor$x(receiver).createElement$1(receiver, a0); }, cubicTo$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).cubicTo$6(receiver, a0, a1, a2, a3, a4, a5); }, decodeNextFrame$0$x(receiver) { return J.getInterceptor$x(receiver).decodeNextFrame$0(receiver); }, delete$0$x(receiver) { return J.getInterceptor$x(receiver).delete$0(receiver); }, detach$0$z(receiver) { return J.getInterceptor$z(receiver).detach$0(receiver); }, didExceedMaxLines$0$x(receiver) { return J.getInterceptor$x(receiver).didExceedMaxLines$0(receiver); }, dispose$0$x(receiver) { return J.getInterceptor$x(receiver).dispose$0(receiver); }, drawArc$5$x(receiver, a0, a1, a2, a3, a4) { return J.getInterceptor$x(receiver).drawArc$5(receiver, a0, a1, a2, a3, a4); }, drawCircle$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).drawCircle$4(receiver, a0, a1, a2, a3); }, drawDRRect$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).drawDRRect$3(receiver, a0, a1, a2); }, drawImageCubic$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).drawImageCubic$6(receiver, a0, a1, a2, a3, a4, a5); }, drawImageOptions$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).drawImageOptions$6(receiver, a0, a1, a2, a3, a4, a5); }, drawImageRectCubic$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).drawImageRectCubic$6(receiver, a0, a1, a2, a3, a4, a5); }, drawImageRectOptions$6$x(receiver, a0, a1, a2, a3, a4, a5) { return J.getInterceptor$x(receiver).drawImageRectOptions$6(receiver, a0, a1, a2, a3, a4, a5); }, drawLine$5$x(receiver, a0, a1, a2, a3, a4) { return J.getInterceptor$x(receiver).drawLine$5(receiver, a0, a1, a2, a3, a4); }, drawPaint$1$x(receiver, a0) { return J.getInterceptor$x(receiver).drawPaint$1(receiver, a0); }, drawParagraph$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).drawParagraph$3(receiver, a0, a1, a2); }, drawPath$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).drawPath$2(receiver, a0, a1); }, drawPicture$1$x(receiver, a0) { return J.getInterceptor$x(receiver).drawPicture$1(receiver, a0); }, drawRRect$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).drawRRect$2(receiver, a0, a1); }, drawRect$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).drawRect$2(receiver, a0, a1); }, drawShadow$7$x(receiver, a0, a1, a2, a3, a4, a5, a6) { return J.getInterceptor$x(receiver).drawShadow$7(receiver, a0, a1, a2, a3, a4, a5, a6); }, elementAt$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); }, expand$1$1$ax(receiver, a0, $T1) { return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1); }, firstWhere$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).firstWhere$1(receiver, a0); }, floor$0$n(receiver) { return J.getInterceptor$n(receiver).floor$0(receiver); }, flush$0$x(receiver) { return J.getInterceptor$x(receiver).flush$0(receiver); }, focus$0$x(receiver) { return J.getInterceptor$x(receiver).focus$0(receiver); }, fold$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1); }, forEach$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); }, getAlphabeticBaseline$0$x(receiver) { return J.getInterceptor$x(receiver).getAlphabeticBaseline$0(receiver); }, getBounds$0$x(receiver) { return J.getInterceptor$x(receiver).getBounds$0(receiver); }, getCanvas$0$x(receiver) { return J.getInterceptor$x(receiver).getCanvas$0(receiver); }, getComputedStyle$0$x(receiver) { return J.getInterceptor$x(receiver).getComputedStyle$0(receiver); }, getGlyphBounds$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).getGlyphBounds$3(receiver, a0, a1, a2); }, getGlyphIDs$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getGlyphIDs$1(receiver, a0); }, getGlyphPositionAtCoordinate$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).getGlyphPositionAtCoordinate$2(receiver, a0, a1); }, getHeight$0$x(receiver) { return J.getInterceptor$x(receiver).getHeight$0(receiver); }, getIdeographicBaseline$0$x(receiver) { return J.getInterceptor$x(receiver).getIdeographicBaseline$0(receiver); }, getLineMetrics$0$x(receiver) { return J.getInterceptor$x(receiver).getLineMetrics$0(receiver); }, getLongestLine$0$x(receiver) { return J.getInterceptor$x(receiver).getLongestLine$0(receiver); }, getMaxIntrinsicWidth$0$x(receiver) { return J.getInterceptor$x(receiver).getMaxIntrinsicWidth$0(receiver); }, getMaxWidth$0$x(receiver) { return J.getInterceptor$x(receiver).getMaxWidth$0(receiver); }, getMinIntrinsicWidth$0$x(receiver) { return J.getInterceptor$x(receiver).getMinIntrinsicWidth$0(receiver); }, getPage$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getPage$1(receiver, a0); }, getPath$0$x(receiver) { return J.getInterceptor$x(receiver).getPath$0(receiver); }, getPosTan$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getPosTan$1(receiver, a0); }, getRange$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1); }, getRectsForPlaceholders$0$x(receiver) { return J.getInterceptor$x(receiver).getRectsForPlaceholders$0(receiver); }, getRectsForRange$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).getRectsForRange$4(receiver, a0, a1, a2, a3); }, getSegment$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).getSegment$3(receiver, a0, a1, a2); }, getState$0$x(receiver) { return J.getInterceptor$x(receiver).getState$0(receiver); }, getWordBoundary$1$x(receiver, a0) { return J.getInterceptor$x(receiver).getWordBoundary$1(receiver, a0); }, go$1$x(receiver, a0) { return J.getInterceptor$x(receiver).go$1(receiver, a0); }, height$0$x(receiver) { return J.getInterceptor$x(receiver).height$0(receiver); }, indexOf$1$asx(receiver, a0) { return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); }, 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); }, isAliasOf$1$x(receiver, a0) { return J.getInterceptor$x(receiver).isAliasOf$1(receiver, a0); }, isDeleted$0$x(receiver) { return J.getInterceptor$x(receiver).isDeleted$0(receiver); }, isEmpty$0$asx(receiver) { return J.getInterceptor$asx(receiver).isEmpty$0(receiver); }, isIdentity$0$z(receiver) { return J.getInterceptor$z(receiver).isIdentity$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); }, layout$1$x(receiver, a0) { return J.getInterceptor$x(receiver).layout$1(receiver, a0); }, length$0$asx(receiver) { return J.getInterceptor$asx(receiver).length$0(receiver); }, lineTo$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).lineTo$2(receiver, a0, a1); }, listener$1$z(receiver, a0) { return J.getInterceptor$z(receiver).listener$1(receiver, a0); }, listener$2$z(receiver, a0, a1) { return J.getInterceptor$z(receiver).listener$2(receiver, a0, a1); }, makeImageAtCurrentFrame$0$x(receiver) { return J.getInterceptor$x(receiver).makeImageAtCurrentFrame$0(receiver); }, 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); }, moveTo$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).moveTo$2(receiver, a0, a1); }, next$0$x(receiver) { return J.getInterceptor$x(receiver).next$0(receiver); }, noSuchMethod$1$(receiver, a0) { return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0); }, on$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).on$2(receiver, a0, a1); }, 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); }, pop$0$x(receiver) { return J.getInterceptor$x(receiver).pop$0(receiver); }, pushPaintStyle$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).pushPaintStyle$3(receiver, a0, a1, a2); }, pushState$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).pushState$3(receiver, a0, a1, a2); }, pushStyle$1$x(receiver, a0) { return J.getInterceptor$x(receiver).pushStyle$1(receiver, a0); }, putIfAbsent$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).putIfAbsent$2(receiver, a0, a1); }, quadTo$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).quadTo$4(receiver, a0, a1, a2, a3); }, rMoveTo$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).rMoveTo$2(receiver, a0, a1); }, register$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).register$2(receiver, a0, a1); }, registerFont$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).registerFont$2(receiver, a0, a1); }, releaseResourcesAndAbandonContext$0$x(receiver) { return J.getInterceptor$x(receiver).releaseResourcesAndAbandonContext$0(receiver); }, 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); }, removeRange$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); }, replaceRange$3$asx(receiver, a0, a1, a2) { return J.getInterceptor$asx(receiver).replaceRange$3(receiver, a0, a1, a2); }, replaceState$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).replaceState$3(receiver, a0, a1, a2); }, replaceWith$1$x(receiver, a0) { return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); }, reset$0$x(receiver) { return J.getInterceptor$x(receiver).reset$0(receiver); }, restore$0$x(receiver) { return J.getInterceptor$x(receiver).restore$0(receiver); }, restoreToCount$1$x(receiver, a0) { return J.getInterceptor$x(receiver).restoreToCount$1(receiver, a0); }, rotate$3$x(receiver, a0, a1, a2) { return J.getInterceptor$x(receiver).rotate$3(receiver, a0, a1, a2); }, round$0$n(receiver) { return J.getInterceptor$n(receiver).round$0(receiver); }, save$0$x(receiver) { return J.getInterceptor$x(receiver).save$0(receiver); }, saveLayer$4$x(receiver, a0, a1, a2, a3) { return J.getInterceptor$x(receiver).saveLayer$4(receiver, a0, a1, a2, a3); }, scale$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).scale$2(receiver, a0, a1); }, select$0$x(receiver) { return J.getInterceptor$x(receiver).select$0(receiver); }, 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); }, setAntiAlias$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setAntiAlias$1(receiver, a0); }, setBlendMode$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setBlendMode$1(receiver, a0); }, setColorFilter$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setColorFilter$1(receiver, a0); }, setColorInt$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setColorInt$1(receiver, a0); }, setFillType$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setFillType$1(receiver, a0); }, setMaskFilter$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setMaskFilter$1(receiver, a0); }, setRange$4$ax(receiver, a0, a1, a2, a3) { return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); }, setResourceCacheLimitBytes$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setResourceCacheLimitBytes$1(receiver, a0); }, setShader$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setShader$1(receiver, a0); }, setStrokeCap$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setStrokeCap$1(receiver, a0); }, setStrokeJoin$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setStrokeJoin$1(receiver, a0); }, setStrokeMiter$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setStrokeMiter$1(receiver, a0); }, setStrokeWidth$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setStrokeWidth$1(receiver, a0); }, setStyle$1$x(receiver, a0) { return J.getInterceptor$x(receiver).setStyle$1(receiver, a0); }, 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); }, sublist$2$ax(receiver, a0, a1) { return J.getInterceptor$ax(receiver).sublist$2(receiver, a0, a1); }, submit$0$z(receiver) { return J.getInterceptor$z(receiver).submit$0(receiver); }, 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$x(receiver, a0) { return J.getInterceptor$x(receiver).then$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); }, toCmds$0$x(receiver) { return J.getInterceptor$x(receiver).toCmds$0(receiver); }, toDouble$0$n(receiver) { return J.getInterceptor$n(receiver).toDouble$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); }, toLowerCase$0$s(receiver) { return J.getInterceptor$s(receiver).toLowerCase$0(receiver); }, toRadixString$1$n(receiver, a0) { return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); }, toSVGString$0$x(receiver) { return J.getInterceptor$x(receiver).toSVGString$0(receiver); }, toSet$0$ax(receiver) { return J.getInterceptor$ax(receiver).toSet$0(receiver); }, toString$0$(receiver) { return J.getInterceptor$(receiver).toString$0(receiver); }, toTypedArray$0$x(receiver) { return J.getInterceptor$x(receiver).toTypedArray$0(receiver); }, transform$9$x(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8) { return J.getInterceptor$x(receiver).transform$9(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8); }, translate$2$x(receiver, a0, a1) { return J.getInterceptor$x(receiver).translate$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); }, trimRight$0$s(receiver) { return J.getInterceptor$s(receiver).trimRight$0(receiver); }, unlock$0$x(receiver) { return J.getInterceptor$x(receiver).unlock$0(receiver); }, value$1$x(receiver, a0) { return J.getInterceptor$x(receiver).value$1(receiver, a0); }, where$1$ax(receiver, a0) { return J.getInterceptor$ax(receiver).where$1(receiver, a0); }, width$0$x(receiver) { return J.getInterceptor$x(receiver).width$0(receiver); }, Interceptor: function Interceptor() { }, JSBool: function JSBool() { }, JSNull: function JSNull() { }, JavaScriptObject: function JavaScriptObject() { }, PlainJavaScriptObject: function PlainJavaScriptObject() { }, UnknownJavaScriptObject: function UnknownJavaScriptObject() { }, JavaScriptFunction: function JavaScriptFunction() { }, JSArray: function JSArray(t0) { this.$ti = t0; }, JSUnmodifiableArray: function JSUnmodifiableArray(t0) { this.$ti = t0; }, ArrayIterator: function ArrayIterator(t0, t1, t2) { var _ = this; _._iterable = t0; _.__interceptors$_length = t1; _.__interceptors$_index = 0; _.__interceptors$_current = null; _.$ti = t2; }, JSNumber: function JSNumber() { }, JSInt: function JSInt() { }, JSNumNotInt: function JSNumNotInt() { }, JSString: function JSString() { } }, B = {}; var holders = [A, J, B]; hunkHelpers.setFunctionNamesIfNecessary(holders); var $ = {}; A.initializeEngine_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: 253 }; A.initializeEngine_closure0.prototype = { call$0() { var t1 = this._box_0; if (!t1.waitingForAnimation) { t1.waitingForAnimation = true; B.Window_methods.requestAnimationFrame$1(window, new A.initializeEngine__closure(t1)); } }, $signature: 0 }; A.initializeEngine__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); A.invoke1(t2, t1._onBeginFrameZone, t3, type$.Duration); } t2 = t1._onDrawFrame; if (t2 != null) A.invoke(t2, t1._onDrawFrameZone); }, $signature: 254 }; A._addUrlStrategyListener_closure.prototype = { call$1(jsStrategy) { var t1 = jsStrategy == null ? null : new A.CustomUrlStrategy(jsStrategy); $._isUrlStrategySet = true; $._customUrlStrategy = t1; }, $signature: 813 }; A._addUrlStrategyListener_closure0.prototype = { call$0() { self._flutter_web_set_location_strategy = null; }, $signature: 0 }; A.NullTreeSanitizer.prototype = { sanitizeTree$1(node) { } }; A.AlarmClock.prototype = { get$callback() { return A._lateReadCheck(this.__AlarmClock_callback, "callback"); }, 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), _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), _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; _this.callback$0(); } else _this._timer = A.Timer_Timer(A.Duration$(0, 0, 0, t1 - t2, 0), _this.get$_timerDidFire()); }, callback$0() { return this.get$callback().call$0(); } }; A.AssetManager.prototype = { get$_baseUrl() { var t1 = new A.WhereTypeIterable(new A._FrozenElementList(window.document.querySelectorAll("meta"), type$._FrozenElementList_Element), type$.WhereTypeIterable_nullable_MetaElement).firstWhere$2$orElse(0, new A.AssetManager__baseUrl_closure(), new A.AssetManager__baseUrl_closure0()); return t1 == null ? null : t1.content; }, getAssetUrl$1(asset) { var t1; if (A.Uri_parse(asset, 0, null).get$hasScheme()) return A._Uri__uriEncode(B.List_gnE, asset, B.C_Utf8Codec, false); t1 = this.get$_baseUrl(); if (t1 == null) t1 = ""; return A._Uri__uriEncode(B.List_gnE, t1 + ("assets/" + asset), B.C_Utf8Codec, false); }, load$1(_, asset) { return this.load$body$AssetManager(0, asset); }, load$body$AssetManager(_, asset) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteData), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, request, response, e, target, t1, exception, url, $async$exception; var $async$load$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 url = $async$self.getAssetUrl$1(asset); $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.HttpRequest_request(url, null, "arraybuffer"), $async$load$1); case 7: // returning from await. request = $async$result; response = type$.ByteBuffer._as(A._convertNativeToDart_XHR_Response(request.response)); t1 = A.NativeByteData_NativeByteData$view(response, 0, null); $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$.ProgressEvent._is(t1)) { e = t1; target = A._convertNativeToDart_EventTarget(e.target); if (type$.HttpRequest._is(target)) { if (target.status === 404 && asset === "AssetManifest.json") { $.$get$printWarning().call$1("Asset manifest does not exist at `" + A.S(url) + "` \u2013 ignoring."); $async$returnValue = A.NativeByteData_NativeByteData$view(new Uint8Array(A._ensureNativeList(B.C_Utf8Codec.get$encoder().convert$1("{}"))).buffer, 0, null); // goto return $async$goto = 1; break; } t1 = target.status; t1.toString; throw A.wrapException(new A.AssetManagerException(url, t1)); } $.$get$printWarning().call$1("Caught ProgressEvent with target: " + A.S(target)); throw $async$exception; } 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$load$1, $async$completer); } }; A.AssetManager__baseUrl_closure.prototype = { call$1(e) { return J.$eq$(J.get$name$x(e), "assetBase"); }, $signature: 77 }; A.AssetManager__baseUrl_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.AssetManagerException.prototype = { toString$0(_) { return 'Failed to load asset at "' + this.url + '" (' + this.httpStatus + ")"; }, $isException: 1 }; A.BrowserEngine.prototype = { toString$0(_) { return "BrowserEngine." + this._core$_name; } }; A.OperatingSystem.prototype = { toString$0(_) { return "OperatingSystem." + this._core$_name; } }; A.CanvasPool.prototype = { get$context(_) { var t1, ctx = this.__engine$_context; if (ctx == null) { this._createCanvas$0(); t1 = this.__engine$_context; t1.toString; ctx = t1; } return ctx; }, get$contextHandle() { if (this._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._canvas; if (t1 != null) { t1.width = 0; _this._canvas.height = 0; _this._canvas = null; } t1 = _this._reusablePool; if (t1 != null && t1.length !== 0) { t1.toString; canvas0 = B.JSArray_methods.removeAt$1(t1, 0); _this._canvas = canvas0; canvas = canvas0; reused = true; requiresClearRect = true; } else { t1 = _this._widthInBitmapPixels; t2 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t3 = _this._heightInBitmapPixels; t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); canvas = _this._allocCanvas$2(t1, t3); t5 = canvas; _this._canvas = t5; if (t5 == null) { A.reduceCanvasMemoryUsage(); canvas = _this._allocCanvas$2(t1, t3); } t5 = canvas.style; t5.position = "absolute"; t1 = A.S(t1 / t2) + "px"; t5.width = t1; t1 = A.S(t3 / t4) + "px"; t5.height = t1; requiresClearRect = false; } t1 = _this._rootElement; t2 = t1.lastChild; t3 = canvas; if (t2 == null ? t3 != null : t2 !== t3) t1.appendChild(canvas); try { if (reused) canvas.style.removeProperty("z-index"); _this.__engine$_context = canvas.getContext("2d"); } catch (exception) { } t1 = _this.__engine$_context; if (t1 == null) { A.reduceCanvasMemoryUsage(); t1 = _this.__engine$_context = canvas.getContext("2d"); } t2 = _this._density; _this._contextHandle = new A.ContextStateHandle(t1, _this, t2, B.BlendMode_3, B.StrokeCap_0, B.StrokeJoin_0); ctx = _this.get$context(_this); ctx.save(); ++_this._saveContextCount; ctx.setTransform(1, 0, 0, 1, 0, 0); if (requiresClearRect) ctx.clearRect(0, 0, _this._widthInBitmapPixels * t2, _this._heightInBitmapPixels * t2); ctx.scale(A.EnginePlatformDispatcher_browserDevicePixelRatio() * t2, A.EnginePlatformDispatcher_browserDevicePixelRatio() * t2); _this._replayClipStack$0(); }, _allocCanvas$2(width, height) { var t1, exception, canvas = document.createElement("CANVAS"); if (canvas != null) { try { t1 = this._density; J.set$width$x(canvas, B.JSNumber_methods.ceil$0(width * t1)); J.set$height$x(canvas, B.JSNumber_methods.ceil$0(height * t1)); } catch (exception) { return null; } return type$.CanvasElement._as(canvas); } return null; }, clear$0(_) { var ctx, e, exception, t1, t2, _this = this; _this.super$_SaveStackTracking$clear(0); if (_this._canvas != null) { ctx = _this.__engine$_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._canvas != null) { _this._restoreContextSave$0(); _this._contextHandle.reset$0(0); t1 = _this._activeCanvasList; if (t1 == null) t1 = _this._activeCanvasList = A._setArrayType([], type$.JSArray_CanvasElement); t2 = _this._canvas; t2.toString; t1.push(t2); _this._contextHandle = _this.__engine$_context = null; } _this._reusablePool = _this._activeCanvasList; _this._contextHandle = _this.__engine$_context = _this._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(_this); if (clipStack != null) for (clipCount = clipStack.length, t1 = _this._density, t2 = type$.SurfacePath; clipDepth < clipCount; ++clipDepth) { clipEntry = clipStack[clipDepth]; clipTimeTransform = clipEntry.currentTransform; t3 = clipTimeTransform.__engine$_m4storage; t4 = prevTransform.__engine$_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]) { ratio = window.devicePixelRatio; ratio = (ratio === 0 ? 1 : ratio) * t1; ctx.setTransform(ratio, 0, 0, ratio, 0, 0); ctx.transform(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(t4, t5, t3.right - t4, t3.bottom - t5); ctx.clip(); } else { t3 = clipEntry.rrect; if (t3 != null) { path = A.Path_Path(); path.addRRect$1(0, 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("evenodd"); } } } } t1 = transform.__engine$_m4storage; t2 = prevTransform.__engine$_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]) { ratio = A.EnginePlatformDispatcher_browserDevicePixelRatio() * _this._density; ctx.setTransform(ratio, 0, 0, ratio, 0, 0); ctx.transform(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(_this), 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; } t3 = e.parentNode; if (t3 != null) t3.removeChild(e); } this._reusablePool = null; } this._restoreContextSave$0(); }, _restoreContextSave$0() { for (; this._saveContextCount !== 0;) { this.__engine$_context.restore(); --this._saveContextCount; } }, translate$2(_, dx, dy) { var _this = this; _this.super$_SaveStackTracking$translate(0, dx, dy); if (_this._canvas != null) _this.get$context(_this).translate(dx, dy); }, _clipRect$2(ctx, rect) { var t1, t2; ctx.beginPath(); t1 = rect.left; t2 = rect.top; ctx.rect(t1, t2, rect.right - t1, rect.bottom - t2); ctx.clip(); }, __engine$_clipRRect$2(ctx, rrect) { var path = A.Path_Path(); path.addRRect$1(0, rrect); this._runPath$2(ctx, type$.SurfacePath._as(path)); ctx.clip(); }, clipPath$1(_, path) { var ctx, _this = this; _this.super$_SaveStackTracking$clipPath(0, path); if (_this._canvas != null) { ctx = _this.get$context(_this); _this._runPath$2(ctx, path); if (path._fillType === B.PathFillType_0) ctx.clip(); else ctx.clip("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(p[0], p[1]); break; case 1: ctx.lineTo(p[2], p[3]); break; case 4: ctx.bezierCurveTo(p[2], p[3], p[4], p[5], p[6], p[7]); break; case 2: ctx.quadraticCurveTo(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(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(p[0] + offsetX, p[1] + offsetY); break; case 1: ctx.lineTo(p[2] + offsetX, p[3] + offsetY); break; case 4: ctx.bezierCurveTo(p[2] + offsetX, p[3] + offsetY, p[4] + offsetX, p[5] + offsetY, p[6] + offsetX, p[7] + offsetY); break; case 2: ctx.quadraticCurveTo(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(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(_this), t1._as(path)); else _this._runPathWithOffset$4(_this.get$context(_this), 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) t1.fill(); else t1.fill("evenodd"); } }, dispose$0(_) { var t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1 && this._canvas != null) { t1 = this._canvas; t1.height = 0; t1.width = 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; } t3 = c.parentNode; if (t3 != null) t3.removeChild(c); } this._activeCanvasList = null; } }; A.ContextStateHandle.prototype = { set$fillStyle(_, colorOrGradient) { var t1 = this._currentFillStyle; if (colorOrGradient == null ? t1 != null : colorOrGradient !== t1) { this._currentFillStyle = colorOrGradient; this.context.fillStyle = colorOrGradient; } }, set$strokeStyle(_, colorOrGradient) { var t1 = this._currentStrokeStyle; if (colorOrGradient == null ? t1 != null : colorOrGradient !== t1) { this._currentStrokeStyle = colorOrGradient; this.context.strokeStyle = colorOrGradient; } }, setUpPaint$2(paint, shaderBounds) { var t1, strokeCap, strokeJoin, t2, paintStyle, colorString, maskFilter, tempVector, shadowOffsetX, shadowOffsetY, _this = this; _this._lastUsedPaint = paint; t1 = paint.strokeWidth; if (t1 == null) t1 = 1; if (t1 !== _this._currentLineWidth) { _this._currentLineWidth = t1; _this.context.lineWidth = t1; } t1 = paint.blendMode; if (t1 != _this._currentBlendMode) { _this._currentBlendMode = t1; t1 = A.stringForBlendMode(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.EngineGradient) { t2 = _this._canvasPool; paintStyle = t1.createPaintStyle$3(t2.get$context(t2), shaderBounds, _this.density); _this.set$fillStyle(0, paintStyle); _this.set$strokeStyle(0, paintStyle); _this._shaderBounds = shaderBounds; _this.context.translate(shaderBounds.left, shaderBounds.top); } else if (t1 instanceof A.EngineImageShader) { t2 = _this._canvasPool; paintStyle = t1.createPaintStyle$3(t2.get$context(t2), shaderBounds, _this.density); _this.set$fillStyle(0, paintStyle); _this.set$strokeStyle(0, paintStyle); if (t1.requiresTileOffset) { _this._shaderBounds = shaderBounds; _this.context.translate(shaderBounds.left, shaderBounds.top); } } } else { t1 = paint.color; if (t1 != null) { colorString = A.colorToCssString(t1); _this.set$fillStyle(0, colorString); _this.set$strokeStyle(0, colorString); } else { _this.set$fillStyle(0, "#000000"); _this.set$strokeStyle(0, "#000000"); } } maskFilter = paint.maskFilter; t1 = $.$get$_browserEngine(); if (!(t1 === B.BrowserEngine_1 || false)) { if (!J.$eq$(_this._currentFilter, maskFilter)) { _this._currentFilter = maskFilter; _this.context.filter = A.maskFilterToCanvasFilter(maskFilter); } } else if (maskFilter != null) { t1 = _this.context; t1.save(); t1.shadowBlur = maskFilter._sigma * 2; t2 = paint.color; if (t2 != null) { t2 = A.colorToCssString(A.Color$fromARGB(255, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255)); t2.toString; t1.shadowColor = t2; } else { t2 = A.colorToCssString(B.Color_4278190080); t2.toString; t1.shadowColor = t2; } t1.translate(-50000, 0); tempVector = new Float32Array(2); t2 = $.$get$window()._debugDevicePixelRatio; tempVector[0] = 50000 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : 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); t1.shadowOffsetX = shadowOffsetX - tempVector[0]; t1.shadowOffsetY = 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) { _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 t1.fill(); }, reset$0(_) { var _this = this, t1 = _this.context; t1.fillStyle = ""; _this._currentFillStyle = t1.fillStyle; t1.strokeStyle = ""; _this._currentStrokeStyle = t1.strokeStyle; t1.shadowBlur = 0; t1.shadowColor = "none"; t1.shadowOffsetX = 0; t1.shadowOffsetY = 0; t1.globalCompositeOperation = "source-over"; _this._currentBlendMode = B.BlendMode_3; t1.lineWidth = 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.set$length(this._saveStack, 0); this.clipStack = null; this._currentTransform = A.Matrix4$identity(); }, save$0(_) { var t1 = this._currentTransform, t2 = new A.Matrix40(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, $.$get$_SaveStackTracking__unitZ(), radians); }, transform$1(_, matrix4) { this._currentTransform.multiply$1(0, new A.Matrix40(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.Matrix40(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.Matrix40(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.Matrix40(new Float32Array(16)); t3.setFrom$1(t2); t1.push(new A.SaveClipEntry(null, null, path, t3)); } }; A.CkCanvas.prototype = { clear$1(_, color) { J.clear$1$ax(this.skCanvas, A._populateSkColor($.$get$_sharedSkColor1(), color)); }, clipPath$2(_, path, doAntiAlias) { J.clipPath$3$x(this.skCanvas, path.get$skiaObject(), $.$get$_clipOpIntersect(), doAntiAlias); }, clipRRect$2(_, rrect, doAntiAlias) { J.clipRRect$3$x(this.skCanvas, A.toSkRRect(rrect), $.$get$_clipOpIntersect(), doAntiAlias); }, clipRect$3(_, rect, clipOp, doAntiAlias) { J.clipRect$3$x(this.skCanvas, A.toSkRect(rect), $.$get$_skClipOps()[clipOp.index], doAntiAlias); }, drawArc$5(_, oval, startAngle, sweepAngle, useCenter, paint) { J.drawArc$5$x(this.skCanvas, A.toSkRect(oval), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232, false, paint.get$skiaObject()); }, drawCircle$3(_, c, radius, paint) { J.drawCircle$4$x(this.skCanvas, c._dx, c._dy, radius, paint.get$skiaObject()); }, drawDRRect$3(_, outer, inner, paint) { J.drawDRRect$3$x(this.skCanvas, A.toSkRRect(outer), A.toSkRRect(inner), paint.get$skiaObject()); }, drawImage$3(_, image, offset, paint) { var t5, t6, filterQuality = paint._filterQuality, t1 = this.skCanvas, t2 = image.__CkImage_box, t3 = offset._dx, t4 = offset._dy; if (filterQuality === B.FilterQuality_3) J.drawImageCubic$6$x(t1, A._lateReadCheck(t2, "box").get$skiaObject(), t3, t4, 0.3333333333333333, 0.3333333333333333, paint.get$skiaObject()); else { t2 = A._lateReadCheck(t2, "box").get$skiaObject(); t5 = filterQuality === B.FilterQuality_0 ? J.get$Nearest$x(J.get$FilterMode$x($.__canvasKit._readField$0())) : J.get$Linear$x(J.get$FilterMode$x($.__canvasKit._readField$0())); t6 = filterQuality === B.FilterQuality_2 ? J.get$Linear$x(J.get$MipmapMode$x($.__canvasKit._readField$0())) : J.get$None$x(J.get$MipmapMode$x($.__canvasKit._readField$0())); J.drawImageOptions$6$x(t1, t2, t3, t4, t5, t6, paint.get$skiaObject()); } }, drawImageRect$4(image, src, dst, paint) { var t3, t4, t5, t6, filterQuality = paint._filterQuality, t1 = this.skCanvas, t2 = image.__CkImage_box; if (filterQuality === B.FilterQuality_3) J.drawImageRectCubic$6$x(t1, A._lateReadCheck(t2, "box").get$skiaObject(), A.toSkRect(src), A.toSkRect(dst), 0.3333333333333333, 0.3333333333333333, paint.get$skiaObject()); else { t2 = A._lateReadCheck(t2, "box").get$skiaObject(); t3 = A.toSkRect(src); t4 = A.toSkRect(dst); t5 = filterQuality === B.FilterQuality_0 ? J.get$Nearest$x(J.get$FilterMode$x($.__canvasKit._readField$0())) : J.get$Linear$x(J.get$FilterMode$x($.__canvasKit._readField$0())); t6 = filterQuality === B.FilterQuality_2 ? J.get$Linear$x(J.get$MipmapMode$x($.__canvasKit._readField$0())) : J.get$None$x(J.get$MipmapMode$x($.__canvasKit._readField$0())); J.drawImageRectOptions$6$x(t1, t2, t3, t4, t5, t6, paint.get$skiaObject()); } }, drawLine$3(_, p1, p2, paint) { J.drawLine$5$x(this.skCanvas, p1._dx, p1._dy, p2._dx, p2._dy, paint.get$skiaObject()); }, drawPaint$1(_, paint) { J.drawPaint$1$x(this.skCanvas, paint.get$skiaObject()); }, drawParagraph$2(_, paragraph, offset) { var t1 = paragraph._lastLayoutConstraints; t1.toString; J.drawParagraph$3$x(this.skCanvas, paragraph._ensureInitialized$1(t1), offset._dx, offset._dy); if (!$.$get$CkParagraph__paragraphCache().markUsed$1(paragraph)) $.$get$CkParagraph__paragraphCache().add$1(0, paragraph); }, drawPath$2(_, path, paint) { J.drawPath$2$x(this.skCanvas, path.get$skiaObject(), paint.get$skiaObject()); }, drawPicture$1(_, picture) { J.drawPicture$1$x(this.skCanvas, picture.get$skiaObject()); }, drawRRect$2(_, rrect, paint) { J.drawRRect$2$x(this.skCanvas, A.toSkRRect(rrect), paint.get$skiaObject()); }, drawRect$2(_, rect, paint) { J.drawRect$2$x(this.skCanvas, A.toSkRect(rect), paint.get$skiaObject()); }, drawShadow$4(_, path, color, elevation, transparentOccluder) { var t1 = $.$get$window()._debugDevicePixelRatio; if (t1 == null) t1 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); A.drawSkShadow(this.skCanvas, path, color, elevation, transparentOccluder, t1); }, restore$0(_) { J.restore$0$x(this.skCanvas); }, restoreToCount$1(_, count) { J.restoreToCount$1$x(this.skCanvas, count); }, rotate$1(_, radians) { J.rotate$3$x(this.skCanvas, radians * 180 / 3.141592653589793, 0, 0); }, save$0(_) { return J.save$0$x(this.skCanvas); }, saveLayer$2(_, bounds, paint) { var t1 = paint == null ? null : paint.get$skiaObject(); J.saveLayer$4$x(this.skCanvas, t1, A.toSkRect(bounds), null, null); }, saveLayerWithoutBounds$1(paint) { var t1 = paint.get$skiaObject(); J.saveLayer$4$x(this.skCanvas, t1, null, null, null); }, saveLayerWithFilter$3(bounds, filter, paint) { var t1; type$.CkManagedSkImageFilterConvertible._as(filter); t1 = paint.get$skiaObject(); return J.saveLayer$4$x(this.skCanvas, t1, A.toSkRect(bounds), filter.get$skiaObject(), 0); }, scale$2(_, sx, sy) { J.scale$2$x(this.skCanvas, sx, sy); }, transform$1(_, matrix4) { J.concat$1$x(this.skCanvas, A.toSkM44FromFloat32(matrix4)); }, translate$2(_, dx, dy) { J.translate$2$x(this.skCanvas, dx, dy); }, get$pictureSnapshot() { return null; } }; A.RecordingCkCanvas.prototype = { clear$1(_, color) { this.super$CkCanvas$clear(0, color); this.pictureSnapshot._commands.push(new A.CkClearCommand(color)); }, clipPath$2(_, path, doAntiAlias) { this.super$CkCanvas$clipPath(0, path, doAntiAlias); this.pictureSnapshot._commands.push(new A.CkClipPathCommand(path, doAntiAlias)); }, clipRRect$2(_, rrect, doAntiAlias) { this.super$CkCanvas$clipRRect(0, rrect, doAntiAlias); this.pictureSnapshot._commands.push(new A.CkClipRRectCommand(rrect, doAntiAlias)); }, clipRect$3(_, rect, clipOp, doAntiAlias) { this.super$CkCanvas$clipRect(0, rect, clipOp, doAntiAlias); this.pictureSnapshot._commands.push(new A.CkClipRectCommand(rect, clipOp, doAntiAlias)); }, drawArc$5(_, oval, startAngle, sweepAngle, useCenter, paint) { this.super$CkCanvas$drawArc(0, oval, startAngle, sweepAngle, false, paint); this.pictureSnapshot._commands.push(new A.CkDrawArcCommand(oval, startAngle, sweepAngle, false, paint)); }, drawCircle$3(_, c, radius, paint) { this.super$CkCanvas$drawCircle(0, c, radius, paint); this.pictureSnapshot._commands.push(new A.CkDrawCircleCommand(c, radius, paint)); }, drawDRRect$3(_, outer, inner, paint) { this.super$CkCanvas$drawDRRect(0, outer, inner, paint); this.pictureSnapshot._commands.push(new A.CkDrawDRRectCommand(outer, inner, paint)); }, drawImage$3(_, image, offset, paint) { var t1, t2; this.super$CkCanvas$drawImage(0, image, offset, paint); t1 = A._lateReadCheck(image.__CkImage_box, "box"); t2 = new A.CkImage(t1); t2.CkImage$cloneOf$1(t1); this.pictureSnapshot._commands.push(new A.CkDrawImageCommand(t2, offset, paint)); }, drawImageRect$4(image, src, dst, paint) { var t1, t2; this.super$CkCanvas$drawImageRect(image, src, dst, paint); t1 = A._lateReadCheck(image.__CkImage_box, "box"); t2 = new A.CkImage(t1); t2.CkImage$cloneOf$1(t1); this.pictureSnapshot._commands.push(new A.CkDrawImageRectCommand(t2, src, dst, paint)); }, drawLine$3(_, p1, p2, paint) { this.super$CkCanvas$drawLine(0, p1, p2, paint); this.pictureSnapshot._commands.push(new A.CkDrawLineCommand(p1, p2, paint)); }, drawPaint$1(_, paint) { this.super$CkCanvas$drawPaint(0, paint); this.pictureSnapshot._commands.push(new A.CkDrawPaintCommand(paint)); }, drawParagraph$2(_, paragraph, offset) { this.super$CkCanvas$drawParagraph(0, paragraph, offset); this.pictureSnapshot._commands.push(new A.CkDrawParagraphCommand(paragraph, offset)); }, drawPath$2(_, path, paint) { this.super$CkCanvas$drawPath(0, path, paint); this.pictureSnapshot._commands.push(new A.CkDrawPathCommand(path, paint)); }, drawPicture$1(_, picture) { this.super$CkCanvas$drawPicture(0, picture); this.pictureSnapshot._commands.push(new A.CkDrawPictureCommand(picture)); }, drawRRect$2(_, rrect, paint) { this.super$CkCanvas$drawRRect(0, rrect, paint); this.pictureSnapshot._commands.push(new A.CkDrawRRectCommand(rrect, paint)); }, drawRect$2(_, rect, paint) { this.super$CkCanvas$drawRect(0, rect, paint); this.pictureSnapshot._commands.push(new A.CkDrawRectCommand(rect, paint)); }, drawShadow$4(_, path, color, elevation, transparentOccluder) { this.super$CkCanvas$drawShadow(0, path, color, elevation, transparentOccluder); this.pictureSnapshot._commands.push(new A.CkDrawShadowCommand(path, color, elevation, transparentOccluder)); }, restore$0(_) { this.super$CkCanvas$restore(0); this.pictureSnapshot._commands.push(B.C_CkRestoreCommand); }, restoreToCount$1(_, count) { this.super$CkCanvas$restoreToCount(0, count); this.pictureSnapshot._commands.push(new A.CkRestoreToCountCommand(count)); }, rotate$1(_, radians) { this.super$CkCanvas$rotate(0, radians); this.pictureSnapshot._commands.push(new A.CkRotateCommand(radians)); }, save$0(_) { this.pictureSnapshot._commands.push(B.C_CkSaveCommand); return this.super$CkCanvas$save(0); }, saveLayer$2(_, bounds, paint) { this.super$CkCanvas$saveLayer(0, bounds, paint); this.pictureSnapshot._commands.push(new A.CkSaveLayerCommand(bounds, paint)); }, saveLayerWithoutBounds$1(paint) { this.super$CkCanvas$saveLayerWithoutBounds(paint); this.pictureSnapshot._commands.push(new A.CkSaveLayerWithoutBoundsCommand(paint)); }, saveLayerWithFilter$3(bounds, filter, paint) { this.super$CkCanvas$saveLayerWithFilter(bounds, filter, paint); this.pictureSnapshot._commands.push(new A.CkSaveLayerWithFilterCommand(bounds, filter, paint)); }, scale$2(_, sx, sy) { this.super$CkCanvas$scale(0, sx, sy); this.pictureSnapshot._commands.push(new A.CkScaleCommand(sx, sy)); }, transform$1(_, matrix4) { this.super$CkCanvas$transform(0, matrix4); this.pictureSnapshot._commands.push(new A.CkTransformCommand(matrix4)); }, translate$2(_, dx, dy) { this.super$CkCanvas$translate(0, dx, dy); this.pictureSnapshot._commands.push(new A.CkTranslateCommand(dx, dy)); }, get$pictureSnapshot() { return this.pictureSnapshot; } }; A.CkPictureSnapshot.prototype = { toPicture$0() { var t2, t3, _i, skPicture, recorder = new self.window.flutterCanvasKit.PictureRecorder(), t1 = J.getInterceptor$x(recorder), skCanvas = t1.beginRecording$1(recorder, A.toSkRect(this._bounds)); for (t2 = this._commands, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) t2[_i].apply$1(skCanvas); skPicture = t1.finishRecordingAsPicture$0(recorder); t1.delete$0(recorder); return skPicture; }, dispose$0(_) { var t1, t2, _i; for (t1 = this._commands, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].dispose$0(0); } }; A.CkPaintCommand.prototype = { dispose$0(_) { } }; A.CkClearCommand.prototype = { apply$1(canvas) { J.clear$1$ax(canvas, A._populateSkColor($.$get$_sharedSkColor1(), this.color)); } }; A.CkSaveCommand.prototype = { apply$1(canvas) { J.save$0$x(canvas); } }; A.CkRestoreCommand.prototype = { apply$1(canvas) { J.restore$0$x(canvas); } }; A.CkRestoreToCountCommand.prototype = { apply$1(canvas) { J.restoreToCount$1$x(canvas, this.count); } }; A.CkTranslateCommand.prototype = { apply$1(canvas) { J.translate$2$x(canvas, this.dx, this.dy); } }; A.CkScaleCommand.prototype = { apply$1(canvas) { J.scale$2$x(canvas, this.sx, this.sy); } }; A.CkRotateCommand.prototype = { apply$1(canvas) { J.rotate$3$x(canvas, this.radians * 180 / 3.141592653589793, 0, 0); } }; A.CkTransformCommand.prototype = { apply$1(canvas) { J.concat$1$x(canvas, A.toSkM44FromFloat32(this.matrix4)); } }; A.CkClipRectCommand.prototype = { apply$1(canvas) { J.clipRect$3$x(canvas, A.toSkRect(this.rect), $.$get$_skClipOps()[this.clipOp.index], this.doAntiAlias); } }; A.CkDrawArcCommand.prototype = { apply$1(canvas) { var _this = this; J.drawArc$5$x(canvas, A.toSkRect(_this.oval), _this.startAngle * 57.29577951308232, _this.sweepAngle * 57.29577951308232, false, _this.paint.get$skiaObject()); } }; A.CkClipRRectCommand.prototype = { apply$1(canvas) { J.clipRRect$3$x(canvas, A.toSkRRect(this.rrect), $.$get$_clipOpIntersect(), this.doAntiAlias); } }; A.CkClipPathCommand.prototype = { apply$1(canvas) { J.clipPath$3$x(canvas, this.path.get$skiaObject(), $.$get$_clipOpIntersect(), this.doAntiAlias); } }; A.CkDrawLineCommand.prototype = { apply$1(canvas) { var t1 = this.p1, t2 = this.p2; J.drawLine$5$x(canvas, t1._dx, t1._dy, t2._dx, t2._dy, this.paint.get$skiaObject()); } }; A.CkDrawPaintCommand.prototype = { apply$1(canvas) { J.drawPaint$1$x(canvas, this.paint.get$skiaObject()); } }; A.CkDrawRectCommand.prototype = { apply$1(canvas) { J.drawRect$2$x(canvas, A.toSkRect(this.rect), this.paint.get$skiaObject()); } }; A.CkDrawRRectCommand.prototype = { apply$1(canvas) { J.drawRRect$2$x(canvas, A.toSkRRect(this.rrect), this.paint.get$skiaObject()); } }; A.CkDrawDRRectCommand.prototype = { apply$1(canvas) { J.drawDRRect$3$x(canvas, A.toSkRRect(this.outer), A.toSkRRect(this.inner), this.paint.get$skiaObject()); } }; A.CkDrawCircleCommand.prototype = { apply$1(canvas) { var t1 = this.c; J.drawCircle$4$x(canvas, t1._dx, t1._dy, this.radius, this.paint.get$skiaObject()); } }; A.CkDrawPathCommand.prototype = { apply$1(canvas) { J.drawPath$2$x(canvas, this.path.get$skiaObject(), this.paint.get$skiaObject()); } }; A.CkDrawShadowCommand.prototype = { apply$1(canvas) { var _this = this, t1 = $.$get$window()._debugDevicePixelRatio; if (t1 == null) t1 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); A.drawSkShadow(canvas, _this.path, _this.color, _this.elevation, _this.transparentOccluder, t1); } }; A.CkDrawImageCommand.prototype = { apply$1(canvas) { var t5, t6, t1 = this.paint, filterQuality = t1._filterQuality, t2 = this.offset, t3 = this.image.__CkImage_box, t4 = t2._dx; t2 = t2._dy; if (filterQuality === B.FilterQuality_3) J.drawImageCubic$6$x(canvas, A._lateReadCheck(t3, "box").get$skiaObject(), t4, t2, 0.3333333333333333, 0.3333333333333333, t1.get$skiaObject()); else { t3 = A._lateReadCheck(t3, "box").get$skiaObject(); t5 = filterQuality === B.FilterQuality_0 ? J.get$Nearest$x(J.get$FilterMode$x($.__canvasKit._readField$0())) : J.get$Linear$x(J.get$FilterMode$x($.__canvasKit._readField$0())); t6 = filterQuality === B.FilterQuality_2 ? J.get$Linear$x(J.get$MipmapMode$x($.__canvasKit._readField$0())) : J.get$None$x(J.get$MipmapMode$x($.__canvasKit._readField$0())); J.drawImageOptions$6$x(canvas, t3, t4, t2, t5, t6, t1.get$skiaObject()); } }, dispose$0(_) { var t1 = this.image; t1._disposed = true; A._lateReadCheck(t1.__CkImage_box, "box").unref$1(t1); } }; A.CkDrawImageRectCommand.prototype = { apply$1(canvas) { var t5, t6, _this = this, t1 = _this.paint, filterQuality = t1._filterQuality, t2 = _this.src, t3 = _this.dst, t4 = _this.image.__CkImage_box; if (filterQuality === B.FilterQuality_3) J.drawImageRectCubic$6$x(canvas, A._lateReadCheck(t4, "box").get$skiaObject(), A.toSkRect(t2), A.toSkRect(t3), 0.3333333333333333, 0.3333333333333333, t1.get$skiaObject()); else { t4 = A._lateReadCheck(t4, "box").get$skiaObject(); t2 = A.toSkRect(t2); t3 = A.toSkRect(t3); t5 = filterQuality === B.FilterQuality_0 ? J.get$Nearest$x(J.get$FilterMode$x($.__canvasKit._readField$0())) : J.get$Linear$x(J.get$FilterMode$x($.__canvasKit._readField$0())); t6 = filterQuality === B.FilterQuality_2 ? J.get$Linear$x(J.get$MipmapMode$x($.__canvasKit._readField$0())) : J.get$None$x(J.get$MipmapMode$x($.__canvasKit._readField$0())); J.drawImageRectOptions$6$x(canvas, t4, t2, t3, t5, t6, t1.get$skiaObject()); } }, dispose$0(_) { var t1 = this.image; t1._disposed = true; A._lateReadCheck(t1.__CkImage_box, "box").unref$1(t1); } }; A.CkDrawParagraphCommand.prototype = { apply$1(canvas) { var t3, t1 = this.paragraph, t2 = t1._lastLayoutConstraints; t2.toString; t3 = this.offset; J.drawParagraph$3$x(canvas, t1._ensureInitialized$1(t2), t3._dx, t3._dy); if (!$.$get$CkParagraph__paragraphCache().markUsed$1(t1)) $.$get$CkParagraph__paragraphCache().add$1(0, t1); } }; A.CkDrawPictureCommand.prototype = { apply$1(canvas) { J.drawPicture$1$x(canvas, this.picture.get$skiaObject()); } }; A.CkSaveLayerCommand.prototype = { apply$1(canvas) { var t1 = this.paint; t1 = t1 == null ? null : t1.get$skiaObject(); J.saveLayer$4$x(canvas, t1, A.toSkRect(this.bounds), null, null); } }; A.CkSaveLayerWithoutBoundsCommand.prototype = { apply$1(canvas) { var t1 = this.paint.get$skiaObject(); J.saveLayer$4$x(canvas, t1, null, null, null); } }; A.CkSaveLayerWithFilterCommand.prototype = { apply$1(canvas) { var convertible = type$.CkManagedSkImageFilterConvertible._as(this.filter), t1 = this.paint.get$skiaObject(); return J.saveLayer$4$x(canvas, t1, A.toSkRect(this.bounds), convertible.get$skiaObject(), 0); } }; A.CanvasKit.prototype = {}; A.CanvasKitInitOptions.prototype = {}; A.CanvasKitInitPromise.prototype = {}; A.ColorSpace.prototype = {}; A.SkWebGLContextOptions.prototype = {}; A.SkSurface.prototype = {}; A.SkGrContext.prototype = {}; A.SkFontSlantEnum.prototype = {}; A.SkFontSlant.prototype = {}; A.SkFontWeightEnum.prototype = {}; A.SkFontWeight.prototype = {}; A.SkAffinityEnum.prototype = {}; A.SkAffinity.prototype = {}; A.SkTextDirectionEnum.prototype = {}; A.SkTextDirection.prototype = {}; A.SkTextAlignEnum.prototype = {}; A.SkTextAlign.prototype = {}; A.SkTextHeightBehaviorEnum.prototype = {}; A.SkTextHeightBehavior.prototype = {}; A.SkRectHeightStyleEnum.prototype = {}; A.SkRectHeightStyle.prototype = {}; A.SkRectWidthStyleEnum.prototype = {}; A.SkRectWidthStyle.prototype = {}; A.SkVertexModeEnum.prototype = {}; A.SkVertexMode.prototype = {}; A.SkPointModeEnum.prototype = {}; A.SkPointMode.prototype = {}; A.SkClipOpEnum.prototype = {}; A.SkClipOp.prototype = {}; A.SkFillTypeEnum.prototype = {}; A.SkFillType.prototype = {}; A.SkPathOpEnum.prototype = {}; A.SkPathOp.prototype = {}; A.SkBlurStyleEnum.prototype = {}; A.SkBlurStyle.prototype = {}; A.SkStrokeCapEnum.prototype = {}; A.SkStrokeCap.prototype = {}; A.SkPaintStyleEnum.prototype = {}; A.SkPaintStyle.prototype = {}; A.SkBlendModeEnum.prototype = {}; A.SkBlendMode.prototype = {}; A.SkStrokeJoinEnum.prototype = {}; A.SkStrokeJoin.prototype = {}; A.SkTileModeEnum.prototype = {}; A.SkTileMode.prototype = {}; A.SkFilterModeEnum.prototype = {}; A.SkFilterMode.prototype = {}; A.SkMipmapModeEnum.prototype = {}; A.SkMipmapMode.prototype = {}; A.SkAlphaTypeEnum.prototype = {}; A.SkAlphaType.prototype = {}; A.SkColorTypeEnum.prototype = {}; A.SkColorType.prototype = {}; A.SkAnimatedImage.prototype = {}; A.SkImage.prototype = {}; A.SkShaderNamespace.prototype = {}; A.SkShader.prototype = {}; A.SkMaskFilterNamespace.prototype = {}; A.SkPaint.prototype = {}; A.CkFilterOptions.prototype = {}; A._CkCubicFilterOptions.prototype = {}; A._CkTransformFilterOptions.prototype = {}; A.SkMaskFilter.prototype = {}; A.SkColorFilterNamespace.prototype = {}; A.SkColorFilter.prototype = {}; A.SkImageFilterNamespace.prototype = {}; A.SkImageFilter.prototype = {}; A.SkPathNamespace.prototype = {}; A._NativeFloat32ArrayType.prototype = {}; A.SkFloat32List.prototype = {}; A.SkPath.prototype = {}; A.SkContourMeasureIter.prototype = {}; A.SkContourMeasure.prototype = {}; A.SkPictureRecorder.prototype = {}; A.SkCanvas.prototype = {}; A.SkPicture.prototype = {}; A.SkParagraphBuilderNamespace.prototype = {}; A.SkParagraphBuilder.prototype = {}; A.SkParagraphStyle.prototype = {}; A.SkParagraphStyleProperties.prototype = {}; A.SkTextStyle.prototype = {}; A.SkTextDecorationStyleEnum.prototype = {}; A.SkTextDecorationStyle.prototype = {}; A.SkTextBaselineEnum.prototype = {}; A.SkTextBaseline.prototype = {}; A.SkPlaceholderAlignmentEnum.prototype = {}; A.SkPlaceholderAlignment.prototype = {}; A.SkTextStyleProperties.prototype = {}; A.SkStrutStyleProperties.prototype = {}; A.SkFontStyle.prototype = {}; A.SkTextShadow.prototype = {}; A.SkFontFeature.prototype = {}; A.SkTypeface.prototype = {}; A.SkFont.prototype = {}; A.SkFontMgr.prototype = {}; A.TypefaceFontProvider.prototype = {}; A.SkLineMetrics.prototype = {}; A.SkParagraph.prototype = {}; A.SkTextPosition.prototype = {}; A.SkTextRange.prototype = {}; A.SkVertices.prototype = {}; A.SkTonalColors.prototype = {}; A.SkFontMgrNamespace.prototype = {}; A.TypefaceFontProviderNamespace.prototype = {}; A.ProductionCollector.prototype = { ProductionCollector$0() { var t1 = new self.window.FinalizationRegistry(A.allowInterop(new A.ProductionCollector_closure(this))); A._lateWriteOnceCheck(this.__ProductionCollector__skObjectFinalizationRegistry, "_skObjectFinalizationRegistry"); this.__ProductionCollector__skObjectFinalizationRegistry = t1; }, register$2(_, wrapper, deletable) { J.register$2$x(A._lateReadCheck(this.__ProductionCollector__skObjectFinalizationRegistry, "_skObjectFinalizationRegistry"), wrapper, deletable); }, collect$1(deletable) { var _this = this; _this._skiaObjectCollectionQueue.push(deletable); if (_this._skiaObjectCollectionTimer == null) _this._skiaObjectCollectionTimer = A.Timer_Timer(B.Duration_0, new A.ProductionCollector_collect_closure(_this)); }, collectSkiaObjectsNow$0() { var firstError, firstStackTrace, deletable, error, stackTrace, $length, i, exception, _s25_ = "SkObject collection-start", _s23_ = "SkObject collection-end"; window.performance.mark(_s25_); $length = this._skiaObjectCollectionQueue.length; firstError = null; firstStackTrace = null; for (i = 0; i < $length; ++i) { deletable = this._skiaObjectCollectionQueue[i]; if (J.isDeleted$0$x(deletable)) continue; try { J.delete$0$x(deletable); } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); if (firstError == null) { firstError = error; firstStackTrace = stackTrace; } } } this._skiaObjectCollectionQueue = A._setArrayType([], type$.JSArray_SkDeletable); window.performance.mark(_s23_); window.performance.measure("SkObject collection", _s25_, _s23_); if (firstError != null) throw A.wrapException(new A.SkiaObjectCollectionError(firstError, firstStackTrace)); } }; A.ProductionCollector_closure.prototype = { call$1(deletable) { if (!J.isDeleted$0$x(deletable)) this.$this.collect$1(deletable); }, $signature: 1148 }; A.ProductionCollector_collect_closure.prototype = { call$0() { var t1 = this.$this; t1._skiaObjectCollectionTimer = null; t1.collectSkiaObjectsNow$0(); }, $signature: 0 }; A.SkiaObjectCollectionError.prototype = { toString$0(_) { return "SkiaObjectCollectionError: " + A.S(this.error) + "\n" + A.S(this.stackTrace); }, $isError: 1, get$stackTrace() { return this.stackTrace; } }; A.SkDeletable.prototype = {}; A.JsConstructor.prototype = {}; A.SkObjectFinalizationRegistry.prototype = {}; A.SkData.prototype = {}; A.SkImageInfo.prototype = {}; A.CanvasKitCanvas.prototype = { save$0(_) { this._canvas.save$0(0); }, saveLayer$2(_, bounds, paint) { var t1 = type$.CkPaint, t2 = this._canvas; if (bounds == null) t2.saveLayerWithoutBounds$1(t1._as(paint)); else t2.saveLayer$2(0, bounds, t1._as(paint)); }, restore$0(_) { this._canvas.restore$0(0); }, translate$2(_, dx, dy) { this._canvas.translate$2(0, dx, dy); }, scale$2(_, sx, sy) { var t1 = sy == null ? sx : sy; this._canvas.scale$2(0, sx, t1); return null; }, rotate$1(_, radians) { this._canvas.rotate$1(0, radians); }, transform$1(_, matrix4) { this._canvas.transform$1(0, A.toMatrix32(matrix4)); }, clipRect$3$clipOp$doAntiAlias(_, rect, clipOp, doAntiAlias) { this._canvas.clipRect$3(0, rect, clipOp, doAntiAlias); }, clipRect$1($receiver, rect) { return this.clipRect$3$clipOp$doAntiAlias($receiver, rect, B.ClipOp_1, true); }, clipRect$2$doAntiAlias($receiver, rect, doAntiAlias) { return this.clipRect$3$clipOp$doAntiAlias($receiver, rect, B.ClipOp_1, doAntiAlias); }, clipRRect$2$doAntiAlias(_, rrect, doAntiAlias) { this._canvas.clipRRect$2(0, rrect, doAntiAlias); }, clipRRect$1($receiver, rrect) { return this.clipRRect$2$doAntiAlias($receiver, rrect, true); }, clipPath$2$doAntiAlias(_, path, doAntiAlias) { this._canvas.clipPath$2(0, type$.CkPath._as(path), doAntiAlias); }, clipPath$1($receiver, path) { return this.clipPath$2$doAntiAlias($receiver, path, true); }, drawLine$3(_, p1, p2, paint) { this._canvas.drawLine$3(0, p1, p2, type$.CkPaint._as(paint)); }, drawRect$2(_, rect, paint) { this._canvas.drawRect$2(0, rect, type$.CkPaint._as(paint)); }, drawRRect$2(_, rrect, paint) { this._canvas.drawRRect$2(0, rrect, type$.CkPaint._as(paint)); }, drawDRRect$3(_, outer, inner, paint) { this._canvas.drawDRRect$3(0, outer, inner, type$.CkPaint._as(paint)); }, drawCircle$3(_, c, radius, paint) { this._canvas.drawCircle$3(0, c, radius, type$.CkPaint._as(paint)); }, drawArc$5(_, rect, startAngle, sweepAngle, useCenter, paint) { this._canvas.drawArc$5(0, rect, startAngle, sweepAngle, false, type$.CkPaint._as(paint)); }, drawPath$2(_, path, paint) { this._canvas.drawPath$2(0, type$.CkPath._as(path), type$.CkPaint._as(paint)); }, drawImage$3(_, image, p, paint) { this._canvas.drawImage$3(0, type$.CkImage._as(image), p, type$.CkPaint._as(paint)); }, drawImageRect$4(image, src, dst, paint) { this._canvas.drawImageRect$4(type$.CkImage._as(image), src, dst, type$.CkPaint._as(paint)); }, drawPicture$1(_, picture) { this._canvas.drawPicture$1(0, type$.CkPicture._as(picture)); }, drawParagraph$2(_, paragraph, offset) { this._canvas.drawParagraph$2(0, type$.CkParagraph._as(paragraph), offset); }, drawShadow$4(_, path, color, elevation, transparentOccluder) { this._canvas.drawShadow$4(0, type$.CkPath._as(path), color, elevation, transparentOccluder); } }; A.ManagedSkColorFilter.prototype = { createDefault$0() { return this.colorFilter._initRawColorFilter$0(); }, resurrect$0() { return this.colorFilter._initRawColorFilter$0(); }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, get$hashCode(_) { var t1 = this.colorFilter; return t1.get$hashCode(t1); }, $eq(_, other) { if (other == null) return false; if (A.getRuntimeType(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, $isColorFilter: 1}; A.CkBlendModeColorFilter.prototype = { _initRawColorFilter$0() { return J.MakeBlend$2$x(J.get$ColorFilter$x($.__canvasKit._readField$0()), A._populateSkColor($.$get$_sharedSkColor1(), this.color), $.$get$_skBlendModes()[this.blendMode.index]); }, get$hashCode(_) { return A.hashValues(this.color, this.blendMode, 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, 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); }, $eq(_, other) { if (other == null) return false; if (A.getRuntimeType(this) !== J.get$runtimeType$(other)) return false; return other instanceof A.CkBlendModeColorFilter && other.color.$eq(0, this.color) && other.blendMode === this.blendMode; }, toString$0(_) { return "ColorFilter.mode(" + this.color.toString$0(0) + ", " + this.blendMode.toString$0(0) + ")"; } }; A.CkMatrixColorFilter.prototype = { _initRawColorFilter$0() { var float32Matrix, i, matrix = this.matrix; if (type$.Float32List._is(matrix)) return J.MakeMatrix$1$x(J.get$ColorFilter$x($.__canvasKit._readField$0()), matrix); float32Matrix = new Float32Array(20); for (i = 0; i < 20; ++i) float32Matrix[i] = matrix[i]; return J.MakeMatrix$1$x(J.get$ColorFilter$x($.__canvasKit._readField$0()), float32Matrix); }, get$hashCode(_) { return A.hashList(this.matrix); }, $eq(_, other) { if (other == null) return false; return A.getRuntimeType(this) === J.get$runtimeType$(other) && other instanceof A.CkMatrixColorFilter && A.listEquals(this.matrix, other.matrix); }, toString$0(_) { return "ColorFilter.matrix(" + A.S(this.matrix) + ")"; } }; A.CkComposeColorFilter.prototype = { _initRawColorFilter$0() { var t1 = J.get$ColorFilter$x($.__canvasKit._readField$0()), t2 = this.outer; t2 = t2 == null ? null : t2.get$skiaObject(); return J.MakeCompose$2$x(t1, t2, this.inner.get$skiaObject()); }, $eq(_, other) { if (other == null) return false; if (!(other instanceof A.CkComposeColorFilter)) return false; return J.$eq$(other.outer, this.outer) && other.inner.$eq(0, this.inner); }, get$hashCode(_) { return A.Object_hash(this.outer, this.inner, B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { return "ColorFilter.compose(" + A.S(this.outer) + ", " + this.inner.toString$0(0) + ")"; } }; A.HtmlViewEmbedder.prototype = { getOverlayCanvases$0() { var t2, overlayCanvases, t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1) <= 1; if (t1) return B.List_empty30; t1 = this._pictureRecordersCreatedDuringPreroll; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,CkCanvas>"); overlayCanvases = A.List_List$of(new A.MappedListIterable(t1, new A.HtmlViewEmbedder_getOverlayCanvases_closure(), t2), true, t2._eval$1("ListIterable.E")); t1 = this._backupPictureRecorder; if (t1 != null) { t1 = t1._recordingCanvas; t1.toString; B.JSArray_methods.add$1(overlayCanvases, t1); } return overlayCanvases; }, prerollCompositeEmbeddedView$2(viewId, params) { var pictureRecorder, t2, _this = this, t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1) <= 1; if (!t1) { t1 = _this._pictureRecordersCreatedDuringPreroll; if (t1.length >= A.SurfaceFactory_instance().maximumSurfaces - 2 && true) { if (_this._backupPictureRecorder == null) { pictureRecorder = new A.CkPictureRecorder(); t1 = _this._frameSize; pictureRecorder.beginRecording$1(0, new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy)); pictureRecorder._recordingCanvas.clear$1(0, B.Color_0); _this._backupPictureRecorder = pictureRecorder; } } else { pictureRecorder = new A.CkPictureRecorder(); t2 = _this._frameSize; pictureRecorder.beginRecording$1(0, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); pictureRecorder._recordingCanvas.clear$1(0, B.Color_0); t1.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); }, compositeEmbeddedView$1(viewId) { var t2, _this = this, t1 = _this._compositionOrder, compositedViewCount = t1.length; t1.push(viewId); t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1) <= 1; if (!t1) { t1 = _this._pictureRecordersCreatedDuringPreroll; t2 = _this._pictureRecorders; if (compositedViewCount < t1.length) t2.$indexSet(0, viewId, t1[compositedViewCount]); else { _this._viewsUsingBackupSurface.add$1(0, viewId); t1 = _this._backupPictureRecorder; t1.toString; t2.$indexSet(0, viewId, t1); } } t1 = _this._viewsToRecomposite; if (!t1.contains$1(0, viewId)) { t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1) <= 1; if (!t1) return _this._pictureRecorders.$index(0, viewId)._recordingCanvas; else return null; } t2 = _this._currentCompositionParams.$index(0, viewId); t2.toString; _this._compositeWithParams$2(viewId, t2); t1.remove$1(0, viewId); t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t1 = t1.get$canvasKitMaximumSurfaces(t1) <= 1; if (!t1) return _this._pictureRecorders.$index(0, viewId)._recordingCanvas; else return null; }, _compositeWithParams$2(viewId, params) { var currentClippingCount, _this = this, clipChain = _this._viewClipChains.putIfAbsent$2(0, viewId, new A.HtmlViewEmbedder__compositeWithParams_closure(viewId)), slot = clipChain.__engine$_slot, t1 = slot.style, t2 = params.size, t3 = A.S(t2._dx) + "px"; t1.width = t3; t2 = A.S(t2._dy) + "px"; t1.height = t2; t1.position = "absolute"; t1 = params.mutators; currentClippingCount = _this._countClips$1(t1); if (currentClippingCount !== clipChain._clipCount) { clipChain.__engine$_root = _this._reconstructClipViewsChain$3(currentClippingCount, slot, clipChain.__engine$_root); clipChain._clipCount = currentClippingCount; } _this._applyMutators$3(t1, slot, viewId); }, _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(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), clipCount = 0; t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current).type; if (t3 === B.MutatorType_0 || t3 === B.MutatorType_1 || t3 === B.MutatorType_2) ++clipCount; } return clipCount; }, _reconstructClipViewsChain$3(numClips, platformView, headClipView) { var t1, indexInFlutterView, head, clipIndex, head0; if (headClipView.parentElement != null) { t1 = $.skiaSceneHost; t1.toString; t1 = J.get$children$x(t1); indexInFlutterView = t1.indexOf$1(t1, headClipView); J.remove$0$ax(headClipView); } else indexInFlutterView = -1; head = platformView; clipIndex = 0; while (true) { if (!(head !== headClipView && clipIndex < numClips)) break; t1 = head.parentElement; t1.toString; ++clipIndex; head = t1; } for (; clipIndex < numClips; head = head0) { head0 = A._ElementFactoryProvider_createElement_tag("flt-clip", null); head0.appendChild(head); ++clipIndex; } J.remove$0$ax(head); if (indexInFlutterView > -1) { t1 = $.skiaSceneHost; t1.toString; J.get$children$x(t1).insert$2(0, indexInFlutterView, head); } return head; }, _cleanUpClipDefs$1(viewId) { var t2, nodesToRemove, t3, t4, t5, _i, node, t1 = this._svgClipDefs; if (t1.containsKey$1(0, viewId)) { t2 = this._svgPathDefs.querySelector("#sk_path_defs"); t2.toString; nodesToRemove = A._setArrayType([], type$.JSArray_Element); t3 = t1.$index(0, viewId); t3.toString; for (t2 = J.get$children$x(t2), t2 = t2.get$iterator(t2), t4 = t2.$ti._precomputed1; t2.moveNext$0();) { t5 = t4._as(t2.__interceptors$_current); 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) { node = nodesToRemove[_i]; t3 = node.parentNode; if (t3 != null) t3.removeChild(node); } t1 = t1.$index(0, viewId); t1.toString; J.clear$0$ax(t1); } }, _applyMutators$3(mutators, embeddedView, viewId) { var t2, t3, t4, t5, t6, head, embeddedOpacity, t7, t8, headTransform0, value, clipView, t9, path, clipId, t10, scale, inverseScale, _this = this, _s16_ = "transform-origin", _s8_ = "absolute", _s9_ = "transform", _s9_0 = "clip-path", _s13_ = "#sk_path_defs", _s20_ = '"></path></clipPath>', headTransform = A.Matrix4$identity(), t1 = embeddedView.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "0 0 0", ""); t1 = embeddedView.style; t1.position = _s8_; _this._cleanUpClipDefs$1(viewId); 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(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), t3 = type$.SvgElement, t4 = type$.SvgSvgElement, t5 = _this._svgClipDefs, t6 = type$.SkPath, head = embeddedView, embeddedOpacity = 1; t1.moveNext$0();) { t7 = t2._as(t1.__internal$_current); switch (t7.type.index) { case 3: t7 = t7.matrix; t7.toString; t8 = new Float32Array(16); headTransform0 = new A.Matrix40(t8); headTransform0.setFrom$1(t7); headTransform0.multiply$1(0, headTransform); t7 = head.style; value = A.float64ListToCssTransform(t8); t8 = B.CssStyleDeclaration_methods._browserPropertyName$1(t7, _s9_); t7.setProperty(t8, value, ""); headTransform = headTransform0; break; case 0: case 1: case 2: clipView = head.parentElement; t8 = clipView.style; t8.clip = ""; t8 = clipView.style; t9 = B.CssStyleDeclaration_methods._browserPropertyName$1(t8, _s9_0); t8.setProperty(t9, "", ""); headTransform = new A.Matrix40(new Float32Array(16)); headTransform.Matrix4$identity$0(); t8 = clipView.style; t9 = B.CssStyleDeclaration_methods._browserPropertyName$1(t8, _s9_); t8.setProperty(t9, "", ""); t8 = t7.rect; if (t8 != null) { t7 = clipView.style; t8 = "rect(" + A.S(t8.top) + "px, " + A.S(t8.right) + "px, " + A.S(t8.bottom) + "px, " + A.S(t8.left) + "px)"; t7.clip = t8; } else { t8 = t7.rrect; if (t8 != null) { path = new A.CkPath(B.PathFillType_0); path.ManagedSkiaObject$1(null, t6); t7 = path.rawSkiaObject; if (t7 == null) t7 = path._doResurrect$0(); J.addRRect$2$x(t7, A.toSkRRect(t8), false); _this._ensureSvgPathDefs$0(); t8 = _this._svgPathDefs.querySelector(_s13_); t8.toString; clipId = "svgClip" + ++_this._clipPathCount; t7 = '<clipPath id="' + clipId + '"><path d="'; t9 = path.rawSkiaObject; t7 = t7 + A.S(J.toSVGString$0$x(t9 == null ? path._doResurrect$0() : t9)) + _s20_; t9 = document.createElementNS("http://www.w3.org/2000/svg", "svg"); t3._as(t9); t9.setAttribute("version", "1.1"); t8.appendChild(B.SvgSvgElement_methods.createFragment$3$treeSanitizer$validator(t4._as(t9), t7, new A.NullTreeSanitizer(), null)); J.add$1$ax(t5.putIfAbsent$2(0, viewId, new A.HtmlViewEmbedder__applyMutators_closure()), clipId); t7 = clipView.style; value = "url(#" + clipId + ")"; t8 = B.CssStyleDeclaration_methods._browserPropertyName$1(t7, _s9_0); t7.setProperty(t8, value, ""); } else { t7 = t7.path; if (t7 != null) { _this._ensureSvgPathDefs$0(); t8 = _this._svgPathDefs.querySelector(_s13_); t8.toString; clipId = "svgClip" + ++_this._clipPathCount; t9 = '<clipPath id="' + clipId + '"><path d="'; t10 = t7.rawSkiaObject; t7 = t9 + A.S(J.toSVGString$0$x(t10 == null ? t7._doResurrect$0() : t10)) + _s20_; t9 = document.createElementNS("http://www.w3.org/2000/svg", "svg"); t3._as(t9); t9.setAttribute("version", "1.1"); t8.appendChild(B.SvgSvgElement_methods.createFragment$3$treeSanitizer$validator(t4._as(t9), t7, new A.NullTreeSanitizer(), null)); J.add$1$ax(t5.putIfAbsent$2(0, viewId, new A.HtmlViewEmbedder__applyMutators_closure0()), clipId); t7 = clipView.style; value = "url(#" + clipId + ")"; t8 = B.CssStyleDeclaration_methods._browserPropertyName$1(t7, _s9_0); t7.setProperty(t8, value, ""); } } } t7 = clipView.style; t8 = B.CssStyleDeclaration_methods._browserPropertyName$1(t7, _s16_); t7.setProperty(t8, "0 0 0", ""); t7 = clipView.style; t7.position = _s8_; head = clipView; break; case 4: t7 = t7.alpha; t7.toString; embeddedOpacity *= t7 / 255; break; } } t1 = embeddedView.style; t2 = B.JSNumber_methods.toString$0(embeddedOpacity); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "opacity"), t2, ""); scale = $.$get$window()._debugDevicePixelRatio; inverseScale = 1 / (scale == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : scale); t1 = new Float32Array(16); t1[15] = 1; t1[10] = 1; t1[5] = inverseScale; t1[0] = inverseScale; headTransform = new A.Matrix40(t1).multiplied$1(headTransform); t1 = head.style; t2 = A.float64ListToCssTransform(headTransform.__engine$_m4storage); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s9_), t2, ""); }, _ensureSvgPathDefs$0() { if (this._svgPathDefs != null) return; var t1 = A.Element_Element$html('<svg width="0" height="0" style="position:absolute"><defs id="sk_path_defs"></defs></svg>', new A.NullTreeSanitizer(), null); this._svgPathDefs = t1; $.skiaSceneHost.appendChild(t1); }, submitFrame$0(_) { var t2, diffResult, insertBeforeMap, t3, t4, t5, t6, _didPaintBackupSurface, i, viewId, t7, t8, t9, t10, t11, backupFrame, frame, unusedViews, elementToInsertBefore, _i, platformViewRoot, overlay, _this = this, _null = null, _s20_ = "flt-canvas-container", t1 = _this._activeCompositionOrder; if (t1.length !== 0) if (_this._compositionOrder.length !== 0) { t2 = $._configuration; if (t2 == null) t2 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t2 = t2.get$canvasKitMaximumSurfaces(t2) <= 1; } else t2 = true; else t2 = true; diffResult = t2 ? _null : A.diffViewList(t1, _this._compositionOrder); insertBeforeMap = _this._updateOverlays$1(diffResult); t2 = $._configuration; if (t2 == null) t2 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t2 = t2.get$canvasKitMaximumSurfaces(t2) <= 1; if (!t2) for (t2 = _this._compositionOrder, t3 = _this._overlays, t4 = _this._pictureRecorders, t5 = _this._viewsUsingBackupSurface, t6 = type$.JSArray_Surface, _didPaintBackupSurface = false, i = 0; i < t2.length; ++i) { viewId = t2[i]; if (t5.contains$1(0, viewId)) { if (!_didPaintBackupSurface) { t7 = $.SurfaceFactory__instance; if (t7 == null) { t7 = $._configuration; t7 = (t7 == null ? $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration) : t7)._js; t7 = t7 == null ? _null : J.get$canvasKitMaximumSurfaces$x(t7); if (t7 == null) t7 = 8; t8 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t9 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t10 = A._setArrayType([], t6); t11 = A._setArrayType([], t6); t7 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t8), new A.Surface(t9), t7, t10, t11); } backupFrame = t7.backupSurface.acquireFrame$1(_this._frameSize); t7 = J.getCanvas$0$x(backupFrame.skiaSurface.__engine$_surface); t8 = _this._backupPictureRecorder.endRecording$0(); t9 = t8.rawSkiaObject; J.drawPicture$1$x(t7, t9 == null ? t8._doResurrect$0() : t9); _this._backupPictureRecorder = null; backupFrame.submit$0(0); _didPaintBackupSurface = true; } } else { frame = t3.$index(0, viewId).acquireFrame$1(_this._frameSize); t7 = J.getCanvas$0$x(frame.skiaSurface.__engine$_surface); t8 = t4.$index(0, viewId).endRecording$0(); t9 = t8.rawSkiaObject; J.drawPicture$1$x(t7, t9 == null ? t8._doResurrect$0() : t9); frame.submit$0(0); } } else _didPaintBackupSurface = false; B.JSArray_methods.set$length(_this._pictureRecordersCreatedDuringPreroll, 0); t2 = _this._pictureRecorders; t2.clear$0(0); _this._viewsUsingBackupSurface.clear$0(0); t3 = _this._compositionOrder; if (A.listEquals(t3, t1)) { B.JSArray_methods.set$length(t3, 0); return; } unusedViews = A.LinkedHashSet_LinkedHashSet$from(t1, type$.int); B.JSArray_methods.set$length(t1, 0); if (diffResult != null) { t4 = diffResult.viewsToRemove; _this.disposeViews$1(A.LinkedHashSet_LinkedHashSet$from(t4, A._arrayInstanceType(t4)._precomputed1)); B.JSArray_methods.addAll$1(t1, t3); unusedViews.removeAll$1(t3); t1 = diffResult.addToBeginning; if (t1) { t4 = diffResult.viewToInsertBefore; t4.toString; elementToInsertBefore = _this._viewClipChains.$index(0, t4).__engine$_root; } else elementToInsertBefore = _null; for (t4 = diffResult.viewsToAdd, t5 = t4.length, t6 = _this._viewClipChains, t7 = _this._overlays, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) { viewId = t4[_i]; if (t1) { platformViewRoot = t6.$index(0, viewId).__engine$_root; $.skiaSceneHost.insertBefore(platformViewRoot, elementToInsertBefore); overlay = t7.$index(0, viewId); if (overlay != null) $.skiaSceneHost.insertBefore(overlay.htmlElement, elementToInsertBefore); } else { platformViewRoot = t6.$index(0, viewId).__engine$_root; $.skiaSceneHost.appendChild(platformViewRoot); overlay = t7.$index(0, viewId); if (overlay != null) $.skiaSceneHost.appendChild(overlay.htmlElement); } } if (insertBeforeMap != null) insertBeforeMap.forEach$1(0, new A.HtmlViewEmbedder_submitFrame_closure(_this)); if (_didPaintBackupSurface) { t1 = $.skiaSceneHost; t1.toString; t1.appendChild(A.SurfaceFactory_instance().backupSurface.htmlElement); } } else { t4 = A.SurfaceFactory_instance(); B.JSArray_methods.forEach$1(t4._cache, t4.get$_removeFromDom()); J.remove$0$ax(t4.backupSurface.htmlElement); for (t4 = _this._viewClipChains, t5 = _this._overlays, i = 0; i < t3.length; ++i) { viewId = t3[i]; platformViewRoot = t4.$index(0, viewId).__engine$_root; overlay = t5.$index(0, viewId); $.skiaSceneHost.appendChild(platformViewRoot); if (overlay != null) $.skiaSceneHost.appendChild(overlay.htmlElement); t1.push(viewId); unusedViews.remove$1(0, viewId); } if (_didPaintBackupSurface) { t1 = $.skiaSceneHost; t1.toString; t1.appendChild(A.SurfaceFactory_instance().backupSurface.htmlElement); } } B.JSArray_methods.set$length(t3, 0); _this.disposeViews$1(unusedViews); t2.clear$0(0); }, disposeViews$1(viewsToDispose) { var t1, t2, t3, t4, t5, t6, t7, clipChain, t8, t9, _this = this; for (t1 = A._LinkedHashSetIterator$(viewsToDispose, viewsToDispose._collection$_modifications, A._instanceType(viewsToDispose)._precomputed1), t2 = _this._currentCompositionParams, t3 = _this._viewsToRecomposite, t4 = _this._svgClipDefs, t5 = t1.$ti._precomputed1, t6 = _this._viewClipChains; t1.moveNext$0();) { t7 = t5._as(t1._collection$_current); clipChain = t6.remove$1(0, t7); if (clipChain != null) { t8 = clipChain.__engine$_root; t9 = t8.parentNode; if (t9 != null) t9.removeChild(t8); } t2.remove$1(0, t7); t3.remove$1(0, t7); _this._cleanUpClipDefs$1(t7); t4.remove$1(0, t7); } }, _releaseOverlay$1(viewId) { var t2, t1 = this._overlays; if (t1.$index(0, viewId) != null) { t2 = t1.$index(0, viewId); t2.toString; A.SurfaceFactory_instance().releaseSurface$1(t2); t1.remove$1(0, viewId); } }, _updateOverlays$1(diffResult) { var t1, t2, numOverlays, t3, i, viewId, t4, t5, t6, t7, t8, overlay, availableOverlays, viewsToDispose, index, index0, t9, t10, t11, overlaysToAssign, lastOriginalIndex, insertBeforeMap, _this = this, _null = null, _s20_ = "flt-canvas-container"; if (_this._viewsUsingBackupSurface._collection$_length === 0) A.SurfaceFactory_instance().releaseSurface$1(A.SurfaceFactory_instance().backupSurface); t1 = diffResult == null; if (!t1 && diffResult.viewsToAdd.length === 0 && diffResult.viewsToRemove.length === 0) return _null; if (t1) { t1 = A.SurfaceFactory_instance(); t2 = t1._liveSurfaces; B.JSArray_methods.addAll$1(t1._cache, t2); B.JSArray_methods.set$length(t2, 0); t2 = _this._overlays; t2.clear$0(0); t1 = _this._compositionOrder; numOverlays = Math.min(A.SurfaceFactory_instance().maximumSurfaces - 2, t1.length); for (t3 = type$.JSArray_Surface, i = 0; i < numOverlays; ++i) { viewId = t1[i]; t4 = $.SurfaceFactory__instance; if (t4 == null) { t4 = $._configuration; t4 = (t4 == null ? $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration) : t4)._js; t4 = t4 == null ? _null : J.get$canvasKitMaximumSurfaces$x(t4); if (t4 == null) t4 = 8; t5 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t6 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t7 = A._setArrayType([], t3); t8 = A._setArrayType([], t3); t4 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t5), new A.Surface(t6), t4, t7, t8); } overlay = t4.getOverlay$0(); overlay.createOrUpdateSurfaces$1(_this._frameSize); t2.$indexSet(0, viewId, overlay); } _this._assertOverlaysInitialized$0(); return _null; } else { t1 = diffResult.viewsToRemove; B.JSArray_methods.forEach$1(t1, _this.get$_releaseOverlay()); t2 = A.SurfaceFactory_instance(); availableOverlays = t2.maximumSurfaces - 2 - t2._liveSurfaces.length; if (diffResult.addToBeginning) { t1 = diffResult.viewsToAdd; t2 = t1.length; if (t2 > availableOverlays) { viewsToDispose = t2 - availableOverlays; index = A.SurfaceFactory_instance().maximumSurfaces - 2 - t1.length; for (t2 = _this._overlays, t3 = _this._activeCompositionOrder, t4 = type$.JSArray_Surface; viewsToDispose > 0; index = index0) { index0 = index + 1; t5 = t3[index]; if (t2.$index(0, t5) != null) { t6 = t2.$index(0, t5); t6.toString; t7 = $.SurfaceFactory__instance; if (t7 == null) { t7 = $._configuration; t7 = (t7 == null ? $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration) : t7)._js; t7 = t7 == null ? _null : J.get$canvasKitMaximumSurfaces$x(t7); if (t7 == null) t7 = 8; t8 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t9 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t10 = A._setArrayType([], t4); t11 = A._setArrayType([], t4); t7 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t8), new A.Surface(t9), t7, t10, t11); } t7.releaseSurface$1(t6); t2.remove$1(0, t5); } --viewsToDispose; } } t2 = t1.length; t3 = A.SurfaceFactory_instance(); overlaysToAssign = Math.min(t2, t3.maximumSurfaces - 2 - t3._liveSurfaces.length); for (t2 = _this._overlays, t3 = type$.JSArray_Surface, i = 0; i < overlaysToAssign; ++i) { t4 = t1[i]; t5 = $.SurfaceFactory__instance; if (t5 == null) { t5 = $._configuration; t5 = (t5 == null ? $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration) : t5)._js; t5 = t5 == null ? _null : J.get$canvasKitMaximumSurfaces$x(t5); if (t5 == null) t5 = 8; t6 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t7 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t8 = A._setArrayType([], t3); t9 = A._setArrayType([], t3); t5 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t6), new A.Surface(t7), t5, t8, t9); } overlay = t5.getOverlay$0(); overlay.createOrUpdateSurfaces$1(_this._frameSize); t2.$indexSet(0, t4, overlay); } _this._assertOverlaysInitialized$0(); return _null; } else { t2 = _this._compositionOrder; overlaysToAssign = Math.min(t2.length, availableOverlays); lastOriginalIndex = _this._activeCompositionOrder.length - t1.length; t1 = type$.int; insertBeforeMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); t1 = _this._overlays; t3 = type$.JSArray_Surface; index = 0; while (true) { if (!(overlaysToAssign > 0 && index < t2.length)) break; viewId = t2[index]; if (!t1.containsKey$1(0, viewId)) { t4 = $.SurfaceFactory__instance; if (t4 == null) { t4 = $._configuration; t4 = (t4 == null ? $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration) : t4)._js; t4 = t4 == null ? _null : J.get$canvasKitMaximumSurfaces$x(t4); if (t4 == null) t4 = 8; t5 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t6 = A._ElementFactoryProvider_createElement_tag(_s20_, _null); t7 = A._setArrayType([], t3); t8 = A._setArrayType([], t3); t4 = $.SurfaceFactory__instance = new A.SurfaceFactory(new A.Surface(t5), new A.Surface(t6), t4, t7, t8); } overlay = t4.getOverlay$0(); overlay.createOrUpdateSurfaces$1(_this._frameSize); t1.$indexSet(0, viewId, overlay); --overlaysToAssign; if (index < lastOriginalIndex) { t4 = index + 1; if (t4 < t2.length) insertBeforeMap.$indexSet(0, viewId, t2[t4]); else insertBeforeMap.$indexSet(0, viewId, -1); } } ++index; } _this._assertOverlaysInitialized$0(); return insertBeforeMap; } } }, _assertOverlaysInitialized$0() { } }; A.HtmlViewEmbedder_getOverlayCanvases_closure.prototype = { call$1(r) { var t1 = r._recordingCanvas; t1.toString; return t1; }, $signature: 485 }; A.HtmlViewEmbedder__compositeWithParams_closure.prototype = { call$0() { var t1 = A.createPlatformViewSlot(this.viewId); return new A.ViewClipChain(t1, t1); }, $signature: 782 }; A.HtmlViewEmbedder__applyMutators_closure.prototype = { call$0() { return A.LinkedHashSet_LinkedHashSet$_empty(type$.String); }, $signature: 224 }; A.HtmlViewEmbedder__applyMutators_closure0.prototype = { call$0() { return A.LinkedHashSet_LinkedHashSet$_empty(type$.String); }, $signature: 224 }; A.HtmlViewEmbedder_submitFrame_closure.prototype = { call$2(viewId, viewIdToInsertBefore) { var nextSibling, t1 = this.$this, overlay = t1._overlays.$index(0, viewId).htmlElement; if (viewIdToInsertBefore !== -1) { nextSibling = t1._viewClipChains.$index(0, viewIdToInsertBefore).__engine$_root; $.skiaSceneHost.insertBefore(overlay, nextSibling); } else $.skiaSceneHost.appendChild(overlay); }, $signature: 229 }; 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.hashValues(this.offset, this.size, this.mutators, 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, 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.MutatorType.prototype = { toString$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.hashValues(_this.type, _this.rect, _this.rrect, _this.path, _this.matrix, _this.alpha, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.MutatorsStack.prototype = { $eq(_, other) { if (other == null) return false; if (other === this) return true; return other instanceof A.MutatorsStack && A.listEquals(other._mutators, this._mutators); }, get$hashCode(_) { return A.hashList(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(t1), t2._eval$1("ListIterator<ListIterable.E>")); } }; A.ViewListDiffResult.prototype = {}; A.FontFallbackData.prototype = { ensureFontsSupportText$2(text, fontFamilies) { var isAscii, runesToCheck, t2, t3, rune, codeUnits, fonts, _i, font, typefacesForFamily, codeUnitsSupported, testString, glyphs, t4, t5, missingCodeUnits, _this = this, t1 = text.length, i = 0; while (true) { if (!(i < t1)) { isAscii = true; break; } if (B.JSString_methods._codeUnitAt$1(text, i) >= 160) { isAscii = false; break; } ++i; } if (isAscii) return; runesToCheck = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); for (t1 = new A.RuneIterator(text), t2 = _this.knownCoveredCodeUnits, t3 = _this.codeUnitsWithNoKnownFont; 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; codeUnits = A.List_List$of(runesToCheck, true, runesToCheck.$ti._eval$1("SetMixin.E")); fonts = A._setArrayType([], type$.JSArray_SkFont); for (t1 = fontFamilies.length, _i = 0; _i < fontFamilies.length; fontFamilies.length === t1 || (0, A.throwConcurrentModificationError)(fontFamilies), ++_i) { font = fontFamilies[_i]; typefacesForFamily = $._skiaFontCollection.familyToFontMap.$index(0, font); if (typefacesForFamily != null) B.JSArray_methods.addAll$1(fonts, typefacesForFamily); } t1 = codeUnits.length; codeUnitsSupported = 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) { glyphs = J.getGlyphIDs$1$x(fonts[_i], testString); for (t3 = glyphs.length, i = 0; i < t3; ++i) { t4 = codeUnitsSupported[i]; if (glyphs[i] === 0) { t5 = codeUnits[i]; if (!(t5 < 32)) t5 = t5 > 127 && t5 < 160; else t5 = true; } else t5 = true; codeUnitsSupported[i] = B.JSBool_methods.$or(t4, t5); } } if (B.JSArray_methods.any$1(codeUnitsSupported, new A.FontFallbackData_ensureFontsSupportText_closure())) { missingCodeUnits = A._setArrayType([], type$.JSArray_int); for (i = 0; i < t1; ++i) if (!codeUnitsSupported[i]) missingCodeUnits.push(codeUnits[i]); _this._codeUnitsToCheckAgainstFallbackFonts.addAll$1(0, missingCodeUnits); if (!_this._scheduledCodeUnitCheck) { _this._scheduledCodeUnitCheck = true; $.$get$EnginePlatformDispatcher__instance().get$rasterizer()._postFrameCallbacks.push(_this.get$_ensureFallbackFonts()); } } }, _ensureFallbackFonts$0() { var t1, codeUnits, codeUnitsSupported, testString, t2, t3, t4, _i, font, fontsForFamily, t5, glyphs, t6, i, t7, t8, keepGoing, _i0, _this = this; _this._scheduledCodeUnitCheck = false; t1 = _this._codeUnitsToCheckAgainstFallbackFonts; codeUnits = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); t1.clear$0(0); t1 = codeUnits.length; codeUnitsSupported = A.List_List$filled(t1, false, false, type$.bool); testString = A.String_String$fromCharCodes(codeUnits, 0, null); for (t2 = _this.globalFontFallbacks, t3 = t2.length, t4 = _this.knownCoveredCodeUnits, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { font = t2[_i]; fontsForFamily = $._skiaFontCollection.familyToFontMap.$index(0, font); if (fontsForFamily == null) { $.$get$printWarning().call$1("A fallback font was registered but we cannot retrieve the typeface for it."); continue; } for (t5 = J.get$iterator$ax(fontsForFamily); t5.moveNext$0();) { glyphs = J.getGlyphIDs$1$x(t5.get$current(t5), testString); for (t6 = glyphs.length, i = 0; i < t6; ++i) { t7 = glyphs[i] === 0; if (!t7) t4.add$1(0, codeUnits[i]); t8 = codeUnitsSupported[i]; if (t7) { t7 = codeUnits[i]; if (!(t7 < 32)) t7 = t7 > 127 && t7 < 160; else t7 = true; } else t7 = true; codeUnitsSupported[i] = B.JSBool_methods.$or(t8, t7); } } _i0 = 0; while (true) { if (!(_i0 < t1)) { keepGoing = false; break; } if (!codeUnitsSupported[_i0]) { keepGoing = true; break; } ++_i0; } if (!keepGoing) return; } for (i = codeUnits.length - 1; i >= 0; --i) if (codeUnitsSupported[i]) B.JSArray_methods.removeAt$1(codeUnits, i); A.findFontsForMissingCodeunits(codeUnits); }, registerFallbackFont$2(family, bytes) { var t1, t2, t3, countedFamily, _this = this, typeface = J.MakeTypefaceFromData$1$x(J.RefDefault$0$x(J.get$FontMgr$x($.__canvasKit._readField$0())), bytes); if (typeface == null) { $.$get$printWarning().call$1("Failed to parse fallback font " + family + " as a font."); return; } t1 = _this.fontFallbackCounts; t1.putIfAbsent$2(0, family, new A.FontFallbackData_registerFallbackFont_closure()); t2 = t1.$index(0, family); t2.toString; t3 = t1.$index(0, family); t3.toString; t1.$indexSet(0, family, t3 + 1); countedFamily = family + " " + A.S(t2); _this.registeredFallbackFonts.push(A.RegisteredFont$(bytes, countedFamily, typeface)); if (family === "Noto Color Emoji Compat") { t1 = _this.globalFontFallbacks; if (B.JSArray_methods.get$first(t1) === "Roboto") B.JSArray_methods.insert$2(t1, 1, countedFamily); else B.JSArray_methods.insert$2(t1, 0, countedFamily); } else _this.globalFontFallbacks.push(countedFamily); } }; A.FontFallbackData_createNotoFontTree_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_CodeunitRange); }, $signature: 230 }; A.FontFallbackData_ensureFontsSupportText_closure.prototype = { call$1(x) { return !x; }, $signature: 648 }; A.FontFallbackData_registerFallbackFont_closure.prototype = { call$0() { return 0; }, $signature: 111 }; A._makeResolvedNotoFontFromCss_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_CodeunitRange); }, $signature: 230 }; A._registerSymbolsAndEmoji_extractUrlFromCss.prototype = { call$1(css) { var t1, t2, urlStart; for (t1 = A.LineSplitter_split(css), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) { t2 = t1.get$current(t1); if (B.JSString_methods.startsWith$1(t2, " src:")) { urlStart = B.JSString_methods.indexOf$1(t2, "url("); if (urlStart === -1) { $.$get$printWarning().call$1("Unable to resolve Noto font URL: " + t2); return null; } return B.JSString_methods.substring$2(t2, urlStart + 4, B.JSString_methods.indexOf$1(t2, ")")); } } $.$get$printWarning().call$1("Unable to determine URL for Noto font"); return null; }, $signature: 213 }; A.findMinimumFontsForCodeUnits_closure.prototype = { call$1(font) { return B.JSArray_methods.contains$1($.$get$_cjkFonts(), font); }, $signature: 383 }; A.findMinimumFontsForCodeUnits_closure0.prototype = { call$1(codeUnit) { return this._box_0.bestFont.resolvedFont.tree.root.containsDeep$1(codeUnit); }, $signature: 129 }; A.NotoFont.prototype = { ensureResolved$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, $async$temp1; var $async$ensureResolved$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.resolvedFont == null ? 2 : 3; break; case 2: // then t1 = $async$self._decodingCompleter; $async$goto = t1 == null ? 4 : 6; break; case 4: // then $async$self._decodingCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void); t1 = $.$get$notoDownloadQueue().downloader; t2 = $async$self.name; $async$temp1 = A; $async$goto = 7; return A._asyncAwait(t1.downloadAsString$1("https://fonts.googleapis.com/css2?family=" + A.stringReplaceAllUnchecked(t2, " ", "+")), $async$ensureResolved$0); case 7: // returning from await. $async$self.resolvedFont = $async$temp1._makeResolvedNotoFontFromCss($async$result, t2); $async$self._decodingCompleter.complete$0(0); // goto join $async$goto = 5; break; case 6: // else $async$goto = 8; return A._asyncAwait(t1.future, $async$ensureResolved$0); case 8: // returning from await. case 5: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$ensureResolved$0, $async$completer); }, get$name(receiver) { return this.name; } }; A.CodeunitRange.prototype = { contains$1(_, codeUnit) { return B.JSInt_methods.$le(this.start, codeUnit) && codeUnit.$le(0, this.end); }, $eq(_, other) { if (other == null) return false; if (!(other instanceof A.CodeunitRange)) return false; return other.start === this.start && other.end === this.end; }, get$hashCode(_) { return A.hashValues(this.start, this.end, 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, 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); }, toString$0(_) { return "[" + this.start + ", " + this.end + "]"; } }; A._ResolvedNotoFont.prototype = { get$name(receiver) { return this.name; } }; A._ResolvedNotoSubset.prototype = { toString$0(_) { return "_ResolvedNotoSubset(" + this.family + ", " + this.url + ")"; } }; A.FallbackFontDownloadQueue.prototype = { add$1(_, subset) { var t1, firstInBatch, _this = this; if (_this.downloadedSubsets.contains$1(0, subset) || _this.pendingSubsets.containsKey$1(0, subset.url)) return; t1 = _this.pendingSubsets; firstInBatch = t1.get$isEmpty(t1); t1.$indexSet(0, subset.url, subset); if (firstInBatch) A.Timer_Timer(B.Duration_0, _this.get$startDownloads()); }, startDownloads$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, t2, t3, t4, downloadOrder, _i, url, t1, downloads, downloadedData; var $async$startDownloads$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 t1 = type$.String; downloads = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Future_void); downloadedData = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Uint8List); for (t1 = $async$self.pendingSubsets, t2 = t1.get$values(t1), t2 = t2.get$iterator(t2), t3 = type$.void; t2.moveNext$0();) { t4 = t2.get$current(t2); downloads.$indexSet(0, t4.url, A.Future_Future(new A.FallbackFontDownloadQueue_startDownloads_closure($async$self, t4, downloadedData), t3)); } $async$goto = 2; return A._asyncAwait(A.Future_wait(downloads.get$values(downloads), false, t3), $async$startDownloads$0); case 2: // returning from await. t2 = downloadedData.get$keys(downloadedData); t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(t2); t3 = A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>"); downloadOrder = A.List_List$of(new A.ReversedListIterable(t2, t3), true, t3._eval$1("ListIterable.E")); t2 = downloadOrder.length, _i = 0; case 3: // for condition if (!(_i < t2)) { // goto after for $async$goto = 5; break; } url = downloadOrder[_i]; t3 = t1.remove$1(0, url); t3.toString; t4 = downloadedData.$index(0, url); t4.toString; $.$get$FontFallbackData__instance().registerFallbackFont$2(t3.family, t4); $async$goto = t1.get$isEmpty(t1) ? 6 : 7; break; case 6: // then t3 = $._skiaFontCollection.ensureFontsLoaded$0(); $async$self._fontsLoading = t3; $async$handler = 8; $async$goto = 11; return A._asyncAwait(t3, $async$startDownloads$0); case 11: // returning from await. $async$next.push(10); // goto finally $async$goto = 9; break; case 8: // uncaught $async$next = [1]; case 9: // finally $async$handler = 1; $async$self._fontsLoading = null; // goto the next finally handler $async$goto = $async$next.pop(); break; case 10: // after finally A.sendFontChangeMessage(); case 7: // join case 4: // for update ++_i; // goto for condition $async$goto = 3; break; case 5: // after for $async$goto = t1.get$isNotEmpty(t1) ? 12 : 13; break; case 12: // then $async$goto = 14; return A._asyncAwait($async$self.startDownloads$0(), $async$startDownloads$0); case 14: // returning from await. case 13: // join // implicit return return A._asyncReturn(null, $async$completer); case 1: // rethrow return A._asyncRethrow($async$currentError, $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$next = [], $async$self = this, e, t1, exception, t2, buffer, $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 buffer = null; $async$handler = 4; t1 = $async$self.subset; $async$goto = 7; return A._asyncAwait($async$self.$this.downloader.downloadAsBytes$2$debugDescription(t1.url, t1.family), $async$call$0); case 7: // returning from await. buffer = $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); t1 = $async$self.subset; t2 = t1.url; $async$self.$this.pendingSubsets.remove$1(0, t2); $.$get$printWarning().call$1("Failed to load font " + t1.family + " 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 t1 = $async$self.subset; $async$self.$this.downloadedSubsets.add$1(0, t1); $async$self.downloadedData.$indexSet(0, t1.url, A.NativeUint8List_NativeUint8List$view(buffer, 0, null)); 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: 7 }; A.NotoDownloader.prototype = { downloadAsBytes$2$debugDescription(url, debugDescription) { var result = A.httpFetch(url).then$1$1(0, new A.NotoDownloader_downloadAsBytes_closure(), type$.ByteBuffer); return result; }, downloadAsString$1(url) { var result = A.httpFetch(url).then$1$1(0, new A.NotoDownloader_downloadAsString_closure(), type$.String); return result; } }; A.NotoDownloader_downloadAsBytes_closure.prototype = { call$1(fetchResult) { return A.promiseToFuture(fetchResult.arrayBuffer(), type$.dynamic).then$1$1(0, new A.NotoDownloader_downloadAsBytes__closure(), type$.ByteBuffer); }, $signature: 264 }; A.NotoDownloader_downloadAsBytes__closure.prototype = { call$1(x) { return type$.ByteBuffer._as(x); }, $signature: 267 }; A.NotoDownloader_downloadAsString_closure.prototype = { call$1(response) { var t1 = type$.String; return A.promiseToFuture(response.text(), t1).then$1$1(0, new A.NotoDownloader_downloadAsString__closure(), t1); }, $signature: 568 }; A.NotoDownloader_downloadAsString__closure.prototype = { call$1(x) { return A._asString(x); }, $signature: 573 }; A.SkiaFontCollection.prototype = { ensureFontsLoaded$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3, _i, font, t4, t5; var $async$ensureFontsLoaded$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._loadFonts$0(), $async$ensureFontsLoaded$0); case 2: // returning from await. t1 = $async$self.fontProvider; if (t1 != null) { J.delete$0$x(t1); $async$self.fontProvider = null; } $async$self.fontProvider = J.Make$0$x(J.get$TypefaceFontProvider$x($.__canvasKit._readField$0())); t1 = $async$self.familyToFontMap; t1.clear$0(0); for (t2 = $async$self._registeredFonts, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { font = t2[_i]; t4 = $async$self.fontProvider; t4.toString; t5 = font.family; J.registerFont$2$x(t4, font.bytes, t5); J.add$1$ax(t1.putIfAbsent$2(0, t5, new A.SkiaFontCollection_ensureFontsLoaded_closure()), new self.window.flutterCanvasKit.Font(font.typeface)); } for (t2 = $.$get$FontFallbackData__instance().registeredFallbackFonts, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { font = t2[_i]; t4 = $async$self.fontProvider; t4.toString; t5 = font.family; J.registerFont$2$x(t4, font.bytes, t5); J.add$1$ax(t1.putIfAbsent$2(0, t5, new A.SkiaFontCollection_ensureFontsLoaded_closure0()), new self.window.flutterCanvasKit.Font(font.typeface)); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$ensureFontsLoaded$0, $async$completer); }, _loadFonts$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t2, t3, t4, t1, $async$temp1; var $async$_loadFonts$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._unloadedFonts; if (t1.length === 0) { // goto return $async$goto = 1; break; } $async$temp1 = J; $async$goto = 3; return A._asyncAwait(A.Future_wait(t1, false, type$.nullable_RegisteredFont), $async$_loadFonts$0); case 3: // returning from await. t2 = $async$temp1.get$iterator$ax($async$result), t3 = $async$self._registeredFonts; case 4: // for condition if (!t2.moveNext$0()) { // goto after for $async$goto = 5; break; } t4 = t2.get$current(t2); if (t4 != null) t3.push(t4); // goto for condition $async$goto = 4; break; case 5: // after for B.JSArray_methods.set$length(t1, 0); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_loadFonts$0, $async$completer); }, registerFonts$1(assetManager) { return this.registerFonts$body$SkiaFontCollection(assetManager); }, registerFonts$body$SkiaFontCollection(assetManager) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, e, exception, t1, fontManifest, t2, t3, t4, t5, registeredRoboto, t6, t7, family, fontAssets, byteData, $async$exception; var $async$registerFonts$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 byteData = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait(assetManager.load$1(0, "FontManifest.json"), $async$registerFonts$1); case 7: // returning from await. byteData = $async$result; $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.AssetManagerException) { e = t1; if (e.httpStatus === 404) { $.$get$printWarning().call$1("Font manifest does not exist at `" + e.url + "` \u2013 ignoring."); // goto return $async$goto = 1; break; } else throw $async$exception; } else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally fontManifest = type$.nullable_List_dynamic._as(B.C_JsonCodec.decode$1(0, B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(byteData.buffer, 0, null)))); if (fontManifest == null) throw A.wrapException(A.AssertionError$(string$.There_)); for (t1 = type$.Map_String_dynamic, t2 = J.cast$1$0$ax(fontManifest, t1), t3 = A._instanceType(t2), t2 = new A.ListIterator(t2, t2.get$length(t2), t3._eval$1("ListIterator<ListMixin.E>")), t4 = $async$self._unloadedFonts, t3 = t3._eval$1("ListMixin.E"), t5 = type$.List_dynamic, registeredRoboto = false; t2.moveNext$0();) { t6 = t3._as(t2.__internal$_current); t7 = J.getInterceptor$asx(t6); family = A._asString(t7.$index(t6, "family")); fontAssets = t5._as(t7.$index(t6, "fonts")); if (family === "Roboto") registeredRoboto = true; for (t6 = J.get$iterator$ax(fontAssets); t6.moveNext$0();) t4.push($async$self._registerFont$2(assetManager.getAssetUrl$1(A._asString(J.$index$asx(t1._as(t6.get$current(t6)), "asset"))), family)); } if (!registeredRoboto) t4.push($async$self._registerFont$2("https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf", "Roboto")); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$registerFonts$1, $async$completer); }, _registerFont$2(url, family) { return this._registerFont$body$SkiaFontCollection(url, family); }, _registerFont$body$SkiaFontCollection(url, family) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_RegisteredFont), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, e, exception, bytes, typeface, buffer, $async$exception; var $async$_registerFont$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 buffer = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait(A.httpFetch(url).then$1$1(0, $async$self.get$_getArrayBuffer(), type$.ByteBuffer), $async$_registerFont$2); case 7: // returning from await. buffer = $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 " + family + " at " + url); $.$get$printWarning().call$1(J.toString$0$(e)); $async$returnValue = null; // 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 bytes = A.NativeUint8List_NativeUint8List$view(buffer, 0, null); typeface = J.MakeTypefaceFromData$1$x(J.RefDefault$0$x(J.get$FontMgr$x($.__canvasKit._readField$0())), bytes); if (typeface != null) { $async$returnValue = A.RegisteredFont$(bytes, family, typeface); // goto return $async$goto = 1; break; } else { $.$get$printWarning().call$1("Failed to load font " + family + " at " + url); $.$get$printWarning().call$1("Verify that " + url + " contains a valid font."); $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$_registerFont$2, $async$completer); }, _getArrayBuffer$1(fetchResult) { return A.promiseToFuture(fetchResult.arrayBuffer(), type$.dynamic).then$1$1(0, new A.SkiaFontCollection__getArrayBuffer_closure(), type$.ByteBuffer); } }; A.SkiaFontCollection_ensureFontsLoaded_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_SkFont); }, $signature: 298 }; A.SkiaFontCollection_ensureFontsLoaded_closure0.prototype = { call$0() { return A._setArrayType([], type$.JSArray_SkFont); }, $signature: 298 }; A.SkiaFontCollection__getArrayBuffer_closure.prototype = { call$1(x) { return type$.ByteBuffer._as(x); }, $signature: 267 }; A.RegisteredFont.prototype = {}; A.ImageCodecException.prototype = { toString$0(_) { return "ImageCodecException: " + this.__engine$_message; }, $isException: 1 }; A.httpRequestFactory_closure.prototype = { call$0() { return new XMLHttpRequest(); }, $signature: 755 }; A.skiaInstantiateWebImageCodec_closure.prototype = { call$1($event) { var t2, t1 = $event.loaded; t1.toString; t2 = $event.total; t2.toString; this.chunkCallback.call$2(t1, t2); }, $signature: 62 }; A.skiaInstantiateWebImageCodec_closure0.prototype = { call$1($event) { this.completer.completeError$1(new A.ImageCodecException(string$.Failed + this.url + "\nTrying to load an image from another domain? Find answers at:\nhttps://flutter.dev/docs/development/platform-integration/web-images")); }, $signature: 62 }; A.skiaInstantiateWebImageCodec_closure1.prototype = { call$1($event) { var list, codec, error, stackTrace, accepted, unknownRedirect, exception, _this = this, t1 = _this.request, t2 = t1.status; t2.toString; accepted = t2 >= 200 && t2 < 300; unknownRedirect = t2 > 307 && t2 < 400; if (!(accepted || t2 === 0 || t2 === 304 || unknownRedirect)) { _this.completer.completeError$1(new A.ImageCodecException(string$.Failed + _this.url + "\nServer response code: " + t2)); return; } try { list = A.NativeUint8List_NativeUint8List$view(type$.ByteBuffer._as(A._convertNativeToDart_XHR_Response(t1.response)), 0, null); codec = A.CkAnimatedImage$decodeFromBytes(list, _this.url); _this.completer.complete$1(0, codec); } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); _this.completer.completeError$2(error, stackTrace); } }, $signature: 62 }; A.CkAnimatedImage.prototype = { createDefault$0() { var t1, i, _this = this, animatedImage = J.MakeAnimatedImageFromEncoded$1$x($.__canvasKit._readField$0(), _this._bytes); if (animatedImage == null) throw A.wrapException(A.ImageCodecException$("Failed to decode image data.\nImage source: " + _this.src)); t1 = J.getInterceptor$x(animatedImage); _this._frameCount = t1.getFrameCount$0(animatedImage); _this._repetitionCount = t1.getRepetitionCount$0(animatedImage); for (i = 0; i < _this._nextFrameIndex; ++i) t1.decodeNextFrame$0(animatedImage); return animatedImage; }, resurrect$0() { return this.createDefault$0(); }, get$isResurrectionExpensive() { return true; }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, get$frameCount() { return this._frameCount; }, get$repetitionCount() { return this._repetitionCount; }, getNextFrame$0() { var _this = this, duration = A.Duration$(0, 0, 0, J.decodeNextFrame$0$x(_this.get$skiaObject()), 0), image = A.CkImage$(J.makeImageAtCurrentFrame$0$x(_this.get$skiaObject())); _this._nextFrameIndex = B.JSInt_methods.$mod(_this._nextFrameIndex + 1, _this._frameCount); return A.Future_Future$value(new A.AnimatedImageFrameInfo(duration, image), type$.FrameInfo); }, $isCodec: 1 }; A.CkImage.prototype = { CkImage$1(skImage) { var t1, t2, t3, originalBytes, _this = this; if ($.$get$browserSupportsFinalizationRegistry()) { t1 = new A.SkiaObjectBox(A.LinkedHashSet_LinkedHashSet$_empty(type$.CkImage), null, type$.SkiaObjectBox_CkImage_SkImage); t1._initialize$2(_this, skImage); t2 = $.$get$Collector__instance(); t3 = t1._skDeletable; t3.toString; t2.register$2(0, t1, t3); A._lateWriteOnceCheck(_this.__CkImage_box, "box"); _this.__CkImage_box = t1; } else { t1 = J.get$Premul$x(J.get$AlphaType$x($.__canvasKit._readField$0())); t2 = J.get$RGBA_8888$x(J.get$ColorType$x($.__canvasKit._readField$0())); originalBytes = A.CkImage__encodeImage(t1, self.window.flutterCanvasKit.ColorSpace.SRGB, t2, B.ImageByteFormat_0, skImage); if (originalBytes == null) { $.$get$printWarning().call$1("Unable to encode image to bytes. We will not be able to resurrect it once it has been garbage collected."); return; } t1 = J.getInterceptor$x(skImage); t1 = new A.SkiaObjectBox(A.LinkedHashSet_LinkedHashSet$_empty(type$.CkImage), new A.CkImage_closure(t1.width$0(skImage), t1.height$0(skImage), originalBytes), type$.SkiaObjectBox_CkImage_SkImage); t1._initialize$2(_this, skImage); A.SkiaObjects_registerCleanupCallback(); $.$get$SkiaObjects_expensiveCache().add$1(0, t1); A._lateWriteOnceCheck(_this.__CkImage_box, "box"); _this.__CkImage_box = t1; } }, CkImage$cloneOf$1(box) { ++A._lateReadCheck(this.__CkImage_box, "box").__engine$_refCount; }, dispose$0(_) { var t1, t2; this._disposed = true; t1 = A._lateReadCheck(this.__CkImage_box, "box"); if (--t1.__engine$_refCount === 0) { t2 = t1._skDeletable; if (t2 != null) if ($.$get$browserSupportsFinalizationRegistry()) $.$get$Collector__instance().collect$1(t2); else { t1.delete$0(0); t1.didDelete$0(); } t1._resurrector = t1._skDeletable = t1.rawSkiaObject = null; t1._isDeletedPermanently = true; } }, clone$0(_) { var t1 = A._lateReadCheck(this.__CkImage_box, "box"); ++A._lateReadCheck(t1, "box").__engine$_refCount; return new A.CkImage(t1); }, isCloneOf$1(other) { return other instanceof A.CkImage && J.isAliasOf$1$x(A._lateReadCheck(other.__CkImage_box, "box").get$skiaObject(), A._lateReadCheck(this.__CkImage_box, "box").get$skiaObject()); }, get$width(_) { return J.width$0$x(A._lateReadCheck(this.__CkImage_box, "box").get$skiaObject()); }, get$height(_) { return J.height$0$x(A._lateReadCheck(this.__CkImage_box, "box").get$skiaObject()); }, toString$0(_) { return "[" + A.S(J.width$0$x(A._lateReadCheck(this.__CkImage_box, "box").get$skiaObject())) + "\xd7" + A.S(J.height$0$x(A._lateReadCheck(this.__CkImage_box, "box").get$skiaObject())) + "]"; }, $isImage0: 1 }; A.CkImage_closure.prototype = { call$0() { var t1 = $.__canvasKit._readField$0(), t2 = J.get$Premul$x(J.get$AlphaType$x($.__canvasKit._readField$0())), t3 = this.originalWidth; return J.MakeImage$3$x(t1, {width: t3, height: this.originalHeight, colorType: J.get$RGBA_8888$x(J.get$ColorType$x($.__canvasKit._readField$0())), alphaType: t2, colorSpace: self.window.flutterCanvasKit.ColorSpace.SRGB}, A.NativeUint8List_NativeUint8List$view(this.originalBytes.buffer, 0, null), 4 * t3); }, $signature: 788 }; A.AnimatedImageFrameInfo.prototype = { get$duration(_) { return this.__engine$_duration; }, get$image(_) { return this.__engine$_image; }, $isFrameInfo: 1 }; A.CkImageFilter.prototype = { createDefault$0() { return this._initSkiaObject$0(); }, resurrect$0() { return this._initSkiaObject$0(); }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, $isCkManagedSkImageFilterConvertible: 1 }; A._CkBlurImageFilter.prototype = { get$_modeString() { switch (this.tileMode.index) { case 0: return "clamp"; case 2: return "mirror"; case 1: return "repeated"; case 3: return "decal"; } }, _initSkiaObject$0() { return J.MakeBlur$4$x(J.get$ImageFilter$x($.__canvasKit._readField$0()), this.sigmaX, this.sigmaY, $.$get$_skTileModes()[this.tileMode.index], null); }, $eq(_, other) { var _this = this; if (other == null) return false; if (A.getRuntimeType(_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.hashValues(this.sigmaX, this.sigmaY, this.tileMode, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "ImageFilter.blur(" + this.sigmaX + ", " + this.sigmaY + ", " + A.S(this.get$_modeString()) + ")"; } }; A.initializeCanvasKit_closure.prototype = { call$1(_) { J.then$1$x(self.window.CanvasKitInit({locateFile: A.allowInterop(new A.initializeCanvasKit__closure())}), A.allowInterop(new A.initializeCanvasKit__closure0(this.canvasKitCompleter))); }, $signature: 27 }; A.initializeCanvasKit__closure.prototype = { call$2(file, unusedBase) { var t1 = $._currentCanvasKitBase; t1.toString; return t1 + file; }, $signature: 227 }; A.initializeCanvasKit__closure0.prototype = { call$1(ck) { $.__canvasKit.__late_helper$_value = ck; self.window.flutterCanvasKit = $.__canvasKit._readField$0(); this.canvasKitCompleter.complete$0(0); }, $signature: 546 }; A._startDownloadingCanvasKit_closure.prototype = { call$1(_) { J.cancel$0$z(this.loadSubscription._readLocal$0()); this.canvasKitLoadCompleter.complete$0(0); }, $signature: 20 }; A._startDownloadingCanvasKit_closure0.prototype = { call$0() { var t1 = document.currentScript, t2 = $._canvasKitScript; if (t1 == null ? t2 == null : t1 === t2) return A.JsObject_JsObject(this.objectConstructor); else return $.$get$_context().$index(0, "_flutterWebCachedExports"); }, $signature: 71 }; A._startDownloadingCanvasKit_closure1.prototype = { call$1(value) { $.$get$_context().$indexSet(0, "_flutterWebCachedExports", value); }, $signature: 5 }; A._startDownloadingCanvasKit_closure2.prototype = { call$0() { var t1 = document.currentScript, t2 = $._canvasKitScript; if (t1 == null ? t2 == null : t1 === t2) return A.JsObject_JsObject(this.objectConstructor); else return $.$get$_context().$index(0, "_flutterWebCachedModule"); }, $signature: 71 }; A._startDownloadingCanvasKit_closure3.prototype = { call$1(value) { $.$get$_context().$indexSet(0, "_flutterWebCachedModule", value); }, $signature: 5 }; A.IntervalTree.prototype = {}; A.IntervalTree_IntervalTree$createFromRanges_closure.prototype = { call$2(key, rangeList) { var t1, t2, t3, t4, t5; for (t1 = J.get$iterator$ax(rangeList), t2 = this.intervals, t3 = this.T._eval$1("IntervalTreeNode<0>"); t1.moveNext$0();) { t4 = t1.get$current(t1); t5 = t4.start; t4 = t4.end; t2.push(new A.IntervalTreeNode(key, t5, t4, t4, t3)); } }, $signature() { return this.T._eval$1("~(0,List<CodeunitRange>)"); } }; A.IntervalTree_IntervalTree$createFromRanges_closure0.prototype = { call$2(a, b) { return a.low - b.low; }, $signature() { return this.T._eval$1("int(IntervalTreeNode<0>,IntervalTreeNode<0>)"); } }; A.IntervalTree_IntervalTree$createFromRanges__makeBalancedTree.prototype = { call$1(nodes) { var mid, root, t1 = nodes.length; if (t1 === 0) return null; if (t1 === 1) return B.JSArray_methods.get$single(nodes); mid = t1 / 2 | 0; root = nodes[mid]; root.left = this.call$1(B.JSArray_methods.sublist$2(nodes, 0, mid)); root.right = this.call$1(B.JSArray_methods.sublist$1(nodes, mid + 1)); return root; }, $signature() { return this.T._eval$1("IntervalTreeNode<0>?(List<IntervalTreeNode<0>>)"); } }; A.IntervalTree_IntervalTree$createFromRanges__computeHigh.prototype = { call$1(root) { var t3, _this = this, t1 = root.left, t2 = t1 == null; if (t2 && root.right == null) root.computedHigh = root.high; else if (t2) { t1 = root.right; t1.toString; _this.call$1(t1); root.computedHigh = Math.max(root.high, root.right.computedHigh); } else { t2 = root.right; t3 = root.high; if (t2 == null) { _this.call$1(t1); root.computedHigh = Math.max(t3, root.left.computedHigh); } else { _this.call$1(t2); t1 = root.left; t1.toString; _this.call$1(t1); root.computedHigh = Math.max(t3, Math.max(root.left.computedHigh, root.right.computedHigh)); } } }, $signature() { return this.T._eval$1("~(IntervalTreeNode<0>)"); } }; A.IntervalTreeNode.prototype = { containsShallow$1(x) { return this.low <= x && x <= this.high; }, containsDeep$1(x) { var t1, _this = this; if (x > _this.computedHigh) return false; if (_this.containsShallow$1(x)) return true; t1 = _this.left; if ((t1 == null ? null : t1.containsDeep$1(x)) === true) return true; if (x < _this.low) return false; t1 = _this.right; return (t1 == null ? null : t1.containsDeep$1(x)) === true; }, searchForPoint$2(x, result) { var t1, _this = this; if (x > _this.computedHigh) return; t1 = _this.left; if (t1 != null) t1.searchForPoint$2(x, result); if (_this.containsShallow$1(x)) result.push(_this.value); if (x < _this.low) return; t1 = _this.right; if (t1 != null) t1.searchForPoint$2(x, result); }, get$value(receiver) { return this.value; } }; A.Layer0.prototype = { dispose$0(_) { } }; A.PrerollContext.prototype = { get$cullRect() { var t1, t2, cullRect, t3, clipRect, t4; 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(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), cullRect = B.Rect_aha; t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); 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; t4 = t3.rawSkiaObject; t3 = J.getBounds$0$x(t4 == null ? t3._doResurrect$0() : t4); clipRect = new A.Rect(t3[0], t3[1], t3[2], t3[3]); break; default: continue; } 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.__engine$_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.__engine$_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, _this = this, paint = A.CkPaint$(); paint.set$blendMode(_this._blendMode); t1 = paintContext.internalNodesCanvas; t1.saveLayerWithFilter$3(_this.paintBounds, _this.__engine$_filter, paint); _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); clipBounds = A.fromSkRect(J.getBounds$0$x(t1.get$skiaObject())); 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(0, _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._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._clipRect; t3 = this.__engine$_clipBehavior; t1.clipRect$3(0, t2, B.ClipOp_1, t3 !== B.Clip_1); t3 = t3 === B.Clip_3; if (t3) t1.saveLayer$2(0, 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(0, _this.__engine$_clipRRect, t2 !== B.Clip_1); t2 = t2 === B.Clip_3; if (t2) t1.saveLayer$2(0, _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.Matrix40(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(0, _this.paintBounds.shift$1(new A.Offset(-t3, -t2)), paint); _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.transformRect(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.__engine$_m4storage); this.paintChildren$1(paintContext); t1.restore$0(0); }, $isTransformEngineLayer0: 1 }; A.OffsetEngineLayer.prototype = {$isOffsetEngineLayer0: 1}; A.PictureLayer0.prototype = { preroll$2(prerollContext, matrix) { this.paintBounds = this.picture.cullRect.shift$1(this.offset); }, paint$1(paintContext) { var t1; paintContext.leafNodesCanvas.save$0(0); t1 = this.offset; paintContext.leafNodesCanvas.translate$2(0, t1._dx, t1._dy); paintContext.leafNodesCanvas.drawPicture$1(0, this.picture); paintContext.leafNodesCanvas.restore$0(0); } }; A.PhysicalShapeEngineLayer.prototype = { preroll$2(prerollContext, matrix) { var t1, _this = this; _this.prerollChildren$2(prerollContext, matrix); t1 = $.$get$window()._debugDevicePixelRatio; if (t1 == null) t1 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); _this.paintBounds = A.computeSkShadowBounds(_this.__engine$_path, _this.__engine$_elevation, t1, matrix); }, paint$1(paintContext) { var t2, t3, t4, paint, saveCount, _this = this, t1 = _this.__engine$_elevation; if (t1 !== 0) { t2 = paintContext.leafNodesCanvas; t3 = _this.__engine$_shadowColor; t3.toString; t4 = _this._color; t2.drawShadow$4(0, _this.__engine$_path, t3, t1, (t4.get$value(t4) >>> 24 & 255) !== 255); } paint = A.CkPaint$(); paint.set$color(0, _this._color); t1 = _this.__engine$_clipBehavior; t2 = t1 === B.Clip_3; if (!t2) paintContext.leafNodesCanvas.drawPath$2(0, _this.__engine$_path, paint); t3 = paintContext.internalNodesCanvas; saveCount = t3.save$0(0); switch (t1.index) { case 1: t3.clipPath$2(0, _this.__engine$_path, false); break; case 2: t3.clipPath$2(0, _this.__engine$_path, true); break; case 3: t3.clipPath$2(0, _this.__engine$_path, true); t3.saveLayer$2(0, _this.paintBounds, null); break; case 0: break; } if (t2) paintContext.leafNodesCanvas.drawPaint$1(0, paint); _this.paintChildren$1(paintContext); t3.restoreToCount$1(0, saveCount); }, $isPhysicalShapeEngineLayer0: 1 }; 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; t3.toString; 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 = paintContext.viewEmbedder.compositeEmbeddedView$1(this.viewId); if (canvas != null) paintContext.leafNodesCanvas = canvas; } }; A.LayerScene.prototype = { dispose$0(_) { } }; A.LayerSceneBuilder.prototype = { addPerformanceOverlay$2(enabledOptions, bounds) { throw A.wrapException(A.UnimplementedError$(null)); }, addPicture$4$isComplexHint$willChangeHint(offset, picture, isComplexHint, willChangeHint) { var t1 = A._lateReadCheck(this.__LayerSceneBuilder_currentLayer, "currentLayer"), t2 = new A.PictureLayer0(type$.CkPicture._as(picture), offset, B.Rect_0_0_0_0); t2.parent = t1; t1.__engine$_layers.push(t2); }, addRetained$1(retainedLayer) { var t1 = A._lateReadCheck(this.__LayerSceneBuilder_currentLayer, "currentLayer"); type$.Layer._as(retainedLayer); retainedLayer.parent = t1; t1.__engine$_layers.push(retainedLayer); }, addTexture$6$filterQuality$freeze$height$offset$width(textureId, filterQuality, freeze, height, offset, width) { }, addPlatformView$4$height$offset$width(viewId, height, offset, width) { var t1 = A._lateReadCheck(this.__LayerSceneBuilder_currentLayer, "currentLayer"), t2 = new A.PlatformViewLayer0(viewId, offset, width, height, B.Rect_0_0_0_0); t2.parent = t1; t1.__engine$_layers.push(t2); }, build$0(_) { return new A.LayerScene(new A.LayerTree(this.rootLayer, $.$get$window().get$physicalSize())); }, pop$0(_) { var t1, _this = this, _s12_ = "currentLayer"; if (A._lateReadCheck(_this.__LayerSceneBuilder_currentLayer, _s12_) === _this.rootLayer) return; t1 = A._lateReadCheck(_this.__LayerSceneBuilder_currentLayer, _s12_).parent; t1.toString; _this.__LayerSceneBuilder_currentLayer = 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)); }, 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)); }, pushPhysicalShape$6$clipBehavior$color$elevation$oldLayer$path$shadowColor(clipBehavior, color, elevation, oldLayer, path, shadowColor) { return this.pushLayer$1(new A.PhysicalShapeEngineLayer(elevation, color, shadowColor, type$.CkPath._as(path), clipBehavior, 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.Matrix40(A.toMatrix32(matrix4)), A._setArrayType([], type$.JSArray_Layer), B.Rect_0_0_0_0)); }, setCheckerboardOffscreenLayers$1(checkerboard) { }, setCheckerboardRasterCacheImages$1(checkerboard) { }, setRasterizerTracingThreshold$1(frameInterval) { }, pushLayer$1$1(layer) { var t1 = A._lateReadCheck(this.__LayerSceneBuilder_currentLayer, "currentLayer"); layer.parent = t1; t1.__engine$_layers.push(layer); return this.__LayerSceneBuilder_currentLayer = layer; }, pushLayer$1(layer) { return this.pushLayer$1$1(layer, type$.ContainerLayer); } }; A.LayerTree.prototype = { paint$2$ignoreRasterCache(frame, ignoreRasterCache) { var t3, overlayCanvases, i, t4, t1 = A._setArrayType([], type$.JSArray_CkCanvas), internalNodesCanvas = new A.CkNWayCanvas(t1), t2 = frame.canvas; t1.push(t2); t3 = frame.viewEmbedder; overlayCanvases = t3.getOverlayCanvases$0(); for (i = 0; i < overlayCanvases.length; ++i) t1.push(overlayCanvases[i]); internalNodesCanvas.clear$1(0, B.Color_0); t1 = this.rootLayer; t4 = t1.paintBounds; if (!t4.get$isEmpty(t4)) t1.paintChildren$1(new A.PaintContext(internalNodesCanvas, t2, t3)); } }; 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() { this.layerTree.paint$2$ignoreRasterCache(this.$this, this.ignoreRasterCache); }, $signature: 0 }; A.CompositorContext.prototype = {}; A.CkMaskFilter.prototype = { createDefault$0() { return this._initSkiaObject$0(); }, resurrect$0() { return this._initSkiaObject$0(); }, _initSkiaObject$0() { var t1 = J.MakeBlur$3$x(J.get$MaskFilter$x($.__canvasKit._readField$0()), $.$get$_skBlurStyles()[this._blurStyle.index], this.__engine$_sigma, true); t1.toString; return t1; }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); } }; A.CkNWayCanvas.prototype = { save$0(_) { var t1, saveCount, i; for (t1 = this._canvases, saveCount = 0, i = 0; i < t1.length; ++i) saveCount = t1[i].save$0(0); return saveCount; }, saveLayer$2(_, bounds, paint) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].saveLayer$2(0, bounds, paint); }, 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].restore$0(0); }, restoreToCount$1(_, count) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].restoreToCount$1(0, count); }, translate$2(_, dx, dy) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].translate$2(0, dx, dy); }, transform$1(_, matrix) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].transform$1(0, matrix); }, clear$1(_, color) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].clear$1(0, color); }, clipPath$2(_, path, doAntiAlias) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].clipPath$2(0, path, doAntiAlias); }, clipRect$3(_, rect, clipOp, doAntiAlias) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].clipRect$3(0, rect, clipOp, doAntiAlias); }, clipRRect$2(_, rrect, doAntiAlias) { var t1, i; for (t1 = this._canvases, i = 0; i < t1.length; ++i) t1[i].clipRRect$2(0, rrect, doAntiAlias); } }; A.CkPaint.prototype = { set$blendMode(value) { if (this._blendMode === value) return; this._blendMode = value; J.setBlendMode$1$x(this.get$skiaObject(), $.$get$_skBlendModes()[value.index]); }, get$style(_) { return this._style; }, set$style(_, value) { if (this._style === value) return; this._style = value; J.setStyle$1$x(this.get$skiaObject(), $.$get$_skPaintStyles()[value.index]); }, get$strokeWidth() { return this._strokeWidth; }, set$strokeWidth(value) { if (this._strokeWidth === value) return; this._strokeWidth = value; J.setStrokeWidth$1$x(this.get$skiaObject(), value); }, set$strokeCap(value) { if (this._strokeCap === value) return; this._strokeCap = value; J.setStrokeCap$1$x(this.get$skiaObject(), $.$get$_skStrokeCaps()[value.index]); }, set$strokeJoin(value) { if (this._strokeJoin === value) return; this._strokeJoin = value; J.setStrokeJoin$1$x(this.get$skiaObject(), $.$get$_skStrokeJoins()[value.index]); }, set$isAntiAlias(value) { if (this._isAntiAlias === value) return; this._isAntiAlias = value; J.setAntiAlias$1$x(this.get$skiaObject(), value); }, get$color(_) { return this._color; }, set$color(_, value) { if (this._color.$eq(0, value)) return; this._color = value; J.setColorInt$1$x(this.get$skiaObject(), value.get$value(value)); }, set$invertColors(value) { var t1, t2, _this = this; if (value === _this._invertColors) return; if (!value) { _this._effectiveColorFilter = _this._originalColorFilter; _this._originalColorFilter = null; } else { t1 = _this._originalColorFilter = _this._effectiveColorFilter; if (t1 == null) _this._effectiveColorFilter = $.$get$_invertColorFilter(); else _this._effectiveColorFilter = A.ManagedSkColorFilter$(new A.CkComposeColorFilter($.$get$_invertColorFilter(), t1)); } t1 = _this.get$skiaObject(); t2 = _this._effectiveColorFilter; J.setColorFilter$1$x(t1, t2 == null ? null : t2.get$skiaObject()); _this._invertColors = value; }, set$shader(value) { var t1, t2, _this = this; if (_this._shader == value) return; _this._shader = type$.nullable_CkShader._as(value); t1 = _this.get$skiaObject(); t2 = _this._shader; J.setShader$1$x(t1, t2 == null ? null : t2.withQuality$1(_this._filterQuality)); }, set$maskFilter(value) { var t1, t2, _this = this; if (J.$eq$(value, _this._maskFilter)) return; _this._maskFilter = value; if (value != null) { t1 = value._sigma; if (!(isFinite(t1) && t1 > 0)) _this._ckMaskFilter = null; else { t1 = new A.CkMaskFilter(value._ui$_style, t1); t1.ManagedSkiaObject$1(null, type$.SkMaskFilter); _this._ckMaskFilter = t1; } } else _this._ckMaskFilter = null; t1 = _this.get$skiaObject(); t2 = _this._ckMaskFilter; J.setMaskFilter$1$x(t1, t2 == null ? null : t2.get$skiaObject()); }, set$filterQuality(value) { var t1, t2, _this = this; if (_this._filterQuality === value) return; _this._filterQuality = value; t1 = _this.get$skiaObject(); t2 = _this._shader; J.setShader$1$x(t1, t2 == null ? null : t2.withQuality$1(value)); }, set$colorFilter(value) { var t2, _this = this, t1 = _this._effectiveColorFilter; if (J.$eq$(t1 == null ? null : t1.colorFilter, value)) return; _this._originalColorFilter = null; t1 = value == null ? _this._effectiveColorFilter = null : _this._effectiveColorFilter = A.ManagedSkColorFilter$(value); if (_this._invertColors) { _this._originalColorFilter = t1; if (t1 == null) _this._effectiveColorFilter = $.$get$_invertColorFilter(); else _this._effectiveColorFilter = A.ManagedSkColorFilter$(new A.CkComposeColorFilter($.$get$_invertColorFilter(), t1)); } t1 = _this.get$skiaObject(); t2 = _this._effectiveColorFilter; J.setColorFilter$1$x(t1, t2 == null ? null : t2.get$skiaObject()); }, set$strokeMiterLimit(value) { if (this._strokeMiterLimit === value) return; this._strokeMiterLimit = value; J.setStrokeMiter$1$x(this.get$skiaObject(), value); }, createDefault$0() { var t2, paint = new self.window.flutterCanvasKit.Paint(), t1 = J.getInterceptor$x(paint); t1.setAntiAlias$1(paint, this._isAntiAlias); t2 = this._color; t1.setColorInt$1(paint, t2.get$value(t2)); return paint; }, resurrect$0() { var _this = this, _null = null, paint = new self.window.flutterCanvasKit.Paint(), t1 = _this._blendMode, t2 = J.getInterceptor$x(paint); t2.setBlendMode$1(paint, $.$get$_skBlendModes()[t1.index]); t1 = _this._style; t2.setStyle$1(paint, $.$get$_skPaintStyles()[t1.index]); t2.setStrokeWidth$1(paint, _this._strokeWidth); t2.setAntiAlias$1(paint, _this._isAntiAlias); t1 = _this._color; t2.setColorInt$1(paint, t1.get$value(t1)); t1 = _this._shader; t2.setShader$1(paint, t1 == null ? _null : t1.withQuality$1(_this._filterQuality)); t1 = _this._ckMaskFilter; t2.setMaskFilter$1(paint, t1 == null ? _null : t1.get$skiaObject()); t1 = _this._effectiveColorFilter; t2.setColorFilter$1(paint, t1 == null ? _null : t1.get$skiaObject()); t1 = _this._managedImageFilter; t2.setImageFilter$1(paint, t1 == null ? _null : t1.get$skiaObject()); t1 = _this._strokeCap; t2.setStrokeCap$1(paint, $.$get$_skStrokeCaps()[t1.index]); t1 = _this._strokeJoin; t2.setStrokeJoin$1(paint, $.$get$_skStrokeJoins()[t1.index]); t2.setStrokeMiter$1(paint, _this._strokeMiterLimit); return paint; }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, $isPaint: 1 }; A.CkPath.prototype = { get$fillType() { return this._fillType; }, set$fillType(newFillType) { if (this._fillType === newFillType) return; this._fillType = newFillType; J.setFillType$1$x(this.get$skiaObject(), $.$get$_skFillTypes()[newFillType.index]); }, addArc$3(_, oval, startAngle, sweepAngle) { J.addArc$3$x(this.get$skiaObject(), A.toSkRect(oval), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232); }, addOval$1(_, oval) { J.addOval$3$x(this.get$skiaObject(), A.toSkRect(oval), false, 1); }, addPath$3$matrix4(_, path, offset, matrix4) { var t3, skMatrix, t1 = offset._dx, t2 = offset._dy; if (matrix4 == null) { t3 = A.Matrix4$identity(); t3.setTranslationRaw$3(t1, t2, 0); skMatrix = A.toSkMatrixFromFloat32(t3.__engine$_m4storage); } else { skMatrix = A.toSkMatrixFromFloat64(matrix4); skMatrix[2] = skMatrix[2] + t1; skMatrix[5] = skMatrix[5] + t2; } type$.CkPath._as(path); J.addPath$11$x(this.get$skiaObject(), path.get$skiaObject(), skMatrix[0], skMatrix[1], skMatrix[2], skMatrix[3], skMatrix[4], skMatrix[5], skMatrix[6], skMatrix[7], skMatrix[8], false); }, addPath$2($receiver, path, offset) { return this.addPath$3$matrix4($receiver, path, offset, null); }, addRRect$1(_, rrect) { J.addRRect$2$x(this.get$skiaObject(), A.toSkRRect(rrect), false); }, addRect$1(_, rect) { J.addRect$1$x(this.get$skiaObject(), A.toSkRect(rect)); }, arcTo$4(_, rect, startAngle, sweepAngle, forceMoveTo) { J.arcToOval$4$x(this.get$skiaObject(), A.toSkRect(rect), startAngle * 57.29577951308232, sweepAngle * 57.29577951308232, forceMoveTo); }, close$0(_) { J.close$0$x(this.get$skiaObject()); }, computeMetrics$0() { return new A.CkPathMetrics(this, false); }, contains$1(_, point) { return J.contains$2$asx(this.get$skiaObject(), point._dx, point._dy); }, cubicTo$6(_, x1, y1, x2, y2, x3, y3) { J.cubicTo$6$x(this.get$skiaObject(), x1, y1, x2, y2, x3, y3); }, getBounds$0(_) { var t1 = J.getBounds$0$x(this.get$skiaObject()); return new A.Rect(t1[0], t1[1], t1[2], t1[3]); }, lineTo$2(_, x, y) { J.lineTo$2$x(this.get$skiaObject(), x, y); }, moveTo$2(_, x, y) { J.moveTo$2$x(this.get$skiaObject(), x, y); }, quadraticBezierTo$4(x1, y1, x2, y2) { J.quadTo$4$x(this.get$skiaObject(), x1, y1, x2, y2); }, relativeMoveTo$2(dx, dy) { J.rMoveTo$2$x(this.get$skiaObject(), dx, dy); }, reset$0(_) { this._fillType = B.PathFillType_0; J.reset$0$x(this.get$skiaObject()); }, shift$1(offset) { var shiftedPath = J.copy$0$x(this.get$skiaObject()); J.transform$9$x(shiftedPath, 1, 0, offset._dx, 0, 1, offset._dy, 0, 0, 1); return A.CkPath$fromSkPath(shiftedPath, this._fillType); }, transform$1(_, matrix4) { var newPath = J.copy$0$x(this.get$skiaObject()), m = A.toSkMatrixFromFloat64(matrix4); J.transform$9$x(newPath, m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8]); return A.CkPath$fromSkPath(newPath, this._fillType); }, get$isResurrectionExpensive() { return true; }, createDefault$0() { var path = new self.window.flutterCanvasKit.Path(), t1 = this._fillType; J.setFillType$1$x(path, $.$get$_skFillTypes()[t1.index]); return path; }, delete$0(_) { var t1; this._cachedCommands = J.toCmds$0$x(this.get$skiaObject()); t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, resurrect$0() { var path, t1 = J.get$Path$x($.__canvasKit._readField$0()), t2 = this._cachedCommands; t2.toString; path = J.MakeFromCmds$1$x(t1, t2); t2 = this._fillType; J.setFillType$1$x(path, $.$get$_skFillTypes()[t2.index]); return path; }, $isPath: 1 }; A.CkPathMetrics.prototype = { get$iterator(_) { var t1; if (J.isEmpty$0$asx(this.__engine$_path.get$skiaObject())) t1 = B.C_CkPathMetricIteratorEmpty; else { t1 = new A.CkContourMeasureIter(this); t1.ManagedSkiaObject$1(null, type$.SkContourMeasureIter); } return t1; } }; A.CkContourMeasureIter.prototype = { get$current(_) { var currentMetric = this.__engine$_current; if (currentMetric == null) throw A.wrapException(A.RangeError$('PathMetricIterator is not pointing to a PathMetric. This can happen in two situations:\n- The iteration has not started yet. If so, call "moveNext" to start iteration.- The iterator ran out of elements. If so, check that "moveNext" returns true prior to calling "current".')); return currentMetric; }, moveNext$0() { var t1, _this = this, skContourMeasure = J.next$0$x(_this.get$skiaObject()); if (skContourMeasure == null) { _this.__engine$_current = null; return false; } t1 = new A.CkContourMeasure(_this._metrics, _this._contourIndexCounter); t1.ManagedSkiaObject$1(skContourMeasure, type$.SkContourMeasure); _this.__engine$_current = t1; ++_this._contourIndexCounter; return true; }, createDefault$0() { return new self.window.flutterCanvasKit.ContourMeasureIter(this._metrics.__engine$_path.get$skiaObject(), false, 1); }, resurrect$0() { var t1, i, iterator = this.createDefault$0(); for (t1 = J.getInterceptor$x(iterator), i = 0; i < this._contourIndexCounter; ++i) t1.next$0(iterator); return iterator; }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, $isIterator: 1 }; A.CkContourMeasure.prototype = { extractPath$3$startWithMoveTo(start, end, startWithMoveTo) { return A.CkPath$fromSkPath(J.getSegment$3$x(this.get$skiaObject(), start, end, true), this._metrics.__engine$_path._fillType); }, extractPath$2(start, end) { return this.extractPath$3$startWithMoveTo(start, end, true); }, getTangentForOffset$1(distance) { var posTan = J.getPosTan$1$x(this.get$skiaObject(), distance); return new A.Tangent(new A.Offset(posTan[0], posTan[1])); }, get$length(_) { return J.length$0$asx(this.get$skiaObject()); }, createDefault$0() { throw A.wrapException(A.StateError$("Unreachable code")); }, resurrect$0() { var skIterator, t2, i, result, t1 = this._metrics; t1 = J.isEmpty$0$asx(t1.__engine$_path.get$skiaObject()) ? B.C_CkPathMetricIteratorEmpty : A.CkContourMeasureIter$(t1); skIterator = type$.CkContourMeasureIter._as(t1).get$skiaObject(); for (t1 = this.contourIndex, t2 = J.getInterceptor$x(skIterator), i = 0; i < t1; ++i) t2.next$0(skIterator); result = t2.next$0(skIterator); if (result == null) throw A.wrapException(A.StateError$("Failed to resurrect SkContourMeasure")); return result; }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); }, $isPathMetric: 1 }; A.CkPathMetricIteratorEmpty.prototype = { get$current(_) { throw A.wrapException(A.RangeError$("PathMetric iterator is empty.")); }, moveNext$0() { return false; }, $isIterator: 1 }; A.CkPicture.prototype = { dispose$0(_) { var t1, _this = this; _this._isDisposed = true; t1 = _this._snapshot; if (t1 != null) t1.dispose$0(0); t1 = _this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); _this.rawSkiaObject = null; }, get$isResurrectionExpensive() { return true; }, createDefault$0() { throw A.wrapException(A.StateError$("Unreachable code")); }, resurrect$0() { return this._snapshot.toPicture$0(); }, delete$0(_) { var t1; if (!this._isDisposed) { t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); } } }; A.CkPictureRecorder.prototype = { beginRecording$1(_, bounds) { var recorder, skCanvas; this._cullRect = bounds; recorder = new self.window.flutterCanvasKit.PictureRecorder(); this._skRecorder = recorder; skCanvas = J.beginRecording$1$x(recorder, A.toSkRect(bounds)); return this._recordingCanvas = $.$get$browserSupportsFinalizationRegistry() ? new A.CkCanvas(skCanvas) : new A.RecordingCkCanvas(new A.CkPictureSnapshot(bounds, A._setArrayType([], type$.JSArray_CkPaintCommand)), skCanvas); }, endRecording$0() { var t1, skPicture, _this = this, recorder = _this._skRecorder; if (recorder == null) throw A.wrapException(A.StateError$("PictureRecorder is not recording")); t1 = J.getInterceptor$x(recorder); skPicture = t1.finishRecordingAsPicture$0(recorder); t1.delete$0(recorder); _this._skRecorder = null; t1 = new A.CkPicture(_this._cullRect, _this._recordingCanvas.get$pictureSnapshot()); t1.ManagedSkiaObject$1(skPicture, type$.SkPicture); return t1; }, get$isRecording() { return this._skRecorder != null; } }; A.Rasterizer.prototype = { draw$1(layerTree) { var frame, canvas, compositorFrame, t1, t2; try { t1 = layerTree.frameSize; if (t1.get$isEmpty(t1)) return; frame = A.SurfaceFactory_instance().baseSurface.acquireFrame$1(t1); $.$get$HtmlViewEmbedder_instance()._frameSize = t1; canvas = new A.CkCanvas(J.getCanvas$0$x(frame.skiaSurface.__engine$_surface)); compositorFrame = new A.Frame(canvas, null, $.$get$HtmlViewEmbedder_instance()); compositorFrame.raster$2$ignoreRasterCache(layerTree, true); t1 = A.SurfaceFactory_instance().baseSurface; if (!t1._addedToScene) { t2 = $.skiaSceneHost; t2.toString; J.get$children$x(t2).insert$2(0, 0, t1.htmlElement); } t1._addedToScene = true; J.submit$0$z(frame); $.$get$HtmlViewEmbedder_instance().submitFrame$0(0); } finally { this._runPostFrameCallbacks$0(); } }, _runPostFrameCallbacks$0() { var t1, i; for (t1 = this._postFrameCallbacks, i = 0; i < t1.length; ++i) t1[i].call$0(); for (t1 = $.frameReferences, i = 0; i < t1.length; ++i) t1[i].value = null; B.JSArray_methods.set$length(t1, 0); } }; A.CkShader.prototype = { withQuality$1(contextualQuality) { return this.get$skiaObject(); }, delete$0(_) { var t1 = this.rawSkiaObject; if (t1 != null) J.delete$0$x(t1); } }; A.CkGradientLinear.prototype = { createDefault$0() { var _this = this, t1 = J.get$Shader$x($.__canvasKit._readField$0()), 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; return J.MakeLinearGradient$6$x(t1, t2, t3, t4, t5, t6, t7 != null ? A.toSkMatrixFromFloat32(t7) : null); }, resurrect$0() { return this.createDefault$0(); }, $isGradient: 1 }; A.CkGradientRadial.prototype = { createDefault$0() { var _this = this, t1 = J.get$Shader$x($.__canvasKit._readField$0()), t2 = A.toSkPoint(_this.center), t3 = A.toFlatColors(_this.colors), t4 = A.toSkColorStops(_this.colorStops), t5 = $.$get$_skTileModes()[_this.tileMode.index], t6 = _this.matrix4; t6 = t6 != null ? A.toSkMatrixFromFloat32(t6) : null; return J.MakeRadialGradient$7$x(t1, t2, _this.radius, t3, t4, t5, t6, 0); }, resurrect$0() { return this.createDefault$0(); }, $isGradient: 1 }; A.CkGradientConical.prototype = { createDefault$0() { var _this = this, t1 = J.get$Shader$x($.__canvasKit._readField$0()), t2 = A.toSkPoint(_this.focal), t3 = A.toSkPoint(_this.center), 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; return J.MakeTwoPointConicalGradient$9$x(t1, t2, _this.focalRadius, t3, _this.radius, t4, t5, t6, t7, 0); }, resurrect$0() { return this.createDefault$0(); }, $isGradient: 1 }; A.SkiaObjectCache.prototype = { get$length(_) { return this._itemQueue._elementCount; }, add$1(_, object) { var t2, _this = this, t1 = _this._itemQueue; t1.addFirst$1(object); t2 = t1._sentinel._nextLink._asNonSentinelEntry$0(); t2.toString; _this._itemMap.$indexSet(0, object, t2); if (t1._elementCount > _this.maximumSize) A.SkiaObjects_markCacheForResize(_this); }, resize$0(_) { var t1, t2, t3, i, result, itemsToDelete = this.maximumSize / 2 | 0; for (t1 = this._itemQueue, t2 = t1._sentinel, t3 = this._itemMap, i = 0; i < itemsToDelete; ++i) { result = t2._previousLink._remove$0(0); --t1._elementCount; t3.remove$1(0, result); result.delete$0(0); result.didDelete$0(); } } }; A.SynchronousSkiaObjectCache.prototype = { get$length(_) { return this._itemQueue._elementCount; }, add$1(_, object) { var t1 = this._itemQueue; t1.addFirst$1(object); t1 = t1._sentinel._nextLink._asNonSentinelEntry$0(); t1.toString; this._itemMap.$indexSet(0, object, t1); this._enforceCacheLimit$0(); }, markUsed$1(object) { var t2, t1 = this._itemMap, item = t1.$index(0, object); if (item == null) return false; item.remove$0(0); t2 = this._itemQueue; t2.addFirst$1(object); t2 = t2._sentinel._nextLink._asNonSentinelEntry$0(); t2.toString; t1.$indexSet(0, object, t2); return true; }, _enforceCacheLimit$0() { var t1, t2, t3, t4, result; for (t1 = this._itemQueue, t2 = this.maximumSize, t3 = t1._sentinel, t4 = this._itemMap; t1._elementCount > t2;) { result = t3._previousLink._remove$0(0); --t1._elementCount; t4.remove$1(0, result); result.delete$0(0); result.didDelete$0(); } } }; A.SkiaObject.prototype = {}; A.ManagedSkiaObject.prototype = { ManagedSkiaObject$1(instance, $T) { var _this = this, defaultObject = instance == null ? _this.createDefault$0() : instance; _this.rawSkiaObject = defaultObject; if ($.$get$browserSupportsFinalizationRegistry()) $.$get$Collector__instance().register$2(0, _this, type$.SkDeletable._as(defaultObject)); else if (_this.get$isResurrectionExpensive()) { A.SkiaObjects_registerCleanupCallback(); $.$get$SkiaObjects_expensiveCache().add$1(0, _this); } else { A.SkiaObjects_registerCleanupCallback(); $.SkiaObjects_resurrectableObjects.push(_this); } }, get$skiaObject() { var skiaObject, _this = this, t1 = _this.rawSkiaObject; if (t1 == null) { skiaObject = _this.resurrect$0(); _this.rawSkiaObject = skiaObject; if (_this.get$isResurrectionExpensive()) { A.SkiaObjects_registerCleanupCallback(); $.$get$SkiaObjects_expensiveCache().add$1(0, _this); } else { A.SkiaObjects_registerCleanupCallback(); $.SkiaObjects_resurrectableObjects.push(_this); } t1 = skiaObject; } return t1; }, _doResurrect$0() { var _this = this, skiaObject = _this.resurrect$0(); _this.rawSkiaObject = skiaObject; if (_this.get$isResurrectionExpensive()) { A.SkiaObjects_registerCleanupCallback(); $.$get$SkiaObjects_expensiveCache().add$1(0, _this); } else { A.SkiaObjects_registerCleanupCallback(); $.SkiaObjects_resurrectableObjects.push(_this); } return skiaObject; }, didDelete$0() { if (this.rawSkiaObject == null) return; this.rawSkiaObject = null; }, get$isResurrectionExpensive() { return false; } }; A.SkiaObjectBox.prototype = { _initialize$2(debugReferrer, initialValue) { this._skDeletable = this.rawSkiaObject = initialValue; }, get$skiaObject() { var _this = this, t1 = _this.rawSkiaObject; if (t1 == null) { t1 = _this._resurrector.call$0(); _this.rawSkiaObject = t1; _this._skDeletable = type$.nullable_SkDeletable._as(t1); A.SkiaObjects_registerCleanupCallback(); $.$get$SkiaObjects_expensiveCache().add$1(0, _this); t1 = _this.get$skiaObject(); } return t1; }, delete$0(_) { var t1 = this._skDeletable; if (t1 != null) J.delete$0$x(t1); }, didDelete$0() { this._skDeletable = this.rawSkiaObject = null; }, unref$1(debugReferrer) { var t1, _this = this; if (--_this.__engine$_refCount === 0) { t1 = _this._skDeletable; if (t1 != null) if ($.$get$browserSupportsFinalizationRegistry()) $.$get$Collector__instance().collect$1(t1); else { _this.delete$0(0); _this.didDelete$0(); } _this._resurrector = _this._skDeletable = _this.rawSkiaObject = null; _this._isDeletedPermanently = true; } } }; A.SurfaceFrame.prototype = { submit$0(_) { return this.submitCallback.call$2(this, new A.CkCanvas(J.getCanvas$0$x(this.skiaSurface.__engine$_surface))); } }; A.Surface.prototype = { _syncCacheBytes$0() { var t2, t1 = this._skiaCacheBytes; if (t1 != null) { t2 = this._grContext; if (t2 != null) J.setResourceCacheLimitBytes$1$x(t2, t1); } }, acquireFrame$1(size) { return new A.SurfaceFrame(this.createOrUpdateSurfaces$1(size), new A.Surface_acquireFrame_closure(this)); }, createOrUpdateSurfaces$1(size) { var previousSurfaceSize, t1, t2, previousCanvasSize, newSize, htmlCanvas, t3, glContext, surfaceHeight, _this = this, _s20_ = "webglcontextrestored", _s16_ = "webglcontextlost"; if (size.get$isEmpty(size)) throw A.wrapException(A.CanvasKitError$("Cannot create surfaces of empty size.")); previousSurfaceSize = _this._currentSurfaceSize; if (!_this._forceNewContext && previousSurfaceSize != null && size._dx === previousSurfaceSize._dx && size._dy === previousSurfaceSize._dy) { t1 = $.$get$window()._debugDevicePixelRatio; if (t1 == null) t1 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); if (t1 !== _this._currentDevicePixelRatio) _this._updateLogicalHtmlCanvasSize$0(); t1 = _this.__engine$_surface; t1.toString; return t1; } t1 = $.$get$window(); t2 = t1._debugDevicePixelRatio; _this._currentDevicePixelRatio = t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2; previousCanvasSize = _this._currentCanvasPhysicalSize; if (_this._forceNewContext || previousCanvasSize == null || size._dx > previousCanvasSize._dx || size._dy > previousCanvasSize._dy) { newSize = previousCanvasSize == null ? size : size.$mul(0, 1.4); t2 = _this.__engine$_surface; if (t2 != null) t2.dispose$0(0); _this.__engine$_surface = null; _this._addedToScene = false; t2 = _this._grContext; if (t2 != null) J.releaseResourcesAndAbandonContext$0$x(t2); t2 = _this._grContext; if (t2 != null) J.delete$0$x(t2); _this._grContext = null; t2 = _this.htmlCanvas; if (t2 != null) { B.CanvasElement_methods.removeEventListener$3(t2, _s20_, _this._cachedContextRestoredListener, false); t2 = _this.htmlCanvas; t2.toString; B.CanvasElement_methods.removeEventListener$3(t2, _s16_, _this._cachedContextLostListener, false); t2 = _this.htmlCanvas; t2.toString; B.CanvasElement_methods.remove$0(t2); _this._cachedContextLostListener = _this._cachedContextRestoredListener = null; } _this._pixelWidth = B.JSNumber_methods.ceil$0(newSize._dx); t2 = B.JSNumber_methods.ceil$0(newSize._dy); _this._pixelHeight = t2; htmlCanvas = _this.htmlCanvas = A.CanvasElement_CanvasElement(t2, _this._pixelWidth); t2 = htmlCanvas.style; t2.position = "absolute"; _this._updateLogicalHtmlCanvasSize$0(); _this._cachedContextRestoredListener = _this.get$_contextRestoredListener(); t2 = _this.get$_contextLostListener(); _this._cachedContextLostListener = t2; B.CanvasElement_methods.addEventListener$3(htmlCanvas, _s16_, t2, false); B.CanvasElement_methods.addEventListener$3(htmlCanvas, _s20_, _this._cachedContextRestoredListener, false); t2 = _this._contextLost = _this._forceNewContext = false; t3 = $._cachedWebGLVersion; if ((t3 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t3) !== -1) { t2 = $._configuration; if (t2 == null) t2 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t2 = !t2.get$canvasKitForceCpuOnly(t2); } if (t2) { t2 = $.__canvasKit._readField$0(); t3 = $._cachedWebGLVersion; if (t3 == null) t3 = $._cachedWebGLVersion = A._detectWebGLVersion(); glContext = _this._glContext = J.GetWebGLContext$2$x(t2, htmlCanvas, {antialias: 0, majorVersion: t3}); if (glContext !== 0) { t2 = J.MakeGrContext$1$x($.__canvasKit._readField$0(), glContext); _this._grContext = t2; if (t2 == null) A.throwExpression(A.CanvasKitError$("Failed to initialize CanvasKit. CanvasKit.MakeGrContext returned null.")); _this._syncCacheBytes$0(); } } _this.htmlElement.appendChild(htmlCanvas); _this._currentCanvasPhysicalSize = newSize; } _this._currentSurfaceSize = size; surfaceHeight = B.JSNumber_methods.ceil$0(size._dy); t2 = _this._pixelHeight; t1 = t1._debugDevicePixelRatio; if (t1 == null) t1 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t3 = _this.htmlCanvas.style; t1 = "translate(0, -" + A.S((t2 - surfaceHeight) / t1) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t3, B.CssStyleDeclaration_methods._browserPropertyName$1(t3, "transform"), t1, ""); return _this.__engine$_surface = _this._createNewSurface$1(size); }, _updateLogicalHtmlCanvasSize$0() { var t4, t5, t1 = this._pixelWidth, t2 = $.$get$window(), t3 = t2._debugDevicePixelRatio; if (t3 == null) t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t4 = this._pixelHeight; t2 = t2._debugDevicePixelRatio; if (t2 == null) t2 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t5 = this.htmlCanvas.style; t3 = A.S(t1 / t3) + "px"; t5.width = t3; t1 = A.S(t4 / t2) + "px"; t5.height = t1; }, _contextRestoredListener$1($event) { this._contextLost = false; $.$get$EnginePlatformDispatcher__instance().invokeOnMetricsChanged$0(); $event.stopPropagation(); $event.preventDefault(); }, _contextLostListener$1($event) { var _this = this, factory = A.SurfaceFactory_instance(); _this._contextLost = true; if (factory.isLive$1(_this)) { _this._forceNewContext = true; $event.preventDefault(); } else _this.dispose$0(0); }, _createNewSurface$1(size) { var t2, skSurface, _this = this, t1 = $._cachedWebGLVersion; if ((t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1) === -1) { t1 = _this.htmlCanvas; t1.toString; return _this._makeSoftwareCanvasSurface$2(t1, "WebGL support not detected"); } else { t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); if (t1.get$canvasKitForceCpuOnly(t1)) { t1 = _this.htmlCanvas; t1.toString; return _this._makeSoftwareCanvasSurface$2(t1, "CPU rendering forced by application"); } else if (_this._glContext === 0) { t1 = _this.htmlCanvas; t1.toString; return _this._makeSoftwareCanvasSurface$2(t1, "Failed to initialize WebGL context"); } else { t1 = $.__canvasKit._readField$0(); t2 = _this._grContext; t2.toString; skSurface = J.MakeOnScreenGLSurface$4$x(t1, t2, B.JSNumber_methods.ceil$0(size._dx), B.JSNumber_methods.ceil$0(size._dy), self.window.flutterCanvasKit.ColorSpace.SRGB); if (skSurface == null) { t1 = _this.htmlCanvas; t1.toString; return _this._makeSoftwareCanvasSurface$2(t1, "Failed to initialize WebGL surface"); } return new A.CkSurface(skSurface, _this._glContext); } } }, _makeSoftwareCanvasSurface$2(htmlCanvas, reason) { if (!$.Surface__didWarnAboutWebGlInitializationFailure) { $.$get$printWarning().call$1("WARNING: Falling back to CPU-only rendering. " + reason + "."); $.Surface__didWarnAboutWebGlInitializationFailure = true; } return new A.CkSurface(J.MakeSWCanvasSurface$1$x($.__canvasKit._readField$0(), htmlCanvas), null); }, dispose$0(_) { var _this = this, t1 = _this.htmlCanvas; if (t1 != null) B.CanvasElement_methods.removeEventListener$3(t1, "webglcontextlost", _this._cachedContextLostListener, false); t1 = _this.htmlCanvas; if (t1 != null) B.CanvasElement_methods.removeEventListener$3(t1, "webglcontextrestored", _this._cachedContextRestoredListener, false); _this._cachedContextRestoredListener = _this._cachedContextLostListener = null; J.remove$0$ax(_this.htmlElement); t1 = _this.__engine$_surface; if (t1 != null) t1.dispose$0(0); } }; A.Surface_acquireFrame_closure.prototype = { call$2(surfaceFrame, canvas) { J.flush$0$x(this.$this.__engine$_surface.__engine$_surface); return true; }, $signature: 744 }; A.CkSurface.prototype = { dispose$0(_) { if (this._isDisposed) return; J.dispose$0$x(this.__engine$_surface); this._isDisposed = true; } }; A.SurfaceFactory.prototype = { getOverlay$0() { var surface, _this = this, t1 = _this._cache, t2 = t1.length; if (t2 !== 0) { surface = t1.pop(); _this._liveSurfaces.push(surface); return surface; } else { t1 = _this._liveSurfaces; if (t1.length + t2 + 2 < _this.maximumSurfaces) { surface = new A.Surface(A._ElementFactoryProvider_createElement_tag("flt-canvas-container", null)); t1.push(surface); return surface; } else return null; } }, _removeFromDom$1(surface) { J.remove$0$ax(surface.htmlElement); }, releaseSurface$1(surface) { if (surface === this.backupSurface) { J.remove$0$ax(surface.htmlElement); return; } J.remove$0$ax(surface.htmlElement); B.JSArray_methods.remove$1(this._liveSurfaces, surface); this._cache.push(surface); }, isLive$1(surface) { if (surface === this.baseSurface || surface === this.backupSurface || B.JSArray_methods.contains$1(this._liveSurfaces, surface)) return true; return false; } }; A.CkParagraphStyle.prototype = {}; A.CkTextStyle.prototype = { get$skTextStyle() { var result, _this = this, value = _this.__CkTextStyle_skTextStyle; if (value === $) { result = new A.CkTextStyle_skTextStyle_closure(_this).call$0(); A._lateInitializeOnceCheck(_this.__CkTextStyle_skTextStyle, "skTextStyle"); _this.__CkTextStyle_skTextStyle = result; value = result; } return value; } }; A.CkTextStyle_skTextStyle_closure.prototype = { call$0() { var decorationValue, t2, value, result, ckShadows, _i, shadow, ckShadow, point, skFontFeatures, fontFeature, skFontFeature, 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, properties = A.SkTextStyleProperties$(null); if (background != null) properties.backgroundColor = A.makeFreshSkColor(background._color); if (color != null) properties.color = A.makeFreshSkColor(color); if (decoration != null) { decorationValue = J.get$NoDecoration$x($.__canvasKit._readField$0()); t2 = decoration._mask; if ((t2 | 1) === t2) decorationValue = (decorationValue | J.get$UnderlineDecoration$x($.__canvasKit._readField$0())) >>> 0; if ((t2 | 2) === t2) decorationValue = (decorationValue | J.get$OverlineDecoration$x($.__canvasKit._readField$0())) >>> 0; properties.decoration = (t2 | 4) === t2 ? (decorationValue | J.get$LineThroughDecoration$x($.__canvasKit._readField$0())) >>> 0 : decorationValue; } if (decorationThickness != null) properties.decorationThickness = decorationThickness; if (decorationColor != null) properties.decorationColor = A.makeFreshSkColor(decorationColor); if (decorationStyle != null) properties.decorationStyle = $.$get$_skTextDecorationStyles()[decorationStyle.index]; if (textBaseline != null) properties.textBaseline = $.$get$_skTextBaselines()[textBaseline.index]; if (fontSize != null) properties.fontSize = fontSize; if (letterSpacing != null) properties.letterSpacing = letterSpacing; if (wordSpacing != null) properties.wordSpacing = wordSpacing; if (height != null) properties.heightMultiplier = height; switch (t1.leadingDistribution) { case null: break; case B.TextLeadingDistribution_1: properties.halfLeading = true; break; case B.TextLeadingDistribution_0: properties.halfLeading = false; break; } value = t1.__CkTextStyle_effectiveFontFamilies; if (value === $) { result = A._getEffectiveFontFamilies(t1.fontFamily, t1.fontFamilyFallback); A._lateInitializeOnceCheck(t1.__CkTextStyle_effectiveFontFamilies, "effectiveFontFamilies"); t1.__CkTextStyle_effectiveFontFamilies = result; value = result; } properties.fontFamilies = value; if (fontWeight != null || fontStyle != null) properties.fontStyle = A.toSkFontStyle(fontWeight, fontStyle); if (foreground != null) properties.foregroundColor = A.makeFreshSkColor(foreground._color); if (shadows != null) { ckShadows = A._setArrayType([], type$.JSArray_SkTextShadow); for (t1 = shadows.length, _i = 0; _i < shadows.length; shadows.length === t1 || (0, A.throwConcurrentModificationError)(shadows), ++_i) { shadow = shadows[_i]; ckShadow = A.SkTextShadow$(null); ckShadow.color = A.makeFreshSkColor(shadow.color); t2 = shadow.offset; point = new Float32Array(2); point[0] = t2._dx; point[1] = t2._dy; ckShadow.offset = point; ckShadow.blurRadius = shadow.blurRadius; ckShadows.push(ckShadow); } properties.shadows = ckShadows; } if (fontFeatures != null) { skFontFeatures = A._setArrayType([], type$.JSArray_SkFontFeature); for (t1 = fontFeatures.length, _i = 0; _i < fontFeatures.length; fontFeatures.length === t1 || (0, A.throwConcurrentModificationError)(fontFeatures), ++_i) { fontFeature = fontFeatures[_i]; skFontFeature = A.SkFontFeature$(null); skFontFeature.name = fontFeature.feature; skFontFeature.value = fontFeature.value; skFontFeatures.push(skFontFeature); } properties.fontFeatures = skFontFeatures; } return J.TextStyle$1$x($.__canvasKit._readField$0(), properties); }, $signature: 756 }; A.CkStrutStyle.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.CkStrutStyle) if (other._fontFamily == _this._fontFamily) if (other._fontSize == _this._fontSize) if (other.__engine$_height == _this.__engine$_height) t1 = other._fontWeight == _this._fontWeight && other._fontStyle == _this._fontStyle && other._forceStrutHeight == _this._forceStrutHeight && A.listEquals(other._fontFamilyFallback, _this._fontFamilyFallback); else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this._fontFamily, _this._fontFamilyFallback, _this._fontSize, _this.__engine$_height, _this._leading, _this._leadingDistribution, _this._fontWeight, _this._fontStyle, _this._forceStrutHeight, 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, B.C__HashEnd, B.C__HashEnd); } }; A.CkParagraph.prototype = { _ensureInitialized$1(constraints) { var e, builder, t1, t2, t3, t4, t5, _i, command, t6, didRebuildSkiaObject, constraintsChanged, exception, _this = this, paragraph = _this._skParagraph; if (paragraph == null) { builder = A.CkParagraphBuilder$(_this._paragraphStyle); for (t1 = _this._paragraphCommands, t2 = t1.length, t3 = builder._commands, t4 = builder._paragraphBuilder, t5 = J.getInterceptor$x(t4), _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { command = t1[_i]; switch (command.type.index) { case 0: t6 = command.text; t6.toString; builder.addText$1(0, t6); break; case 1: builder.pop$0(0); break; case 2: t6 = command.style; t6.toString; builder.pushStyle$1(0, t6); break; case 3: t6 = command.placeholderStyle; t6.toString; t3.push(new A._ParagraphCommand(B._ParagraphCommandType_3, null, null, t6)); t5.addPlaceholder$5(t4, t6.width, t6.height, t6.alignment, t6.baseline, t6.offset); break; } } paragraph = builder._buildSkParagraph$0(); _this._skParagraph = paragraph; didRebuildSkiaObject = true; } else didRebuildSkiaObject = false; constraintsChanged = !J.$eq$(_this._lastLayoutConstraints, constraints); if (didRebuildSkiaObject || constraintsChanged) { _this._lastLayoutConstraints = constraints; try { J.layout$1$x(paragraph, constraints.width); _this._alphabeticBaseline = J.getAlphabeticBaseline$0$x(paragraph); _this._didExceedMaxLines = J.didExceedMaxLines$0$x(paragraph); _this.__engine$_height = J.getHeight$0$x(paragraph); _this._ideographicBaseline = J.getIdeographicBaseline$0$x(paragraph); _this._longestLine = J.getLongestLine$0$x(paragraph); _this._maxIntrinsicWidth = J.getMaxIntrinsicWidth$0$x(paragraph); _this._minIntrinsicWidth = J.getMinIntrinsicWidth$0$x(paragraph); _this.__engine$_width = J.getMaxWidth$0$x(paragraph); _this._boxesForPlaceholders = _this.skRectsToTextBoxes$1(J.getRectsForPlaceholders$0$x(paragraph)); } 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; } } return paragraph; }, delete$0(_) { var t1 = this._skParagraph; t1.toString; J.delete$0$x(t1); }, didDelete$0() { this._skParagraph = null; }, 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._boxesForPlaceholders; t1.toString; return t1; }, getBoxesForRange$4$boxHeightStyle$boxWidthStyle(start, end, boxHeightStyle, boxWidthStyle) { var t1, paragraph, index, t2; if (start < 0 || end < 0) return B.List_empty8; t1 = this._lastLayoutConstraints; t1.toString; paragraph = this._ensureInitialized$1(t1); t1 = $.$get$_skRectHeightStyles()[boxHeightStyle.index]; index = boxWidthStyle.index; t2 = $.$get$_skRectWidthStyles(); return this.skRectsToTextBoxes$1(J.getRectsForRange$4$x(paragraph, start, end, t1, t2[index < 2 ? index : 0])); }, 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, rect, t4, result = A._setArrayType([], type$.JSArray_TextBox); for (t1 = J.getInterceptor$asx(skRects), t2 = type$.List_double, t3 = this._paragraphStyle.__engine$_textDirection, i = 0; i < t1.get$length(skRects); ++i) { rect = t2._as(t1.$index(skRects, i)); t4 = J.getInterceptor$asx(rect); result.push(new A.TextBox(t4.$index(rect, 0), t4.$index(rect, 1), t4.$index(rect, 2), t4.$index(rect, 3), t3)); } return result; }, getPositionForOffset$1(offset) { var positionWithAffinity, affinity, t1 = this._lastLayoutConstraints; t1.toString; positionWithAffinity = J.getGlyphPositionAtCoordinate$2$x(this._ensureInitialized$1(t1), offset._dx, offset._dy); t1 = J.getInterceptor$x(positionWithAffinity); affinity = B.List_TextAffinity_0_TextAffinity_1[J.get$value$x(t1.get$affinity(positionWithAffinity))]; return new A.TextPosition(t1.get$pos(positionWithAffinity), affinity); }, getWordBoundary$1(_, position) { var skRange, t1 = this._lastLayoutConstraints; t1.toString; skRange = J.getWordBoundary$1$x(this._ensureInitialized$1(t1), position.offset); t1 = J.getInterceptor$x(skRange); return new A.TextRange(t1.get$start(skRange), t1.get$end(skRange)); }, layout$1(_, constraints) { var _this = this; if (J.$eq$(_this._lastLayoutConstraints, constraints)) return; _this._ensureInitialized$1(constraints); if (!$.$get$CkParagraph__paragraphCache().markUsed$1(_this)) $.$get$CkParagraph__paragraphCache().add$1(0, _this); }, getLineBoundary$1(position) { var offset, t2, t3, t1 = this._lastLayoutConstraints; t1.toString; offset = position.offset; for (t1 = J.get$iterator$ax(J.getLineMetrics$0$x(this._ensureInitialized$1(t1))); t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = J.getInterceptor$x(t2); if (offset >= t3.get$startIndex(t2) && offset <= t3.get$endIndex(t2)) return new A.TextRange(t3.get$startIndex(t2), t3.get$endIndex(t2)); } return B.TextRange_m1_m1; } }; A.CkParagraphBuilder.prototype = { addPlaceholder$6$baseline$baselineOffset$scale(_, width, height, alignment, baseline, baselineOffset, scale) { var t1, t2; ++this._placeholderCount; this._placeholderScales.push(scale); t1 = baselineOffset == null ? height : baselineOffset; t2 = baseline == null ? B.TextBaseline_0 : baseline; this._addPlaceholder$1(new A._CkParagraphPlaceholder(width * scale, height * scale, $.$get$_skPlaceholderAlignments()[alignment.index], $.$get$_skTextBaselines()[t2.index], t1 * scale)); }, _addPlaceholder$1(placeholderStyle) { this._commands.push(new A._ParagraphCommand(B._ParagraphCommandType_3, null, null, placeholderStyle)); J.addPlaceholder$5$x(this._paragraphBuilder, placeholderStyle.width, placeholderStyle.height, placeholderStyle.alignment, placeholderStyle.baseline, placeholderStyle.offset); }, 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$FontFallbackData__instance().ensureFontsSupportText$2(text, fontFamilies); this._commands.push(new A._ParagraphCommand(B._ParagraphCommandType_0, text, null, null)); J.addText$1$x(this._paragraphBuilder, text); }, build$0(_) { return new A.CkParagraph(this._buildSkParagraph$0(), this._style, this._commands); }, _buildSkParagraph$0() { var t1 = this._paragraphBuilder, t2 = J.getInterceptor$x(t1), result = t2.build$0(t1); t2.delete$0(t1); return result; }, get$placeholderCount() { return this._placeholderCount; }, get$placeholderScales() { return this._placeholderScales; }, pop$0(_) { var t1 = this._styleStack; if (t1.length <= 1) return; this._commands.push(B._ParagraphCommand_6TA); t1.pop(); J.pop$0$x(this._paragraphBuilder); }, pushStyle$1(_, style) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, skStyle, foreground, background, _this = this, _null = null, 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.background; if (t16 == null) t16 = baseStyle.background; t17 = style.foreground; if (t17 == null) t17 = baseStyle.foreground; t18 = style.shadows; if (t18 == null) t18 = baseStyle.shadows; t19 = style.fontFeatures; if (t19 == null) t19 = baseStyle.fontFeatures; skStyle = A.CkTextStyle_CkTextStyle(t16, t2, t3, t4, t5, t6, t10, t11, t19, t12, t8, t7, t17, t15, baseStyle.leadingDistribution, t13, baseStyle.locale, t18, t9, t14); t1.push(skStyle); _this._commands.push(new A._ParagraphCommand(B._ParagraphCommandType_2, _null, style, _null)); t1 = skStyle.foreground; t2 = t1 == null; if (!t2 || skStyle.background != null) { foreground = t2 ? _null : t1.get$skiaObject(); if (foreground == null) { foreground = $.$get$CkParagraphBuilder__defaultTextForeground(); t1 = skStyle.color; t1 = t1 == null ? _null : t1.get$value(t1); J.setColorInt$1$x(foreground, t1 == null ? 4278190080 : t1); } t1 = skStyle.background; background = t1 == null ? _null : t1.get$skiaObject(); if (background == null) background = $.$get$CkParagraphBuilder__defaultTextBackground(); J.pushPaintStyle$3$x(_this._paragraphBuilder, skStyle.get$skTextStyle(), foreground, background); } else J.pushStyle$1$x(_this._paragraphBuilder, skStyle.get$skTextStyle()); } }; A._CkParagraphPlaceholder.prototype = {}; A._ParagraphCommand.prototype = { get$text(receiver) { return this.text; } }; A._ParagraphCommandType.prototype = { toString$0(_) { return "_ParagraphCommandType." + this._core$_name; } }; A._getEffectiveFontFamilies_closure.prototype = { call$1(font) { return this.fontFamily === font; }, $signature: 17 }; A.CanvasKitError.prototype = { toString$0(_) { return "CanvasKitError: " + 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)); } }; 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: 97 }; 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: 373 }; 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: 27 }; 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, $async$next = [], 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 = window.navigator.clipboard; t1.toString; text.toString; $async$goto = 7; return A._asyncAwait(A.promiseToFuture(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(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", t1 = document, tempElement = t1.createElement("textarea"), elementStyle = tempElement.style; elementStyle.position = "absolute"; elementStyle.top = _s8_; elementStyle.left = _s8_; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "opacity"), "0", ""); elementStyle.color = _s11_; elementStyle.backgroundColor = _s11_; elementStyle.background = _s11_; t1.body.appendChild(tempElement); tempTextArea = tempElement; tempTextArea.value = text; J.focus$0$x(tempTextArea); J.select$0$x(tempTextArea); result = false; try { result = t1.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 { J.remove$0$ax(tempTextArea); } 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$canvasKitBaseUrl(_) { var t1 = this._js; t1 = t1 == null ? null : J.get$canvasKitBaseUrl$x(t1); return t1 == null ? "https://unpkg.com/canvaskit-wasm@0.30.0/bin/" : t1; }, get$canvasKitForceCpuOnly(_) { var t1 = this._js; t1 = t1 == null ? null : J.get$canvasKitForceCpuOnly$x(t1); return t1 == null ? false : t1; }, get$canvasKitMaximumSurfaces(_) { var t1 = this._js; t1 = t1 == null ? null : J.get$canvasKitMaximumSurfaces$x(t1); return t1 == null ? 8 : t1; }, get$debugShowSemanticsNodes(_) { var t1 = this._js; t1 = t1 == null ? null : J.get$debugShowSemanticsNodes$x(t1); return t1 == null ? false : t1; } }; A.JsFlutterConfiguration.prototype = {}; A.DomRenderer.prototype = { renderScene$1(sceneElement) { var t1 = this._sceneElement; if (sceneElement == null ? t1 != null : sceneElement !== t1) { if (t1 != null) J.remove$0$ax(t1); this._sceneElement = sceneElement; t1 = this._sceneHostElement; t1.toString; sceneElement.toString; t1.appendChild(sceneElement); } }, createElement$1(_, tagName) { var element = document.createElement(tagName); return element; }, reset$0(_) { var t3, t4, t5, t6, glassPaneElement, glassPaneElementHostNode, semanticsHostElement, _accessibilityPlaceholder, _this = this, _s1_ = "0", _s4_ = "none", _s8_ = "absolute", _box_0 = {}, t1 = $.$get$_browserEngine(), isWebKit = t1 === B.BrowserEngine_1, t2 = _this._styleElement; if (t2 != null) B.StyleElement_methods.remove$0(t2); t2 = document; t3 = t2.createElement("style"); _this._styleElement = t3; _this._resourcesHost = null; t2.head.appendChild(t3); t3 = _this._styleElement.sheet; t3.toString; type$.CssStyleSheet._as(t3); if (t1 !== B.BrowserEngine_0) if (t1 !== B.BrowserEngine_5) t4 = isWebKit; else t4 = true; else t4 = true; A.applyGlobalCssRulesToSheet(t3, t1, t4); t4 = t2.body; t4.toString; t1 = A._detectRenderer(); t4.setAttribute("flt-renderer", (t1 ? "canvaskit" : "html") + " (auto-selected)"); t4.setAttribute("flt-build-mode", "profile"); A.DomRenderer_setElementStyle(t4, "position", "fixed"); A.DomRenderer_setElementStyle(t4, "top", _s1_); A.DomRenderer_setElementStyle(t4, "right", _s1_); A.DomRenderer_setElementStyle(t4, "bottom", _s1_); A.DomRenderer_setElementStyle(t4, "left", _s1_); A.DomRenderer_setElementStyle(t4, "overflow", "hidden"); A.DomRenderer_setElementStyle(t4, "padding", _s1_); A.DomRenderer_setElementStyle(t4, "margin", _s1_); A.DomRenderer_setElementStyle(t4, "user-select", _s4_); A.DomRenderer_setElementStyle(t4, "-webkit-user-select", _s4_); A.DomRenderer_setElementStyle(t4, "-ms-user-select", _s4_); A.DomRenderer_setElementStyle(t4, "-moz-user-select", _s4_); A.DomRenderer_setElementStyle(t4, "touch-action", _s4_); A.DomRenderer_setElementStyle(t4, "font", "normal normal 14px sans-serif"); A.DomRenderer_setElementStyle(t4, "color", "red"); t4.spellcheck = false; for (t1 = type$._FrozenElementList_Element, t3 = new A._FrozenElementList(t2.head.querySelectorAll('meta[name="viewport"]'), t1), t3 = new A.ListIterator(t3, t3.get$length(t3), t1._eval$1("ListIterator<ListMixin.E>")), t1 = t1._eval$1("ListMixin.E"); t3.moveNext$0();) { t5 = t1._as(t3.__internal$_current); t6 = t5.parentNode; if (t6 != null) t6.removeChild(t5); } t1 = _this._viewportMeta; if (t1 != null) B.MetaElement_methods.remove$0(t1); t1 = t2.createElement("meta"); t1.setAttribute("flt-viewport", ""); t1.name = "viewport"; t1.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"; _this._viewportMeta = t1; t2.head.appendChild(t1); t1 = _this._glassPaneElement; if (t1 != null) J.remove$0$ax(t1); glassPaneElement = _this._glassPaneElement = _this.createElement$1(0, "flt-glass-pane"); t1 = glassPaneElement.style; t1.position = _s8_; t1.top = _s1_; t1.right = _s1_; t1.bottom = _s1_; t1.left = _s1_; t4.appendChild(glassPaneElement); glassPaneElementHostNode = _this._glassPaneShadow = _this._createHostNode$1(glassPaneElement); t1 = _this.createElement$1(0, "flt-scene-host"); t2 = t1.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t2, B.CssStyleDeclaration_methods._browserPropertyName$1(t2, "pointer-events"), _s4_, ""); _this._sceneHostElement = t1; semanticsHostElement = _this.createElement$1(0, "flt-semantics-host"); t1 = semanticsHostElement.style; t1.position = _s8_; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform-origin"), "0 0 0", ""); _this._semanticsHostElement = semanticsHostElement; _this.updateSemanticsScreenProperties$0(); t1 = $.EngineSemanticsOwner__instance; _accessibilityPlaceholder = (t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1).semanticsHelper._semanticsEnabler.prepareAccessibilityPlaceholder$0(); t1 = glassPaneElementHostNode.get$nodes(glassPaneElementHostNode); t2 = _this._sceneHostElement; t2.toString; t1.addAll$1(0, A._setArrayType([semanticsHostElement, _accessibilityPlaceholder, t2], type$.JSArray_Node)); t1 = $._configuration; if (t1 == null) t1 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); if (t1.get$debugShowSemanticsNodes(t1)) { t1 = _this._sceneHostElement.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "opacity"), "0.3", ""); } if ($.PointerBinding__instance == null) { t1 = new A.PointerBinding(glassPaneElement, new A.PointerDataConverter(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._PointerState))); t1.__PointerBinding__adapter = t1._createAdapter$0(); $.PointerBinding__instance = t1; } if ($.KeyboardBinding__instance == null) { t1 = new A.KeyboardBinding(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic_Function_Event)); t1._setup$0(); $.KeyboardBinding__instance = t1; } _this._sceneHostElement.setAttribute("aria-hidden", "true"); if (window.visualViewport == null && isWebKit) { t1 = window.innerWidth; t1.toString; _box_0.checkCount = 0; A.Timer_Timer$periodic(B.Duration_100000, new A.DomRenderer_reset_closure(_box_0, _this, t1)); } t1 = _this.get$_metricsDidChange(); t2 = type$.Event; if (window.visualViewport != null) { t3 = window.visualViewport; t3.toString; _this._resizeSubscription = A._EventStreamSubscription$(t3, "resize", t1, false, t2); } else _this._resizeSubscription = A._EventStreamSubscription$(window, "resize", t1, false, t2); _this._localeSubscription = A._EventStreamSubscription$(window, "languagechange", _this.get$_languageDidChange(), false, t2); t1 = $.$get$EnginePlatformDispatcher__instance(); t1._configuration = t1._configuration.copyWith$1$locales(A.EnginePlatformDispatcher_parseBrowserLanguages()); }, _createHostNode$1(root) { var t1, t2, shadowRootStyleElement, t3, t4; if (root.attachShadow != null) { t1 = new A.ShadowDomHostNode(); t2 = root.attachShadow(A.convertDartToNative_Dictionary(A.LinkedHashMap_LinkedHashMap$_literal(["mode", "open", "delegatesFocus", false], type$.String, type$.dynamic))); t1.__ShadowDomHostNode__shadow = t2; shadowRootStyleElement = document.createElement("style"); A._lateReadCheck(t2, "_shadow").appendChild(shadowRootStyleElement); t2 = shadowRootStyleElement.sheet; t2.toString; type$.CssStyleSheet._as(t2); t3 = $.$get$_browserEngine(); if (t3 !== B.BrowserEngine_0) if (t3 !== B.BrowserEngine_5) t4 = t3 === B.BrowserEngine_1; else t4 = true; else t4 = true; A.applyGlobalCssRulesToSheet(t2, t3, t4); return t1; } else { t1 = new A.ElementHostNode(); t2 = document.createElement("flt-element-host-node"); t1.__ElementHostNode__element = t2; root.appendChild(A._lateReadCheck(t2, "_element")); return t1; } }, updateSemanticsScreenProperties$0() { var t1 = this._semanticsHostElement.style, t2 = "scale(" + A.S(1 / window.devicePixelRatio) + ")"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); }, _metricsDidChange$1($event) { var t1; this.updateSemanticsScreenProperties$0(); t1 = $.$get$_operatingSystem(); if (!J.containsKey$1$x(B.Set_69tl2._collection$_map, t1) && !$.$get$window().isRotation$0() && $.$get$textEditing().isEditing) { $.$get$window().computeOnScreenKeyboardInsets$1(true); $.$get$EnginePlatformDispatcher__instance().invokeOnMetricsChanged$0(); } else { t1 = $.$get$window(); t1.computePhysicalSize$0(); t1.computeOnScreenKeyboardInsets$1(false); $.$get$EnginePlatformDispatcher__instance().invokeOnMetricsChanged$0(); } }, _languageDidChange$1($event) { var t1 = $.$get$EnginePlatformDispatcher__instance(); t1._configuration = t1._configuration.copyWith$1$locales(A.EnginePlatformDispatcher_parseBrowserLanguages()); t1 = $.$get$window().platformDispatcher._onLocaleChanged; if (t1 != null) t1.call$0(); }, clearDom$1(node) { var t1, t2; for (; t1 = node.lastChild, t1 != null;) { t2 = t1.parentNode; if (t2 != null) t2.removeChild(t1); } }, setPreferredOrientation$1(orientations) { var lockType, completer, t1, exception, screenOrientation = window.screen.orientation; if (screenOrientation != null) { t1 = J.getInterceptor$asx(orientations); if (t1.get$isEmpty(orientations)) { t1 = screenOrientation; t1.toString; J.unlock$0$x(t1); return A.Future_Future$value(true, type$.bool); } else { lockType = A.DomRenderer__deviceOrientationToLockType(A._asStringQ(t1.get$first(orientations))); if (lockType != null) { completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_bool), type$._AsyncCompleter_bool); try { A.promiseToFuture(screenOrientation.lock(lockType), type$.dynamic).then$1$1(0, new A.DomRenderer_setPreferredOrientation_closure(completer), type$.Null).catchError$1(new A.DomRenderer_setPreferredOrientation_closure0(completer)); } catch (exception) { t1 = A.Future_Future$value(false, type$.bool); return t1; } return completer.future; } } } return A.Future_Future$value(false, type$.bool); } }; A.DomRenderer_reset_closure.prototype = { call$1(t) { var t1 = ++this._box_0.checkCount; if (this.initialInnerWidth !== window.innerWidth) { t.cancel$0(0); this.$this._metricsDidChange$1(null); } else if (t1 > 5) t.cancel$0(0); }, $signature: 212 }; A.DomRenderer_setPreferredOrientation_closure.prototype = { call$1(_) { this.completer.complete$1(0, true); }, $signature: 5 }; A.DomRenderer_setPreferredOrientation_closure0.prototype = { call$1(error) { this.completer.complete$1(0, false); }, $signature: 5 }; A.EngineCanvas.prototype = {}; A.SaveStackEntry.prototype = {}; A.SaveClipEntry.prototype = {}; A._SaveElementStackEntry.prototype = {}; A.SaveElementStackTracking.prototype = { 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.Matrix40(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 (!((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, $.$get$SaveElementStackTracking__unitZ(), radians); }, transform$1(_, matrix4) { this.SaveElementStackTracking__currentTransform.multiply$1(0, new A.Matrix40(matrix4)); } }; A.sendFontChangeMessage_closure.prototype = { call$1(_) { $._fontChangeScheduled = false; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/system", $.$get$_fontChangeMessage(), new A.sendFontChangeMessage__closure()); }, $signature: 254 }; A.sendFontChangeMessage__closure.prototype = { call$1(_) { }, $signature: 49 }; A.FrameReference.prototype = { get$value(receiver) { return this.value; } }; A.CrossFrameCache.prototype = { commitFrame$0() { var t2, t3, _this = this, t1 = _this._reusablePool; if (t1 != null) for (t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) for (t2 = J.get$iterator$ax(t1.get$current(t1)); t2.moveNext$0();) { t3 = t2.get$current(t2); t3.evictCallback.call$1(t3.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.ShadowDomHostNode.prototype = { append$1(_, node) { return A._lateReadCheck(this.__ShadowDomHostNode__shadow, "_shadow").appendChild(node); }, contains$1(_, other) { return A._lateReadCheck(this.__ShadowDomHostNode__shadow, "_shadow").contains(other); }, get$node() { return A._lateReadCheck(this.__ShadowDomHostNode__shadow, "_shadow"); }, get$nodes(_) { return new A._ChildNodeListLazy(A._lateReadCheck(this.__ShadowDomHostNode__shadow, "_shadow")); } }; A.ElementHostNode.prototype = { append$1(_, node) { return A._lateReadCheck(this.__ElementHostNode__element, "_element").appendChild(node); }, contains$1(_, other) { return A._lateReadCheck(this.__ElementHostNode__element, "_element").contains(other); }, get$node() { return A._lateReadCheck(this.__ElementHostNode__element, "_element"); }, get$nodes(_) { return new A._ChildNodeListLazy(A._lateReadCheck(this.__ElementHostNode__element, "_element")); } }; A.PersistedBackdropFilter.prototype = { get$childContainer() { return this._childContainer; }, adoptElements$1(oldSurface) { this.super$PersistedSurface$adoptElements(oldSurface); this._childContainer = oldSurface._childContainer; this._filterElement = oldSurface._filterElement; oldSurface._childContainer = null; }, createElement$0(_) { var _this = this, _s16_ = "transform-origin", element = _this.defaultCreateElement$1("flt-backdrop"), t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "0 0 0", ""); t1 = A._ElementFactoryProvider_createElement_tag("flt-backdrop-interior", null); _this._childContainer = t1; t1 = t1.style; t1.position = "absolute"; t1 = _this.defaultCreateElement$1("flt-backdrop-filter"); _this._filterElement = t1; t1 = t1.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s16_), "0 0 0", ""); t1 = _this._filterElement; t1.toString; element.appendChild(t1); t1 = _this._childContainer; t1.toString; element.appendChild(t1); return element; }, discard$0() { this.super$PersistedContainerSurface$discard(); this._filterElement = this._childContainer = null; }, apply$0() { var r, dpr, rect, left, $top, width, height, parentSurface, activeClipBounds, filterElementStyle, _this = this, t1 = _this._previousTransform, t2 = _this.transform; if (t1 != t2) { t2.toString; r = new A.Matrix40(new Float32Array(16)); if (r.copyInverse$1(t2) === 0) A.throwExpression(A.ArgumentError$value(t2, "other", "Matrix cannot be inverted")); _this.__PersistedBackdropFilter__invertedTransform = r; _this._previousTransform = _this.transform; } t1 = $.$get$window(); dpr = t1._debugDevicePixelRatio; if (dpr == null) dpr = A.EnginePlatformDispatcher_browserDevicePixelRatio(); rect = A.transformRect(A._lateReadCheck(_this.__PersistedBackdropFilter__invertedTransform, "_invertedTransform"), new A.Rect(0, 0, t1.get$physicalSize()._dx * dpr, t1.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; filterElementStyle.position = "absolute"; t1 = A.S(left) + "px"; filterElementStyle.left = t1; t1 = A.S($top) + "px"; filterElementStyle.top = t1; t1 = A.S(width) + "px"; filterElementStyle.width = t1; t1 = A.S(height) + "px"; filterElementStyle.height = t1; t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_2) { filterElementStyle.backgroundColor = "#000"; B.CssStyleDeclaration_methods._setPropertyHelper$3(filterElementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(filterElementStyle, "opacity"), "0.2", ""); } else { if (t1 === B.BrowserEngine_1) { t1 = _this._filterElement; t1.toString; t2 = _this.filter; A.DomRenderer_setElementStyle(t1, "-webkit-backdrop-filter", "blur(" + A.S((t2.sigmaX + t2.sigmaY) * 0.5) + "px)"); } t1 = _this._filterElement; t1.toString; t2 = _this.filter; A.DomRenderer_setElementStyle(t1, "backdrop-filter", "blur(" + A.S((t2.sigmaX + t2.sigmaY) * 0.5) + "px)"); } }, 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() { var t1 = this.rootElement.style, t2 = "translate(" + this._canvasPositionX + "px, " + this._canvasPositionY + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); }, _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; }, clear$0(_) { var t1, len, t2, i, child, t3, _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 (child.parentElement === t2) { t3 = child.parentNode; if (t3 != null) t3.removeChild(child); } } B.JSArray_methods.set$length(t1, 0); _this._childOverdraw = false; _this._cachedLastCssFont = null; _this._setupInitialTransform$0(); }, save$0(_) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$save(0); if (t1._canvas != null) { t1.get$context(t1).save(); ++t1._saveContextCount; } return this._saveCount++; }, restore$0(_) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$restore(0); if (t1._canvas != null) { t1.get$context(t1).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._canvas != null) t1.get$context(t1).scale(sx, sy); }, rotate$1(_, radians) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$rotate(0, radians); if (t1._canvas != null) t1.get$context(t1).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._canvas != null) t1.get$context(t1).transform(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(0, rect); if (t1._canvas != null) t1._clipRect$2(t1.get$context(t1), rect); } }, clipRRect$1(_, rrect) { var t1 = this._canvasPool; t1.super$_SaveStackTracking$clipRRect(0, rrect); if (t1._canvas != null) t1.__engine$_clipRRect$2(t1.get$context(t1), rrect); }, clipPath$1(_, path) { this._canvasPool.clipPath$1(0, path); }, _useDomForRenderingFill$1(paint) { var t1, _this = this; if (!_this._renderStrategy.isInsideSvgFilterTree) if (!(!_this._preserveImageData && _this._contains3dTransform)) t1 = _this._childOverdraw && _this._canvasPool._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 _this = this, t1 = _this._renderStrategy; if (!t1.isInsideSvgFilterTree) if (!(!_this._preserveImageData && _this._contains3dTransform)) t1 = (_this._childOverdraw || t1.hasImageElements || t1.hasParagraphs) && _this._canvasPool._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(0, 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(t1); ctx.beginPath(); shaderBounds = t1.get$contextHandle()._shaderBounds; t2 = p1._dx; t3 = p1._dy; t4 = p2._dx; t5 = p2._dy; if (shaderBounds == null) { ctx.moveTo(t2, t3); ctx.lineTo(t4, t5); } else { t6 = shaderBounds.left; t7 = shaderBounds.top; ctx.moveTo(t2 - t6, t3 - t7); ctx.lineTo(t4 - t6, t5 - t7); } ctx.stroke(); t1.get$contextHandle().tearDownPaint$0(); } }, drawRect$2(_, rect, paint) { var t2, shaderBounds, t3, t4, t5, t6, t1 = this._canvasPool; if (this._useDomForRenderingFillAndStroke$1(paint)) this._drawElement$3(A.buildDrawRectElement(rect, paint, "draw-rect", t1._currentTransform), new A.Offset(Math.min(rect.left, rect.right), Math.min(rect.top, rect.bottom)), paint); else { t1.get$contextHandle().setUpPaint$2(paint, rect); t2 = paint.style; t1.get$context(t1).beginPath(); shaderBounds = t1.get$contextHandle()._shaderBounds; t3 = rect.left; t4 = rect.top; t5 = rect.right - t3; t6 = rect.bottom - t4; if (shaderBounds == null) t1.get$context(t1).rect(t3, t4, t5, t6); else t1.get$context(t1).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.appendChild(clipElement); t3.push(clipElement); } } else { _this.rootElement.appendChild(element); _this.__engine$_children.push(element); } blendMode = paint.blendMode; if (blendMode != null) { t1 = element.style; t2 = A.stringForBlendMode(blendMode); if (t2 == null) t2 = ""; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "mix-blend-mode"), t2, ""); } _this._closeCurrentCanvas$0(); }, drawRRect$2(_, rrect, paint) { var element, shaderBounds, left, right, $top, bottom, t0, trRadiusX, tlRadiusX, trRadiusY, tlRadiusY, blRadiusX, brRadiusX, blRadiusY, brRadiusY, t1 = rrect.left, t2 = rrect.top, t3 = rrect.right, t4 = rrect.bottom, t5 = this._canvasPool; if (this._useDomForRenderingFillAndStroke$1(paint)) { element = A.buildDrawRectElement(new A.Rect(t1, t2, t3, t4), paint, "draw-rrect", t5._currentTransform); A.applyRRectBorderRadius(element.style, rrect); this._drawElement$3(element, new A.Offset(Math.min(t1, t3), Math.min(t2, t4)), 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(t5); 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(); t2.moveTo(left + trRadiusX, $top); t3 = right - trRadiusX; t2.lineTo(t3, $top); A.DomRenderer_ellipse(t2, t3, $top + trRadiusY, trRadiusX, trRadiusY, 0, 4.71238898038469, 6.283185307179586, false); t3 = bottom - brRadiusY; t2.lineTo(right, t3); A.DomRenderer_ellipse(t2, right - brRadiusX, t3, brRadiusX, brRadiusY, 0, 0, 1.5707963267948966, false); t3 = left + blRadiusX; t2.lineTo(t3, bottom); A.DomRenderer_ellipse(t2, t3, bottom - blRadiusY, blRadiusX, blRadiusY, 0, 1.5707963267948966, 3.141592653589793, false); t3 = $top + tlRadiusY; t2.lineTo(left, t3); A.DomRenderer_ellipse(t2, left + tlRadiusX, t3, tlRadiusX, tlRadiusY, 0, 3.141592653589793, 4.71238898038469, false); t5.get$contextHandle().paint$1(t1); t5.get$contextHandle().tearDownPaint$0(); } }, drawCircle$3(_, c, radius, paint) { var element, t1, t2, shaderBounds, t3, cx, cy, _this = this, rect = A.Rect$fromCircle(c, radius); if (_this._useDomForRenderingFillAndStroke$1(paint)) { element = A.buildDrawRectElement(rect, paint, "draw-circle", _this._canvasPool._currentTransform); _this._drawElement$3(element, new A.Offset(Math.min(rect.left, rect.right), Math.min(rect.top, rect.bottom)), paint); t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "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(t2).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.DomRenderer_ellipse(t2.get$context(t2), 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, pathAsLine, t2, t3, t4, rect, pathAsRect, pathAsRRect, pathBounds, svgElm, style, cssColor, sigma, _this = this; if (_this._useDomForRenderingFill$1(paint)) { t1 = _this._canvasPool; transform = t1._currentTransform; type$.SurfacePath._as(path); pathAsLine = path.pathRef.getStraightLine$0(); if (pathAsLine != null) { t2 = pathAsLine.top; t3 = pathAsLine.bottom; t4 = pathAsLine.left; rect = t2 === t3 ? new A.Rect(t4, t2, t4 + (pathAsLine.right - t4), t2 + 1) : new A.Rect(t4, t2, t4 + 1, t2 + (t3 - t2)); _this._drawElement$3(A.buildDrawRectElement(rect, paint, "draw-rect", t1._currentTransform), new A.Offset(Math.min(rect.left, rect.right), Math.min(rect.top, rect.bottom)), paint); return; } pathAsRect = path.pathRef.getRect$0(); if (pathAsRect != null) { _this.drawRect$2(0, pathAsRect, paint); return; } t2 = path.pathRef; pathAsRRect = t2.fIsRRect ? t2._getRRect$0() : null; if (pathAsRRect != null) { _this.drawRRect$2(0, pathAsRRect, paint); return; } pathBounds = path.getBounds$0(0); svgElm = A.pathToSvgElement(path, paint, A.S(pathBounds.right), A.S(pathBounds.bottom)); if (t1.clipStack == null) { style = svgElm.style; style.position = "absolute"; if (!transform.isIdentity$0(0)) { t1 = A.float64ListToCssTransform(transform.__engine$_m4storage); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform"), t1, ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "transform-origin"), "0 0 0", ""); } } if (paint.maskFilter != null) { t1 = paint.style; t2 = paint.color; if (t2 == null) cssColor = "#000000"; else { t2 = A.colorToCssString(t2); t2.toString; cssColor = t2; } sigma = paint.maskFilter._sigma; t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_1 && t1 !== B.PaintingStyle_1) { t1 = svgElm.style; t2 = "0px 0px " + A.S(sigma * 2) + "px " + cssColor; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "box-shadow"), t2, ""); } else { t1 = svgElm.style; t2 = "blur(" + A.S(sigma) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "filter"), t2, ""); } } _this._drawElement$3(svgElm, 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(0, path, B.PaintingStyle_1); else t2.drawPath$2(0, 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 = A.toShadowColor(color).value; solidColor = A.colorComponentsToCssString(t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255, 255); t1.get$context(t1).save(); t1.get$context(t1).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) { t1.get$context(t1).translate(t5, t3); t1.get$context(t1).filter = A.maskFilterToCanvasFilter(new A.MaskFilter(B.BlurStyle_0, t4)); t1.get$context(t1).strokeStyle = ""; t1.get$context(t1).fillStyle = solidColor; } else { t1.get$context(t1).filter = "none"; t1.get$context(t1).strokeStyle = ""; t1.get$context(t1).fillStyle = solidColor; t1.get$context(t1).shadowBlur = t4; t1.get$context(t1).shadowColor = solidColor; t1.get$context(t1).shadowOffsetX = t5; t1.get$context(t1).shadowOffsetY = t3; } t1._runPath$2(t1.get$context(t1), path); t1.get$context(t1).fill(); t1.get$context(t1).restore(); } }, drawImage$3(_, image, p, paint) { var imageElement = this._drawImage$3(image, p, paint); if (paint.colorFilter != null) this._applyTargetSize$3(imageElement, image.get$width(image), image.get$height(image)); this._closeCurrentCanvas$0(); }, _reuseOrCreateImage$1(htmlImage) { var t2, imageElement, newImageElement, t1 = htmlImage.imgElement.src; t1.toString; t2 = this._elementCache; if (t2 != null) { imageElement = t2.reuse$1(t1); if (imageElement != null) return imageElement; } newImageElement = htmlImage.cloneImageElement$0(); t2 = this._elementCache; if (t2 != null) t2._addToCache$2(t1, new A._CrossFrameCacheItem(newImageElement, A._engine_BitmapCanvas__onEvictElement$closure(), t2.$ti._eval$1("_CrossFrameCacheItem<1>"))); return newImageElement; }, _drawImage$3(image, p, paint) { var blendMode, colorFilter, imgElement, filterElement, t1, t2, clipElements, t3, _i, clipElement, cssTransform, _this = this; type$.HtmlImage._as(image); blendMode = paint.blendMode; colorFilter = paint.colorFilter; if (colorFilter instanceof A.CkBlendModeColorFilter) imgElement = _this._createImageElementWithBlend$4(image, colorFilter.color, colorFilter.blendMode, paint); else if (colorFilter instanceof A.CkMatrixColorFilter) { filterElement = A.Element_Element$html(A.svgFilterFromColorMatrix(colorFilter.matrix), new A.NullTreeSanitizer(), null); _this.rootElement.appendChild(filterElement); _this.__engine$_children.push(filterElement); imgElement = _this._reuseOrCreateImage$1(image); t1 = imgElement.style; t2 = "url(#_fcf" + $.filterIdCounter + ")"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "filter"), t2, ""); } else imgElement = _this._reuseOrCreateImage$1(image); t1 = imgElement.style; t2 = A.stringForBlendMode(blendMode); if (t2 == null) t2 = ""; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "mix-blend-mode"), t2, ""); t1 = _this._canvasPool; if (t1.clipStack != null) { t2 = imgElement.style; t2.removeProperty("width"); t2.removeProperty("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.appendChild(clipElement); t3.push(clipElement); } } else { cssTransform = A.float64ListToCssTransform(A.transformWithOffset(t1._currentTransform, p).__engine$_m4storage); t1 = imgElement.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform-origin"), "0 0 0", ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), cssTransform, ""); t1.removeProperty("width"); t1.removeProperty("height"); _this.rootElement.appendChild(imgElement); _this.__engine$_children.push(imgElement); } return imgElement; }, _createImageElementWithBlend$4(image, color, blendMode, paint) { var svgFilter, t2, t3, filterElement, imgElement, style, _s8_ = "absolute", _s68_ = string$.x3csvg_w, _s97_ = string$.x22x20filt, t1 = blendMode.index; switch (t1) { 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: switch (t1) { case 5: case 9: t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; svgFilter = _s68_ + t1 + '" color-interpolation-filters="sRGB" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"><feColorMatrix type="matrix" values="0 0 0 0 1\n0 0 0 0 1\n0 0 0 0 1\n0 0 0 1 0" result="destalpha"></feColorMatrix>><feFlood flood-color="' + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood><feComposite in="flood" in2="destalpha" operator="arithmetic" k1="1" k2="0" k3="0" k4="0" result="comp"></feComposite></filter></svg>'; break; case 7: t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; svgFilter = _s68_ + t1 + _s97_ + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood><feComposite in="flood" in2="SourceGraphic" operator="out" result="comp"></feComposite></filter></svg>'; break; case 10: t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; svgFilter = _s68_ + t1 + _s97_ + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood><feComposite in="SourceGraphic" in2="flood" operator="atop" result="comp"></feComposite></filter></svg>'; break; case 11: t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; svgFilter = _s68_ + t1 + _s97_ + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood><feComposite in="flood" in2="SourceGraphic" operator="xor" result="comp"></feComposite></filter></svg>'; break; case 12: t1 = $.filterIdCounter + 1; $.filterIdCounter = t1; svgFilter = _s68_ + t1 + _s97_ + A.S(A.colorToCssString(color)) + '" flood-opacity="1" result="flood"></feFlood><feComposite in="flood" in2="SourceGraphic" operator="arithmetic" k1="0" k2="1" k3="1" k4="0" result="comp"></feComposite></filter></svg>'; break; case 13: $.filterIdCounter = $.filterIdCounter + 1; t1 = color.get$value(color); t2 = color.get$value(color); t3 = color.get$value(color); svgFilter = _s68_ + $.filterIdCounter + '" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"><feColorMatrix values="0 0 0 0 ' + A.S((t1 >>> 16 & 255) / 255) + " 0 0 0 0 " + A.S((t3 >>> 8 & 255) / 255) + " 0 0 0 0 " + A.S((t2 & 255) / 255) + ' 0 0 0 1 0" result="recolor"/><feComposite in="recolor" in2="SourceGraphic" operator="arithmetic" k1="1" k2="0" k3="0" k4="0" result="comp"></feComposite></filter></svg>'; break; case 15: svgFilter = A._blendColorFilterToSvg(color, "hard-light", 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.stringForBlendMode(blendMode); t1.toString; svgFilter = A._blendColorFilterToSvg(color, t1, false); break; case 1: case 2: case 6: case 8: case 4: case 0: case 3: svgFilter = null; break; default: svgFilter = null; } filterElement = A.Element_Element$html(svgFilter, new A.NullTreeSanitizer(), null); this.rootElement.appendChild(filterElement); this.__engine$_children.push(filterElement); imgElement = this._reuseOrCreateImage$1(image); t1 = imgElement.style; t2 = "url(#_fcf" + $.filterIdCounter + ")"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "filter"), t2, ""); if (blendMode === B.BlendMode_26) { t1 = imgElement.style; t2 = A.colorToCssString(color); t1.backgroundColor = t2 == null ? "" : t2; } return imgElement; default: imgElement = document.createElement("div"); style = imgElement.style; switch (t1) { case 0: case 8: style.position = _s8_; break; case 1: case 3: style.position = _s8_; t1 = A.colorToCssString(color); style.backgroundColor = t1 == null ? "" : t1; break; case 2: case 6: style.position = _s8_; t1 = "url('" + A.S(image.imgElement.src) + "')"; style.backgroundImage = t1; break; default: style.position = _s8_; t1 = "url('" + A.S(image.imgElement.src) + "')"; style.backgroundImage = t1; t1 = A.stringForBlendMode(blendMode); if (t1 == null) t1 = ""; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "background-blend-mode"), t1, ""); t1 = A.colorToCssString(color); style.backgroundColor = t1 == null ? "" : t1; break; } return imgElement; } }, drawImageRect$4(image, src, dst, paint) { var t2, requiresClipping, targetLeft, targetWidth, targetTop, t3, targetTop0, imgElement, targetHeight, _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(0, 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); } _this._applyTargetSize$3(imgElement, targetWidth, targetHeight); if (requiresClipping) _this.restore$0(0); } _this._closeCurrentCanvas$0(); }, _applyTargetSize$3(imageElement, targetWidth, targetHeight) { var t1, t2, imageStyle = imageElement.style, widthPx = B.JSNumber_methods.toStringAsFixed$1(targetWidth, 2) + "px", heightPx = B.JSNumber_methods.toStringAsFixed$1(targetHeight, 2) + "px"; imageStyle.left = "0px"; imageStyle.top = "0px"; imageStyle.width = widthPx; imageStyle.height = heightPx; if (!type$.ImageElement._is(imageElement)) { t1 = imageElement.style; t2 = widthPx + " " + heightPx; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "background-size"), t2, ""); } }, _closeCurrentCanvas$0() { var t2, t3, t1 = this._canvasPool; if (t1._canvas != null) { t1._restoreContextSave$0(); t1._contextHandle.reset$0(0); t2 = t1._activeCanvasList; if (t2 == null) t2 = t1._activeCanvasList = A._setArrayType([], type$.JSArray_CanvasElement); t3 = t1._canvas; t3.toString; t2.push(t3); t1._contextHandle = t1.__engine$_context = t1._canvas = null; } this._childOverdraw = true; this._cachedLastCssFont = null; }, fillText$4$shadows(_, text, x, y, shadows) { var _i, shadow, t2, t1 = this._canvasPool, ctx = t1.get$context(t1); if (shadows != null) { ctx.save(); for (t1 = shadows.length, _i = 0; _i < shadows.length; shadows.length === t1 || (0, A.throwConcurrentModificationError)(shadows), ++_i) { shadow = shadows[_i]; t2 = A.colorToCssString(shadow.color); t2.toString; ctx.shadowColor = t2; ctx.shadowBlur = shadow.blurRadius; t2 = shadow.offset; ctx.shadowOffsetX = t2._dx; ctx.shadowOffsetY = t2._dy; ctx.fillText(text, x, y); } ctx.restore(); } B.CanvasRenderingContext2D_methods.fillText$3(ctx, text, x, y); }, fillText$3($receiver, text, x, y) { return this.fillText$4$shadows($receiver, text, x, y, null); }, drawParagraph$2(_, paragraph, offset) { var value, paragraphElement, t1, t2, clipElements, t3, _i, clipElement, _this = this; if (paragraph.drawOnCanvas && !_this._childOverdraw && !_this._renderStrategy.isInsideSvgFilterTree) { value = paragraph.__CanvasParagraph__paintService; if (value === $) { A._lateInitializeOnceCheck(value, "_paintService"); value = paragraph.__CanvasParagraph__paintService = 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.appendChild(clipElement); t3.push(clipElement); } } else { A.setElementTransform(paragraphElement, A.transformWithOffset(t1, offset).__engine$_m4storage); _this.rootElement.appendChild(paragraphElement); } _this.__engine$_children.push(paragraphElement); t1 = paragraphElement.style; t1.left = "0px"; t1.top = "0px"; _this._closeCurrentCanvas$0(); }, endOfPaint$0() { var t1, t2, t3, t4, t5, paintOrderElement, t6, t7, firstChild, _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) for (t1 = _this.rootElement, t2 = J.get$children$x(t1), t2 = t2.get$iterator(t2), t3 = _this.__engine$_children, t4 = t2.$ti._precomputed1; t2.moveNext$0();) { t5 = t4._as(t2.__interceptors$_current); paintOrderElement = document.createElement("div"); t6 = paintOrderElement.style; t7 = B.CssStyleDeclaration_methods._browserPropertyName$1(t6, "transform"); t6.setProperty(t7, "translate3d(0,0,0)", ""); paintOrderElement.appendChild(t5); t1.appendChild(paintOrderElement); t3.push(paintOrderElement); } firstChild = _this.rootElement.firstChild; if (firstChild != null && type$.HtmlElement._is(firstChild) && firstChild.tagName.toLowerCase() === "canvas") { t1 = firstChild.style; t1.zIndex = "-1"; } } }; A.SurfaceCanvas.prototype = { save$0(_) { this._canvas.save$0(0); }, saveLayer$2(_, bounds, paint) { var t1 = type$.SurfacePaint, t2 = this._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(_) { this._canvas.restore$0(0); }, translate$2(_, dx, dy) { var t1 = this._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._canvas, t3 = t2._paintBounds; if (sx !== 1 || t1 !== 1) t3._currentMatrixIsIdentity = false; t3._currentMatrix.scale$2(0, sx, t1); 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._canvas, t2 = t1._paintBounds; if (radians !== 0) t2._currentMatrixIsIdentity = false; t2 = t2._currentMatrix; cosAngle = Math.cos(radians); sinAngle = Math.sin(radians); t2 = t2.__engine$_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._canvas, t3 = t2._paintBounds; t3._currentMatrix.multiply$1(0, new A.Matrix40(t1)); t3._currentMatrixIsIdentity = t3._currentMatrix.isIdentity$0(0); t2._commands.push(new A.PaintTransform(t1)); }, clipRect$3$clipOp$doAntiAlias(_, rect, clipOp, doAntiAlias) { var t1 = this._canvas, command = new A.PaintClipRect(rect, clipOp, -1 / 0, -1 / 0, 1 / 0, 1 / 0); switch (clipOp.index) { case 1: t1._paintBounds.clipRect$2(0, rect, command); break; case 0: break; } t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, clipRect$1($receiver, rect) { return this.clipRect$3$clipOp$doAntiAlias($receiver, rect, B.ClipOp_1, true); }, clipRect$2$doAntiAlias($receiver, rect, doAntiAlias) { return this.clipRect$3$clipOp$doAntiAlias($receiver, rect, B.ClipOp_1, doAntiAlias); }, clipRRect$2$doAntiAlias(_, rrect, doAntiAlias) { var t1 = this._canvas, command = new A.PaintClipRRect(rrect, -1 / 0, -1 / 0, 1 / 0, 1 / 0); t1._paintBounds.clipRect$2(0, new A.Rect(rrect.left, rrect.top, rrect.right, rrect.bottom), command); t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, clipRRect$1($receiver, rrect) { return this.clipRRect$2$doAntiAlias($receiver, rrect, true); }, clipPath$2$doAntiAlias(_, path, doAntiAlias) { var command, t1 = this._canvas; type$.SurfacePath._as(path); command = new A.PaintClipPath(path, -1 / 0, -1 / 0, 1 / 0, 1 / 0); t1._paintBounds.clipRect$2(0, path.getBounds$0(0), command); t1.renderStrategy.hasArbitraryPaint = true; t1._commands.push(command); }, clipPath$1($receiver, path) { return this.clipPath$2$doAntiAlias($receiver, path, true); }, drawLine$3(_, p1, p2, paint) { var paintSpread, command, t2, t3, t4, t5, t1 = this._canvas; type$.SurfacePaint._as(paint); paintSpread = Math.max(A._getPaintSpread(paint), 1); paint._frozen = true; command = new A.PaintDrawLine(p1, p2, paint._paintData, -1 / 0, -1 / 0, 1 / 0, 1 / 0); 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); }, drawRect$2(_, rect, paint) { this._canvas.drawRect$2(0, rect, type$.SurfacePaint._as(paint)); }, drawRRect$2(_, rrect, paint) { this._canvas.drawRRect$2(0, rrect, type$.SurfacePaint._as(paint)); }, drawDRRect$3(_, outer, inner, paint) { this._canvas.drawDRRect$3(0, outer, inner, type$.SurfacePaint._as(paint)); }, drawCircle$3(_, c, radius, paint) { var paintSpread, command, distance, t2, t3, t1 = this._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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); 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 = A.Path_Path(); 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._canvas.drawPath$2(0, path, type$.SurfacePaint._as(paint)); }, drawPath$2(_, path, paint) { this._canvas.drawPath$2(0, path, type$.SurfacePaint._as(paint)); }, drawImage$3(_, image, offset, paint) { var t2, left, $top, command, t1 = this._canvas; type$.SurfacePaint._as(paint); t2 = t1.renderStrategy; t1._didDraw = t2.hasImageElements = t2.hasArbitraryPaint = true; left = offset._dx; $top = offset._dy; paint._frozen = true; command = new A.PaintDrawImage(image, offset, paint._paintData, -1 / 0, -1 / 0, 1 / 0, 1 / 0); t1._paintBounds.growLTRB$5(left, $top, left + image.get$width(image), $top + image.get$height(image), command); t1._commands.push(command); }, drawImageRect$4(image, src, dst, paint) { var t2, command, t1 = this._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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); t1._paintBounds.grow$2(dst, command); t1._commands.push(command); }, drawPicture$1(_, picture) { this._canvas.drawPicture$1(0, picture); }, drawParagraph$2(_, paragraph, offset) { this._canvas.drawParagraph$2(0, paragraph, offset); }, drawShadow$4(_, path, color, elevation, transparentOccluder) { var shadowRect, command, t1 = this._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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); 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._ElementFactoryProvider_createElement_tag("flt-clip-interior", null); this._DomClip__childContainer = t1; t1 = t1.style; t1.position = "absolute"; t1 = this._DomClip__childContainer; t1.toString; element.appendChild(t1); return element; }, applyOverflow$2(element, clipBehaviour) { var t1; if (clipBehaviour !== B.Clip_0) { t1 = element.style; t1.overflow = "hidden"; t1.zIndex = "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); t1.setAttribute("clip-type", "rect"); return t1; }, apply$0() { var t5, _this = this, t1 = _this.rootElement.style, t2 = _this.rect, t3 = t2.left, t4 = A.S(t3) + "px"; t1.left = t4; t4 = t2.top; t5 = A.S(t4) + "px"; t1.top = t5; t5 = A.S(t2.right - t3) + "px"; t1.width = t5; t2 = A.S(t2.bottom - t4) + "px"; t1.height = t2; t1 = _this.rootElement; t1.toString; _this.applyOverflow$2(t1, _this.clipBehavior); t1 = _this._DomClip__childContainer.style; t3 = A.S(-t3) + "px"; t1.left = t3; t2 = A.S(-t4) + "px"; t1.top = t2; }, 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); t1.setAttribute("clip-type", "rrect"); return t1; }, apply$0() { var t4, _this = this, style = _this.rootElement.style, t1 = _this.rrect, t2 = t1.left, t3 = A.S(t2) + "px"; style.left = t3; t3 = t1.top; t4 = A.S(t3) + "px"; style.top = t4; t4 = A.S(t1.right - t2) + "px"; style.width = t4; t4 = A.S(t1.bottom - t3) + "px"; style.height = t4; t4 = A.S(t1.tlRadiusX) + "px"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-left-radius"), t4, ""); t4 = A.S(t1.trRadiusX) + "px"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-top-right-radius"), t4, ""); t4 = A.S(t1.brRadiusX) + "px"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-right-radius"), t4, ""); t1 = A.S(t1.blRadiusX) + "px"; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, "border-bottom-left-radius"), t1, ""); t1 = _this.rootElement; t1.toString; _this.applyOverflow$2(t1, _this.clipBehavior); t1 = _this._DomClip__childContainer.style; t2 = A.S(-t2) + "px"; t1.left = t2; t2 = A.S(-t3) + "px"; t1.top = t2; }, 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.PersistedPhysicalShape.prototype = { recomputeTransformAndClip$0() { var t1, t2, roundRect, rect, _this = this; _this.transform = _this.parent.transform; if (_this.clipBehavior !== B.Clip_0) { t1 = _this.path; t2 = t1.pathRef; roundRect = t2.fIsRRect ? t2._getRRect$0() : null; if (roundRect != null) _this.localClipBounds = new A.Rect(roundRect.left, roundRect.top, roundRect.right, roundRect.bottom); else { rect = t1.pathRef.getRect$0(); if (rect != null) _this.localClipBounds = rect; else _this.localClipBounds = null; } } else _this.localClipBounds = null; _this.projectedClip = null; }, createElement$0(_) { var t1 = this.super$_DomClip$createElement(0); t1.setAttribute("clip-type", "physical-shape"); return t1; }, discard$0() { var t1, _this = this; _this.super$_PersistedPhysicalShape_PersistedContainerSurface__DomClip$discard(); t1 = _this._clipElement; if (t1 != null) J.remove$0$ax(t1); _this._clipElement = null; t1 = _this._svgElement; if (t1 != null) J.remove$0$ax(t1); _this._svgElement = null; }, apply$0() { this._applyShape$0(); }, _applyShape$0() { var roundRect, borderRadius, style, rect, ovalRect, rx, ry, t4, t5, t6, t7, t8, t9, svgClipPath, rootElementStyle, pathBounds2, boxShadowColor, _this = this, _s13_ = "border-radius", _s6_ = "hidden", t1 = _this.rootElement.style, t2 = _this.color, t3 = A.colorToCssString(t2); t1.backgroundColor = t3 == null ? "" : t3; t1 = _this.path; t3 = t1.pathRef; roundRect = t3.fIsRRect ? t3._getRRect$0() : null; if (roundRect != null) { borderRadius = A.S(roundRect.tlRadiusX) + "px " + A.S(roundRect.trRadiusX) + "px " + A.S(roundRect.brRadiusX) + "px " + A.S(roundRect.blRadiusX) + "px"; style = _this.rootElement.style; t1 = roundRect.left; t2 = A.S(t1) + "px"; style.left = t2; t2 = roundRect.top; t3 = A.S(t2) + "px"; style.top = t3; t3 = A.S(roundRect.right - t1) + "px"; style.width = t3; t3 = A.S(roundRect.bottom - t2) + "px"; style.height = t3; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, _s13_), borderRadius, ""); t3 = _this._DomClip__childContainer.style; t1 = A.S(-t1) + "px"; t3.left = t1; t1 = A.S(-t2) + "px"; t3.top = t1; if (_this.clipBehavior !== B.Clip_0) style.overflow = _s6_; A.applyCssShadow(_this.rootElement, _this.pathBounds, _this.elevation, _this.shadowColor); return; } else { rect = t1.pathRef.getRect$0(); if (rect != null) { style = _this.rootElement.style; t1 = rect.left; t2 = A.S(t1) + "px"; style.left = t2; t2 = rect.top; t3 = A.S(t2) + "px"; style.top = t3; t3 = A.S(rect.right - t1) + "px"; style.width = t3; t3 = A.S(rect.bottom - t2) + "px"; style.height = t3; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, _s13_), "", ""); t3 = _this._DomClip__childContainer.style; t1 = A.S(-t1) + "px"; t3.left = t1; t1 = A.S(-t2) + "px"; t3.top = t1; if (_this.clipBehavior !== B.Clip_0) style.overflow = _s6_; A.applyCssShadow(_this.rootElement, _this.pathBounds, _this.elevation, _this.shadowColor); return; } else { t3 = t1.pathRef; ovalRect = (t3.fIsOval ? t3.fRRectOrOvalStartIdx : -1) === -1 ? null : t3.getBounds$0(0); if (ovalRect != null) { t1 = ovalRect.right; t2 = ovalRect.left; rx = (t1 - t2) / 2; t1 = ovalRect.bottom; t3 = ovalRect.top; ry = (t1 - t3) / 2; borderRadius = rx === ry ? A.S(rx) + "px " : A.S(rx) + "px " + A.S(ry) + "px "; style = _this.rootElement.style; t1 = A.S(t2) + "px"; style.left = t1; t1 = A.S(t3) + "px"; style.top = t1; t1 = A.S(rx * 2) + "px"; style.width = t1; t1 = A.S(ry * 2) + "px"; style.height = t1; B.CssStyleDeclaration_methods._setPropertyHelper$3(style, B.CssStyleDeclaration_methods._browserPropertyName$1(style, _s13_), borderRadius, ""); t1 = _this._DomClip__childContainer.style; t2 = A.S(-t2) + "px"; t1.left = t2; t2 = A.S(-t3) + "px"; t1.top = t2; if (_this.clipBehavior !== B.Clip_0) style.overflow = _s6_; A.applyCssShadow(_this.rootElement, _this.pathBounds, _this.elevation, _this.shadowColor); return; } } } t3 = _this.elevation; t4 = t3 === 0; t5 = _this.pathBounds; t6 = t5.right; t7 = t5.bottom; if (t4) { t8 = t5.left; t9 = t5.top; svgClipPath = A.pathToSvgClipPath(t1, -t8, -t9, 1 / (t6 - t8), 1 / (t7 - t9)); } else svgClipPath = A.pathToSvgClipPath(t1, 0, 0, 1 / t6, 1 / t7); t8 = _this._clipElement; if (t8 != null) J.remove$0$ax(t8); t8 = _this._svgElement; if (t8 != null) J.remove$0$ax(t8); _this._clipElement = A.Element_Element$html(svgClipPath, new A.NullTreeSanitizer(), null); if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t8 = _this.rootElement; t8.toString; t9 = _this._clipElement; t9.toString; t8.appendChild(t9); if (t4) { t1 = _this.rootElement; t1.toString; A.DomRenderer_setClipPath(t1, "url(#svgClip" + $._clipIdCounter + ")"); rootElementStyle = _this.rootElement.style; rootElementStyle.overflow = ""; t1 = t5.left; t2 = A.S(t1) + "px"; rootElementStyle.left = t2; t2 = t5.top; t3 = A.S(t2) + "px"; rootElementStyle.top = t3; t3 = A.S(t6 - t1) + "px"; rootElementStyle.width = t3; t3 = A.S(t7 - t2) + "px"; rootElementStyle.height = t3; B.CssStyleDeclaration_methods._setPropertyHelper$3(rootElementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(rootElementStyle, _s13_), "", ""); t3 = _this._DomClip__childContainer.style; t1 = "-" + A.S(t1) + "px"; t3.left = t1; t1 = "-" + A.S(t2) + "px"; t3.top = t1; return; } t4 = _this._DomClip__childContainer; t4.toString; A.DomRenderer_setClipPath(t4, "url(#svgClip" + $._clipIdCounter + ")"); rootElementStyle = _this.rootElement.style; rootElementStyle.overflow = ""; t4 = t5.left; t8 = A.S(t4) + "px"; rootElementStyle.left = t8; t8 = t5.top; t9 = A.S(t8) + "px"; rootElementStyle.top = t9; t9 = A.S(t6 - t4) + "px"; rootElementStyle.width = t9; t9 = A.S(t7 - t8) + "px"; rootElementStyle.height = t9; B.CssStyleDeclaration_methods._setPropertyHelper$3(rootElementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(rootElementStyle, _s13_), "", ""); t9 = _this._DomClip__childContainer.style; t4 = "-" + A.S(t4) + "px"; t9.left = t4; t4 = "-" + A.S(t8) + "px"; t9.top = t4; t4 = A.S(t6) + "px"; t9.width = t4; t4 = A.S(t7) + "px"; t9.height = t4; pathBounds2 = t1.getBounds$0(0); t4 = new A.SurfacePaintData(); t4.style = B.PaintingStyle_0; t4.color = t2; t4 = A.pathToSvgElement(t1, t4, A.S(pathBounds2.right), A.S(pathBounds2.bottom)); _this._svgElement = t4; _this.rootElement.insertBefore(t4, _this._DomClip__childContainer); t3 = A.computeShadow(t5, t3); t3.toString; boxShadowColor = A.toShadowColor(_this.shadowColor); t5 = _this._svgElement.style; t4 = t3.offset; t1 = boxShadowColor.value; t1 = "drop-shadow(" + A.S(t4._dx) + "px " + A.S(t4._dy) + "px " + A.S(t3.blurWidth) + "px rgba(" + (t1 >>> 16 & 255) + ", " + (t1 >>> 8 & 255) + ", " + (t1 & 255) + ", " + A.S((t1 >>> 24 & 255) / 255) + "))"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t5, B.CssStyleDeclaration_methods._browserPropertyName$1(t5, "filter"), t1, ""); t1 = "translate(-" + A.S(pathBounds2.left) + "px, -" + A.S(pathBounds2.top) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t5, B.CssStyleDeclaration_methods._browserPropertyName$1(t5, "transform"), t1, ""); t1 = _this.rootElement.style; t1.backgroundColor = ""; }, update$1(_, oldSurface) { var t1, t2, _this = this; _this.super$PersistedContainerSurface$update(0, oldSurface); t1 = oldSurface.path === _this.path; if (!t1) _this.localClipBounds = null; t1 = !t1 || oldSurface.elevation !== _this.elevation || !oldSurface.shadowColor.$eq(0, _this.shadowColor) || !oldSurface.color.$eq(0, _this.color); t2 = oldSurface._clipElement; if (t1) { if (t2 != null) J.remove$0$ax(t2); oldSurface._clipElement = null; t1 = oldSurface._svgElement; if (t1 != null) J.remove$0$ax(t1); oldSurface._svgElement = null; t1 = _this._clipElement; if (t1 != null) J.remove$0$ax(t1); _this._clipElement = null; t1 = _this._svgElement; if (t1 != null) J.remove$0$ax(t1); _this._svgElement = null; t1 = _this.rootElement; t1.toString; A.DomRenderer_setClipPath(t1, ""); _this._applyShape$0(); } else { _this._clipElement = t2; if (t2 != null) { if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = _this.rootElement; t1.toString; t2 = _this._clipElement; t2.toString; t1.appendChild(t2); } oldSurface._clipElement = null; t1 = _this._svgElement = oldSurface._svgElement; if (t1 != null) _this.rootElement.insertBefore(t1, _this._DomClip__childContainer); oldSurface._svgElement = null; } }, $isPhysicalShapeEngineLayer0: 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 t2, _this = this, t1 = _this._clipElement; if (t1 != null) J.remove$0$ax(t1); t1 = _this.rootElement; t1.toString; _this._clipElement = A.Element_Element$html(A.createSvgClipDef(type$.HtmlElement._as(t1), _this.clipPath), new A.NullTreeSanitizer(), null); if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = _this.rootElement; t1.toString; t2 = _this._clipElement; t2.toString; t1.appendChild(t2); }, 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) J.remove$0$ax(t1); _this.apply$0(); } else _this._clipElement = oldSurface._clipElement; oldSurface._clipElement = null; }, discard$0() { var t1 = this._clipElement; if (t1 != null) J.remove$0$ax(t1); this._clipElement = null; this.super$PersistedContainerSurface$discard(); }, get$isClipping() { return true; }, $isClipPathEngineLayer0: 1 }; A.DomCanvas.prototype = { 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)); }, drawRect$2(_, rect, paint) { var t1 = this.SaveElementStackTracking__elementStack; t1 = t1.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1); t1.appendChild(A.buildDrawRectElement(rect, paint, "draw-rect", this.SaveElementStackTracking__currentTransform)); }, drawRRect$2(_, rrect, paint) { var t1, element = A.buildDrawRectElement(new A.Rect(rrect.left, rrect.top, rrect.right, rrect.bottom), paint, "draw-rrect", this.SaveElementStackTracking__currentTransform); A.applyRRectBorderRadius(element.style, rrect); t1 = this.SaveElementStackTracking__elementStack; (t1.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1)).appendChild(element); }, 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)); }, drawImage$3(_, image, p, paint) { 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.length === 0 ? this.rootElement : B.JSArray_methods.get$last(t1)).appendChild(paragraphElement); }, endOfPaint$0() { } }; A.OffScreenCanvas.prototype = { set$width(receiver, val) { return this.width = val; }, set$height(receiver, val) { return this.height = val; } }; 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.Matrix40(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 = document.createElement("flt-offset"); A.DomRenderer_setElementStyle(element, "position", "absolute"); A.DomRenderer_setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { var t2, t1 = this.rootElement; t1.toString; t2 = "translate(" + A.S(this.dx) + "px, " + A.S(this.dy) + "px)"; type$.Object._as(t1.style).transform = t2; }, 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.Matrix40(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 t1 = $._domRenderer, element = (t1 == null ? $._domRenderer = A.DomRenderer$() : t1).createElement$1(0, "flt-opacity"); A.DomRenderer_setElementStyle(element, "position", "absolute"); A.DomRenderer_setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { var t2, t1 = this.rootElement; t1.toString; A.DomRenderer_setElementStyle(t1, "opacity", A.S(this.alpha / 255)); t2 = this.offset; t2 = "translate(" + A.S(t2._dx) + "px, " + A.S(t2._dy) + "px)"; type$.Object._as(t1.style).transform = t2; }, 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(_) { var t1 = this._paintData.color; return t1 == null ? B.Color_4278190080 : t1; }, set$color(_, value) { var t1, _this = this; if (_this._frozen) { _this._paintData = _this._paintData.clone$0(0); _this._frozen = false; } t1 = _this._paintData; t1.color = A.getRuntimeType(value) === B.Type_Color_MG2 ? value : new A.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; }, set$strokeMiterLimit(value) { }, toString$0(_) { var semicolon, _this = this, 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.strokeWidth; t3 = t2 == null; if ((t3 ? 0 : t2) !== 0) t1 += " " + A.S(t3 ? 0 : t2); else t1 += " hairline"; t2 = _this._paintData.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; if (!(t2 == null ? B.Color_4278190080 : t2).$eq(0, B.Color_4278190080)) { t2 = _this._paintData.color; t1 += semicolon + (t2 == null ? B.Color_4278190080 : 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(_) { var t1 = this.super$Object$toString(0); return t1; } }; 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 = { get$first(receiver) { return this.first; } }; 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; }, relativeMoveTo$2(dx, dy) { var pointIndex, t1 = this.pathRef, pointCount = t1._fPointsLength; if (pointCount === 0) this.moveTo$2(0, dx, dy); else { pointIndex = (pointCount - 1) * 2; t1 = t1.fPoints; this.moveTo$2(0, t1[pointIndex] + dx, t1[pointIndex + 1] + dy); } }, _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; }, 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_SbI[quadPointIndex]; p1 = B.List_SbI[quadPointIndex + 1]; p2 = B.List_SbI[quadPointIndex + 2]; conics.push(new A.Conic(p0._dx, p0._dy, p1._dx, p1._dy, p2._dx, p2._dy, 0.707106781)); } lastQuadrantPoint = B.List_SbI[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(0, 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); } }, 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(0, right, bottom, centerX, bottom, 0.707106781); _this.conicTo$5(0, left, bottom, left, centerY, 0.707106781); _this.conicTo$5(0, left, $top, centerX, $top, 0.707106781); _this.conicTo$5(0, right, $top, right, centerY, 0.707106781); } else { _this.moveTo$2(0, right, centerY); _this.conicTo$5(0, right, $top, centerX, $top, 0.707106781); _this.conicTo$5(0, left, $top, left, centerY, 0.707106781); _this.conicTo$5(0, left, bottom, centerX, bottom, 0.707106781); _this.conicTo$5(0, 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); }, 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 || t1 >= t3 || t2 >= t4) _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(0, t1, t2, t1 + scale * tlRadiusX, t2, 0.707106781); _this.lineTo$2(0, t3 - scale * trRadiusX, t2); _this.conicTo$5(0, t3, t2, t3, t2 + scale * trRadiusY, 0.707106781); _this.lineTo$2(0, t3, t4 - scale * brRadiusY); _this.conicTo$5(0, t3, t4, t3 - scale * brRadiusX, t4, 0.707106781); _this.lineTo$2(0, t1 + scale * blRadiusX, t4); _this.conicTo$5(0, 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$3$matrix4(_, path, offset, matrix4) { var t1 = matrix4 == null ? null : A.toMatrix32(matrix4); this.addPathWithMode$5(path, offset._dx, offset._dy, t1, 0); }, addPath$2($receiver, path, offset) { return this.addPath$3$matrix4($receiver, path, offset, null); }, addPathWithMode$5(path, offsetX, offsetY, matrix4, mode) { var t1, source, previousPointCount, t2, t3, iter, outPts, listIndex, listIndex0, firstVerb, verb, t4, 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; source = t1.$eq(0, _this.pathRef) ? A.SurfacePath$from(_this) : 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(0, outPts[2], outPts[3], outPts[4], outPts[5], t3._conicWeights[iter._conicWeightIndex]); break; case 4: _this.cubicTo$6(0, 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 = offsetX + points[p]; y = offsetY + points[t3]; points[p] = matrix4[0] * x + matrix4[4] * y + matrix4[12]; points[t3] = matrix4[1] * x + matrix4[5] * y + matrix4[13]; } } _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 B.JSBool_methods.$xor(onCurveCount !== 0, false); t1 = onCurveCount & 1; if (t1 !== 0 || evenOddFill) return t1 !== 0; 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 || false; }, 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; }, transform$1(_, matrix4) { var newPath = A.SurfacePath$from(this); newPath.__engine$_transform$1(matrix4); return newPath; }, __engine$_transform$1(m) { var t1, pointCount, points, len, i, x, y, w, t2, t3, t4, t5, t6, t7; this.pathRef.startEdit$0(); t1 = this.pathRef; pointCount = t1._fPointsLength; points = t1.fPoints; len = pointCount * 2; for (i = 0; i < len; i += 2) { x = points[i]; t1 = i + 1; y = points[t1]; w = 1 / (m[3] * x + m[7] * y + m[15]); t2 = m[0]; t3 = m[4]; t4 = m[12]; t5 = m[1]; t6 = m[5]; t7 = m[13]; points[i] = (t2 * x + t3 * y + t4) * w; points[t1] = (t5 * x + t6 * y + t7) * w; } this._convexityType = -1; }, 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; }, computeMetrics$0() { var t1 = this.pathRef, t2 = A._setArrayType([], type$.JSArray__PathContourMeasure); return new A.SurfacePathMetrics(new A.SurfacePathMetricIterator(new A._SurfacePathMeasure(t1, A.PathIterator$(t1, false), t2, false))); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; }, $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]); }, peek$0() { var _this = this, t1 = _this._verbIndex, t2 = _this.pathRef; if (t1 < t2._fVerbsLength) return t2._fVerbs[t1]; if (_this._needClose && _this._segmentState === 2) return _this._lastPointX !== _this._moveToX || _this._lastPointY !== _this._moveToY ? 1 : 5; return 6; }, 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 = _this._forceClose; 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.SurfacePathMetrics.prototype = { get$iterator(_) { return this.__engine$_iterator; } }; A._SurfacePathMeasure.prototype = { length$1(_, contourIndex) { return this._contours[contourIndex]._contourLength; }, _nativeNextContour$0() { var measure, _this = this; if (_this._verbIterIndex === _this.__engine$_path._fVerbsLength) return false; measure = new A._PathContourMeasure(A._setArrayType([], type$.JSArray__PathSegment)); _this._verbIterIndex = measure._verbEndIndex = measure._buildSegments$1(_this._pathIterator); _this._contours.push(measure); return true; } }; A._PathContourMeasure.prototype = { get$length(_) { return this._contourLength; }, getTangentForOffset$1(distance) { var segmentIndex = this._segmentIndexAtDistance$1(distance); if (segmentIndex === -1) return null; return this._getPosTan$2(segmentIndex, distance); }, _segmentIndexAtDistance$1(distance) { var distance0, t1, t2, hi, lo, mid; if (isNaN(distance)) return -1; if (distance < 0) distance = 0; else { distance0 = this._contourLength; if (distance > distance0) distance = distance0; } t1 = this._segments; t2 = t1.length; if (t2 === 0) return -1; hi = t2 - 1; for (lo = 0; lo < hi;) { mid = B.JSInt_methods._shrOtherPositive$1(lo + hi, 1); if (t1[mid].distance < distance) lo = mid + 1; else hi = mid; } return t1[hi].distance < distance ? hi + 1 : hi; }, _getPosTan$2(segmentIndex, distance) { var t1 = this._segments, segment = t1[segmentIndex], startDistance = segmentIndex === 0 ? 0 : t1[segmentIndex - 1].distance, totalDistance = segment.distance - startDistance; return segment.computeTangent$1(totalDistance < 1e-9 ? 0 : (distance - startDistance) / totalDistance); }, extractPath$3(startDistance, stopDistance, startWithMoveTo) { var stopDistance0, path, startSegmentIndex, stopSegmentIndex, t1, seg, startTangent, startPosition, startT, stopT, currentSegmentIndex, _this = this; if (startDistance < 0) startDistance = 0; stopDistance0 = _this._contourLength; if (stopDistance > stopDistance0) stopDistance = stopDistance0; path = A.Path_Path(); if (startDistance > stopDistance || _this._segments.length === 0) return path; startSegmentIndex = _this._segmentIndexAtDistance$1(startDistance); stopSegmentIndex = _this._segmentIndexAtDistance$1(stopDistance); if (startSegmentIndex === -1 || stopSegmentIndex === -1) return path; t1 = _this._segments; seg = t1[startSegmentIndex]; startTangent = _this._getPosTan$2(startSegmentIndex, startDistance); startPosition = startTangent.position; path.moveTo$2(0, startPosition._dx, startPosition._dy); startT = startTangent.t; stopT = _this._getPosTan$2(stopSegmentIndex, stopDistance).t; if (startSegmentIndex === stopSegmentIndex) _this._outputSegmentTo$4(seg, startT, stopT, path); else { currentSegmentIndex = startSegmentIndex; do { _this._outputSegmentTo$4(seg, startT, 1, path); ++currentSegmentIndex; seg = t1[currentSegmentIndex]; if (currentSegmentIndex !== stopSegmentIndex) { startT = 0; continue; } else break; } while (true); _this._outputSegmentTo$4(seg, 0, stopT, path); } return path; }, _outputSegmentTo$4(segment, startT, stopT, path) { var t1, points = segment.points; switch (segment.segmentType) { case 1: t1 = 1 - stopT; path.lineTo$2(0, points[2] * stopT + points[0] * t1, points[3] * stopT + points[1] * t1); break; case 4: t1 = $.$get$_PathContourMeasure__buffer(); A.chopCubicBetweenT(points, startT, stopT, t1); path.cubicTo$6(0, t1[2], t1[3], t1[4], t1[5], t1[6], t1[7]); break; case 2: t1 = $.$get$_PathContourMeasure__buffer(); A._chopQuadBetweenT(points, startT, stopT, t1); path.quadraticBezierTo$4(t1[2], t1[3], t1[4], t1[5]); break; case 3: throw A.wrapException(A.UnimplementedError$(null)); default: throw A.wrapException(A.UnsupportedError$("Invalid segment type")); } }, _buildSegments$1(iter) { var lineToHandler, points, t1, t2, haveSeenMoveTo, verb, t3, w, conicPoints, len, startX, startY, i, t4, p2x, p2y, _this = this, _1073741823 = 1073741823, _box_0 = {}; _this._isClosed = false; _box_0.distance = 0; lineToHandler = new A._PathContourMeasure__buildSegments_lineToHandler(_box_0, _this); points = new Float32Array(8); t1 = iter.pathRef; t2 = _this._segments; haveSeenMoveTo = false; do { if (iter.peek$0() === 0 && haveSeenMoveTo) break; verb = iter.next$1(0, points); switch (verb) { case 0: haveSeenMoveTo = true; break; case 1: lineToHandler.call$4(points[0], points[1], points[2], points[3]); break; case 4: _box_0.distance = A._PathContourMeasure__computeCubicSegments(points[0], points[1], points[2], points[3], points[4], points[5], points[6], points[7], _box_0.distance, 0, _1073741823, t2); break; case 3: t3 = iter._conicWeightIndex; w = t1._conicWeights[t3]; conicPoints = new A.Conic(points[0], points[1], points[2], points[3], points[4], points[5], w).toQuads$0(); len = conicPoints.length; t3 = conicPoints[0]; startX = t3._dx; startY = t3._dy; for (i = 1; i < len; i += 2, startY = p2y, startX = p2x) { t3 = conicPoints[i]; t4 = conicPoints[i + 1]; p2x = t4._dx; p2y = t4._dy; _box_0.distance = _this._computeQuadSegments$9(startX, startY, t3._dx, t3._dy, p2x, p2y, _box_0.distance, 0, _1073741823); } break; case 2: _box_0.distance = _this._computeQuadSegments$9(points[0], points[1], points[2], points[3], points[4], points[5], _box_0.distance, 0, _1073741823); break; case 5: _this._contourLength = _box_0.distance; return iter._verbIndex; default: break; } } while (verb !== 6); _this._contourLength = _box_0.distance; return iter._verbIndex; }, _computeQuadSegments$9(x0, y0, x1, y1, x2, y2, distance, tMin, tMax) { var p01x, p01y, p12x, p12y, p012x, p012y, tHalf, dx, dy, distance0; if (B.JSInt_methods._shrOtherPositive$1(tMax - tMin, 10) !== 0 && A._PathContourMeasure__quadTooCurvy(x0, y0, x1, y1, x2, y2)) { p01x = (x0 + x1) / 2; p01y = (y0 + y1) / 2; p12x = (x1 + x2) / 2; p12y = (y1 + y2) / 2; p012x = (p01x + p12x) / 2; p012y = (p01y + p12y) / 2; tHalf = tMin + tMax >>> 1; distance = this._computeQuadSegments$9(p012x, p012y, p12x, p12y, x2, y2, this._computeQuadSegments$9(x0, y0, p01x, p01y, p012x, p012y, distance, tMin, tHalf), tMin, tHalf); } else { dx = x0 - x2; dy = y0 - y2; distance0 = distance + Math.sqrt(dx * dx + dy * dy); if (distance0 > distance) this._segments.push(new A._PathSegment(2, distance0, A._setArrayType([x0, y0, x1, y1, x2, y2], type$.JSArray_double))); distance = distance0; } return distance; } }; A._PathContourMeasure__buildSegments_lineToHandler.prototype = { call$4(fromX, fromY, x, y) { var dx = fromX - x, dy = fromY - y, t1 = this._box_0, prevDistance = t1.distance, distance = t1.distance = prevDistance + Math.sqrt(dx * dx + dy * dy); if (distance > prevDistance) this.$this._segments.push(new A._PathSegment(1, distance, A._setArrayType([fromX, fromY, x, y], type$.JSArray_double))); }, $signature: 422 }; A.SurfacePathMetricIterator.prototype = { get$current(_) { var t1 = this._pathMetric; t1.toString; return t1; }, moveNext$0() { var t2, t1 = this._pathMeasure, next = t1._nativeNextContour$0(); if (next) ++t1._currentContourIndex; if (next) { t2 = t1._currentContourIndex; this._pathMetric = new A.SurfacePathMetric(t1._contours[t2]._contourLength, t2, t1); return true; } this._pathMetric = null; return false; }, $isIterator: 1 }; A.SurfacePathMetric.prototype = { getTangentForOffset$1(distance) { return this._measure._contours[this.contourIndex].getTangentForOffset$1(distance); }, extractPath$3$startWithMoveTo(start, end, startWithMoveTo) { return this._measure._contours[this.contourIndex].extractPath$3(start, end, true); }, extractPath$2(start, end) { return this.extractPath$3$startWithMoveTo(start, end, true); }, toString$0(_) { return "PathMetric"; }, $isPathMetric: 1, get$length(receiver) { return this.length; } }; A._SurfaceTangent.prototype = {}; A._PathSegment.prototype = { computeTangent$1(t) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, tAtZero, t15, dx, dy, _quadEval, _this = this; switch (_this.segmentType) { case 1: t1 = _this.points; t2 = t1[2]; t3 = t1[0]; t4 = 1 - t; t5 = t1[3]; t1 = t1[1]; A._normalizeSlope(t2 - t3, t5 - t1); return new A._SurfaceTangent(t, new A.Offset(t2 * t + t3 * t4, t5 * t + t1 * t4)); case 4: t1 = _this.points; t2 = t1[0]; t3 = t1[1]; t4 = t1[2]; t5 = t1[3]; t6 = t1[4]; t7 = t1[5]; t8 = t1[6]; t1 = t1[7]; t9 = t6 - 2 * t4 + t2; t10 = t7 - 2 * t5 + t3; t11 = t4 - t2; t12 = t5 - t3; t13 = (t8 + 3 * (t4 - t6) - t2) * t; t14 = (t1 + 3 * (t5 - t7) - t3) * t; tAtZero = t === 0; if (!(tAtZero && t2 === t4 && t3 === t5)) t15 = t === 1 && t6 === t8 && t7 === t1; else t15 = true; if (t15) { dx = tAtZero ? t6 - t2 : t8 - t4; dy = tAtZero ? t7 - t3 : t1 - t5; if (dx === 0 && dy === 0) { dx = t8 - t2; dy = t1 - t3; } A._normalizeSlope(dx, dy); } else A._normalizeSlope((t13 + 2 * t9) * t + t11, (t14 + 2 * t10) * t + t12); return new A._SurfaceTangent(t, new A.Offset(((t13 + 3 * t9) * t + 3 * t11) * t + t2, ((t14 + 3 * t10) * t + 3 * t12) * t + t3)); case 2: t1 = _this.points; t2 = t1[0]; t3 = t1[1]; t4 = t1[2]; t5 = t1[3]; t6 = t1[4]; t1 = t1[5]; _quadEval = A.SkQuadCoefficients$(t2, t3, t4, t5, t6, t1); t7 = _quadEval.evalX$1(t); t8 = _quadEval.evalY$1(t); if (!(t === 0 && t2 === t4 && t3 === t5)) t9 = t === 1 && t4 === t6 && t5 === t1; else t9 = true; t6 -= t2; t1 -= t3; if (t9) A._normalizeSlope(t6, t1); else A._normalizeSlope(2 * (t6 * t + (t4 - t2)), 2 * (t1 * t + (t5 - t3))); return new A._SurfaceTangent(t, new A.Offset(t7, t8)); default: throw A.wrapException(A.UnsupportedError$("Invalid segment type")); } } }; 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, _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; return new A.Rect(x0, y0, x0 + width, y0 + 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, cornerIndex, verb, controlPx, controlPy, vector1_0x, vector1_0y, t1, t2, dx, dy, t3, bounds = this.getBounds$0(0), radii = A._setArrayType([], type$.JSArray_Radius), iter = new A.PathRefIterator(this); iter.PathRefIterator$1(this); pts = new Float32Array(8); iter.next$1(0, pts); for (cornerIndex = 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)); ++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.getRuntimeType(this)) return false; return other instanceof A.PathRef && this.equals$1(other); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.fSegmentMask, _this.fPoints, _this._conicWeights, _this._fVerbs, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, 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); newPoints.set(_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); newVerbs.set(_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) newWeights.set(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; break; } _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; }, startEdit$0() { var _this = this; _this.fIsRect = _this.fIsRRect = _this.fIsOval = false; _this.cachedBounds = null; _this.fBoundsIsDirty = true; } }; 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.__engine$_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.__engine$_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.__engine$_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.__engine$_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(_) { return this.defaultCreateElement$1("flt-picture"); }, 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.Matrix40(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; t1 = paintWidth === 0 || paintHeight === 0; newDensity = t1 ? 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.transformRect(clipTransform, localClipBounds) : bounds.intersect$1(A.transformRect(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 t2, t3, domCanvas, _this = this, t1 = oldSurface == null, oldCanvas = t1 ? null : oldSurface._canvas; _this._requiresRepaint = false; t2 = _this.picture.recordingCanvas; if (t2._didDraw) { t3 = _this._optimalLocalCullRect; t3 = t3.get$isEmpty(t3); } else t3 = true; if (t3) { A._recycleCanvas(oldCanvas); if (!t1) oldSurface._canvas = null; if (_this.rootElement != null) { t1 = $._domRenderer; if (t1 == null) t1 = $._domRenderer = A.DomRenderer$(); t2 = _this.rootElement; t2.toString; t1.clearDom$1(t2); } t1 = _this._canvas; if (t1 != null && t1 !== oldCanvas) A._recycleCanvas(t1); _this._canvas = null; return; } if (t2.renderStrategy.hasArbitraryPaint) _this._applyBitmapPaint$1(oldCanvas); else { A._recycleCanvas(_this._canvas); t1 = _this.rootElement; t1.toString; domCanvas = _this._canvas = new A.DomCanvas(t1, A._setArrayType([], type$.JSArray__SaveElementStackEntry), A._setArrayType([], type$.JSArray_Element), A.Matrix4$identity()); t1 = $._domRenderer; if (t1 == null) t1 = $._domRenderer = A.DomRenderer$(); t3 = _this.rootElement; t3.toString; t1.clearDom$1(t3); t3 = _this._optimalLocalCullRect; t3.toString; t2.applyCommands$2(domCanvas, t3); 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._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; t1 = oldCanvas.doesFitBounds$2(t1, _this._density) && oldCanvas.__engine$_devicePixelRatio === A.EnginePlatformDispatcher_browserDevicePixelRatio(); } else t1 = false; if (t1) { t1 = _this._optimalLocalCullRect; t1.toString; oldCanvas.set$bounds(0, t1); _this._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._canvas; if (t1 instanceof A.BitmapCanvas) t1._elementCache = null; _this._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, ratio, t4, t5, candidatePixelCount, t6, 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]; ratio = window.devicePixelRatio; t4 = ratio === 0 ? 1 : ratio; 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; ratio = window.devicePixelRatio; if (candidate.widthInBitmapPixels >= B.JSNumber_methods.ceil$0(boundsWidth * (ratio === 0 ? 1 : ratio)) + 2) { ratio = window.devicePixelRatio; fits = candidate.heightInBitmapPixels >= B.JSNumber_methods.ceil$0(boundsHeight * (ratio === 0 ? 1 : ratio)) + 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() { var t1 = this.rootElement.style, t2 = "translate(" + A.S(this.dx) + "px, " + A.S(this.dy) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); }, apply$0() { this._applyTranslate$0(); this._applyPaint$1(null); }, build$0(_) { this._computeOptimalCullRect$1(null); this._requiresRepaint = true; this.super$PersistedSurface$build(0); }, 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._canvas; densityChanged = t1 instanceof A.BitmapCanvas && _this._density !== t1._density; if (_this._requiresRepaint || densityChanged) _this._applyPaint$1(oldSurface); else _this._canvas = oldSurface._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._canvas); this._canvas = null; this.super$PersistedSurface$discard(); } }; A.PersistedPicture__applyBitmapPaint_closure.prototype = { call$0() { var bitmapCanvas, t3, t1 = this.$this, t2 = t1._optimalLocalCullRect; t2.toString; bitmapCanvas = t1._canvas = t1._findOrCreateCanvas$1(t2); bitmapCanvas._elementCache = t1._elementCache; t2 = $._domRenderer; if (t2 == null) t2 = $._domRenderer = A.DomRenderer$(); t3 = t1.rootElement; t3.toString; t2.clearDom$1(t3); t1.rootElement.appendChild(bitmapCanvas.rootElement); bitmapCanvas.clear$0(0); t3 = t1.picture.recordingCanvas; t3.toString; t1 = t1._optimalLocalCullRect; t1.toString; t3.applyCommands$2(bitmapCanvas, t1); bitmapCanvas.endOfPaint$0(); }, $signature: 0 }; A.PersistedPlatformView.prototype = { createElement$0(_) { return A.createPlatformViewSlot(this.viewId); }, apply$0() { var _this = this, t1 = _this.rootElement.style, t2 = "translate(" + A.S(_this.dx) + "px, " + A.S(_this.dy) + "px)"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); t2 = A.S(_this.width) + "px"; t1.width = t2; t2 = A.S(_this.height) + "px"; t1.height = t2; t1.position = "absolute"; }, canUpdateAsMatch$1(oldSurface) { if (this.super$PersistedSurface$canUpdateAsMatch(oldSurface)) return this.viewId === type$.PersistedPlatformView._as(oldSurface).viewId; return false; }, matchForUpdate$1(existingSurface) { return existingSurface.viewId === this.viewId ? 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; } }, save$0(_) { this._paintBounds.saveTransformsAndClip$0(); this._commands.push(B.C_PaintSave); ++this._saveCount; }, restore$0(_) { var t1, clipRect, _this = this; if (!_this._recordingEnded && _this._saveCount > 1) { t1 = _this._paintBounds; t1._currentMatrix = t1.__engine$_transforms.pop(); clipRect = t1._clipStack.pop(); if (clipRect != null) { t1._currentClipLeft = clipRect.left; t1._currentClipTop = clipRect.top; t1._currentClipRight = clipRect.right; t1._currentClipBottom = clipRect.bottom; t1._clipRectInitialized = true; } else if (t1._clipRectInitialized) t1._clipRectInitialized = false; } t1 = _this._commands; if (t1.length !== 0 && B.JSArray_methods.get$last(t1) instanceof A.PaintSave) t1.pop(); else t1.push(B.C_PaintRestore); --_this._saveCount; }, 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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); 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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); _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, outerTl, outerTr, outerBl, outerBr, innerTl, innerTr, innerBl, innerBr, paintSpread, command, t5, 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(); outerTl = A._measureBorderRadius(scaledOuter.tlRadiusX, scaledOuter.tlRadiusY); outerTr = A._measureBorderRadius(scaledOuter.trRadiusX, scaledOuter.trRadiusY); outerBl = A._measureBorderRadius(scaledOuter.blRadiusX, scaledOuter.blRadiusY); outerBr = A._measureBorderRadius(scaledOuter.brRadiusX, scaledOuter.brRadiusY); innerTl = A._measureBorderRadius(scaledInner.tlRadiusX, scaledInner.tlRadiusY); innerTr = A._measureBorderRadius(scaledInner.trRadiusX, scaledInner.trRadiusY); innerBl = A._measureBorderRadius(scaledInner.blRadiusX, scaledInner.blRadiusY); innerBr = A._measureBorderRadius(scaledInner.brRadiusX, scaledInner.brRadiusY); if (innerTl > outerTl || innerTr > outerTr || innerBl > outerBl || innerBr > outerBr) return; _this._didDraw = _this.renderStrategy.hasArbitraryPaint = true; paintSpread = A._getPaintSpread(paint); paint._frozen = true; command = new A.PaintDrawDRRect(outer, inner, paint._paintData, -1 / 0, -1 / 0, 1 / 0, 1 / 0); t5 = A.Path_Path(); t5.set$fillType(B.PathFillType_1); t5.addRRect$1(0, outer); t5.addRRect$1(0, 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, pathBounds, paintSpread, t2, t3, clone, command, _this = this; if (paint._paintData.shader == null) { type$.SurfacePath._as(path); rect = path.pathRef.getRect$0(); if (rect != null) { _this.drawRect$2(0, rect, paint); return; } t1 = path.pathRef; rrect = t1.fIsRRect ? t1._getRRect$0() : null; if (rrect != null) { _this.drawRRect$2(0, rrect, 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, -1 / 0, -1 / 0, 1 / 0, 1 / 0); _this._paintBounds.grow$2(pathBounds, command); clone._fillType = path._fillType; _this._commands.push(command); } }, drawPicture$1(_, picture) { var t2, t3, _this = this, t1 = type$.EnginePicture._as(picture).recordingCanvas; if (t1 == null) return; if (t1._didDraw) _this._didDraw = true; t2 = _this.renderStrategy; t3 = t1.renderStrategy; t2.hasImageElements = B.JSBool_methods.$or(t2.hasImageElements, t3.hasImageElements); t2.hasParagraphs = B.JSBool_methods.$or(t2.hasParagraphs, t3.hasParagraphs); t2.hasArbitraryPaint = B.JSBool_methods.$or(t2.hasArbitraryPaint, t3.hasArbitraryPaint); _this.save$0(0); B.JSArray_methods.addAll$1(_this._commands, t1._commands); _this.restore$0(0); t1 = t1._pictureBounds; if (t1 != null) _this._paintBounds.growBounds$1(t1); }, drawParagraph$2(_, paragraph, offset) { var t1, left, $top, command, _this = this; type$.EngineParagraph._as(paragraph); if (!paragraph.isLaidOut) return; _this._didDraw = true; t1 = _this.renderStrategy; t1.hasArbitraryPaint = true; t1.hasParagraphs = true; left = offset._dx; $top = offset._dy; command = new A.PaintDrawParagraph(paragraph, offset, -1 / 0, -1 / 0, 1 / 0, 1 / 0); _this._paintBounds.growLTRB$5(left, $top, left + paragraph.get$_layoutService().width, $top + paragraph.get$_layoutService().height, 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(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintRestore.prototype = { apply$1(canvas) { canvas.restore$0(0); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintTranslate.prototype = { apply$1(canvas) { canvas.translate$2(0, this.dx, this.dy); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintScale.prototype = { apply$1(canvas) { canvas.scale$2(0, this.sx, this.sy); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintRotate.prototype = { apply$1(canvas) { canvas.rotate$1(0, this.radians); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintTransform.prototype = { apply$1(canvas) { canvas.transform$1(0, this.matrix4); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintClipRect.prototype = { apply$1(canvas) { canvas.clipRect$2(0, this.rect, this.clipOp); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintClipRRect.prototype = { apply$1(canvas) { canvas.clipRRect$1(0, this.rrect); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintClipPath.prototype = { apply$1(canvas) { canvas.clipPath$1(0, this.path); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawLine.prototype = { apply$1(canvas) { canvas.drawLine$3(0, this.p1, this.p2, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawRect.prototype = { apply$1(canvas) { canvas.drawRect$2(0, this.rect, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawRRect.prototype = { apply$1(canvas) { canvas.drawRRect$2(0, this.rrect, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawDRRect.prototype = { apply$1(canvas) { var t1 = this.paint; if (t1.style == null) t1.style = B.PaintingStyle_0; canvas.drawPath$2(0, this.path, t1); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawCircle.prototype = { apply$1(canvas) { canvas.drawCircle$3(0, this.c, this.radius, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawPath.prototype = { apply$1(canvas) { canvas.drawPath$2(0, this.path, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawShadow.prototype = { apply$1(canvas) { var _this = this; canvas.drawShadow$4(0, _this.path, _this.color, _this.elevation, _this.transparentOccluder); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawImage.prototype = { apply$1(canvas) { canvas.drawImage$3(0, this.image, this.offset, this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawImageRect.prototype = { apply$1(canvas) { var _this = this; canvas.drawImageRect$4(_this.image, _this.src, _this.dst, _this.paint); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PaintDrawParagraph.prototype = { apply$1(canvas) { canvas.drawParagraph$2(0, this.paragraph, this.offset); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; 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; }, growBounds$1(bounds) { var t1, transformedPointLeft, transformedPointTop, transformedPointRight, transformedPointBottom, _this = this, left = bounds.left, $top = bounds.top, right = bounds.right, bottom = bounds.bottom; if (left === right || $top === bottom) 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._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.Matrix40(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(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.RenderStrategy.prototype = {}; A._WebGlRenderer.prototype = { drawRect$6(_, targetRect, gl, glProgram, gradient, widthInPixels, heightInPixels) { var image, t1, _s10_ = "bindBuffer"; this.drawRectToGl$6(targetRect, gl, glProgram, gradient, widthInPixels, heightInPixels); image = gl.readPatternData$0(); t1 = gl.glContext; A.callMethod(t1, _s10_, [gl.get$kArrayBuffer(), null]); A.callMethod(t1, _s10_, [gl.get$kElementArrayBuffer(), null]); return image; }, 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().__engine$_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]); A.callMethod(t2, _s19_, [0, 2, gl.get$kFloat(), 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]); A.callMethod(t2, _s19_, [1, 4, gl.get$kUnsignedByte(), 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]); A.callMethod(t2, "clear", [gl.get$kColorBufferBit()]); t2.viewport(0, 0, widthInPixels, heightInPixels); t1 = gl.get$kTriangles(); t3 = t3.length; t4 = gl._kUnsignedShort; A.callMethod(t2, "drawElements", [t1, t3, t4 == null ? gl._kUnsignedShort = t2.UNSIGNED_SHORT : t4, 0]); } }; A.SurfaceScene.prototype = { dispose$0(_) { } }; A.PersistedScene.prototype = { recomputeTransformAndClip$0() { var t2, t1 = window.innerWidth; t1.toString; t2 = window.innerHeight; t2.toString; this.localClipBounds = new A.Rect(0, 0, t1, t2); 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().__engine$_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)); }, pushBackdropFilter$3$blendMode$oldLayer(filter, blendMode, oldLayer) { var t1, t2; type$.nullable_PersistedBackdropFilter._as(oldLayer); type$.EngineImageFilter._as(filter); 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)); }, pushPhysicalShape$6$clipBehavior$color$elevation$oldLayer$path$shadowColor(clipBehavior, color, elevation, oldLayer, path, shadowColor) { var t1, t2, t3, t4, t5; type$.nullable_PersistedPhysicalShape._as(oldLayer); type$.SurfacePath._as(path); t1 = color.get$value(color); t2 = shadowColor == null ? null : shadowColor.get$value(shadowColor); if (t2 == null) t2 = 4278190080; t3 = path.getBounds$0(0); t4 = A._setArrayType([], type$.JSArray_PersistedSurface); t5 = oldLayer != null && oldLayer.__engine$_state === B.PersistedSurfaceState_1 ? oldLayer : null; t5 = new A.FrameReference(t5, type$.FrameReference_PersistedSurface); $.frameReferences.push(t5); return this._pushSurface$1(new A.PersistedPhysicalShape(path, t3, elevation, new A.Color(t1), new A.Color(t2), clipBehavior, null, t4, t5, 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(); }, addPerformanceOverlay$2(enabledOptions, bounds) { if (!$.SurfaceSceneBuilder__webOnlyDidWarnAboutPerformanceOverlay) { $.SurfaceSceneBuilder__webOnlyDidWarnAboutPerformanceOverlay = true; $.$get$printWarning().call$1("The performance overlay isn't supported on the web"); } }, addPicture$4$isComplexHint$willChangeHint(offset, picture, isComplexHint, willChangeHint) { var t1, t2; isComplexHint; 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_HtmlElement), t2, B.PersistedSurfaceState_0); t1 = B.JSArray_methods.get$last(this._surfaceStack); t1.__engine$_children.push(t2); t2.parent = t1; }, addTexture$6$filterQuality$freeze$height$offset$width(textureId, filterQuality, freeze, height, offset, width) { A.throwExpression(A.UnimplementedError$("Textures are not supported in Flutter Web")); }, 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); t2 = B.JSArray_methods.get$last(this._surfaceStack); t2.__engine$_children.push(t1); t1.parent = t2; }, setRasterizerTracingThreshold$1(frameInterval) { }, setCheckerboardRasterCacheImages$1(checkerboard) { }, setCheckerboardOffscreenLayers$1(checkerboard) { }, 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(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: 424 }; A.EngineImageShader.prototype = {}; A.NormalizedGradient.prototype = { setupUniforms$2(gl, glProgram) { var t1, t2, t3, t4, t5, i, t6, res, result, t7, 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 = "bias_" + i; res = t3.getUniformLocation.apply(t3, [t5, t6]); if (res == null) { A.throwExpression(A.Exception_Exception(t6 + " not found")); result = null; } else result = res; t6 = i * 4; t7 = t6 + 1; t8 = t6 + 2; t9 = t6 + 3; t3.uniform4f.apply(t3, [result, t4[t6], t4[t7], t4[t8], t4[t9]]); t10 = "scale_" + i; res = t3.getUniformLocation.apply(t3, [t5, t10]); if (res == null) { A.throwExpression(A.Exception_Exception(t10 + " not found")); result = null; } else result = res; t3.uniform4f.apply(t3, [result, t2[t6], t2[t7], t2[t8], t2[t9]]); } 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.EngineGradient.prototype = {$isGradient: 1}; A.GradientLinear.prototype = { createPaintStyle$3(ctx, shaderBounds, density) { var matrix4, offsetX, offsetY, t2, t3, t4, t5, centerX, centerY, gradient, _this = this, 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 = ctx.createLinearGradient(t2 + centerX - offsetX, t4 + centerY - offsetY, matrix4.transformedX + centerX - offsetX, matrix4.transformedY + centerY - offsetY); } else gradient = ctx.createLinearGradient(t4 - offsetX, t2 - offsetY, t5 - offsetX, t3 - offsetY); A._addColorStopsToCanvasGradient(gradient, _this.colors, _this.colorStops, t1 === B.TileMode_3); return gradient; } else { t1 = ctx.createPattern(_this.createImageBitmap$3(shaderBounds, density, false), "no-repeat"); t1.toString; return t1; } }, createImageBitmap$3(shaderBounds, density, createDataUrl) { var widthInPixels, t3, t4, heightInPixels, gl, normalizedGradient, t5, t6, t7, builder, fragColor, method, probeName, glProgram, t8, fromX, fromY, toX, toY, dx, dy, $length, sinVal, cosVal, isRepeated, originX, originY, originTranslation, rotationZ, storage, gradientTransform, _this = this, _s12_ = "u_resolution", _s10_ = "m_gradient", 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(); gl = A.GlContext_GlContext(A.OffScreenCanvas$(widthInPixels, heightInPixels)); gl._widthInPixels = widthInPixels; gl._heightInPixels = heightInPixels; normalizedGradient = A.NormalizedGradient_NormalizedGradient(_this.colors, _this.colorStops); t5 = A.VertexShaders_writeBaseVertexShader(); t6 = _this.tileMode; t7 = $._cachedWebGLVersion; builder = A.ShaderBuilder$fragment(t7 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t7); 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(); method = new A.ShaderMethod("main", A._setArrayType([], type$.JSArray_String)); builder._methods.push(method); method.addStatement$1("vec4 localCoord = m_gradient * vec4(gl_FragCoord.x, u_resolution.y - gl_FragCoord.y, 0, 1);"); method.addStatement$1("float st = localCoord.x;"); probeName = A._writeSharedGradientShader(builder, method, normalizedGradient, t6); method.addStatement$1(fragColor.name + " = " + probeName + " * scale + bias;"); glProgram = gl.cacheProgram$2(t5, builder.build$0(0)); t5 = gl.glContext; t7 = glProgram.program; A.callMethod(t5, "useProgram", [t7]); 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 = t6 !== 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.__engine$_m4storage; storage[0] = cosVal; storage[1] = sinVal; storage[4] = -sinVal; storage[5] = cosVal; gradientTransform = A.Matrix4$identity(); if (t6 !== B.TileMode_1) gradientTransform.translate$2(0, 0.5, 0); if ($length > 11920929e-14) gradientTransform.scale$1(0, 1 / $length); t2 = _this.matrix4; if (t2 != null) { t2 = t2.matrix; gradientTransform.scale$2(0, 1, -1); gradientTransform.translate$2(0, -shaderBounds.get$center()._dx, -shaderBounds.get$center()._dy); gradientTransform.multiply$1(0, new A.Matrix40(t2)); gradientTransform.translate$2(0, shaderBounds.get$center()._dx, shaderBounds.get$center()._dy); gradientTransform.scale$2(0, 1, -1); } gradientTransform.multiply$1(0, rotationZ); gradientTransform.multiply$1(0, originTranslation); normalizedGradient.setupUniforms$2(gl, glProgram); A.callMethod(t5, "uniformMatrix4fv", [gl.getUniformLocation$2(0, t7, _s10_), false, gradientTransform.__engine$_m4storage]); A.callMethod(t5, "uniform2f", [gl.getUniformLocation$2(0, t7, _s12_), widthInPixels, heightInPixels]); t2 = $.glRenderer; t1 = t2.drawRect$6(0, new A.Rect(0, 0, 0 + t1, 0 + t3), gl, glProgram, normalizedGradient, widthInPixels, heightInPixels); t1.toString; return t1; } }; A.GradientRadial.prototype = { createPaintStyle$3(ctx, shaderBounds, density) { var t1 = this.tileMode; if (t1 === B.TileMode_0 || t1 === B.TileMode_3) return this._createCanvasGradient$3(ctx, shaderBounds, density); else return this._createGlGradient$3(ctx, shaderBounds, density); }, _createCanvasGradient$3(ctx, shaderBounds, density) { var gradient, _this = this, t1 = _this.center, t2 = t1._dx - shaderBounds.left; t1 = t1._dy - shaderBounds.top; gradient = ctx.createRadialGradient(t2, t1, 0, t2, t1, _this.radius); A._addColorStopsToCanvasGradient(gradient, _this.colors, _this.colorStops, _this.tileMode === B.TileMode_3); return gradient; }, createImageBitmap$3(shaderBounds, density, createDataUrl) { var widthInPixels, t3, t4, heightInPixels, gl, normalizedGradient, glProgram, t5, t6, t7, gradientMatrix, _this = this, 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(); gl = A.GlContext_GlContext(A.OffScreenCanvas$(widthInPixels, heightInPixels)); gl._widthInPixels = widthInPixels; gl._heightInPixels = heightInPixels; normalizedGradient = A.NormalizedGradient_NormalizedGradient(_this.colors, _this.colorStops); glProgram = gl.cacheProgram$2(A.VertexShaders_writeBaseVertexShader(), _this._createRadialFragmentShader$3(normalizedGradient, shaderBounds, _this.tileMode)); t5 = gl.glContext; t6 = glProgram.program; A.callMethod(t5, "useProgram", [t6]); t7 = _this.center; A.callMethod(t5, "uniform2f", [gl.getUniformLocation$2(0, t6, "u_tile_offset"), 2 * (t1 * ((t7._dx - t2) / t1 - 0.5)), 2 * (t3 * ((t7._dy - t4) / t3 - 0.5))]); A.callMethod(t5, "uniform1f", [gl.getUniformLocation$2(0, t6, "u_radius"), _this.radius]); normalizedGradient.setupUniforms$2(gl, glProgram); gradientMatrix = gl.getUniformLocation$2(0, t6, "m_gradient"); t2 = _this.matrix4; A.callMethod(t5, "uniformMatrix4fv", [gradientMatrix, false, t2 == null ? A.Matrix4$identity().__engine$_m4storage : t2]); t2 = $.glRenderer; t1 = t2.drawRect$6(0, new A.Rect(0, 0, 0 + t1, 0 + t3), gl, glProgram, normalizedGradient, widthInPixels, heightInPixels); t1.toString; return t1; }, _createGlGradient$3(ctx, shaderBounds, density) { var t1 = ctx.createPattern(this.createImageBitmap$3(shaderBounds, density, false), "no-repeat"); t1.toString; return t1; }, _createRadialFragmentShader$3(gradient, shaderBounds, tileMode) { var fragColor, method, probeName, t1 = $._cachedWebGLVersion, builder = A.ShaderBuilder$fragment(t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1); builder.floatPrecision = 1; builder.addIn$2$name(11, "v_color"); builder.addUniform$2$name(9, "u_resolution"); builder.addUniform$2$name(9, "u_tile_offset"); builder.addUniform$2$name(2, "u_radius"); builder.addUniform$2$name(14, "m_gradient"); fragColor = builder.get$fragmentColor(); method = new A.ShaderMethod("main", A._setArrayType([], type$.JSArray_String)); builder._methods.push(method); method.addStatement$1(string$.vec2_c); method.addStatement$1(string$.vec4_l); method.addStatement$1("float dist = length(localCoord);"); method.addStatement$1("float st = abs(dist / u_radius);"); probeName = A._writeSharedGradientShader(builder, method, gradient, tileMode); method.addStatement$1(fragColor.name + " = " + probeName + " * scale + bias;"); return builder.build$0(0); } }; A.GradientConical.prototype = { createPaintStyle$3(ctx, shaderBounds, density) { var _this = this, t1 = _this.tileMode; if ((t1 === B.TileMode_0 || t1 === B.TileMode_3) && _this.focalRadius === 0 && _this.focal.$eq(0, B.Offset_0_0)) return _this._createCanvasGradient$3(ctx, shaderBounds, density); else { if ($.glRenderer == null) $.glRenderer = new A._WebGlRenderer(); return _this._createGlGradient$3(ctx, shaderBounds, density); } }, _createRadialFragmentShader$3(gradient, shaderBounds, tileMode) { var builder, fragColor, method, f, probeName, _this = this, t1 = _this.center, t2 = _this.focal, centerDistanceX = t1._dx - t2._dx, centerDistanceY = t1._dy - t2._dy, centerDistanceSq = centerDistanceX * centerDistanceX + centerDistanceY * centerDistanceY; if (centerDistanceSq < 14210854822304103e-30) return _this.super$GradientRadial$_createRadialFragmentShader(gradient, shaderBounds, tileMode); Math.sqrt(centerDistanceSq); t1 = $._cachedWebGLVersion; builder = A.ShaderBuilder$fragment(t1 == null ? $._cachedWebGLVersion = A._detectWebGLVersion() : t1); builder.floatPrecision = 1; builder.addIn$2$name(11, "v_color"); builder.addUniform$2$name(9, "u_resolution"); builder.addUniform$2$name(9, "u_tile_offset"); builder.addUniform$2$name(2, "u_radius"); builder.addUniform$2$name(14, "m_gradient"); fragColor = builder.get$fragmentColor(); method = new A.ShaderMethod("main", A._setArrayType([], type$.JSArray_String)); builder._methods.push(method); method.addStatement$1(string$.vec2_c); method.addStatement$1(string$.vec4_l); method.addStatement$1("float dist = length(localCoord);"); t1 = _this.focalRadius; f = B.JSNumber_methods.toStringAsPrecision$1(t1 / (Math.min(shaderBounds.right - shaderBounds.left, shaderBounds.bottom - shaderBounds.top) / 2), 8); method.addStatement$1(t1 === 0 ? "float st = dist / u_radius;" : "float st = ((dist / u_radius) - " + f + ") / (1.0 - " + f + ");"); if (tileMode === B.TileMode_0) method.addStatement$1("if (st < 0.0) { st = -1.0; }"); probeName = A._writeSharedGradientShader(builder, method, gradient, tileMode); method.addStatement$1(fragColor.name + " = " + probeName + " * scale + bias;"); return builder.build$0(0); } }; A.EngineImageFilter.prototype = {}; A._BlurEngineImageFilter.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A._BlurEngineImageFilter && other.tileMode === _this.tileMode && other.sigmaX === _this.sigmaX && other.sigmaY === _this.sigmaY; }, get$hashCode(_) { return A.hashValues(this.sigmaX, this.sigmaY, this.tileMode, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "ImageFilter.blur(" + this.sigmaX + ", " + this.sigmaY + ", " + this.tileMode.toString$0(0) + ")"; } }; 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; }, addOut$2$name(dataType, $name) { var varying = new A.ShaderDeclaration($name, dataType, 3); this.declarations.push(varying); return varying; }, _writeVariableDeclaration$2(sb, variable) { var t2, t3, _this = this, _s8_ = "varying ", t1 = variable.storage; switch (t1) { case 0: _this.__engine$_buffer._contents += "const "; break; case 1: if (_this.isWebGl2) t2 = "in "; else t2 = _this._isFragmentShader ? _s8_ : "attribute "; _this.__engine$_buffer._contents += t2; break; case 2: _this.__engine$_buffer._contents += "uniform "; break; case 3: t2 = _this.isWebGl2 ? "out " : _s8_; _this.__engine$_buffer._contents += t2; break; } t2 = _this.__engine$_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.__engine$_buffer._contents += "#version 300 es\n"; t2 = _this.floatPrecision; if (t2 != null) { if (t2 === 0) t2 = "lowp"; else t2 = t2 === 1 ? "mediump" : "highp"; _this.__engine$_buffer._contents += "precision " + t2 + " float;\n"; } if (t1 && _this._fragmentColorDeclaration != null) { t1 = _this._fragmentColorDeclaration; t1.toString; _this._writeVariableDeclaration$2(_this.__engine$_buffer, t1); } for (t1 = _this.declarations, t2 = t1.length, t3 = _this.__engine$_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 = { addStatement$1(statement) { this._statements.push(statement); }, addTileStatements$3(source, destination, tileMode) { var _this = this; switch (tileMode.index) { case 1: _this.addStatement$1("float " + destination + " = fract(" + source + ");"); break; case 2: _this.addStatement$1("float " + destination + " = (" + source + " - 1.0);"); _this.addStatement$1(destination + " = abs((" + destination + " - 2.0 * floor(" + destination + " * 0.5)) - 1.0);"); break; case 0: case 3: _this.addStatement$1("float " + destination + " = " + source + ";"); break; } }, get$name(receiver) { return this.name; } }; A.ShaderDeclaration.prototype = { get$name(receiver) { return this.name; } }; A.GlProgram.prototype = {}; A.GlContext.prototype = { drawImage$3(_, context, left, $top) { var t1 = this._canvas, t2 = this._widthInPixels, t3 = this._heightInPixels; A.callMethod(context, "drawImage", [t1, 0, 0, t2, t3, left, $top, t2, t3]); }, cacheProgram$2(vertexShaderSource, fragmentShaderSource) { var vertexShader, fragmentShader, t1, t2, t3, _this = this, _s12_ = "attachShader", cacheKey = vertexShaderSource + "||" + fragmentShaderSource, cachedProgram = J.$index$asx($.GlContext____programCache._readField$0(), cacheKey); if (cachedProgram == null) { vertexShader = _this.compileShader$2(0, "VERTEX_SHADER", vertexShaderSource); fragmentShader = _this.compileShader$2(0, "FRAGMENT_SHADER", fragmentShaderSource); t1 = _this.glContext; t2 = type$.Object._as(t1.createProgram()); A.callMethod(t1, _s12_, [t2, vertexShader]); A.callMethod(t1, _s12_, [t2, fragmentShader]); A.callMethod(t1, "linkProgram", [t2]); t3 = _this._kLinkStatus; if (!A._asBool(A.callMethod(t1, "getProgramParameter", [t2, t3 == null ? _this._kLinkStatus = t1.LINK_STATUS : t3]))) A.throwExpression(A.Exception_Exception(A._asStringQ(A.callMethod(t1, "getProgramInfoLog", [t2])))); cachedProgram = new A.GlProgram(t2); J.$indexSet$ax($.GlContext____programCache._readField$0(), cacheKey, cachedProgram); } return cachedProgram; }, 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._asBool(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; }, _triangleTypeFromMode$1(mode) { var t1, _this = this; switch (mode.index) { case 0: return _this.get$kTriangles(); case 2: t1 = _this._kTriangles; return t1 == null ? _this._kTriangles = _this.glContext.TRIANGLE_FAN : t1; case 1: t1 = _this._kTriangles; return t1 == null ? _this._kTriangles = _this.glContext.TRIANGLE_STRIP : t1; } }, 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$kFloat() { var t1 = this._kFloat; return t1 == null ? this._kFloat = this.glContext.FLOAT : t1; }, get$kRGBA() { var t1 = this._kRGBA; return t1 == null ? this._kRGBA = this.glContext.RGBA : t1; }, get$kUnsignedByte() { var t1 = this._kUnsignedByte; return t1 == null ? this._kUnsignedByte = this.glContext.UNSIGNED_BYTE : t1; }, get$kStaticDraw() { var t1 = this._kStaticDraw; return t1 == null ? this._kStaticDraw = this.glContext.STATIC_DRAW : t1; }, get$kTriangles() { var t1 = this._kTriangles; return t1 == null ? this._kTriangles = this.glContext.TRIANGLES : t1; }, get$kColorBufferBit() { var t1 = this._kColorBufferBit; return t1 == null ? this._kColorBufferBit = this.glContext.COLOR_BUFFER_BIT : t1; }, get$kTexture2D() { var t1 = this._kTexture2D; return t1 == null ? this._kTexture2D = this.glContext.TEXTURE_2D : t1; }, get$kTextureWrapS() { var t1 = this._kTextureWrapS; return t1 == null ? this._kTextureWrapS = this.glContext.TEXTURE_WRAP_S : t1; }, get$kTextureWrapT() { var t1 = this._kTextureWrapT; return t1 == null ? this._kTextureWrapT = this.glContext.TEXTURE_WRAP_T : t1; }, get$kClampToEdge() { var t1 = this._kClampToEdge; return t1 == null ? this._kClampToEdge = this.glContext.CLAMP_TO_EDGE : 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$0() { var canvas, _this = this, t1 = _this._canvas; if ("transferToImageBitmap" in t1) { t1.getContext("webgl2"); return _this._canvas.transferToImageBitmap(); } else { t1 = _this._widthInPixels; canvas = A.CanvasElement_CanvasElement(_this._heightInPixels, t1); _this.drawImage$3(0, canvas.getContext("2d"), 0, 0); return canvas; } } }; 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: 427 }; A.PersistedSurfaceState.prototype = { toString$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.getRuntimeType(this) === A.getRuntimeType(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) { t1 = t1.style; t1.zIndex = "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() { var t1 = this.rootElement; t1.toString; J.remove$0$ax(t1); this.rootElement = null; this.__engine$_state = B.PersistedSurfaceState_4; }, dispose$0(_) { }, defaultCreateElement$1(tagName) { var t1 = A._ElementFactoryProvider_createElement_tag(tagName, null), t2 = t1.style; t2.position = "absolute"; return t1; }, 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(_) { var t1 = this.super$Object$toString(0); return t1; } }; 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(0); 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(0); containerElement.toString; t2 = child.rootElement; t2.toString; containerElement.appendChild(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(0); newChild.__engine$_index = i; containerElement.toString; t2 = newChild.rootElement; t2.toString; containerElement.appendChild(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) { t1 = newChild.rootElement.parentElement; t2 = _this.get$childContainer(); if (t1 == null ? t2 != null : t1 !== t2) { t1 = _this.get$childContainer(); t1.toString; t2 = newChild.rootElement; t2.toString; t1.appendChild(t2); } newChild.retain$0(); A.PersistedContainerSurface__discardActiveChildren(oldSurface); return; } if (newChild instanceof A.PersistedContainerSurface && newChild._oldLayer.value != null) { oldLayer = newChild._oldLayer.value; t1 = oldLayer.rootElement.parentElement; t2 = _this.get$childContainer(); if (t1 == null ? t2 != null : t1 !== t2) { t1 = _this.get$childContainer(); t1.toString; t2 = oldLayer.rootElement; t2.toString; t1.appendChild(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); t2 = newChild.rootElement.parentElement; t3 = _this.get$childContainer(); if (t2 == null ? t3 != null : t2 !== t3) { t2 = _this.get$childContainer(); t2.toString; t3 = newChild.rootElement; t3.toString; t2.appendChild(t3); } } else { newChild.build$0(0); t2 = _this.get$childContainer(); t2.toString; t3 = newChild.rootElement; t3.toString; t2.appendChild(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, t3, 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) { t3 = newChild.rootElement.parentElement; isReparenting = t3 == null ? containerElement != null : t3 !== containerElement; newChild.retain$0(); matchedOldChild = newChild; } else if (newChild instanceof A.PersistedContainerSurface && newChild._oldLayer.value != null) { oldLayer = newChild._oldLayer.value; t3 = oldLayer.rootElement.parentElement; isReparenting = t3 == null ? containerElement != null : t3 !== containerElement; newChild.update$1(0, oldLayer); matchedOldChild = oldLayer; } else { matchedOldChild = matches.$index(0, newChild); if (matchedOldChild != null) { t3 = matchedOldChild.rootElement.parentElement; isReparenting = t3 == null ? containerElement != null : t3 !== containerElement; newChild.update$1(0, matchedOldChild); } else { newChild.build$0(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, t2, refNode, isStationary, t3, 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, t2 = type$.HtmlElement, refNode = null; i >= 0; --i, refNode = t3) { indexMapNew.toString; isStationary = B.JSArray_methods.indexOf$1(indexMapNew, i) !== -1 && B.JSArray_methods.contains$1(stationaryIndices, i); t3 = t1[i].rootElement; t3.toString; t2._as(t3); if (!isStationary) if (refNode == null) containerElement.appendChild(t3); else containerElement.insertBefore(t3, 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_empty15; 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: 455 }; A._PersistedSurfaceMatch.prototype = { toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.PrerollSurfaceContext.prototype = {}; A.PersistedTransform.prototype = { get$matrix4() { var t1 = this._matrix4; return t1 == null ? this._matrix4 = new A.Matrix40(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 t1 = $._domRenderer, element = (t1 == null ? $._domRenderer = A.DomRenderer$() : t1).createElement$1(0, "flt-transform"); A.DomRenderer_setElementStyle(element, "position", "absolute"); A.DomRenderer_setElementStyle(element, "transform-origin", "0 0 0"); return element; }, apply$0() { var t1 = this.rootElement.style, t2 = A.float64ListToCssTransform(this._matrixStorage); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); }, 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) { t1 = _this.rootElement.style; t2 = A.float64ListToCssTransform(t2); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); } 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.ImageElement_ImageElement(); imgElement.src = $async$self.src; imgElement.decoding = "async"; A.promiseToFuture(imgElement.decode(), type$.dynamic).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 errorSubscription, imgElement, t2, t1 = {}; t1.loadSubscription = null; errorSubscription = A._Cell$named("errorSubscription"); imgElement = A.ImageElement_ImageElement(); t2 = type$._ElementEventStreamImpl_Event._precomputed1; errorSubscription.__late_helper$_value = A._EventStreamSubscription$(imgElement, "error", new A.HtmlCodec__decodeUsingOnLoad_closure(t1, errorSubscription, completer), false, t2); t1.loadSubscription = A._EventStreamSubscription$(imgElement, "load", new A.HtmlCodec__decodeUsingOnLoad_closure0(t1, this, errorSubscription, imgElement, completer), false, t2); imgElement.src = this.src; }, $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 = t1.naturalWidth; naturalHeight = t1.naturalHeight; if (naturalWidth === 0) if (naturalHeight === 0) { t2 = $.$get$_browserEngine(); if (t2 !== B.BrowserEngine_2) t2 = t2 === B.BrowserEngine_4; else t2 = true; } else t2 = false; else t2 = false; if (t2) { naturalWidth = 300; naturalHeight = 300; } this.completer.complete$1(0, new A.SingleFrameInfo(new 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 t1 = this._box_0.loadSubscription; if (t1 != null) t1.cancel$0(0); J.cancel$0$z(this.errorSubscription._readLocal$0()); this.completer.completeError$1($event); }, $signature: 20 }; A.HtmlCodec__decodeUsingOnLoad_closure0.prototype = { call$1($event) { var _this = this, t1 = _this.$this.chunkCallback; if (t1 != null) t1.call$2(100, 100); _this._box_0.loadSubscription.cancel$0(0); J.cancel$0$z(_this.errorSubscription._readLocal$0()); t1 = _this.imgElement; _this.completer.complete$1(0, new A.SingleFrameInfo(new A.HtmlImage(t1, t1.naturalWidth, t1.naturalHeight))); }, $signature: 20 }; A.HtmlBlobCodec.prototype = {}; 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; }, cloneImageElement$0() { var t2, t1 = this.imgElement; if (this._requiresClone) return type$.ImageElement._as(t1.cloneNode(true)); else { this._requiresClone = true; t2 = t1.style; t2.position = "absolute"; return t1; } }, toString$0(_) { return "[" + this.width + "\xd7" + this.height + "]"; }, $isImage0: 1, get$width(receiver) { return this.width; }, get$height(receiver) { return this.height; } }; A.Keyboard.prototype = { Keyboard$_$0() { var _this = this, t1 = new A.Keyboard$__closure(_this); _this._keydownListener = t1; B.Window_methods.addEventListener$2(window, "keydown", t1); t1 = new A.Keyboard$__closure0(_this); _this._keyupListener = t1; B.Window_methods.addEventListener$2(window, "keyup", t1); $._hotRestartListeners.push(new A.Keyboard$__closure1(_this)); }, dispose$0(_) { var t1, t2, _this = this; B.Window_methods.removeEventListener$2(window, "keydown", _this._keydownListener); B.Window_methods.removeEventListener$2(window, "keyup", _this._keyupListener); for (t1 = _this._keydownTimers, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) t1.$index(0, t2.get$current(t2)).cancel$0(0); t1.clear$0(0); $.Keyboard__instance = _this._keyupListener = _this._keydownListener = null; }, _handleHtmlEvent$1($event) { var t1, t2, t3, metaState, eventData, _this = this; if (!type$.KeyboardEvent._is($event)) return; t1 = $event.code; t1.toString; t2 = $event.key; t2.toString; if (!(t2 === "Meta" || t2 === "Shift" || t2 === "Alt" || t2 === "Control")) { t2 = _this._keydownTimers; t3 = t2.$index(0, t1); if (t3 != null) t3.cancel$0(0); if ($event.type === "keydown") t3 = $event.ctrlKey || $event.shiftKey || $event.altKey || $event.metaKey; else t3 = false; if (t3) t2.$indexSet(0, t1, A.Timer_Timer(B.Duration_1000000, new A.Keyboard__handleHtmlEvent_closure(_this, t1, $event))); else t2.remove$1(0, t1); } metaState = $event.getModifierState("Shift") ? 1 : 0; if ($event.getModifierState("Alt") || $event.getModifierState("AltGraph")) metaState |= 2; if ($event.getModifierState("Control")) metaState |= 4; if ($event.getModifierState("Meta")) metaState |= 8; _this._lastMetaState = metaState; if ($event.type === "keydown") { t1 = $event.key; if (t1 === "CapsLock") { t1 = metaState | 32; _this._lastMetaState = t1; } else if ($event.code === "NumLock") { t1 = metaState | 16; _this._lastMetaState = t1; } else if (t1 === "ScrollLock") { t1 = metaState | 64; _this._lastMetaState = t1; } else t1 = metaState; } else t1 = metaState; eventData = A.LinkedHashMap_LinkedHashMap$_literal(["type", $event.type, "keymap", "web", "code", $event.code, "key", $event.key, "location", $event.location, "metaState", t1], type$.String, type$.dynamic); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/keyevent", B.C_JSONMessageCodec.encodeMessage$1(eventData), new A.Keyboard__handleHtmlEvent_closure0($event)); } }; A.Keyboard$__closure.prototype = { call$1($event) { this.$this._handleHtmlEvent$1($event); }, $signature: 25 }; A.Keyboard$__closure0.prototype = { call$1($event) { this.$this._handleHtmlEvent$1($event); }, $signature: 25 }; A.Keyboard$__closure1.prototype = { call$0() { this.$this.dispose$0(0); }, $signature: 0 }; A.Keyboard__handleHtmlEvent_closure.prototype = { call$0() { var t2, eventData, t1 = this.$this; t1._keydownTimers.remove$1(0, this.timerKey); t2 = this.event; eventData = A.LinkedHashMap_LinkedHashMap$_literal(["type", "keyup", "keymap", "web", "code", t2.code, "key", t2.key, "location", t2.location, "metaState", t1._lastMetaState], type$.String, type$.dynamic); $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/keyevent", B.C_JSONMessageCodec.encodeMessage$1(eventData), A._engine___noopCallback$closure()); }, $signature: 0 }; A.Keyboard__handleHtmlEvent_closure0.prototype = { call$1(data) { if (data == null) return; if (A._asBool(J.$index$asx(type$.Map_String_dynamic._as(B.C_JSONMessageCodec.decodeMessage$1(data)), "handled"))) this.event.preventDefault(); }, $signature: 49 }; A._kLogicalKeyToModifierGetter_closure.prototype = { call$1($event) { return $event._event.altKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure0.prototype = { call$1($event) { return $event._event.altKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure1.prototype = { call$1($event) { return $event._event.ctrlKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure2.prototype = { call$1($event) { return $event._event.ctrlKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure3.prototype = { call$1($event) { return $event._event.shiftKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure4.prototype = { call$1($event) { return $event._event.shiftKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure5.prototype = { call$1($event) { return $event._event.metaKey; }, $signature: 61 }; A._kLogicalKeyToModifierGetter_closure6.prototype = { call$1($event) { return $event._event.metaKey; }, $signature: 61 }; A.KeyboardBinding.prototype = { __engine$_addEventListener$2(_, eventName, handler) { var t1 = new A.KeyboardBinding__addEventListener_loggedHandler(handler); this.__engine$_listeners.$indexSet(0, eventName, t1); B.Window_methods.addEventListener$3(window, eventName, t1, 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; }, _setup$0() { var t1, t2, _this = this; _this.__engine$_addEventListener$2(0, "keydown", new A.KeyboardBinding__setup_closure(_this)); _this.__engine$_addEventListener$2(0, "keyup", new A.KeyboardBinding__setup_closure0(_this)); t1 = $.$get$_operatingSystem(); t2 = type$.int; _this.__KeyboardBinding__converter = new A.KeyboardConverter(_this.get$_onKeyData(), t1 === B.OperatingSystem_4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.void_Function)); } }; A.KeyboardBinding__addEventListener_loggedHandler.prototype = { call$1($event) { var t1 = $.EngineSemanticsOwner__instance; if ((t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1).receiveGlobalEvent$1($event)) return this.handler.call$1($event); return null; }, $signature: 75 }; A.KeyboardBinding__onKeyData_closure.prototype = { call$1(handled) { this._box_0.result = handled; }, $signature: 14 }; A.KeyboardBinding__setup_closure.prototype = { call$1($event) { return A._lateReadCheck(this.$this.__KeyboardBinding__converter, "_converter").handleEvent$1(new A.FlutterHtmlKeyboardEvent(type$.KeyboardEvent._as($event))); }, $signature: 20 }; A.KeyboardBinding__setup_closure0.prototype = { call$1($event) { return A._lateReadCheck(this.$this.__KeyboardBinding__converter, "_converter").handleEvent$1(new A.FlutterHtmlKeyboardEvent(type$.KeyboardEvent._as($event))); }, $signature: 20 }; A.FlutterHtmlKeyboardEvent.prototype = {}; A.KeyboardConverter.prototype = { _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 t2, _this = this, t1 = _this.onMacOs ? B.Duration_2000000 : B.Duration_1000000, cancelingCallback = _this._scheduleAsyncEvent$3(t1, new A.KeyboardConverter__startGuardingKey_closure(_this, 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 ms, timeStamp, t3, physicalKey, logicalKeyIsCharacter, character, logicalKey, isPhysicalDown, lastLogicalRecord, type, nextLogicalRecord, _this = this, _null = null, t1 = $event._event, t2 = t1.timeStamp; t2.toString; ms = B.JSNumber_methods.toInt$0(t2); timeStamp = A.Duration$(0, 0, B.JSNumber_methods.toInt$0((t2 - ms) * 1000), ms, 0); t2 = t1.key; t2.toString; t3 = t1.code; t3.toString; physicalKey = B.Map_KP6BJ.$index(0, t3); if (physicalKey == null) physicalKey = B.JSString_methods.get$hashCode(t3) + 98784247808; t3 = B.JSString_methods._codeUnitAt$1(t2, 0); if (!(t3 >= 97 && t3 <= 122)) t3 = t3 >= 65 && t3 <= 90; else t3 = true; logicalKeyIsCharacter = !(t3 && t2.length > 1); if (logicalKeyIsCharacter) character = t2; else character = _null; logicalKey = new A.KeyboardConverter__handleEvent_closure($event, character, t2, physicalKey).call$0(); if (t1.type !== "keydown") if (_this.onMacOs) { t2 = t1.code; t2.toString; t2 = t2 === "CapsLock"; isPhysicalDown = t2; } else isPhysicalDown = false; else isPhysicalDown = true; t2 = _this._pressingRecords; lastLogicalRecord = t2.$index(0, physicalKey); if (_this.onMacOs) { t3 = t1.code; 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) if (lastLogicalRecord != null) { t3 = t1.repeat; if (t3 !== true) { t1.preventDefault(); return; } type = B.KeyEventType_2; } else type = B.KeyEventType_0; else { if (lastLogicalRecord == null) { t1.preventDefault(); return; } type = B.KeyEventType_1; } switch (type.index) { case 0: nextLogicalRecord = logicalKey; break; case 1: nextLogicalRecord = _null; break; case 2: nextLogicalRecord = lastLogicalRecord; break; default: nextLogicalRecord = _null; } t3 = nextLogicalRecord == null; if (t3) t2.remove$1(0, physicalKey); else t2.$indexSet(0, physicalKey, nextLogicalRecord); $.$get$_kLogicalKeyToModifierGetter().forEach$1(0, new A.KeyboardConverter__handleEvent_closure2(_this, $event, timeStamp)); if (logicalKeyIsCharacter) if (!t3) _this._startGuardingKey$3(physicalKey, logicalKey, timeStamp); else { t2 = _this._keyGuards.remove$1(0, physicalKey); if (t2 != null) t2.call$0(); } t2 = lastLogicalRecord == null ? logicalKey : 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; } } }; 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: 27 }; A.KeyboardConverter__scheduleAsyncEvent_closure0.prototype = { call$0() { this._box_0.canceled = true; }, $signature: 0 }; A.KeyboardConverter__startGuardingKey_closure.prototype = { call$0() { var _this = this, t1 = _this.$this.onMacOs ? B.Duration_2000000 : B.Duration_1000000; return new A.KeyData(new A.Duration(_this.currentTimeStamp._duration + t1._duration), B.KeyEventType_1, _this.physicalKey, _this.logicalKey, null, true); }, $signature: 288 }; 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 result, altDown, ctrlDown, shiftDown, metaDown, t3, t4, _this = this, t1 = _this.event._event, t2 = t1.key; t2.toString; if (B.Map_8TmdZ.containsKey$1(0, t2)) { t2 = t1.key; t2.toString; t2 = B.Map_8TmdZ.$index(0, t2); result = t2 == null ? null : t2[t1.location]; result.toString; return result; } t2 = _this.character; if (t2 != null) { result = B.JSString_methods._codeUnitAt$1(t2, 0) & 65535; if (t2.length === 2) result += B.JSString_methods._codeUnitAt$1(t2, 1) << 16 >>> 0; return result >= 65 && result <= 90 ? result + 97 - 65 : result; } t2 = _this.eventKey; if (t2 === "Dead") { altDown = t1.altKey; ctrlDown = t1.ctrlKey; shiftDown = t1.shiftKey; metaDown = t1.metaKey; t1 = altDown ? 1073741824 : 0; t2 = ctrlDown ? 268435456 : 0; t3 = shiftDown ? 536870912 : 0; t4 = metaDown ? 2147483648 : 0; return _this.physicalKey + (t1 + t2 + t3 + t4) + 98784247808; } t1 = B.Map_0mogo.$index(0, t2); return t1 == null ? B.JSString_methods.get$hashCode(t2) + 98784247808 : t1; }, $signature: 111 }; A.KeyboardConverter__handleEvent_closure0.prototype = { call$0() { return new A.KeyData(this.timeStamp, B.KeyEventType_1, this.physicalKey, this.logicalKey, null, true); }, $signature: 288 }; A.KeyboardConverter__handleEvent_closure1.prototype = { call$0() { this.$this._pressingRecords.remove$1(0, this.physicalKey); }, $signature: 0 }; A.KeyboardConverter__handleEvent_closure2.prototype = { call$2(logicalKey, getModifier) { var t1 = this.$this, t2 = t1._pressingRecords; if (t2.containsValue$1(0, logicalKey) && !getModifier.call$1(this.event)) t2.removeWhere$1(t2, new A.KeyboardConverter__handleEvent__closure(t1, logicalKey, this.timeStamp)); }, $signature: 583 }; A.KeyboardConverter__handleEvent__closure.prototype = { call$2(physicalKey, logicalRecord) { var t1 = this.logicalKey; 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: 625 }; A.KeyboardConverter_handleEvent_closure.prototype = { call$1(data) { this._box_0.sentAnyEvents = true; return this.$this.performDispatchKeyData.call$1(data); }, $signature: 211 }; A.MouseCursor.prototype = {}; A.BrowserHistory.prototype = { get$_unsubscribe() { return A._lateReadCheck(this.__BrowserHistory__unsubscribe, "_unsubscribe"); }, _setupStrategy$1(strategy) { this.__BrowserHistory__unsubscribe = strategy.addPopStateListener$1(0, type$.dynamic_Function_Event._as(this.get$onPopState(this))); }, 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(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._setupStrategy$1(strategy); 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 = _this.get$_currentSerialCount(); }, get$_currentSerialCount() { if (this._hasSerialCount$1(this.get$currentState())) { var t1 = this.get$currentState(); t1.toString; return A._asInt(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, _s20_ = "_lastSeenSerialCount", t1 = this.urlStrategy; if (t1 != null) { t2 = type$.dynamic; t3 = this.__MultiEntriesBrowserHistory__lastSeenSerialCount; if (replace) { t2 = A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", A._lateReadCheck(t3, _s20_), "state", state], t2, t2); routeName.toString; t1.replaceState$3(0, t2, "flutter", routeName); } else { t3 = A._lateReadCheck(t3, _s20_) + 1; this.__MultiEntriesBrowserHistory__lastSeenSerialCount = t3; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", A._lateReadCheck(t3, _s20_), "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(_, $event) { var t1, t2, t3, t4, _this = this; if (!_this._hasSerialCount$1(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.state, true))) { t1 = _this.urlStrategy; t1.toString; t2 = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.state, true); t3 = type$.dynamic; t1.replaceState$3(0, A.LinkedHashMap_LinkedHashMap$_literal(["serialCount", A._lateReadCheck(_this.__MultiEntriesBrowserHistory__lastSeenSerialCount, "_lastSeenSerialCount") + 1, "state", t2], t3, t3), "flutter", _this.get$currentPath()); } _this.__MultiEntriesBrowserHistory__lastSeenSerialCount = _this.get$_currentSerialCount(); t1 = $.$get$EnginePlatformDispatcher__instance(); t2 = _this.get$currentPath(); t3 = new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.state, true); t3 = t3 == null ? null : J.$index$asx(t3, "state"); t4 = type$.dynamic; t1.invokeOnPlatformMessage$3("flutter/navigation", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall0("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(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: 49 }; A.SingleEntryBrowserHistory.prototype = { SingleEntryBrowserHistory$1$urlStrategy(urlStrategy) { var path, _this = this, strategy = _this.urlStrategy; if (strategy == null) return; _this._setupStrategy$1(strategy); path = _this.get$currentPath(); if (!A.SingleEntryBrowserHistory__isFlutterEntry(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(window.history.state, true))) { strategy.replaceState$3(0, A.LinkedHashMap_LinkedHashMap$_literal(["origin", true, "state", _this.get$currentState()], type$.String, type$.dynamic), "origin", ""); _this._setupFlutterEntry$3$path$replace(strategy, path, false); } }, 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(_, $event) { var t1, _this = this, _s18_ = "flutter/navigation"; if (A.SingleEntryBrowserHistory__isOriginEntry(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.state, true))) { 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(new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.state, true))) { t1 = _this._userProvidedRouteName; t1.toString; _this._userProvidedRouteName = null; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3(_s18_, B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall0("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$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(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: 49 }; A.SingleEntryBrowserHistory_onPopState_closure0.prototype = { call$1(_) { }, $signature: 49 }; A.JsUrlStrategy.prototype = {}; A.UrlStrategy.prototype = {}; A.HashUrlStrategy.prototype = { addPopStateListener$1(_, fn) { B.Window_methods.addEventListener$2(window, "popstate", fn); return new A.HashUrlStrategy_addPopStateListener_closure(this, fn); }, getPath$0(_) { var path = window.location.hash; if (path.length === 0 || path === "#") return "/"; return B.JSString_methods.substring$1(path, 1); }, getState$0(_) { return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(window.history.state, true); }, prepareExternalUrl$1(_, internalUrl) { var t1, t2; if (internalUrl.length === 0) { t1 = window.location.pathname; t1.toString; t2 = window.location.search; t2.toString; t2 = t1 + t2; t1 = t2; } else t1 = "#" + internalUrl; return t1; }, pushState$3(_, state, title, url) { var t1 = this.prepareExternalUrl$1(0, url); window.history.pushState(new A._StructuredCloneDart2Js([], []).walk$1(state), title, t1); }, replaceState$3(_, state, title, url) { var t1 = this.prepareExternalUrl$1(0, url); window.history.replaceState(new A._StructuredCloneDart2Js([], []).walk$1(state), title, t1); }, go$1(_, count) { 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(0, new A.HashUrlStrategy__waitForPopState_closure(unsubscribe, new A._AsyncCompleter(t1, type$._AsyncCompleter_void))); return t1; } }; A.HashUrlStrategy_addPopStateListener_closure.prototype = { call$0() { B.Window_methods.removeEventListener$2(window, "popstate", this.fn); return null; }, $signature: 0 }; A.HashUrlStrategy__waitForPopState_closure.prototype = { call$1(_) { this.unsubscribe._readLocal$0().call$0(); this.completer.complete$0(0); }, $signature: 25 }; A.CustomUrlStrategy.prototype = { addPopStateListener$1(_, fn) { return J.addPopStateListener$1$x(this.delegate, fn); }, getPath$0(_) { return J.getPath$0$x(this.delegate); }, getState$0(_) { return J.getState$0$x(this.delegate); }, pushState$3(_, state, title, url) { return J.pushState$3$x(this.delegate, state, title, url); }, replaceState$3(_, state, title, url) { return J.replaceState$3$x(this.delegate, state, title, url); }, go$1(_, count) { return J.go$1$x(this.delegate, count); } }; A.PlatformLocation.prototype = {}; A.BrowserPlatformLocation.prototype = {}; A.EnginePictureRecorder.prototype = { beginRecording$1(_, bounds) { var t1, t2; this.__EnginePictureRecorder_cullRect = bounds; this._isRecording = true; t1 = A._lateReadCheck(bounds, "cullRect"); t2 = A._setArrayType([], type$.JSArray_PaintCommand); return this._canvas = new A.RecordingCanvas(new A._PaintBounds(t1, A._setArrayType([], type$.JSArray_Matrix4), A._setArrayType([], type$.JSArray_nullable_Rect), A.Matrix4$identity()), t2, new A.RenderStrategy()); }, get$isRecording() { return this._isRecording; }, endRecording$0() { var t1, _this = this; if (!_this._isRecording) _this.beginRecording$1(0, B.Rect_aha); _this._isRecording = false; t1 = _this._canvas; t1._pictureBounds = t1._paintBounds.computeBounds$0(); t1._recordingEnded = true; t1 = _this._canvas; A._lateReadCheck(_this.__EnginePictureRecorder_cullRect, "cullRect"); return new A.EnginePicture(t1); } }; A.EnginePicture.prototype = { dispose$0(_) { } }; A.EnginePlatformDispatcher.prototype = { 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, bytes, methodNameLength, t2, 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)"; if ($name === "dev.flutter/channel-buffers") try { t1 = $.$get$channelBuffers(); bytes = A.NativeUint8List_NativeUint8List$view(data.buffer, data.byteOffset, data.byteLength); if (bytes[0] === 7) { methodNameLength = bytes[1]; if (methodNameLength >= 254) A.throwExpression(A.Exception_Exception("Unrecognized message sent to dev.flutter/channel-buffers (method name too long)")); t2 = 2 + methodNameLength; methodName = B.C_Utf8Codec.decode$1(0, B.NativeUint8List_methods.sublist$2(bytes, 2, t2)); switch (methodName) { case "resize": if (bytes[t2] !== 12) A.throwExpression(A.Exception_Exception(_s143_)); index = t2 + 1; if (bytes[index] < 2) A.throwExpression(A.Exception_Exception(_s143_)); ++index; if (bytes[index] !== 7) A.throwExpression(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) A.throwExpression(A.Exception_Exception("Invalid arguments for 'resize' method sent to dev.flutter/channel-buffers (channel name must be less than 254 characters long)")); ++index; t2 = index + channelNameLength; channelName = B.C_Utf8Codec.decode$1(0, B.NativeUint8List_methods.sublist$2(bytes, index, t2)); if (bytes[t2] !== 3) A.throwExpression(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)")); t1.resize$2(0, channelName, data.getUint32(t2 + 1, B.C_Endian === $.$get$Endian_host())); break; case "overflow": if (bytes[t2] !== 12) A.throwExpression(A.Exception_Exception(_s143_0)); index = t2 + 1; if (bytes[index] < 2) A.throwExpression(A.Exception_Exception(_s143_0)); ++index; if (bytes[index] !== 7) A.throwExpression(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) A.throwExpression(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) A.throwExpression(A.Exception_Exception("Invalid arguments for 'overflow' method sent to dev.flutter/channel-buffers (second argument must be a boolean)")); break; default: A.throwExpression(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")) t1.resize$2(0, parts[1], A.int_parse(parts[2], null)); else A.throwExpression(A.Exception_Exception("Unrecognized message " + A.S(parts) + " sent to dev.flutter/channel-buffers.")); } } finally { callback.call$1(null); } else $.$get$channelBuffers().push$3($name, data, callback); }, _sendPlatformMessage$3($name, data, callback) { var decoded, t1, cacheSizeInBytes, url, type, $navigator, $arguments, label, primaryColor, theme, e, t2, _this = this; switch ($name) { case "flutter/skia": decoded = B.C_JSONMethodCodec.decodeMethodCall$1(data); switch (decoded.method) { case "Skia.setResourceCacheMaxBytes": t1 = A._detectRenderer(); if (t1) { cacheSizeInBytes = A._asInt(decoded.$arguments); _this.get$rasterizer().toString; t1 = A.SurfaceFactory_instance().baseSurface; t1._skiaCacheBytes = cacheSizeInBytes; t1._syncCacheBytes$0(); } _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([A._setArrayType([true], type$.JSArray_bool)])); break; } return; case "flutter/assets": url = B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(data.buffer, 0, null)); $._assetManager.load$1(0, url).then$1$2$onError(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure(_this, callback), new A.EnginePlatformDispatcher__sendPlatformMessage_closure0(_this, callback), type$.Null); return; case "flutter/platform": decoded = B.C_JSONMethodCodec.decodeMethodCall$1(data); switch (decoded.method) { case "SystemNavigator.pop": _this._windows.$index(0, 0).get$browserHistory().exit$0().then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure1(_this, callback), type$.Null); return; case "HapticFeedback.vibrate": type = A._asStringQ(decoded.$arguments); if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = _this._getHapticFeedbackDuration$1(type); $navigator = 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_String_dynamic._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; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = document; t1.title = label; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); theme = type$.nullable_MetaElement._as(t1.querySelector("#flutterweb-theme")); if (theme == null) { theme = t1.createElement("meta"); theme.id = "flutterweb-theme"; theme.name = "theme-color"; t1.head.appendChild(theme); } t1 = A.colorToCssString(new A.Color(primaryColor >>> 0)); t1.toString; theme.content = t1; _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "SystemChrome.setPreferredOrientations": $arguments = type$.List_dynamic._as(decoded.$arguments); t1 = $._domRenderer; (t1 == null ? $._domRenderer = A.DomRenderer$() : t1).setPreferredOrientation$1($arguments).then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure2(_this, callback), type$.Null); return; case "SystemSound.play": _this.replyToPlatformMessage$2(callback, B.C_JSONMessageCodec.encodeMessage$1([true])); return; case "Clipboard.setData": t1 = window.navigator.clipboard != null ? new A.ClipboardAPICopyStrategy() : new A.ExecCommandCopyStrategy(); new A.ClipboardMessageHandler(t1, A.PasteFromClipboardStrategy_PasteFromClipboardStrategy()).setDataMethodCall$2(decoded, callback); return; case "Clipboard.getData": t1 = window.navigator.clipboard != null ? new A.ClipboardAPICopyStrategy() : new A.ExecCommandCopyStrategy(); new A.ClipboardMessageHandler(t1, A.PasteFromClipboardStrategy_PasteFromClipboardStrategy()).getDataMethodCall$1(callback); return; } break; case "flutter/service_worker": t1 = window; e = document.createEvent("Event"); e.initEvent("flutter-first-frame", true, true); t1.dispatchEvent(e); return; case "flutter/textinput": t1 = $.$get$textEditing(); t1.get$channel(t1).handleTextInput$2(data, callback); return; case "flutter/mousecursor": decoded = B.C_StandardMethodCodec0.decodeMethodCall$1(data); $arguments = type$.Map_dynamic_dynamic._as(decoded.$arguments); switch (decoded.method) { case "activateSystemCursor": $.MouseCursor__instance.toString; t1 = A._asStringQ(J.$index$asx($arguments, "kind")); t2 = $._domRenderer; t2 = (t2 == null ? $._domRenderer = A.DomRenderer$() : t2)._glassPaneElement; t2.toString; t1 = B.Map_gFKQ1.$index(0, t1); A.DomRenderer_setElementStyle(t2, "cursor", t1 == null ? "default" : t1); 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": t1 = _this._platformViewMessageHandler; if (t1 == null) t1 = _this._platformViewMessageHandler = new A.PlatformViewMessageHandler($.$get$platformViewManager(), new A.EnginePlatformDispatcher__sendPlatformMessage_closure3()); callback.toString; t1.handlePlatformViewCall$2(data, callback); return; case "flutter/accessibility": $.$get$accessibilityAnnouncements().handleMessage$2(B.C_StandardMessageCodec0, data); _this.replyToPlatformMessage$2(callback, B.C_StandardMessageCodec0.encodeMessage$1(true)); return; case "flutter/navigation": _this._windows.$index(0, 0).handleNavigationMessage$1(data).then$1$1(0, new A.EnginePlatformDispatcher__sendPlatformMessage_closure4(_this, callback), type$.Null); _this._defaultRouteName = "/"; return; } t1 = $.pluginMessageCallHandler; if (t1 != null) { t1.call$3($name, data, callback); return; } _this.replyToPlatformMessage$2(callback, null); }, _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) { var t1 = A._detectRenderer(); if (t1) { A.frameTimingsOnBuildFinish(); A.frameTimingsOnRasterStart(); type$.LayerScene._as(scene); this.get$rasterizer().draw$1(scene.layerTree); } else { type$.SurfaceScene._as(scene); t1 = $._domRenderer; if (t1 == null) t1 = $._domRenderer = A.DomRenderer$(); t1.renderScene$1(scene.webOnlyRootElement); } A.frameTimingsOnRasterFinish(); }, _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); } }, _addBrightnessMediaQueryListener$0() { var t2, _this = this, t1 = _this._brightnessMediaQuery; _this._updatePlatformBrightness$1(t1.matches ? B.Brightness_0 : B.Brightness_1); t2 = new A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure(_this); _this._brightnessMediaQueryListener = t2; B.MediaQueryList_methods.addListener$1(t1, t2); $._hotRestartListeners.push(new A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0(_this)); }, get$defaultRouteName() { var t1 = this._defaultRouteName; return t1 == null ? this._defaultRouteName = this._windows.$index(0, 0).get$browserHistory().get$currentPath() : t1; }, get$rasterizer() { var t1, value = this.__EnginePlatformDispatcher_rasterizer; if (value === $) { t1 = A._detectRenderer(); value = this.__EnginePlatformDispatcher_rasterizer = t1 ? new A.Rasterizer(new A.CompositorContext(), A._setArrayType([], type$.JSArray_of_void_Function)) : null; } return value; }, 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_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$1$2(this.callback, data, type$.nullable_ByteData); }, $signature: 49 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure.prototype = { call$1(assetData) { this.$this.replyToPlatformMessage$2(this.callback, assetData); }, $signature: 640 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure0.prototype = { call$1(error) { $.$get$printWarning().call$1("Error while trying to load an asset: " + A.S(error)); this.$this.replyToPlatformMessage$2(this.callback, null); }, $signature: 5 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure1.prototype = { call$1(_) { this.$this.replyToPlatformMessage$2(this.callback, B.C_JSONMessageCodec.encodeMessage$1([true])); }, $signature: 27 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure2.prototype = { call$1(success) { this.$this.replyToPlatformMessage$2(this.callback, B.C_JSONMessageCodec.encodeMessage$1([success])); }, $signature: 97 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure3.prototype = { call$1($content) { var t1 = $._domRenderer; (t1 == null ? $._domRenderer = A.DomRenderer$() : t1)._glassPaneElement.appendChild($content); }, $signature: 651 }; A.EnginePlatformDispatcher__sendPlatformMessage_closure4.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: 97 }; A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure.prototype = { call$1($event) { var t1 = type$.MediaQueryListEvent._as($event).matches; t1.toString; t1 = t1 ? B.Brightness_0 : B.Brightness_1; this.$this._updatePlatformBrightness$1(t1); }, $signature: 25 }; A.EnginePlatformDispatcher__addBrightnessMediaQueryListener_closure0.prototype = { call$0() { var t1 = this.$this; B.MediaQueryList_methods.removeListener$1(t1._brightnessMediaQuery, t1._brightnessMediaQueryListener); t1._brightnessMediaQueryListener = null; }, $signature: 0 }; A.EnginePlatformDispatcher_replyToPlatformMessage_closure.prototype = { call$1(_) { var t1 = this.callback; if (t1 != null) t1.call$1(this.data); }, $signature: 27 }; A.invoke2_closure.prototype = { call$0() { this.callback.call$2(this.arg1, this.arg2); }, $signature: 0 }; A.invoke3_closure.prototype = { call$0() { var _this = this; _this.callback.call$3(_this.arg1, _this.arg2, _this.arg3); }, $signature: 0 }; A.PlatformViewManager.prototype = { registerFactory$2(viewType, factoryFunction) { var t1 = this._factories; if (t1.containsKey$1(0, viewType)) return false; t1.$indexSet(0, viewType, factoryFunction); return true; }, renderContent$3(viewType, viewId, params) { return this.__engine$_contents.putIfAbsent$2(0, viewId, new A.PlatformViewManager_renderContent_closure(this, "flt-pv-slot-" + viewId, viewType, viewId, params)); }, _safelyRemoveSlottedElement$1(element) { var t1, tombstoneName, slot; if (element == null) return; t1 = $.$get$_browserEngine(); if (t1 !== B.BrowserEngine_1) { J.remove$0$ax(element); return; } tombstoneName = "tombstone-" + A.S(element.getAttribute("slot")); slot = document.createElement("slot"); t1 = slot.style; t1.display = "none"; slot.setAttribute("name", tombstoneName); t1 = $._domRenderer; (t1 == null ? $._domRenderer = A.DomRenderer$() : t1)._glassPaneShadow.append$1(0, slot); element.setAttribute("slot", tombstoneName); J.remove$0$ax(element); J.remove$0$ax(slot); } }; A.PlatformViewManager_renderContent_closure.prototype = { call$0() { var t1, t2, $content, t3, _this = this, wrapper = document.createElement("flt-platform-view"); wrapper.setAttribute("slot", _this.slotName); t1 = _this.viewType; t2 = _this.$this._factories.$index(0, t1); t2.toString; $content = A._Cell$named("content"); t3 = _this.viewId; if (type$.Element_Function_int_$named_params_nullable_Object._is(t2)) $content.__late_helper$_value = t2.call$2$params(t3, _this.params); else $content.__late_helper$_value = type$.Element_Function_int._as(t2).call$1(t3); t2 = $content._readLocal$0(); if (t2.style.height.length === 0) { $.$get$printWarning().call$1("Height of Platform View type: [" + t1 + "] may not be set. Defaulting to `height: 100%`.\nSet `style.height` to any appropriate value to stop this message."); t3 = t2.style; t3.height = "100%"; } if (t2.style.width.length === 0) { $.$get$printWarning().call$1("Width of Platform View type: [" + t1 + "] may not be set. Defaulting to `width: 100%`.\nSet `style.width` to any appropriate value to stop this message."); t1 = t2.style; t1.width = "100%"; } wrapper.appendChild($content._readLocal$0()); return wrapper; }, $signature: 678 }; A.PlatformViewMessageHandler.prototype = { _createPlatformView$2(methodCall, callback) { var args = type$.Map_dynamic_dynamic._as(methodCall.$arguments), t1 = J.getInterceptor$asx(args), viewId = A._asInt(t1.$index(args, "id")), viewType = A._asString(t1.$index(args, "viewType")); t1 = this._contentManager; if (!t1._factories.containsKey$1(0, viewType)) { callback.call$1(B.C_StandardMethodCodec0.encodeErrorEnvelope$3$code$details$message("unregistered_view_type", "unregistered view type: " + viewType, "trying to create a view with an unregistered type")); return; } if (t1.__engine$_contents.containsKey$1(0, viewId)) { callback.call$1(B.C_StandardMethodCodec0.encodeErrorEnvelope$3$code$details$message("recreating_view", "view id: " + viewId, "trying to create an already created view")); return; } this._contentHandler.call$1(t1.renderContent$3(viewType, viewId, args)); callback.call$1(B.C_StandardMethodCodec0.encodeSuccessEnvelope$1(null)); }, handlePlatformViewCall$2(data, callback) { var t1, decoded = B.C_StandardMethodCodec0.decodeMethodCall$1(data); switch (decoded.method) { case "create": this._createPlatformView$2(decoded, callback); return; case "dispose": t1 = this._contentManager; t1._safelyRemoveSlottedElement$1(t1.__engine$_contents.remove$1(0, A._asInt(decoded.$arguments))); callback.call$1(B.C_StandardMethodCodec0.encodeSuccessEnvelope$1(null)); return; } callback.call$1(null); } }; A.PointerBinding.prototype = { _createAdapter$0() { var t1, _this = this; if ("PointerEvent" in window) { t1 = new A._PointerAdapter(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._ButtonSanitizer), _this.glassPaneElement, _this.get$_onPointerData(), _this._pointerDataConverter); t1.setup$0(); return t1; } if ("TouchEvent" in window) { t1 = new A._TouchAdapter(A.LinkedHashSet_LinkedHashSet$_empty(type$.int), _this.glassPaneElement, _this.get$_onPointerData(), _this._pointerDataConverter); t1.setup$0(); return t1; } if ("MouseEvent" in window) { t1 = new A._MouseAdapter(new A._ButtonSanitizer(), _this.glassPaneElement, _this.get$_onPointerData(), _this._pointerDataConverter); t1.setup$0(); return t1; } throw A.wrapException(A.UnsupportedError$("This browser does not support pointer, touch, or mouse events.")); }, _onPointerData$1(data) { var t1 = A._setArrayType(data.slice(0), A._arrayInstanceType(data)), t2 = $.$get$EnginePlatformDispatcher__instance(); A.invoke1(t2._onPointerDataPacket, t2._onPointerDataPacketZone, new A.PointerDataPacket(t1), type$.PointerDataPacket); } }; A.PointerSupportDetector.prototype = { toString$0(_) { return "pointers:" + ("PointerEvent" in window) + ", touch:" + ("TouchEvent" in window) + ", mouse:" + ("MouseEvent" in window); } }; A._BaseAdapter.prototype = { addEventListener$3$acceptOutsideGlasspane(_, eventName, handler, acceptOutsideGlasspane) { var t1 = new A._BaseAdapter_addEventListener_loggedHandler(this, acceptOutsideGlasspane, handler); $._BaseAdapter__listeners.$indexSet(0, eventName, t1); B.Window_methods.addEventListener$3(window, eventName, t1, true); }, addEventListener$2($receiver, eventName, handler) { return this.addEventListener$3$acceptOutsideGlasspane($receiver, eventName, handler, false); } }; A._BaseAdapter_addEventListener_loggedHandler.prototype = { call$1($event) { var t1; if (!this.acceptOutsideGlasspane && !this.$this.glassPaneElement.contains(type$.nullable_Node._as(J.get$target$x($event)))) return null; t1 = $.EngineSemanticsOwner__instance; if ((t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1).receiveGlobalEvent$1($event)) this.handler.call$1($event); }, $signature: 75 }; A._WheelEventListenerMixin.prototype = { _addWheelEventListener$1(handler) { var eventOptions = {}, jsHandler = A.allowInterop(new A._WheelEventListenerMixin__addWheelEventListener_closure(handler)); $._BaseAdapter__nativeListeners.$indexSet(0, "wheel", jsHandler); eventOptions.passive = false; A.callMethod(this.glassPaneElement, "addEventListener", ["wheel", jsHandler, eventOptions]); }, _handleWheelEvent$1(e) { var deltaX, deltaY, t1, probe, t2, fontSize, res, data, t3, t4, t5, t6; type$.WheelEvent._as(e); deltaX = B.WheelEvent_methods.get$deltaX(e); deltaY = B.WheelEvent_methods.get$deltaY(e); switch (B.WheelEvent_methods.get$deltaMode(e)) { case 1: t1 = $._WheelEventListenerMixin__defaultScrollLineHeight; if (t1 == null) { t1 = document; probe = t1.createElement("div"); t2 = probe.style; t2.fontSize = "initial"; t2.display = "none"; t1.body.appendChild(probe); fontSize = B.DivElement_methods.getComputedStyle$0(probe).fontSize; if (B.JSString_methods.contains$1(fontSize, "px")) res = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(fontSize, "px", "")); else res = null; B.DivElement_methods.remove$0(probe); t1 = $._WheelEventListenerMixin__defaultScrollLineHeight = res == null ? 16 : res / 4; } deltaX *= t1; deltaY *= t1; break; case 2: t1 = $.$get$window(); deltaX *= t1.get$physicalSize()._dx; deltaY *= t1.get$physicalSize()._dy; break; case 0: default: break; } data = A._setArrayType([], type$.JSArray_PointerData); t1 = e.timeStamp; t1.toString; t1 = A._BaseAdapter__eventTimeStampToDuration(t1); t2 = e.clientX; e.clientY; t3 = $.$get$window(); t4 = t3._debugDevicePixelRatio; if (t4 == null) t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); e.clientX; t5 = e.clientY; t3 = t3._debugDevicePixelRatio; if (t3 == null) t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t6 = e.buttons; t6.toString; this._pointerDataConverter.convert$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$timeStamp(data, t6, B.PointerChange_3, -1, B.PointerDeviceKind_1, t2 * t4, t5 * t3, 1, 1, 0, deltaX, deltaY, B.PointerSignalKind_1, t1); this.__engine$_callback.call$1(data); if (e.getModifierState("Control")) { t1 = $.$get$_operatingSystem(); if (t1 !== B.OperatingSystem_4) t1 = t1 !== B.OperatingSystem_0; else t1 = false; } else t1 = false; if (t1) return; e.preventDefault(); } }; A._WheelEventListenerMixin__addWheelEventListener_closure.prototype = { call$1($event) { return this.handler.call$1($event); }, $signature: 75 }; A._SanitizedDetails.prototype = { toString$0(_) { return A.getRuntimeType(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; }, 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 ($event.pointerType === "touch") this._sanitizers.remove$1(0, $event.pointerId); }, _addPointerEventListener$3$acceptOutsideGlasspane(eventName, handler, acceptOutsideGlasspane) { this.addEventListener$3$acceptOutsideGlasspane(0, eventName, new A._PointerAdapter__addPointerEventListener_closure(handler), acceptOutsideGlasspane); }, _addPointerEventListener$2(eventName, handler) { return this._addPointerEventListener$3$acceptOutsideGlasspane(eventName, handler, false); }, setup$0() { var _this = this; _this._addPointerEventListener$2("pointerdown", new A._PointerAdapter_setup_closure(_this)); _this._addPointerEventListener$3$acceptOutsideGlasspane("pointermove", new A._PointerAdapter_setup_closure0(_this), true); _this._addPointerEventListener$3$acceptOutsideGlasspane("pointerup", new A._PointerAdapter_setup_closure1(_this), true); _this._addPointerEventListener$2("pointercancel", new A._PointerAdapter_setup_closure2(_this)); _this._addWheelEventListener$1(new A._PointerAdapter_setup_closure3(_this)); }, _convertEventsToPointerData$3$data$details$event(data, details, $event) { var kind, t2, timeStamp, pressure, t3, t4, t5, t6, t7, t1 = $event.pointerType; t1.toString; kind = this._pointerTypeToDeviceKind$1(t1); t1 = $event.tiltX; t1.toString; t2 = $event.tiltY; t2.toString; if (!(Math.abs(t1) > Math.abs(t2))) t1 = t2; t2 = $event.timeStamp; t2.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t2); pressure = $event.pressure; t2 = this._getPointerId$1($event); t3 = $event.clientX; $event.clientY; t4 = $.$get$window(); t5 = t4._debugDevicePixelRatio; if (t5 == null) t5 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); $event.clientX; t6 = $event.clientY; t4 = t4._debugDevicePixelRatio; if (t4 == null) t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t7 = pressure == null ? 0 : pressure; this._pointerDataConverter.convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$signalKind$tilt$timeStamp(data, details.buttons, details.change, t2, kind, t3 * t5, t6 * t4, t7, 1, 0, B.PointerSignalKind_0, t1 / 180 * 3.141592653589793, timeStamp); }, _expandEvents$1($event) { var coalescedEvents; if ("getCoalescedEvents" in $event) { coalescedEvents = J.cast$1$0$ax($event.getCoalescedEvents(), type$.PointerEvent); if (!coalescedEvents.get$isEmpty(coalescedEvents)) return coalescedEvents; } return A._setArrayType([$event], type$.JSArray_PointerEvent); }, _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_4; } }, _getPointerId$1($event) { var t1 = $event.pointerType; t1.toString; if (this._pointerTypeToDeviceKind$1(t1) === B.PointerDeviceKind_1) t1 = -1; else { t1 = $event.pointerId; t1.toString; } return t1; } }; A._PointerAdapter__ensureSanitizer_closure.prototype = { call$0() { return new A._ButtonSanitizer(); }, $signature: 737 }; A._PointerAdapter__addPointerEventListener_closure.prototype = { call$1($event) { return this.handler.call$1(type$.PointerEvent._as($event)); }, $signature: 75 }; 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 = $event.buttons; t2.toString; up = sanitizer.sanitizeMissingRightClickUp$1$buttons(t2); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, $event); t2 = $event.button; t3 = $event.buttons; t3.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, sanitizer.sanitizeDownEvent$2$button$buttons(t2, t3), $event); t1.__engine$_callback.call$1(pointerData); }, $signature: 108 }; 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; t4.toString; up = sanitizer.sanitizeMissingRightClickUp$1$buttons(t4); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, t3); t4 = t3.buttons; t4.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, sanitizer.sanitizeMoveEvent$1$buttons(t4), t3); } t1.__engine$_callback.call$1(pointerData); }, $signature: 108 }; A._PointerAdapter_setup_closure1.prototype = { call$1($event) { var details, t1 = this.$this, device = t1._getPointerId$1($event), pointerData = A._setArrayType([], type$.JSArray_PointerData), t2 = t1._sanitizers.$index(0, device); t2.toString; details = t2.sanitizeUpEvent$1$buttons($event.buttons); t1._removePointerIfUnhoverable$1($event); if (details != null) { t1._convertEventsToPointerData$3$data$details$event(pointerData, details, $event); t1.__engine$_callback.call$1(pointerData); } }, $signature: 108 }; A._PointerAdapter_setup_closure2.prototype = { call$1($event) { var t1 = this.$this, device = t1._getPointerId$1($event), pointerData = A._setArrayType([], type$.JSArray_PointerData), t2 = t1._sanitizers.$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.call$1(pointerData); }, $signature: 108 }; A._PointerAdapter_setup_closure3.prototype = { call$1($event) { this.$this._handleWheelEvent$1($event); }, $signature: 25 }; A._TouchAdapter.prototype = { _addTouchEventListener$2(eventName, handler) { this.addEventListener$2(0, eventName, new A._TouchAdapter__addTouchEventListener_closure(handler)); }, setup$0() { var _this = this; _this._addTouchEventListener$2("touchstart", new A._TouchAdapter_setup_closure(_this)); _this._addTouchEventListener$2("touchmove", new A._TouchAdapter_setup_closure0(_this)); _this._addTouchEventListener$2("touchend", new A._TouchAdapter_setup_closure1(_this)); _this._addTouchEventListener$2("touchcancel", new A._TouchAdapter_setup_closure2(_this)); }, _convertEventToPointerData$5$change$data$pressed$timeStamp$touch(change, data, pressed, timeStamp, touch) { var t2, t3, t4, t5, t6, t1 = touch.identifier; t1.toString; t2 = B.JSNumber_methods.round$0(touch.clientX); B.JSNumber_methods.round$0(touch.clientY); t3 = $.$get$window(); t4 = t3._debugDevicePixelRatio; if (t4 == null) t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); B.JSNumber_methods.round$0(touch.clientX); t5 = B.JSNumber_methods.round$0(touch.clientY); t3 = t3._debugDevicePixelRatio; if (t3 == null) t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); t6 = pressed ? 1 : 0; this._pointerDataConverter.convert$12$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$signalKind$timeStamp(data, t6, change, t1, B.PointerDeviceKind_0, t2 * t4, t5 * t3, 1, 1, 0, B.PointerSignalKind_0, timeStamp); } }; A._TouchAdapter__addTouchEventListener_closure.prototype = { call$1($event) { return this.handler.call$1(type$.TouchEvent._as($event)); }, $signature: 75 }; A._TouchAdapter_setup_closure.prototype = { call$1($event) { var timeStamp, pointerData, t2, t3, t4, _i, touch, t5, t1 = $event.timeStamp; t1.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t1); pointerData = A._setArrayType([], type$.JSArray_PointerData); for (t1 = $event.changedTouches, t2 = t1.length, t3 = this.$this, t4 = t3._pressedTouches, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { touch = t1[_i]; t5 = touch.identifier; t5.toString; if (!t4.contains$1(0, t5)) { t5 = touch.identifier; t5.toString; t4.add$1(0, t5); t3._convertEventToPointerData$5$change$data$pressed$timeStamp$touch(B.PointerChange_4, pointerData, true, timeStamp, touch); } } t3.__engine$_callback.call$1(pointerData); }, $signature: 109 }; A._TouchAdapter_setup_closure0.prototype = { call$1($event) { var t1, timeStamp, pointerData, t2, t3, t4, _i, touch, t5; $event.preventDefault(); t1 = $event.timeStamp; t1.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t1); pointerData = A._setArrayType([], type$.JSArray_PointerData); for (t1 = $event.changedTouches, t2 = t1.length, t3 = this.$this, t4 = t3._pressedTouches, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { touch = t1[_i]; t5 = touch.identifier; t5.toString; if (t4.contains$1(0, t5)) t3._convertEventToPointerData$5$change$data$pressed$timeStamp$touch(B.PointerChange_5, pointerData, true, timeStamp, touch); } t3.__engine$_callback.call$1(pointerData); }, $signature: 109 }; A._TouchAdapter_setup_closure1.prototype = { call$1($event) { var t1, timeStamp, pointerData, t2, t3, t4, _i, touch, t5; $event.preventDefault(); t1 = $event.timeStamp; t1.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t1); pointerData = A._setArrayType([], type$.JSArray_PointerData); for (t1 = $event.changedTouches, t2 = t1.length, t3 = this.$this, t4 = t3._pressedTouches, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { touch = t1[_i]; t5 = touch.identifier; t5.toString; if (t4.contains$1(0, t5)) { t5 = touch.identifier; t5.toString; t4.remove$1(0, t5); t3._convertEventToPointerData$5$change$data$pressed$timeStamp$touch(B.PointerChange_6, pointerData, false, timeStamp, touch); } } t3.__engine$_callback.call$1(pointerData); }, $signature: 109 }; A._TouchAdapter_setup_closure2.prototype = { call$1($event) { var timeStamp, pointerData, t2, t3, t4, _i, touch, t5, t1 = $event.timeStamp; t1.toString; timeStamp = A._BaseAdapter__eventTimeStampToDuration(t1); pointerData = A._setArrayType([], type$.JSArray_PointerData); for (t1 = $event.changedTouches, t2 = t1.length, t3 = this.$this, t4 = t3._pressedTouches, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { touch = t1[_i]; t5 = touch.identifier; t5.toString; if (t4.contains$1(0, t5)) { t5 = touch.identifier; t5.toString; t4.remove$1(0, t5); t3._convertEventToPointerData$5$change$data$pressed$timeStamp$touch(B.PointerChange_0, pointerData, false, timeStamp, touch); } } t3.__engine$_callback.call$1(pointerData); }, $signature: 109 }; A._MouseAdapter.prototype = { _addMouseEventListener$3$acceptOutsideGlasspane(eventName, handler, acceptOutsideGlasspane) { this.addEventListener$3$acceptOutsideGlasspane(0, eventName, new A._MouseAdapter__addMouseEventListener_closure(handler), acceptOutsideGlasspane); }, _addMouseEventListener$2(eventName, handler) { return this._addMouseEventListener$3$acceptOutsideGlasspane(eventName, handler, false); }, setup$0() { var _this = this; _this._addMouseEventListener$2("mousedown", new A._MouseAdapter_setup_closure(_this)); _this._addMouseEventListener$3$acceptOutsideGlasspane("mousemove", new A._MouseAdapter_setup_closure0(_this), true); _this._addMouseEventListener$3$acceptOutsideGlasspane("mouseup", new A._MouseAdapter_setup_closure1(_this), true); _this._addWheelEventListener$1(new A._MouseAdapter_setup_closure2(_this)); }, _convertEventsToPointerData$3$data$details$event(data, details, $event) { var t2, t3, t4, t5, t1 = $event.timeStamp; t1.toString; t1 = A._BaseAdapter__eventTimeStampToDuration(t1); t2 = $event.clientX; $event.clientY; t3 = $.$get$window(); t4 = t3._debugDevicePixelRatio; if (t4 == null) t4 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); $event.clientX; t5 = $event.clientY; t3 = t3._debugDevicePixelRatio; if (t3 == null) t3 = A.EnginePlatformDispatcher_browserDevicePixelRatio(); this._pointerDataConverter.convert$12$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$signalKind$timeStamp(data, details.buttons, details.change, -1, B.PointerDeviceKind_1, t2 * t4, t5 * t3, 1, 1, 0, B.PointerSignalKind_0, t1); } }; A._MouseAdapter__addMouseEventListener_closure.prototype = { call$1($event) { return this.handler.call$1(type$.MouseEvent._as($event)); }, $signature: 75 }; A._MouseAdapter_setup_closure.prototype = { call$1($event) { var up, t4, pointerData = A._setArrayType([], type$.JSArray_PointerData), t1 = this.$this, t2 = t1._sanitizer, t3 = $event.buttons; t3.toString; up = t2.sanitizeMissingRightClickUp$1$buttons(t3); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, $event); t3 = $event.button; t4 = $event.buttons; t4.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, t2.sanitizeDownEvent$2$button$buttons(t3, t4), $event); t1.__engine$_callback.call$1(pointerData); }, $signature: 210 }; A._MouseAdapter_setup_closure0.prototype = { call$1($event) { var up, pointerData = A._setArrayType([], type$.JSArray_PointerData), t1 = this.$this, t2 = t1._sanitizer, t3 = $event.buttons; t3.toString; up = t2.sanitizeMissingRightClickUp$1$buttons(t3); if (up != null) t1._convertEventsToPointerData$3$data$details$event(pointerData, up, $event); t3 = $event.buttons; t3.toString; t1._convertEventsToPointerData$3$data$details$event(pointerData, t2.sanitizeMoveEvent$1$buttons(t3), $event); t1.__engine$_callback.call$1(pointerData); }, $signature: 210 }; A._MouseAdapter_setup_closure1.prototype = { call$1($event) { var pointerData = A._setArrayType([], type$.JSArray_PointerData), t1 = this.$this, sanitizedDetails = t1._sanitizer.sanitizeUpEvent$1$buttons($event.buttons); if (sanitizedDetails != null) { t1._convertEventsToPointerData$3$data$details$event(pointerData, sanitizedDetails, $event); t1.__engine$_callback.call$1(pointerData); } }, $signature: 210 }; A._MouseAdapter_setup_closure2.prototype = { call$1($event) { this.$this._handleWheelEvent$1($event); }, $signature: 25 }; A._PointerState.prototype = {}; A.PointerDataConverter.prototype = { _ensureStateForPointer$3(device, x, y) { return this._pointers.putIfAbsent$2(0, device, new A.PointerDataConverter__ensureStateForPointer_closure(x, y)); }, _generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalX, physicalY, platformData, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scrollDeltaX, scrollDeltaY, signalKind, size, tilt, timeStamp) { var t2, t3, t1 = this._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, scrollDeltaX, scrollDeltaY, signalKind, size, false, tilt, timeStamp); }, _locationHasChanged$3(device, physicalX, physicalY) { var t1 = this._pointers.$index(0, device); t1.toString; return t1.x !== physicalX || t1.y !== physicalY; }, _synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, change, device, distance, distanceMax, kind, obscured, orientation, physicalX, physicalY, platformData, pressure, pressureMax, pressureMin, radiusMajor, radiusMax, radiusMin, radiusMinor, scrollDeltaX, scrollDeltaY, size, tilt, timeStamp) { var t2, t3, t1 = this._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, scrollDeltaX, scrollDeltaY, B.PointerSignalKind_0, size, true, tilt, timeStamp); }, convert$15$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, scrollDeltaX, scrollDeltaY, signalKind, tilt, timeStamp) { var alreadyAdded, t1, t2, _this = this; if (signalKind === B.PointerSignalKind_0) switch (change.index) { case 1: _this._ensureStateForPointer$3(device, physicalX, physicalY); result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); break; case 3: alreadyAdded = _this._pointers.containsKey$1(0, device); _this._ensureStateForPointer$3(device, physicalX, physicalY); if (!alreadyAdded) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); _this._activeButtons = buttons; break; case 4: alreadyAdded = _this._pointers.containsKey$1(0, device); _this._ensureStateForPointer$3(device, physicalX, physicalY)._pointer = $._PointerState__pointerCount = $._PointerState__pointerCount + 1; if (!alreadyAdded) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); if (_this._locationHasChanged$3(device, physicalX, physicalY)) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(0, B.PointerChange_3, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, 0, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); _this._activeButtons = buttons; break; case 5: result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); _this._activeButtons = buttons; break; case 6: case 0: t1 = _this._pointers; t2 = t1.$index(0, device); t2.toString; if (change === B.PointerChange_0) { physicalX = t2.x; physicalY = t2.y; } if (_this._locationHasChanged$3(device, physicalX, physicalY)) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(_this._activeButtons, B.PointerChange_5, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); if (kind === B.PointerDeviceKind_0) { result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(0, B.PointerChange_2, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, 0, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); t1.remove$1(0, device); } break; case 2: t1 = _this._pointers; t2 = t1.$index(0, device); t2.toString; result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, t2.x, t2.y, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); t1.remove$1(0, device); break; } else switch (signalKind.index) { case 1: alreadyAdded = _this._pointers.containsKey$1(0, device); _this._ensureStateForPointer$3(device, physicalX, physicalY); if (!alreadyAdded) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, B.PointerChange_1, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); if (_this._locationHasChanged$3(device, physicalX, physicalY)) if (buttons !== 0) result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, B.PointerChange_5, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); else result.push(_this._synthesizePointerData$23$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$size$tilt$timeStamp(buttons, B.PointerChange_3, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, 0, tilt, timeStamp)); result.push(_this._generateCompletePointerData$24$buttons$change$device$distance$distanceMax$kind$obscured$orientation$physicalX$physicalY$platformData$pressure$pressureMax$pressureMin$radiusMajor$radiusMax$radiusMin$radiusMinor$scrollDeltaX$scrollDeltaY$signalKind$size$tilt$timeStamp(buttons, change, device, 0, 0, kind, false, 0, physicalX, physicalY, 0, pressure, pressureMax, pressureMin, 0, 0, 0, 0, scrollDeltaX, scrollDeltaY, signalKind, 0, tilt, timeStamp)); break; case 0: break; case 2: break; } }, convert$14$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, scrollDeltaX, scrollDeltaY, signalKind, timeStamp) { return this.convert$15$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, scrollDeltaX, scrollDeltaY, signalKind, 0, timeStamp); }, convert$12$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$signalKind$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, signalKind, timeStamp) { return this.convert$15$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, 0, 0, signalKind, 0, timeStamp); }, convert$13$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$signalKind$tilt$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, signalKind, tilt, timeStamp) { return this.convert$15$buttons$change$device$kind$physicalX$physicalY$pressure$pressureMax$pressureMin$scrollDeltaX$scrollDeltaY$signalKind$tilt$timeStamp(result, buttons, change, device, kind, physicalX, physicalY, pressure, pressureMax, pressureMin, 0, 0, signalKind, tilt, timeStamp); } }; A.PointerDataConverter__ensureStateForPointer_closure.prototype = { call$0() { return new A._PointerState(this.x, this.y); }, $signature: 842 }; A.Profiler.prototype = {}; A.AccessibilityAnnouncements.prototype = { AccessibilityAnnouncements$_$0() { $._hotRestartListeners.push(new A.AccessibilityAnnouncements$__closure(this)); }, get$_domElement() { var liveRegion, t1 = this.__engine$_element; if (t1 == null) { liveRegion = document.createElement("label"); liveRegion.setAttribute("id", "accessibility-element"); t1 = liveRegion.style; t1.position = "fixed"; t1.overflow = "hidden"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), "translate(-99999px, -99999px)", ""); t1.width = "1px"; t1.height = "1px"; this.__engine$_element = liveRegion; t1 = liveRegion; } return t1; }, handleMessage$2(codec, data) { var _this = this, t1 = type$.Map_dynamic_dynamic, message = A._asStringQ(J.$index$asx(t1._as(J.$index$asx(t1._as(codec.decodeMessage$1(data)), "data")), "message")); if (message != null && message.length !== 0) { _this.get$_domElement().setAttribute("aria-live", "polite"); _this.get$_domElement().textContent = message; t1 = document.body; t1.toString; t1.appendChild(_this.get$_domElement()); _this._removeElementTimer = A.Timer_Timer(B.Duration_5000000, new A.AccessibilityAnnouncements_handleMessage_closure(_this)); } } }; A.AccessibilityAnnouncements$__closure.prototype = { call$0() { var t1 = this.$this._removeElementTimer; if (t1 != null) t1.cancel$0(0); }, $signature: 0 }; A.AccessibilityAnnouncements_handleMessage_closure.prototype = { call$0() { var t1 = this.$this.__engine$_element; t1.toString; B.LabelElement_methods.remove$0(t1); }, $signature: 0 }; A._CheckableKind.prototype = { toString$0(_) { return "_CheckableKind." + this._core$_name; } }; A.Checkable.prototype = { update$0(_) { var element, t2, _s4_ = "true", t1 = this.semanticsObject; if ((t1._dirtyFields & 1) !== 0) { switch (this.__engine$_kind.index) { case 0: t1.setAriaRole$2("checkbox", true); break; case 1: t1.setAriaRole$2("radio", true); break; case 2: t1.setAriaRole$2("switch", true); break; } if (t1.enabledState$0() === B.EnabledState_2) { element = t1.element; element.setAttribute("aria-disabled", _s4_); element.setAttribute("disabled", _s4_); } else this._removeDisabledAttribute$0(); t2 = t1.__engine$_flags; t2 = (t2 & 2) !== 0 || (t2 & 131072) !== 0 ? _s4_ : "false"; t1.element.setAttribute("aria-checked", t2); } }, dispose$0(_) { var _this = this; switch (_this.__engine$_kind.index) { case 0: _this.semanticsObject.setAriaRole$2("checkbox", false); break; case 1: _this.semanticsObject.setAriaRole$2("radio", false); break; case 2: _this.semanticsObject.setAriaRole$2("switch", false); break; } _this._removeDisabledAttribute$0(); }, _removeDisabledAttribute$0() { var element = this.semanticsObject.element; element.removeAttribute("aria-disabled"); element.removeAttribute("disabled"); } }; A.ImageRoleManager.prototype = { update$0(_) { var t2, t3, _this = this, t1 = _this.semanticsObject; if (t1.get$isVisualOnly()) { t2 = t1.__engine$_childrenInTraversalOrder; t2 = t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2); } else t2 = false; if (t2) { if (_this._auxiliaryImageElement == null) { _this._auxiliaryImageElement = A._ElementFactoryProvider_createElement_tag("flt-semantics-img", null); t2 = t1.__engine$_childrenInTraversalOrder; if (t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2)) { t2 = _this._auxiliaryImageElement.style; t2.position = "absolute"; t2.top = "0"; t2.left = "0"; t3 = t1.__engine$_rect; t3 = A.S(t3.right - t3.left) + "px"; t2.width = t3; t3 = t1.__engine$_rect; t3 = A.S(t3.bottom - t3.top) + "px"; t2.height = t3; } t2 = _this._auxiliaryImageElement.style; t2.fontSize = "6px"; t2 = _this._auxiliaryImageElement; t2.toString; t1.element.appendChild(t2); } _this._auxiliaryImageElement.setAttribute("role", "img"); _this._setLabel$1(_this._auxiliaryImageElement); } else if (t1.get$isVisualOnly()) { t1.setAriaRole$2("img", true); _this._setLabel$1(t1.element); _this._cleanUpAuxiliaryElement$0(); } else { _this._cleanUpAuxiliaryElement$0(); _this._cleanupElement$0(); } }, _setLabel$1(element) { var t1 = this.semanticsObject.__engine$_label; if (t1 != null && t1.length !== 0) { element.toString; t1.toString; element.setAttribute("aria-label", t1); } }, _cleanUpAuxiliaryElement$0() { var t1 = this._auxiliaryImageElement; if (t1 != null) { J.remove$0$ax(t1); this._auxiliaryImageElement = null; } }, _cleanupElement$0() { var t1 = this.semanticsObject; t1.setAriaRole$2("img", false); t1.element.removeAttribute("aria-label"); }, dispose$0(_) { this._cleanUpAuxiliaryElement$0(); this._cleanupElement$0(); } }; A.Incrementable.prototype = { Incrementable$1(semanticsObject) { var _this = this, t1 = _this.__engine$_element; semanticsObject.element.appendChild(t1); t1.type = "range"; t1.setAttribute("role", "slider"); B.InputElement_methods.addEventListener$2(t1, "change", new A.Incrementable_closure(_this, semanticsObject)); t1 = new A.Incrementable_closure0(_this); _this._gestureModeListener = t1; semanticsObject.owner._gestureModeListeners.push(t1); }, update$0(_) { var _this = this; switch (_this.semanticsObject.owner._gestureMode.index) { case 1: _this._enableBrowserGestureHandling$0(); _this._updateInputValues$0(); break; case 0: _this._disableBrowserGestureHandling$0(); break; } }, _enableBrowserGestureHandling$0() { var t1 = this.__engine$_element, t2 = t1.disabled; t2.toString; if (!t2) return; t1.disabled = false; }, _updateInputValues$0() { var t1, updateNeeded, surrogateTextValue, t2, t3, surrogateMaxTextValue, surrogateMinTextValue, _this = this; 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; t1.value = surrogateTextValue; t1.setAttribute("aria-valuenow", surrogateTextValue); t2 = _this.semanticsObject; t3 = t2.__engine$_value; t3.toString; t1.setAttribute("aria-valuetext", t3); surrogateMaxTextValue = t2._increasedValue.length !== 0 ? "" + (_this._currentSurrogateValue + 1) : surrogateTextValue; t1.max = surrogateMaxTextValue; t1.setAttribute("aria-valuemax", surrogateMaxTextValue); surrogateMinTextValue = t2._decreasedValue.length !== 0 ? "" + (_this._currentSurrogateValue - 1) : surrogateTextValue; t1.min = surrogateMinTextValue; t1.setAttribute("aria-valuemin", surrogateMinTextValue); }, _disableBrowserGestureHandling$0() { var t1 = this.__engine$_element, t2 = t1.disabled; t2.toString; if (t2) return; t1.disabled = true; }, dispose$0(_) { var _this = this; B.JSArray_methods.remove$1(_this.semanticsObject.owner._gestureModeListeners, _this._gestureModeListener); _this._gestureModeListener = null; _this._disableBrowserGestureHandling$0(); B.InputElement_methods.remove$0(_this.__engine$_element); } }; A.Incrementable_closure.prototype = { call$1(_) { var newInputValue, t1 = this.$this, t2 = t1.__engine$_element, t3 = t2.disabled; t3.toString; if (t3) return; t1._pendingResync = true; t2 = t2.value; t2.toString; newInputValue = A.int_parse(t2, null); t2 = t1._currentSurrogateValue; if (newInputValue > t2) { t1._currentSurrogateValue = t2 + 1; t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, this.semanticsObject.id, B.SemanticsAction_64, null); } else if (newInputValue < t2) { t1._currentSurrogateValue = t2 - 1; t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, this.semanticsObject.id, B.SemanticsAction_128, null); } }, $signature: 25 }; A.Incrementable_closure0.prototype = { call$1(mode) { this.$this.update$0(0); }, $signature: 340 }; A.LabelAndValue.prototype = { update$0(_) { var hasLabel, t3, shouldDisplayValue, t4, t5, _this = this, t1 = _this.semanticsObject, t2 = t1.__engine$_value, hasValue = t2 != null && t2.length !== 0; t2 = t1.__engine$_label; hasLabel = t2 != null && t2.length !== 0; if (hasValue) { t3 = t1.__engine$_actions; t3.toString; shouldDisplayValue = !((t3 & 64) !== 0 || (t3 & 128) !== 0); } else shouldDisplayValue = false; if (!hasLabel && !shouldDisplayValue && true) { _this._cleanUpDom$0(); return; } if (hasLabel) { t2 = "" + A.S(t2); if (shouldDisplayValue) t2 += " "; } else t2 = ""; if (shouldDisplayValue) t2 += A.S(t1.__engine$_value); t3 = t1.element; t2 = t2.charCodeAt(0) == 0 ? t2 : t2; t3.setAttribute("aria-label", t2); if ((t1.__engine$_flags & 512) !== 0) t1.setAriaRole$2("heading", true); if (_this._auxiliaryValueElement == null) { _this._auxiliaryValueElement = A._ElementFactoryProvider_createElement_tag("flt-semantics-value", null); t4 = t1.__engine$_childrenInTraversalOrder; if (t4 != null && !B.NativeInt32List_methods.get$isEmpty(t4)) { t4 = _this._auxiliaryValueElement.style; t4.position = "absolute"; t4.top = "0"; t4.left = "0"; t5 = t1.__engine$_rect; t5 = A.S(t5.right - t5.left) + "px"; t4.width = t5; t1 = t1.__engine$_rect; t1 = A.S(t1.bottom - t1.top) + "px"; t4.height = t1; } t1 = _this._auxiliaryValueElement.style; t4 = $._configuration; if (t4 == null) t4 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t4 = t4.get$debugShowSemanticsNodes(t4) ? "12px" : "6px"; t1.fontSize = t4; t1 = _this._auxiliaryValueElement; t1.toString; t3.appendChild(t1); } _this._auxiliaryValueElement.textContent = t2; }, _cleanUpDom$0() { var t1 = this._auxiliaryValueElement; if (t1 != null) { J.remove$0$ax(t1); this._auxiliaryValueElement = null; } t1 = this.semanticsObject; t1.element.removeAttribute("aria-label"); t1.setAriaRole$2("heading", false); }, dispose$0(_) { this._cleanUpDom$0(); } }; A.LiveRegion.prototype = { update$0(_) { var t1 = this.semanticsObject, t2 = t1.__engine$_label; t2 = t2 != null && t2.length !== 0; t1 = t1.element; if (t2) t1.setAttribute("aria-live", "polite"); else t1.removeAttribute("aria-live"); }, dispose$0(_) { this.semanticsObject.element.removeAttribute("aria-live"); } }; A.Scrollable0.prototype = { _recomputeScrollPosition$0() { var t1, t2, t3, semanticsId, _this = this, _null = null; if (_this.get$_domScrollPosition() !== _this._effectiveNeutralScrollPosition) { t1 = _this.semanticsObject; if (!t1.owner.shouldAcceptBrowserGesture$1("scroll")) return; t2 = _this.get$_domScrollPosition(); t3 = _this._effectiveNeutralScrollPosition; _this._neutralizeDomScrollPosition$0(); t1.recomputePositionAndSize$0(); semanticsId = t1.id; if (t2 > t3) { t1 = t1.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) { t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, semanticsId, B.SemanticsAction_16, _null); } else { t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, semanticsId, B.SemanticsAction_4, _null); } } else { t1 = t1.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) { t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, semanticsId, B.SemanticsAction_32, _null); } else { t1 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t1._onSemanticsAction, t1._onSemanticsActionZone, semanticsId, B.SemanticsAction_8, _null); } } } }, update$0(_) { var t1, t2, t3, _this = this; if (_this.__engine$_scrollListener == null) { t1 = _this.semanticsObject; t2 = t1.element; t3 = t2.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t3, B.CssStyleDeclaration_methods._browserPropertyName$1(t3, "touch-action"), "none", ""); _this._gestureModeDidChange$0(); t1 = t1.owner; t1._oneTimePostUpdateCallbacks.push(new A.Scrollable_update_closure(_this)); t3 = new A.Scrollable_update_closure0(_this); _this._gestureModeListener = t3; t1._gestureModeListeners.push(t3); t3 = new A.Scrollable_update_closure1(_this); _this.__engine$_scrollListener = t3; J.addEventListener$2$x(t2, "scroll", t3); } }, get$_domScrollPosition() { var t1 = this.semanticsObject, t2 = t1.__engine$_actions; t2.toString; t2 = (t2 & 32) !== 0 || (t2 & 16) !== 0; t1 = t1.element; if (t2) return B.JSNumber_methods.round$0(t1.scrollTop); else return B.JSNumber_methods.round$0(t1.scrollLeft); }, _neutralizeDomScrollPosition$0() { var t1 = this.semanticsObject, element = t1.element, t2 = t1.__engine$_actions; t2.toString; if ((t2 & 32) !== 0 || (t2 & 16) !== 0) { element.scrollTop = 10; t1.verticalContainerAdjustment = this._effectiveNeutralScrollPosition = B.JSNumber_methods.round$0(element.scrollTop); t1.horizontalContainerAdjustment = 0; } else { element.scrollLeft = 10; t2 = B.JSNumber_methods.round$0(element.scrollLeft); this._effectiveNeutralScrollPosition = t2; t1.verticalContainerAdjustment = 0; t1.horizontalContainerAdjustment = t2; } }, _gestureModeDidChange$0() { var _s10_ = "overflow-y", _s10_0 = "overflow-x", t1 = this.semanticsObject, element = t1.element; switch (t1.owner._gestureMode.index) { case 1: t1 = t1.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), "scroll", ""); } else { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_0), "scroll", ""); } break; case 0: t1 = t1.__engine$_actions; t1.toString; if ((t1 & 32) !== 0 || (t1 & 16) !== 0) { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_), "hidden", ""); } else { t1 = element.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, _s10_0), "hidden", ""); } break; } }, dispose$0(_) { var t3, _this = this, t1 = _this.semanticsObject, t2 = t1.element, style = t2.style; style.removeProperty("overflowY"); style.removeProperty("overflowX"); style.removeProperty("touch-action"); t3 = _this.__engine$_scrollListener; if (t3 != null) J.removeEventListener$2$x(t2, "scroll", t3); B.JSArray_methods.remove$1(t1.owner._gestureModeListeners, _this._gestureModeListener); _this._gestureModeListener = null; } }; A.Scrollable_update_closure.prototype = { call$0() { this.$this._neutralizeDomScrollPosition$0(); }, $signature: 0 }; A.Scrollable_update_closure0.prototype = { call$1(_) { this.$this._gestureModeDidChange$0(); }, $signature: 340 }; A.Scrollable_update_closure1.prototype = { call$1(_) { this.$this._recomputeScrollPosition$0(); }, $signature: 25 }; A.SemanticsUpdate.prototype = {}; A.SemanticsNodeUpdate.prototype = { get$id(receiver) { return this.id; }, get$value(receiver) { return this.value; } }; A.Role.prototype = { toString$0(_) { return "Role." + this._core$_name; } }; A._roleFactories_closure.prototype = { call$1(object) { return A.Incrementable$(object); }, $signature: 1085 }; A._roleFactories_closure0.prototype = { call$1(object) { return new A.Scrollable0(object); }, $signature: 920 }; A._roleFactories_closure1.prototype = { call$1(object) { return new A.LabelAndValue(object); }, $signature: 1134 }; A._roleFactories_closure2.prototype = { call$1(object) { return new A.Tappable(object); }, $signature: 367 }; A._roleFactories_closure3.prototype = { call$1(object) { var t3, t4, _s15_ = "editableElement", t1 = new A.TextField0(object), t2 = (object.__engine$_flags & 524288) !== 0 ? document.createElement("textarea") : A.InputElement_InputElement(null); A._lateWriteOnceCheck($, _s15_); t1.__TextField_editableElement = t2; t3 = A._lateReadCheck(t2, _s15_); t3.spellcheck = false; t3.setAttribute("autocorrect", "off"); t3.setAttribute("autocomplete", "off"); t3.setAttribute("data-semantics-role", "text-field"); t3 = A._lateReadCheck(t2, _s15_).style; t3.position = "absolute"; t3.top = "0"; t3.left = "0"; t4 = object.__engine$_rect; t4 = A.S(t4.right - t4.left) + "px"; t3.width = t4; t4 = object.__engine$_rect; t4 = A.S(t4.bottom - t4.top) + "px"; t3.height = t4; object.element.appendChild(A._lateReadCheck(t2, _s15_)); t2 = $.$get$_browserEngine(); switch (t2.index) { case 0: case 5: case 3: case 4: case 2: case 6: t1._initializeForBlink$0(); break; case 1: t1._initializeForWebkit$0(); break; } return t1; }, $signature: 369 }; A._roleFactories_closure4.prototype = { call$1(object) { return new A.Checkable(A._checkableKindFromSemanticsFlag(object), object); }, $signature: 374 }; A._roleFactories_closure5.prototype = { call$1(object) { return new A.ImageRoleManager(object); }, $signature: 379 }; A._roleFactories_closure6.prototype = { call$1(object) { return new A.LiveRegion(object); }, $signature: 446 }; A.RoleManager.prototype = {}; A.SemanticsObject.prototype = { SemanticsObject$2(id, owner) { var t1 = this.element, t2 = t1.style; t2.position = "absolute"; if (this.id === 0) { t2 = $._configuration; if (t2 == null) t2 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); t2 = !t2.get$debugShowSemanticsNodes(t2); } else t2 = false; if (t2) { t2 = t1.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t2, B.CssStyleDeclaration_methods._browserPropertyName$1(t2, "filter"), "opacity(0%)", ""); t2 = t1.style; t2.color = "rgba(0,0,0,0)"; } t2 = $._configuration; if (t2 == null) t2 = $._configuration = new A.FlutterConfiguration(self.window.flutterConfiguration); if (t2.get$debugShowSemanticsNodes(t2)) { t1 = t1.style; t1.outline = "1px solid green"; } }, get$value(_) { return this.__engine$_value; }, getOrCreateChildContainer$0() { var t1, _this = this; if (_this._childContainerElement == null) { t1 = A._ElementFactoryProvider_createElement_tag("flt-semantics-container", null); _this._childContainerElement = t1; t1 = t1.style; t1.position = "absolute"; t1 = _this._childContainerElement; t1.toString; _this.element.appendChild(t1); } 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; }, setAriaRole$2(ariaRoleName, condition) { var t1; if (condition) this.element.setAttribute("role", ariaRoleName); else { t1 = this.element; if (t1.getAttribute("role") === ariaRoleName) t1.removeAttribute("role"); } }, _updateRole$2(role, enabled) { var t1 = this._roleManagers, manager = t1.$index(0, role); if (enabled) { if (manager == null) { manager = $.$get$_roleFactories().$index(0, role).call$1(this); t1.$indexSet(0, role, manager); } manager.update$0(0); } else if (manager != null) { manager.dispose$0(0); t1.remove$1(0, role); } }, recomputePositionAndSize$0() { var containerElement, hasZeroRectOffset, transform, hasIdentityTransform, effectiveTransform, left, $top, effectiveTransformIsIdentity, t4, t5, _this = this, t1 = _this.element, t2 = t1.style, t3 = _this.__engine$_rect; t3 = A.S(t3.right - t3.left) + "px"; t2.width = t3; t3 = _this.__engine$_rect; t3 = A.S(t3.bottom - t3.top) + "px"; t2.height = t3; t2 = _this.__engine$_childrenInTraversalOrder; containerElement = t2 != null && !B.NativeInt32List_methods.get$isEmpty(t2) ? _this.getOrCreateChildContainer$0() : null; t2 = _this.__engine$_rect; hasZeroRectOffset = t2.top === 0 && t2.left === 0; transform = _this.__engine$_transform; t2 = transform == null; hasIdentityTransform = t2 || A.transformKindOf(transform) === B.TransformKind_0; if (hasZeroRectOffset && hasIdentityTransform && _this.verticalContainerAdjustment === 0 && _this.horizontalContainerAdjustment === 0) { A.SemanticsObject__clearSemanticElementTransform(t1); if (containerElement != null) A.SemanticsObject__clearSemanticElementTransform(containerElement); return; } effectiveTransform = A._Cell$named("effectiveTransform"); if (!hasZeroRectOffset) if (t2) { t2 = _this.__engine$_rect; left = t2.left; $top = t2.top; t2 = A.Matrix4$identity(); t2.setTranslationRaw$3(left, $top, 0); effectiveTransform.__late_helper$_value = t2; effectiveTransformIsIdentity = left === 0 && $top === 0; } else { t2 = new A.Matrix40(new Float32Array(16)); t2.setFrom$1(new A.Matrix40(transform)); t3 = _this.__engine$_rect; t2.translate$3(0, t3.left, t3.top, 0); effectiveTransform.__late_helper$_value = t2; effectiveTransformIsIdentity = J.isIdentity$0$z(effectiveTransform._readLocal$0()); } else if (!hasIdentityTransform) { effectiveTransform.__late_helper$_value = new A.Matrix40(transform); effectiveTransformIsIdentity = false; } else effectiveTransformIsIdentity = true; if (!effectiveTransformIsIdentity) { t1 = t1.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform-origin"), "0 0 0", ""); t2 = A.float64ListToCssTransform(effectiveTransform._readLocal$0().__engine$_m4storage); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), t2, ""); } else 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; t4 = A.S(-t1 + t4) + "px"; t5.top = t4; t1 = A.S(-t2 + t3) + "px"; t5.left = t1; } else A.SemanticsObject__clearSemanticElementTransform(containerElement); }, _updateChildrenInTraversalOrder$0() { var t2, len, i, object, containerElement, t3, t4, t5, t6, _i, id, intersectionIndicesNew, intersectionIndicesOld, minLength, newIndex, oldIndex, longestSequence, stationaryIds, refNode, childId, _this = this, _s13_ = "flt-semantics", t1 = _this.__engine$_childrenInTraversalOrder; if (t1 == null || t1.length === 0) { t2 = _this._previousChildrenInTraversalOrder; if (t2 == null || t2.length === 0) { _this._previousChildrenInTraversalOrder = t1; return; } len = t2.length; for (t1 = _this.owner, t2 = t1._semanticsTree, i = 0; i < len; ++i) { object = t2.$index(0, _this._previousChildrenInTraversalOrder[i]); t1._detachments.push(object); } _this._previousChildrenInTraversalOrder = null; t1 = _this._childContainerElement; t1.toString; J.remove$0$ax(t1); _this._childContainerElement = null; _this._previousChildrenInTraversalOrder = _this.__engine$_childrenInTraversalOrder; return; } containerElement = _this.getOrCreateChildContainer$0(); t1 = _this._previousChildrenInTraversalOrder; if (t1 == null || t1.length === 0) { t1 = _this._previousChildrenInTraversalOrder = _this.__engine$_childrenInTraversalOrder; for (t2 = t1.length, t3 = _this.owner, t4 = t3._semanticsTree, t5 = type$.Role, t6 = type$.nullable_RoleManager, _i = 0; _i < t2; ++_i) { id = t1[_i]; object = t4.$index(0, id); if (object == null) { object = new A.SemanticsObject(id, t3, A._ElementFactoryProvider_createElement_tag(_s13_, null), A.LinkedHashMap_LinkedHashMap$_empty(t5, t6)); object.SemanticsObject$2(id, t3); t4.$indexSet(0, id, object); } containerElement.appendChild(object.element); object.__engine$_parent = _this; t3._attachments.$indexSet(0, object.id, _this); } _this._previousChildrenInTraversalOrder = _this.__engine$_childrenInTraversalOrder; return; } t1 = type$.JSArray_int; intersectionIndicesNew = A._setArrayType([], t1); intersectionIndicesOld = A._setArrayType([], t1); minLength = Math.min(_this._previousChildrenInTraversalOrder.length, _this.__engine$_childrenInTraversalOrder.length); newIndex = 0; while (true) { if (!(newIndex < minLength && _this._previousChildrenInTraversalOrder[newIndex] === _this.__engine$_childrenInTraversalOrder[newIndex])) break; intersectionIndicesNew.push(newIndex); intersectionIndicesOld.push(newIndex); ++newIndex; } t2 = _this._previousChildrenInTraversalOrder.length; t3 = _this.__engine$_childrenInTraversalOrder.length; if (t2 === t3 && newIndex === t3) return; for (; t2 = _this.__engine$_childrenInTraversalOrder, newIndex < t2.length;) { for (t3 = _this._previousChildrenInTraversalOrder, t4 = t3.length, oldIndex = 0; oldIndex < t4; ++oldIndex) if (t3[oldIndex] === t2[newIndex]) { intersectionIndicesNew.push(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(_this._previousChildrenInTraversalOrder[intersectionIndicesOld[longestSequence[i]]]); for (t1 = _this.owner, t2 = t1._semanticsTree, i = 0; i < _this._previousChildrenInTraversalOrder.length; ++i) if (!B.JSArray_methods.contains$1(intersectionIndicesOld, i)) { object = t2.$index(0, _this._previousChildrenInTraversalOrder[i]); t1._detachments.push(object); } for (i = _this.__engine$_childrenInTraversalOrder.length - 1, t3 = type$.Role, t4 = type$.nullable_RoleManager, refNode = null; i >= 0; --i) { childId = _this.__engine$_childrenInTraversalOrder[i]; object = t2.$index(0, childId); if (object == null) { object = new A.SemanticsObject(childId, t1, A._ElementFactoryProvider_createElement_tag(_s13_, null), A.LinkedHashMap_LinkedHashMap$_empty(t3, t4)); object.SemanticsObject$2(childId, t1); t2.$indexSet(0, childId, object); } if (!B.JSArray_methods.contains$1(stationaryIds, childId)) { t5 = object.element; if (refNode == null) containerElement.appendChild(t5); else containerElement.insertBefore(t5, refNode); object.__engine$_parent = _this; t1._attachments.$indexSet(0, object.id, _this); } refNode = object.element; } _this._previousChildrenInTraversalOrder = _this.__engine$_childrenInTraversalOrder; }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; }, get$id(receiver) { return this.id; } }; A.AccessibilityMode.prototype = { toString$0(_) { return "AccessibilityMode." + this._core$_name; } }; A.GestureMode.prototype = { toString$0(_) { return "GestureMode." + this._core$_name; } }; A.EngineSemanticsOwner.prototype = { EngineSemanticsOwner$_$0() { $._hotRestartListeners.push(new A.EngineSemanticsOwner$__closure(this)); }, _finalizeTree$0() { var t1, t2, t3, _i, object, t4, t5, _this = this; for (t1 = _this._detachments, t2 = t1.length, t3 = _this._semanticsTree, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { object = t1[_i]; t4 = _this._attachments; t5 = object.id; if (t4.$index(0, t5) == null) { t3.remove$1(0, t5); object.__engine$_parent = null; t4 = object.element; t5 = t4.parentNode; if (t5 != null) t5.removeChild(t4); } } _this._detachments = A._setArrayType([], type$.JSArray_nullable_SemanticsObject); _this._attachments = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_int, type$.SemanticsObject); t1 = _this._oneTimePostUpdateCallbacks; t2 = t1.length; if (t2 !== 0) { for (_i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].call$0(); _this._oneTimePostUpdateCallbacks = A._setArrayType([], type$.JSArray_of_void_Function); } }, set$semanticsEnabled(value) { var t1, t2, t3; if (this._semanticsEnabled) return; 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); } }, _getGestureModeClock$0() { var _this = this, t1 = _this._gestureModeClock; if (t1 == null) { t1 = _this._gestureModeClock = new A.AlarmClock(_this._now); t1.__AlarmClock_callback = new A.EngineSemanticsOwner__getGestureModeClock_closure(_this); } return t1; }, receiveGlobalEvent$1($event) { var t1, _this = this; if (B.JSArray_methods.contains$1(B.List_Cg9, $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; }, updateSemantics$1(uiUpdate) { var t1, t2, t3, t4, t5, _i, nodeUpdate, t6, object, t7, _this = this; if (!_this._semanticsEnabled) { _this.semanticsHelper._semanticsEnabler.dispose$0(0); _this.set$semanticsEnabled(true); } for (t1 = uiUpdate.__engine$_nodeUpdates, t2 = t1.length, t3 = _this._semanticsTree, t4 = type$.Role, t5 = type$.nullable_RoleManager, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { nodeUpdate = t1[_i]; t6 = nodeUpdate.id; object = t3.$index(0, t6); if (object == null) { object = new A.SemanticsObject(t6, _this, A._ElementFactoryProvider_createElement_tag("flt-semantics", null), A.LinkedHashMap_LinkedHashMap$_empty(t4, t5)); object.SemanticsObject$2(t6, _this); t3.$indexSet(0, t6, object); } t6 = nodeUpdate.flags; if (object.__engine$_flags !== t6) { object.__engine$_flags = t6; object._dirtyFields = (object._dirtyFields | 1) >>> 0; } t6 = nodeUpdate.value; if (object.__engine$_value !== t6) { object.__engine$_value = t6; object._dirtyFields = (object._dirtyFields | 4096) >>> 0; } t6 = nodeUpdate.valueAttributes; if (object._valueAttributes !== t6) { object._valueAttributes = t6; object._dirtyFields = (object._dirtyFields | 4096) >>> 0; } t6 = nodeUpdate.label; if (object.__engine$_label !== t6) { object.__engine$_label = t6; object._dirtyFields = (object._dirtyFields | 1024) >>> 0; } t6 = nodeUpdate.labelAttributes; if (object._labelAttributes !== t6) { object._labelAttributes = t6; object._dirtyFields = (object._dirtyFields | 1024) >>> 0; } t6 = nodeUpdate.rect; if (!J.$eq$(object.__engine$_rect, t6)) { object.__engine$_rect = t6; object._dirtyFields = (object._dirtyFields | 512) >>> 0; } t6 = nodeUpdate.transform; if (object.__engine$_transform !== t6) { object.__engine$_transform = t6; object._dirtyFields = (object._dirtyFields | 65536) >>> 0; } t6 = nodeUpdate.scrollPosition; if (object.__engine$_scrollPosition !== t6) { object.__engine$_scrollPosition = t6; object._dirtyFields = (object._dirtyFields | 64) >>> 0; } t6 = object.__engine$_actions; t7 = nodeUpdate.actions; if (t6 !== t7) { object.__engine$_actions = t7; object._dirtyFields = (object._dirtyFields | 2) >>> 0; t6 = t7; } t7 = nodeUpdate.textSelectionBase; if (object._textSelectionBase !== t7) { object._textSelectionBase = t7; object._dirtyFields = (object._dirtyFields | 4) >>> 0; } t7 = nodeUpdate.textSelectionExtent; if (object._textSelectionExtent !== t7) { object._textSelectionExtent = t7; object._dirtyFields = (object._dirtyFields | 8) >>> 0; } t7 = nodeUpdate.scrollChildren; if (object._scrollChildren !== t7) { object._scrollChildren = t7; object._dirtyFields = (object._dirtyFields | 16) >>> 0; } t7 = nodeUpdate.scrollIndex; if (object.__engine$_scrollIndex !== t7) { object.__engine$_scrollIndex = t7; object._dirtyFields = (object._dirtyFields | 32) >>> 0; } t7 = nodeUpdate.scrollExtentMax; if (object.__engine$_scrollExtentMax !== t7) { object.__engine$_scrollExtentMax = t7; object._dirtyFields = (object._dirtyFields | 128) >>> 0; } t7 = nodeUpdate.scrollExtentMin; if (object.__engine$_scrollExtentMin !== t7) { object.__engine$_scrollExtentMin = t7; object._dirtyFields = (object._dirtyFields | 256) >>> 0; } t7 = nodeUpdate.hint; if (object.__engine$_hint !== t7) { object.__engine$_hint = t7; object._dirtyFields = (object._dirtyFields | 2048) >>> 0; } t7 = nodeUpdate.hintAttributes; if (object._hintAttributes !== t7) { object._hintAttributes = t7; object._dirtyFields = (object._dirtyFields | 2048) >>> 0; } t7 = nodeUpdate.increasedValue; if (object._increasedValue !== t7) { object._increasedValue = t7; object._dirtyFields = (object._dirtyFields | 8192) >>> 0; } t7 = nodeUpdate.increasedValueAttributes; if (object._increasedValueAttributes !== t7) { object._increasedValueAttributes = t7; object._dirtyFields = (object._dirtyFields | 8192) >>> 0; } t7 = nodeUpdate.decreasedValue; if (object._decreasedValue !== t7) { object._decreasedValue = t7; object._dirtyFields = (object._dirtyFields | 16384) >>> 0; } t7 = nodeUpdate.decreasedValueAttributes; if (object._decreasedValueAttributes !== t7) { object._decreasedValueAttributes = t7; object._dirtyFields = (object._dirtyFields | 16384) >>> 0; } t7 = nodeUpdate.textDirection; if (object.__engine$_textDirection != t7) { object.__engine$_textDirection = t7; object._dirtyFields = (object._dirtyFields | 32768) >>> 0; } t7 = nodeUpdate.childrenInHitTestOrder; if (object._childrenInHitTestOrder !== t7) { object._childrenInHitTestOrder = t7; object._dirtyFields = (object._dirtyFields | 1048576) >>> 0; } t7 = nodeUpdate.childrenInTraversalOrder; if (object.__engine$_childrenInTraversalOrder !== t7) { object.__engine$_childrenInTraversalOrder = t7; object._dirtyFields = (object._dirtyFields | 524288) >>> 0; } t7 = nodeUpdate.additionalActions; if (object._additionalActions !== t7) { object._additionalActions = t7; object._dirtyFields = (object._dirtyFields | 2097152) >>> 0; } t7 = object.__engine$_label; if (!(t7 != null && t7.length !== 0)) { t7 = object.__engine$_value; if (!(t7 != null && t7.length !== 0)) t7 = false; else t7 = true; } else t7 = true; if (t7) { t7 = object.__engine$_flags; if ((t7 & 16) === 0) { if ((t7 & 16384) !== 0) { t6.toString; t6 = (t6 & 1) === 0 && (t7 & 8) === 0; } else t6 = false; t6 = !t6; } else t6 = false; } else t6 = false; object._updateRole$2(B.Role_2, t6); object._updateRole$2(B.Role_4, (object.__engine$_flags & 16) !== 0); t6 = object.__engine$_actions; t6.toString; object._updateRole$2(B.Role_3, ((t6 & 1) !== 0 || (object.__engine$_flags & 8) !== 0) && (object.__engine$_flags & 16) === 0); t6 = object.__engine$_actions; t6.toString; object._updateRole$2(B.Role_0, (t6 & 64) !== 0 || (t6 & 128) !== 0); t6 = object.__engine$_actions; t6.toString; object._updateRole$2(B.Role_1, (t6 & 32) !== 0 || (t6 & 16) !== 0 || (t6 & 4) !== 0 || (t6 & 8) !== 0); t6 = object.__engine$_flags; object._updateRole$2(B.Role_5, (t6 & 1) !== 0 || (t6 & 65536) !== 0); t6 = object.__engine$_flags; if ((t6 & 16384) !== 0) { t7 = object.__engine$_actions; t7.toString; t6 = (t7 & 1) === 0 && (t6 & 8) === 0; } else t6 = false; object._updateRole$2(B.Role_6, t6); t6 = object.__engine$_flags; object._updateRole$2(B.Role_7, (t6 & 32768) !== 0 && (t6 & 8192) === 0); object._updateChildrenInTraversalOrder$0(); t6 = object._dirtyFields; if ((t6 & 512) !== 0 || (t6 & 65536) !== 0 || (t6 & 64) !== 0) object.recomputePositionAndSize$0(); object._dirtyFields = 0; } if (_this._rootSemanticsElement == null) { t1 = t3.$index(0, 0).element; _this._rootSemanticsElement = t1; t2 = $._domRenderer; (t2 == null ? $._domRenderer = A.DomRenderer$() : t2)._semanticsHostElement.appendChild(t1); } _this._finalizeTree$0(); } }; A.EngineSemanticsOwner$__closure.prototype = { call$0() { var t1 = this.$this._rootSemanticsElement; if (t1 != null) J.remove$0$ax(t1); }, $signature: 0 }; A.EngineSemanticsOwner__now_closure.prototype = { call$0() { return new A.DateTime(Date.now(), false); }, $signature: 487 }; A.EngineSemanticsOwner__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.EnabledState.prototype = { toString$0(_) { return "EnabledState." + this._core$_name; } }; A.SemanticsHelper.prototype = {}; 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, t2; if (this._semanticsPlaceholder == null) return true; t1 = $.EngineSemanticsOwner__instance; if ((t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1)._semanticsEnabled) return true; if (!J.containsKey$1$x(B.Set_Yabt3._collection$_map, $event.type)) return true; t1 = J.get$target$x($event); t2 = this._semanticsPlaceholder; if (t1 == null ? t2 != null : t1 !== t2) return true; t1 = $.EngineSemanticsOwner__instance; (t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1).set$semanticsEnabled(true); this.dispose$0(0); return false; }, prepareAccessibilityPlaceholder$0() { var t2, t1 = this._semanticsPlaceholder = A._ElementFactoryProvider_createElement_tag("flt-semantics-placeholder", null); J.addEventListener$3$x(t1, "click", new A.DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure(this), true); t1.setAttribute("role", "button"); t1.setAttribute("aria-live", "polite"); t1.setAttribute("tabindex", "0"); t1.setAttribute("aria-label", "Enable accessibility"); t2 = t1.style; t2.position = "absolute"; t2.left = "-1px"; t2.top = "-1px"; t2.width = "1px"; t2.height = "1px"; return t1; }, dispose$0(_) { var t1 = this._semanticsPlaceholder; if (t1 != null) J.remove$0$ax(t1); this._semanticsPlaceholder = null; } }; A.DesktopSemanticsEnabler_prepareAccessibilityPlaceholder_closure.prototype = { call$1($event) { this.$this.tryEnableSemantics$1($event); }, $signature: 25 }; A.MobileSemanticsEnabler.prototype = { get$isWaitingToEnableSemantics() { return this._semanticsPlaceholder != null; }, tryEnableSemantics$1($event) { var t1, removeNow, activationPoint, activatingElementRect, t2, t3, t4, deltaX, deltaY, _this = this; if (_this._semanticsPlaceholder == null) return true; if (_this._schedulePlaceholderRemoval) { t1 = $.$get$_browserEngine(); if (t1 === B.BrowserEngine_1) { t1 = $event.type; removeNow = t1 === "touchend" || t1 === "pointerup" || t1 === "click"; } else removeNow = true; if (removeNow) _this.dispose$0(0); return true; } t1 = $.EngineSemanticsOwner__instance; if ((t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1)._semanticsEnabled) return true; if (++_this.semanticsActivationAttempts >= 20) return _this._schedulePlaceholderRemoval = true; if (!J.containsKey$1$x(B.Set_2No4._collection$_map, $event.type)) return true; if (_this.semanticsActivationTimer != null) return false; switch ($event.type) { case "click": activationPoint = J.get$offset$x(type$.MouseEvent._as($event)); break; case "touchstart": case "touchend": t1 = type$.TouchEvent._as($event).changedTouches; t1.toString; t1 = B.TouchList_methods.get$first(t1); activationPoint = new A.Point(B.JSNumber_methods.round$0(t1.clientX), B.JSNumber_methods.round$0(t1.clientY), type$.Point_num); break; case "pointerdown": case "pointerup": type$.PointerEvent._as($event); activationPoint = new A.Point($event.clientX, $event.clientY, type$.Point_num); break; default: return true; } activatingElementRect = _this._semanticsPlaceholder.getBoundingClientRect(); t1 = activatingElementRect.left; t1.toString; t2 = activatingElementRect.right; t2.toString; t3 = activatingElementRect.top; t3.toString; t4 = activatingElementRect.bottom; t4.toString; deltaX = activationPoint.x - (t1 + (t2 - t1) / 2); deltaY = activationPoint.y - (t3 + (t4 - t3) / 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 t2, t1 = this._semanticsPlaceholder = A._ElementFactoryProvider_createElement_tag("flt-semantics-placeholder", null); J.addEventListener$3$x(t1, "click", new A.MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure(this), true); t1.setAttribute("role", "button"); t1.setAttribute("aria-label", "Enable accessibility"); t2 = t1.style; t2.position = "absolute"; t2.left = "0"; t2.top = "0"; t2.right = "0"; t2.bottom = "0"; return t1; }, dispose$0(_) { var t1 = this._semanticsPlaceholder; if (t1 != null) J.remove$0$ax(t1); this.semanticsActivationTimer = this._semanticsPlaceholder = null; } }; A.MobileSemanticsEnabler_tryEnableSemantics_closure.prototype = { call$0() { this.$this.dispose$0(0); var t1 = $.EngineSemanticsOwner__instance; (t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1).set$semanticsEnabled(true); }, $signature: 0 }; A.MobileSemanticsEnabler_prepareAccessibilityPlaceholder_closure.prototype = { call$1($event) { this.$this.tryEnableSemantics$1($event); }, $signature: 25 }; A.Tappable.prototype = { update$0(_) { var t2, _this = this, t1 = _this.semanticsObject, element = t1.element; element.tabIndex = 0; t1.setAriaRole$2("button", (t1.__engine$_flags & 8) !== 0); if (t1.enabledState$0() === B.EnabledState_2 && (t1.__engine$_flags & 8) !== 0) { element.setAttribute("aria-disabled", "true"); _this._stopListening$0(); } else { t2 = t1.__engine$_actions; t2.toString; if ((t2 & 1) !== 0 && (t1.__engine$_flags & 16) === 0) { if (_this._clickListener == null) { t2 = new A.Tappable_update_closure(_this); _this._clickListener = t2; J.addEventListener$2$x(element, "click", t2); } } else _this._stopListening$0(); } if ((t1._dirtyFields & 1) !== 0 && (t1.__engine$_flags & 32) !== 0) J.focus$0$x(element); }, _stopListening$0() { var t1 = this._clickListener; if (t1 == null) return; J.removeEventListener$2$x(this.semanticsObject.element, "click", t1); this._clickListener = null; }, dispose$0(_) { this._stopListening$0(); this.semanticsObject.setAriaRole$2("button", false); } }; A.Tappable_update_closure.prototype = { call$1(_) { var t2, t1 = this.$this.semanticsObject; if (t1.owner._gestureMode !== B.GestureMode_1) return; t2 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t2._onSemanticsAction, t2._onSemanticsActionZone, t1.id, B.SemanticsAction_1, null); }, $signature: 25 }; 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 = A._lateReadCheck(textField.__TextField_editableElement, "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, _this = this; if (!_this.isEnabled) return; _this.isEnabled = false; _this.geometry = _this.style = null; for (t1 = _this.subscriptions, i = 0; i < t1.length; ++i) J.cancel$0$z(t1[i]); B.JSArray_methods.set$length(t1, 0); _this.lastEditingState = null; t1 = _this.domElement; if (t1 != null) t1.blur(); _this._queuedStyle = _this.activeTextField = _this.domElement = null; }, addEventHandlers$0() { var t1, t2, t3, _this = this, _s18_ = "inputConfiguration"; if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup != null) B.JSArray_methods.addAll$1(_this.subscriptions, A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t1.push(A._EventStreamSubscription$(t2, "input", t3, false, type$._ElementEventStreamImpl_Event._precomputed1)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "keydown", _this.get$maybeSendAction(), false, type$._ElementEventStreamImpl_KeyboardEvent._precomputed1)); t1.push(A._EventStreamSubscription$(document, "selectionchange", t3, false, type$.Event)); _this.preventDefaultForMouseEvents$0(); }, initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { this.isEnabled = true; this.__DefaultTextEditingStrategy_inputConfiguration = inputConfig; this.applyConfiguration$1(inputConfig); }, placeElement$0() { A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration"); 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 = { _initializeForBlink$0() { J.addEventListener$2$x(A._lateReadCheck(this.__TextField_editableElement, "editableElement"), "focus", new A.TextField__initializeForBlink_closure(this)); }, _initializeForWebkit$0() { var _this = this, _s15_ = "editableElement", t1 = {}, t2 = $.$get$_operatingSystem(); if (t2 === B.OperatingSystem_4) { _this._initializeForBlink$0(); return; } t1.lastTouchStartOffsetY = t1.lastTouchStartOffsetX = null; J.addEventListener$3$x(A._lateReadCheck(_this.__TextField_editableElement, _s15_), "touchstart", new A.TextField__initializeForWebkit_closure(t1), true); J.addEventListener$3$x(A._lateReadCheck(_this.__TextField_editableElement, _s15_), "touchend", new A.TextField__initializeForWebkit_closure0(t1, _this), true); }, update$0(_) { var t3, editingState, needsDomFocusRequest, _this = this, _s15_ = "editableElement", _s10_ = "aria-label", t1 = _this.semanticsObject, t2 = t1.__engine$_label; t2 = t2 != null && t2.length !== 0; t3 = _this.__TextField_editableElement; if (t2) { t2 = A._lateReadCheck(t3, _s15_); t3 = t1.__engine$_label; t3.toString; t2.setAttribute(_s10_, t3); } else A._lateReadCheck(t3, _s15_).removeAttribute(_s10_); t2 = A._lateReadCheck(_this.__TextField_editableElement, _s15_).style; t3 = t1.__engine$_rect; t3 = A.S(t3.right - t3.left) + "px"; t2.width = t3; t3 = t1.__engine$_rect; t3 = A.S(t3.bottom - t3.top) + "px"; t2.height = t3; t2 = t1.__engine$_value; editingState = A.EditingState$(t1._textSelectionBase, t1._textSelectionExtent, t2); if ((t1.__engine$_flags & 32) !== 0) { if (!_this._hasFocused) { _this._hasFocused = true; $.SemanticsTextEditingStrategy__instance.activate$1(_this); needsDomFocusRequest = true; } else needsDomFocusRequest = false; if (document.activeElement !== A._lateReadCheck(_this.__TextField_editableElement, _s15_)) needsDomFocusRequest = true; $.SemanticsTextEditingStrategy__instance.setEditingState$1(editingState); } else { if (_this._hasFocused) { t2 = $.SemanticsTextEditingStrategy__instance; if (t2.activeTextField === _this) t2.disable$0(0); t2 = A._lateReadCheck(_this.__TextField_editableElement, _s15_); if (type$.InputElement._is(t2)) t2.value = editingState.text; else if (type$.TextAreaElement._is(t2)) t2.value = editingState.text; else A.throwExpression(A.UnsupportedError$("Unsupported DOM element type")); if (_this._hasFocused && document.activeElement === A._lateReadCheck(_this.__TextField_editableElement, _s15_)) A._lateReadCheck(_this.__TextField_editableElement, _s15_).blur(); _this._hasFocused = false; } needsDomFocusRequest = false; } if (needsDomFocusRequest) t1.owner._oneTimePostUpdateCallbacks.push(new A.TextField_update_closure(_this)); }, dispose$0(_) { var t1; J.remove$0$ax(A._lateReadCheck(this.__TextField_editableElement, "editableElement")); t1 = $.SemanticsTextEditingStrategy__instance; if (t1.activeTextField === this) t1.disable$0(0); } }; A.TextField__initializeForBlink_closure.prototype = { call$1($event) { var t2, t1 = this.$this.semanticsObject; if (t1.owner._gestureMode !== B.GestureMode_1) return; t2 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t2._onSemanticsAction, t2._onSemanticsActionZone, t1.id, B.SemanticsAction_1, null); }, $signature: 25 }; A.TextField__initializeForWebkit_closure.prototype = { call$1($event) { var t1, t2; type$.TouchEvent._as($event); t1 = $event.changedTouches; t1.toString; t1 = B.TouchList_methods.get$last(t1); t2 = B.JSNumber_methods.round$0(t1.clientX); B.JSNumber_methods.round$0(t1.clientY); t1 = this._box_0; t1.lastTouchStartOffsetX = t2; t2 = $event.changedTouches; t2.toString; t2 = B.TouchList_methods.get$last(t2); B.JSNumber_methods.round$0(t2.clientX); t1.lastTouchStartOffsetY = B.JSNumber_methods.round$0(t2.clientY); }, $signature: 25 }; A.TextField__initializeForWebkit_closure0.prototype = { call$1($event) { var t1, t2, t3; type$.TouchEvent._as($event); t1 = this._box_0; if (t1.lastTouchStartOffsetX != null) { t2 = $event.changedTouches; t2.toString; t2 = B.TouchList_methods.get$last(t2); t3 = B.JSNumber_methods.round$0(t2.clientX); B.JSNumber_methods.round$0(t2.clientY); t2 = $event.changedTouches; t2.toString; t2 = B.TouchList_methods.get$last(t2); B.JSNumber_methods.round$0(t2.clientX); t2 = B.JSNumber_methods.round$0(t2.clientY); if (t3 * t3 + t2 * t2 < 324) { t2 = $.$get$EnginePlatformDispatcher__instance(); A.invoke3(t2._onSemanticsAction, t2._onSemanticsActionZone, this.$this.semanticsObject.id, B.SemanticsAction_1, null); } } t1.lastTouchStartOffsetY = t1.lastTouchStartOffsetX = null; }, $signature: 25 }; A.TextField_update_closure.prototype = { call$0() { var _s15_ = "editableElement", t1 = this.$this; if (document.activeElement !== A._lateReadCheck(t1.__TextField_editableElement, _s15_)) A._lateReadCheck(t1.__TextField_editableElement, _s15_).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.__engine$_buffer[index]; }, $indexSet(_, index, value) { if (index >= this.__engine$_length) throw A.wrapException(A.IndexError$(index, this, null, null, null)); this.__engine$_buffer[index] = value; }, set$length(_, newLength) { var t2, i, newBuffer, _this = this, t1 = _this.__engine$_length; if (newLength < t1) for (t2 = _this.__engine$_buffer, i = newLength; i < t1; ++i) t2[i] = 0; else { t1 = _this.__engine$_buffer.length; if (newLength > t1) { if (t1 === 0) newBuffer = new Uint8Array(newLength); else newBuffer = _this.__engine$_createBiggerBuffer$1(newLength); B.NativeUint8List_methods.setRange$3(newBuffer, 0, _this.__engine$_length, _this.__engine$_buffer); _this.__engine$_buffer = newBuffer; } } _this.__engine$_length = newLength; }, __engine$_add$1(_, value) { var _this = this, t1 = _this.__engine$_length; if (t1 === _this.__engine$_buffer.length) _this.__engine$_grow$1(t1); _this.__engine$_buffer[_this.__engine$_length++] = value; }, add$1(_, value) { var _this = this, t1 = _this.__engine$_length; if (t1 === _this.__engine$_buffer.length) _this.__engine$_grow$1(t1); _this.__engine$_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.__engine$_addAll$3(values, start, end); }, addAll$1($receiver, values) { return this.addAll$3($receiver, values, 0, null); }, insertAll$2(_, index, values) { var end, writeIndex, t1, skipCount, value, t2, writeIndex0, _this = this, _null = null; A.RangeError_checkValidIndex(index, _this, "index", _this.__engine$_length + 1); A.RangeError_checkNotNegative(0, "start"); if (index === _this.__engine$_length) { _this.__engine$_addAll$3(values, 0, _null); return; } end = type$.List_dynamic._is(values) ? J.get$length$asx(values) : _null; if (end != null) { _this.__engine$_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.__engine$_buffer; if (writeIndex === t2.length) { t2 = _this.__engine$_createBiggerBuffer$1(_null); B.NativeUint8List_methods.setRange$3(t2, 0, writeIndex, _this.__engine$_buffer); _this.__engine$_buffer = t2; } writeIndex0 = writeIndex + 1; t2[writeIndex] = value; writeIndex = writeIndex0; } A._TypedDataBuffer__reverse(_this.__engine$_buffer, index, _this.__engine$_length); A._TypedDataBuffer__reverse(_this.__engine$_buffer, _this.__engine$_length, writeIndex); A._TypedDataBuffer__reverse(_this.__engine$_buffer, index, writeIndex); _this.__engine$_length = writeIndex; return; }, __engine$_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.__engine$_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")); }, __engine$_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.__engine$_ensureCapacity$1(newLength); t1 = _this.__engine$_buffer; t2 = index + valuesLength; B.NativeUint8List_methods.setRange$4(t1, t2, _this.__engine$_length + valuesLength, t1, index); B.NativeUint8List_methods.setRange$4(_this.__engine$_buffer, index, t2, values, start); _this.__engine$_length = newLength; }, __engine$_ensureCapacity$1(requiredCapacity) { var newBuffer, _this = this; if (requiredCapacity <= _this.__engine$_buffer.length) return; newBuffer = _this.__engine$_createBiggerBuffer$1(requiredCapacity); B.NativeUint8List_methods.setRange$3(newBuffer, 0, _this.__engine$_length, _this.__engine$_buffer); _this.__engine$_buffer = newBuffer; }, __engine$_createBiggerBuffer$1(requiredCapacity) { var newLength = this.__engine$_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.__engine$_createBiggerBuffer$1(null); B.NativeUint8List_methods.setRange$3(t1, 0, $length, this.__engine$_buffer); this.__engine$_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.__engine$_buffer; if (A._instanceType(this)._eval$1("_TypedDataBuffer<_TypedDataBuffer.E>")._is(source)) B.NativeUint8List_methods.setRange$4(t1, start, end, source.__engine$_buffer, skipCount); else B.NativeUint8List_methods.setRange$4(t1, start, end, source, skipCount); }, setRange$3($receiver, start, end, source) { return this.setRange$4($receiver, start, end, source, 0); } }; A._IntBuffer.prototype = {}; A.Uint8Buffer0.prototype = {}; A.MethodCall0.prototype = { toString$0(_) { return A.getRuntimeType(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(A.NativeUint8List_NativeUint8List$view(message.buffer, 0, null))); } }; 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.MethodCall0(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.ReadBuffer0(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.__engine$_buffer.__engine$_add$1(0, 0); else if (A._isBool(value)) { t1 = value ? 1 : 2; buffer.__engine$_buffer.__engine$_add$1(0, t1); } else if (typeof value == "number") { t1 = buffer.__engine$_buffer; t1.__engine$_add$1(0, 6); buffer.__engine$_alignTo$1(8); buffer.__engine$_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.__engine$_buffer; t3 = buffer.__engine$_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.__engine$_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.__engine$_buffer; t1.__engine$_add$1(0, 8); _this.writeSize$2(buffer, value.length); t1.addAll$1(0, value); } else if (type$.Int32List._is(value)) { t1 = buffer.__engine$_buffer; t1.__engine$_add$1(0, 9); t2 = value.length; _this.writeSize$2(buffer, t2); buffer.__engine$_alignTo$1(4); t1.addAll$1(0, A.NativeUint8List_NativeUint8List$view(value.buffer, value.byteOffset, 4 * t2)); } else if (type$.Float64List._is(value)) { t1 = buffer.__engine$_buffer; t1.__engine$_add$1(0, 11); t2 = value.length; _this.writeSize$2(buffer, t2); buffer.__engine$_alignTo$1(8); t1.addAll$1(0, A.NativeUint8List_NativeUint8List$view(value.buffer, value.byteOffset, 8 * t2)); } else if (type$.List_dynamic._is(value)) { buffer.__engine$_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.__engine$_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_closure0(_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.__engine$_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.__engine$_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.__engine$_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.__engine$_buffer.__engine$_add$1(0, value); else { t1 = buffer.__engine$_buffer; t2 = buffer.__engine$_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_closure0.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: 60 }; A.StandardMethodCodec.prototype = { decodeMethodCall$1(methodCall) { var buffer, method, $arguments; methodCall.toString; buffer = new A.ReadBuffer0(methodCall); method = B.C_StandardMessageCodec0.readValue$1(0, buffer); $arguments = B.C_StandardMessageCodec0.readValue$1(0, buffer); if (typeof method == "string" && buffer.__engine$_position >= methodCall.byteLength) return new A.MethodCall0(method, $arguments); else throw A.wrapException(B.FormatException_Qi2); }, encodeSuccessEnvelope$1(result) { var buffer = A.WriteBuffer_WriteBuffer(); buffer.__engine$_buffer.__engine$_add$1(0, 0); B.C_StandardMessageCodec0.writeValue$2(0, buffer, result); return buffer.done$0(); }, encodeErrorEnvelope$3$code$details$message(code, details, message) { var buffer = A.WriteBuffer_WriteBuffer(); buffer.__engine$_buffer.__engine$_add$1(0, 1); B.C_StandardMessageCodec0.writeValue$2(0, buffer, code); B.C_StandardMessageCodec0.writeValue$2(0, buffer, message); B.C_StandardMessageCodec0.writeValue$2(0, buffer, details); return buffer.done$0(); } }; A.WriteBuffer0.prototype = { __engine$_alignTo$1(alignment) { var t2, i, t1 = this.__engine$_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.__engine$_buffer; t2 = t1.__engine$_buffer; return A.NativeByteData_NativeByteData$view(t2.buffer, 0, t1.__engine$_length * t2.BYTES_PER_ELEMENT); } }; A.ReadBuffer0.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.__engine$_alignTo$1(8); t1 = this.data; B.NativeByteBuffer_methods.asInt64List$2(t1.buffer, t1.byteOffset + this.__engine$_position, $length); }, __engine$_alignTo$1(alignment) { var t1 = this.__engine$_position, mod = B.JSInt_methods.$mod(t1, alignment); if (mod !== 0) this.__engine$_position = t1 + (alignment - mod); }, get$data(receiver) { return this.data; } }; 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.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(_) { this.get$_layoutService(); return false; }, get$_layoutService() { var t1, t2, _this = this, value = _this.__CanvasParagraph__layoutService; if (value === $) { t1 = A.CanvasElement_CanvasElement(null, null).getContext("2d"); t2 = A._setArrayType([], type$.JSArray_EngineLineMetrics); A._lateInitializeOnceCheck(_this.__CanvasParagraph__layoutService, "_layoutService"); value = _this.__CanvasParagraph__layoutService = new A.TextLayoutService(_this, t1, t2); } return value; }, layout$1(_, constraints) { var _this = this; constraints = new A.ParagraphConstraints(Math.floor(constraints.width)); 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._createDomElement$0(); this._cachedDomElement = t1; return t1; } return type$.HtmlElement._as(domElement.cloneNode(true)); }, _createDomElement$0() { var cssStyle, t3, t4, lines, element, span, i, element0, line, boxes, j, j0, box, color, background, fontSize, t5, updateDecoration, shadows, value, t6, textDecoration, decorationColor, fontFeatures, style, ellipsis, _this = this, _null = null, t1 = $._domRenderer, t2 = type$.HtmlElement, rootElement = t2._as((t1 == null ? $._domRenderer = A.DomRenderer$() : t1).createElement$1(0, "p")); t1 = _this.paragraphStyle; cssStyle = rootElement.style; t3 = t1.textAlign; if (t3 != null) { t4 = t1.textDirection; t3 = A.textAlignToCssValue(t3, t4 == null ? B.TextDirection_1 : t4); cssStyle.textAlign = t3 == null ? "" : t3; } if (t1.get$lineHeight(t1) != null) { t3 = A.S(t1.get$lineHeight(t1)); cssStyle.lineHeight = t3; } t3 = t1.textDirection; if (t3 != null) { t3 = A.textDirectionToCss(t3); cssStyle.direction = t3 == null ? "" : t3; } A._applySpanStylesToParagraph(rootElement, _this.spans); cssStyle = rootElement.style; cssStyle.position = "absolute"; cssStyle.whiteSpace = "pre"; if (_this.get$_layoutService().width > _this.get$longestLine()) { t3 = A.S(_this.get$_layoutService().width) + "px"; cssStyle.width = t3; } if (t1.maxLines != null || t1.ellipsis != null) { B.CssStyleDeclaration_methods._setPropertyHelper$3(cssStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(cssStyle, "overflow-y"), "hidden", ""); t1 = A.S(_this.get$_layoutService().height) + "px"; cssStyle.height = t1; } lines = _this.get$_layoutService().lines; for (element = rootElement, span = _null, i = 0; i < lines.length; ++i) { if (i > 0) { t1 = $._domRenderer; t1 == null ? $._domRenderer = A.DomRenderer$() : t1; element0 = document.createElement("br"); element.appendChild(element0); } line = lines[i]; boxes = line.boxes; for (j = 0, t1 = ""; j < boxes.length; j = j0) { j0 = j + 1; box = boxes[j]; t3 = box instanceof A.SpanBox; if (t3 && box.span === span) { t1 += B.JSString_methods.substring$2(box.spanometer.paragraph.plainText, box.start.index, box.end.indexWithoutTrailingNewlines); continue; } if (t1.length !== 0) { if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); element.appendChild(document.createTextNode(t1.charCodeAt(0) == 0 ? t1 : t1)); t1 = ""; t4 = ""; } else t4 = t1; if (t3) { span = box.span; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); element = document.createElement("span"); t2._as(element); t3 = span.style; cssStyle = element.style; t4 = t3.foreground; color = t4 == null ? _null : t4.get$color(t4); if (color == null) color = t3.color; if (color != null) { t4 = A.colorToCssString(color); cssStyle.color = t4 == null ? "" : t4; } t4 = t3.background; background = t4 == null ? _null : t4.get$color(t4); if (background != null) { t4 = A.colorToCssString(background); cssStyle.backgroundColor = t4 == null ? "" : t4; } t4 = t3.height; if (t4 != null) { t4 = A.S(t4); cssStyle.lineHeight = t4; } fontSize = t3.fontSize; if (fontSize != null) { t4 = "" + B.JSNumber_methods.floor$0(fontSize) + "px"; cssStyle.fontSize = t4; } t4 = t3.fontWeight; if (t4 != null) { t4 = A.fontWeightToCss(t4); cssStyle.fontWeight = t4 == null ? "" : t4; } t4 = t3.fontStyle; if (t4 != null) { t4 = t4 === B.FontStyle_0 ? "normal" : "italic"; cssStyle.fontStyle = t4; } t4 = A.canonicalizeFontFamily(t3.fontFamily); cssStyle.fontFamily = t4 == null ? "" : t4; t4 = t3.letterSpacing; if (t4 != null) { t4 = A.S(t4) + "px"; cssStyle.letterSpacing = t4; } t4 = t3.wordSpacing; if (t4 != null) { t4 = A.S(t4) + "px"; cssStyle.wordSpacing = t4; } t4 = t3.decoration; t5 = t4 != null; updateDecoration = t5 && true; shadows = t3.shadows; if (shadows != null) { value = A._shadowListToCss(shadows); t6 = B.CssStyleDeclaration_methods._browserPropertyName$1(cssStyle, "text-shadow"); cssStyle.setProperty(t6, value, ""); } if (updateDecoration) if (t5) { t5 = t3.decorationStyle; t4 = t4._mask; t6 = (t4 | 1) === t4 ? "" + "underline " : ""; if ((t4 | 2) === t4) t6 += "overline "; t4 = (t4 | 4) === t4 ? t6 + "line-through " : t6; if (t5 != null) t4 += A.S(A._decorationStyleToCssString(t5)); textDecoration = t4.length === 0 ? _null : t4.charCodeAt(0) == 0 ? t4 : t4; if (textDecoration != null) { t4 = $.$get$_browserEngine(); if (t4 === B.BrowserEngine_1) { t4 = element.style; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(t4, "-webkit-text-decoration"); t4.setProperty(t5, textDecoration, ""); } else cssStyle.textDecoration = textDecoration; decorationColor = t3.decorationColor; if (decorationColor != null) { t4 = A.colorToCssString(decorationColor); t4.toString; t5 = B.CssStyleDeclaration_methods._browserPropertyName$1(cssStyle, "text-decoration-color"); cssStyle.setProperty(t5, t4, ""); } } } fontFeatures = t3.fontFeatures; if (fontFeatures != null && fontFeatures.length !== 0) { value = A._fontFeatureListToCss(fontFeatures); t3 = B.CssStyleDeclaration_methods._browserPropertyName$1(cssStyle, "font-feature-settings"); cssStyle.setProperty(t3, value, ""); } if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); rootElement.appendChild(element); t1 += B.JSString_methods.substring$2(box.spanometer.paragraph.plainText, box.start.index, box.end.indexWithoutTrailingNewlines); t3 = t1; } else { if (box instanceof A.PlaceholderBox) { t3 = $._domRenderer; t3 == null ? $._domRenderer = A.DomRenderer$() : t3; t3 = box.placeholder; element = document.createElement("span"); style = element.style; style.display = "inline-block"; t5 = A.S(t3.width) + "px"; style.width = t5; t5 = A.S(t3.height) + "px"; style.height = t5; t3 = A._placeholderAlignmentToCssVerticalAlign(t3); style.verticalAlign = t3 == null ? "" : t3; rootElement.appendChild(element); } else throw A.wrapException(A.UnimplementedError$("Unknown box type: " + A.getRuntimeType(box).toString$0(0))); t3 = t4; element = rootElement; span = _null; } } if (t1.length !== 0) { if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); element.appendChild(document.createTextNode(t1.charCodeAt(0) == 0 ? t1 : t1)); } ellipsis = line.ellipsis; if (ellipsis != null) { if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); element.appendChild(document.createTextNode(ellipsis)); } } 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); }, getWordBoundary$1(_, position) { var text = this.plainText, t1 = position.offset; return new A.TextRange(A.WordBreaker__findBreakIndex(B._FindBreakDirection_m1, text, t1 + 1), A.WordBreaker__findBreakIndex(B._FindBreakDirection_1, text, t1)); }, getLineBoundary$1(position) { var t1, i, line, index = position.offset, lines = this.get$_layoutService().lines; for (t1 = lines.length - 1, i = 0; i < t1; ++i) { line = lines[i]; if (index >= line.startIndex && index < line.endIndex) break; } line = lines[i]; return new A.TextRange(line.startIndex, line.endIndex); }, $isEngineParagraph: 1 }; A.FlatTextSpan.prototype = {$isParagraphSpan: 1, get$end(receiver) { return this.end; } }; A.PlaceholderSpan.prototype = {$isParagraphSpan: 1, get$end(receiver) { return this.end; } }; A.StyleNode0.prototype = { resolveStyle$0() { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _this = this, style = _this._cachedStyle; if (style == null) { t1 = _this.get$_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$_fontSize(_this); t13 = _this.get$_letterSpacing(_this); t14 = _this.get$_wordSpacing(_this); t15 = _this.get$__engine$_height(_this); t16 = _this.get$_locale(); t14 = A.EngineTextStyle$only(_this.get$_background(_this), t1, t2, t3, t4, t5, t9, t10, t11, t12, t7, t6, _this.get$_foreground(), t15, t13, t16, _this.get$_shadows(), t8, t14); _this._cachedStyle = t14; return t14; } return style; } }; A.ChildStyleNode.prototype = { get$_color(_) { var t1 = this.style.color; if (t1 == null) if (this.get$_foreground() == null) { t1 = this.parent; t1 = t1.get$_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$_fontSize(_) { var t1 = this.style.fontSize; if (t1 == null) { t1 = this.parent; t1 = t1.get$_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$_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$_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$_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$_locale() { return this.paragraphStyle.locale; }, get$_background(_) { return null; }, get$_foreground() { return null; }, get$_shadows() { return null; }, get$_color() { return B.Color_4294901760; } }; 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; }, get$placeholderScales() { return this._placeholderScales; }, addPlaceholder$6$baseline$baselineOffset$scale(_, width, height, alignment, baseline, baselineOffset, scale) { var t1, t2, _this = this; ++_this._placeholderCount; _this._placeholderScales.push(scale); t1 = _this._plainTextBuffer._contents; t2 = baselineOffset == null ? height : baselineOffset; _this._spans.push(new A.PlaceholderSpan(t1.length, width * scale, height * scale, alignment, t2 * scale)); }, 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 decoration, fontFeatures, _this = this, style = _this.get$_currentStyleNode().resolveStyle$0(), t1 = _this._plainTextBuffer, t2 = t1._contents, t3 = t2 + text; t1._contents = t3; t1 = _this._drawOnCanvas; if (t1) { decoration = style.decoration; if (decoration != null) { t1 = decoration._mask; t1 = B.TextDecoration_0._mask !== t1; } else t1 = false; if (t1) { _this._drawOnCanvas = false; t1 = false; } else t1 = true; } if (t1) { fontFeatures = style.fontFeatures; if (fontFeatures != null && fontFeatures.length !== 0) _this._drawOnCanvas = false; } _this._spans.push(new A.FlatTextSpan(style, t2.length, t3.length)); }, build$0(_) { var _this = this, t1 = _this._plainTextBuffer._contents; return new A.CanvasParagraph(_this._spans, _this._paragraphStyle, t1.charCodeAt(0) == 0 ? t1 : t1, _this._drawOnCanvas); } }; A.FontCollection.prototype = { registerFonts$1(assetManager) { return this.registerFonts$body$FontCollection(assetManager); }, registerFonts$body$FontCollection(assetManager) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, e, exception, t1, fontManifest, t2, t3, t4, t5, t6, t7, family, t8, t9, asset, descriptors, t10, t11, byteData, $async$exception; var $async$registerFonts$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 byteData = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait(assetManager.load$1(0, "FontManifest.json"), $async$registerFonts$1); case 7: // returning from await. byteData = $async$result; $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.AssetManagerException) { e = t1; if (e.httpStatus === 404) { $.$get$printWarning().call$1("Font manifest does not exist at `" + e.url + "` \u2013 ignoring."); // goto return $async$goto = 1; break; } else throw $async$exception; } else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally fontManifest = type$.nullable_List_dynamic._as(B.C_JsonCodec.decode$1(0, B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(byteData.buffer, 0, null)))); if (fontManifest == null) throw A.wrapException(A.AssertionError$(string$.There_)); if ($.$get$supportsFontLoadingApi()) $async$self._assetFontManager = A.FontManager_FontManager(); else $async$self._assetFontManager = new A._PolyfillFontManager(A._setArrayType([], type$.JSArray_Future_void)); for (t1 = type$.Map_String_dynamic, t2 = J.cast$1$0$ax(fontManifest, t1), t3 = A._instanceType(t2), t2 = new A.ListIterator(t2, t2.get$length(t2), t3._eval$1("ListIterator<ListMixin.E>")), t4 = type$.String, t3 = t3._eval$1("ListMixin.E"), t5 = type$.List_dynamic; t2.moveNext$0();) { t6 = t3._as(t2.__internal$_current); t7 = J.getInterceptor$asx(t6); family = A._asStringQ(t7.$index(t6, "family")); t6 = J.cast$1$0$ax(t5._as(t7.$index(t6, "fonts")), t1); for (t7 = A._instanceType(t6), t6 = new A.ListIterator(t6, t6.get$length(t6), t7._eval$1("ListIterator<ListMixin.E>")), t7 = t7._eval$1("ListMixin.E"); t6.moveNext$0();) { t8 = t7._as(t6.__internal$_current); t9 = J.getInterceptor$asx(t8); asset = A._asString(t9.$index(t8, "asset")); descriptors = A.LinkedHashMap_LinkedHashMap$_empty(t4, t4); for (t10 = J.get$iterator$ax(t9.get$keys(t8)); t10.moveNext$0();) { t11 = t10.get$current(t10); if (t11 !== "asset") descriptors.$indexSet(0, t11, A.S(t9.$index(t8, t11))); } t8 = $async$self._assetFontManager; t8.toString; family.toString; t8.registerAsset$3(family, "url(" + assetManager.getAssetUrl$1(asset) + ")", descriptors); } } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$registerFonts$1, $async$completer); }, ensureFontsLoaded$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$ensureFontsLoaded$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._assetFontManager; $async$goto = 2; return A._asyncAwait(t1 == null ? null : A.Future_wait(t1._fontLoadingFutures, false, type$.void), $async$ensureFontsLoaded$0); case 2: // returning from await. t1 = $async$self._testFontManager; $async$goto = 3; return A._asyncAwait(t1 == null ? null : A.Future_wait(t1._fontLoadingFutures, false, type$.void), $async$ensureFontsLoaded$0); case 3: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$ensureFontsLoaded$0, $async$completer); } }; A.FontManager.prototype = { registerAsset$3(family, asset, descriptors) { var t1 = $.$get$FontManager_startWithDigit()._nativeRegExp; if (t1.test(family) || $.$get$FontManager_notPunctuation().stringMatch$1(family) !== family) this._loadFontFace$3("'" + family + "'", asset, descriptors); this._loadFontFace$3(family, asset, descriptors); }, _loadFontFace$3(family, asset, descriptors) { var fontFace, e, exception; try { fontFace = A.FontFace_FontFace(family, asset, descriptors); this._fontLoadingFutures.push(A.promiseToFuture(fontFace.load(), type$.FontFace).then$1$2$onError(0, new A.FontManager__loadFontFace_closure(fontFace), new A.FontManager__loadFontFace_closure0(family), type$.void)); } catch (exception) { e = A.unwrapException(exception); $.$get$printWarning().call$1('Error while loading font family "' + family + '":\n' + A.S(e)); } } }; A.FontManager__loadFontFace_closure.prototype = { call$1(_) { document.fonts.add(this.fontFace); }, $signature: 510 }; A.FontManager__loadFontFace_closure0.prototype = { call$1(e) { $.$get$printWarning().call$1('Error while trying to load font family "' + this.family + '":\n' + A.S(e)); }, $signature: 5 }; A._PolyfillFontManager.prototype = { registerAsset$3(family, asset, descriptors) { var fallbackFontName, t3, sansSerifWidth, _fontLoadStart, fontStyleMap, t4, fontFaceDeclaration, fontLoadStyle, _s5_ = "style", _s6_ = "weight", t1 = document, paragraph = t1.createElement("p"), t2 = paragraph.style; t2.position = "absolute"; t2 = paragraph.style; t2.visibility = "hidden"; t2 = paragraph.style; t2.fontSize = "72px"; t2 = $.$get$_browserEngine(); fallbackFontName = t2 === B.BrowserEngine_4 ? "Times New Roman" : "sans-serif"; t2 = paragraph.style; t2.fontFamily = fallbackFontName; if (descriptors.$index(0, _s5_) != null) { t2 = paragraph.style; t3 = descriptors.$index(0, _s5_); t2.fontStyle = t3 == null ? "" : t3; } if (descriptors.$index(0, _s6_) != null) { t2 = paragraph.style; t3 = descriptors.$index(0, _s6_); t2.fontWeight = t3 == null ? "" : t3; } paragraph.textContent = "giItT1WQy@!-/#"; t1.body.appendChild(paragraph); sansSerifWidth = B.JSNumber_methods.round$0(paragraph.offsetWidth); t2 = paragraph.style; t3 = "'" + family + "', " + fallbackFontName; t2.fontFamily = t3; t2 = new A._Future($.Zone__current, type$._Future_void); _fontLoadStart = A._Cell$named("_fontLoadStart"); t3 = type$.String; fontStyleMap = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.nullable_String); fontStyleMap.$indexSet(0, "font-family", "'" + family + "'"); fontStyleMap.$indexSet(0, "src", asset); if (descriptors.$index(0, _s5_) != null) fontStyleMap.$indexSet(0, "font-style", descriptors.$index(0, _s5_)); if (descriptors.$index(0, _s6_) != null) fontStyleMap.$indexSet(0, "font-weight", descriptors.$index(0, _s6_)); t4 = fontStyleMap.get$keys(fontStyleMap); fontFaceDeclaration = A.MappedIterable_MappedIterable(t4, new A._PolyfillFontManager_registerAsset_closure(fontStyleMap), A._instanceType(t4)._eval$1("Iterable.E"), t3).join$1(0, " "); fontLoadStyle = t1.createElement("style"); fontLoadStyle.type = "text/css"; B.StyleElement_methods.setInnerHtml$1(fontLoadStyle, "@font-face { " + fontFaceDeclaration + " }"); t1.head.appendChild(fontLoadStyle); if (B.JSString_methods.contains$1(family.toLowerCase(), "icon")) { B.ParagraphElement_methods.remove$0(paragraph); return; } _fontLoadStart.__late_helper$_value = new A.DateTime(Date.now(), false); new A._PolyfillFontManager_registerAsset__watchWidth(paragraph, sansSerifWidth, new A._AsyncCompleter(t2, type$._AsyncCompleter_void), _fontLoadStart, family).call$0(); this._fontLoadingFutures.push(t2); } }; A._PolyfillFontManager_registerAsset__watchWidth.prototype = { call$0() { var _this = this, t1 = _this.paragraph; if (B.JSNumber_methods.round$0(t1.offsetWidth) !== _this.sansSerifWidth) { B.ParagraphElement_methods.remove$0(t1); _this.completer.complete$0(0); } else if (A.Duration$(0, 0, 0, Date.now() - _this._fontLoadStart._readLocal$0()._value, 0)._duration > 2000000) { _this.completer.complete$0(0); throw A.wrapException(A.Exception_Exception("Timed out trying to load font: " + _this.family)); } else A.Timer_Timer(B.Duration_50000, _this); }, $signature: 0 }; A._PolyfillFontManager_registerAsset_closure.prototype = { call$1($name) { return $name + ": " + A.S(this.fontStyleMap.$index(0, $name)) + ";"; }, $signature: 35 }; A.TextLayoutService.prototype = { performLayout$1(constraints) { var t4, spanometer, currentLine, t5, t6, t7, t8, spanIndex, span, nextBreak, t9, additionalWidth, revertedToSpan, _i, line, longestLineWidth, breakToNextLine, widthOfLastSegment, _this = this, t1 = _this.paragraph, t2 = t1.spans, spanCount = t2.length, t3 = _this.width = constraints.width; _this.height = 0; _this.longestLine = null; _this.maxIntrinsicWidth = _this.minIntrinsicWidth = 0; _this.didExceedMaxLines = false; t4 = _this.lines; B.JSArray_methods.set$length(t4, 0); if (spanCount === 0) return; spanometer = new A.Spanometer(t1, _this.context); currentLine = A.LineBuilder$_(t1, spanometer, 0, 0, t3, B.LineBreakResult_vhn); for (t5 = t1.paragraphStyle, t6 = t5.maxLines, t5 = t5.ellipsis, t7 = t5 != null, t8 = t6 == null, spanIndex = 0; true;) { if (spanIndex === spanCount) { if (currentLine._segments.length !== 0 || currentLine.__engine$_end.type !== B.LineBreakType_3) { currentLine.extendToEndOfText$0(); t4.push(currentLine.build$0(0)); } break; } span = t2[spanIndex]; if (span instanceof A.PlaceholderSpan) { if (currentLine.widthIncludingSpace + span.width <= t3) currentLine.addPlaceholder$1(0, span); else { if (currentLine._segments.length !== 0) { t4.push(currentLine.build$0(0)); currentLine = currentLine.nextLine$0(); } currentLine.addPlaceholder$1(0, span); } ++spanIndex; } else if (span instanceof A.FlatTextSpan) { spanometer.set$currentSpan(span); nextBreak = currentLine.findNextBreak$0(); t9 = nextBreak.lineBreak; additionalWidth = currentLine.getAdditionalWidthTo$1(t9); if (currentLine.width + additionalWidth <= t3) { currentLine.extendTo$1(nextBreak); if (t9.type === B.LineBreakType_2) { t4.push(currentLine.build$0(0)); currentLine = currentLine.nextLine$0(); } } else if ((t7 && t8 || t4.length + 1 === t6) && t7) { currentLine.forceBreak$3$allowEmpty$ellipsis(nextBreak, true, t5); t4.push(currentLine.build$1$ellipsis(0, t5)); break; } else if (!currentLine.isBreakable) { currentLine.forceBreak$2$allowEmpty(nextBreak, false); t4.push(currentLine.build$0(0)); currentLine = currentLine.nextLine$0(); } else { currentLine.revertToLastBreakOpportunity$0(); revertedToSpan = B.JSArray_methods.get$last(currentLine._segments).span; for (; span !== revertedToSpan;) { --spanIndex; span = t2[spanIndex]; } t4.push(currentLine.build$0(0)); currentLine = currentLine.nextLine$0(); } if (currentLine.__engine$_end.index >= span.get$end(span)) { currentLine.createBox$0(); ++spanIndex; } } else throw A.wrapException(A.UnimplementedError$("Unknown span type: " + A.getRuntimeType(span).toString$0(0))); if (t4.length === t6) break; } for (t5 = t4.length, _i = 0; _i < t5; ++_i) { line = t4[_i]; _this.height = _this.height + line.height; if (_this.alphabeticBaseline === -1) { t6 = line.baseline; _this.alphabeticBaseline = t6; _this.ideographicBaseline = t6 * 1.1662499904632568; } t6 = _this.longestLine; longestLineWidth = t6 == null ? null : t6.width; if (longestLineWidth == null) longestLineWidth = 0; if (longestLineWidth < line.width) _this.longestLine = line; } currentLine = A.LineBuilder$_(t1, spanometer, 0, 0, t3, B.LineBreakResult_vhn); for (spanIndex = 0; spanIndex < spanCount;) { span = t2[spanIndex]; if (span instanceof A.PlaceholderSpan) { currentLine.addPlaceholder$1(0, span); ++spanIndex; breakToNextLine = false; } else if (span instanceof A.FlatTextSpan) { spanometer.set$currentSpan(span); nextBreak = currentLine.findNextBreak$0(); currentLine.extendTo$1(nextBreak); breakToNextLine = nextBreak.lineBreak.type === B.LineBreakType_2 && true; if (currentLine.__engine$_end.index >= span.end) ++spanIndex; } else breakToNextLine = false; widthOfLastSegment = B.JSArray_methods.get$last(currentLine._segments).width; if (_this.minIntrinsicWidth < widthOfLastSegment) _this.minIntrinsicWidth = widthOfLastSegment; t1 = _this.maxIntrinsicWidth; t3 = currentLine.widthIncludingSpace; if (t1 < t3) _this.maxIntrinsicWidth = t3; if (breakToNextLine) currentLine = currentLine.nextLine$0(); } }, getBoxesForPlaceholders$0() { var t1, t2, _i, line, t3, t4, $top, lineTop, t5, t6, t7, _i0, box, t8, t9, t10, t11, top0, _s11_ = "startOffset", _s9_ = "lineWidth", 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]; for (t3 = line.boxes, t4 = t3.length, $top = line.baseline, lineTop = $top - line.ascent, t5 = line.left, t6 = line.height, t7 = lineTop + t6, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { box = t3[_i0]; if (box instanceof A.PlaceholderBox) { t8 = box.paragraphDirection; t9 = t8 === B.TextDirection_1; t10 = t9 ? A._lateReadCheck(box.__RangeBox_startOffset, _s11_) : A._lateReadCheck(box.__RangeBox_lineWidth, _s9_) - (A._lateReadCheck(box.__RangeBox_startOffset, _s11_) + box.width); t9 = t9 ? A._lateReadCheck(box.__RangeBox_startOffset, _s11_) + box.width : A._lateReadCheck(box.__RangeBox_lineWidth, _s9_) - A._lateReadCheck(box.__RangeBox_startOffset, _s11_); t11 = box.placeholder; switch (t11.alignment.index) { case 3: top0 = lineTop; break; case 5: top0 = lineTop + (t6 - t11.height) / 2; break; case 4: top0 = t7 - t11.height; break; case 1: top0 = $top - t11.height; break; case 2: top0 = $top; break; case 0: top0 = $top - t11.baselineOffset; break; default: top0 = null; } boxes.push(new A.TextBox(t5 + t10, top0, t5 + t9, top0 + t11.height, t8)); } } } return boxes; }, getBoxesForRange$4(start, end, boxHeightStyle, boxWidthStyle) { var $length, boxes, t1, t2, _i, line, t3, t4, _i0, box; 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.boxes, t4 = t3.length, _i0 = 0; _i0 < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i0) { box = t3[_i0]; if (box instanceof A.SpanBox && start < box.end.index && box.start.index < end) boxes.push(box.intersect$3(line, start, end)); } } return boxes; }, getPositionForOffset$1(offset) { var dx, _i, box, t3, t4, _s11_ = "startOffset", _s9_ = "lineWidth", line = this._findLineForY$1(offset._dy), t1 = offset._dx, t2 = line.left; if (t1 <= t2) return new A.TextPosition(line.startIndex, B.TextAffinity_1); if (t1 >= t2 + line.widthWithTrailingSpaces) return new A.TextPosition(line.endIndexWithoutNewlines, B.TextAffinity_0); dx = t1 - t2; for (t1 = line.boxes, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { box = t1[_i]; t3 = box.paragraphDirection === B.TextDirection_1; if ((t3 ? A._lateReadCheck(box.__RangeBox_startOffset, _s11_) : A._lateReadCheck(box.__RangeBox_lineWidth, _s9_) - (A._lateReadCheck(box.__RangeBox_startOffset, _s11_) + box.width)) <= dx) { t4 = dx <= (t3 ? A._lateReadCheck(box.__RangeBox_startOffset, _s11_) + box.width : A._lateReadCheck(box.__RangeBox_lineWidth, _s9_) - A._lateReadCheck(box.__RangeBox_startOffset, _s11_)); t3 = t4; } else t3 = false; if (t3) return box.getPositionForX$1(dx); } return new A.TextPosition(line.startIndex, B.TextAffinity_1); }, _findLineForY$1(y) { var t1, t2, _i, line, t3; for (t1 = this.lines, t2 = t1.length, _i = 0; _i < t2; ++_i) { line = t1[_i]; t3 = line.height; if (y <= t3) return line; y -= t3; } return B.JSArray_methods.get$last(t1); }, set$width(receiver, val) { return this.width = val; }, set$height(receiver, val) { return this.height = val; } }; A.RangeBox.prototype = { get$left(_) { var _this = this, _s11_ = "startOffset"; return _this.paragraphDirection === B.TextDirection_1 ? A._lateReadCheck(_this.__RangeBox_startOffset, _s11_) : A._lateReadCheck(_this.__RangeBox_lineWidth, "lineWidth") - (A._lateReadCheck(_this.__RangeBox_startOffset, _s11_) + _this.width); }, get$right(_) { var _this = this, _s11_ = "startOffset"; return _this.paragraphDirection === B.TextDirection_1 ? A._lateReadCheck(_this.__RangeBox_startOffset, _s11_) + _this.width : A._lateReadCheck(_this.__RangeBox_lineWidth, "lineWidth") - A._lateReadCheck(_this.__RangeBox_startOffset, _s11_); } }; A.PlaceholderBox.prototype = { getPositionForX$1(x) { var _this = this, t1 = x - _this.get$left(_this) < _this.get$right(_this) - x ? B.TextAffinity_0 : B.TextAffinity_1; return new A.TextPosition(_this.start.index, t1); } }; A.SpanBox.prototype = { intersect$3(line, start, end) { var before, t2, after, left, right, _this = this, $top = line.baseline - _this.baseline, t1 = _this.start.index; if (start <= t1) before = 0; else { t2 = _this.spanometer; t2.set$currentSpan(_this.span); before = t2._measure$2(t1, start); } t1 = _this.end.indexWithoutTrailingNewlines; if (end >= t1) after = 0; else { t2 = _this.spanometer; t2.set$currentSpan(_this.span); after = t2._measure$2(end, t1); } t1 = _this.contentDirection; if (t1 === B.TextDirection_1) { left = _this.get$left(_this) + before; right = _this.get$right(_this) - after; } else { left = _this.get$left(_this) + after; right = _this.get$right(_this) - before; } t2 = line.left; return new A.TextBox(t2 + left, $top, t2 + right, $top + _this.height, t1); }, getPositionForX$1(x) { var startIndex, endIndex, cutoff, t2, _this = this, t1 = _this.spanometer; t1.set$currentSpan(_this.span); x = _this.contentDirection !== B.TextDirection_1 ? _this.get$right(_this) - x : x - _this.get$left(_this); startIndex = _this.start.index; endIndex = _this.end.indexWithoutTrailingNewlines; cutoff = t1.forceBreak$4$allowEmpty$availableWidth(startIndex, endIndex, true, x); if (cutoff === endIndex) return new A.TextPosition(cutoff, B.TextAffinity_0); t2 = cutoff + 1; if (x - t1._measure$2(startIndex, cutoff) < t1._measure$2(startIndex, t2) - x) return new A.TextPosition(cutoff, B.TextAffinity_1); else return new A.TextPosition(t2, B.TextAffinity_0); } }; A.LineSegment.prototype = {}; A.LineBuilder.prototype = { set$end(_, value) { if (value.type !== B.LineBreakType_1) this.isBreakable = true; this.__engine$_end = value; }, 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; } }, getAdditionalWidthTo$1(newEnd) { var _this = this, t1 = _this.__engine$_end.index, t2 = newEnd.indexWithoutTrailingSpaces; if (t1 === t2) return 0; return _this.widthIncludingSpace - _this.width + _this.spanometer._measure$2(t1, t2); }, get$_isLastBoxAPlaceholder() { var t1 = this._boxes; if (t1.length === 0) return false; return B.JSArray_methods.get$last(t1) instanceof A.PlaceholderBox; }, get$_currentBoxDirection() { var value = this.__LineBuilder__currentBoxDirection; if (value === $) { value = this.paragraph.paragraphStyle.textDirection; value = this.__LineBuilder__currentBoxDirection = value == null ? B.TextDirection_1 : value; } return value; }, get$_currentContentDirection() { var value = this.__LineBuilder__currentContentDirection; if (value === $) { value = this.paragraph.paragraphStyle.textDirection; value = this.__LineBuilder__currentContentDirection = value == null ? B.TextDirection_1 : value; } return value; }, extendTo$1(newEnd) { var _this = this, t1 = _this.ascent, t2 = _this.spanometer, t3 = t2._currentRuler; _this.ascent = Math.max(t1, t3.get$alphabeticBaseline(t3)); t3 = _this.descent; t1 = t2._currentRuler; t1 = t1.get$height(t1); t2 = t2._currentRuler; _this.descent = Math.max(t3, t1 - t2.get$alphabeticBaseline(t2)); t1 = newEnd.isSpaceOnly; if (!t1) { t2 = newEnd.textDirection; t2 = _this.get$_currentBoxDirection() !== t2 || _this.get$_currentContentDirection() !== t2; } else t2 = true; if (t2) _this.createBox$0(); t2 = newEnd.textDirection; t3 = t2 == null; _this.__LineBuilder__currentBoxDirection = t3 ? _this.get$_currentBoxDirection() : t2; _this.__LineBuilder__currentContentDirection = t3 ? B.TextDirection_1 : t2; _this._addSegment$1(_this._createSegment$1(newEnd.lineBreak)); if (t1) _this.createBox$1$isSpaceOnly(true); }, extendToEndOfText$0() { var t1, endOfText, t2, t3, _this = this; if (_this.__engine$_end.type === B.LineBreakType_3) return; t1 = _this.paragraph.plainText.length; endOfText = new A.LineBreakResult(t1, t1, t1, B.LineBreakType_3); t1 = _this.spanometer; if (t1._currentSpan != null) { t2 = _this.ascent; t3 = t1._currentRuler; _this.ascent = Math.max(t2, t3.get$alphabeticBaseline(t3)); t3 = _this.descent; t2 = t1._currentRuler; t2 = t2.get$height(t2); t1 = t1._currentRuler; _this.descent = Math.max(t3, t2 - t1.get$alphabeticBaseline(t1)); _this._addSegment$1(_this._createSegment$1(endOfText)); } else _this.set$end(0, endOfText); }, addPlaceholder$1(_, placeholder) { var ascent, descent, t1, t2, diff, t3, _this = this; 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; } _this.ascent = Math.max(_this.ascent, A.checkNum(ascent)); _this.descent = Math.max(_this.descent, A.checkNum(descent)); t1 = _this.__engine$_end; t2 = placeholder.width; _this._addSegment$1(new A.LineSegment(placeholder, t1, t1, t2, t2)); t1 = _this.get$_currentBoxStart(); t3 = _this.paragraph.paragraphStyle.textDirection; if (t3 == null) t3 = B.TextDirection_1; _this._boxes.push(new A.PlaceholderBox(placeholder, t1, t1, t2, t3, _this.get$_currentBoxDirection())); _this._currentBoxStartOffset = _this.widthIncludingSpace; _this.isBreakable = true; }, _createSegment$1(segmentEnd) { var t3, segmentStart = this.__engine$_end, t1 = this.spanometer, t2 = t1._currentSpan; t2.toString; t3 = segmentStart.index; return new A.LineSegment(t2, segmentStart, segmentEnd, t1._measure$2(t3, segmentEnd.indexWithoutTrailingSpaces), t1._measure$2(t3, segmentEnd.indexWithoutTrailingNewlines)); }, _addSegment$1(segment) { var t1, t2, _this = this; _this._segments.push(segment); t1 = segment.width; if (t1 !== 0) { t2 = _this.width; _this.width = t2 + (_this.widthIncludingSpace - t2 + t1); } _this.widthIncludingSpace = _this.widthIncludingSpace + segment.widthIncludingSpace; _this.set$end(0, segment.end); }, _popSegment$0() { var t2, i, widthOfTrailingSpace, poppedBox, _this = this, t1 = _this._segments, poppedSegment = t1.pop(); if (t1.length === 0) { _this.widthIncludingSpace = _this.width = 0; _this.set$end(0, _this.start); } else { _this.widthIncludingSpace = _this.widthIncludingSpace - poppedSegment.widthIncludingSpace; _this.set$end(0, B.JSArray_methods.get$last(t1).end); t2 = poppedSegment.width; if (t2 !== 0) { _this.width -= t2; i = t1.length - 1; widthOfTrailingSpace = 0; while (true) { t2 = i >= 0; if (!(t2 && t1[i].width === 0)) break; widthOfTrailingSpace += t1[i].widthIncludingSpace; --i; } if (t2) { t1 = t1[i]; widthOfTrailingSpace += t1.widthIncludingSpace - t1.width; } _this.width -= widthOfTrailingSpace; } } if (_this.get$_currentBoxStart().index > poppedSegment.start.index) { poppedBox = _this._boxes.pop(); _this._currentBoxStartOffset = _this._currentBoxStartOffset - poppedBox.width; if (poppedBox instanceof A.SpanBox && poppedBox.isSpaceOnly) --_this._spaceBoxCount; } return poppedSegment; }, forceBreak$3$allowEmpty$ellipsis(nextBreak, allowEmpty, ellipsis) { var t1, t2, breakingPoint, availableWidth, segmentToBreak, _this = this; if (ellipsis == null) { t1 = _this.widthIncludingSpace; t2 = nextBreak.lineBreak.indexWithoutTrailingSpaces; breakingPoint = _this.spanometer.forceBreak$4$allowEmpty$availableWidth(_this.__engine$_end.index, t2, allowEmpty, _this.maxWidth - t1); if (breakingPoint === t2) _this.extendTo$1(nextBreak); else _this.extendTo$1(new A.DirectionalPosition(new A.LineBreakResult(breakingPoint, breakingPoint, breakingPoint, B.LineBreakType_1), nextBreak.textDirection, nextBreak.isSpaceOnly)); return; } t1 = _this.spanometer; availableWidth = _this.maxWidth - A.measureSubstring(t1.context, ellipsis, 0, ellipsis.length, null); segmentToBreak = _this._createSegment$1(nextBreak.lineBreak); t2 = _this._segments; while (true) { if (!(t2.length !== 0 && _this.widthIncludingSpace > availableWidth)) break; segmentToBreak = _this._popSegment$0(); } t1.set$currentSpan(type$.FlatTextSpan._as(segmentToBreak.span)); breakingPoint = t1.forceBreak$4$allowEmpty$availableWidth(segmentToBreak.start.index, segmentToBreak.end.index, allowEmpty, availableWidth - _this.widthIncludingSpace); t1 = _this._boxes; while (true) { if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1).end.index > breakingPoint)) break; t1.pop(); } _this._currentBoxStartOffset = _this.widthIncludingSpace; _this.extendTo$1(new A.DirectionalPosition(new A.LineBreakResult(breakingPoint, breakingPoint, breakingPoint, B.LineBreakType_1), nextBreak.textDirection, nextBreak.isSpaceOnly)); }, forceBreak$2$allowEmpty(nextBreak, allowEmpty) { return this.forceBreak$3$allowEmpty$ellipsis(nextBreak, allowEmpty, null); }, revertToLastBreakOpportunity$0() { for (; this.__engine$_end.type === B.LineBreakType_1;) this._popSegment$0(); }, get$_currentBoxStart() { var t1 = this._boxes; if (t1.length === 0) return this.start; return B.JSArray_methods.get$last(t1).end; }, createBox$1$isSpaceOnly(isSpaceOnly) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, _this = this, boxStart = _this.get$_currentBoxStart(), boxEnd = _this.__engine$_end; if (boxStart.index === boxEnd.index) return; t1 = _this.spanometer; t2 = _this.widthIncludingSpace; t3 = _this._currentBoxStartOffset; t4 = _this.paragraph.paragraphStyle.textDirection; if (t4 == null) t4 = B.TextDirection_1; t5 = _this.get$_currentBoxDirection(); t6 = _this.get$_currentContentDirection(); t7 = t1._currentSpan; t7.toString; t8 = t1._currentRuler; t8 = t8.get$height(t8); t9 = t1._currentRuler; _this._boxes.push(new A.SpanBox(t1, t7, t6, isSpaceOnly, t8, t9.get$alphabeticBaseline(t9), boxStart, boxEnd, t2 - t3, t4, t5)); if (isSpaceOnly) ++_this._spaceBoxCount; _this._currentBoxStartOffset = _this.widthIncludingSpace; }, createBox$0() { return this.createBox$1$isSpaceOnly(false); }, build$1$ellipsis(_, ellipsis) { var ellipsisWidth, t1, t2, endIndexWithoutNewlines, hardBreak, t3, t4, t5, t6, t7, _this = this; _this.createBox$0(); _this._positionBoxes$0(); ellipsisWidth = ellipsis == null ? 0 : A.measureSubstring(_this.spanometer.context, ellipsis, 0, ellipsis.length, null); t1 = _this.start.index; t2 = _this.__engine$_end; endIndexWithoutNewlines = Math.max(t1, t2.indexWithoutTrailingNewlines); if (t2.type !== B.LineBreakType_3 && _this.get$_isLastBoxAPlaceholder()) hardBreak = false; else { t2 = _this.__engine$_end.type; hardBreak = t2 === B.LineBreakType_2 || t2 === B.LineBreakType_3; } t2 = _this.__engine$_end; t3 = _this.width; t4 = _this.widthIncludingSpace; t5 = _this.get$alignOffset(); t6 = _this.ascent; t7 = _this.descent; return new A.EngineLineMetrics(ellipsis, t1, t2.index, endIndexWithoutNewlines, _this._boxes, _this._spaceBoxCount, hardBreak, t6, t7, t6 + t7, t3 + ellipsisWidth, t4 + ellipsisWidth, t5, _this.accumulatedHeight + t6, _this.lineNumber); }, build$0($receiver) { return this.build$1$ellipsis($receiver, null); }, _positionBoxes$0() { var t1, i, cumulativeWidth, t2, box, t3, t4, i0, lastNonSpaceBox, t5, _this = this, boxes = _this._boxes; for (t1 = _this.paragraph.paragraphStyle.textDirection, i = 0, cumulativeWidth = 0; t2 = boxes.length, i < t2;) { box = boxes[i]; t3 = t1 == null; t4 = t3 ? B.TextDirection_1 : t1; if (box.boxDirection === t4) { A._lateWriteOnceCheck(box.__RangeBox_startOffset, "startOffset"); box.__RangeBox_startOffset = cumulativeWidth; t2 = _this.width; A._lateWriteOnceCheck(box.__RangeBox_lineWidth, "lineWidth"); box.__RangeBox_lineWidth = t2; cumulativeWidth += box.width; ++i; continue; } i0 = i + 1; lastNonSpaceBox = i; while (true) { if (i0 < t2) { t4 = boxes[i0]; t5 = t3 ? B.TextDirection_1 : t1; t5 = t4.boxDirection !== t5; t4 = t5; } else t4 = false; if (!t4) break; box = boxes[i0]; lastNonSpaceBox = box instanceof A.SpanBox && box.isSpaceOnly ? lastNonSpaceBox : i0; ++i0; } i0 = lastNonSpaceBox + 1; cumulativeWidth += _this._positionBoxesInReverse$4$startOffset(boxes, i, lastNonSpaceBox, cumulativeWidth); i = i0; } }, _positionBoxesInReverse$4$startOffset(boxes, first, last, startOffset) { var i, cumulativeWidth, box, t1; for (i = last, cumulativeWidth = 0; i >= first; --i) { box = boxes[i]; A._lateWriteOnceCheck(box.__RangeBox_startOffset, "startOffset"); box.__RangeBox_startOffset = startOffset + cumulativeWidth; t1 = this.width; A._lateWriteOnceCheck(box.__RangeBox_lineWidth, "lineWidth"); box.__RangeBox_lineWidth = t1; cumulativeWidth += box.width; } return cumulativeWidth; }, findNextBreak$0() { var maxEnd, _this = this, nextBreak = _this._cachedNextBreak, text = _this.paragraph.plainText; if (nextBreak == null || _this.__engine$_end.index >= nextBreak.index) { maxEnd = _this.spanometer._currentSpan.end; nextBreak = _this._cachedNextBreak = A.nextLineBreak(text, _this.__engine$_end.index, maxEnd); } return A.getDirectionalBlockEnd(text, _this.__engine$_end, nextBreak); }, nextLine$0() { var _this = this, t1 = _this.__engine$_end; return A.LineBuilder$_(_this.paragraph, _this.spanometer, _this.accumulatedHeight + (_this.ascent + _this.descent), _this.lineNumber + 1, _this.maxWidth, t1); }, set$width(receiver, val) { return this.width = val; } }; A.Spanometer.prototype = { set$currentSpan(span) { var t1, value, t2, t3, ruler, cssFontString, _this = this; if (span === _this._currentSpan) return; _this._currentSpan = span; t1 = span.style; value = t1.__EngineTextStyle_heightStyle; if (value === $) { t2 = t1.get$effectiveFontFamily(); t3 = t1.fontSize; if (t3 == null) t3 = 14; A._lateInitializeOnceCheck(t1.__EngineTextStyle_heightStyle, "heightStyle"); value = t1.__EngineTextStyle_heightStyle = new A.TextHeightStyle(t2, t3, t1.height, null); } ruler = $.Spanometer__rulers.$index(0, value); if (ruler == null) { ruler = new A.TextHeightRuler(value, $.$get$Spanometer__rulerHost(), new A.TextDimensions(document.createElement("p"))); $.Spanometer__rulers.$indexSet(0, value, ruler); } _this._currentRuler = ruler; cssFontString = t1.get$cssFontString(); if (_this._cssFontString !== cssFontString) { _this._cssFontString = cssFontString; _this.context.font = cssFontString; } }, forceBreak$4$allowEmpty$availableWidth(start, end, allowEmpty, availableWidth) { var high, low, mid, width; this._currentSpan.toString; if (availableWidth <= 0) return allowEmpty ? start : start + 1; high = end; low = start; do { mid = B.JSInt_methods._tdivFast$1(low + high, 2); width = this._measure$2(start, mid); if (width < availableWidth) low = mid; else { low = width > availableWidth ? low : mid; high = mid; } } while (high - low > 1); return low === start && !allowEmpty ? low + 1 : low; }, _measure$2(start, end) { return A.measureSubstring(this.context, this.paragraph.plainText, start, end, this._currentSpan.style.letterSpacing); } }; A.LineCharProperty.prototype = { toString$0(_) { return "LineCharProperty." + this._core$_name; } }; A.LineBreakType.prototype = { toString$0(_) { return "LineBreakType." + this._core$_name; } }; A.LineBreakResult.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.index, _this.indexWithoutTrailingNewlines, _this.indexWithoutTrailingSpaces, _this.type, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.LineBreakResult && other.index === _this.index && other.indexWithoutTrailingNewlines === _this.indexWithoutTrailingNewlines && other.indexWithoutTrailingSpaces === _this.indexWithoutTrailingSpaces && other.type === _this.type; }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.RulerHost.prototype = { dispose$0(_) { J.remove$0$ax(this._rulerHost); } }; A.TextPaintService.prototype = { paint$2(canvas, offset) { var lastLine, t2, t3, _i, line, t4, lastBox, justifyPerSpaceBox, t5, t6, justifiedOffset, _i0, box, background, t7, rect, t1 = this.paragraph, lines = t1.get$_layoutService().lines; if (lines.length === 0) return; lastLine = B.JSArray_methods.get$last(lines); for (t2 = lines.length, t3 = type$.nullable_SurfacePaint, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) { line = lines[_i]; t4 = line.boxes; if (t4.length === 0) continue; lastBox = B.JSArray_methods.get$last(t4); justifyPerSpaceBox = A._calculateJustifyPerSpaceBox(t1, line, lastLine, lastBox); for (t5 = t4.length, t6 = justifyPerSpaceBox !== 0, justifiedOffset = offset, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0) { box = t4[_i0]; if (!(box === lastBox && box instanceof A.SpanBox && box.isSpaceOnly)) if (box instanceof A.SpanBox) { background = t3._as(box.span.style.background); if (background != null) { t7 = box.intersect$3(line, box.start.index, box.end.index); rect = new A.Rect(t7.left, t7.top, t7.right, t7.bottom).shift$1(justifiedOffset); if (box.isSpaceOnly) rect = A.Rect$fromPoints(new A.Offset(rect.left, rect.top), new A.Offset(rect.right + justifyPerSpaceBox, rect.bottom + 0)); background._frozen = true; canvas.drawRect$2(0, rect, background._paintData); } } this._paintText$4(canvas, justifiedOffset, line, box); if (box instanceof A.SpanBox && box.isSpaceOnly && t6) justifiedOffset = new A.Offset(justifiedOffset._dx + justifyPerSpaceBox, justifiedOffset._dy + 0); } } }, _paintText$4(canvas, offset, line, box) { var t1, foreground, paint, t2, t3, t4, x, y, text, letterSpacing, len, charX, i, char, ctx, ellipsis; if (box instanceof A.SpanBox) { t1 = box.span.style; foreground = t1.foreground; if (foreground != null) { type$.SurfacePaint._as(foreground); paint = foreground; } else { t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3 = t1.color; t3.toString; t2.set$color(0, t3); type$.SurfacePaint._as(t2); paint = t2; } t2 = t1.get$cssFontString(); if (t2 !== canvas._cachedLastCssFont) { t3 = canvas._canvasPool; t3.get$context(t3).font = t2; canvas._cachedLastCssFont = t2; } t2 = paint._frozen = true; t3 = paint._paintData; t4 = canvas._canvasPool; t4.get$contextHandle().setUpPaint$2(t3, null); t3 = offset._dx + line.left; x = t3 + box.get$left(box); y = offset._dy + line.baseline; if (!box.isSpaceOnly) { text = B.JSString_methods.substring$2(this.paragraph.plainText, box.start.index, box.end.indexWithoutTrailingNewlines); letterSpacing = t1.letterSpacing; if (letterSpacing != null ? letterSpacing === 0 : t2) canvas.fillText$4$shadows(0, text, x, y, t1.shadows); else { len = text.length; for (t1 = t1.shadows, charX = x, i = 0; i < len; ++i) { char = text[i]; canvas.fillText$4$shadows(0, char, B.JSNumber_methods.roundToDouble$0(charX), y, t1); ctx = t4.__engine$_context; if (ctx == null) { t4._createCanvas$0(); t2 = t4.__engine$_context; t2.toString; ctx = t2; } t2 = ctx.measureText(char).width; t2.toString; charX += letterSpacing + t2; } } } ellipsis = line.ellipsis; if (ellipsis != null && box === B.JSArray_methods.get$last(line.boxes)) canvas.fillText$3(0, ellipsis, t3 + box.get$right(box), y); t4.get$contextHandle().tearDownPaint$0(); } } }; A.EngineLineMetrics.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(null, _this.startIndex, _this.endIndex, _this.hardBreak, _this.ascent, _this.descent, 1 / 0, _this.height, _this.width, _this.left, _this.baseline, _this.lineNumber, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.EngineLineMetrics) if (other.startIndex === _this.startIndex) if (other.endIndex === _this.endIndex) if (other.hardBreak === _this.hardBreak) if (other.ascent === _this.ascent) if (other.descent === _this.descent) t1 = other.height === _this.height && other.width === _this.width && other.left === _this.left && other.baseline === _this.baseline && other.lineNumber === _this.lineNumber; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.EngineParagraphStyle.prototype = { get$lineHeight(_) { var strutStyle = this.__engine$_strutStyle, t1 = strutStyle == null, strutHeight = t1 ? null : strutStyle.__engine$_height; if (t1 || strutHeight == null || strutHeight === 0) return this.height; if (strutStyle._forceStrutHeight === true) return strutHeight; t1 = this.height; if (t1 == null) t1 = 0; return Math.max(A.checkNum(strutHeight), t1); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_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.hashValues(_this.textAlign, _this.textDirection, _this.fontWeight, _this.fontStyle, _this.maxLines, _this.fontFamily, _this.fontSize, _this.height, _this._textHeightBehavior, _this.ellipsis, _this.locale, 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); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.EngineTextStyle.prototype = { get$effectiveFontFamily() { var t1 = this.fontFamily; if (t1.length === 0) return "sans-serif"; return t1; }, get$cssFontString() { var t2, t3, t4, t5, _this = this, t1 = _this._cssFontString; if (t1 == null) { t1 = _this.fontStyle; t2 = _this.fontWeight; t3 = _this.fontSize; t4 = _this.get$effectiveFontFamily(); if (t1 != null) { t5 = "" + (t1 === B.FontStyle_0 ? "normal" : "italic"); t1 = t5; } else t1 = "" + "normal"; t1 += " "; t1 = (t2 != null ? t1 + A.S(A.fontWeightToCss(t2)) : t1 + "normal") + " "; t1 = (t3 != null ? t1 + B.JSNumber_methods.floor$0(t3) : t1 + "14") + "px " + A.S(A.canonicalizeFontFamily(t4)); t1 = _this._cssFontString = t1.charCodeAt(0) == 0 ? t1 : t1; } return t1; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; 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.fontFamily === _this.fontFamily && other.fontSize == _this.fontSize && other.letterSpacing == _this.letterSpacing && other.wordSpacing == _this.wordSpacing && other.height == _this.height && J.$eq$(other.locale, _this.locale) && other.background == _this.background && other.foreground == _this.foreground && A.listEquals(other.shadows, _this.shadows) && A.listEquals(other.fontFamilyFallback, _this.fontFamilyFallback); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.decoration, _this.decorationColor, _this.decorationStyle, _this.decorationThickness, _this.fontWeight, _this.fontStyle, _this.textBaseline, _this.fontFamily, _this.fontFamilyFallback, _this.fontSize, _this.letterSpacing, _this.wordSpacing, _this.height, _this.locale, _this.background, _this.foreground, _this.shadows, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.EngineStrutStyle.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.EngineStrutStyle) if (other._fontFamily == _this._fontFamily) if (other._fontSize == _this._fontSize) if (other.__engine$_height == _this.__engine$_height) t1 = other._fontWeight == _this._fontWeight && other._fontStyle == _this._fontStyle && other._forceStrutHeight == _this._forceStrutHeight && A.listEquals(other._fontFamilyFallback, _this._fontFamilyFallback); else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this._fontFamily, _this._fontFamilyFallback, _this._fontSize, _this.__engine$_height, _this._leading, _this._leadingDistribution, _this._fontWeight, _this._fontStyle, _this._forceStrutHeight, 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, B.C__HashEnd, B.C__HashEnd); } }; 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(other) === this.get$hashCode(this); }, get$hashCode(_) { var result, _this = this, value = _this.__TextHeightStyle_hashCode; if (value === $) { result = A.hashValues(_this.fontFamily, _this.fontSize, _this.height, A.hashList(_this.fontFeatures), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); A._lateInitializeOnceCheck(_this.__TextHeightStyle_hashCode, "hashCode"); _this.__TextHeightStyle_hashCode = result; value = result; } return value; } }; A.TextDimensions.prototype = {}; A.TextHeightRuler.prototype = { get$__engine$_host() { var host, t1, t2, t3, style, t4, height, _this = this, value = _this.__TextHeightRuler__host; if (value === $) { host = document.createElement("div"); t1 = host.style; t1.visibility = "hidden"; t1.position = "absolute"; t1.top = "0"; t1.left = "0"; t1.display = "flex"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "flex-direction"), "row", ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "align-items"), "baseline", ""); t1.margin = "0"; t1.border = "0"; t1.padding = "0"; t1 = _this._dimensions; t2 = _this.textHeightStyle; t3 = t1.__engine$_element; style = t3.style; t4 = "" + B.JSNumber_methods.floor$0(t2.fontSize) + "px"; style.fontSize = t4; t4 = A.canonicalizeFontFamily(t2.fontFamily); style.fontFamily = t4 == null ? "" : t4; height = t2.height; if (height != null) { t2 = B.JSNumber_methods.toString$0(height); style.lineHeight = t2; } t1._cachedBoundingClientRect = null; t2 = t3.style; t2.whiteSpace = "pre"; t1._cachedBoundingClientRect = null; t3.textContent = " "; host.appendChild(t3); t1._cachedBoundingClientRect = null; _this.rulerHost._rulerHost.appendChild(host); A._lateInitializeOnceCheck(_this.__TextHeightRuler__host, "_host"); _this.__TextHeightRuler__host = host; value = host; } return value; }, get$alphabeticBaseline(_) { var probe, t1, _this = this, value = _this.__TextHeightRuler_alphabeticBaseline; if (value === $) { value = _this.__TextHeightRuler__probe; if (value === $) { probe = document.createElement("div"); _this.get$__engine$_host().appendChild(probe); A._lateInitializeOnceCheck(_this.__TextHeightRuler__probe, "_probe"); _this.__TextHeightRuler__probe = probe; value = probe; } t1 = value.getBoundingClientRect().bottom; t1.toString; A._lateInitializeOnceCheck(_this.__TextHeightRuler_alphabeticBaseline, "alphabeticBaseline"); _this.__TextHeightRuler_alphabeticBaseline = t1; value = t1; } return value; }, get$height(_) { var t1, t2, cachedHeight, _this = this, value = _this.__TextHeightRuler_height; if (value === $) { t1 = _this._dimensions; t2 = t1._cachedBoundingClientRect; t1 = (t2 == null ? t1._cachedBoundingClientRect = t1.__engine$_element.getBoundingClientRect() : t2).height; t1.toString; t2 = $.$get$_browserEngine(); if (t2 === B.BrowserEngine_2 && true) cachedHeight = t1 + 1; else cachedHeight = t1; A._lateInitializeOnceCheck(_this.__TextHeightRuler_height, "height"); value = _this.__TextHeightRuler_height = cachedHeight; } return value; } }; A.DirectionalPosition.prototype = {}; A._ComparisonResult.prototype = { toString$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.WordCharProperty.prototype = { toString$0(_) { return "WordCharProperty." + this._core$_name; } }; A._FindBreakDirection.prototype = {}; A.BrowserAutofillHints.prototype = {}; A.EngineInputType.prototype = { get$submitActionOnEnter() { return true; }, createDomElement$0() { return A.InputElement_InputElement(null); }, 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; domElement.setAttribute("inputmode", t1); } } }; A.NoTextInputType.prototype = { get$inputmodeAttribute() { return "none"; } }; A.TextInputType0.prototype = { get$inputmodeAttribute() { return "text"; } }; 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; }, get$submitActionOnEnter() { return false; }, createDomElement$0() { return document.createElement("textarea"); } }; A.TextCapitalization.prototype = { toString$0(_) { return "TextCapitalization." + this._core$_name; } }; A.TextCapitalizationConfig.prototype = { setAutocapitalizeAttribute$1(domElement) { var t1, autocapitalize, _s9_ = "sentences", _s14_ = "autocapitalize"; 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; } if (type$.InputElement._is(domElement)) domElement.setAttribute(_s14_, autocapitalize); else if (type$.TextAreaElement._is(domElement)) domElement.setAttribute(_s14_, autocapitalize); } }; A.EngineAutofillForm.prototype = { addInputEventListeners$0() { var t1 = this.elements, keys = t1.get$keys(t1), subscriptions = A._setArrayType([], type$.JSArray_StreamSubscription_Event); keys.forEach$1(0, new A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey(this, subscriptions)); return subscriptions; } }; A.EngineAutofillForm_fromFrameworkMessage_closure.prototype = { call$1(e) { e.preventDefault(); }, $signature: 25 }; A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey.prototype = { call$1(key) { var t1 = this.$this, t2 = t1.elements.$index(0, key); t2.toString; this.subscriptions.push(A._EventStreamSubscription$(t2, "input", new A.EngineAutofillForm_addInputEventListeners_addSubscriptionForKey_closure(t1, key, t2), false, type$._ElementEventStreamImpl_Event._precomputed1)); }, $signature: 11 }; 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.MethodCall0(string$.TextIn, [0, A.LinkedHashMap_LinkedHashMap$_literal([t1.uniqueIdentifier, newEditingState.toFlutter$0()], type$.nullable_String, type$.dynamic)])), A._engine___emptyCallback$closure()); } }, $signature: 20 }; A.AutofillInfo.prototype = { applyToDomElement$2$focusedElement(domElement, focusedElement) { var t1, _s8_ = "password", autofillHint = this.autofillHint, placeholder = this.placeholder; if (type$.InputElement._is(domElement)) { 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_)) domElement.type = _s8_; else domElement.type = "text"; } domElement.autocomplete = t1 ? "on" : autofillHint; } else if (type$.TextAreaElement._is(domElement)) { if (placeholder != null) domElement.placeholder = placeholder; t1 = autofillHint == null; if (!t1) { domElement.name = autofillHint; domElement.id = autofillHint; } domElement.setAttribute("autocomplete", t1 ? "on" : autofillHint); } }, applyToDomElement$1(domElement) { return this.applyToDomElement$2$focusedElement(domElement, false); } }; A.EditingState.prototype = { toFlutter$0() { return A.LinkedHashMap_LinkedHashMap$_literal(["text", this.text, "selectionBase", this.baseOffset, "selectionExtent", this.extentOffset], type$.String, type$.dynamic); }, get$hashCode(_) { return A.hashValues(this.text, this.baseOffset, this.extentOffset, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeType(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.EditingState && other.text == _this.text && other.baseOffset === _this.baseOffset && other.extentOffset === _this.extentOffset; }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; }, applyToDomElement$1(domElement) { var _this = this; if (type$.InputElement._is(domElement)) { domElement.value = _this.text; domElement.setSelectionRange(_this.baseOffset, _this.extentOffset); } else if (type$.TextAreaElement._is(domElement)) { domElement.value = _this.text; domElement.setSelectionRange(_this.baseOffset, _this.extentOffset); } else throw A.wrapException(A.UnsupportedError$("Unsupported DOM element type: <" + A.S(domElement == null ? null : domElement.tagName) + "> (" + J.get$runtimeType$(domElement).toString$0(0) + ")")); }, get$text(receiver) { return this.text; } }; 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); } if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").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); } if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup != null) { _this.placeForm$0(); _this.get$focusedFormElement().focus(); _this.domElement.focus(); t1 = _this.lastEditingState; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } } }, initializeElementPlacement$0() { this.domElement.focus(); } }; A.DefaultTextEditingStrategy.prototype = { get$focusedFormElement() { var t1 = A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup; return t1 == null ? null : t1.formElement; }, initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { var t1, elementStyle, t2, _this = this, _s11_ = "transparent", _s4_ = "none"; _this.domElement = inputConfig.inputType.createDomElement$0(); _this.applyConfiguration$1(inputConfig); t1 = _this.domElement; t1.classList.add("flt-text-editing"); elementStyle = t1.style; elementStyle.whiteSpace = "pre-wrap"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "align-content"), "center", ""); elementStyle.position = "absolute"; elementStyle.top = "0"; elementStyle.left = "0"; elementStyle.padding = "0"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "opacity"), "1", ""); elementStyle.color = _s11_; elementStyle.backgroundColor = _s11_; elementStyle.background = _s11_; elementStyle.outline = _s4_; elementStyle.border = _s4_; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "resize"), _s4_, ""); B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "text-shadow"), _s11_, ""); elementStyle.overflow = "hidden"; B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "transform-origin"), "0 0 0", ""); t2 = $.$get$_browserEngine(); if (t2 !== B.BrowserEngine_0) if (t2 !== B.BrowserEngine_5) t2 = t2 === B.BrowserEngine_1; else t2 = true; else t2 = true; if (t2) t1.classList.add("transparentTextEditing"); B.CssStyleDeclaration_methods._setPropertyHelper$3(elementStyle, B.CssStyleDeclaration_methods._browserPropertyName$1(elementStyle, "caret-color"), _s11_, null); t1 = _this.style; if (t1 != null) { t2 = _this.domElement; t2.toString; t1.applyToDomElement$1(t2); } if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup == null) { t1 = $._domRenderer; t1 = (t1 == null ? $._domRenderer = A.DomRenderer$() : t1)._glassPaneShadow; t1.toString; t2 = _this.domElement; t2.toString; t1.append$1(0, t2); _this._appendedToForm = false; } _this.initializeElementPlacement$0(); _this.isEnabled = true; _this.onChange = onChange; _this.onAction = onAction; }, applyConfiguration$1(config) { var t1, autofill, autocorrectValue, _this = this, _s8_ = "readonly"; _this.__DefaultTextEditingStrategy_inputConfiguration = config; t1 = _this.domElement; if (config.readOnly) t1.setAttribute(_s8_, _s8_); else t1.removeAttribute(_s8_); if (config.obscureText) _this.domElement.setAttribute("type", "password"); if (config.inputType === B.C_NoTextInputType) _this.domElement.setAttribute("inputmode", "none"); autofill = config.autofill; t1 = _this.domElement; if (autofill != null) { t1.toString; autofill.applyToDomElement$2$focusedElement(t1, true); } else t1.setAttribute("autocomplete", "off"); autocorrectValue = config.autocorrect ? "on" : "off"; _this.domElement.setAttribute("autocorrect", autocorrectValue); }, initializeElementPlacement$0() { this.placeElement$0(); }, addEventHandlers$0() { var t1, t2, t3, t4, _this = this, _s18_ = "inputConfiguration"; if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup != null) B.JSArray_methods.addAll$1(_this.subscriptions, A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t4 = type$._ElementEventStreamImpl_Event._precomputed1; t1.push(A._EventStreamSubscription$(t2, "input", t3, false, t4)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "keydown", _this.get$maybeSendAction(), false, type$._ElementEventStreamImpl_KeyboardEvent._precomputed1)); t1.push(A._EventStreamSubscription$(document, "selectionchange", t3, false, type$.Event)); t3 = _this.domElement; t3.toString; t1.push(A._EventStreamSubscription$(t3, "blur", new A.DefaultTextEditingStrategy_addEventHandlers_closure(_this), false, t4)); _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 t2, i, _this = this, _s18_ = "inputConfiguration", t1 = _this.isEnabled = false; _this.geometry = _this.style = _this.lastEditingState = null; for (t2 = _this.subscriptions, i = 0; i < t2.length; ++i) J.cancel$0$z(t2[i]); B.JSArray_methods.set$length(t2, 0); if (_this._appendedToForm) { t1 = A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup; t1 = (t1 == null ? null : t1.formElement) != null; } t2 = _this.domElement; if (t1) { t2.blur(); t1 = _this.domElement; t1.toString; A._hideAutofillElements(t1, true); t1 = A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup; if (t1 != null) { t2 = t1.formIdentifier; t1 = t1.formElement; $.formsOnTheDom.$indexSet(0, t2, t1); A._hideAutofillElements(t1, true); } } else { t2.toString; J.remove$0$ax(t2); } _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, t1 = A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup; t1.toString; t2 = this.domElement; t2.toString; t1 = t1.formElement; t1.appendChild(t2); t2 = $._domRenderer; (t2 == null ? $._domRenderer = A.DomRenderer$() : t2)._glassPaneShadow.append$1(0, t1); this._appendedToForm = true; }, handleChange$1($event) { var newEditingState, _this = this, t1 = _this.domElement; t1.toString; newEditingState = A.EditingState_EditingState$fromDomElement(t1); if (!newEditingState.$eq(0, _this.lastEditingState)) { _this.lastEditingState = newEditingState; _this.onChange.call$1(newEditingState); } }, maybeSendAction$1($event) { var t1, _s18_ = "inputConfiguration"; if (type$.KeyboardEvent._is($event)) if (A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).inputType.get$submitActionOnEnter() && $event.keyCode === 13) { $event.preventDefault(); t1 = this.onAction; t1.toString; t1.call$1(A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).inputAction); } }, 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 t3, _this = this, t1 = _this.subscriptions, t2 = _this.domElement; t2.toString; t3 = type$._ElementEventStreamImpl_MouseEvent._precomputed1; t1.push(A._EventStreamSubscription$(t2, "mousedown", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure(), false, t3)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "mouseup", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0(), false, t3)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "mousemove", new A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1(), false, t3)); } }; A.DefaultTextEditingStrategy_addEventHandlers_closure.prototype = { call$1(_) { this.$this.domElement.focus(); }, $signature: 20 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure.prototype = { call$1(_) { _.preventDefault(); }, $signature: 83 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure0.prototype = { call$1(_) { _.preventDefault(); }, $signature: 83 }; A.DefaultTextEditingStrategy_preventDefaultForMouseEvents_closure1.prototype = { call$1(_) { _.preventDefault(); }, $signature: 83 }; 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); if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup != null) _this.placeForm$0(); t1 = _this.domElement; t1.toString; inputConfig.textCapitalization.setAutocapitalizeAttribute$1(t1); }, initializeElementPlacement$0() { var t1 = this.domElement.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), "translate(-9999px, -9999px)", ""); this._canPosition = false; }, addEventHandlers$0() { var t1, t2, t3, t4, _this = this, _s18_ = "inputConfiguration"; if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup != null) B.JSArray_methods.addAll$1(_this.subscriptions, A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t4 = type$._ElementEventStreamImpl_Event._precomputed1; t1.push(A._EventStreamSubscription$(t2, "input", t3, false, t4)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "keydown", _this.get$maybeSendAction(), false, type$._ElementEventStreamImpl_KeyboardEvent._precomputed1)); t1.push(A._EventStreamSubscription$(document, "selectionchange", t3, false, type$.Event)); t3 = _this.domElement; t3.toString; t1.push(A._EventStreamSubscription$(t3, "focus", new A.IOSTextEditingStrategy_addEventHandlers_closure(_this), false, t4)); _this._addTapListener$0(); t3 = _this.domElement; t3.toString; t1.push(A._EventStreamSubscription$(t3, "blur", new A.IOSTextEditingStrategy_addEventHandlers_closure0(_this), false, t4)); }, 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._EventStreamSubscription$(t1, "click", new A.IOSTextEditingStrategy__addTapListener_closure(this), false, type$._ElementEventStreamImpl_MouseEvent._precomputed1)); }, _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: 20 }; A.IOSTextEditingStrategy_addEventHandlers_closure0.prototype = { call$1(_) { var t1; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = this.$this; if (A._asBool(document.hasFocus())) t1.domElement.focus(); else t1.owner.sendTextConnectionClosedToFrameworkIfAny$0(); }, $signature: 20 }; A.IOSTextEditingStrategy__addTapListener_closure.prototype = { call$1(_) { var t2, t1 = this.$this; if (t1._canPosition) { t2 = t1.domElement.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t2, B.CssStyleDeclaration_methods._browserPropertyName$1(t2, "transform"), "translate(-9999px, -9999px)", ""); t1._canPosition = false; t1._schedulePlacement$0(); } }, $signature: 83 }; 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); if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup != null) _this.placeForm$0(); else { t1 = $._domRenderer; t1 = (t1 == null ? $._domRenderer = A.DomRenderer$() : t1)._glassPaneShadow; t1.toString; t2 = _this.domElement; t2.toString; t1.append$1(0, t2); } t1 = _this.domElement; t1.toString; inputConfig.textCapitalization.setAutocapitalizeAttribute$1(t1); }, addEventHandlers$0() { var t1, t2, t3, t4, _this = this, _s18_ = "inputConfiguration"; if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup != null) B.JSArray_methods.addAll$1(_this.subscriptions, A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t4 = type$._ElementEventStreamImpl_Event._precomputed1; t1.push(A._EventStreamSubscription$(t2, "input", t3, false, t4)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "keydown", _this.get$maybeSendAction(), false, type$._ElementEventStreamImpl_KeyboardEvent._precomputed1)); t1.push(A._EventStreamSubscription$(document, "selectionchange", t3, false, type$.Event)); t3 = _this.domElement; t3.toString; t1.push(A._EventStreamSubscription$(t3, "blur", new A.AndroidTextEditingStrategy_addEventHandlers_closure(_this), false, t4)); }, 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; if ($._domRenderer == null) $._domRenderer = A.DomRenderer$(); t1 = this.$this; if (A._asBool(document.hasFocus())) t1.domElement.focus(); else t1.owner.sendTextConnectionClosedToFrameworkIfAny$0(); }, $signature: 20 }; A.FirefoxTextEditingStrategy.prototype = { initializeTextEditing$3$onAction$onChange(inputConfig, onAction, onChange) { this.super$DefaultTextEditingStrategy$initializeTextEditing(inputConfig, onAction, onChange); if (A._lateReadCheck(this.__DefaultTextEditingStrategy_inputConfiguration, "inputConfiguration").autofillGroup != null) this.placeForm$0(); }, addEventHandlers$0() { var t1, t2, t3, t4, t5, _this = this, _s18_ = "inputConfiguration"; if (A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup != null) B.JSArray_methods.addAll$1(_this.subscriptions, A._lateReadCheck(_this.__DefaultTextEditingStrategy_inputConfiguration, _s18_).autofillGroup.addInputEventListeners$0()); t1 = _this.subscriptions; t2 = _this.domElement; t2.toString; t3 = _this.get$handleChange(); t4 = type$._ElementEventStreamImpl_Event._precomputed1; t1.push(A._EventStreamSubscription$(t2, "input", t3, false, t4)); t2 = _this.domElement; t2.toString; t5 = type$._ElementEventStreamImpl_KeyboardEvent._precomputed1; t1.push(A._EventStreamSubscription$(t2, "keydown", _this.get$maybeSendAction(), false, t5)); t2 = _this.domElement; t2.toString; t1.push(A._EventStreamSubscription$(t2, "keyup", new A.FirefoxTextEditingStrategy_addEventHandlers_closure(_this), false, t5)); t5 = _this.domElement; t5.toString; t1.push(A._EventStreamSubscription$(t5, "select", t3, false, t4)); t3 = _this.domElement; t3.toString; t1.push(A._EventStreamSubscription$(t3, "blur", new A.FirefoxTextEditingStrategy_addEventHandlers_closure0(_this), false, t4)); _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: 598 }; A.FirefoxTextEditingStrategy_addEventHandlers_closure0.prototype = { call$1(_) { this.$this._postponeFocus$0(); }, $signature: 20 }; 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) { type$.InputElement._as(J.get$first$ax(form.getElementsByClassName("submitBtn"))).click(); }, $signature: 603 }; A.TextEditingChannel.prototype = { handleTextInput$2(data, callback) { var t1, t2, command, transformList, textAlignIndex, textDirectionIndex, fontWeightIndex, fontWeight, $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": t1 = type$.Map_String_dynamic._as($call.$arguments); t2 = J.getInterceptor$asx(t1); transformList = A.List_List$from(type$.List_dynamic._as(t2.$index(t1, "transform")), true, type$.double); command = new A.TextInputSetEditableSizeAndTransform(new A.EditableTextGeometry(A._asDouble(t2.$index(t1, "width")), A._asDouble(t2.$index(t1, "height")), new Float32Array(A._ensureNativeList(transformList)))); 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"; command = new A.TextInputSetStyle(new A.EditableTextStyle(A._asDoubleQ(t2.$index(t1, "fontSize")), fontWeight, A._asStringQ(t2.$index(t1, "fontFamily")), B.List_s2p[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; if (value === $) { A._lateInitializeOnceCheck(value, "channel"); value = this.__HybridTextEditing_channel = new A.TextEditingChannel(this); } return value; }, get$strategy() { var t1, result, t2, t3, strategy, _this = this, value = _this.__HybridTextEditing_strategy; if (value === $) { t1 = $.EngineSemanticsOwner__instance; if ((t1 == null ? $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_() : t1)._semanticsEnabled) { t1 = A.SemanticsTextEditingStrategy_ensureInitialized(_this); result = t1; } else { t1 = $.$get$_browserEngine(); t2 = t1 === B.BrowserEngine_1; if (t2) { t3 = $.$get$_operatingSystem(); t3 = t3 === B.OperatingSystem_0; } else t3 = false; if (t3) strategy = new A.IOSTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_StreamSubscription_Event)); else if (t2) strategy = new A.SafariDesktopTextEditingStrategy(_this, A._setArrayType([], type$.JSArray_StreamSubscription_Event)); 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_StreamSubscription_Event)); else { t2 = type$.JSArray_StreamSubscription_Event; strategy = t1 === B.BrowserEngine_2 ? new A.FirefoxTextEditingStrategy(_this, A._setArrayType([], t2)) : new A.GloballyPositionedTextEditingStrategy(_this, A._setArrayType([], t2)); } } result = strategy; } A._lateInitializeOnceCheck(_this.__HybridTextEditing_strategy, "strategy"); value = _this.__HybridTextEditing_strategy = 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(_this); t1 = _this._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall0("TextInputClient.onConnectionClosed", [t1])), A._engine___emptyCallback$closure()); } } }; A.HybridTextEditing__startEditing_closure0.prototype = { call$1(editingState) { var t1 = this.$this; t1.get$channel(t1); t1 = t1._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall0("TextInputClient.updateEditingState", [t1, editingState.toFlutter$0()])), A._engine___emptyCallback$closure()); }, $signature: 609 }; A.HybridTextEditing__startEditing_closure.prototype = { call$1(inputAction) { var t1 = this.$this; t1.get$channel(t1); t1 = t1._clientId; $.$get$EnginePlatformDispatcher__instance().invokeOnPlatformMessage$3("flutter/textinput", B.C_JSONMethodCodec.encodeMethodCall$1(new A.MethodCall0("TextInputClient.performAction", [t1, inputAction])), A._engine___emptyCallback$closure()); }, $signature: 26 }; A.EditableTextStyle.prototype = { applyToDomElement$1(domElement) { var _this = this, t1 = domElement.style, t2 = A.textAlignToCssValue(_this.textAlign, _this.textDirection); t1.textAlign = t2 == null ? "" : t2; t2 = _this.fontWeight + " " + A.S(_this.fontSize) + "px " + A.S(A.canonicalizeFontFamily(_this.fontFamily)); t1.font = t2; } }; A.EditableTextGeometry.prototype = { applyToDomElement$1(domElement) { var cssTransform = A.float64ListToCssTransform(this.globalTransform), t1 = domElement.style, t2 = A.S(this.width) + "px"; t1.width = t2; t2 = A.S(this.height) + "px"; t1.height = t2; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "transform"), cssTransform, ""); } }; A.TransformKind.prototype = { toString$0(_) { return "TransformKind." + this._core$_name; } }; 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.Matrix40.prototype = { Matrix4$identity$0() { var t1 = this.__engine$_m4storage; t1[15] = 1; t1[0] = 1; t1[5] = 1; t1[10] = 1; }, setFrom$1(arg) { var argStorage = arg.__engine$_m4storage, t1 = this.__engine$_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.__engine$_m4storage[i]; }, translate$3(_, x, y, z) { var t1 = this.__engine$_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 * z + t5; t1[13] = t6 * x + t7 * y + t8 * z + t9; t1[14] = t10 * x + t11 * y + t12 * z + t13; t1[15] = t14 * x + t15 * y + t16 * z + t17; }, translate$2($receiver, x, y) { return this.translate$3($receiver, x, y, 0); }, scale$2(_, x, y) { var sy = y == null ? x : y, t1 = this.__engine$_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] * x; t1[9] = t1[9] * x; t1[10] = t1[10] * x; t1[11] = t1[11] * x; t1[12] = t1[12]; t1[13] = t1[13]; t1[14] = t1[14]; }, scale$1($receiver, x) { return this.scale$2($receiver, x, null); }, isIdentity$0(_) { var t1 = this.__engine$_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; }, isIdentityOrTranslation$0() { var t1 = this.__engine$_m4storage; return 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; }, rotate$2(_, axis, angle) { var m23, m31, m32, m33, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, len = Math.sqrt(axis.get$length2()), axisStorage = axis.__engine$_v3storage, x = axisStorage[0] / len, y = axisStorage[1] / len, z = axisStorage[2] / len, c = Math.cos(angle), s = Math.sin(angle), $C = 1 - c, m11 = x * x * $C + c, t1 = z * s, m12 = x * y * $C - t1, t2 = y * s, m13 = x * z * $C + t2, m21 = y * x * $C + t1, m22 = y * y * $C + c; t1 = x * s; m23 = y * z * $C - t1; m31 = z * x * $C - t2; m32 = z * y * $C + t1; m33 = z * z * $C + c; t1 = this.__engine$_m4storage; t2 = t1[0]; t3 = t1[4]; t4 = t1[8]; t5 = t1[1]; t6 = t1[5]; t7 = t1[9]; t8 = t1[2]; t9 = t1[6]; t10 = t1[10]; t11 = t1[3]; t12 = t1[7]; t13 = t1[11]; t1[0] = t2 * m11 + t3 * m21 + t4 * m31; t1[1] = t5 * m11 + t6 * m21 + t7 * m31; t1[2] = t8 * m11 + t9 * m21 + t10 * m31; t1[3] = t11 * m11 + t12 * m21 + t13 * m31; t1[4] = t2 * m12 + t3 * m22 + t4 * m32; t1[5] = t5 * m12 + t6 * m22 + t7 * m32; t1[6] = t8 * m12 + t9 * m22 + t10 * m32; t1[7] = t11 * m12 + t12 * m22 + t13 * m32; t1[8] = t2 * m13 + t3 * m23 + t4 * m33; t1[9] = t5 * m13 + t6 * m23 + t7 * m33; t1[10] = t8 * m13 + t9 * m23 + t10 * m33; t1[11] = t11 * m13 + t12 * m23 + t13 * m33; }, setTranslationRaw$3(x, y, z) { var t1 = this.__engine$_m4storage; t1[14] = z; t1[13] = y; t1[12] = x; }, copyInverse$1(arg) { var invDet, t1, t2, t3, argStorage = arg.__engine$_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.__engine$_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.__engine$_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.__engine$_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.Matrix40(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.__engine$_m4storage; vector[0] = t1[0] * x + t1[4] * y + t1[12]; vector[1] = t1[1] * x + t1[5] * y + t1[13]; }, toString$0(_) { var t1 = this.super$Object$toString(0); return t1; } }; A.Vector30.prototype = { $index(_, i) { return this.__engine$_v3storage[i]; }, get$length(_) { var t1 = this.__engine$_v3storage, t2 = t1[0], t3 = t1[1]; t1 = t1[2]; return Math.sqrt(t2 * t2 + t3 * t3 + t1 * t1); }, get$length2() { var t1 = this.__engine$_v3storage, t2 = t1[0], t3 = t1[1]; t1 = t1[2]; return t2 * t2 + t3 * t3 + t1 * t1; } }; A.WebExperiments.prototype = { WebExperiments$_$0() { $.$get$_context().$indexSet(0, "_flutter_internal_update_experiment", this.get$updateExperiment()); $._hotRestartListeners.push(new A.WebExperiments$__closure()); }, updateExperiment$2($name, enabled) { } }; A.WebExperiments$__closure.prototype = { call$0() { $.$get$_context().$indexSet(0, "_flutter_internal_update_experiment", null); }, $signature: 0 }; A.EngineFlutterWindow.prototype = { EngineFlutterWindow$2(_windowId, platformDispatcher) { var _this = this, engineDispatcher = _this.platformDispatcher, t1 = _this._windowId; engineDispatcher._windows.$indexSet(0, t1, _this); engineDispatcher._windowConfigurations.$indexSet(0, t1, B.C_ViewConfiguration); if ($._isUrlStrategySet) _this._browserHistory = A.createHistoryForExistingState($._customUrlStrategy); $._hotRestartListeners.push(new A.EngineFlutterWindow_closure(_this)); }, get$browserHistory() { var urlStrategy, t1 = this._browserHistory; if (t1 == null) { if ($._isUrlStrategySet) urlStrategy = $._customUrlStrategy; else urlStrategy = B.C_HashUrlStrategy; $._isUrlStrategySet = true; t1 = this._browserHistory = A.createHistoryForExistingState(urlStrategy); } return t1; }, _useSingleEntryBrowserHistory$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, urlStrategy, 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) { if ($._isUrlStrategySet) urlStrategy = $._customUrlStrategy; else urlStrategy = B.C_HashUrlStrategy; $._isUrlStrategySet = true; t1 = $async$self._browserHistory = A.createHistoryForExistingState(urlStrategy); } if (t1 instanceof A.SingleEntryBrowserHistory) { // goto return $async$goto = 1; break; } strategy = t1.get$urlStrategy(); t1 = $async$self._browserHistory; $async$goto = 3; return A._asyncAwait(t1 == null ? null : t1.tearDown$0(), $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, urlStrategy, 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) { if ($._isUrlStrategySet) urlStrategy = $._customUrlStrategy; else urlStrategy = B.C_HashUrlStrategy; $._isUrlStrategySet = true; t1 = $async$self._browserHistory = A.createHistoryForExistingState(urlStrategy); } if (t1 instanceof A.MultiEntriesBrowserHistory) { // goto return $async$goto = 1; break; } strategy = t1.get$urlStrategy(); t1 = $async$self._browserHistory; $async$goto = 3; return A._asyncAwait(t1 == null ? null : t1.tearDown$0(), $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); }, get$viewConfiguration() { var t1 = this.platformDispatcher._windowConfigurations.$index(0, this._windowId); return t1 == null ? B.C_ViewConfiguration : t1; }, get$physicalSize() { if (this._physicalSize == null) this.computePhysicalSize$0(); var t1 = this._physicalSize; t1.toString; return t1; }, computePhysicalSize$0() { var t1, t2, docWidth, docHeight, windowInnerWidth, windowInnerHeight, _this = this, viewport = window.visualViewport; if (viewport != null) { t1 = $.$get$_operatingSystem(); t2 = _this._debugDevicePixelRatio; if (t1 === B.OperatingSystem_0) { t1 = document.documentElement; docWidth = t1.clientWidth; docHeight = t1.clientHeight; windowInnerWidth = docWidth * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t1 = _this._debugDevicePixelRatio; windowInnerHeight = docHeight * (t1 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t1); } else { t1 = viewport.width; t1.toString; windowInnerWidth = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t1 = viewport.height; t1.toString; t2 = _this._debugDevicePixelRatio; windowInnerHeight = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } } else { t1 = window.innerWidth; t1.toString; t2 = _this._debugDevicePixelRatio; windowInnerWidth = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t1 = window.innerHeight; t1.toString; t2 = _this._debugDevicePixelRatio; windowInnerHeight = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } _this._physicalSize = new A.Size(windowInnerWidth, windowInnerHeight); }, computeOnScreenKeyboardInsets$1(isEditingOnMobile) { var t1, t2, windowInnerHeight, _this = this, viewport = window.visualViewport; if (viewport != null) { t1 = $.$get$_operatingSystem(); t1 = t1 === B.OperatingSystem_0 && !isEditingOnMobile; t2 = _this._debugDevicePixelRatio; if (t1) { t1 = document.documentElement.clientHeight; windowInnerHeight = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } else { t1 = viewport.height; t1.toString; windowInnerHeight = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } } else { t1 = window.innerHeight; t1.toString; t2 = _this._debugDevicePixelRatio; windowInnerHeight = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } _this._viewInsets = new A.WindowPadding(0, 0, 0, _this._physicalSize._dy - windowInnerHeight); }, isRotation$0() { var height, width, _this = this, t1 = window.visualViewport, t2 = _this._debugDevicePixelRatio; if (t1 != null) { t1 = window.visualViewport.height; t1.toString; height = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t1 = window.visualViewport.width; t1.toString; t2 = _this._debugDevicePixelRatio; width = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } else { t1 = window.innerHeight; t1.toString; height = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); t1 = window.innerWidth; t1.toString; t2 = _this._debugDevicePixelRatio; width = t1 * (t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2); } t1 = _this._physicalSize; if (t1 != null) { t2 = t1._dy; if (t2 !== height && t1._dx !== width) { t1 = t1._dx; if (!(t2 > t1 && height < width)) t1 = t1 > t2 && width < height; else t1 = true; if (t1) return true; } } return false; } }; A.EngineFlutterWindow_closure.prototype = { call$0() { var t1 = this.$this._browserHistory; if (t1 != null) t1.dispose$0(0); }, $signature: 0 }; A.EngineFlutterWindow_handleNavigationMessage_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, t1, t2, t3, t4, 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 t1 = $async$self.$this.get$browserHistory(); $arguments.toString; t2 = J.getInterceptor$asx($arguments); t3 = A._asStringQ(t2.$index($arguments, "location")); t4 = t2.$index($arguments, "state"); t2 = A._asBoolQ(t2.$index($arguments, "replace")); t1.setRouteName$3$replace$state(t3, t2 === true, t4); $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: 117 }; A.EngineSingletonFlutterWindow.prototype = { get$devicePixelRatio(_) { var t1 = this._debugDevicePixelRatio; return t1 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t1; } }; A.WindowPadding.prototype = {}; A._DomCanvas_EngineCanvas_SaveElementStackTracking.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._PersistedPhysicalShape_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.__MouseAdapter__BaseAdapter__WheelEventListenerMixin.prototype = {}; 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$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); }, get$runtimeType(receiver) { return A.getRuntimeType(receiver); } }; J.JSBool.prototype = { toString$0(receiver) { return String(receiver); }, $and(receiver, other) { return other && receiver; }, $or(receiver, other) { return other || receiver; }, $xor(receiver, other) { return receiver; }, get$hashCode(receiver) { return receiver ? 519018 : 218159; }, get$runtimeType(receiver) { return B.Type_bool_lhE; }, $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 B.Type_Null_Yyn; }, $isNull: 1 }; J.JavaScriptObject.prototype = { get$hashCode(receiver) { return 0; }, get$runtimeType(receiver) { return B.Type_JSObject_8k0; }, toString$0(receiver) { return String(receiver); }, $isJSObject: 1, $isCanvasKit: 1, $isSkFontSlant: 1, $isSkFontWeight: 1, $isSkTextDirection: 1, $isSkTextAlign: 1, $isSkTextHeightBehavior: 1, $isSkRectHeightStyle: 1, $isSkRectWidthStyle: 1, $isSkClipOp: 1, $isSkFillType: 1, $isSkBlurStyle: 1, $isSkStrokeCap: 1, $isSkPaintStyle: 1, $isSkBlendMode: 1, $isSkStrokeJoin: 1, $isSkTileMode: 1, $isSkAnimatedImage: 1, $isSkImage: 1, $isSkShader: 1, $isSkPaint: 1, $isSkMaskFilter: 1, $isSkColorFilter: 1, $isSkImageFilter: 1, $isSkPath: 1, $isSkContourMeasureIter: 1, $isSkContourMeasure: 1, $isSkPicture: 1, $isSkTextStyle: 1, $isSkTextDecorationStyle: 1, $isSkTextBaseline: 1, $isSkPlaceholderAlignment: 1, $isSkTextShadow: 1, $isSkFontFeature: 1, $isSkFont: 1, $isSkParagraph: 1, $isSkDeletable: 1, $isJsUrlStrategy: 1, $isPdfJsDoc: 1, $isPdfJsPage: 1, get$BlendMode(obj) { return obj.BlendMode; }, get$PaintStyle(obj) { return obj.PaintStyle; }, get$StrokeCap(obj) { return obj.StrokeCap; }, get$StrokeJoin(obj) { return obj.StrokeJoin; }, get$BlurStyle(obj) { return obj.BlurStyle; }, get$TileMode(obj) { return obj.TileMode; }, get$FilterMode(obj) { return obj.FilterMode; }, get$MipmapMode(obj) { return obj.MipmapMode; }, get$FillType(obj) { return obj.FillType; }, get$AlphaType(obj) { return obj.AlphaType; }, get$ColorType(obj) { return obj.ColorType; }, get$ClipOp(obj) { return obj.ClipOp; }, get$RectHeightStyle(obj) { return obj.RectHeightStyle; }, get$RectWidthStyle(obj) { return obj.RectWidthStyle; }, get$TextAlign(obj) { return obj.TextAlign; }, get$TextHeightBehavior(obj) { return obj.TextHeightBehavior; }, get$TextDirection(obj) { return obj.TextDirection; }, get$FontWeight(obj) { return obj.FontWeight; }, get$FontSlant(obj) { return obj.FontSlant; }, MakeAnimatedImageFromEncoded$1(receiver, p0) { return receiver.MakeAnimatedImageFromEncoded(p0); }, get$Shader(obj) { return obj.Shader; }, get$MaskFilter(obj) { return obj.MaskFilter; }, get$ColorFilter(obj) { return obj.ColorFilter; }, get$ImageFilter(obj) { return obj.ImageFilter; }, get$Path(obj) { return obj.Path; }, computeTonalColors$1(receiver, p0) { return receiver.computeTonalColors(p0); }, get$ParagraphBuilder(obj) { return obj.ParagraphBuilder; }, ParagraphStyle$1(receiver, p0) { return receiver.ParagraphStyle(p0); }, TextStyle$1(receiver, p0) { return receiver.TextStyle(p0); }, get$NoDecoration(obj) { return obj.NoDecoration; }, get$UnderlineDecoration(obj) { return obj.UnderlineDecoration; }, get$OverlineDecoration(obj) { return obj.OverlineDecoration; }, get$LineThroughDecoration(obj) { return obj.LineThroughDecoration; }, get$DecorationStyle(obj) { return obj.DecorationStyle; }, get$TextBaseline(obj) { return obj.TextBaseline; }, get$PlaceholderAlignment(obj) { return obj.PlaceholderAlignment; }, get$FontMgr(obj) { return obj.FontMgr; }, get$TypefaceFontProvider(obj) { return obj.TypefaceFontProvider; }, GetWebGLContext$2(receiver, p0, p1) { return receiver.GetWebGLContext(p0, p1); }, MakeGrContext$1(receiver, p0) { return receiver.MakeGrContext(p0); }, MakeOnScreenGLSurface$4(receiver, p0, p1, p2, p3) { return receiver.MakeOnScreenGLSurface(p0, p1, p2, p3); }, MakeSWCanvasSurface$1(receiver, p0) { return receiver.MakeSWCanvasSurface(p0); }, MakeImage$3(receiver, p0, p1, p2) { return receiver.MakeImage(p0, p1, p2); }, then$1$1(receiver, p0) { return receiver.then(p0); }, then$1(receiver, p0) { return receiver.then(p0); }, getCanvas$0(receiver) { return receiver.getCanvas(); }, flush$0(receiver) { return receiver.flush(); }, get$width(obj) { return obj.width; }, width$0(receiver) { return receiver.width(); }, get$height(obj) { return obj.height; }, height$0(receiver) { return receiver.height(); }, get$dispose(obj) { return obj.dispose; }, dispose$0(receiver) { return receiver.dispose(); }, setResourceCacheLimitBytes$1(receiver, p0) { return receiver.setResourceCacheLimitBytes(p0); }, releaseResourcesAndAbandonContext$0(receiver) { return receiver.releaseResourcesAndAbandonContext(); }, delete$0(receiver) { return receiver.delete(); }, get$Upright(obj) { return obj.Upright; }, get$Italic(obj) { return obj.Italic; }, get$value(obj) { return obj.value; }, value$1(receiver, p0) { return receiver.value(p0); }, get$Thin(obj) { return obj.Thin; }, get$ExtraLight(obj) { return obj.ExtraLight; }, get$Light(obj) { return obj.Light; }, get$Normal(obj) { return obj.Normal; }, get$Medium(obj) { return obj.Medium; }, get$SemiBold(obj) { return obj.SemiBold; }, get$Bold(obj) { return obj.Bold; }, get$ExtraBold(obj) { return obj.ExtraBold; }, get$ExtraBlack(obj) { return obj.ExtraBlack; }, get$RTL(obj) { return obj.RTL; }, get$LTR(obj) { return obj.LTR; }, get$Left(obj) { return obj.Left; }, get$Right(obj) { return obj.Right; }, get$Center(obj) { return obj.Center; }, get$Justify(obj) { return obj.Justify; }, get$Start(obj) { return obj.Start; }, get$End(obj) { return obj.End; }, get$All(obj) { return obj.All; }, get$DisableFirstAscent(obj) { return obj.DisableFirstAscent; }, get$DisableLastDescent(obj) { return obj.DisableLastDescent; }, get$DisableAll(obj) { return obj.DisableAll; }, get$Tight(obj) { return obj.Tight; }, get$Max(obj) { return obj.Max; }, get$IncludeLineSpacingMiddle(obj) { return obj.IncludeLineSpacingMiddle; }, get$IncludeLineSpacingTop(obj) { return obj.IncludeLineSpacingTop; }, get$IncludeLineSpacingBottom(obj) { return obj.IncludeLineSpacingBottom; }, get$Strut(obj) { return obj.Strut; }, get$Difference(obj) { return obj.Difference; }, get$Intersect(obj) { return obj.Intersect; }, get$Winding(obj) { return obj.Winding; }, get$EvenOdd(obj) { return obj.EvenOdd; }, get$Solid(obj) { return obj.Solid; }, get$Outer(obj) { return obj.Outer; }, get$Inner(obj) { return obj.Inner; }, get$Butt(obj) { return obj.Butt; }, get$Round(obj) { return obj.Round; }, get$Square(obj) { return obj.Square; }, get$Stroke(obj) { return obj.Stroke; }, get$Fill(obj) { return obj.Fill; }, get$Clear(obj) { return obj.Clear; }, get$Src(obj) { return obj.Src; }, get$Dst(obj) { return obj.Dst; }, get$SrcOver(obj) { return obj.SrcOver; }, get$DstOver(obj) { return obj.DstOver; }, get$SrcIn(obj) { return obj.SrcIn; }, get$DstIn(obj) { return obj.DstIn; }, get$SrcOut(obj) { return obj.SrcOut; }, get$DstOut(obj) { return obj.DstOut; }, get$SrcATop(obj) { return obj.SrcATop; }, get$DstATop(obj) { return obj.DstATop; }, get$Xor(obj) { return obj.Xor; }, get$Plus(obj) { return obj.Plus; }, get$Modulate(obj) { return obj.Modulate; }, get$Screen(obj) { return obj.Screen; }, get$Overlay(obj) { return obj.Overlay; }, get$Darken(obj) { return obj.Darken; }, get$Lighten(obj) { return obj.Lighten; }, get$ColorDodge(obj) { return obj.ColorDodge; }, get$ColorBurn(obj) { return obj.ColorBurn; }, get$HardLight(obj) { return obj.HardLight; }, get$SoftLight(obj) { return obj.SoftLight; }, get$Exclusion(obj) { return obj.Exclusion; }, get$Multiply(obj) { return obj.Multiply; }, get$Hue(obj) { return obj.Hue; }, get$Saturation(obj) { return obj.Saturation; }, get$Color(obj) { return obj.Color; }, get$Luminosity(obj) { return obj.Luminosity; }, get$Miter(obj) { return obj.Miter; }, get$Bevel(obj) { return obj.Bevel; }, get$Clamp(obj) { return obj.Clamp; }, get$Repeat(obj) { return obj.Repeat; }, get$Mirror(obj) { return obj.Mirror; }, get$Decal(obj) { return obj.Decal; }, get$Nearest(obj) { return obj.Nearest; }, get$Linear(obj) { return obj.Linear; }, get$None(obj) { return obj.None; }, get$Premul(obj) { return obj.Premul; }, get$RGBA_8888(obj) { return obj.RGBA_8888; }, getFrameCount$0(receiver) { return receiver.getFrameCount(); }, getRepetitionCount$0(receiver) { return receiver.getRepetitionCount(); }, decodeNextFrame$0(receiver) { return receiver.decodeNextFrame(); }, makeImageAtCurrentFrame$0(receiver) { return receiver.makeImageAtCurrentFrame(); }, isDeleted$0(receiver) { return receiver.isDeleted(); }, readPixels$3(receiver, p0, p1, p2) { return receiver.readPixels(p0, p1, p2); }, encodeToBytes$0(receiver) { return receiver.encodeToBytes(); }, isAliasOf$1(receiver, p0) { return receiver.isAliasOf(p0); }, MakeLinearGradient$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.MakeLinearGradient(p0, p1, p2, p3, p4, p5); }, MakeRadialGradient$7(receiver, p0, p1, p2, p3, p4, p5, p6) { return receiver.MakeRadialGradient(p0, p1, p2, p3, p4, p5, p6); }, MakeTwoPointConicalGradient$9(receiver, p0, p1, p2, p3, p4, p5, p6, p7, p8) { return receiver.MakeTwoPointConicalGradient(p0, p1, p2, p3, p4, p5, p6, p7, p8); }, MakeBlur$3(receiver, p0, p1, p2) { return receiver.MakeBlur(p0, p1, p2); }, setBlendMode$1(receiver, p0) { return receiver.setBlendMode(p0); }, setStyle$1(receiver, p0) { return receiver.setStyle(p0); }, setStrokeWidth$1(receiver, p0) { return receiver.setStrokeWidth(p0); }, setStrokeCap$1(receiver, p0) { return receiver.setStrokeCap(p0); }, setStrokeJoin$1(receiver, p0) { return receiver.setStrokeJoin(p0); }, setAntiAlias$1(receiver, p0) { return receiver.setAntiAlias(p0); }, setColorInt$1(receiver, p0) { return receiver.setColorInt(p0); }, setShader$1(receiver, p0) { return receiver.setShader(p0); }, setMaskFilter$1(receiver, p0) { return receiver.setMaskFilter(p0); }, setColorFilter$1(receiver, p0) { return receiver.setColorFilter(p0); }, setStrokeMiter$1(receiver, p0) { return receiver.setStrokeMiter(p0); }, setImageFilter$1(receiver, p0) { return receiver.setImageFilter(p0); }, MakeBlend$2(receiver, p0, p1) { return receiver.MakeBlend(p0, p1); }, MakeMatrix$1(receiver, p0) { return receiver.MakeMatrix(p0); }, MakeCompose$2(receiver, p0, p1) { return receiver.MakeCompose(p0, p1); }, MakeBlur$4(receiver, p0, p1, p2, p3) { return receiver.MakeBlur(p0, p1, p2, p3); }, MakeFromCmds$1(receiver, p0) { return receiver.MakeFromCmds(p0); }, toTypedArray$0(receiver) { return receiver.toTypedArray(); }, setFillType$1(receiver, p0) { return receiver.setFillType(p0); }, addArc$3(receiver, p0, p1, p2) { return receiver.addArc(p0, p1, p2); }, addOval$3(receiver, p0, p1, p2) { return receiver.addOval(p0, p1, p2); }, addPath$11(receiver, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) { return receiver.addPath(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10); }, addRRect$2(receiver, p0, p1) { return receiver.addRRect(p0, p1); }, addRect$1(receiver, p0) { return receiver.addRect(p0); }, arcToOval$4(receiver, p0, p1, p2, p3) { return receiver.arcToOval(p0, p1, p2, p3); }, get$close(obj) { return obj.close; }, close$0(receiver) { return receiver.close(); }, get$contains(obj) { return obj.contains; }, contains$2(receiver, p0, p1) { return receiver.contains(p0, p1); }, cubicTo$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.cubicTo(p0, p1, p2, p3, p4, p5); }, getBounds$0(receiver) { return receiver.getBounds(); }, lineTo$2(receiver, p0, p1) { return receiver.lineTo(p0, p1); }, moveTo$2(receiver, p0, p1) { return receiver.moveTo(p0, p1); }, quadTo$4(receiver, p0, p1, p2, p3) { return receiver.quadTo(p0, p1, p2, p3); }, rMoveTo$2(receiver, p0, p1) { return receiver.rMoveTo(p0, p1); }, reset$0(receiver) { return receiver.reset(); }, toSVGString$0(receiver) { return receiver.toSVGString(); }, get$isEmpty(obj) { return obj.isEmpty; }, isEmpty$0(receiver) { return receiver.isEmpty(); }, copy$0(receiver) { return receiver.copy(); }, get$transform(obj) { return obj.transform; }, transform$9(receiver, p0, p1, p2, p3, p4, p5, p6, p7, p8) { return receiver.transform(p0, p1, p2, p3, p4, p5, p6, p7, p8); }, toCmds$0(receiver) { return receiver.toCmds(); }, get$next(obj) { return obj.next; }, next$0(receiver) { return receiver.next(); }, getSegment$3(receiver, p0, p1, p2) { return receiver.getSegment(p0, p1, p2); }, getPosTan$1(receiver, p0) { return receiver.getPosTan(p0); }, get$length(obj) { return obj.length; }, length$0(receiver) { return receiver.length(); }, beginRecording$1(receiver, p0) { return receiver.beginRecording(p0); }, finishRecordingAsPicture$0(receiver) { return receiver.finishRecordingAsPicture(); }, clear$1(receiver, p0) { return receiver.clear(p0); }, clipPath$3(receiver, p0, p1, p2) { return receiver.clipPath(p0, p1, p2); }, clipRRect$3(receiver, p0, p1, p2) { return receiver.clipRRect(p0, p1, p2); }, clipRect$3(receiver, p0, p1, p2) { return receiver.clipRect(p0, p1, p2); }, drawArc$5(receiver, p0, p1, p2, p3, p4) { return receiver.drawArc(p0, p1, p2, p3, p4); }, drawCircle$4(receiver, p0, p1, p2, p3) { return receiver.drawCircle(p0, p1, p2, p3); }, drawDRRect$3(receiver, p0, p1, p2) { return receiver.drawDRRect(p0, p1, p2); }, drawImageCubic$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.drawImageCubic(p0, p1, p2, p3, p4, p5); }, drawImageOptions$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.drawImageOptions(p0, p1, p2, p3, p4, p5); }, drawImageRectCubic$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.drawImageRectCubic(p0, p1, p2, p3, p4, p5); }, drawImageRectOptions$6(receiver, p0, p1, p2, p3, p4, p5) { return receiver.drawImageRectOptions(p0, p1, p2, p3, p4, p5); }, drawLine$5(receiver, p0, p1, p2, p3, p4) { return receiver.drawLine(p0, p1, p2, p3, p4); }, drawPaint$1(receiver, p0) { return receiver.drawPaint(p0); }, drawPath$2(receiver, p0, p1) { return receiver.drawPath(p0, p1); }, drawRRect$2(receiver, p0, p1) { return receiver.drawRRect(p0, p1); }, drawRect$2(receiver, p0, p1) { return receiver.drawRect(p0, p1); }, drawShadow$7(receiver, p0, p1, p2, p3, p4, p5, p6) { return receiver.drawShadow(p0, p1, p2, p3, p4, p5, p6); }, save$0(receiver) { return receiver.save(); }, saveLayer$4(receiver, p0, p1, p2, p3) { return receiver.saveLayer(p0, p1, p2, p3); }, restore$0(receiver) { return receiver.restore(); }, restoreToCount$1(receiver, p0) { return receiver.restoreToCount(p0); }, rotate$3(receiver, p0, p1, p2) { return receiver.rotate(p0, p1, p2); }, scale$2(receiver, p0, p1) { return receiver.scale(p0, p1); }, concat$1(receiver, p0) { return receiver.concat(p0); }, translate$2(receiver, p0, p1) { return receiver.translate(p0, p1); }, drawPicture$1(receiver, p0) { return receiver.drawPicture(p0); }, drawParagraph$3(receiver, p0, p1, p2) { return receiver.drawParagraph(p0, p1, p2); }, MakeFromFontProvider$2(receiver, p0, p1) { return receiver.MakeFromFontProvider(p0, p1); }, addText$1(receiver, p0) { return receiver.addText(p0); }, pushStyle$1(receiver, p0) { return receiver.pushStyle(p0); }, pushPaintStyle$3(receiver, p0, p1, p2) { return receiver.pushPaintStyle(p0, p1, p2); }, pop$0(receiver) { return receiver.pop(); }, addPlaceholder$5(receiver, p0, p1, p2, p3, p4) { return receiver.addPlaceholder(p0, p1, p2, p3, p4); }, get$build(obj) { return obj.build; }, build$0(receiver) { return receiver.build(); }, set$textAlign(obj, v) { return obj.textAlign = v; }, set$textDirection(obj, v) { return obj.textDirection = v; }, set$textHeightBehavior(obj, v) { return obj.textHeightBehavior = v; }, set$maxLines(obj, v) { return obj.maxLines = v; }, set$ellipsis(obj, v) { return obj.ellipsis = v; }, set$strutStyle(obj, v) { return obj.strutStyle = v; }, get$Double(obj) { return obj.Double; }, get$Dotted(obj) { return obj.Dotted; }, get$Dashed(obj) { return obj.Dashed; }, get$Wavy(obj) { return obj.Wavy; }, get$Alphabetic(obj) { return obj.Alphabetic; }, get$Ideographic(obj) { return obj.Ideographic; }, get$Baseline(obj) { return obj.Baseline; }, get$AboveBaseline(obj) { return obj.AboveBaseline; }, get$BelowBaseline(obj) { return obj.BelowBaseline; }, get$Top(obj) { return obj.Top; }, get$Bottom(obj) { return obj.Bottom; }, get$Middle(obj) { return obj.Middle; }, set$color(obj, v) { return obj.color = v; }, set$decoration(obj, v) { return obj.decoration = v; }, set$textBaseline(obj, v) { return obj.textBaseline = v; }, set$locale(obj, v) { return obj.locale = v; }, set$offset(obj, v) { return obj.offset = v; }, set$value(obj, v) { return obj.value = v; }, getGlyphIDs$1(receiver, p0) { return receiver.getGlyphIDs(p0); }, getGlyphBounds$3(receiver, p0, p1, p2) { return receiver.getGlyphBounds(p0, p1, p2); }, MakeTypefaceFromData$1(receiver, p0) { return receiver.MakeTypefaceFromData(p0); }, registerFont$2(receiver, p0, p1) { return receiver.registerFont(p0, p1); }, get$startIndex(obj) { return obj.startIndex; }, get$endIndex(obj) { return obj.endIndex; }, getAlphabeticBaseline$0(receiver) { return receiver.getAlphabeticBaseline(); }, get$didExceedMaxLines(obj) { return obj.didExceedMaxLines; }, didExceedMaxLines$0(receiver) { return receiver.didExceedMaxLines(); }, getHeight$0(receiver) { return receiver.getHeight(); }, getIdeographicBaseline$0(receiver) { return receiver.getIdeographicBaseline(); }, getLineMetrics$0(receiver) { return receiver.getLineMetrics(); }, getLongestLine$0(receiver) { return receiver.getLongestLine(); }, getMaxIntrinsicWidth$0(receiver) { return receiver.getMaxIntrinsicWidth(); }, getMinIntrinsicWidth$0(receiver) { return receiver.getMinIntrinsicWidth(); }, getMaxWidth$0(receiver) { return receiver.getMaxWidth(); }, getRectsForRange$4(receiver, p0, p1, p2, p3) { return receiver.getRectsForRange(p0, p1, p2, p3); }, getRectsForPlaceholders$0(receiver) { return receiver.getRectsForPlaceholders(); }, getGlyphPositionAtCoordinate$2(receiver, p0, p1) { return receiver.getGlyphPositionAtCoordinate(p0, p1); }, getWordBoundary$1(receiver, p0) { return receiver.getWordBoundary(p0); }, layout$1(receiver, p0) { return receiver.layout(p0); }, get$affinity(obj) { return obj.affinity; }, get$pos(obj) { return obj.pos; }, get$start(obj) { return obj.start; }, start$1(receiver, p0) { return receiver.start(p0); }, get$end(obj) { return obj.end; }, get$ambient(obj) { return obj.ambient; }, get$spot(obj) { return obj.spot; }, RefDefault$0(receiver) { return receiver.RefDefault(); }, Make$0(receiver) { return receiver.Make(); }, constructor$0(receiver) { return receiver.constructor(); }, get$name(obj) { return obj.name; }, register$2(receiver, p0, p1) { return receiver.register(p0, p1); }, get$size(obj) { return obj.size; }, get$canvasKitBaseUrl(obj) { return obj.canvasKitBaseUrl; }, get$canvasKitForceCpuOnly(obj) { return obj.canvasKitForceCpuOnly; }, get$canvasKitMaximumSurfaces(obj) { return obj.canvasKitMaximumSurfaces; }, get$debugShowSemanticsNodes(obj) { return obj.debugShowSemanticsNodes; }, addPopStateListener$1(receiver, p0) { return receiver.addPopStateListener(p0); }, getPath$0(receiver) { return receiver.getPath(); }, getState$0(receiver) { return receiver.getState(); }, pushState$3(receiver, p0, p1, p2) { return receiver.pushState(p0, p1, p2); }, replaceState$3(receiver, p0, p1, p2) { return receiver.replaceState(p0, p1, p2); }, go$1(receiver, p0) { return receiver.go(p0); }, on$2(receiver, p0, p1) { return receiver.on(p0, p1); }, 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); }, get$pageNumber(obj) { return obj.pageNumber; } }; 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$JavaScriptObject$toString(receiver); return "JavaScript function for " + A.S(J.toString$0$(dartClosure)); }, $isFunction: 1 }; 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, 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, 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, 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); t1.moveNext$0(); index = index0) { index0 = index + 1; this.$indexSet(receiver, index, 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$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)) 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) { this.set$length(receiver, 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; }, fold$2($receiver, initialValue, combine) { return this.fold$1$2($receiver, initialValue, combine, type$.dynamic); }, 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); }, lastWhere$2$orElse(receiver, test, orElse) { var i, element, $length = receiver.length; for (i = $length - 1; i >= 0; --i) { element = receiver[i]; if (test.call$1(element)) return element; if ($length !== receiver.length) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } if (orElse != null) return orElse.call$0(); throw A.wrapException(A.IterableElementError_noElement()); }, lastWhere$1($receiver, test) { return this.lastWhere$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); }, fillRange$3(receiver, start, end, fillValue) { var i; if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("fill range")); A.RangeError_checkValidRange(start, end, receiver.length, null, null); A._arrayInstanceType(receiver)._precomputed1._as(fillValue); for (i = start; i < end; ++i) receiver[i] = fillValue; }, 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; }, sort$1(receiver, compare) { if (!!receiver.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); A.Sort_sort(receiver, compare == null ? J._interceptors_JSArray__compareAny$closure() : compare); }, sort$0($receiver) { return this.sort$1($receiver, null); }, 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.IterableBase_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; }, whereType$1$0(receiver, $T) { return new A.WhereTypeIterable(receiver, $T._eval$1("WhereTypeIterable<0>")); }, $add(receiver, other) { var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1); this.addAll$1(t1, other); return t1; }, indexWhere$1(receiver, test) { var i; if (0 >= receiver.length) return -1; for (i = 0; i < receiver.length; ++i) if (test.call$1(receiver[i])) return i; return -1; }, 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$first(receiver, element) { if (receiver.length === 0) throw A.wrapException(A.IterableElementError_noElement()); this.$indexSet(receiver, 0, element); }, set$last(receiver, element) { var t1 = receiver.length; if (t1 === 0) throw A.wrapException(A.IterableElementError_noElement()); this.$indexSet(receiver, t1 - 1, element); }, $isJSIndexable: 1, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; J.JSUnmodifiableArray.prototype = {}; J.ArrayIterator.prototype = { get$current(_) { return this.$ti._precomputed1._as(this.__interceptors$_current); }, 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.__interceptors$_index; if (t2 >= $length) { _this.__interceptors$_current = null; return false; } _this.__interceptors$_current = t1[t2]; _this.__interceptors$_index = t2 + 1; return true; }, $isIterator: 1 }; 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 (B.JSString_methods.codeUnitAt$1(result, 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; }, $negate(receiver) { return -receiver; }, $add(receiver, other) { return receiver + other; }, $sub(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; }, $le(receiver, other) { return receiver <= other; }, get$runtimeType(receiver) { return B.Type_num_cv7; }, $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; }, $negate(receiver) { return -receiver; }, get$bitLength(receiver) { var wordBits, i, t1 = receiver < 0 ? -receiver - 1 : receiver, nonneg = t1; for (wordBits = 32; nonneg >= 4294967296;) { nonneg = this._tdivFast$1(nonneg, 4294967296); wordBits += 32; } i = nonneg | nonneg >> 1; i |= i >> 2; i |= i >> 4; i |= i >> 8; i = (i | i >> 16) >>> 0; i = (i >>> 0) - (i >>> 1 & 1431655765); i = (i & 858993459) + (i >>> 2 & 858993459); i = i + (i >>> 4) & 252645135; i += i >>> 8; return wordBits - (32 - (i + (i >>> 16) & 63)); }, get$runtimeType(receiver) { return B.Type_int_tHn; }, $isint: 1 }; J.JSNumNotInt.prototype = { get$runtimeType(receiver) { return B.Type_double_K1J; } }; 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); }, _codeUnitAt$1(receiver, index) { if (index >= receiver.length) throw A.wrapException(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 (this.codeUnitAt$1(string, start + i) !== this._codeUnitAt$1(receiver, 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) { if (typeof pattern == "string") return A._setArrayType(receiver.split(pattern), type$.JSArray_String); else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0) return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String); else return this._defaultSplit$1(receiver, pattern); }, replaceRange$3(receiver, start, end, replacement) { var e = A.RangeError_checkValidRange(start, end, receiver.length, null, null); return A.stringReplaceRangeUnchecked(receiver, start, e, replacement); }, _defaultSplit$1(receiver, pattern) { var t1, start, $length, match, matchStart, matchEnd, result = A._setArrayType([], type$.JSArray_String); for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) { match = t1.get$current(t1); matchStart = match.get$start(match); matchEnd = match.get$end(match); $length = matchEnd - matchStart; if ($length === 0 && start === matchStart) continue; result.push(this.substring$2(receiver, start, matchStart)); start = matchEnd; } if (start < receiver.length || $length > 0) result.push(this.substring$1(receiver, start)); return result; }, 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 (this._codeUnitAt$1(result, 0) === 133) { startIndex = J.JSString__skipLeadingWhitespace(result, 1); if (startIndex === endIndex) return ""; } else startIndex = 0; t1 = endIndex - 1; endIndex0 = this.codeUnitAt$1(result, 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, startIndex; if (typeof receiver.trimLeft != "undefined") { result = receiver.trimLeft(); if (result.length === 0) return result; startIndex = this._codeUnitAt$1(result, 0) === 133 ? J.JSString__skipLeadingWhitespace(result, 1) : 0; } else { startIndex = J.JSString__skipLeadingWhitespace(receiver, 0); result = receiver; } if (startIndex === 0) return result; if (startIndex === result.length) return ""; return result.substring(startIndex); }, trimRight$0(receiver) { var result, endIndex, t1; if (typeof receiver.trimRight != "undefined") { result = receiver.trimRight(); endIndex = result.length; if (endIndex === 0) return result; t1 = endIndex - 1; if (this.codeUnitAt$1(result, t1) === 133) endIndex = J.JSString__skipTrailingWhitespace(result, t1); } else { endIndex = J.JSString__skipTrailingWhitespace(receiver, receiver.length); result = receiver; } if (endIndex === result.length) return result; if (endIndex === 0) return ""; return result.substring(0, endIndex); }, $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); }, 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 B.Type_String_k8F; }, 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, $isComparable: 1, $isPattern: 1, $isString: 1 }; A.CastStream.prototype = { get$isBroadcast() { return this._source.get$isBroadcast(); }, listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { var t1 = this._source.listen$3$cancelOnError$onDone(null, cancelOnError, onDone), t2 = this.$ti; t2 = new A.CastStreamSubscription(t1, $.Zone__current, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("CastStreamSubscription<1,2>")); t1.onData$1(t2.get$__internal$_onData()); t2.onData$1(onData); t2.onError$1(0, onError); return t2; }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, cast$1$0(_, $R) { return new A.CastStream(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastStream<1,2>")); } }; A.CastStreamSubscription.prototype = { cancel$0(_) { return this._source.cancel$0(0); }, onData$1(handleData) { this._handleData = handleData == null ? null : this.__internal$_zone.registerUnaryCallback$2$1(handleData, type$.dynamic, this.$ti._rest[1]); }, onError$1(_, handleError) { var _this = this; _this._source.onError$1(0, handleError); if (handleError == null) _this._handleError = null; else if (type$.void_Function_Object_StackTrace._is(handleError)) _this._handleError = _this.__internal$_zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace); else if (type$.void_Function_Object._is(handleError)) _this._handleError = _this.__internal$_zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object); else throw A.wrapException(A.ArgumentError$(string$.handle, null)); }, onDone$1(handleDone) { this._source.onDone$1(handleDone); }, __internal$_onData$1(data) { var targetData, error, stack, handleError, exception, t2, _this = this, t1 = _this._handleData; if (t1 == null) return; targetData = null; try { targetData = _this.$ti._rest[1]._as(data); } catch (exception) { error = A.unwrapException(exception); stack = A.getTraceFromException(exception); handleError = _this._handleError; if (handleError == null) _this.__internal$_zone.handleUncaughtError$2(error, stack); else { t1 = type$.Object; t2 = _this.__internal$_zone; if (type$.void_Function_Object_StackTrace._is(handleError)) t2.runBinaryGuarded$2$3(handleError, error, stack, t1, type$.StackTrace); else t2.runUnaryGuarded$1$2(type$.void_Function_Object._as(handleError), error, t1); } return; } _this.__internal$_zone.runUnaryGuarded$1$2(t1, targetData, _this.$ti._rest[1]); }, pause$1(_, resumeSignal) { this._source.pause$1(0, resumeSignal); }, pause$0($receiver) { return this.pause$1($receiver, null); }, resume$0(_) { this._source.resume$0(0); }, $isStreamSubscription: 1 }; A._CopyingBytesBuilder.prototype = { add$1(_, bytes) { var required, i, _this = this, t1 = J.getInterceptor$asx(bytes), byteCount = t1.get$length(bytes); if (byteCount === 0) return; required = _this.__internal$_length + byteCount; if (_this._buffer.length < required) _this._grow$1(required); if (type$.Uint8List._is(bytes)) { t1 = _this._buffer; (t1 && B.NativeUint8List_methods).setRange$3(t1, _this.__internal$_length, required, bytes); } else for (i = 0; i < byteCount; ++i) _this._buffer[_this.__internal$_length + i] = t1.$index(bytes, i); _this.__internal$_length = required; }, _grow$1(required) { var x, newBuffer, t1, 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); t1 = this._buffer; B.NativeUint8List_methods.setRange$3(newBuffer, 0, t1.length, t1); this._buffer = newBuffer; }, takeBytes$0() { var t2, buffer, _this = this, t1 = _this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); t2 = _this._buffer; buffer = A.NativeUint8List_NativeUint8List$view(t2.buffer, t2.byteOffset, t1); _this.__internal$_length = 0; _this._buffer = $.$get$_CopyingBytesBuilder__emptyList(); return buffer; }, toBytes$0() { var t2, t1 = this.__internal$_length; if (t1 === 0) return $.$get$_CopyingBytesBuilder__emptyList(); t2 = this._buffer; return new Uint8Array(A._ensureNativeList(A.NativeUint8List_NativeUint8List$view(t2.buffer, t2.byteOffset, t1))); }, get$length(_) { return this.__internal$_length; }, clear$0(_) { this.__internal$_length = 0; this._buffer = $.$get$_CopyingBytesBuilder__emptyList(); } }; A._BytesBuilder.prototype = { add$1(_, bytes) { var typedBytes = type$.Uint8List._is(bytes) ? bytes : new Uint8Array(A._ensureNativeList(bytes)); this._chunks.push(typedBytes); this.__internal$_length = this.__internal$_length + typedBytes.length; }, takeBytes$0() { var t2, t3, buffer, offset, _i, chunk, offset0, _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.set$length(t2, 0); return buffer; } buffer = new Uint8Array(t1); for (offset = 0, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i, offset = offset0) { chunk = t2[_i]; offset0 = offset + chunk.length; B.NativeUint8List_methods.setRange$3(buffer, offset, offset0, chunk); } _this.__internal$_length = 0; B.JSArray_methods.set$length(t2, 0); return buffer; }, toBytes$0() { var buffer, t2, offset, _i, chunk, offset0, 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, offset = offset0) { chunk = t1[_i]; offset0 = offset + chunk.length; B.NativeUint8List_methods.setRange$3(buffer, offset, offset0, chunk); } return buffer; }, get$length(_) { return this.__internal$_length; }, clear$0(_) { this.__internal$_length = 0; B.JSArray_methods.set$length(this._chunks, 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)); }, $isIterator: 1 }; 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); }, 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)); }, 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($receiver, start, end, iterable) { return this.setRange$4($receiver, 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.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); }, 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); }, __internal$_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(_) { return this.__internal$_clone$0(); }, $isEfficientLengthIterable: 1, $isSet: 1, get$_source() { return this._source; } }; 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)); }, clear$0(_) { J.clear$0$ax(this._source); }, 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.get$key(e)), t2._as(e.get$value(e)), 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(_) { var t1 = "LateInitializationError: " + this.__internal$_message; return t1; } }; A.CodeUnits.prototype = { get$length(_) { return this.__internal$_string.length; }, $index(_, i) { return B.JSString_methods.codeUnitAt$1(this.__internal$_string, i); } }; A.nullFuture_closure.prototype = { call$0() { return A.Future_Future$value(null, type$.Null); }, $signature: 18 }; 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; }, firstWhere$2$orElse(_, test, orElse) { var i, element, _this = this, $length = _this.get$length(_this); for (i = 0; i < $length; ++i) { element = _this.elementAt$1(0, i); if (test.call$1(element)) return element; if ($length !== _this.get$length(_this)) throw A.wrapException(A.ConcurrentModificationError$(_this)); } throw A.wrapException(A.IterableElementError_noElement()); }, firstWhere$1($receiver, test) { return this.firstWhere$2$orElse($receiver, test, null); }, 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($receiver) { return this.join$1($receiver, ""); }, 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($receiver, toElement) { return this.map$1$1($receiver, 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; }, fold$2($receiver, initialValue, combine) { return this.fold$1$2($receiver, initialValue, combine, type$.dynamic); }, 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($receiver) { return this.toList$1$growable($receiver, 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$(index, _this, "index", null, null)); 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($receiver) { return this.toList$1$growable($receiver, true); } }; A.ListIterator.prototype = { get$current(_) { return this.$ti._precomputed1._as(this.__internal$_current); }, 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; }, $isIterator: 1 }; 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(_) { return this.$ti._rest[1]._as(this.__internal$_current); } }; 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($receiver, toElement) { return this.map$1$1($receiver, 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(_) { return this.$ti._rest[1]._as(this.__internal$_current); }, 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; }, $isIterator: 1 }; 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) return this.$ti._precomputed1._as(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; }, firstWhere$2$orElse(_, test, orElse) { throw A.wrapException(A.IterableElementError_noElement()); }, firstWhere$1($receiver, test) { return this.firstWhere$2$orElse($receiver, test, null); }, map$1$1(_, toElement, $T) { return new A.EmptyIterable($T._eval$1("EmptyIterable<0>")); }, map$1($receiver, toElement) { return this.map$1$1($receiver, 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($receiver) { return this.toList$1$growable($receiver, 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()); }, $isIterator: 1 }; A.FollowedByIterable.prototype = { get$iterator(_) { return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second, A._instanceType(this)._eval$1("FollowedByIterator<1>")); }, get$length(_) { var t1 = this._second; return J.get$length$asx(this.__internal$_first) + t1.get$length(t1); }, get$isEmpty(_) { var t1; if (J.get$isEmpty$asx(this.__internal$_first)) { t1 = this._second; t1 = !t1.get$iterator(t1).moveNext$0(); } else t1 = false; return t1; }, get$isNotEmpty(_) { var t1; if (!J.get$isNotEmpty$asx(this.__internal$_first)) { t1 = this._second; t1 = !t1.get$isEmpty(t1); } else t1 = true; return t1; }, contains$1(_, value) { return J.contains$1$asx(this.__internal$_first, value) || this._second.contains$1(0, value); }, get$first(_) { var t1, iterator = J.get$iterator$ax(this.__internal$_first); if (iterator.moveNext$0()) return iterator.get$current(iterator); t1 = this._second; return t1.get$first(t1); }, get$last(_) { var last, t1 = this._second, iterator = t1.get$iterator(t1); 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.FollowedByIterator.prototype = { moveNext$0() { var t1, _this = this; if (_this._currentIterator.moveNext$0()) return true; t1 = _this._nextIterable; if (t1 != null) { t1 = t1.get$iterator(t1); _this._currentIterator = t1; _this._nextIterable = null; return t1.moveNext$0(); } return false; }, get$current(_) { var t1 = this._currentIterator; return t1.get$current(t1); }, $isIterator: 1 }; 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)); }, $isIterator: 1 }; 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")); }, 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")); }, clear$0(receiver) { throw A.wrapException(A.UnsupportedError$("Cannot clear 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")); }, 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")); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list")); }, clear$0(_) { throw A.wrapException(A.UnsupportedError$("Cannot clear 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($receiver, start, end, iterable) { return this.setRange$4($receiver, 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.RangeError_checkValidIndex(index, this, null, null); return index; } }; A.ListMapView.prototype = { $index(_, key) { return this.containsKey$1(0, key) ? J.$index$asx(this._values, A._asInt(key)) : null; }, get$length(_) { return J.get$length$asx(this._values); }, get$values(_) { return A.SubListIterable$(this._values, 0, null, this.$ti._precomputed1); }, get$keys(_) { return new A._ListIndicesIterable(this._values); }, get$isEmpty(_) { return J.get$isEmpty$asx(this._values); }, get$isNotEmpty(_) { return J.get$isNotEmpty$asx(this._values); }, containsKey$1(_, key) { return A._isInt(key) && key >= 0 && key < J.get$length$asx(this._values); }, forEach$1(_, f) { var i, t1 = this._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 * J.get$hashCode$(this._name) & 536870911; this._hashCode = hash; return hash; }, toString$0(_) { return 'Symbol("' + A.S(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.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, val) { A.ConstantMap__throwUnmodifiable(); }, putIfAbsent$2(_, key, ifAbsent) { A.ConstantMap__throwUnmodifiable(); }, remove$1(_, key) { A.ConstantMap__throwUnmodifiable(); }, clear$0(_) { A.ConstantMap__throwUnmodifiable(); }, get$entries(_) { return this.entries$body$ConstantMap(0, A._instanceType(this)._eval$1("MapEntry<1,2>")); }, entries$body$ConstantMap($async$_, $async$type) { var $async$self = this; return A._makeSyncStarIterable(function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key; return function $async$get$entries($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 new A.MapEntry(key, $async$self.$index(0, key), t2); case 4: // after yield // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, $async$type); }, 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($receiver, transform) { return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, $isMap: 1 }; A.ConstantMap_map_closure.prototype = { call$2(key, value) { var entry = this.transform.call$2(key, value); this.result.$indexSet(0, entry.get$key(entry), entry.get$value(entry)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(1,2)"); } }; A.ConstantStringMap.prototype = { get$length(_) { return this.__js_helper$_length; }, containsKey$1(_, key) { if (typeof key != "string") return false; if ("__proto__" === key) return false; return this.__js_helper$_jsObject.hasOwnProperty(key); }, $index(_, key) { if (!this.containsKey$1(0, key)) return null; return this.__js_helper$_jsObject[key]; }, forEach$1(_, f) { var t1, t2, i, key, keys = this._keys; for (t1 = keys.length, t2 = this.__js_helper$_jsObject, i = 0; i < t1; ++i) { key = keys[i]; f.call$2(key, t2[key]); } }, get$keys(_) { return new A._ConstantMapKeyIterable(this, this.$ti._eval$1("_ConstantMapKeyIterable<1>")); }, get$values(_) { var t1 = this.$ti; return A.MappedIterable_MappedIterable(this._keys, new A.ConstantStringMap_values_closure(this), t1._precomputed1, t1._rest[1]); } }; A.ConstantStringMap_values_closure.prototype = { call$1(key) { return this.$this.__js_helper$_jsObject[key]; }, $signature() { return this.$this.$ti._eval$1("2(1)"); } }; A._ConstantMapKeyIterable.prototype = { get$iterator(_) { var t1 = this._map._keys; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, get$length(_) { return this._map._keys.length; } }; A.GeneralConstantMap.prototype = { _getMap$0() { var t1, t2, t3, _this = this, backingMap = _this.$map; if (backingMap == null) { t1 = _this.$ti; t2 = t1._precomputed1; t3 = A.GeneralConstantMap__typeTest(t2); backingMap = A.LinkedHashMap_LinkedHashMap(null, A._js_helper_GeneralConstantMap__constantMapHashCode$closure(), t3, t2, t1._rest[1]); 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 t1.get$keys(t1); }, get$values(_) { var t1 = this._getMap$0(); return t1.get$values(t1); }, get$length(_) { var t1 = this._getMap$0(); return t1.get$length(t1); } }; A.GeneralConstantMap__typeTest_closure.prototype = { call$1(o) { return this.T._is(o); }, $signature: 41 }; A.Instantiation.prototype = { Instantiation$1(_genericClosure) { if (false) A.instantiatedGenericFunctionType(0, 0); }, $eq(_, other) { if (other == null) return false; return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeType(this) === A.getRuntimeType(other); }, get$hashCode(_) { return A.Object_hash(this._genericClosure, A.getRuntimeType(this), B.C_SentinelValue, B.C_SentinelValue); }, toString$0(_) { var types = "<" + B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ") + ">"; return this._genericClosure.toString$0(0) + " with " + types; } }; A.Instantiation1.prototype = { 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]); }, call$0() { return this._genericClosure.call$1$0(this.$ti._rest[0]); }, call$4(a0, a1, a2, a3) { return this._genericClosure.call$1$4(a0, a1, a2, a3, 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; return t1; }, get$positionalArguments() { var t1, argumentCount, list, index, _this = this; if (_this.__js_helper$_kind === 1) return B.List_empty; t1 = _this._arguments; argumentCount = t1.length - _this._namedArgumentNames.length - _this._typeArgumentCount; if (argumentCount === 0) return B.List_empty; list = []; for (index = 0; index < argumentCount; ++index) list.push(t1[index]); return J.JSArray_markUnmodifiableList(list); }, get$namedArguments() { var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, _this = this; if (_this.__js_helper$_kind !== 0) return B.Map_empty; t1 = _this._namedArgumentNames; namedArgumentCount = t1.length; t2 = _this._arguments; namedArgumentsStartIndex = t2.length - 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(t1[i]), t2[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: 111 }; 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: 43 }; 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(_) { var t1 = this._method; if (t1 == null) return "NoSuchMethodError: " + this.__js_helper$_message; return "NoSuchMethodError: method not found: '" + t1 + "' on null"; }, $isNoSuchMethodError: 1 }; 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 + ")"; }, $isNoSuchMethodError: 1 }; 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) + "'"; }, $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.RuntimeError.prototype = { toString$0(_) { return "RuntimeError: " + 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.get$isEmpty(this); }, get$keys(_) { return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>")); }, get$values(_) { var _this = this, t1 = A._instanceType(_this); return A.MappedIterable_MappedIterable(_this.get$keys(_this), new A.JsLinkedHashMap_values_closure(_this), t1._precomputed1, t1._rest[1]); }, containsKey$1(_, key) { var strings, nums, _this = this; if (typeof key == "string") { strings = _this._strings; if (strings == null) return false; return _this._containsTableEntry$2(strings, key); } else if (typeof key == "number" && (key & 0x3ffffff) === key) { nums = _this._nums; if (nums == null) return false; return _this._containsTableEntry$2(nums, key); } else return _this.internalContainsKey$1(key); }, internalContainsKey$1(key) { var _this = this, rest = _this.__js_helper$_rest; if (rest == null) return false; return _this.internalFindBucketIndex$2(_this._getTableBucket$2(rest, _this.internalComputeHashCode$1(key)), key) >= 0; }, containsValue$1(_, value) { return this.get$keys(this).any$1(0, new A.JsLinkedHashMap_containsValue_closure(this, value)); }, addAll$1(_, other) { other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this)); }, $index(_, key) { var strings, cell, t1, nums, _this = this, _null = null; if (typeof key == "string") { strings = _this._strings; if (strings == null) return _null; cell = _this._getTableCell$2(strings, key); t1 = cell == null ? _null : cell.hashMapCellValue; return t1; } else if (typeof key == "number" && (key & 0x3ffffff) === key) { nums = _this._nums; if (nums == null) return _null; cell = _this._getTableCell$2(nums, key); t1 = cell == null ? _null : cell.hashMapCellValue; return t1; } else return _this.internalGet$1(key); }, internalGet$1(key) { var bucket, index, _this = this, rest = _this.__js_helper$_rest; if (rest == null) return null; bucket = _this._getTableBucket$2(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 & 0x3ffffff) === 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 = _this._getTableBucket$2(rest, hash); if (bucket == null) _this._setTableEntry$3(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 value, _this = this; if (_this.containsKey$1(0, key)) return A._instanceType(_this)._rest[1]._as(_this.$index(0, key)); 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 & 0x3ffffff) === 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 = _this._getTableBucket$2(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) _this._deleteTableEntry$2(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 = this._getTableCell$2(table, key); if (cell == null) this._setTableEntry$3(table, key, this._newLinkedCell$2(key, value)); else cell.hashMapCellValue = value; }, _removeHashTableEntry$2(table, key) { var cell; if (table == null) return null; cell = this._getTableCell$2(table, key); if (cell == null) return null; this._unlinkCell$1(cell); this._deleteTableEntry$2(table, key); return cell.hashMapCellValue; }, _modified$0() { this._modifications = this._modifications + 1 & 67108863; }, _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) & 0x3ffffff; }, 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); }, _getTableCell$2(table, key) { return table[key]; }, _getTableBucket$2(table, key) { return table[key]; }, _setTableEntry$3(table, key, value) { table[key] = value; }, _deleteTableEntry$2(table, key) { delete table[key]; }, _containsTableEntry$2(table, key) { return this._getTableCell$2(table, key) != null; }, _newHashTable$0() { var _s20_ = "<non-identifier-key>", table = Object.create(null); this._setTableEntry$3(table, _s20_, table); this._deleteTableEntry$2(table, _s20_); return table; }, $isLinkedHashMap: 1 }; A.JsLinkedHashMap_values_closure.prototype = { call$1(each) { var t1 = this.$this; return A._instanceType(t1)._rest[1]._as(t1.$index(0, each)); }, $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; } }, $isIterator: 1 }; A.initHooks_closure.prototype = { call$1(o) { return this.getTag(o); }, $signature: 44 }; A.initHooks_closure0.prototype = { call$2(o, tag) { return this.getUnknownTag(o, tag); }, $signature: 832 }; A.initHooks_closure1.prototype = { call$1(tag) { return this.prototypeForTag(tag); }, $signature: 905 }; 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($receiver, string) { return this.allMatches$2($receiver, 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); }, matchAsPrefix$1($receiver, string) { return this.matchAsPrefix$2($receiver, string, 0); }, $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]; }, get$groupCount() { return this._match.length - 1; }, namedGroup$1($name) { var result, groups = this._match.groups; if (groups != null) { result = groups[$name]; if (result != null || $name in groups) return result; } throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name")); }, $isMatch: 1, $isRegExpMatch: 1 }; A._AllMatchesIterable.prototype = { get$iterator(_) { return new A._AllMatchesIterator(this._re, this._string, this.__js_helper$_start); } }; A._AllMatchesIterator.prototype = { get$current(_) { return type$.RegExpMatch._as(this.__js_helper$_current); }, moveNext$0() { var t1, t2, t3, match, nextIndex, _this = this, string = _this._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(match); if (match._match.index === nextIndex) { if (t3._nativeRegExp.unicode) { t1 = _this._nextIndex; t3 = t1 + 1; if (t3 < t2) { t1 = B.JSString_methods.codeUnitAt$1(string, t1); if (t1 >= 55296 && t1 <= 56319) { t1 = B.JSString_methods.codeUnitAt$1(string, 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._string = _this.__js_helper$_current = null; return false; }, $isIterator: 1 }; A.StringMatch.prototype = { get$end(_) { return this.start + this.pattern.length; }, $index(_, g) { if (g !== 0) A.throwExpression(A.RangeError$value(g, null, null)); return this.pattern; }, get$groupCount() { return 0; }, group$1(group_) { if (group_ !== 0) throw A.wrapException(A.RangeError$value(group_, null, 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._index); }, get$first(_) { var t1 = this._input, t2 = this._pattern, index = t1.indexOf(t2, this._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._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._index = t5 + 1; _this.__js_helper$_current = null; return false; } end = index + t3; _this.__js_helper$_current = new A.StringMatch(index, t4, t2); _this._index = end === _this._index ? end + 1 : end; return true; }, get$current(_) { var t1 = this.__js_helper$_current; t1.toString; return t1; }, $isIterator: 1 }; A._Cell.prototype = { _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.NativeByteBuffer.prototype = { get$runtimeType(receiver) { return B.Type_ByteBuffer_RkP; }, asInt64List$2(receiver, offsetInBytes, $length) { throw A.wrapException(A.UnsupportedError$("Int64List not supported by dart2js.")); }, $isNativeByteBuffer: 1, $isByteBuffer: 1 }; A.NativeTypedData.prototype = { _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); }, $isNativeTypedData: 1, $isTypedData: 1 }; A.NativeByteData.prototype = { get$runtimeType(receiver) { return B.Type_ByteData_zNC; }, getInt64$2(receiver, byteOffset, endian) { throw A.wrapException(A.UnsupportedError$("Int64 accessor not supported by dart2js.")); }, setInt64$3(receiver, byteOffset, value, endian) { throw A.wrapException(A.UnsupportedError$("Int64 accessor not supported by dart2js.")); }, $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$ListMixin$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$ListMixin$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); }, $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); }, $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); } }; 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); }, $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); } }; 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); } }; 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); } }; 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); } }; 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); }, $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._message; } }; A._TypeError.prototype = {$isTypeError: 1}; 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: 915 }; A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = { call$0() { this.callback.call$0(); }, $signature: 3 }; A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = { call$0() { this.callback.call$0(); }, $signature: 3 }; 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: 3 }; 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); } }, completeError$2(e, st) { var t1 = this._future; if (this.isSync) t1._completeError$2(e, st); else t1._asyncCompleteError$2(e, st); } }; A._awaitOnObject_closure.prototype = { call$1(result) { return this.bodyFunction.call$2(0, result); }, $signature: 6 }; A._awaitOnObject_closure0.prototype = { call$2(error, stackTrace) { this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace)); }, $signature: 1158 }; A._wrapJsFunctionForAsync_closure.prototype = { call$2(errorCode, result) { this.$protected(errorCode, result); }, $signature: 1219 }; A._asyncStarHelper_closure.prototype = { call$0() { var t1 = this.controller, t2 = A._lateReadCheck(t1.___AsyncStarStreamController_controller, "controller"), t3 = t2._state; if ((t3 & 1) !== 0 ? (t2.get$_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.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: 3 }; 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; if ((A._lateReadCheck(t1.___AsyncStarStreamController_controller, "controller")._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: 371 }; 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(_) { var nested = this._nestedIterator; if (nested == null) return this._async$_current; return nested.get$current(nested); }, moveNext$0() { var t1, value, state, suspendedBodies, inner, _this = this; for (; true;) { t1 = _this._nestedIterator; if (t1 != null) if (t1.moveNext$0()) return true; else _this._nestedIterator = null; value = function(body, SUCCESS, ERROR) { var errorValue, errorCode = SUCCESS; while (true) try { return body(errorCode, errorValue); } catch (error) { errorValue = error; errorCode = ERROR; } }(_this._body, 0, 1); if (value instanceof A._IterationMarker) { state = value.state; if (state === 2) { suspendedBodies = _this._suspendedBodies; if (suspendedBodies == null || suspendedBodies.length === 0) { _this._async$_current = null; return false; } _this._body = suspendedBodies.pop(); continue; } else { t1 = value.value; if (state === 3) throw t1; else { inner = J.get$iterator$ax(t1); if (inner instanceof A._SyncStarIterator) { t1 = _this._suspendedBodies; if (t1 == null) t1 = _this._suspendedBodies = []; t1.push(_this._body); _this._body = inner._body; continue; } else { _this._nestedIterator = inner; continue; } } } } else { _this._async$_current = value; return true; } } return false; }, $isIterator: 1 }; 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; }, _async$_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, subscription, oldLast, _this = this; if ((_this._state & 4) !== 0) return A._DoneStreamSubscription$(onDone, A._instanceType(_this)._precomputed1); t1 = A._instanceType(_this); t2 = $.Zone__current; t3 = cancelOnError ? 1 : 0; subscription = new A._BroadcastSubscription(_this, A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1), A._BufferingStreamSubscription__registerErrorHandler(t2, onError), A._BufferingStreamSubscription__registerDoneHandler(t2, onDone), t2, t3, t1._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._async$_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) { var replacement; A.checkNotNullable(error, "error", type$.Object); if (!this.get$_mayAddEvent()) throw A.wrapException(this._addEventError$0()); replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } else if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); this._sendError$2(error, stackTrace); }, addError$1(error) { return this.addError$2(error, null); }, 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; }, _addError$2(error, stackTrace) { this._sendError$2(error, stackTrace); }, _async$_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._async$_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._async$_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._async$_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._async$_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$microtask_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.result._complete$1(_this.T._as(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: 66 }; 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.Future_any_onValue.prototype = { call$1(value) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.complete$1(0, value); }, $signature() { return this.T._eval$1("~(0)"); } }; A.Future_any_onError.prototype = { call$2(error, stack) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.completeError$2(error, stack); }, $signature: 66 }; A.TimeoutException.prototype = { toString$0(_) { var result = "TimeoutException after " + this.duration.toString$0(0); result = result + ": " + this.message; return result; }, $isException: 1 }; A._Completer.prototype = { completeError$2(error, stackTrace) { var replacement; A.checkNotNullable(error, "error", type$.Object); if ((this.future._state & 30) !== 0) throw A.wrapException(A.StateError$("Future already completed")); replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } else if (stackTrace == null) stackTrace = A.AsyncError_defaultStackTrace(error); this._completeError$2(error, stackTrace); }, completeError$1(error) { return this.completeError$2(error, null); } }; 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($receiver) { return this.complete$1($receiver, null); }, _completeError$2(error, stackTrace) { this.future._asyncCompleteError$2(error, stackTrace); } }; A._SyncCompleter.prototype = { complete$1(_, value) { var t1 = this.future; if ((t1._state & 30) !== 0) throw A.wrapException(A.StateError$("Future already completed")); t1._complete$1(value); }, _completeError$2(error, stackTrace) { this.future._completeError$2(error, stackTrace); } }; A._FutureListener.prototype = { matchesErrorTest$1(asyncError) { if ((this.state & 15) !== 6) return true; return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object); }, handleError$1(asyncError) { var exception, errorCallback = this.errorCallback, result = null, t1 = type$.dynamic, t2 = type$.Object, t3 = asyncError.error, t4 = this.result._zone; if (type$.dynamic_Function_Object_StackTrace._is(errorCallback)) result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace); else result = t4.runUnary$2$2(errorCallback, t3, t1, t2); 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 = { 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 { f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1); if (onError != null) onError = A._registerErrorHandler(onError, currentZone); } result = new A._Future($.Zone__current, $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($receiver, f, $R) { return this.then$1$2$onError($receiver, f, null, $R); }, then$1($receiver, f) { return this.then$1$2$onError($receiver, f, null, type$.dynamic); }, _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); if (test != null) test = t2.registerUnaryCallback$2$1(test, type$.bool, type$.Object); } 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, t2 = $.Zone__current, result = new A._Future(t2, t1); if (t2 !== B.C__RootZone) action = t2.registerCallback$1$1(action, type$.dynamic); 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; }, _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); } _this._zone.scheduleMicrotask$1(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); _this._zone.scheduleMicrotask$1(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__chainCoreFuture(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; this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value)); }, _chainFuture$1(value) { var _this = this; if (_this.$ti._is(value)) { if ((value._state & 16) !== 0) { _this._state ^= 2; _this._zone.scheduleMicrotask$1(new A._Future__chainFuture_closure(_this, value)); } else A._Future__chainCoreFuture(value, _this); return; } _this._chainForeignFuture$1(value); }, _asyncCompleteError$2(error, stackTrace) { this._state ^= 2; this._zone.scheduleMicrotask$1(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($receiver, timeLimit) { return this.timeout$2$onTimeout($receiver, 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: 55 }; A._Future__chainForeignFuture_closure1.prototype = { call$0() { this.$this._completeError$2(this.e, this.s); }, $signature: 0 }; A._Future__asyncCompleteWithValue_closure.prototype = { call$0() { this.$this._completeWithValue$1(this.value); }, $signature: 0 }; A._Future__chainFuture_closure.prototype = { call$0() { A._Future__chainCoreFuture(this.value, this.$this); }, $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$1(t1.callback, type$.dynamic); } 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: 376 }; A._Future__propagateToListeners_handleValueCallback.prototype = { call$0() { var e, s, t1, t2, t3, exception; try { t1 = this._box_0; t2 = t1.listener; t3 = t2.$ti; t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1); } 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: 55 }; 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($receiver, convert) { return this.map$1$1($receiver, convert, type$.dynamic); }, reduce$1(_, combine) { var value, subscription, t1 = {}, result = new A._Future($.Zone__current, A._instanceType(this)._eval$1("_Future<Stream.T>")); t1.seenFirst = false; value = A._Cell$named("value"); subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new A.Stream_reduce_closure(t1, result, value), result.get$_completeError()); subscription.onData$1(new A.Stream_reduce_closure0(t1, this, combine, value, subscription, result)); return result; }, contains$1(_, needle) { var future = new A._Future($.Zone__current, type$._Future_bool), subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new A.Stream_contains_closure(future), future.get$_completeError()); subscription.onData$1(new A.Stream_contains_closure0(this, needle, 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(new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get$_completeError()); return future; }, cast$1$0(_, $R) { return new A.CastStream(this, A._instanceType(this)._eval$1("@<Stream.T>")._bind$1($R)._eval$1("CastStream<1,2>")); }, get$first(_) { var future = new A._Future($.Zone__current, A._instanceType(this)._eval$1("_Future<Stream.T>")), subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new A.Stream_first_closure(future), future.get$_completeError()); subscription.onData$1(new A.Stream_first_closure0(this, subscription, future)); return future; }, firstWhere$1(_, test) { var future = new A._Future($.Zone__current, A._instanceType(this)._eval$1("_Future<Stream.T>")), subscription = this.listen$4$cancelOnError$onDone$onError(null, true, new A.Stream_firstWhere_closure(null, future), future.get$_completeError()); subscription.onData$1(new A.Stream_firstWhere_closure0(this, test, subscription, future)); return future; }, timeout$2$onTimeout(_, timeLimit, onTimeout) { var t2, t3, zone, _this = this, _null = null, t1 = {}; t1.controller = null; t2 = A._instanceType(_this); t3 = _this.get$isBroadcast() ? t1.controller = new A._SyncBroadcastStreamController(_null, _null, t2._eval$1("_SyncBroadcastStreamController<Stream.T>")) : t1.controller = new A._SyncStreamController(_null, _null, _null, _null, t2._eval$1("_SyncStreamController<Stream.T>")); zone = $.Zone__current; t1.timeoutCallback = null; t1.timeoutCallback = new A.Stream_timeout_closure(t1, _this, new A._ControllerEventSinkWrapper(_null, t2._eval$1("_ControllerEventSinkWrapper<Stream.T>")), zone, zone.registerUnaryCallback$2$1(onTimeout, type$.void, t2._eval$1("EventSink<Stream.T>"))); t3.set$onListen(new A.Stream_timeout_closure0(t1, _this, zone, timeLimit)); t1 = t1.controller; return t1.get$stream(t1); } }; A.Stream_Stream$fromIterable_closure.prototype = { call$0() { return new A._IterablePendingEvents(J.get$iterator$ax(this.elements), this.T._eval$1("_IterablePendingEvents<0>")); }, $signature() { return this.T._eval$1("_IterablePendingEvents<0>()"); } }; A.Stream_reduce_closure.prototype = { call$0() { var e, s, t1, exception, _this = this; if (!_this._box_0.seenFirst) try { t1 = A.IterableElementError_noElement(); throw A.wrapException(t1); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); A._completeWithErrorCallback(_this.result, e, s); } else _this.result._complete$1(_this.value._readLocal$0()); }, $signature: 0 }; A.Stream_reduce_closure0.prototype = { call$1(element) { var _this = this, t1 = _this._box_0, t2 = _this.value; if (t1.seenFirst) { t1 = _this.$this; A._runUserCode(new A.Stream_reduce__closure(t1, _this.combine, t2, element), new A.Stream_reduce__closure0(t1, t2), A._cancelAndErrorClosure(_this.subscription, _this.result)); } else { t2.__late_helper$_value = element; t1.seenFirst = true; } }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_reduce__closure.prototype = { call$0() { return this.combine.call$2(this.value._readLocal$0(), this.element); }, $signature() { return A._instanceType(this.$this)._eval$1("Stream.T()"); } }; A.Stream_reduce__closure0.prototype = { call$1(newValue) { this.value.__late_helper$_value = newValue; }, $signature() { return A._instanceType(this.$this)._eval$1("Null(Stream.T)"); } }; A.Stream_contains_closure.prototype = { call$0() { this.future._complete$1(false); }, $signature: 0 }; A.Stream_contains_closure0.prototype = { call$1(element) { var t1 = this.subscription, t2 = this.future; A._runUserCode(new A.Stream_contains__closure(element, this.needle), new A.Stream_contains__closure0(t1, t2), A._cancelAndErrorClosure(t1, t2)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_contains__closure.prototype = { call$0() { return J.$eq$(this.element, this.needle); }, $signature: 2 }; A.Stream_contains__closure0.prototype = { call$1(isMatch) { if (isMatch) A._cancelAndValue(this.subscription, this.future, true); }, $signature: 97 }; 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_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.Stream_firstWhere_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_firstWhere_closure0.prototype = { call$1(value) { var t1 = this.subscription, t2 = this.future; A._runUserCode(new A.Stream_firstWhere__closure(this.test, value), new A.Stream_firstWhere__closure0(t1, t2, value), A._cancelAndErrorClosure(t1, t2)); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_firstWhere__closure.prototype = { call$0() { return this.test.call$1(this.value); }, $signature: 2 }; A.Stream_firstWhere__closure0.prototype = { call$1(isMatch) { if (isMatch) A._cancelAndValue(this.subscription, this.future, this.value); }, $signature: 97 }; A.Stream_timeout_closure.prototype = { call$0() { var _this = this, t1 = _this.wrapper; t1._async$_sink = _this._box_1.controller; _this.zone.runUnaryGuarded$1$2(_this.registeredOnTimeout, t1, A._instanceType(_this.$this)._eval$1("_ControllerEventSinkWrapper<Stream.T>")); t1._async$_sink = null; }, $signature: 0 }; A.Stream_timeout_closure0.prototype = { call$0() { var t5, subscription, _this = this, t1 = {}, t2 = _this.zone, t3 = _this.timeLimit, t4 = _this._box_1; t1.timer = t2.createTimer$2(t3, t4.timeoutCallback); t5 = _this.$this; subscription = t5.listen$1(null); subscription.onData$1(new A.Stream_timeout__closure(t1, t4, t5, t2, t3)); subscription.onError$1(0, new A.Stream_timeout__closure0(t1, t4, t2, t3)); subscription.onDone$1(new A.Stream_timeout__closure1(t1, t4)); t4.controller.set$onCancel(0, new A.Stream_timeout__closure2(t1, subscription)); if (!t5.get$isBroadcast()) { t5 = t4.controller; t5.set$onPause(0, new A.Stream_timeout__closure3(t1, subscription)); t5.set$onResume(0, new A.Stream_timeout__closure4(t1, t4, subscription, t2, t3)); } }, $signature: 0 }; A.Stream_timeout__closure.prototype = { call$1($event) { var t2, _this = this, t1 = _this._box_0; t1.timer.cancel$0(0); t2 = _this._box_1; t1.timer = _this.zone.createTimer$2(_this.timeLimit, t2.timeoutCallback); t2.controller.add$1(0, $event); }, $signature() { return A._instanceType(this.$this)._eval$1("~(Stream.T)"); } }; A.Stream_timeout__closure0.prototype = { call$2(error, stackTrace) { var t2, _this = this, t1 = _this._box_0; t1.timer.cancel$0(0); t2 = _this._box_1; t1.timer = _this.zone.createTimer$2(_this.timeLimit, t2.timeoutCallback); t2.controller._addError$2(error, stackTrace); }, $signature: 55 }; A.Stream_timeout__closure1.prototype = { call$0() { this._box_0.timer.cancel$0(0); this._box_1.controller.close$0(0); }, $signature: 0 }; A.Stream_timeout__closure2.prototype = { call$0() { this._box_0.timer.cancel$0(0); return this.subscription.cancel$0(0); }, $signature: 7 }; A.Stream_timeout__closure3.prototype = { call$0() { this._box_0.timer.cancel$0(0); this.subscription.pause$0(0); }, $signature: 0 }; A.Stream_timeout__closure4.prototype = { call$0() { var _this = this; _this.subscription.resume$0(0); _this._box_0.timer = _this.zone.createTimer$2(_this.timeLimit, _this._box_1.timeoutCallback); }, $signature: 0 }; A.StreamSubscription.prototype = {}; 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(onData, cancelOnError, onDone, onError); }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; A.StreamTransformerBase.prototype = {}; A._ControllerEventSinkWrapper.prototype = { _ensureSink$0() { var sink = this._async$_sink; if (sink == null) throw A.wrapException(A.StateError$("Sink not available")); return sink; }, add$1(_, data) { this._ensureSink$0().add$1(0, data); }, addError$2(error, stackTrace) { this._ensureSink$0().addError$2(error, stackTrace); }, addError$1(error) { return this.addError$2(error, null); }, close$0(_) { this._ensureSink$0().close$0(0); }, $isEventSink: 1 }; 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._StreamImplEvents(A._instanceType(_this)._eval$1("_StreamImplEvents<1>")) : events; } state = _this._varData; events = state.varData; return events == null ? state.varData = new A._StreamImplEvents(A._instanceType(_this)._eval$1("_StreamImplEvents<1>")) : events; }, get$_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(_this.get$_async$_add(_this), t2, _this.get$_async$_close(), t4); t2 = _this._state; if ((t2 & 1) !== 0 ? (_this.get$_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; }, _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._async$_add$1(0, value); }, addError$2(error, stackTrace) { var replacement; A.checkNotNullable(error, "error", type$.Object); if (this._state >= 4) throw A.wrapException(this._badEventState$0()); replacement = $.Zone__current.errorCallback$2(error, stackTrace); if (replacement != null) { error = replacement.error; stackTrace = replacement.stackTrace; } else 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); }, _async$_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)); }, _async$_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$_subscription()._async$_add$1(0, data); }, _sendError$2(error, stackTrace) { this.get$_subscription()._addError$2(error, stackTrace); }, _sendDone$0() { this.get$_subscription()._async$_close$0(); } }; A._AsyncStreamControllerDispatch.prototype = { _sendData$1(data) { this.get$_subscription()._addPending$1(new A._DelayedData(data, this.$ti._eval$1("_DelayedData<1>"))); }, _sendError$2(error, stackTrace) { this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace)); }, _sendDone$0() { this.get$_subscription()._addPending$1(B.C__DelayedDone); } }; A._AsyncStreamController.prototype = {}; A._SyncStreamController.prototype = {}; A._ControllerStream.prototype = { _createSubscription$4(onData, onError, onDone, cancelOnError) { return this._async$_controller._subscribe$4(onData, onError, onDone, cancelOnError); }, get$hashCode(_) { return (A.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0; }, $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A._ControllerStream && other._async$_controller === this._async$_controller; } }; A._ControllerSubscription.prototype = { _onCancel$0() { return this._async$_controller._recordCancel$1(this); }, _onPause$0() { this._async$_controller._recordPause$1(this); }, _onResume$0() { this._async$_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._async$_close$0(); }, $signature: 55 }; A._AddStreamState_cancel_closure.prototype = { call$0() { this.$this.addStreamFuture._asyncComplete$1(null); }, $signature: 3 }; A._StreamControllerAddStreamState.prototype = {}; A._BufferingStreamSubscription.prototype = { _setPendingEvents$1(pendingEvents) { var _this = this; if (pendingEvents == null) return; _this._pending = pendingEvents; if (!pendingEvents.get$isEmpty(pendingEvents)) { _this._state = (_this._state | 64) >>> 0; pendingEvents.schedule$1(_this); } }, onData$1(handleData) { this._async$_onData = A._BufferingStreamSubscription__registerDataHandler(this._zone, handleData, A._instanceType(this)._eval$1("_BufferingStreamSubscription.T")); }, onError$1(_, handleError) { this._onError = A._BufferingStreamSubscription__registerErrorHandler(this._zone, handleError); }, onDone$1(handleDone) { this._onDone = A._BufferingStreamSubscription__registerDoneHandler(this._zone, handleDone); }, pause$1(_, resumeSignal) { var t2, t3, _this = this, t1 = _this._state; if ((t1 & 8) !== 0) return; t2 = (t1 + 128 | 4) >>> 0; _this._state = t2; if (t1 < 128) { t3 = _this._pending; if (t3 != null) if (t3._state === 1) t3._state = 3; } if ((t1 & 4) === 0 && (t2 & 32) === 0) _this._guardCallback$1(_this.get$_onPause()); }, pause$0($receiver) { return this.pause$1($receiver, 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) { t1 = _this._pending; t1 = !t1.get$isEmpty(t1); } else t1 = false; if (t1) _this._pending.schedule$1(_this); else { t1 = (_this._state & 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._async$_cancel$0(); t1 = _this._cancelFuture; return t1 == null ? $.$get$Future__nullFuture() : t1; }, _async$_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(); }, _async$_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)); }, _async$_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 = new A._StreamImplEvents(A._instanceType(_this)._eval$1("_StreamImplEvents<_BufferingStreamSubscription.T>")); _this._pending = pending; 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$1$2(_this._async$_onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T")); _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._async$_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._async$_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 t1, isInputPaused, _this = this; if ((_this._state & 64) !== 0) { t1 = _this._pending; t1 = t1.get$isEmpty(t1); } else t1 = false; if (t1) { t1 = _this._state = (_this._state & 4294967231) >>> 0; if ((t1 & 4) !== 0) if (t1 < 128) { t1 = _this._pending; t1 = t1 == null ? null : t1.get$isEmpty(t1); t1 = t1 !== false; } else t1 = false; else t1 = false; if (t1) _this._state = (_this._state & 4294967291) >>> 0; } for (; true; wasInputPaused = isInputPaused) { t1 = _this._state; 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(); _this._state = (_this._state & 4294967263) >>> 0; } t1 = _this._state; if ((t1 & 64) !== 0 && t1 < 128) _this._pending.schedule$1(_this); }, $isStreamSubscription: 1 }; A._BufferingStreamSubscription__sendError_sendError.prototype = { call$0() { var onError, t3, t4, 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 = type$.Object; t4 = t1._zone; if (type$.void_Function_Object_StackTrace._is(onError)) t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace); else t4.runUnaryGuarded$1$2(onError, t2, t3); 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._createSubscription$4(onData, onError, onDone, cancelOnError === true); }, listen$2$onError(onData, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, onError); }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, _createSubscription$4(onData, onError, onDone, cancelOnError) { return A._BufferingStreamSubscription$(onData, onError, onDone, cancelOnError, A._instanceType(this)._precomputed1); } }; A._GeneratedStreamImpl.prototype = { _createSubscription$4(onData, onError, onDone, cancelOnError) { var t1, _this = this; if (_this._isUsed) throw A.wrapException(A.StateError$("Stream has already been listened to.")); _this._isUsed = true; t1 = A._BufferingStreamSubscription$(onData, onError, onDone, cancelOnError, _this.$ti._precomputed1); t1._setPendingEvents$1(_this._pending.call$0()); return t1; } }; A._IterablePendingEvents.prototype = { get$isEmpty(_) { return this._async$_iterator == null; }, handleNext$1(dispatch) { var movedNext, e, s, exception, iterator = this._async$_iterator; if (iterator == null) throw A.wrapException(A.StateError$("No events pending.")); movedNext = false; try { if (iterator.moveNext$0()) { movedNext = true; dispatch._sendData$1(J.get$current$z(iterator)); } else { this._async$_iterator = null; dispatch._sendDone$0(); } } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); if (!movedNext) this._async$_iterator = B.C_EmptyIterator; dispatch._sendError$2(e, s); } } }; 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; } }; A._PendingEvents_schedule_closure.prototype = { call$0() { var t1 = this.$this, oldState = t1._state; t1._state = 0; if (oldState === 3) return; t1.handleNext$1(this.dispatch); }, $signature: 0 }; A._StreamImplEvents.prototype = { 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; } }, handleNext$1(dispatch) { var $event = this.firstPendingEvent, nextEvent = $event.get$next($event); this.firstPendingEvent = nextEvent; if (nextEvent == null) this.lastPendingEvent = null; $event.perform$1(dispatch); } }; A._DoneStreamSubscription.prototype = { _schedule$0() { var _this = this; if ((_this._state & 2) !== 0) return; _this._zone.scheduleMicrotask$1(_this.get$_sendDone()); _this._state = (_this._state | 2) >>> 0; }, onData$1(handleData) { }, onError$1(_, handleError) { }, onDone$1(handleDone) { this._onDone = handleDone; }, pause$1(_, resumeSignal) { this._state += 4; }, pause$0($receiver) { return this.pause$1($receiver, null); }, resume$0(_) { var t1 = this._state; if (t1 >= 4) { t1 = this._state = t1 - 4; if (t1 < 4 && (t1 & 1) === 0) this._schedule$0(); } }, cancel$0(_) { return $.$get$Future__nullFuture(); }, _sendDone$0() { var doneHandler, _this = this, t1 = _this._state = (_this._state & 4294967293) >>> 0; if (t1 >= 4) return; _this._state = (t1 | 1) >>> 0; doneHandler = _this._onDone; if (doneHandler != null) _this._zone.runGuarded$1(doneHandler); }, $isStreamSubscription: 1 }; A._StreamIterator.prototype = {}; A._EmptyStream.prototype = { get$isBroadcast() { return true; }, listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { return A._DoneStreamSubscription$(onDone, this.$ti._precomputed1); }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; 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: 66 }; 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 = t1._eval$1("_ForwardingStream.T"), t3 = $.Zone__current, t4 = cancelOnError === true ? 1 : 0; t2 = new A._ForwardingStreamSubscription(this, A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2), A._BufferingStreamSubscription__registerErrorHandler(t3, onError), A._BufferingStreamSubscription__registerDoneHandler(t3, onDone), t3, t4, t1._eval$1("@<_ForwardingStream.S>")._bind$1(t2)._eval$1("_ForwardingStreamSubscription<1,2>")); t2._subscription = this._async$_source.listen$3$onDone$onError(t2.get$_async$_handleData(), t2.get$_handleDone(), t2.get$_async$_handleError()); return t2; }, listen$2$onError(onData, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, onError); }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, _async$_handleError$3(error, stackTrace, sink) { sink._addError$2(error, stackTrace); } }; A._ForwardingStreamSubscription.prototype = { _async$_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._subscription; if (t1 != null) t1.pause$0(0); }, _onResume$0() { var t1 = this._subscription; if (t1 != null) t1.resume$0(0); }, _onCancel$0() { var subscription = this._subscription; if (subscription != null) { this._subscription = null; return subscription.cancel$0(0); } return null; }, _async$_handleData$1(data) { this._stream._async$_handleData$2(data, this); }, _async$_handleError$2(error, stackTrace) { this._stream._async$_handleError$3(error, stackTrace, this); }, _handleDone$0() { this._async$_close$0(); } }; A._WhereStream.prototype = { _async$_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._async$_add$1(0, inputEvent); } }; A._MapStream.prototype = { _async$_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._async$_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); }, addError$1(error) { return this.addError$2(error, null); }, 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._subscription; if (t1 != null) t1.pause$0(0); }, _onResume$0() { var t1 = this._subscription; if (t1 != null) t1.resume$0(0); }, _onCancel$0() { var subscription = this._subscription; if (subscription != null) { this._subscription = null; return subscription.cancel$0(0); } return null; }, _async$_handleData$1(data) { var e, s, exception; try { A._lateReadCheck(this.___SinkTransformerStreamSubscription__transformerSink, "_transformerSink").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, exception, _this = this, _s24_ = "Stream is already closed"; try { A._lateReadCheck(_this.___SinkTransformerStreamSubscription__transformerSink, "_transformerSink").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, exception, _this = this; try { _this._subscription = null; A._lateReadCheck(_this.___SinkTransformerStreamSubscription__transformerSink, "_transformerSink").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 = t1._rest[1], t3 = $.Zone__current, t4 = cancelOnError === true ? 1 : 0, subscription = new A._SinkTransformerStreamSubscription(A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2), A._BufferingStreamSubscription__registerErrorHandler(t3, onError), A._BufferingStreamSubscription__registerDoneHandler(t3, onDone), t3, t4, t1._eval$1("@<1>")._bind$1(t2)._eval$1("_SinkTransformerStreamSubscription<1,2>")); subscription.___SinkTransformerStreamSubscription__transformerSink = this._sinkMapper.call$1(new A._EventSinkWrapper(subscription, t1._eval$1("_EventSinkWrapper<2>"))); subscription._subscription = this._stream.listen$3$onDone$onError(subscription.get$_async$_handleData(), subscription.get$_handleDone(), subscription.get$_async$_handleError()); return subscription; }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); } }; A._HandlerEventSink.prototype = { add$1(_, data) { var sink = this._async$_sink; if (sink == null) throw A.wrapException(A.StateError$("Sink is closed")); this._async$_handleData.call$2(data, sink); }, addError$2(error, stackTrace) { var sink; A.checkNotNullable(error, "error", type$.Object); sink = this._async$_sink; if (sink == null) throw A.wrapException(A.StateError$("Sink is closed")); sink.addError$2(error, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace); }, addError$1(error) { return this.addError$2(error, null); }, close$0(_) { var t1, sink = this._async$_sink; if (sink == null) return; this._async$_sink = null; 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(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._ZoneFunction.prototype = {}; A._RunNullaryZoneFunction.prototype = {}; A._RunUnaryZoneFunction.prototype = {}; A._RunBinaryZoneFunction.prototype = {}; A._RegisterNullaryZoneFunction.prototype = {}; A._RegisterUnaryZoneFunction.prototype = {}; A._RegisterBinaryZoneFunction.prototype = {}; A._ZoneSpecification.prototype = {$isZoneSpecification: 1}; A._ZoneDelegate.prototype = {$isZoneDelegate: 1}; A._Zone.prototype = { _processUncaughtError$3(zone, error, stackTrace) { var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception, implementation = this.get$_handleUncaughtError(), implZone = implementation.zone; if (implZone === B.C__RootZone) { A._rootHandleError(error, stackTrace); return; } handler = implementation.$function; parentDelegate = implZone.get$_parentDelegate(); t1 = J.get$parent$x(implZone); t1.toString; parentZone = t1; currentZone = $.Zone__current; try { $.Zone__current = parentZone; handler.call$5(implZone, parentDelegate, zone, error, stackTrace); $.Zone__current = currentZone; } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); $.Zone__current = currentZone; t1 = error === e ? stackTrace : s; parentZone._processUncaughtError$3(implZone, e, t1); } }, $isZone: 1 }; A._CustomZone.prototype = { get$_async$_delegate() { var t1 = this._delegateCache; return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1; }, get$_parentDelegate() { return this.parent.get$_async$_delegate(); }, get$errorZone() { return this._handleUncaughtError.zone; }, runGuarded$1(f) { var e, s, exception; try { this.run$1$1(f, type$.void); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); this._processUncaughtError$3(this, e, s); } }, runUnaryGuarded$1$2(f, arg, $T) { var e, s, exception; try { this.runUnary$2$2(f, arg, type$.void, $T); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); this._processUncaughtError$3(this, e, s); } }, runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) { var e, s, exception; try { this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2); } catch (exception) { e = A.unwrapException(exception); s = A.getTraceFromException(exception); this._processUncaughtError$3(this, e, s); } }, bindCallback$1$1(f, $R) { return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R); }, bindUnaryCallback$2$1(f, $R, $T) { return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R); }, bindCallbackGuarded$1(f) { return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void)); }, bindUnaryCallbackGuarded$1$1(f, $T) { return new A._CustomZone_bindUnaryCallbackGuarded_closure(this, this.registerUnaryCallback$2$1(f, type$.void, $T), $T); }, $index(_, key) { var value, t1 = this._async$_map, result = t1.$index(0, key); if (result != null || t1.containsKey$1(0, key)) return result; value = this.parent.$index(0, key); if (value != null) t1.$indexSet(0, key, value); return value; }, handleUncaughtError$2(error, stackTrace) { this._processUncaughtError$3(this, error, stackTrace); }, fork$2$specification$zoneValues(specification, zoneValues) { var implementation = this._fork, t1 = implementation.zone; return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues); }, fork$1$specification(specification) { return this.fork$2$specification$zoneValues(specification, null); }, run$1$1(f) { var implementation = this._run, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f); }, runUnary$2$2(f, arg) { var implementation = this._runUnary, t1 = implementation.zone; return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg); }, runBinary$3$3(f, arg1, arg2) { var implementation = this._runBinary, t1 = implementation.zone; return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2); }, registerCallback$1$1(callback) { var implementation = this._registerCallback, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback); }, registerUnaryCallback$2$1(callback) { var implementation = this._registerUnaryCallback, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback); }, registerBinaryCallback$3$1(callback) { var implementation = this._registerBinaryCallback, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback); }, errorCallback$2(error, stackTrace) { var implementation, implementationZone; A.checkNotNullable(error, "error", type$.Object); implementation = this._errorCallback; implementationZone = implementation.zone; if (implementationZone === B.C__RootZone) return null; return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace); }, scheduleMicrotask$1(f) { var implementation = this._scheduleMicrotask, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f); }, createTimer$2(duration, f) { var implementation = this._createTimer, t1 = implementation.zone; return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f); }, createPeriodicTimer$2(duration, f) { var implementation = this._createPeriodicTimer, t1 = implementation.zone; return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f); }, print$1(_, line) { var implementation = this._print, t1 = implementation.zone; return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line); }, get$_run() { return this._run; }, get$_runUnary() { return this._runUnary; }, get$_runBinary() { return this._runBinary; }, get$_registerCallback() { return this._registerCallback; }, get$_registerUnaryCallback() { return this._registerUnaryCallback; }, get$_registerBinaryCallback() { return this._registerBinaryCallback; }, get$_errorCallback() { return this._errorCallback; }, get$_scheduleMicrotask() { return this._scheduleMicrotask; }, get$_createTimer() { return this._createTimer; }, get$_createPeriodicTimer() { return this._createPeriodicTimer; }, get$_print() { return this._print; }, get$_fork() { return this._fork; }, get$_handleUncaughtError() { return this._handleUncaughtError; }, get$parent(receiver) { return this.parent; }, get$_async$_map() { return this._async$_map; } }; A._CustomZone_bindCallback_closure.prototype = { call$0() { return this.$this.run$1$1(this.registered, this.R); }, $signature() { return this.R._eval$1("0()"); } }; A._CustomZone_bindUnaryCallback_closure.prototype = { call$1(arg) { var _this = this; return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T); }, $signature() { return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); } }; A._CustomZone_bindCallbackGuarded_closure.prototype = { call$0() { return this.$this.runGuarded$1(this.registered); }, $signature: 0 }; A._CustomZone_bindUnaryCallbackGuarded_closure.prototype = { call$1(arg) { return this.$this.runUnaryGuarded$1$2(this.registered, arg, this.T); }, $signature() { return this.T._eval$1("~(0)"); } }; A._rootHandleError_closure.prototype = { call$0() { var error = A.wrapException(this.error); error.stack = this.stackTrace.toString$0(0); throw error; }, $signature: 0 }; A._RootZone.prototype = { get$_run() { return B._RunNullaryZoneFunction__RootZone__rootRun; }, get$_runUnary() { return B._RunUnaryZoneFunction__RootZone__rootRunUnary; }, get$_runBinary() { return B._RunBinaryZoneFunction__RootZone__rootRunBinary; }, get$_registerCallback() { return B._RegisterNullaryZoneFunction__RootZone__rootRegisterCallback; }, get$_registerUnaryCallback() { return B._RegisterUnaryZoneFunction_Bqo; }, get$_registerBinaryCallback() { return B._RegisterBinaryZoneFunction_kGu; }, get$_errorCallback() { return B._ZoneFunction__RootZone__rootErrorCallback; }, get$_scheduleMicrotask() { return B._ZoneFunction__RootZone__rootScheduleMicrotask; }, get$_createTimer() { return B._ZoneFunction__RootZone__rootCreateTimer; }, get$_createPeriodicTimer() { return B._ZoneFunction_3bB; }, get$_print() { return B._ZoneFunction__RootZone__rootPrint; }, get$_fork() { return B._ZoneFunction__RootZone__rootFork; }, get$_handleUncaughtError() { return B._ZoneFunction_NMc; }, get$parent(_) { return null; }, get$_async$_map() { return $.$get$_RootZone__rootMap(); }, get$_async$_delegate() { var t1 = $._RootZone__rootDelegate; return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; }, get$_parentDelegate() { var t1 = $._RootZone__rootDelegate; return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1; }, get$errorZone() { return this; }, 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); } }, 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); } }, bindCallback$1$1(f, $R) { return new A._RootZone_bindCallback_closure(this, f, $R); }, bindUnaryCallback$2$1(f, $R, $T) { return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $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; }, handleUncaughtError$2(error, stackTrace) { A._rootHandleError(error, stackTrace); }, fork$2$specification$zoneValues(specification, zoneValues) { return A._rootFork(null, null, this, specification, zoneValues); }, fork$1$specification(specification) { return this.fork$2$specification$zoneValues(specification, null); }, run$1$1(f) { if ($.Zone__current === B.C__RootZone) return f.call$0(); return A._rootRun(null, null, this, f); }, runUnary$2$2(f, arg) { if ($.Zone__current === B.C__RootZone) return f.call$1(arg); return A._rootRunUnary(null, null, this, f, arg); }, 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); }, registerCallback$1$1(f) { return f; }, registerUnaryCallback$2$1(f) { return f; }, registerBinaryCallback$3$1(f) { return f; }, errorCallback$2(error, stackTrace) { return null; }, scheduleMicrotask$1(f) { A._rootScheduleMicrotask(null, null, this, f); }, createTimer$2(duration, f) { return A.Timer__createTimer(duration, f); }, createPeriodicTimer$2(duration, f) { return A.Timer__createPeriodicTimer(duration, f); }, print$1(_, line) { A.printString(line); } }; A._RootZone_bindCallback_closure.prototype = { call$0() { return this.$this.run$1$1(this.f, this.R); }, $signature() { return this.R._eval$1("0()"); } }; A._RootZone_bindUnaryCallback_closure.prototype = { call$1(arg) { var _this = this; return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T); }, $signature() { return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)"); } }; 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$1$2(this.f, arg, this.T); }, $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 value, _this = this; if (_this.containsKey$1(0, key)) return A._instanceType(_this)._rest[1]._as(_this.$index(0, key)); 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, _this = this, keys = _this._computeKeys$0(); for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) { key = keys[i]; action.call$2(key, t1._as(_this.$index(0, key))); 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; return A._instanceType(t1)._rest[1]._as(t1.$index(0, each)); }, $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: 77 }; A._HashMapKeyIterable.prototype = { get$length(_) { return this._collection$_map._collection$_length; }, get$isEmpty(_) { 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(_) { return this.$ti._precomputed1._as(this._collection$_current); }, 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; } }, $isIterator: 1 }; A._LinkedIdentityHashMap.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._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: 77 }; 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._add$1(0, element); }, _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._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._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._elements = null; _this._collection$_length = 0; } }, _computeElements$0() { var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this, result = _this._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._elements = result; }, _collection$_addHashTableEntry$2(table, element) { if (table[element] != null) return false; table[element] = 0; ++this._collection$_length; this._elements = null; return true; }, _collection$_removeHashTableEntry$2(table, element) { if (table != null && table[element] != null) { delete table[element]; --this._collection$_length; this._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(_) { return this.$ti._precomputed1._as(this._collection$_current); }, moveNext$0() { var _this = this, elements = _this._elements, offset = _this._offset, t1 = _this._set; if (elements !== t1._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; } }, $isIterator: 1 }; 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._collection$_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._collection$_element; }, get$last(_) { var last = this._collection$_last; if (last == null) throw A.wrapException(A.StateError$("No elements")); return last._collection$_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._add$1(0, element); }, _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; }, _filterWhere$2(test, removeMatching) { var element, next, modifications, t1, _this = this, cell = _this._collection$_first; for (; cell != null; cell = next) { element = cell._collection$_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]._collection$_element, element)) return i; return -1; } }; A._LinkedHashSetCell.prototype = {}; A._LinkedHashSetIterator.prototype = { get$current(_) { return this.$ti._precomputed1._as(this._collection$_current); }, 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._collection$_element; _this._collection$_cell = cell._collection$_next; return true; } }, $isIterator: 1 }; 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.HashMap_HashMap$from_closure.prototype = { call$2(k, v) { this.result.$indexSet(0, this.K._as(k), this.V._as(v)); }, $signature: 60 }; A.IterableMixin.prototype = { cast$1$0(_, $R) { return A.CastIterable_CastIterable(this, this.$ti._precomputed1, $R); }, map$1$1(_, toElement, $T) { return A.MappedIterable_MappedIterable(this, toElement, this.$ti._precomputed1, $T); }, map$1($receiver, toElement) { return this.map$1$1($receiver, toElement, type$.dynamic); }, contains$1(_, element) { var t1; for (t1 = this.$ti, 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();) if (J.$eq$(t1.get$current(t1), element)) return true; return false; }, forEach$1(_, action) { var t1; for (t1 = this.$ti, 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();) action.call$1(t1.get$current(t1)); }, any$1(_, test) { var t1; for (t1 = this.$ti, 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();) if (test.call$1(t1.get$current(t1))) return true; return false; }, toList$1$growable(_, growable) { return A.List_List$from(this, true, this.$ti._precomputed1); }, toList$0($receiver) { return this.toList$1$growable($receiver, true); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet$from(this, this.$ti._precomputed1); }, get$length(_) { var count, t1 = this.$ti, it = 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>")); for (count = 0; it.moveNext$0();) ++count; return count; }, get$isEmpty(_) { 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>")).moveNext$0(); }, get$isNotEmpty(_) { return this._root != null; }, take$1(_, count) { return A.TakeIterable_TakeIterable(this, count, this.$ti._precomputed1); }, skip$1(_, count) { return A.SkipIterable_SkipIterable(this, count, this.$ti._precomputed1); }, get$first(_) { var t1 = this.$ti, it = 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>")); if (!it.moveNext$0()) throw A.wrapException(A.IterableElementError_noElement()); return it.get$current(it); }, get$last(_) { var result, t1 = this.$ti, it = 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>")); 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, t1 = this.$ti, it = 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>")); 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.$ti, 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(t1); if (test.call$1(element)) return element; } throw A.wrapException(A.IterableElementError_noElement()); }, firstWhere$1($receiver, test) { return this.firstWhere$2$orElse($receiver, test, null); }, elementAt$1(_, index) { var t1, elementIndex, element, _this = this, _s5_ = "index"; A.checkNotNullable(index, _s5_, type$.int); A.RangeError_checkNotNegative(index, _s5_); for (t1 = _this.$ti, 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>")), elementIndex = 0; t1.moveNext$0();) { element = t1.get$current(t1); if (index === elementIndex) return element; ++elementIndex; } throw A.wrapException(A.IndexError$(index, _this, _s5_, null, elementIndex)); }, toString$0(_) { return A.IterableBase_iterableToShortString(this, "(", ")"); } }; A.IterableBase.prototype = {}; A.LinkedHashMap_LinkedHashMap$from_closure.prototype = { call$2(k, v) { this.result.$indexSet(0, this.K._as(k), this.V._as(v)); }, $signature: 60 }; A.LinkedList.prototype = { contains$1(_, entry) { return entry instanceof A.LinkedListEntry && this === entry._collection$_list; }, get$iterator(_) { var _this = this; return new A._LinkedListIterator(_this, _this._collection$_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._collection$_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._collection$_modificationCount; if (_this._collection$_length === 0) return; t1 = _this._collection$_first; t1.toString; current = t1; do { action.call$1(current); if (modificationCount !== _this._collection$_modificationCount) throw A.wrapException(A.ConcurrentModificationError$(_this)); t1 = current._collection$_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._collection$_list != null) throw A.wrapException(A.StateError$("LinkedListEntry is already in a LinkedList")); ++_this._collection$_modificationCount; newEntry._collection$_list = _this; t1 = _this._collection$_length; if (t1 === 0) { newEntry._collection$_next = newEntry; _this._collection$_first = newEntry._collection$_previous = newEntry; _this._collection$_length = t1 + 1; return; } t2 = entry._collection$_previous; t2.toString; newEntry._collection$_previous = t2; newEntry._collection$_next = entry; entry._collection$_previous = t2._collection$_next = newEntry; _this._collection$_length = t1 + 1; } }; A._LinkedListIterator.prototype = { get$current(_) { return this.$ti._precomputed1._as(this._collection$_current); }, moveNext$0() { var _this = this, t1 = _this._collection$_list; if (_this._collection$_modificationCount !== t1._collection$_modificationCount) throw A.wrapException(A.ConcurrentModificationError$(_this)); if (t1._collection$_length !== 0) t1 = _this._visitedFirst && _this._collection$_next === t1.get$first(t1); 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._collection$_next; return true; }, $isIterator: 1 }; A.LinkedListEntry.prototype = {}; A.ListBase.prototype = {$isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1}; A.ListMixin.prototype = { get$iterator(receiver) { return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListMixin.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; }, every$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 false; if ($length !== this.get$length(receiver)) throw A.wrapException(A.ConcurrentModificationError$(receiver)); } return true; }, 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)); } 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); }, lastWhere$2$orElse(receiver, test, orElse) { var i, element, $length = this.get$length(receiver); for (i = $length - 1; i >= 0; --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)); } if (orElse != null) return orElse.call$0(); throw A.wrapException(A.IterableElementError_noElement()); }, 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<ListMixin.E>")); }, whereType$1$0(receiver, $T) { return new A.WhereTypeIterable(receiver, $T._eval$1("WhereTypeIterable<0>")); }, map$1$1(receiver, f, $T) { return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListMixin.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("@<ListMixin.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, skip$1(receiver, count) { return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListMixin.E")); }, take$1(receiver, count) { return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListMixin.E")); }, toList$1$growable(receiver, growable) { var t1, first, result, i, _this = this; if (_this.get$isEmpty(receiver)) { t1 = A.instanceType(receiver)._eval$1("ListMixin.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("ListMixin.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("ListMixin.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); }, clear$0(receiver) { this.set$length(receiver, 0); }, cast$1$0(receiver, $R) { return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListMixin.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) { A.Sort_sort(receiver, compare == null ? A.collection_ListMixin__compareAny$closure() : compare); }, $add(receiver, other) { var t1 = A.List_List$of(receiver, true, A.instanceType(receiver)._eval$1("ListMixin.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("ListMixin.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("ListMixin.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.instanceType(receiver)._eval$1("ListMixin.E")._as(fill); 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<ListMixin.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); }, indexWhere$1(receiver, test) { var i; for (i = 0; i < this.get$length(receiver); ++i) if (test.call$1(this.$index(receiver, i))) return i; return -1; }, 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)); } }, toString$0(receiver) { return A.IterableBase_iterableToFullString(receiver, "[", "]"); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.MapBase.prototype = {}; 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: 134 }; A.MapMixin.prototype = { cast$2$0(receiver, RK, RV) { var t1 = A.instanceType(receiver); return A.Map_castFrom(receiver, t1._eval$1("MapMixin.K"), t1._eval$1("MapMixin.V"), RK, RV); }, forEach$1(receiver, action) { var t1, t2, key; for (t1 = J.get$iterator$ax(this.get$keys(receiver)), t2 = A.instanceType(receiver)._eval$1("MapMixin.V"); t1.moveNext$0();) { key = t1.get$current(t1); action.call$2(key, t2._as(this.$index(receiver, key))); } }, putIfAbsent$2(receiver, key, ifAbsent) { var t1; if (this.containsKey$1(receiver, key)) return A.instanceType(receiver)._eval$1("MapMixin.V")._as(this.$index(receiver, key)); 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 = update.call$1(A.instanceType(receiver)._eval$1("MapMixin.V")._as(_this.$index(receiver, key))); _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); }, get$entries(receiver) { return J.map$1$1$ax(this.get$keys(receiver), new A.MapMixin_entries_closure(receiver), A.instanceType(receiver)._eval$1("MapEntry<MapMixin.K,MapMixin.V>")); }, map$2$1(receiver, transform, K2, V2) { var t1, t2, key, entry, result = A.LinkedHashMap_LinkedHashMap$_empty(K2, V2); for (t1 = J.get$iterator$ax(this.get$keys(receiver)), t2 = A.instanceType(receiver)._eval$1("MapMixin.V"); t1.moveNext$0();) { key = t1.get$current(t1); entry = transform.call$2(key, t2._as(this.$index(receiver, key))); result.$indexSet(0, entry.get$key(entry), entry.get$value(entry)); } return result; }, map$1($receiver, transform) { return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, removeWhere$1(receiver, test) { var t2, key, _i, t1 = A.instanceType(receiver), keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapMixin.K>")); for (t2 = J.get$iterator$ax(this.get$keys(receiver)), t1 = t1._eval$1("MapMixin.V"); t2.moveNext$0();) { key = t2.get$current(t2); if (test.call$2(key, t1._as(this.$index(receiver, key)))) 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("@<MapMixin.K>")._bind$1(t1._eval$1("MapMixin.V"))._eval$1("_MapBaseValueIterable<1,2>")); }, toString$0(receiver) { return A.MapBase_mapToString(receiver); }, $isMap: 1 }; A.MapMixin_entries_closure.prototype = { call$1(key) { var t1 = this.$this, t2 = A.instanceType(t1), t3 = t2._eval$1("MapMixin.V"); return new A.MapEntry(key, t3._as(J.$index$asx(t1, key)), t2._eval$1("@<MapMixin.K>")._bind$1(t3)._eval$1("MapEntry<1,2>")); }, $signature() { return A.instanceType(this.$this)._eval$1("MapEntry<MapMixin.K,MapMixin.V>(MapMixin.K)"); } }; 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); return this.$ti._rest[1]._as(t2.$index(t1, J.get$first$ax(t2.get$keys(t1)))); }, get$single(_) { var t1 = this._collection$_map, t2 = J.getInterceptor$x(t1); return this.$ti._rest[1]._as(t2.$index(t1, J.get$single$ax(t2.get$keys(t1)))); }, get$last(_) { var t1 = this._collection$_map, t2 = J.getInterceptor$x(t1); return this.$ti._rest[1]._as(t2.$index(t1, J.get$last$ax(t2.get$keys(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(_) { return this.$ti._rest[1]._as(this._collection$_current); }, $isIterator: 1 }; A._UnmodifiableMapMixin.prototype = { $indexSet(_, key, value) { throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map")); }, clear$0(_) { 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); }, clear$0(_) { J.clear$0$ax(this._collection$_map); }, 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($receiver, transform) { return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, $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 = { _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>"))._link$2(t1, t1._nextLink); ++this._elementCount; }, 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.IterableBase_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(_) { return this.$ti._precomputed1._as(this._collection$_current); }, $isIterator: 1 }; 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._collection$_modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>")); }, forEach$1(_, f) { var i, t1, _this = this, modificationCount = _this._collection$_modificationCount; for (i = _this._head, t1 = _this.$ti._precomputed1; i !== _this._tail; i = (i + 1 & _this._table.length - 1) >>> 0) { f.call$1(t1._as(_this._table[i])); if (modificationCount !== _this._collection$_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()); return _this.$ti._precomputed1._as(_this._table[t1]); }, get$last(_) { var _this = this, t1 = _this._head, t2 = _this._tail; if (t1 === t2) throw A.wrapException(A.IterableElementError_noElement()); t1 = _this._table; return _this.$ti._precomputed1._as(t1[(t2 - 1 & t1.length - 1) >>> 0]); }, get$single(_) { var _this = this; if (_this._head === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); if (_this.get$length(_this) > 1) throw A.wrapException(A.IterableElementError_tooMany()); return _this.$ti._precomputed1._as(_this._table[_this._head]); }, elementAt$1(_, index) { var t1, _this = this; A.RangeError_checkValidIndex(index, _this, null, null); t1 = _this._table; return _this.$ti._precomputed1._as(t1[(_this._head + index & t1.length - 1) >>> 0]); }, toList$1$growable(_, growable) { var t1, list, t2, t3, i, _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(_this), growable, t1); for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) list[i] = t1._as(t2[(t3 + i & mask) >>> 0]); return list; }, toList$0($receiver) { return this.toList$1$growable($receiver, 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(_this); 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._collection$_modificationCount; } else for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) _this._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._collection$_modificationCount; } }, toString$0(_) { return A.IterableBase_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._collection$_grow$0(); ++_this._collection$_modificationCount; }, removeFirst$0() { var t2, result, _this = this, t1 = _this._head; if (t1 === _this._tail) throw A.wrapException(A.IterableElementError_noElement()); ++_this._collection$_modificationCount; t2 = _this._table; result = _this.$ti._precomputed1._as(t2[t1]); 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._collection$_modificationCount; t1 = _this._table; t2 = _this._tail = (t2 - 1 & t1.length - 1) >>> 0; result = _this.$ti._precomputed1._as(t1[t2]); t1[t2] = null; return result; }, _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._collection$_grow$0(); ++_this._collection$_modificationCount; }, _collection$_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(_) { return this.$ti._precomputed1._as(this._collection$_current); }, moveNext$0() { var t2, _this = this, t1 = _this._collection$_queue; if (_this._collection$_modificationCount !== t1._collection$_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; }, $isIterator: 1 }; A.SetMixin.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("SetMixin.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, _i; for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) this.remove$1(0, elements[_i]); }, union$1(other) { var t1 = this.toSet$0(0); t1.addAll$1(0, other); return t1; }, 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("SetMixin.E")); }, toList$0($receiver) { return this.toList$1$growable($receiver, true); }, map$1$1(_, f, $T) { return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<SetMixin.E>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>")); }, map$1($receiver, f) { return this.map$1$1($receiver, 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.IterableBase_iterableToFullString(this, "{", "}"); }, forEach$1(_, f) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) f.call$1(t1.get$current(t1)); }, join$1(_, separator) { var t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; if (separator === "") { t1 = ""; do t1 += A.S(iterator.get$current(iterator)); while (iterator.moveNext$0()); } else { t1 = "" + A.S(iterator.get$current(iterator)); for (; iterator.moveNext$0();) t1 = t1 + separator + A.S(iterator.get$current(iterator)); } 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("SetMixin.E")); }, skip$1(_, n) { return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._eval$1("SetMixin.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; }, 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($receiver, test) { return this.firstWhere$2$orElse($receiver, test, null); }, elementAt$1(_, index) { var t1, elementIndex, element, _s5_ = "index"; A.checkNotNullable(index, _s5_, type$.int); A.RangeError_checkNotNegative(index, _s5_); for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { element = t1.get$current(t1); if (index === elementIndex) return element; ++elementIndex; } throw A.wrapException(A.IndexError$(index, this, _s5_, null, elementIndex)); } }; A.SetBase.prototype = {$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; }, $isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1 }; 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(); }, remove$1(_, value) { return A._UnmodifiableSetMixin__throwUnmodifiable(); } }; A._UnmodifiableSet.prototype = { _newSet$0() { return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1); }, _newSimilarSet$1$0($R) { return A.LinkedHashSet_LinkedHashSet($R); }, _newSimilarSet$0() { return this._newSimilarSet$1$0(type$.dynamic); }, contains$1(_, element) { return J.containsKey$1$x(this._collection$_map, element); }, get$iterator(_) { return J.get$iterator$ax(J.get$keys$x(this._collection$_map)); }, get$length(_) { return J.get$length$asx(this._collection$_map); } }; A._SplayTreeNode.prototype = { get$key(receiver) { return this.key; } }; 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; }, toString$0(_) { return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")"; }, $isMapEntry: 1, 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$_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$_root() !== current) { _this.set$_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$_root() == null) return null; if (_this._splay$1(key) !== 0) return null; root = _this.get$_root(); left = root._collection$_left; --_this._count; t1 = root._collection$_right; if (left == null) _this.set$_root(t1); else { root0 = _this._splayMax$1(left); root0._collection$_right = t1; _this.set$_root(root0); } ++_this._collection$_modificationCount; return root; }, _addNewRoot$2(node, comp) { var root, _this = this; ++_this._count; ++_this._collection$_modificationCount; root = _this.get$_root(); if (root == null) { _this.set$_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$_root(node); }, get$_collection$_first() { var _this = this, root = _this.get$_root(); if (root == null) return null; _this.set$_root(_this._splayMin$1(root)); return _this.get$_root(); }, get$_collection$_last() { var _this = this, root = _this.get$_root(); if (root == null) return null; _this.set$_root(_this._splayMax$1(root)); return _this.get$_root(); }, _clear$0(_) { this.set$_root(null); this._count = 0; ++this._collection$_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._root != null) if (_this._splay$1(key) === 0) return _this._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._root = _this._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._root.value; modificationCount = _this._collection$_modificationCount; splayCount = _this._splayCount; value = ifAbsent.call$0(); if (modificationCount !== _this._collection$_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._root == null; }, get$isNotEmpty(_) { return this._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(nodes); f.call$2(node.get$key(node), node.get$value(node)); } }, get$length(_) { return this._count; }, clear$0(_) { this._clear$0(0); }, 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._root == null) return null; return this.get$_collection$_first().key; }, lastKey$0() { if (this._root == null) return null; return this.get$_collection$_last().key; }, lastKeyBefore$1(key) { var node, nodeRight, nodeRight0, _this = this; if (_this._root == null) return null; if (_this._splay$1(key) < 0) return _this._root.key; node = _this._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._root == null) return null; if (_this._splay$1(key) > 0) return _this._root.key; node = _this._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$_root() { return this._root; }, get$_compare() { return this._compare; }, set$_root(val) { return this._root = val; } }; A.SplayTreeMap_closure.prototype = { call$1(a) { return this.K._is(a); }, $signature: 77 }; A._SplayTreeIterator.prototype = { get$current(_) { var t1 = this._collection$_path; if (t1.length === 0) return A._instanceType(this)._eval$1("_SplayTreeIterator.T")._as(null); return this._getValue$1(B.JSArray_methods.get$last(t1)); }, moveNext$0() { var node, next, _this = this, t1 = _this._collection$_modificationCount, t2 = _this._tree, t3 = t2._collection$_modificationCount; if (t1 !== t3) { if (t1 == null) { _this._collection$_modificationCount = t3; node = t2.get$_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) { t3 = B.JSArray_methods.get$last(t1); B.JSArray_methods.set$length(t1, 0); t2._splay$1(t3.key); t3 = t2.get$_root(); t3.toString; t1.push(t3); _this._splayCount = t2._splayCount; } 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; }, $isIterator: 1 }; A._SplayTreeKeyIterable.prototype = { get$length(_) { return this._tree._count; }, get$isEmpty(_) { return this._tree._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._count = t1._count; set._root = set._copyNode$1$1(t1._root, t2._rest[1]); return set; } }; A._SplayTreeValueIterable.prototype = { get$length(_) { return this._collection$_map._count; }, get$isEmpty(_) { return this._collection$_map._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._count; }, get$isEmpty(_) { return this._collection$_map._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) { return node; } }; 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._count; }, get$isEmpty(_) { return this._root == null; }, get$isNotEmpty(_) { return this._root != null; }, get$first(_) { if (this._count === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.get$_collection$_first().key; }, get$last(_) { if (this._count === 0) throw A.wrapException(A.IterableElementError_noElement()); return this.get$_collection$_last().key; }, get$single(_) { var t1 = this._count; if (t1 === 0) throw A.wrapException(A.IterableElementError_noElement()); if (t1 > 1) throw A.wrapException(A.IterableElementError_tooMany()); return this._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._add$1(0, element); }, _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._add$1(0, t1.get$current(t1)); }, removeAll$1(elements) { var t1, t2, _i, element; for (t1 = elements.length, t2 = this.$ti._precomputed1, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) { element = elements[_i]; 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(t1); if (other.contains$1(0, element)) result._add$1(0, element); } return result; }, _clone$0() { var _this = this, t1 = _this.$ti, set = A.SplayTreeSet$(_this._compare, _this._validKey, t1._precomputed1); set._count = _this._count; set._root = _this._copyNode$1$1(_this._root, t1._eval$1("_SplayTreeSetNode<1>")); return set; }, _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._clear$0(0); }, toSet$0(_) { return this._clone$0(); }, toString$0(_) { return A.IterableBase_iterableToFullString(this, "{", "}"); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isSet: 1, _compare$2(arg0, arg1) { return this._compare.call$2(arg0, arg1); }, _validKey$1(arg0) { return this._validKey.call$1(arg0); }, get$_root() { return this._root; }, get$_compare() { return this._compare; }, set$_root(val) { return this._root = val; } }; A.SplayTreeSet_closure.prototype = { call$1(v) { return this.E._is(v); }, $signature: 77 }; 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._ListBase_Object_ListMixin.prototype = {}; A._SetBase_Object_SetMixin.prototype = {}; A._SplayTreeMap__SplayTree_MapMixin.prototype = {}; A._SplayTreeSet__SplayTree_IterableMixin.prototype = {}; A._SplayTreeSet__SplayTree_IterableMixin_SetMixin.prototype = {}; A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {}; A.__SetBase_Object_SetMixin.prototype = {}; A.__UnmodifiableSet__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(_) { var t1; if (this._processed == null) { t1 = this._data; t1 = t1.get$length(t1); } else t1 = this._convert$_computeKeys$0().length; return t1; }, get$isEmpty(_) { return this.get$length(this) === 0; }, get$isNotEmpty(_) { return this.get$length(this) > 0; }, get$keys(_) { var t1; if (this._processed == null) { t1 = this._data; return t1.get$keys(t1); } return new A._JsonMapKeyIterable(this); }, get$values(_) { var t1, _this = this; if (_this._processed == null) { t1 = _this._data; return t1.get$values(t1); } 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); }, clear$0(_) { var t1, _this = this; if (_this._processed == null) _this._data.clear$0(0); else { t1 = _this._data; if (t1 != null) J.clear$0$ax(t1); _this._original = _this._processed = null; t1 = type$.dynamic; _this._data = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); } }, 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.set$length(keys, 0); _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: 255 }; A._JsonMapKeyIterable.prototype = { get$length(_) { var t1 = this._convert$_parent; return t1.get$length(t1); }, elementAt$1(_, index) { var t1 = this._convert$_parent; return t1._processed == null ? t1.get$keys(t1).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index]; }, get$iterator(_) { var t1 = this._convert$_parent; if (t1._processed == null) { t1 = t1.get$keys(t1); 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._convert$_parent.containsKey$1(0, key); } }; 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: 71 }; 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: 71 }; 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; }, get$encoder() { return B.AsciiEncoder_127; } }; 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 = B.JSString_methods._codeUnitAt$1(string, i); if ((codeUnit & t1) !== 0) throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters.")); result[i] = codeUnit; } return result; } }; A.AsciiEncoder.prototype = {}; 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 = {}; A.Base64Codec.prototype = { get$encoder() { return this._encoder; }, 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 = B.JSString_methods._codeUnitAt$1(source, 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 = B.JSString_methods.codeUnitAt$1(string$.ABCDEF, 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; t2 = t1._contents += B.JSString_methods.substring$2(source, sliceStart, i); t1._contents = t2 + 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 t2, t1 = J.getInterceptor$asx(input); if (t1.get$isEmpty(input)) return ""; t2 = this._urlSafe ? "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" : string$.ABCDEF; t1 = new A._Base64Encoder(t2).encode$4(input, 0, t1.get$length(input), true); t1.toString; return A.String_String$fromCharCodes(t1, 0, null); } }; 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.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); } }; 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.ByteConversionSink.prototype = {}; A.ByteConversionSinkBase.prototype = {}; 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.Codec0.prototype = { encode$1(input) { return this.get$encoder().convert$1(input); } }; A.Converter.prototype = {}; A.Encoding.prototype = {}; 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($receiver, source) { return this.decode$2$reviver($receiver, 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 = { convert$1(object) { var t1, output = new A.StringBuffer(""); A._JsonStringStringifier_printOn(object, output, this._toEncodable, this.indent); t1 = output._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.JsonDecoder.prototype = { convert$1(input) { return A._parseJson(input, this._reviver); } }; 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 = B.JSString_methods._codeUnitAt$1(s, i); if (charCode > 92) { if (charCode >= 55296) { t1 = charCode & 64512; if (t1 === 55296) { t2 = i + 1; t2 = !(t2 < $length && (B.JSString_methods._codeUnitAt$1(s, t2) & 64512) === 56320); } else t2 = false; if (!t2) if (t1 === 56320) { t1 = i - 1; t1 = !(t1 >= 0 && (B.JSString_methods.codeUnitAt$1(s, 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: 134 }; 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: 134 }; 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; }, get$encoder() { return B.Latin1Encoder_255; } }; A.Latin1Encoder.prototype = {}; A.Latin1Decoder.prototype = {}; 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 = B.JSString_methods._codeUnitAt$1(data, 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.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($receiver, codeUnits) { return this.decode$2$allowMalformed($receiver, codeUnits, null); }, get$encoder() { return B.C_Utf8Encoder; } }; 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) { B.JSString_methods.codeUnitAt$1(string, end - 1); encoder._writeReplacementCharacter$0(); } return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex); } }; 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 && (B.JSString_methods.codeUnitAt$1(str, end - 1) & 64512) === 55296) --end; for (t1 = _this._convert$_buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) { codeUnit = B.JSString_methods._codeUnitAt$1(str, 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, B.JSString_methods._codeUnitAt$1(str, 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.Utf8Decoder.prototype = { convert$3(codeUnits, start, end) { var t1 = this._allowMalformed, result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, start, end); if (result != null) return result; return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, start, end, true); }, convert$1(codeUnits) { return this.convert$3(codeUnits, 0, null); } }; A._Utf8Decoder.prototype = { convertGeneral$4(codeUnits, start, maybeEnd, single) { var bytes, errorOffset, result, t1, message, _this = this, end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits), null, null); if (start === end) return ""; if (type$.Uint8List._is(codeUnits)) { bytes = codeUnits; errorOffset = 0; } else { bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end); end -= start; errorOffset = start; start = 0; } result = _this._convertRecursive$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; }, _convertRecursive$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._convertRecursive$4(bytes, start, mid, false); if ((_this._convert$_state & 1) !== 0) return s1; return s1 + _this._convertRecursive$4(bytes, mid, end, single); } return _this.decodeGeneral$4(bytes, start, end, single); }, 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 = B.JSString_methods._codeUnitAt$1("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", byte) & 31; char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0; state = B.JSString_methods._codeUnitAt$1(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", 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._symbolMapToStringMap_closure.prototype = { call$2(key, value) { this.result.$indexSet(0, key._name, value); }, $signature: 256 }; 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: 256 }; 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); }, _dlShift$1(n) { var resultUsed, digits, resultDigits, i, t1, t2, used = this._used; if (used === 0) return $.$get$_BigIntImpl_zero(); resultUsed = used + n; digits = this._digits; resultDigits = new Uint16Array(resultUsed); for (i = used - 1; i >= 0; --i) resultDigits[i + n] = digits[i]; t1 = this._isNegative; t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); }, _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; }, $shl(_, shiftAmount) { var t1, digitShift, resultUsed, resultDigits, t2, _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); if (B.JSInt_methods.$mod(shiftAmount, 16) === 0) return _this._dlShift$1(digitShift); resultUsed = t1 + digitShift + 1; resultDigits = new Uint16Array(resultUsed); A._BigIntImpl__lsh(_this._digits, t1, shiftAmount, resultDigits); t1 = _this._isNegative; t2 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t2 === 0 ? false : t1, resultDigits, t2); }, $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) 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); }, _absAndSetSign$2(other, isNegative) { var digits, otherDigits, resultDigits, i, t1, resultUsed = this._used, resultUsed0 = other._used; resultUsed = resultUsed < resultUsed0 ? resultUsed : resultUsed0; digits = this._digits; otherDigits = other._digits; resultDigits = new Uint16Array(resultUsed); for (i = 0; i < resultUsed; ++i) resultDigits[i] = digits[i] & otherDigits[i]; t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, _absAndNotSetSign$2(other, isNegative) { var i, t1, resultUsed = this._used, digits = this._digits, otherDigits = other._digits, resultDigits = new Uint16Array(resultUsed), m = other._used; if (resultUsed < m) m = resultUsed; for (i = 0; i < m; ++i) resultDigits[i] = digits[i] & ~otherDigits[i]; for (i = m; i < resultUsed; ++i) resultDigits[i] = digits[i]; t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, _absOrSetSign$2(other, isNegative) { var m, l, i, lDigits, t1, used = this._used, otherUsed = other._used, resultUsed = used > otherUsed ? used : otherUsed, digits = this._digits, otherDigits = other._digits, resultDigits = new Uint16Array(resultUsed); if (used < otherUsed) { m = used; l = other; } else { m = otherUsed; l = this; } for (i = 0; i < m; ++i) resultDigits[i] = digits[i] | otherDigits[i]; lDigits = l._digits; for (i = m; i < resultUsed; ++i) resultDigits[i] = lDigits[i]; t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(t1 === 0 ? false : isNegative, resultDigits, t1); }, $and(_, other) { var t1, n, p, _this = this; if (_this._used === 0 || other._used === 0) return $.$get$_BigIntImpl_zero(); t1 = _this._isNegative; if (t1 === other._isNegative) { if (t1) { t1 = $.$get$_BigIntImpl_one(); return _this._absSubSetSign$2(t1, true)._absOrSetSign$2(other._absSubSetSign$2(t1, true), true)._absAddSetSign$2(t1, true); } return _this._absAndSetSign$2(other, false); } if (t1) { n = _this; p = other; } else { n = other; p = _this; } return p._absAndNotSetSign$2(n._absSubSetSign$2($.$get$_BigIntImpl_one(), false), false); }, $or(_, other) { var t1, n, p, _this = this; if (_this._used === 0) return other; if (other._used === 0) return _this; t1 = _this._isNegative; if (t1 === other._isNegative) { if (t1) { t1 = $.$get$_BigIntImpl_one(); return _this._absSubSetSign$2(t1, true)._absAndSetSign$2(other._absSubSetSign$2(t1, true), true)._absAddSetSign$2(t1, true); } return _this._absOrSetSign$2(other, false); } if (t1) { n = _this; p = other; } else { n = other; p = _this; } t1 = $.$get$_BigIntImpl_one(); return n._absSubSetSign$2(t1, true)._absAndNotSetSign$2(p, true)._absAddSetSign$2(t1, true); }, $not(_) { var _this = this; if (_this._used === 0) return $.$get$_BigIntImpl__minusOne(); if (_this._isNegative) return _this._absSubSetSign$2($.$get$_BigIntImpl_one(), false); return _this._absAddSetSign$2($.$get$_BigIntImpl_one(), true); }, $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; }, get$bitLength(_) { var _this = this, t1 = _this._used; if (t1 === 0) return 0; if (_this._isNegative) { t1 = _this.$not(0); return t1.get$bitLength(t1); } --t1; return 16 * t1 + B.JSInt_methods.get$bitLength(_this._digits[t1]); }, $mod(_, other) { var result; if (other._used === 0) throw A.wrapException(B.C_IntegerDivisionByZeroException); result = this._rem$1(other); if (result._isNegative) result = other._isNegative ? result.$sub(0, other) : result.$add(0, other); return result; }, get$sign(_) { if (this._used === 0) return 0; return this._isNegative ? -1 : 1; }, modPow$2(_, exponent, modulus) { var modulusUsed, modulusUsed2p4, exponentBitlen, z, resultDigits, result2Digits, gDigits, gUsed, j, i, resultUsed, result2Used, t0, t1; if (exponent._isNegative) throw A.wrapException(A.ArgumentError$("exponent must be positive: " + exponent.toString$0(0), null)); if (modulus.compareTo$1(0, $.$get$_BigIntImpl_zero()) <= 0) throw A.wrapException(A.ArgumentError$("modulus must be strictly positive: " + modulus.toString$0(0), null)); if (exponent._used === 0) return $.$get$_BigIntImpl_one(); modulusUsed = modulus._used; modulusUsed2p4 = 2 * modulusUsed + 4; exponentBitlen = exponent.get$bitLength(exponent); if (exponentBitlen <= 0) return $.$get$_BigIntImpl_one(); z = new A._BigIntClassic(modulus, modulus.$shl(0, 16 - B.JSInt_methods.get$bitLength(modulus._digits[modulusUsed - 1]))); resultDigits = new Uint16Array(modulusUsed2p4); result2Digits = new Uint16Array(modulusUsed2p4); gDigits = new Uint16Array(modulusUsed); gUsed = z.convert$2(this, gDigits); for (j = gUsed - 1; j >= 0; --j) resultDigits[j] = gDigits[j]; for (i = exponentBitlen - 2, resultUsed = gUsed; i >= 0; --i) { result2Used = z.sqr$3(resultDigits, resultUsed, result2Digits); if (exponent.$and(0, $.$get$_BigIntImpl_one().$shl(0, i))._used !== 0) resultUsed = z._reduce$2(resultDigits, A._BigIntImpl__mulDigits(result2Digits, result2Used, gDigits, gUsed, resultDigits)); else { resultUsed = result2Used; t0 = result2Digits; result2Digits = resultDigits; resultDigits = t0; } } t1 = A._BigIntImpl__normalize(resultUsed, resultDigits); return new A._BigIntImpl(false, resultDigits, t1); }, modInverse$1(_, modulus) { var _this = this, t1 = $.$get$_BigIntImpl_zero(); if (modulus.compareTo$1(0, t1) <= 0) throw A.wrapException(A.ArgumentError$("Modulus must be strictly positive: " + modulus.toString$0(0), null)); if (modulus.$eq(0, $.$get$_BigIntImpl_one())) return t1; return A._BigIntImpl__binaryGcd(modulus, _this._isNegative || A._BigIntImpl__compareDigits(_this._digits, _this._used, modulus._digits, modulus._used) >= 0 ? _this.$mod(0, modulus) : _this, true); }, toInt$0(_) { var i, t1, result; for (i = this._used - 1, t1 = this._digits, result = 0; i >= 0; --i) result = result * 65536 + t1[i]; return this._isNegative ? -result : result; }, 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) >>> 0; 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); }, $isBigInt: 1, $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: 207 }; A._BigIntImpl_hashCode_finish.prototype = { call$1(hash) { hash = hash + ((hash & 67108863) << 3) & 536870911; hash ^= hash >>> 11; return hash + ((hash & 16383) << 15) & 536870911; }, $signature: 54 }; 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: 54 }; 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._BigIntClassic.prototype = { convert$2(x, resultDigits) { var t2, remainder, used, digits, i, t1 = x._isNegative; if (!t1) { t2 = this._modulus; t2 = A._BigIntImpl__compareDigits(x._digits, x._used, t2._digits, t2._used) >= 0; } else t2 = true; if (t2) { t2 = this._modulus; remainder = x._rem$1(t2); if (t1 && remainder._used > 0) remainder = remainder.$add(0, t2); used = remainder._used; digits = remainder._digits; } else { used = x._used; digits = x._digits; } for (i = used; --i, i >= 0;) resultDigits[i] = digits[i]; return used; }, _reduce$2(xDigits, xUsed) { var t1; if (xUsed < this._modulus._used) return xUsed; t1 = A._BigIntImpl__normalize(xUsed, xDigits); return this.convert$2(new A._BigIntImpl(false, xDigits, t1)._rem$1(this._normalizedModulus), xDigits); }, sqr$3(xDigits, xUsed, resultDigits) { var i, i0, t1 = A._BigIntImpl__normalize(xUsed, xDigits), b = new A._BigIntImpl(false, xDigits, t1), b2 = b.$mul(0, b); for (i = b2._used, t1 = b2._digits, i0 = 0; i0 < i; ++i0) resultDigits[i0] = t1[i0]; for (t1 = 2 * xUsed; i < t1; ++i) resultDigits[i] = 0; return this._reduce$2(resultDigits, t1); } }; A.Comparable.prototype = {}; A.DateTime.prototype = { add$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); }, get$hashCode(_) { var t1 = this._value; return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823; }, 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)); if (_this.isUtc) return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; else return y + "-" + m + "-" + 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)); if (_this.isUtc) return y + "-" + m + "-" + d + "T" + h + ":" + min + ":" + sec + "." + ms + "Z"; else return y + "-" + m + "-" + 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: 257 }; 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 += B.JSString_methods._codeUnitAt$1(matched, i) ^ 48; } return result; }, $signature: 257 }; 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)); }, $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 minutes, minutesPadding, seconds, secondsPadding, paddedMicroseconds, microseconds = this._duration, hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000); microseconds %= 3600000000; if (microseconds < 0) microseconds = -microseconds; 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" : ""; paddedMicroseconds = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0"); return "" + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + paddedMicroseconds; }, $isComparable: 1 }; A._Enum.prototype = {}; 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.NullThrownError.prototype = { toString$0(_) { return "Throw of null."; } }; A.ArgumentError.prototype = { get$_errorName() { return "Invalid argument" + (!this._hasValue ? "(s)" : ""); }, get$_errorExplanation() { return ""; }, toString$0(_) { var explanation, errorValue, _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; explanation = _this.get$_errorExplanation(); errorValue = A.Error_safeToString(_this.invalidValue); return prefix + explanation + ": " + errorValue; }, get$name(receiver) { return this.name; } }; A.RangeError.prototype = { 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$_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); t1 = "NoSuchMethodError: method not found: '" + _this._memberName._name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]"; return t1; } }; A.UnsupportedError.prototype = { toString$0(_) { return "Unsupported operation: " + this.message; } }; A.UnimplementedError.prototype = { toString$0(_) { var message = this.message; return message != null ? "UnimplementedError: " + message : "UnimplementedError"; }, $isUnsupportedError: 1 }; A.StateError.prototype = { toString$0(_) { return "Bad state: " + 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.CyclicInitializationError.prototype = { toString$0(_) { var t1 = "Reading static variable '" + this.variableName + "' during its initialization"; return t1; } }; A._Exception.prototype = { toString$0(_) { var message = this.message; if (message == null) return "Exception"; return "Exception: " + A.S(message); }, $isException: 1 }; A.FormatException.prototype = { toString$0(_) { var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix, slice, 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 = B.JSString_methods._codeUnitAt$1(source, 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 = B.JSString_methods.codeUnitAt$1(source, 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 = ""; } slice = B.JSString_methods.substring$2(source, start, end); return report + prefix + slice + 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$stackTrace() { return null; }, toString$0(_) { return "IntegerDivisionByZeroException"; }, $isError: 1, $isUnsupportedError: 1, $isException: 1 }; A.Expando.prototype = { $index(_, object) { var t1 = typeof object == "number" || typeof object == "string"; if (t1) A.throwExpression(A.ArgumentError$value(object, string$.Expand, null)); return this._jsWeakMap.get(object); }, toString$0(_) { return "Expando:null"; }, get$name() { return null; } }; 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($receiver, toElement) { return this.map$1$1($receiver, toElement, type$.dynamic); }, where$1(_, test) { return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>")); }, whereType$1$0(_, $T) { return new A.WhereTypeIterable(this, $T._eval$1("WhereTypeIterable<0>")); }, 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)); }, 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; }, fold$2($receiver, initialValue, combine) { return this.fold$1$2($receiver, initialValue, combine, type$.dynamic); }, every$1(_, test) { var t1; for (t1 = this.get$iterator(this); t1.moveNext$0();) if (!test.call$1(t1.get$current(t1))) return false; return true; }, join$1(_, separator) { var t1, iterator = this.get$iterator(this); if (!iterator.moveNext$0()) return ""; if (separator === "") { t1 = ""; do t1 += A.S(J.toString$0$(iterator.get$current(iterator))); while (iterator.moveNext$0()); } else { t1 = "" + A.S(J.toString$0$(iterator.get$current(iterator))); for (; iterator.moveNext$0();) t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator))); } return t1.charCodeAt(0) == 0 ? t1 : t1; }, join$0($receiver) { return this.join$1($receiver, ""); }, 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($receiver) { return this.toList$1$growable($receiver, 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; } 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); }, elementAt$1(_, index) { var t1, elementIndex, element; A.RangeError_checkNotNegative(index, "index"); for (t1 = this.get$iterator(this), elementIndex = 0; t1.moveNext$0();) { element = t1.get$current(t1); if (index === elementIndex) return element; ++elementIndex; } throw A.wrapException(A.IndexError$(index, this, "index", null, elementIndex)); }, toString$0(_) { return A.IterableBase_iterableToShortString(this, "(", ")"); } }; A.Iterator.prototype = {}; A.MapEntry.prototype = { toString$0(_) { return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")"; }, get$key(receiver) { return this.key; }, get$value(receiver) { return this.value; } }; A.Null.prototype = { get$hashCode(_) { return A.Object.prototype.get$hashCode.call(this, this); }, 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$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments())); }, get$runtimeType(_) { return A.getRuntimeType(this); }, toString() { return this.toString$0(this); } }; A._StringStackTrace.prototype = { toString$0(_) { return ""; }, $isStackTrace: 1 }; A.Stopwatch.prototype = { get$elapsedMicroseconds() { var ticks, t1 = this._stop; if (t1 == null) t1 = $.Primitives_timerTicks.call$0(); ticks = t1 - this._core$_start; if ($.$get$Stopwatch__frequency() === 1000000) return ticks; return 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; } }; 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 = B.JSString_methods.codeUnitAt$1(t1, t2 - 1); if ((code & 64512) === 56320 && t2 > 1) { previousCode = B.JSString_methods.codeUnitAt$1(t1, 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 = B.JSString_methods._codeUnitAt$1(t2, t1); nextPosition = t1 + 1; if ((codeUnit & 64512) === 55296 && nextPosition < t3) { nextCodeUnit = B.JSString_methods._codeUnitAt$1(t2, 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; }, $isIterator: 1 }; 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; } }; A.Uri__parseIPv4Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position)); }, $signature: 203 }; A.Uri_parseIPv6Address_error.prototype = { call$2(msg, position) { throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position)); }, call$1(msg) { return this.call$2(msg, null); }, $signature: 428 }; 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: 207 }; A._Uri.prototype = { get$_text() { var t1, t2, t3, t4, _this = this, value = _this.___Uri__text; 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; A._lateInitializeOnceCheck(_this.___Uri__text, "_text"); value = _this.___Uri__text = t1.charCodeAt(0) == 0 ? t1 : t1; } return value; }, get$pathSegments() { var pathToSplit, result, _this = this, value = _this.___Uri_pathSegments; if (value === $) { pathToSplit = _this.path; if (pathToSplit.length !== 0 && B.JSString_methods._codeUnitAt$1(pathToSplit, 0) === 47) pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1); result = pathToSplit.length === 0 ? B.List_empty1 : 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); A._lateInitializeOnceCheck(_this.___Uri_pathSegments, "pathSegments"); value = _this.___Uri_pathSegments = result; } return value; }, get$hashCode(_) { var result, _this = this, value = _this.___Uri_hashCode; if (value === $) { result = B.JSString_methods.get$hashCode(_this.get$_text()); A._lateInitializeOnceCheck(_this.___Uri_hashCode, "hashCode"); _this.___Uri_hashCode = 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._Uri__compareScheme(scheme, thisScheme); }, replace$2$path$queryParameters(_, path, queryParameters) { var hasAuthority, t1, currentPath, query, _this = this, scheme = _this.scheme, isFile = scheme === "file", userInfo = _this._userInfo, port = _this._port, host = _this._host; if (!(host != null)) host = userInfo.length !== 0 || port != null || isFile ? "" : null; hasAuthority = host != null; t1 = path == null; if (!t1 || false) path = A._Uri__makePath(path, 0, t1 ? 0 : path.length, null, scheme, hasAuthority); else { currentPath = _this.path; if (!isFile) t1 = hasAuthority && currentPath.length !== 0; else t1 = true; if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/")) currentPath = "/" + currentPath; path = currentPath; } if (queryParameters != null) query = A._Uri__makeQuery(null, 0, 0, queryParameters); else query = _this._query; return A._Uri$_internal(scheme, userInfo, host, port, path, query, _this._fragment); }, replace$1$path($receiver, path) { return this.replace$2$path$queryParameters($receiver, path, null); }, normalizePath$0() { var _this = this, t1 = _this.path, path = A._Uri__normalizePath(t1, _this.scheme, _this._host != null); if (path === t1) return _this; return _this.replace$1$path(0, path); }, _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 (B.JSString_methods.codeUnitAt$1(base, newEnd + 1) === 46) t1 = !t1 || B.JSString_methods.codeUnitAt$1(base, 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(_this) !== "") 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; }, get$data(_) { return this.scheme === "data" ? A.UriData_UriData$fromUri(this) : null; }, 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(_this) === other.get$host(other)) if (_this.get$port(_this) === 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__makePath_closure.prototype = { call$1(s) { return A._Uri__uriEncode(B.List_qg40, s, B.C_Utf8Codec, false); }, $signature: 35 }; A._Uri__makeQuery_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_nxB, key, B.C_Utf8Codec, true); if (value != null && value.length !== 0) { t1._contents = t2 + "="; t1._contents += A._Uri__uriEncode(B.List_nxB, value, B.C_Utf8Codec, true); } }, $signature: 437 }; A._Uri__makeQuery_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: 43 }; 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_CVk, false); end = queryIndex; } else query = _null; t1 = _this._uriCache = new A._DataUri(_this, "data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_qg4, 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 (B.JSString_methods.codeUnitAt$1(text, 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 = B.JSString_methods.codeUnitAt$1(text, 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: 438 }; A._createTables_setChars.prototype = { call$3(target, chars, transition) { var t1, i; for (t1 = chars.length, i = 0; i < t1; ++i) target[B.JSString_methods._codeUnitAt$1(chars, i) ^ 96] = transition; }, $signature: 260 }; A._createTables_setRange.prototype = { call$3(target, range, transition) { var i, n; for (i = B.JSString_methods._codeUnitAt$1(range, 0), n = B.JSString_methods._codeUnitAt$1(range, 1); i <= n; ++i) target[(i ^ 96) >>> 0] = transition; }, $signature: 260 }; 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); }, 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_empty1; parts = A._setArrayType([], type$.JSArray_String); for (i = start; i < end; ++i) if (B.JSString_methods.codeUnitAt$1(t1, 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); }, _isPort$1(port) { var portDigitStart = this._portStart + 1; return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart); }, normalizePath$0() { return this; }, 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 (B.JSString_methods.codeUnitAt$1(baseUri, 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$data(_) { return null; }, 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(_this) : _null, t4 = _this.get$hasPort() ? _this.get$port(_this) : _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(_this) : _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 = { get$data(_) { return this._core$_data; } }; A._FakeUserTag.prototype = {}; A.ServiceExtensionResponse.prototype = {}; A.TimelineTask.prototype = { start$2$arguments(_, $name, $arguments) { A.ArgumentError_checkNotNull($name, "name"); this._stack.push(null); return; }, start$1($receiver, $name) { return this.start$2$arguments($receiver, $name, null); }, finish$1$arguments(_, $arguments) { var t2, t3, t1 = this._stack; if (t1.length === 0) throw A.wrapException(A.StateError$("Uneven calls to start and finish")); t2 = this._filterKey; if (t2 != null) { if ($arguments == null) { t3 = type$.dynamic; $arguments = A.LinkedHashMap_LinkedHashMap$_empty(t3, t3); } $arguments.$indexSet(0, "filterKey", t2); } if (t1.pop() == null) return; A._argumentsAsJson($arguments); }, finish$0($receiver) { return this.finish$1$arguments($receiver, null); } }; A.HtmlElement.prototype = {$isHtmlElement: 1}; A.AccessibleNodeList.prototype = { get$length(receiver) { return receiver.length; } }; A.AnchorElement.prototype = { toString$0(receiver) { return String(receiver); } }; A.Animation.prototype = { get$id(receiver) { return receiver.id; } }; A.AreaElement.prototype = { toString$0(receiver) { return String(receiver); } }; A.BackgroundFetchEvent.prototype = { get$id(receiver) { return receiver.id; } }; A.BackgroundFetchRegistration.prototype = { get$id(receiver) { return receiver.id; } }; A.BaseElement.prototype = {$isBaseElement: 1}; A.Blob.prototype = {$isBlob: 1}; A.BlobEvent.prototype = { get$data(receiver) { return receiver.data; } }; A.BluetoothRemoteGattDescriptor.prototype = { get$value(receiver) { return receiver.value; } }; A.Body.prototype = { text$0(receiver) { return A.promiseToFuture(receiver.text(), type$.String); }, $isBody: 1 }; A.BodyElement.prototype = {$isBodyElement: 1}; A.BroadcastChannel.prototype = { get$name(receiver) { return receiver.name; } }; A.ButtonElement.prototype = { get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; } }; A.CanvasElement.prototype = { set$height(receiver, value) { receiver.height = value; }, set$width(receiver, value) { receiver.width = value; }, getContext$2(receiver, contextId, attributes) { if (attributes != null) return receiver.getContext(contextId, A.convertDartToNative_Dictionary(attributes)); return receiver.getContext(contextId); }, getContext$1($receiver, contextId) { return this.getContext$2($receiver, contextId, null); }, _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; }, $isCanvasElement: 1 }; A.CanvasElement_toBlob_closure.prototype = { call$1(value) { this.completer.complete$1(0, value); }, $signature: 464 }; A.CanvasRenderingContext2D.prototype = { fillText$3(receiver, text, x, y) { receiver.fillText(text, x, y); }, $isCanvasRenderingContext2D: 1 }; A.CharacterData.prototype = { get$data(receiver) { return receiver.data; }, get$length(receiver) { return receiver.length; } }; A.Client.prototype = { get$id(receiver) { return receiver.id; } }; A.CompositionEvent.prototype = { get$data(receiver) { return receiver.data; } }; A.Credential.prototype = { get$id(receiver) { return receiver.id; } }; A.CredentialUserData.prototype = { get$name(receiver) { return receiver.name; } }; A.CssKeyframesRule.prototype = { get$name(receiver) { return receiver.name; } }; 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 = { _browserPropertyName$1(receiver, propertyName) { var t1 = $.$get$CssStyleDeclaration__propertyCache(), $name = t1[propertyName]; if (typeof $name == "string") return $name; $name = this._supportedBrowserPropertyName$1(receiver, propertyName); t1[propertyName] = $name; return $name; }, _supportedBrowserPropertyName$1(receiver, propertyName) { var prefixed; if (propertyName.replace(/^-ms-/, "ms-").replace(/-([\da-z])/ig, function(_, letter) { return letter.toUpperCase(); }) in receiver) return propertyName; prefixed = $.$get$Device_cssPrefix() + propertyName; if (prefixed in receiver) return prefixed; return propertyName; }, _setPropertyHelper$3(receiver, propertyName, value, priority) { if (priority == null) priority = ""; receiver.setProperty(propertyName, value, priority); }, get$length(receiver) { return receiver.length; }, set$height(receiver, value) { receiver.height = value; }, set$left(receiver, value) { receiver.left = value; }, set$overflow(receiver, value) { receiver.overflow = value; }, set$position(receiver, value) { receiver.position = value; }, set$top(receiver, value) { receiver.top = value; }, set$visibility(receiver, value) { receiver.visibility = value; }, set$width(receiver, value) { receiver.width = value; } }; A.CssStyleDeclarationBase.prototype = { set$height(receiver, value) { this._setPropertyHelper$3(receiver, this._browserPropertyName$1(receiver, "height"), value, ""); }, set$width(receiver, value) { this._setPropertyHelper$3(receiver, this._browserPropertyName$1(receiver, "width"), value, ""); } }; A.CssStyleSheet.prototype = {$isCssStyleSheet: 1}; 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) { return receiver[index]; } }; A.DivElement.prototype = {$isDivElement: 1}; A.Document2.prototype = { createElement$1(receiver, tagName) { var t1 = receiver.createElement(tagName); return t1; }, $isDocument2: 1 }; A.DomError.prototype = { get$name(receiver) { return receiver.name; } }; A.DomException.prototype = { get$name(receiver) { var errorName = receiver.name, t1 = $.$get$Device_isWebKit(); if (t1 && errorName === "SECURITY_ERR") return "SecurityError"; if (t1 && errorName === "SYNTAX_ERR") return "SyntaxError"; return errorName; }, toString$0(receiver) { return String(receiver); }, $isDomException: 1 }; A.DomRectList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.DomRectReadOnly.prototype = { toString$0(receiver) { var t2, t1 = receiver.left; t1.toString; t1 = "Rectangle (" + A.S(t1) + ", "; t2 = receiver.top; t2.toString; return 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)); }, 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) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.DomTokenList.prototype = { get$length(receiver) { return receiver.length; }, get$value(receiver) { return receiver.value; }, contains$1(receiver, token) { return receiver.contains(token); } }; 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]); }, set$length(_, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot resize element lists")); }, add$1(_, value) { this._html$_element.appendChild(value); 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")); }, removeRange$2(_, start, end) { throw A.wrapException(A.UnimplementedError$(null)); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnimplementedError$(null)); }, setRange$3($receiver, start, end, iterable) { return this.setRange$4($receiver, 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(_this), null, null)); t1 = _this._html$_childElements; t2 = _this._html$_element; if (index === t1.length) t2.appendChild(element); else t2.insertBefore(element, type$.Element._as(t1[index])); }, 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); return result; }, removeLast$0(_) { var result = this.get$last(this); this._html$_element.removeChild(result); 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._FrozenElementList.prototype = { get$length(_) { return this._nodeList.length; }, $index(_, index) { return this.$ti._precomputed1._as(this._nodeList[index]); }, $indexSet(_, index, value) { throw A.wrapException(A.UnsupportedError$("Cannot modify list")); }, set$length(_, newLength) { throw A.wrapException(A.UnsupportedError$("Cannot modify list")); }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("Cannot sort list")); }, get$first(_) { return this.$ti._precomputed1._as(B.NodeList_methods.get$first(this._nodeList)); }, get$last(_) { return this.$ti._precomputed1._as(B.NodeList_methods.get$last(this._nodeList)); }, get$single(_) { return this.$ti._precomputed1._as(B.NodeList_methods.get$single(this._nodeList)); } }; A.Element2.prototype = { get$attributes(receiver) { return new A._ElementAttributeMap(receiver); }, get$children(receiver) { return new A._ChildrenElementList(receiver, receiver.children); }, getComputedStyle$0(receiver) { return window.getComputedStyle(receiver, ""); }, appendText$1(receiver, text) { receiver.appendChild(document.createTextNode(text)); }, toString$0(receiver) { return receiver.localName; }, createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { var t1, t2, contextElement, fragment; if (treeSanitizer == null) { if (validator == null) { t1 = $.Element__defaultValidator; if (t1 == null) { t1 = A._setArrayType([], type$.JSArray_NodeValidator); t2 = new A.NodeValidatorBuilder(t1); t1.push(A._Html5NodeValidator$(null)); t1.push(A._TemplatingNodeValidator$()); $.Element__defaultValidator = t2; validator = t2; } else validator = t1; } t1 = $.Element__defaultSanitizer; if (t1 == null) { t1 = new A._ValidatingTreeSanitizer(validator); $.Element__defaultSanitizer = t1; treeSanitizer = t1; } else { t1.validator = validator; treeSanitizer = t1; } } else if (validator != null) throw A.wrapException(A.ArgumentError$("validator can only be passed if treeSanitizer is null", null)); if ($.Element__parseDocument == null) { t1 = document; t2 = t1.implementation.createHTMLDocument(""); $.Element__parseDocument = t2; $.Element__parseRange = t2.createRange(); t2 = $.Element__parseDocument.createElement("base"); type$.BaseElement._as(t2); t1 = t1.baseURI; t1.toString; t2.href = t1; $.Element__parseDocument.head.appendChild(t2); } t1 = $.Element__parseDocument; if (t1.body == null) { t2 = t1.createElement("body"); t1.body = type$.BodyElement._as(t2); } t1 = $.Element__parseDocument; if (type$.BodyElement._is(receiver)) { t1 = t1.body; t1.toString; contextElement = t1; } else { t1.toString; contextElement = t1.createElement(receiver.tagName); $.Element__parseDocument.body.appendChild(contextElement); } if ("createContextualFragment" in window.Range.prototype && !B.JSArray_methods.contains$1(B.List_ego, receiver.tagName)) { $.Element__parseRange.selectNodeContents(contextElement); t1 = $.Element__parseRange; t1.toString; fragment = t1.createContextualFragment(html == null ? "null" : html); } else { contextElement.innerHTML = html; fragment = $.Element__parseDocument.createDocumentFragment(); for (; t1 = contextElement.firstChild, t1 != null;) fragment.appendChild(t1); } if (contextElement !== $.Element__parseDocument.body) J.remove$0$ax(contextElement); treeSanitizer.sanitizeTree$1(fragment); document.adoptNode(fragment); return fragment; }, createFragment$2$treeSanitizer($receiver, html, treeSanitizer) { return this.createFragment$3$treeSanitizer$validator($receiver, html, treeSanitizer, null); }, setInnerHtml$1(receiver, html) { receiver.textContent = null; receiver.appendChild(this.createFragment$3$treeSanitizer$validator(receiver, html, null, null)); }, focus$0(receiver) { return receiver.focus(); }, get$id(receiver) { return receiver.id; }, get$tagName(receiver) { return receiver.tagName; }, $isElement2: 1 }; A.Element_Element$html_closure.prototype = { call$1(e) { return type$.Element._is(e); }, $signature: 262 }; A.EmbedElement.prototype = { set$height(receiver, value) { receiver.height = value; }, get$name(receiver) { return receiver.name; }, set$width(receiver, value) { receiver.width = value; } }; A.Entry.prototype = { get$name(receiver) { return receiver.name; }, _html$_remove$2(receiver, successCallback, errorCallback) { return receiver.remove(A.convertDartClosureToJS(successCallback, 0), A.convertDartClosureToJS(errorCallback, 1)); }, remove$0(receiver) { var t1 = new A._Future($.Zone__current, type$._Future_dynamic), completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_dynamic); this._html$_remove$2(receiver, new A.Entry_remove_closure(completer), new A.Entry_remove_closure0(completer)); return t1; } }; A.Entry_remove_closure.prototype = { call$0() { this.completer.complete$0(0); }, $signature: 0 }; A.Entry_remove_closure0.prototype = { call$1(error) { this.completer.completeError$1(error); }, $signature: 471 }; A.Event.prototype = { get$target(receiver) { return A._convertNativeToDart_EventTarget(receiver.target); }, $isEvent: 1 }; A.EventTarget.prototype = { addEventListener$3(receiver, type, listener, useCapture) { if (listener != null) this._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); }, _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.ExtendableMessageEvent.prototype = { get$data(receiver) { return receiver.data; } }; A.FederatedCredential.prototype = { get$name(receiver) { return receiver.name; } }; A.FieldSetElement.prototype = { get$name(receiver) { return receiver.name; } }; A.File.prototype = { get$name(receiver) { return receiver.name; }, $isFile: 1 }; A.FileList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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, $isFileList: 1 }; A.FileReader.prototype = { get$result(receiver) { var res = receiver.result; if (type$.ByteBuffer._is(res)) return A.NativeUint8List_NativeUint8List$view(res, 0, null); return res; } }; A.FileSystem.prototype = { get$name(receiver) { return receiver.name; } }; A.FileWriter.prototype = { get$length(receiver) { return receiver.length; } }; A.FontFace.prototype = {$isFontFace: 1}; A.FormElement.prototype = { get$length(receiver) { return receiver.length; }, get$name(receiver) { return receiver.name; }, $isFormElement: 1 }; 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) { return receiver.length; } }; A.HtmlCollection.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.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); }, send$0($receiver) { return $receiver.send(); }, setRequestHeader$2(receiver, $name, value) { return receiver.setRequestHeader($name, value); }, $isHttpRequest: 1 }; A.HttpRequest_request_closure.prototype = { call$1(e) { var accepted, unknownRedirect, t3, t1 = this.xhr, t2 = t1.status; t2.toString; accepted = t2 >= 200 && t2 < 300; unknownRedirect = t2 > 307 && t2 < 400; t2 = accepted || t2 === 0 || t2 === 304 || unknownRedirect; t3 = this.completer; if (t2) t3.complete$1(0, t1); else t3.completeError$1(e); }, $signature: 62 }; A.HttpRequestEventTarget.prototype = {}; A.IFrameElement.prototype = { set$height(receiver, value) { receiver.height = value; }, get$name(receiver) { return receiver.name; }, set$width(receiver, value) { receiver.width = value; }, $isIFrameElement: 1 }; A.ImageData.prototype = { get$data(receiver) { return receiver.data; }, $isImageData: 1 }; A.ImageElement.prototype = { set$height(receiver, value) { receiver.height = value; }, set$width(receiver, value) { receiver.width = value; }, $isImageElement: 1 }; A.InputElement.prototype = { set$height(receiver, value) { receiver.height = value; }, get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; }, set$width(receiver, value) { receiver.width = value; }, $isInputElement: 1 }; A.KeyboardEvent.prototype = {$isKeyboardEvent: 1}; A.LIElement.prototype = { get$value(receiver) { return receiver.value; } }; A.LabelElement.prototype = {}; A.Location.prototype = { toString$0(receiver) { return String(receiver); } }; A.MapElement.prototype = { get$name(receiver) { return receiver.name; } }; A.MediaElement.prototype = {}; A.MediaKeySession.prototype = { remove$0(receiver) { return A.promiseToFuture(receiver.remove(), type$.dynamic); } }; 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.MediaQueryListEvent.prototype = {$isMediaQueryListEvent: 1}; A.MediaStream.prototype = { get$id(receiver) { return receiver.id; } }; A.MediaStreamTrack.prototype = { get$id(receiver) { return receiver.id; } }; A.MessageEvent.prototype = { get$data(receiver) { return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.data, true); }, $isMessageEvent: 1 }; A.MessagePort.prototype = { addEventListener$3(receiver, type, listener, useCapture) { if (type === "message") receiver.start(); this.super$EventTarget$addEventListener(receiver, type, listener, false); }, $isMessagePort: 1 }; A.MetaElement.prototype = { get$name(receiver) { return receiver.name; }, $isMetaElement: 1 }; 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, entries = receiver.entries(); for (; true;) { entry = entries.next(); if (entry.done) return; f.call$2(entry.value[0], 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) { return receiver.size; }, get$isEmpty(receiver) { return receiver.size === 0; }, get$isNotEmpty(receiver) { return receiver.size !== 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")); }, clear$0(receiver) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.MidiInputMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 43 }; A.MidiInputMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 43 }; A.MidiMessageEvent.prototype = { get$data(receiver) { return receiver.data; } }; 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, entries = receiver.entries(); for (; true;) { entry = entries.next(); if (entry.done) return; f.call$2(entry.value[0], 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) { return receiver.size; }, get$isEmpty(receiver) { return receiver.size === 0; }, get$isNotEmpty(receiver) { return receiver.size !== 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")); }, clear$0(receiver) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.MidiOutputMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 43 }; A.MidiOutputMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 43 }; A.MidiPort.prototype = { get$id(receiver) { return receiver.id; }, get$name(receiver) { return receiver.name; } }; A.MimeType.prototype = {$isMimeType: 1}; A.MimeTypeArray.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.MouseEvent.prototype = { get$offset(receiver) { var t1, t2, target, t3, t4, t5, point; if (!!receiver.offsetX) return new A.Point(receiver.offsetX, receiver.offsetY, type$.Point_num); else { t1 = receiver.target; t2 = type$.Element; if (!t2._is(A._convertNativeToDart_EventTarget(t1))) throw A.wrapException(A.UnsupportedError$("offsetX is only supported on elements")); target = t2._as(A._convertNativeToDart_EventTarget(t1)); t1 = receiver.clientX; t2 = receiver.clientY; t3 = type$.Point_num; t4 = target.getBoundingClientRect(); t5 = t4.left; t5.toString; t4 = t4.top; t4.toString; point = new A.Point(t1, t2, t3).$sub(0, new A.Point(t5, t4, t3)); return new A.Point(B.JSNumber_methods.toInt$0(point.x), B.JSNumber_methods.toInt$0(point.y), t3); } }, $isMouseEvent: 1 }; A.NavigatorUserMediaError.prototype = { get$name(receiver) { return receiver.name; } }; 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); }, 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); } return; } for (t1 = J.get$iterator$ax(iterable), t2 = this._this; t1.moveNext$0();) t2.appendChild(t1.get$current(t1)); }, 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(this); this._this.removeChild(result); return result; }, removeAt$1(_, index) { var t1 = this._this, result = t1.childNodes[index]; t1.removeChild(result); return result; }, remove$1(_, object) { return false; }, clear$0(_) { J._clearChildren$0$x(this._this); }, $indexSet(_, index, value) { var t1 = this._this; t1.replaceChild(value, t1.childNodes[index]); }, 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($receiver, start, end, iterable) { return this.setRange$4($receiver, 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); }, 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, refChild) { 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, refChild); } } else for (t1 = J.get$iterator$ax(newNodes); t1.moveNext$0();) receiver.insertBefore(t1.get$current(t1), refChild); }, _clearChildren$0(receiver) { var t1; for (; t1 = receiver.firstChild, t1 != null;) receiver.removeChild(t1); }, toString$0(receiver) { var value = receiver.nodeValue; return value == null ? this.super$Interceptor$toString(receiver) : value; }, get$text(receiver) { return receiver.textContent; }, contains$1(receiver, other) { return receiver.contains(other); }, _replaceChild$2(receiver, node, child) { return receiver.replaceChild(node, child); }, $isNode1: 1 }; A.NodeList0.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.Notification.prototype = { get$data(receiver) { return receiver.data; } }; A.ObjectElement.prototype = { get$data(receiver) { return receiver.data; }, set$height(receiver, value) { receiver.height = value; }, get$name(receiver) { return receiver.name; }, set$width(receiver, value) { receiver.width = value; } }; A.OffscreenCanvas.prototype = { set$height(receiver, value) { receiver.height = value; }, set$width(receiver, value) { receiver.width = value; }, getContext$2(receiver, contextType, attributes) { if (attributes != null) return receiver.getContext(contextType, A.convertDartToNative_Dictionary(attributes)); return receiver.getContext(contextType); }, getContext$1($receiver, contextType) { return this.getContext$2($receiver, contextType, null); } }; A.OptionElement.prototype = { get$value(receiver) { return receiver.value; } }; A.OutputElement.prototype = { get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; } }; A.OverconstrainedError.prototype = { get$name(receiver) { return receiver.name; } }; A.ParagraphElement.prototype = {}; A.ParamElement.prototype = { get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; } }; A.PasswordCredential.prototype = { get$name(receiver) { return receiver.name; } }; A.PaymentRequest.prototype = { get$id(receiver) { return receiver.id; } }; A.PerformanceEntry.prototype = { get$name(receiver) { return receiver.name; } }; A.PerformanceServerTiming.prototype = { get$name(receiver) { return receiver.name; } }; A.Plugin.prototype = { get$length(receiver) { return receiver.length; }, get$name(receiver) { return receiver.name; }, $isPlugin: 1 }; A.PluginArray.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.PointerEvent.prototype = {$isPointerEvent: 1}; A.PresentationAvailability.prototype = { get$value(receiver) { return receiver.value; } }; A.PresentationConnection.prototype = { get$id(receiver) { return receiver.id; } }; A.ProgressElement.prototype = { get$value(receiver) { return receiver.value; } }; A.ProgressEvent.prototype = {$isProgressEvent: 1}; A.PushEvent.prototype = { get$data(receiver) { return receiver.data; } }; A.PushMessageData.prototype = { text$0(receiver) { return receiver.text(); } }; A.RelatedApplication.prototype = { get$id(receiver) { return receiver.id; } }; 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, entries = receiver.entries(); for (; true;) { entry = entries.next(); if (entry.done) return; f.call$2(entry.value[0], 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) { return receiver.size; }, get$isEmpty(receiver) { return receiver.size === 0; }, get$isNotEmpty(receiver) { return receiver.size !== 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")); }, clear$0(receiver) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.RtcStatsReport_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 43 }; A.RtcStatsReport_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 43 }; A.ScreenOrientation.prototype = { unlock$0(receiver) { return receiver.unlock(); } }; A.ScriptElement.prototype = {$isScriptElement: 1}; A.SelectElement.prototype = { get$length(receiver) { return receiver.length; }, get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; } }; A.SharedWorkerGlobalScope.prototype = { get$name(receiver) { return receiver.name; } }; A.SlotElement.prototype = { get$name(receiver) { return receiver.name; } }; A.SourceBuffer.prototype = {$isSourceBuffer: 1}; A.SourceBufferList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.SpeechGrammar.prototype = {$isSpeechGrammar: 1}; A.SpeechGrammarList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.SpeechRecognitionResult.prototype = { get$length(receiver) { return receiver.length; }, $isSpeechRecognitionResult: 1 }; A.SpeechSynthesisEvent.prototype = { get$name(receiver) { return receiver.name; } }; A.SpeechSynthesisUtterance.prototype = { get$text(receiver) { return receiver.text; } }; A.SpeechSynthesisVoice.prototype = { get$name(receiver) { return receiver.name; } }; 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) { if (receiver.getItem(key) == null) receiver.setItem(key, ifAbsent.call$0()); return A._asString(receiver.getItem(key)); }, remove$1(receiver, key) { var value; A._asString(key); value = receiver.getItem(key); receiver.removeItem(key); return value; }, clear$0(receiver) { return receiver.clear(); }, 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) { return receiver.length; }, 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: 116 }; A.Storage_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 116 }; A.StyleElement.prototype = {}; A.StyleSheet0.prototype = {$isStyleSheet0: 1}; A.TableElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { var table, fragment; if ("createContextualFragment" in window.Range.prototype) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); table = A.Element_Element$html("<table>" + html + "</table>", treeSanitizer, validator); fragment = document.createDocumentFragment(); new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(table)); return fragment; } }; A.TableRowElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { var t1, fragment; if ("createContextualFragment" in window.Range.prototype) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); t1 = document; fragment = t1.createDocumentFragment(); t1 = new A._ChildNodeListLazy(B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1.createElement("table"), html, treeSanitizer, validator)); t1 = new A._ChildNodeListLazy(t1.get$single(t1)); new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(t1.get$single(t1))); return fragment; } }; A.TableSectionElement.prototype = { createFragment$3$treeSanitizer$validator(receiver, html, treeSanitizer, validator) { var t1, fragment; if ("createContextualFragment" in window.Range.prototype) return this.super$Element$createFragment(receiver, html, treeSanitizer, validator); t1 = document; fragment = t1.createDocumentFragment(); t1 = new A._ChildNodeListLazy(B.TableElement_methods.createFragment$3$treeSanitizer$validator(t1.createElement("table"), html, treeSanitizer, validator)); new A._ChildNodeListLazy(fragment).addAll$1(0, new A._ChildNodeListLazy(t1.get$single(t1))); return fragment; } }; A.TemplateElement.prototype = {$isTemplateElement: 1}; A.TextAreaElement.prototype = { get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; }, select$0(receiver) { return receiver.select(); }, $isTextAreaElement: 1 }; A.TextEvent.prototype = { get$data(receiver) { return receiver.data; } }; A.TextTrack.prototype = { get$id(receiver) { return receiver.id; }, $isTextTrack: 1 }; A.TextTrackCue.prototype = { get$id(receiver) { return receiver.id; }, $isTextTrackCue: 1 }; A.TextTrackCueList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.TextTrackList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.TimeRanges.prototype = { get$length(receiver) { return receiver.length; } }; A.Touch.prototype = {$isTouch: 1}; A.TouchEvent.prototype = {$isTouchEvent: 1}; A.TouchList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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.TrackDefaultList.prototype = { get$length(receiver) { return receiver.length; } }; A.UIEvent.prototype = {}; A.Url.prototype = { toString$0(receiver) { return String(receiver); } }; A.VRDisplay.prototype = { get$displayName(receiver) { return receiver.displayName; } }; A.VideoElement.prototype = { set$height(receiver, value) { receiver.height = value; }, set$width(receiver, value) { receiver.width = value; }, $isVideoElement: 1 }; A.VideoTrack.prototype = { get$id(receiver) { return receiver.id; } }; A.VideoTrackList.prototype = { get$length(receiver) { return receiver.length; } }; A.VttCue.prototype = { get$text(receiver) { return receiver.text; } }; A.VttRegion.prototype = { get$id(receiver) { return receiver.id; }, set$width(receiver, value) { receiver.width = value; } }; A.WheelEvent.prototype = { get$deltaY(receiver) { var value = receiver.deltaY; if (value != null) return value; throw A.wrapException(A.UnsupportedError$("deltaY is not supported")); }, get$deltaX(receiver) { var value = receiver.deltaX; if (value != null) return value; throw A.wrapException(A.UnsupportedError$("deltaX is not supported")); }, get$deltaMode(receiver) { if (!!receiver.deltaMode) return receiver.deltaMode; return 0; }, $isWheelEvent: 1 }; A.Window.prototype = { open$2(receiver, url, $name) { var t1 = A._DOMWindowCrossFrame__createSafe(receiver.open(url, $name)); return t1; }, requestAnimationFrame$1(receiver, callback) { var t1; this._ensureRequestAnimationFrame$0(receiver); t1 = A._wrapZone(callback, type$.num); t1.toString; return this._requestAnimationFrame$1(receiver, t1); }, _requestAnimationFrame$1(receiver, callback) { return receiver.requestAnimationFrame(A.convertDartClosureToJS(callback, 1)); }, _ensureRequestAnimationFrame$0(receiver) { if (!!(receiver.requestAnimationFrame && receiver.cancelAnimationFrame)) return; (function($this) { var vendors = ["ms", "moz", "webkit", "o"]; for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { $this.requestAnimationFrame = $this[vendors[i] + "RequestAnimationFrame"]; $this.cancelAnimationFrame = $this[vendors[i] + "CancelAnimationFrame"] || $this[vendors[i] + "CancelRequestAnimationFrame"]; } if ($this.requestAnimationFrame && $this.cancelAnimationFrame) return; $this.requestAnimationFrame = function(callback) { return window.setTimeout(function() { callback(Date.now()); }, 16); }; $this.cancelAnimationFrame = function(id) { clearTimeout(id); }; })(receiver); }, get$name(receiver) { return receiver.name; }, postMessage$2(receiver, message, targetOrigin) { receiver.postMessage(new A._StructuredCloneDart2Js([], []).walk$1(message), targetOrigin); return; }, $isWindow: 1 }; A.WorkerGlobalScope.prototype = {$isWorkerGlobalScope: 1}; A._Attr.prototype = { get$name(receiver) { return receiver.name; }, get$value(receiver) { return receiver.value; }, $is_Attr: 1 }; A._CssRuleList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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._DomRect.prototype = { toString$0(receiver) { var t2, t1 = receiver.left; t1.toString; t1 = "Rectangle (" + A.S(t1) + ", "; t2 = receiver.top; t2.toString; t2 = t1 + A.S(t2) + ") "; t1 = receiver.width; t1.toString; t1 = t2 + A.S(t1) + " x "; t2 = receiver.height; t2.toString; return t1 + A.S(t2); }, $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); }, get$_height(receiver) { return receiver.height; }, get$height(receiver) { var t1 = receiver.height; t1.toString; return t1; }, set$height(receiver, value) { receiver.height = value; }, get$_width(receiver) { return receiver.width; }, get$width(receiver) { var t1 = receiver.width; t1.toString; return t1; }, set$width(receiver, value) { receiver.width = value; } }; A._GamepadList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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._SpeechRecognitionResultList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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._StyleSheetList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, 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._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); if (!t2) t1.setAttribute(key, ifAbsent.call$0()); return A._asString(t1.getAttribute(key)); }, clear$0(_) { var t1, t2, t3, _i, key; for (t1 = this.get$keys(this), t2 = t1.length, t3 = this._html$_element, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { key = t1[_i]; if (typeof key == "string") t3.removeAttribute(key); } }, forEach$1(_, f) { var t1, t2, t3, _i, t4; for (t1 = this.get$keys(this), 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]); f.call$2(t4, A._asString(t3.getAttribute(t4))); } }, 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(this).length === 0; }, get$isNotEmpty(_) { return this.get$keys(this).length !== 0; } }; A._ElementAttributeMap.prototype = { containsKey$1(_, key) { return typeof key == "string" && this._html$_element.hasAttribute(key); }, $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(this).length; } }; 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$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(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._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._onData = t1; _this._tryResume$0(); }, onError$1(_, handleError) { }, onDone$1(handleDone) { }, pause$1(_, resumeSignal) { if (this._target == null) return; ++this._pauseCount; this._unlisten$0(); }, pause$0($receiver) { return this.pause$1($receiver, 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._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._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: 20 }; A._EventStreamSubscription_onData_closure.prototype = { call$1(e) { return this.handleData.call$1(e); }, $signature: 20 }; A._Html5NodeValidator.prototype = { _Html5NodeValidator$1$uriPolicy(uriPolicy) { var _i; if ($._Html5NodeValidator__attributeValidators.get$isEmpty($._Html5NodeValidator__attributeValidators)) { for (_i = 0; _i < 262; ++_i) $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_2Zi[_i], A.html__Html5NodeValidator__standardAttributeValidator$closure()); for (_i = 0; _i < 12; ++_i) $._Html5NodeValidator__attributeValidators.$indexSet(0, B.List_yrN[_i], A.html__Html5NodeValidator__uriAttributeValidator$closure()); } }, allowsElement$1(element) { return $.$get$_Html5NodeValidator__allowedElements().contains$1(0, A.Element__safeTagName(element)); }, allowsAttribute$3(element, attributeName, value) { var validator = $._Html5NodeValidator__attributeValidators.$index(0, A.Element__safeTagName(element) + "::" + attributeName); if (validator == null) validator = $._Html5NodeValidator__attributeValidators.$index(0, "*::" + attributeName); if (validator == null) return false; return validator.call$4(element, attributeName, value, this); }, $isNodeValidator: 1 }; 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.")); }, 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.")); }, 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.NodeValidatorBuilder.prototype = { allowCustomElement$4$attributes$uriAttributes$uriPolicy(tagName, attributes, uriAttributes, uriPolicy) { var tagNameUpper = tagName.toUpperCase(), t1 = A.AnchorElement_AnchorElement(), t2 = window.location; uriPolicy = new A._SameOriginUriPolicy(t1, t2); this._validators.push(A._CustomElementNodeValidator$(uriPolicy, A._setArrayType([tagNameUpper], type$.JSArray_String), new A.MappedListIterable(attributes, new A.NodeValidatorBuilder_allowCustomElement_closure(tagNameUpper), A._arrayInstanceType(attributes)._eval$1("MappedListIterable<1,String>")), null, false, true)); }, allowsElement$1(element) { return B.JSArray_methods.any$1(this._validators, new A.NodeValidatorBuilder_allowsElement_closure(element)); }, allowsAttribute$3(element, attributeName, value) { return B.JSArray_methods.any$1(this._validators, new A.NodeValidatorBuilder_allowsAttribute_closure(element, attributeName, value)); }, $isNodeValidator: 1 }; A.NodeValidatorBuilder_allowCustomElement_closure.prototype = { call$1($name) { return this.tagNameUpper + "::" + $name.toLowerCase(); }, $signature: 35 }; A.NodeValidatorBuilder_allowsElement_closure.prototype = { call$1(v) { return v.allowsElement$1(this.element); }, $signature: 265 }; A.NodeValidatorBuilder_allowsAttribute_closure.prototype = { call$1(v) { return v.allowsAttribute$3(this.element, this.attributeName, this.value); }, $signature: 265 }; A._SimpleNodeValidator.prototype = { _SimpleNodeValidator$4$allowedAttributes$allowedElements$allowedUriAttributes(uriPolicy, allowedAttributes, allowedElements, allowedUriAttributes) { var t1, legalAttributes, extraUriAttributes; this.allowedElements.addAll$1(0, allowedElements); if (allowedAttributes == null) allowedAttributes = B.List_empty1; t1 = J.getInterceptor$ax(allowedAttributes); legalAttributes = t1.where$1(allowedAttributes, new A._SimpleNodeValidator_closure()); extraUriAttributes = t1.where$1(allowedAttributes, new A._SimpleNodeValidator_closure0()); this.allowedAttributes.addAll$1(0, legalAttributes); t1 = this.allowedUriAttributes; t1.addAll$1(0, B.List_empty1); t1.addAll$1(0, extraUriAttributes); }, allowsElement$1(element) { return this.allowedElements.contains$1(0, A.Element__safeTagName(element)); }, allowsAttribute$3(element, attributeName, value) { var _this = this, tagName = A.Element__safeTagName(element), t1 = _this.allowedUriAttributes; if (t1.contains$1(0, tagName + "::" + attributeName)) return _this.uriPolicy.allowsUri$1(value); else if (t1.contains$1(0, "*::" + attributeName)) return _this.uriPolicy.allowsUri$1(value); else { t1 = _this.allowedAttributes; if (t1.contains$1(0, tagName + "::" + attributeName)) return true; else if (t1.contains$1(0, "*::" + attributeName)) return true; else if (t1.contains$1(0, tagName + "::*")) return true; else if (t1.contains$1(0, "*::*")) return true; } return false; }, $isNodeValidator: 1 }; A._SimpleNodeValidator_closure.prototype = { call$1(x) { return !B.JSArray_methods.contains$1(B.List_yrN, x); }, $signature: 17 }; A._SimpleNodeValidator_closure0.prototype = { call$1(x) { return B.JSArray_methods.contains$1(B.List_yrN, x); }, $signature: 17 }; A._CustomElementNodeValidator.prototype = { allowsElement$1(element) { var isAttr, t1, _this = this; if (_this.allowTypeExtension) { isAttr = element.getAttribute("is"); if (isAttr != null) { t1 = _this.allowedElements; return t1.contains$1(0, isAttr.toUpperCase()) && t1.contains$1(0, A.Element__safeTagName(element)); } } return _this.allowCustomTag && _this.allowedElements.contains$1(0, A.Element__safeTagName(element)); }, allowsAttribute$3(element, attributeName, value) { var _this = this; if (_this.allowsElement$1(element)) { if (_this.allowTypeExtension && attributeName === "is" && _this.allowedElements.contains$1(0, value.toUpperCase())) return true; return _this.super$_SimpleNodeValidator$allowsAttribute(element, attributeName, value); } return false; } }; A._TemplatingNodeValidator.prototype = { allowsAttribute$3(element, attributeName, value) { if (this.super$_SimpleNodeValidator$allowsAttribute(element, attributeName, value)) return true; if (attributeName === "template" && value === "") return true; if (element.getAttribute("template") === "") return this._templateAttrs.contains$1(0, attributeName); return false; } }; A._TemplatingNodeValidator_closure.prototype = { call$1(attr) { return "TEMPLATE::" + attr; }, $signature: 35 }; A._SvgNodeValidator.prototype = { allowsElement$1(element) { var t1; if (type$.ScriptElement._is(element)) return false; t1 = type$.SvgElement._is(element); if (t1 && A.Element__safeTagName(element) === "foreignObject") return false; if (t1) return true; return false; }, allowsAttribute$3(element, attributeName, value) { if (attributeName === "is" || B.JSString_methods.startsWith$1(attributeName, "on")) return false; return this.allowsElement$1(element); }, $isNodeValidator: 1 }; 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(_) { return this.$ti._precomputed1._as(this._current); }, $isIterator: 1 }; A.Console.prototype = { warn$1(arg) { return typeof console != "undefined" ? window.console.warn(arg) : null; } }; A._DOMWindowCrossFrame.prototype = {}; A._SameOriginUriPolicy.prototype = { allowsUri$1(uri) { var t2, t3, t1 = this._hiddenAnchor; t1.href = uri; t2 = t1.hostname; t3 = this._loc; if (!(t2 == t3.hostname && t1.port === t3.port && t1.protocol === t3.protocol)) if (t2 === "") if (t1.port === "") { t1 = t1.protocol; t1 = t1 === ":" || t1 === ""; } else t1 = false; else t1 = false; else t1 = true; return t1; } }; A._ValidatingTreeSanitizer.prototype = { sanitizeTree$1(node) { var previousTreeModifications, walk = new A._ValidatingTreeSanitizer_sanitizeTree_walk(this); do { previousTreeModifications = this.numTreeModifications; walk.call$2(node, null); } while (previousTreeModifications !== this.numTreeModifications); }, _removeNode$2(node, $parent) { ++this.numTreeModifications; if ($parent == null || $parent !== node.parentNode) J.remove$0$ax(node); else $parent.removeChild(node); }, _sanitizeUntrustedElement$2(element, $parent) { var corruptedTest1, elementText, elementTagName, exception, t1, corrupted = true, attrs = null, isAttr = null; try { attrs = J.get$attributes$x(element); isAttr = attrs._html$_element.getAttribute("is"); corruptedTest1 = function(element) { if (!(element.attributes instanceof NamedNodeMap)) return true; if (element.id == "lastChild" || element.name == "lastChild" || element.id == "previousSibling" || element.name == "previousSibling" || element.id == "children" || element.name == "children") return true; var childNodes = element.childNodes; if (element.lastChild && element.lastChild !== childNodes[childNodes.length - 1]) return true; if (element.children) if (!(element.children instanceof HTMLCollection || element.children instanceof NodeList)) return true; var length = 0; if (element.children) length = element.children.length; for (var i = 0; i < length; i++) { var child = element.children[i]; if (child.id == "attributes" || child.name == "attributes" || child.id == "lastChild" || child.name == "lastChild" || child.id == "previousSibling" || child.name == "previousSibling" || child.id == "children" || child.name == "children") return true; } return false; }(element); corrupted = corruptedTest1 ? true : !(element.attributes instanceof NamedNodeMap); } catch (exception) { } elementText = "element unprintable"; try { elementText = J.toString$0$(element); } catch (exception) { } try { elementTagName = A.Element__safeTagName(element); this._sanitizeElement$7(element, $parent, corrupted, elementText, elementTagName, attrs, isAttr); } catch (exception) { if (A.unwrapException(exception) instanceof A.ArgumentError) throw exception; else { this._removeNode$2(element, $parent); window; t1 = "Removing corrupted element " + A.S(elementText); if (typeof console != "undefined") window.console.warn(t1); } } }, _sanitizeElement$7(element, $parent, corrupted, text, tag, attrs, isAttr) { var t1, keys, i, $name, t2, t3, _this = this; if (corrupted) { _this._removeNode$2(element, $parent); window; t1 = "Removing element due to corrupted attributes on <" + text + ">"; if (typeof console != "undefined") window.console.warn(t1); return; } if (!_this.validator.allowsElement$1(element)) { _this._removeNode$2(element, $parent); window; t1 = "Removing disallowed element <" + tag + "> from " + A.S($parent); if (typeof console != "undefined") window.console.warn(t1); return; } if (isAttr != null) if (!_this.validator.allowsAttribute$3(element, "is", isAttr)) { _this._removeNode$2(element, $parent); window; t1 = "Removing disallowed type extension <" + tag + ' is="' + isAttr + '">'; if (typeof console != "undefined") window.console.warn(t1); return; } t1 = attrs.get$keys(attrs); keys = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); for (i = attrs.get$keys(attrs).length - 1, t1 = attrs._html$_element; i >= 0; --i) { $name = keys[i]; t2 = _this.validator; t3 = J.toLowerCase$0$s($name); A._asString($name); if (!t2.allowsAttribute$3(element, t3, t1.getAttribute($name))) { window; t2 = "Removing disallowed attribute <" + tag + " " + $name + '="' + A.S(t1.getAttribute($name)) + '">'; if (typeof console != "undefined") window.console.warn(t2); t1.removeAttribute($name); } } if (type$.TemplateElement._is(element)) { t1 = element.content; t1.toString; _this.sanitizeTree$1(t1); } } }; A._ValidatingTreeSanitizer_sanitizeTree_walk.prototype = { call$2(node, $parent) { var child, nextChild, t2, t3, exception, t1 = this.$this; switch (node.nodeType) { case 1: t1._sanitizeUntrustedElement$2(node, $parent); break; case 8: case 11: case 3: case 4: break; default: t1._removeNode$2(node, $parent); } child = node.lastChild; for (; child != null;) { nextChild = null; try { nextChild = child.previousSibling; if (nextChild != null) { t2 = nextChild.nextSibling; t3 = child; t3 = t2 == null ? t3 != null : t2 !== t3; t2 = t3; } else t2 = false; if (t2) { t2 = A.StateError$("Corrupt HTML"); throw A.wrapException(t2); } } catch (exception) { t2 = child; ++t1.numTreeModifications; t3 = t2.parentNode; if (node !== t3) { if (t3 != null) t3.removeChild(t2); } else node.removeChild(t2); child = null; nextChild = node.lastChild; } if (child != null) this.call$2(child, node); child = nextChild; } }, $signature: 492 }; A._CssStyleDeclaration_Interceptor_CssStyleDeclarationBase.prototype = {}; A._DomRectList_Interceptor_ListMixin.prototype = {}; A._DomRectList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._DomStringList_Interceptor_ListMixin.prototype = {}; A._DomStringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._FileList_Interceptor_ListMixin.prototype = {}; A._FileList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._HtmlCollection_Interceptor_ListMixin.prototype = {}; A._HtmlCollection_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._MidiInputMap_Interceptor_MapMixin.prototype = {}; A._MidiOutputMap_Interceptor_MapMixin.prototype = {}; A._MimeTypeArray_Interceptor_ListMixin.prototype = {}; A._MimeTypeArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._NodeList_Interceptor_ListMixin.prototype = {}; A._NodeList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._PluginArray_Interceptor_ListMixin.prototype = {}; A._PluginArray_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._RtcStatsReport_Interceptor_MapMixin.prototype = {}; A._SourceBufferList_EventTarget_ListMixin.prototype = {}; A._SourceBufferList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; A._SpeechGrammarList_Interceptor_ListMixin.prototype = {}; A._SpeechGrammarList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._Storage_Interceptor_MapMixin.prototype = {}; A._TextTrackCueList_Interceptor_ListMixin.prototype = {}; A._TextTrackCueList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._TextTrackList_EventTarget_ListMixin.prototype = {}; A._TextTrackList_EventTarget_ListMixin_ImmutableListMixin.prototype = {}; A._TouchList_Interceptor_ListMixin.prototype = {}; A._TouchList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.__CssRuleList_Interceptor_ListMixin.prototype = {}; A.__CssRuleList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.__GamepadList_Interceptor_ListMixin.prototype = {}; A.__GamepadList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.__NamedNodeMap_Interceptor_ListMixin.prototype = {}; A.__NamedNodeMap_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.__SpeechRecognitionResultList_Interceptor_ListMixin.prototype = {}; A.__SpeechRecognitionResultList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.__StyleSheetList_Interceptor_ListMixin.prototype = {}; A.__StyleSheetList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._StructuredClone.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 slot, t2, copy, _this = this, t1 = {}; if (e == null) return e; if (A._isBool(e)) return e; if (typeof e == "number") return e; if (typeof e == "string") return e; if (e instanceof A.DateTime) return new Date(e._value); if (type$.RegExp._is(e)) throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); if (type$.File._is(e)) return e; if (type$.Blob._is(e)) return e; if (type$.FileList._is(e)) return e; if (type$.ImageData._is(e)) return e; if (type$.NativeByteBuffer._is(e) || type$.NativeTypedData._is(e) || type$.MessagePort._is(e)) return e; if (type$.Map_dynamic_dynamic._is(e)) { slot = _this.findSlot$1(e); t2 = _this.copies; copy = t1.copy = t2[slot]; if (copy != null) return copy; copy = {}; t1.copy = copy; t2[slot] = copy; J.forEach$1$ax(e, new A._StructuredClone_walk_closure(t1, _this)); return t1.copy; } if (type$.List_dynamic._is(e)) { slot = _this.findSlot$1(e); copy = _this.copies[slot]; if (copy != null) return copy; return _this.copyList$2(e, slot); } if (type$.JSObject._is(e)) { slot = _this.findSlot$1(e); t2 = _this.copies; copy = t1.copy = t2[slot]; if (copy != null) return copy; copy = {}; t1.copy = copy; t2[slot] = copy; _this.forEachObjectKey$2(e, new A._StructuredClone_walk_closure0(t1, _this)); return t1.copy; } throw A.wrapException(A.UnimplementedError$("structured clone of other type")); }, copyList$2(e, slot) { var i, t1 = J.getInterceptor$asx(e), $length = t1.get$length(e), copy = new Array($length); this.copies[slot] = copy; for (i = 0; i < $length; ++i) copy[i] = this.walk$1(t1.$index(e, i)); return copy; } }; A._StructuredClone_walk_closure.prototype = { call$2(key, value) { this._box_0.copy[key] = this.$this.walk$1(value); }, $signature: 60 }; A._StructuredClone_walk_closure0.prototype = { call$2(key, value) { this._box_0.copy[key] = this.$this.walk$1(value); }, $signature: 121 }; 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 slot, t1, copy, t2, l, $length, i, _this = this, _box_0 = {}; if (e == null) return e; if (A._isBool(e)) return e; if (typeof e == "number") return e; if (typeof e == "string") return e; if (e instanceof Date) return A.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); if (e instanceof RegExp) throw A.wrapException(A.UnimplementedError$("structured clone of RegExp")); if (typeof Promise != "undefined" && e instanceof Promise) return A.promiseToFuture(e, type$.dynamic); if (A.isJavaScriptSimpleObject(e)) { slot = _this.findSlot$1(e); t1 = _this.copies; copy = _box_0.copy = t1[slot]; if (copy != null) return copy; t2 = type$.dynamic; copy = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); _box_0.copy = copy; t1[slot] = copy; _this.forEachJsField$2(e, new A._AcceptStructuredClone_walk_closure(_box_0, _this)); return _box_0.copy; } if (e instanceof Array) { l = e; slot = _this.findSlot$1(l); t1 = _this.copies; copy = t1[slot]; if (copy != null) return copy; t2 = J.getInterceptor$asx(l); $length = t2.get$length(l); copy = _this.mustCopy ? new Array($length) : l; t1[slot] = copy; for (t1 = J.getInterceptor$ax(copy), i = 0; i < $length; ++i) t1.$indexSet(copy, i, _this.walk$1(t2.$index(l, 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._box_0.copy, t2 = this.$this.walk$1(value); J.$indexSet$ax(t1, key, t2); return t2; }, $signature: 497 }; A._convertDartToNative_Value_closure.prototype = { call$1(element) { this.array.push(A._convertDartToNative_Value(element)); }, $signature: 6 }; A.convertDartToNative_Dictionary_closure.prototype = { call$2(key, value) { this.object[key] = A._convertDartToNative_Value(value); }, $signature: 60 }; A._StructuredCloneDart2Js.prototype = { forEachObjectKey$2(object, action) { var t1, t2, _i, key; for (t1 = Object.keys(object), t2 = t1.length, _i = 0; _i < t2; ++_i) { key = t1[_i]; action.call$2(key, object[key]); } } }; 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<ListMixin.E>")), new A.FilteredElementList__iterable_closure0(), t2._eval$1("MappedIterable<ListMixin.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); }, 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)); }, contains$1(_, needle) { if (!type$.Element._is(needle)) return false; return needle.parentNode === this._html_common$_node; }, 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($receiver, start, end, iterable) { return this.setRange$4($receiver, 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$.dynamic), 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); 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); } }, 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) { 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: 262 }; A.FilteredElementList__iterable_closure0.prototype = { call$1(n) { return type$.Element._as(n); }, $signature: 498 }; A.FilteredElementList_removeRange_closure0.prototype = { call$1(el) { return J.remove$0$ax(el); }, $signature: 6 }; A.Cursor.prototype = {}; A.CursorWithValue.prototype = { get$value(receiver) { return new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(receiver.value, false); } }; A.Database.prototype = { get$name(receiver) { return receiver.name; } }; A.Index.prototype = { get$name(receiver) { return receiver.name; } }; A.KeyRange.prototype = {$isKeyRange: 1}; A.ObjectStore.prototype = { get$name(receiver) { return receiver.name; } }; A.Observation.prototype = { get$value(receiver) { return receiver.value; } }; A.VersionChangeEvent.prototype = { get$target(receiver) { return receiver.target; } }; 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 }; A.FileMode.prototype = {}; A.FileSystemException.prototype = { toString$0(_) { var _this = this, t1 = "" + "FileSystemException", t2 = _this.message; if (t2.length !== 0) { t1 += ": " + t2; t2 = _this.path; if (t2 != null) t1 += ", path = '" + t2 + "'"; t2 = _this.osError; if (t2 != null) t1 += " (" + t2.toString$0(0) + ")"; } else { t2 = _this.osError; if (t2 != null) { t1 += ": " + t2.toString$0(0); t2 = _this.path; if (t2 != null) t1 += ", path = '" + t2 + "'"; } else { t2 = _this.path; if (t2 != null) t1 += ": " + t2; } } return t1.charCodeAt(0) == 0 ? t1 : t1; }, $isException: 1 }; A._FileStream.prototype = { listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError) { var _this = this, t1 = A.StreamController_StreamController(new A._FileStream_listen_closure(_this), _this.get$_io$_start(_this), _this.get$_readBlock(), true, type$.Uint8List); _this.___FileStream__controller = t1; t1 = A._lateReadCheck(t1, "_controller"); return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError); }, listen$1(onData) { return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); }, listen$3$cancelOnError$onDone(onData, cancelOnError, onDone) { return this.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, null); }, listen$3$onDone$onError(onData, onDone, onError) { return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); }, _closeFile$0() { var _this = this; if (_this._readInProgress || _this._io$_closed) return _this._closeCompleter.future; _this._io$_closed = true; A._lateReadCheck(_this.___FileStream__openedFile, "_openedFile").close$0(0).catchError$1(A._lateReadCheck(_this.___FileStream__controller, "_controller").get$addError()).whenComplete$1(new A._FileStream__closeFile_done(_this)); return _this._closeCompleter.future; }, _readBlock$0() { var _this = this, t1 = {}; if (_this._readInProgress) return; if (_this._atEnd) { _this._closeFile$0(); return; } _this._readInProgress = true; t1.readBytes = 65536; A._lateReadCheck(_this.___FileStream__openedFile, "_openedFile").read$1(0, 65536).then$1$1(0, new A._FileStream__readBlock_closure(t1, _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); A.File_File(_this._io$_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: 499 }; A._FileStream__closeFile_done.prototype = { call$0() { var t1 = this.$this; t1._closeCompleter.complete$0(0); A._lateReadCheck(t1.___FileStream__controller, "_controller").close$0(0); }, $signature: 0 }; A._FileStream__readBlock_closure.prototype = { call$1(block) { var t2, t3, _s11_ = "_controller", t1 = this.$this; t1._readInProgress = false; if (t1._unsubscribed) { t1._closeFile$0(); return; } t2 = t1._io$_position; t3 = block.length; t1._io$_position = t2 + t3; if (t3 >= this._box_0.readBytes) t2 = false; else t2 = true; if (t2) t1._atEnd = true; if (!t1._atEnd) { t2 = A._lateReadCheck(t1.___FileStream__controller, _s11_); t3 = t2._state; t2 = !((t3 & 1) !== 0 ? (t2.get$_subscription()._state & 4) !== 0 : (t3 & 2) === 0); } else t2 = false; if (t2) t1._readBlock$0(); A._lateReadCheck(t1.___FileStream__controller, _s11_).add$1(0, block); if (t1._atEnd) t1._closeFile$0(); }, $signature: 270 }; A._FileStream__readBlock_closure0.prototype = { call$2(e, s) { var t1 = this.$this; if (!t1._unsubscribed) { A._lateReadCheck(t1.___FileStream__controller, "_controller").addError$2(e, s); t1._closeFile$0(); t1._unsubscribed = true; } }, $signature: 121 }; A._FileStream__start_onReady.prototype = { call$1(file) { var t1 = this.$this; t1.___FileStream__openedFile = file; t1._readInProgress = false; t1._readBlock$0(); }, $signature: 273 }; 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: 273 }; A._FileStream__start_onOpenFile_closure.prototype = { call$2(e, s) { var t1 = this.$this; A._lateReadCheck(t1.___FileStream__controller, "_controller").addError$2(e, s); t1._readInProgress = false; t1._closeFile$0(); }, $signature: 121 }; A._FileStream__start_openFailed.prototype = { call$2(error, stackTrace) { var _s11_ = "_controller", t1 = this.$this; A._lateReadCheck(t1.___FileStream__controller, _s11_).addError$2(error, stackTrace); A._lateReadCheck(t1.___FileStream__controller, _s11_).close$0(0); t1._closeCompleter.complete$0(0); }, $signature: 60 }; 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($receiver) { return this.open$1$mode($receiver, 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_readDataChunked()), type$.Uint8List); }, toString$0(_) { return "File: '" + this._io$_path + "'"; } }; A._File_open_closure.prototype = { call$1(response) { var t1; response.$index(0, 0); t1 = A._exceptionFromResponse(response, "Cannot open file", this.$this._io$_path); throw A.wrapException(t1); }, $signature: 274 }; A._File_length_closure.prototype = { call$1(response) { var t1; response.$index(0, 0); t1 = A._exceptionFromResponse(response, "Cannot retrieve length of file", this.$this._io$_path); throw A.wrapException(t1); }, $signature: 276 }; A._File_readAsBytes_readDataChunked.prototype = { call$1(file) { var t1 = A._setArrayType([], type$.JSArray_Uint8List), t2 = new A._Future($.Zone__current, type$._Future_Uint8List); new A._File_readAsBytes_readDataChunked_read(file, new A._BytesBuilder(t1), new A._AsyncCompleter(t2, type$._AsyncCompleter_Uint8List)).call$0(); return t2; }, $signature: 277 }; A._File_readAsBytes_readDataChunked_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_readDataChunked_read_closure(_this.builder, _this, t1), t1.get$completeError(), type$.Null); }, $signature: 0 }; A._File_readAsBytes_readDataChunked_read_closure.prototype = { call$1(data) { var t1 = this.builder; if (data.length > 0) { t1.add$1(0, data); this.read.call$0(); } else this.completer.complete$1(0, t1.takeBytes$0()); }, $signature: 270 }; A._File_readAsBytes_closure.prototype = { call$1(file) { return file.length$0(0).then$1$1(0, new A._File_readAsBytes__closure(this.readDataChunked, file), type$.Uint8List).whenComplete$1(file.get$close(file)); }, $signature: 277 }; A._File_readAsBytes__closure.prototype = { call$1($length) { if ($length === 0) return this.readDataChunked.call$1(this.file); return this.file.read$1(0, $length); }, $signature: 521 }; 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 = A._lateReadCheck(t2.___RandomAccessFile__resourceInfo, "_resourceInfo"); $._FileResourceInfo_openFiles.remove$1(0, t1.id); } }, $signature: 5 }; A._RandomAccessFile_read_closure.prototype = { call$1(response) { var t1; if (type$.List_dynamic._is(response) && !J.$eq$(J.$index$asx(response, 0), 0)) throw A.wrapException(A._exceptionFromResponse(response, "read failed", this.$this.path)); t1 = J.getInterceptor$asx(response); A._lateReadCheck(this.$this.___RandomAccessFile__resourceInfo, "_resourceInfo").addRead$1(J.get$length$asx(t1.$index(response, 1))); return t1.$index(response, 1); }, $signature: 522 }; A._RandomAccessFile_setPosition_closure.prototype = { call$1(response) { if (type$.List_dynamic._is(response) && !J.$eq$(J.$index$asx(response, 0), 0)) throw A.wrapException(A._exceptionFromResponse(response, "setPosition failed", this.$this.path)); return this.$this; }, $signature: 274 }; A._RandomAccessFile_length_closure.prototype = { call$1(response) { if (type$.List_dynamic._is(response) && !J.$eq$(J.$index$asx(response, 0), 0)) throw A.wrapException(A._exceptionFromResponse(response, "length failed", this.$this.path)); return response; }, $signature: 276 }; A.FileSystemEntity.prototype = {}; A.SystemEncoding.prototype = { get$name(_) { return "system"; }, encode$1(input) { return this.get$encoder().convert$1(input); }, get$encoder() { $.$get$Platform__operatingSystem(); return B.C_Utf8Encoder; } }; A.JsObject__convertDataTree__convert.prototype = { call$1(o) { var convertedMap, t2, key, convertedList, t1 = this._convertedObjects; if (t1.containsKey$1(0, o)) return t1.$index(0, o); if (type$.Map_dynamic_dynamic._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_dynamic._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 A._convertToJS(o); }, $signature: 255 }; 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: 44 }; A._convertToJS_closure0.prototype = { call$1(o) { return new this.ctor(o); }, $signature: 44 }; A._wrapToDart_closure.prototype = { call$1(o) { return new A.JsFunction(o); }, $signature: 523 }; A._wrapToDart_closure0.prototype = { call$1(o) { return new A.JsArray(o, type$.JsArray_dynamic); }, $signature: 528 }; A._wrapToDart_closure1.prototype = { call$1(o) { return new A.JsObject(o); }, $signature: 544 }; 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._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._jsObject[property] = A._convertToJS(value); }, $eq(_, other) { if (other == null) return false; return other instanceof A.JsObject && this._jsObject === other._jsObject; }, toString$0(_) { var t1, exception; try { t1 = String(this._jsObject); return t1; } catch (exception) { t1 = this.super$Object$toString(0); return t1; } }, callMethod$2(method, args) { var t1 = this._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 _this = this, t1 = index < 0 || index >= _this.get$length(_this); if (t1) throw A.wrapException(A.RangeError$range(index, 0, _this.get$length(_this), 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._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)); }, removeAt$1(_, index) { this._checkIndex$1(index); return J.$index$asx(this.callMethod$2("splice", [index, 1]), 0); }, removeLast$0(_) { if (this.get$length(this) === 0) throw A.wrapException(A.RangeError$(-1)); return this.callMethod$1("pop"); }, removeRange$2(_, start, end) { A.JsArray__checkRange(start, end, this.get$length(this)); this.callMethod$2("splice", [start, end - start]); }, setRange$4(_, start, end, iterable, skipCount) { var $length, args; A.JsArray__checkRange(start, end, this.get$length(this)); $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($receiver, start, end, iterable) { return this.setRange$4($receiver, 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.NullRejectionException.prototype = { toString$0(_) { return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`."; }, $isException: 1 }; A.promiseToFuture_closure.prototype = { call$1(r) { return this.completer.complete$1(0, r); }, $signature: 6 }; 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: 6 }; 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, empty_seed = seed < 0 ? -1 : 0; 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 !== empty_seed); 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) { _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._JSSecureRandom.prototype = { _JSSecureRandom$0() { var $crypto = self.crypto; if ($crypto != null) if ($crypto.getRandomValues != null) return; throw A.wrapException(A.UnsupportedError$("No source of cryptographically secure random numbers available.")); }, nextInt$1(max) { var byteCount, t1, start, randomLimit, t2, t3, t4, random, result; if (max <= 0 || max > 4294967296) throw A.wrapException(A.RangeError$(string$.max_mu + max)); if (max > 255) if (max > 65535) byteCount = max > 16777215 ? 4 : 3; else byteCount = 2; else byteCount = 1; t1 = this._math$_buffer; t1.setUint32(0, 0, false); start = 4 - byteCount; randomLimit = A._asInt(Math.pow(256, byteCount)); for (t2 = max - 1, t3 = (max & t2) === 0; true;) { t4 = t1.buffer; t4 = new Uint8Array(t4, start, byteCount); crypto.getRandomValues(t4); random = t1.getUint32(0, false); if (t3) return (random & t2) >>> 0; result = random % max; if (random - result + max < randomLimit) 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); } }; A._RectangleBase.prototype = { get$right(_) { var _this = this; return A._instanceType(_this)._precomputed1._as(_this.get$left(_this) + _this.get$width(_this)); }, get$bottom(_) { var _this = this; return A._instanceType(_this)._precomputed1._as(_this.get$top(_this) + _this.get$height(_this)); }, toString$0(_) { var _this = this; return "Rectangle (" + _this.get$left(_this) + ", " + _this.get$top(_this) + ") " + _this.get$width(_this) + " x " + _this.get$height(_this); }, $eq(_, other) { var t1, t2, _this = this; if (other == null) return false; if (type$.Rectangle_num._is(other)) { t1 = J.getInterceptor$x(other); if (_this.get$left(_this) === t1.get$left(other)) if (_this.get$top(_this) === t1.get$top(other)) { t2 = A._instanceType(_this)._precomputed1; t1 = t2._as(_this.get$left(_this) + _this.get$width(_this)) === t1.get$right(other) && t2._as(_this.get$top(_this) + _this.get$height(_this)) === t1.get$bottom(other); } else t1 = false; else t1 = false; } else t1 = false; return t1; }, get$hashCode(_) { var _this = this, t1 = A._instanceType(_this)._precomputed1; return A.SystemHash_hash4(B.JSInt_methods.get$hashCode(_this.get$left(_this)), B.JSInt_methods.get$hashCode(_this.get$top(_this)), B.JSInt_methods.get$hashCode(t1._as(_this.get$left(_this) + _this.get$width(_this))), B.JSInt_methods.get$hashCode(t1._as(_this.get$top(_this) + _this.get$height(_this))), 0); } }; A.MutableRectangle.prototype = { get$width(_) { return this._math$_width; }, set$width(_, width) { this._math$_width = width < 0 ? A._clampToZero(width) : width; }, get$height(_) { return this._math$_height; }, set$height(_, height) { this._math$_height = height < 0 ? A._clampToZero(height) : height; }, $isRectangle: 1, get$left(receiver) { return this.left; }, get$top(receiver) { return this.top; } }; A.Angle.prototype = { get$value(receiver) { return receiver.value; } }; A.GraphicsElement.prototype = {}; A.Length.prototype = { get$value(receiver) { return receiver.value; }, $isLength: 1 }; A.LengthList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver.getItem(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 this.$index(receiver, index); }, clear$0(receiver) { return receiver.clear(); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.Number.prototype = { get$value(receiver) { return receiver.value; }, $isNumber: 1 }; A.NumberList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver.getItem(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 this.$index(receiver, index); }, clear$0(receiver) { return receiver.clear(); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.PointList.prototype = { get$length(receiver) { return receiver.length; } }; A.Rect0.prototype = { set$height(receiver, value) { receiver.height = value; }, set$width(receiver, value) { receiver.width = value; } }; A.ScriptElement0.prototype = {$isScriptElement0: 1}; A.StringList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver.getItem(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 this.$index(receiver, index); }, clear$0(receiver) { return receiver.clear(); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A.SvgElement.prototype = { get$children(receiver) { return new A.FilteredElementList0(receiver, new A._ChildNodeListLazy(receiver)); }, createFragment$3$treeSanitizer$validator(receiver, svg, treeSanitizer, validator) { var t1, html, t2, fragment, svgFragment, root; if (treeSanitizer == null) { t1 = A._setArrayType([], type$.JSArray_NodeValidator); t1.push(A._Html5NodeValidator$(null)); t1.push(A._TemplatingNodeValidator$()); t1.push(new A._SvgNodeValidator()); treeSanitizer = new A._ValidatingTreeSanitizer(new A.NodeValidatorBuilder(t1)); } html = '<svg version="1.1">' + svg + "</svg>"; t1 = document; t2 = t1.body; t2.toString; fragment = B.BodyElement_methods.createFragment$2$treeSanitizer(t2, html, treeSanitizer); svgFragment = t1.createDocumentFragment(); t1 = new A._ChildNodeListLazy(fragment); root = t1.get$single(t1); for (; t1 = root.firstChild, t1 != null;) svgFragment.appendChild(t1); return svgFragment; }, focus$0(receiver) { return receiver.focus(); }, $isSvgElement: 1 }; A.SvgSvgElement.prototype = {$isSvgSvgElement: 1}; A.Transform0.prototype = {$isTransform0: 1}; A.TransformList.prototype = { get$length(receiver) { return receiver.length; }, $index(receiver, index) { if (index >>> 0 !== index || index >= receiver.length) throw A.wrapException(A.IndexError$(index, receiver, null, null, null)); return receiver.getItem(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 this.$index(receiver, index); }, clear$0(receiver) { return receiver.clear(); }, $isEfficientLengthIterable: 1, $isIterable: 1, $isList: 1 }; A._LengthList_Interceptor_ListMixin.prototype = {}; A._LengthList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._NumberList_Interceptor_ListMixin.prototype = {}; A._NumberList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._StringList_Interceptor_ListMixin.prototype = {}; A._StringList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A._TransformList_Interceptor_ListMixin.prototype = {}; A._TransformList_Interceptor_ListMixin_ImmutableListMixin.prototype = {}; A.Endian.prototype = {}; A.ClipOp.prototype = { toString$0(_) { return "ClipOp." + this._core$_name; } }; A.VertexMode.prototype = { toString$0(_) { return "VertexMode." + this._core$_name; } }; A.PathFillType.prototype = { toString$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, type$.nullable_ByteData); }, get$data(receiver) { return this.data; } }; A._Channel.prototype = { get$length(_) { var t1 = this._ui$_queue; return t1.get$length(t1); }, 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._ui$_queue._add$1(0, message); return result; }, _dropOverflowMessages$1(lengthLimit) { var t1, t2, result, message; for (t1 = this._ui$_queue, t2 = type$.nullable_ByteData, 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, t2); } return result; }, _drainStep$0() { var _this = this, t1 = _this._ui$_queue; if (!t1.get$isEmpty(t1) && _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()); } }, 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: 284 }; A.ChannelBuffers_setListener_closure.prototype = { call$0() { return new A._Channel(A.ListQueue$(1, type$._StoredMessage), 1); }, $signature: 284 }; A.OffsetBase.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.OffsetBase && other._dx === this._dx && other._dy === this._dy; }, get$hashCode(_) { return A.hashValues(this._dx, this._dy, 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, 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); }, toString$0(_) { return "OffsetBase(" + B.JSNumber_methods.toStringAsFixed$1(this._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._dy, 1) + ")"; } }; A.Offset.prototype = { 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.hashValues(this._dx, this._dy, 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, 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); }, toString$0(_) { return "Offset(" + B.JSNumber_methods.toStringAsFixed$1(this._dx, 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._dy, 1) + ")"; } }; A.Size.prototype = { get$aspectRatio(_) { var t1 = this._dy; if (t1 !== 0) return this._dx / t1; t1 = this._dx; if (t1 > 0) return 1 / 0; if (t1 < 0) return -1 / 0; return 0; }, 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); }, 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.hashValues(this._dx, this._dy, 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, 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); }, 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$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$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); }, 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.getRuntimeType(_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.hashValues(_this.left, _this.top, _this.right, _this.bottom, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, 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 = { $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); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (A.getRuntimeType(_this) !== J.get$runtimeType$(other)) return false; return other instanceof A.Radius && other.x === _this.x && other.y === _this.y; }, get$hashCode(_) { return A.hashValues(this.x, this.y, 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, 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); }, 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; return new A.RRect(_this.left - delta, _this.top - delta, _this.right + delta, _this.bottom + delta, _this.tlRadiusX + delta, _this.tlRadiusY + delta, _this.trRadiusX + delta, _this.trRadiusY + delta, _this.brRadiusX + delta, _this.brRadiusY + delta, _this.blRadiusX + delta, _this.blRadiusY + delta, false); }, _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.getRuntimeType(_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.hashValues(_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__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, 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.webOnlyInitializePlatform_closure.prototype = { call$0() { A.ensureLineLookupInitialized(); }, $signature: 0 }; A.KeyEventType.prototype = { toString$0(_) { return "KeyEventType." + 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<ListMixin.E,String>")).join$1(0, " ") + ")"; }, toString$0(_) { var _this = this, t1 = "KeyData(type: " + A.S(A.KeyData__typeToString(_this.type)) + ", physical: 0x" + B.JSInt_methods.toRadixString$1(_this.physical, 16) + ", logical: " + _this._logicalToString$0() + ", character: " + _this._escapeCharacter$0() + _this._quotedCharCode$0(); return t1 + (_this.synthesized ? ", synthesized" : "") + ")"; } }; A.KeyData__logicalToString_closure.prototype = { call$0() { switch (this.planeNum) { case 0: return " (Unicode)"; case 1: return " (Unprintable)"; case 2: return " (Flutter)"; case 23: return " (Web)"; } return ""; }, $signature: 36 }; A.KeyData__quotedCharCode_closure.prototype = { call$1(code) { return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(code, 16), 2, "0"); }, $signature: 201 }; A.Color.prototype = { withOpacity$1(opacity) { var _this = this; return A.Color$fromARGB(B.JSNumber_methods.round$0(255 * opacity), _this.get$value(_this) >>> 16 & 255, _this.get$value(_this) >>> 8 & 255, _this.get$value(_this) & 255); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_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 = { toString$0(_) { return "StrokeCap." + this._core$_name; } }; A.StrokeJoin.prototype = { toString$0(_) { return "StrokeJoin." + this._core$_name; } }; A.PaintingStyle.prototype = { toString$0(_) { return "PaintingStyle." + this._core$_name; } }; A.BlendMode.prototype = { toString$0(_) { return "BlendMode." + this._core$_name; } }; A.Clip.prototype = { toString$0(_) { return "Clip." + this._core$_name; } }; A.BlurStyle.prototype = { toString$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.hashValues(this._ui$_style, this._sigma, 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, 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); }, toString$0(_) { return "MaskFilter.blur(" + this._ui$_style.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this._sigma, 1) + ")"; } }; A.FilterQuality.prototype = { toString$0(_) { return "FilterQuality." + this._core$_name; } }; A.ImageFilter.prototype = {}; A.ImageByteFormat.prototype = { toString$0(_) { return "ImageByteFormat." + this._core$_name; } }; A.webOnlyInstantiateImageCodecFromUrl_closure.prototype = { call$1(callback) { callback.call$1(new A.HtmlCodec(this.uri.toString$0(0), this.chunkCallback)); return null; }, $signature: 572 }; A.Shadow.prototype = { $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.hashValues(this.color, this.offset, this.blurRadius, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "TextShadow(" + this.color.toString$0(0) + ", " + this.offset.toString$0(0) + ", " + A.S(this.blurRadius) + ")"; } }; A.Tangent.prototype = {}; A.PlatformDispatcher.prototype = {}; A.PlatformConfiguration.prototype = { copyWith$3$locales$platformBrightness$semanticsEnabled(locales, platformBrightness, semanticsEnabled) { var _this = this, t1 = semanticsEnabled == null ? _this.semanticsEnabled : semanticsEnabled, t2 = platformBrightness == null ? _this.platformBrightness : platformBrightness, t3 = locales == null ? _this.locales : locales; return new A.PlatformConfiguration(_this.accessibilityFeatures, false, t1, t2, _this.textScaleFactor, t3, _this.defaultRouteName); }, copyWith$1$platformBrightness(platformBrightness) { return this.copyWith$3$locales$platformBrightness$semanticsEnabled(null, platformBrightness, null); }, copyWith$1$locales(locales) { return this.copyWith$3$locales$platformBrightness$semanticsEnabled(locales, null, null); }, copyWith$1$semanticsEnabled(semanticsEnabled) { return this.copyWith$3$locales$platformBrightness$semanticsEnabled(null, null, semanticsEnabled); } }; A.ViewConfiguration0.prototype = { toString$0(_) { return A.getRuntimeType(this).toString$0(0) + "[window: null, geometry: " + B.Rect_0_0_0_0.toString$0(0) + "]"; } }; A.FrameTiming.prototype = { toString$0(_) { var t1 = this._ui$_data; return A.getRuntimeType(this).toString$0(0) + "(buildDuration: " + (A.S((A.Duration$(0, 0, t1[2], 0, 0)._duration - A.Duration$(0, 0, t1[1], 0, 0)._duration) * 0.001) + "ms") + ", rasterDuration: " + (A.S((A.Duration$(0, 0, t1[4], 0, 0)._duration - A.Duration$(0, 0, t1[3], 0, 0)._duration) * 0.001) + "ms") + ", vsyncOverhead: " + (A.S((A.Duration$(0, 0, t1[1], 0, 0)._duration - A.Duration$(0, 0, t1[0], 0, 0)._duration) * 0.001) + "ms") + ", totalSpan: " + (A.S((A.Duration$(0, 0, t1[4], 0, 0)._duration - A.Duration$(0, 0, t1[0], 0, 0)._duration) * 0.001) + "ms") + ", layerCacheCount: " + t1[6] + ", layerCacheBytes: " + t1[7] + ", pictureCacheCount: " + t1[8] + ", pictureCacheBytes: " + t1[9] + ", frameNumber: " + B.JSArray_methods.get$last(t1) + ")"; } }; A.AppLifecycleState.prototype = { toString$0(_) { return "AppLifecycleState." + this._core$_name; } }; A.Locale.prototype = { get$languageCode(_) { var t1 = this._languageCode, t2 = B.Map_YCOho.$index(0, t1); return t2 == null ? t1 : t2; }, get$countryCode() { var t1 = this._countryCode, t2 = B.Map_0Agg9.$index(0, t1); return t2 == null ? t1 : t2; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (other instanceof A.Locale) if (other.get$languageCode(other) === _this.get$languageCode(_this)) t1 = other.get$countryCode() == _this.get$countryCode(); else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return A.hashValues(this.get$languageCode(this), null, this.get$countryCode(), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return this._rawToString$1("_"); }, _rawToString$1(separator) { var _this = this, t1 = _this.get$languageCode(_this); if (_this._countryCode != null) t1 += separator + A.S(_this.get$countryCode()); return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.PointerChange.prototype = { toString$0(_) { return "PointerChange." + this._core$_name; } }; A.PointerDeviceKind.prototype = { toString$0(_) { return "PointerDeviceKind." + this._core$_name; } }; A.PointerSignalKind.prototype = { toString$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 = { get$data(receiver) { return this.data; } }; A.SemanticsAction.prototype = { toString$0(_) { switch (this.index) { case 1: return "SemanticsAction.tap"; case 2: return "SemanticsAction.longPress"; case 4: return "SemanticsAction.scrollLeft"; case 8: return "SemanticsAction.scrollRight"; case 16: return "SemanticsAction.scrollUp"; case 32: return "SemanticsAction.scrollDown"; case 64: return "SemanticsAction.increase"; case 128: return "SemanticsAction.decrease"; case 256: return "SemanticsAction.showOnScreen"; case 512: return "SemanticsAction.moveCursorForwardByCharacter"; case 1024: return "SemanticsAction.moveCursorBackwardByCharacter"; case 2048: return "SemanticsAction.setSelection"; case 4096: return "SemanticsAction.copy"; case 8192: return "SemanticsAction.cut"; case 16384: return "SemanticsAction.paste"; case 32768: return "SemanticsAction.didGainAccessibilityFocus"; case 65536: return "SemanticsAction.didLoseAccessibilityFocus"; case 131072: return "SemanticsAction.customAction"; case 262144: return "SemanticsAction.dismiss"; case 524288: return "SemanticsAction.moveCursorForwardByWord"; case 1048576: return "SemanticsAction.moveCursorBackwardByWord"; case 2097152: return "SemanticsAction.setText"; } return ""; } }; A.SemanticsFlag.prototype = { toString$0(_) { switch (this.index) { case 1: return "SemanticsFlag.hasCheckedState"; case 2: return "SemanticsFlag.isChecked"; case 4: return "SemanticsFlag.isSelected"; case 8: return "SemanticsFlag.isButton"; case 16: return "SemanticsFlag.isTextField"; case 32: return "SemanticsFlag.isFocused"; case 64: return "SemanticsFlag.hasEnabledState"; case 128: return "SemanticsFlag.isEnabled"; case 256: return "SemanticsFlag.isInMutuallyExclusiveGroup"; case 512: return "SemanticsFlag.isHeader"; case 1024: return "SemanticsFlag.isObscured"; case 2048: return "SemanticsFlag.scopesRoute"; case 4096: return "SemanticsFlag.namesRoute"; case 8192: return "SemanticsFlag.isHidden"; case 16384: return "SemanticsFlag.isImage"; case 32768: return "SemanticsFlag.isLiveRegion"; case 65536: return "SemanticsFlag.hasToggledState"; case 131072: return "SemanticsFlag.isToggled"; case 262144: return "SemanticsFlag.hasImplicitScrolling"; case 524288: return "SemanticsFlag.isMultiline"; case 1048576: return "SemanticsFlag.isReadOnly"; case 2097152: return "SemanticsFlag.isFocusable"; case 4194304: return "SemanticsFlag.isLink"; case 8388608: return "SemanticsFlag.isSlider"; case 16777216: return "SemanticsFlag.isKeyboardKey"; } return ""; } }; A.SemanticsUpdateBuilder.prototype = {}; A.FontStyle.prototype = { toString$0(_) { return "FontStyle." + this._core$_name; } }; A.PlaceholderAlignment.prototype = { toString$0(_) { return "PlaceholderAlignment." + this._core$_name; } }; A.FontWeight.prototype = { toString$0(_) { var t1 = B.Map_yXAeS.$index(0, this.index); t1.toString; return t1; } }; A.FontFeature.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.FontFeature && other.feature === this.feature && other.value === this.value; }, get$hashCode(_) { return A.hashValues(this.feature, this.value, 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, 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); }, toString$0(_) { return "FontFeature('" + this.feature + "', " + this.value + ")"; }, get$value(receiver) { return this.value; } }; A.TextAlign.prototype = { toString$0(_) { return "TextAlign." + this._core$_name; } }; A.TextBaseline.prototype = { toString$0(_) { return "TextBaseline." + this._core$_name; } }; A.TextDecoration.prototype = { contains$1(_, other) { var t1 = this._mask; return (t1 | other._mask) === t1; }, $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 = { toString$0(_) { return "TextDecorationStyle." + this._core$_name; } }; A.TextLeadingDistribution.prototype = { toString$0(_) { return "TextLeadingDistribution." + this._core$_name; } }; A.TextDirection.prototype = { toString$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.getRuntimeType(_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.hashValues(_this.left, _this.top, _this.right, _this.bottom, _this.direction, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, 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 = { toString$0(_) { return "TextAffinity." + this._core$_name; } }; A.TextPosition.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.TextPosition && other.offset === this.offset && other.affinity === this.affinity; }, get$hashCode(_) { return A.hashValues(this.offset, this.affinity, 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, 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); }, toString$0(_) { return A.getRuntimeType(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.hashValues(B.JSInt_methods.get$hashCode(this.start), B.JSInt_methods.get$hashCode(this.end), 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, 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); }, 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.getRuntimeType(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.getRuntimeType(this).toString$0(0) + "(width: " + A.S(this.width) + ")"; } }; A.BoxHeightStyle.prototype = { toString$0(_) { return "BoxHeightStyle." + this._core$_name; } }; A.BoxWidthStyle.prototype = { toString$0(_) { return "BoxWidthStyle." + this._core$_name; } }; A.TileMode.prototype = { toString$0(_) { return "TileMode." + this._core$_name; } }; A.FlutterView.prototype = {}; A.FlutterWindow.prototype = {}; A.SingletonFlutterWindow.prototype = {}; A.AccessibilityFeatures.prototype = { toString$0(_) { var features = A._setArrayType([], type$.JSArray_String); return "AccessibilityFeatures" + A.S(features); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.AccessibilityFeatures && true; }, get$hashCode(_) { return B.JSInt_methods.get$hashCode(0); } }; A.Brightness.prototype = { toString$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, this); } }; A.GestureSettings.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; if (other instanceof A.GestureSettings) t1 = true; else t1 = false; return t1; }, get$hashCode(_) { return A.hashValues(null, null, 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, 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); }, toString$0(_) { return "GestureSettings(physicalTouchSlop: null, physicalDoubleTapSlop: null)"; } }; A.PlatformViewRegistry.prototype = {}; A._futurize_closure.prototype = { call$1(t) { var t1 = this.completer; if (t == null) t1.completeError$1(new A._Exception("operation failed")); else t1.complete$1(0, t); }, $signature() { return this.T._eval$1("~(0)"); } }; 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, entries = receiver.entries(); for (; true;) { entry = entries.next(); if (entry.done) return; f.call$2(entry.value[0], 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) { return receiver.size; }, get$isEmpty(receiver) { return receiver.size === 0; }, get$isNotEmpty(receiver) { return receiver.size !== 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")); }, clear$0(receiver) { throw A.wrapException(A.UnsupportedError$("Not supported")); }, $isMap: 1 }; A.AudioParamMap_keys_closure.prototype = { call$2(k, v) { return this.keys.push(k); }, $signature: 43 }; A.AudioParamMap_values_closure.prototype = { call$2(k, v) { return this.values.push(v); }, $signature: 43 }; 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_Interceptor_MapMixin.prototype = {}; A.ActiveInfo.prototype = { get$name(receiver) { return receiver.name; } }; A.AnimatedText.prototype = { get$text(receiver) { return this.text; } }; A.AnimatedTextKit.prototype = { createState$0() { return new A._AnimatedTextKitState(null, B._StateLifecycle_0); } }; A._AnimatedTextKitState.prototype = { initState$0() { this.super$State$initState(); this._initAnimation$0(); }, dispose$0(_) { var t1 = this._animated_text$_timer; if (t1 != null) t1.cancel$0(0); A._lateReadCheck(this.___AnimatedTextKitState__controller, "_controller").dispose$0(0); this.super$__AnimatedTextKitState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var completeText, _this = this, _null = null, _s20_ = "_currentAnimatedText", _s11_ = "_controller", t1 = A._lateReadCheck(_this.___AnimatedTextKitState__currentAnimatedText, _s20_), t2 = A._setArrayType([A.TextSpan$(_null, _null, _null, _null, _null, t1.text), A.TextSpan$(_null, _null, _null, _null, B.TextStyle_xKl, "_")], type$.JSArray_InlineSpan), t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); if (t3 == null) t3 = B.DefaultTextStyle_40S; completeText = A.RichText$(_null, _null, _null, B.TextOverflow_0, true, _null, A.TextSpan$(t2, _null, _null, _null, t3.style.merge$1(t1.textStyle), _null), t1.textAlign, _null, _null, 1, B.TextWidthBasis_0); if (!_this._isCurrentlyPausing) { t1 = A._lateReadCheck(_this.___AnimatedTextKitState__controller, _s11_)._ticker; t1 = !(t1 != null && t1._ticker$_future != null); } else t1 = true; t1 = t1 ? completeText : A.AnimatedBuilder$(A._lateReadCheck(_this.___AnimatedTextKitState__controller, _s11_), A._lateReadCheck(_this.___AnimatedTextKitState__currentAnimatedText, _s20_).get$animatedBuilder(), completeText); return A.GestureDetector$(B.HitTestBehavior_1, t1, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_animated_text$_onTap(), _null, _null, _null, _null, _null, _null, _null); }, get$_isLast() { var t1 = this._animated_text$_index; this._widget.toString; return t1 === 0; }, _nextAnimation$0() { var t1, _this = this, isLast = _this.get$_isLast(); _this._isCurrentlyPausing = false; _this._widget.toString; if (isLast) { t1 = _this._currentRepeatCount !== 2; if (t1) { _this._animated_text$_index = 0; ++_this._currentRepeatCount; } else return; } else ++_this._animated_text$_index; if (_this._framework$_element != null) _this.setState$1(new A._AnimatedTextKitState__nextAnimation_closure()); A._lateReadCheck(_this.___AnimatedTextKitState__controller, "_controller").dispose$0(0); _this._initAnimation$0(); }, _initAnimation$0() { var _this = this, _s20_ = "_currentAnimatedText", _s11_ = "_controller", t1 = _this._widget.animatedTexts[_this._animated_text$_index]; _this.___AnimatedTextKitState__currentAnimatedText = t1; _this.___AnimatedTextKitState__controller = A.AnimationController$(null, A._lateReadCheck(t1, _s20_).duration, null, 1, null, _this); A._lateReadCheck(_this.___AnimatedTextKitState__currentAnimatedText, _s20_).__TypewriterAnimatedText__typewriterText = new A._AnimatedEvaluation(A._lateReadCheck(_this.___AnimatedTextKitState__controller, _s11_), new A.CurveTween(B.C__Linear), type$.CurveTween._eval$1("_AnimatedEvaluation<Animatable.T>")); t1 = A._lateReadCheck(_this.___AnimatedTextKitState__controller, _s11_); t1.addStatusListener$1(_this.get$_animationEndCallback()); t1.forward$0(0); }, _setPause$0() { var _this = this; _this.get$_isLast(); _this._isCurrentlyPausing = true; if (_this._framework$_element != null) _this.setState$1(new A._AnimatedTextKitState__setPause_closure()); _this._widget.toString; }, _animationEndCallback$1(state) { var _this = this; if (state === B.AnimationStatus_3) { _this._setPause$0(); _this._widget.toString; _this._animated_text$_timer = A.Timer_Timer(B.Duration_1000000, _this.get$_nextAnimation()); } }, _animated_text$_onTap$0() { this._widget.toString; } }; A._AnimatedTextKitState__nextAnimation_closure.prototype = { call$0() { }, $signature: 0 }; A._AnimatedTextKitState__setPause_closure.prototype = { call$0() { }, $signature: 0 }; A.__AnimatedTextKitState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.TypewriterAnimatedText.prototype = { animatedBuilder$2(context, child) { var typewriterValue, visibleString, showCursor, _this = this, _null = null, t1 = _this.textCharacters, textLen = t1.get$length(t1), t2 = A._lateReadCheck(_this.__TypewriterAnimatedText__typewriterText, "_typewriterText"), t3 = t2._evaluatable; t2 = t2.parent; typewriterValue = B.JSNumber_methods.round$0(J.clamp$2$n(t3.transform$1(0, t2.get$value(t2)), 0, 1) * (t1.get$length(t1) + 8)); visibleString = _this.text; if (typewriterValue === 0) { showCursor = false; visibleString = ""; } else if (typewriterValue > textLen) showCursor = B.JSInt_methods.$mod(typewriterValue - textLen, 2) === 0; else { A.RangeError_checkNotNegative(typewriterValue, "count"); visibleString = t1._take$1(typewriterValue).string; showCursor = true; } t1 = A.TextSpan$(_null, _null, _null, _null, _null, visibleString); t1 = A._setArrayType([t1, A.TextSpan$(_null, _null, _null, _null, showCursor ? _null : B.TextStyle_xKl, "_")], type$.JSArray_InlineSpan); t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); return A.RichText$(_null, _null, _null, B.TextOverflow_0, true, _null, A.TextSpan$(t1, _null, _null, _null, (t2 == null ? B.DefaultTextStyle_40S : t2).style.merge$1(_this.textStyle), _null), _this.textAlign, _null, _null, 1, B.TextWidthBasis_0); } }; A.Archive.prototype = { get$length(_) { return this.files.length; }, $index(_, index) { return this.files[index]; }, get$first(_) { return B.JSArray_methods.get$first(this.files); }, get$last(_) { return B.JSArray_methods.get$last(this.files); }, get$isEmpty(_) { return this.files.length === 0; }, get$isNotEmpty(_) { return this.files.length !== 0; }, get$iterator(_) { var t1 = this.files; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); } }; A.ArchiveFile.prototype = { get$content(_) { var t2, _this = this, t1 = _this._content; if (t1 == null) { t2 = _this._rawContent; if (t2 != null) { if (_this._compressionType === 8) { t2.toString; t1 = A.Inflate$buffer(t2, _this.size).output; t1 = type$.List_int._as(A.NativeUint8List_NativeUint8List$view(t1._output_stream$_buffer.buffer, 0, t1.length)); _this._content = t1; } else { t1 = t2.toUint8List$0(); _this._content = t1; } _this._compressionType = 0; } } return t1; }, decompress$0() { var t1, t2, _this = this; if (_this._content == null && _this._rawContent != null) { t1 = _this._compressionType; t2 = _this._rawContent; if (t1 === 8) { t2.toString; t1 = A.Inflate$buffer(t2, _this.size).output; _this._content = type$.List_int._as(A.NativeUint8List_NativeUint8List$view(t1._output_stream$_buffer.buffer, 0, t1.length)); } else _this._content = t2.toUint8List$0(); _this._compressionType = 0; } }, toString$0(_) { return this.name; }, get$name(receiver) { return this.name; } }; A.ArchiveException.prototype = {}; A.InputStreamBase.prototype = {}; A.InputStream.prototype = { get$length(_) { return A._lateReadCheck(this.__InputStream__length, "_length") - (this.offset - this.start); }, get$isEOS() { return this.offset >= this.start + A._lateReadCheck(this.__InputStream__length, "_length"); }, $index(_, index) { return this.buffer[this.offset + index]; }, subset$2(position, $length) { return A.InputStream$(this.buffer, this.byteOrder, $length, position + this.start); }, readBytes$1(count) { var _this = this, bytes = _this.subset$2(_this.offset - _this.start, count); _this.offset = _this.offset + bytes.get$length(bytes); return bytes; }, readString$1$size(size) { var str = new A.Utf8Decoder(false).convert$1(this.readBytes$1(size).toUint8List$0()); return str; }, readUint16$0() { var b2, _this = this, t1 = _this.buffer, t2 = _this.offset, t3 = _this.offset = t2 + 1, b1 = t1[t2] & 255; _this.offset = t3 + 1; b2 = t1[t3] & 255; if (_this.byteOrder === 1) return b1 << 8 | b2; return b2 << 8 | b1; }, readUint32$0() { var b2, b3, b4, _this = this, t1 = _this.buffer, t2 = _this.offset, t3 = _this.offset = t2 + 1, b1 = t1[t2] & 255; t2 = _this.offset = t3 + 1; b2 = t1[t3] & 255; t3 = _this.offset = t2 + 1; b3 = t1[t2] & 255; _this.offset = t3 + 1; b4 = t1[t3] & 255; if (_this.byteOrder === 1) return (b1 << 24 | b2 << 16 | b3 << 8 | b4) >>> 0; return (b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, readUint64$0() { var b2, b3, b4, b5, b6, b7, b8, _this = this, t1 = _this.buffer, t2 = _this.offset, t3 = _this.offset = t2 + 1, b1 = t1[t2] & 255; t2 = _this.offset = t3 + 1; b2 = t1[t3] & 255; t3 = _this.offset = t2 + 1; b3 = t1[t2] & 255; t2 = _this.offset = t3 + 1; b4 = t1[t3] & 255; t3 = _this.offset = t2 + 1; b5 = t1[t2] & 255; t2 = _this.offset = t3 + 1; b6 = t1[t3] & 255; t3 = _this.offset = t2 + 1; b7 = t1[t2] & 255; _this.offset = t3 + 1; b8 = t1[t3] & 255; if (_this.byteOrder === 1) return (B.JSInt_methods._shlPositive$1(b1, 56) | B.JSInt_methods._shlPositive$1(b2, 48) | B.JSInt_methods._shlPositive$1(b3, 40) | B.JSInt_methods._shlPositive$1(b4, 32) | b5 << 24 | b6 << 16 | b7 << 8 | b8) >>> 0; return (B.JSInt_methods._shlPositive$1(b8, 56) | B.JSInt_methods._shlPositive$1(b7, 48) | B.JSInt_methods._shlPositive$1(b6, 40) | B.JSInt_methods._shlPositive$1(b5, 32) | b4 << 24 | b3 << 16 | b2 << 8 | b1) >>> 0; }, toUint8List$0() { var t2, t3, end, end0, _this = this, len = _this.get$length(_this), t1 = _this.buffer; if (type$.Uint8List._is(t1)) { t2 = _this.offset; t3 = t1.length; if (t2 + len > t3) len = t3 - t2; return A.NativeUint8List_NativeUint8List$view(t1.buffer, t1.byteOffset + t2, len); } t2 = _this.offset; end = t2 + len; end0 = t1.length; return new Uint8Array(A._ensureNativeList(J.sublist$2$ax(t1, t2, end > end0 ? end0 : end))); } }; A.OutputStreamBase.prototype = {}; A.OutputStream.prototype = { writeBytes$1(bytes) { var t1, t2, t3, t4, _this = this, len = bytes.length; for (; t1 = _this.length, t2 = t1 + len, t3 = _this._output_stream$_buffer, t4 = t3.length, t2 > t4;) _this._expandBuffer$1(t2 - t4); B.NativeUint8List_methods.setRange$3(t3, t1, t2, bytes); _this.length += len; }, writeInputStream$1(stream) { var t1, t2, t3, t4, t5, _this = this; for (t1 = stream.start; t2 = _this.length, t3 = A._lateReadCheck(stream.__InputStream__length, "_length"), t4 = stream.offset, t5 = _this._output_stream$_buffer, t2 + (t3 - (t4 - t1)) > t5.length;) _this._expandBuffer$1(_this.length + (A._lateReadCheck(stream.__InputStream__length, "_length") - (stream.offset - t1)) - _this._output_stream$_buffer.length); t1 = _this.length; B.NativeUint8List_methods.setRange$4(t5, t1, t1 + stream.get$length(stream), stream.buffer, stream.offset); _this.length = _this.length + stream.get$length(stream); }, 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 A.NativeUint8List_NativeUint8List$view(_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.ZipDirectory.prototype = { ZipDirectory$read$2$password(input, password) { var t2, len, dirContent, t3, t4, t5, fname_len, extra_len, comment_len, t6, bytes, id, size, t7, fn_len, ex_len, t8, sigOrCrc, _this = this, _s7_ = "_length", t1 = _this._findSignature$1(input); _this.filePosition = t1; t2 = input.start; input.offset = t2 + t1; input.readUint32$0(); input.readUint16$0(); input.readUint16$0(); input.readUint16$0(); input.readUint16$0(); _this.__ZipDirectory_centralDirectorySize = input.readUint32$0(); _this.__ZipDirectory_centralDirectoryOffset = input.readUint32$0(); len = input.readUint16$0(); if (len > 0) input.readString$1$size(len); _this._readZip64Data$1(input); dirContent = input.subset$2(A._lateReadCheck(_this.__ZipDirectory_centralDirectoryOffset, "centralDirectoryOffset"), A._lateReadCheck(_this.__ZipDirectory_centralDirectorySize, "centralDirectorySize")); for (t1 = dirContent.start, t3 = _this.fileHeaders, t4 = type$.JSArray_int; dirContent.offset < t1 + A._lateReadCheck(dirContent.__InputStream__length, _s7_);) { if (dirContent.readUint32$0() !== 33639248) break; t5 = new A.ZipFileHeader(A._setArrayType([], t4)); t5.versionMadeBy = dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint32$0(); t5.compressedSize = dirContent.readUint32$0(); dirContent.readUint32$0(); fname_len = dirContent.readUint16$0(); extra_len = dirContent.readUint16$0(); comment_len = dirContent.readUint16$0(); dirContent.readUint16$0(); dirContent.readUint16$0(); t5.externalFileAttributes = dirContent.readUint32$0(); t6 = t5.localHeaderOffset = dirContent.readUint32$0(); if (fname_len > 0) t5.filename = dirContent.readString$1$size(fname_len); if (extra_len > 0) { bytes = dirContent.subset$2(dirContent.offset - t1, extra_len); dirContent.offset = dirContent.offset + (A._lateReadCheck(bytes.__InputStream__length, _s7_) - (bytes.offset - bytes.start)); t5.extraField = bytes.toUint8List$0(); id = bytes.readUint16$0(); size = bytes.readUint16$0(); if (id === 1) { if (size >= 8) bytes.readUint64$0(); if (size >= 16) t5.compressedSize = bytes.readUint64$0(); if (size >= 24) { t6 = bytes.readUint64$0(); t5.localHeaderOffset = t6; } if (size >= 28) bytes.readUint32$0(); } } if (comment_len > 0) dirContent.readString$1$size(comment_len); input.offset = t2 + t6; t6 = new A.ZipFile(A._setArrayType([], t4), t5, A._setArrayType([0, 0, 0], t4)); t7 = input.readUint32$0(); t6.signature = t7; if (t7 !== 67324752) A.throwExpression(A.ArchiveException$("Invalid Zip Signature")); input.readUint16$0(); t7 = input.readUint16$0(); t6.flags = t7; t6.compressionMethod = input.readUint16$0(); t6.lastModFileTime = input.readUint16$0(); t6.lastModFileDate = input.readUint16$0(); t6.crc32 = input.readUint32$0(); input.readUint32$0(); t6.uncompressedSize = input.readUint32$0(); fn_len = input.readUint16$0(); ex_len = input.readUint16$0(); t6.filename = input.readString$1$size(fn_len); bytes = input.subset$2(input.offset - t2, ex_len); input.offset = input.offset + (A._lateReadCheck(bytes.__InputStream__length, _s7_) - (bytes.offset - bytes.start)); t6.extraField = bytes.toUint8List$0(); t8 = t5.compressedSize; t8.toString; bytes = input.subset$2(input.offset - t2, t8); input.offset = input.offset + (A._lateReadCheck(bytes.__InputStream__length, _s7_) - (bytes.offset - bytes.start)); t6.__ZipFile__rawContent = bytes; if ((t7 & 8) !== 0) { sigOrCrc = input.readUint32$0(); if (sigOrCrc === 134695760) t6.crc32 = input.readUint32$0(); else t6.crc32 = sigOrCrc; input.readUint32$0(); t6.uncompressedSize = input.readUint32$0(); } t5.file = t6; t3.push(t5); } }, _readZip64Data$1(input) { var zip64, zip64DirOffset, dirSize, dirOffset, t1 = input.start, ip = input.offset - t1, locPos = this.filePosition - 20; if (locPos < 0) return; zip64 = input.subset$2(locPos, 20); if (zip64.readUint32$0() !== 117853008) { input.offset = t1 + ip; return; } zip64.readUint32$0(); zip64DirOffset = zip64.readUint64$0(); zip64.readUint32$0(); input.offset = t1 + zip64DirOffset; if (input.readUint32$0() !== 101075792) { input.offset = t1 + ip; return; } input.readUint64$0(); input.readUint16$0(); input.readUint16$0(); input.readUint32$0(); input.readUint32$0(); input.readUint64$0(); input.readUint64$0(); dirSize = input.readUint64$0(); dirOffset = input.readUint64$0(); this.__ZipDirectory_centralDirectorySize = dirSize; this.__ZipDirectory_centralDirectoryOffset = dirOffset; input.offset = t1 + ip; }, _findSignature$1(input) { var ip, t1 = input.offset, t2 = input.start; for (ip = input.get$length(input) - 4; ip >= 0; --ip) { input.offset = t2 + ip; if (input.readUint32$0() === 101010256) { input.offset = t2 + (t1 - t2); return ip; } } throw A.wrapException(A.ArchiveException$("Could not find End of Central Directory Record")); } }; A.ZipFile.prototype = { get$rawContent() { var t1 = this._zip_file$_content; if (t1 != null) return t1; else return A._lateReadCheck(this.__ZipFile__rawContent, "_rawContent"); }, toString$0(_) { return this.filename; } }; A.ZipFileHeader.prototype = { toString$0(_) { return this.filename; } }; A.ZipDecoder.prototype = { decodeBuffer$3$password$verify(input, password, verify) { var t2, t3, t4, _i, zfh, t5, t6, $content, t7, t8, t9, file, t10, t11, t1 = new A.ZipDirectory(A._setArrayType([], type$.JSArray_ZipFileHeader)); t1.ZipDirectory$read$2$password(input, password); this.__ZipDecoder_directory = t1; t1 = A._setArrayType([], type$.JSArray_ArchiveFile); for (t2 = A._lateReadCheck(this.__ZipDecoder_directory, "directory").fileHeaders, t3 = t2.length, t4 = type$.List_int, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { zfh = t2[_i]; t5 = zfh.file; t5.toString; t6 = zfh.externalFileAttributes; t6.toString; $content = t5.get$rawContent(); t7 = t5.filename; t8 = t5.uncompressedSize; t8.toString; t9 = t5.compressionMethod; file = new A.ArchiveFile(t7, t8, B.JSInt_methods._tdivFast$1(Date.now(), 1000), t9); t7 = A.stringReplaceAllUnchecked(t7, "\\", "/"); file.name = t7; if (t4._is($content)) { file._content = $content; file._rawContent = A.InputStream$($content, 0, null, 0); } else if ($content instanceof A.InputStream) { t8 = $content.buffer; t9 = $content.offset; t10 = $content.start; t11 = A._lateReadCheck($content.__InputStream__length, "_length"); file._rawContent = new A.InputStream(t8, t9, t10, $content.byteOrder, t11); } file.mode = t6 >>> 16; if (zfh.versionMadeBy >>> 8 !== 3) B.JSString_methods.endsWith$1(t7, "/"); file.lastModTime = (t5.lastModFileDate << 16 | t5.lastModFileTime) >>> 0; t1.push(file); } return new A.Archive(t1); } }; A.HuffmanTable.prototype = { HuffmanTable$1(lengths) { var i, t1, size, bitLength, code, skip, rtemp, reversed, j, t2, _this = this, listSize = lengths.length; for (i = 0; i < listSize; ++i) { t1 = lengths[i]; if (t1 > _this.maxCodeLength) _this.maxCodeLength = t1; if (t1 < _this.minCodeLength) _this.minCodeLength = t1; } size = B.JSInt_methods._shlPositive$1(1, _this.maxCodeLength); _this.__HuffmanTable_table = new Uint32Array(size); for (bitLength = 1, code = 0, skip = 2; bitLength <= _this.maxCodeLength;) { for (t1 = bitLength << 16, i = 0; i < listSize; ++i) if (lengths[i] === bitLength) { for (rtemp = code, reversed = 0, j = 0; j < bitLength; ++j) { reversed = (reversed << 1 | rtemp & 1) >>> 0; rtemp = rtemp >>> 1; } for (t2 = (t1 | i) >>> 0, j = reversed; j < size; j += skip) A._lateReadCheck(_this.__HuffmanTable_table, "table")[j] = t2; ++code; } ++bitLength; code = code << 1 >>> 0; skip = skip << 1 >>> 0; } } }; A.Inflate.prototype = { _inflate$0() { var t1, t2, _this = this; _this._bitBufferLen = _this._bitBuffer = 0; if (!_this.inputSet) return; for (t1 = _this.__Inflate_input; t2 = A._lateReadCheck(t1, "input"), t2.offset < t2.start + A._lateReadCheck(t2.__InputStream__length, "_length");) if (!_this._parseBlock$0()) break; }, _parseBlock$0() { var hdr, btype, len, t2, _this = this, _s5_ = "input", t1 = _this.__Inflate_input; if (A._lateReadCheck(t1, _s5_).get$isEOS()) return false; hdr = _this._readBits$1(3); btype = hdr >>> 1; switch (btype) { case 0: _this._bitBufferLen = _this._bitBuffer = 0; len = _this._readBits$1(16); t2 = _this._readBits$1(16); if (len !== 0 && len !== (t2 ^ 65535) >>> 0) A.throwExpression(A.ArchiveException$("Invalid uncompressed block header")); t2 = A._lateReadCheck(t1, _s5_); if (len > t2.get$length(t2)) A.throwExpression(A.ArchiveException$("Input buffer is broken")); _this.output.writeInputStream$1(A._lateReadCheck(t1, _s5_).readBytes$1(len)); break; case 1: _this._decodeHuffman$2(_this._fixedLiteralLengthTable, _this._fixedDistanceTable); break; case 2: _this._parseDynamicHuffmanBlock$0(); break; default: throw A.wrapException(A.ArchiveException$("unknown BTYPE: " + btype)); } return (hdr & 1) === 0; }, _readBits$1($length) { var t1, t2, t3, t4, _this = this; if ($length === 0) return 0; for (t1 = _this.__Inflate_input; t2 = _this._bitBufferLen, t2 < $length;) { t2 = A._lateReadCheck(t1, "input"); if (t2.offset >= t2.start + A._lateReadCheck(t2.__InputStream__length, "_length")) throw A.wrapException(A.ArchiveException$("input buffer is broken")); t2 = A._lateReadCheck(t1, "input"); t2 = t2.buffer[t2.offset++]; 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 t2, t3, t4, t5, codeWithLength, codeLength, _this = this, t1 = A._lateReadCheck(table.__HuffmanTable_table, "table"), maxCodeLength = table.maxCodeLength; for (t2 = _this.__Inflate_input; _this._bitBufferLen < maxCodeLength;) { t3 = A._lateReadCheck(t2, "input"); if (t3.offset >= t3.start + A._lateReadCheck(t3.__InputStream__length, "_length")) break; t3 = A._lateReadCheck(t2, "input"); t3 = t3.buffer[t3.offset++]; 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._shlPositive$1(1, maxCodeLength) - 1) >>> 0]; codeLength = codeWithLength >>> 16; _this._bitBuffer = B.JSInt_methods._shrBothPositive$1(t2, codeLength); _this._bitBufferLen -= codeLength; return codeWithLength & 65535; }, _parseDynamicHuffmanBlock$0() { var i, codeLengthsTable, litlenLengths, distLengths, litlen, dist, _this = this, numLitLengthCodes = _this._readBits$1(5) + 257, numDistanceCodes = _this._readBits$1(5) + 1, numCodeLengths = _this._readBits$1(4) + 4, codeLengths = new Uint8Array(19); for (i = 0; i < numCodeLengths; ++i) codeLengths[B.List_uSC[i]] = _this._readBits$1(3); codeLengthsTable = A.HuffmanTable$(codeLengths); litlenLengths = new Uint8Array(numLitLengthCodes); distLengths = new Uint8Array(numDistanceCodes); litlen = _this._decode$3(numLitLengthCodes, codeLengthsTable, litlenLengths); dist = _this._decode$3(numDistanceCodes, codeLengthsTable, distLengths); _this._decodeHuffman$2(A.HuffmanTable$(litlen), A.HuffmanTable$(dist)); }, _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 > 285) throw A.wrapException(A.ArchiveException$("Invalid Huffman Code " + code)); if (code === 256) break; if (code < 256) { if (t1.length === t1._output_stream$_buffer.length) t1._expandBuffer$0(); t1._output_stream$_buffer[t1.length++] = code & 255; continue; } ti = code - 257; codeLength = B.List_qQn[ti] + _this._readBits$1(B.List_eea[ti]); distCode = _this._readCodeByTable$1(dist); if (distCode <= 29) { distance = B.List_i3t[distCode] + _this._readBits$1(B.List_X3d0[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)); } else throw A.wrapException(A.ArchiveException$("Illegal unused distance symbol")); } for (t1 = _this.__Inflate_input; t2 = _this._bitBufferLen, t2 >= 8;) { _this._bitBufferLen = t2 - 8; t2 = A._lateReadCheck(t1, "input"); if (--t2.offset < 0) t2.offset = 0; } }, _decode$3(num, table, lengths) { var prev, i, code, repeat, repeat0, i0, _this = this; for (prev = 0, i = 0; i < num;) { code = _this._readCodeByTable$1(table); switch (code) { case 16: repeat = 3 + _this._readBits$1(2); for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; lengths[i] = prev; } break; case 17: repeat = 3 + _this._readBits$1(3); for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; lengths[i] = 0; } prev = 0; break; case 18: repeat = 11 + _this._readBits$1(7); for (; repeat0 = repeat - 1, repeat > 0; repeat = repeat0, i = i0) { i0 = i + 1; lengths[i] = 0; } prev = 0; break; default: if (code > 15) throw A.wrapException(A.ArchiveException$("Invalid Huffman Code: " + code)); i0 = i + 1; lengths[i] = code; i = i0; prev = code; break; } } return lengths; } }; 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; }, 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; }, _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)); }, $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 type$.Characters._is(other) && this.string === other.string; }, get$hashCode(_) { return B.JSString_methods.get$hashCode(this.string); }, toString$0(_) { return this.string; }, $isCharacters: 1 }; 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 = B.JSString_methods.codeUnitAt$1(t1, index); nextIndex = index + 1; if ((char & 64512) !== 55296) category = A.low(char); else if (nextIndex < t2) { nextChar = B.JSString_methods.codeUnitAt$1(t1, nextIndex); if ((nextChar & 64512) === 56320) { ++nextIndex; category = A.high(char, nextChar); } else category = 2; } else category = 2; state = B.JSString_methods._codeUnitAt$1(string$.x200_000, (state & 240 | category) >>> 0); 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; } }, dropLast$0() { var t1, breaks, count, nextBreak, _this = this; A.RangeError_checkNotNegative(1, "count"); t1 = _this._characters_impl$_end; breaks = new A.BackBreaks(_this._characters_impl$_string, _this._characters_impl$_start, t1, 176); for (count = 1; count > 0;) { nextBreak = breaks.nextBreak$0(); if (nextBreak >= 0) { _this._characters_impl$_end = nextBreak; _this._currentCache = null; --count; } else return false; } return true; }, 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; }, $isIterator: 1 }; 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 = B.JSString_methods.codeUnitAt$1(t2, t3); if ((char & 64512) !== 55296) { t4 = B.JSString_methods._codeUnitAt$1(_s192_, _this.state & 240 | A.low(char)); _this.state = t4; if ((t4 & 1) === 0) return t3; continue; } if (t4 < t1) { nextChar = B.JSString_methods.codeUnitAt$1(t2, t4); if ((nextChar & 64512) === 56320) { category = A.high(char, nextChar); ++_this.cursor; } else category = 2; } else category = 2; t4 = B.JSString_methods._codeUnitAt$1(_s192_, (_this.state & 240 | category) >>> 0); _this.state = t4; if ((t4 & 1) === 0) return t3; } t1 = B.JSString_methods._codeUnitAt$1(_s192_, _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 = B.JSString_methods.codeUnitAt$1(t2, t4); if ((char & 64512) !== 56320) { t4 = _this.state = B.JSString_methods._codeUnitAt$1(_s208_, _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 = B.JSString_methods.codeUnitAt$1(t2, t4 - 1); if ((prevChar & 64512) === 55296) { category = A.high(prevChar, char); t4 = --_this.cursor; } else category = 2; } else category = 2; t5 = _this.state = B.JSString_methods._codeUnitAt$1(_s208_, (_this.state & 240 | category) >>> 0); if (((t5 >= 208 ? _this.state = A.lookAhead(t2, t1, t4, t5) : t5) & 1) === 0) return t3; } t4 = _this.state = B.JSString_methods._codeUnitAt$1(_s208_, _this.state & 240 | 15); if (((t4 >= 208 ? _this.state = A.lookAhead(t2, t1, t3, t4) : t4) & 1) === 0) return _this.cursor; return -1; } }; A.AnimatedPlayPause.prototype = { createState$0() { return new A.AnimatedPlayPauseState(null, B._StateLifecycle_0); } }; A.AnimatedPlayPauseState.prototype = { get$animationController() { var result, _this = this, value = _this.__AnimatedPlayPauseState_animationController; if (value === $) { result = A.AnimationController$(null, B.Duration_400000, null, 1, _this._widget.playing ? 1 : 0, _this); A._lateInitializeOnceCheck(_this.__AnimatedPlayPauseState_animationController, "animationController"); _this.__AnimatedPlayPauseState_animationController = result; value = result; } return value; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget.playing; if (t1 !== oldWidget.playing) if (t1) _this.get$animationController().forward$0(0); else _this.get$animationController().reverse$0(0); }, dispose$0(_) { this.get$animationController().dispose$0(0); this.super$_AnimatedPlayPauseState_State_SingleTickerProviderStateMixin$dispose0(0); }, build$1(_, context) { return A.Center$(A.AnimatedIcon$(this._widget.color, B.C__AnimatedIconData, this.get$animationController(), null), null, null); } }; A._AnimatedPlayPauseState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.CenterPlayButton.prototype = { build$1(_, context) { var _this = this, _null = null, t1 = _this.show ? 1 : 0, t2 = A.BorderRadius$circular(48), t3 = _this.iconColor; t3 = _this.isFinished ? A.Icon$(B.IconData_58659_MaterialIcons_null_false, t3, _null) : A.AnimatedPlayPause$(t3, _this.isPlaying); return A.Container$(_null, A.Center$(A.AnimatedOpacity$(false, A.GestureDetector$(_null, A.Container$(_null, new A.Padding(B.EdgeInsets_12_12_12_12, A.IconButton$(B.Alignment_0_0, _null, _null, true, t3, 32, _this.onPressed, B.EdgeInsets_8_8_8_8, _null, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(_this.backgroundColor, _null, _null, t2, _null, _null, B.BoxShape_0), _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), B.C__Linear, B.Duration_300000, t1), _null, _null), B.Clip_0, B.Color_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.Chewie.prototype = { createState$0() { return new A.ChewieState(B._StateLifecycle_0); } }; A.ChewieState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); _this._widget.controller.addListener$1(0, _this.get$listener(_this)); }, dispose$0(_) { var _this = this; _this._widget.controller.removeListener$1(0, _this.get$listener(_this)); _this.super$State$dispose(0); }, didUpdateWidget$1(oldWidget) { var _this = this, t1 = _this._widget.controller; if (oldWidget.controller !== t1) t1.addListener$1(0, _this.get$listener(_this)); _this.super$State$didUpdateWidget(oldWidget); }, listener$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$listener$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._widget.controller._isFullScreen && !$async$self._isFullScreen ? 2 : 4; break; case 2: // then $async$self._isFullScreen = true; t1 = $async$self._framework$_element; t1.toString; $async$goto = 5; return A._asyncAwait($async$self._pushFullScreenWidget$1(t1), $async$listener$0); case 5: // returning from await. // goto join $async$goto = 3; break; case 4: // else if ($async$self._isFullScreen) { t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, true).pop$0(0); $async$self._isFullScreen = false; } case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$listener$0, $async$completer); }, build$1(_, context) { return A._ChewieControllerProvider$(B.PlayerWithControls_null, this._widget.controller); }, _defaultRoutePageBuilder$4(context, animation, secondaryAnimation, controllerProvider) { return A.AnimatedBuilder$(animation, new A.ChewieState__defaultRoutePageBuilder_closure(this, animation, controllerProvider), null); }, _fullScreenRoutePageBuilder$3(context, animation, secondaryAnimation) { var t1 = this._defaultRoutePageBuilder$4(context, animation, secondaryAnimation, A._ChewieControllerProvider$(B.PlayerWithControls_null, this._widget.controller)); return t1; }, _pushFullScreenWidget$1(context) { return this._pushFullScreenWidget$body$ChewieState(context); }, _pushFullScreenWidget$body$ChewieState(context) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1, t2, t3, t4, t5, t6, t7, t8, t9, videoWidth, videoHeight; var $async$_pushFullScreenWidget$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 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t2 = $.Zone__current; t3 = type$._Future_void; t4 = type$._AsyncCompleter_void; t5 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t6 = A._setArrayType([], type$.JSArray_OverlayEntry); t7 = A.List_List$filled(0, null, false, type$.nullable_void_Function); t8 = $.Zone__current; t9 = $async$self._widget.controller.videoPlayerController._change_notifier$_value.size; videoWidth = t9._dx; videoHeight = t9._dy; A.SystemChrome_setEnabledSystemUIOverlays(A._setArrayType([], type$.JSArray_SystemUiOverlay)); $async$self._widget.toString; if (videoWidth > videoHeight) A.SystemChrome_setPreferredOrientations(A._setArrayType([B.DeviceOrientation_1, B.DeviceOrientation_3], type$.JSArray_DeviceOrientation)); else if (videoWidth < videoHeight) A.SystemChrome_setPreferredOrientations(A._setArrayType([B.DeviceOrientation_0, B.DeviceOrientation_2], type$.JSArray_DeviceOrientation)); else A.SystemChrome_setPreferredOrientations(B.List_oGx); if (!$async$self._widget.controller.allowedScreenSleep) $.$get$wakelockPlatformInstance().toggle$1$enable(0, true); $async$goto = 2; return A._asyncAwait(A.Navigator_of(context, true).push$1(new A.PageRouteBuilder($async$self.get$_fullScreenRoutePageBuilder(), false, null, t1, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey__ModalScopeState_void), new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), null, new A._AsyncCompleter(new A._Future(t2, t3), t4), t5, t6, B.RouteSettings_null_null, new A.ValueNotifier(null, t7, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t8, t3), t4), type$.PageRouteBuilder_void)), $async$_pushFullScreenWidget$1); case 2: // returning from await. $async$self._isFullScreen = false; t1 = $async$self._widget.controller; t1._isFullScreen = false; t1.notifyListeners$0(); $.$get$wakelockPlatformInstance().toggle$1$enable(0, false); $async$self._widget.toString; A.SystemChrome_setEnabledSystemUIOverlays(B.List_C3K); $async$self._widget.toString; A.SystemChrome_setPreferredOrientations(B.List_oGx); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_pushFullScreenWidget$1, $async$completer); } }; A.ChewieState__defaultRoutePageBuilder_closure.prototype = { call$2(context, child) { var _null = null; return A.Scaffold$(_null, _null, A.Container$(B.Alignment_0_0, this.controllerProvider, B.Clip_0, B.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, true, _null, false); }, $signature: 53 }; A.ChewieController.prototype = { _chewie_player$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1; var $async$_chewie_player$_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.videoPlayerController; $async$goto = 2; return A._asyncAwait(t1.setLooping$1($async$self.looping), $async$_chewie_player$_initialize$0); case 2: // returning from await. $async$goto = ($async$self.autoInitialize || $async$self.autoPlay) && !t1._change_notifier$_value.isInitialized ? 3 : 4; break; case 3: // then $async$goto = 5; return A._asyncAwait(t1.initialize$0(0), $async$_chewie_player$_initialize$0); case 5: // returning from await. case 4: // join $async$goto = $async$self.autoPlay ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(t1.play$0(0), $async$_chewie_player$_initialize$0); case 8: // returning from await. case 7: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_chewie_player$_initialize$0, $async$completer); } }; A._ChewieControllerProvider.prototype = { updateShouldNotify$1(old) { return this.controller !== old.controller; } }; A.ChewieProgressColors.prototype = {}; A.CupertinoControls.prototype = { createState$0() { return new A._CupertinoControlsState(null, B._StateLifecycle_0); } }; A._CupertinoControlsState.prototype = { build$1(_, context) { var t1, barHeight, buttonPadding, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, _s12_ = "_latestValue", _s10_ = "controller"; if (A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).errorDescription != null) { _this._chewieController.toString; return B.Center_idR; } _this._widget.toString; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t1 = t1.get$orientation(t1) === B.Orientation_0; barHeight = t1 ? 30 : 47; buttonPadding = t1 ? 16 : 24; t1 = _this._hideStuff; t2 = type$.JSArray_Widget; t3 = A._setArrayType([], t2); if (_this._chewieController.allowFullScreen) { t4 = _this._hideStuff ? 0 : 1; t5 = A.BorderRadius$circular(10); t6 = A.ImageFilter_ImageFilter$blur(10, 0); t3.push(A.GestureDetector$(_null, A.AnimatedOpacity$(false, A.ClipRRect$(t5, A.BackdropFilter$(A.Container$(_null, A.Center$(A.Icon$(_this._chewieController._isFullScreen ? B.IconData_s2l : B.IconData_EBZ, B.Color_4291348680, 16), _null, _null), B.Clip_0, B.Color_2989041961, _null, _null, _null, barHeight, _null, _null, new A.EdgeInsets(buttonPadding, 0, buttonPadding, 0), _null, _null, _null), t6)), B.C__Linear, B.Duration_300000, t4), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_onExpandCollapse(), _null, _null, _null, _null, _null, _null, _null)); } t3.push(B.Spacer_null); _this._chewieController.toString; t4 = A._lateReadCheck(_this.___CupertinoControlsState_controller, _s10_); t3.push(_this._buildMuteButton$5(t4, B.Color_2989041961, B.Color_4291348680, barHeight, buttonPadding)); t3 = A._setArrayType([A.Container$(_null, A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, _null, _null, barHeight, _null, new A.EdgeInsets(5, 5, 5, 0), _null, _null, _null, _null), _this._buildHitArea$0()], t2); if (_this._subtitleOn) { t4 = _this._hideStuff ? 44.800000000000004 : 0; _this._chewieController.toString; null.toString; t3.push(A.Transform$translate(_this._buildSubtitles$1(null), null, new A.Offset(0, t4))); } t4 = _this._hideStuff ? 0 : 1; t5 = A.BorderRadius$circular(10); t6 = A.ImageFilter_ImageFilter$blur(10, 10); _this._chewieController.toString; t7 = A.GestureDetector$(_null, A.Container$(_null, A.Icon$(B.IconData_EBZ0, B.Color_4291348680, 18), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_10_0_0_0, B.EdgeInsets_6_0_6_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_skipBack(), _null, _null, _null, _null, _null, _null, _null); t8 = A._lateReadCheck(_this.___CupertinoControlsState_controller, _s10_); t2 = A._setArrayType([t7, _this._buildPlayPause$3(t8, B.Color_4291348680, barHeight), A.GestureDetector$(_null, A.Container$(_null, A.Icon$(B.IconData_s2l0, B.Color_4291348680, 18), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_0_0_8_0, B.EdgeInsets_6_0_8_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_skipForward(), _null, _null, _null, _null, _null, _null, _null), new A.Padding(B.EdgeInsets_0_0_12_0, A.Text$(A.formatDuration(A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).position), _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4291348680, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), _this._buildProgressBar$0(), new A.Padding(B.EdgeInsets_0_0_12_0, A.Text$("-" + A.formatDuration(new A.Duration(A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).duration._duration - A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).position._duration)), _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4291348680, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), _this._buildSubtitleToggle$2(B.Color_4291348680, barHeight)], t2); _this._chewieController.toString; t7 = A._lateReadCheck(_this.___CupertinoControlsState_controller, _s10_); t2.push(_this._buildSpeedButton$3(t7, B.Color_4291348680, barHeight)); t2 = A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t3.push(A.AnimatedOpacity$(false, A.Container$(B.Alignment_0_1, A.ClipRRect$(t5, A.BackdropFilter$(A.Container$(_null, t2, B.Clip_0, B.Color_2989041961, _null, _null, _null, barHeight, _null, _null, _null, _null, _null, _null), t6)), B.Clip_0, B.Color_0, _null, _null, _null, _null, _null, new A.EdgeInsets(5, 5, 5, 5), _null, _null, _null, _null), B.C__Linear, B.Duration_300000, t4)); return A.MouseRegion$(A.GestureDetector$(_null, A.AbsorbPointer$(t1, A.Column$(t3, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CupertinoControlsState_build_closure(_this), _null, _null, _null, _null, _null, _null, _null), B.C__DeferringMouseCursor, _null, _null, _null, new A._CupertinoControlsState_build_closure0(_this)); }, dispose$0(_) { this._dispose$0(); this.super$__CupertinoControlsState_State_SingleTickerProviderStateMixin$dispose0(0); }, _dispose$0() { var _this = this, t1 = A._lateReadCheck(_this.___CupertinoControlsState_controller, "controller"); if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, _this.get$_updateState()); t1 = _this._hideTimer; if (t1 != null) t1.cancel$0(0); t1 = _this._expandCollapseTimer; if (t1 != null) t1.cancel$0(0); t1 = _this._initTimer; if (t1 != null) t1.cancel$0(0); }, didChangeDependencies$0() { var _this = this, _oldController = _this._chewieController, t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieControllerProvider); t1.toString; t1 = _this._chewieController = t1.controller; _this.___CupertinoControlsState_controller = t1.videoPlayerController; if (_oldController !== t1) { _this._dispose$0(); _this._cupertino_controls$_initialize$0(); } _this.super$__CupertinoControlsState_State_SingleTickerProviderStateMixin$didChangeDependencies(); }, _buildSubtitles$1(subtitles) { var t1, currentSubtitle, t2, _null = null; if (!this._subtitleOn) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t1 = this._subtitlesPosition; if (t1 == null) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); currentSubtitle = subtitles.getByPosition$1(t1); if (currentSubtitle.get$isEmpty(currentSubtitle)) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); this._chewieController.toString; t1 = A.BorderRadius$circular(10); t2 = currentSubtitle.get$first(currentSubtitle); return new A.Padding(new A.EdgeInsets(5, 0, 5, 0), A.Container$(_null, A.Text$(t2.get$text(t2), _null, _null, _null, _null, B.TextStyle_zIQ1, B.TextAlign_2, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(B.Color_2516582400, _null, _null, t1, _null, _null, B.BoxShape_0), _null, _null, _null, _null, B.EdgeInsets_5_5_5_5, _null, _null, _null), _null); }, _buildHitArea$0() { var t4, t5, _this = this, _null = null, _s12_ = "_latestValue", t1 = A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).position, t2 = A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).duration, t3 = A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).isPlaying ? _this.get$_cancelAndRestartTimer() : new A._CupertinoControlsState__buildHitArea_closure(_this); _this._widget.toString; t4 = A._lateReadCheck(_this.___CupertinoControlsState_controller, "controller")._change_notifier$_value.isPlaying; t5 = !A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).isPlaying && !_this._dragging; return A.Expanded$(A.GestureDetector$(_null, A.CenterPlayButton$(B.Color_2989041961, B.Color_4291348680, t1._duration >= t2._duration, t4, _this.get$_playPause(), t5), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null), 1); }, _buildMuteButton$5(controller, backgroundColor, iconColor, barHeight, buttonPadding) { var _null = null, t1 = this._hideStuff ? 0 : 1, t2 = A.BorderRadius$circular(10), t3 = A.ImageFilter_ImageFilter$blur(10, 0); return A.GestureDetector$(_null, A.AnimatedOpacity$(false, A.ClipRRect$(t2, A.BackdropFilter$(A.Container$(_null, A.Container$(_null, A.Icon$(A._lateReadCheck(this.___CupertinoControlsState__latestValue, "_latestValue").volume > 0 ? B.IconData_59077_MaterialIcons_null_false : B.IconData_59076_MaterialIcons_null_false, iconColor, 16), B.Clip_0, _null, _null, _null, _null, barHeight, _null, _null, new A.EdgeInsets(buttonPadding, 0, buttonPadding, 0), _null, _null, _null), B.Clip_0, backgroundColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t3)), B.C__Linear, B.Duration_300000, t1), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CupertinoControlsState__buildMuteButton_closure(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _buildPlayPause$3(controller, iconColor, barHeight) { var _null = null; this._widget.toString; return A.GestureDetector$(_null, A.Container$(_null, A.AnimatedPlayPause$(B.Color_4291348680, controller._change_notifier$_value.isPlaying), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, _null, B.EdgeInsets_6_0_6_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.get$_playPause(), _null, _null, _null, _null, _null, _null, _null); }, _buildSubtitleToggle$2(iconColor, barHeight) { var t1, _null = null; this._chewieController.toString; t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return t1; }, _buildSpeedButton$3(controller, iconColor, barHeight) { var _null = null, t1 = A.Matrix4_Matrix4$skewY(0); t1.rotateX$1(3.141592653589793); t1.rotateZ$1(2.5132741228718345); return A.GestureDetector$(_null, A.Container$(_null, A.Transform$(B.Alignment_0_0, A.Icon$(B.IconData_58848_MaterialIcons_null_false, iconColor, 18), t1, true), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_0_0_8_0, B.EdgeInsets_6_0_8_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CupertinoControlsState__buildSpeedButton_closure(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _cancelAndRestartTimer$0() { var t1 = this._hideTimer; if (t1 != null) t1.cancel$0(0); this.setState$1(new A._CupertinoControlsState__cancelAndRestartTimer_closure(this)); }, _cupertino_controls$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$_cupertino_controls$_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 $async$self._chewieController.toString; $async$self._subtitleOn = false; A._lateReadCheck($async$self.___CupertinoControlsState_controller, "controller").addListener$1(0, $async$self.get$_updateState()); $async$self._updateState$0(); if (A._lateReadCheck($async$self.___CupertinoControlsState_controller, "controller")._change_notifier$_value.isPlaying || $async$self._chewieController.autoPlay) $async$self._startHideTimer$0(); $async$self._chewieController.toString; $async$self._initTimer = A.Timer_Timer(B.Duration_200000, new A._CupertinoControlsState__initialize_closure($async$self)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_cupertino_controls$_initialize$0, $async$completer); }, _onExpandCollapse$0() { this.setState$1(new A._CupertinoControlsState__onExpandCollapse_closure(this)); }, _buildProgressBar$0() { var t2, _this = this, t1 = A._lateReadCheck(_this.___CupertinoControlsState_controller, "controller"); _this._chewieController.toString; t2 = A.ChewieProgressColors$(B.Color_352321535, B.Color_1023410175, B.Color_4294967295, B.Color_2030043135); return A.Expanded$(new A.Padding(B.EdgeInsets_0_0_12_0, new A.CupertinoVideoProgressBar(t1, t2, new A._CupertinoControlsState__buildProgressBar_closure(_this), new A._CupertinoControlsState__buildProgressBar_closure0(_this), null), null), 1); }, _playPause$0() { var _this = this, _s12_ = "_latestValue"; _this.setState$1(new A._CupertinoControlsState__playPause_closure(_this, A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).position._duration >= A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).duration._duration)); }, _skipBack$0() { this._cancelAndRestartTimer$0(); var skip = B.JSInt_methods._tdivFast$1(A._lateReadCheck(this.___CupertinoControlsState__latestValue, "_latestValue").position._duration - 15000000, 1000); A._lateReadCheck(this.___CupertinoControlsState_controller, "controller").seekTo$1(A.Duration$(0, 0, 0, Math.max(skip, 0), 0)); }, _skipForward$0() { var end, skip, _this = this, _s12_ = "_latestValue"; _this._cancelAndRestartTimer$0(); end = B.JSInt_methods._tdivFast$1(A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).duration._duration, 1000); skip = B.JSInt_methods._tdivFast$1(A._lateReadCheck(_this.___CupertinoControlsState__latestValue, _s12_).position._duration + 15000000, 1000); A._lateReadCheck(_this.___CupertinoControlsState_controller, "controller").seekTo$1(A.Duration$(0, 0, 0, Math.min(skip, end), 0)); }, _startHideTimer$0() { this._hideTimer = A.Timer_Timer(B.Duration_3000000, new A._CupertinoControlsState__startHideTimer_closure(this)); }, _updateState$0() { if (this._framework$_element == null) return; this.setState$1(new A._CupertinoControlsState__updateState_closure(this)); } }; A._CupertinoControlsState_build_closure0.prototype = { call$1(_) { this.$this._cancelAndRestartTimer$0(); }, $signature: 199 }; A._CupertinoControlsState_build_closure.prototype = { call$0() { this.$this._cancelAndRestartTimer$0(); }, $signature: 0 }; A._CupertinoControlsState__buildHitArea_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._hideTimer; if (t2 != null) t2.cancel$0(0); t1.setState$1(new A._CupertinoControlsState__buildHitArea__closure(t1)); }, $signature: 0 }; A._CupertinoControlsState__buildHitArea__closure.prototype = { call$0() { this.$this._hideStuff = false; }, $signature: 0 }; A._CupertinoControlsState__buildMuteButton_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._cancelAndRestartTimer$0(); t2 = this.controller; if (A._lateReadCheck(t1.___CupertinoControlsState__latestValue, "_latestValue").volume === 0) { t1 = t1._latestVolume; t2.setVolume$1(t1 == null ? 0.5 : t1); } else { t1._latestVolume = t2._change_notifier$_value.volume; t2.setVolume$1(0); } }, $signature: 0 }; A._CupertinoControlsState__buildSpeedButton_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, chosenSpeed, t1, t2; 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; t2 = t1._hideTimer; if (t2 != null) t2.cancel$0(0); t2 = t1._framework$_element; t2.toString; $async$goto = 2; return A._asyncAwait(A.showCupertinoModalPopup(new A._CupertinoControlsState__buildSpeedButton__closure(t1), t2, true, true, type$.double), $async$call$0); case 2: // returning from await. chosenSpeed = $async$result; if (chosenSpeed != null) $async$self.controller.setPlaybackSpeed$1(chosenSpeed); if (A._lateReadCheck(t1.___CupertinoControlsState__latestValue, "_latestValue").isPlaying) t1._startHideTimer$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._CupertinoControlsState__buildSpeedButton__closure.prototype = { call$1(context) { var t1 = this.$this; t1._chewieController.toString; return new A._PlaybackSpeedDialog(B.List_KGO, A._lateReadCheck(t1.___CupertinoControlsState__latestValue, "_latestValue").playbackSpeed, null); }, $signature: 586 }; A._CupertinoControlsState__cancelAndRestartTimer_closure.prototype = { call$0() { var t1 = this.$this; t1._hideStuff = false; t1._startHideTimer$0(); }, $signature: 0 }; A._CupertinoControlsState__initialize_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CupertinoControlsState__initialize__closure(t1)); }, $signature: 0 }; A._CupertinoControlsState__initialize__closure.prototype = { call$0() { this.$this._hideStuff = false; }, $signature: 0 }; A._CupertinoControlsState__onExpandCollapse_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._hideStuff = true; t2 = t1._chewieController; t2._isFullScreen = !t2._isFullScreen; t2.notifyListeners$0(); t1._expandCollapseTimer = A.Timer_Timer(B.Duration_300000, new A._CupertinoControlsState__onExpandCollapse__closure(t1)); }, $signature: 0 }; A._CupertinoControlsState__onExpandCollapse__closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CupertinoControlsState__onExpandCollapse___closure(t1)); }, $signature: 0 }; A._CupertinoControlsState__onExpandCollapse___closure.prototype = { call$0() { this.$this._cancelAndRestartTimer$0(); }, $signature: 0 }; A._CupertinoControlsState__buildProgressBar_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CupertinoControlsState__buildProgressBar__closure0(t1)); t1 = t1._hideTimer; if (t1 != null) t1.cancel$0(0); }, $signature: 3 }; A._CupertinoControlsState__buildProgressBar__closure0.prototype = { call$0() { this.$this._dragging = true; }, $signature: 0 }; A._CupertinoControlsState__buildProgressBar_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CupertinoControlsState__buildProgressBar__closure(t1)); t1._startHideTimer$0(); }, $signature: 3 }; A._CupertinoControlsState__buildProgressBar__closure.prototype = { call$0() { this.$this._dragging = false; }, $signature: 0 }; A._CupertinoControlsState__playPause_closure.prototype = { call$0() { var t2, _s10_ = "controller", t1 = this.$this; if (A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_)._change_notifier$_value.isPlaying) { t1._hideStuff = false; t2 = t1._hideTimer; if (t2 != null) t2.cancel$0(0); A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_).pause$0(0); } else { t1._cancelAndRestartTimer$0(); if (!A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_)._change_notifier$_value.isInitialized) A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_).initialize$0(0).then$1$1(0, new A._CupertinoControlsState__playPause__closure(t1), type$.Null); else { if (this.isFinished) A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_).seekTo$1(B.Duration_0); A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_).play$0(0); } } }, $signature: 0 }; A._CupertinoControlsState__playPause__closure.prototype = { call$1(_) { A._lateReadCheck(this.$this.___CupertinoControlsState_controller, "controller").play$0(0); }, $signature: 27 }; A._CupertinoControlsState__startHideTimer_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CupertinoControlsState__startHideTimer__closure(t1)); }, $signature: 0 }; A._CupertinoControlsState__startHideTimer__closure.prototype = { call$0() { this.$this._hideStuff = true; }, $signature: 0 }; A._CupertinoControlsState__updateState_closure.prototype = { call$0() { var _s10_ = "controller", t1 = this.$this; t1.___CupertinoControlsState__latestValue = A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_)._change_notifier$_value; t1._subtitlesPosition = A._lateReadCheck(t1.___CupertinoControlsState_controller, _s10_)._change_notifier$_value.position; }, $signature: 0 }; A._PlaybackSpeedDialog.prototype = { build$1(_, context) { var t1 = this._speeds, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,CupertinoActionSheetAction>"); return A.CupertinoActionSheet$(A.List_List$of(new A.MappedListIterable(t1, new A._PlaybackSpeedDialog_build_closure(this, context, A.CupertinoTheme_of(context).get$primaryColor()), t2), true, t2._eval$1("ListIterable.E"))); } }; A._PlaybackSpeedDialog_build_closure.prototype = { call$1(e) { var _null = null, t1 = A._setArrayType([], type$.JSArray_Widget); if (e === this.$this._cupertino_controls$_selected) t1.push(A.Icon$(B.IconData_57686_MaterialIcons_null_false, this.selectedColor, 20)); t1.push(A.Text$(B.JSNumber_methods.toString$0(e), _null, _null, _null, _null, _null, _null, _null, _null)); return A.CupertinoActionSheetAction$(A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, _null, _null), new A._PlaybackSpeedDialog_build__closure(this.context, e)); }, $signature: 292 }; A._PlaybackSpeedDialog_build__closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, this.e); }, $signature: 0 }; A.__CupertinoControlsState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.CupertinoVideoProgressBar.prototype = { build$1(_, context) { var _this = this; return A.VideoProgressBar$(_this.controller, 5, _this.colors, true, 6, _this.onDragEnd, _this.onDragStart, null); } }; A.MaterialControls.prototype = { createState$0() { return new A._MaterialControlsState(null, B._StateLifecycle_0); } }; A._MaterialControlsState.prototype = { build$1(_, context) { var t1, t2, t3, t4, t5, t6, position, duration, t7, _this = this, _null = null, _s12_ = "_latestValue", _s10_ = "controller"; if (A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).errorDescription != null) { _this._material_controls$_chewieController.toString; return B.Center_3Ff; } t1 = _this._material_controls$_hideStuff; t2 = type$.JSArray_Widget; t3 = A._setArrayType([], t2); if (A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).isBuffering) t3.push(B.Expanded_9QI); else t3.push(_this._material_controls$_buildHitArea$0()); if (_this._material_controls$_subtitleOn) { t4 = _this._material_controls$_hideStuff ? 44.800000000000004 : 0; _this._material_controls$_chewieController.toString; null.toString; t3.push(A.Transform$translate(_this._material_controls$_buildSubtitles$2(context, null), null, new A.Offset(0, t4))); } A.Theme_of(context).textTheme.button.toString; t4 = _this._material_controls$_hideStuff ? 0 : 1; t5 = A.Theme_of(context); t2 = A._setArrayType([A.GestureDetector$(_null, A.Container$(_null, A.AnimatedPlayPause$(_null, A._lateReadCheck(_this.___MaterialControlsState_controller, _s10_)._change_notifier$_value.isPlaying), B.Clip_0, B.Color_0, _null, _null, _null, 48, _null, B.EdgeInsets_8_0_4_0, B.EdgeInsets_12_0_12_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_material_controls$_playPause(), _null, _null, _null, _null, _null, _null, _null)], t2); _this._material_controls$_chewieController.toString; t6 = A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_); position = t6.position; duration = A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).duration; t2.push(new A.Padding(B.EdgeInsets_0_0_24_0, A.Text$(A.formatDuration(position) + " / " + A.formatDuration(duration), _null, _null, _null, _null, B.TextStyle_zIQ, _null, _null, _null), _null)); _this._material_controls$_chewieController.toString; t2.push(_this._material_controls$_buildProgressBar$0()); t2.push(_this._material_controls$_buildSubtitleToggle$0()); _this._material_controls$_chewieController.toString; t6 = A._lateReadCheck(_this.___MaterialControlsState_controller, _s10_); t2.push(_this._material_controls$_buildSpeedButton$1(t6)); _this._material_controls$_chewieController.toString; t6 = A._lateReadCheck(_this.___MaterialControlsState_controller, _s10_); t2.push(_this._material_controls$_buildMuteButton$1(t6)); t6 = _this._material_controls$_chewieController; if (t6.allowFullScreen) { t7 = _this._material_controls$_hideStuff ? 0 : 1; t2.push(A.GestureDetector$(_null, A.AnimatedOpacity$(false, A.Container$(_null, A.Center$(A.Icon$(t6._isFullScreen ? B.IconData_58060_MaterialIcons_null_false : B.IconData_58059_MaterialIcons_null_false, _null, _null), _null, _null), B.Clip_0, _null, _null, _null, _null, 48, _null, B.EdgeInsets_0_0_12_0, B.EdgeInsets_8_0_8_0, _null, _null, _null), B.C__Linear, B.Duration_300000, t7), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_material_controls$_onExpandCollapse(), _null, _null, _null, _null, _null, _null, _null)); } t3.push(A.AnimatedOpacity$(false, A.Container$(_null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, t5.dialogBackgroundColor, _null, _null, _null, 48, _null, _null, _null, _null, _null, _null), B.C__Linear, B.Duration_300000, t4)); return A.MouseRegion$(A.GestureDetector$(_null, A.AbsorbPointer$(t1, A.Column$(t3, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState_build_closure(_this), _null, _null, _null, _null, _null, _null, _null), B.C__DeferringMouseCursor, _null, _null, _null, new A._MaterialControlsState_build_closure0(_this)); }, dispose$0(_) { this._material_controls$_dispose$0(); this.super$__MaterialControlsState_State_SingleTickerProviderStateMixin$dispose0(0); }, _material_controls$_dispose$0() { var _this = this, t1 = A._lateReadCheck(_this.___MaterialControlsState_controller, "controller"); if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, _this.get$_material_controls$_updateState()); t1 = _this._material_controls$_hideTimer; if (t1 != null) t1.cancel$0(0); t1 = _this._material_controls$_initTimer; if (t1 != null) t1.cancel$0(0); t1 = _this._showAfterExpandCollapseTimer; if (t1 != null) t1.cancel$0(0); }, didChangeDependencies$0() { var _this = this, _oldController = _this._material_controls$_chewieController, t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieControllerProvider); t1.toString; t1 = _this._material_controls$_chewieController = t1.controller; _this.___MaterialControlsState_controller = t1.videoPlayerController; if (_oldController !== t1) { _this._material_controls$_dispose$0(); _this._material_controls$_initialize$0(); } _this.super$__MaterialControlsState_State_SingleTickerProviderStateMixin$didChangeDependencies(); }, _material_controls$_buildSubtitles$2(context, subtitles) { var value, currentSubtitle, t1, t2, _this = this, _null = null; if (!_this._material_controls$_subtitleOn) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); value = _this.___MaterialControlsState__subtitlesPosition; currentSubtitle = subtitles.getByPosition$1(value === $ ? _this.___MaterialControlsState__subtitlesPosition = B.Duration_0 : value); if (currentSubtitle.get$isEmpty(currentSubtitle)) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); _this._material_controls$_chewieController.toString; t1 = A.BorderRadius$circular(10); t2 = currentSubtitle.get$first(currentSubtitle); return new A.Padding(new A.EdgeInsets(5, 5, 5, 5), A.Container$(_null, A.Text$(t2.get$text(t2), _null, _null, _null, _null, B.TextStyle_zIQ1, B.TextAlign_2, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(B.Color_2516582400, _null, _null, t1, _null, _null, B.BoxShape_0), _null, _null, _null, _null, B.EdgeInsets_5_5_5_5, _null, _null, _null), _null); }, _material_controls$_buildHitArea$0() { var t4, t5, _this = this, _null = null, _s12_ = "_latestValue", t1 = A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).position, t2 = A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).duration, t3 = _this._framework$_element; t3.toString; t3 = A.Theme_of(t3); t4 = A._lateReadCheck(_this.___MaterialControlsState_controller, "controller")._change_notifier$_value.isPlaying; t5 = !A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).isPlaying && !_this._material_controls$_dragging; return A.Expanded$(A.GestureDetector$(_null, A.CenterPlayButton$(t3.dialogBackgroundColor, _null, t1._duration >= t2._duration, t4, _this.get$_material_controls$_playPause(), t5), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState__buildHitArea_closure(_this), _null, _null, _null, _null, _null, _null, _null), 1); }, _material_controls$_buildSpeedButton$1(controller) { var _null = null, t1 = this._material_controls$_hideStuff ? 0 : 1; return A.GestureDetector$(_null, A.AnimatedOpacity$(false, A.ClipRect$(A.Container$(_null, B.Icon_IID0, B.Clip_0, _null, _null, _null, _null, 48, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null), _null), B.C__Linear, B.Duration_300000, t1), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState__buildSpeedButton_closure(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _material_controls$_buildMuteButton$1(controller) { var _null = null, t1 = this._material_controls$_hideStuff ? 0 : 1; return A.GestureDetector$(_null, A.AnimatedOpacity$(false, A.ClipRect$(A.Container$(_null, A.Icon$(A._lateReadCheck(this.___MaterialControlsState__latestValue, "_latestValue").volume > 0 ? B.IconData_59077_MaterialIcons_null_false : B.IconData_59076_MaterialIcons_null_false, _null, _null), B.Clip_0, _null, _null, _null, _null, 48, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null), _null), B.C__Linear, B.Duration_300000, t1), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState__buildMuteButton_closure(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _material_controls$_buildSubtitleToggle$0() { var t1, _null = null; this._material_controls$_chewieController.toString; t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return t1; }, _material_controls$_cancelAndRestartTimer$0() { var _this = this, t1 = _this._material_controls$_hideTimer; if (t1 != null) t1.cancel$0(0); _this._material_controls$_startHideTimer$0(); _this.setState$1(new A._MaterialControlsState__cancelAndRestartTimer_closure(_this)); }, _material_controls$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$_material_controls$_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 $async$self._material_controls$_chewieController.toString; $async$self._material_controls$_subtitleOn = false; A._lateReadCheck($async$self.___MaterialControlsState_controller, "controller").addListener$1(0, $async$self.get$_material_controls$_updateState()); $async$self._material_controls$_updateState$0(); if (A._lateReadCheck($async$self.___MaterialControlsState_controller, "controller")._change_notifier$_value.isPlaying || $async$self._material_controls$_chewieController.autoPlay) $async$self._material_controls$_startHideTimer$0(); $async$self._material_controls$_chewieController.toString; $async$self._material_controls$_initTimer = A.Timer_Timer(B.Duration_200000, new A._MaterialControlsState__initialize_closure($async$self)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_material_controls$_initialize$0, $async$completer); }, _material_controls$_onExpandCollapse$0() { this.setState$1(new A._MaterialControlsState__onExpandCollapse_closure(this)); }, _material_controls$_playPause$0() { var _this = this, _s12_ = "_latestValue"; _this.setState$1(new A._MaterialControlsState__playPause_closure(_this, A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).position._duration >= A._lateReadCheck(_this.___MaterialControlsState__latestValue, _s12_).duration._duration)); }, _material_controls$_startHideTimer$0() { this._material_controls$_hideTimer = A.Timer_Timer(B.Duration_3000000, new A._MaterialControlsState__startHideTimer_closure(this)); }, _material_controls$_updateState$0() { if (this._framework$_element == null) return; this.setState$1(new A._MaterialControlsState__updateState_closure(this)); }, _material_controls$_buildProgressBar$0() { var t2, t3, t4, t5, _this = this, t1 = A._lateReadCheck(_this.___MaterialControlsState_controller, "controller"); _this._material_controls$_chewieController.toString; t2 = _this._framework$_element; t2.toString; t2 = A.Theme_of(t2); t3 = _this._framework$_element; t3.toString; t3 = A.Theme_of(t3); t4 = _this._framework$_element; t4.toString; t4 = A.Theme_of(t4); t5 = _this._framework$_element; t5.toString; t2 = A.ChewieProgressColors$(A.Theme_of(t5).disabledColor, t4.backgroundColor, t3.accentColor, t2.accentColor); return A.Expanded$(new A.Padding(B.EdgeInsets_0_0_20_0, new A.MaterialVideoProgressBar(t1, t2, new A._MaterialControlsState__buildProgressBar_closure(_this), new A._MaterialControlsState__buildProgressBar_closure0(_this), null), null), 1); } }; A._MaterialControlsState_build_closure0.prototype = { call$1(_) { this.$this._material_controls$_cancelAndRestartTimer$0(); }, $signature: 199 }; A._MaterialControlsState_build_closure.prototype = { call$0() { return this.$this._material_controls$_cancelAndRestartTimer$0(); }, $signature: 0 }; A._MaterialControlsState__buildHitArea_closure.prototype = { call$0() { var t1 = this.$this; if (A._lateReadCheck(t1.___MaterialControlsState__latestValue, "_latestValue").isPlaying) if (t1._displayTapped) t1.setState$1(new A._MaterialControlsState__buildHitArea__closure(t1)); else t1._material_controls$_cancelAndRestartTimer$0(); else { t1._material_controls$_playPause$0(); t1.setState$1(new A._MaterialControlsState__buildHitArea__closure0(t1)); } }, $signature: 0 }; A._MaterialControlsState__buildHitArea__closure.prototype = { call$0() { this.$this._material_controls$_hideStuff = true; }, $signature: 0 }; A._MaterialControlsState__buildHitArea__closure0.prototype = { call$0() { this.$this._material_controls$_hideStuff = true; }, $signature: 0 }; A._MaterialControlsState__buildSpeedButton_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, chosenSpeed, t1, t2; 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; t2 = t1._material_controls$_hideTimer; if (t2 != null) t2.cancel$0(0); t2 = t1._framework$_element; t2.toString; $async$goto = 2; return A._asyncAwait(A.showModalBottomSheet(new A._MaterialControlsState__buildSpeedButton__closure(t1), t2, true, null, true, type$.double), $async$call$0); case 2: // returning from await. chosenSpeed = $async$result; if (chosenSpeed != null) $async$self.controller.setPlaybackSpeed$1(chosenSpeed); if (A._lateReadCheck(t1.___MaterialControlsState__latestValue, "_latestValue").isPlaying) t1._material_controls$_startHideTimer$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._MaterialControlsState__buildSpeedButton__closure.prototype = { call$1(context) { var t1 = this.$this; t1._material_controls$_chewieController.toString; return new A._PlaybackSpeedDialog0(B.List_KGO, A._lateReadCheck(t1.___MaterialControlsState__latestValue, "_latestValue").playbackSpeed, null); }, $signature: 607 }; A._MaterialControlsState__buildMuteButton_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._material_controls$_cancelAndRestartTimer$0(); t2 = this.controller; if (A._lateReadCheck(t1.___MaterialControlsState__latestValue, "_latestValue").volume === 0) { t1 = t1._material_controls$_latestVolume; t2.setVolume$1(t1 == null ? 0.5 : t1); } else { t1._material_controls$_latestVolume = t2._change_notifier$_value.volume; t2.setVolume$1(0); } }, $signature: 0 }; A._MaterialControlsState__cancelAndRestartTimer_closure.prototype = { call$0() { var t1 = this.$this; t1._material_controls$_hideStuff = false; t1._displayTapped = true; }, $signature: 0 }; A._MaterialControlsState__initialize_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._MaterialControlsState__initialize__closure(t1)); }, $signature: 0 }; A._MaterialControlsState__initialize__closure.prototype = { call$0() { this.$this._material_controls$_hideStuff = false; }, $signature: 0 }; A._MaterialControlsState__onExpandCollapse_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._material_controls$_hideStuff = true; t2 = t1._material_controls$_chewieController; t2._isFullScreen = !t2._isFullScreen; t2.notifyListeners$0(); t1._showAfterExpandCollapseTimer = A.Timer_Timer(B.Duration_300000, new A._MaterialControlsState__onExpandCollapse__closure(t1)); }, $signature: 0 }; A._MaterialControlsState__onExpandCollapse__closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._MaterialControlsState__onExpandCollapse___closure(t1)); }, $signature: 0 }; A._MaterialControlsState__onExpandCollapse___closure.prototype = { call$0() { this.$this._material_controls$_cancelAndRestartTimer$0(); }, $signature: 0 }; A._MaterialControlsState__playPause_closure.prototype = { call$0() { var t2, _s10_ = "controller", t1 = this.$this; if (A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_)._change_notifier$_value.isPlaying) { t1._material_controls$_hideStuff = false; t2 = t1._material_controls$_hideTimer; if (t2 != null) t2.cancel$0(0); A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_).pause$0(0); } else { t1._material_controls$_cancelAndRestartTimer$0(); if (!A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_)._change_notifier$_value.isInitialized) A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_).initialize$0(0).then$1$1(0, new A._MaterialControlsState__playPause__closure(t1), type$.Null); else { if (this.isFinished) A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_).seekTo$1(B.Duration_0); A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_).play$0(0); } } }, $signature: 0 }; A._MaterialControlsState__playPause__closure.prototype = { call$1(_) { A._lateReadCheck(this.$this.___MaterialControlsState_controller, "controller").play$0(0); }, $signature: 27 }; A._MaterialControlsState__startHideTimer_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._MaterialControlsState__startHideTimer__closure(t1)); }, $signature: 0 }; A._MaterialControlsState__startHideTimer__closure.prototype = { call$0() { this.$this._material_controls$_hideStuff = true; }, $signature: 0 }; A._MaterialControlsState__updateState_closure.prototype = { call$0() { var _s10_ = "controller", t1 = this.$this; t1.___MaterialControlsState__latestValue = A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_)._change_notifier$_value; t1.___MaterialControlsState__subtitlesPosition = A._lateReadCheck(t1.___MaterialControlsState_controller, _s10_)._change_notifier$_value.position; }, $signature: 0 }; A._MaterialControlsState__buildProgressBar_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._MaterialControlsState__buildProgressBar__closure0(t1)); t1 = t1._material_controls$_hideTimer; if (t1 != null) t1.cancel$0(0); }, $signature: 3 }; A._MaterialControlsState__buildProgressBar__closure0.prototype = { call$0() { this.$this._material_controls$_dragging = true; }, $signature: 0 }; A._MaterialControlsState__buildProgressBar_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._MaterialControlsState__buildProgressBar__closure(t1)); t1._material_controls$_startHideTimer$0(); }, $signature: 3 }; A._MaterialControlsState__buildProgressBar__closure.prototype = { call$0() { this.$this._material_controls$_dragging = false; }, $signature: 0 }; A._PlaybackSpeedDialog0.prototype = { build$1(_, context) { return A.ListView$builder(null, new A._PlaybackSpeedDialog_build_closure0(this, A.Theme_of(context).primaryColor), 8, null, null, B.ScrollPhysics_null, B.Axis_1, true); } }; A._PlaybackSpeedDialog_build_closure0.prototype = { call$2(context, index) { var _null = null, t1 = this.$this, _speed = t1._material_controls$_speeds[index], t2 = A._setArrayType([], type$.JSArray_Widget); t1 = _speed === t1._material_controls$_selected; if (t1) t2.push(A.Icon$(B.IconData_57686_MaterialIcons_null_false, this.selectedColor, 20)); else t2.push(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 20)); t2.push(B.SizedBox_16_null_null_null); t2.push(A.Text$(B.JSNumber_methods.toString$0(_speed), _null, _null, _null, _null, _null, _null, _null, _null)); return A.ListTile$(false, _null, true, _null, true, _null, _null, false, _null, new A._PlaybackSpeedDialog_build__closure0(context, _speed), t1, _null, _null, _null, _null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null, _null); }, $signature: 296 }; A._PlaybackSpeedDialog_build__closure0.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, this._speed); }, $signature: 0 }; A.__MaterialControlsState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.MaterialVideoProgressBar.prototype = { build$1(_, context) { var _this = this; return A.VideoProgressBar$(_this.controller, 2, _this.colors, false, 6, _this.onDragEnd, _this.onDragStart, null); } }; A.PlayerWithControls.prototype = { build$1(_, context) { var t2, t3, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieControllerProvider); t1.toString; t2 = type$.MediaQuery; t3 = context.dependOnInheritedWidgetOfExactType$1$0(t2).data; return A.Center$(new A.SizedBox(context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx, t3.size._dy, new A.AspectRatio(new A.PlayerWithControls_build__calculateAspectRatio().call$1(context), new A.PlayerWithControls_build__buildPlayerWithControls(new A.PlayerWithControls_build__buildControls()).call$2(t1.controller, context), _null), _null), _null, _null); } }; A.PlayerWithControls_build__calculateAspectRatio.prototype = { call$1(context) { var size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size, width = size._dx, height = size._dy; return width > height ? width / height : height / width; }, $signature: 611 }; A.PlayerWithControls_build__buildControls.prototype = { call$2(context, chewieController) { var t1, _null = null, controls = A.Theme_of(context).platform === B.TargetPlatform_0 ? B.MaterialControls_null : B.CupertinoControls_null; if (chewieController.showControls) t1 = controls; else t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return t1; }, $signature: 617 }; A.PlayerWithControls_build__buildPlayerWithControls.prototype = { call$2(chewieController, context) { var t2, t3, _null = null, t1 = chewieController.placeholder; if (t1 == null) t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t2 = chewieController.aspectRatio; if (t2 == null) t2 = J.get$aspectRatio$z(chewieController.videoPlayerController._change_notifier$_value); t2 = A.Center$(new A.AspectRatio(t2, new A.VideoPlayer(chewieController.videoPlayerController, _null), _null), _null, _null); t3 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t1 = A._setArrayType([t1, t2, t3], type$.JSArray_Widget); t2 = this._buildControls; if (!chewieController._isFullScreen) t1.push(t2.call$2(context, chewieController)); else t1.push(A.SafeArea$(true, t2.call$2(context, chewieController), B.EdgeInsets_0_0_0_0, true)); return A.Stack$(B.AlignmentDirectional_m1_m1, t1, B.StackFit_0, _null, _null); }, $signature: 618 }; A.VideoProgressBar.prototype = { createState$0() { return new A._VideoProgressBarState(B._StateLifecycle_0); } }; A._VideoProgressBarState.prototype = { listener$0(_) { if (this._framework$_element == null) return; this.setState$1(new A._VideoProgressBarState_listener_closure()); }, initState$0() { var _this = this; _this.super$State$initState(); _this._widget.controller.addListener$1(0, _this.get$listener(_this)); }, deactivate$0() { var _this = this, t1 = _this._widget.controller; if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, _this.get$listener(_this)); _this.super$State$deactivate(); }, _seekToRelativePosition$1(globalPosition) { var tapPos, t2, t1 = this._framework$_element.get$renderObject(); t1.toString; type$.RenderBox._as(t1); tapPos = t1.globalToLocal$1(globalPosition); t1 = t1._size._dx; t2 = this._widget.controller; t2.seekTo$1(new A.Duration(B.JSNumber_methods.round$0(t2._change_notifier$_value.duration._duration * (tapPos._dx / t1)))); }, build$1(_, context) { var t3, _this = this, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t3 = _this._widget; return A.GestureDetector$(_null, A.Center$(A.Container$(_null, A.CustomPaint$(_null, _null, _null, new A._ProgressBarPainter(t3.controller._change_notifier$_value, t3.colors, t3.barHeight, t3.handleHeight, t3.drawShadow, _null), B.Size_0_0), B.Clip_0, B.Color_0, _null, _null, _null, t2.size._dy, _null, _null, _null, _null, _null, t1.size._dx), _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, new A._VideoProgressBarState_build_closure(_this), new A._VideoProgressBarState_build_closure0(_this), new A._VideoProgressBarState_build_closure1(_this), _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._VideoProgressBarState_build_closure2(_this), _null, _null, _null, _null, _null); } }; A._VideoProgressBarState_listener_closure.prototype = { call$0() { }, $signature: 0 }; A._VideoProgressBarState_build_closure0.prototype = { call$1(details) { var t1 = this.$this, t2 = t1._widget.controller, t3 = t2._change_notifier$_value; if (!t3.isInitialized) return; t3 = t3.isPlaying; t1._controllerWasPlaying = t3; if (t3) t2.pause$0(0); t1._widget.onDragStart.call$0(); }, $signature: 42 }; A._VideoProgressBarState_build_closure1.prototype = { call$1(details) { var t1 = this.$this; if (!t1._widget.controller._change_notifier$_value.isInitialized) return; t1._seekToRelativePosition$1(details.globalPosition); t1._widget.toString; }, $signature: 22 }; A._VideoProgressBarState_build_closure.prototype = { call$1(details) { var t1 = this.$this; if (t1._controllerWasPlaying) t1._widget.controller.play$0(0); t1._widget.onDragEnd.call$0(); }, $signature: 38 }; A._VideoProgressBarState_build_closure2.prototype = { call$1(details) { var t1 = this.$this; if (!t1._widget.controller._change_notifier$_value.isInitialized) return; t1._seekToRelativePosition$1(details.globalPosition); }, $signature: 39 }; A._ProgressBarPainter.prototype = { shouldRepaint$1(painter) { return true; }, paint$2(canvas, size) { var t3, t4, t5, t6, playedPartPercent, playedPart0, t7, _i, range, shadowPath, _this = this, _1000 = 1000, t1 = _this.barHeight, t2 = t1 / 2, baseOffset = size._dy / 2 - t2, playedPart = size._dx; t1 = baseOffset + t1; t3 = _this.colors; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(0, baseOffset), new A.Offset(playedPart, t1)), B.Radius_4_4), t3.backgroundPaint); t4 = _this.value; if (!t4.isInitialized) return; t5 = B.JSInt_methods._tdivFast$1(t4.position._duration, _1000); t6 = B.JSInt_methods._tdivFast$1(t4.duration._duration, _1000); playedPartPercent = t5 / t6; playedPart0 = playedPartPercent > 1 ? playedPart : playedPartPercent * playedPart; for (t4 = t4.buffered, t5 = t4.length, t7 = t3.bufferedPaint, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) { range = t4[_i]; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(B.JSInt_methods._tdivFast$1(range.start._duration, _1000) / t6 * playedPart, baseOffset), new A.Offset(B.JSInt_methods._tdivFast$1(range.end._duration, _1000) / t6 * playedPart, t1)), B.Radius_4_4), t7); } canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(0, baseOffset), new A.Offset(playedPart0, t1)), B.Radius_4_4), t3.playedPaint); if (_this.drawShadow) { shadowPath = A.Path_Path(); shadowPath.addOval$1(0, A.Rect$fromCircle(new A.Offset(playedPart0, baseOffset + t2), _this.handleHeight)); canvas.drawShadow$4(0, shadowPath, B.Color_4278190080, 0.2, false); } canvas.drawCircle$3(0, new A.Offset(playedPart0, baseOffset + t2), _this.handleHeight, t3.handlePaint); }, get$value(receiver) { return this.value; } }; A.AnimatedPlayPause0.prototype = { createState$0() { return new A.AnimatedPlayPauseState0(null, B._StateLifecycle_0); } }; A.AnimatedPlayPauseState0.prototype = { get$animationController() { var result, _this = this, value = _this._animated_play_pause$__AnimatedPlayPauseState_animationController; if (value === $) { result = A.AnimationController$(null, B.Duration_400000, null, 1, _this._widget.playing ? 1 : 0, _this); A._lateInitializeOnceCheck(_this._animated_play_pause$__AnimatedPlayPauseState_animationController, "animationController"); _this._animated_play_pause$__AnimatedPlayPauseState_animationController = result; value = result; } return value; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget.playing; if (t1 !== oldWidget.playing) if (t1) _this.get$animationController().forward$0(0); else _this.get$animationController().reverse$0(0); }, dispose$0(_) { this.get$animationController().dispose$0(0); this.super$_AnimatedPlayPauseState_State_SingleTickerProviderStateMixin$dispose(0); }, build$1(_, context) { return A.Center$(A.AnimatedIcon$(this._widget.color, B.C__AnimatedIconData, this.get$animationController(), null), null, null); } }; A._AnimatedPlayPauseState_State_SingleTickerProviderStateMixin0.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.ChewieAudio.prototype = { build$1(_, context) { return new A._ChewieAudioControllerProvider(this.controller, B.PlayerWithControls_null0, null); } }; A.ChewieAudioController.prototype = { _chewie_player0$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t2, t1; var $async$_chewie_player0$_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.videoPlayerController; $async$goto = 2; return A._asyncAwait(t1.setLooping$1($async$self.looping), $async$_chewie_player0$_initialize$0); case 2: // returning from await. t2 = t1._change_notifier$_value; $async$goto = !t2.isInitialized ? 3 : 4; break; case 3: // then $async$goto = 5; return A._asyncAwait(t1.initialize$0(0), $async$_chewie_player0$_initialize$0); case 5: // returning from await. case 4: // join $async$goto = $async$self.autoPlay ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(t1.play$0(0), $async$_chewie_player0$_initialize$0); case 8: // returning from await. case 7: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_chewie_player0$_initialize$0, $async$completer); } }; A._ChewieAudioControllerProvider.prototype = { updateShouldNotify$1(old) { return this.controller !== old.controller; } }; A.ChewieProgressColors0.prototype = {}; A.CupertinoControls0.prototype = { createState$0() { return new A._CupertinoControlsState0(null, B._StateLifecycle_0); } }; A._CupertinoControlsState0.prototype = { build$1(_, context) { var t1, barHeight, buttonPadding, t2, t3, t4, t5, t6, _this = this, _null = null, _s12_ = "_latestValue", _s10_ = "controller"; if (A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).errorDescription != null) { _this._cupertino_controls0$_chewieController.toString; return B.Center_idR; } _this._widget.toString; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t1 = t1.get$orientation(t1) === B.Orientation_0; barHeight = t1 ? 30 : 47; buttonPadding = t1 ? 16 : 24; t1 = type$.JSArray_Widget; t2 = A._setArrayType([], t1); _this._cupertino_controls0$_chewieController.toString; t3 = A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState_controller, _s10_); t2.push(_this._cupertino_controls0$_buildMuteButton$5(t3, B.Color_2989041961, B.Color_4291348680, barHeight, buttonPadding)); t2 = A.Container$(_null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, _null, _null, barHeight, _null, new A.EdgeInsets(5, 5, 5, 0), _null, _null, _null, _null); t3 = A.BorderRadius$circular(10); t4 = A.ImageFilter_ImageFilter$blur(10, 10); _this._cupertino_controls0$_chewieController.toString; t5 = A.GestureDetector$(_null, A.Container$(_null, A.Icon$(B.IconData_EBZ0, B.Color_4291348680, 18), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_10_0_0_0, B.EdgeInsets_6_0_6_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_cupertino_controls0$_skipBack(), _null, _null, _null, _null, _null, _null, _null); t6 = A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState_controller, _s10_); t5 = A._setArrayType([t5, _this._cupertino_controls0$_buildPlayPause$3(t6, B.Color_4291348680, barHeight), A.GestureDetector$(_null, A.Container$(_null, A.Icon$(B.IconData_s2l0, B.Color_4291348680, 18), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_0_0_8_0, B.EdgeInsets_6_0_8_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_cupertino_controls0$_skipForward(), _null, _null, _null, _null, _null, _null, _null), new A.Padding(B.EdgeInsets_0_0_12_0, A.Text$(A.formatDuration0(A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).position), _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4291348680, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null), _this._cupertino_controls0$_buildProgressBar$0(), new A.Padding(B.EdgeInsets_0_0_12_0, A.Text$("-" + A.formatDuration0(new A.Duration(A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).duration._duration - A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).position._duration)), _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4291348680, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null)], t1); _this._cupertino_controls0$_chewieController.toString; t6 = A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState_controller, _s10_); t5.push(_this._cupertino_controls0$_buildSpeedButton$3(t6, B.Color_4291348680, barHeight)); t5 = A.Row$(t5, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); return A.Column$(A._setArrayType([t2, A.Container$(B.Alignment_0_1, A.ClipRRect$(t3, A.BackdropFilter$(A.Container$(_null, t5, B.Clip_0, B.Color_2989041961, _null, _null, _null, barHeight, _null, _null, _null, _null, _null, _null), t4)), B.Clip_0, B.Color_0, _null, _null, _null, _null, _null, new A.EdgeInsets(5, 5, 5, 5), _null, _null, _null, _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, dispose$0(_) { this._cupertino_controls0$_dispose$0(); this.super$__CupertinoControlsState_State_SingleTickerProviderStateMixin$dispose(0); }, _cupertino_controls0$_dispose$0() { var t1 = A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState_controller, "controller"); if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, this.get$_cupertino_controls0$_updateState()); }, didChangeDependencies$0() { var _this = this, _oldController = _this._cupertino_controls0$_chewieController, t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieAudioControllerProvider); t1.toString; t1 = _this._cupertino_controls0$_chewieController = t1.controller; _this._cupertino_controls0$___CupertinoControlsState_controller = t1.videoPlayerController; if (_oldController !== t1) { _this._cupertino_controls0$_dispose$0(); _this._cupertino_controls0$_initialize$0(); } _this.super$__CupertinoControlsState_State_SingleTickerProviderStateMixin$didChangeDependencies0(); }, _cupertino_controls0$_buildMuteButton$5(controller, backgroundColor, iconColor, barHeight, buttonPadding) { var _null = null, t1 = A.BorderRadius$circular(10), t2 = A.ImageFilter_ImageFilter$blur(10, 0); return A.GestureDetector$(_null, A.ClipRRect$(t1, A.BackdropFilter$(A.Container$(_null, A.Container$(_null, A.Icon$(A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState__latestValue, "_latestValue").volume > 0 ? B.IconData_59077_MaterialIcons_null_false : B.IconData_59076_MaterialIcons_null_false, iconColor, 16), B.Clip_0, _null, _null, _null, _null, barHeight, _null, _null, new A.EdgeInsets(buttonPadding, 0, buttonPadding, 0), _null, _null, _null), B.Clip_0, backgroundColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t2)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CupertinoControlsState__buildMuteButton_closure0(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _cupertino_controls0$_buildPlayPause$3(controller, iconColor, barHeight) { var _null = null; this._widget.toString; return A.GestureDetector$(_null, A.Container$(_null, A.AnimatedPlayPause$0(B.Color_4291348680, controller._change_notifier$_value.isPlaying), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, _null, B.EdgeInsets_6_0_6_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.get$_cupertino_controls0$_playPause(), _null, _null, _null, _null, _null, _null, _null); }, _cupertino_controls0$_buildSpeedButton$3(controller, iconColor, barHeight) { var _null = null, t1 = A.Matrix4_Matrix4$skewY(0); t1.rotateX$1(3.141592653589793); t1.rotateZ$1(2.5132741228718345); return A.GestureDetector$(_null, A.Container$(_null, A.Transform$(B.Alignment_0_0, A.Icon$(B.IconData_58848_MaterialIcons_null_false, iconColor, 18), t1, true), B.Clip_0, B.Color_0, _null, _null, _null, barHeight, _null, B.EdgeInsets_0_0_8_0, B.EdgeInsets_6_0_8_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CupertinoControlsState__buildSpeedButton_closure0(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _cupertino_controls0$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$_cupertino_controls0$_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 A._lateReadCheck($async$self._cupertino_controls0$___CupertinoControlsState_controller, "controller").addListener$1(0, $async$self.get$_cupertino_controls0$_updateState()); $async$self._cupertino_controls0$_updateState$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_cupertino_controls0$_initialize$0, $async$completer); }, _cupertino_controls0$_buildProgressBar$0() { var t2, t1 = A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState_controller, "controller"); this._cupertino_controls0$_chewieController.toString; t2 = A.ChewieProgressColors$0(B.Color_352321535, B.Color_1023410175, B.Color_4294967295, B.Color_2030043135); return A.Expanded$(new A.Padding(B.EdgeInsets_0_0_12_0, new A.CupertinoVideoProgressBar0(t1, t2, new A._CupertinoControlsState__buildProgressBar_closure1(), new A._CupertinoControlsState__buildProgressBar_closure2(), null), null), 1); }, _cupertino_controls0$_playPause$0() { var _this = this, _s12_ = "_latestValue"; _this.setState$1(new A._CupertinoControlsState__playPause_closure0(_this, A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).position._duration >= A._lateReadCheck(_this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).duration._duration)); }, _cupertino_controls0$_skipBack$0() { var skip = B.JSInt_methods._tdivFast$1(A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState__latestValue, "_latestValue").position._duration - 15000000, 1000); A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState_controller, "controller").seekTo$1(A.Duration$(0, 0, 0, Math.max(skip, 0), 0)); }, _cupertino_controls0$_skipForward$0() { var _s12_ = "_latestValue", end = B.JSInt_methods._tdivFast$1(A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).duration._duration, 1000), skip = B.JSInt_methods._tdivFast$1(A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState__latestValue, _s12_).position._duration + 15000000, 1000); A._lateReadCheck(this._cupertino_controls0$___CupertinoControlsState_controller, "controller").seekTo$1(A.Duration$(0, 0, 0, Math.min(skip, end), 0)); }, _cupertino_controls0$_updateState$0() { if (this._framework$_element == null) return; this.setState$1(new A._CupertinoControlsState__updateState_closure0(this)); } }; A._CupertinoControlsState__buildMuteButton_closure0.prototype = { call$0() { var t1 = this.$this, t2 = this.controller; if (A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState__latestValue, "_latestValue").volume === 0) { t1 = t1._cupertino_controls0$_latestVolume; t2.setVolume$1(t1 == null ? 0.5 : t1); } else { t1._cupertino_controls0$_latestVolume = t2._change_notifier$_value.volume; t2.setVolume$1(0); } }, $signature: 0 }; A._CupertinoControlsState__buildSpeedButton_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, chosenSpeed, t1, t2; 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; t2 = t1._framework$_element; t2.toString; $async$goto = 2; return A._asyncAwait(A.showCupertinoModalPopup(new A._CupertinoControlsState__buildSpeedButton__closure0(t1), t2, true, true, type$.double), $async$call$0); case 2: // returning from await. chosenSpeed = $async$result; if (chosenSpeed != null) $async$self.controller.setPlaybackSpeed$1(chosenSpeed); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._CupertinoControlsState__buildSpeedButton__closure0.prototype = { call$1(context) { var t1 = this.$this; t1._cupertino_controls0$_chewieController.toString; return new A._PlaybackSpeedDialog1(B.List_KGO, A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState__latestValue, "_latestValue").playbackSpeed, null); }, $signature: 652 }; A._CupertinoControlsState__buildProgressBar_closure1.prototype = { call$0() { }, $signature: 3 }; A._CupertinoControlsState__buildProgressBar_closure2.prototype = { call$0() { }, $signature: 3 }; A._CupertinoControlsState__playPause_closure0.prototype = { call$0() { var _s10_ = "controller", t1 = this.$this; if (A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_)._change_notifier$_value.isPlaying) A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_).pause$0(0); else if (!A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_)._change_notifier$_value.isInitialized) A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_).initialize$0(0).then$1$1(0, new A._CupertinoControlsState__playPause__closure0(t1), type$.Null); else { if (this.isFinished) A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_).seekTo$1(B.Duration_0); A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, _s10_).play$0(0); } }, $signature: 0 }; A._CupertinoControlsState__playPause__closure0.prototype = { call$1(_) { A._lateReadCheck(this.$this._cupertino_controls0$___CupertinoControlsState_controller, "controller").play$0(0); }, $signature: 27 }; A._CupertinoControlsState__updateState_closure0.prototype = { call$0() { var t1 = this.$this; t1._cupertino_controls0$___CupertinoControlsState__latestValue = A._lateReadCheck(t1._cupertino_controls0$___CupertinoControlsState_controller, "controller")._change_notifier$_value; }, $signature: 0 }; A._PlaybackSpeedDialog1.prototype = { build$1(_, context) { var t1 = this._cupertino_controls0$_speeds, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,CupertinoActionSheetAction>"); return A.CupertinoActionSheet$(A.List_List$of(new A.MappedListIterable(t1, new A._PlaybackSpeedDialog_build_closure1(this, context, A.CupertinoTheme_of(context).get$primaryColor()), t2), true, t2._eval$1("ListIterable.E"))); } }; A._PlaybackSpeedDialog_build_closure1.prototype = { call$1(e) { var _null = null, t1 = A._setArrayType([], type$.JSArray_Widget); if (e === this.$this._cupertino_controls0$_selected) t1.push(A.Icon$(B.IconData_57686_MaterialIcons_null_false, this.selectedColor, 20)); t1.push(A.Text$(B.JSNumber_methods.toString$0(e), _null, _null, _null, _null, _null, _null, _null, _null)); return A.CupertinoActionSheetAction$(A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, _null, _null), new A._PlaybackSpeedDialog_build__closure1(this.context, e)); }, $signature: 292 }; A._PlaybackSpeedDialog_build__closure1.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, this.e); }, $signature: 0 }; A.__CupertinoControlsState_State_SingleTickerProviderStateMixin0.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.CupertinoVideoProgressBar0.prototype = { build$1(_, context) { var _this = this; return A.VideoProgressBar$0(_this.controller, 5, _this.colors, true, 6, _this.onDragEnd, _this.onDragStart, null); } }; A.MaterialControls0.prototype = { createState$0() { return new A._MaterialControlsState0(null, B._StateLifecycle_0); } }; A._MaterialControlsState0.prototype = { build$1(_, context) { var t1, t2, t3, position, duration, _this = this, _null = null, _s12_ = "_latestValue", _s10_ = "controller"; if (A._lateReadCheck(_this._material_controls0$___MaterialControlsState__latestValue, _s12_).errorDescription != null) { _this._material_controls0$_chewieController.toString; return B.Center_3Ff; } A.Theme_of(context).textTheme.button.toString; t1 = A.Theme_of(context); t2 = A._setArrayType([A.GestureDetector$(_null, A.Container$(_null, A.AnimatedPlayPause$0(_null, A._lateReadCheck(_this._material_controls0$___MaterialControlsState_controller, _s10_)._change_notifier$_value.isPlaying), B.Clip_0, B.Color_0, _null, _null, _null, 48, _null, B.EdgeInsets_8_0_4_0, B.EdgeInsets_12_0_12_0, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_material_controls0$_playPause(), _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget); _this._material_controls0$_chewieController.toString; t3 = A._lateReadCheck(_this._material_controls0$___MaterialControlsState__latestValue, _s12_); position = t3.position; duration = A._lateReadCheck(_this._material_controls0$___MaterialControlsState__latestValue, _s12_).duration; t2.push(new A.Padding(B.EdgeInsets_0_0_24_0, A.Text$(A.formatDuration0(position) + " / " + A.formatDuration0(duration), _null, _null, _null, _null, B.TextStyle_zIQ, _null, _null, _null), _null)); _this._material_controls0$_chewieController.toString; t2.push(_this._material_controls0$_buildProgressBar$0()); _this._material_controls0$_chewieController.toString; t3 = A._lateReadCheck(_this._material_controls0$___MaterialControlsState_controller, _s10_); t2.push(_this._material_controls0$_buildSpeedButton$1(t3)); _this._material_controls0$_chewieController.toString; t3 = A._lateReadCheck(_this._material_controls0$___MaterialControlsState_controller, _s10_); t2.push(_this._material_controls0$_buildMuteButton$1(t3)); return A.Container$(_null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, t1.dialogBackgroundColor, _null, _null, _null, 48, _null, _null, _null, _null, _null, _null); }, dispose$0(_) { this._material_controls0$_dispose$0(); this.super$__MaterialControlsState_State_SingleTickerProviderStateMixin$dispose(0); }, _material_controls0$_dispose$0() { var t1 = A._lateReadCheck(this._material_controls0$___MaterialControlsState_controller, "controller"); if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, this.get$_material_controls0$_updateState()); }, didChangeDependencies$0() { var _this = this, _oldController = _this._material_controls0$_chewieController, t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieAudioControllerProvider); t1.toString; t1 = _this._material_controls0$_chewieController = t1.controller; _this._material_controls0$___MaterialControlsState_controller = t1.videoPlayerController; if (_oldController !== t1) { _this._material_controls0$_dispose$0(); _this._material_controls0$_initialize$0(); } _this.super$__MaterialControlsState_State_SingleTickerProviderStateMixin$didChangeDependencies0(); }, _material_controls0$_buildSpeedButton$1(controller) { var _null = null; return A.GestureDetector$(_null, A.ClipRect$(A.Container$(_null, B.Icon_IID0, B.Clip_0, _null, _null, _null, _null, 48, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null), _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState__buildSpeedButton_closure0(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _material_controls0$_buildMuteButton$1(controller) { var _null = null; return A.GestureDetector$(_null, A.ClipRect$(A.Container$(_null, A.Icon$(A._lateReadCheck(this._material_controls0$___MaterialControlsState__latestValue, "_latestValue").volume > 0 ? B.IconData_59077_MaterialIcons_null_false : B.IconData_59076_MaterialIcons_null_false, _null, _null), B.Clip_0, _null, _null, _null, _null, 48, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null), _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MaterialControlsState__buildMuteButton_closure0(this, controller), _null, _null, _null, _null, _null, _null, _null); }, _material_controls0$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$_material_controls0$_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 A._lateReadCheck($async$self._material_controls0$___MaterialControlsState_controller, "controller").addListener$1(0, $async$self.get$_material_controls0$_updateState()); $async$self._material_controls0$_updateState$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_material_controls0$_initialize$0, $async$completer); }, _material_controls0$_playPause$0() { var _this = this, _s12_ = "_latestValue"; _this.setState$1(new A._MaterialControlsState__playPause_closure0(_this, A._lateReadCheck(_this._material_controls0$___MaterialControlsState__latestValue, _s12_).position._duration >= A._lateReadCheck(_this._material_controls0$___MaterialControlsState__latestValue, _s12_).duration._duration)); }, _material_controls0$_updateState$0() { this.setState$1(new A._MaterialControlsState__updateState_closure0(this)); }, _material_controls0$_buildProgressBar$0() { var t2, t3, t4, t5, _this = this, t1 = A._lateReadCheck(_this._material_controls0$___MaterialControlsState_controller, "controller"); _this._material_controls0$_chewieController.toString; t2 = _this._framework$_element; t2.toString; t2 = A.Theme_of(t2); t3 = _this._framework$_element; t3.toString; t3 = A.Theme_of(t3); t4 = _this._framework$_element; t4.toString; t4 = A.Theme_of(t4); t5 = _this._framework$_element; t5.toString; t2 = A.ChewieProgressColors$0(A.Theme_of(t5).disabledColor, t4.backgroundColor, t3.accentColor, t2.accentColor); return A.Expanded$(new A.Padding(B.EdgeInsets_0_0_20_0, new A.MaterialVideoProgressBar0(t1, t2, new A._MaterialControlsState__buildProgressBar_closure1(), new A._MaterialControlsState__buildProgressBar_closure2(), null), null), 1); } }; A._MaterialControlsState__buildSpeedButton_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, chosenSpeed, t1, t2; 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; t2 = t1._framework$_element; t2.toString; $async$goto = 2; return A._asyncAwait(A.showModalBottomSheet(new A._MaterialControlsState__buildSpeedButton__closure0(t1), t2, true, null, true, type$.double), $async$call$0); case 2: // returning from await. chosenSpeed = $async$result; if (chosenSpeed != null) $async$self.controller.setPlaybackSpeed$1(chosenSpeed); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._MaterialControlsState__buildSpeedButton__closure0.prototype = { call$1(context) { var t1 = this.$this; t1._material_controls0$_chewieController.toString; return new A._PlaybackSpeedDialog2(B.List_KGO, A._lateReadCheck(t1._material_controls0$___MaterialControlsState__latestValue, "_latestValue").playbackSpeed, null); }, $signature: 662 }; A._MaterialControlsState__buildMuteButton_closure0.prototype = { call$0() { var t1 = this.$this, t2 = this.controller; if (A._lateReadCheck(t1._material_controls0$___MaterialControlsState__latestValue, "_latestValue").volume === 0) { t1 = t1._material_controls0$_latestVolume; t2.setVolume$1(t1 == null ? 0.5 : t1); } else { t1._material_controls0$_latestVolume = t2._change_notifier$_value.volume; t2.setVolume$1(0); } }, $signature: 0 }; A._MaterialControlsState__playPause_closure0.prototype = { call$0() { var _s10_ = "controller", t1 = this.$this; if (A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_)._change_notifier$_value.isPlaying) A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_).pause$0(0); else if (!A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_)._change_notifier$_value.isInitialized) A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_).initialize$0(0).then$1$1(0, new A._MaterialControlsState__playPause__closure0(t1), type$.Null); else { if (this.isFinished) A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_).seekTo$1(B.Duration_0); A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, _s10_).play$0(0); } }, $signature: 0 }; A._MaterialControlsState__playPause__closure0.prototype = { call$1(_) { A._lateReadCheck(this.$this._material_controls0$___MaterialControlsState_controller, "controller").play$0(0); }, $signature: 27 }; A._MaterialControlsState__updateState_closure0.prototype = { call$0() { var t1 = this.$this; t1._material_controls0$___MaterialControlsState__latestValue = A._lateReadCheck(t1._material_controls0$___MaterialControlsState_controller, "controller")._change_notifier$_value; }, $signature: 0 }; A._MaterialControlsState__buildProgressBar_closure1.prototype = { call$0() { }, $signature: 3 }; A._MaterialControlsState__buildProgressBar_closure2.prototype = { call$0() { }, $signature: 3 }; A._PlaybackSpeedDialog2.prototype = { build$1(_, context) { return A.ListView$builder(null, new A._PlaybackSpeedDialog_build_closure2(this, A.Theme_of(context).primaryColor), 8, null, null, B.ScrollPhysics_null, B.Axis_1, true); } }; A._PlaybackSpeedDialog_build_closure2.prototype = { call$2(context, index) { var _null = null, t1 = this.$this, _speed = t1._material_controls0$_speeds[index], t2 = A._setArrayType([], type$.JSArray_Widget); t1 = _speed === t1._material_controls0$_selected; if (t1) t2.push(A.Icon$(B.IconData_57686_MaterialIcons_null_false, this.selectedColor, 20)); else t2.push(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 20)); t2.push(B.SizedBox_16_null_null_null); t2.push(A.Text$(B.JSNumber_methods.toString$0(_speed), _null, _null, _null, _null, _null, _null, _null, _null)); return A.ListTile$(false, _null, true, _null, true, _null, _null, false, _null, new A._PlaybackSpeedDialog_build__closure2(context, _speed), t1, _null, _null, _null, _null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null, _null); }, $signature: 296 }; A._PlaybackSpeedDialog_build__closure2.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, this._speed); }, $signature: 0 }; A.__MaterialControlsState_State_SingleTickerProviderStateMixin0.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.MaterialVideoProgressBar0.prototype = { build$1(_, context) { var _this = this; return A.VideoProgressBar$0(_this.controller, 2, _this.colors, false, 6, _this.onDragEnd, _this.onDragStart, null); } }; A.PlayerWithControls0.prototype = { build$1(_, context) { var t2, t3, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._ChewieAudioControllerProvider); t1.toString; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t3 = A.Theme_of(context).platform === B.TargetPlatform_0 ? 48 : 75; return A.Center$(new A.SizedBox(t2.size._dx, t3, new A.PlayerWithControls_build__buildPlayerWithControls0(new A.PlayerWithControls_build__buildControls0()).call$2(t1.controller, context), null), null, null); } }; A.PlayerWithControls_build__buildControls0.prototype = { call$2(context, chewieController) { var t1, _null = null, controls = A.Theme_of(context).platform === B.TargetPlatform_0 ? B.MaterialControls_null0 : B.CupertinoControls_null0; if (chewieController.showControls) t1 = controls; else t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return t1; }, $signature: 665 }; A.PlayerWithControls_build__buildPlayerWithControls0.prototype = { call$2(chewieController, context) { var _null = null; return A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([new A.Offstage(true, new A.SizedBox(3, 1, new A.VideoPlayer(chewieController.videoPlayerController, _null), _null), _null), this._buildControls.call$2(context, chewieController)], type$.JSArray_Widget), B.StackFit_0, _null, _null); }, $signature: 675 }; A.VideoProgressBar0.prototype = { createState$0() { return new A._VideoProgressBarState0(B._StateLifecycle_0); } }; A._VideoProgressBarState0.prototype = { listener$0(_) { if (this._framework$_element == null) return; this.setState$1(new A._VideoProgressBarState_listener_closure0()); }, initState$0() { var _this = this; _this.super$State$initState(); _this._widget.controller.addListener$1(0, _this.get$listener(_this)); }, deactivate$0() { var _this = this, t1 = _this._widget.controller; if (!t1._video_player$_isDisposed) t1.super$ChangeNotifier$removeListener(0, _this.get$listener(_this)); _this.super$State$deactivate(); }, _progress_bar$_seekToRelativePosition$1(globalPosition) { var tapPos, t1, t2, box = type$.nullable_RenderBox._as(this._framework$_element.get$renderObject()); if (box != null) { tapPos = box.globalToLocal$1(globalPosition); t1 = box._size._dx; t2 = this._widget.controller; t2.seekTo$1(new A.Duration(B.JSNumber_methods.round$0(t2._change_notifier$_value.duration._duration * (tapPos._dx / t1)))); } }, build$1(_, context) { var t3, _this = this, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t3 = _this._widget; return A.GestureDetector$(_null, A.Center$(A.Container$(_null, A.CustomPaint$(_null, _null, _null, new A._ProgressBarPainter0(t3.controller._change_notifier$_value, t3.colors, t3.barHeight, t3.handleHeight, t3.drawShadow, _null), B.Size_0_0), B.Clip_0, B.Color_0, _null, _null, _null, t2.size._dy, _null, _null, _null, _null, _null, t1.size._dx), _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, new A._VideoProgressBarState_build_closure3(_this), new A._VideoProgressBarState_build_closure4(_this), new A._VideoProgressBarState_build_closure5(_this), _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._VideoProgressBarState_build_closure6(_this), _null, _null, _null, _null, _null); } }; A._VideoProgressBarState_listener_closure0.prototype = { call$0() { }, $signature: 0 }; A._VideoProgressBarState_build_closure4.prototype = { call$1(details) { var t1 = this.$this, t2 = t1._widget.controller, t3 = t2._change_notifier$_value; if (!t3.isInitialized) return; t3 = t3.isPlaying; t1._progress_bar$_controllerWasPlaying = t3; if (t3) t2.pause$0(0); t1._widget.onDragStart.call$0(); }, $signature: 42 }; A._VideoProgressBarState_build_closure5.prototype = { call$1(details) { var t1 = this.$this; if (!t1._widget.controller._change_notifier$_value.isInitialized) return; t1._progress_bar$_seekToRelativePosition$1(details.globalPosition); t1._widget.toString; }, $signature: 22 }; A._VideoProgressBarState_build_closure3.prototype = { call$1(details) { var t1 = this.$this; if (t1._progress_bar$_controllerWasPlaying) t1._widget.controller.play$0(0); t1._widget.onDragEnd.call$0(); }, $signature: 38 }; A._VideoProgressBarState_build_closure6.prototype = { call$1(details) { var t1 = this.$this; if (!t1._widget.controller._change_notifier$_value.isInitialized) return; t1._progress_bar$_seekToRelativePosition$1(details.globalPosition); }, $signature: 39 }; A._ProgressBarPainter0.prototype = { shouldRepaint$1(painter) { return true; }, paint$2(canvas, size) { var t3, t4, t5, t6, playedPartPercent, playedPart0, t7, _i, range, shadowPath, _this = this, _1000 = 1000, t1 = _this.barHeight, t2 = t1 / 2, baseOffset = size._dy / 2 - t2, playedPart = size._dx; t1 = baseOffset + t1; t3 = _this.colors; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(0, baseOffset), new A.Offset(playedPart, t1)), B.Radius_4_4), t3.backgroundPaint); t4 = _this.value; if (!t4.isInitialized) return; t5 = B.JSInt_methods._tdivFast$1(t4.position._duration, _1000); t6 = B.JSInt_methods._tdivFast$1(t4.duration._duration, _1000); playedPartPercent = t5 / t6; playedPart0 = playedPartPercent > 1 ? playedPart : playedPartPercent * playedPart; for (t4 = t4.buffered, t5 = t4.length, t7 = t3.bufferedPaint, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) { range = t4[_i]; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(B.JSInt_methods._tdivFast$1(range.start._duration, _1000) / t6 * playedPart, baseOffset), new A.Offset(B.JSInt_methods._tdivFast$1(range.end._duration, _1000) / t6 * playedPart, t1)), B.Radius_4_4), t7); } canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(A.Rect$fromPoints(new A.Offset(0, baseOffset), new A.Offset(playedPart0, t1)), B.Radius_4_4), t3.playedPaint); if (_this.drawShadow) { shadowPath = A.Path_Path(); shadowPath.addOval$1(0, A.Rect$fromCircle(new A.Offset(playedPart0, baseOffset + t2), _this.handleHeight)); canvas.drawShadow$4(0, shadowPath, B.Color_4278190080, 0.2, false); } canvas.drawCircle$3(0, new A.Offset(playedPart0, baseOffset + t2), _this.handleHeight, t3.handlePaint); }, get$value(receiver) { return this.value; } }; 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.get$value(pair); }, $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); }, clear$0(_) { this._base.clear$0(0); }, 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(_) { var t1 = this._base; return t1.get$isEmpty(t1); }, get$isNotEmpty(_) { var t1 = this._base; return t1.get$isNotEmpty(t1); }, get$keys(_) { var t1 = this._base; t1 = t1.get$values(t1); 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(_) { var t1 = this._base; return t1.get$length(t1); }, 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($receiver, transform) { return this.map$2$1($receiver, transform, type$.dynamic, type$.dynamic); }, putIfAbsent$2(_, key, ifAbsent) { return J.get$value$x(this._base.putIfAbsent$2(0, this._canonicalize.call$1(key), new A.CanonicalizedMap_putIfAbsent_closure(this, key, ifAbsent))); }, 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.get$value(pair); }, get$values(_) { var t1 = this._base; t1 = t1.get$values(t1); 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 = this.$this.$ti; return new A.MapEntry(J.get$key$x(e.get$value(e)), J.get$value$x(e.get$value(e)), 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>(MapEntry<CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>>)"); } }; A.CanonicalizedMap_forEach_closure.prototype = { call$2(key, pair) { return this.f.call$2(pair.get$key(pair), pair.get$value(pair)); }, $signature() { return this.$this.$ti._eval$1("~(CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)"); } }; A.CanonicalizedMap_keys_closure.prototype = { call$1(pair) { return pair.get$key(pair); }, $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.get$key(pair), pair.get$value(pair)); }, $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.get$value(pair); }, $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 === list2) return true; 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$.dynamic); 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, J.$add$ansx(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 || J.$eq$(count, 0)) return false; counts.$indexSet(0, e, J.$sub$n(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.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; 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); hash = hash + 3 * t3.hash$1(0, key) + 7 * t4.hash$1(0, t5._as(t1.$index(map, key))) & 2147483647; } hash = hash + (hash << 3 >>> 0) & 2147483647; hash ^= hash >>> 11; return hash + (hash << 15 >>> 0) & 2147483647; } }; A.DeepCollectionEquality.prototype = { equals$2(e1, e2) { var _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); 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); 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 (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); return J.get$hashCode$(o); }, isValidKey$1(o) { !type$.Iterable_dynamic._is(o); return true; } }; A.HeapPriorityQueue.prototype = { _elementAt$1(index) { var t1 = this._queue[index]; return t1 == null ? this.$ti._precomputed1._as(null) : t1; }, contains$1(_, object) { return this._locate$1(object) >= 0; }, get$first(_) { if (this._priority_queue$_length === 0) throw A.wrapException(A.StateError$("No element")); return this._elementAt$1(0); }, get$length(_) { return this._priority_queue$_length; }, toString$0(_) { var t1 = this._queue; return A.IterableBase_iterableToShortString(A.SubListIterable$(t1, 0, A.checkNotNullable(this._priority_queue$_length, "count", type$.int), A._arrayInstanceType(t1)._precomputed1), "(", ")"); }, _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; }, _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._queue[parentIndex]; if ($parent == null) $parent = t2._as(null); if (t1.call$2(element, $parent) > 0) break; B.JSArray_methods.$indexSet(_this._queue, index, $parent); } B.JSArray_methods.$indexSet(_this._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._queue; leftChild = t3[leftChildIndex]; if (leftChild == null) leftChild = t2._as(null); rightChild = t3[rightChildIndex]; if (rightChild == null) rightChild = t2._as(null); if (t1.call$2(leftChild, rightChild) < 0) { minChild = leftChild; minChildIndex = leftChildIndex; } else { minChild = rightChild; minChildIndex = rightChildIndex; } if (t1.call$2(element, minChild) <= 0) { B.JSArray_methods.$indexSet(_this._queue, index, element); return; } B.JSArray_methods.$indexSet(_this._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) { B.JSArray_methods.$indexSet(_this._queue, index, child); index = leftChildIndex; } } B.JSArray_methods.$indexSet(_this._queue, index, element); } }; A.ClauseType.prototype = { toString$0(_) { return "ClauseType." + this._core$_name; } }; A._Parser.prototype = { parse$0(_) { var rule, t1, t2, _this = this, _s10_ = "_peekToken", productions = A._setArrayType([], type$.JSArray_TreeNode), start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; while (true) { if (!(!_this._maybeEat$1(1) && A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== 7)) break; rule = _this.processRule$0(); if (rule != null) productions.push(rule); else break; } if (!(A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 1 || A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 67)) _this._parser$_error$2("premature end of file unknown CSS", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); t1 = _this._makeSpan$1(start); t2 = new A.StyleSheet(productions, t1); t2.StyleSheet$2(productions, t1); return t2; }, isPrematureEndOfFile$0() { if (this._maybeEat$1(1)) { this._parser$_error$2("unexpected end of file", A._lateReadCheck(this.___Parser__peekToken, "_peekToken").span); return true; } else return false; }, _parser$_next$0() { var _this = this, t1 = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken"); _this._previousToken = t1; _this.___Parser__peekToken = _this.tokenizer.next$1$unicodeRange(0, false); return t1; }, _maybeEat$2$unicodeRange(kind, unicodeRange) { var _this = this, _s10_ = "_peekToken"; if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === kind) { _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = _this.tokenizer.next$1$unicodeRange(0, unicodeRange); return true; } else return false; }, _maybeEat$1(kind) { return this._maybeEat$2$unicodeRange(kind, false); }, _eat$2$unicodeRange(kind, unicodeRange) { if (!this._maybeEat$2$unicodeRange(kind, unicodeRange)) this._errorExpected$1(A.TokenKind_kindToString(kind)); }, _eat$1(kind) { return this._eat$2$unicodeRange(kind, false); }, _errorExpected$1(expected) { var exception, tok = this._parser$_next$0(), message = null; try { message = "expected " + expected + ", but found " + A.S(tok); } catch (exception) { message = "parsing error expected " + expected; } this._parser$_error$2(message, tok.span); }, _parser$_error$2(message, $location) { $.__messages._readField$0().error$2(0, message, $location); }, _warning$2(message, $location) { $.__messages._readField$0().warning$2(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); }, processMediaQueryList$0() { var mediaQuery, mediaQueries = A._setArrayType([], type$.JSArray_MediaQuery); do { mediaQuery = this.processMediaQuery$0(); if (mediaQuery != null) mediaQueries.push(mediaQuery); else break; } while (this._maybeEat$1(19)); return mediaQueries; }, processMediaQuery$0() { var type, exprs, t2, andOp, t3, andOp0, t4, expr, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, t1 = A._lateReadCheck(_this.___Parser__peekToken, _s10_), op = t1.get$text(t1), opLen = op.length; t1 = A.TokenKind_matchList(B.List_SCS, "type", op, 0, opLen) === -1; if (!t1) { $.__messages._readField$0(); _this._parser$_next$0(); start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; } type = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : null; exprs = A._setArrayType([], type$.JSArray_MediaExpression); for (t2 = type == null, andOp = !t2, t3 = _this.tokenizer; true;) { andOp0 = exprs.length !== 0 || andOp; if (andOp0) { t4 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); op = t4.get$text(t4); opLen = op.length; if (A.TokenKind_matchList(B.List_SCS, "type", op, 0, opLen) !== 667) break; _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t3.next$1$unicodeRange(0, false); } expr = _this.processMediaExpression$1(andOp0); if (expr == null) break; exprs.push(expr); } if (!t1 || !t2 || exprs.length !== 0) return new A.MediaQuery0(exprs, _this._makeSpan$1(start)); return null; }, processMediaExpression$1(andOperator) { var exprs, t1, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; if (_this._maybeEat$1(2)) if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { _this.identifier$0(0); if (_this._maybeEat$1(17)) exprs = _this.processExpr$0(); else { t1 = _this._makeSpan$1(A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); exprs = new A.Expressions(A._setArrayType([], type$.JSArray_Expression), t1); } if (_this._maybeEat$1(3)) return new A.MediaExpression(exprs, _this._makeSpan$1(start)); else $.__messages._readField$0(); } else $.__messages._readField$0(); return null; }, processDirective$0() { var func, importStr, medias, media, rules, rule, pseudoPage, $name, t1, t2, t3, t4, t5, t6, productions, prefix, condition, groupRuleBody, _this = this, _null = null, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, tokId = _this.processVariableOrDirective$0(); if (tokId instanceof A.VarDefinitionDirective) return tokId; A._asInt(tokId); switch (tokId) { case 641: _this._parser$_next$0(); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { func = _this.processFunction$1(_this.identifier$0(0)); importStr = func instanceof A.UriTerm ? func.text : _null; } else importStr = _this.processQuotedString$1(false); medias = _this.processMediaQueryList$0(); if (importStr == null) _this._parser$_error$2("missing import string", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); importStr.toString; B.JSString_methods.trim$0(importStr); return new A.ImportDirective(medias, _this._makeSpan$1(start)); case 642: _this._parser$_next$0(); media = _this.processMediaQueryList$0(); rules = A._setArrayType([], type$.JSArray_TreeNode); if (_this._maybeEat$1(6)) { for (; !_this._maybeEat$1(1);) { rule = _this.processRule$0(); if (rule == null) break; rules.push(rule); } if (!_this._maybeEat$1(7)) _this._parser$_error$2("expected } after ruleset for @media", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); } else _this._parser$_error$2("expected { after media before ruleset", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); return new A.MediaDirective(media, rules, _this._makeSpan$1(start)); case 653: _this._parser$_next$0(); rules = A._setArrayType([], type$.JSArray_TreeNode); if (_this._maybeEat$1(6)) { for (; !_this._maybeEat$1(1);) { rule = _this.processRule$0(); if (rule == null) break; rules.push(rule); } if (!_this._maybeEat$1(7)) _this._parser$_error$2("expected } after ruleset for @host", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); } else _this._parser$_error$2("expected { after host before ruleset", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); return new A.HostDirective(rules, _this._makeSpan$1(start)); case 643: _this._parser$_next$0(); A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; if (_this._maybeEat$1(17)) if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { pseudoPage = _this.identifier$0(0); $.__messages._readField$0(); } else pseudoPage = _null; return new A.PageDirective(_this.processMarginsDeclarations$0(), _this._makeSpan$1(start)); case 644: _this._parser$_next$0(); _this.processQuotedString$1(false); return new A.CharsetDirective(_this._makeSpan$1(start)); case 646: case 647: case 648: case 650: case 649: if (tokId === 649) $.__messages._readField$0(); _this._parser$_next$0(); $name = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; _this._eat$1(6); t1 = _this._makeSpan$1(start); t2 = A._setArrayType([], type$.JSArray_KeyFrameBlock); t3 = type$.JSArray_Expression; t4 = type$.Expression; do { t5 = _this._makeSpan$1(start); t6 = A._setArrayType([], t3); do t6.push(t4._as(_this.processTerm$0())); while (_this._maybeEat$1(19)); t2.push(new A.KeyFrameBlock(new A.Expressions(t6, t5), _this.processDeclarations$0(), _this._makeSpan$1(start))); } while (!_this._maybeEat$1(7) && !_this.isPrematureEndOfFile$0()); return new A.KeyFrameDirective($name, t2, t1); case 651: _this._parser$_next$0(); return new A.FontFaceDirective(_this.processDeclarations$0(), _this._makeSpan$1(start)); case 645: _this._parser$_next$0(); $name = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; _this._eat$1(6); productions = A._setArrayType([], type$.JSArray_TreeNode); start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; for (; !_this._maybeEat$1(1);) { rule = _this.processRule$0(); if (rule == null) break; productions.push(rule); } _this._eat$1(7); A._asString($name); return new A.StyletDirective(productions, _this._makeSpan$1(start)); case 652: _this._parser$_next$0(); prefix = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) _this.processFunction$1(_this.identifier$0(0)); else if (prefix != null && prefix.name === "url") { if (_this.processFunction$1(prefix) instanceof A.UriTerm) prefix = _null; } else _this.processQuotedString$1(false); prefix == null; return new A.NamespaceDirective(_this._makeSpan$1(start)); case 654: return _this.processMixin$0(); case 655: return _this.processInclude$1(_this._makeSpan$1(start)); case 656: _this._warning$2("@content not implemented.", _this._makeSpan$1(start)); return _null; case 658: return _this.processDocumentDirective$0(); case 659: start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; _this._parser$_next$0(); condition = _this.processSupportsCondition$0(); _this._eat$1(6); groupRuleBody = _this.processGroupRuleBody$0(); _this._eat$1(7); return new A.SupportsDirective(condition, groupRuleBody, _this._makeSpan$1(start)); case 660: case 661: start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t1 = _this._parser$_next$0(); return new A.ViewportDirective(t1.get$text(t1), _this.processDeclarations$0(), _this._makeSpan$1(start)); } return _null; }, processMixin$0() { var $name, t1, params, t2, mustHaveParam, keepGoing, varDef, $location, t3, t4, productions, start, mixinDirective, directive, declGroup, newDecls, _i, decl, _this = this, _s10_ = "_peekToken"; _this._parser$_next$0(); $name = _this.identifier$0(0); t1 = type$.JSArray_TreeNode; params = A._setArrayType([], t1); if (_this._maybeEat$1(2)) for (t2 = type$.TreeNode, mustHaveParam = false, keepGoing = true; keepGoing;) { varDef = _this.processVariableOrDirective$1$mixinParameter(true); if (varDef instanceof A.VarDefinitionDirective || varDef instanceof A.VarDefinition) params.push(t2._as(varDef)); else if (mustHaveParam) { $location = _this._makeSpan$1(A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); t3 = $.__messages.__late_helper$_value; if (t3 == null ? $.__messages == null : t3 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); t4 = t3.options; t3.messages.push(new A.Message(B.MessageLevel_1, "Expecting parameter", $location, t4.useColors)); keepGoing = false; } if (_this._maybeEat$1(19)) { mustHaveParam = true; continue; } keepGoing = !_this._maybeEat$1(3); } _this._eat$1(6); productions = A._setArrayType([], t1); start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t2 = type$.JSArray_Declaration; while (true) { if (!!_this._maybeEat$1(1)) { mixinDirective = null; break; } c$1: { directive = _this.processDirective$0(); if (directive != null) { productions.push(directive); break c$1; } declGroup = _this.processDeclarations$1$checkBrace(false); t3 = declGroup.declarations; if (B.JSArray_methods.any$1(t3, new A._Parser_processMixin_closure())) { newDecls = A._setArrayType([], t2); B.JSArray_methods.forEach$1(productions, new A._Parser_processMixin_closure0(_this, newDecls)); B.JSArray_methods.insertAll$2(t3, 0, newDecls); productions = A._setArrayType([], t1); } else { for (t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { decl = t3[_i]; productions.push(decl instanceof A.IncludeMixinAtDeclaration ? decl.include : decl); } B.JSArray_methods.set$length(t3, 0); } t4 = t3.length; if (t4 !== 0) if (productions.length === 0) { mixinDirective = new A.MixinDeclarationDirective(declGroup, $name.name, _this._makeSpan$1(start)); break; } else for (_i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { decl = t3[_i]; productions.push(decl instanceof A.IncludeMixinAtDeclaration ? decl.include : decl); } else { mixinDirective = new A.MixinRulesetDirective(productions, $name.name, _this._makeSpan$1(start)); break; } } } if (productions.length !== 0) mixinDirective = new A.MixinRulesetDirective(productions, $name.name, _this._makeSpan$1(start)); _this._eat$1(7); return mixinDirective; }, processVariableOrDirective$1$mixinParameter(mixinParameter) { var t1, directive, directiveLen, $name, exprs, span, definedName, _this = this, _null = null, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, tokId = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; if (tokId === 10) { _this._parser$_next$0(); tokId = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { t1 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); directive = t1.get$text(t1); directiveLen = directive.length; tokId = A.TokenKind_matchList(B.List_k92, "type", directive, 0, directiveLen); if (tokId === -1) tokId = A.TokenKind_matchList(B.List_d5v, "type", directive, 0, directiveLen); } if (tokId === -1) { $.__messages._readField$0(); $name = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; if (mixinParameter && _this._maybeEat$1(17)) exprs = _this.processExpr$0(); else if (!mixinParameter) { _this._eat$1(17); exprs = _this.processExpr$0(); } else exprs = _null; span = _this._makeSpan$1(start); return new A.VarDefinitionDirective(A.VarDefinition$($name, exprs, span), span); } } else if (mixinParameter && A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 400) { _this._parser$_next$0(); definedName = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; exprs = _this._maybeEat$1(17) ? _this.processExpr$0() : _null; return A.VarDefinition$(definedName, exprs, _this._makeSpan$1(start)); } return tokId; }, processVariableOrDirective$0() { return this.processVariableOrDirective$1$mixinParameter(false); }, processInclude$2$eatSemiColon(span, eatSemiColon) { var $name, params, t1, terms, t2, t3, expr, keepGoing, t4, _this = this, _s10_ = "_peekToken"; _this._parser$_next$0(); $name = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : null; params = A._setArrayType([], type$.JSArray_List_Expression); if (_this._maybeEat$1(2)) { t1 = type$.JSArray_Expression; terms = A._setArrayType([], t1); t2 = type$.Expression; t3 = type$.List_dynamic; expr = null; keepGoing = true; while (true) { if (keepGoing) { expr = _this.processTerm$0(); t4 = expr != null; } else t4 = false; if (!t4) break; terms.push(t2._as(t3._is(expr) ? J.$index$asx(expr, 0) : expr)); keepGoing = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== 3; if (keepGoing) if (_this._maybeEat$1(19)) { params.push(terms); terms = A._setArrayType([], t1); } } params.push(terms); _this._maybeEat$1(3); } if (eatSemiColon) _this._eat$1(9); return new A.IncludeDirective($name.name, params, span); }, processInclude$1(span) { return this.processInclude$2$eatSemiColon(span, true); }, processDocumentDirective$0() { var functions, t1, t2, ident, t3, argumentStart, value, argument, argumentSpan, t4, t5, $function, groupRuleBody, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; _this._parser$_next$0(); functions = A._setArrayType([], type$.JSArray_LiteralTerm); t1 = type$.LiteralTerm; t2 = type$.JSArray_Expression; do { ident = _this.identifier$0(0); _this._eat$1(2); t3 = ident.name; if (t3 === "url-prefix" || t3 === "domain") { argumentStart = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; value = _this.processQuotedString$1(true); argument = value.length !== 0 ? '"' + value + '"' : ""; argumentSpan = _this._makeSpan$1(argumentStart); _this._eat$1(3); t3 = _this._makeSpan$1(argumentSpan); t4 = A._setArrayType([], t2); t4.push(new A.LiteralTerm(argument, argument, argumentSpan)); t5 = ident.name; $function = new A.FunctionTerm(new A.Expressions(t4, t3), t5, t5, _this._makeSpan$1(ident.span)); } else $function = t1._as(_this.processFunction$1(ident)); functions.push($function); } while (_this._maybeEat$1(19)); _this._eat$1(6); groupRuleBody = _this.processGroupRuleBody$0(); _this._eat$1(7); return new A.DocumentDirective(functions, groupRuleBody, _this._makeSpan$1(start)); }, processSupportsCondition$0() { var start, conditions, t1, clauseType, t2, text, type, $location, msg, _this = this, _s10_ = "_peekToken"; if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) return _this.processSupportsNegation$0(); start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; conditions = A._setArrayType([], type$.JSArray_SupportsConditionInParens); for (t1 = _this.tokenizer, clauseType = B.ClauseType_0; true;) { conditions.push(_this.processSupportsConditionInParens$0()); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); text = t2.get$text(t2).toLowerCase(); if (text === "and") type = B.ClauseType_1; else { if (text !== "or") break; type = B.ClauseType_2; } if (clauseType === B.ClauseType_0) clauseType = type; else if (clauseType !== type) { $location = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t1 = $.__messages.__late_helper$_value; if (t1 == null ? $.__messages == null : t1 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); msg = new A.Message(B.MessageLevel_2, "Operators can't be mixed without a layer of parentheses", $location, t1.options.useColors); t1.messages.push(msg); t1.printHandler.call$1(msg); break; } _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); } if (clauseType === B.ClauseType_1) return new A.SupportsConjunction(conditions, _this._makeSpan$1(start)); else if (clauseType === B.ClauseType_2) return new A.SupportsDisjunction(conditions, _this._makeSpan$1(start)); else return B.JSArray_methods.get$first(conditions); }, processSupportsNegation$0() { var _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, t1 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); if (t1.get$text(t1).toLowerCase() !== "not") return null; _this._parser$_next$0(); return new A.SupportsNegation(_this.processSupportsConditionInParens$0(), _this._makeSpan$1(start)); }, processSupportsConditionInParens$0() { var condition, declaration, _this = this, start = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken").span; _this._eat$1(2); condition = _this.processSupportsCondition$0(); if (condition != null) { _this._eat$1(3); return new A.SupportsConditionInParens(condition, _this._makeSpan$1(start)); } declaration = _this.processDeclaration$1(A._setArrayType([], type$.JSArray_DartStyleExpression)); _this._eat$1(3); return new A.SupportsConditionInParens(declaration, _this._makeSpan$1(start)); }, processRule$1(selectorGroup) { var directive, _this = this; if (selectorGroup == null) { directive = _this.processDirective$0(); if (directive != null) { _this._maybeEat$1(9); return directive; } selectorGroup = _this.processSelectorGroup$0(); } if (selectorGroup != null) return new A.RuleSet(selectorGroup, _this.processDeclarations$0(), selectorGroup.span); return null; }, processRule$0() { return this.processRule$1(null); }, processGroupRuleBody$0() { var rule, _s10_ = "_peekToken", nodes = A._setArrayType([], type$.JSArray_TreeNode); while (true) { if (!!(A._lateReadCheck(this.___Parser__peekToken, _s10_).kind === 7 || A._lateReadCheck(this.___Parser__peekToken, _s10_).kind === 1)) break; c$0: { rule = this.processRule$0(); if (rule != null) { nodes.push(rule); break c$0; } break; } } return nodes; }, _nestedSelector$0() { var t2, t3, t4, t5, t6, t7, t8, selGroup, _this = this, _s10_ = "_peekToken", t1 = $.__messages._readField$0(); A._createMessages(null, null); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); t3 = _this._previousToken; t4 = _this.tokenizer; t5 = t4._parser$_index; t6 = t4._parser$_startIndex; t7 = t4.inSelectorExpression; t8 = t4.inSelector; selGroup = _this.processSelectorGroup$0(); if (!(selGroup != null && A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 6 && $.__messages._readField$0().messages.length === 0)) { t4._parser$_index = t5; t4._parser$_startIndex = t6; t4.inSelectorExpression = t7; t4.inSelector = t8; _this.___Parser__peekToken = t2; _this._previousToken = t3; $.__messages.__late_helper$_value = t1; return null; } else { t1.mergeMessages$1($.__messages._readField$0()); $.__messages.__late_helper$_value = t1; return selGroup; } }, processDeclarations$1$checkBrace(checkBrace) { var decls, dartStyles, selectorGroup, t1, decl, replaced, t2, t3, i, _i, _this = this, start = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken").span; if (checkBrace) _this._eat$1(6); decls = A._setArrayType([], type$.JSArray_TreeNode); dartStyles = A._setArrayType([], type$.JSArray_DartStyleExpression); do { selectorGroup = _this._nestedSelector$0(); for (; selectorGroup != null;) { t1 = _this.processRule$1(selectorGroup); t1.toString; decls.push(t1); selectorGroup = _this._nestedSelector$0(); } decl = _this.processDeclaration$1(dartStyles); if (decl != null) { t1 = decl.dartStyle; if (t1 != null) { t2 = dartStyles.length; t3 = t1._styleType; i = 0; while (true) { if (!(i < t2)) { replaced = false; break; } if (dartStyles[i]._styleType === t3) { dartStyles[i] = t1; replaced = true; break; } ++i; } if (!replaced) dartStyles.push(t1); } decls.push(decl); } } while (_this._maybeEat$1(9)); if (checkBrace) _this._eat$1(7); for (t1 = decls.length, _i = 0; _i < decls.length; decls.length === t1 || (0, A.throwConcurrentModificationError)(decls), ++_i) { decl = decls[_i]; if (decl instanceof A.Declaration) { t2 = decl.dartStyle; if (t2 != null && !B.JSArray_methods.contains$1(dartStyles, t2)) decl.dartStyle = null; } } return new A.DeclarationGroup(decls, _this._makeSpan$1(start)); }, processDeclarations$0() { return this.processDeclarations$1$checkBrace(true); }, processMarginsDeclarations$0() { var decls, dartStyles, decl, t1, replaced, t2, t3, i, _i, _this = this, _s10_ = "_peekToken", groups = A._setArrayType([], type$.JSArray_DeclarationGroup), start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; _this._eat$1(6); decls = A._setArrayType([], type$.JSArray_Declaration); dartStyles = A._setArrayType([], type$.JSArray_DartStyleExpression); do switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 670: case 671: case 672: case 673: case 674: case 675: case 676: case 677: case 678: case 679: case 680: case 681: case 682: case 683: case 684: case 685: A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this._parser$_next$0(); groups.push(new A.MarginGroup(_this.processDeclarations$0().declarations, _this._makeSpan$1(start))); break; default: decl = _this.processDeclaration$1(dartStyles); if (decl != null) { t1 = decl.dartStyle; if (t1 != null) { t2 = dartStyles.length; t3 = t1._styleType; i = 0; while (true) { if (!(i < t2)) { replaced = false; break; } if (dartStyles[i]._styleType === t3) { dartStyles[i] = t1; replaced = true; break; } ++i; } if (!replaced) dartStyles.push(t1); } decls.push(decl); } _this._maybeEat$1(9); break; } while (!_this._maybeEat$1(7) && !_this.isPrematureEndOfFile$0()); for (t1 = decls.length, _i = 0; t2 = decls.length, _i < t2; decls.length === t1 || (0, A.throwConcurrentModificationError)(decls), ++_i) { decl = decls[_i]; t2 = decl.dartStyle; if (t2 != null && !B.JSArray_methods.contains$1(dartStyles, t2)) decl.dartStyle = null; } if (t2 !== 0) groups.push(new A.DeclarationGroup(decls, _this._makeSpan$1(start))); return groups; }, processSelectorGroup$0() { var selector, _this = this, selectors = A._setArrayType([], type$.JSArray_Selector), start = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken").span, t1 = _this.tokenizer; t1.inSelector = true; do { selector = _this.processSelector$0(); if (selector != null) selectors.push(selector); } while (_this._maybeEat$1(19)); t1.inSelector = false; if (selectors.length !== 0) return new A.SelectorGroup(selectors, _this._makeSpan$1(start)); return null; }, processSelector$0() { var selectorItem, simpleSequences = A._setArrayType([], type$.JSArray_SimpleSelectorSequence), start = A._lateReadCheck(this.___Parser__peekToken, "_peekToken").span; 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(start)); }, processCompoundSelector$0() { var t1, t2, _i, sequence, t3, msg, selector = this.processSelector$0(); if (selector != null) for (t1 = selector.simpleSelectorSequences, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { sequence = t1[_i]; if (sequence.combinator !== 513) { t3 = $.__messages.__late_helper$_value; if (t3 == null ? $.__messages == null : t3 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); msg = new A.Message(B.MessageLevel_2, "compound selector can not contain combinator", sequence.span, t3.options.useColors); t3.messages.push(msg); t3.printHandler.call$1(msg); } } return selector; }, simpleSelectorSequence$1(forceCombinatorNone) { var combinatorType, thisOperator, t1, t2, span, simpleSel, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).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) { t1 = _this._previousToken; if (t1 != null) { t1 = t1.span; t1 = A.FileLocation$_(t1.file, t1._file$_end); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t2 = t1.offset !== A.FileLocation$_(t2.file, t2._file$_start).offset; t1 = t2; } else t1 = false; if (t1) combinatorType = 514; } span = _this._makeSpan$1(start); 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 first, element, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 15: first = new A.Wildcard(_this._makeSpan$1(_this._parser$_next$0().span)); break; case 511: first = _this.identifier$0(0); break; default: if (A.TokenKind_isKindIdentifier(A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind)) first = _this.identifier$0(0); else { if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 9) return null; first = null; } break; } if (_this._maybeEat$1(16)) { switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 15: element = new A.Wildcard(_this._makeSpan$1(_this._parser$_next$0().span)); break; case 511: element = _this.identifier$0(0); break; default: _this._parser$_error$2("expected element name or universal(*), but found " + A._lateReadCheck(_this.___Parser__peekToken, _s10_).toString$0(0), A._lateReadCheck(_this.___Parser__peekToken, _s10_).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 = A._lateReadCheck(this.___Parser__peekToken, "_peekToken").span; return t1.offset !== A.FileLocation$_(t2.file, t2._file$_start).offset; } return false; }, simpleSelectorTail$0() { var _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 11: _this._eat$1(11); if (_this._anyWhiteSpaceBeforePeekToken$1(11)) { _this._parser$_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._parser$_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._parser$_error$2("name must start with a alpha character, but found a number", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); _this._parser$_next$0(); break; } return null; }, processPseudoSelector$1(start) { var pseudoElement, pseudoName, $name, t1, negArg, selector, span, expr, _this = this, _s10_ = "_peekToken"; _this._eat$1(17); pseudoElement = _this._maybeEat$1(17); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) pseudoName = _this.identifier$0(0); else return null; $name = pseudoName.name.toLowerCase(); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).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"; 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 || J.containsKey$1$x(B.Set_wijBi._collection$_map, $name) ? new A.PseudoElementSelector(t1, pseudoName, _this._makeSpan$1(start)) : new A.PseudoClassSelector(pseudoName, _this._makeSpan$1(start)); }, processSelectorExpression$0() { var t1, value, termToken, keepParsing, _this = this, _null = null, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, expressions = A._setArrayType([], type$.JSArray_Expression); for (t1 = _this.tokenizer, value = _null, termToken = value, keepParsing = true; keepParsing;) { switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 12: start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; termToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this._previousToken = termToken; _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); expressions.push(new A.OperatorPlus(_this._makeSpan$1(start))); break; case 34: start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; termToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this._previousToken = termToken; _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); expressions.push(new A.OperatorMinus(_this._makeSpan$1(start))); break; case 60: termToken = _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); value = A.int_parse(termToken.get$text(termToken), _null); break; case 62: termToken = _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); value = A.double_parse(termToken.get$text(termToken)); 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) { expressions.push(_this.processDimension$3(termToken, value, _this._makeSpan$1(start))); value = _null; } } return new A.SelectorExpression(expressions, _this._makeSpan$1(start)); }, processAttribute$0() { var attrName, op, value, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; if (_this._maybeEat$1(4)) { attrName = _this.identifier$0(0); switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 28: case 530: case 531: case 532: case 533: case 534: op = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; _this._parser$_next$0(); break; default: op = 535; } if (op !== 535) value = A._lateReadCheck(_this.___Parser__peekToken, _s10_).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(start)); } return null; }, processDeclaration$1(dartStyles) { var propertyIdent, t1, exprs, dartComposite, decl, definedName, span, simpleSequences, selector, pseudoSelector, _this = this, _null = null, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, ie7 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 15; if (ie7) _this._parser$_next$0(); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { propertyIdent = _this.identifier$0(0); t1 = propertyIdent.name; _this._eat$1(17); exprs = _this.processExpr$1(t1.toLowerCase() === "filter"); dartComposite = _this._styleForDart$3(propertyIdent, exprs, dartStyles); _this._maybeEat$1(505); decl = new A.Declaration(propertyIdent, exprs, dartComposite, ie7, _this._makeSpan$1(start)); } else if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 400) { _this._parser$_next$0(); definedName = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0) : _null; _this._eat$1(17); decl = A.VarDefinition$(definedName, _this.processExpr$0(), _this._makeSpan$1(start)); } else if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 655) { span = _this._makeSpan$1(start); decl = A.IncludeMixinAtDeclaration$(_this.processInclude$2$eatSemiColon(span, false), span); } else if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 657) { simpleSequences = A._setArrayType([], type$.JSArray_TreeNode); _this._parser$_next$0(); span = _this._makeSpan$1(start); selector = _this.simpleSelector$0(); if (selector == null) _this._warning$2("@extends expecting simple selector name", span); else simpleSequences.push(selector); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 17) { pseudoSelector = _this.processPseudoSelector$1(A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); if (pseudoSelector instanceof A.PseudoElementSelector || pseudoSelector instanceof A.PseudoClassSelector) { pseudoSelector.toString; simpleSequences.push(pseudoSelector); } else _this._warning$2("not a valid selector", span); } decl = new A.ExtendDeclaration(simpleSequences, _null, _null, _null, false, span); } else decl = _null; return decl; }, _styleForDart$3(property, exprs, dartStyles) { var styleType = B.Map_7mGzu.$index(0, property.name.toLowerCase()); if (styleType != null) return this.buildDartStyleNode$3(styleType, exprs, dartStyles); return null; }, _mergeFontStyles$2(fontExpr, dartStyles) { var t1, t2, _i, dartStyle, t3; for (t1 = dartStyles.length, t2 = type$.FontExpression, _i = 0; _i < dartStyles.length; dartStyles.length === t1 || (0, A.throwConcurrentModificationError)(dartStyles), ++_i) { dartStyle = dartStyles[_i]; if (dartStyle._styleType === 1) { t2._as(dartStyle); t3 = fontExpr.span; t3.toString; fontExpr = new A.FontExpression(A.Font_merge(dartStyle.font, fontExpr.font), 1, t3); } } return fontExpr; }, buildDartStyleNode$3(styleType, exprs, dartStyles) { var processor, fontException, t1, exception, t2, expr, weight, _i, _this = this, _null = null; switch (styleType) { case 0: return _this._mergeFontStyles$2(new A.ExpressionsProcessor(exprs).processFont$0(), dartStyles); case 4: processor = new A.ExpressionsProcessor(exprs); try { t1 = _this._mergeFontStyles$2(processor.processFontFamily$0(), dartStyles); return t1; } catch (exception) { fontException = A.unwrapException(exception); t1 = A.S(fontException); t2 = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken"); _this._parser$_error$2(t1, t2.span); } break; case 3: return _this._mergeFontStyles$2(new A.ExpressionsProcessor(exprs).processFontSize$0(), dartStyles); case 5: break; case 1: break; case 2: expr = exprs.expressions[0]; if (expr instanceof A.NumberTerm) return _this._mergeFontStyles$2(A.FontExpression$(expr.span, _null, _null, _null, A._asIntQ(expr.value)), dartStyles); else if (expr instanceof A.LiteralTerm) { weight = B.Map_8GWbD.$index(0, J.toString$0$(expr.value)); if (weight != null) return _this._mergeFontStyles$2(A.FontExpression$(expr.span, _null, _null, _null, weight), dartStyles); } break; case 11: t1 = exprs.expressions; if (t1.length === 1) { expr = t1[0]; if (expr instanceof A.UnitTerm) { t1 = expr.unit; if (t1 === 602 || t1 === 606) return _this._mergeFontStyles$2(A.FontExpression$(expr.span, _null, new A.LineHeight0(A._asNum(expr.value)), _null, _null), dartStyles); else $.__messages._readField$0(); } else if (expr instanceof A.NumberTerm) return _this._mergeFontStyles$2(A.FontExpression$(expr.span, _null, new A.LineHeight0(A._asNum(expr.value)), _null, _null), dartStyles); else $.__messages._readField$0(); } break; case 6: _this.processFourNums$1(exprs); return new A.MarginExpression(2, exprs.span); case 12: for (t1 = exprs.expressions, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) if (_this.marginValue$1(t1[_i]) != null) return new A.BorderExpression(3, exprs.span); break; case 17: if (_this.marginValue$1(exprs.expressions[0]) != null) return new A.BorderExpression(3, exprs.span); break; case 24: _this.processFourNums$1(exprs); return new A.PaddingExpression(4, exprs.span); case 7: case 8: case 9: case 10: case 13: case 14: case 15: case 16: case 18: case 19: case 20: case 21: case 22: case 23: case 25: case 26: case 27: case 28: if (exprs.expressions.length !== 0) return _this.processOneNumber$2(exprs, styleType); break; } return _null; }, processOneNumber$2(exprs, part) { var value = this.marginValue$1(exprs.expressions[0]); if (value != null) switch (part) { case 7: return new A.MarginExpression(2, exprs.span); case 8: return new A.MarginExpression(2, exprs.span); case 9: return new A.MarginExpression(2, exprs.span); case 10: return new A.MarginExpression(2, exprs.span); case 13: case 18: return new A.BorderExpression(3, exprs.span); case 14: case 19: return new A.BorderExpression(3, exprs.span); case 15: case 20: return new A.BorderExpression(3, exprs.span); case 16: case 21: return new A.BorderExpression(3, exprs.span); case 22: return new A.HeightExpression(value, 5, exprs.span); case 23: return new A.WidthExpression(6, exprs.span); case 25: return new A.PaddingExpression(4, exprs.span); case 26: return new A.PaddingExpression(4, exprs.span); case 27: return new A.PaddingExpression(4, exprs.span); case 28: return new A.PaddingExpression(4, exprs.span); } return null; }, processFourNums$1(exprs) { var $top, bottom, _this = this, t1 = exprs.expressions; switch (t1.length) { case 1: $top = _this.marginValue$1(t1[0]); bottom = $top; break; case 2: $top = _this.marginValue$1(t1[0]); _this.marginValue$1(t1[1]); bottom = $top; break; case 3: $top = _this.marginValue$1(t1[0]); _this.marginValue$1(t1[1]); bottom = _this.marginValue$1(t1[2]); break; case 4: $top = _this.marginValue$1(t1[0]); _this.marginValue$1(t1[1]); bottom = _this.marginValue$1(t1[2]); _this.marginValue$1(t1[3]); break; default: return null; } return new A.BoxEdge($top, bottom); }, marginValue$1(exprTerm) { if (exprTerm instanceof A.UnitTerm) return A._asNum(exprTerm.value); else if (exprTerm instanceof A.NumberTerm) return A._asNum(exprTerm.value); return null; }, processExpr$1(ieFilter) { var t6, opStart, op, ie8Start, _this = this, _null = null, _s10_ = "_peekToken", t1 = _this._makeSpan$1(A._lateReadCheck(_this.___Parser__peekToken, _s10_).span), t2 = A._setArrayType([], type$.JSArray_Expression), t3 = _this.tokenizer, t4 = type$.Expression, t5 = type$.List_Expression, expr = _null, keepGoing = true; while (true) { if (keepGoing) { expr = _this.processTerm$1(ieFilter); t6 = expr != null; } else t6 = false; if (!t6) break; opStart = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 27: op = new A.OperatorSlash(_this._makeSpan$1(opStart)); break; case 19: op = new A.OperatorComma(_this._makeSpan$1(opStart)); break; case 35: ie8Start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); t6 = t3.next$1$unicodeRange(0, false); _this.___Parser__peekToken = t6; if (A._lateReadCheck(t6, _s10_).kind === 60) { t6 = _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t3.next$1$unicodeRange(0, false); if (A.int_parse(t6.get$text(t6), _null) === 9) op = new A.IE8Term("\\9", "\\9", _this._makeSpan$1(ie8Start)); else { t6 = $.__messages.__late_helper$_value; if (t6 == null ? $.__messages == null : t6 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); op = _null; } } else op = _null; break; default: op = _null; } if (expr != null) if (t5._is(expr)) for (t6 = J.get$iterator$ax(expr); t6.moveNext$0();) t2.push(t6.get$current(t6)); else { t4._as(expr); t2.push(expr); } else keepGoing = false; if (op != null) { t2.push(op); if (op instanceof A.IE8Term) keepGoing = false; else { _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t3.next$1$unicodeRange(0, false); } } } return new A.Expressions(t2, t1); }, processExpr$0() { return this.processExpr$1(false); }, processTerm$1(ieFilter) { var t1, hexText1, t2, hexText, t, value, term, t3, nameValue, calc, colorEntry, first, firstNumber, secondNumber, expr, _this = this, _null = null, _s10_ = "_peekToken", _s38_ = "unicode range must be less than 10FFFF", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 11: _this._eat$1(11); if (!_this._anyWhiteSpaceBeforePeekToken$1(11)) { if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 60) { t1 = A._lateReadCheck(_this.___Parser__peekToken, _s10_); hexText1 = t1.get$text(t1); _this._parser$_next$0(); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511) { t1 = _this._previousToken.span; t1 = A.FileLocation$_(t1.file, t1._file$_end); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t2 = t1.offset === A.FileLocation$_(t2.file, t2._file$_start).offset; t1 = t2; } else t1 = false; hexText = t1 ? hexText1 + _this.identifier$0(0).name : hexText1; } else hexText = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 511 ? _this.identifier$0(0).name : _null; if (hexText != null) return _this._parseHex$2(hexText, _this._makeSpan$1(start)); } $.__messages._readField$0(); return _this._parseHex$2(" " + A.S(J.get$text$x(_this.processTerm$0())), _this._makeSpan$1(start)); case 60: t = _this._parser$_next$0(); value = A.int_parse(t.get$text(t), _null); break; case 62: t = _this._parser$_next$0(); value = A.double_parse(t.get$text(t)); 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 2: _this._parser$_next$0(); t1 = _this._makeSpan$1(start); t2 = A._setArrayType([], type$.JSArray_LiteralTerm); do { term = _this.processTerm$0(); t3 = term != null; if (t3 && term instanceof A.LiteralTerm) t2.push(term); } while (t3 && !_this._maybeEat$1(3) && !_this.isPrematureEndOfFile$0()); return new A.GroupTerm(t2, t1); case 4: _this._parser$_next$0(); term = _this.processTerm$0(); if (!(term instanceof A.NumberTerm)) _this._parser$_error$2("Expecting a positive number", _this._makeSpan$1(start)); _this._eat$1(5); t1 = J.getInterceptor$x(term); return new A.ItemTerm(t1.get$value(term), A._asString(t1.get$text(term)), _this._makeSpan$1(start)); case 511: nameValue = _this.identifier$0(0); if (!ieFilter && _this._maybeEat$1(2)) { calc = _this.processCalc$1(nameValue); if (calc != null) return calc; return _this.processFunction$1(nameValue); } if (ieFilter) if (_this._maybeEat$1(17) && nameValue.name.toLowerCase() === "progid") return _this.processIEFilter$1(start); else return _this.processIEFilter$1(start); t1 = nameValue.name; if (t1 === "from") return new A.LiteralTerm(nameValue, t1, _this._makeSpan$1(start)); colorEntry = A.TokenKind_matchColorName(t1); if (colorEntry == null) { $.__messages._readField$0(); return new A.LiteralTerm(nameValue, nameValue.name, _this._makeSpan$1(start)); } return _this._parseHex$2(A.TokenKind_decimalToHex(A._asInt(J.$index$asx(colorEntry, "value")), 6), _this._makeSpan$1(start)); case 508: _this._eat$2$unicodeRange(508, true); if (_this._maybeEat$2$unicodeRange(61, true)) { t1 = _this._previousToken; first = t1.get$text(t1); firstNumber = A.int_parse("0x" + first, _null); if (firstNumber > 1114111) _this._parser$_error$2(_s38_, _this._makeSpan$1(start)); if (_this._maybeEat$2$unicodeRange(34, true)) if (_this._maybeEat$2$unicodeRange(61, true)) { t1 = _this._previousToken; secondNumber = A.int_parse("0x" + t1.get$text(t1), _null); if (secondNumber > 1114111) _this._parser$_error$2(_s38_, _this._makeSpan$1(start)); if (firstNumber > secondNumber) _this._parser$_error$2("unicode first range can not be greater than last", _this._makeSpan$1(start)); } } else if (_this._maybeEat$2$unicodeRange(509, true)) { t1 = _this._previousToken; first = t1.get$text(t1); } else first = _null; return new A.UnicodeRangeTerm(first, _this._makeSpan$1(start)); case 10: $.__messages._readField$0(); _this._parser$_next$0(); expr = _this.processExpr$0(); $.__messages._readField$0(); t1 = expr.expressions; t1[0] = new A.VarUsage(type$.LiteralTerm._as(t1[0]).text, A._setArrayType([], type$.JSArray_Expression), _this._makeSpan$1(start)); return t1; default: value = _null; t = value; } return t != null ? _this.processDimension$3(t, type$.Object._as(value), _this._makeSpan$1(start)) : _null; }, processTerm$0() { return this.processTerm$1(false); }, processDimension$3(t, value, span) { var term, _this = this, unitType = A._lateReadCheck(_this.___Parser__peekToken, "_peekToken").kind; switch (unitType) { case 600: term = new A.EmTerm(value, t.get$text(t), span); _this._parser$_next$0(); break; case 601: term = new A.ExTerm(value, t.get$text(t), span); _this._parser$_next$0(); break; case 602: case 603: case 604: case 605: case 606: case 607: term = new A.LengthTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 608: case 609: case 610: case 611: term = new A.AngleTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 612: case 613: term = new A.TimeTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 614: case 615: term = new A.FreqTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 24: term = new A.PercentageTerm(value, t.get$text(t), span); _this._parser$_next$0(); break; case 617: term = new A.FractionTerm(value, t.get$text(t), span); _this._parser$_next$0(); break; case 618: case 619: case 620: term = new A.ResolutionTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 621: term = new A.ChTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 622: term = new A.RemTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); break; case 623: case 624: case 625: case 626: term = new A.ViewportTerm(unitType, value, t.get$text(t), span); _this._parser$_next$0(); 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, t3, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, stopToken = urlString ? 3 : -1, t1 = _this.tokenizer, inString = t1._inString; t1._inString = false; switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 25: _this._parser$_next$0(); A._lateReadCheck(_this.___Parser__peekToken, _s10_); stopToken = 25; break; case 26: _this._parser$_next$0(); A._lateReadCheck(_this.___Parser__peekToken, _s10_); stopToken = 26; break; default: if (urlString) { if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 2) { _this._parser$_next$0(); A._lateReadCheck(_this.___Parser__peekToken, _s10_); } stopToken = 3; } else _this._parser$_error$2("unexpected string", _this._makeSpan$1(start)); break; } t2 = ""; while (true) { if (!(A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== stopToken && A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== 1)) break; t3 = _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); t3 = t2 + t3.get$text(t3); t2 = t3; } t1._inString = inString; if (stopToken !== 3) _this._parser$_next$0(); return t2.charCodeAt(0) == 0 ? t2 : t2; }, processIEFilter$1(startAfterProgidColon) { var t1, t2, t3, t4, parens, t5, _this = this, _null = null, _s10_ = "_peekToken", kind = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; if (kind === 9 || kind === 7) { t1 = A.FileLocation$_(startAfterProgidColon.file, startAfterProgidColon._file$_start); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t2 = _this.tokenizer.makeIEFilter$2(t1.offset, A.FileLocation$_(t2.file, t2._file$_start).offset).span; t1 = t2._file$_start; t3 = t2._file$_end; t4 = t2.file._decodedChars; return new A.LiteralTerm(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t1, t3), 0, _null), A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t1, t3), 0, _null), t2); } for (parens = 0; A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== 1;) switch (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind) { case 2: if (!_this._maybeEat$2$unicodeRange(2, false)) _this._errorExpected$1(A.TokenKind_kindToString(2)); ++parens; break; case 3: if (!_this._maybeEat$2$unicodeRange(3, false)) _this._errorExpected$1(A.TokenKind_kindToString(3)); --parens; if (parens === 0) { t1 = _this.tokenizer; t2 = startAfterProgidColon.file; t3 = startAfterProgidColon._file$_start; new A.FileLocation(t2, t3).FileLocation$_$2(t2, t3); t2 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span; t4 = t2.file; t2 = t2._file$_start; new A.FileLocation(t4, t2).FileLocation$_$2(t4, t2); B.JSString_methods.substring$2(t1._parser$_text, t3, t2); t1 = t1._file; t4 = new A._FileSpan(t1, t3, t2); t4._FileSpan$3(t1, t3, t2); t1 = t1._decodedChars; t5 = t1.length; return new A.LiteralTerm(A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t3, A._checkValidRange(t3, t2, t5))), 0, _null), A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t3, A._checkValidRange(t3, t2, t5))), 0, _null), t4); } break; default: t1 = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; if (!_this._maybeEat$2$unicodeRange(t1, false)) _this._errorExpected$1(A.TokenKind_kindToString(t1)); } }, processCalcExpression$0() { var stringValue, left, matchingParens, token, t2, _this = this, _s10_ = "_peekToken", t1 = _this.tokenizer, inString = t1._inString; t1._inString = false; stringValue = new A.StringBuffer(""); left = 1; matchingParens = false; while (true) { if (!(A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind !== 1 && !matchingParens)) break; token = A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind; if (token === 2) ++left; else if (token === 3) --left; matchingParens = left === 0; if (!matchingParens) { t2 = _this._previousToken = A._lateReadCheck(_this.___Parser__peekToken, _s10_); _this.___Parser__peekToken = t1.next$1$unicodeRange(0, false); stringValue._contents += t2.get$text(t2); } } if (!matchingParens) _this._parser$_error$2("problem parsing function expected ), ", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); t1._inString = inString; t1 = stringValue._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, processCalc$1(func) { var expression, t1, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, $name = func.name; if ($name === "calc" || $name === "-webkit-calc" || $name === "-moz-calc") { expression = _this.processCalcExpression$0(); t1 = _this._makeSpan$1(start); if (!_this._maybeEat$1(3)) _this._parser$_error$2("problem parsing function expected ), ", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); return new A.CalcTerm(new A.LiteralTerm(expression, expression, t1), $name, $name, _this._makeSpan$1(start)); } return null; }, processFunction$1(func) { var urlParam, expr, t1, t2, defaultValues, _this = this, _s10_ = "_peekToken", start = A._lateReadCheck(_this.___Parser__peekToken, _s10_).span, $name = func.name; switch ($name) { case "url": urlParam = _this.processQuotedString$1(true); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 1) _this._parser$_error$2("problem parsing URI", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); if (A._lateReadCheck(_this.___Parser__peekToken, _s10_).kind === 3) _this._parser$_next$0(); return new A.UriTerm(urlParam, urlParam, _this._makeSpan$1(start)); case "var": expr = _this.processExpr$0(); if (!_this._maybeEat$1(3)) _this._parser$_error$2("problem parsing var expected ), ", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); $.__messages._readField$0(); t1 = expr.expressions; t2 = type$.LiteralTerm._as(t1[0]); defaultValues = t1.length >= 3 ? B.JSArray_methods.sublist$1(t1, 2) : A._setArrayType([], type$.JSArray_Expression); return new A.VarUsage(t2.text, defaultValues, _this._makeSpan$1(start)); default: expr = _this.processExpr$0(); if (!_this._maybeEat$1(3)) _this._parser$_error$2("problem parsing function expected ), ", A._lateReadCheck(_this.___Parser__peekToken, _s10_).span); return new A.FunctionTerm(expr, $name, $name, _this._makeSpan$1(start)); } }, identifier$0(_) { var tok = this._parser$_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)); }, _parseHex$2(hexText, span) { var t1, hexValue, i, digit, t2; for (t1 = hexText.length, hexValue = 0, i = 0; i < t1; ++i) { digit = A._Parser__hexDigit(B.JSString_methods._codeUnitAt$1(hexText, i)); if (digit < 0) { t1 = $.__messages.__late_helper$_value; if (t1 == null ? $.__messages == null : t1 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); t2 = t1.options; t1.messages.push(new A.Message(B.MessageLevel_1, "Bad hex number", span, t2.useColors)); return new A.HexColorTerm(new A.BAD_HEX_VALUE(), hexText, span); } hexValue = (hexValue << 4 >>> 0) + digit; } if (t1 === 6 && hexText[0] === hexText[1] && hexText[2] === hexText[3] && hexText[4] === hexText[5]) hexText = hexText[0] + hexText[2] + hexText[4]; else if (t1 === 4 && hexText[0] === hexText[1] && hexText[2] === hexText[3]) hexText = hexText[0] + hexText[2]; else if (t1 === 2 && hexText[0] === hexText[1]) hexText = hexText[0]; return new A.HexColorTerm(hexValue, hexText, span); } }; A._Parser_processMixin_closure.prototype = { call$1(decl) { return decl instanceof A.Declaration && !(decl instanceof A.IncludeMixinAtDeclaration); }, $signature: 703 }; A._Parser_processMixin_closure0.prototype = { call$1(include) { var t1; if (include instanceof A.IncludeDirective) { t1 = include.span; t1.toString; this.newDecls.push(A.IncludeMixinAtDeclaration$(include, t1)); } else { t1 = this.$this; t1._warning$2("Error mixing of top-level vs declarations mixins", t1._makeSpan$1(include.get$span(include))); } }, $signature: 311 }; A.ExpressionsProcessor.prototype = { processFontSize$0() { var lineHt, t3, expr, t4, _this = this, _null = null, t1 = _this._exprs, t2 = t1.expressions, size = _null, nextIsLineHeight = false; while (true) { t3 = _this._parser$_index; if (!(t3 < t2.length)) { lineHt = _null; break; } expr = t2[t3]; t4 = size == null; if (t4 && expr instanceof A.LengthTerm) size = expr; else { if (!t4) { if (!(expr instanceof A.OperatorSlash)) if (nextIsLineHeight && expr instanceof A.LengthTerm) { lineHt = new A.LineHeight0(A._asNum(expr.value)); _this._parser$_index = t3 + 1; break; } else { lineHt = _null; break; } } else { lineHt = _null; break; } nextIsLineHeight = true; } _this._parser$_index = t3 + 1; } return A.FontExpression$(t1.span, _null, lineHt, size, _null); }, processFontFamily$0() { var t1, t2, moreFamilies, t3, expr, family = A._setArrayType([], type$.JSArray_String); for (t1 = this._exprs, t2 = t1.expressions, moreFamilies = false; t3 = this._parser$_index, t3 < t2.length; ++this._parser$_index) { expr = t2[t3]; if (expr instanceof A.LiteralTerm) if (family.length === 0 || moreFamilies) { family.push(expr.toString$0(0)); moreFamilies = false; } else { t3 = $.__messages.__late_helper$_value; if (t3 == null ? $.__messages == null : t3 === $.__messages) A.throwExpression(A.LateError$fieldNI($.__messages.__late_helper$_name)); } else { if (!(expr instanceof A.OperatorComma && family.length !== 0)) break; moreFamilies = true; } } return A.FontExpression$(t1.span, family, null, null, null); }, processFont$0() { var t1, t2, fontSize, fontFamily, _this = this; for (t1 = _this._exprs, t2 = t1.expressions, fontSize = null, fontFamily = null; _this._parser$_index < t2.length; ++_this._parser$_index) { if (fontSize == null) fontSize = _this.processFontSize$0(); if (fontFamily == null) fontFamily = _this.processFontFamily$0(); } t2 = fontSize.font; return A.FontExpression$(t1.span, fontFamily.font.family, t2.lineHeight, t2.size, null); } }; A.LineHeight0.prototype = {}; A.Font.prototype = { get$hashCode(_) { var t1 = this.size; t1.toString; return B.JSInt_methods.$mod(B.JSNumber_methods.toInt$0(t1), J.get$hashCode$(this.family[0])); }, $eq(_, other) { var t1, t2, _this = this; if (other == null) return false; if (!(other instanceof A.Font)) return false; if (other.size == _this.size) { t1 = other.family; t2 = _this.family; if (t1 == null ? t2 == null : t1 === t2) if (other.weight == _this.weight) if (other.lineHeight == _this.lineHeight) t1 = true; else t1 = false; else t1 = false; else t1 = false; } else t1 = false; return t1; } }; A.BoxEdge.prototype = {}; A.Token0.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)); if (kindText !== actualText) { if (actualText.length > 10) actualText = B.JSString_methods.substring$2(actualText, 0, 8) + "..."; return kindText + "(" + actualText + ")"; } else return kindText; } }; A.LiteralToken.prototype = { get$value(receiver) { return this.value; } }; 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, t, _this = this; _this._parser$_startIndex = _this._parser$_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._parser$_index; oldStartIndex = _this._parser$_startIndex; _this._parser$_startIndex = oldIndex; _this._nextChar$0(); _this.finishIdentifier$0(); t1 = _this._parser$_text; t2 = _this._parser$_startIndex; tokId = A.TokenKind_matchList(B.List_k92, "type", t1, t2, _this._parser$_index - t2); if (tokId === -1) { t2 = _this._parser$_startIndex; tokId = A.TokenKind_matchList(B.List_d5v, "type", t1, t2, _this._parser$_index - t2); } if (tokId !== -1) return _this._finishToken$1(tokId); else { _this._parser$_startIndex = oldStartIndex; _this._parser$_index = oldIndex; } } return _this._finishToken$1(10); case 46: start = _this._parser$_startIndex; if (_this.maybeEatDigit$0()) if (_this.finishNumber$0().kind === 60) { _this._parser$_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 || unicodeRange) 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.__internal$_string; t1 = _this._maybeEatChar$1(B.JSString_methods._codeUnitAt$1(t1, 0)) && _this._maybeEatChar$1(B.JSString_methods._codeUnitAt$1(t1, 1)) && _this._maybeEatChar$1(B.JSString_methods._codeUnitAt$1(t1, 2)) && _this._maybeEatChar$1(B.JSString_methods._codeUnitAt$1(t1, 3)) && _this._maybeEatChar$1(B.JSString_methods._codeUnitAt$1(t1, 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 (unicodeRange) if (_this.maybeEatHexDigit$0()) { _this.eatHexDigits$1(_this._parser$_text.length); t = _this._finishToken$1(61); if (_this.maybeEatQuestionMark$0()) { _this.eatQuestionMarks$0(); _this._finishToken$1(509); } return t; } else if (_this.maybeEatQuestionMark$0()) { _this.eatQuestionMarks$0(); return _this._finishToken$1(509); } else return _this._finishToken$1(65); else { 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._parser$_startIndex = _this._parser$_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($receiver) { return this.next$1$unicodeRange($receiver, false); }, finishIdentifier$0() { var t2, t1, t3, ch, startHex, t4, span, text, tokId, _this = this, chars = A._setArrayType([], type$.JSArray_int), validateFrom = _this._parser$_index; _this._parser$_index = _this._parser$_startIndex; t1 = _this._parser$_text; t2 = t1.length; while (true) { t3 = _this._parser$_index; if (!(t3 < t2)) { t2 = t3; break; } ch = B.JSString_methods.codeUnitAt$1(t1, t3); if (ch === 92 && _this._inString) { startHex = _this._parser$_index = t3 + 1; _this.eatHexDigits$1(startHex + 6); t3 = _this._parser$_index; if (t3 !== startHex) { chars.push(A.int_parse("0x" + B.JSString_methods.substring$2(t1, startHex, t3), null)); t3 = _this._parser$_index; if (t3 === t2) { t2 = t3; break; } ch = B.JSString_methods.codeUnitAt$1(t1, t3); if (t3 - startHex !== 6) t4 = ch === 32 || ch === 9 || ch === 13 || ch === 10; else t4 = false; if (t4) _this._parser$_index = t3 + 1; } else { if (t3 === t2) { t2 = t3; break; } _this._parser$_index = t3 + 1; chars.push(B.JSString_methods.codeUnitAt$1(t1, 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._parser$_index; } else { t2 = t3; break; } } } span = _this._file.span$2(0, _this._parser$_startIndex, t2); text = A.String_String$fromCharCodes(chars, 0, null); if (!_this.inSelectorExpression && !_this.inSelector) { t2 = _this._parser$_startIndex; tokId = A.TokenKind_matchList(B.List_UJh, "unit", t1, t2, _this._parser$_index - t2); } else tokId = -1; if (tokId === -1) tokId = B.JSString_methods.substring$2(t1, _this._parser$_startIndex, _this._parser$_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._parser$_index; } return _this._finishToken$1(60); }, maybeEatDigit$0() { var t1 = this._parser$_index, t2 = this._parser$_text; if (t1 < t2.length) { t2 = B.JSString_methods.codeUnitAt$1(t2, t1); t2 = t2 >= 48 && t2 <= 57; } else t2 = false; if (t2) { this._parser$_index = t1 + 1; return true; } return false; }, eatHexDigits$1(end) { var t2, t3, t1 = this._parser$_text; end = Math.min(end, t1.length); for (; t2 = this._parser$_index, t2 < end;) { t3 = B.JSString_methods.codeUnitAt$1(t1, 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._parser$_index = t2 + 1; else return; } }, maybeEatHexDigit$0() { var t1 = this._parser$_index, t2 = this._parser$_text; if (t1 < t2.length && A.TokenizerHelpers_isHexDigit(B.JSString_methods.codeUnitAt$1(t2, t1))) { this._parser$_index = t1 + 1; return true; } return false; }, maybeEatQuestionMark$0() { var _this = this, t1 = _this._parser$_index, t2 = _this._parser$_text; if (t1 < t2.length && B.JSString_methods.codeUnitAt$1(t2, t1) === _this.QUESTION_MARK) { _this._parser$_index = t1 + 1; return true; } return false; }, eatQuestionMarks$0() { var t1, t2, t3, t4, _this = this; for (t1 = _this._parser$_text, t2 = t1.length, t3 = _this.QUESTION_MARK; t4 = _this._parser$_index, t4 < t2;) if (B.JSString_methods.codeUnitAt$1(t1, t4) === t3) _this._parser$_index = t4 + 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._parser$_startIndex; end = _this._parser$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token0(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._parser$_startIndex; end = _this._parser$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token0(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._parser$_startIndex; end = _this._parser$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token0(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._parser$_startIndex; end = _this._parser$_index; t3 = new A._FileSpan(t1, t2, end); t3._FileSpan$3(t1, t2, end); return new A.Token0(64, t3); } } } }; A.TokenizerBase.prototype = { _nextChar$0() { var t1 = this._parser$_index, t2 = this._parser$_text; if (t1 < t2.length) { this._parser$_index = t1 + 1; return B.JSString_methods.codeUnitAt$1(t2, t1); } else return 0; }, _peekChar$1(offset) { var t1 = this._parser$_index + offset, t2 = this._parser$_text; if (t1 < t2.length) return B.JSString_methods.codeUnitAt$1(t2, t1); else return 0; }, _peekChar$0() { return this._peekChar$1(0); }, _maybeEatChar$1(ch) { var t1 = this._parser$_index, t2 = this._parser$_text; if (t1 < t2.length) if (B.JSString_methods.codeUnitAt$1(t2, t1) === ch) { this._parser$_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.Token0(kind, this._file.span$2(0, this._parser$_startIndex, this._parser$_index)); }, finishWhitespace$0() { var t2, t3, t4, ch, _this = this, t1 = --_this._parser$_index; for (t2 = _this._parser$_text, t3 = t2.length; t1 < t3; t1 = t4) { t4 = _this._parser$_index = t1 + 1; ch = B.JSString_methods.codeUnitAt$1(t2, t1); if (!(ch === 32 || ch === 9 || ch === 13)) if (ch === 10) { if (!_this._inString) { t1 = _this._file; t2 = _this._parser$_startIndex; t3 = new A._FileSpan(t1, t2, t4); t3._FileSpan$3(t1, t2, t4); return new A.Token0(63, t3); } } else { t1 = _this._parser$_index = t4 - 1; if (_this._inString) return _this.next$0(0); else { t2 = _this._file; t3 = _this._parser$_startIndex; t4 = new A._FileSpan(t2, t3, t1); t4._FileSpan$3(t2, t3, t1); return new A.Token0(63, t4); } } } return _this._finishToken$1(1); }, eatDigits$0() { var t1, t2, t3, t4; for (t1 = this._parser$_text, t2 = t1.length; t3 = this._parser$_index, t3 < t2;) { t4 = B.JSString_methods.codeUnitAt$1(t1, t3); if (t4 >= 48 && t4 <= 57) this._parser$_index = t3 + 1; else return; } }, makeIEFilter$2(start, end) { return new A.LiteralToken(B.JSString_methods.substring$2(this._parser$_text, start, end), 500, this._file.span$2(0, start, end)); } }; A.MessageLevel.prototype = { toString$0(_) { return "MessageLevel." + this._core$_name; } }; A.Message.prototype = { toString$0(_) { var _this = this, colors = _this.useColors && B.Map_GpoyU.containsKey$1(0, _this.level), levelColor = colors ? B.Map_GpoyU.$index(0, _this.level) : null, t1 = colors ? "" + A.S(levelColor) : ""; t1 = t1 + A.S(B.Map_GpDrw.$index(0, _this.level)) + " "; t1 = (colors ? t1 + "\x1b[0m" : t1) + "on " + _this.span.message$2$color(0, _this.message, levelColor); return t1.charCodeAt(0) == 0 ? t1 : t1; } }; 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); }, warning$2(message, span) { this.messages.push(new A.Message(B.MessageLevel_1, message, span, this.options.useColors)); }, mergeMessages$1(newMessages) { var t1 = newMessages.messages; B.JSArray_methods.addAll$1(this.messages, t1); new A.WhereIterable(t1, new A.Messages_mergeMessages_closure(this), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).forEach$1(0, this.printHandler); } }; A.Messages_mergeMessages_closure.prototype = { call$1(message) { return message.level === B.MessageLevel_2 || false; }, $signature: 733 }; 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.CalcTerm.prototype = { visit$1(visitor) { return null; }, toString$0(_) { return this.text + "(" + this.expr.toString$0(0) + ")"; } }; A.SelectorGroup.prototype = { visit$1(visitor) { return visitor.visitSelectorGroup$1(this); } }; 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 A._asString(t1.get$name(t1)); } }; A.SimpleSelector.prototype = { get$name(_) { var t1 = this._visitor$_name; return A._asString(t1.get$name(t1)); }, visit$1(visitor) { return this._visitor$_name.visit$1(visitor); } }; A.ElementSelector.prototype = { visit$1(visitor) { return visitor.visitElementSelector$1(this); }, toString$0(_) { var t1 = this._visitor$_name; return A._asString(t1.get$name(t1)); } }; A.NamespaceSelector.prototype = { get$namespace() { var t1 = this._namespace; if (t1 instanceof A.Wildcard) t1 = "*"; else t1 = t1 == null ? "" : t1.get$name(t1); 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 + A._asString(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 "[" + A._asString(t1.get$name(t1)) + A.S(this.matchOperator$0()) + this.valueToString$0() + "]"; }, get$value(receiver) { return this.value; } }; A.IdSelector.prototype = { visit$1(visitor) { return visitor.visitIdSelector$1(this); }, toString$0(_) { return "#" + A.S(this._visitor$_name); } }; A.ClassSelector.prototype = { visit$1(visitor) { return visitor.visitClassSelector$1(this); }, 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 ":" + A._asString(t1.get$name(t1)); } }; A.PseudoElementSelector.prototype = { visit$1(visitor) { return visitor.visitPseudoElementSelector$1(this); }, toString$0(_) { var t1 = this.isLegacy ? ":" : "::", t2 = this._visitor$_name; return t1 + A._asString(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 = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { visitor._visitNodeList$1(this.expressions); return null; } }; A.NegationSelector.prototype = { visit$1(visitor) { return visitor.visitNegationSelector$1(this); } }; A.StyleSheet.prototype = { StyleSheet$2(topLevels, span) { var t1, _i; for (t1 = this.topLevels.length, _i = 0; _i < t1; ++_i) ; }, get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { visitor._visitNodeList$1(this.topLevels); return null; } }; A.TopLevelProduction.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { return null; } }; A.RuleSet.prototype = { visit$1(visitor) { visitor.visitSelectorGroup$1(this.selectorGroup); visitor._visitNodeList$1(this.declarationGroup.declarations); return null; } }; A.Directive.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { return null; } }; A.DocumentDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.functions); visitor._visitNodeList$1(this.groupRuleBody); return null; } }; A.SupportsDirective.prototype = { visit$1(visitor) { this.condition.visit$1(visitor); visitor._visitNodeList$1(this.groupRuleBody); return null; } }; A.SupportsCondition.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; } }; A.SupportsConditionInParens.prototype = { visit$1(visitor) { this.condition.visit$1(visitor); return null; } }; A.SupportsNegation.prototype = { visit$1(visitor) { this.condition.condition.visit$1(visitor); return null; } }; A.SupportsConjunction.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.conditions); return null; } }; A.SupportsDisjunction.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.conditions); return null; } }; A.ViewportDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.declarations.declarations); return null; }, get$name(receiver) { return this.name; } }; A.ImportDirective.prototype = { visit$1(visitor) { return visitor.visitImportDirective$1(this); } }; A.MediaExpression.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { visitor.visitExpressions$1(this.exprs); return null; } }; A.MediaQuery0.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { return visitor.visitMediaQuery$1(this); } }; A.MediaDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.mediaQueries); visitor._visitNodeList$1(this.rules); return null; } }; A.HostDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.rules); return null; } }; A.PageDirective.prototype = { visit$1(visitor) { return visitor.visitPageDirective$1(this); } }; A.CharsetDirective.prototype = { visit$1(visitor) { return null; } }; A.KeyFrameDirective.prototype = { visit$1(visitor) { this.name.toString; visitor._visitNodeList$1(this._blocks); return null; }, get$name(receiver) { return this.name; } }; A.KeyFrameBlock.prototype = { visit$1(visitor) { visitor.visitExpressions$1(this._blockSelectors); visitor._visitNodeList$1(this._declarations.declarations); return null; } }; A.FontFaceDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this._declarations.declarations); return null; } }; A.StyletDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.rules); return null; } }; A.NamespaceDirective.prototype = { visit$1(visitor) { return null; } }; A.VarDefinitionDirective.prototype = { visit$1(visitor) { visitor.visitVarDefinition$1(this.def); return null; } }; A.MixinDefinition.prototype = { visit$1(visitor) { return null; }, get$name(receiver) { return this.name; } }; A.MixinRulesetDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.rulesets); return null; } }; A.MixinDeclarationDirective.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.declarations.declarations); return null; } }; A.IncludeDirective.prototype = { visit$1(visitor) { return visitor.visitIncludeDirective$1(this); }, get$name(receiver) { return this.name; } }; A.Declaration.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { return visitor.visitDeclaration$1(this); } }; A.VarDefinition.prototype = { visit$1(visitor) { return visitor.visitVarDefinition$1(this); } }; A.IncludeMixinAtDeclaration.prototype = { visit$1(visitor) { visitor.visitIncludeDirective$1(this.include); return null; } }; A.ExtendDeclaration.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.selectors); return null; } }; A.DeclarationGroup.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { visitor._visitNodeList$1(this.declarations); return null; } }; A.MarginGroup.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.declarations); return null; } }; A.VarUsage.prototype = { visit$1(visitor) { visitor._visitNodeList$1(this.defaultValues); return null; }, get$name(receiver) { return this.name; } }; A.OperatorSlash.prototype = { visit$1(visitor) { return null; } }; A.OperatorComma.prototype = { visit$1(visitor) { return null; } }; A.OperatorPlus.prototype = { visit$1(visitor) { return null; } }; A.OperatorMinus.prototype = { visit$1(visitor) { return null; } }; A.UnicodeRangeTerm.prototype = { visit$1(visitor) { return null; }, get$first(receiver) { return this.first; } }; A.LiteralTerm.prototype = { visit$1(visitor) { return null; }, get$value(receiver) { return this.value; }, get$text(receiver) { return this.text; } }; 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.UriTerm.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.ViewportTerm.prototype = { visit$1(visitor) { return null; } }; A.BAD_HEX_VALUE.prototype = {}; A.HexColorTerm.prototype = { visit$1(visitor) { return null; } }; A.FunctionTerm.prototype = { visit$1(visitor) { visitor.visitExpressions$1(this._params); return null; } }; A.IE8Term.prototype = { visit$1(visitor) { return null; } }; A.GroupTerm.prototype = { visit$1(visitor) { return visitor.visitGroupTerm$1(this); } }; A.ItemTerm.prototype = { visit$1(visitor) { return null; } }; A.Expressions.prototype = { visit$1(visitor) { return visitor.visitExpressions$1(this); } }; A.DartStyleExpression.prototype = { get$span(_) { var t1 = this.span; t1.toString; return t1; }, visit$1(visitor) { return null; } }; A.FontExpression.prototype = { visit$1(visitor) { return visitor.visitFontExpression$1(this); } }; A.BoxExpression.prototype = { visit$1(visitor) { return visitor.visitBoxExpression$1(this); } }; A.MarginExpression.prototype = { visit$1(visitor) { return visitor.visitMarginExpression$1(this); } }; A.BorderExpression.prototype = { visit$1(visitor) { return visitor.visitBorderExpression$1(this); } }; A.HeightExpression.prototype = { visit$1(visitor) { return visitor.visitHeightExpression$1(this); } }; A.WidthExpression.prototype = { visit$1(visitor) { return visitor.visitWidthExpression$1(this); } }; A.PaddingExpression.prototype = { visit$1(visitor) { return visitor.visitPaddingExpression$1(this); } }; A.TreeNode.prototype = { get$span(receiver) { return this.span; } }; A.Expression.prototype = {}; A.Visitor.prototype = { _visitNodeList$1(list) { var index; for (index = 0; index < list.length; ++index) list[index].visit$1(this); }, visitMediaQuery$1(node) { var t1, t2, _i; for (t1 = node.expressions, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) this.visitExpressions$1(t1[_i].exprs); }, visitPageDirective$1(node) { var t1, t2, _i, declGroup; for (t1 = node._declsMargin, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { declGroup = t1[_i]; if (declGroup instanceof A.MarginGroup) this._visitNodeList$1(declGroup.declarations); else this._visitNodeList$1(declGroup.declarations); } }, visitImportDirective$1(node) { var t1, t2, _i; for (t1 = node.mediaQueries, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) this.visitMediaQuery$1(t1[_i]); }, visitIncludeDirective$1(node) { var t1, index; for (t1 = node.args, index = 0; index < t1.length; ++index) this._visitNodeList$1(t1[index]); }, visitDeclaration$1(node) { var t1; node._property.toString; t1 = node.expression; if (t1 != null) this.visitExpressions$1(t1); }, visitVarDefinition$1(node) { var t1; node._property.toString; t1 = node.expression; if (t1 != null) this.visitExpressions$1(t1); }, visitSelectorGroup$1(node) { this._visitNodeList$1(node.selectors); }, visitSelector$1(node) { this._visitNodeList$1(node.simpleSelectorSequences); }, visitNamespaceSelector$1(node) { var t1 = node._namespace; if (t1 != null) t1.visit$1(this); t1 = type$.nullable_SimpleSelector._as(node._visitor$_name); if (t1 != null) t1.visit$1(this); }, visitElementSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitAttributeSelector$1(node) { node._visitor$_name.visit$1(this); }, visitIdSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitClassSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitPseudoClassSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitPseudoElementSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitPseudoClassFunctionSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitPseudoElementFunctionSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitNegationSelector$1(node) { return node._visitor$_name.visit$1(this); }, visitGroupTerm$1(node) { var t1, t2, _i; for (t1 = node._terms, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].visit$1(this); }, visitExpressions$1(node) { this._visitNodeList$1(node.expressions); }, visitFontExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitBoxExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitMarginExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitBorderExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitHeightExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitPaddingExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); }, visitWidthExpression$1(node) { throw A.wrapException(A.UnimplementedError$(null)); } }; A.DeviceInfoPlatform.prototype = {}; A.MethodChannelDeviceInfo.prototype = {}; A.DeviceInfoPlusPlugin.prototype = {}; A.ResponseBody.prototype = {}; A.ResponseBody$fromBytes_closure.prototype = { call$1(e) { return new Uint8Array(A._ensureNativeList(A._setArrayType([e], type$.JSArray_int))); }, $signature: 735 }; A.BrowserHttpClientAdapter.prototype = { fetch$3(_, options, requestStream, cancelFuture) { var t1, _url, s, t2, t3, query, completer, t4, _s8_ = "_headers", xhr = new XMLHttpRequest(); this._browser_adapter$_xhrs.push(xhr); t1 = A._lateReadCheck(options.___RequestConfig_method, "method"); _url = options.path; if (!B.JSString_methods.startsWith$1(_url, A.RegExp_RegExp("https?:", true, false))) { s = (A._lateReadCheck(options.OptionsMixin___OptionsMixin_baseUrl, "baseUrl") + _url).split(":/"); t2 = J.$add$ansx(s[0], ":/"); t3 = s[1]; _url = t2 + A.stringReplaceAllUnchecked(t3, "//", "/"); } query = A.Transformer_urlEncodeMap(A._lateReadCheck(options.OptionsMixin___OptionsMixin_queryParameters, "queryParameters"), A._lateReadCheck(options.___RequestConfig_listFormat, "listFormat")); if (query.length !== 0) _url += (B.JSString_methods.contains$1(_url, "?") ? "&" : "?") + query; B.HttpRequest_methods.open$3$async(xhr, t1, A.Uri_parse(_url, 0, null).normalizePath$0().toString$0(0), true); xhr.responseType = "blob"; t1 = J.$index$asx(A._lateReadCheck(options.___RequestConfig_extra, "extra"), "withCredentials"); xhr.withCredentials = t1 == null ? false : t1; J.remove$1$ax(A._lateReadCheck(options.___RequestConfig__headers, _s8_), "content-length"); J.forEach$1$ax(A._lateReadCheck(options.___RequestConfig__headers, _s8_), new A.BrowserHttpClientAdapter_fetch_closure(xhr)); t1 = new A._Future($.Zone__current, type$._Future_ResponseBody); completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_ResponseBody); t2 = type$._EventStream_ProgressEvent; t3 = new A._EventStream(xhr, "load", false, t2); t4 = type$.Null; t3.get$first(t3).then$1$1(0, new A.BrowserHttpClientAdapter_fetch_closure0(xhr, completer, options), t4); t2 = new A._EventStream(xhr, "error", false, t2); t2.get$first(t2).then$1$1(0, new A.BrowserHttpClientAdapter_fetch_closure1(completer, options), t4); if (requestStream != null) requestStream.reduce$1(0, new A.BrowserHttpClientAdapter_fetch_closure2()).then$1$1(0, B.HttpRequest_methods.get$send(xhr), type$.void); else xhr.send(); return t1.whenComplete$1(new A.BrowserHttpClientAdapter_fetch_closure3(this, xhr)); } }; A.BrowserHttpClientAdapter_fetch_closure.prototype = { call$2(key, v) { return this.xhr.setRequestHeader(key, A.S(v)); }, $signature: 43 }; A.BrowserHttpClientAdapter_fetch_closure0.prototype = { call$1(_) { var reader, t2, t3, t4, t5, t1 = this.xhr, blob = A._convertNativeToDart_XHR_Response(t1.response); if (blob == null) blob = A.Blob_Blob([]); reader = new FileReader(); t2 = type$._EventStream_ProgressEvent; t3 = new A._EventStream(reader, "load", false, t2); t4 = this.completer; t5 = type$.Null; t3.get$first(t3).then$1$1(0, new A.BrowserHttpClientAdapter_fetch__closure(reader, t4, t1), t5); t2 = new A._EventStream(reader, "error", false, t2); t2.get$first(t2).then$1$1(0, new A.BrowserHttpClientAdapter_fetch__closure0(t4, this.options), t5); reader.readAsArrayBuffer(blob); }, $signature: 80 }; A.BrowserHttpClientAdapter_fetch__closure.prototype = { call$1(_) { var t4, body = type$.Uint8List._as(B.FileReader_methods.get$result(this.reader)), t1 = this.xhr, t2 = t1.status, t3 = B.HttpRequest_methods.get$responseHeaders(t1); t3 = t3.map$2$1(t3, new A.BrowserHttpClientAdapter_fetch___closure(), type$.String, type$.List_String); t4 = t1.statusText; t1 = t1.status; this.completer.complete$1(0, A.ResponseBody$fromBytes(body, t2, t3, t1 === 302 || t1 === 301, t4)); }, $signature: 80 }; A.BrowserHttpClientAdapter_fetch___closure.prototype = { call$2(k, v) { return new A.MapEntry(k, A._setArrayType(v.split(","), type$.JSArray_String), type$.MapEntry_of_String_and_List_String); }, $signature: 743 }; A.BrowserHttpClientAdapter_fetch__closure0.prototype = { call$1(error) { this.completer.completeError$2(new A.DioError(null, B.DioErrorType_3, error), A.StackTrace_current()); }, $signature: 80 }; A.BrowserHttpClientAdapter_fetch_closure1.prototype = { call$1(_) { this.completer.completeError$2(new A.DioError(null, B.DioErrorType_3, "XMLHttpRequest error."), A.StackTrace_current()); }, $signature: 80 }; A.BrowserHttpClientAdapter_fetch_closure2.prototype = { call$2(a, b) { var t1 = A.List_List$of(a, true, type$.int); B.JSArray_methods.addAll$1(t1, b); return new Uint8Array(A._ensureNativeList(t1)); }, $signature: 745 }; A.BrowserHttpClientAdapter_fetch_closure3.prototype = { call$0() { B.JSArray_methods.remove$1(this.$this._browser_adapter$_xhrs, this.xhr); }, $signature: 3 }; A.DioErrorType.prototype = { toString$0(_) { return "DioErrorType." + this._core$_name; } }; A.DioError.prototype = { get$message(_) { var t1 = this.error; t1 = t1 == null ? null : J.toString$0$(t1); return t1 == null ? "" : t1; }, toString$0(_) { var _this = this, msg = "DioError [" + _this.type.toString$0(0) + "]: " + _this.get$message(_this), t1 = _this._stackTrace; return t1 != null ? msg + ("\n" + t1.toString$0(0)) : msg; }, $isException: 1 }; A.DioMixin.prototype = { $get$1$1(_, path, $T) { var _null = null; return this.request$1$5$cancelToken$onReceiveProgress$options$queryParameters(0, path, _null, _null, A.DioMixin_checkOptions("GET", _null), _null, $T); }, post$1$3$data$options(path, data, options, $T) { var _null = null; return this.request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters(0, path, _null, data, _null, _null, A.DioMixin_checkOptions("POST", options), _null, $T); }, post$1$2$data(path, data, $T) { return this.post$1$3$data$options(path, data, null, $T); }, put$1$2$data(_, path, data, $T) { var _null = null; return this.request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters(0, path, _null, data, _null, _null, A.DioMixin_checkOptions("PUT", _null), _null, $T); }, delete$1$2$data(_, path, data, $T) { return this.request$1$5$cancelToken$data$options$queryParameters(0, path, null, data, A.DioMixin_checkOptions("DELETE", null), null, $T); }, request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters(_, path, cancelToken, data, onReceiveProgress, onSendProgress, options, queryParameters, $T) { return this.request$body$DioMixin(0, path, cancelToken, data, onReceiveProgress, onSendProgress, options, queryParameters, $T, $T._eval$1("Response0<0>")); }, request$1$5$cancelToken$data$options$queryParameters($receiver, path, cancelToken, data, options, queryParameters, $T) { return this.request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters($receiver, path, cancelToken, data, null, null, options, queryParameters, $T); }, request$1$5$cancelToken$onReceiveProgress$options$queryParameters($receiver, path, cancelToken, onReceiveProgress, options, queryParameters, $T) { return this.request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters($receiver, path, cancelToken, null, onReceiveProgress, null, options, queryParameters, $T); }, request$body$DioMixin(_, path, cancelToken, data, onReceiveProgress, onSendProgress, options, queryParameters, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, _headers, t4, _contentType, _extra, _method, t5, t6, t7, t8, t9, t10, t11, t12, t13, requestOptions, t1, t2, t3, query; var $async$request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters = 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._lateReadCheck($async$self.DioMixin___DioMixin_options, "options"); t2 = type$.String; t3 = type$.dynamic; query = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3); query.addAll$1(0, A._lateReadCheck(t1.OptionsMixin___OptionsMixin_queryParameters, "queryParameters")); _headers = A.caseInsensitiveKeyMap(A._lateReadCheck(t1.___RequestConfig__headers, "_headers"), t3); _headers.remove$1(0, "content-type"); t4 = options.headers; if (t4 != null) { _headers.addAll$1(0, t4); _contentType = _headers.$index(0, "content-type"); } else _contentType = null; _extra = A.LinkedHashMap_LinkedHashMap$from(A._lateReadCheck(t1.___RequestConfig_extra, "extra"), t2, t3); t2 = options.method; if (t2 == null) t2 = A._lateReadCheck(t1.___RequestConfig_method, "method"); _method = t2.toUpperCase(); t2 = A._lateReadCheck(t1.OptionsMixin___OptionsMixin_baseUrl, "baseUrl"); t3 = A._lateReadCheck(t1.OptionsMixin___OptionsMixin_connectTimeout, "connectTimeout"); t4 = A._lateReadCheck(t1.___RequestConfig_sendTimeout, "sendTimeout"); t4 = t4; t5 = A._lateReadCheck(t1.___RequestConfig_receiveTimeout, "receiveTimeout"); t5 = t5; t6 = A._lateReadCheck(t1.___RequestConfig_responseType, "responseType"); t6 = t6; t7 = A._lateReadCheck(t1.___RequestConfig_validateStatus, "validateStatus"); t8 = A._lateReadCheck(t1.___RequestConfig_receiveDataWhenStatusError, "receiveDataWhenStatusError"); t8 = t8; t9 = A._lateReadCheck(t1.___RequestConfig_followRedirects, "followRedirects"); t9 = t9; t10 = A._lateReadCheck(t1.___RequestConfig_maxRedirects, "maxRedirects"); t10 = t10; t11 = t1.requestEncoder; t12 = t1.responseDecoder; t13 = A._lateReadCheck(t1.___RequestConfig_listFormat, "listFormat"); requestOptions = A.RequestOptions$(t2, t3, data, _extra, t9, _headers, t13, t10, _method, path, query, t8, t5, t11, t12, t6, t4, t7); requestOptions.onReceiveProgress = onReceiveProgress; requestOptions.onSendProgress = onSendProgress; requestOptions.cancelToken = cancelToken; t2 = _contentType == null ? null : _contentType; requestOptions.set$contentType(0, t2 == null ? t1.contentTypeWithRequestBody$1(_method) : t2); requestOptions.onReceiveProgress = onReceiveProgress; requestOptions.onSendProgress = onSendProgress; requestOptions.cancelToken = cancelToken; $async$returnValue = $async$self.fetch$1$1(0, requestOptions, $T); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$request$1$7$cancelToken$data$onReceiveProgress$onSendProgress$options$queryParameters, $async$completer); }, fetch$1$1(_, requestOptions, $T) { return this.fetch$body$DioMixin(0, requestOptions, $T, $T._eval$1("Response0<0>")); }, fetch$body$DioMixin(_, requestOptions, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, t2, t3, t4, t1; var $async$fetch$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 t1 = {}; t1.requestOptions = requestOptions; if (A.createRuntimeType($T) !== B.Type_dynamic_0Rz) t2 = !(A._lateReadCheck(requestOptions.___RequestConfig_responseType, "responseType") === B.ResponseType_3 || A._lateReadCheck(requestOptions.___RequestConfig_responseType, "responseType") === B.ResponseType_1); else t2 = false; if (t2) if (A.createRuntimeType($T) === B.Type_String_k8F) requestOptions.___RequestConfig_responseType = B.ResponseType_2; else requestOptions.___RequestConfig_responseType = B.ResponseType_0; t2 = new A.DioMixin_fetch__requestInterceptorWrapper(t1, $async$self); t3 = type$.dynamic; t1.future = A.Future_Future(new A.DioMixin_fetch_closure(t1), t3); t4 = $async$self.DioMixin__interceptors; t4.forEach$1(t4, new A.DioMixin_fetch_closure0(t1, t2)); t1.future = t1.future.then$1$1(0, t2.call$1(new A.DioMixin_fetch_closure1(t1, $async$self)), t3); t4.forEach$1(t4, new A.DioMixin_fetch_closure2(t1, new A.DioMixin_fetch__responseInterceptorWrapper(t1, $async$self))); t4.forEach$1(t4, new A.DioMixin_fetch_closure3(t1, new A.DioMixin_fetch__errorInterceptorWrapper(t1, $async$self))); $async$returnValue = t1.future.then$1$1(0, new A.DioMixin_fetch_closure4(t1, $T), $T._eval$1("Response0<0>")).catchError$1(new A.DioMixin_fetch_closure5(t1, $T)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$fetch$1$1, $async$completer); }, _dispatchRequest$1$1(reqOpt, $T) { return this._dispatchRequest$body$DioMixin(reqOpt, $T, $T._eval$1("Response0<0>")); }, _dispatchRequest$body$DioMixin(reqOpt, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, stream, headers, ret, statusOk, forceConvert, contentType, e, t1, t2, t3, t4, forceConvert0, exception, cancelToken, responseBody, $async$exception, $async$temp1; var $async$_dispatchRequest$1$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 cancelToken = reqOpt.cancelToken; responseBody = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait($async$self._transformData$1(reqOpt), $async$_dispatchRequest$1$1); case 7: // returning from await. stream = $async$result; t1 = A._lateReadCheck($async$self.DioMixin___DioMixin_httpClientAdapter, "httpClientAdapter"); t2 = cancelToken; t2 = t2 == null ? null : t2.get$whenCancel(); $async$goto = 8; return A._asyncAwait(t1.fetch$3(0, reqOpt, stream, t2), $async$_dispatchRequest$1$1); case 8: // returning from await. responseBody = $async$result; responseBody.__ResponseBody_headers = A._lateReadCheck(responseBody.__ResponseBody_headers, "headers"); headers = A.Headers$fromMap(A._lateReadCheck(responseBody.__ResponseBody_headers, "headers")); responseBody.toString; t1 = A._setArrayType([], type$.JSArray_RedirectRecord); t2 = responseBody.isRedirect; t3 = responseBody.statusCode; t4 = responseBody.statusMessage; ret = A.Response$(null, responseBody.extra, headers, t2, t1, reqOpt, t3, t4, type$.dynamic); statusOk = reqOpt.validateStatus$1(responseBody.statusCode); $async$goto = statusOk || A._lateReadCheck(reqOpt.___RequestConfig_receiveDataWhenStatusError, "receiveDataWhenStatusError") ? 9 : 11; break; case 9: // then if (!(A.createRuntimeType($T) === B.Type_dynamic_0Rz || A.createRuntimeType($T) === B.Type_String_k8F)) forceConvert0 = !(A._lateReadCheck(reqOpt.___RequestConfig_responseType, "responseType") === B.ResponseType_3 || A._lateReadCheck(reqOpt.___RequestConfig_responseType, "responseType") === B.ResponseType_1); else forceConvert0 = false; forceConvert = forceConvert0; contentType = null; if (forceConvert) { contentType = J.value$1$x(headers, "content-type"); J.$set$2$z(headers, "content-type", "application/json; charset=utf-8"); } $async$temp1 = ret; $async$goto = 12; return A._asyncAwait($async$self.DioMixin_transformer.transformResponse$2(reqOpt, responseBody), $async$_dispatchRequest$1$1); case 12: // returning from await. $async$temp1.data = $async$result; if (forceConvert) J.$set$2$z(headers, "content-type", contentType); // goto join $async$goto = 10; break; case 11: // else $async$goto = 13; return A._asyncAwait(responseBody.stream.listen$1(null).cancel$0(0), $async$_dispatchRequest$1$1); case 13: // returning from await. case 10: // join if (statusOk) { t1 = $T._eval$1("Response0<0>")._as(A.DioMixin_checkIfNeedEnqueue($async$self.DioMixin__interceptors._responseLock, new A.DioMixin__dispatchRequest_closure(ret))); $async$returnValue = t1; // goto return $async$goto = 1; break; } else { t1 = A.DioError$("Http status error [" + A.S(responseBody.statusCode) + "]", reqOpt, ret, B.DioErrorType_3); throw A.wrapException(t1); } $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 = A.DioMixin_assureDioError(e, reqOpt, null); 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$_dispatchRequest$1$1, $async$completer); }, _transformData$1(options) { return this._transformData$body$DioMixin(options); }, _transformData$body$DioMixin(options) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stream_Uint8List), $async$returnValue, $async$self = this, _data, bytes, $length, group, groupCount, i, start, stream, byteStream, _box_0; var $async$_transformData$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 _box_0 = {}; $async$goto = options.data != null && B.JSArray_methods.contains$1(B.List_POST_PUT_PATCH_DELETE, A._lateReadCheck(options.___RequestConfig_method, "method")) ? 3 : 4; break; case 3: // then _box_0.length = null; $async$goto = 5; return A._asyncAwait($async$self.DioMixin_transformer.transformRequest$1(options), $async$_transformData$1); case 5: // returning from await. _data = $async$result; bytes = B.C_Utf8Codec.get$encoder().convert$1(_data); $length = _box_0.length = bytes.length; J.$indexSet$ax(A._lateReadCheck(options.___RequestConfig__headers, "_headers"), "content-length", B.JSInt_methods.toString$0($length)); group = A._setArrayType([], type$.JSArray_List_int); groupCount = B.JSNumber_methods.ceil$0($length / 1024); for (i = 0; i < groupCount; ++i) { start = i * 1024; group.push(B.NativeUint8List_methods.sublist$2(bytes, start, Math.min(start + 1024, $length))); } stream = A.Stream_Stream$fromIterable(group, type$.List_int); _box_0.complete = 0; byteStream = A._StreamHandlerTransformer$(new A.DioMixin__transformData_closure(_box_0, options), type$.List_int, type$.Uint8List).bind$1(stream); if (A._lateReadCheck(options.___RequestConfig_sendTimeout, "sendTimeout") > 0) byteStream.timeout$2$onTimeout(0, A.Duration$(0, 0, 0, A._lateReadCheck(options.___RequestConfig_sendTimeout, "sendTimeout"), 0), new A.DioMixin__transformData_closure0(options)); $async$returnValue = byteStream; // goto return $async$goto = 1; break; case 4: // join $async$returnValue = null; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_transformData$1, $async$completer); } }; A.DioMixin_fetch__requestInterceptorWrapper.prototype = { call$1(interceptor) { return new A.DioMixin_fetch__requestInterceptorWrapper_closure(this._box_1, this.$this, interceptor); }, $signature: 747 }; A.DioMixin_fetch__requestInterceptorWrapper_closure.prototype = { call$1(_state) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $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 type$.InterceptorState_dynamic._as(_state); if (_state.type === B.InterceptorResultType_0) { t1 = type$.dynamic; $async$returnValue = A.DioMixin_listenCancelForAsyncTask($async$self._box_1.requestOptions.cancelToken, A.Future_Future(new A.DioMixin_fetch__requestInterceptorWrapper__closure($async$self.$this, $async$self.interceptor, _state), t1), t1); // goto return $async$goto = 1; break; } else { $async$returnValue = _state; // 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: 317 }; A.DioMixin_fetch__requestInterceptorWrapper__closure.prototype = { call$0() { return A.DioMixin_checkIfNeedEnqueue(this.$this.DioMixin__interceptors._requestLock, new A.DioMixin_fetch__requestInterceptorWrapper___closure(this.interceptor, this.state)); }, $signature: 71 }; A.DioMixin_fetch__requestInterceptorWrapper___closure.prototype = { call$0() { var t1 = new A._Future($.Zone__current, type$._Future_InterceptorState_dynamic); this.interceptor.call$2(this.state.data, new A.RequestInterceptorHandler(new A._AsyncCompleter(t1, type$._AsyncCompleter_InterceptorState_dynamic))); return t1; }, $signature: 196 }; A.DioMixin_fetch__responseInterceptorWrapper.prototype = { call$1(interceptor) { return new A.DioMixin_fetch__responseInterceptorWrapper_closure(this._box_1, this.$this, interceptor); }, $signature: 759 }; A.DioMixin_fetch__responseInterceptorWrapper_closure.prototype = { call$1(_state) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $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 type$.InterceptorState_dynamic._as(_state); t1 = _state.type; if (t1 === B.InterceptorResultType_0 || t1 === B.InterceptorResultType_2) { t1 = type$.dynamic; $async$returnValue = A.DioMixin_listenCancelForAsyncTask($async$self._box_1.requestOptions.cancelToken, A.Future_Future(new A.DioMixin_fetch__responseInterceptorWrapper__closure($async$self.$this, $async$self.interceptor, _state), t1), t1); // goto return $async$goto = 1; break; } else { $async$returnValue = _state; // 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: 317 }; A.DioMixin_fetch__responseInterceptorWrapper__closure.prototype = { call$0() { return A.DioMixin_checkIfNeedEnqueue(this.$this.DioMixin__interceptors._responseLock, new A.DioMixin_fetch__responseInterceptorWrapper___closure(this.interceptor, this.state)); }, $signature: 71 }; A.DioMixin_fetch__responseInterceptorWrapper___closure.prototype = { call$0() { var t1 = new A._Future($.Zone__current, type$._Future_InterceptorState_dynamic); this.interceptor.call$2(this.state.data, new A.ResponseInterceptorHandler(new A._AsyncCompleter(t1, type$._AsyncCompleter_InterceptorState_dynamic))); return t1; }, $signature: 196 }; A.DioMixin_fetch__errorInterceptorWrapper.prototype = { call$1(interceptor) { return new A.DioMixin_fetch__errorInterceptorWrapper_closure(this._box_1, this.$this, interceptor); }, $signature: 761 }; A.DioMixin_fetch__errorInterceptorWrapper_closure.prototype = { call$2(err, stackTrace) { var t2, t3, _this = this, t1 = {}; t1.err = err; t2 = !(err instanceof A.InterceptorState) ? t1.err = new A.InterceptorState(A.DioMixin_assureDioError(err, _this._box_1.requestOptions, stackTrace), B.InterceptorResultType_0, type$.InterceptorState_DioError) : err; t3 = t2.type; if (t3 === B.InterceptorResultType_0 || t3 === B.InterceptorResultType_4) { t2 = type$.dynamic; return A.DioMixin_listenCancelForAsyncTask(_this._box_1.requestOptions.cancelToken, A.Future_Future(new A.DioMixin_fetch__errorInterceptorWrapper__closure(t1, _this.$this, _this.interceptor), t2), t2); } else throw A.wrapException(t2); }, $signature: 773 }; A.DioMixin_fetch__errorInterceptorWrapper__closure.prototype = { call$0() { return A.DioMixin_checkIfNeedEnqueue(this.$this.DioMixin__interceptors._errorLock, new A.DioMixin_fetch__errorInterceptorWrapper___closure(this._box_0, this.interceptor)); }, $signature: 71 }; A.DioMixin_fetch__errorInterceptorWrapper___closure.prototype = { call$0() { var t1 = new A._Future($.Zone__current, type$._Future_InterceptorState_dynamic); this.interceptor.call$2(J.get$data$x(this._box_0.err), new A.ErrorInterceptorHandler(new A._AsyncCompleter(t1, type$._AsyncCompleter_InterceptorState_dynamic))); return t1; }, $signature: 196 }; A.DioMixin_fetch_closure.prototype = { call$0() { return new A.InterceptorState(this._box_1.requestOptions, B.InterceptorResultType_0, type$.InterceptorState_RequestOptions); }, $signature: 778 }; A.DioMixin_fetch_closure0.prototype = { call$1(interceptor) { var t1 = this._box_1; t1.future = t1.future.then$1$1(0, this._requestInterceptorWrapper.call$1(interceptor.get$onRequest()), type$.dynamic); }, $signature: 195 }; A.DioMixin_fetch_closure1.prototype = { call$2(reqOpt, handler) { this._box_1.requestOptions = reqOpt; this.$this._dispatchRequest$1$1(reqOpt, type$.dynamic).then$1$2$onError(0, new A.DioMixin_fetch__closure(handler), new A.DioMixin_fetch__closure0(handler), type$.void); }, $signature: 124 }; A.DioMixin_fetch__closure.prototype = { call$1(value) { this.handler._interceptor$_completer.complete$1(0, new A.InterceptorState(value, B.InterceptorResultType_2, type$.InterceptorState_Response_dynamic)); return null; }, $signature: 794 }; A.DioMixin_fetch__closure0.prototype = { call$1(e) { this.handler._interceptor$_completer.completeError$2(new A.InterceptorState(e, B.InterceptorResultType_4, type$.InterceptorState_DioError), e._stackTrace); }, $signature: 5 }; A.DioMixin_fetch_closure2.prototype = { call$1(interceptor) { var t1 = this._box_1; t1.future = t1.future.then$1$1(0, this._responseInterceptorWrapper.call$1(interceptor.get$onResponse()), type$.dynamic); }, $signature: 195 }; A.DioMixin_fetch_closure3.prototype = { call$1(interceptor) { var t1 = this._box_1; t1.future = t1.future.catchError$1(this._errorInterceptorWrapper.call$1(interceptor.get$onError(interceptor))); }, $signature: 195 }; A.DioMixin_fetch_closure4.prototype = { call$1(data) { var t1 = data instanceof A.InterceptorState ? data.data : data; return A.DioMixin_assureResponse(t1, this._box_1.requestOptions, this.T); }, $signature() { return this.T._eval$1("Response0<0>(@)"); } }; A.DioMixin_fetch_closure5.prototype = { call$2(err, stackTrace) { var t1, isState = err instanceof A.InterceptorState; if (isState) if (err.type === B.InterceptorResultType_1) return A.DioMixin_assureResponse(err.data, this._box_1.requestOptions, this.T); t1 = isState ? err.data : err; throw A.wrapException(A.DioMixin_assureDioError(t1, this._box_1.requestOptions, stackTrace)); }, $signature() { return this.T._eval$1("Response0<0>(@,@)"); } }; A.DioMixin__dispatchRequest_closure.prototype = { call$0() { return this.ret; }, $signature: 799 }; A.DioMixin__transformData_closure.prototype = { call$2(data, sink) { var t1 = sink._async$_sink, t2 = new Uint8Array(A._ensureNativeList(data)); if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_add(0, t2); t1 = this._box_0; if (t1.length != null) t1.complete = t1.complete + J.get$length$asx(data); }, $signature: 803 }; A.DioMixin__transformData_closure0.prototype = { call$1(sink) { sink.addError$1(new A.DioError(null, B.DioErrorType_1, "Sending timeout[" + A.S(A._lateReadCheck(this.options.OptionsMixin___OptionsMixin_connectTimeout, "connectTimeout")) + "ms]")); sink.close$0(0); }, $signature: 815 }; A.DioForBrowser.prototype = {}; A._DioForBrowser_Object_DioMixin.prototype = {}; A.Headers.prototype = { get$map(_) { return this._headers$_map; }, $index(_, $name) { return this._headers$_map.$index(0, B.JSString_methods.trim$0($name).toLowerCase()); }, value$1(_, $name) { var t2, t1 = this._headers$_map.$index(0, B.JSString_methods.trim$0($name).toLowerCase()); if (t1 == null) return null; t2 = J.getInterceptor$asx(t1); if (t2.get$length(t1) === 1) return t2.get$first(t1); throw A.wrapException(A.Exception_Exception('"' + $name + '" header has more than one value, please use Headers[name]')); }, $set$2(_, $name, value) { this._headers$_map.$indexSet(0, B.JSString_methods.trim$0($name).toLowerCase(), A._setArrayType([J.trim$0$s(value)], type$.JSArray_String)); }, toString$0(_) { var t1, stringBuffer = new A.StringBuffer(""); this._headers$_map.forEach$1(0, new A.Headers_toString_closure(stringBuffer)); t1 = stringBuffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, map$1($receiver, arg0) { return this.get$map(this).call$1(arg0); } }; A.Headers$fromMap_closure.prototype = { call$2(k, v) { return new A.MapEntry(B.JSString_methods.trim$0(k).toLowerCase(), v, type$.MapEntry_of_String_and_List_String); }, $signature: 827 }; A.Headers_toString_closure.prototype = { call$2(key, value) { J.forEach$1$ax(value, new A.Headers_toString__closure(this.stringBuffer, key)); }, $signature: 831 }; A.Headers_toString__closure.prototype = { call$1(e) { this.stringBuffer._contents += this.key + ": " + e + "\n"; return null; }, $signature: 11 }; A.Lock.prototype = {}; A.InterceptorResultType.prototype = { toString$0(_) { return "InterceptorResultType." + this._core$_name; } }; A.InterceptorState.prototype = { get$data(receiver) { return this.data; } }; A._BaseHandler.prototype = {}; A.RequestInterceptorHandler.prototype = {}; A.ResponseInterceptorHandler.prototype = {}; A.ErrorInterceptorHandler.prototype = {}; A.Interceptor0.prototype = { onRequest$2(options, handler) { handler._interceptor$_completer.complete$1(0, new A.InterceptorState(options, B.InterceptorResultType_0, type$.InterceptorState_RequestOptions)); return null; }, onResponse$2(response, handler) { handler._interceptor$_completer.complete$1(0, new A.InterceptorState(response, B.InterceptorResultType_0, type$.InterceptorState_Response_dynamic)); return null; }, onError$2(_, err, handler) { handler._interceptor$_completer.completeError$2(new A.InterceptorState(err, B.InterceptorResultType_0, type$.InterceptorState_DioError), err._stackTrace); return null; } }; A.Interceptors.prototype = { $index(_, index) { return this._interceptor$_list[index]; }, $indexSet(_, index, value) { var t1 = this._interceptor$_list; if (t1.length === index) t1.push(value); else t1[index] = value; }, get$length(receiver) { return this.length; }, set$length(receiver, val) { return this.length = val; } }; A.ResponseType.prototype = { toString$0(_) { return "ResponseType." + this._core$_name; } }; A.ListFormat.prototype = { toString$0(_) { return "ListFormat." + this._core$_name; } }; A.BaseOptions.prototype = { contentTypeWithRequestBody$1(method) { return B.JSArray_methods.contains$1(B.List_POST_PUT_PATCH_DELETE, method) ? J.$index$asx(A._lateReadCheck(this.___RequestConfig__headers, "_headers"), "content-type") : null; } }; A.OptionsMixin.prototype = {}; A.Options.prototype = {}; A.RequestOptions.prototype = { get$data(receiver) { return this.data; } }; A._RequestConfig.prototype = { _RequestConfig$14$contentType$extra$followRedirects$headers$listFormat$maxRedirects$method$receiveDataWhenStatusError$receiveTimeout$requestEncoder$responseDecoder$responseType$sendTimeout$validateStatus(contentType, extra, followRedirects, headers, listFormat, maxRedirects, method, receiveDataWhenStatusError, receiveTimeout, requestEncoder, responseDecoder, responseType, sendTimeout, validateStatus) { var contentTypeInHeader, _this = this, _s8_ = "_headers", _s12_ = "content-type", t1 = type$.dynamic, t2 = A.caseInsensitiveKeyMap(headers, t1); _this.___RequestConfig__headers = t2; if (_this._defaultContentType != null && !J.containsKey$1$x(A._lateReadCheck(t2, _s8_), _s12_)) J.$indexSet$ax(A._lateReadCheck(_this.___RequestConfig__headers, _s8_), _s12_, _this._defaultContentType); contentTypeInHeader = J.containsKey$1$x(A._lateReadCheck(_this.___RequestConfig__headers, _s8_), _s12_); _this.___RequestConfig_method = method == null ? "GET" : method; _this.___RequestConfig_sendTimeout = sendTimeout == null ? 0 : sendTimeout; _this.___RequestConfig_receiveTimeout = receiveTimeout == null ? 0 : receiveTimeout; _this.___RequestConfig_listFormat = listFormat == null ? B.ListFormat_4 : listFormat; _this.___RequestConfig_extra = extra == null ? A.LinkedHashMap_LinkedHashMap$_empty(type$.String, t1) : extra; _this.___RequestConfig_followRedirects = followRedirects !== false; _this.___RequestConfig_maxRedirects = maxRedirects == null ? 5 : maxRedirects; _this.___RequestConfig_receiveDataWhenStatusError = receiveDataWhenStatusError !== false; _this.___RequestConfig_validateStatus = validateStatus == null ? new A._RequestConfig_closure() : validateStatus; _this.___RequestConfig_responseType = responseType == null ? B.ResponseType_0 : responseType; if (!contentTypeInHeader) _this.set$contentType(0, contentType == null ? "application/json; charset=utf-8" : contentType); }, get$receiveTimeout() { return A._lateReadCheck(this.___RequestConfig_receiveTimeout, "receiveTimeout"); }, set$contentType(_, contentType) { var t1, t2, _this = this, _s8_ = "_headers", _s12_ = "content-type"; if (contentType != null) { t1 = A._lateReadCheck(_this.___RequestConfig__headers, _s8_); t2 = B.JSString_methods.trim$0(contentType); _this._defaultContentType = t2; J.$indexSet$ax(t1, _s12_, t2); } else { _this._defaultContentType = null; J.remove$1$ax(A._lateReadCheck(_this.___RequestConfig__headers, _s8_), _s12_); } }, get$validateStatus() { return A._lateReadCheck(this.___RequestConfig_validateStatus, "validateStatus"); }, validateStatus$1(arg0) { return this.get$validateStatus().call$1(arg0); } }; A._RequestConfig_closure.prototype = { call$1($status) { return $status != null && $status >= 200 && $status < 300; }, $signature: 843 }; A._BaseOptions__RequestConfig_OptionsMixin.prototype = {}; A._RequestOptions__RequestConfig_OptionsMixin.prototype = {}; A.Response0.prototype = { toString$0(_) { var t1 = this.data; if (type$.Map_dynamic_dynamic._is(t1)) return B.C_JsonCodec.encode$1(t1); return J.toString$0$(t1); }, get$data(receiver) { return this.data; } }; A.Transformer.prototype = {}; A.Transformer_urlEncodeMap_closure.prototype = { call$2(key, value) { if (value == null) return key; return key + "=" + A._Uri__uriEncode(B.List_nxB, J.toString$0$(value), B.C_Utf8Codec, true); }, $signature: 866 }; A.DefaultTransformer.prototype = { transformRequest$1(options) { return this.transformRequest$body$DefaultTransformer(options); }, transformRequest$body$DefaultTransformer(options) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$self = this, data, data0; var $async$transformRequest$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 data = options.data; data0 = data == null ? "" : data; if (typeof data0 != "string") if ($async$self._isJsonMime$1(J.$index$asx(A._lateReadCheck(options.___RequestConfig__headers, "_headers"), "content-type"))) { $async$returnValue = B.C_JsonCodec.encode$1(data); // goto return $async$goto = 1; break; } else if (type$.Map_dynamic_dynamic._is(data0)) { options.set$contentType(0, "application/x-www-form-urlencoded"); $async$returnValue = A.Transformer_urlEncodeMap(data0, B.ListFormat_4); // goto return $async$goto = 1; break; } $async$returnValue = J.toString$0$(data0); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$transformRequest$1, $async$completer); }, transformResponse$2(options, response) { return this.transformResponse$body$DefaultTransformer(options, response); }, transformResponse$body$DefaultTransformer(options, response) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, completer, subscription, t1, t2, stream, chunks, exception, responseBytes, chunkOffset, _i, chunk, responseBody, _box_0, $async$exception; var $async$transformResponse$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 _box_0 = {}; if (A._lateReadCheck(options.___RequestConfig_responseType, "responseType") === B.ResponseType_1) { $async$returnValue = response; // goto return $async$goto = 1; break; } _box_0.received = _box_0.length = 0; completer = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic); t1 = response.stream; t2 = type$.Uint8List; stream = A._StreamHandlerTransformer$(new A.DefaultTransformer_transformResponse_closure(_box_0, false, options), t2, t2).bind$1(t1); chunks = A._setArrayType([], type$.JSArray_Uint8List); _box_0.finalSize = 0; subscription = stream.listen$4$cancelOnError$onDone$onError(new A.DefaultTransformer_transformResponse_closure0(_box_0, chunks), true, new A.DefaultTransformer_transformResponse_closure1(completer), new A.DefaultTransformer_transformResponse_closure2(completer)); $async$goto = A._lateReadCheck(options.___RequestConfig_receiveTimeout, "receiveTimeout") > 0 ? 3 : 5; break; case 3: // then $async$handler = 7; $async$goto = 10; return A._asyncAwait(completer.future.timeout$1(0, A.Duration$(0, 0, 0, A._lateReadCheck(options.___RequestConfig_receiveTimeout, "receiveTimeout"), 0)), $async$transformResponse$2); case 10: // returning from await. $async$handler = 2; // goto after finally $async$goto = 9; break; case 7: // catch $async$handler = 6; $async$exception = $async$currentError; $async$goto = A.unwrapException($async$exception) instanceof A.TimeoutException ? 11 : 13; break; case 11: // then $async$goto = 14; return A._asyncAwait(J.cancel$0$z(subscription), $async$transformResponse$2); case 14: // returning from await. throw A.wrapException(A.DioError$("Receiving data timeout[" + options.get$receiveTimeout() + "ms]", options, null, B.DioErrorType_2)); // goto join $async$goto = 12; break; case 13: // else throw $async$exception; case 12: // join // goto after finally $async$goto = 9; break; case 6: // uncaught // goto rethrow $async$goto = 2; break; case 9: // after finally // goto join $async$goto = 4; break; case 5: // else $async$goto = 15; return A._asyncAwait(completer.future, $async$transformResponse$2); case 15: // returning from await. case 4: // join t1 = _box_0.finalSize; responseBytes = new Uint8Array(t1); for (t1 = chunks.length, chunkOffset = 0, _i = 0; _i < chunks.length; chunks.length === t1 || (0, A.throwConcurrentModificationError)(chunks), ++_i) { chunk = chunks[_i]; B.NativeUint8List_methods.setAll$2(responseBytes, chunkOffset, chunk); chunkOffset += chunk.length; } if (A._lateReadCheck(options.___RequestConfig_responseType, "responseType") === B.ResponseType_3) { $async$returnValue = responseBytes; // goto return $async$goto = 1; break; } responseBody = B.C_Utf8Codec.decode$2$allowMalformed(0, responseBytes, true); if (responseBody.length !== 0) if (A._lateReadCheck(options.___RequestConfig_responseType, "responseType") === B.ResponseType_0) { t1 = J.$index$asx(A._lateReadCheck(response.__ResponseBody_headers, "headers"), "content-type"); t1 = $async$self._isJsonMime$1(t1 == null ? null : J.get$first$ax(t1)); } else t1 = false; else t1 = false; if (t1) { t1 = B.C_JsonCodec.decode$1(0, responseBody); $async$returnValue = t1; // goto return $async$goto = 1; break; } $async$returnValue = responseBody; // 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$transformResponse$2, $async$completer); }, _isJsonMime$1(contentType) { var t1, t2; if (contentType == null) return false; t1 = A.MediaType_MediaType$parse(contentType); t1 = t1.type + "/" + t1.subtype; t2 = $.$get$Headers_jsonMimeType(); return t1 === t2.type + "/" + t2.subtype; } }; A.DefaultTransformer_transformResponse_closure.prototype = { call$2(data, sink) { var t1 = sink._async$_sink; if ((t1._state & 2) !== 0) A.throwExpression(A.StateError$("Stream is already closed")); t1.super$_BufferingStreamSubscription$_add(0, data); if (this.showDownloadProgress) { t1 = this._box_0; t1.received = t1.received + data.length; } }, $signature: 876 }; A.DefaultTransformer_transformResponse_closure0.prototype = { call$1(chunk) { var t1 = this._box_0; t1.finalSize = t1.finalSize + chunk.length; this.chunks.push(chunk); }, $signature: 877 }; A.DefaultTransformer_transformResponse_closure2.prototype = { call$2(e, stackTrace) { this.completer.completeError$2(e, stackTrace); }, $signature: 121 }; A.DefaultTransformer_transformResponse_closure1.prototype = { call$0() { this.completer.complete$0(0); }, $signature: 0 }; A.encodeMap_urlEncode.prototype = { call$2(sub, path) { var t2, t3, t4, t5, t6, i, isCollection, t7, t8, str, isNotEmpty, _this = this, format = _this.listFormat, separatorChar = A._getSeparatorChar(format), t1 = type$.List_dynamic; if (t1._is(sub)) { t2 = format === B.ListFormat_4; if (t2 || format === B.ListFormat_5) for (t3 = J.getInterceptor$asx(sub), t4 = _this.rightBracket, t5 = _this.leftBracket, t6 = type$.Map_dynamic_dynamic, i = 0; i < t3.get$length(sub); ++i) { if (!t6._is(t3.$index(sub, i))) if (!t1._is(t3.$index(sub, i))) { t3.$index(sub, i); isCollection = false; } else isCollection = true; else isCollection = true; if (t2) { t7 = t3.$index(sub, i); _this.call$2(t7, path + (isCollection ? t5 + i + t4 : "")); } else { t7 = t3.$index(sub, i); t8 = path + t5; _this.call$2(t7, t8 + A.S(isCollection ? i : "") + t4); } } else _this.call$2(J.join$1$ax(sub, separatorChar), path); } else if (type$.Map_dynamic_dynamic._is(sub)) J.forEach$1$ax(sub, new A.encodeMap_urlEncode_closure(path, _this, _this.encodeComponent, _this.leftBracket, _this.rightBracket)); else { str = _this.handler.call$2(path, sub); isNotEmpty = str != null && J.trim$0$s(str).length !== 0; t1 = _this._box_0; if (!t1.first && isNotEmpty) _this.urlData._contents += "&"; t1.first = false; if (isNotEmpty) _this.urlData._contents += A.S(str); } }, $signature: 880 }; A.encodeMap_urlEncode_closure.prototype = { call$2(k, v) { var _this = this, t1 = _this.path, t2 = _this.urlEncode, t3 = _this.encodeComponent; if (t1 === "") t2.call$2(v, A.S(t3.call$1(k))); else t2.call$2(v, t1 + _this.leftBracket + A.S(t3.call$1(k)) + _this.rightBracket); }, $signature: 60 }; A.caseInsensitiveKeyMap_closure.prototype = { call$2(key1, key2) { return key1.toLowerCase() === key2.toLowerCase(); }, $signature: 339 }; A.caseInsensitiveKeyMap_closure0.prototype = { call$1(key) { return B.JSString_methods.get$hashCode(key.toLowerCase()); }, $signature: 100 }; A.ApiInterceptor.prototype = { onRequest$2(options, handler) { return this.onRequest$body$ApiInterceptor(options, handler); }, onRequest$body$ApiInterceptor(options, handler) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, token; var $async$onRequest$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($.$get$locator().call$1$0(type$.SharedPref).getToken$0(), $async$onRequest$2); case 3: // returning from await. token = $async$result; J.putIfAbsent$2$x(A._lateReadCheck(options.___RequestConfig__headers, "_headers"), "Authorization", new A.ApiInterceptor_onRequest_closure(token)); $async$returnValue = $async$self.super$Interceptor$onRequest(options, handler); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$onRequest$2, $async$completer); }, onError$2(_, err, handler) { this.super$Interceptor$onError(0, err, handler); } }; A.ApiInterceptor_onRequest_closure.prototype = { call$0() { return "Bearer " + this.token; }, $signature: 36 }; A.RoutineApiInterceptor.prototype = { onRequest$2(options, handler) { return this.onRequest$body$RoutineApiInterceptor(options, handler); }, onRequest$body$RoutineApiInterceptor(options, handler) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, token; var $async$onRequest$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($.$get$locator().call$1$0(type$.SharedPref).readStringValue$1("routineToken"), $async$onRequest$2); case 3: // returning from await. token = $async$result; if (token !== "") J.putIfAbsent$2$x(A._lateReadCheck(options.___RequestConfig__headers, "_headers"), "Authorization", new A.RoutineApiInterceptor_onRequest_closure(token)); $async$returnValue = $async$self.super$Interceptor$onRequest(options, handler); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$onRequest$2, $async$completer); }, onError$2(_, err, handler) { this.super$Interceptor$onError(0, err, handler); } }; A.RoutineApiInterceptor_onRequest_closure.prototype = { call$0() { return "Bearer " + this.token; }, $signature: 36 }; A.ApiManager.prototype = {}; A.RoutineManager.prototype = {}; A.NavigationService.prototype = {}; A.setupLocator_closure.prototype = { call$0() { var t1 = new A.ApiManager(), t2 = t1.__ApiManager_dio = A.DioForBrowser$(A.BaseOptions$("https://lms.schoolsnepal.com/api/v1/", 60000, "application/json; charset=utf-8", A.LinkedHashMap_LinkedHashMap$_literal(["Accept", "application/json"], type$.String, type$.dynamic), 60000, B.ResponseType_0)), t3 = A._lateReadCheck(t2, "dio").DioMixin__interceptors; A._lateReadCheck(t2, "dio"); t3.add$1(t3, new A.ApiInterceptor()); return t1; }, $signature: 887 }; A.setupLocator_closure0.prototype = { call$0() { var _s10_ = "routineDio", t1 = new A.RoutineManager(), t2 = t1.__RoutineManager_routineDio = A.DioForBrowser$(A.BaseOptions$("https://routine.schoolsnepal.com/api/v1/organization/", 60000, "application/json; charset=utf-8", null, 60000, B.ResponseType_0)), t3 = A._lateReadCheck(t2, _s10_).DioMixin__interceptors; A._lateReadCheck(t2, _s10_); t3.add$1(t3, new A.RoutineApiInterceptor()); return t1; }, $signature: 1225 }; A.setupLocator_closure1.prototype = { call$0() { return new A.NavigationService(); }, $signature: 930 }; A.setupLocator_closure2.prototype = { call$0() { return new A.SharedPref(new A.EncryptedSharedPreferences()); }, $signature: 937 }; A.setupLocator_closure3.prototype = { call$0() { return new A.CourseContentProvider(A._setArrayType([], type$.JSArray_CourseContents), A._setArrayType([], type$.JSArray_CourseContentDetail), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1079 }; A.setupLocator_closure4.prototype = { call$0() { var t1 = type$.String; return new A.QAProvider(A._setArrayType([], type$.JSArray_QaModel), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1080 }; A.setupLocator_closure5.prototype = { call$0() { return new A.SubjectProvider(A._setArrayType([], type$.JSArray_TeacherSubject), A._setArrayType([], type$.JSArray_StudentSubject), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1081 }; A.setupLocator_closure6.prototype = { call$0() { return new A.AuthProvider(A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 613 }; A.setupLocator_closure7.prototype = { call$0() { var t1 = type$.String; return new A.DictionaryProvider(A._setArrayType([], type$.JSArray_Terms), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), A._setArrayType([], type$.JSArray_LanguageTerm), A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray_TermsDescriptionModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1088 }; A.setupLocator_closure8.prototype = { call$0() { return new A.TestsProvider(A._setArrayType([], type$.JSArray_TestModel), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1095 }; A.setupLocator_closure9.prototype = { call$0() { return new A.JitsiMeetingProvider(A.SizedBox$shrink(), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1105 }; A.setupLocator_closure10.prototype = { call$0() { return new A.AssignmentProvider(A._setArrayType([], type$.JSArray_int), A._setArrayType([], type$.JSArray_Assignment), A._setArrayType([], type$.JSArray_AssignmentSubmitted), A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1118 }; A.setupLocator_closure11.prototype = { call$0() { return new A.NoteProvider(A._setArrayType([], type$.JSArray_NoteModel), A._setArrayType([], type$.JSArray_NoteCommentModel), A.HtmlEditorController$(), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1163 }; A.setupLocator_closure12.prototype = { call$0() { var t1 = type$.int; return new A.QuestionProvider(A._setArrayType([], type$.JSArray_Question), A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1166 }; A.setupLocator_closure13.prototype = { call$0() { return new A.ResourceProvider(A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1167 }; A.setupLocator_closure14.prototype = { call$0() { return new A.GlobalIdsProvider(A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1168 }; A.setupLocator_closure15.prototype = { call$0() { return new A.StudentTestProvider(A._setArrayType([], type$.JSArray_StudentTest), A._setArrayType([], type$.JSArray_int), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1170 }; A.setupLocator_closure16.prototype = { call$0() { return new A.ManageAccountProvider(A._setArrayType([], type$.JSArray_ManageUserAccount), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1172 }; A.setupLocator_closure17.prototype = { call$0() { return new A.AdminBatchProvider(A._setArrayType([], type$.JSArray_BatchClassSectionModel), A._setArrayType([], type$.JSArray_LanguageModel), A._setArrayType([], type$.JSArray_nullable_String), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 1224 }; A.setupLocator_closure18.prototype = { call$0() { return new A.TempJitsiProvider(A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 552 }; A.setupLocator_closure19.prototype = { call$0() { var t1 = type$.JSArray_BatchClassSectionModel; return new A.AdminSectionProvider(A._setArrayType([], t1), A._setArrayType([], t1), A._setArrayType([], type$.JSArray_String), A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.BatchClassSectionModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 514 }; A.setupLocator_closure20.prototype = { call$0() { var t1 = type$.JSArray_AdminTeacherModel; return new A.AdminTeacherProvider(A._setArrayType([], t1), A._setArrayType([], t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.AdminTeacherModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 663 }; A.setupLocator_closure21.prototype = { call$0() { var t1 = type$.JSArray_AdminSubjectModel; return new A.AdminSubjectProvider(A._setArrayType([], t1), A._setArrayType([], t1), A._setArrayType([], type$.JSArray_String), A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.AdminSubjectModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 664 }; A.setupLocator_closure22.prototype = { call$0() { return new A.AdminFilterProvider($.$get$locator().call$1$0(type$.AdminClassProvider), $.$get$locator().call$1$0(type$.AdminSectionProvider), $.$get$locator().call$1$0(type$.AdminSubjectProvider), $.$get$locator().call$1$0(type$.AdminTeacherProvider), $.$get$locator().call$1$0(type$.AdminStudentProvider), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 368 }; A.setupLocator_closure23.prototype = { call$0() { var t1 = type$.JSArray_BatchClassSectionModel; return new A.AdminClassProvider(A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.BatchClassSectionModel), A._setArrayType([], t1), A._setArrayType([], t1), A._setArrayType([], type$.JSArray_nullable_String), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 387 }; A.setupLocator_closure24.prototype = { call$0() { var t1 = type$.JSArray_AdminStudentModel; return new A.AdminStudentProvider(A._setArrayType([], t1), A._setArrayType([], t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.AdminStudentModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 416 }; A.setupLocator_closure25.prototype = { call$0() { return new A.TextFieldProvider(A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 425 }; A.setupLocator_closure26.prototype = { call$0() { return new A.RoutineProvider(A._setArrayType([], type$.JSArray_RoutineModel), A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 491 }; A.SharedPref.prototype = { saveKey$1$value(value) { return this.saveKey$body$SharedPref(value); }, saveKey$body$SharedPref(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, exception, $async$exception; var $async$saveKey$1$value = 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; $async$goto = 6; return A._asyncAwait($async$self.encryptedSharedPreferences.setString$2("user_token", value), $async$saveKey$1$value); case 6: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; $async$self.encryptedSharedPreferences.clear$0(0); // 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$saveKey$1$value, $async$completer); }, getToken$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, exception, $async$exception; var $async$getToken$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$goto = 7; return A._asyncAwait($async$self.encryptedSharedPreferences.getString$1(0, "user_token"), $async$getToken$0); 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; $async$returnValue = ""; // 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 case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$getToken$0, $async$completer); }, getAccessToken$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, exception, $async$exception; var $async$getAccessToken$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$goto = 7; return A._asyncAwait($async$self.encryptedSharedPreferences.getString$1(0, "access_token"), $async$getAccessToken$0); 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; $async$returnValue = ""; // 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 case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$getAccessToken$0, $async$completer); }, saveUserData$1$userAccountDetail(userAccountDetail) { return this.saveUserData$body$SharedPref(userAccountDetail); }, saveUserData$body$SharedPref(userAccountDetail) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], prefs, userData, error, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, exception, $async$exception; var $async$saveUserData$1$userAccountDetail = 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; $async$goto = 6; return A._asyncAwait(A.SharedPreferences_getInstance(), $async$saveUserData$1$userAccountDetail); case 6: // returning from await. prefs = $async$result; t1 = userAccountDetail.id; if (t1 == null) t1 = null; t2 = userAccountDetail.uuid; if (t2 == null) t2 = null; t3 = userAccountDetail.firstname; if (t3 == null) t3 = null; t4 = userAccountDetail.lastname; if (t4 == null) t4 = null; t5 = userAccountDetail.email; if (t5 == null) t5 = null; t6 = userAccountDetail.phone; if (t6 == null) t6 = null; t7 = userAccountDetail.userType; if (t7 == null) t7 = null; t8 = userAccountDetail.status; if (t8 == null) t8 = null; t9 = userAccountDetail.isVerified; if (t9 == null) t9 = null; t10 = userAccountDetail.createdAt; t10 = t10 == null ? null : t10.toIso8601String$0(); t11 = userAccountDetail.updatedAt; t11 = t11 == null ? null : t11.toIso8601String$0(); t12 = userAccountDetail.token; if (t12 == null) t12 = null; t13 = userAccountDetail.accountUser; if (t13 == null) t13 = null; else { t14 = t13.id; if (t14 == null) t14 = null; t15 = t13.userId; if (t15 == null) t15 = null; t13 = t13.resourceStudent; if (t13 == null) t13 = null; else { t16 = t13.id; if (t16 == null) t16 = null; t17 = t13.studentId; if (t17 == null) t17 = null; t18 = t13.resourceCategoryId; if (t18 == null) t18 = null; t19 = t13.rollNo; t20 = t13.symbolNo; t13 = t13.resourceCategory; if (t13 == null) t13 = null; else { t21 = t13.id; if (t21 == null) t21 = null; t22 = t13.parentId; if (t22 == null) t22 = null; t23 = t13.code; if (t23 == null) t23 = null; t24 = t13.name; if (t24 == null) t24 = null; t13 = t13.parentRec; t13 = A.LinkedHashMap_LinkedHashMap$_literal(["id", t21, "parent_id", t22, "code", t23, "name", t24, "parent_rec", t13 == null ? null : t13.toMap$0()], type$.String, type$.dynamic); } t13 = A.LinkedHashMap_LinkedHashMap$_literal(["id", t16, "student_id", t17, "resource_category_id", t18, "roll_no", t19, "symbol_no", t20, "resource_category", t13], type$.String, type$.dynamic); } t13 = A.LinkedHashMap_LinkedHashMap$_literal(["id", t14, "user_id", t15, "resource_student", t13], type$.String, type$.dynamic); } userData = B.C_JsonCodec.encode$1(A.LinkedHashMap_LinkedHashMap$_literal(["id", t1, "uuid", t2, "firstname", t3, "middlename", userAccountDetail.middlename, "lastname", t4, "email", t5, "phone", t6, "user_type", t7, "status", t8, "is_verified", t9, "created_at", t10, "updated_at", t11, "token", t12, "account_user", t13], type$.String, type$.dynamic)); prefs._setValue$3("String", "user_data", userData); $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); A.print(error); // 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$saveUserData$1$userAccountDetail, $async$completer); }, getUserData$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_UserAccountDetail), $async$returnValue, $async$next = [], userData, user, t1, exception, prefs; var $async$getUserData$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.SharedPreferences_getInstance(), $async$getUserData$0); case 3: // returning from await. prefs = $async$result; try { t1 = A._asStringQ(J.$index$asx(prefs._preferenceCache, "user_data")); t1.toString; userData = B.C_JsonCodec.decode$1(0, t1); user = A.UserAccountDetail_UserAccountDetail$fromMap(userData); $async$returnValue = user; // goto return $async$goto = 1; break; } catch (exception) { $async$returnValue = null; // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getUserData$0, $async$completer); }, saveStringValue$2(key, value) { return this.saveStringValue$body$SharedPref(key, value); }, saveStringValue$body$SharedPref(key, value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue; var $async$saveStringValue$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.SharedPreferences_getInstance(), $async$saveStringValue$2); case 3: // returning from await. $async$returnValue = $async$result._setValue$3("String", key, value); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$saveStringValue$2, $async$completer); }, readStringValue$1(key) { return this.readStringValue$body$SharedPref(key); }, readStringValue$body$SharedPref(key) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$next = [], val, t1, exception, prefs; var $async$readStringValue$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 = 3; return A._asyncAwait(A.SharedPreferences_getInstance(), $async$readStringValue$1); case 3: // returning from await. prefs = $async$result; try { t1 = A._asStringQ(J.$index$asx(prefs._preferenceCache, key)); t1.toString; val = t1; $async$returnValue = val; // goto return $async$goto = 1; break; } catch (exception) { $async$returnValue = ""; // goto return $async$goto = 1; break; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$readStringValue$1, $async$completer); }, clearUser$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, prefs, exception, $async$exception; var $async$clearUser$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 = 3; $async$goto = 6; return A._asyncAwait(A.SharedPreferences_getInstance(), $async$clearUser$0); case 6: // returning from await. prefs = $async$result; J.clear$0$ax(prefs._preferenceCache); A.SharedPreferences__store().clear$0(0); $async$goto = 7; return A._asyncAwait($async$self.encryptedSharedPreferences.clear$0(0), $async$clearUser$0); case 7: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$clearUser$0, $async$completer); } }; A.MyApp.prototype = { build$1(_, context) { var _null = null, t1 = type$.CourseContentProvider, t2 = type$.AuthProvider, t3 = type$.SubjectProvider, t4 = type$.ResourceProvider, t5 = type$.DictionaryProvider, t6 = type$.NoteProvider, t7 = type$.AssignmentProvider, t8 = type$.JitsiMeetingProvider, t9 = type$.TestsProvider, t10 = type$.QuestionProvider, t11 = type$.QAProvider, t12 = type$.StudentTestProvider, t13 = type$.GlobalIdsProvider, t14 = type$.ManageAccountProvider, t15 = type$.TempJitsiProvider, t16 = type$.AdminSectionProvider, t17 = type$.AdminSubjectProvider, t18 = type$.AdminFilterProvider, t19 = type$.AdminBatchProvider, t20 = type$.AdminClassProvider, t21 = type$.AdminTeacherProvider, t22 = type$.AdminStudentProvider, t23 = type$.TextFieldProvider, t24 = type$.RoutineProvider; return A.MultiProvider$(new A.MyApp_build_closure(), A._setArrayType([A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t1), t1), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t2), t2), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t3), t3), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t4), t4), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t5), t5), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t6), t6), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t7), t7), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t8), t8), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t9), t9), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t10), t10), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t11), t11), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t12), t12), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t13), t13), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t14), t14), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t15), t15), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t16), t16), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t17), t17), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t18), t18), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t19), t19), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t20), t20), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t21), t21), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t22), t22), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t23), t23), A.ChangeNotifierProvider$value(_null, $.$get$locator().call$1$0(t24), t24)], type$.JSArray_SingleChildWidget)); } }; A.MyApp_build_closure.prototype = { call$2(context, child) { var _null = null, t1 = A.Listener$(B.HitTestBehavior_0, new A.MaterialApp($.$get$NavigationService_navigatorKey(), new A.SplashScreen(_null), new A.MyApp_build__closure(), "Drac LMS", A.ThemeData_ThemeData(_null, "Poppins", _null), false, _null), _null, _null, _null, new A.MyApp_build__closure0(context)); return new A.OKToast(t1, B.Color_3707764736, _null); }, $signature: 496 }; A.MyApp_build__closure0.prototype = { call$1(_) { var t1, currentFocus = A.FocusScope_of(this.context); if (!currentFocus.get$hasPrimaryFocus()) { t1 = currentFocus._focusedChildren; t1 = (t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null) != null; } else t1 = false; if (t1) { t1 = currentFocus._focusedChildren; (t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null).unfocus$0(); } }, $signature: 500 }; A.MyApp_build__closure.prototype = { call$2(context, widget) { var _null = null; widget.toString; return new A.ResponsiveWrapper(new A.BouncingScrollWrapper(widget, _null), A._setArrayType([new A.ResponsiveBreakpoint(450, "MOBILE", B.ResponsiveBreakpointBehavior_0, 1), new A.ResponsiveBreakpoint(800, "TABLET", B.ResponsiveBreakpointBehavior_1, 1), new A.ResponsiveBreakpoint(1000, "TABLET", B.ResponsiveBreakpointBehavior_1, 1), new A.ResponsiveBreakpoint(1200, "DESKTOP", B.ResponsiveBreakpointBehavior_1, 1), new A.ResponsiveBreakpoint(2460, "4K", B.ResponsiveBreakpointBehavior_1, 1)], type$.JSArray_ResponsiveBreakpoint), _null, _null, 450, 1200, _null, true, 1, _null, _null, _null, _null, _null, A.Container$(_null, _null, B.Clip_0, $.$get$DraclmsTheme_backgorund(), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, false, B.Alignment_0_m1, false, _null); }, $signature: 53 }; A.AdminStudentModel.prototype = { get$id(receiver) { return this.id; } }; A.AdminSubjectModel.prototype = {$isListenable: 1, get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A._AdminSubjectModel_Object_ChangeNotifier.prototype = {}; A.AdminTeacherModel.prototype = {$isListenable: 1, get$id(receiver) { return this.id; } }; A._AdminTeacherModel_Object_ChangeNotifier.prototype = {}; A.BatchClassSectionModel.prototype = {$isListenable: 1, get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.LanguageModel.prototype = {$isListenable: 1, get$id(receiver) { return this.id; }, get$displayName(receiver) { return this.displayName; } }; A.ParentModel.prototype = {$isListenable: 1, get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A._BatchClassSectionModel_Object_ChangeNotifier.prototype = {}; A._LanguageModel_Object_ChangeNotifier.prototype = {}; A._ParentModel_Object_ChangeNotifier.prototype = {}; A.Assignment.prototype = { get$id(receiver) { return this.id; } }; A.Assignment_Assignment$fromMap_closure.prototype = { call$1(x) { return A.AssignmentMaterialElement_AssignmentMaterialElement$fromMap(x); }, $signature: 217 }; A.Assignment_Assignment$fromMap_closure0.prototype = { call$1(x) { return A.AssignmentMaterialElement_AssignmentMaterialElement$fromMap(x); }, $signature: 217 }; A.AssignmentMaterialElement.prototype = { get$id(receiver) { return this.id; } }; A.AssignmentSubmitted.prototype = { get$id(receiver) { return this.id; } }; A.AssignmentSubmission.prototype = { get$id(receiver) { return this.id; } }; A.UserAccount.prototype = {}; A.UserAccountDetail.prototype = { get$id(receiver) { return this.id; } }; A.AccountUser.prototype = { get$id(receiver) { return this.id; } }; A.ResourceStudent0.prototype = { get$id(receiver) { return this.id; } }; A.ResourceCategory.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.ParentRec.prototype = { toMap$0() { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, t1 = _this.id; if (t1 == null) t1 = _null; t2 = _this.accountId; if (t2 == null) t2 = _null; t3 = _this.parentId; if (t3 == null) t3 = _null; t4 = _this.languageId; if (t4 == null) t4 = _null; t5 = _this.code; if (t5 == null) t5 = _null; t6 = _this.name; if (t6 == null) t6 = _null; t7 = _this.coverImage; if (t7 == null) t7 = _null; t8 = _this.isActive; if (t8 == null) t8 = _null; t9 = _this.isCurrent; if (t9 == null) t9 = _null; t10 = _this.createdAt; t10 = t10 == null ? _null : t10.toIso8601String$0(); t11 = _this.updatedAt; t11 = t11 == null ? _null : t11.toIso8601String$0(); t12 = _this.parentRec; return A.LinkedHashMap_LinkedHashMap$_literal(["id", t1, "account_id", t2, "parent_id", t3, "language_id", t4, "code", t5, "name", t6, "cover_image", t7, "is_active", t8, "is_current", t9, "created_at", t10, "updated_at", t11, "parent_rec", t12 == null ? _null : t12.toMap$0()], type$.String, type$.dynamic); }, get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.User.prototype = { get$id(receiver) { return this.id; } }; A.User_User$fromMap_closure.prototype = { call$1(x) { return x; }, $signature: 44 }; A.CourseContentDetail.prototype = { get$id(receiver) { return this.id; } }; A.CourseContentDetail_CourseContentDetail$fromMap_closure.prototype = { call$1(x) { var t3, t4, t5, t6, t7, t8, t9, t10, _null = null, _s2_ = "id", _s11_ = "material_id", _s12_ = "is_published", _s13_ = "material_type", _s5_ = "title", _s17_ = "resource_material", _s11_0 = "content_url", _s13_0 = "content_embed", _s19_ = "content_url_preview", t1 = J.getInterceptor$asx(x), t2 = t1.$index(x, _s2_) == null ? _null : t1.$index(x, _s2_); t1.$index(x, "resource_lesson_id"); t3 = t1.$index(x, _s11_) == null ? _null : t1.$index(x, _s11_); t4 = t1.$index(x, _s12_) == null ? _null : t1.$index(x, _s12_); t1.$index(x, "sequence"); t5 = t1.$index(x, _s13_) == null ? _null : t1.$index(x, _s13_); if (t1.$index(x, _s5_) != null) t1.$index(x, _s5_); if (t1.$index(x, _s17_) == null) t1 = _null; else { t1 = t1.$index(x, _s17_); t6 = J.getInterceptor$asx(t1); t7 = t6.$index(t1, _s2_) == null ? _null : t6.$index(t1, _s2_); t8 = t6.$index(t1, "content") == null ? "" : t6.$index(t1, "content"); if (t6.$index(t1, _s11_0) != null) t6.$index(t1, _s11_0); t9 = t6.$index(t1, _s13_0) == null ? "" : t6.$index(t1, _s13_0); t6.$index(t1, "cover_image"); t10 = t6.$index(t1, _s5_) == null ? _null : t6.$index(t1, _s5_); t6.$index(t1, "source_text"); t6.$index(t1, "source_link"); t1 = new A.ResourceMaterial(t7, t8, t9, t10, t6.$index(t1, _s19_) == null ? "" : t6.$index(t1, _s19_)); } return new A.ResourceLessonMaterial0(t2, t3, t4, t5, t1); }, $signature: 537 }; A.NextLesson.prototype = { get$id(receiver) { return this.id; } }; A.ResourceLessonMaterial0.prototype = { get$id(receiver) { return this.id; } }; A.ResourceMaterial.prototype = { get$id(receiver) { return this.id; } }; A.CourseContents.prototype = { get$id(receiver) { return this.id; } }; A.CourseContents_CourseContents$fromMap_closure.prototype = { call$1(x) { return A.ResourceLesson_ResourceLesson$fromMap(x); }, $signature: 556 }; A.ResourceLesson.prototype = { get$id(receiver) { return this.id; } }; A.ResourceLesson_ResourceLesson$fromMap_closure.prototype = { call$1(x) { var _s18_ = "resource_lesson_id", _s11_ = "material_id", t1 = J.getInterceptor$asx(x), t2 = t1.$index(x, "id") == null ? null : t1.$index(x, "id"); if (t1.$index(x, _s18_) != null) t1.$index(x, _s18_); if (t1.$index(x, _s11_) != null) t1.$index(x, _s11_); return new A.ResourceLessonMaterial(t2); }, $signature: 643 }; A.Resource.prototype = { get$id(receiver) { return this.id; } }; A.ResourceLessonMaterial.prototype = { get$id(receiver) { return this.id; } }; A.LanguageTerm.prototype = { get$id(receiver) { return this.id; } }; A.LanguageTerm_LanguageTerm$fromMap_closure.prototype = { call$1(x) { return x; }, $signature: 44 }; A.LanguageTerm_LanguageTerm$fromMap_closure0.prototype = { call$1(x) { return x; }, $signature: 44 }; A.LanguageTerm_LanguageTerm$fromMap_closure1.prototype = { call$1(x) { return x; }, $signature: 44 }; A.EntryLanguageInterLink.prototype = { get$id(receiver) { return this.id; } }; A.Language.prototype = { get$id(receiver) { return this.id; } }; A.Language_Language$fromMap_closure.prototype = { call$1(x) { return A.Terms_Terms$fromMap(x); }, $signature: 218 }; A.Language_Language$fromMap_closure0.prototype = { call$1(x) { return A.EntryLanguageInterLink_EntryLanguageInterLink$fromMap(x); }, $signature: 219 }; A.EntryLanguageInterLinkLinkedTerm.prototype = { get$id(receiver) { return this.id; } }; A.Terms.prototype = { get$id(receiver) { return this.id; } }; A.Terms_Terms$fromMap_closure.prototype = { call$1(x) { var t2, t3, t4, t5, _null = null, _s20_ = "termClassificationId", _s10_ = "definition", _s12_ = "illustration", _s19_ = "entryClassification", t1 = J.getInterceptor$asx(x); if (t1.$index(x, "entryId") != null) t1.$index(x, "entryId"); if (t1.$index(x, _s20_) != null) t1.$index(x, _s20_); if (t1.$index(x, "origin") != null) t1.$index(x, "origin"); t2 = t1.$index(x, _s10_) == null ? _null : t1.$index(x, _s10_); t3 = t1.$index(x, "usage") == null ? _null : t1.$index(x, "usage"); if (t1.$index(x, _s12_) != null) t1.$index(x, _s12_); t4 = t1.$index(x, _s19_) == null ? _null : A.EntryClassification_EntryClassification$fromMap(t1.$index(x, _s19_)); t5 = t1.$index(x, "id") == null ? _null : t1.$index(x, "id"); if (t1.$index(x, "status") != null) t1.$index(x, "status"); return new A.EntryDefinitionsList(t2, t3, t4, t5); }, $signature: 666 }; A.Terms_Terms$fromMap_closure0.prototype = { call$1(x) { var t2, _s14_ = "primaryEntryId", _s12_ = "linkedTermId", _s16_ = "linkedLanguageId", _s14_0 = "linkedLanguage", _s12_0 = "primaryEntry", t1 = J.getInterceptor$asx(x); if (t1.$index(x, _s14_) != null) t1.$index(x, _s14_); if (t1.$index(x, _s12_) != null) t1.$index(x, _s12_); if (t1.$index(x, _s16_) != null) t1.$index(x, _s16_); if (t1.$index(x, _s14_0) != null) A.Language_Language$fromMap(t1.$index(x, _s14_0)); if (t1.$index(x, _s12_0) != null) A.Terms_Terms$fromMap(t1.$index(x, _s12_0)); t2 = t1.$index(x, "id") == null ? null : t1.$index(x, "id"); if (t1.$index(x, "status") != null) t1.$index(x, "status"); return new A.EntryLanguageInterLinkLinkedTerm(t2); }, $signature: 699 }; A.Terms_Terms$fromMap_closure1.prototype = { call$1(x) { return A.EntryLanguageInterLink_EntryLanguageInterLink$fromMap(x); }, $signature: 219 }; A.EntryDefinitionsList.prototype = { get$id(receiver) { return this.id; } }; A.EntryClassification.prototype = { get$id(receiver) { return this.id; } }; A.EntryClassification_EntryClassification$fromMap_closure.prototype = { call$1(x) { return x; }, $signature: 44 }; A.Term.prototype = { toString$0(_) { return "Term." + this._core$_name; } }; A.EnumValues.prototype = { map$1($receiver, arg0) { return this.map.call$1(arg0); } }; A.ManageUserAccount.prototype = { get$id(receiver) { return this.id; } }; A.ManageUserAccount_ManageUserAccount$fromMap_closure.prototype = { call$1(x) { var _null = null, t1 = J.getInterceptor$asx(x), t2 = t1.$index(x, "batch") == null ? _null : t1.$index(x, "batch"), t3 = t1.$index(x, "class") == null ? _null : t1.$index(x, "class"), t4 = t1.$index(x, "section") == null ? _null : t1.$index(x, "section"); return new A.ResourceTeacher(t2, t3, t4, t1.$index(x, "subject") == null ? _null : t1.$index(x, "subject")); }, $signature: 760 }; A.ResourceStudent.prototype = {}; A.ResourceTeacher.prototype = {}; A.NoteModel.prototype = { get$id(receiver) { return this.id; } }; A.NoteComment.prototype = {$isListenable: 1, get$id(receiver) { return this.id; } }; A._NoteComment_Object_ChangeNotifier.prototype = {}; A.QaModel.prototype = { get$id(receiver) { return this.id; } }; A.QaClass.prototype = { get$id(receiver) { return this.id; } }; A.Question.prototype = {$isListenable: 1, get$id(receiver) { return this.id; } }; A.QuizQuestion.prototype = {$isListenable: 1, get$id(receiver) { return this.id; } }; A.QuizQuestion_QuizQuestion$fromMap_closure.prototype = { call$1(x) { var _null = null, _s11_ = "question_id", _s9_ = "is_answer", t1 = J.getInterceptor$asx(x), t2 = t1.$index(x, "id") == null ? _null : t1.$index(x, "id"), t3 = t1.$index(x, _s11_) == null ? _null : t1.$index(x, _s11_), t4 = t1.$index(x, "option") == null ? _null : t1.$index(x, "option"); return new A.QuizOption(t2, t3, t4, t1.$index(x, _s9_) == null ? _null : t1.$index(x, _s9_)); }, $signature: 770 }; A.QuizOption.prototype = { get$id(receiver) { return this.id; } }; A.QuizType.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A._Question_Object_ChangeNotifier.prototype = {}; A._QuizQuestion_Object_ChangeNotifier.prototype = {}; A.RoutineModel.prototype = { get$id(receiver) { return this.id; } }; A.RoutineModel_RoutineModel$fromMap_closure.prototype = { call$1(x) { var t2, t3, t4, t5, now, day, month, t6, _timeSlot, _null = null, _s3_ = "day", _s2_ = "id", _s15_ = "organization_id", _s9_ = "time_slot", _s9_0 = "starts_at", _s8_ = "hh:mm aa", t1 = J.getInterceptor$asx(x); if (t1.$index(x, _s3_) == null) t2 = _null; else { t2 = t1.$index(x, _s3_); t3 = J.getInterceptor$asx(t2); t4 = t3.$index(t2, _s2_) == null ? _null : t3.$index(t2, _s2_); t5 = t3.$index(t2, _s3_) == null ? _null : t3.$index(t2, _s3_); if (t3.$index(t2, _s15_) != null) t3.$index(t2, _s15_); t2 = new A.Day(t4, t5); } if (t1.$index(x, _s9_) == null) t1 = _null; else { t1 = t1.$index(x, _s9_); now = new A.DateTime(Date.now(), false); day = B.JSInt_methods.toString$0(A.Primitives_getDay(now)).length > 1 ? "" + A.Primitives_getDay(now) : "0" + A.Primitives_getDay(now); month = B.JSInt_methods.toString$0(A.Primitives_getMonth(now)).length > 1 ? "" + A.Primitives_getMonth(now) : "0" + A.Primitives_getMonth(now); t3 = J.getInterceptor$asx(t1); t4 = t3.$index(t1, _s2_) == null ? _null : t3.$index(t1, _s2_); if (t3.$index(t1, "title") != null) t3.$index(t1, "title"); t5 = t3.$index(t1, _s9_0) == null ? _null : A.DateTime_parse("" + A.Primitives_getYear(now) + "-" + month + "-" + day + " " + A.S(t3.$index(t1, _s9_0))); t6 = t3.$index(t1, "ends_at") == null ? _null : A.DateTime_parse("" + A.Primitives_getYear(now) + "-" + month + "-" + day + " " + A.S(t3.$index(t1, "ends_at"))); if (t3.$index(t1, _s15_) != null) t3.$index(t1, _s15_); _timeSlot = new A.TimeSlot(t4, t5, t6); t1 = A.DateFormat$(_s8_, _null); t5.toString; _timeSlot.startsAtString = t1.format$1(t5); t5 = A.DateFormat$(_s8_, _null); t6.toString; _timeSlot.endAtString = t5.format$1(t6); t1 = _timeSlot; } return new A.DaysOfWeek(t2, t1); }, $signature: 795 }; A.DaysOfWeek.prototype = {}; A.Day.prototype = { get$id(receiver) { return this.id; } }; A.TimeSlot.prototype = { get$id(receiver) { return this.id; } }; A.Grade.prototype = { get$id(receiver) { return this.id; } }; A.Section.prototype = { get$id(receiver) { return this.id; } }; A.Subject.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.Teacher.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.StudentSubject.prototype = { get$id(receiver) { return this.id; } }; A.Subject0.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.Teacher0.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.TeacherSubject.prototype = { get$id(receiver) { return this.id; }, get$name(receiver) { return this.name; } }; A.ResourceCategory0.prototype = {}; A.TestModel.prototype = { get$id(receiver) { return this.id; } }; A.StudentTest.prototype = { get$id(receiver) { return this.id; } }; A.StudentTestAnswer.prototype = {}; A.StudentTestAnswer_StudentTestAnswer$fromMap_closure.prototype = { call$1(x) { var t3, t4, t5, _null = null, _s24_ = "resource_student_test_id", _s20_ = "resource_question_id", _s10_ = "is_correct", _s8_ = "question", _s8_0 = "solution", t1 = J.getInterceptor$asx(x), t2 = t1.$index(x, "id") == null ? _null : t1.$index(x, "id"); if (t1.$index(x, _s24_) != null) t1.$index(x, _s24_); if (t1.$index(x, _s20_) != null) t1.$index(x, _s20_); t3 = t1.$index(x, _s10_) == null ? _null : t1.$index(x, _s10_); t4 = t1.$index(x, "marks") == null ? _null : t1.$index(x, "marks"); t5 = t1.$index(x, _s8_) == null ? _null : t1.$index(x, _s8_); if (t1.$index(x, _s8_0) != null) t1.$index(x, _s8_0); return new A.StudentAnswer(t2, t3, t4, t5, t1.$index(x, "option") == null ? _null : t1.$index(x, "option")); }, $signature: 796 }; A.StudentAnswer.prototype = { get$id(receiver) { return this.id; } }; A.StudentTestDetails.prototype = {}; A.TestStudentDetail.prototype = { get$id(receiver) { return this.id; } }; A.AdminBatchProvider.prototype = { languageIdByName$1$languageName(languageName) { var t2, languageModel, _this = this, t1 = {}; t1.languageName = languageName; if (languageName === "") { t2 = B.JSArray_methods.get$first(_this._languageList).displayName; t2.toString; languageName = t2; } t1.languageName = languageName; languageModel = B.JSArray_methods.firstWhere$2$orElse(_this._languageList, new A.AdminBatchProvider_languageIdByName_closure(t1), new A.AdminBatchProvider_languageIdByName_closure0()); _this._selectedLanguage = t1.languageName; t1 = languageModel.id; t1.toString; _this._languageId = t1; _this.notifyListeners$0(); }, languageIdByName$0() { return this.languageIdByName$1$languageName(""); }, setIdByBatchName$1$batchName(batchName) { var batchClassSectionModel, t2, exception, _this = this, t1 = {}; t1.batchName = batchName; try { if (batchName === "") { t2 = B.JSArray_methods.get$first(_this._batchList).name; t2.toString; batchName = t2; } _this._selectedBatch = t1.batchName = batchName; batchClassSectionModel = B.JSArray_methods.firstWhere$2$orElse(_this._batchList, new A.AdminBatchProvider_setIdByBatchName_closure(t1), new A.AdminBatchProvider_setIdByBatchName_closure0()); t1 = batchClassSectionModel.id; t1.toString; _this._batchId = t1; _this.notifyListeners$0(); } catch (exception) { throw exception; } }, setIdByBatchName$0() { return this.setIdByBatchName$1$batchName(""); }, getLanguage$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, exception, $async$exception; var $async$getLanguage$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 = 3; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getLanguage(), $async$getLanguage$0); case 6: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(response.data, "data"); t1 = $async$self._languageList; B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminBatchProvider_getLanguage_closure(), type$.LanguageModel).toList$0(0)); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getLanguage$0, $async$completer); }, getBatches$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, exception, $async$exception; var $async$getBatches$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 = 3; $async$self._admin_batch_provider$_isLoading = true; if (!$async$self._admin_batch_provider$_isInit) $async$self.notifyListeners$0(); $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getBatch(), $async$getBatches$0); case 6: // returning from await. response = $async$result; if (response.data != null) t1 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t1 = false; if (t1) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); t1 = A._setArrayType([], type$.JSArray_BatchClassSectionModel); $async$self._batchList = t1; B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminBatchProvider_getBatches_closure(), type$.BatchClassSectionModel).toList$0(0)); } if ($async$self._batchList.length !== 0) { $async$self.setIdByBatchName$0(); t1 = $async$self._batchList; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>"); $async$self._batchStringList = A.List_List$of(new A.MappedListIterable(t1, new A.AdminBatchProvider_getBatches_closure0(), t2), true, t2._eval$1("ListIterable.E")); } else { $async$self._selectedBatch = ""; $async$self._batchId = -1; } $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._admin_batch_provider$_isLoading = $async$self._admin_batch_provider$_isInit = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getBatches$0, $async$completer); }, loadBatchAndLanguage$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$loadBatchAndLanguage$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$.void; $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([$async$self.getLanguage$0(), $async$self.getBatches$0()], type$.JSArray_Future_void), false, t1).then$1$1(0, new A.AdminBatchProvider_loadBatchAndLanguage_closure(), t1), $async$loadBatchAndLanguage$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$loadBatchAndLanguage$0, $async$completer); }, addBatch$4$code$isActive$languageId$name(code, isActive, languageId, $name) { return this.addBatch$body$AdminBatchProvider(code, isActive, languageId, $name); }, addBatch$body$AdminBatchProvider(code, isActive, languageId, $name) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$addBatch$4$code$isActive$languageId$name = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addBatch(code, isActive, languageId, $name), $async$addBatch$4$code$isActive$languageId$name); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Batch has been added", B.MaterialColor_Map_JNEaM_4283215696); $async$goto = 9; return A._asyncAwait($async$self.getBatches$0(), $async$addBatch$4$code$isActive$languageId$name); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$addBatch$4$code$isActive$languageId$name, $async$completer); }, deleteBatch$1$batchId(batchId) { return this.deleteBatch$body$AdminBatchProvider(batchId); }, deleteBatch$body$AdminBatchProvider(batchId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$deleteBatch$1$batchId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteBatch(batchId), $async$deleteBatch$1$batchId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Batch has been deleted", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getBatches$0(), $async$deleteBatch$1$batchId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$deleteBatch$1$batchId, $async$completer); }, $isListenable: 1 }; A.AdminBatchProvider_languageIdByName_closure.prototype = { call$1(language) { return language.displayName === this._box_0.languageName; }, $signature: 848 }; A.AdminBatchProvider_languageIdByName_closure0.prototype = { call$0() { return new A.LanguageModel(-1, null, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, $signature: 900 }; A.AdminBatchProvider_setIdByBatchName_closure.prototype = { call$1(batch) { return batch.name === this._box_0.batchName; }, $signature: 190 }; A.AdminBatchProvider_setIdByBatchName_closure0.prototype = { call$0() { var _null = null; return A.BatchClassSectionModel$(_null, _null, _null, -1, _null, _null, _null, _null, "", _null, _null); }, $signature: 189 }; A.AdminBatchProvider_getLanguage_closure.prototype = { call$1(e) { return A.LanguageModel_LanguageModel$fromJson(e); }, $signature: 363 }; A.AdminBatchProvider_getBatches_closure.prototype = { call$1(e) { return A.BatchClassSectionModel_BatchClassSectionModel$fromMap(e); }, $signature: 102 }; A.AdminBatchProvider_getBatches_closure0.prototype = { call$1(e) { return e.name; }, $signature: 220 }; A.AdminBatchProvider_loadBatchAndLanguage_closure.prototype = { call$1(value) { return this.$call$body$AdminBatchProvider_loadBatchAndLanguage_closure(value); }, $call$body$AdminBatchProvider_loadBatchAndLanguage_closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminClassProvider).getAllClass$0(), $async$call$1); 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$call$1, $async$completer); }, $signature: 180 }; A._AdminBatchProvider_Object_ChangeNotifier.prototype = {}; A.AdminClassProvider.prototype = { setClassIdByClassName$1$className(className) { var t2, batchClassSectionModel, _this = this, t1 = {}; t1.className = className; t2 = _this._classList; if (t2.length !== 0) { if (className === "") { t2 = B.JSArray_methods.get$first(t2).name; t2.toString; className = t2; } t1.className = className; batchClassSectionModel = B.JSArray_methods.firstWhere$2$orElse(_this._classList, new A.AdminClassProvider_setClassIdByClassName_closure(t1), new A.AdminClassProvider_setClassIdByClassName_closure0()); _this._selectedClass = t1.className; t1 = batchClassSectionModel.id; t1.toString; _this._classId = t1; } else { _this._selectedClass = ""; _this._classId = -1; } _this.notifyListeners$0(); }, setClassIdByClassName$0() { return this.setClassIdByClassName$1$className(""); }, getClasses$0() { var level = 1; return this.getClasses$body$AdminClassProvider(); }, getClasses$body$AdminClassProvider() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, t3, exception, level, $async$exception; var $async$getClasses$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 level = 1; $async$handler = 3; t1 = type$.JSArray_BatchClassSectionModel; $async$self._classList = A._setArrayType([], t1); t2 = type$.JSArray_nullable_String; $async$self._classStringList = A._setArrayType([], t2); $async$self._admin_class_provider$_isLoading = true; $async$self.notifyListeners$0(); t3 = type$.AdminBatchProvider; $async$goto = $.$get$locator().call$1$0(t3)._batchId !== -1 ? 6 : 8; break; case 6: // then $async$goto = 9; return A._asyncAwait(A.BatchClassSectionRepository_getClass($.$get$locator().call$1$0(t3)._batchId, level), $async$getClasses$0); case 9: // returning from await. response = $async$result; if (response.data != null) t3 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t3 = false; if (t3) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); $async$self._classList = A._setArrayType([], t1); $async$self._classStringList = A._setArrayType([], t2); B.JSArray_methods.addAll$1($async$self._classList, J.map$1$1$ax(result, new A.AdminClassProvider_getClasses_closure(), type$.BatchClassSectionModel).toList$0(0)); if ($async$self._classList.length !== 0) { $async$self.setClassIdByClassName$0(); t1 = $.$get$locator().call$1$0(type$.AdminClassProvider)._classList; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>"); $async$self._classStringList = A.List_List$of(new A.MappedListIterable(t1, new A.AdminClassProvider_getClasses_closure0(), t2), true, t2._eval$1("ListIterable.E")); } else { $async$self._selectedClass = ""; $async$self._classId = -1; } } // goto join $async$goto = 7; break; case 8: // else $async$self._selectedClass = ""; $async$self._classId = -1; case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._admin_class_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getClasses$0, $async$completer); }, getAllClass$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2; var $async$getAllClass$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$.AdminClassProvider; t2 = type$.void; $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(t1).getClasses$0(), $.$get$locator().call$1$0(t1).getAddClasses$0()], type$.JSArray_Future_void), false, t2).then$1$1(0, new A.AdminClassProvider_getAllClass_closure($async$self), t2), $async$getAllClass$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getAllClass$0, $async$completer); }, getRelatedDataOfClass$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$getRelatedDataOfClass$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($.$get$locator().call$1$0(type$.AdminSectionProvider).getAllSections$0().then$1$1(0, new A.AdminClassProvider_getRelatedDataOfClass_closure(), type$.Null), $async$getRelatedDataOfClass$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getRelatedDataOfClass$0, $async$completer); }, addClass$1$classIds(classIds) { return this.addClass$body$AdminClassProvider(classIds); }, addClass$body$AdminClassProvider(classIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$addClass$1$classIds = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addClass($.$get$locator().call$1$0(type$.AdminBatchProvider)._batchId, classIds), $async$addClass$1$classIds); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Class has been added", B.MaterialColor_Map_JNEaM_4283215696); $async$self._mapSelectedClass.clear$0(0); $async$goto = 9; return A._asyncAwait($async$self.getAllClass$0().then$1$1(0, new A.AdminClassProvider_addClass_closure($async$self), type$.void), $async$addClass$1$classIds); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$addClass$1$classIds, $async$completer); }, deleteClass$1$classId(classId) { return this.deleteClass$body$AdminClassProvider(classId); }, deleteClass$body$AdminClassProvider(classId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$deleteClass$1$classId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteClass(classId), $async$deleteClass$1$classId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Class has been deleted", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getAllClass$0().then$1$1(0, new A.AdminClassProvider_deleteClass_closure($async$self), type$.void), $async$deleteClass$1$classId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$deleteClass$1$classId, $async$completer); }, getAddClasses$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, exception, $async$exception; var $async$getAddClasses$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 = 3; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getMasterClass($.$get$locator().call$1$0(type$.AdminBatchProvider)._batchId), $async$getAddClasses$0); case 6: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(response.data, "data"); B.JSArray_methods.set$length($async$self._addClassList, 0); $async$self._addClassList = J.map$1$1$ax(result, new A.AdminClassProvider_getAddClasses_closure(), type$.BatchClassSectionModel).toList$0(0); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getAddClasses$0, $async$completer); }, $isListenable: 1 }; A.AdminClassProvider_setClassIdByClassName_closure.prototype = { call$1(classItem) { return classItem.name === this._box_0.className; }, $signature: 190 }; A.AdminClassProvider_setClassIdByClassName_closure0.prototype = { call$0() { var _null = null; return A.BatchClassSectionModel$(_null, _null, _null, -1, _null, _null, _null, _null, _null, _null, _null); }, $signature: 189 }; A.AdminClassProvider_getClasses_closure.prototype = { call$1(e) { return A.BatchClassSectionModel_BatchClassSectionModel$fromMap(e); }, $signature: 102 }; A.AdminClassProvider_getClasses_closure0.prototype = { call$1(e) { return e.name; }, $signature: 220 }; A.AdminClassProvider_getAllClass_closure.prototype = { call$1(value) { return this.$call$body$AdminClassProvider_getAllClass_closure(value); }, $call$body$AdminClassProvider_getAllClass_closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this; 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 = 3; return A._asyncAwait($async$self.$this.getRelatedDataOfClass$0(), $async$call$1); 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$call$1, $async$completer); }, $signature: 180 }; A.AdminClassProvider_getRelatedDataOfClass_closure.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null); 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($.$get$locator().call$1$0(type$.AdminSubjectProvider).getAllSubjects$0(), $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: 107 }; A.AdminClassProvider_addClass_closure.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this; 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 = 3; return A._asyncAwait($async$self.$this.getRelatedDataOfClass$0(), $async$call$1); 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$call$1, $async$completer); }, $signature: 122 }; A.AdminClassProvider_deleteClass_closure.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this; 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 = 3; return A._asyncAwait($async$self.$this.getRelatedDataOfClass$0(), $async$call$1); 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$call$1, $async$completer); }, $signature: 122 }; A.AdminClassProvider_getAddClasses_closure.prototype = { call$1(e) { return A.BatchClassSectionModel_BatchClassSectionModel$fromMap(e); }, $signature: 102 }; A._AdminClassProvider_Object_ChangeNotifier.prototype = {}; A.AdminFilterProvider.prototype = { changeBatch$5$isThereBatch$isThereClass$isThereSection$isThereSubject(batchName, isThereBatch, isThereClass, isThereSection, isThereSubject) { return this.changeBatch$body$AdminFilterProvider(batchName, isThereBatch, isThereClass, isThereSection, isThereSubject); }, changeBatch$body$AdminFilterProvider(batchName, isThereBatch, isThereClass, isThereSection, isThereSubject) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2; var $async$changeBatch$5$isThereBatch$isThereClass$isThereSection$isThereSubject = 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$locator().call$1$0(type$.AdminBatchProvider).setIdByBatchName$1$batchName(batchName); t1 = $async$self._classProvider; t1._admin_class_provider$_isLoading = true; t1.notifyListeners$0(); t2 = $async$self._sectionProvider; t2._isSectionLoading = true; t2.notifyListeners$0(); t2 = $async$self._subjectProvider; t2._isSubjectLoading = true; t2.notifyListeners$0(); t2 = $async$self._teacherProvider; t2._isTeacherLoading = true; t2.notifyListeners$0(); t2 = $async$self._studentProvider; t2._admin_student_provider$_isLoading = true; t2.notifyListeners$0(); t1.getAllClass$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$changeBatch$5$isThereBatch$isThereClass$isThereSection$isThereSubject, $async$completer); }, setClass$4$isThereClass$isThereSection$isThereSubject(className, isThereClass, isThereSection, isThereSubject) { return this.setClass$body$AdminFilterProvider(className, isThereClass, isThereSection, isThereSubject); }, setClass$body$AdminFilterProvider(className, isThereClass, isThereSection, isThereSubject) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, t1; var $async$setClass$4$isThereClass$isThereSection$isThereSubject = 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._classProvider; t1.setClassIdByClassName$1$className(className); t2 = $async$self._sectionProvider; t2._isSectionLoading = true; t2.notifyListeners$0(); t2 = $async$self._subjectProvider; t2._isSubjectLoading = true; t2.notifyListeners$0(); t2 = $async$self._studentProvider; t2._admin_student_provider$_isLoading = true; t2.notifyListeners$0(); t2 = $async$self._teacherProvider; t2._isTeacherLoading = true; t2.notifyListeners$0(); $async$goto = 2; return A._asyncAwait(t1.getRelatedDataOfClass$0(), $async$setClass$4$isThereClass$isThereSection$isThereSubject); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$setClass$4$isThereClass$isThereSection$isThereSubject, $async$completer); }, setSection$3$isThereSection$isThereSubject(sectionName, isThereSection, isThereSubject) { return this.setSection$body$AdminFilterProvider(sectionName, isThereSection, isThereSubject); }, setSection$body$AdminFilterProvider(sectionName, isThereSection, isThereSubject) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3; var $async$setSection$3$isThereSection$isThereSubject = 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._sectionProvider.setIdBySectionName$1$sectionName(sectionName); t1 = $async$self._subjectProvider; t1._isSubjectLoading = true; t1.notifyListeners$0(); t2 = $async$self._studentProvider; t2._admin_student_provider$_isLoading = true; t2.notifyListeners$0(); t3 = $async$self._teacherProvider; t3._isTeacherLoading = true; t3.notifyListeners$0(); $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([t1.getAllSubjects$0(), t2.getAllStudents$0()], type$.JSArray_Future_void), false, type$.void), $async$setSection$3$isThereSection$isThereSubject); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$setSection$3$isThereSection$isThereSubject, $async$completer); }, setSubject$1(subjectName) { return this.setSubject$body$AdminFilterProvider(subjectName); }, setSubject$body$AdminFilterProvider(subjectName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$setSubject$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._teacherProvider; t1._isTeacherLoading = true; t1.notifyListeners$0(); $async$self._subjectProvider.setIdBySubjectName$1$subjectName(subjectName); $async$goto = 2; return A._asyncAwait(t1.getAllTeachers$0(), $async$setSubject$1); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$setSubject$1, $async$completer); }, $isListenable: 1 }; A._AdminFilterProvider_Object_ChangeNotifier.prototype = {}; A.AdminSectionProvider.prototype = { setIdBySectionName$1$sectionName(sectionName) { var t2, t3, _this = this, t1 = {}; t1.sectionName = sectionName; t2 = _this._sectionList; if (t2.length !== 0) { if (sectionName === "") { t3 = B.JSArray_methods.get$first(t2).name; t3.toString; sectionName = t3; } _this._selectedSection = t1.sectionName = sectionName; t1 = B.JSArray_methods.firstWhere$2$orElse(t2, new A.AdminSectionProvider_setIdBySectionName_closure(t1), new A.AdminSectionProvider_setIdBySectionName_closure0()).id; t1.toString; _this._sectionId = t1; } else { _this._selectedSection = ""; _this._sectionId = -1; } _this.notifyListeners$0(); }, setIdBySectionName$0() { return this.setIdBySectionName$1$sectionName(""); }, getSections$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, exception, $async$exception; var $async$getSections$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 = 3; t1 = $async$self._sectionList; B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.set$length($async$self._sectionStringList, 0); $async$self._isSectionLoading = true; $async$self.notifyListeners$0(); t2 = type$.AdminClassProvider; $async$goto = $.$get$locator().call$1$0(t2)._classId !== -1 ? 6 : 8; break; case 6: // then $async$goto = 9; return A._asyncAwait(A.BatchClassSectionRepository_getSection($.$get$locator().call$1$0(t2)._classId), $async$getSections$0); case 9: // returning from await. response = $async$result; if (response.data != null) t2 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t2 = false; if (t2) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.set$length($async$self._sectionStringList, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminSectionProvider_getSections_closure(), type$.BatchClassSectionModel).toList$0(0)); } if (t1.length !== 0) { $async$self.setIdBySectionName$0(); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>"); $async$self._sectionStringList = A.List_List$of(new A.MappedListIterable(t1, new A.AdminSectionProvider_getSections_closure0(), t2), true, t2._eval$1("ListIterable.E")); } else { $async$self._selectedSection = ""; $async$self._sectionId = -1; } // goto join $async$goto = 7; break; case 8: // else $async$self._selectedSection = ""; $async$self._sectionId = -1; case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._isSectionLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getSections$0, $async$completer); }, getAllSections$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1; var $async$getAllSections$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$.AdminSectionProvider; $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(t1).getSections$0(), $.$get$locator().call$1$0(t1).getAddSections$0()], type$.JSArray_Future_void), false, type$.void).then$1$1(0, new A.AdminSectionProvider_getAllSections_closure(), type$.Null), $async$getAllSections$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getAllSections$0, $async$completer); }, addSections$1$sectionIds(sectionIds) { return this.addSections$body$AdminSectionProvider(sectionIds); }, addSections$body$AdminSectionProvider(sectionIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$addSections$1$sectionIds = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addSection($.$get$locator().call$1$0(type$.AdminClassProvider)._classId, sectionIds), $async$addSections$1$sectionIds); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Section has been added", B.MaterialColor_Map_JNEaM_4283215696); $async$self._mapSelectedSection.clear$0(0); $async$goto = 9; return A._asyncAwait($async$self.getAllSections$0(), $async$addSections$1$sectionIds); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$addSections$1$sectionIds, $async$completer); }, deleteSection$1$sectionId(sectionId) { return this.deleteSection$body$AdminSectionProvider(sectionId); }, deleteSection$body$AdminSectionProvider(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$deleteSection$1$sectionId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteSection(sectionId), $async$deleteSection$1$sectionId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Section has been deleted", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getAllSections$0(), $async$deleteSection$1$sectionId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$deleteSection$1$sectionId, $async$completer); }, getAddSections$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, exception, $async$exception; var $async$getAddSections$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 = 3; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getAddSectionsList($.$get$locator().call$1$0(type$.AdminClassProvider)._classId), $async$getAddSections$0); case 6: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(response.data, "data"); B.JSArray_methods.set$length($async$self._addSectionList, 0); $async$self._addSectionList = J.map$1$1$ax(result, new A.AdminSectionProvider_getAddSections_closure(), type$.BatchClassSectionModel).toList$0(0); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getAddSections$0, $async$completer); }, $isListenable: 1 }; A.AdminSectionProvider_setIdBySectionName_closure.prototype = { call$1(classItem) { return classItem.name === this._box_0.sectionName; }, $signature: 190 }; A.AdminSectionProvider_setIdBySectionName_closure0.prototype = { call$0() { var _null = null; return A.BatchClassSectionModel$(_null, _null, _null, -1, _null, _null, _null, _null, _null, _null, _null); }, $signature: 189 }; A.AdminSectionProvider_getSections_closure.prototype = { call$1(e) { return A.BatchClassSectionModel_BatchClassSectionModel$fromMap(e); }, $signature: 102 }; A.AdminSectionProvider_getSections_closure0.prototype = { call$1(e) { var t1 = e.name; t1.toString; return t1; }, $signature: 381 }; A.AdminSectionProvider_getAllSections_closure.prototype = { call$1(value) { return this.$call$body$AdminSectionProvider_getAllSections_closure(value); }, $call$body$AdminSectionProvider_getAllSections_closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null); 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($.$get$locator().call$1$0(type$.AdminStudentProvider).getAllStudents$0(), $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: 382 }; A.AdminSectionProvider_getAddSections_closure.prototype = { call$1(e) { return A.BatchClassSectionModel_BatchClassSectionModel$fromMap(e); }, $signature: 102 }; A._AdminSectionProvider_Object_ChangeNotifier.prototype = {}; A.AdminStudentProvider.prototype = { getAllStudents$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$getAllStudents$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(A.Future_wait(A._setArrayType([$async$self.getStudentData$1$sectionId($.$get$locator().call$1$0(type$.AdminSectionProvider)._sectionId), $async$self.getAddAdminStudent$0()], type$.JSArray_Future_void), false, type$.void), $async$getAllStudents$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getAllStudents$0, $async$completer); }, getStudentData$1$sectionId(sectionId) { return this.getStudentData$body$AdminStudentProvider(sectionId); }, getStudentData$body$AdminStudentProvider(sectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, exception, $async$exception; var $async$getStudentData$1$sectionId = 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 = $async$self._studentList; B.JSArray_methods.set$length(t1, 0); $async$self._admin_student_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = sectionId !== -1 ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(A.BatchClassSectionRepository_getAdminStudentList(sectionId), $async$getStudentData$1$sectionId); case 8: // returning from await. response = $async$result; if (response.data != null) t2 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t2 = false; if (t2) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminStudentProvider_getStudentData_closure(), type$.AdminStudentModel)); } case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._admin_student_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getStudentData$1$sectionId, $async$completer); }, getAddAdminStudent$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, exception, $async$exception; var $async$getAddAdminStudent$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 = 3; t1 = type$.AdminSectionProvider; $async$goto = $.$get$locator().call$1$0(t1)._sectionId !== -1 ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(A.BatchClassSectionRepository_getAddStudentList($.$get$locator().call$1$0(t1)._sectionId), $async$getAddAdminStudent$0); case 8: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length($async$self._addStudentList, 0); $async$self._addStudentList = J.map$1$1$ax(result, new A.AdminStudentProvider_getAddAdminStudent_closure(), type$.AdminStudentModel).toList$0(0); $async$self.notifyListeners$0(); } case 7: // join $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); A.print(error); throw $async$exception; // 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$getAddAdminStudent$0, $async$completer); }, addStudentToSection$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, studentIds, response, error, t1, exception, $async$exception; var $async$addStudentToSection$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 = 3; studentIds = A._setArrayType([], type$.JSArray_String); t1 = $async$self._selectedStudentMap; t1.forEach$1(0, new A.AdminStudentProvider_addStudentToSection_closure(studentIds)); $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addStudentToSection($.$get$locator().call$1$0(type$.AdminSectionProvider)._sectionId, studentIds), $async$addStudentToSection$0); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Students has been added to section", B.MaterialColor_Map_JNEaM_4283215696); t1.clear$0(0); $async$goto = 9; return A._asyncAwait($async$self.getAllStudents$0(), $async$addStudentToSection$0); case 9: // returning from await. case 8: // join $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); A.showToaster("Teacher cannot been added to subject", B.MaterialColor_Map_JNc9P_4294198070); A.print(error); throw $async$exception; // 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$addStudentToSection$0, $async$completer); }, removeStudentFromSection$1$studentSectionId(studentSectionId) { return this.removeStudentFromSection$body$AdminStudentProvider(studentSectionId); }, removeStudentFromSection$body$AdminStudentProvider(studentSectionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$removeStudentFromSection$1$studentSectionId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteStudentFromSection(studentSectionId), $async$removeStudentFromSection$1$studentSectionId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Student has been removed from section", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getAllStudents$0(), $async$removeStudentFromSection$1$studentSectionId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$removeStudentFromSection$1$studentSectionId, $async$completer); }, $isListenable: 1 }; A.AdminStudentProvider_getStudentData_closure.prototype = { call$1(e) { var t2, t3, _s4_ = "user", _s9_ = "full_name", t1 = J.getInterceptor$asx(e), jsonStudent = t1.$index(e, "student"); t1 = t1.$index(e, "id") == null ? null : t1.$index(e, "id"); t2 = J.getInterceptor$asx(jsonStudent); if (t2.$index(jsonStudent, "user_id") != null) t2.$index(jsonStudent, "user_id"); t3 = J.$index$asx(t2.$index(jsonStudent, _s4_), "email") == null ? null : J.$index$asx(t2.$index(jsonStudent, _s4_), "email"); return new A.AdminStudentModel(t1, t3, J.$index$asx(t2.$index(jsonStudent, _s4_), _s9_) == null ? null : J.$index$asx(t2.$index(jsonStudent, _s4_), _s9_)); }, $signature: 221 }; A.AdminStudentProvider_getAddAdminStudent_closure.prototype = { call$1(e) { var _s10_ = "middlename", _s8_ = "lastname", t1 = J.getInterceptor$asx(e), firstName = t1.$index(e, "firstname"), middleName = t1.$index(e, _s10_) == null || J.$eq$(t1.$index(e, _s10_), 0) ? " " : t1.$index(e, _s10_), lastName = t1.$index(e, _s8_) == null ? "" : t1.$index(e, _s8_); return new A.AdminStudentModel(t1.$index(e, "id"), t1.$index(e, "email"), A.S(firstName) + A.S(middleName) + A.S(lastName)); }, $signature: 221 }; A.AdminStudentProvider_addStudentToSection_closure.prototype = { call$2(key, value) { this.studentIds.push(A.S(key)); }, $signature: 398 }; A._AdminStudentProvider_Object_ChangeNotifier.prototype = {}; A.AdminSubjectProvider.prototype = { setIdBySubjectName$1$subjectName(subjectName) { var t2, t3, _this = this, t1 = {}; t1.subjectName = subjectName; t2 = _this._subjectList; if (t2.length !== 0) { if (subjectName === "") { t3 = B.JSArray_methods.get$first(t2).name; t3.toString; subjectName = t3; } _this._selectedSubject = t1.subjectName = subjectName; t1 = B.JSArray_methods.firstWhere$2$orElse(t2, new A.AdminSubjectProvider_setIdBySubjectName_closure(t1), new A.AdminSubjectProvider_setIdBySubjectName_closure0()).id; t1.toString; _this._admin_subject_provider$_subjectId = t1; } else { _this._selectedSubject = ""; _this._admin_subject_provider$_subjectId = -1; } _this.notifyListeners$0(); }, setIdBySubjectName$0() { return this.setIdBySubjectName$1$subjectName(""); }, getAdminSubjects$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, exception, $async$exception; var $async$getAdminSubjects$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 = 3; t1 = $async$self._subjectList; B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.set$length($async$self._subjectStringList, 0); $async$self._isSubjectLoading = true; $async$self.notifyListeners$0(); t2 = type$.AdminSectionProvider; $async$goto = $.$get$locator().call$1$0(t2)._sectionId !== -1 ? 6 : 8; break; case 6: // then $async$goto = 9; return A._asyncAwait(A.BatchClassSectionRepository_getSubjects($.$get$locator().call$1$0(t2)._sectionId), $async$getAdminSubjects$0); case 9: // returning from await. response = $async$result; if (response.data != null) t2 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t2 = false; if (t2) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminSubjectProvider_getAdminSubjects_closure(), type$.AdminSubjectModel).toList$0(0)); } if (t1.length !== 0) { $async$self.setIdBySubjectName$0(); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>"); t2 = A.List_List$of(new A.MappedListIterable(t1, new A.AdminSubjectProvider_getAdminSubjects_closure0(), t2), true, t2._eval$1("ListIterable.E")); $async$self._subjectStringList = t2; $async$self._selectedSubject = B.JSArray_methods.get$first(t2); } else { $async$self._selectedSubject = ""; $async$self._admin_subject_provider$_subjectId = -1; } // goto join $async$goto = 7; break; case 8: // else $async$self._selectedSubject = ""; $async$self._admin_subject_provider$_subjectId = -1; case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); $async$self._isSubjectLoading = false; $async$self.notifyListeners$0(); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._isSubjectLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getAdminSubjects$0, $async$completer); }, getAllSubjects$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), t1, t2; var $async$getAllSubjects$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$.AdminSubjectProvider; t2 = type$.void; $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(t1).getAdminSubjects$0(), $.$get$locator().call$1$0(t1).getAddAdminSubjects$0()], type$.JSArray_Future_void), false, t2).then$1$1(0, new A.AdminSubjectProvider_getAllSubjects_closure(), t2), $async$getAllSubjects$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getAllSubjects$0, $async$completer); }, addAdminSubjects$1$subjectIds(subjectIds) { return this.addAdminSubjects$body$AdminSubjectProvider(subjectIds); }, addAdminSubjects$body$AdminSubjectProvider(subjectIds) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$addAdminSubjects$1$subjectIds = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addSubject($.$get$locator().call$1$0(type$.AdminSectionProvider)._sectionId, subjectIds), $async$addAdminSubjects$1$subjectIds); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Subject has been added", B.MaterialColor_Map_JNEaM_4283215696); $async$self._mapSelectedSubject.clear$0(0); $async$goto = 9; return A._asyncAwait($async$self.getAllSubjects$0(), $async$addAdminSubjects$1$subjectIds); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$addAdminSubjects$1$subjectIds, $async$completer); }, deleteAdminSubject$1$subjectId(subjectId) { return this.deleteAdminSubject$body$AdminSubjectProvider(subjectId); }, deleteAdminSubject$body$AdminSubjectProvider(subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$deleteAdminSubject$1$subjectId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteSubject(subjectId), $async$deleteAdminSubject$1$subjectId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Subject has been deleted", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getAllSubjects$0(), $async$deleteAdminSubject$1$subjectId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$deleteAdminSubject$1$subjectId, $async$completer); }, getAddAdminSubjects$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, exception, $async$exception; var $async$getAddAdminSubjects$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 = 3; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getAddAdminSubjectList($.$get$locator().call$1$0(type$.AdminSectionProvider)._sectionId), $async$getAddAdminSubjects$0); case 6: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(response.data, "data"); B.JSArray_methods.set$length($async$self._addSubjectList, 0); $async$self._addSubjectList = J.map$1$1$ax(result, new A.AdminSubjectProvider_getAddAdminSubjects_closure(), type$.AdminSubjectModel).toList$0(0); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getAddAdminSubjects$0, $async$completer); }, $isListenable: 1 }; A.AdminSubjectProvider_setIdBySubjectName_closure.prototype = { call$1(subjectItem) { return subjectItem.name === this._box_0.subjectName; }, $signature: 409 }; A.AdminSubjectProvider_setIdBySubjectName_closure0.prototype = { call$0() { var _null = null; return A.AdminSubjectModel$(_null, _null, -1, _null, _null, _null); }, $signature: 413 }; A.AdminSubjectProvider_getAdminSubjects_closure.prototype = { call$1(e) { var _s7_ = "subject", t1 = J.getInterceptor$asx(e), t2 = t1.$index(e, "id"), t3 = t1.$index(e, "resource_category_id"), t4 = J.$index$asx(t1.$index(e, _s7_), "code"), t5 = J.$index$asx(t1.$index(e, _s7_), "name"); return A.AdminSubjectModel$(t4, J.$index$asx(t1.$index(e, _s7_), "cover_image"), t2, J.$index$asx(t1.$index(e, _s7_), "is_active"), t5, t3); }, $signature: 222 }; A.AdminSubjectProvider_getAdminSubjects_closure0.prototype = { call$1(e) { var t1 = e.name; t1.toString; return t1; }, $signature: 417 }; A.AdminSubjectProvider_getAllSubjects_closure.prototype = { call$1(value) { return this.$call$body$AdminSubjectProvider_getAllSubjects_closure(value); }, $call$body$AdminSubjectProvider_getAllSubjects_closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminTeacherProvider).getAllTeachers$0(), $async$call$1); 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$call$1, $async$completer); }, $signature: 180 }; A.AdminSubjectProvider_getAddAdminSubjects_closure.prototype = { call$1(e) { var t1 = J.getInterceptor$asx(e), t2 = t1.$index(e, "id"), t3 = t1.$index(e, "code"), t4 = t1.$index(e, "name"); return A.AdminSubjectModel$(t3, t1.$index(e, "cover_image"), t2, t1.$index(e, "is_active"), t4, null); }, $signature: 222 }; A._AdminSubjectProvider_Object_ChangeNotifier.prototype = {}; A.AdminTeacherProvider.prototype = { getAdminTeachers$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, t1, t2, exception, $async$exception; var $async$getAdminTeachers$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 = 3; t1 = $async$self._teacherList; B.JSArray_methods.set$length(t1, 0); $async$self._isTeacherLoading = true; $async$self.notifyListeners$0(); t2 = type$.AdminSubjectProvider; $async$goto = $.$get$locator().call$1$0(t2)._admin_subject_provider$_subjectId !== -1 ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(A.BatchClassSectionRepository_getAdminTeacherList($.$get$locator().call$1$0(t2)._admin_subject_provider$_subjectId), $async$getAdminTeachers$0); case 8: // returning from await. response = $async$result; if (response.data != null) t2 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t2 = false; if (t2) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(result, new A.AdminTeacherProvider_getAdminTeachers_closure(), type$.AdminTeacherModel).toList$0(0)); } case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._isTeacherLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getAdminTeachers$0, $async$completer); }, getAllTeachers$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$getAllTeachers$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(A.Future_wait(A._setArrayType([$async$self.getAdminTeachers$0(), $async$self.getAddAdminTeachers$0()], type$.JSArray_Future_void), false, type$.void), $async$getAllTeachers$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getAllTeachers$0, $async$completer); }, createNewTeacherOrStudent$10$email$firstName$generate$isTeacher$lastName$middleName$password$phone$sendToEmail$sendToPhone(email, firstName, generate, isTeacher, lastName, middleName, password, phone, sendToEmail, sendToPhone) { return this.createNewTeacherOrStudent$body$AdminTeacherProvider(email, firstName, generate, isTeacher, lastName, middleName, password, phone, sendToEmail, sendToPhone); }, createNewTeacherOrStudent$body$AdminTeacherProvider(email, firstName, generate, isTeacher, lastName, middleName, password, phone, sendToEmail, sendToPhone) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], exception, $async$exception; var $async$createNewTeacherOrStudent$10$email$firstName$generate$isTeacher$lastName$middleName$password$phone$sendToEmail$sendToPhone = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addTeacherOrStudent(email, firstName, generate, isTeacher, lastName, middleName, password, phone, sendToEmail, sendToPhone), $async$createNewTeacherOrStudent$10$email$firstName$generate$isTeacher$lastName$middleName$password$phone$sendToEmail$sendToPhone); case 6: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$createNewTeacherOrStudent$10$email$firstName$generate$isTeacher$lastName$middleName$password$phone$sendToEmail$sendToPhone, $async$completer); }, addAdminTeacher$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, teacherIds, response, error, t1, exception, $async$exception; var $async$addAdminTeacher$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 = 3; teacherIds = A._setArrayType([], type$.JSArray_String); t1 = $async$self._mapSelectedTeacher; t1.forEach$1(0, new A.AdminTeacherProvider_addAdminTeacher_closure(teacherIds)); $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_addTeacherToSubject($.$get$locator().call$1$0(type$.AdminSubjectProvider)._admin_subject_provider$_subjectId, teacherIds), $async$addAdminTeacher$0); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Teachers has been added to subject", B.MaterialColor_Map_JNEaM_4283215696); t1.clear$0(0); $async$goto = 9; return A._asyncAwait($async$self.getAllTeachers$0(), $async$addAdminTeacher$0); case 9: // returning from await. case 8: // join $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); A.showToaster("Teachers cannot been added to subject", B.MaterialColor_Map_JNc9P_4294198070); A.print(error); throw $async$exception; // 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$addAdminTeacher$0, $async$completer); }, getAddAdminTeachers$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, exception, $async$exception; var $async$getAddAdminTeachers$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 = 3; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_getAddTeacherList($.$get$locator().call$1$0(type$.AdminSubjectProvider)._admin_subject_provider$_subjectId), $async$getAddAdminTeachers$0); case 6: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.set$length($async$self._addTeacherList, 0); $async$self._addTeacherList = J.map$1$1$ax(result, new A.AdminTeacherProvider_getAddAdminTeachers_closure(), type$.AdminTeacherModel).toList$0(0); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getAddAdminTeachers$0, $async$completer); }, removeTeacherFromSubject$1$teacherSubjectId(teacherSubjectId) { return this.removeTeacherFromSubject$body$AdminTeacherProvider(teacherSubjectId); }, removeTeacherFromSubject$body$AdminTeacherProvider(teacherSubjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$removeTeacherFromSubject$1$teacherSubjectId = 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; $async$goto = 6; return A._asyncAwait(A.BatchClassSectionRepository_deleteTeacherFromSubject(teacherSubjectId), $async$removeTeacherFromSubject$1$teacherSubjectId); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 ? 7 : 8; break; case 7: // then A.showToaster("Teachers has been removed from subject", B.MaterialColor_Map_JNc9P_4294198070); $async$goto = 9; return A._asyncAwait($async$self.getAllTeachers$0(), $async$removeTeacherFromSubject$1$teacherSubjectId); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$removeTeacherFromSubject$1$teacherSubjectId, $async$completer); }, $isListenable: 1 }; A.AdminTeacherProvider_getAdminTeachers_closure.prototype = { call$1(e) { var t2, t3, t4, t5, _null = null, _s4_ = "user", t1 = J.getInterceptor$asx(e), jsonTeacher = t1.$index(e, "teacher"); if (jsonTeacher == null) t1 = A.AdminTeacherModel$(_null, _null, _null, _null, _null); else { t1 = t1.$index(e, "id"); t2 = J.getInterceptor$asx(jsonTeacher); t3 = t2.$index(jsonTeacher, "user_id"); t4 = t2.$index(jsonTeacher, "teacher_id"); t5 = t2.$index(jsonTeacher, _s4_) == null ? _null : J.$index$asx(t2.$index(jsonTeacher, _s4_), "email"); t1 = A.AdminTeacherModel$(t5, t2.$index(jsonTeacher, _s4_) == null ? _null : J.$index$asx(t2.$index(jsonTeacher, _s4_), "full_name"), t1, t4, t3); } return t1; }, $signature: 223 }; A.AdminTeacherProvider_addAdminTeacher_closure.prototype = { call$2(key, value) { this.teacherIds.push(A.S(key)); }, $signature: 430 }; A.AdminTeacherProvider_getAddAdminTeachers_closure.prototype = { call$1(e) { var _s10_ = "middlename", _s8_ = "lastname", t1 = J.getInterceptor$asx(e), firstName = t1.$index(e, "firstname"), middleName = t1.$index(e, _s10_) == null || J.$eq$(t1.$index(e, _s10_), 0) ? " " : t1.$index(e, _s10_), lastName = t1.$index(e, _s8_) == null ? "" : t1.$index(e, _s8_), t2 = t1.$index(e, "id"); return A.AdminTeacherModel$(t1.$index(e, "email"), A.S(firstName) + A.S(middleName) + A.S(lastName), t2, null, null); }, $signature: 223 }; A._AdminTeacherProvider_Object_ChangeNotifier.prototype = {}; A.ManageAccountProvider.prototype = { get$userList() { B.JSArray_methods.sort$1(this._userList, new A.ManageAccountProvider_userList_closure()); return this._userList; }, getUserList$2$searchText$userType(searchText, userType) { return this.getUserList$body$ManageAccountProvider(searchText, userType); }, getUserList$1$userType(userType) { return this.getUserList$2$searchText$userType(null, userType); }, getUserList$body$ManageAccountProvider(searchText, userType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, data, users, t1, exception, $async$exception; var $async$getUserList$2$searchText$userType = 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; $async$self._manage_account_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 6; return A._asyncAwait(A.ManageAccountUserRepository_getUserAccountList(searchText, userType), $async$getUserList$2$searchText$userType); case 6: // returning from await. response = $async$result; if (response.data != null) t1 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t1 = false; if (t1) { data = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); users = A._setArrayType([], type$.JSArray_ManageUserAccount); J.forEach$1$ax(data, new A.ManageAccountProvider_getUserList_closure(users)); $async$self._userList = users; } $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._manage_account_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$getUserList$2$searchText$userType, $async$completer); }, disableUser$3$id$isActive$userType(id, isActive, userType) { return this.disableUser$body$ManageAccountProvider(id, isActive, userType); }, disableUser$body$ManageAccountProvider(id, isActive, userType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, t1, exception, $async$exception; var $async$disableUser$3$id$isActive$userType = 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; $async$goto = 6; return A._asyncAwait(A.ManageAccountUserRepository_disableUserAccount(id, isActive), $async$disableUser$3$id$isActive$userType); case 6: // returning from await. response = $async$result; if (response.data != null) t1 = J.$eq$(J.$index$asx(response.data, "code"), 200) || J.$eq$(J.$index$asx(response.data, "code"), 201); else t1 = false; $async$goto = t1 ? 7 : 8; break; case 7: // then $async$goto = 9; return A._asyncAwait($async$self.getUserList$1$userType(userType), $async$disableUser$3$id$isActive$userType); case 9: // returning from await. case 8: // join $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$disableUser$3$id$isActive$userType, $async$completer); }, changeUserPassword$5$id$password$sendToEmail$sendToPhone$userType(id, password, sendToEmail, sendToPhone, userType) { return this.changeUserPassword$body$ManageAccountProvider(id, password, sendToEmail, sendToPhone, userType); }, changeUserPassword$body$ManageAccountProvider(id, password, sendToEmail, sendToPhone, userType) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], exception, $async$exception; var $async$changeUserPassword$5$id$password$sendToEmail$sendToPhone$userType = 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; $async$goto = 6; return A._asyncAwait(A.ManageAccountUserRepository_changePassword(id, password, sendToEmail, sendToPhone, userType), $async$changeUserPassword$5$id$password$sendToEmail$sendToPhone$userType); case 6: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$changeUserPassword$5$id$password$sendToEmail$sendToPhone$userType, $async$completer); }, $isListenable: 1 }; A.ManageAccountProvider_userList_closure.prototype = { call$2(a, b) { return B.JSString_methods.compareTo$1(a.fullName.toLowerCase(), b.fullName.toLowerCase()); }, $signature: 439 }; A.ManageAccountProvider_getUserList_closure.prototype = { call$1(element) { this.users.push(A.ManageUserAccount_ManageUserAccount$fromMap(element)); }, $signature: 6 }; A._ManageAccountProvider_Object_ChangeNotifier.prototype = {}; A.AssignmentProvider.prototype = { getAssignmentById$1(id) { return B.JSArray_methods.firstWhere$1(this._assignmentList, new A.AssignmentProvider_getAssignmentById_closure(id)); }, getStudentName$0() { var t1, _studentName = A._setArrayType([], type$.JSArray_String); B.JSArray_methods.forEach$1(this._assignmentSubmittedList, new A.AssignmentProvider_getStudentName_closure(this, _studentName)); t1 = A.LinkedHashSet_LinkedHashSet$from(_studentName, type$.String); return A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); }, getAssignmentSubmittedById$1(index) { return B.JSArray_methods.firstWhere$2$orElse(this._assignmentSubmittedList, new A.AssignmentProvider_getAssignmentSubmittedById_closure(this._assignment_provider$_studentIds[index]), new A.AssignmentProvider_getAssignmentSubmittedById_closure0()); }, getMaterialsByAssignmentId$1(id) { var t1 = B.JSArray_methods.firstWhere$1(this._assignmentList, new A.AssignmentProvider_getMaterialsByAssignmentId_closure(id)).assignmentMaterial; t1.toString; return t1; }, getAssignment$1(resourceId) { return this.getAssignment$body$AssignmentProvider(resourceId); }, getAssignment$body$AssignmentProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, data, assignment, error, exception, $async$exception; var $async$getAssignment$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 = 3; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_getAssignment(resourceId), $async$getAssignment$1); case 6: // returning from await. response = $async$result; if (response.data != null) { data = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); assignment = A._setArrayType([], type$.JSArray_Assignment); J.forEach$1$ax(data, new A.AssignmentProvider_getAssignment_closure(assignment)); $async$self._assignmentList = assignment; $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getAssignment$1, $async$completer); }, addAssignment$9$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks(deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { return this.addAssignment$body$AssignmentProvider(deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks); }, addAssignment$body$AssignmentProvider(deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, t1, $async$exception; var $async$addAssignment$9$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks = 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; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_addAssignment(deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks), $async$addAssignment$9$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && J.$index$asx(response.data, "data") != null) { B.JSArray_methods.insert$2($async$self._assignmentList, 0, A.Assignment_Assignment$fromMap(J.$index$asx(response.data, "data"))); $async$self.notifyListeners$0(); A.showToaster("Assignment has been posted", B.MaterialColor_Map_JNEaM_4283215696); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$addAssignment$9$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks, $async$completer); }, editAssignment$10$assignmentId$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks(assignmentId, deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { return this.editAssignment$body$AssignmentProvider(assignmentId, deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks); }, editAssignment$body$AssignmentProvider(assignmentId, deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, assignment, index, error, exception, t1, $async$exception; var $async$editAssignment$10$assignmentId$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks = 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; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_editAssignment(assignmentId, deadLine, hasDeadline, hasMarks, instructions, isPublished, resourceId, startDate, title, totalMarks), $async$editAssignment$10$assignmentId$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && J.$index$asx(response.data, "data") != null) { assignment = A.Assignment_Assignment$fromMap(J.$index$asx(response.data, "data")); index = B.JSArray_methods.indexWhere$1($async$self._assignmentList, new A.AssignmentProvider_editAssignment_closure(assignmentId)); $async$self._assignmentList[index] = assignment; $async$self.notifyListeners$0(); A.showToaster("Assignment has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$editAssignment$10$assignmentId$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks, $async$completer); }, deleteAssignment$1$assignmentId(assignmentId) { return this.deleteAssignment$body$AssignmentProvider(assignmentId); }, deleteAssignment$body$AssignmentProvider(assignmentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, error, exception, t1, $async$exception; var $async$deleteAssignment$1$assignmentId = 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; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_deleteAssignment(assignmentId), $async$deleteAssignment$1$assignmentId); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { index = B.JSArray_methods.indexWhere$1($async$self._assignmentList, new A.AssignmentProvider_deleteAssignment_closure(assignmentId)); B.JSArray_methods.removeAt$1($async$self._assignmentList, index); $async$self.notifyListeners$0(); A.showToaster("Assignment has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$deleteAssignment$1$assignmentId, $async$completer); }, submitAssignment$3$assignmentId$materialArray$studentId(assignmentId, materialArray, studentId) { return this.submitAssignment$body$AssignmentProvider(assignmentId, materialArray, studentId); }, submitAssignment$body$AssignmentProvider(assignmentId, materialArray, studentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, t1, exception, $async$exception; var $async$submitAssignment$3$assignmentId$materialArray$studentId = 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; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_submitAssignment(assignmentId, materialArray, studentId), $async$submitAssignment$3$assignmentId$materialArray$studentId); case 6: // returning from await. response = $async$result; if (response.statusCode >= 200 && response.statusCode < 300) { A.showToaster("Assignment has been submitted successfully", B.MaterialColor_Map_JNEaM_4283215696); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_pushReplacement(t1, A.MaterialPageRoute$(new A.AssignmentProvider_submitAssignment_closure(), false, null, type$.dynamic)); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$submitAssignment$3$assignmentId$materialArray$studentId, $async$completer); }, deleteAssignmentOnCascade$1(resourceId) { var t1 = this._assignmentList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.AssignmentProvider_deleteAssignmentOnCascade_closure(resourceId), true); }, listAssignmentSubmitted$1(assignmentId) { return this.listAssignmentSubmitted$body$AssignmentProvider(assignmentId); }, listAssignmentSubmitted$body$AssignmentProvider(assignmentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, error, t1, exception, $async$exception; var $async$listAssignmentSubmitted$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 = 3; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_listAssignmentSubmitted(assignmentId), $async$listAssignmentSubmitted$1); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { list = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); t1 = $async$self._assignmentSubmittedList; B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(list, new A.AssignmentProvider_listAssignmentSubmitted_closure(), type$.AssignmentSubmitted).toList$0(0)); $async$self.notifyListeners$0(); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$listAssignmentSubmitted$1, $async$completer); }, addAssignmentMaterial$2$assignmentId$materialArray(assignmentId, materialArray) { return this.addAssignmentMaterial$body$AssignmentProvider(assignmentId, materialArray); }, addAssignmentMaterial$body$AssignmentProvider(assignmentId, materialArray) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, t1, exception, $async$exception; var $async$addAssignmentMaterial$2$assignmentId$materialArray = 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; $async$goto = 6; return A._asyncAwait(A.AssignmentRepository_addAssignmentMaterial(assignmentId, materialArray), $async$addAssignmentMaterial$2$assignmentId$materialArray); case 6: // returning from await. response = $async$result; if (response.statusCode >= 200 && response.statusCode <= 204) { A.showToaster("Material has been added to assignment", B.MaterialColor_Map_JNEaM_4283215696); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_pushReplacement(t1, A.MaterialPageRoute$(new A.AssignmentProvider_addAssignmentMaterial_closure(), false, null, type$.dynamic)); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$addAssignmentMaterial$2$assignmentId$materialArray, $async$completer); }, $isListenable: 1 }; A.AssignmentProvider_getAssignmentById_closure.prototype = { call$1(assignment) { return assignment.id === this.id; }, $signature: 90 }; A.AssignmentProvider_getStudentName_closure.prototype = { call$1(element) { var t1 = element.fullName; t1.toString; this._studentName.push(t1); t1 = element.assignmentSubmission.studentId; t1.toString; this.$this._assignment_provider$_studentIds.push(t1); }, $signature: 459 }; A.AssignmentProvider_getAssignmentSubmittedById_closure.prototype = { call$1(element) { return element.assignmentSubmission.studentId === this.studentId; }, $signature: 466 }; A.AssignmentProvider_getAssignmentSubmittedById_closure0.prototype = { call$0() { return new A.AssignmentSubmitted(-1, null, null); }, $signature: 483 }; A.AssignmentProvider_getMaterialsByAssignmentId_closure.prototype = { call$1(element) { return element.id === this.id; }, $signature: 90 }; A.AssignmentProvider_getAssignment_closure.prototype = { call$1(element) { this.assignment.push(A.Assignment_Assignment$fromMap(element)); }, $signature: 6 }; A.AssignmentProvider_editAssignment_closure.prototype = { call$1(element) { return element.id == this.assignmentId; }, $signature: 90 }; A.AssignmentProvider_deleteAssignment_closure.prototype = { call$1(element) { return element.id == this.assignmentId; }, $signature: 90 }; A.AssignmentProvider_submitAssignment_closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A.AssignmentProvider_deleteAssignmentOnCascade_closure.prototype = { call$1(assignment) { return assignment.resourceId === this.resourceId; }, $signature: 90 }; A.AssignmentProvider_listAssignmentSubmitted_closure.prototype = { call$1(e) { var t4, t5, t6, t7, t8, t9, t10, t11, t1 = J.getInterceptor$asx(e), t2 = t1.$index(e, "id"), t3 = t1.$index(e, "full_name"); t1 = t1.$index(e, "assignment_submission"); t4 = J.getInterceptor$asx(t1); t5 = t4.$index(t1, "id"); t4.$index(t1, "assignment_id"); t6 = t4.$index(t1, "student_id"); t7 = A.DateTime_parse(t4.$index(t1, "submitted_date")); t8 = t4.$index(t1, "material"); t4.$index(t1, "material_type_id"); t9 = t4.$index(t1, "has_file"); t4.$index(t1, "file_type"); t4.$index(t1, "file_size_str"); t4.$index(t1, "file_path"); t4.$index(t1, "file_thumb_path"); t4.$index(t1, "teacher_feedback"); t4.$index(t1, "total_marks"); t10 = t4.$index(t1, "file_url"); t11 = t4.$index(t1, "file_thumb_url"); A.DateTime_parse(t4.$index(t1, "created_at")); A.DateTime_parse(t4.$index(t1, "updated_at")); return new A.AssignmentSubmitted(t2, t3, new A.AssignmentSubmission(t5, t6, t7, t8, t9, t10, t11)); }, $signature: 488 }; A.AssignmentProvider_addAssignmentMaterial_closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._AssignmentProvider_Object_ChangeNotifier.prototype = {}; A.AuthProvider.prototype = { getUserFullName$0() { var _this = this, t1 = J.$eq$(_this._currentUserAccountDetail.middlename, ""), t2 = _this._currentUserAccountDetail; if (!t1) return A.S(t2.firstname) + " " + A.S(_this._currentUserAccountDetail.middlename) + " " + A.S(_this._currentUserAccountDetail.lastname); else return A.S(t2.firstname) + " " + A.S(_this._currentUserAccountDetail.lastname); }, login$2$password$userName(password, userName) { return this.login$body$AuthProvider(password, userName); }, login$body$AuthProvider(password, userName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, t1, t2, exception, $async$exception; var $async$login$2$password$userName = 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; $async$goto = 6; return A._asyncAwait(A.UserRepository_userLogin(password, userName), $async$login$2$password$userName); case 6: // returning from await. response = $async$result; $async$self._currentUser = A.User_User$fromMap(J.$index$asx(response.data, "data")); $async$self.notifyListeners$0(); $.$get$locator().call$1$0(type$.SharedPref).saveKey$1$value($async$self._currentUser.userToken); t1 = $async$self._currentUser; $async$goto = t1 != null ? 7 : 8; break; case 7: // then t2 = t1.uuid; t2.toString; t1 = t1.userToken; t1.toString; $async$goto = 9; return A._asyncAwait($async$self.getUserUuid$2$userToken$uuid(t1, t2), $async$login$2$password$userName); case 9: // returning from await. $async$goto = 10; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(type$.RoutineProvider).loginToRoutine$0()], type$.JSArray_Future_void), false, type$.void), $async$login$2$password$userName); case 10: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$login$2$password$userName, $async$completer); }, getUserUuid$2$userToken$uuid(userToken, uuid) { return this.getUserUuid$body$AuthProvider(userToken, uuid); }, getUserUuid$body$AuthProvider(userToken, uuid) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, account, error, t1, t2, t3, t4, exception, $async$exception; var $async$getUserUuid$2$userToken$uuid = 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 = type$.String; t2 = type$.dynamic; $async$goto = 6; return A._asyncAwait(A._lateReadCheck($.$get$UserRepository__apiManager().__ApiManager_dio, "dio").post$1$3$data$options("get-account", A.LinkedHashMap_LinkedHashMap$_literal(["uuid", uuid], t1, t1), A.Options$(A.LinkedHashMap_LinkedHashMap$_literal(["authorization", "Bearer " + userToken], t1, t2)), t2), $async$getUserUuid$2$userToken$uuid); case 6: // returning from await. response = $async$result; list = J.$index$asx(response.data, "data"); t2 = J.get$first$ax(list); t1 = J.getInterceptor$asx(t2); t3 = t1.$index(t2, "user_id") == null ? null : t1.$index(t2, "user_id"); if (t1.$index(t2, "account_id") != null) t1.$index(t2, "account_id"); t4 = t1.$index(t2, "uuid") == null ? null : t1.$index(t2, "uuid"); if (t1.$index(t2, "company_name") != null) t1.$index(t2, "company_name"); if (t1.$index(t2, "company_email") != null) t1.$index(t2, "company_email"); if (t1.$index(t2, "logo_path") != null) t1.$index(t2, "logo_path"); account = new A.UserAccount(t3, t4); $async$self._currentUserAccount = account; $async$self.notifyListeners$0(); t1 = $async$self._currentUserAccount; $async$goto = t1 != null ? 7 : 8; break; case 7: // then t2 = t1.uuid; t2.toString; t1 = t1.userId; t1.toString; $async$goto = 9; return A._asyncAwait($async$self.getUserAccountDetail$3$userId$userToken$uuid(t1, userToken, t2), $async$getUserUuid$2$userToken$uuid); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$getUserUuid$2$userToken$uuid, $async$completer); }, getUserAccountDetail$3$userId$userToken$uuid(userId, userToken, uuid) { return this.getUserAccountDetail$body$AuthProvider(userId, userToken, uuid); }, getUserAccountDetail$body$AuthProvider(userId, userToken, uuid) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, t1, t2, exception, $async$exception; var $async$getUserAccountDetail$3$userId$userToken$uuid = 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 = type$.String; t2 = type$.dynamic; $async$goto = 6; return A._asyncAwait(A._lateReadCheck($.$get$UserRepository__apiManager().__ApiManager_dio, "dio").post$1$3$data$options("select-account", A.LinkedHashMap_LinkedHashMap$_literal(["user_id", userId, "uuid", uuid, "user_token", userToken], t1, type$.Object), A.Options$(A.LinkedHashMap_LinkedHashMap$_literal(["authorization", "Bearer " + userToken], t1, t2)), t2), $async$getUserAccountDetail$3$userId$userToken$uuid); case 6: // returning from await. response = $async$result; $async$self._currentUserAccountDetail = A.UserAccountDetail_UserAccountDetail$fromMap(J.$index$asx(response.data, "data")); t1 = $.$get$locator().call$1$0(type$.SharedPref); t2 = $async$self._currentUserAccountDetail; t2.toString; t1.saveUserData$1$userAccountDetail(t2); $async$self.notifyListeners$0(); $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$getUserAccountDetail$3$userId$userToken$uuid, $async$completer); }, autoLogin$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _token, _userAccountDetails, error, t1, exception, $async$exception; var $async$autoLogin$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 = type$.SharedPref; $async$goto = 7; return A._asyncAwait($.$get$locator().call$1$0(t1).getToken$0(), $async$autoLogin$0); case 7: // returning from await. _token = $async$result; $async$goto = 8; return A._asyncAwait($.$get$locator().call$1$0(t1).getUserData$0(), $async$autoLogin$0); case 8: // returning from await. _userAccountDetails = $async$result; if (J.get$length$asx(_token) !== 0 && _userAccountDetails != null) { $async$self._currentUserAccountDetail = _userAccountDetails; $async$self.notifyListeners$0(); $async$returnValue = true; // goto return $async$goto = 1; break; } $async$returnValue = false; // 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); A.print(error); $async$returnValue = false; // 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 case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$autoLogin$0, $async$completer); }, logout$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$logout$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($.$get$locator().call$1$0(type$.SharedPref).clearUser$0(), $async$logout$0); case 2: // returning from await. $.$get$locator().call$1$0(type$.CourseContentProvider).setContentDetail$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$logout$0, $async$completer); }, $isListenable: 1 }; A._AuthProvider_Object_ChangeNotifier.prototype = {}; A.CourseContentProvider.prototype = { getContentOfCourse$1(id) { return this.getContentOfCourse$body$CourseContentProvider(id); }, getContentOfCourse$body$CourseContentProvider(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, contents, error, exception, $async$exception; var $async$getContentOfCourse$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 = 3; $async$goto = 6; return A._asyncAwait(A.CourseContentRepository_getCourseContents(id), $async$getContentOfCourse$1); case 6: // returning from await. response = $async$result; list = J.$index$asx(response.data, "data"); contents = A._setArrayType([], type$.JSArray_CourseContents); J.forEach$1$ax(list, new A.CourseContentProvider_getContentOfCourse_closure(contents)); $async$self._courseContentList = contents; $async$self.notifyListeners$0(); $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); A.print(error); throw $async$exception; // 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$getContentOfCourse$1, $async$completer); }, loadCourseContent$2$resourceLessonId$subjectId(resourceLessonId, subjectId) { return this.loadCourseContent$body$CourseContentProvider(resourceLessonId, subjectId); }, loadCourseContent$body$CourseContentProvider(resourceLessonId, subjectId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, $content, t1, i, t2; var $async$loadCourseContent$2$resourceLessonId$subjectId = 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.getContentOfCourse$1(subjectId), $async$loadCourseContent$2$resourceLessonId$subjectId); case 2: // returning from await. $content = $async$self._courseContentList; if ($content.length !== 0) if (resourceLessonId === 0) if (B.JSArray_methods.get$first($content).resourceLesson.length > 0) { t1 = B.JSArray_methods.get$first(B.JSArray_methods.get$first($content).resourceLesson).id; t1.toString; resourceLessonId = t1; } else for (t1 = $content.length, i = 0; i < t1; ++i) { t2 = $content[i].resourceLesson; if (t2.length > 0) { t1 = B.JSArray_methods.get$first(t2).id; t1.toString; resourceLessonId = t1; break; } } $async$goto = 3; return A._asyncAwait($async$self.getContentDetailOfCourse$1(resourceLessonId).then$1$1(0, new A.CourseContentProvider_loadCourseContent_closure($async$self), type$.Null), $async$loadCourseContent$2$resourceLessonId$subjectId); case 3: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$loadCourseContent$2$resourceLessonId$subjectId, $async$completer); }, getContentDetailOfCourse$2$chapterList(id, chapterList) { return this.getContentDetailOfCourse$body$CourseContentProvider(id, chapterList); }, getContentDetailOfCourse$1(id) { return this.getContentDetailOfCourse$2$chapterList(id, false); }, getContentDetailOfCourse$body$CourseContentProvider(id, chapterList) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, courseContentDetail, error, exception, $async$exception; var $async$getContentDetailOfCourse$2$chapterList = 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; $async$goto = 6; return A._asyncAwait(A.CourseContentRepository_getCourseContentDetails(id), $async$getContentDetailOfCourse$2$chapterList); case 6: // returning from await. response = $async$result; if (response.data != null) { courseContentDetail = A.CourseContentDetail_CourseContentDetail$fromMap(J.$index$asx(response.data, "data")); $async$self._courseContentDetail = courseContentDetail; $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getContentDetailOfCourse$2$chapterList, $async$completer); }, getCourseContentById$1(id) { return B.JSArray_methods.firstWhere$1(this._courseContentList, new A.CourseContentProvider_getCourseContentById_closure(id)); }, setHtmlContent$0() { var _null = null, t1 = A.ScrollController$(_null, 0, true), t2 = A.MarkdownStyleSheet_MarkdownStyleSheet$fromTheme(A.ThemeData_ThemeData(_null, _null, A.DraclmsTheme_markdownTheme())), t3 = this._displayedContent; t3.toString; this.__CourseContentProvider__loadHTMLContent = A.SingleChildScrollView$(A.MarkdownBody$(A.convert(t3), true, new A.CourseContentProvider_setHtmlContent_closure(), true, new A.CustomMaterialTextSelectionControls(), true, t2), t1, B.DragStartBehavior_1, new A.UniqueKey(), _null, _null, _null, B.Axis_1); this.notifyListeners$0(); }, setContentDetail$0() { var _this = this; _this._displayedContent = "No content available"; _this._resourceLessonMaterialId = _this._materialId = 0; _this._materialTitle = "No material title"; _this._isMaterialPublished = 0; _this._contentEmbed = _this._materialType = _this._contentUrl = ""; }, loadResourceMaterial$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, resourceLessonMaterialList, error, t1, t2, t3, t4, t5, exception, $async$exception; var $async$loadResourceMaterial$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$self._isLoadingHTMLContent = true; $async$self.notifyListeners$0(); $async$handler = 3; resourceLessonMaterialList = $async$self._courseContentDetail.resourceLessonMaterial; if (resourceLessonMaterialList == null || J.get$length$asx(resourceLessonMaterialList) === 0) $async$self.setContentDetail$0(); else { $async$self._materialType = J.$index$asx(resourceLessonMaterialList, 0).materialType; $async$self._contentUrl = J.$index$asx(resourceLessonMaterialList, 0).resourceMaterial.contentUrlPreview; $async$self._contentEmbed = J.$index$asx(resourceLessonMaterialList, 0).resourceMaterial.contentEmbed; $async$self._displayedContent = J.$index$asx(resourceLessonMaterialList, 0).resourceMaterial.content; $async$self._materialTitle = J.$index$asx(resourceLessonMaterialList, 0).resourceMaterial.title; $async$self._materialId = J.$index$asx(resourceLessonMaterialList, 0).materialId; $async$self._resourceLessonMaterialId = J.$index$asx(resourceLessonMaterialList, 0).id; $async$self._isMaterialPublished = J.$index$asx(resourceLessonMaterialList, 0).isPublished; } $async$self.setHtmlContent$0(); t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t2 = $async$self._courseContentDetail.resourceId; t2.toString; t1._resourceIdToEdit = t2; t1.notifyListeners$0(); t1 = $.$get$locator().call$1$0(type$.NoteProvider); t2 = $async$self._courseContentDetail.resourceId; t2.toString; t2 = t1.getResourceNotes$1(t2); t1 = $.$get$locator().call$1$0(type$.QAProvider); t3 = $async$self._courseContentDetail.resourceId; t3.toString; t3 = t1.getQaList$1(t3); t1 = $.$get$locator().call$1$0(type$.TestsProvider); t4 = $async$self._courseContentDetail.resourceId; t4.toString; t4 = t1.listTest$1$resourceId(t4); t1 = $.$get$locator().call$1$0(type$.AssignmentProvider); t5 = $async$self._courseContentDetail.resourceId; t5.toString; $async$goto = 6; return A._asyncAwait(A.Future_wait(A._setArrayType([t2, t3, t4, t1.getAssignment$1(t5), $.$get$locator().call$1$0(type$.DictionaryProvider).getLanguageTerms$0()], type$.JSArray_Future_void), false, type$.void), $async$loadResourceMaterial$0); case 6: // returning from await. $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._isLoadingHTMLContent = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$loadResourceMaterial$0, $async$completer); }, deleteCourseContent$1(resourceId) { return this.deleteCourseContent$body$CourseContentProvider(resourceId); }, deleteCourseContent$body$CourseContentProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, index; var $async$deleteCourseContent$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 index = B.JSArray_methods.indexWhere$1($async$self._courseContentList, new A.CourseContentProvider_deleteCourseContent_closure(resourceId)); B.JSArray_methods.removeAt$1($async$self._courseContentList, index); $.$get$locator().call$1$0(type$.NoteProvider).deleteNoteOnCascade$1(resourceId); $.$get$locator().call$1$0(type$.QAProvider).deleteQaOnCascade$1(resourceId); $.$get$locator().call$1$0(type$.TestsProvider).deleteTestsOnCascade$1(resourceId); $.$get$locator().call$1$0(type$.AssignmentProvider).deleteAssignmentOnCascade$1(resourceId); $async$goto = 2; return A._asyncAwait($async$self.loadResourceMaterial$0(), $async$deleteCourseContent$1); case 2: // returning from await. $async$self.notifyListeners$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$deleteCourseContent$1, $async$completer); }, editCourseContent$2(resourceId, contents) { var index = B.JSArray_methods.indexWhere$1(this._courseContentList, new A.CourseContentProvider_editCourseContent_closure(resourceId)), t1 = this._courseContentList[index]; t1.title = contents.title; t1.updatedAt = contents.updatedAt; t1.isPublished = contents.isPublished; this.notifyListeners$0(); }, deleteResourceLesson$2(resourceId, resourceLessonId) { return this.deleteResourceLesson$body$CourseContentProvider(resourceId, resourceLessonId); }, deleteResourceLesson$body$CourseContentProvider(resourceId, resourceLessonId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1; var $async$deleteResourceLesson$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 = B.JSArray_methods.firstWhere$1($async$self._courseContentList, new A.CourseContentProvider_deleteResourceLesson_closure(resourceId)).resourceLesson; B.JSArray_methods.removeAt$1(t1, B.JSArray_methods.indexWhere$1(t1, new A.CourseContentProvider_deleteResourceLesson_closure0(resourceLessonId))); $async$self.notifyListeners$0(); $async$goto = 2; return A._asyncAwait($async$self.loadResourceMaterial$0(), $async$deleteResourceLesson$2); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$deleteResourceLesson$2, $async$completer); }, $isListenable: 1 }; A.CourseContentProvider_getContentOfCourse_closure.prototype = { call$1(element) { var _cont = A.CourseContents_CourseContents$fromMap(element); this.contents.push(_cont); }, $signature: 6 }; A.CourseContentProvider_loadCourseContent_closure.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this; 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($async$self.$this.loadResourceMaterial$0(), $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: 107 }; A.CourseContentProvider_getCourseContentById_closure.prototype = { call$1(course) { return course.id === this.id; }, $signature: 131 }; A.CourseContentProvider_setHtmlContent_closure.prototype = { call$3(uri, title, alt) { var _s22_ = "data:image/png;base64,", _null = null, imageUrl = uri.toString$0(0); if (B.JSString_methods.contains$1(imageUrl, _s22_)) return A.Image$memory(B.C_Base64Decoder.convert$1(A.stringReplaceAllUnchecked(imageUrl, _s22_, "")), _null, _null, _null); else return A.Image$network(imageUrl, new A.CourseContentProvider_setHtmlContent__closure(imageUrl), B.BoxFit_2, _null, _null, _null, _null); }, $signature: 225 }; A.CourseContentProvider_setHtmlContent__closure.prototype = { call$3(context, error, stackTrace) { return new A.ContentBodyImage(this.imageUrl, null); }, $signature: 226 }; A.CourseContentProvider_deleteCourseContent_closure.prototype = { call$1(element) { return element.id === this.resourceId; }, $signature: 131 }; A.CourseContentProvider_editCourseContent_closure.prototype = { call$1(element) { return element.id === this.resourceId; }, $signature: 131 }; A.CourseContentProvider_deleteResourceLesson_closure.prototype = { call$1(element) { return element.id === this.resourceId; }, $signature: 131 }; A.CourseContentProvider_deleteResourceLesson_closure0.prototype = { call$1(element) { return element.id === this.resourceLessonId; }, $signature: 501 }; A._CourseContentProvider_Object_ChangeNotifier.prototype = {}; A.TermsDescriptionModel.prototype = {}; A.DictionaryProvider.prototype = { getDescriptionByQuery$1(term) { return B.JSArray_methods.firstWhere$2$orElse(this._queryTermList, new A.DictionaryProvider_getDescriptionByQuery_closure(term), new A.DictionaryProvider_getDescriptionByQuery_closure0()); }, getTerms$1$term(term) { return this.getTerms$body$DictionaryProvider(term); }, getTerms$body$DictionaryProvider(term) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, token, response, error, t1, t2, exception, $async$exception; var $async$getTerms$1$term = 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 = $async$self._term; $async$goto = t1.containsKey$1(0, term) ? 6 : 8; break; case 6: // then t1.$index(0, term).toString; // goto join $async$goto = 7; break; case 8: // else $async$goto = 9; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getAccessToken$0(), $async$getTerms$1$term); case 9: // returning from await. token = $async$result; $async$goto = 10; return A._asyncAwait(A.DictionaryRepository_getTermsQuery(term, token), $async$getTerms$1$term); case 10: // returning from await. response = $async$result; $async$self._queryTermList.push(new A.TermsDescriptionModel(term, J.map$1$1$ax(response, new A.DictionaryProvider_getTerms_closure(), type$.Terms).toList$0(0))); t2 = A.Terms_Terms$fromMap(J.get$first$ax(response)); $async$self._termDetail = t2; t2 = t2.entryDefinitionsList; t2.toString; t1.$indexSet(0, term, J.toString$0$(B.JSArray_methods.get$first(t2).definition)); $async$self.notifyListeners$0(); case 7: // join $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); A.print(error); throw $async$exception; // 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$getTerms$1$term, $async$completer); }, getLanguageTerms$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, token, response, error, t1, exception, $async$exception; var $async$getLanguageTerms$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 = 3; t1 = $async$self._languageTermList; B.JSArray_methods.set$length(t1, 0); $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).getAccessToken$0(), $async$getLanguageTerms$0); case 6: // returning from await. token = $async$result; $async$goto = 7; return A._asyncAwait(A.DictionaryRepository_getLanguageTermQuery(1, token), $async$getLanguageTerms$0); case 7: // returning from await. response = $async$result; B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(response, new A.DictionaryProvider_getLanguageTerms_closure(), type$.LanguageTerm).toList$0(0)); B.JSArray_methods.addAll$1($async$self._queryList, new A.MappedListIterable(t1, new A.DictionaryProvider_getLanguageTerms_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>"))); $async$self.notifyListeners$0(); if (t1.length !== 0) B.JSArray_methods.forEach$1(t1, new A.DictionaryProvider_getLanguageTerms_closure1($async$self)); $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); A.print(error); throw $async$exception; // 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$getLanguageTerms$0, $async$completer); }, $isListenable: 1 }; A.DictionaryProvider_getDescriptionByQuery_closure.prototype = { call$1(element) { return element.term === this.term; }, $signature: 502 }; A.DictionaryProvider_getDescriptionByQuery_closure0.prototype = { call$0() { return new A.TermsDescriptionModel("", A._setArrayType([], type$.JSArray_Terms)); }, $signature: 503 }; A.DictionaryProvider_getTerms_closure.prototype = { call$1(e) { return A.Terms_Terms$fromMap(e); }, $signature: 218 }; A.DictionaryProvider_getLanguageTerms_closure.prototype = { call$1(e) { return A.LanguageTerm_LanguageTerm$fromMap(e); }, $signature: 505 }; A.DictionaryProvider_getLanguageTerms_closure0.prototype = { call$1(e) { var t1 = e.term; t1.toString; return t1; }, $signature: 506 }; A.DictionaryProvider_getLanguageTerms_closure1.prototype = { call$1(element) { return this.$call$body$DictionaryProvider_getLanguageTerms_closure(element); }, $call$body$DictionaryProvider_getLanguageTerms_closure(element) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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 = element.term; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.$this.getTerms$1$term(t1), $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: 509 }; A._DictionaryProvider_Object_ChangeNotifier.prototype = {}; A.GlobalIdsProvider.prototype = {$isListenable: 1}; A._GlobalIdsProvider_Object_ChangeNotifier.prototype = {}; A.JitsiMeetingProvider.prototype = {}; A.NoteCommentModel.prototype = {}; A.NoteProvider.prototype = { getNoteById$1(id) { return B.JSArray_methods.firstWhere$1(this._noteList, new A.NoteProvider_getNoteById_closure(id)); }, getCommentByNote$1(noteId) { return B.JSArray_methods.firstWhere$2$orElse(this._noteCommentList, new A.NoteProvider_getCommentByNote_closure(noteId), new A.NoteProvider_getCommentByNote_closure0()); }, getResourceNotes$1(resourceId) { return this.getResourceNotes$body$NoteProvider(resourceId); }, getResourceNotes$body$NoteProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, data, notes, error, t1, exception, $async$exception; var $async$getResourceNotes$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 = 3; $async$goto = 6; return A._asyncAwait(A.NotesRepository_getResourceNoteList(resourceId), $async$getResourceNotes$1); case 6: // returning from await. response = $async$result; data = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); notes = A._setArrayType([], type$.JSArray_NoteModel); J.forEach$1$ax(data, new A.NoteProvider_getResourceNotes_closure(notes)); t1 = $async$self._noteList = notes; if (t1.length !== 0) J.forEach$1$ax(t1, new A.NoteProvider_getResourceNotes_closure0($async$self)); $async$self.notifyListeners$0(); $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); A.print(error); throw $async$exception; // 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$getResourceNotes$1, $async$completer); }, _getNoteComments$1(noteId) { return this._getNoteComments$body$NoteProvider(noteId); }, _getNoteComments$body$NoteProvider(noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, result, error, exception, t1, $async$exception; var $async$_getNoteComments$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 = 3; $async$goto = 6; return A._asyncAwait(A.NotesRepository_getNoteCommentList(noteId), $async$_getNoteComments$1); case 6: // returning from await. response = $async$result; result = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); $async$self._noteCommentList.push(new A.NoteCommentModel(noteId, J.map$1$1$ax(result, new A.NoteProvider__getNoteComments_closure(), type$.NoteComment).toList$0(0))); $async$self.notifyListeners$0(); $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error); throw $async$exception; } else throw $async$exception; // 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$_getNoteComments$1, $async$completer); }, addNote$4$file$note$resourceId$title(file, note, resourceId, title) { return this.addNote$body$NoteProvider(file, note, resourceId, title); }, addNote$body$NoteProvider(file, note, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, error, exception, $async$exception; var $async$addNote$4$file$note$resourceId$title = 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; $async$self._note_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 6; return A._asyncAwait(A.NotesRepository_addNote(file, note, resourceId, title), $async$addNote$4$file$note$resourceId$title); case 6: // returning from await. $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._note_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$addNote$4$file$note$resourceId$title, $async$completer); }, _updateNoteComment$5$commentId$isDelete$isEdit$noteComment$noteId(commentId, isDelete, isEdit, noteComment, noteId) { var _commentIndex, t1 = this._noteCommentList, noteCommentModel = B.JSArray_methods.firstWhere$1(t1, new A.NoteProvider__updateNoteComment_closure(noteId)), _index = B.JSArray_methods.indexWhere$1(t1, new A.NoteProvider__updateNoteComment_closure0(noteId)), _noteCommentsLst = noteCommentModel.noteCommentList; if (!isEdit && !isDelete) { noteComment.toString; B.JSArray_methods.add$1(_noteCommentsLst, noteComment); } if (isEdit) { _commentIndex = B.JSArray_methods.indexWhere$1(_noteCommentsLst, new A.NoteProvider__updateNoteComment_closure1(commentId)); noteComment.toString; _noteCommentsLst[_commentIndex] = noteComment; } if (isDelete) B.JSArray_methods.removeAt$1(_noteCommentsLst, B.JSArray_methods.indexWhere$1(_noteCommentsLst, new A.NoteProvider__updateNoteComment_closure2(commentId))); t1[_index].noteCommentList = _noteCommentsLst; this.notifyListeners$0(); }, _updateNoteComment$3$commentId$isDelete$noteId(commentId, isDelete, noteId) { return this._updateNoteComment$5$commentId$isDelete$isEdit$noteComment$noteId(commentId, isDelete, false, null, noteId); }, _updateNoteComment$4$commentId$isEdit$noteComment$noteId(commentId, isEdit, noteComment, noteId) { return this._updateNoteComment$5$commentId$isDelete$isEdit$noteComment$noteId(commentId, false, isEdit, noteComment, noteId); }, _updateNoteComment$2$noteComment$noteId(noteComment, noteId) { return this._updateNoteComment$5$commentId$isDelete$isEdit$noteComment$noteId(0, false, false, noteComment, noteId); }, addComment$2$comment$noteId(comment, noteId) { return this.addComment$body$NoteProvider(comment, noteId); }, addComment$body$NoteProvider(comment, noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, t1, exception, $async$exception; var $async$addComment$2$comment$noteId = 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; $async$goto = 6; return A._asyncAwait(A.NotesRepository_addComment(comment, noteId), $async$addComment$2$comment$noteId); case 6: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { $async$self._updateNoteComment$2$noteComment$noteId(A.NoteComment_NoteComment$fromMap(J.$index$asx(response.data, "data")), noteId); A.showToaster("Comment has been posted", B.MaterialColor_Map_JNEaM_4283215696); } $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); A.print(error); throw $async$exception; // 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$addComment$2$comment$noteId, $async$completer); }, editNote$5$file$note$noteId$resourceId$title(file, note, noteId, resourceId, title) { return this.editNote$body$NoteProvider(file, note, noteId, resourceId, title); }, editNote$body$NoteProvider(file, note, noteId, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, note0, error, exception, $async$exception; var $async$editNote$5$file$note$noteId$resourceId$title = 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; $async$self._note_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 6; return A._asyncAwait(A.NotesRepository_editNote(file, note, noteId, resourceId, title), $async$editNote$5$file$note$noteId$resourceId$title); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { index = B.JSArray_methods.indexWhere$1($async$self._noteList, new A.NoteProvider_editNote_closure(noteId)); note0 = A.NoteModel_NoteModel$fromMap(J.$index$asx(response.data, "data")); $async$self._noteList[index] = note0; $async$self.notifyListeners$0(); A.showToaster("Note has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._note_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$editNote$5$file$note$noteId$resourceId$title, $async$completer); }, editComment$3$comment$commentId$noteId(comment, commentId, noteId) { return this.editComment$body$NoteProvider(comment, commentId, noteId); }, editComment$body$NoteProvider(comment, commentId, noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$editComment$3$comment$commentId$noteId = 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; $async$goto = 6; return A._asyncAwait(A.NotesRepository_editComment(comment, commentId), $async$editComment$3$comment$commentId$noteId); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { $async$self._updateNoteComment$4$commentId$isEdit$noteComment$noteId(commentId, true, A.NoteComment_NoteComment$fromMap(J.$index$asx(response.data, "data")), noteId); A.showToaster("Comment has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $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); A.print(error); throw $async$exception; // 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$editComment$3$comment$commentId$noteId, $async$completer); }, deleteNote$2$noteId$resourceId(noteId, resourceId) { return this.deleteNote$body$NoteProvider(noteId, resourceId); }, deleteNote$body$NoteProvider(noteId, resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, exception, $async$exception; var $async$deleteNote$2$noteId$resourceId = 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; $async$goto = 6; return A._asyncAwait(A.NotesRepository_deleteNote(noteId, resourceId), $async$deleteNote$2$noteId$resourceId); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { index = B.JSArray_methods.indexWhere$1($async$self._noteList, new A.NoteProvider_deleteNote_closure(noteId)); B.JSArray_methods.removeAt$1($async$self._noteList, index); $async$self.notifyListeners$0(); A.showToaster("Note has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$deleteNote$2$noteId$resourceId, $async$completer); }, deleteComment$2$commentId$noteId(commentId, noteId) { return this.deleteComment$body$NoteProvider(commentId, noteId); }, deleteComment$body$NoteProvider(commentId, noteId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, exception, $async$exception; var $async$deleteComment$2$commentId$noteId = 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; $async$goto = 6; return A._asyncAwait(A.NotesRepository_deleteComment(commentId), $async$deleteComment$2$commentId$noteId); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { $async$self._updateNoteComment$3$commentId$isDelete$noteId(commentId, true, noteId); A.showToaster("Comment has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; throw $async$exception; // 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$deleteComment$2$commentId$noteId, $async$completer); }, deleteNoteOnCascade$1(resourceId) { var noteIds = A._setArrayType([], type$.JSArray_int), t1 = this._noteList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.NoteProvider_deleteNoteOnCascade_closure(resourceId, noteIds), true); B.JSArray_methods.forEach$1(noteIds, new A.NoteProvider_deleteNoteOnCascade_closure0(this)); this.notifyListeners$0(); }, $isListenable: 1 }; A.NoteProvider_getNoteById_closure.prototype = { call$1(note) { return note.id === this.id; }, $signature: 138 }; A.NoteProvider_getCommentByNote_closure.prototype = { call$1(note) { return note.noteId === this.noteId; }, $signature: 106 }; A.NoteProvider_getCommentByNote_closure0.prototype = { call$0() { return new A.NoteCommentModel(-1, A._setArrayType([], type$.JSArray_NoteComment)); }, $signature: 515 }; A.NoteProvider_getResourceNotes_closure.prototype = { call$1(element) { this.notes.push(A.NoteModel_NoteModel$fromMap(element)); }, $signature: 6 }; A.NoteProvider_getResourceNotes_closure0.prototype = { call$1(notes) { return this.$call$body$NoteProvider_getResourceNotes_closure(notes); }, $call$body$NoteProvider_getResourceNotes_closure(notes) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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 = notes.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.$this._getNoteComments$1(t1), $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: 524 }; A.NoteProvider__getNoteComments_closure.prototype = { call$1(noteComment) { return A.NoteComment_NoteComment$fromMap(noteComment); }, $signature: 533 }; A.NoteProvider__updateNoteComment_closure.prototype = { call$1(element) { return element.noteId === this.noteId; }, $signature: 106 }; A.NoteProvider__updateNoteComment_closure0.prototype = { call$1(element) { return element.noteId === this.noteId; }, $signature: 106 }; A.NoteProvider__updateNoteComment_closure1.prototype = { call$1(element) { return element.id === this.commentId; }, $signature: 228 }; A.NoteProvider__updateNoteComment_closure2.prototype = { call$1(element) { return element.id === this.commentId; }, $signature: 228 }; A.NoteProvider_editNote_closure.prototype = { call$1(note) { return note.id == this.noteId; }, $signature: 138 }; A.NoteProvider_deleteNote_closure.prototype = { call$1(note) { return note.id == this.noteId; }, $signature: 138 }; A.NoteProvider_deleteNoteOnCascade_closure.prototype = { call$1(note) { var t1; if (note.resourceId === this.resourceId) { t1 = note.id; t1.toString; this.noteIds.push(t1); return true; } return false; }, $signature: 138 }; A.NoteProvider_deleteNoteOnCascade_closure0.prototype = { call$1(noteId) { var t1 = this.$this._noteCommentList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.NoteProvider_deleteNoteOnCascade__closure(noteId), true); }, $signature: 40 }; A.NoteProvider_deleteNoteOnCascade__closure.prototype = { call$1(noteComment) { return noteComment.noteId === this.noteId; }, $signature: 106 }; A._NoteProvider_Object_ChangeNotifier.prototype = {}; A.QAProvider.prototype = { getQAById$1(id) { return B.JSArray_methods.firstWhere$1(this._qaList, new A.QAProvider_getQAById_closure(id)); }, getQaList$1(resourceId) { return this.getQaList$body$QAProvider(resourceId); }, getQaList$body$QAProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, qaList, error, exception, $async$exception; var $async$getQaList$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 = 3; $async$goto = 6; return A._asyncAwait(A.QaRepository_getQaList(resourceId), $async$getQaList$1); case 6: // returning from await. response = $async$result; list = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); qaList = A._setArrayType([], type$.JSArray_QaModel); J.forEach$1$ax(list, new A.QAProvider_getQaList_closure(qaList)); $async$self._qaList = qaList; $async$self.notifyListeners$0(); $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); A.print(error); throw $async$exception; // 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$getQaList$1, $async$completer); }, addQa$5$answer$isPublished$question$resourceId$title(answer, isPublished, question, resourceId, title) { return this.addQa$body$QAProvider(answer, isPublished, question, resourceId, title); }, addQa$body$QAProvider(answer, isPublished, question, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, _qaLst, error, exception, $async$exception; var $async$addQa$5$answer$isPublished$question$resourceId$title = 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; $async$goto = 6; return A._asyncAwait(A.QaRepository_saveQa(resourceId, title, question, answer, isPublished), $async$addQa$5$answer$isPublished$question$resourceId$title); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { _qaLst = A.QaModel_QaModel$fromMap(J.$index$asx(response.data, "data")); B.JSArray_methods.insert$2($async$self._qaList, 0, _qaLst); $async$self.notifyListeners$0(); A.showToaster("QA has been posted", B.MaterialColor_Map_JNEaM_4283215696); } $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); A.print(error); throw $async$exception; // 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$addQa$5$answer$isPublished$question$resourceId$title, $async$completer); }, updateQa$6$answer$id$isPublished$question$resourceId$title(answer, id, isPublished, question, resourceId, title) { return this.updateQa$body$QAProvider(answer, id, isPublished, question, resourceId, title); }, updateQa$body$QAProvider(answer, id, isPublished, question, resourceId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, _qaLst, error, exception, $async$exception; var $async$updateQa$6$answer$id$isPublished$question$resourceId$title = 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; $async$goto = 6; return A._asyncAwait(A.QaRepository_updateQa(id, resourceId, title, question, answer, isPublished), $async$updateQa$6$answer$id$isPublished$question$resourceId$title); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { index = B.JSArray_methods.indexWhere$1($async$self._qaList, new A.QAProvider_updateQa_closure(id)); _qaLst = A.QaModel_QaModel$fromMap(J.$index$asx(response.data, "data")); $async$self._qaList[index] = _qaLst; $async$self.notifyListeners$0(); A.showToaster("QA has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $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); A.print(error); throw $async$exception; // 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$updateQa$6$answer$id$isPublished$question$resourceId$title, $async$completer); }, deleteQa$1$id(id) { return this.deleteQa$body$QAProvider(id); }, deleteQa$body$QAProvider(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, error, exception, $async$exception; var $async$deleteQa$1$id = 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; $async$goto = 6; return A._asyncAwait(A.QaRepository_deleteQa(id), $async$deleteQa$1$id); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { index = B.JSArray_methods.indexWhere$1($async$self._qaList, new A.QAProvider_deleteQa_closure(id)); B.JSArray_methods.removeAt$1($async$self._qaList, index); $async$self.notifyListeners$0(); A.showToaster("QA has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $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); A.print(error); throw $async$exception; // 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$deleteQa$1$id, $async$completer); }, deleteQaOnCascade$1(resourceId) { var t1 = this._qaList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.QAProvider_deleteQaOnCascade_closure(resourceId), true); }, $isListenable: 1 }; A.QAProvider_getQAById_closure.prototype = { call$1(qa) { return qa.id === this.id; }, $signature: 115 }; A.QAProvider_getQaList_closure.prototype = { call$1(element) { var _qaLst = A.QaModel_QaModel$fromMap(element); this.qaList.push(_qaLst); }, $signature: 6 }; A.QAProvider_updateQa_closure.prototype = { call$1(element) { return element.id == this.id; }, $signature: 115 }; A.QAProvider_deleteQa_closure.prototype = { call$1(element) { return element.id == this.id; }, $signature: 115 }; A.QAProvider_deleteQaOnCascade_closure.prototype = { call$1(qa) { return qa.resourceId === this.resourceId; }, $signature: 115 }; A._QAProvider_Object_ChangeNotifier.prototype = {}; A.QuestionProvider.prototype = { listTestQuestion$1$testId(testId) { return this.listTestQuestion$body$QuestionProvider(testId); }, listTestQuestion$body$QuestionProvider(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, data, error, t1, exception, $async$exception; var $async$listTestQuestion$1$testId = 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 = $async$self._questionList; B.JSArray_methods.set$length(t1, 0); $async$goto = 6; return A._asyncAwait(A.TestQuestionRepository_listTestQuestion(testId), $async$listTestQuestion$1$testId); case 6: // returning from await. response = $async$result; if (response.data != null) { if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "student") { $async$self._question_provider$_nextQuestionId = J.$index$asx(J.$index$asx(response.data, "data"), "next_question_id"); J.$index$asx(J.$index$asx(response.data, "data"), "is_last_question"); } data = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(data, new A.QuestionProvider_listTestQuestion_closure(), type$.Question).toList$0(0)); $async$self.notifyListeners$0(); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$listTestQuestion$1$testId, $async$completer); }, addTestQuestion$8$answer$controllers$question$quizCode$quizTypeId$solution$testId$weight(answer, $controllers, question, quizCode, quizTypeId, solution, testId, weight) { return this.addTestQuestion$body$QuestionProvider(answer, $controllers, question, quizCode, quizTypeId, solution, testId, weight); }, addTestQuestion$body$QuestionProvider(answer, $controllers, question, quizCode, quizTypeId, solution, testId, weight) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, answers, response, question0, error, exception, t1, $async$exception; var $async$addTestQuestion$8$answer$controllers$question$quizCode$quizTypeId$solution$testId$weight = 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; answers = A._setArrayType([], type$.JSArray_Map_String_dynamic); B.JSArray_methods.forEach$1($controllers, new A.QuestionProvider_addTestQuestion_closure(answer, answers)); $async$goto = 6; return A._asyncAwait(A.TestQuestionRepository_addTestQuestion(question, quizCode, answers, quizTypeId, solution, testId, weight), $async$addTestQuestion$8$answer$controllers$question$quizCode$quizTypeId$solution$testId$weight); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { question0 = A.Question_Question$fromMap(J.$index$asx(response.data, "data")); $async$self._questionList.push(question0); $async$self.notifyListeners$0(); A.showToaster("Question has been posted", B.MaterialColor_Map_JNEaM_4283215696); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); throw $async$exception; } else throw $async$exception; // 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$addTestQuestion$8$answer$controllers$question$quizCode$quizTypeId$solution$testId$weight, $async$completer); }, editTestQuestion$11$answer$controllers$id$question$questionId$quizCode$quizOptions$quizTypeId$solution$testId$weight(answer, $controllers, id, question, questionId, quizCode, quizOptions, quizTypeId, solution, testId, weight) { return this.editTestQuestion$body$QuestionProvider(answer, $controllers, id, question, questionId, quizCode, quizOptions, quizTypeId, solution, testId, weight); }, editTestQuestion$body$QuestionProvider(answer, $controllers, id, question, questionId, quizCode, quizOptions, quizTypeId, solution, testId, weight) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, answers, i, ans, response, index, question0, error, t1, t2, t3, exception, $async$exception; var $async$editTestQuestion$11$answer$controllers$id$question$questionId$quizCode$quizOptions$quizTypeId$solution$testId$weight = 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; answers = A._setArrayType([], type$.JSArray_Map_String_dynamic); for (i = 0, t1 = type$.String, t2 = type$.dynamic; i < quizOptions.length; ++i) { ans = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); J.$indexSet$ax(ans, "id", quizOptions[i].id); J.$indexSet$ax(ans, "question_id", quizOptions[i].questionId); J.$indexSet$ax(ans, "option", $controllers[i].controller._change_notifier$_value.text); t3 = answer.containsKey$1(0, $controllers[i].key) && true; J.$indexSet$ax(ans, "is_answer", t3); J.add$1$ax(answers, ans); } $async$goto = 6; return A._asyncAwait(A.TestQuestionRepository_editTestQuestion(id, question, questionId, quizCode, answers, quizTypeId, solution, testId, weight), $async$editTestQuestion$11$answer$controllers$id$question$questionId$quizCode$quizOptions$quizTypeId$solution$testId$weight); case 6: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { t1 = $async$self._questionList; index = B.JSArray_methods.indexWhere$1(t1, new A.QuestionProvider_editTestQuestion_closure(questionId)); question0 = A.Question_Question$fromMap(J.$index$asx(response.data, "data")); t1[index] = question0; $async$self.notifyListeners$0(); A.showToaster("Question has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); throw $async$exception; } else throw $async$exception; // 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$editTestQuestion$11$answer$controllers$id$question$questionId$quizCode$quizOptions$quizTypeId$solution$testId$weight, $async$completer); }, deleteTestQuestion$2$id$questionId(id, questionId) { return this.deleteTestQuestion$body$QuestionProvider(id, questionId); }, deleteTestQuestion$body$QuestionProvider(id, questionId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, error, t1, exception, $async$exception; var $async$deleteTestQuestion$2$id$questionId = 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; $async$goto = 6; return A._asyncAwait(A.TestQuestionRepository_deleteTestQuestion(id, questionId), $async$deleteTestQuestion$2$id$questionId); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { t1 = $async$self._questionList; index = B.JSArray_methods.indexWhere$1(t1, new A.QuestionProvider_deleteTestQuestion_closure(id)); B.JSArray_methods.removeAt$1(t1, index); $async$self.notifyListeners$0(); A.showToaster("Question has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); throw $async$exception; } else throw $async$exception; // 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$deleteTestQuestion$2$id$questionId, $async$completer); }, deleteQuestionOnCascade$1(testIds) { B.JSArray_methods.forEach$1(testIds, new A.QuestionProvider_deleteQuestionOnCascade_closure(this)); }, removeQuestionFromList$1(id) { var t1 = this._questionList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.QuestionProvider_removeQuestionFromList_closure(id), true); this.notifyListeners$0(); }, getCurrentQuestionId$0() { var t1 = this._questionList; if (t1.length !== 0) { t1 = B.JSArray_methods.get$first(t1).id; t1.toString; return t1; } else return -1; }, $isListenable: 1 }; A.QuestionProvider_listTestQuestion_closure.prototype = { call$1(e) { return A.Question_Question$fromMap(e); }, $signature: 549 }; A.QuestionProvider_addTestQuestion_closure.prototype = { call$1(element) { var t1, ans = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); J.$indexSet$ax(ans, "option", element.controller._change_notifier$_value.text); t1 = this.answer.containsKey$1(0, element.key) && true; J.$indexSet$ax(ans, "is_answer", t1); this.answers.push(ans); }, $signature: 551 }; A.QuestionProvider_editTestQuestion_closure.prototype = { call$1(element) { return element.questionId == this.questionId; }, $signature: 128 }; A.QuestionProvider_deleteTestQuestion_closure.prototype = { call$1(element) { return element.id == this.id; }, $signature: 128 }; A.QuestionProvider_deleteQuestionOnCascade_closure.prototype = { call$1(testId) { var t1 = this.$this._questionList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.QuestionProvider_deleteQuestionOnCascade__closure(testId), true); }, $signature: 40 }; A.QuestionProvider_deleteQuestionOnCascade__closure.prototype = { call$1(question) { return question.testId === this.testId; }, $signature: 128 }; A.QuestionProvider_removeQuestionFromList_closure.prototype = { call$1(element) { return element.id === this.id; }, $signature: 128 }; A._QuestionProvider_Object_ChangeNotifier.prototype = {}; A.ResourceProvider.prototype = { addResource$4$isPublished$parentId$resourceSubjectId$title(isPublished, parentId, resourceSubjectId, title) { return this.addResource$body$ResourceProvider(isPublished, parentId, resourceSubjectId, title); }, addResource$body$ResourceProvider(isPublished, parentId, resourceSubjectId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, contents, error, t1, exception, $async$exception; var $async$addResource$4$isPublished$parentId$resourceSubjectId$title = 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 = isPublished ? 1 : 0; $async$goto = 6; return A._asyncAwait(A._lateReadCheck($.$get$ResourceRepository__apiManager().__ApiManager_dio, "dio").post$1$2$data("resource/save", A.LinkedHashMap_LinkedHashMap$_literal(["resource_subject_id", resourceSubjectId, "parent_id", parentId, "title", title, "is_published", t1], type$.String, type$.Object), type$.dynamic), $async$addResource$4$isPublished$parentId$resourceSubjectId$title); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { contents = A.CourseContents_CourseContents$fromMap(J.$index$asx(response.data, "data")); t1 = $.$get$locator().call$1$0(type$.CourseContentProvider); t1._courseContentList.push(contents); t1.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$addResource$4$isPublished$parentId$resourceSubjectId$title, $async$completer); }, deleteResource$1$resourceId(resourceId) { return this.deleteResource$body$ResourceProvider(resourceId); }, deleteResource$body$ResourceProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$next = [], error, t1, exception; var $async$deleteResource$1$resourceId = 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 try { t1 = $.$get$locator().call$1$0(type$.CourseContentProvider); resourceId.toString; t1.deleteCourseContent$1(resourceId); } catch (exception) { error = A.unwrapException(exception); A.print(error); throw exception; } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$deleteResource$1$resourceId, $async$completer); }, updateResource$5$id$isPublished$parentId$resourceSubjectId$title(id, isPublished, parentId, resourceSubjectId, title) { return this.updateResource$body$ResourceProvider(id, isPublished, parentId, resourceSubjectId, title); }, updateResource$body$ResourceProvider(id, isPublished, parentId, resourceSubjectId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, contents, error, t1, exception, $async$exception; var $async$updateResource$5$id$isPublished$parentId$resourceSubjectId$title = 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 = isPublished ? 1 : 0; $async$goto = 6; return A._asyncAwait(A._lateReadCheck($.$get$ResourceRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "resource_subject_id", resourceSubjectId, "parent_id", parentId, "title", title, "is_published", t1], type$.String, type$.Object), type$.dynamic), $async$updateResource$5$id$isPublished$parentId$resourceSubjectId$title); case 6: // returning from await. response = $async$result; if (response.statusCode === 200) { contents = A.CourseContents_CourseContents$fromMap(J.$index$asx(response.data, "data")); $.$get$locator().call$1$0(type$.CourseContentProvider).editCourseContent$2(id, contents); } $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); A.print(error); throw $async$exception; // 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$updateResource$5$id$isPublished$parentId$resourceSubjectId$title, $async$completer); }, updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt(caption, $content, contentUrl, fileName, fileSize, fileType, files, id, isFile, isPublished, materialId, materialTitle, materialType, resourceLessonId, sourceLink, sourceTxt) { return this.updateMaterial$body$ResourceProvider(caption, $content, contentUrl, fileName, fileSize, fileType, files, id, isFile, isPublished, materialId, materialTitle, materialType, resourceLessonId, sourceLink, sourceTxt); }, updateMaterial$11$caption$content$contentUrl$id$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt(caption, $content, contentUrl, id, isPublished, materialId, materialTitle, materialType, resourceLessonId, sourceLink, sourceTxt) { return this.updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt(caption, $content, contentUrl, null, null, null, null, id, false, isPublished, materialId, materialTitle, materialType, resourceLessonId, sourceLink, sourceTxt); }, updateMaterial$body$ResourceProvider(caption, $content, contentUrl, fileName, fileSize, fileType, files, id, isFile, isPublished, materialId, materialTitle, materialType, resourceLessonId, sourceLink, sourceTxt) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, response, error, exception, $async$exception; var $async$updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt = 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.ResourceMaterialRepository_updateResourceMaterial(caption, $content, fileName, fileSize, fileType, files, id, isFile, isPublished, materialId, materialType, sourceTxt, sourceLink, materialTitle), $async$updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt); case 7: // returning from await. response = $async$result; if (response.statusCode === 200) { $async$returnValue = true; $async$next = [1]; // goto finally $async$goto = 5; break; } $async$returnValue = false; $async$next = [1]; // goto finally $async$goto = 5; break; $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self._resource_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt, $async$completer); }, addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title($content, fileName, fileSize, fileType, files, isFile, isPublished, materialType, resourceId, resourceSubjectId, source, sourceLink, title) { return this.addResourceLesson$body$ResourceProvider($content, fileName, fileSize, fileType, files, isFile, isPublished, materialType, resourceId, resourceSubjectId, source, sourceLink, title); }, addResourceLesson$6$content$isPublished$materialType$resourceId$resourceSubjectId$title($content, isPublished, materialType, resourceId, resourceSubjectId, title) { return this.addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title($content, null, null, null, null, false, isPublished, materialType, resourceId, resourceSubjectId, null, null, title); }, addResourceLesson$body$ResourceProvider($content, fileName, fileSize, fileType, files, isFile, isPublished, materialType, resourceId, resourceSubjectId, source, sourceLink, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, t1, exception, $async$exception; var $async$addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title = 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 = $async$self._resource_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 6; return A._asyncAwait(A.ResourceLessonRepository_addRes($content, fileName, fileSize, fileType, files, isFile, isPublished, materialType, resourceId, source, sourceLink, title), $async$addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title); case 6: // returning from await. response = $async$result; if (response.statusCode !== 200 ? response.statusCode === 201 : t1) { A.showToaster("Resource Lesson has been added", B.MaterialColor_Map_JNEaM_4283215696); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_pushReplacement(t1, A.MaterialPageRoute$(new A.ResourceProvider_addResourceLesson_closure(), false, null, type$.dynamic)); } $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self._resource_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title, $async$completer); }, updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title(id, isPublished, resourceId, resourceSubjectId, sequence, title) { return this.updateResourceLesson$body$ResourceProvider(id, isPublished, resourceId, resourceSubjectId, sequence, title); }, updateResourceLesson$body$ResourceProvider(id, isPublished, resourceId, resourceSubjectId, sequence, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, response, resourceLesson, error, t1, exception, $async$exception; var $async$updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title = 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$self._resource_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 7; return A._asyncAwait(A._lateReadCheck($.$get$ResourceLessonRepository__apiManager().__ApiManager_dio, "dio").put$1$2$data(0, "resource-lesson/update", A.LinkedHashMap_LinkedHashMap$_literal(["id", id, "resource_id", resourceId, "title", title, "sequence", "se", "is_published", isPublished], type$.String, type$.nullable_Object), type$.dynamic), $async$updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title); case 7: // returning from await. response = $async$result; if (response.data != null && response.statusCode === 200) { resourceLesson = A.ResourceLesson_ResourceLesson$fromMap(J.$index$asx(response.data, "data")); t1 = $.$get$locator().call$1$0(type$.CourseContentProvider); t1._courseContentDetail.title = resourceLesson.title; t1.notifyListeners$0(); } $async$returnValue = response; // 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); A.print(error); 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$updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title, $async$completer); }, deleteResourceLesson$2$id$resourceId(id, resourceId) { return this.deleteResourceLesson$body$ResourceProvider(id, resourceId); }, deleteResourceLesson$body$ResourceProvider(id, resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], response, error, t1, exception, $async$exception; var $async$deleteResourceLesson$2$id$resourceId = 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._lateReadCheck($.$get$ResourceLessonRepository__apiManager().__ApiManager_dio, "dio").delete$1$2$data(0, "resource-lesson/delete", A.LinkedHashMap_LinkedHashMap$_literal(["id", id], type$.String, type$.nullable_int), type$.dynamic), $async$deleteResourceLesson$2$id$resourceId); case 7: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { t1 = $.$get$locator().call$1$0(type$.CourseContentProvider); id.toString; t1.deleteResourceLesson$2(resourceId, id); } $async$returnValue = response; // 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); A.print(error); 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$deleteResourceLesson$2$id$resourceId, $async$completer); }, $isListenable: 1 }; A.ResourceProvider_addResourceLesson_closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._ResourceProvider_Object_ChangeNotifier.prototype = {}; A.RoutineProvider.prototype = { getTimeIndex$1(routineId) { var t1, t2, t3, _i, element, _box_0 = {}; _box_0._day = null; t1 = Date.now(); for (t2 = this._routines, t3 = t2.length, _i = 0; _i < t3; ++_i) { element = t2[_i]; if (element.id === routineId) { t2 = element.daysOfWeek; t2.toString; B.JSArray_methods.forEach$1(t2, new A.RoutineProvider_getTimeIndex_closure(_box_0, new A.DateTime(t1, false))); t3 = _box_0._day; t3.toString; return B.JSArray_methods.indexOf$1(t2, t3); } } return -1; }, loginToRoutine$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, token, error, t1, exception, $async$exception; var $async$loginToRoutine$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 = 3; t1 = type$.String; $async$goto = 6; return A._asyncAwait(A._lateReadCheck($.$get$RoutineRepository__apiManager().__RoutineManager_routineDio, "routineDio").post$1$2$data("login/", A.LinkedHashMap_LinkedHashMap$_literal(["email", "tester@gmail.com", "password", "password"], t1, t1), type$.dynamic), $async$loginToRoutine$0); case 6: // returning from await. response = $async$result; $async$goto = response.statusCode === 200 && response.data != null ? 7 : 8; break; case 7: // then token = J.$index$asx(J.$index$asx(response.data, "data"), "accesstoken"); $async$goto = 9; return A._asyncAwait($.$get$locator().call$1$0(type$.SharedPref).saveStringValue$2("routineToken", token), $async$loginToRoutine$0); case 9: // returning from await. case 8: // join $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); A.print(error); throw $async$exception; // 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$loginToRoutine$0, $async$completer); }, getTeacherRoutine$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, subjects, response, data, error, exception, $async$exception; var $async$getTeacherRoutine$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 = 3; subjects = $.$get$locator().call$1$0(type$.SubjectProvider)._teacherSubjects; B.JSArray_methods.set$length($async$self._routines, 0); $async$goto = 6; return A._asyncAwait(A.RoutineRepository_getTeacherRoutine(), $async$getTeacherRoutine$0); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { data = J.$index$asx(response.data, "data"); J.forEach$1$ax(data, new A.RoutineProvider_getTeacherRoutine_closure($async$self, subjects)); $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getTeacherRoutine$0, $async$completer); }, getSubjectId$0() { var routine, timeIndex, startTime, endTime, t1, t2, t3, _i, t4, t5, exception, now = new A.DateTime(Date.now(), false), subjectId = 0, _routine = null; try { for (t1 = this._routines, t2 = t1.length, t3 = type$.RoutineProvider, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { routine = t1[_i]; t4 = $.$get$locator().$get$1$3$instanceName$param1$param2(0, null, null, null, t3); t5 = routine.id; t5.toString; timeIndex = t4.getTimeIndex$1(t5); t5 = routine.daysOfWeek[timeIndex].timeSlot.startsAt; t5.toString; startTime = t5; t5 = routine.daysOfWeek[timeIndex].timeSlot.endsAt; t5.toString; endTime = t5; if (now._value > startTime._value && now._value < endTime._value) { _routine = routine; break; } } t1 = _routine.remoteId; t1.toString; subjectId = t1; } catch (exception) { subjectId = 0; } return subjectId; }, getStudentRoutine$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, subjects, _user, response, data, error, t1, exception, $async$exception; var $async$getStudentRoutine$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 = 3; subjects = $.$get$locator().call$1$0(type$.SubjectProvider)._studentSubjectList; t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail; t1.toString; _user = t1; B.JSArray_methods.set$length($async$self._routines, 0); $async$goto = 6; return A._asyncAwait(A.RoutineRepository_getStudentRoutine(), $async$getStudentRoutine$0); case 6: // returning from await. response = $async$result; if (response.statusCode === 200 && response.data != null) { data = J.$index$asx(response.data, "data"); J.forEach$1$ax(data, new A.RoutineProvider_getStudentRoutine_closure($async$self, subjects, _user)); } $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); A.print(error); throw $async$exception; // 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$getStudentRoutine$0, $async$completer); }, $isListenable: 1 }; A.RoutineProvider_getTimeIndex_closure.prototype = { call$1(day) { if (day.day.day === A.DateFormat$("EEEE", null).format$1(this.now)) this._box_0._day = day; }, $signature: 564 }; A.RoutineProvider_getTeacherRoutine_closure.prototype = { call$1(element) { var _dayOfWeeks = J.$index$asx(element, "days_of_week"); J.forEach$1$ax(_dayOfWeeks, new A.RoutineProvider_getTeacherRoutine__closure(this.$this, element, this.subjects)); }, $signature: 6 }; A.RoutineProvider_getTeacherRoutine__closure.prototype = { call$1(dayOfWeek) { var startTime, _day, routine, t1, now = new A.DateTime(Date.now(), false), day = "", month = ""; if (B.JSInt_methods.toString$0(A.Primitives_getDay(now)).length > 1) day = "" + A.Primitives_getDay(now); else day = "0" + A.Primitives_getDay(now); if (B.JSInt_methods.toString$0(A.Primitives_getMonth(now)).length > 1) month = "" + A.Primitives_getMonth(now); else month = "0" + A.Primitives_getMonth(now); t1 = J.getInterceptor$asx(dayOfWeek); startTime = A.DateTime_parse("" + A.Primitives_getYear(now) + "-" + A.S(month) + "-" + A.S(day) + " " + A.S(J.$index$asx(t1.$index(dayOfWeek, "time_slot"), "starts_at"))); _day = A.DateFormat$("EEEE", null).format$1(startTime); if (J.$eq$(J.$index$asx(t1.$index(dayOfWeek, "day"), "day"), _day)) { routine = A.RoutineModel_RoutineModel$fromMap(this.element); B.JSArray_methods.forEach$1(this.subjects, new A.RoutineProvider_getTeacherRoutine___closure(routine)); this.$this._routines.push(routine); } }, $signature: 6 }; A.RoutineProvider_getTeacherRoutine___closure.prototype = { call$1(subject) { var t3, t1 = subject.name, t2 = this.routine; if (t1 === t2.subject.name) { t3 = subject.resourceCategory; t3 = t3.className === "Class " + A.S(t2.grade.title) && t3.sectionName === "Section " + A.S(t2.section.title); } else t3 = false; if (t3) { A.print(t1); t1 = subject.resourceCategory; A.print(t1.className); A.print(t1.sectionName); t2.remoteId = subject.id; } }, $signature: 565 }; A.RoutineProvider_getStudentRoutine_closure.prototype = { call$1(element) { var _dayOfWeeks = J.$index$asx(element, "days_of_week"); J.forEach$1$ax(_dayOfWeeks, new A.RoutineProvider_getStudentRoutine__closure(this.$this, element, this.subjects, this._user)); }, $signature: 6 }; A.RoutineProvider_getStudentRoutine__closure.prototype = { call$1(dayOfWeek) { var startTime, _day, routine, t1, _this = this, now = new A.DateTime(Date.now(), false), day = "", month = ""; if (B.JSInt_methods.toString$0(A.Primitives_getDay(now)).length > 1) day = "" + A.Primitives_getDay(now); else day = "0" + A.Primitives_getDay(now); if (B.JSInt_methods.toString$0(A.Primitives_getMonth(now)).length > 1) month = "" + A.Primitives_getMonth(now); else month = "0" + A.Primitives_getMonth(now); t1 = J.getInterceptor$asx(dayOfWeek); startTime = A.DateTime_parse("" + A.Primitives_getYear(now) + "-" + A.S(month) + "-" + A.S(day) + " " + A.S(J.$index$asx(t1.$index(dayOfWeek, "time_slot"), "starts_at"))); _day = A.DateFormat$("EEEE", null).format$1(startTime); if (J.$eq$(J.$index$asx(t1.$index(dayOfWeek, "day"), "day"), _day)) { routine = A.RoutineModel_RoutineModel$fromMap(_this.element); B.JSArray_methods.forEach$1(_this.subjects, new A.RoutineProvider_getStudentRoutine___closure(routine, _this._user)); _this.$this._routines.push(routine); } }, $signature: 6 }; A.RoutineProvider_getStudentRoutine___closure.prototype = { call$1(subject) { var t2, t1 = this.routine; if (subject.subject.name == t1.subject.name) { t2 = this._user.accountUser.resourceStudent.resourceCategory; t2 = t2.parentRec.name === "Class " + A.S(t1.grade.title) && t2.name === "Section " + A.S(t1.section.title); } else t2 = false; if (t2) t1.remoteId = subject.id; }, $signature: 566 }; A._RoutineProvider_Object_ChangeNotifier.prototype = {}; A.StudentTestProvider.prototype = { getStudentName$0() { var _studentName = A._setArrayType([], type$.JSArray_String), t1 = this._studentTestList; if (t1.length !== 0) B.JSArray_methods.forEach$1(t1, new A.StudentTestProvider_getStudentName_closure(this, _studentName)); t1 = A.LinkedHashSet_LinkedHashSet$from(_studentName, type$.String); return A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); }, getStudentTestById$1(index) { var t1 = this._studentTestList, t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"); return A.List_List$of(new A.WhereIterable(t1, new A.StudentTestProvider_getStudentTestById_closure(this._studentIds[index]), t2), true, t2._eval$1("Iterable.E")); }, addStudentTestDetails$5$currentQuestionId$isComplete$startDate$studentId$testId(currentQuestionId, isComplete, startDate, studentId, testId) { return this.addStudentTestDetails$body$StudentTestProvider(currentQuestionId, false, startDate, studentId, testId); }, addStudentTestDetails$body$StudentTestProvider(currentQuestionId, isComplete, startDate, studentId, testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, t1, t2, exception, $async$exception; var $async$addStudentTestDetails$5$currentQuestionId$isComplete$startDate$studentId$testId = 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; $async$goto = 6; return A._asyncAwait(A.StudentTestRepository_addStudentTestDetail(currentQuestionId, false, startDate, studentId, testId), $async$addStudentTestDetails$5$currentQuestionId$isComplete$startDate$studentId$testId); case 6: // returning from await. response = $async$result; if (response.data != null) { t1 = J.$index$asx(response.data, "data"); t2 = J.getInterceptor$asx(t1); if (t2.$index(t1, "resource_test_id") != null) t2.$index(t1, "resource_test_id"); if (t2.$index(t1, "student_id") != null) t2.$index(t1, "student_id"); if (t2.$index(t1, "start_date") != null) A.DateTime_parse(t2.$index(t1, "start_date")); t2.$index(t1, "end_date"); if (t2.$index(t1, "is_complete") != null) t2.$index(t1, "is_complete"); if (t2.$index(t1, "updated_at") != null) A.DateTime_parse(t2.$index(t1, "updated_at")); if (t2.$index(t1, "created_at") != null) A.DateTime_parse(t2.$index(t1, "created_at")); $async$self._testStudentDetail = new A.TestStudentDetail(t2.$index(t1, "id") == null ? null : t2.$index(t1, "id")); $async$self.notifyListeners$0(); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); throw $async$exception; } else throw $async$exception; // 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$addStudentTestDetails$5$currentQuestionId$isComplete$startDate$studentId$testId, $async$completer); }, addStudentTestAnswer$5$currentQuestionId$isComplete$optionId$questionId$studentId(currentQuestionId, isComplete, optionId, questionId, studentId) { return this.addStudentTestAnswer$body$StudentTestProvider(currentQuestionId, isComplete, optionId, questionId, studentId); }, addStudentTestAnswer$body$StudentTestProvider(currentQuestionId, isComplete, optionId, questionId, studentId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], response, error, t1, t2, exception, $async$exception; var $async$addStudentTestAnswer$5$currentQuestionId$isComplete$optionId$questionId$studentId = 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; $async$goto = 6; return A._asyncAwait(A.StudentTestRepository_addStudentTestAnswer(currentQuestionId, isComplete, optionId, questionId, studentId), $async$addStudentTestAnswer$5$currentQuestionId$isComplete$optionId$questionId$studentId); case 6: // returning from await. response = $async$result; t1 = type$.QuestionProvider; t2 = $.$get$locator().call$1$0(t1); t2._question_provider$_selectedAnswer.clear$0(0); t2.notifyListeners$0(); t1 = $.$get$locator().call$1$0(t1); ++t1._question_provider$_selectedIndex; t1.notifyListeners$0(); if (response.data != null && J.containsKey$1$x(J.$index$asx(response.data, "data"), "student_test")) { $.$get$locator().call$1$0(type$.TestsProvider).listTest$1$resourceId($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceIdToEdit); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); A.showToaster("Thank you for taking test", B.MaterialColor_Map_JNEaM_4283215696); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); throw $async$exception; } else throw $async$exception; // 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$addStudentTestAnswer$5$currentQuestionId$isComplete$optionId$questionId$studentId, $async$completer); }, listStudentTest$1$testId(testId) { return this.listStudentTest$body$StudentTestProvider(testId); }, listStudentTest$body$StudentTestProvider(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, error, t1, exception, $async$exception; var $async$listStudentTest$1$testId = 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 = $async$self._studentTestList; B.JSArray_methods.set$length(t1, 0); $async$goto = 6; return A._asyncAwait(A.StudentTestRepository_listStudentTest(testId), $async$listStudentTest$1$testId); case 6: // returning from await. response = $async$result; if (response.data != null) { list = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); B.JSArray_methods.addAll$1(t1, J.map$1$1$ax(list, new A.StudentTestProvider_listStudentTest_closure(), type$.StudentTest).toList$0(0)); } $async$self.notifyListeners$0(); $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); A.print(error); throw $async$exception; // 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$listStudentTest$1$testId, $async$completer); }, listStudentListAnswer$2$studentId$testId(studentId, testId) { return this.listStudentListAnswer$body$StudentTestProvider(studentId, testId); }, listStudentListAnswer$body$StudentTestProvider(studentId, testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, error, exception, t1, $async$exception; var $async$listStudentListAnswer$2$studentId$testId = 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; $async$goto = 6; return A._asyncAwait(A.StudentTestRepository_listStudentTestAnswer(studentId, testId), $async$listStudentListAnswer$2$studentId$testId); case 6: // returning from await. response = $async$result; if (response.data != null) $async$self._studentTestAnswer = A.StudentTestAnswer_StudentTestAnswer$fromMap(J.$index$asx(response.data, "data")); $async$self.notifyListeners$0(); $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$listStudentListAnswer$2$studentId$testId, $async$completer); }, $isListenable: 1 }; A.StudentTestProvider_getStudentName_closure.prototype = { call$1(element) { var t1 = element.fullName; t1.toString; this._studentName.push(t1); t1 = element.resourceStudentId; t1.toString; this.$this._studentIds.push(t1); }, $signature: 574 }; A.StudentTestProvider_getStudentTestById_closure.prototype = { call$1(element) { return element.resourceStudentId === this.studentId; }, $signature: 578 }; A.StudentTestProvider_listStudentTest_closure.prototype = { call$1(e) { return A.StudentTest_StudentTest$fromMap(e); }, $signature: 579 }; A._StudentTestProvider_Object_ChangeNotifier.prototype = {}; A.SubjectProvider.prototype = { getSubjectById$1(subjectId) { return B.JSArray_methods.firstWhere$1(this._teacherSubjects, new A.SubjectProvider_getSubjectById_closure(subjectId)); }, getStudentSubjectById$1(subjectId) { return B.JSArray_methods.firstWhere$1(this._studentSubjectList, new A.SubjectProvider_getStudentSubjectById_closure(subjectId)); }, getTeacherSubjects$1(id) { return this.getTeacherSubjects$body$SubjectProvider(id); }, getTeacherSubjects$body$SubjectProvider(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, subjects, error, exception, $async$exception; var $async$getTeacherSubjects$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 = 3; $async$goto = $async$self._teacherSubjects.length === 0 ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(A.SubjectRepository_getTeacherSubjects(id), $async$getTeacherSubjects$1); case 8: // returning from await. response = $async$result; if (response.data != null) { list = J.$index$asx(response.data, "data"); subjects = A._setArrayType([], type$.JSArray_TeacherSubject); J.forEach$1$ax(list, new A.SubjectProvider_getTeacherSubjects_closure(subjects)); $async$self._teacherSubjects = subjects; $async$self.notifyListeners$0(); } case 7: // join $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); A.print(error); throw $async$exception; // 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$getTeacherSubjects$1, $async$completer); }, getStudentSubject$1(id) { return this.getStudentSubject$body$SubjectProvider(id); }, getStudentSubject$body$SubjectProvider(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, list, subjectList, error, exception, $async$exception; var $async$getStudentSubject$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 = 3; $async$goto = 6; return A._asyncAwait(A.SubjectRepository_getStudentSubjects(id), $async$getStudentSubject$1); case 6: // returning from await. response = $async$result; if (response.data != null) { list = J.get$first$ax(J.$index$asx(response.data, "data")); subjectList = A._setArrayType([], type$.JSArray_StudentSubject); J.forEach$1$ax(list, new A.SubjectProvider_getStudentSubject_closure(subjectList)); $async$self._studentSubjectList = subjectList; $async$self.notifyListeners$0(); } $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); A.print(error); throw $async$exception; // 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$getStudentSubject$1, $async$completer); }, $isListenable: 1 }; A.SubjectProvider_getSubjectById_closure.prototype = { call$1(element) { return element.id === this.subjectId; }, $signature: 589 }; A.SubjectProvider_getStudentSubjectById_closure.prototype = { call$1(element) { return element.id === this.subjectId; }, $signature: 590 }; A.SubjectProvider_getTeacherSubjects_closure.prototype = { call$1(element) { var t3, t4, t5, t6, t1 = J.getInterceptor$asx(element), t2 = t1.$index(element, "id"); t1.$index(element, "resource_category_id"); t1.$index(element, "code"); t3 = t1.$index(element, "name"); t4 = t1.$index(element, "cover_image"); t1 = t1.$index(element, "resource_category"); t5 = J.getInterceptor$asx(t1); t5.$index(t1, "batch_id"); t5.$index(t1, "batch_code"); t5.$index(t1, "batch_name"); t5.$index(t1, "class_id"); t5.$index(t1, "class_code"); t6 = t5.$index(t1, "class_name"); t5.$index(t1, "section_id"); t5.$index(t1, "section_code"); this.subjects.push(new A.TeacherSubject(t2, t3, t4, new A.ResourceCategory0(t6, t5.$index(t1, "section_name")))); }, $signature: 6 }; A.SubjectProvider_getStudentSubject_closure.prototype = { call$1(element) { var t3, t4, t5, t6, _null = null, _s2_ = "id", _s20_ = "resource_category_id", _s16_ = "class_subject_id", _s11_ = "cover_image", _s11_0 = "alias_title", _s4_ = "name", t1 = J.getInterceptor$asx(element), t2 = t1.$index(element, _s2_) == null ? _null : t1.$index(element, _s2_); if (t1.$index(element, _s20_) != null) t1.$index(element, _s20_); if (t1.$index(element, _s16_) != null) t1.$index(element, _s16_); if (t1.$index(element, _s11_) != null) t1.$index(element, _s11_); if (t1.$index(element, _s11_0) != null) t1.$index(element, _s11_0); if (t1.$index(element, "subject") == null) t3 = _null; else { t3 = t1.$index(element, "subject"); t4 = J.getInterceptor$asx(t3); t5 = t4.$index(t3, _s2_) == null ? _null : t4.$index(t3, _s2_); if (t4.$index(t3, "code") != null) t4.$index(t3, "code"); t6 = t4.$index(t3, _s4_) == null ? "" : t4.$index(t3, _s4_); t3 = new A.Subject0(t5, t6, t4.$index(t3, _s11_) == null ? _null : t4.$index(t3, _s11_)); } if (t1.$index(element, "teacher") != null) { t1 = t1.$index(element, "teacher"); t4 = J.getInterceptor$asx(t1); t4.$index(t1, _s2_) == null; t4.$index(t1, _s4_) == null; } this.subjectList.push(new A.StudentSubject(t2, t3)); }, $signature: 6 }; A._SubjectProvider_Object_ChangeNotifier.prototype = {}; A.TempJitsiProvider.prototype = { jitsiMeetScreen$2(width, height) { var t1, t2, _this = this, _null = null; if (_this._isToShowJoinClassBtn) t1 = _this.joinMeetingBtn$0(); else { t1 = _this._isFullScreenJisti ? "Exit Full Screen" : "Full Screen"; t1 = A.GestureDetector$(_null, A.Text$(t1, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, 12, _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, new A.TempJitsiProvider_jitsiMeetScreen_closure(_this), _null, _null, _null, _null, _null, _null, _null); } if (_this._isToShowJoinClassBtn) t2 = 0; else t2 = _this._isFullScreenJisti ? height * 0.95 : height * 0.4; t2 = A.Column$(A._setArrayType([t1, new A.SizedBox(width, t2, new A.JitsiMeetConferencing(B.List_Azp, _null), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_3, B.MainAxisSize_1, B.VerticalDirection_1); t1 = t2; return A.Container$(_null, t1, B.Clip_0, _null, _null, _null, _null, _null, _null, B.EdgeInsets_0_0_0_0, B.EdgeInsets_0_0_0_0, _null, _null, _null); }, joinMeetingBtn$0() { var t4, _null = null, t1 = A.BorderRadius$circular(18), side = new A.BorderSide($.$get$DraclmsTheme_borderColor(), 1, B.BorderStyle_1), t2 = A.ClipOval$(A.Icon$(B.IconData_57411_MaterialIcons_null_false, B.MaterialColor_Map_HFpTk_4288585374, 60)), t3 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; t3.toString; t4 = type$.SubjectProvider; t3 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? "Join " + $.$get$locator().call$1$0(t4).getSubjectById$1(t3).name + " Class" : "Start " + A.S($.$get$locator().call$1$0(t4).getStudentSubjectById$1(t3).subject.name) + " Class"; return A.Container$(B.Alignment_0_0, A.Column$(A._setArrayType([t2, A.roundButton(_null, _null, 40, false, new A.TempJitsiProvider_joinMeetingBtn_closure(this), A.DraclmsTheme_subTitle1Style().copyWith$1$color(B.Color_4294967295), t3, 200)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_3, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), t1, _null, _null, B.BoxShape_0), _null, _null, _null, _null, B.EdgeInsets_0_0_0_10, _null, _null, _null); }, _joinMeeting$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1, t2, featureFlags, t3, options, serverUrl; var $async$_joinMeeting$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 serverUrl = $async$self._serverText._change_notifier$_value.text; if (B.JSString_methods.trim$0(serverUrl).length === 0) serverUrl = null; t1 = type$.FeatureFlagEnum; t2 = type$.bool; featureFlags = A.LinkedHashMap_LinkedHashMap$_literal([B.FeatureFlagEnum_15, false], t1, t2); t3 = $async$self._roomText._change_notifier$_value.text; t1 = A.HashMap_HashMap(null, null, null, t1, t2); options = new A.JitsiMeetingOptions(t3, t1); options.serverURL = serverUrl; options.subject = $async$self._subjectText._change_notifier$_value.text; options.userDisplayName = $async$self._nameText._change_notifier$_value.text; options.userEmail = $async$self._emailText._change_notifier$_value.text; options.iosAppBarRGBAColor = $async$self._iosAppBarRGBAColor._change_notifier$_value.text; options.videoMuted = options.audioMuted = options.audioOnly = true; t1.addAll$1(0, featureFlags); t1 = type$.String; options.webOptions = A.LinkedHashMap_LinkedHashMap$_literal(["roomName", $async$self._roomText._change_notifier$_value.text, "width", "100%", "height", "100%", "enableWelcomePage", false, "chromeExtensionBanner", null, "userInfo", A.LinkedHashMap_LinkedHashMap$_literal(["displayName", $async$self._nameText._change_notifier$_value.text, "email", $async$self._emailText._change_notifier$_value.text], t1, t1), "interfaceConfigOverwrite", A.LinkedHashMap_LinkedHashMap$_literal(["SHOW_JITSI_WATERMARK", false, "SHOW_WATERMARK_FOR_GUESTS", false, "SHOW_CHROME_EXTENSION_BANNER", false, "SHOW_PROMOTIONAL_CLOSE_PAGE", true, "SHOW_POWERED_BY", false, "SHOW_DEEP_LINKING_IMAGE", false, "SHOW_BRAND_WATERMARK", false], t1, t2), "configOverwrite", A.LinkedHashMap_LinkedHashMap$_literal(["disableSimulcast", false], t1, t2)], t1, type$.dynamic); A.print__debugPrintThrottled$closure().call$1("JitsiMeetingOptions: " + options.toString$0(0)); $async$goto = 2; return A._asyncAwait(A.JitsiMeet_joinMeeting(options, new A.JitsiMeetingListener(new A.TempJitsiProvider__joinMeeting_closure(options), new A.TempJitsiProvider__joinMeeting_closure0(options), new A.TempJitsiProvider__joinMeeting_closure1($async$self, options), null, A._setArrayType([new A.JitsiGenericListener("readyToClose", new A.TempJitsiProvider__joinMeeting_closure2($async$self)), new A.JitsiGenericListener("participantJoined", new A.TempJitsiProvider__joinMeeting_closure3())], type$.JSArray_JitsiGenericListener))), $async$_joinMeeting$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_joinMeeting$0, $async$completer); }, $isListenable: 1 }; A.TempJitsiProvider_jitsiMeetScreen_closure.prototype = { call$0() { var t1 = this.$this; t1._isFullScreenJisti = !t1._isFullScreenJisti; t1.notifyListeners$0(); }, $signature: 0 }; A.TempJitsiProvider_joinMeetingBtn_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t3, t4, subjectName, roomName, t1, t2; 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; t2 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; t2.toString; t3 = type$.AuthProvider; t4 = type$.SubjectProvider; subjectName = $.$get$locator().call$1$0(t3)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? $.$get$locator().call$1$0(t4).getSubjectById$1(t2).name : $.$get$locator().call$1$0(t4).getStudentSubjectById$1(t2).subject.name; subjectName.toString; roomName = A.stringReplaceAllUnchecked(subjectName, " ", "_"); t1._serverText = A.TextEditingController$("https://jitsi.byterays.com"); t1._roomText = A.TextEditingController$(roomName); t1._subjectText = A.TextEditingController$(subjectName); t1._nameText = A.TextEditingController$($.$get$locator().call$1$0(t3).getUserFullName$0()); t2 = $.$get$locator().call$1$0(t3)._currentUserAccountDetail.email; t1._emailText = A.TextEditingController$(t2 == null ? "draclms@gmail.com" : t2); t1._iosAppBarRGBAColor = A.TextEditingController$("#0080FF80"); t1._isVideoMuted = t1._isAudioMuted = t1._isAudioOnly = true; t1.notifyListeners$0(); $async$goto = 2; return A._asyncAwait(A.Future_Future$delayed(A.Duration$(0, 0, 0, 0, 1), null, type$.dynamic), $async$call$0); case 2: // returning from await. t1._joinMeeting$0(); t1._isToShowJoinClassBtn = false; t1.notifyListeners$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.TempJitsiProvider__joinMeeting_closure.prototype = { call$1(message) { A.print__debugPrintThrottled$closure().call$1(this.options.room + " will join with message: " + A.S(message)); }, $signature: 177 }; A.TempJitsiProvider__joinMeeting_closure0.prototype = { call$1(message) { A.print__debugPrintThrottled$closure().call$1(this.options.room + " joined with message: " + A.S(message)); }, $signature: 177 }; A.TempJitsiProvider__joinMeeting_closure1.prototype = { call$1(message) { var t1; A.print__debugPrintThrottled$closure().call$1(this.options.room + " terminated with message: " + A.S(message)); t1 = this.$this; t1._isFullScreenJisti = false; t1._isToShowJoinClassBtn = true; $.$get$JitsiMeetPlatform__instance().closeMeeting$0(); $.$get$JitsiMeetPlatform__instance().removeAllListeners$0(); t1.notifyListeners$0(); }, $signature: 177 }; A.TempJitsiProvider__joinMeeting_closure2.prototype = { call$1(message) { var t1; A.print__debugPrintThrottled$closure().call$1("readyToClose callback"); t1 = this.$this; t1._isFullScreenJisti = false; t1._isToShowJoinClassBtn = true; $.$get$JitsiMeetPlatform__instance().closeMeeting$0(); $.$get$JitsiMeetPlatform__instance().removeAllListeners$0(); t1.notifyListeners$0(); }, $signature: 5 }; A.TempJitsiProvider__joinMeeting_closure3.prototype = { call$1(message) { A.print__debugPrintThrottled$closure().call$1("message user: " + A.S(J.toString$0$(message))); }, $signature: 5 }; A._TempJitsiProvider_Object_ChangeNotifier.prototype = {}; A.TestsProvider.prototype = { getTestById$1(id) { return B.JSArray_methods.firstWhere$1(this._testList, new A.TestsProvider_getTestById_closure(id)); }, listTest$1$resourceId(resourceId) { return this.listTest$body$TestsProvider(resourceId); }, listTest$body$TestsProvider(resourceId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, data, tests, error, exception, $async$exception; var $async$listTest$1$resourceId = 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; $async$goto = 6; return A._asyncAwait(A.TestRepository_listTest(resourceId), $async$listTest$1$resourceId); case 6: // returning from await. response = $async$result; data = J.$index$asx(J.$index$asx(response.data, "data"), "rows"); tests = A._setArrayType([], type$.JSArray_TestModel); J.forEach$1$ax(data, new A.TestsProvider_listTest_closure(tests)); $async$self._testList = tests; $async$self.notifyListeners$0(); $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); A.print(error); throw $async$exception; // 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$listTest$1$resourceId, $async$completer); }, addTest$10$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$title(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, title) { return this.addTest$body$TestsProvider(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, title); }, addTest$body$TestsProvider(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, response, test, error, t1, exception, $async$exception; var $async$addTest$10$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$title = 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$self._tests_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 7; return A._asyncAwait(A.TestRepository_addTest(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, title), $async$addTest$10$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$title); case 7: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { test = A.TestModel_TestModel$fromMap(J.$index$asx(response.data, "data")); B.JSArray_methods.insert$2($async$self._testList, 0, test); $async$self.notifyListeners$0(); A.showToaster("Test has been posted", B.MaterialColor_Map_JNEaM_4283215696); } $async$returnValue = response; $async$next = [1]; // goto finally $async$goto = 5; break; $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self._tests_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$addTest$10$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$title, $async$completer); }, editTest$11$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$testId$title(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, testId, title) { return this.editTest$body$TestsProvider(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, testId, title); }, editTest$body$TestsProvider(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, testId, title) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Response_dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, response, test, index, error, t1, exception, $async$exception; var $async$editTest$11$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$testId$title = 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$self._tests_provider$_isLoading = true; $async$self.notifyListeners$0(); $async$goto = 7; return A._asyncAwait(A.TestRepository_editTest(canSkipQuestion, deadLineBy, hasDeadline, instruction, isPublished, resourceId, showMarksInQuestion, showObtainedMarks, startDate, testId, title), $async$editTest$11$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$testId$title); case 7: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { test = A.TestModel_TestModel$fromMap(J.$index$asx(response.data, "data")); index = B.JSArray_methods.indexWhere$1($async$self._testList, new A.TestsProvider_editTest_closure(testId)); $async$self._testList[index] = test; $async$self.notifyListeners$0(); A.showToaster("Test has been edited", B.MaterialColor_Map_JNEaM_4283215696); } $async$returnValue = response; $async$next = [1]; // goto finally $async$goto = 5; break; $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self._tests_provider$_isLoading = false; $async$self.notifyListeners$0(); // goto the next finally handler $async$goto = $async$next.pop(); 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$editTest$11$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$testId$title, $async$completer); }, deleteTest$1$testId(testId) { return this.deleteTest$body$TestsProvider(testId); }, deleteTest$body$TestsProvider(testId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, response, index, error, t1, exception, $async$exception; var $async$deleteTest$1$testId = 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; $async$goto = 6; return A._asyncAwait(A.TestRepository_deleteTest(testId), $async$deleteTest$1$testId); case 6: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { index = B.JSArray_methods.indexWhere$1($async$self._testList, new A.TestsProvider_deleteTest_closure(testId)); B.JSArray_methods.removeAt$1($async$self._testList, index); $async$self.notifyListeners$0(); A.showToaster("Test has been deleted", B.MaterialColor_Map_JNc9P_4294198070); } $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; t1 = A.unwrapException($async$exception); if (t1 instanceof A.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); throw $async$exception; } else throw $async$exception; // 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$deleteTest$1$testId, $async$completer); }, deleteTestsOnCascade$1(resourceId) { var testIds = A._setArrayType([], type$.JSArray_int), t1 = this._testList; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.TestsProvider_deleteTestsOnCascade_closure(resourceId, testIds), true); $.$get$locator().call$1$0(type$.QuestionProvider).deleteQuestionOnCascade$1(testIds); }, $isListenable: 1 }; A.TestsProvider_getTestById_closure.prototype = { call$1(test) { return test.id === this.id; }, $signature: 133 }; A.TestsProvider_listTest_closure.prototype = { call$1(element) { this.tests.push(A.TestModel_TestModel$fromMap(element)); }, $signature: 6 }; A.TestsProvider_editTest_closure.prototype = { call$1(element) { return element.id == this.testId; }, $signature: 133 }; A.TestsProvider_deleteTest_closure.prototype = { call$1(element) { return element.id == this.testId; }, $signature: 133 }; A.TestsProvider_deleteTestsOnCascade_closure.prototype = { call$1(test) { var t1; if (test.resourceId === this.resourceId) { t1 = test.id; t1.toString; this.testIds.push(t1); return true; } return false; }, $signature: 133 }; A._TestsProvider_Object_ChangeNotifier.prototype = {}; A.TextFieldProvider.prototype = {$isListenable: 1}; A._TextFieldProvider_Object_ChangeNotifier.prototype = {}; A.AdminSideDrawer.prototype = { build$1(_, context) { var _null = null, t1 = $.$get$DraclmsTheme_primaryColor(), t2 = $.$get$DraclmsTheme_borderColor(), t3 = A.ScrollController$(_null, 0, true), t4 = A._setArrayType([A.Container$(_null, A.Center$(new A.SizedBox(1 / 0, _null, A.Text$("Rooms", _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(22, 22, 22, 22), _null, _null, 1 / 0)], type$.JSArray_Widget); B.JSArray_methods.addAll$1(t4, this._sideBarBtnList$0()); return A.Container$(_null, A.ListView$(true, true, t4, t3, new A.UniqueKey(), _null, _null, B.Axis_1, true), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, new A.Border(new A.BorderSide(t2, 0.1, B.BorderStyle_1), B.BorderSide_0CF, B.BorderSide_0CF, new A.BorderSide(t2, 0.1, B.BorderStyle_1)), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null); }, _sideBarBtnList$0() { var _this = this; return A._setArrayType([_this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure(_this), "Batches"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure0(_this), "Classes"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure1(_this), "Sections"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure2(_this), "Subjects"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure3(_this), "Teachers"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure4(_this), "Students"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure5(_this), "Manage Teacher"), _this._buildSideBarBtn$2$onTap$title(new A.AdminSideDrawer__sideBarBtnList_closure6(_this), "Manage Student")], type$.JSArray_Widget); }, onPressed$0() { var t1 = type$.NavigationService; $.$get$locator().call$1$0(t1); if ($.$get$NavigationService_navigatorKey().get$currentState()._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650) { $.$get$locator().call$1$0(t1); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); } }, _buildSideBarBtn$2$onTap$title(onTap, title) { var _null = null, t1 = $.$get$DraclmsTheme_primaryColor(), t2 = $.$get$DraclmsTheme_borderColor(); return A.GestureDetector$(_null, A.Container$(_null, A.Center$(new A.SizedBox(1 / 0, _null, A.Text$(title, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, new A.Border(new A.BorderSide(t2, 1, B.BorderStyle_1), B.BorderSide_0CF, new A.BorderSide(t2, 1, B.BorderStyle_1), B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(22, 22, 22, 22), _null, _null, 1 / 0), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, onTap, _null, _null, _null, _null, _null, _null, _null); } }; A.AdminSideDrawer__sideBarBtnList_closure.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.BatchesContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure0.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.ClassesContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure1.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.SectionContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure2.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.SubjectContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure3.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.TeacherContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure4.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = new A.StudentContentView(null); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure5.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = A.ManageTeacherStudentView$("teacher"); t1.notifyListeners$0(); this.$this.onPressed$0(); }, $signature: 0 }; A.AdminSideDrawer__sideBarBtnList_closure6.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 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._contentViewWidget = A.ManageTeacherStudentView$("student"); t1.notifyListeners$0(); $async$self.$this.onPressed$0(); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.BatchesContentView.prototype = { _batches_content_view$_showAddBatchDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.BatchesContentView__showAddBatchDialog_closure(), t1, null, true, type$.dynamic); }, build$1(_, context) { var _null = null; return A.ListView$(true, true, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.Text$("Batch", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.CustomFilterWidget(false, false, false, false, false, this.get$_batches_content_view$_showAddBatchDialog(), _null, new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.BatchesContentView_build_closure(this), type$.AdminBatchProvider)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, true); }, _batches_content_view$_buildList$2(context, batchProvider) { return A.List_List$generate(batchProvider._batchList.length, new A.BatchesContentView__buildList_closure(batchProvider, context), true, type$.Widget); } }; A.BatchesContentView__showAddBatchDialog_closure.prototype = { call$1(context) { return new A.BatchForm(null); }, $signature: 604 }; A.BatchesContentView_build_closure.prototype = { call$3(context, data, child) { var t1, _null = null; if (data._admin_batch_provider$_isLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else if (data._batchList.length === 0) t1 = A.Center$(A.Text$("There is no batches added.", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t1 = this.$this; t1 = A.ResponsiveValue$(context, A.GridView$count(6, t1._batches_content_view$_buildList$2(context, data), _null, 3, 10, 10, _null, _null, true), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.ListView$(true, true, t1._batches_content_view$_buildList$2(context, data), _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 608 }; A.BatchesContentView__buildList_closure.prototype = { call$1(index) { var t1 = this.batchProvider, batchModel = t1._batchList[index]; return A.AdminContentCard$(B.IconData_57549_MaterialIcons_null_false, true, new A.BatchesContentView__buildList__closure(this.context, t1, batchModel), new A.BatchesContentView__buildList__closure0(), new A.BatchesContentView__buildList__closure1(batchModel), "", "Batch: " + A.S(batchModel.name)); }, $signature: 87 }; A.BatchesContentView__buildList__closure1.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.batchModel.name; t2.toString; $async$goto = 2; return A._asyncAwait(t1.changeBatch$5$isThereBatch$isThereClass$isThereSection$isThereSubject(t2, true, true, true, true), $async$call$0); case 2: // returning from await. A.showToaster("Batch has been selected", B.MaterialColor_Map_JNEaM_4283215696); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.BatchesContentView__buildList__closure.prototype = { call$0() { return A.deleteAlert(new A.BatchesContentView__buildList___closure(this.context, this.batchProvider, this.batchModel), "Batch"); }, $signature: 0 }; A.BatchesContentView__buildList___closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.batchModel.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.batchProvider.deleteBatch$1$batchId(t1), $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: 18 }; A.BatchesContentView__buildList__closure0.prototype = { call$0() { }, $signature: 3 }; A.ClassesContentView.prototype = { _showAddClassDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.ClassesContentView__showAddClassDialog_closure(), t1, null, true, type$.dynamic); }, build$1(_, context) { var _null = null; return A.ListView$(true, true, A._setArrayType([A.Text$("Classes", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.CustomFilterWidget(true, false, false, false, false, this.get$_showAddClassDialog(), _null, new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), this._buildClassList$0()], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, true); }, _buildClassList$0() { return A.Consumer$(new A.ClassesContentView__buildClassList_closure(this), type$.AdminClassProvider); }, _buildList$2(context, classProvider) { var index, _length = classProvider._classList.length, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) _list[index] = new A.AdminContentCard(A.S(classProvider._classList[index].name), B.IconData_58091_MaterialIcons_null_false, new A.ClassesContentView__buildList_closure(context, classProvider, index), new A.ClassesContentView__buildList_closure0(classProvider, index), null, "", false, null); return _list; } }; A.ClassesContentView__showAddClassDialog_closure.prototype = { call$1(context) { return new A.ClassAddDialog(null); }, $signature: 630 }; A.ClassesContentView__buildClassList_closure.prototype = { call$3(context, data, child) { var t1, _null = null; if (data._admin_class_provider$_isLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else if (data._classList.length === 0) t1 = A.Center$(A.Text$("There is no any classes in this batch", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t1 = this.$this; t1 = A.ResponsiveValue$(context, A.GridView$count(3.5, t1._buildList$2(context, data), _null, 4, 10, 10, _null, _null, true), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.ListView$(true, true, t1._buildList$2(context, data), _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 633 }; A.ClassesContentView__buildList_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.classProvider._classList[$async$self.index].name; t2.toString; $async$goto = 2; return A._asyncAwait(t1.setClass$4$isThereClass$isThereSection$isThereSubject(t2, true, true, true), $async$call$0); case 2: // returning from await. A.showToaster("Class has been selected", B.MaterialColor_Map_JNEaM_4283215696); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.ClassesContentView__buildList_closure.prototype = { call$0() { return A.deleteAlert(new A.ClassesContentView__buildList__closure(this.context, this.classProvider, this.index), "Class"); }, $signature: 0 }; A.ClassesContentView__buildList__closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.classProvider; t2 = t1._classList[$async$self.index].id; t2.toString; $async$goto = 2; return A._asyncAwait(t1.deleteClass$1$classId(t2), $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: 18 }; A.AddUserDialog.prototype = { createState$0() { return new A._AddUserDialogState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); } }; A._AddUserDialogState.prototype = { build$1(_, context) { var t1, _this = this, _null = null; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650) { t1 = _this._widget.isTeacher ? _this._add_user_dialog$_buildForm$0() : _this._buildStudentForm$0(); return A.Scaffold$(_null, _null, new A.Padding(B.EdgeInsets_24_24_24_24, A.Column$(A._setArrayType([new A.AlertTitleButton("Assign User", _null, _null), t1, new A.SizedBox(_null, 20, _null, _null), A.Row$(_this._assignUserActions$0(), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null, true, _null, _null); } else return _this._buildWebAddUserForm$0(); }, _buildWebAddUserForm$0() { var _null = null; return A.AlertDialog$(this._assignUserActions$0(), _null, _null, new A.Builder(new A._AddUserDialogState__buildWebAddUserForm_closure(this), _null), B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Assign User", _null, _null), _null); }, _addTeacher$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, error, t1, exception, $async$exception; var $async$_addTeacher$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 = 3; $async$self.setState$1(new A._AddUserDialogState__addTeacher_closure($async$self)); $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminTeacherProvider).addAdminTeacher$0(), $async$_addTeacher$0); case 6: // returning from await. t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self.setState$1(new A._AddUserDialogState__addTeacher_closure0($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_addTeacher$0, $async$completer); }, _addStudent$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, error, t1, exception, $async$exception; var $async$_addStudent$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 = 3; $async$self.setState$1(new A._AddUserDialogState__addStudent_closure($async$self)); $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminStudentProvider).addStudentToSection$0(), $async$_addStudent$0); case 6: // returning from await. t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self.setState$1(new A._AddUserDialogState__addStudent_closure0($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_addStudent$0, $async$completer); }, _assignUserActions$0() { var _this = this, _null = null, t1 = _this._widget.isTeacher ? _this.get$_addTeacher() : _this.get$_addStudent(), t2 = _this._add_user_dialog$_isLoading, t3 = type$.MediaQuery, t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 50 : 40; t1 = A.roundButton(_null, _null, t4, t2, t1, _null, "Save", _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 120 : 80); t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 20 : 5; return A._setArrayType([t1, new A.SizedBox(t2, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._AddUserDialogState__assignUserActions_closure(_this), _null)], type$.JSArray_Widget); }, _add_user_dialog$_buildForm$0() { return A.Consumer$(new A._AddUserDialogState__buildForm_closure(this), type$.AdminTeacherProvider); }, _buildStudentForm$0() { return A.Consumer$(new A._AddUserDialogState__buildStudentForm_closure(this), type$.AdminStudentProvider); } }; A._AddUserDialogState__buildWebAddUserForm_closure.prototype = { call$1(context) { var t3, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; t3 = this.$this; t3 = t3._widget.isTeacher ? t3._add_user_dialog$_buildForm$0() : t3._buildStudentForm$0(); return A.Container$(_null, t3, B.Clip_0, _null, _null, _null, _null, t1 * 0.7, _null, _null, new A.EdgeInsets(25, 0, 25, 0), _null, _null, t2 * 0.5); }, $signature: 142 }; A._AddUserDialogState__addTeacher_closure.prototype = { call$0() { this.$this._add_user_dialog$_isLoading = true; }, $signature: 0 }; A._AddUserDialogState__addTeacher_closure0.prototype = { call$0() { this.$this._add_user_dialog$_isLoading = false; }, $signature: 0 }; A._AddUserDialogState__addStudent_closure.prototype = { call$0() { this.$this._add_user_dialog$_isLoading = true; }, $signature: 0 }; A._AddUserDialogState__addStudent_closure0.prototype = { call$0() { this.$this._add_user_dialog$_isLoading = false; }, $signature: 0 }; A._AddUserDialogState__assignUserActions_closure.prototype = { call$0() { var t1 = this.$this; if (!t1._add_user_dialog$_isLoading) { t1 = t1._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); } return null; }, $signature: 0 }; A._AddUserDialogState__buildForm_closure.prototype = { call$3(ctx, data, child) { var t4, t5, t6, _null = null, t1 = this.$this, t2 = $.$get$DraclmsTheme_expnadedCard(), t3 = data._mapSelectedTeacher; t3 = t3.get$values(t3); t2 = A.Container$(_null, A.Text$("" + t3.get$length(t3) + " Selected", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t3 = type$.MediaQuery; t4 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 600 : 300; if (data._addTeacherList.length === 0) t3 = A.Center$(A.Text$("No Teachers Added yet", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t5 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 2 : 3; t6 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 10 : 20; t3 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 10 : 20; t6 = A.GridView$builder(_null, B.DragStartBehavior_1, new A.SliverGridDelegateWithFixedCrossAxisCount(t5, t3, t6, 1.2), new A._AddUserDialogState__buildForm__closure(data), data._addTeacherList.length, _null); t3 = t6; } return A.Container$(_null, A.Form$(_null, A.Column$(A._setArrayType([new A.SearchFilterTextField(new A._AddUserDialogState__buildForm__closure0(t1), _null, _null), new A.SizedBox(_null, 20, _null, _null), t2, new A.SizedBox(_null, 10, _null, _null), A.Container$(_null, t3, B.Clip_0, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), t1._add_user_dialog$_formKey), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 644 }; A._AddUserDialogState__buildForm__closure0.prototype = { call$1(value) { return value; }, $signature: 9 }; A._AddUserDialogState__buildForm__closure.prototype = { call$2(context, index) { var t4, t5, t6, _null = null, t1 = this.data, teacherModel = t1._addTeacherList[index], t2 = A.Icon$(B.IconData_62754_MaterialIcons_null_false, _null, _null), t3 = teacherModel.fullName; t3.toString; t4 = type$.JSArray_Widget; t3 = A.Row$(A._setArrayType([t2, new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t2 = $.$get$DraclmsTheme_primaryColor(); t5 = $.$get$DraclmsTheme_mainColor(); t6 = teacherModel.id; t6.toString; t6 = t1._mapSelectedTeacher.containsKey$1(0, t6) ? "Un-Select" : "Select"; return A.Card$(new A.Padding(B.EdgeInsets_20_20_20_20, A.Column$(A._setArrayType([t3, new A.SizedBox(_null, 10, _null, _null), A.roundButton(new A.BorderSide(t5, 1, B.BorderStyle_1), t2, _null, false, new A._AddUserDialogState__buildForm___closure(t1, teacherModel), A.DraclmsTheme_title2Style().copyWith$1$color($.$get$DraclmsTheme_mainColor()), t6, _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null, _null, _null, _null, _null, _null); }, $signature: 147 }; A._AddUserDialogState__buildForm___closure.prototype = { call$0() { var t4, t1 = this.data, t2 = this.teacherModel, t3 = t2.id; t3.toString; t4 = t1._mapSelectedTeacher; if (t4.containsKey$1(0, t3)) t4.remove$1(0, t3); else t4.$indexSet(0, t3, t2); t1.notifyListeners$0(); }, $signature: 3 }; A._AddUserDialogState__buildStudentForm_closure.prototype = { call$3(ctx, data, child) { var t4, t5, _null = null, t1 = this.$this, t2 = $.$get$DraclmsTheme_expnadedCard(), t3 = data._selectedStudentMap; t3 = t3.get$values(t3); t2 = A.Container$(_null, A.Text$("" + t3.get$length(t3) + " Selected", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); if (data._addStudentList.length === 0) t3 = A.Center$(A.Text$("No Student Found", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t3 = type$.MediaQuery; t4 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 2 : 3; t5 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 10 : 20; t3 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx < 650 ? 10 : 20; t5 = A.GridView$builder(_null, B.DragStartBehavior_1, new A.SliverGridDelegateWithFixedCrossAxisCount(t4, t3, t5, 1.2), new A._AddUserDialogState__buildStudentForm__closure(data), data._addStudentList.length, _null); t3 = t5; } return A.Container$(_null, A.Form$(_null, A.Column$(A._setArrayType([new A.SearchFilterTextField(new A._AddUserDialogState__buildStudentForm__closure0(t1), _null, _null), new A.SizedBox(_null, 20, _null, _null), t2, new A.SizedBox(_null, 10, _null, _null), A.Container$(_null, t3, B.Clip_0, _null, _null, _null, _null, 300, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), t1._add_user_dialog$_formKey), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 649 }; A._AddUserDialogState__buildStudentForm__closure0.prototype = { call$1(value) { return value; }, $signature: 9 }; A._AddUserDialogState__buildStudentForm__closure.prototype = { call$2(context, index) { var t4, t5, t6, _null = null, t1 = this.data, teacherModel = t1._addStudentList[index], t2 = A.Icon$(B.IconData_62754_MaterialIcons_null_false, _null, _null), t3 = teacherModel.fullName; t3.toString; t4 = type$.JSArray_Widget; t3 = A.Row$(A._setArrayType([t2, new A.SizedBox(10, _null, _null, _null), A.Expanded$(A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t2 = $.$get$DraclmsTheme_primaryColor(); t5 = $.$get$DraclmsTheme_mainColor(); t6 = teacherModel.id; t6.toString; t6 = t1._selectedStudentMap.containsKey$1(0, t6) ? "Un-Select" : "Select"; return A.Card$(new A.Padding(B.EdgeInsets_20_20_20_20, A.Column$(A._setArrayType([t3, new A.SizedBox(_null, 10, _null, _null), A.roundButton(new A.BorderSide(t5, 1, B.BorderStyle_1), t2, _null, false, new A._AddUserDialogState__buildStudentForm___closure(t1, teacherModel), A.DraclmsTheme_title2Style().copyWith$1$color($.$get$DraclmsTheme_mainColor()), t6, _null)], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null, _null, _null, _null, _null, _null); }, $signature: 147 }; A._AddUserDialogState__buildStudentForm___closure.prototype = { call$0() { var t4, t1 = this.data, t2 = this.teacherModel, t3 = t2.id; t3.toString; t4 = t1._selectedStudentMap; if (t4.containsKey$1(0, t3)) t4.remove$1(0, t3); else t4.$indexSet(0, t3, t2); t1.notifyListeners$0(); }, $signature: 3 }; A.BatchForm.prototype = { createState$0() { return new A._BatchFormState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), $.$get$locator().call$1$0(type$.AdminBatchProvider)._languageList, B._StateLifecycle_0); } }; A._BatchFormState.prototype = { didChangeDependencies$0() { var t1, t2, _this = this; _this.super$State$didChangeDependencies(); if (_this._batch_form$_isInit) { t1 = _this._languageModel; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>"); _this._languages = A.List_List$of(new A.MappedListIterable(t1, new A._BatchFormState_didChangeDependencies_closure(), t2), true, t2._eval$1("ListIterable.E")); $.$get$locator().call$1$0(type$.AdminBatchProvider).languageIdByName$0(); } _this._batch_form$_isInit = false; }, _addBatch$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, languageId, error, t1, t2, t3, exception, $async$exception; var $async$_addBatch$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._batch_form$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); t1 = type$.AdminBatchProvider; languageId = $.$get$locator().call$1$0(t1)._languageId; $async$goto = !J.$eq$(languageId, -1) ? 7 : 9; break; case 7: // then t1 = $.$get$locator().call$1$0(t1); t2 = $async$self._code; t3 = $async$self._batch_form$_name; $async$goto = 10; return A._asyncAwait(t1.addBatch$4$code$isActive$languageId$name(t2, $async$self._isActive, languageId, t3), $async$_addBatch$0); case 10: // returning from await. t3 = $async$self._framework$_element; t3.toString; A.Navigator_of(t3, false).pop$1(0, null); // goto join $async$goto = 8; break; case 9: // else A.showToaster("Language is not correct", B.MaterialColor_Map_JNc9P_4294198070); case 8: // join $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(error); A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); // 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 case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_addBatch$0, $async$completer); }, build$1(_, context) { var _this = this, _null = null, _s9_ = "Add Batch", t1 = type$.MediaQuery, t2 = type$.JSArray_Widget, t3 = _this._batch_form$_formKey; if (context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650) return A.Scaffold$(_null, _null, new A.Padding(B.EdgeInsets_24_24_24_24, A.Form$(_null, A.Column$(A._setArrayType([new A.AlertTitleButton(_s9_, _null, _null), A.Column$(A._setArrayType([_this._buildLanguageDropDown$0(), new A.SizedBox(_null, 25, _null, _null), _this._buildCodeTextField$0(), new A.SizedBox(_null, 25, _null, _null), _this._buildBatchTextField$0(), new A.SizedBox(_null, 25, _null, _null), _this._buildIsActiveCheckBox$0()], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), new A.SizedBox(_null, 40, _null, _null), A.Row$(_this._buildBatchFormActions$0(), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), t3), _null), _null, true, _null, _null); else { t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; t1 = A.Container$(_null, A.Form$(_null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(_this._buildLanguageDropDown$0(), 1), new A.SizedBox(10, _null, _null, _null), A.Expanded$(_this._buildCodeTextField$0(), 1), new A.SizedBox(10, _null, _null, _null), A.Expanded$(_this._buildBatchTextField$0(), 1), new A.SizedBox(10, _null, _null, _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 10, _null, _null), _this._buildIsActiveCheckBox$0()], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), t3), B.Clip_0, _null, _null, _null, _null, t1 * 0.2, _null, _null, new A.EdgeInsets(25, 0, 25, 0), _null, _null, _null); return A.AlertDialog$(_this._buildBatchFormActions$0(), _null, _null, t1, B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton(_s9_, _null, _null), _null); } }, _buildBatchFormActions$0() { var _this = this, _null = null, t1 = type$.MediaQuery, t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 50 : 40, t3 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 120 : 80; t3 = A.roundButton(_null, _null, t2, false, _this.get$_addBatch(), _null, "Add", t3); t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 5; return A._setArrayType([t3, new A.SizedBox(t1, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._BatchFormState__buildBatchFormActions_closure(_this), _null)], type$.JSArray_Widget); }, _buildLanguageDropDown$0() { return A.Consumer$(new A._BatchFormState__buildLanguageDropDown_closure(this), type$.AdminBatchProvider); }, _buildCodeTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Code", 1, _null, new A._BatchFormState__buildCodeTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildBatchTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Batch Name", 1, _null, new A._BatchFormState__buildBatchTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildIsActiveCheckBox$0() { return new A.CheckBox(this._isActive, "Is Active?", new A._BatchFormState__buildIsActiveCheckBox_closure(this), B.Color_4278190080, null); } }; A._BatchFormState_didChangeDependencies_closure.prototype = { call$1(e) { return e.displayName; }, $signature: 650 }; A._BatchFormState__buildBatchFormActions_closure.prototype = { call$0() { var t1 = this.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); return null; }, $signature: 0 }; A._BatchFormState__buildLanguageDropDown_closure.prototype = { call$3(context, data, child) { var t1 = this.$this._languages; t1.toString; return new A.CustomDropDown(t1, data._selectedLanguage, "Language", false, new A._BatchFormState__buildLanguageDropDown__closure(data), null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 231 }; A._BatchFormState__buildLanguageDropDown__closure.prototype = { call$1(value) { return this.data.languageIdByName$1$languageName(value); }, $signature: 6 }; A._BatchFormState__buildCodeTextField_closure.prototype = { call$1(value) { return this.$this._code = value; }, $signature: 9 }; A._BatchFormState__buildBatchTextField_closure.prototype = { call$1(value) { return this.$this._batch_form$_name = value; }, $signature: 9 }; A._BatchFormState__buildIsActiveCheckBox_closure.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._BatchFormState__buildIsActiveCheckBox__closure(t1, value)); }, $signature: 5 }; A._BatchFormState__buildIsActiveCheckBox__closure.prototype = { call$0() { var t1 = this.value; t1.toString; this.$this._isActive = t1; }, $signature: 0 }; A.ClassAddDialog.prototype = { createState$0() { return new A._ClassAddDialogState($.$get$locator().call$1$0(type$.AdminClassProvider)._addClassList, B._StateLifecycle_0); } }; A._ClassAddDialogState.prototype = { _addClass$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, classId, mapSelectedClass, error, t1, exception, $async$exception; var $async$_addClass$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 = 3; $async$self.setState$1(new A._ClassAddDialogState__addClass_closure($async$self)); classId = A._setArrayType([], type$.JSArray_int); if ($async$self._class_add_dialog$_isAllSelected) B.JSArray_methods.forEach$1($async$self._class_add_dialog$_addClassList, new A._ClassAddDialogState__addClass_closure0(classId)); else { mapSelectedClass = $.$get$locator().call$1$0(type$.AdminClassProvider)._mapSelectedClass; if (J.get$isNotEmpty$asx(mapSelectedClass)) J.forEach$1$ax(mapSelectedClass, new A._ClassAddDialogState__addClass_closure1(classId)); } $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminClassProvider).addClass$1$classIds(classId), $async$_addClass$0); case 6: // returning from await. $async$self.setState$1(new A._ClassAddDialogState__addClass_closure2($async$self)); t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); $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); A.print(error); $async$self.setState$1(new A._ClassAddDialogState__addClass_closure3($async$self)); A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; // 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$_addClass$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, _this = this, _null = null, t1 = _this._class_add_dialog$_addClassList; if (t1.length === 0) t2 = new A.Padding(B.EdgeInsets_20_20_20_20, A.Text$("Sorry, no other classes can be added.", _null, _null, _null, _null, _null, _null, _null, _null), _null); else { t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx; $.SizeConfig_screenWidth = t2; t2 = A.Container$(_null, _this._class_add_dialog$_buildClassGridView$1(t1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(20, 10, 20, 10), _null, _null, t2 * 0.8); } t3 = _this._class_add_dialog$_isAllSelected; t4 = _this._class_add_dialog$_isAdding; t4 = A.roundButton(_null, _null, _null, t4, t1.length === 0 ? _null : _this.get$_addClass(), _null, "Add", _null); t1 = _this._class_add_dialog$_isAdding ? _null : new A._ClassAddDialogState_build_closure(context); t5 = type$.JSArray_Widget; return A.AlertDialog$(A._setArrayType([new A.Padding(B.EdgeInsets_10_0_10_0, A.Row$(A._setArrayType([new A.CheckBox(t3, "Check All", new A._ClassAddDialogState_build_closure0(_this), B.Color_4278190080, _null), new A.Spacer(_null), t4, new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, t1, _null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null)], t5), _null, _null, t2, B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Add Class to Batch", _null, _null), _null); }, _buildMasterClassCard$1(_masterClass) { return A.Consumer$(new A._ClassAddDialogState__buildMasterClassCard_closure(this, new A.UniqueKey(), _masterClass), type$.AdminClassProvider); }, _class_add_dialog$_buildClassGridView$1(addClassList) { var _length, _list, index, _this = this, t1 = type$.MediaQuery, t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 3, t3 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10, t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 6; _length = addClassList.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) _list[index] = _this._buildMasterClassCard$1(addClassList[index]); return A.GridView$count(t1, _list, null, t2, t3, t4, null, null, true); } }; A._ClassAddDialogState__addClass_closure.prototype = { call$0() { this.$this._class_add_dialog$_isAdding = true; }, $signature: 0 }; A._ClassAddDialogState__addClass_closure0.prototype = { call$1(value) { var t1 = value.id; t1.toString; this.classId.push(t1); }, $signature: 232 }; A._ClassAddDialogState__addClass_closure1.prototype = { call$2(key, value) { var t1 = value.id; t1.toString; this.classId.push(t1); }, $signature: 233 }; A._ClassAddDialogState__addClass_closure2.prototype = { call$0() { this.$this._class_add_dialog$_isAdding = false; }, $signature: 0 }; A._ClassAddDialogState__addClass_closure3.prototype = { call$0() { this.$this._class_add_dialog$_isAdding = false; }, $signature: 0 }; A._ClassAddDialogState_build_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._ClassAddDialogState_build__closure(t1, value)); }, $signature: 5 }; A._ClassAddDialogState_build__closure.prototype = { call$0() { this.$this._class_add_dialog$_isAllSelected = this.value; }, $signature: 0 }; A._ClassAddDialogState_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._ClassAddDialogState__buildMasterClassCard_closure.prototype = { call$3(context, classProvider, child) { var _null = null, t1 = this.key, t2 = this._masterClass, t3 = A.BorderRadius$circular(8), t4 = this.$this._class_add_dialog$_isAllSelected || classProvider._mapSelectedClass.containsKey$1(0, t1) ? B.MaterialColor_Map_JNZaB_4294940672 : B.Color_4294967295, t5 = A.BorderRadius$circular(8), t6 = A.Duration$(0, 0, 0, 300, 0); return A.GestureDetector$(_null, A.Card$(A.AnimatedContainer$(B.Alignment_0_0, A.Text$(A.S(t2.name), _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, B.C__Linear, new A.BoxDecoration(t4, _null, _null, t5, _null, _null, B.BoxShape_0), t6, _null, 40, _null, _null), _null, 3, t1, _null, _null, new A.RoundedRectangleBorder(t3, B.BorderSide_0CF)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ClassAddDialogState__buildMasterClassCard__closure(classProvider, t1, t2), _null, _null, _null, _null, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 694 }; A._ClassAddDialogState__buildMasterClassCard__closure.prototype = { call$0() { var t1 = this.classProvider, t2 = this.key, t3 = t1._mapSelectedClass; if (t3.containsKey$1(0, t2)) t3.remove$1(0, t2); else t3.$indexSet(0, t2, this._masterClass); t1.notifyListeners$0(); }, $signature: 0 }; A.CreateNewUserDialog.prototype = { createState$0() { return new A._CreateNewUserDialogState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); } }; A._CreateNewUserDialogState.prototype = { build$1(_, context) { var t1, _this = this, _null = null; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650) { t1 = type$.JSArray_Widget; return A.Scaffold$(_null, _null, new A.Padding(B.EdgeInsets_24_24_24_24, A.Form$(_null, A.Column$(A._setArrayType([new A.AlertTitleButton("Create New User", _null, _null), new A.SizedBox(_null, 15, _null, _null), A.Column$(A._setArrayType([_this._buildFirstNameTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildMiddleNameTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildLastNameTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildEmailTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildPhoneTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._create_new_user_dialog$_buildPasswordTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildGenerateTextField$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildSendEmailCheckBox$0(), new A.SizedBox(_null, 20, _null, _null), _this._buildSendPhoneCheckBox$0()], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), new A.SizedBox(_null, 40, _null, _null), A.Row$(_this._buildCreateUserActions$0(), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._create_new_user_dialog$_formKey), _null), _null, true, _null, _null); } else return _this._buildWebCreateUserForm$0(); }, _buildWebCreateUserForm$0() { var _null = null; return A.AlertDialog$(this._buildCreateUserActions$0(), _null, _null, new A.Builder(new A._CreateNewUserDialogState__buildWebCreateUserForm_closure(this), _null), B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Create New User", _null, _null), _null); }, _buildCreateUserActions$0() { var _this = this, _null = null, t1 = _this._create_new_user_dialog$_isAdding, t2 = type$.MediaQuery, t3 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx < 650 ? 50 : 40; t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx < 650 ? 120 : 80; t2 = A.roundButton(_null, _null, t3, t1, _this.get$_addUser(), _null, "Save", t2); t1 = _this._create_new_user_dialog$_isAdding ? _null : new A._CreateNewUserDialogState__buildCreateUserActions_closure(_this); return A._setArrayType([t2, new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, t1, _null)], type$.JSArray_Widget); }, _addUser$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, $async$exception; var $async$_addUser$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._create_new_user_dialog$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } $async$self.setState$1(new A._CreateNewUserDialogState__addUser_closure($async$self)); t1.get$currentState().save$0(0); t1 = $.$get$locator().call$1$0(type$.AdminTeacherProvider); t2 = $async$self._firstName; t3 = $async$self._middleName; t4 = $async$self._lastName; t5 = $async$self._email; t6 = $async$self._phone; t7 = $async$self._create_new_user_dialog$_password; t8 = $async$self._create_new_user_dialog$_isEmail; t9 = $async$self._create_new_user_dialog$_isMobile; $async$goto = 7; return A._asyncAwait(t1.createNewTeacherOrStudent$10$email$firstName$generate$isTeacher$lastName$middleName$password$phone$sendToEmail$sendToPhone(t5, t2, $async$self._generate, $async$self._widget.isTeacher, t4, t3, t7, t6, t8, t9), $async$_addUser$0); case 7: // returning from await. $async$self.setState$1(new A._CreateNewUserDialogState__addUser_closure0($async$self)); A.showToaster("New Teacher has been created", B.MaterialColor_Map_JNEaM_4283215696); t9 = $async$self._framework$_element; t9.toString; A.Navigator_of(t9, false).pop$1(0, null); $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(error); $async$self.setState$1(new A._CreateNewUserDialogState__addUser_closure1($async$self)); A.showToaster("Teacher cannot be created", B.MaterialColor_Map_JNc9P_4294198070); 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$_addUser$0, $async$completer); }, _buildFirstNameTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "First Name", 1, _null, new A._CreateNewUserDialogState__buildFirstNameTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildMiddleNameTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Middle Name", 1, _null, new A._CreateNewUserDialogState__buildMiddleNameTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildLastNameTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Last Name", 1, _null, new A._CreateNewUserDialogState__buildLastNameTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildEmailTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Email", 1, _null, new A._CreateNewUserDialogState__buildEmailTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _buildPhoneTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Phone Number", 1, _null, new A._CreateNewUserDialogState__buildPhoneTextField_closure(this), _null, A.validator_Validator_validator$closure()); }, _create_new_user_dialog$_buildPasswordTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, true, true, _null, B.TextInputType_0_null_null, "Password", 1, _null, new A._CreateNewUserDialogState__buildPasswordTextField_closure(this), A.Icon$(B.IconData_61847_MaterialIcons_null_false, _null, _null), A.validator_Validator_validator$closure()); }, _buildGenerateTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, _null, B.TextInputType_0_null_null, "Generate", 1, _null, new A._CreateNewUserDialogState__buildGenerateTextField_closure(this), _null, _null); }, _buildSendEmailCheckBox$0() { return new A.CheckBox(this._create_new_user_dialog$_isEmail, "Send Email", new A._CreateNewUserDialogState__buildSendEmailCheckBox_closure(this), B.Color_4278190080, null); }, _buildSendPhoneCheckBox$0() { return new A.CheckBox(this._create_new_user_dialog$_isMobile, "Send Mobile", new A._CreateNewUserDialogState__buildSendPhoneCheckBox_closure(this), B.Color_4278190080, null); } }; A._CreateNewUserDialogState__buildWebCreateUserForm_closure.prototype = { call$1(context) { var t3, t4, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; t3 = this.$this; t4 = type$.JSArray_Widget; return A.Container$(_null, A.Container$(_null, A.Form$(_null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(t3._buildFirstNameTextField$0(), 1), new A.SizedBox(10, _null, _null, _null), A.Expanded$(t3._buildMiddleNameTextField$0(), 1), new A.SizedBox(10, _null, _null, _null), A.Expanded$(t3._buildLastNameTextField$0(), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.Row$(A._setArrayType([A.Expanded$(t3._buildEmailTextField$0(), 1), new A.SizedBox(12, _null, _null, _null), A.Expanded$(t3._buildPhoneTextField$0(), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.Row$(A._setArrayType([A.Expanded$(t3._create_new_user_dialog$_buildPasswordTextField$0(), 1), new A.SizedBox(12, _null, _null, _null), A.Expanded$(t3._buildGenerateTextField$0(), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 20, _null, _null), t3._buildSendEmailCheckBox$0(), new A.SizedBox(10, _null, _null, _null), t3._buildSendPhoneCheckBox$0()], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_4, B.MainAxisSize_1, B.VerticalDirection_1), t3._create_new_user_dialog$_formKey), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 300), B.Clip_0, _null, _null, _null, _null, t1 * 0.4, _null, _null, new A.EdgeInsets(25, 0, 25, 0), _null, _null, t2 * 0.5); }, $signature: 142 }; A._CreateNewUserDialogState__buildCreateUserActions_closure.prototype = { call$0() { var t1 = this.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); return null; }, $signature: 0 }; A._CreateNewUserDialogState__addUser_closure.prototype = { call$0() { this.$this._create_new_user_dialog$_isAdding = true; }, $signature: 0 }; A._CreateNewUserDialogState__addUser_closure0.prototype = { call$0() { this.$this._create_new_user_dialog$_isAdding = false; }, $signature: 0 }; A._CreateNewUserDialogState__addUser_closure1.prototype = { call$0() { this.$this._create_new_user_dialog$_isAdding = false; }, $signature: 0 }; A._CreateNewUserDialogState__buildFirstNameTextField_closure.prototype = { call$1(value) { return this.$this._firstName = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildMiddleNameTextField_closure.prototype = { call$1(value) { return this.$this._middleName = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildLastNameTextField_closure.prototype = { call$1(value) { return this.$this._lastName = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildEmailTextField_closure.prototype = { call$1(value) { return this.$this._email = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildPhoneTextField_closure.prototype = { call$1(value) { return this.$this._phone = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildPasswordTextField_closure.prototype = { call$1(value) { return this.$this._create_new_user_dialog$_password = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildGenerateTextField_closure.prototype = { call$1(value) { return this.$this._generate = value; }, $signature: 9 }; A._CreateNewUserDialogState__buildSendEmailCheckBox_closure.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._CreateNewUserDialogState__buildSendEmailCheckBox__closure(t1, value)); }, $signature: 5 }; A._CreateNewUserDialogState__buildSendEmailCheckBox__closure.prototype = { call$0() { var t1 = this.value; t1.toString; this.$this._create_new_user_dialog$_isEmail = t1; }, $signature: 0 }; A._CreateNewUserDialogState__buildSendPhoneCheckBox_closure.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._CreateNewUserDialogState__buildSendPhoneCheckBox__closure(t1, value)); }, $signature: 5 }; A._CreateNewUserDialogState__buildSendPhoneCheckBox__closure.prototype = { call$0() { var t1 = this.value; t1.toString; this.$this._create_new_user_dialog$_isMobile = t1; }, $signature: 0 }; A.ResetPasswordForm.prototype = { createState$0() { return new A._ResetPasswordFormState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); }, get$id(receiver) { return this.id; } }; A._ResetPasswordFormState.prototype = { _resetPassword$0() { var t2, _this = this, t1 = _this._reset_password_from$_formKey; if (t1.get$currentState().validate$0()) { t1.get$currentState().save$0(0); t1 = $.$get$locator().call$1$0(type$.ManageAccountProvider); t2 = _this._widget; t1.changeUserPassword$5$id$password$sendToEmail$sendToPhone$userType(t2.id, _this._reset_password_from$_password, _this._isEmail, _this._isMobile, t2.userType); t2 = _this._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, null); } }, build$1(_, context) { var _s14_ = "Reset Password", _null = null, t1 = $.$get$Platform_isAndroid() || $.$get$Platform_isIOS(), t2 = this.get$_resetPassword(), t3 = type$.JSArray_Widget; return t1 ? A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$(_s14_, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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, new A.Padding(new A.EdgeInsets(10, 10, 10, 10), A.Column$(A._setArrayType([A.Image$asset("assets/images/password.png", _null, _null, 212, 212), this._reset_password_from$_buildForm$0(), A.Row$(A._setArrayType([A.roundButton(_null, _null, _null, false, t2, _null, _s14_, _null), new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t3), B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], t3), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null, true, _null, _null) : A.AlertDialog$(A._setArrayType([A.roundButton(_null, _null, _null, false, t2, _null, _s14_, _null), new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t3), _null, _null, new A.Builder(new A._ResetPasswordFormState_build_closure(this), _null), B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton(_s14_, _null, _null), _null); }, _reset_password_from$_buildForm$0() { var _this = this, _null = null, t1 = type$.JSArray_Widget; return A.Form$(_null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.Expanded$(A.Consumer$(new A._ResetPasswordFormState__buildForm_closure(_this), type$.TextFieldProvider), 1)], t1), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 20, _null, _null), new A.CheckBox(_this._isEmail, "Send Email", new A._ResetPasswordFormState__buildForm_closure0(_this), B.Color_4278190080, _null), new A.SizedBox(10, _null, _null, _null), new A.CheckBox(_this._isMobile, "Send Mobile", new A._ResetPasswordFormState__buildForm_closure1(_this), B.Color_4278190080, _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._reset_password_from$_formKey); } }; A._ResetPasswordFormState_build_closure.prototype = { call$1(context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; return A.Container$(_null, this.$this._reset_password_from$_buildForm$0(), B.Clip_0, _null, _null, _null, _null, t1 * 0.3, _null, _null, new A.EdgeInsets(25, 0, 25, 0), _null, _null, t2 * 0.5); }, $signature: 142 }; A._ResetPasswordFormState__buildForm_closure.prototype = { call$3(context, value, child) { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _null, true, value._isPassword, _null, B.TextInputType_0_null_null, "Password", 1, _null, new A._ResetPasswordFormState__buildForm__closure1(this.$this), A.Icon$(B.IconData_61847_MaterialIcons_null_false, _null, _null), new A._ResetPasswordFormState__buildForm__closure2()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 234 }; A._ResetPasswordFormState__buildForm__closure2.prototype = { call$1(value) { var len = value.length; if (len === 0 || len < 6) return "Password must be at least 6 character"; }, $signature: 45 }; A._ResetPasswordFormState__buildForm__closure1.prototype = { call$1(value) { return this.$this._reset_password_from$_password = value; }, $signature: 9 }; A._ResetPasswordFormState__buildForm_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._ResetPasswordFormState__buildForm__closure0(t1, value)); }, $signature: 5 }; A._ResetPasswordFormState__buildForm__closure0.prototype = { call$0() { var t1 = this.value; t1.toString; this.$this._isEmail = t1; }, $signature: 0 }; A._ResetPasswordFormState__buildForm_closure1.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._ResetPasswordFormState__buildForm__closure(t1, value)); }, $signature: 5 }; A._ResetPasswordFormState__buildForm__closure.prototype = { call$0() { var t1 = this.value; t1.toString; this.$this._isMobile = t1; }, $signature: 0 }; A.SectionAddDialog.prototype = { createState$0() { return new A._SectionAddDialogState($.$get$locator().call$1$0(type$.AdminSectionProvider)._addSectionList, B._StateLifecycle_0); } }; A._SectionAddDialogState.prototype = { _section_add_dialog$_addSection$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, sectionIds, mapSelectedSection, error, t1, exception, $async$exception; var $async$_section_add_dialog$_addSection$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 = 3; $async$self.setState$1(new A._SectionAddDialogState__addSection_closure($async$self)); sectionIds = A._setArrayType([], type$.JSArray_int); if ($async$self._section_add_dialog$_isAllSelected) B.JSArray_methods.forEach$1($async$self._section_add_dialog$_addSectionList, new A._SectionAddDialogState__addSection_closure0(sectionIds)); else { mapSelectedSection = $.$get$locator().call$1$0(type$.AdminSectionProvider)._mapSelectedSection; if (J.get$isNotEmpty$asx(mapSelectedSection)) J.forEach$1$ax(mapSelectedSection, new A._SectionAddDialogState__addSection_closure1(sectionIds)); } $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminSectionProvider).addSections$1$sectionIds(sectionIds), $async$_section_add_dialog$_addSection$0); case 6: // returning from await. $async$self.setState$1(new A._SectionAddDialogState__addSection_closure2($async$self)); t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); $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); $async$self.setState$1(new A._SectionAddDialogState__addSection_closure3($async$self)); A.print(error); A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; // 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$_section_add_dialog$_addSection$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, _this = this, _null = null, t1 = _this._section_add_dialog$_addSectionList; if (t1.length === 0) t2 = new A.Padding(B.EdgeInsets_20_20_20_20, A.Text$("Sorry, no other sections can be added.", _null, _null, _null, _null, _null, _null, _null, _null), _null); else { t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx; $.SizeConfig_screenWidth = t2; t2 = A.Container$(_null, _this._buildSectionGridView$1(t1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(20, 10, 20, 10), _null, _null, t2 * 0.8); } t3 = _this._section_add_dialog$_isAllSelected; t4 = _this._section_add_dialog$_isAdding; t4 = A.roundButton(_null, _null, _null, t4, t1.length === 0 ? _null : _this.get$_section_add_dialog$_addSection(), _null, "Add", _null); t1 = _this._section_add_dialog$_isAdding ? _null : new A._SectionAddDialogState_build_closure(context); t5 = type$.JSArray_Widget; return A.AlertDialog$(A._setArrayType([new A.Padding(B.EdgeInsets_10_0_10_0, A.Row$(A._setArrayType([new A.CheckBox(t3, "Check All", new A._SectionAddDialogState_build_closure0(_this), B.Color_4278190080, _null), new A.Spacer(_null), t4, new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, t1, _null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null)], t5), _null, _null, t2, B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Add Section to Class", _null, _null), _null); }, _buildSectionGridView$1(addSectionList) { var _length, _list, index, _this = this, t1 = type$.MediaQuery, t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 3, t3 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10, t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 6; _length = addSectionList.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) _list[index] = _this._section_add_dialog$_buildAddSectionCard$1(addSectionList[index]); return A.GridView$count(t1, _list, null, t2, t3, t4, null, null, true); }, _section_add_dialog$_buildAddSectionCard$1(addSectionModel) { return A.Consumer$(new A._SectionAddDialogState__buildAddSectionCard_closure(this, new A.UniqueKey(), addSectionModel), type$.AdminSectionProvider); } }; A._SectionAddDialogState__addSection_closure.prototype = { call$0() { this.$this._section_add_dialog$_isAdding = true; }, $signature: 0 }; A._SectionAddDialogState__addSection_closure0.prototype = { call$1(value) { var t1 = value.id; t1.toString; this.sectionIds.push(t1); }, $signature: 232 }; A._SectionAddDialogState__addSection_closure1.prototype = { call$2(key, value) { var t1 = value.id; t1.toString; this.sectionIds.push(t1); }, $signature: 233 }; A._SectionAddDialogState__addSection_closure2.prototype = { call$0() { this.$this._section_add_dialog$_isAdding = false; }, $signature: 0 }; A._SectionAddDialogState__addSection_closure3.prototype = { call$0() { this.$this._section_add_dialog$_isAdding = false; }, $signature: 0 }; A._SectionAddDialogState_build_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._SectionAddDialogState_build__closure(t1, value)); }, $signature: 5 }; A._SectionAddDialogState_build__closure.prototype = { call$0() { this.$this._section_add_dialog$_isAllSelected = this.value; }, $signature: 0 }; A._SectionAddDialogState_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._SectionAddDialogState__buildAddSectionCard_closure.prototype = { call$3(context, data, child) { var _null = null, t1 = this.key, t2 = this.addSectionModel, t3 = A.BorderRadius$circular(8), t4 = this.$this._section_add_dialog$_isAllSelected || data._mapSelectedSection.containsKey$1(0, t1) ? B.MaterialColor_Map_JNZaB_4294940672 : B.Color_4294967295, t5 = A.BorderRadius$circular(8), t6 = A.Duration$(0, 0, 0, 300, 0); return A.GestureDetector$(_null, A.Card$(A.AnimatedContainer$(B.Alignment_0_0, A.Text$(A.S(t2.name), _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), _null, _null, B.C__Linear, new A.BoxDecoration(t4, _null, _null, t5, _null, _null, B.BoxShape_0), t6, _null, 40, _null, _null), _null, 3, t1, _null, _null, new A.RoundedRectangleBorder(t3, B.BorderSide_0CF)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._SectionAddDialogState__buildAddSectionCard__closure(data, t1, t2), _null, _null, _null, _null, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 730 }; A._SectionAddDialogState__buildAddSectionCard__closure.prototype = { call$0() { var t1 = this.data, t2 = this.key, t3 = t1._mapSelectedSection; if (t3.containsKey$1(0, t2)) t3.remove$1(0, t2); else t3.$indexSet(0, t2, this.addSectionModel); t1.notifyListeners$0(); }, $signature: 0 }; A.SubjectAddDialog.prototype = { createState$0() { return new A._SubjectAddDialogState($.$get$locator().call$1$0(type$.AdminSubjectProvider)._addSubjectList, B._StateLifecycle_0); } }; A._SubjectAddDialogState.prototype = { _addSection$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, subjectIds, mapSelectedSection, error, t1, exception, $async$exception; var $async$_addSection$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 = 3; $async$self.setState$1(new A._SubjectAddDialogState__addSection_closure($async$self)); subjectIds = A._setArrayType([], type$.JSArray_int); if ($async$self._isAllSelected) B.JSArray_methods.forEach$1($async$self._subject_add_dialog$_addSubjectList, new A._SubjectAddDialogState__addSection_closure0(subjectIds)); else { mapSelectedSection = $.$get$locator().call$1$0(type$.AdminSubjectProvider)._mapSelectedSubject; if (J.get$isNotEmpty$asx(mapSelectedSection)) J.forEach$1$ax(mapSelectedSection, new A._SubjectAddDialogState__addSection_closure1(subjectIds)); } $async$goto = 6; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminSubjectProvider).addAdminSubjects$1$subjectIds(subjectIds), $async$_addSection$0); case 6: // returning from await. $async$self.setState$1(new A._SubjectAddDialogState__addSection_closure2($async$self)); t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); $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); A.print(error); $async$self.setState$1(new A._SubjectAddDialogState__addSection_closure3($async$self)); A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; // 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$_addSection$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, _this = this, _null = null, t1 = _this._subject_add_dialog$_addSubjectList; if (t1.length === 0) t2 = new A.Padding(B.EdgeInsets_20_20_20_20, A.Text$("Sorry, no other subjects can be added.", _null, _null, _null, _null, _null, _null, _null, _null), _null); else { t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx; $.SizeConfig_screenWidth = t2; t2 = A.Container$(_null, _this._buildClassGridView$1(t1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(20, 10, 20, 10), _null, _null, t2 * 0.8); } t3 = _this._isAllSelected; t4 = _this._subject_add_dialog$_isAdding; t4 = A.roundButton(_null, _null, _null, t4, t1.length === 0 ? _null : _this.get$_addSection(), _null, "Add", _null); t1 = _this._subject_add_dialog$_isAdding ? _null : new A._SubjectAddDialogState_build_closure(context); t5 = type$.JSArray_Widget; return A.AlertDialog$(A._setArrayType([new A.Padding(B.EdgeInsets_10_0_10_0, A.Row$(A._setArrayType([new A.CheckBox(t3, "Check All", new A._SubjectAddDialogState_build_closure0(_this), B.Color_4278190080, _null), new A.Spacer(_null), t4, new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, t1, _null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null)], t5), _null, _null, t2, B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Add Section to Class", _null, _null), _null); }, _buildAddSectionCard$1(adminSubjectModel) { return A.Consumer$(new A._SubjectAddDialogState__buildAddSectionCard_closure(this, new A.UniqueKey(), adminSubjectModel), type$.AdminSubjectProvider); }, _buildClassGridView$1(addSubjectList) { var _length, _list, index, _this = this, t1 = type$.MediaQuery, t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 3, t3 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10, t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 20 : 10; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650 ? 2 : 6; _length = addSubjectList.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) _list[index] = _this._buildAddSectionCard$1(addSubjectList[index]); return A.GridView$count(t1, _list, null, t2, t3, t4, null, null, true); } }; A._SubjectAddDialogState__addSection_closure.prototype = { call$0() { this.$this._subject_add_dialog$_isAdding = true; }, $signature: 0 }; A._SubjectAddDialogState__addSection_closure0.prototype = { call$1(value) { var t1 = J.get$id$x(value); t1.toString; this.subjectIds.push(t1); }, $signature: 6 }; A._SubjectAddDialogState__addSection_closure1.prototype = { call$2(key, value) { var t1 = J.get$id$x(value); t1.toString; this.subjectIds.push(t1); }, $signature: 739 }; A._SubjectAddDialogState__addSection_closure2.prototype = { call$0() { this.$this._subject_add_dialog$_isAdding = false; }, $signature: 0 }; A._SubjectAddDialogState__addSection_closure3.prototype = { call$0() { this.$this._subject_add_dialog$_isAdding = false; }, $signature: 0 }; A._SubjectAddDialogState_build_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._SubjectAddDialogState_build__closure(t1, value)); }, $signature: 5 }; A._SubjectAddDialogState_build__closure.prototype = { call$0() { this.$this._isAllSelected = this.value; }, $signature: 0 }; A._SubjectAddDialogState_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._SubjectAddDialogState__buildAddSectionCard_closure.prototype = { call$3(context, data, child) { var _null = null, t1 = this.key, t2 = this.adminSubjectModel, t3 = A.BorderRadius$circular(8), t4 = this.$this._isAllSelected || data._mapSelectedSubject.containsKey$1(0, t1) ? B.MaterialColor_Map_JNZaB_4294940672 : B.Color_4294967295, t5 = A.BorderRadius$circular(8), t6 = A.Duration$(0, 0, 0, 300, 0); return A.GestureDetector$(_null, A.Card$(A.AnimatedContainer$(B.Alignment_0_0, A.Text$(A.S(t2.name), _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), B.TextAlign_2, _null, _null), _null, _null, B.C__Linear, new A.BoxDecoration(t4, _null, _null, t5, _null, _null, B.BoxShape_0), t6, _null, 40, new A.EdgeInsets(6, 6, 6, 6), _null), _null, 3, t1, _null, _null, new A.RoundedRectangleBorder(t3, B.BorderSide_0CF)), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._SubjectAddDialogState__buildAddSectionCard__closure(data, t1, t2), _null, _null, _null, _null, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 741 }; A._SubjectAddDialogState__buildAddSectionCard__closure.prototype = { call$0() { var t1 = this.data, t2 = this.key, t3 = t1._mapSelectedSubject; if (t3.containsKey$1(0, t2)) t3.remove$1(0, t2); else t3.$indexSet(0, t2, this.adminSubjectModel); t1.notifyListeners$0(); }, $signature: 0 }; A.ManageTeacherStudentView.prototype = { build$1(_, context) { return A.FutureBuilder$(new A.ManageTeacherStudentView_build_closure(this), $.$get$locator().call$1$0(type$.ManageAccountProvider).getUserList$1$userType(this.userType), type$.void); }, _buildUserList$1(manageAccountProvider) { var _null = null; return A.ListView$builder(_null, new A.ManageTeacherStudentView__buildUserList_closure(this, manageAccountProvider), manageAccountProvider.get$userList().length, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); }, _buildUserTable$1(manageAccountProvider) { var t5, t6, t7, index, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, _null = null, side = new A.BorderSide($.$get$DraclmsTheme_borderColor(), 1, B.BorderStyle_1), t1 = A._MaterialStateColor$(new A.ManageTeacherStudentView__buildUserTable_closure()), t2 = A.DraclmsTheme_subTitle3Style().copyWith$1$color(B.Color_4278190080), t3 = A._MaterialStateColor$(new A.ManageTeacherStudentView__buildUserTable_closure0()), t4 = A.DraclmsTheme_subTitleStyle().copyWith$1$color($.$get$DraclmsTheme_primaryColor()), _length = manageAccountProvider.get$userList().length, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.DataRow); for (t5 = type$.JSArray_DataCell, t6 = _this.userType === "teacher", t7 = type$.JSArray_ResourceTeacher, index = 0; index < _length; ++index) { t8 = new A.ManageTeacherStudentView__buildUserTable_closure1(); t9 = J.get$value$x(t8.call$1(B.Set_empty0)); t10 = manageAccountProvider.get$userList()[index].fullName; t10.toString; t11 = manageAccountProvider.get$userList()[index].email; t11.toString; t12 = A.S(manageAccountProvider.get$userList()[index].phone); if (t6) { if (manageAccountProvider.get$userList()[index].resourceTeacher == null) t13 = A._setArrayType([], t7); else { t13 = manageAccountProvider.get$userList()[index].resourceTeacher; t13.toString; } t13 = _this._buildResourceTeacher$1(t13); } else { if (manageAccountProvider.get$userList()[index].resourceStudent == null) t13 = new A.ResourceStudent(_null, _null, _null); else { t13 = manageAccountProvider.get$userList()[index].resourceStudent; t13.toString; } t14 = t13.batch; if (t14 == null && t13.resourceStudentClass == null && t13.section == null) t13 = "Not Assigned"; else { t14.toString; t14 += ", "; t15 = t13.resourceStudentClass; t15.toString; t15 = t14 + t15 + ", "; t13 = t13.section; t13.toString; t13 = t15 + t13; } t13 = new A.DataCell(new A.Text(t13, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)); } _list[index] = new A.DataRow(A._setArrayType([new A.DataCell(new A.Text(t10, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), new A.DataCell(new A.Text(t11, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), new A.DataCell(new A.Text(t12, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), t13, new A.DataCell(_this._buildAction$2$id$isActive(manageAccountProvider.get$userList()[index].id, manageAccountProvider.get$userList()[index].isActive))], t5), new A._MaterialStateColor(t8, t9)); } return A.DataTable$(20, _this.createColumn, t1, 150, t2, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), 1, t3, 30, t4, 20, _list, true, false); }, _buildSearchFilter$0() { return new A.SearchFilterTextField(new A.ManageTeacherStudentView__buildSearchFilter_closure(this), new A.ManageTeacherStudentView__buildSearchFilter_closure0(this), null); }, _buildAction$2$id$isActive(id, isActive) { var _null = null, t1 = A._setArrayType([new A.DisableAccountSwitch(isActive, this.userType, id, _null)], type$.JSArray_Widget); if (isActive === 1) t1.push(new A.Flexible(1, B.FlexFit_1, A.roundButton(_null, _null, _null, false, new A.ManageTeacherStudentView__buildAction_closure(this, id), A.DraclmsTheme_title3Style(), "Reset Password", _null), _null)); return A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); }, _showDetails$3$resourceList$resourceStudent$userId(resourceList, resourceStudent, userId) { var t1; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.ManageTeacherStudentView__showDetails_closure(this, resourceList, userId, resourceStudent), t1, null, true, type$.dynamic); }, _showResetPasswordDialog$2$id$userType(id, userType) { var t1 = $.$get$Platform_isIOS() || $.$get$Platform_isAndroid(), t2 = type$.NavigationService, t3 = type$.dynamic; if (t1) { $.$get$locator().call$1$0(t2); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t3 = A.MaterialPageRoute$(new A.ManageTeacherStudentView__showResetPasswordDialog_closure(new A.ResetPasswordForm(userType, id, null)), false, null, t3); A.Navigator_of(t1, false).push$1(t3); } else { $.$get$locator().call$1$0(t2); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.ManageTeacherStudentView__showResetPasswordDialog_closure0(id, userType), t1, null, true, t3); } }, _buildResourceTeacher$1(resourceList) { var _null = null, tempList = A._setArrayType([], type$.JSArray_String); if (resourceList.length !== 0) B.JSArray_methods.forEach$1(resourceList, new A.ManageTeacherStudentView__buildResourceTeacher_closure(tempList)); return A.DataCell$(A.Text$(tempList.length === 0 ? "Not Assigned" : A.IterableBase_iterableToFullString(tempList, "[", "]"), _null, _null, _null, _null, _null, _null, _null, _null)); } }; A.ManageTeacherStudentView_build_closure.prototype = { call$2(context, snapshot) { var t1, t2, t3, t4, t5, t6, _null = null; if (snapshot.connectionState === B.ConnectionState_1) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else { t1 = this.$this; t2 = A.ScrollController$(_null, 0, true); t3 = A.ResponsiveValue$(context, 30, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 10, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t3.toString; t4 = !t1._manage_teacher_student_view$_jitsiMeetProvider._isFullScreenContent ? 10 : 30; t5 = t1.userType === "teacher" ? "Manage Teachers" : "Manage Students"; t6 = type$.JSArray_Widget; t5 = A._setArrayType([A.Text$(t5, _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.SizedBox(_null, 28, _null, _null)], t6); if (!(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 900)) B.JSArray_methods.addAll$1(t5, A._setArrayType([t1._buildSearchFilter$0(), new A.SizedBox(_null, 28, _null, _null)], t6)); t5.push(A.Consumer$(new A.ManageTeacherStudentView_build__closure(t1), type$.ManageAccountProvider)); t1 = A.Form$(_null, A.ListView$(false, false, t5, t2, new A.UniqueKey(), new A.EdgeInsets(t3, 0, t4, 0), _null, B.Axis_1, true), t1._manage_teacher_student_view$_formKey); } return t1; }, $signature: 76 }; A.ManageTeacherStudentView_build__closure.prototype = { call$3(context, manageAccountProvider, child) { var t1, _null = null; if (manageAccountProvider._manage_account_provider$_isLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else { t1 = this.$this; t1 = A.ResponsiveValue$(context, t1._buildUserTable$1(manageAccountProvider), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, t1._buildUserList$1(manageAccountProvider), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 753 }; A.ManageTeacherStudentView__buildUserList_closure.prototype = { call$2(context, index) { var t4, t5, _null = null, t1 = this.$this, t2 = this.manageAccountProvider, t3 = t2.get$userList()[index].fullName; t3.toString; t3 = A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color(B.Color_4278190080), _null, _null, _null); t4 = t2.get$userList()[index].email; t4.toString; t4 = A.Column$(A._setArrayType([A.Text$(t4, _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(_null, 5, _null, _null), A.Text$(A.S(t2.get$userList()[index].phone), _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t5 = t2.get$userList()[index]; return A.Card$(A.ListTile$(false, _null, _null, _null, true, _null, _null, true, _null, new A.ManageTeacherStudentView__buildUserList__closure(t1, t2, index), false, _null, _null, t4, _null, t3, new A.DisableAccountSwitch(t2.get$userList()[index].isActive, t1.userType, t5.id, _null), _null), _null, _null, _null, _null, _null, _null); }, $signature: 147 }; A.ManageTeacherStudentView__buildUserList__closure.prototype = { call$0() { var t4, t1 = this.manageAccountProvider, t2 = this.index, t3 = t1.get$userList()[t2]; if (t1.get$userList()[t2].resourceTeacher == null) t4 = A._setArrayType([], type$.JSArray_ResourceTeacher); else { t4 = t1.get$userList()[t2].resourceTeacher; t4.toString; } if (t1.get$userList()[t2].resourceStudent == null) t1 = new A.ResourceStudent(null, null, null); else { t1 = t1.get$userList()[t2].resourceStudent; t1.toString; } this.$this._showDetails$3$resourceList$resourceStudent$userId(t4, t1, t3.id); }, $signature: 0 }; A.ManageTeacherStudentView__buildUserTable_closure.prototype = { call$1(states) { return states.contains$1(0, B.MaterialState_4) ? B.MaterialColor_Map_JNwaj_4280391411 : A.Color$fromARGB(100, 215, 217, 219); }, $signature: 31 }; A.ManageTeacherStudentView__buildUserTable_closure0.prototype = { call$1(states) { return $.$get$DraclmsTheme_mainColor(); }, $signature: 31 }; A.ManageTeacherStudentView__buildUserTable_closure1.prototype = { call$1(states) { return $.$get$DraclmsTheme_primaryColor(); }, $signature: 31 }; A.ManageTeacherStudentView__buildSearchFilter_closure.prototype = { call$1(value) { return this.$this._searchTerms = value; }, $signature: 9 }; A.ManageTeacherStudentView__buildSearchFilter_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2; 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; t2 = t1._manage_teacher_student_view$_formKey; $async$goto = t2.get$currentState().validate$0() ? 2 : 3; break; case 2: // then t2.get$currentState().save$0(0); A.print(t1._searchTerms); $async$goto = 4; return A._asyncAwait($.$get$locator().call$1$0(type$.ManageAccountProvider).getUserList$2$searchText$userType(t1._searchTerms, t1.userType), $async$call$0); case 4: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.ManageTeacherStudentView__buildAction_closure.prototype = { call$0() { var t1 = this.$this; t1._showResetPasswordDialog$2$id$userType(this.id, t1.userType); }, $signature: 3 }; A.ManageTeacherStudentView__showDetails_closure.prototype = { call$1(context) { var tempList, t2, t3, t4, t5, _this = this, _null = null, _s12_ = "Not Assigned", _s14_ = "Reset Password", t1 = _this.$this; if (t1.userType === "teacher") { tempList = A._setArrayType([], type$.JSArray_String); t2 = _this.resourceList; if (t2.length !== 0) B.JSArray_methods.forEach$1(t2, new A.ManageTeacherStudentView__showDetails__closure(tempList)); t2 = A.Text$("Teacher Details", _null, _null, _null, _null, _null, _null, _null, _null); t3 = A.Text$(tempList.length === 0 ? _s12_ : A.IterableBase_iterableToFullString(tempList, "[", "]"), _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.roundButton(_null, _null, _null, false, new A.ManageTeacherStudentView__showDetails__closure0(t1, _this.userId), _null, _s14_, _null)], type$.JSArray_Widget), _null, _null, t3, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, t2, _null); } else { t2 = A.Text$("Student Details", _null, _null, _null, _null, _null, _null, _null, _null); t3 = _this.resourceStudent; t4 = t3.batch; if (t4 == null && t3.resourceStudentClass == null && t3.section == null) t3 = _s12_; else { t4.toString; t4 += ", "; t5 = t3.resourceStudentClass; t5.toString; t5 = t4 + t5 + ", "; t3 = t3.section; t3.toString; t3 = t5 + t3; } t3 = A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.roundButton(_null, _null, _null, false, new A.ManageTeacherStudentView__showDetails__closure1(t1, _this.userId), _null, _s14_, _null)], type$.JSArray_Widget), _null, _null, t3, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, t2, _null); } }, $signature: 57 }; A.ManageTeacherStudentView__showDetails__closure.prototype = { call$1(element) { var t2, t1 = element.batch; t1.toString; t1 += ", "; t2 = element.resourceTeacherClass; t2.toString; t2 = t1 + t2 + ", "; t1 = element.section; t1.toString; t1 = t2 + t1 + ", "; t2 = element.subject; t2.toString; this.tempList.push(t1 + t2); }, $signature: 235 }; A.ManageTeacherStudentView__showDetails__closure0.prototype = { call$0() { var t1 = this.$this; t1._showResetPasswordDialog$2$id$userType(this.userId, t1.userType); }, $signature: 3 }; A.ManageTeacherStudentView__showDetails__closure1.prototype = { call$0() { var t1 = this.$this; t1._showResetPasswordDialog$2$id$userType(this.userId, t1.userType); }, $signature: 3 }; A.ManageTeacherStudentView__showResetPasswordDialog_closure.prototype = { call$1(context) { return this.resetPasswordForm; }, $signature: 236 }; A.ManageTeacherStudentView__showResetPasswordDialog_closure0.prototype = { call$1(context) { return new A.ResetPasswordForm(this.userType, this.id, null); }, $signature: 236 }; A.ManageTeacherStudentView__buildResourceTeacher_closure.prototype = { call$1(element) { var t2, t1 = element.batch; t1.toString; t1 += ", "; t2 = element.resourceTeacherClass; t2.toString; t2 = t1 + t2 + ", "; t1 = element.section; t1.toString; t1 = t2 + t1 + ", "; t2 = element.subject; t2.toString; this.tempList.push(t1 + t2); }, $signature: 235 }; A.SectionContentView.prototype = { _showAddBatchDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.SectionContentView__showAddBatchDialog_closure(), t1, null, true, type$.dynamic); }, build$1(_, context) { var _null = null; return A.ListView$(true, true, A._setArrayType([A.Text$("Sections", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.CustomFilterWidget(true, true, false, false, false, this.get$_showAddBatchDialog(), _null, new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.SectionContentView_build_closure(this, context), type$.AdminSectionProvider)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, true); }, _buildResponsiveList$2(context, sectionProvider) { var _null = null, t1 = type$.Condition_dynamic, t2 = type$.JSArray_Condition_dynamic, t3 = A.ResponsiveValue$(context, 3, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 1, _null, t1)], t2), type$.int).value; t3.toString; t2 = A.ResponsiveValue$(context, 3.5, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 5.5, _null, t1)], t2), type$.double).value; t2.toString; return A.GridView$count(t2, A.List_List$generate(sectionProvider._sectionList.length, new A.SectionContentView__buildResponsiveList_closure(sectionProvider, context), true, type$.Widget), _null, t3, 10, 10, _null, new A.NeverScrollableScrollPhysics(_null), true); } }; A.SectionContentView__showAddBatchDialog_closure.prototype = { call$1(context) { return new A.SectionAddDialog(null); }, $signature: 771 }; A.SectionContentView_build_closure.prototype = { call$3(ctx, data, child) { var t1, _null = null; if (data._isSectionLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else t1 = data._sectionList.length === 0 ? A.Center$(A.Text$("There is no section in this class", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null) : this.$this._buildResponsiveList$2(this.context, data); return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 780 }; A.SectionContentView__buildResponsiveList_closure.prototype = { call$1(index) { var t1 = this.sectionProvider, sectionModel = t1._sectionList[index], t2 = sectionModel.name; t2.toString; return A.AdminContentCard$(B.IconData_57583_MaterialIcons_null_false, false, new A.SectionContentView__buildResponsiveList__closure(this.context, t1, sectionModel), null, new A.SectionContentView__buildResponsiveList__closure0(sectionModel), "", t2); }, $signature: 87 }; A.SectionContentView__buildResponsiveList__closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.sectionModel.name; t2.toString; $async$goto = 2; return A._asyncAwait(t1.setSection$3$isThereSection$isThereSubject(t2, true, true), $async$call$0); case 2: // returning from await. A.showToaster("Section has been selected", B.MaterialColor_Map_JNEaM_4283215696); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.SectionContentView__buildResponsiveList__closure.prototype = { call$0() { return A.deleteAlert(new A.SectionContentView__buildResponsiveList___closure(this.context, this.sectionProvider, this.sectionModel), "Section"); }, $signature: 0 }; A.SectionContentView__buildResponsiveList___closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.sectionModel.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.sectionProvider.deleteSection$1$sectionId(t1), $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: 18 }; A.StudentContentView.prototype = { build$1(_, context) { var _null = null; return A.ListView$(true, true, A._setArrayType([A.Text$("Students", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.CustomFilterWidget(true, true, true, false, true, new A.StudentContentView_build_closure(this), new A.StudentContentView_build_closure0(this), new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), this._buildStudentList$1(context)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, false); }, _buildStudentList$1(context) { return A.Consumer$(new A.StudentContentView__buildStudentList_closure(context), type$.AdminStudentProvider); }, _showAddTeacherDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.StudentContentView__showAddTeacherDialog_closure(), t1, null, true, type$.dynamic); }, _showCreateNewDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.StudentContentView__showCreateNewDialog_closure(), t1, null, true, type$.dynamic); } }; A.StudentContentView_build_closure.prototype = { call$0() { return this.$this._showAddTeacherDialog$0(); }, $signature: 0 }; A.StudentContentView_build_closure0.prototype = { call$0() { return this.$this._showCreateNewDialog$0(); }, $signature: 0 }; A.StudentContentView__buildStudentList_closure.prototype = { call$3(ctx, data, child) { var t1, t2, t3, t4, t5, _null = null; if (data._admin_student_provider$_isLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else { t1 = data._studentList; if (t1.length === 0) t1 = A.Center$(A.Text$("There is no students in this section", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t2 = this.context; t3 = type$.Condition_dynamic; t4 = type$.JSArray_Condition_dynamic; t5 = A.ResponsiveValue$(t2, 3, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 1, _null, t3)], t4), type$.int).value; t5.toString; t4 = A.ResponsiveValue$(t2, 3.5, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 5.5, _null, t3)], t4), type$.double).value; t4.toString; t5 = A.GridView$count(t4, A.List_List$generate(t1.length, new A.StudentContentView__buildStudentList__closure(data, t2), true, type$.Widget), _null, t5, 10, 10, _null, new A.NeverScrollableScrollPhysics(_null), true); t1 = t5; } } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 787 }; A.StudentContentView__buildStudentList__closure.prototype = { call$1(index) { var t3, t1 = this.data, student = t1._studentList[index], t2 = student.fullName; t2.toString; t3 = student.email; t3.toString; return A.AdminContentCard$(B.IconData_57411_MaterialIcons_null_false, false, new A.StudentContentView__buildStudentList___closure(this.context, t1, student), null, new A.StudentContentView__buildStudentList___closure0(), t3, t2); }, $signature: 87 }; A.StudentContentView__buildStudentList___closure0.prototype = { call$0() { }, $signature: 3 }; A.StudentContentView__buildStudentList___closure.prototype = { call$0() { return A.deleteAlert(new A.StudentContentView__buildStudentList____closure(this.context, this.data, this.student), "Student from section"); }, $signature: 0 }; A.StudentContentView__buildStudentList____closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.student.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.data.removeStudentFromSection$1$studentSectionId(t1), $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: 18 }; A.StudentContentView__showAddTeacherDialog_closure.prototype = { call$1(context) { return new A.AddUserDialog(false, null); }, $signature: 237 }; A.StudentContentView__showCreateNewDialog_closure.prototype = { call$1(context) { return new A.CreateNewUserDialog(false, null); }, $signature: 238 }; A.SubjectContentView.prototype = { _showAddSubjectDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.SubjectContentView__showAddSubjectDialog_closure(), t1, null, true, type$.dynamic); }, build$1(_, context) { var _null = null; return A.SingleChildScrollView$(A.Column$(A._setArrayType([A.Text$("Subjects", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.CustomFilterWidget(true, true, true, false, false, this.get$_showAddSubjectDialog(), _null, new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), new A.Flexible(1, B.FlexFit_1, A.Consumer$(new A.SubjectContentView_build_closure(context), type$.AdminSubjectProvider), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, _null, B.Axis_1); } }; A.SubjectContentView__showAddSubjectDialog_closure.prototype = { call$1(context) { return new A.SubjectAddDialog(null); }, $signature: 798 }; A.SubjectContentView_build_closure.prototype = { call$3(ctx, data, child) { var t1, t2, t3, t4, t5, _null = null; if (data._isSubjectLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else { t1 = data._subjectList; if (t1.length === 0) t1 = A.Center$(A.Text$("There is no subjects in this section", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t2 = this.context; t3 = type$.Condition_dynamic; t4 = type$.JSArray_Condition_dynamic; t5 = A.ResponsiveValue$(t2, 4, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 1, _null, t3), new A.Condition(1100, _null, B.Conditional_2, 3, _null, t3)], t4), type$.int).value; t5.toString; t3 = A.ResponsiveValue$(t2, 3.5, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 7, _null, t3), new A.Condition(1100, _null, B.Conditional_2, 5, _null, t3)], t4), type$.double).value; t3.toString; t5 = A.GridView$count(t3, A.List_List$generate(t1.length, new A.SubjectContentView_build__closure(data, t2), true, type$.Widget), _null, t5, 10, 10, _null, new A.NeverScrollableScrollPhysics(_null), true); t1 = t5; } } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 800 }; A.SubjectContentView_build__closure.prototype = { call$1(index) { var t1 = this.data, subjectModel = t1._subjectList[index], t2 = subjectModel.name; t2.toString; return A.AdminContentCard$(B.IconData_57583_MaterialIcons_null_false, false, new A.SubjectContentView_build___closure(this.context, t1, subjectModel), null, new A.SubjectContentView_build___closure0(subjectModel), "", t2); }, $signature: 87 }; A.SubjectContentView_build___closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.subjectModel.name; t2.toString; $async$goto = 2; return A._asyncAwait(t1.setSubject$1(t2), $async$call$0); case 2: // returning from await. A.showToaster("Subject has been selected", B.MaterialColor_Map_JNEaM_4283215696); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.SubjectContentView_build___closure.prototype = { call$0() { return A.deleteAlert(new A.SubjectContentView_build____closure(this.context, this.data, this.subjectModel), "Subject"); }, $signature: 0 }; A.SubjectContentView_build____closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.subjectModel.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.data.deleteAdminSubject$1$subjectId(t1), $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: 18 }; A.TeacherContentView.prototype = { build$1(_, context) { var _null = null; return A.ListView$(true, true, A._setArrayType([A.Text$("Teachers", _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null), new A.CustomFilterWidget(true, true, true, true, true, new A.TeacherContentView_build_closure(this), new A.TeacherContentView_build_closure0(this), new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), this._buildTeacherList$1(context)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, false); }, _buildTeacherList$1(context) { return A.Consumer$(new A.TeacherContentView__buildTeacherList_closure(context), type$.AdminTeacherProvider); }, _teacher_content_view$_showAddTeacherDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.TeacherContentView__showAddTeacherDialog_closure(), t1, null, true, type$.dynamic); }, _teacher_content_view$_showCreateNewDialog$0() { $.$get$locator().call$1$0(type$.NavigationService); var t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.showDialog(new A.TeacherContentView__showCreateNewDialog_closure(), t1, null, true, type$.dynamic); } }; A.TeacherContentView_build_closure.prototype = { call$0() { return this.$this._teacher_content_view$_showAddTeacherDialog$0(); }, $signature: 0 }; A.TeacherContentView_build_closure0.prototype = { call$0() { return this.$this._teacher_content_view$_showCreateNewDialog$0(); }, $signature: 0 }; A.TeacherContentView__buildTeacherList_closure.prototype = { call$3(ctx, data, child) { var t1, t2, t3, t4, t5, _null = null; if (data._isTeacherLoading) t1 = A.Center$(A.CircularProgressIndicator$(_null, 4, _null), _null, _null); else { t1 = data._teacherList; if (t1.length === 0) t1 = A.Center$(A.Text$("There is no teachers in this subject", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t2 = this.context; t3 = type$.Condition_dynamic; t4 = type$.JSArray_Condition_dynamic; t5 = A.ResponsiveValue$(t2, 3, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 1, _null, t3)], t4), type$.int).value; t5.toString; t4 = A.ResponsiveValue$(t2, 3.5, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, 5.5, _null, t3)], t4), type$.double).value; t4.toString; t5 = A.GridView$count(t4, A.List_List$generate(t1.length, new A.TeacherContentView__buildTeacherList__closure(data, t2), true, type$.Widget), _null, t5, 10, 10, _null, new A.NeverScrollableScrollPhysics(_null), true); t1 = t5; } } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 805 }; A.TeacherContentView__buildTeacherList__closure.prototype = { call$1(index) { var t3, t1 = this.data, teacherModel = t1._teacherList[index], t2 = teacherModel.fullName; t2.toString; t3 = teacherModel.email; t3.toString; return A.AdminContentCard$(B.IconData_57411_MaterialIcons_null_false, false, new A.TeacherContentView__buildTeacherList___closure(this.context, t1, teacherModel), null, new A.TeacherContentView__buildTeacherList___closure0(), t3, t2); }, $signature: 87 }; A.TeacherContentView__buildTeacherList___closure0.prototype = { call$0() { }, $signature: 3 }; A.TeacherContentView__buildTeacherList___closure.prototype = { call$0() { return A.deleteAlert(new A.TeacherContentView__buildTeacherList____closure(this.context, this.data, this.teacherModel), "Teacher from the subject"); }, $signature: 0 }; A.TeacherContentView__buildTeacherList____closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 A.Navigator_of($async$self.context, false).pop$1(0, null); t1 = $async$self.teacherModel.id; t1.toString; $async$goto = 2; return A._asyncAwait($async$self.data.removeTeacherFromSubject$1$teacherSubjectId(t1), $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: 18 }; A.TeacherContentView__showAddTeacherDialog_closure.prototype = { call$1(context) { return new A.AddUserDialog(true, null); }, $signature: 237 }; A.TeacherContentView__showCreateNewDialog_closure.prototype = { call$1(context) { return new A.CreateNewUserDialog(true, null); }, $signature: 238 }; A.AdminContentCard.prototype = { build$1(_, context) { var t4, t5, _this = this, _null = null, t1 = A.Icon$(_this.icon, B.MaterialAccentColor_Map_iTsEs_4294945600, 18), t2 = A.Text$(_this.title, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), t3 = _this.subtitle; t3 = t3 !== "" ? A.Text$(t3, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 10, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null) : _null; t4 = A._setArrayType([], type$.JSArray_Widget); if (_this.isThereEdit) { t5 = A.Icon$(B.IconData_61453_MaterialIcons_null_false, _null, _null); t4.push(A.IconButton$(B.Alignment_0_0, $.$get$DraclmsTheme_mainColor(), _null, true, t5, 18, new A.AdminContentCard_build_closure(_this), B.EdgeInsets_8_8_8_8, _null, _null, _null)); } t4.push(A.IconButton$(B.Alignment_0_0, B.MaterialColor_Map_JNc9P_4294198070, _null, true, A.Icon$(B.IconData_57785_MaterialIcons_null_false, _null, _null), 18, new A.AdminContentCard_build_closure0(_this), B.EdgeInsets_8_8_8_8, _null, _null, _null)); return A.Card$(A.ListTile$(false, _null, _null, _null, true, _null, _null, false, t1, new A.AdminContentCard_build_closure1(_this), false, _null, _null, t3, _null, t2, A.Row$(t4, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null), _null), B.Color_4294967295, 3, new A.UniqueKey(), _null, _null, _null); } }; A.AdminContentCard_build_closure1.prototype = { call$0() { return this.$this.onPress.call$0(); }, $signature: 0 }; A.AdminContentCard_build_closure.prototype = { call$0() { return this.$this.onEdit.call$0(); }, $signature: 0 }; A.AdminContentCard_build_closure0.prototype = { call$0() { return this.$this.onDelete.call$0(); }, $signature: 0 }; A.CustomFilterWidget.prototype = { createState$0() { return new A._CustomFilterWidgetState(B._StateLifecycle_0); } }; A._CustomFilterWidgetState.prototype = { build$1(_, context) { var t2, t3, t4, _this = this, _null = null, t1 = type$.JSArray_Widget; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650) { t2 = A._setArrayType([], t1); if (_this._widget.isThereBatch) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildBatchDropDown$0(), new A.SizedBox(10, _null, _null, _null)], t1)); if (_this._widget.isThereClass) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildClassDropDown$0(), new A.SizedBox(10, _null, _null, _null)], t1)); t2 = A._setArrayType([A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 15, _null, _null)], t1); if (_this._widget.isThereSection) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildSectionDropDown$0()], t1)); if (_this._widget.isThereSubject) B.JSArray_methods.addAll$1(t2, A._setArrayType([new A.SizedBox(_null, 15, _null, _null), _this._buildSubjectDropDown$0()], t1)); t2 = A.Column$(t2, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } else { t2 = A._setArrayType([], t1); if (_this._widget.isThereBatch) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildBatchDropDown$0(), new A.SizedBox(10, _null, _null, _null)], t1)); if (_this._widget.isThereClass) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildClassDropDown$0(), new A.SizedBox(10, _null, _null, _null)], t1)); if (_this._widget.isThereSection) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildSectionDropDown$0(), new A.SizedBox(10, _null, _null, _null)], t1)); if (_this._widget.isThereSubject) B.JSArray_methods.addAll$1(t2, A._setArrayType([_this._buildSubjectDropDown$0()], t1)); t2 = A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); } t3 = A._setArrayType([new A.Spacer(_null)], t1); if (_this._widget.isToShowCreateBtn) { t4 = A.Text$("Create New", _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize(B.Color_4294967295, 10), _null, _null, _null); t3.push(A._ElevatedButtonWithIcon$(A.Icon$(B.IconData_57415_MaterialIcons_null_false, B.Color_4294967295, 18), t4, new A._CustomFilterWidgetState_build_closure(_this), A.ElevatedButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.MaterialColor_Map_JNZaB_4294940672, _null, _null, _null, _null, _null, _null, _null))); } t3.push(new A.SizedBox(10, _null, _null, _null)); t4 = A.Text$("Add", _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize(B.Color_4294967295, 14), _null, _null, _null); t3.push(A._ElevatedButtonWithIcon$(A.Icon$(B.IconData_57415_MaterialIcons_null_false, B.Color_4294967295, 18), t4, new A._CustomFilterWidgetState_build_closure0(_this), A.ElevatedButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.MaterialColor_Map_JNEaM_4283215696, _null, _null, _null, _null, _null, _null, _null))); return A.Card$(new A.Padding(B.EdgeInsets_8_8_8_8, A.Column$(A._setArrayType([t2, new A.SizedBox(_null, 20, _null, _null), A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_0, _null, _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null, _null, _null, _null, _null, _null); }, _buildBatchDropDown$0() { return A.Consumer$(new A._CustomFilterWidgetState__buildBatchDropDown_closure(this), type$.AdminBatchProvider); }, _buildClassDropDown$0() { return A.Consumer$(new A._CustomFilterWidgetState__buildClassDropDown_closure(this), type$.AdminClassProvider); }, _buildSectionDropDown$0() { return A.Consumer$(new A._CustomFilterWidgetState__buildSectionDropDown_closure(this), type$.AdminSectionProvider); }, _buildSubjectDropDown$0() { return A.Consumer$(new A._CustomFilterWidgetState__buildSubjectDropDown_closure(), type$.AdminSubjectProvider); } }; A._CustomFilterWidgetState_build_closure.prototype = { call$0() { return this.$this._widget.showCreateDialog.call$0(); }, $signature: 0 }; A._CustomFilterWidgetState_build_closure0.prototype = { call$0() { return this.$this._widget.showAddDialog.call$0(); }, $signature: 0 }; A._CustomFilterWidgetState__buildBatchDropDown_closure.prototype = { call$3(context, value, child) { var t1 = value._selectedBatch; return new A.CustomDropDown(value._batchStringList, t1, "Batch", false, new A._CustomFilterWidgetState__buildBatchDropDown__closure(this.$this), new A.UniqueKey()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 231 }; A._CustomFilterWidgetState__buildBatchDropDown__closure.prototype = { call$1(batchName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.$this._widget; $async$goto = 3; return A._asyncAwait(t1.changeBatch$5$isThereBatch$isThereClass$isThereSection$isThereSubject(batchName, t2.isThereBatch, t2.isThereClass, t2.isThereSection, t2.isThereSubject), $async$call$1); 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$call$1, $async$completer); }, $signature: 58 }; A._CustomFilterWidgetState__buildClassDropDown_closure.prototype = { call$3(context, value, child) { var t1 = value._classStringList, t2 = value._admin_class_provider$_isLoading; return new A.CustomDropDown(t1, value._selectedClass, "Class", t2, new A._CustomFilterWidgetState__buildClassDropDown__closure(this.$this), new A.UniqueKey()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 816 }; A._CustomFilterWidgetState__buildClassDropDown__closure.prototype = { call$1(className) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.$this._widget; $async$goto = 3; return A._asyncAwait(t1.setClass$4$isThereClass$isThereSection$isThereSubject(className, t2.isThereClass, t2.isThereSection, t2.isThereSubject), $async$call$1); 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$call$1, $async$completer); }, $signature: 58 }; A._CustomFilterWidgetState__buildSectionDropDown_closure.prototype = { call$3(context, data, child) { return new A.CustomDropDown(data._sectionStringList, data._selectedSection, "Section", data._isSectionLoading, new A._CustomFilterWidgetState__buildSectionDropDown__closure(this.$this), new A.UniqueKey()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 818 }; A._CustomFilterWidgetState__buildSectionDropDown__closure.prototype = { call$1(sectionName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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 = $.$get$locator().call$1$0(type$.AdminFilterProvider); t2 = $async$self.$this._widget; $async$goto = 3; return A._asyncAwait(t1.setSection$3$isThereSection$isThereSubject(sectionName, t2.isThereSection, t2.isThereSubject), $async$call$1); 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$call$1, $async$completer); }, $signature: 58 }; A._CustomFilterWidgetState__buildSubjectDropDown_closure.prototype = { call$3(context, data, child) { return new A.CustomDropDown(data._subjectStringList, data._selectedSubject, "Subject", data._isSubjectLoading, new A._CustomFilterWidgetState__buildSubjectDropDown__closure(), new A.UniqueKey()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 821 }; A._CustomFilterWidgetState__buildSubjectDropDown__closure.prototype = { call$1(subjectName) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.AdminFilterProvider).setSubject$1(subjectName), $async$call$1); 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$call$1, $async$completer); }, $signature: 58 }; A.DisableAccountSwitch.prototype = { createState$0() { return new A._DisableAccountSwitchState(B._StateLifecycle_0); } }; A._DisableAccountSwitchState.prototype = { get$isActiveValue() { return this.isSwitched = this._widget.isActive !== 0 || false; }, build$1(_, context) { var t1 = this.get$isActiveValue(), t2 = $.$get$DraclmsTheme_mainColor(); return new A.Switch(t1, new A._DisableAccountSwitchState_build_closure(this), $.$get$DraclmsTheme_primaryColor(), t2, null); } }; A._DisableAccountSwitchState_build_closure.prototype = { call$1(value) { return this.$call$body$_DisableAccountSwitchState_build_closure(value); }, $call$body$_DisableAccountSwitchState_build_closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, 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; t1.setState$1(new A._DisableAccountSwitchState_build__closure(t1, value)); $.$get$locator().call$1$0(type$.NavigationService); t2 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2.toString; A.showDialog(new A._DisableAccountSwitchState_build__closure0(t1), t2, null, true, type$.dynamic); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 123 }; A._DisableAccountSwitchState_build__closure.prototype = { call$0() { this.$this.isSwitched = this.value; }, $signature: 0 }; A._DisableAccountSwitchState_build__closure0.prototype = { call$1(context) { var _null = null, t1 = this.$this, t2 = A.Text$("Are you sure you want to " + (t1.get$isActiveValue() ? "Deactivate" : "Activate") + "?", _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._DisableAccountSwitchState_build___closure(context), _null), new A.SizedBox(10, _null, _null, _null), A.TextButton$(false, A.Text$("Confirm", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._DisableAccountSwitchState_build___closure0(t1, context), _null)], type$.JSArray_Widget), _null, _null, t2, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, _null, _null); }, $signature: 57 }; A._DisableAccountSwitchState_build___closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._DisableAccountSwitchState_build___closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3, t4; 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 = $.$get$locator().call$1$0(type$.ManageAccountProvider); t2 = $async$self.$this; t3 = t2._widget; t4 = t3.userId; t2 = t2.isSwitched; t2.toString; t2 = t2 ? 0 : 1; $async$goto = 2; return A._asyncAwait(t1.disableUser$3$id$isActive$userType(t4, t2, t3.userType), $async$call$0); case 2: // returning from await. A.Navigator_of($async$self.context, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.AdminPanelScreen.prototype = { build$1(_, context) { var t2, t3, _null = null, t1 = type$.GlobalIdsProvider; $.$get$locator().call$1$0(t1)._scaffoldKey = this._admin_panel_screen$_scaffoldKey; t2 = $.$get$DraclmsTheme_primaryColor(); t1 = $.$get$locator().call$1$0(t1)._scaffoldKey; t1.toString; t3 = type$.MediaQuery; t3 = !(context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx >= 1100) ? A.Container$(_null, new A.AdminSideDrawer(_null), B.Clip_0, _null, new A.BoxConstraints(0, 200, context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dy, 1 / 0), _null, _null, _null, _null, _null, _null, _null, _null, _null) : _null; return A.SafeArea$(true, A.Scaffold$(_null, t2, A.FutureBuilder$(new A.AdminPanelScreen_build_closure(this), $.$get$locator().call$1$0(type$.AdminBatchProvider).loadBatchAndLanguage$0(), type$.void), t3, false, t1, _null), B.EdgeInsets_0_0_0_0, true); }, _adminPanelBody$0() { return A.Consumer$(new A.AdminPanelScreen__adminPanelBody_closure(), type$.JitsiMeetingProvider); } }; A.AdminPanelScreen_build_closure.prototype = { call$2(context, snapshot) { var t1, t2, _null = null; if (snapshot.connectionState === B.ConnectionState_1) { t1 = type$.MediaQuery; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = A.Container$(_null, A.Center$(A.Lottie_asset(string$.assetsx2d, 300, 300), _null, _null), B.Clip_0, _null, _null, _null, _null, t2.size._dy, _null, _null, _null, _null, _null, t1.size._dx); } else t1 = this.$this._adminPanelBody$0(); return t1; }, $signature: 76 }; A.AdminPanelScreen__adminPanelBody_closure.prototype = { call$3(context, value, child) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data, t3 = $.$get$DraclmsTheme_primaryColor(), t4 = type$.JSArray_Widget; t4 = A._setArrayType([A.Expanded$(A.Column$(A._setArrayType([new A.AppHeader(_null), new A.Flexible(1, B.FlexFit_1, new A.Padding(new A.EdgeInsets(10, 10, 10, 10), value._contentViewWidget, _null), _null)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 20)], t4); if (context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx >= 1100 && !value._isFullScreenContent) t4.push(A.Expanded$(new A.AdminSideDrawer(_null), 4)); return A.Container$(_null, A.Row$(t4, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, t3, _null, _null, _null, t2.size._dy, _null, _null, B.EdgeInsets_0_0_0_0, _null, _null, 1 / 0); }, "call*": "call$3", $requiredArgCount: 3, $signature: 833 }; A.AssignmentSubmittedScreen.prototype = { build$1(_, context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; return A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, 0, _null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57490_MaterialIcons_null_true, B.Color_4278190080, _null), 24, new A.AssignmentSubmittedScreen_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null), A.Text$("Assignment Submission", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), B.Color_4294967295, A.Container$(_null, A.FutureBuilder$(new A.AssignmentSubmittedScreen_build_closure0(), $.$get$locator().call$1$0(type$.AssignmentProvider).listAssignmentSubmitted$1(this.assignmentId), type$.void), B.Clip_0, _null, _null, _null, _null, t1.size._dy, _null, _null, _null, _null, _null, t2.size._dx), _null, true, _null, _null); } }; A.AssignmentSubmittedScreen_build_closure.prototype = { call$0() { return A.Navigator_pushReplacement(this.context, A.MaterialPageRoute$(new A.AssignmentSubmittedScreen_build__closure(), false, null, type$.dynamic)); }, $signature: 0 }; A.AssignmentSubmittedScreen_build__closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A.AssignmentSubmittedScreen_build_closure0.prototype = { call$2(context, snapshot) { return snapshot.connectionState === B.ConnectionState_1 ? A.Center$(A.Lottie_asset(string$.assetsx2d, 300, 300), null, null) : new A.AssignmentSubmissionBody(null); }, $signature: 76 }; A.AddAssignmentWidget.prototype = { createState$0() { return new A._AddAssignmentWidgetState(B._StateLifecycle_0); } }; A._AddAssignmentWidgetState.prototype = { build$1(_, context) { var _null = null, t1 = A.BorderRadius$circular(8), t2 = $.$get$DraclmsTheme_cardBorderColor(); return A.Card$(new A.ListTileButton("Create Assignment for the class", "", A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57424_MaterialIcons_null_false, _null, 25), 24, new A._AddAssignmentWidgetState_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null), true, _null), _null, 3, _null, _null, _null, new A.RoundedRectangleBorder(t1, new A.BorderSide(t2, 1, B.BorderStyle_1))); } }; A._AddAssignmentWidgetState_build_closure.prototype = { call$0() { var assignmentFormPage, t1 = $.$get$locator().call$1$0(type$.AssignmentProvider)._assignmentDetails; t1.$indexSet(0, "title", ""); t1.$indexSet(0, "instructions", ""); t1.$indexSet(0, "totalMarks", 0); t1.$indexSet(0, "hasDeadline", false); t1.$indexSet(0, "hasMarks", false); t1.$indexSet(0, "isPublished", false); assignmentFormPage = A.AssignmentForm$(null, false); A.Navigator_of(this.context, false).pushReplacement$1(A.MaterialPageRoute$(new A._AddAssignmentWidgetState_build__closure(assignmentFormPage), false, null, type$.dynamic)); }, $signature: 0 }; A._AddAssignmentWidgetState_build__closure.prototype = { call$1(ctx) { return this.assignmentFormPage; }, $signature: 239 }; A.AssignmentListItem.prototype = { createState$0() { return new A._AssignmentListItemState(B._StateLifecycle_0); } }; A._AssignmentListItemState.prototype = { _showAssignmentSubmitDialog$2$isAddMaterial$isMaterial(isAddMaterial, isMaterial) { var t2, t1 = this._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._AssignmentListItemState__showAssignmentSubmitDialog_closure(this, isAddMaterial, isMaterial), false, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); }, build$1(_, context) { return A.Consumer$(new A._AssignmentListItemState_build_closure(this), type$.AssignmentProvider); }, _buildAssignmentContent$0() { var t1 = A.MarkdownStyleSheet_MarkdownStyleSheet$fromTheme(A.ThemeData_ThemeData(null, null, A.DraclmsTheme_markdownTheme())), t2 = this._assignment.instructions; t2.toString; return A.MarkdownBody$(A.convert(t2), true, new A._AssignmentListItemState__buildAssignmentContent_closure(), false, null, true, t1); }, _submitString$0() { if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") var t1 = "" + this._assignment.assignmentSubmission.length + " Submitted"; else t1 = this._assignment.assignmentMaterial.length !== 0 ? "Submit" : ""; return t1; }, _onPressSubmit$0() { var t1, t2; if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t1 = this._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._AssignmentListItemState__onPressSubmit_closure(this), true, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); } else this._showAssignmentSubmitDialog$2$isAddMaterial$isMaterial(false, false); }, _onSubmissionPress$0() { var t2, t3, _this = this, t1 = type$.AuthProvider; if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "student" && _this._assignment.assignmentSubmission.length > 0) { t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t2 = type$.dynamic; t3 = _this._framework$_element; if (t1.size._dx < 900) { t3.toString; t1 = A.MaterialPageRoute$(new A._AssignmentListItemState__onSubmissionPress_closure(_this), false, null, t2); A.Navigator_of(t3, false).push$1(t1); } else { t3.toString; A.showDialog(new A._AssignmentListItemState__onSubmissionPress_closure0(_this), t3, null, true, t2); } } else if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher") if (_this._assignment.assignmentMaterial.length === 0) _this._showAssignmentSubmitDialog$2$isAddMaterial$isMaterial(true, false); else _this._showAssignmentSubmitDialog$2$isAddMaterial$isMaterial(false, true); }, _submissionMaterialText$0() { var t1 = type$.AuthProvider; if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "student" && this._assignment.assignmentSubmission.length > 0) t1 = "View Submission"; else if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher" && this._assignment.assignmentMaterial.length === 0) t1 = "Add Material"; else t1 = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher" && this._assignment.assignmentMaterial.length !== 0 ? "View Material" : ""; return t1; }, _buildPopMenu$0() { var t2, t3, _this = this, t1 = _this._framework$_element; t1.toString; t2 = type$.JSArray_String; if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t3 = A._setArrayType(["Edit", "Delete"], t2); if (_this._submitString$0() !== "") t3.push(_this._submitString$0()); t3.push(_this._submissionMaterialText$0()); } else { t3 = A._setArrayType([], t2); if (_this._submitString$0() !== "") t3.push(_this._submitString$0()); if (_this._submissionMaterialText$0() !== "") t3.push(_this._submissionMaterialText$0()); } t2 = A.ResponsiveValue$(t1, t3, A._setArrayType([new A.Condition(900, null, B.Conditional_0, A._setArrayType(["Edit", "Delete"], t2), null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.List_String).value; t2.toString; return A.CustomPopMenu$(t2, new A._AssignmentListItemState__buildPopMenu_closure(_this)); } }; A._AssignmentListItemState__showAssignmentSubmitDialog_closure.prototype = { call$1(context) { var t1 = this.$this._assignment; return new A.AssignmentSubmissionContainer(t1, this.isAddMaterial, this.isMaterial, t1.assignmentMaterial.length !== 0, null); }, $signature: 857 }; A._AssignmentListItemState_build_closure.prototype = { call$3(context, assignmentProvider, child) { var side, t3, t4, t5, t6, t7, t8, t9, _null = null, _4283914071 = 4283914071, t1 = this.$this, t2 = t1._widget.assignmentId; t2.toString; t1._assignment = assignmentProvider.getAssignmentById$1(t2); t2 = A.BorderRadius$circular(8); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t3 = A.SvgPicture$asset("assets/icons/avatar.svg", _null, 28, 28); t4 = t1._assignment.createdUser; t4.toString; t4 = A.Text$(t4, _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null); t5 = A.DateFormat$yMMMMd(); t6 = t1._assignment.createdAt; t6.toString; t7 = type$.JSArray_Widget; t6 = A._setArrayType([t3, new A.SizedBox(24, _null, _null, _null), A.Column$(A._setArrayType([t4, new A.SizedBox(_null, 4, _null, _null), A.Text$(t5.format$1(t6), _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style(), _null, _null, _null)], t7), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), new A.Spacer(_null)], t7); if (t1._assignment.assignmentMaterial.length !== 0 || $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t3 = t1._submitString$0(); t3 = A.roundButton(_null, _null, _null, false, t1.get$_onPressSubmit(), A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, 12, _null, _null, _null, _null, true, _null, 0.5, _null, _null, _null, _null, _null, _null), t3, _null); t4 = t1._submissionMaterialText$0(); t5 = $.$get$DraclmsTheme_mainColor(); t6.push(A.ResponsiveVisibility$(A.Row$(A._setArrayType([t3, new A.SizedBox(10, _null, _null, _null), A.roundButton(new A.BorderSide(t5, 1, B.BorderStyle_1), B.Color_4294967295, _null, false, t1.get$_onSubmissionPress(), A.TextStyle$(_null, _null, t5, _null, _null, _null, _null, _null, "Poppins", _null, _null, 12, _null, _null, _null, _null, true, _null, 0.5, _null, _null, _null, _null, _null, _null), t4, _null)], t7), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9)); } t6.push(t1._buildPopMenu$0()); t3 = A.Row$(t6, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t4 = t1._assignment.title; t4.toString; t4 = A._setArrayType([A.Text$(t4, _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null), new A.Spacer(_null)], t7); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t5 = t1._assignment.isPublished === 1 ? "Published" : "Unpublished"; t4.push(A.Text$(t5, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize(new A.Color(_4283914071), 12), B.TextAlign_2, _null, _null)); } t4 = A.Row$(t4, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t5 = A._setArrayType([], t7); if (t1._assignment.hasDeadline === 1) { t6 = A.DateFormat$("MMM d", _null); t8 = t1._assignment.deadlineBy; t8.toString; t8 = "Due " + t6.format$1(A.DateTime_parse(t8)) + ", "; t6 = A.DateFormat$("hh:mm aaa", _null); t9 = t1._assignment.deadlineBy; t9.toString; t5.push(A.Text$(t8 + t6.format$1(A.DateTime_parse(t9)), _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize($.$get$DraclmsTheme_statusColor(), 12), _null, _null, _null)); } t5.push(new A.Spacer(_null)); t6 = t1._assignment; if (t6.hasMarks === 1) t5.push(A.Text$(A.S(t6.totalMarks) + " Marks", _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize(new A.Color(_4283914071), 12), _null, _null, _null)); return A.Container$(_null, A.Column$(A._setArrayType([t3, new A.SizedBox(_null, 12, _null, _null), t4, A.Row$(t5, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), t1._buildAssignmentContent$0()], t7), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), t2, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsets(0, 0, 0, 10), new A.EdgeInsets(20, 10, 20, 10), _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 874 }; A._AssignmentListItemState__buildAssignmentContent_closure.prototype = { call$3(uri, title, alt) { var _null = null, imageUrl = uri.toString$0(0); return A.Image$network(imageUrl, new A._AssignmentListItemState__buildAssignmentContent__closure(imageUrl), _null, _null, _null, _null, _null); }, $signature: 225 }; A._AssignmentListItemState__buildAssignmentContent__closure.prototype = { call$3(context, error, stackTrace) { return new A.ContentBodyImage(this.imageUrl, null); }, $signature: 226 }; A._AssignmentListItemState__onPressSubmit_closure.prototype = { call$1(context) { var t1 = this.$this._assignment.id; t1.toString; return new A.AssignmentSubmittedScreen(t1, null); }, $signature: 883 }; A._AssignmentListItemState__onSubmissionPress_closure.prototype = { call$1(context) { var t1 = this.$this._assignment; t1.toString; return new A.AssignmentSubmissionList(t1, null); }, $signature: 885 }; A._AssignmentListItemState__onSubmissionPress_closure0.prototype = { call$1(context) { var _null = null, t1 = this.$this._assignment; t1.toString; return A.AlertDialog$(_null, _null, _null, new A.AssignmentSubmissionList(t1, _null), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Your Assignment Submission", _null, _null), _null); }, $signature: 57 }; A._AssignmentListItemState__buildPopMenu_closure.prototype = { call$1(value) { var t1, t2, t3, t4, assignmentFormPage; if (value === "Edit") { t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t2 = this.$this; t1._resourceIdToEdit = t2._assignment.resourceId; t1.notifyListeners$0(); t1 = $.$get$locator().call$1$0(type$.AssignmentProvider); t3 = t2._assignment; t3.toString; t1 = t1._assignmentDetails; t1.$indexSet(0, "title", t3.title); t1.$indexSet(0, "instructions", t3.instructions); t1.$indexSet(0, "startTime", t3.startDate); t4 = t3.deadlineBy; if (t4 !== "") { t4.toString; t4 = A.DateTime_parse(t4); } else t4 = null; t1.$indexSet(0, "deadlineTime", t4); t1.$indexSet(0, "totalMarks", t3.totalMarks); t1.$indexSet(0, "hasDeadline", t3.hasDeadline === 1 && true); t1.$indexSet(0, "hasMarks", t3.hasMarks === 1 && true); t1.$indexSet(0, "isPublished", t3.isPublished === 1 && true); assignmentFormPage = A.AssignmentForm$(t2._assignment.id, true); t1 = t2._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A._AssignmentListItemState__buildPopMenu__closure(assignmentFormPage), false, null, type$.dynamic)); } else if (value === "Delete") A.deleteAlert(new A._AssignmentListItemState__buildPopMenu__closure0(this.$this), "Assignment"); else { t1 = this.$this; if (value === t1._submitString$0()) { if (value !== "") t1._onPressSubmit$0(); } else if (value === t1._submissionMaterialText$0()) t1._onSubmissionPress$0(); } }, $signature: 11 }; A._AssignmentListItemState__buildPopMenu__closure.prototype = { call$1(ctx) { return this.assignmentFormPage; }, $signature: 239 }; A._AssignmentListItemState__buildPopMenu__closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 = 2; return A._asyncAwait($.$get$locator().call$1$0(type$.AssignmentProvider).deleteAssignment$1$assignmentId(t1._assignment.id), $async$call$0); case 2: // returning from await. t1 = t1._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.AssignmentListView.prototype = { build$1(_, context) { var _null = null, t1 = type$.AssignmentProvider; t1 = $.$get$locator().call$1$0(t1)._assignmentList.length <= 0 ? A.Center$(A.Text$("There are no assignments posted.", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null) : A.ListView$builder(_null, new A.AssignmentListView_build_closure(), $.$get$locator().call$1$0(t1)._assignmentList.length, _null, new A.EdgeInsets(0, 0, 0, 0), new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); return A.SingleChildScrollView$(t1, _null, B.DragStartBehavior_1, _null, _null, new A.NeverScrollableScrollPhysics(_null), _null, B.Axis_1); } }; A.AssignmentListView_build_closure.prototype = { call$2(context, index) { return new A.AssignmentListItem($.$get$locator().call$1$0(type$.AssignmentProvider)._assignmentList[index].id, null); }, $signature: 886 }; A.AssignmentSubmissionBody.prototype = { createState$0() { return new A._AssignmentSubmissionBodyState(A._setArrayType([], type$.JSArray_String), B._StateLifecycle_0); } }; A._AssignmentSubmissionBodyState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = type$.AssignmentProvider; t2 = _this._studentNames = $.$get$locator().call$1$0(t1).getStudentName$0(); if (t2.length !== 0) { _this._studentName = B.JSArray_methods.get$first(t2); _this._assignmentSubmitted = $.$get$locator().call$1$0(t1).getAssignmentSubmittedById$1(_this._assignment_submission_body$_selectedIndex); } }, getStudentName$2($name, index) { var t1, _this = this; _this.setState$1(new A._AssignmentSubmissionBodyState_getStudentName_closure(_this, $name, index)); _this._assignmentSubmitted = $.$get$locator().call$1$0(type$.AssignmentProvider).getAssignmentSubmittedById$1(_this._assignment_submission_body$_selectedIndex); _this.setState$1(new A._AssignmentSubmissionBodyState_getStudentName_closure0(_this)); if (_this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 900) { t1 = _this._framework$_element; t1.toString; A.showDialog(new A._AssignmentSubmissionBodyState_getStudentName_closure1(_this), t1, null, true, type$.dynamic); } }, build$1(_, context) { var t2, t3, t4, t5, t6, _this = this, _null = null, t1 = type$.MediaQuery, width = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; if (_this._studentNames.length !== 0) { t2 = type$.Condition_dynamic; t3 = type$.JSArray_Condition_dynamic; t4 = A.ResponsiveValue$(context, width * 0.2, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, width, _null, t2)], t3), type$.double).value; t4.toString; t5 = _this._studentNames; t4 = A.Container$(_null, A.StudentListContainer$(_this.get$getStudentName(), true, _this._assignment_submission_body$_selectedIndex, t5), B.Clip_0, _null, _null, _null, _null, t1.size._dy, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t4); if (_this._assignment_submission_body$_isLoading) t1 = A.Center$(A.Lottie_asset(string$.assetsx2d, 300, 300), _null, _null); else { t1 = _this._studentName; t5 = type$.JSArray_Widget; t6 = A._setArrayType([new A.SizedBox(_null, 30, _null, _null), _this._buildAssignmentSubmissionContent$0(), new A.SizedBox(_null, 10, _null, _null), _this._buildSubmittedDate$0()], t5); if (_this._assignmentSubmitted.assignmentSubmission.hasFile === 1) B.JSArray_methods.addAll$1(t6, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), _this._assignment_submission_body$_buildFileUploadContainer$0()], t5)); t1 = new A.StudentSubmittedContainer(t1, t6, _null); } t3 = A.Row$(A._setArrayType([t4, A.ResponsiveVisibility$(A.Expanded$(A.Container$(_null, t1, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 32, 32, 32), _null, _null, _null), 1), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t2)], t3), B.List_empty9)], type$.JSArray_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t1 = t3; } else t1 = A.Center$(A.Text$("There are no submission", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); return t1; }, _buildAssignmentSubmissionContent$0() { var _null = null; return A.Container$(_null, A.Html$(this._assignmentSubmitted.assignmentSubmission.material, _null, A.LinkedHashMap_LinkedHashMap$_literal(["p", A.Style$(_null, _null, B.Color_0, _null, _null, B.Color_4278190080, _null, _null, "Poppins", _null, new A.FontSize(14, ""), _null, B.FontWeight_3, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.String, type$.Style)), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _buildSubmittedDate$0() { var _null = null; return new A.Padding(B.EdgeInsets_10_0_0_0, A.Text$(A.DateFormat$("yyyy-MM-dd hh:mm aa", _null).format$1(this._assignmentSubmitted.assignmentSubmission.submittedDate), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$1$fontSize(10), _null, _null, _null), _null); }, _assignment_submission_body$_buildFileUploadContainer$0() { var t1, _this = this, _null = null, a = _this._assignmentSubmitted.assignmentSubmission.fileUrl.split("."), s = _this._assignmentSubmitted.assignmentSubmission.fileUrl.split("/"), _fileName = s[s.length - 1], _ext = a[a.length - 1]; $.$get$locator().call$1$0(type$.ApiManager).toString; t1 = _this._assignmentSubmitted.assignmentSubmission.fileThumbUrl; t1.toString; return A.InkWell$(false, _null, true, new A.FileContainer(_fileName, B.IconData_57961_MaterialIcons_null_false, _ext, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._AssignmentSubmissionBodyState__buildFileUploadContainer_closure(_this, "https://lms.schoolsnepal.com" + t1, _fileName), _null, _null, _null, _null, _null, _null); } }; A._AssignmentSubmissionBodyState_getStudentName_closure.prototype = { call$0() { var t1 = this.$this; t1._assignment_submission_body$_isLoading = true; t1._studentName = this.name; t1._assignment_submission_body$_selectedIndex = this.index; }, $signature: 0 }; A._AssignmentSubmissionBodyState_getStudentName_closure0.prototype = { call$0() { this.$this._assignment_submission_body$_isLoading = false; }, $signature: 0 }; A._AssignmentSubmissionBodyState_getStudentName_closure1.prototype = { call$1(context) { var _null = null, t1 = this.$this, t2 = t1._studentName, t3 = type$.JSArray_Widget, t4 = A._setArrayType([new A.SizedBox(_null, 30, _null, _null), t1._buildAssignmentSubmissionContent$0(), new A.SizedBox(_null, 10, _null, _null), t1._buildSubmittedDate$0()], t3); if (t1._assignmentSubmitted.assignmentSubmission.hasFile === 1) B.JSArray_methods.addAll$1(t4, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), t1._assignment_submission_body$_buildFileUploadContainer$0()], t3)); return A.AlertDialog$(_null, _null, B.EdgeInsets_0_0_0_0, new A.StudentSubmittedContainer(t2, t4, _null), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_0_0_0_0, false, _null, new A.AlertTitleButton(t2, _null, _null), _null); }, $signature: 57 }; A._AssignmentSubmissionBodyState__buildFileUploadContainer_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.url; $async$goto = 5; return A._asyncAwait(A.canLaunch(t1), $async$call$0); case 5: // returning from await. $async$goto = $async$result ? 2 : 4; break; case 2: // then $async$goto = 6; return A._asyncAwait(A.launch(t1), $async$call$0); case 6: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.throwExpression("Could not launch " + t1); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.AssignmentSubmissionContainer.prototype = { createState$0() { var t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail; t1.toString; return new A._AssignmentSubmissionContainerState(t1, new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); } }; A._AssignmentSubmissionContainerState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = _this._widget; if (t1.isAddMaterial) { _this._isAssignmentPortal = true; _this._isAssignmentInfo = false; } _this._isNotMaterialEmpty = t1.isThereMaterials; }, _assignment_submission_container$_filePicker$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1, t2, t3, result; var $async$_assignment_submission_container$_filePicker$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($.$get$FilePicker__instance().pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(false, A._setArrayType(["pdf"], type$.JSArray_String), "Choose a document", B.FileType_5), $async$_assignment_submission_container$_filePicker$0); case 2: // returning from await. result = $async$result; if (result != null) { t1 = result.files; t2 = J.getInterceptor$asx(t1); t3 = t2.$index(t1, 0).size; $async$self._assignment_submission_container$_fileSize = t3; if (t3 / 1048576 > 8) { t2.clear$0(t1); $async$self.setState$1(new A._AssignmentSubmissionContainerState__filePicker_closure($async$self)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); } else { t1 = t2.$index(t1, 0); t1 = t1.bytes; t1.toString; $async$self._assignment_submission_container$_file = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(t1); $async$self._assignment_submission_container$_fileType = "application/pdf"; $async$self.setState$1(new A._AssignmentSubmissionContainerState__filePicker_closure0($async$self, result)); } } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_assignment_submission_container$_filePicker$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, t6, _this = this, _null = null, _s27_ = "Replace Assignment Material", t1 = type$.MediaQuery; if (context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 900) t2 = A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$($.$get$Platform_isIOS() ? B.IconData_57491_MaterialIcons_null_true : B.IconData_57490_MaterialIcons_null_true, B.Color_4278190080, _null), 24, new A._AssignmentSubmissionContainerState_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null); else t2 = _null; if (_this._widget.isAddMaterial) t3 = "Add Assignment Material"; else t3 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? "Assignment Material" : "Assignment Submission"; t3 = A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null); t4 = type$.JSArray_Widget; t5 = A._setArrayType([], t4); if (!(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 900)) { t1 = A._setArrayType([], t4); if (_this._widget.isMaterial) t1.push(A.TextButton$(false, A.Text$(_s27_, _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState_build_closure0(_this), _null)); if (_this._widget.isAddMaterial) t1.push(new A.CheckBox(_this._isPublished, "Publish Now?", new A._AssignmentSubmissionContainerState_build_closure1(_this), B.Color_4278190080, _null)); t1.push(new A.SizedBox(20, _null, _null, _null)); t1.push(new A.CancelButton(_null)); t6 = _this._widget; if (!t6.isThereMaterials) B.JSArray_methods.addAll$1(t1, A._setArrayType([new A.SizedBox(20, _null, _null, _null), A.roundButton(_null, _null, _null, false, t6.isAddMaterial ? _this.get$_addMaterial() : _this.get$_submitAssignment(), _null, "Submit", _null)], t4)); else if (t6.isMaterial) t1.push(A.TextButton$(false, A.Text$(_s27_, _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState_build_closure2(_this), _null)); t5.push(new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null)); } return A.Scaffold$(A.AppBar$(t5, false, B.Color_4294967295, 0, _null, t2, t3), B.Color_4294967295, _this._buildBody$0(), _null, true, _null, _null); }, _buildBody$0() { var t4, t5, t6, side, t7, _this = this, _null = null, t1 = type$.MediaQuery, t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data, t3 = A.BorderRadius$circular(8); t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t1).data; if (_this._assignment_submission_container$_isLoading) t4 = A.Center$(A.Lottie_asset("assets/lottie_animations/uploading.json", 300, 300), _null, _null); else { t4 = type$.JSArray_Widget; t5 = A._setArrayType([], t4); t6 = _this._widget; if (!t6.isMaterial && !t6.isAddMaterial) { side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t6 = A.Expanded$(A.GestureDetector$(_null, _this._assignment_submission_container$_buildFormTab$2("Assignment Information", _this._isAssignmentInfo), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState__buildBody_closure(_this), _null, _null, _null, _null, _null, _null, _null), 1); t7 = _this._widget.isAddMaterial ? "Material Portal" : "Assignment Portal"; B.JSArray_methods.addAll$1(t5, A._setArrayType([A.Container$(_null, A.Row$(A._setArrayType([t6, A.Expanded$(A.GestureDetector$(_null, _this._assignment_submission_container$_buildFormTab$2(t7, _this._isAssignmentPortal), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState__buildBody_closure0(_this), _null, _null, _null, _null, _null, _null, _null), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(_null, 10, _null, _null)], t4)); } t5.push(new A.Padding(new A.EdgeInsets(14, 5, 14, 5), _this._buildFormContainer$0(), _null)); t4 = A.ListView$(true, true, t5, _null, _null, _null, _null, B.Axis_1, false); } return A.Container$(B.Alignment_0_0, t4, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, _null, t3, _null, _null, B.BoxShape_0), _null, t2.size._dy, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t1.size._dx); }, _assignment_submission_container$_buildFormTab$2(title, activated) { var _null = null, t1 = type$.JSArray_Widget; t1 = A._setArrayType([new A.Padding(new A.EdgeInsets(10, 10, 10, 10), A.Row$(A._setArrayType([new A.Spacer(_null), A.Text$(title, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_3707764736, _null, _null, _null, _null, _null, "Poppins", _null, _null, 14, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.Spacer(_null)], t1), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null)], t1); if (activated) t1.push(A.Container$(_null, _null, B.Clip_0, $.$get$DraclmsTheme_mainColor(), _null, _null, _null, 3, _null, _null, _null, _null, _null, _null)); return A.Expanded$(A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1); }, _buildFormContainer$0() { var t1, t2, t3, t4, t5, t6, t7, _this = this, _null = null; if (_this._isAssignmentInfo) { t1 = _this._widget.assignment.title; t1.toString; t1 = A.Text$(t1, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$fontSize$fontWeight(14, B.FontWeight_4), _null, _null, _null); t2 = type$.JSArray_Widget; t3 = A._setArrayType([], t2); if (_this._widget.assignment.hasDeadline === 1) { t4 = A.Text$("Deadline:", _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$fontSize$fontWeight(10, B.FontWeight_4), _null, _null, _null); t5 = A.DateFormat$("MMM d", _null); t6 = _this._widget.assignment.deadlineBy; t6.toString; t6 = "Due " + t5.format$1(A.DateTime_parse(t6)) + ", "; t5 = A.DateFormat$("hh:mm aaa", _null); t7 = _this._widget.assignment.deadlineBy; t7.toString; B.JSArray_methods.addAll$1(t3, A._setArrayType([t4, new A.SizedBox(5, _null, _null, _null), A.Chip$(B.MaterialColor_Map_JNc9P_4294198070, _null, A.Text$(t6 + t5.format$1(A.DateTime_parse(t7)), _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize(B.Color_4294967295, 10), _null, _null, _null))], t2)); } t3.push(new A.Spacer(_null)); t3.push(A.Text$("Uploaded On:", _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$fontSize$fontWeight(10, B.FontWeight_4), _null, _null, _null)); t3.push(new A.SizedBox(5, _null, _null, _null)); t4 = A.DateFormat$yMMMMd(); t5 = _this._widget.assignment.createdAt; t5.toString; t3.push(A.Chip$(B.MaterialColor_Map_JNwaj_4280391411, _null, A.Text$(t4.format$1(t5), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4294967295, 10), _null, _null, _null))); t2 = A._setArrayType([t1, new A.SizedBox(_null, 10, _null, _null), A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 8, _null, _null), new A.Flexible(1, B.FlexFit_1, _this._buildAssignmentMaterialCard$0(), _null), new A.SizedBox(_null, 8, _null, _null)], t2); if (_this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 900 && $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") t2.push(A.TextButton$(false, A.Text$("Replace Assignment Material", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState__buildFormContainer_closure(_this), _null)); t1 = A.Column$(t2, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); } else t1 = _this._isAssignmentPortal ? _this._buildAssignmentSubmissionForm$0() : new A.SizedBox(_null, _null, _null, _null); return t1; }, _buildAssignmentMaterialCard$0() { return A.Consumer$(new A._AssignmentSubmissionContainerState__buildAssignmentMaterialCard_closure(this), type$.AssignmentProvider); }, _buildFileUploadContainer$1(materials) { var _null = null, t1 = materials.fileUrl, a = t1.split("."), s = t1.split("/"), _fileName = s[s.length - 1]; return A.InkWell$(false, _null, true, new A.FileContainer(_fileName, B.IconData_57961_MaterialIcons_null_false, a[a.length - 1], _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._AssignmentSubmissionContainerState__buildFileUploadContainer_closure(this, materials, _fileName), _null, _null, _null, _null, _null, _null); }, _assignment_submission_container$_buildDropZone$1(context) { return new A.Builder(new A._AssignmentSubmissionContainerState__buildDropZone_closure(this), null); }, _buildAssignmentSubmissionForm$0() { var t3, side, _this = this, _null = null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 = 17976931348623157e292, t1 = _this._widget.isAddMaterial ? "Assignment Material" : "Assignment Answer", t2 = type$.JSArray_Widget; t1 = A._setArrayType([A.CustomTextField$(_null, B.OutlineInputBorder_QIs, $.$get$DraclmsTheme_textFormFieldFillColor(), _null, false, false, _null, B.TextInputType_0_null_null, t1, 10, _null, new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure(_this), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null)], t2); t3 = $.$get$DraclmsTheme_cardBorderColor(); side = new A.BorderSide(t3, 1, B.BorderStyle_1); t3 = _this._framework$_element; t3.toString; t3 = A.Container$(_null, _this._assignment_submission_container$_buildDropZone$1(t3), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t1.push(A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([t3, A.Container$(_null, A.Column$(A._setArrayType([new A.SizedBox(_null, 8, _null, _null), A.Icon$(B.IconData_61532_MaterialIcons_null_false, _null, 80), new A.SizedBox(_null, 20, _null, _null), A.Text$("Note: Only PDF is accepted", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4286611584), _null, _null, _null, _null, _null, _null, _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 8, _null, _null), A.Text$("Drag and Drop the file or", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4281413937), _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 8, _null, _null), A.TextButton$(false, A.Text$("Browse", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4278474174), _null, B.TextDecoration_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_assignment_submission_container$_filePicker(), _null)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368)], t2), B.StackFit_0, _null, _null)); t3 = _this._assignment_submission_container$_fileName; if (t3 !== "") B.JSArray_methods.addAll$1(t1, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$("Selected Document: " + t3, _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null)], t2)); t3 = _this._assignment_submission_container$_error; if (t3 !== "") B.JSArray_methods.addAll$1(t1, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$("Error: " + t3, _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.MaterialColor_Map_JNc9P_4294198070, 10), _null, _null, _null)], t2)); t1.push(new A.SizedBox(_null, 10, _null, _null)); if (_this._widget.isAddMaterial) { t3 = A._setArrayType([new A.CheckBox(_this._hasMarks, "Has Marks?", new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure0(_this), B.Color_4278190080, _null)], t2); if (_this._hasMarks) B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _this._totalMarks, false, false, _null, B.TextInputType_0_null_null, "Total Marks", 1, _null, new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure1(_this), _null, A.validator_Validator_validator$closure())], t2)); t3.push(new A.CheckBox(_this._isPublished, "Publish Now?", new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure2(_this), B.Color_4278190080, _null)); B.JSArray_methods.addAll$1(t1, t3); } return A.Form$(_null, A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._assignment_submission_container$_formKey); }, _submitAssignment$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, materialArray, material, t1, t2, t3, t4, t5, exception, $async$exception; var $async$_submitAssignment$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$self.setState$1(new A._AssignmentSubmissionContainerState__submitAssignment_closure($async$self)); t1 = $async$self._assignment_submission_container$_formKey; if (!t1.get$currentState().validate$0()) { $async$next = [1]; // goto finally $async$goto = 5; break; } t1.get$currentState().save$0(0); materialArray = []; t1 = $async$self._assignmentAnswer; t2 = $async$self._assignment_submission_container$_fileType; t3 = "data:" + t2 + ";base64,"; t4 = $async$self._assignment_submission_container$_file; t5 = type$.dynamic; material = A.LinkedHashMap_LinkedHashMap$_literal(["id", null, "material", t1, "file", t3 + t4, "file_name", $async$self._assignment_submission_container$_fileName, "file_size", $async$self._assignment_submission_container$_fileSize, "file_type", t2, "file_thumb_url", "data:" + t2 + ";base64," + t4, "has_previous_file", false, "is_remove", false], type$.String, t5); J.add$1$ax(materialArray, material); $async$goto = 7; return A._asyncAwait($.$get$locator().call$1$0(type$.AssignmentProvider).submitAssignment$3$assignmentId$materialArray$studentId($async$self._widget.assignment.id, materialArray, $async$self._userAccountDetail.accountUser.resourceStudent.id), $async$_submitAssignment$0); case 7: // returning from await. t4 = $async$self._framework$_element; t4.toString; A.Navigator_of(t4, false).pushReplacement$1(A.MaterialPageRoute$(new A._AssignmentSubmissionContainerState__submitAssignment_closure0(), false, null, t5)); $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self.setState$1(new A._AssignmentSubmissionContainerState__submitAssignment_closure1($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_submitAssignment$0, $async$completer); }, _addMaterial$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, materialArray, material, t1, t2, t3, t4, t5, t6, t7, exception, $async$exception; var $async$_addMaterial$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$self.setState$1(new A._AssignmentSubmissionContainerState__addMaterial_closure($async$self)); t1 = $async$self._assignment_submission_container$_formKey; if (!t1.get$currentState().validate$0()) { $async$next = [1]; // goto finally $async$goto = 5; break; } t1.get$currentState().save$0(0); materialArray = []; t1 = $async$self._hasMarks; t2 = $async$self._isPublished; t3 = $async$self._assignmentAnswer; t4 = $async$self._assignment_submission_container$_fileType; t5 = "data:" + t4 + ";base64,"; t6 = $async$self._assignment_submission_container$_file; t7 = type$.dynamic; material = A.LinkedHashMap_LinkedHashMap$_literal(["id", null, "has_marks", t1, "is_published", t2, "material", t3, "material", t3, "file", t5 + t6, "file_name", $async$self._assignment_submission_container$_fileName, "file_size", $async$self._assignment_submission_container$_fileSize, "file_type", t4, "file_thumb_url", "data:" + t4 + ";base64," + t6, "has_previous_file", $async$self._isNotMaterialEmpty, "is_remove", false, "total_marks", $async$self._totalMarks], type$.String, t7); J.add$1$ax(materialArray, material); $async$goto = 7; return A._asyncAwait($.$get$locator().call$1$0(type$.AssignmentProvider).addAssignmentMaterial$2$assignmentId$materialArray($async$self._widget.assignment.id, materialArray), $async$_addMaterial$0); case 7: // returning from await. t6 = $async$self._framework$_element; t6.toString; A.Navigator_of(t6, false).pushReplacement$1(A.MaterialPageRoute$(new A._AssignmentSubmissionContainerState__addMaterial_closure0(), false, null, t7)); $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self.setState$1(new A._AssignmentSubmissionContainerState__addMaterial_closure1($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_addMaterial$0, $async$completer); } }; A._AssignmentSubmissionContainerState__filePicker_closure.prototype = { call$0() { this.$this._assignment_submission_container$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._AssignmentSubmissionContainerState__filePicker_closure0.prototype = { call$0() { this.$this._assignment_submission_container$_fileName = J.$index$asx(this.result.files, 0).name; }, $signature: 0 }; A._AssignmentSubmissionContainerState_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); }, $signature: 0 }; A._AssignmentSubmissionContainerState_build_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState_build__closure1(t1)); }, $signature: 0 }; A._AssignmentSubmissionContainerState_build__closure1.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget; t1._isAssignmentPortal = t2.isAddMaterial = true; t2.isThereMaterials = t2.isMaterial = t1._isAssignmentInfo = false; }, $signature: 0 }; A._AssignmentSubmissionContainerState_build_closure1.prototype = { call$1(value) { var t1 = this.$this; return t1.setState$1(new A._AssignmentSubmissionContainerState_build__closure0(t1, value)); }, $signature: 6 }; A._AssignmentSubmissionContainerState_build__closure0.prototype = { call$0() { this.$this._isPublished = this.value; }, $signature: 0 }; A._AssignmentSubmissionContainerState_build_closure2.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState_build__closure(t1)); }, $signature: 0 }; A._AssignmentSubmissionContainerState_build__closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget; t1._isAssignmentPortal = t2.isAddMaterial = true; t2.isThereMaterials = t2.isMaterial = t1._isAssignmentInfo = false; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildBody_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState__buildBody__closure0(t1)); }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildBody__closure0.prototype = { call$0() { var t1 = this.$this; t1._isAssignmentInfo = true; t1._isAssignmentPortal = false; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildBody_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState__buildBody__closure(t1)); }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildBody__closure.prototype = { call$0() { var t1 = this.$this; t1._isAssignmentInfo = false; t1._isAssignmentPortal = true; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildFormContainer_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState__buildFormContainer__closure(t1)); }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildFormContainer__closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget; t1._isAssignmentPortal = t2.isAddMaterial = true; t2.isThereMaterials = t2.isMaterial = t1._isAssignmentInfo = false; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildAssignmentMaterialCard_closure.prototype = { call$3(context, assignmentProvider, child) { var materials, t3, _list, t4, t5, t6, index, index0, t7, t8, t9, _null = null, t1 = this.$this, t2 = t1._widget.assignment.id; t2.toString; materials = assignmentProvider.getMaterialsByAssignmentId$1(t2); t2 = materials.length; t1._isNotMaterialEmpty = t2 !== 0; t3 = A.ScrollController$(_null, 0, true); _list = J.JSArray_JSArray$allocateGrowable(t2, type$.Widget); for (t4 = type$.JSArray_Widget, t5 = type$.String, t6 = type$.Style, index = 0; index < t2; index = index0) { index0 = index + 1; t7 = "" + index0; t8 = materials[index].material; t8.toString; t8 = A.Html$(t8, _null, A.LinkedHashMap_LinkedHashMap$_literal(["p", A.Style$(_null, _null, B.Color_0, _null, _null, B.Color_4278190080, _null, _null, "Poppins", _null, new A.FontSize(12, ""), _null, B.FontWeight_3, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], t5, t6)); t9 = materials[index]; t9 = t9.hasMarks === 1 ? A.Chip$(B.MaterialColor_Map_HFpTk_4288585374, 3, new A.Text("Marks: " + A.S(t9.totalMarks), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)) : _null; _list[index] = A.Container$(_null, A.ExpansionTile$(A._setArrayType([new A.Padding(B.EdgeInsets_10_10_10_10, t1._buildFileUploadContainer$1(materials[index]), _null)], t4), _null, B.Alignment_m1_0, _null, _null, _null, new A.Text(t7, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, t9, t8, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 10, 0, 10), _null, _null, _null); } return A.ListView$(true, true, _list, t3, _null, _null, _null, B.Axis_1, true); }, "call*": "call$3", $requiredArgCount: 3, $signature: 240 }; A._AssignmentSubmissionContainerState__buildFileUploadContainer_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.materials.fileUrl; t1.toString; $async$goto = 5; return A._asyncAwait(A.canLaunch(t1), $async$call$0); case 5: // returning from await. $async$goto = $async$result ? 2 : 4; break; case 2: // then $async$goto = 6; return A._asyncAwait(A.launch(t1), $async$call$0); case 6: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.throwExpression("Could not launch " + t1); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._AssignmentSubmissionContainerState__buildDropZone_closure.prototype = { call$1(context) { var t1 = this.$this; return A.DropzoneView$(B.CursorType_11, new A._AssignmentSubmissionContainerState__buildDropZone__closure(t1), new A._AssignmentSubmissionContainerState__buildDropZone__closure0(t1), new A._AssignmentSubmissionContainerState__buildDropZone__closure1(), new A._AssignmentSubmissionContainerState__buildDropZone__closure2(), B.DragOperation_6); }, $signature: 176 }; A._AssignmentSubmissionContainerState__buildDropZone__closure.prototype = { call$1(ctrl) { return this.$this.___AssignmentSubmissionContainerState__dropZoneController = ctrl; }, $signature: 175 }; A._AssignmentSubmissionContainerState__buildDropZone__closure2.prototype = { call$0() { return A.print("Zone 1 loaded"); }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildDropZone__closure1.prototype = { call$1(ev) { return A.print("Zone 1 error: " + A.S(ev)); }, $signature: 26 }; A._AssignmentSubmissionContainerState__buildDropZone__closure0.prototype = { call$1(ev) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, bytes, a; 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 a = J.split$1$s(J.get$name$x(ev), "."); $async$goto = a[a.length - 1] !== "pdf" ? 2 : 4; break; case 2: // then A.showToaster("Provided file is not pdf", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 3; break; case 4: // else t1 = $async$self.$this; t2 = A._lateReadCheck(t1.___AssignmentSubmissionContainerState__dropZoneController, "_dropZoneController"); $async$goto = 5; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileSize$2$viewId(ev, t2.viewId), $async$call$1); case 5: // returning from await. t2 = $async$result; t1._assignment_submission_container$_fileSize = t2; $async$goto = t2 / 1048576 > 8 ? 6 : 8; break; case 6: // then t1.setState$1(new A._AssignmentSubmissionContainerState__buildDropZone___closure(t1)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 7; break; case 8: // else t2 = A._lateReadCheck(t1.___AssignmentSubmissionContainerState__dropZoneController, "_dropZoneController"); $async$goto = 9; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileData$2$viewId(ev, t2.viewId), $async$call$1); case 9: // returning from await. bytes = $async$result; t1._assignment_submission_container$_file = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(bytes); t1._assignment_submission_container$_fileType = "application/pdf"; t1.setState$1(new A._AssignmentSubmissionContainerState__buildDropZone___closure0(t1, ev)); case 7: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 58 }; A._AssignmentSubmissionContainerState__buildDropZone___closure.prototype = { call$0() { this.$this._assignment_submission_container$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildDropZone___closure0.prototype = { call$0() { this.$this._assignment_submission_container$_fileName = J.get$name$x(this.ev); }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure.prototype = { call$1(value) { return this.$this._assignmentAnswer = value; }, $signature: 9 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure0(t1, value)); }, $signature: 5 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure0.prototype = { call$0() { this.$this._hasMarks = this.value; }, $signature: 0 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure1.prototype = { call$1(val) { return this.$this._totalMarks = val; }, $signature: 9 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm_closure2.prototype = { call$1(value) { var t1 = this.$this; return t1.setState$1(new A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure(t1, value)); }, $signature: 6 }; A._AssignmentSubmissionContainerState__buildAssignmentSubmissionForm__closure.prototype = { call$0() { this.$this._isPublished = this.value; }, $signature: 0 }; A._AssignmentSubmissionContainerState__submitAssignment_closure.prototype = { call$0() { this.$this._assignment_submission_container$_isLoading = true; }, $signature: 0 }; A._AssignmentSubmissionContainerState__submitAssignment_closure0.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._AssignmentSubmissionContainerState__submitAssignment_closure1.prototype = { call$0() { this.$this._assignment_submission_container$_isLoading = false; }, $signature: 0 }; A._AssignmentSubmissionContainerState__addMaterial_closure.prototype = { call$0() { this.$this._assignment_submission_container$_isLoading = true; }, $signature: 0 }; A._AssignmentSubmissionContainerState__addMaterial_closure0.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._AssignmentSubmissionContainerState__addMaterial_closure1.prototype = { call$0() { this.$this._assignment_submission_container$_isLoading = false; }, $signature: 0 }; A.AssignmentSubmissionList.prototype = { build$1(_, context) { var _null = null, size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size, t1 = size._dy, t2 = size._dx; t2 = A.ResponsiveValue$(context, A.Container$(_null, this._buildSubmissionList$0(), B.Clip_0, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, t2), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$("Your Submission", _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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, A.Container$(_null, this._buildSubmissionList$0(), B.Clip_0, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, t2), _null, true, _null, _null), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t2.toString; return t2; }, _buildSubmissionList$0() { var t1, t2, index, index0, t3, t4, p, errors, group, t5, t6, t7, t8, t9, t10, _null = null, _s8_ = "document", _s4_ = "html", _s32_ = "'html' is not a valid selector: ", _s32_0 = "'body' is not a valid selector: ", assignmentSubmittedList = this._assignment_submission_list$_assignment.assignmentSubmission, _length = assignmentSubmittedList.length, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (t1 = type$.JSArray_Widget, t2 = type$.JSArray_Message, index = 0; index < _length; index = index0) { index0 = index + 1; t3 = "" + index0; t4 = assignmentSubmittedList[index].material; t4.toString; p = A.HtmlParser$(t4, _null, false, _null); p.innerHTML = null; p._parse$0(); t4 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t2); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t4 = new A.SelectorEvaluator().querySelector$2(0, t4, group); if (t4 == null) t4 = _null; else { errors = A._setArrayType([], t2); group = A.parseSelectorGroup("body", errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_0 + A.S(errors), _null, _null)); t4 = new A.SelectorEvaluator().querySelector$2(0, t4, group); } t4.toString; t5 = new A.StringBuffer(""); new A._ConcatTextVisitor(t5).visit$1(t4); t5 = t5._contents; p = A.HtmlParser$(t5.charCodeAt(0) == 0 ? t5 : t5, _null, false, _null); p.innerHTML = null; p._parse$0(); t5 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t2); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t4 = new A.SelectorEvaluator().querySelector$2(0, t5, group); t4.toString; t5 = new A.StringBuffer(""); new A._ConcatTextVisitor(t5).visit$1(t4); t5 = t5._contents; t4 = A.DraclmsTheme_body1Style().copyWith$2$color$fontSize(B.Color_4278190080, 14); t6 = A.DateFormat$("yyyy-MM-dd hh:mm aa", _null); t7 = assignmentSubmittedList[index].submittedDate; t7.toString; t7 = t6.format$1(t7); t6 = A.DraclmsTheme_subTitleStyle().copyWith$1$fontSize(10); t8 = assignmentSubmittedList[index].teacherFeedback; t8 = t8 !== "" ? new A.Text(A.S(t8), _null, A.DraclmsTheme_body1Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_3), _null, _null, _null, _null, _null, _null, _null, _null) : new A.Text("Pending for Teacher Feedback", _null, A.DraclmsTheme_body1Style().copyWith$2$fontSize$fontWeight(12, B.FontWeight_3), _null, _null, _null, _null, _null, _null, _null, _null); t8 = A.Container$(_null, t8, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, _null); t9 = assignmentSubmittedList[index].material; t9.toString; p = A.HtmlParser$(t9, _null, false, _null); p.innerHTML = null; p._parse$0(); t9 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t2); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t9 = new A.SelectorEvaluator().querySelector$2(0, t9, group); if (t9 == null) t9 = _null; else { errors = A._setArrayType([], t2); group = A.parseSelectorGroup("body", errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_0 + A.S(errors), _null, _null)); t9 = new A.SelectorEvaluator().querySelector$2(0, t9, group); } t9.toString; t10 = new A.StringBuffer(""); new A._ConcatTextVisitor(t10).visit$1(t9); t10 = t10._contents; p = A.HtmlParser$(t10.charCodeAt(0) == 0 ? t10 : t10, _null, false, _null); p.innerHTML = null; p._parse$0(); t10 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t2); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t9 = new A.SelectorEvaluator().querySelector$2(0, t10, group); t9.toString; t10 = new A.StringBuffer(""); new A._ConcatTextVisitor(t10).visit$1(t9); t10 = t10._contents; t10 = A._setArrayType([t8, new A.SizedBox(_null, 10, _null, _null), A.Container$(_null, new A.Text(t10.charCodeAt(0) == 0 ? t10 : t10, _null, A.DraclmsTheme_body1Style().copyWith$3$color$fontSize$fontWeight(B.Color_4278190080, 14, B.FontWeight_3), _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, _null)], t1); t8 = assignmentSubmittedList[index]; if (t8.fileUrl !== "") B.JSArray_methods.addAll$1(t10, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), new A.Padding(B.EdgeInsets_10_0_10_0, this._assignment_submission_list$_buildFileUploadContainer$1(t8), _null), new A.SizedBox(_null, 10, _null, _null)], t1)); _list[index] = A.ExpansionTile$(t10, _null, B.Alignment_m1_m1, _null, _null, _null, new A.Text(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, new A.Text(t7, _null, t6, _null, _null, _null, _null, _null, _null, _null, _null), new A.Text(t5.charCodeAt(0) == 0 ? t5 : t5, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null), _null); } return A.Column$(_list, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, _assignment_submission_list$_buildFileUploadContainer$1(submittedFile) { var _null = null, t1 = submittedFile.fileUrl, a = t1.split("."), s = t1.split("/"), _fileName = s[s.length - 1]; return A.InkWell$(false, _null, true, new A.FileContainer(_fileName, B.IconData_57961_MaterialIcons_null_false, a[a.length - 1], _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.AssignmentSubmissionList__buildFileUploadContainer_closure(submittedFile, _fileName), _null, _null, _null, _null, _null, _null); } }; A.AssignmentSubmissionList__buildFileUploadContainer_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.submittedFile.fileUrl; t1.toString; $async$goto = 5; return A._asyncAwait(A.canLaunch(t1), $async$call$0); case 5: // returning from await. $async$goto = $async$result ? 2 : 4; break; case 2: // then $async$goto = 6; return A._asyncAwait(A.launch(t1), $async$call$0); case 6: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.throwExpression("Could not launch " + t1); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.AssignmentTabView.prototype = { build$1(_, context) { var _null = null, t1 = A.ScrollController$(_null, 0, true), t2 = A._setArrayType([], type$.JSArray_Widget); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") t2.push(new A.AddAssignmentWidget(_null)); t2.push(new A.SizedBox(_null, 10, _null, _null)); t2.push(new A.AssignmentListView(_null)); return A.ListView$(true, true, t2, t1, new A.UniqueKey(), _null, _null, B.Axis_1, true); } }; A.ContentTabView.prototype = { _buildCustomTab$1(title) { var t1, _null = null; $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; t1 = A.ResponsiveValue$(t1, 10, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; return A.Tab$(A.Text$(title, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_3707764736, _null, _null, _null, _null, _null, "Poppins", _null, _null, t1, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null)); }, build$1(_, context) { var side, t3, t4, t5, t6, t7, t8, _this = this, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t3 = type$.JSArray_Widget; t4 = A._setArrayType([_this._buildCustomTab$1("Notes"), _this._buildCustomTab$1("Q&A"), _this._buildCustomTab$1("Practice Tests"), _this._buildCustomTab$1("Assignments")], t3); t5 = $.$get$DraclmsTheme_mainColor(); t6 = A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 18, _null, B.FontWeight_6, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); t7 = $.$get$DraclmsTheme_selectedColor(); t8 = A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 18, _null, B.FontWeight_6, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); return new A.DefaultTabController(4, 0, A.Column$(A._setArrayType([A.Container$(_null, new A.TabBar(t4, $.$get$DraclmsTheme_mainColor(), t5, t7, t6, t8, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 60, _null, _null, _null, _null, _null, t2.size._dx), A.Container$(_null, new A.TabBarView(A._setArrayType([new A.NoteTabView(_null), new A.QATabView(_null), new A.TestTabView(_null), new A.AssignmentTabView(_null)], t3), _null), B.Clip_0, _null, _null, _null, _null, t1.size._dy * 1.7, _null, _null, _null, _null, _null, 17976931348623157e292)], t3), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null); } }; A.NoteTabView.prototype = { build$1(_, ntvCtx) { var _null = null, t1 = A.ScrollController$(_null, 0, true), t2 = $.$get$locator().call$1$0(type$.NoteProvider)._noteList; t2 = new A.ListMapView(t2, A._arrayInstanceType(t2)._eval$1("ListMapView<1>")); return A.ListView$(false, false, A._setArrayType([new A.AddNoteContainer(_null), new A.SizedBox(_null, 8, _null, _null), new A.Padding(B.EdgeInsets_6_0_6_0, A.Column$(t2.get$entries(t2).map$1$1(0, new A.NoteTabView_build_closure(), type$.NoteListItem).toList$0(0), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null)], type$.JSArray_Widget), t1, new A.UniqueKey(), _null, _null, B.Axis_1, true); } }; A.NoteTabView_build_closure.prototype = { call$1(e) { var t1 = e.get$value(e).id; t1.toString; return new A.NoteListItem(t1, new A.UniqueKey()); }, $signature: 919 }; A.AddNoteContainer.prototype = { build$1(_, ctx) { var _null = null, t1 = A.BorderRadius$circular(8), t2 = $.$get$DraclmsTheme_cardBorderColor(); return A.Card$(new A.ListTileButton("Add Notes to the class", "", A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57424_MaterialIcons_null_false, _null, 25), 24, new A.AddNoteContainer_build_closure(ctx), B.EdgeInsets_8_8_8_8, _null, _null, _null), true, _null), _null, 3, _null, _null, _null, new A.RoundedRectangleBorder(t1, new A.BorderSide(t2, 1, B.BorderStyle_1))); } }; A.AddNoteContainer_build_closure.prototype = { call$0() { var notePage = A.NoteForm$("", false, new A.UniqueKey(), null, ""); A.Navigator_of(this.ctx, false).pushReplacement$1(A.MaterialPageRoute$(new A.AddNoteContainer_build__closure(notePage), false, null, type$.dynamic)); }, $signature: 0 }; A.AddNoteContainer_build__closure.prototype = { call$1(bCtx) { return this.notePage; }, $signature: 241 }; A.CommentCard.prototype = { createState$0() { return new A._CommentCardState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), A.HtmlEditorController$(), B._StateLifecycle_0); } }; A._CommentCardState.prototype = { _editComment$1(id) { return this._editComment$body$_CommentCardState(id); }, _editComment$body$_CommentCardState(id) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, t1; var $async$_editComment$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._formKey1; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); if ($async$self._comment.length === 0) { A.showToaster("Comment should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(type$.NoteProvider).editComment$3$comment$commentId$noteId($async$self._comment, id, $async$self._widget.noteId), $async$_editComment$1); case 3: // returning from await. $async$self.setState$1(new A._CommentCardState__editComment_closure($async$self)); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_editComment$1, $async$completer); }, build$1(_, context) { var t5, t6, _this = this, _null = null, t1 = A.SvgPicture$asset("assets/icons/avatar.svg", _null, 28, 28), t2 = A.Text$(A.S(_this._widget.comment.fullName), _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null), t3 = A.DateFormat$(_null, _null).addPattern$1("yMEd").addPattern$1("jm"), t4 = _this._widget.comment.createdAt; t4.toString; t4 = t3.format$1(t4); t3 = A.DraclmsTheme_subTitle2Style(); t5 = B.Map_HFpTk.$index(0, 700); t5.toString; t6 = type$.JSArray_Widget; t5 = A.Row$(A._setArrayType([t2, new A.SizedBox(8, _null, _null, _null), A.Text$(t4, _null, _null, _null, _null, t3.copyWith$3$color$fontSize$fontWeight(t5, 10, B.FontWeight_3), _null, _null, _null)], t6), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null); t1 = A.ListTile$(false, B.EdgeInsets_0_0_0_0, true, _null, true, _null, _null, false, t1, _null, false, _null, _null, _null, _null, t5, $.$get$locator().call$1$0(type$.AuthProvider).getUserFullName$0() === _this._widget.comment.fullName ? A.CustomPopMenu$(A._setArrayType(["Edit", "Delete"], type$.JSArray_String), new A._CommentCardState_build_closure(_this)) : _null, _null); if (!_this._isEdit) { t2 = _this._widget.comment.comment; t2.toString; t2 = A.Column$(A._setArrayType([A.Text$(_this._comment_card$_parseHtmlString$1(t2), 2, B.TextOverflow_1, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_3707764736, 12), _null, _null, _null)], t6), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } else t2 = _this._comment_card$_buildAddCommentSection$0(); return A.Column$(A._setArrayType([t1, new A.Padding(B.EdgeInsets_52_0_0_0, t2, _null)], t6), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, _comment_card$_buildAddCommentSection$0() { var t3, t4, _this = this, _null = null, side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1), t1 = _this._isEdit ? _null : A.SvgPicture$asset("assets/icons/avatar.svg", _null, 20, 20), t2 = _this._widget.comment.comment; t2.toString; t2 = _this._comment_card$_parseHtmlString$1(t2); t3 = A.DraclmsTheme_bodyStyle().copyWith$1$fontSize(14); t4 = $.$get$DraclmsTheme_textFormFieldBorderColor(); return A.Form$(_null, A.Container$(B.Alignment_0_0, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, t1, _null, false, _null, _null, _null, _null, A.TextFormField$(false, _null, A.InputDecoration$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(20), new A.BorderSide(t4, 1, B.BorderStyle_1)), _null, new A.EdgeInsets(12, 12, 12, 12), _null, _null, _null, _null, true, new A.OutlineInputBorder(4, A.BorderRadius$circular(20), new A.BorderSide(t4, 1, B.BorderStyle_1)), _null, _null, _null, _null, B.Color_4294967295, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.Color_0, _null, _null, false, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, _null, t2, _null, _null, 1, false, _null, _null, _null, new A._CommentCardState__buildAddCommentSection_closure(_this), false, _null, t3, B.TextAlign_4, _null, A.validator_Validator_validator$closure()), A.GestureDetector$(_null, A.SvgPicture$asset("assets/icons/send.svg", _null, 20, 20), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CommentCardState__buildAddCommentSection_closure0(_this), _null, _null, _null, _null, _null, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), new A.BorderRadius(B.Radius_0_0, B.Radius_0_0, new A.Radius(8, 8), new A.Radius(8, 8)), _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null), _this._formKey1); }, _delete$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1; var $async$_delete$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._framework$_element; t1.toString; A.showDialog(new A._CommentCardState__delete_closure($async$self), t1, null, true, type$.dynamic); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_delete$0, $async$completer); }, _comment_card$_parseHtmlString$1(htmlString) { var $document = A.parse(htmlString), t1 = $document.get$body($document); t1.toString; t1 = new A.SelectorEvaluator().querySelector$2(0, A.parse(A._getText(t1)), A._parseSelectorList("html")); t1.toString; return A._getText(t1); } }; A._CommentCardState__editComment_closure.prototype = { call$0() { this.$this._isEdit = false; }, $signature: 0 }; A._CommentCardState_build_closure.prototype = { call$1(value) { var t1; if (value === "Edit") { t1 = this.$this; t1.setState$1(new A._CommentCardState_build__closure(t1)); } else if (value === "Delete") this.$this._delete$0(0); }, $signature: 11 }; A._CommentCardState_build__closure.prototype = { call$0() { return this.$this._isEdit = true; }, $signature: 0 }; A._CommentCardState__buildAddCommentSection_closure.prototype = { call$1(value) { this.$this._comment = value; }, $signature: 26 }; A._CommentCardState__buildAddCommentSection_closure0.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget.comment.id; t2.toString; return t1._editComment$1(t2); }, $signature: 0 }; A._CommentCardState__delete_closure.prototype = { call$1(context) { var _null = null, t1 = A.Text$("Do you want to delete this note?", _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.TextButton$(false, A.Text$("Confirm", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._CommentCardState__delete__closure(this.$this, context), _null)], type$.JSArray_Widget), _null, _null, t1, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, _null, _null); }, $signature: 57 }; A._CommentCardState__delete__closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2, t3; 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 = $.$get$locator().call$1$0(type$.NoteProvider); t2 = $async$self.$this._widget; t3 = t2.comment.id; t3.toString; $async$goto = 2; return A._asyncAwait(t1.deleteComment$2$commentId$noteId(t3, t2.noteId), $async$call$0); case 2: // returning from await. A.Navigator_of($async$self.context, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.NoteCommentUserList.prototype = { createState$0() { return new A._NoteCommentUserListState(B._StateLifecycle_0); } }; A._NoteCommentUserListState.prototype = { build$1(_, context) { var _null = null, t1 = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); return A.Container$(B.Alignment_0_0, this._displayNotesComment$0(), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_0CF, t1, B.BorderSide_0CF, t1), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(20, 0, 20, 0), _null, _null, _null); }, _displayNotesComment$0() { var _noteCommentModel, totalNoteLen, t3, t4, t5, _null = null, t1 = $.$get$locator().call$1$0(type$.NoteProvider), t2 = this._widget.noteModel.id; t2.toString; _noteCommentModel = t1.getCommentByNote$1(t2); totalNoteLen = _noteCommentModel.noteCommentList.length; t2 = B.Map_HFpTk.$index(0, 700); t2.toString; t2 = A.SvgPicture$asset("assets/icons/message-circle.svg", t2, 20, 20); t1 = "" + totalNoteLen + " Comments"; t3 = A.DraclmsTheme_body2Style(); t4 = B.Map_HFpTk.$index(0, 700); t4.toString; t5 = type$.JSArray_Widget; t4 = A._setArrayType([A.ListTile$(false, new A.EdgeInsets(0, 4, 0, 4), true, _null, true, _null, _null, false, t2, _null, false, _null, _null, _null, _null, A.GestureDetector$(_null, A.Text$(t1, _null, _null, _null, _null, t3.copyWith$3$color$fontSize$fontWeight(t4, 12, B.FontWeight_5), _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._NoteCommentUserListState__displayNotesComment_closure(this), _null, _null, _null, _null, _null, _null, _null), _null, _null)], t5); if (totalNoteLen > 0) { t1 = this._isToShowAllComment; t2 = _noteCommentModel.noteCommentList; if (t1) { t1 = new A.ListMapView(t2, A._arrayInstanceType(t2)._eval$1("ListMapView<1>")); t1 = t1.get$entries(t1).map$1$1(0, new A._NoteCommentUserListState__displayNotesComment_closure0(), type$.CommentCard).toList$0(0); t1 = A.List_List$of(new A.ReversedListIterable(t1, A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>")), true, type$.Widget); t1.push(new A.SizedBox(_null, 5, _null, _null)); } else { t1 = B.JSArray_methods.get$last(t2); t2 = B.JSArray_methods.get$last(_noteCommentModel.noteCommentList).noteId; t2.toString; t5 = A._setArrayType([new A.CommentCard(t1, t2, _null), new A.SizedBox(_null, 5, _null, _null)], t5); t1 = t5; } B.JSArray_methods.addAll$1(t4, t1); } return A.Column$(t4, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A._NoteCommentUserListState__displayNotesComment_closure.prototype = { call$0() { var t1 = this.$this; return t1.setState$1(new A._NoteCommentUserListState__displayNotesComment__closure(t1)); }, $signature: 0 }; A._NoteCommentUserListState__displayNotesComment__closure.prototype = { call$0() { var t1 = this.$this; return t1._isToShowAllComment = !t1._isToShowAllComment; }, $signature: 0 }; A._NoteCommentUserListState__displayNotesComment_closure0.prototype = { call$1(e) { var t1 = e.get$value(e), t2 = e.get$value(e).noteId; t2.toString; return new A.CommentCard(t1, t2, null); }, $signature: 922 }; A.NoteListItem.prototype = { createState$0() { return new A._NoteListItemState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), A.TextEditingController$(null), B._StateLifecycle_0); } }; A._NoteListItemState.prototype = { initState$0() { this.super$State$initState(); this.noteModel = $.$get$locator().call$1$0(type$.NoteProvider).getNoteById$1(this._widget.noteId); }, build$1(_, context) { var t3, _this = this, _null = null, t1 = A.BorderRadius$circular(8), t2 = _this.noteModel; t2.toString; t2 = _this._buildNoteSection$1(t2); t3 = _this.noteModel; t3.toString; return A.Container$(_null, A.Column$(A._setArrayType([t2, new A.NoteCommentUserList(t3, new A.UniqueKey()), _this._buildAddCommentSection$1(t3)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(B.Color_4294967295, _null, _null, t1, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsets(0, 0, 0, 20), _null, _null, _null, _null); }, _buildNoteSection$1(noteModel) { var t2, t3, t4, t5, _null = null, side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1), t1 = noteModel.fullName; t1.toString; t2 = $.$get$locator().call$1$0(type$.AuthProvider).getUserFullName$0() === t1 ? A.CustomPopMenu$(A._setArrayType(["Edit", "Delete"], type$.JSArray_String), new A._NoteListItemState__buildNoteSection_closure(this, noteModel)) : new A.SizedBox(_null, _null, _null, _null); t3 = A.DateFormat$yMMMEd().addPattern$1("jm"); t4 = noteModel.createdAt; t4.toString; t4 = t3.format$1(t4); t3 = noteModel.title; t3.toString; t3 = A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null); t5 = noteModel.note; t5.toString; return A.Container$(_null, A.Column$(A._setArrayType([new A.ListTileButton(t1, t4, t2, false, _null), new A.Padding(new A.EdgeInsets(52, 0, 0, 0), t3, _null), new A.Padding(new A.EdgeInsets(50, 0, 0, 0), A.Html$(t5, _null, A.LinkedHashMap_LinkedHashMap$_literal(["p", A.Style$(_null, _null, B.Color_0, _null, _null, B.Color_3707764736, _null, _null, "Poppins", _null, new A.FontSize(11, ""), _null, B.FontWeight_3, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.String, type$.Style)), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), new A.BorderRadius(new A.Radius(8, 8), new A.Radius(8, 8), B.Radius_0_0, B.Radius_0_0), _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(20, 0, 20, 0), _null, _null, _null); }, _buildAddCommentSection$1(noteModel) { var _this = this, _null = null, side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1), t1 = A.DraclmsTheme_bodyStyle(), t2 = $.$get$DraclmsTheme_textFormFieldBorderColor(); return A.Form$(_null, A.Container$(B.Alignment_0_0, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, false, _null, _null, _null, _null, A.TextFormField$(false, _this._commentController, A.InputDecoration$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(12), new A.BorderSide(t2, 1, B.BorderStyle_1)), _null, new A.EdgeInsets(16, 16, 16, 16), _null, _null, _null, _null, true, new A.OutlineInputBorder(4, A.BorderRadius$circular(12), new A.BorderSide(t2, 1, B.BorderStyle_1)), _null, _null, _null, _null, B.Color_4294967295, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, "Add Comment", _null, B.Color_0, _null, _null, false, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, _null, _null, _null, _null, 1, false, _null, _null, _null, new A._NoteListItemState__buildAddCommentSection_closure(_this), false, _null, t1, B.TextAlign_4, _null, A.validator_Validator_validator$closure()), A.GestureDetector$(_null, A.SvgPicture$asset("assets/icons/send.svg", _null, 20, 20), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_addComment(), _null, _null, _null, _null, _null, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), new A.BorderRadius(B.Radius_0_0, B.Radius_0_0, new A.Radius(8, 8), new A.Radius(8, 8)), _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(5, 10, 5, 10), _null, _null, _null), _this._formKey2); }, _addComment$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, t2, t1; var $async$_addComment$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._formKey2; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); if ($async$self._note_list_item$_comment.length === 0) { A.showToaster("Comment should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = $.$get$locator().call$1$0(type$.NoteProvider); t2 = $async$self._widget.noteId; $async$goto = 3; return A._asyncAwait(t1.addComment$2$comment$noteId($async$self._note_list_item$_comment, t2), $async$_addComment$0); case 3: // returning from await. $async$self._commentController.super$ValueNotifier$value(0, B.TextEditingValue_cKo); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_addComment$0, $async$completer); } }; A._NoteListItemState__buildNoteSection_closure.prototype = { call$1(value) { var t1, t2, t3, notePage, _this = this; if (value === "Edit") { t1 = _this.noteModel; t2 = t1.title; t2.toString; t3 = t1.shortNote; t3.toString; t1 = t1.id; t1.toString; notePage = A.NoteForm$(t3, true, null, t1, t2); t2 = _this.$this._framework$_element; t2.toString; A.Navigator_of(t2, false).push$1(A.MaterialPageRoute$(new A._NoteListItemState__buildNoteSection__closure(notePage), false, null, type$.dynamic)); } else if (value === "Delete") A.deleteAlert(new A._NoteListItemState__buildNoteSection__closure0(_this.$this, _this.noteModel), "Note"); }, $signature: 11 }; A._NoteListItemState__buildNoteSection__closure.prototype = { call$1(ctx) { return this.notePage; }, $signature: 241 }; A._NoteListItemState__buildNoteSection__closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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.noteModel; $async$goto = 2; return A._asyncAwait($.$get$locator().call$1$0(type$.NoteProvider).deleteNote$2$noteId$resourceId(t1.id, t1.resourceId), $async$call$0); case 2: // returning from await. t1 = $async$self.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$0(0); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A._NoteListItemState__buildAddCommentSection_closure.prototype = { call$1(value) { this.$this._note_list_item$_comment = value; }, $signature: 26 }; A.ResultDetailsBody.prototype = { build$1(_, context) { var _null = null, t1 = A.ResponsiveValue$(context, A.AlertDialog$(_null, _null, _null, this._buildResultDetailContainer$1(context), B.EdgeInsets_0_0_0_0, 3, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Results", _null, _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$("Result", _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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, this._buildResultDetailContainer$1(context), _null, true, _null, _null), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; return t1; }, _buildResultDetailContainer$1(context) { var _null = null, size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size, t1 = $.$get$locator().call$1$0(type$.StudentTestProvider), t2 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? this.studentId : ""; return A.Container$(_null, A.FutureBuilder$(new A.ResultDetailsBody__buildResultDetailContainer_closure(this), t1.listStudentListAnswer$2$studentId$testId(t2, this.testId), type$.void), B.Clip_0, _null, _null, _null, _null, size._dy, _null, _null, new A.EdgeInsets(25, 0, 25, 0), _null, _null, size._dx); }, _buildResultDetails$1(context) { var t2, t3, t4, t5, t6, t7, t8, _length, _list, index, index0, t9, t10, p, errors, group, t11, t12, t13, t14, _null = null, _s16_ = "yyyy-MM-dd hh:mm", _s8_ = "document", _s4_ = "html", _s32_ = "'html' is not a valid selector: ", _s32_0 = "'body' is not a valid selector: ", t1 = $.$get$locator().call$1$0(type$.StudentTestProvider)._studentTestAnswer; t1.toString; t2 = A.ResponsiveValue$(context, B.Axis_0, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, B.Axis_1, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Axis).value; t2.toString; t3 = t1.studentTestDetails; t3.toString; t4 = A.DateFormat$(_s16_, _null); t5 = t3.startDate; t5.toString; t5 = A.Text$("Start Date: " + t4.format$1(t5), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null); t4 = A.Divider$(); t6 = A.DateFormat$(_s16_, _null); t7 = t3.endDate; t7.toString; t8 = type$.JSArray_Widget; t3 = A.Column$(A._setArrayType([new A.SizedBox(_null, 20, _null, _null), t5, t4, new A.SizedBox(_null, 20, _null, _null), A.Text$("End Date: " + t6.format$1(t7), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null), A.Divider$(), new A.SizedBox(_null, 20, _null, _null), A.Text$("Total Marks: " + A.S(t3.totalMarks) + " Marks", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null), A.Divider$(), new A.SizedBox(_null, 20, _null, _null), A.Text$("Marks Obtained: " + A.S(t3.totalMarksObtained) + " Marks", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null), A.Divider$(), new A.SizedBox(_null, 20, _null, _null), A.Text$("Percentage: " + A.S(t3.percentage), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null), A.Divider$()], t8), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t7 = A.VerticalDivider$(_null, _null); t1 = t1.studentAnswer; _length = t1.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (t4 = type$.JSArray_Message, index = 0; index < _length; index = index0) { t5 = t1[index]; t6 = $.$get$DraclmsTheme_cardBorderColor(); index0 = index + 1; t9 = "" + index0; t10 = t5.question; t10.toString; p = A.HtmlParser$(t10, _null, false, _null); p.innerHTML = null; p._parse$0(); t10 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t4); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t10 = new A.SelectorEvaluator().querySelector$2(0, t10, group); if (t10 == null) t10 = _null; else { errors = A._setArrayType([], t4); group = A.parseSelectorGroup("body", errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_0 + A.S(errors), _null, _null)); t10 = new A.SelectorEvaluator().querySelector$2(0, t10, group); } t10.toString; t11 = new A.StringBuffer(""); new A._ConcatTextVisitor(t11).visit$1(t10); t11 = t11._contents; p = A.HtmlParser$(t11.charCodeAt(0) == 0 ? t11 : t11, _null, false, _null); p.innerHTML = null; p._parse$0(); t11 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t4); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t10 = new A.SelectorEvaluator().querySelector$2(0, t11, group); t10.toString; t11 = new A.StringBuffer(""); new A._ConcatTextVisitor(t11).visit$1(t10); t11 = t11._contents; t10 = A.DraclmsTheme_body1Style().copyWith$1$fontSize(14); t12 = t5.option; t12.toString; p = A.HtmlParser$(t12, _null, false, _null); p.innerHTML = null; p._parse$0(); t12 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t4); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t12 = new A.SelectorEvaluator().querySelector$2(0, t12, group); if (t12 == null) t12 = _null; else { errors = A._setArrayType([], t4); group = A.parseSelectorGroup("body", errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_0 + A.S(errors), _null, _null)); t12 = new A.SelectorEvaluator().querySelector$2(0, t12, group); } t12.toString; t13 = new A.StringBuffer(""); new A._ConcatTextVisitor(t13).visit$1(t12); t13 = t13._contents; p = A.HtmlParser$(t13.charCodeAt(0) == 0 ? t13 : t13, _null, false, _null); p.innerHTML = null; p._parse$0(); t13 = A._lateReadCheck(p.tree.__TreeBuilder_document, _s8_); errors = A._setArrayType([], t4); group = A.parseSelectorGroup(_s4_, errors); if (group == null || errors.length !== 0) A.throwExpression(A.FormatException$(_s32_ + A.S(errors), _null, _null)); t12 = new A.SelectorEvaluator().querySelector$2(0, t13, group); t12.toString; t13 = new A.StringBuffer(""); new A._ConcatTextVisitor(t13).visit$1(t12); t13 = t13._contents; t13 = "Selected Answer: " + (t13.charCodeAt(0) == 0 ? t13 : t13); t12 = A.DraclmsTheme_body1Style().copyWith$2$color$fontSize(B.Color_4278190080, 12); t14 = t5.isCorrect === 1 ? new A.Icon(B.IconData_57686_MaterialIcons_null_false, 15, B.MaterialColor_Map_JNEaM_4283215696, _null) : new A.Icon(B.IconData_57704_MaterialIcons_null_false, 15, B.MaterialColor_Map_JNc9P_4294198070, _null); _list[index] = A.Container$(_null, A.ListTile$(false, _null, _null, _null, true, _null, _null, false, new A.Text(t9, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, false, _null, _null, new A.Row(B.Axis_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.CrossAxisAlignment_2, _null, B.VerticalDirection_1, _null, A._setArrayType([new A.Text(t13, _null, t12, _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(10, _null, _null, _null), t14, new A.Spacer(_null), A.Chip$(B.MaterialColor_Map_HFpTk_4288585374, 3, new A.Text("Marks: " + A.S(t5.marks), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null))], t8), _null), _null, new A.Text(t11.charCodeAt(0) == 0 ? t11 : t11, _null, t10, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_0CF, B.BorderSide_0CF, new A.BorderSide(t6, 1, B.BorderStyle_1), B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(0, 10, 0, 10), _null, _null, _null); } return A.SingleChildScrollView$(A.Flex$(A._setArrayType([t3, t7, A.Column$(_list, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t8), B.CrossAxisAlignment_2, t2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, _null, B.Axis_1); } }; A.ResultDetailsBody__buildResultDetailContainer_closure.prototype = { call$2(context, snapshot) { return snapshot.connectionState === B.ConnectionState_1 ? A.Center$(A.Lottie_asset(string$.assetsx2d, 300, 300), null, null) : this.$this._buildResultDetails$1(context); }, $signature: 76 }; A.TestResultBody.prototype = { createState$0() { return new A._TestResultBodyState(A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray_StudentTest), B._StateLifecycle_0); } }; A._TestResultBodyState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = type$.StudentTestProvider; t2 = _this._test_body$_studentNames = $.$get$locator().call$1$0(t1).getStudentName$0(); if (t2.length !== 0) { _this._test_body$_studentName = B.JSArray_methods.get$first(t2); _this._studentTests = $.$get$locator().call$1$0(t1).getStudentTestById$1(_this._test_body$_selectedIndex); } }, getStudentName$2($name, index) { var t1, t2, _this = this; _this.setState$1(new A._TestResultBodyState_getStudentName_closure(_this, $name, index)); _this._studentTests = $.$get$locator().call$1$0(type$.StudentTestProvider).getStudentTestById$1(_this._test_body$_selectedIndex); _this.setState$1(new A._TestResultBodyState_getStudentName_closure0(_this)); if (_this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 900) { t1 = _this._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._TestResultBodyState_getStudentName_closure1(_this), false, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); } }, build$1(_, context) { var t1, t2, t3, t4, t5, _this = this, _null = null, size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size; if (_this._test_body$_studentNames.length !== 0) { t1 = size._dx; t2 = type$.Condition_dynamic; t3 = type$.JSArray_Condition_dynamic; t4 = type$.double; t1 = A.ResponsiveValue$(context, t1 * 0.2, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, t1, _null, t2)], t3), t4).value; t1.toString; t5 = size._dy; t4 = A.ResponsiveValue$(context, t5 * 0.9, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, t5, _null, t2)], t3), t4).value; t4.toString; t5 = _this._test_body$_studentNames; t1 = A.Container$(_null, A.StudentListContainer$(_this.get$getStudentName(), true, _this._test_body$_selectedIndex, t5), B.Clip_0, _null, _null, _null, _null, t4, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t1); t4 = A.ResponsiveVisibility$(new A.Padding(B.EdgeInsets_32_10_32_10, A.VerticalDivider$(_null, _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t2)], t3), B.List_empty9); if (_this._test_body$_isLoading) t5 = A.Center$(A.Lottie_asset(string$.assetsx2d, 300, 300), _null, _null); else { t5 = _this._test_body$_studentName; t5 = new A.StudentSubmittedContainer(t5, A._setArrayType([new A.SizedBox(_null, 30, _null, _null), A.Expanded$(new A.TestResultGrid(_this._studentTests, t5, _null), 1)], type$.JSArray_Widget), _null); } t3 = A.Row$(A._setArrayType([t1, t4, A.ResponsiveVisibility$(A.Expanded$(A.Container$(_null, t5, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t2)], t3), B.List_empty9)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t1 = t3; } else t1 = A.Center$(A.Text$("Nobody hasn't taken this tests", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); return t1; } }; A._TestResultBodyState_getStudentName_closure.prototype = { call$0() { var t1 = this.$this; t1._test_body$_isLoading = true; t1._test_body$_studentName = this.name; t1._test_body$_selectedIndex = this.index; }, $signature: 0 }; A._TestResultBodyState_getStudentName_closure0.prototype = { call$0() { this.$this._test_body$_isLoading = false; }, $signature: 0 }; A._TestResultBodyState_getStudentName_closure1.prototype = { call$1(context) { var t1 = this.$this; return new A.TestResultGrid(t1._studentTests, t1._test_body$_studentName, null); }, $signature: 936 }; A.TestResultGrid.prototype = { build$1(_, context) { var _null = null, t1 = A.ResponsiveValue$(context, this._buildResultGrid$1(context), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$(this.studentName, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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, this._buildResultGrid$1(context), _null, true, _null, _null), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; return t1; }, _buildResultGrid$1(context) { var index, t4, _null = null, t1 = A.ScrollController$(_null, 0, true), t2 = this.studentTests, _length = t2.length, t3 = type$.Widget, _list = J.JSArray_JSArray$allocateGrowable(_length, t3); for (index = 0; index < _length; ++index) _list[index] = this._buildTestCard$2(context, index); t1 = A.GridView$count(3, _list, t1, 3, 10, 10, _null, _null, true); t4 = A.ScrollController$(_null, 0, true); _length = t2.length; _list = J.JSArray_JSArray$allocateGrowable(_length, t3); for (index = 0; index < _length; ++index) _list[index] = this._buildTestCard$2(context, index); t1 = A.ResponsiveValue$(context, t1, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.ListView$(true, true, _list, t4, _null, new A.EdgeInsets(10, 10, 10, 10), _null, B.Axis_1, false), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), t3).value; t1.toString; return t1; }, _buildTestCard$2(context, index) { var _null = null, t1 = A.BorderRadius$circular(8), t2 = $.$get$DraclmsTheme_cardBorderColor(), t3 = A.DateFormat$("yyyy-MM-dd hh:mm aa", _null), t4 = this.studentTests[index].startDate; t4.toString; return A.GestureDetector$(_null, A.Card$(new A.Padding(new A.EdgeInsets(10, 10, 10, 10), A.Text$("Test Taken Date: " + t3.format$1(t4), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$1$color(B.Color_4278190080), _null, _null, _null), _null), _null, 3, _null, _null, _null, new A.RoundedRectangleBorder(t1, new A.BorderSide(t2, 1, B.BorderStyle_1))), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.TestResultGrid__buildTestCard_closure(this, context, index), _null, _null, _null, _null, _null, _null, _null); } }; A.TestResultGrid__buildTestCard_closure.prototype = { call$0() { A.showDialog(new A.TestResultGrid__buildTestCard__closure(this.$this, this.index), this.context, null, true, type$.dynamic); }, $signature: 0 }; A.TestResultGrid__buildTestCard__closure.prototype = { call$1(context) { var t1 = this.$this.studentTests[this.index], t2 = t1.resourceTestId; t2.toString; t1 = t1.resourceStudentId; t1.toString; return new A.ResultDetailsBody(t2, t1, null); }, $signature: 1096 }; A.TestResultScreen.prototype = { build$1(_, context) { var _s21_ = "Practice Test Results", _null = null, t1 = A.ResponsiveValue$(context, A.AlertDialog$(_null, _null, _null, this._buildTestBody$1(context), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton(_s21_, _null, _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$(_s21_, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), _null, this._buildTestBody$1(context), _null, true, _null, _null), _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.Widget).value; t1.toString; return t1; }, _buildTestBody$1(context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; return A.Container$(_null, A.FutureBuilder$(new A.TestResultScreen__buildTestBody_closure(), $.$get$locator().call$1$0(type$.StudentTestProvider).listStudentTest$1$testId(this.testId), type$.void), B.Clip_0, _null, _null, _null, _null, t1.size._dy, _null, _null, _null, _null, _null, t2.size._dx); } }; A.TestResultScreen__buildTestBody_closure.prototype = { call$2(context, snapshot) { return snapshot.connectionState === B.ConnectionState_1 ? A.Center$(A.Lottie_asset(string$.assetsx5f, 300, 300), null, null) : new A.TestResultBody(null); }, $signature: 76 }; A.StudentTestBody.prototype = { createState$0() { var t1 = type$.int; return new A._StudentTestBodyState(A.LinkedHashMap_LinkedHashMap$_empty(t1, t1), B._StateLifecycle_0); } }; A._StudentTestBodyState.prototype = { didChangeDependencies$0() { var t1, _questions, t2, t3, t4, _this = this; _this.super$State$didChangeDependencies(); if (_this._isInit) { _this.setState$1(new A._StudentTestBodyState_didChangeDependencies_closure(_this)); _this._student_test_body$_userAccountDetail = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail; t1 = type$.QuestionProvider; _questions = $.$get$locator().call$1$0(t1)._questionList; _this._questionLengthForCheck = _this._questionLength = _questions.length; t2 = B.JSArray_methods.get$first(_questions).id; t2.toString; _this._currentQuestionId = t2; _this._nextQuestionId = $.$get$locator().call$1$0(t1)._question_provider$_nextQuestionId; _this._selectedAnswer = $.$get$locator().call$1$0(t1)._question_provider$_selectedAnswer; t1 = $.$get$locator().call$1$0(type$.StudentTestProvider); t2 = _this._student_test_body$_userAccountDetail.accountUser.resourceStudent.id; t3 = _this._widget.testId; t4 = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1(new A.DateTime(Date.now(), false)); t1.addStudentTestDetails$5$currentQuestionId$isComplete$startDate$studentId$testId(_this._currentQuestionId, false, t4, t2, t3); _this.setState$1(new A._StudentTestBodyState_didChangeDependencies_closure0(_this)); } _this._isInit = false; }, build$1(_, context) { return this._student_test_body$_isLoading ? A.Center$(A.Lottie_asset(string$.assetsx5f, 200, 200), null, null) : A.Consumer$(new A._StudentTestBodyState_build_closure(this), type$.QuestionProvider); }, _buildQuestionIndex$1(questionProvider) { var index, t1, index0, _null = null, _length = this._questionLength, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; index = index0) { if (index === questionProvider._question_provider$_selectedIndex) t1 = $.$get$DraclmsTheme_mainColor(); else t1 = B.JSInt_methods.$mod(index, 2) === 0 ? $.$get$DraclmsTheme_evenCardColor() : $.$get$DraclmsTheme_oddCardColor(); index0 = index + 1; _list[index] = new A.Card(t1, _null, _null, _null, _null, A.Container$(B.Alignment_0_0, new A.Text("" + index0, _null, A.DraclmsTheme_body4Style(), _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, 44, _null, _null, _null, _null, _null, 42), _null); } return A.Row$(_list, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); }, _buildQuestionBody$2(_question, questionProvider) { var _length, _list, index, t3, t4, _null = null, t1 = _question.quizQuestion, t2 = t1.question; t2.toString; t2 = A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_body1Style(), _null, _null, _null); t2 = A.ListTile$(false, _null, _null, _null, true, _null, _null, false, A.Text$("" + (questionProvider._question_provider$_selectedIndex + 1), _null, _null, _null, _null, A.DraclmsTheme_body1Style(), _null, _null, _null), _null, false, _null, _null, _null, _null, t2, A.Text$(A.S(t1.weight) + " Marks", _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$color($.$get$DraclmsTheme_statusColor()), _null, _null, _null), _null); t1 = t1.quizOption; _length = t1.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) { t3 = this._selectedAnswer; t4 = t1[index].id; t4.toString; t4 = t3.containsValue$1(0, t4); t3 = t1[index].option; t3.toString; _list[index] = A.CheckboxListTile$(_null, B.ListTileControlAffinity_0, new A._StudentTestBodyState__buildQuestionBody_closure(_question, index), new A.Text(t3, _null, A.DraclmsTheme_body4Style(), _null, _null, _null, _null, _null, _null, _null, _null), t4); } return A.Column$(A._setArrayType([t2, new A.SizedBox(_null, 15, _null, _null), A.ListView$(true, true, _list, _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A._StudentTestBodyState_didChangeDependencies_closure.prototype = { call$0() { this.$this._student_test_body$_isLoading = true; }, $signature: 0 }; A._StudentTestBodyState_didChangeDependencies_closure0.prototype = { call$0() { this.$this._student_test_body$_isLoading = false; }, $signature: 0 }; A._StudentTestBodyState_build_closure.prototype = { call$3(context, questionProvider, child) { var t3, t4, t5, side, _null = null, t1 = questionProvider._questionList, t2 = type$.JSArray_Widget; if (t1.length === 0) t1 = A.Column$(A._setArrayType([A.Center$(A.Lottie_asset("assets/lottie_animations/editing.json", 300, 300), _null, _null), A.Text$("Submitting your answer. Please wait.", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); else { t3 = t1[0].quizQuestion.question; t3.toString; t3 = A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$1$color(B.Color_4278190080), _null, _null, _null); t4 = this.$this; t5 = t4._buildQuestionIndex$1(questionProvider); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t2 = A.ListView$(true, true, A._setArrayType([t3, new A.SizedBox(_null, 20, _null, _null), t5, new A.SizedBox(_null, 20, _null, _null), A.Container$(_null, t4._buildQuestionBody$2(t1[0], questionProvider), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(15, 15, 15, 15), _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.Row$(A._setArrayType([A.roundButton(_null, _null, _null, false, new A._StudentTestBodyState_build__closure(t4), _null, "Submit", _null), new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._StudentTestBodyState_build__closure0(context), _null)], t2), B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], t2), _null, _null, _null, _null, B.Axis_1, true); t1 = t2; } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 242 }; A._StudentTestBodyState_build__closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, error, t1, t2, t3, t4, t5, t6, t7, 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 = 3; t1 = $async$self.$this; t1.setState$1(new A._StudentTestBodyState_build___closure(t1)); t2 = type$.QuestionProvider; $.$get$locator().call$1$0(t2).removeQuestionFromList$1(t1._currentQuestionId); t3 = t1._questionLengthForCheck; if ((t3 > 0 ? t1._questionLengthForCheck = t3 - 1 : t3) === 0) t1._isComplete = true; t3 = type$.StudentTestProvider; t4 = $.$get$locator().call$1$0(t3); t3 = $.$get$locator().call$1$0(t3)._testStudentDetail.id; t5 = t1._isComplete; t6 = t1._currentQuestionId; t7 = t1._selectedAnswer.$index(0, 0); $async$goto = 6; return A._asyncAwait(t4.addStudentTestAnswer$5$currentQuestionId$isComplete$optionId$questionId$studentId(t1._nextQuestionId, t5, t7, t6, t3), $async$call$0); case 6: // returning from await. if (!t1._isComplete) t1._currentQuestionId = $.$get$locator().call$1$0(t2).getCurrentQuestionId$0(); $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; t1 = $async$self.$this; t1.setState$1(new A._StudentTestBodyState_build___closure0(t1)); // goto the next finally handler $async$goto = $async$next.pop(); 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$call$0, $async$completer); }, $signature: 18 }; A._StudentTestBodyState_build___closure.prototype = { call$0() { this.$this._student_test_body$_isLoading = true; }, $signature: 0 }; A._StudentTestBodyState_build___closure0.prototype = { call$0() { this.$this._student_test_body$_isLoading = false; }, $signature: 0 }; A._StudentTestBodyState_build__closure0.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._StudentTestBodyState__buildQuestionBody_closure.prototype = { call$1(val) { var t3, t1 = $.$get$locator().call$1$0(type$.QuestionProvider), t2 = this._question.quizQuestion.quizOption[this.index].id; t2.toString; t3 = t1._question_provider$_selectedAnswer; t3.clear$0(0); t3.$indexSet(0, 0, t2); t1.notifyListeners$0(); }, $signature: 33 }; A.TestQuestionBody.prototype = { build$1(_, context) { return A.FutureBuilder$(new A.TestQuestionBody_build_closure(), $.$get$locator().call$1$0(type$.QuestionProvider).listTestQuestion$1$testId(this.testId), type$.void); } }; A.TestQuestionBody_build_closure.prototype = { call$2(context, snapshot) { if (snapshot.connectionState === B.ConnectionState_1) return A.Lottie_asset(string$.assetsx5f, 300, 300); return new A.QuestionListView(null); }, $signature: 76 }; A.TestQuestionForm.prototype = { createState$0() { var t1 = B.JSArray_methods.get$first($.$get$QuizType_quizzes()).code; t1.toString; return new A._TestQuestionFormState(t1, A._setArrayType([], type$.JSArray_CustomTextField), A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.int), new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), A.HtmlEditorController$(), B._StateLifecycle_0); } }; A._TestQuestionFormState.prototype = { initState$0() { var t1, t2, i, t3, t4, _this = this, _null = null; _this.super$State$initState(); t1 = _this._widget; t2 = t1.title; if (t2 !== "") t2.toString; else t2 = ""; _this._test_question_form$_title = t2; t2 = t1.weight; _this._weight = t2 !== "" ? t2 : ""; t1 = t1.quizType; if (t1 !== "" || t1 != null) t1.toString; else { t1 = B.JSArray_methods.get$first($.$get$QuizType_quizzes()).code; t1.toString; } _this._quizType = t1; t1 = _this._widget; t2 = t1.solution; if (t2 !== "") t2.toString; else t2 = ""; _this._test_question_form$_solution = t2; t1 = t1.quizOptions; if (t1.length === 0) for (t1 = type$.nullable_void_Function, t2 = _this._customTextFields, i = 1; i <= 2; ++i) { t3 = A.List_List$filled(0, _null, false, t1); t4 = $.$get$DraclmsTheme_textFormFieldFillColor(); t2.push(new A.CustomTextField(B.TextInputType_0_null_null, "Choice " + _this.number, _null, new A._TestQuestionFormState_initState_closure(), _null, _null, new A.TextEditingController(B.TextEditingValue_li8, t3), A.validator_Validator_validator$closure(), false, false, B.OutlineInputBorder_QIs, t4, 1, new A.UniqueKey())); ++_this.number; } else B.JSArray_methods.forEach$1(t1, new A._TestQuestionFormState_initState_closure0(_this)); }, _addOrEditQuestion$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, $async$exception; var $async$_addOrEditQuestion$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$self.setState$1(new A._TestQuestionFormState__addOrEditQuestion_closure($async$self)); t1 = $async$self._test_question_form$_formKey; $async$goto = t1.get$currentState().validate$0() ? 7 : 9; break; case 7: // then t1.get$currentState().save$0(0); t1 = $async$self.answer; $async$goto = t1.get$isNotEmpty(t1) ? 10 : 12; break; case 10: // then t2 = $async$self._widget.isEdit; t3 = type$.QuestionProvider; t4 = $async$self._framework$_element; t5 = $async$self._customTextFields; $async$goto = !t2 ? 13 : 15; break; case 13: // then t4.toString; t2 = A.Provider_of(t4, false, t3); t3 = $async$self._widget.testId; $async$goto = 16; return A._asyncAwait(t2.addTestQuestion$8$answer$controllers$question$quizCode$quizTypeId$solution$testId$weight(t1, t5, $async$self._test_question_form$_title, "mcq", "1", $async$self._test_question_form$_solution, t3, $async$self._weight), $async$_addOrEditQuestion$0); case 16: // returning from await. // goto join $async$goto = 14; break; case 15: // else t4.toString; t2 = A.Provider_of(t4, false, t3); t3 = $async$self._widget; t4 = t3.testId; t6 = t3.questionTestId; t7 = t3.questionId; t8 = $async$self._test_question_form$_title; t9 = $async$self._test_question_form$_solution; t10 = $async$self._weight; $async$goto = 17; return A._asyncAwait(t2.editTestQuestion$11$answer$controllers$id$question$questionId$quizCode$quizOptions$quizTypeId$solution$testId$weight(t1, t5, t6, t8, t7, "mcq", t3.quizOptions, "1", t9, t4, t10), $async$_addOrEditQuestion$0); case 17: // returning from await. case 14: // join t1 = $async$self._framework$_element; t1.toString; t2 = type$.dynamic; A.Navigator_of(t1, false).push$1(A.MaterialPageRoute$(new A._TestQuestionFormState__addOrEditQuestion_closure0(), false, null, t2)); // goto join $async$goto = 11; break; case 12: // else A.showToaster("Mark one answer", B.MaterialColor_Map_JNc9P_4294198070); $async$next = [1]; // goto finally $async$goto = 5; break; case 11: // join // goto join $async$goto = 8; break; case 9: // else $async$next = [1]; // goto finally $async$goto = 5; break; case 8: // join t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).push$1(A.MaterialPageRoute$(new A._TestQuestionFormState__addOrEditQuestion_closure1(), false, null, t2)); $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self.setState$1(new A._TestQuestionFormState__addOrEditQuestion_closure2($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_addOrEditQuestion$0, $async$completer); }, build$1(_, context) { var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _null = null, t1 = $.$get$DraclmsTheme_primaryColor(), t2 = _this._widget.isEdit ? "Edit Question" : "Add Question"; t2 = A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null); t3 = _this._test_question_form$_isLoading; t4 = _this._widget.isEdit ? "Edit" : "Post"; t5 = type$.JSArray_Widget; t6 = type$.Condition_dynamic; t7 = type$.JSArray_Condition_dynamic; t2 = A.AppBar$(A._setArrayType([A.ResponsiveVisibility$(new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(A._setArrayType([A.roundButton(_null, _null, _null, t3, new A._TestQuestionFormState_build_closure(_this), _null, t4, _null), new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t6)], t7), B.List_empty9)], t5), false, B.Color_4294967295, 0, _null, _null, t2); t4 = _this._widget.title; t4.toString; t4 = A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, t4, false, false, _null, B.TextInputType_0_null_null, "Question", 1, _null, new A._TestQuestionFormState_build_closure0(_this), _null, A.validator_Validator_validator$closure()); t3 = _this._buildDynamicTextField$0(); t8 = _this._widget; t9 = A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, t8.weight, false, false, _null, B.TextInputType_0_null_null, "Marks weighted", 1, _null, new A._TestQuestionFormState_build_closure1(_this), _null, A.validator_Validator_validator$closure()); t10 = A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, _this._test_question_form$_solution, false, false, _null, B.TextInputType_0_null_null, "Solution", 8, _null, new A._TestQuestionFormState_build_closure2(_this), _null, A.validator_Validator_validator$closure()); t11 = _this._test_question_form$_isLoading; t8 = t8.isEdit ? "Edit" : "Post"; return A.Scaffold$(t2, t1, A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([A.Form$(_null, A.ListView$(true, true, A._setArrayType([t4, new A.SizedBox(_null, 10, _null, _null), t3, t9, new A.SizedBox(_null, 10, _null, _null), t10, new A.SizedBox(_null, 10, _null, _null), A.ResponsiveVisibility$(A.Row$(A._setArrayType([A.roundButton(_null, _null, _null, t11, new A._TestQuestionFormState_build_closure3(_this), _null, t8, _null), new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_0, _null, _null, t6)], t7), B.List_empty9)], t5), _null, _null, new A.EdgeInsets(16, 16, 16, 16), _null, B.Axis_1, true), _this._test_question_form$_formKey)], t5), B.StackFit_0, _null, _null), _null, true, _null, false); }, _buildDynamicTextField$0() { var t2, t3, index, t4, _null = null, t1 = this._customTextFields, _length = t1.length, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (t2 = type$.Condition_dynamic, t3 = type$.JSArray_Condition_dynamic, index = 0; index < _length; ++index) { t4 = t1[index]; _list[index] = A.ListTile$(false, new A.EdgeInsets(0, 10, 0, 10), _null, _null, true, _null, _null, false, _null, _null, false, _null, _null, A.ResponsiveVisibility$(this._buildTrailingButton$1(index), A._setArrayType([new A.Condition(900, _null, B.Conditional_0, _null, _null, t2)], t3), B.List_empty9), _null, t4, A.ResponsiveVisibility$(this._buildTrailingButton$1(index), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t2)], t3), B.List_empty9), _null); } return A.Column$(_list, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, _buildTrailingButton$1(index) { var _this = this, _null = null, t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t2 = _this.answer.containsKey$1(0, _this._customTextFields[index].key) ? "Marked as answer" : "Mark as answer"; t2 = A._setArrayType([A.TextButton$(false, A.Text$(t2, _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4279519681), _null, _null, _null, _null, _null, _null, _null, _null, 10, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._TestQuestionFormState__buildTrailingButton_closure(_this, index), _null), new A.Spacer(_null)], type$.JSArray_Widget); if (index !== 0) t2.push(A.IconButton$(B.Alignment_0_0, _null, _null, true, A.SvgPicture$asset("assets/icons/minus-circle.svg", $.$get$DraclmsTheme_mainColor(), 20, 20), 24, new A._TestQuestionFormState__buildTrailingButton_closure0(_this, index), B.EdgeInsets_8_8_8_8, _null, _null, _null)); if (index !== 3) t2.push(A.IconButton$(B.Alignment_0_0, _null, _null, true, A.SvgPicture$asset("assets/icons/plus-circle.svg", $.$get$DraclmsTheme_mainColor(), 20, 20), 24, new A._TestQuestionFormState__buildTrailingButton_closure1(_this), B.EdgeInsets_8_8_8_8, _null, _null, _null)); return A.Container$(_null, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1.size._dx * 0.2); } }; A._TestQuestionFormState_initState_closure.prototype = { call$1(val) { }, $signature: 174 }; A._TestQuestionFormState_initState_closure0.prototype = { call$1(element) { var t2, textField, t3, t1 = element.option; t1.toString; t2 = this.$this; textField = A.CustomTextField$(A.TextEditingController$(t1), B.OutlineInputBorder_QIs, $.$get$DraclmsTheme_textFormFieldFillColor(), null, false, false, new A.UniqueKey(), B.TextInputType_0_null_null, "Choice " + t2.number, 1, null, new A._TestQuestionFormState_initState__closure(), null, A.validator_Validator_validator$closure()); ++t2.number; if (element.isAnswer === 1) { t1 = t2.answer; t1.clear$0(0); t3 = textField.key; t3.toString; t1.$indexSet(0, t3, 1); } t2._customTextFields.push(textField); }, $signature: 1169 }; A._TestQuestionFormState_initState__closure.prototype = { call$1(val) { }, $signature: 174 }; A._TestQuestionFormState__addOrEditQuestion_closure.prototype = { call$0() { this.$this._test_question_form$_isLoading = true; }, $signature: 0 }; A._TestQuestionFormState__addOrEditQuestion_closure0.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._TestQuestionFormState__addOrEditQuestion_closure1.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._TestQuestionFormState__addOrEditQuestion_closure2.prototype = { call$0() { this.$this._test_question_form$_isLoading = false; }, $signature: 0 }; A._TestQuestionFormState_build_closure.prototype = { call$0() { return this.$this._addOrEditQuestion$0(); }, $signature: 0 }; A._TestQuestionFormState_build_closure0.prototype = { call$1(val) { return this.$this._test_question_form$_title = val; }, $signature: 9 }; A._TestQuestionFormState_build_closure1.prototype = { call$1(val) { return this.$this._weight = val; }, $signature: 9 }; A._TestQuestionFormState_build_closure2.prototype = { call$1(value) { return this.$this._test_question_form$_solution = value; }, $signature: 9 }; A._TestQuestionFormState_build_closure3.prototype = { call$0() { return this.$this._addOrEditQuestion$0(); }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton_closure.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1._customTextFields[this.index].key; t2.toString; t3 = t1.answer; if (!t3.containsKey$1(0, t2)) { t3.clear$0(0); t1.setState$1(new A._TestQuestionFormState__buildTrailingButton__closure2(t1, t2)); } else t1.setState$1(new A._TestQuestionFormState__buildTrailingButton__closure3(t1)); }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton__closure2.prototype = { call$0() { this.$this.answer.$indexSet(0, this.key, 1); }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton__closure3.prototype = { call$0() { this.$this.answer.clear$0(0); }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton_closure0.prototype = { call$0() { var t1 = this.$this, t2 = t1._customTextFields.length; if (t2 > 2 && t2 <= 4) { --t1.number; t1.setState$1(new A._TestQuestionFormState__buildTrailingButton__closure1(t1, this.index)); } }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton__closure1.prototype = { call$0() { B.JSArray_methods.removeAt$1(this.$this._customTextFields, this.index); }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton_closure1.prototype = { call$0() { var _null = null, t1 = this.$this, t2 = t1._customTextFields.length; if (t2 >= 2 && t2 < 4) { t2 = ++t1.number; t1.setState$1(new A._TestQuestionFormState__buildTrailingButton__closure(t1, A.CustomTextField$(A.TextEditingController$(_null), B.OutlineInputBorder_QIs, B.Color_4294704123, _null, false, false, new A.UniqueKey(), B.TextInputType_0_null_null, "Choice " + t2, 1, _null, new A._TestQuestionFormState__buildTrailingButton__closure0(), _null, A.validator_Validator_validator$closure()))); } }, $signature: 0 }; A._TestQuestionFormState__buildTrailingButton__closure0.prototype = { call$1(val) { }, $signature: 174 }; A._TestQuestionFormState__buildTrailingButton__closure.prototype = { call$0() { this.$this._customTextFields.push(this.cT); }, $signature: 0 }; A.TestQuestionItem.prototype = { createState$0() { return new A._TestQuestionItemState(B._StateLifecycle_0); } }; A._TestQuestionItemState.prototype = { _parseHtmlString$1(htmlString) { var $document = A.parse(htmlString), t1 = $document.get$body($document); t1.toString; t1 = new A.SelectorEvaluator().querySelector$2(0, A.parse(A._getText(t1)), A._parseSelectorList("html")); t1.toString; return A._getText(t1); }, build$1(_, context) { var t1, t2, t3, t4, t5, _this = this, _null = null; _this._question = A.Provider_of(context, false, type$.Question); _this.index = "" + (_this._widget.index + 1); t1 = _this._question.quizQuestion.quizOption; t1.toString; _this.answer = B.JSArray_methods.firstWhere$1(t1, new A._TestQuestionItemState_build_closure()); t1 = _this._question.quizQuestion.question; t1.toString; t1 = A.Text$(_this._parseHtmlString$1(t1), _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$fontSize(18), _null, _null, _null); t2 = _this.index; if (t2.length > 1) t2 = "0" + t2; t1 = A.ListTile$(false, B.EdgeInsets_0_0_0_0, _null, _null, true, _null, _null, false, A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_body1Style(), _null, _null, _null), _null, false, _null, _null, _null, _null, t1, _this._buildTrailingOptions$0(), _null); t2 = type$.JSArray_Widget; t3 = A.Row$(A._setArrayType([A.Text$(_this._question.quizQuestion.quizType.code.toUpperCase(), _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$color($.$get$DraclmsTheme_statusColor()), _null, _null, _null), new A.Spacer(_null), A.Text$(A.S(_this._question.quizQuestion.weight) + " Marks", _null, _null, _null, _null, A.DraclmsTheme_body1Style(), _null, _null, _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t4 = _this._test_question_item$_isExpanded ? "assets/icons/eye-off.svg" : "assets/icons/eye.svg"; t4 = A.SvgPicture$asset(t4, $.$get$DraclmsTheme_mainColor(), 20, 20); t5 = _this._test_question_item$_isExpanded ? "Hide Options" : "Show Options"; t5 = A.Text$(t5, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$1$color($.$get$DraclmsTheme_mainColor()), _null, _null, _null); return A.Container$(_null, A.Column$(A._setArrayType([A.Column$(A._setArrayType([t1, new A.Padding(B.EdgeInsets_8_0_8_0, t3, _null), new A._TextButtonWithIcon(new A._TestQuestionItemState_build_closure0(_this), _null, _null, _null, _null, B.Clip_0, _null, false, new A._TextButtonWithIconChild(t5, t4, _null), _null), _this._buildExpandedContainer$0()], t2), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 0, 0, 12), _null, _null, _null, _null); }, _buildTrailingOptions$0() { return A.CustomPopMenu$(A._setArrayType(["Edit", "Delete"], type$.JSArray_String), new A._TestQuestionItemState__buildTrailingOptions_closure(this)); }, _buildExpandedContainer$0() { var t6, _this = this, _null = null, t1 = _this._test_question_item$_isExpanded, t2 = !t1, t3 = t2 ? B.Color_4294967295 : $.$get$DraclmsTheme_expandedContainerColor(), t4 = t2 ? B.EdgeInsets_0_0_0_0 : new A.EdgeInsets(12, 12, 12, 12), t5 = A.Duration$(0, 0, 0, 300, 0); t1 = t1 ? 200 : 50; if (t2) { t2 = _this.answer.option; t2.toString; t2 = A.Text$(_this._parseHtmlString$1(t2), _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$fontSize(18), _null, _null, _null); } else { t2 = _this._question.quizQuestion.quizOption; t2.toString; t6 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,RichText>"); t6 = A.ListView$(true, true, A.List_List$of(new A.MappedListIterable(t2, new A._TestQuestionItemState__buildExpandedContainer_closure(_this), t6), true, t6._eval$1("ListIterable.E")), _null, _null, _null, _null, B.Axis_1, false); t2 = t6; } return A.AnimatedContainer$(_null, t2, t3, _null, B.C__Linear, _null, t5, _null, t1, t4, 17976931348623157e292); } }; A._TestQuestionItemState_build_closure.prototype = { call$1(element) { return element.isAnswer === 1; }, $signature: 1171 }; A._TestQuestionItemState_build_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._TestQuestionItemState_build__closure(t1)); }, $signature: 0 }; A._TestQuestionItemState_build__closure.prototype = { call$0() { var t1 = this.$this; t1._test_question_item$_isExpanded = !t1._test_question_item$_isExpanded; }, $signature: 0 }; A._TestQuestionItemState__buildTrailingOptions_closure.prototype = { call$1(value) { var t1, t2; if (value === "Edit") { t1 = this.$this; t2 = t1._framework$_element; t2.toString; A.Navigator_of(t2, false).push$1(A.MaterialPageRoute$(new A._TestQuestionItemState__buildTrailingOptions__closure(t1), false, null, type$.dynamic)); } else if (value === "Delete") A.deleteAlert(new A._TestQuestionItemState__buildTrailingOptions__closure0(this.$this), "Question"); }, $signature: 11 }; A._TestQuestionItemState__buildTrailingOptions__closure.prototype = { call$1(ctx) { var t6, t7, t8, t1 = this.$this, t2 = t1._question, t3 = t2.quizQuestion, t4 = t3.solution, t5 = t2.testId; t2 = t2.id; t6 = t3.quizOption; t7 = t3.quizType.code; t3 = J.toString$0$(t3.weight); t8 = t1._question; return A.TestQuestionForm$(true, t8.questionId, t2, t6, t7, new A._TestQuestionItemState__buildTrailingOptions___closure(t1), t4, t5, t8.quizQuestion.question, t3); }, $signature: 132 }; A._TestQuestionItemState__buildTrailingOptions___closure.prototype = { call$0() { var t1 = this.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); return null; }, $signature: 0 }; A._TestQuestionItemState__buildTrailingOptions__closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2, t3; 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 = $.$get$locator().call$1$0(type$.QuestionProvider); t2 = $async$self.$this; t3 = t2._question; $async$goto = 2; return A._asyncAwait(t1.deleteTestQuestion$2$id$questionId(t3.id, t3.questionId), $async$call$0); case 2: // returning from await. t2 = t2._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A._TestQuestionItemState__buildExpandedContainer_closure.prototype = { call$1(e) { var t3, t4, t5, _null = null, t1 = this.$this, t2 = e.option; t2.toString; t3 = t1._parseHtmlString$1(t2); t4 = A.DraclmsTheme_body4Style().copyWith$1$color(B.Color_4278190080); t5 = A._setArrayType([], type$.JSArray_InlineSpan); t1 = t1.answer.option; t1.toString; if (t2 === t1) t5.push(A.TextSpan$(_null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$1$color($.$get$DraclmsTheme_statusColor()), "(Answer)")); return A.RichText$(_null, _null, _null, B.TextOverflow_0, true, _null, A.TextSpan$(t5, _null, _null, _null, t4, t3), B.TextAlign_4, _null, _null, 1, B.TextWidthBasis_0); }, $signature: 355 }; A.QuestionListView.prototype = { build$1(_, context) { return A.Consumer$(new A.QuestionListView_build_closure(), type$.QuestionProvider); } }; A.QuestionListView_build_closure.prototype = { call$3(context, value, child) { var _null = null, t1 = value._questionList.length; return t1 <= 0 ? A.Center$(A.Text$("There are no questions posted in this test.", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null) : A.ListView$builder(_null, new A.QuestionListView_build__closure(value), t1, _null, _null, _null, B.Axis_1, true); }, "call*": "call$3", $requiredArgCount: 3, $signature: 242 }; A.QuestionListView_build__closure.prototype = { call$2(context, index) { var t1 = this.value._questionList[index]; return A.ChangeNotifierProvider$value(A.Column$(A._setArrayType([new A.TestQuestionItem(index, null), A.Divider$()], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), t1, type$.Question); }, $signature: 356 }; A.TestQuestionScreen.prototype = { build$1(_, context) { var _null = null, t1 = this._testQuestionAlert$1(context), t2 = A.Text$("Practice Test Questions", _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$2$color$fontSize(B.Color_4278190080, 16), _null, _null, _null), t3 = type$.Condition_dynamic, t4 = type$.JSArray_Condition_dynamic; t4 = A.ResponsiveValue$(context, t1, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, A.SafeArea$(true, A.Scaffold$(A.AppBar$(A._setArrayType([A.ResponsiveVisibility$(new A.Padding(B.EdgeInsets_8_8_8_8, A.TextButton$(false, A.Text$("Add Question", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.TestQuestionScreen_build_closure(this, context), _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, t3)], t4), B.List_empty9)], type$.JSArray_Widget), true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, t2), B.Color_4294967295, new A.Padding(B.EdgeInsets_10_10_10_10, this._questionBody$1(context), _null), _null, true, _null, _null), B.EdgeInsets_0_0_0_0, true), _null, t3)], t4), type$.Widget).value; t4.toString; return t4; }, _testQuestionAlert$1(context) { var _null = null, t1 = A.TextButton$(false, A.Text$("Add Question", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.TestQuestionScreen__testQuestionAlert_closure(this, context), _null); return A.AlertDialog$(_null, _null, _null, this._questionBody$1(context), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, new A.AlertTitleButton("Practice Test Questions", t1, _null), _null); }, _questionBody$1(context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; return A.Container$(_null, A.Column$(A._setArrayType([A.ResponsiveVisibility$(A.TextButton$(false, A.Text$("Add Question", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.TestQuestionScreen__questionBody_closure(this, context), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_0, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9), new A.TestQuestionBody(this.selectedTest.id, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, t2.size._dy, _null, _null, _null, _null, _null, t1.size._dx); } }; A.TestQuestionScreen_build_closure.prototype = { call$0() { var t1 = this.context; A.Navigator_of(t1, false).push$1(A.MaterialPageRoute$(new A.TestQuestionScreen_build__closure(this.$this, t1), false, null, type$.dynamic)); }, $signature: 0 }; A.TestQuestionScreen_build__closure.prototype = { call$1(ctx) { var t1 = this.$this.selectedTest.id; return A.TestQuestionForm$(false, 0, 0, A._setArrayType([], type$.JSArray_QuizOption), "", new A.TestQuestionScreen_build___closure(this.context), "", t1, "", ""); }, $signature: 132 }; A.TestQuestionScreen_build___closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.TestQuestionScreen__testQuestionAlert_closure.prototype = { call$0() { var t1 = this.context; A.Navigator_of(t1, false).push$1(A.MaterialPageRoute$(new A.TestQuestionScreen__testQuestionAlert__closure(this.$this, t1), false, null, type$.dynamic)); }, $signature: 0 }; A.TestQuestionScreen__testQuestionAlert__closure.prototype = { call$1(ctx) { var t1 = this.$this.selectedTest.id; return A.TestQuestionForm$(false, 0, 0, A._setArrayType([], type$.JSArray_QuizOption), "", new A.TestQuestionScreen__testQuestionAlert___closure(this.context), "", t1, "", ""); }, $signature: 132 }; A.TestQuestionScreen__testQuestionAlert___closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.TestQuestionScreen__questionBody_closure.prototype = { call$0() { var t1 = this.context; A.Navigator_of(t1, false).push$1(A.MaterialPageRoute$(new A.TestQuestionScreen__questionBody__closure(this.$this, t1), false, null, type$.dynamic)); }, $signature: 0 }; A.TestQuestionScreen__questionBody__closure.prototype = { call$1(ctx) { var t1 = this.$this.selectedTest.id; return A.TestQuestionForm$(false, 0, 0, A._setArrayType([], type$.JSArray_QuizOption), "", new A.TestQuestionScreen__questionBody___closure(this.context), "", t1, "", ""); }, $signature: 132 }; A.TestQuestionScreen__questionBody___closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.TestTabView.prototype = { build$1(_, context) { var t3, t4, _null = null, t1 = type$.JSArray_Widget, t2 = A._setArrayType([], t1); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t3 = A.BorderRadius$circular(8); t4 = $.$get$DraclmsTheme_cardBorderColor(); B.JSArray_methods.addAll$1(t2, A._setArrayType([A.Card$(new A.ListTileButton("Add Practice Test for the class", "", A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57424_MaterialIcons_null_false, _null, 25), 24, new A.TestTabView_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null), true, _null), _null, 3, _null, _null, _null, new A.RoundedRectangleBorder(t3, new A.BorderSide(t4, 1, B.BorderStyle_1)))], t1)); } t2.push(new A.SizedBox(_null, 20, _null, _null)); t2.push(new A.TestListView(_null)); return A.ListView$(true, true, t2, _null, new A.UniqueKey(), _null, _null, B.Axis_1, true); } }; A.TestTabView_build_closure.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.TestsProvider)._testDetails; t1.$indexSet(0, "title", ""); t1.$indexSet(0, "instructions", ""); t1.$indexSet(0, "hasDeadline", false); t1.$indexSet(0, "showMarks", false); t1.$indexSet(0, "isPublished", false); t1.$indexSet(0, "canSkipQuestion", false); t1.$indexSet(0, "showObtainedMarks", false); t1 = A.HtmlEditorController$(); A.Navigator_of(this.context, false).pushReplacement$1(A.MaterialPageRoute$(new A.TestTabView_build__closure(new A.TestForm(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), t1, null)), false, null, type$.dynamic)); }, $signature: 0 }; A.TestTabView_build__closure.prototype = { call$1(ctx) { return this.addTestPage; }, $signature: 357 }; A.TestListItem.prototype = { createState$0() { var t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail; t1.toString; return new A._TestListItemState(t1, B._StateLifecycle_0); } }; A._TestListItemState.prototype = { _showQuestionDialog$0() { if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") this._showDialogOfQuestions$0(); else { var t1 = this._framework$_element; t1.toString; A.showDialog(new A._TestListItemState__showQuestionDialog_closure(this), t1, null, true, type$.dynamic); } }, _showResultsDialog$0() { var t1 = this._framework$_element; t1.toString; A.showDialog(new A._TestListItemState__showResultsDialog_closure(this), t1, null, true, type$.dynamic); }, build$1(_, context) { var side, t3, t4, t5, t6, _this = this, _null = null, _s7_ = "Poppins", t1 = $.$get$locator().call$1$0(type$.TestsProvider), t2 = _this._widget.testId; t2.toString; _this._selectedTest = t1.getTestById$1(t2); t2 = A.BorderRadius$circular(8); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t1 = A.SvgPicture$asset("assets/icons/avatar.svg", _null, 28, 28); t3 = _this._selectedTest.createdUser; t3.toString; t3 = A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null); t4 = A.DateFormat$yMMMMd(); t5 = _this._selectedTest.createdAt; t5.toString; t6 = type$.JSArray_Widget; t5 = A._setArrayType([t1, new A.SizedBox(24, _null, _null, _null), A.Column$(A._setArrayType([t3, new A.SizedBox(_null, 4, _null, _null), A.Text$(t4.format$1(t5), _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style(), _null, _null, _null)], t6), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), new A.Spacer(_null)], t6); t1 = _this._selectedTest.studentTest; if (t1 == null || t1.isComplete === 0) { t1 = _this._showQuestionsButton$0(); t5.push(A.ResponsiveVisibility$(A.roundButton(_null, _null, _null, false, _this.get$_showQuestionDialog(), A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _s7_, _null, _null, 12, _null, _null, _null, _null, true, _null, 0.5, _null, _null, _null, _null, _null, _null), t1, _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9)); } t5.push(new A.SizedBox(8, _null, _null, _null)); t1 = _this._selectedTest.studentTest; if (t1 != null && t1.isComplete === 1 || $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t1 = $.$get$DraclmsTheme_mainColor(); t5.push(A.ResponsiveVisibility$(A.roundButton(new A.BorderSide(t1, 1, B.BorderStyle_1), B.Color_4294967295, _null, false, _this.get$_showResultsDialog(), A.TextStyle$(_null, _null, t1, _null, _null, _null, _null, _null, _s7_, _null, _null, 12, _null, _null, _null, _null, true, _null, 0.5, _null, _null, _null, _null, _null, _null), "View Results", _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9)); } t5.push(_this._test_list_item$_buildPopMenu$0()); t1 = A.Row$(t5, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t3 = _this._selectedTest.title; t3.toString; t3 = A._setArrayType([A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5), _null, _null, _null), new A.Spacer(_null)], t6); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t4 = _this._selectedTest.isPublished === 1 ? "Published" : "Unpublished"; t3.push(A.Text$(t4, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize(new A.Color(4283914071), 12), B.TextAlign_2, _null, _null)); } t1 = A._setArrayType([t1, new A.SizedBox(_null, 12, _null, _null), A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null)], t6); if (_this._selectedTest.hasDeadline === 1) { t3 = A.DateFormat$("MMM d", _null); t4 = _this._selectedTest.deadlineBy; t4.toString; t4 = "Due " + t3.format$1(A.DateTime_parse(t4)) + ", "; t3 = A.DateFormat$("hh:mm aaa", _null); t5 = _this._selectedTest.deadlineBy; t5.toString; t1.push(A.Text$(t4 + t3.format$1(A.DateTime_parse(t5)), _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize($.$get$DraclmsTheme_statusColor(), 12), _null, _null, _null)); } t3 = _this._selectedTest.instructions; t3.toString; t1.push(A.Html$(t3, _null, A.LinkedHashMap_LinkedHashMap$_literal(["p", A.Style$(_null, _null, B.Color_0, _null, _null, B.Color_4278190080, _null, _null, _s7_, _null, new A.FontSize(12, ""), _null, B.FontWeight_3, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.String, type$.Style))); return A.Container$(_null, A.Column$(t1, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), t2, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsets(0, 0, 0, 10), new A.EdgeInsets(20, 10, 20, 10), _null, _null, _null); }, _showQuestionsButton$0() { var t1 = this._selectedTest.studentTest; if (t1 == null || t1.isComplete === 0) return $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? "Show Questions" : "Take Test"; return ""; }, _viewResults$0() { var t1 = this._selectedTest.studentTest; if (t1 != null && t1.isComplete === 1 || $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") return "View Results"; return ""; }, _test_list_item$_buildPopMenu$0() { var t2, t3, _this = this, t1 = _this._framework$_element; t1.toString; t2 = type$.JSArray_String; if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") t3 = A._setArrayType(["Edit", "Delete", _this._showQuestionsButton$0(), _this._viewResults$0()], t2); else { t3 = A._setArrayType([], t2); if (_this._showQuestionsButton$0() !== "") t3.push(_this._showQuestionsButton$0()); if (_this._viewResults$0() !== "") t3.push(_this._viewResults$0()); } t2 = A.ResponsiveValue$(t1, t3, A._setArrayType([new A.Condition(900, null, B.Conditional_0, A._setArrayType(["Edit", "Delete"], t2), null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.List_String).value; t2.toString; return A.CustomPopMenu$(t2, new A._TestListItemState__buildPopMenu_closure(_this)); }, _showDialogOfQuestions$0() { var t1 = this._framework$_element; t1.toString; A.showDialog(new A._TestListItemState__showDialogOfQuestions_closure(this), t1, null, true, type$.dynamic); } }; A._TestListItemState__showQuestionDialog_closure.prototype = { call$1(context) { var _null = null, t1 = A.Text$("Do you want to start the test?", _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.roundButton(_null, _null, _null, false, new A._TestListItemState__showQuestionDialog__closure(this.$this, context), _null, "Submit", _null), new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._TestListItemState__showQuestionDialog__closure0(context), _null)], type$.JSArray_Widget), _null, _null, _null, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, t1, _null); }, $signature: 57 }; A._TestListItemState__showQuestionDialog__closure.prototype = { call$0() { var t2, t1 = this.context; A.showDialog(new A._TestListItemState__showQuestionDialog___closure(), t1, null, true, type$.dynamic); t2 = this.$this; $.$get$locator().call$1$0(type$.QuestionProvider).listTestQuestion$1$testId(t2._selectedTest.id).then$1$1(0, new A._TestListItemState__showQuestionDialog___closure0(t2, t1), type$.Null); }, $signature: 3 }; A._TestListItemState__showQuestionDialog___closure.prototype = { call$1(context) { return new A.SimpleDialog(A._setArrayType([A.Lottie_asset(string$.assetsx5f, 200, 200)], type$.JSArray_Widget), null); }, $signature: 358 }; A._TestListItemState__showQuestionDialog___closure0.prototype = { call$1(value) { var t1 = this.context; A.Navigator_of(t1, false).pop$1(0, null); A.Navigator_of(t1, false).pop$1(0, null); A.showDialog(new A._TestListItemState__showQuestionDialog____closure(this.$this), t1, null, true, type$.dynamic); }, $signature: 27 }; A._TestListItemState__showQuestionDialog____closure.prototype = { call$1(context) { var t2, _null = null, t1 = this.$this._selectedTest.id; t1.toString; t2 = type$.MediaQuery; return A.AlertDialog$(_null, _null, B.EdgeInsets_0_0_0_0, A.Container$(_null, new A.StudentTestBody(t1, _null), B.Clip_0, _null, _null, _null, _null, context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dy * 9, _null, _null, _null, _null, _null, context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx * 9), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_0_0_0_0, false, _null, _null, _null); }, $signature: 57 }; A._TestListItemState__showQuestionDialog__closure0.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A._TestListItemState__showResultsDialog_closure.prototype = { call$1(context) { var t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase(), t2 = this.$this, t3 = t2._selectedTest; if (t1 === "teacher") { t1 = t3.id; t1.toString; t1 = new A.TestResultScreen(t1, null); } else { t1 = t3.id; t1.toString; t2 = t2._test_list_item$_userAccountDetail.accountUser.resourceStudent.studentId; t2.toString; t2 = new A.ResultDetailsBody(t1, t2, null); t1 = t2; } return t1; }, $signature: 359 }; A._TestListItemState__buildPopMenu_closure.prototype = { call$1(value) { var t1, t2, t3, _null = null; if (value === "Edit") { t1 = this.$this; A.print(t1._selectedTest.deadlineBy); t2 = $.$get$locator().call$1$0(type$.TestsProvider); t3 = t1._selectedTest; t3.toString; t2 = t2._testDetails; t2.$indexSet(0, "title", t3.title); t2.$indexSet(0, "instructions", t3.instructions); t2.$indexSet(0, "hasDeadline", t3.hasDeadline === 1 && true); t2.$indexSet(0, "showMarks", t3.showMarksInQuestion === 1 && true); t2.$indexSet(0, "isPublished", t3.isPublished === 1 && true); t2.$indexSet(0, "canSkipQuestion", t3.canSkipQuestion === 1 && true); t2.$indexSet(0, "showObtainedMarks", t3.showObtainedMarks === 1 && true); t2.$indexSet(0, "startTime", t3.startDate); t3 = t3.deadlineBy; if (t3 !== "") { t3.toString; t3 = A.DateTime_parse(t3); } else t3 = _null; t2.$indexSet(0, "deadlineTime", t3); t3 = t1._selectedTest.id; t2 = A.HtmlEditorController$(); t1 = t1._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A._TestListItemState__buildPopMenu__closure(new A.EditTestForm(t3, new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), t2, _null)), false, _null, type$.dynamic)); } else if (value === "Delete") A.deleteAlert(new A._TestListItemState__buildPopMenu__closure0(this.$this), "Practice Test"); else { t1 = this.$this; if (value === t1._showQuestionsButton$0()) t1._showQuestionDialog$0(); else if (value === t1._viewResults$0()) t1._showResultsDialog$0(); } }, $signature: 11 }; A._TestListItemState__buildPopMenu__closure.prototype = { call$1(ctx) { return this.editTestForm; }, $signature: 360 }; A._TestListItemState__buildPopMenu__closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, t1, t2; 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; t2 = t1._framework$_element; t2.toString; $async$goto = 2; return A._asyncAwait(A.Provider_of(t2, false, type$.TestsProvider).deleteTest$1$testId(t1._selectedTest.id), $async$call$0); case 2: // returning from await. t1 = t1._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A._TestListItemState__showDialogOfQuestions_closure.prototype = { call$1(context) { return new A.TestQuestionScreen(this.$this._selectedTest, null); }, $signature: 361 }; A.TestListView.prototype = { build$1(_, context) { var _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t2 = type$.TestsProvider; t2 = $.$get$locator().call$1$0(t2)._testList.length <= 0 ? A.Center$(A.Text$("There are no tests posted.", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null) : A.ListView$builder(_null, new A.TestListView_build_closure(), $.$get$locator().call$1$0(t2)._testList.length, _null, new A.EdgeInsets(0, 0, 0, 0), new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); return new A.SizedBox(t1.size._dx, _null, A.SingleChildScrollView$(t2, _null, B.DragStartBehavior_1, _null, _null, new A.NeverScrollableScrollPhysics(_null), _null, B.Axis_1), _null); } }; A.TestListView_build_closure.prototype = { call$2(context, index) { return new A.TestListItem($.$get$locator().call$1$0(type$.TestsProvider)._testList[index].id, null); }, $signature: 362 }; A.QATabView.prototype = { build$1(_, context) { var _null = null, t1 = A.ScrollController$(_null, 0, true), t2 = type$.JSArray_Widget, t3 = A._setArrayType([], t2); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.AddQAWidget(_null)], t2)); t3.push(new A.SizedBox(_null, 8, _null, _null)); t3.push(new A.QAListView(_null)); return A.ListView$(true, true, t3, t1, new A.UniqueKey(), _null, _null, B.Axis_1, true); } }; A.AddQAWidget.prototype = { createState$0() { return new A._AddQAWidgetState(B._StateLifecycle_0); } }; A._AddQAWidgetState.prototype = { build$1(_, context) { var _null = null, t1 = A.BorderRadius$circular(8), t2 = $.$get$DraclmsTheme_cardBorderColor(); return A.Card$(new A.ListTileButton("Add Question/Answer to the Class", "", A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57424_MaterialIcons_null_false, $.$get$DraclmsTheme_subTitle1Color(), 25), 24, new A._AddQAWidgetState_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null), true, _null), _null, 3, _null, _null, _null, new A.RoundedRectangleBorder(t1, new A.BorderSide(t2, 1, B.BorderStyle_1))); } }; A._AddQAWidgetState_build_closure.prototype = { call$0() { var qaPage, t1 = $.$get$locator().call$1$0(type$.QAProvider)._qaDetails; t1.$indexSet(0, "title", ""); t1.$indexSet(0, "question", ""); t1.$indexSet(0, "answer", ""); qaPage = A.QAFormWidget$(false, null); A.Navigator_of(this.context, false).pushReplacement$1(A.MaterialPageRoute$(new A._AddQAWidgetState_build__closure(qaPage), false, null, type$.dynamic)); }, $signature: 0 }; A._AddQAWidgetState_build__closure.prototype = { call$1(ctx) { return this.qaPage; }, $signature: 243 }; A.QAFormWidget.prototype = { _addNote$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _answer, homeScreen, t2, t3, t4, exception, t1, $async$exception; var $async$_addNote$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 t1 = $async$self._qa_form_widget$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); $async$goto = 3; return A._asyncAwait($async$self._qa_form_widget$_controller.getText$0(), $async$_addNote$0); case 3: // returning from await. _answer = $async$result; if (J.get$length$asx(_answer) === 0) { A.showToaster("Answer should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } $async$handler = 5; t1 = type$.QAProvider; t2 = type$.CourseContentProvider; $async$goto = $async$self.isEdit ? 8 : 10; break; case 8: // then t3 = $.$get$locator().call$1$0(t1); t2 = $.$get$locator().call$1$0(t2)._courseContentDetail.resourceId; t2.toString; t4 = $.$get$locator().call$1$0(t1)._qaDetails.$index(0, "title"); $async$goto = 11; return A._asyncAwait(t3.updateQa$6$answer$id$isPublished$question$resourceId$title(_answer, $async$self.qaId, 1, $.$get$locator().call$1$0(t1)._qaDetails.$index(0, "question"), t2, t4), $async$_addNote$0); case 11: // returning from await. // goto join $async$goto = 9; break; case 10: // else t3 = $.$get$locator().call$1$0(t1); t2 = $.$get$locator().call$1$0(t2)._courseContentDetail.resourceId; t2.toString; t4 = $.$get$locator().call$1$0(t1)._qaDetails.$index(0, "title"); $async$goto = 12; return A._asyncAwait(t3.addQa$5$answer$isPublished$question$resourceId$title(_answer, 1, $.$get$locator().call$1$0(t1)._qaDetails.$index(0, "question"), t2, t4), $async$_addNote$0); case 12: // returning from await. case 9: // join homeScreen = new A.HomeScreen($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.QAFormWidget__addNote_closure(homeScreen), false, null, type$.dynamic)); $async$handler = 2; // goto after finally $async$goto = 7; break; case 5: // catch $async$handler = 4; $async$exception = $async$currentError; if (A.unwrapException($async$exception) instanceof A.DioError) A.showToaster($async$self.isEdit ? "Something went wrong, Could edit Q&A" : "Something went wrong, Could add Q&A", B.MaterialColor_Map_JNc9P_4294198070); else throw $async$exception; // goto after finally $async$goto = 7; break; case 4: // uncaught // goto rethrow $async$goto = 2; break; case 7: // 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$_addNote$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, t6, _this = this, _null = null, t1 = _this.isEdit ? "Edit Question / Answer" : "Add Question / Answer to class"; t1 = A.AppBar$(_null, false, B.Color_4294967295, 0, _null, _null, A.Text$(t1, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)); t2 = $.$get$DraclmsTheme_primaryColor(); t3 = type$.QAProvider; t4 = $.$get$locator().call$1$0(t3)._qaDetails.$index(0, "title"); t4 = A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), $.$get$DraclmsTheme_textFormFieldFillColor(), t4, false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.QAFormWidget_build_closure(), _null, A.validator_Validator_validator$closure()); t5 = $.$get$locator().call$1$0(t3)._qaDetails.$index(0, "question"); t6 = type$.JSArray_Widget; return A.Scaffold$(t1, t2, A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([A.Form$(_null, A.ListView$(true, true, A._setArrayType([t4, new A.SizedBox(_null, 16, _null, _null), A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), $.$get$DraclmsTheme_textFormFieldFillColor(), t5, false, false, _null, B.TextInputType_0_null_null, "Question", 1, _null, new A.QAFormWidget_build_closure0(), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 16, _null, _null), new A.MultilineEditableTextField(_this._qa_form_widget$_controller, J.toString$0$($.$get$locator().call$1$0(t3)._qaDetails.$index(0, "answer")), "Description", _null, _null), A.Consumer$(new A.QAFormWidget_build_closure1(_this), t3)], t6), _null, _null, new A.EdgeInsets(16, 16, 16, 16), _null, B.Axis_1, true), _this._qa_form_widget$_formKey)], t6), B.StackFit_0, _null, _null), _null, true, _null, _null); } }; A.QAFormWidget__addNote_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.QAFormWidget_build_closure.prototype = { call$1(value) { var t1 = $.$get$locator().call$1$0(type$.QAProvider); t1._qaDetails.$indexSet(0, "title", value); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.QAFormWidget_build_closure0.prototype = { call$1(value) { var t1 = $.$get$locator().call$1$0(type$.QAProvider); t1._qaDetails.$indexSet(0, "question", value); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.QAFormWidget_build_closure1.prototype = { call$3(context, qaProvider, child) { var _null = null, t1 = this.$this, t2 = t1.isEdit ? "Save" : "Post", t3 = type$.JSArray_Widget; t2 = A._setArrayType([A.roundButton(_null, _null, _null, false, t1.get$_addNote(), _null, t2, _null)], t3); B.JSArray_methods.addAll$1(t2, A._setArrayType([new A.SizedBox(20, _null, _null, _null), new A.CancelButton(_null)], t3)); return A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 364 }; A.QAListItem.prototype = { createState$0() { return new A._QAListItemState(B._StateLifecycle_0); } }; A._QAListItemState.prototype = { build$1(_, context) { var qaModel, t3, t4, t5, t6, t7, $document, t8, _this = this, _null = null, t1 = $.$get$locator().call$1$0(type$.QAProvider), t2 = _this._widget.qaId; t2.toString; qaModel = t1.getQAById$1(t2); t2 = A.BorderRadius$circular(8); t1 = _this._isCardExpanded ? $.$get$DraclmsTheme_hBlueColor() : $.$get$DraclmsTheme_cardBorderColor(); t3 = _this._buildQATitle$1(qaModel); t4 = $.$get$DraclmsTheme_mainColor(); t5 = A.Text$("Q", _null, _null, _null, _null, A.DraclmsTheme_subTitle1Style().copyWith$3$color$fontSize$fontWeight($.$get$DraclmsTheme_shadowColor(), 18, B.FontWeight_5), _null, _null, _null); t6 = qaModel.qa; t7 = t6.question; t7.toString; $document = A.parse(t7); t7 = $document.get$body($document); t7.toString; t7 = new A.SelectorEvaluator().querySelector$2(0, A.parse(A._getText(t7)), A._parseSelectorList("html")); t7.toString; t8 = type$.JSArray_Widget; return A.Card$(A.ExpansionTile$(A._setArrayType([A.Row$(A._setArrayType([t5, new A.SizedBox(20, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, A.Text$(A._getText(t7), 10, B.TextOverflow_2, _null, _null, A.DraclmsTheme_body1Style().copyWith$2$fontSize$fontWeight(13, B.FontWeight_6), _null, _null, _null), _null)], t8), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), new A.SizedBox(_null, 4, _null, _null), A.Row$(A._setArrayType([A.Icon$(B.IconData_57499_MaterialIcons_null_true, $.$get$DraclmsTheme_shadowColor(), 20), new A.SizedBox(8, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, A.Html$(t6.answer, new A._QAListItemState_build_closure(context), A.LinkedHashMap_LinkedHashMap$_literal(["p", A.Style$(_null, _null, B.Color_0, _null, _null, _null, _null, _null, "Poppins", _null, new A.FontSize(12, ""), _null, B.FontWeight_3, _null, _null, _null, B.ListStylePosition_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.String, type$.Style)), _null)], t8), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null)], t8), new A.EdgeInsets(20, 0, 20, 6), B.Alignment_m1_0, B.CrossAxisAlignment_0, t4, _null, _null, new A._QAListItemState_build_closure0(_this), _null, t3, _null), _null, 3, _null, new A.EdgeInsets(4, 6, 4, 6), _null, new A.RoundedRectangleBorder(t2, new A.BorderSide(t1, 0.1, B.BorderStyle_1))); }, _buildQATitle$1(qaModel) { var t2, t3, t4, _null = null, t1 = qaModel.title; t1.toString; t2 = A.DraclmsTheme_title2Style(); t3 = $.$get$DraclmsTheme_titleColor(); t4 = type$.JSArray_Widget; t3 = A._setArrayType([A.Expanded$(A.Text$(t1, _null, _null, _null, _null, t2.copyWith$3$color$fontSize$fontWeight(t3, 15, this._isCardExpanded ? B.FontWeight_5 : B.FontWeight_3), _null, _null, _null), 1), new A.SizedBox(12, _null, _null, _null)], t4); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") B.JSArray_methods.addAll$1(t3, A._setArrayType([A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_61453_MaterialIcons_null_false, $.$get$DraclmsTheme_tableBorderColor(), _null), 24, new A._QAListItemState__buildQATitle_closure(this, qaModel), B.EdgeInsets_8_8_8_8, _null, _null, _null), new A.SizedBox(12, _null, _null, _null), A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_61352_MaterialIcons_null_false, B.MaterialColor_Map_JNc9P_4294198070, _null), 24, new A._QAListItemState__buildQATitle_closure0(this, qaModel), B.EdgeInsets_8_8_8_8, _null, _null, _null), new A.SizedBox(12, _null, _null, _null)], t4)); return A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); } }; A._QAListItemState_build_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._QAListItemState_build__closure(t1, value)); }, $signature: 14 }; A._QAListItemState_build__closure.prototype = { call$0() { this.$this._isCardExpanded = this.value; }, $signature: 0 }; A._QAListItemState_build_closure.prototype = { call$4(url, _, __, ___) { return this.$call$body$_QAListItemState_build_closure(url, _, __, ___); }, $call$body$_QAListItemState_build_closure(url, _, __, ___) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$call$4 = 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 url.toString; $async$goto = 5; return A._asyncAwait(A.canLaunch(url), $async$call$4); case 5: // returning from await. $async$goto = $async$result ? 2 : 4; break; case 2: // then $async$goto = 6; return A._asyncAwait(A.launch(url), $async$call$4); case 6: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.throwExpression("Could not launch " + url); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$4, $async$completer); }, $signature: 365 }; A._QAListItemState__buildQATitle_closure.prototype = { call$0() { var t4, qaFormPage, t1 = this.qaModel, t2 = $.$get$locator().call$1$0(type$.QAProvider)._qaDetails, t3 = t1.title; t3.toString; t2.$indexSet(0, "title", t3); t3 = t1.qa; t4 = t3.question; t4.toString; t2.$indexSet(0, "question", t4); t3 = t3.answer; t3.toString; t2.$indexSet(0, "answer", t3); qaFormPage = A.QAFormWidget$(true, t1.id); t1 = this.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A._QAListItemState__buildQATitle__closure0(qaFormPage), false, null, type$.dynamic)); }, $signature: 0 }; A._QAListItemState__buildQATitle__closure0.prototype = { call$1(ctx) { return this.qaFormPage; }, $signature: 243 }; A._QAListItemState__buildQATitle_closure0.prototype = { call$0() { A.deleteAlert(new A._QAListItemState__buildQATitle__closure(this.$this, this.qaModel), "QA"); }, $signature: 0 }; A._QAListItemState__buildQATitle__closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 $async$goto = 2; return A._asyncAwait($.$get$locator().call$1$0(type$.QAProvider).deleteQa$1$id($async$self.qaModel.id), $async$call$0); case 2: // returning from await. t1 = $async$self.$this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.QAListView.prototype = { build$1(_, context) { var _null = null; return A.ListView$builder(_null, new A.QAListView_build_closure(), $.$get$locator().call$1$0(type$.QAProvider)._qaList.length, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); } }; A.QAListView_build_closure.prototype = { call$2(context, index) { return new A.QAListItem($.$get$locator().call$1$0(type$.QAProvider)._qaList[index].id, new A.UniqueKey()); }, $signature: 366 }; A.ContentBody.prototype = { createState$0() { return new A._ContentBodyState(B._StateLifecycle_0); } }; A._ContentBodyState.prototype = { initState$0() { var t1, t2; this.super$State$initState(); t1 = window; t2 = A.allowInterop(this.get$_dictionary()); t1.dictionary = t2; }, dispose$0(_) { this.super$State$dispose(0); }, build$1(_, context) { return A.Consumer$(new A._ContentBodyState_build_closure(this, context, context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dy), type$.CourseContentProvider); }, _content_body$_buildFileUploadContainer$0() { var t4, a, _ext, t5, _null = null, t1 = {}, t2 = type$.CourseContentProvider, t3 = $.$get$locator().call$1$0(t2)._contentUrl; t3.toString; t4 = $.$get$locator().call$1$0(t2)._materialTitle; t4.toString; t1._ext = ""; t2 = $.$get$locator().call$1$0(t2)._materialType; t2.toString; a = t3.split("."); _ext = a[a.length - 1]; t1._ext = _ext; if (t2 === "video") t5 = B.IconData_59045_MaterialIcons_null_false; else t5 = t2 === "audio" ? B.IconData_58389_MaterialIcons_null_false : B.IconData_57961_MaterialIcons_null_false; return A.InkWell$(false, _null, true, new A.FileContainer(t4, t5, _ext, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ContentBodyState__buildFileUploadContainer_closure(t1, this, t2, t3, t4), _null, _null, _null, _null, _null, _null); }, _dictionary$1(selectedText) { var t1 = B.JSArray_methods.contains$1($.$get$locator().call$1$0(type$.DictionaryProvider)._queryList, selectedText), t2 = type$.dynamic, t3 = this._framework$_element; if (t1) { t3.toString; A.showDialog(new A._ContentBodyState__dictionary_closure(selectedText), t3, null, true, t2); } else { t3.toString; A.showDialog(new A._ContentBodyState__dictionary_closure0(selectedText), t3, null, true, t2); } } }; A._ContentBodyState_build_closure.prototype = { call$3(ctx, courseContentProvider, _) { var t2, t3, t4, _null = null, t1 = courseContentProvider._materialType, _isFile = t1 === "video" || t1 === "audio" || t1 === "pdf"; if (courseContentProvider._isLoadingHTMLContent) t1 = A.Center$(A.Lottie_asset("assets/lottie_animations/loading.json", _null, _null), _null, _null); else if (courseContentProvider._materialId === 0 && courseContentProvider._displayedContent === "" && courseContentProvider._contentUrl === "") t1 = A.Text$("No Contents", _null, _null, _null, _null, _null, _null, _null, _null); else { t1 = courseContentProvider._materialTitle; t1.toString; t2 = type$.JSArray_Widget; t1 = A._setArrayType([new A.Flexible(1, B.FlexFit_1, A.Text$(t1, _null, _null, _null, _null, A.DraclmsTheme_title3Style().copyWith$2$fontSize$fontWeight(14, B.FontWeight_5), _null, _null, _null), _null)], t2); if (courseContentProvider._isMaterialPublished === 0) t1.push(new A.Padding(B.EdgeInsets_0_0_4_0, A.Text$("It is not published. Click to edit to publish", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), _null)); t1 = A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null); t3 = this.height; if (_isFile) { t3 = A.ResponsiveValue$(this.context, t3 * 0.13, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, t3 * 0.2, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t3.toString; } else t3 *= 0.55; t4 = _isFile ? this.$this._content_body$_buildFileUploadContainer$0() : A._lateReadCheck(courseContentProvider.__CourseContentProvider__loadHTMLContent, "_loadHTMLContent"); t2 = A.Column$(A._setArrayType([t1, A.Container$(_null, t4, B.Clip_0, _null, _null, _null, _null, t3, _null, _null, new A.EdgeInsets(0, 10, 0, 10), _null, _null, _null)], t2), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t1 = t2; } return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 244 }; A._ContentBodyState__buildFileUploadContainer_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, t3, 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._materialType; $async$goto = t1 === "video" || t1 === "audio" ? 2 : 4; break; case 2: // then t1 = $.$get$Platform_isIOS() || $.$get$Platform_isAndroid(); t2 = type$.dynamic; t3 = $async$self.$this._framework$_element; if (t1) { t3.toString; t1 = A.MaterialPageRoute$(new A._ContentBodyState__buildFileUploadContainer__closure(new A.ContentBodyVideo(null)), false, null, t2); A.Navigator_of(t3, false).push$1(t1); } else { t3.toString; A.showDialog(new A._ContentBodyState__buildFileUploadContainer__closure0(), t3, null, true, t2); } // goto join $async$goto = 3; break; case 4: // else t1 = $async$self._contentUrl; $async$goto = 8; return A._asyncAwait(A.canLaunch(t1), $async$call$0); case 8: // returning from await. $async$goto = $async$result ? 5 : 7; break; case 5: // then $async$goto = 9; return A._asyncAwait(A.launch(t1), $async$call$0); case 9: // returning from await. // goto join $async$goto = 6; break; case 7: // else A.throwExpression("Could not launch " + t1); case 6: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._ContentBodyState__buildFileUploadContainer__closure.prototype = { call$1(context) { return this.contentVideo; }, $signature: 245 }; A._ContentBodyState__buildFileUploadContainer__closure0.prototype = { call$1(context) { return new A.ContentBodyVideo(null); }, $signature: 245 }; A._ContentBodyState__dictionary_closure.prototype = { call$1(context) { var t1 = this.selectedText; return new A.CustomDialogBox(t1, new A.DictionaryDialog(t1, null), null); }, $signature: 246 }; A._ContentBodyState__dictionary_closure0.prototype = { call$1(context) { var _null = null; return new A.CustomDialogBox(this.selectedText, A.Center$(A.Text$("Not Available", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null), _null); }, $signature: 246 }; A.ContentBodyImage.prototype = { createState$0() { return new A._ContentBodyImageState(B._StateLifecycle_0); } }; A._ContentBodyImageState.prototype = { build$1(_, context) { var t3, _null = null, size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size, t1 = document.createElement("div"), t2 = t1.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t2, B.CssStyleDeclaration_methods._browserPropertyName$1(t2, "align-content"), "center", ""); t2 = t1.style; t2.height = "500px"; t2 = t1.style; t2.width = "500px"; t2 = t1.style; t3 = "url(" + this._widget.imageUrl + ")"; t2.backgroundImage = t3; return A.Container$(_null, new A.WebNode(t1, new A.UniqueKey()), B.Clip_0, _null, _null, _null, _null, size._dy / 2, _null, _null, _null, _null, _null, size._dx / 2); } }; A.ContentBodyVideo.prototype = { createState$0() { var t3, t4, t1 = type$.CourseContentProvider, t2 = $.$get$locator().call$1$0(t1)._contentUrl; t2.toString; t3 = $.$get$locator().call$1$0(t1)._contentEmbed; t3.toString; t4 = $.$get$locator().call$1$0(t1)._materialTitle; t4.toString; t1 = $.$get$locator().call$1$0(t1)._materialType; t1.toString; return new A._ContentBodyVideoState(t2, t3, t4, t1, B._StateLifecycle_0); } }; A._ContentBodyVideoState.prototype = { didChangeDependencies$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t1, t2, a; var $async$didChangeDependencies$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.super$State$didChangeDependencies(); $async$goto = $async$self._content_body_video$_isInit ? 2 : 3; break; case 2: // then $async$self.setState$1(new A._ContentBodyVideoState_didChangeDependencies_closure($async$self)); t1 = $async$self._content_body_video$_contentUrl; t1.split("/"); t2 = type$.MediaQuery; $async$self.width = $async$self._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx; $async$self.height = $async$self._framework$_element.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dy; $async$goto = t1 !== "" ? 4 : 6; break; case 4: // then $async$goto = 7; return A._asyncAwait($async$self.initializePlayer$0(), $async$didChangeDependencies$0); case 7: // returning from await. t1 = $async$self._videoPlayerController1; t1.toString; $async$self._content_body_video$_chewieController = A.ChewieController$($.$get$Platform_isIOS() || $.$get$Platform_isAndroid(), false, null, false, false, false, null, true, t1); // goto join $async$goto = 5; break; case 6: // else t1 = $async$self._content_body_video$_contentEmbed; t2 = type$.JSArray_String; a = B.JSString_methods.contains$1(t1, "watch") ? A._setArrayType(t1.split("/watch?v="), t2) : A._setArrayType(t1.split("/"), t2); $async$self._youtubePlayerController = A.YoutubePlayerController$(a[a.length - 1], B.YoutubePlayerParams_true_true); case 5: // join $async$self.setState$1(new A._ContentBodyVideoState_didChangeDependencies_closure0($async$self)); case 3: // join $async$self._content_body_video$_isInit = false; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$didChangeDependencies$0, $async$completer); }, initializePlayer$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$initializePlayer$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 = A.VideoPlayerController$network($async$self._content_body_video$_contentUrl); $async$self._videoPlayerController1 = t1; $async$goto = 2; return A._asyncAwait(t1.initialize$0(0), $async$initializePlayer$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$initializePlayer$0, $async$completer); }, dispose$0(_) { this.super$State$dispose(0); this._content_body_video$_chewieController.toString; this._videoPlayerController1.dispose$0(0); }, build$1(_, context) { var _null = null, t1 = $.$get$Platform_isIOS() || $.$get$Platform_isAndroid(), t2 = this._content_body_video$_title; return t1 ? A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, A.Text$(t2, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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.Color_4294967295, this._buildVideoBody$0(), _null, true, _null, _null) : A.AlertDialog$(_null, _null, B.EdgeInsets_0_0_0_0, this._buildVideoBody$0(), B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_0_0_0_0, false, _null, new A.AlertTitleButton(t2, _null, _null), _null); }, _buildVideoBody$0() { var _this = this, _null = null, t1 = _this.width, t2 = $.$get$Platform_isIOS() || $.$get$Platform_isAndroid(), t3 = _this.height; if (t2) { t3.toString; t2 = t3 * 0.3; } else t2 = t3; if (_this._content_body_video$_isLoading) t3 = A.Center$(A.Lottie_asset("assets/lottie_animations/video_loading.json", 300, 300), _null, _null); else if (_this._content_body_video$_contentUrl === "") t3 = new A.YoutubePlayerIFrame(_this._youtubePlayerController, 1.7777777777777777, _null); else { t3 = _this._content_body_video$_chewieController; t3.toString; t3 = new A.Chewie(t3, new A.UniqueKey()); } return A.Container$(_null, t3, B.Clip_0, _null, _null, _null, _null, t2, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t1); }, set$width(receiver, val) { return this.width = val; }, set$height(receiver, val) { return this.height = val; } }; A._ContentBodyVideoState_didChangeDependencies_closure.prototype = { call$0() { this.$this._content_body_video$_isLoading = true; }, $signature: 0 }; A._ContentBodyVideoState_didChangeDependencies_closure0.prototype = { call$0() { this.$this._content_body_video$_isLoading = false; }, $signature: 0 }; A.CourseContentEditForm.prototype = { createState$0() { var t1 = A.HtmlEditorController$(), t2 = type$.CourseContentProvider, t3 = $.$get$locator().call$1$0(t2)._isMaterialPublished !== 0 || false; return new A._CourseContentEditFormState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), t1, t3, $.$get$locator().call$1$0(t2), B._StateLifecycle_0); } }; A._CourseContentEditFormState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = type$.CourseContentProvider; if ($.$get$locator().call$1$0(t1)._materialType === "video") _this._course_content_edit_form$_isFile = _this._course_content_edit_form$_isVideo = true; else if ($.$get$locator().call$1$0(t1)._materialType === "audio") _this._course_content_edit_form$_isAudio = true; else if ($.$get$locator().call$1$0(t1)._materialType === "pdf") _this._course_content_edit_form$_isDocument = true; }, _editCourseContent$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _contentDescription, response, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, $async$exception; var $async$_editCourseContent$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$self.setState$1(new A._CourseContentEditFormState__editCourseContent_closure($async$self)); t1 = $async$self._course_content_edit_form$_formKey; if (!t1.get$currentState().validate$0()) { $async$next = [1]; // goto finally $async$goto = 5; break; } t1.get$currentState().save$0(0); _contentDescription = ""; t1 = type$.ResourceProvider; t2 = $.$get$locator().call$1$0(t1); t3 = $async$self.isChecked; t4 = t3 ? 1 : 0; t5 = $async$self.courseContentProvider; t6 = t5._courseContentDetail.id; t7 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; t7.toString; t8 = $async$self.lessonTitle; t9 = t5._courseContentDetail; t10 = t9.sequence; t8 = t2.updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title(t6, t4, t9.resourceId, t7, t10, t8); t1 = $.$get$locator().call$1$0(t1); t10 = t5._courseContentDetail.id; t10.toString; t7 = t5._resourceLessonMaterialId; t7.toString; t5 = t5._materialId; t5.toString; t9 = $async$self.contentTitle; t9.toString; t2 = $async$self._course_content_edit_form$_isVideo; if (t2) t4 = "video"; else t4 = $async$self._course_content_edit_form$_isAudio ? "audio" : "pdf"; t6 = $async$self._course_content_edit_form$_sourceLink; t11 = $async$self._course_content_edit_form$_source; t12 = $async$self._course_content_edit_form$_isVideoLink; if (t12) t13 = false; else t13 = t2 || $async$self._course_content_edit_form$_isAudio || $async$self._course_content_edit_form$_isDocument; if (t12) t2 = $async$self._course_content_edit_form$_files; else if (t2) t2 = "data:video/mp4;base64," + $async$self._course_content_edit_form$_files; else if ($async$self._course_content_edit_form$_isAudio) t2 = "data:audio/mpeg;base64," + $async$self._course_content_edit_form$_files; else t2 = $async$self._course_content_edit_form$_isDocument ? "data:" + $async$self._course_content_edit_form$_fileType + ";base64," + $async$self._course_content_edit_form$_files : ""; t12 = $async$self._course_content_edit_form$_fileType; t14 = $async$self._course_content_edit_form$_fileSize; t15 = type$.dynamic; $async$goto = 7; return A._asyncAwait(A.Future_wait(A._setArrayType([t8, t1.updateMaterial$16$caption$content$contentUrl$fileName$fileSize$fileType$files$id$isFile$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt("", _contentDescription, "", $async$self._course_content_edit_form$_fileName, t14, t12, t2, t7, t13, t3, t5, t9, t4, t10, t6, t11)], type$.JSArray_Future_dynamic), false, t15), $async$_editCourseContent$0); case 7: // returning from await. response = $async$result; if (J.$index$asx(response, 1)) { A.showToaster("Content has been updated", B.MaterialColor_Map_JNEaM_4283215696); t1 = $async$self._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A._CourseContentEditFormState__editCourseContent_closure0(), false, null, t15)); } else A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self.setState$1(new A._CourseContentEditFormState__editCourseContent_closure1($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_editCourseContent$0, $async$completer); }, _course_content_edit_form$_getSelectedFile$0() { var _this = this; if (_this._course_content_edit_form$_isVideo) return "Selected Video: " + _this._course_content_edit_form$_fileName; if (_this._course_content_edit_form$_isAudio) return "Selected Audio: " + _this._course_content_edit_form$_fileName; if (_this._course_content_edit_form$_isDocument) return "Selected Document: " + _this._course_content_edit_form$_fileName; return ""; }, _course_content_edit_form$_buildFormTab$2(title, activated) { var _null = null, t1 = A._setArrayType([A.Tab$(A.Text$(title, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_3707764736, _null, _null, _null, _null, _null, "Poppins", _null, _null, 14, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null))], type$.JSArray_Widget); if (activated) t1.push(A.Container$(_null, _null, B.Clip_0, $.$get$DraclmsTheme_mainColor(), _null, _null, _null, 3, _null, _null, _null, _null, _null, _null)); return A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, _course_content_edit_form$_filePicker$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t3, result, t1, t2; var $async$_course_content_edit_form$_filePicker$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 = $.$get$FilePicker__instance(); t2 = $async$self._course_content_edit_form$_isVideo; if (t2) t3 = "Choose a video"; else t3 = $async$self._course_content_edit_form$_isAudio ? "Choose a audio" : "Choose a document"; if (t2) t2 = B.FileType_3; else t2 = $async$self._course_content_edit_form$_isAudio ? B.FileType_4 : B.FileType_5; $async$goto = 2; return A._asyncAwait(t1.pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(false, $async$self._course_content_edit_form$_allowExtensions$0(), t3, t2), $async$_course_content_edit_form$_filePicker$0); case 2: // returning from await. result = $async$result; if (result != null) { t1 = result.files; t2 = J.getInterceptor$asx(t1); t3 = t2.$index(t1, 0).size; $async$self._course_content_edit_form$_fileSize = t3; if (t3 / 1048576 > 8) { t2.clear$0(t1); $async$self.setState$1(new A._CourseContentEditFormState__filePicker_closure($async$self)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); } else { t3 = t2.$index(t1, 0); t3 = t3.bytes; t3.toString; $async$self._course_content_edit_form$_files = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(t3); t1 = B.JSArray_methods.get$last(t2.$index(t1, 0).name.split(".")); t1.toString; if ($async$self._course_content_edit_form$_isVideo) $async$self._course_content_edit_form$_fileType = "video/" + t1; else if ($async$self._course_content_edit_form$_isAudio) $async$self._course_content_edit_form$_fileType = "audio/mpeg"; else if ($async$self._course_content_edit_form$_isDocument) $async$self._course_content_edit_form$_fileType = "application/" + t1; $async$self.setState$1(new A._CourseContentEditFormState__filePicker_closure0($async$self, result)); } } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_course_content_edit_form$_filePicker$0, $async$completer); }, build$1(_, context) { var t5, t6, t7, t8, t9, side, t10, t11, _this = this, _null = null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 = 17976931348623157e292, t1 = A.AppBar$(_null, false, B.Color_4294967295, 0, _null, _null, A.Text$("Edit course content", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), t2 = $.$get$DraclmsTheme_primaryColor(), t3 = type$.MediaQuery, t4 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx; $.SizeConfig_screenWidth = t4; t5 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dy; $.SizeConfig_screenHeight = t5; t6 = _this.courseContentProvider; t7 = t6._courseContentDetail.title; t8 = A.BorderRadius$circular(4); t9 = $.$get$DraclmsTheme_textFormFieldFillColor(); t7 = A.CustomTextField$(_null, new A.OutlineInputBorder(4, t8, new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), t9, t7, false, false, _null, B.TextInputType_0_null_null, "Lesson Title", 1, _null, new A._CourseContentEditFormState_build_closure(_this), _null, new A._CourseContentEditFormState_build_closure0()); t6 = t6._materialTitle; t8 = type$.JSArray_Widget; t6 = A._setArrayType([new A.SizedBox(_null, 16, _null, _null), t7, new A.SizedBox(_null, 16, _null, _null), A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), t9, t6, false, false, _null, B.TextInputType_0_null_null, "Content Title", 1, _null, new A._CourseContentEditFormState_build_closure1(_this), _null, new A._CourseContentEditFormState_build_closure2()), new A.SizedBox(_null, 10, _null, _null)], t8); if (_this._course_content_edit_form$_isVideo || _this._course_content_edit_form$_isAudio || _this._course_content_edit_form$_isDocument) { t7 = A._setArrayType([], t8); if (_this._course_content_edit_form$_isVideo) { side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); B.JSArray_methods.addAll$1(t7, A._setArrayType([A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.GestureDetector$(_null, _this._course_content_edit_form$_buildFormTab$2("Video", _this._course_content_edit_form$_isFile), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CourseContentEditFormState_build_closure3(_this), _null, _null, _null, _null, _null, _null, _null), 1), new A.SizedBox(20, _null, _null, _null), A.Expanded$(A.GestureDetector$(_null, _this._course_content_edit_form$_buildFormTab$2("Link", _this._course_content_edit_form$_isVideoLink), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._CourseContentEditFormState_build_closure4(_this), _null, _null, _null, _null, _null, _null, _null), 1)], t8), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, 200)], t8)); } t7.push(new A.SizedBox(_null, 10, _null, _null)); if (!_this._course_content_edit_form$_isVideoLink) { t9 = $.$get$DraclmsTheme_cardBorderColor(); side = new A.BorderSide(t9, 1, B.BorderStyle_1); t9 = A.Container$(_null, _this._course_content_edit_form$_buildDropZone$1(context), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t10 = A.Icon$(B.IconData_61532_MaterialIcons_null_false, _null, 80); if (_this._course_content_edit_form$_isVideo) t11 = "video"; else t11 = _this._course_content_edit_form$_isAudio ? "audio" : "document"; t7.push(A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([t9, A.Container$(_null, A.Column$(A._setArrayType([new A.SizedBox(_null, 8, _null, _null), t10, new A.SizedBox(_null, 20, _null, _null), A.Text$("Drag and Drop " + t11 + " file or", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4281413937), _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 8, _null, _null), A.TextButton$(false, A.Text$("Browse", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4278474174), _null, B.TextDecoration_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_course_content_edit_form$_filePicker(), _null)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368)], t8), B.StackFit_0, _null, _null)); } else B.JSArray_methods.addAll$1(t7, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Video Link", 1, _null, new A._CourseContentEditFormState_build_closure5(_this), _null, A.validator_Validator_validator$closure())], t8)); if (_this._course_content_edit_form$_fileName !== "") B.JSArray_methods.addAll$1(t7, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$(_this._course_content_edit_form$_getSelectedFile$0(), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null)], t8)); t9 = _this._course_content_edit_form$_error; if (t9 !== "") B.JSArray_methods.addAll$1(t7, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$("Error: " + t9, _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.MaterialColor_Map_JNc9P_4294198070, 10), _null, _null, _null)], t8)); t7.push(new A.SizedBox(_null, 10, _null, _null)); t7.push(A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Source", 1, _null, new A._CourseContentEditFormState_build_closure6(_this), _null, A.validator_Validator_validator$closure())); t7.push(new A.SizedBox(_null, 10, _null, _null)); t7.push(A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Source Link", 1, _null, new A._CourseContentEditFormState_build_closure7(_this), _null, A.validator_Validator_validator$closure())); B.JSArray_methods.addAll$1(t6, t7); } t6.push(new A.SizedBox(_null, 10, _null, _null)); t6.push(A.Row$(A._setArrayType([new A.CancelButton(_null), new A.SizedBox(20, _null, _null, _null), A.roundButton(_null, _null, _null, _this._course_content_edit_form$_isLoading, _this.get$_editCourseContent(), _null, "Save", _null)], t8), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)); t6 = A._setArrayType([A.Form$(_null, A.ListView$(true, true, t6, _null, _null, _null, _null, B.Axis_1, true), _this._course_content_edit_form$_formKey)], t8); if (_this._course_content_edit_form$_isLoading) { t7 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data; t3 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data; t6.push(new A.Align(B.Alignment_0_0, _null, _null, A.Container$(_null, A.Column$(A._setArrayType([A.Lottie_asset("assets/lottie_animations/editing.json", 300, 300), new A.SizedBox(_null, 16, _null, _null), A.Text$("Updating Content, Please Wait a while.", _null, _null, _null, _null, _null, _null, _null, _null)], t8), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, B.Color_4294967295, _null, _null, _null, t7.size._dy, _null, _null, _null, _null, _null, t3.size._dx), _null)); } return A.Scaffold$(t1, t2, A.Container$(_null, A.Stack$(B.AlignmentDirectional_m1_m1, t6, B.StackFit_0, _null, _null), B.Clip_0, _null, _null, _null, _null, t5, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t4), _null, true, _null, false); }, _course_content_edit_form$_buildDropZone$1(context) { return new A.Builder(new A._CourseContentEditFormState__buildDropZone_closure(this), null); }, _course_content_edit_form$_allowExtensions$0() { var t1 = type$.JSArray_String; if (this._course_content_edit_form$_isDocument) return A._setArrayType(["pdf", "docx", "doc"], t1); else return A._setArrayType([], t1); } }; A._CourseContentEditFormState__editCourseContent_closure.prototype = { call$0() { this.$this._course_content_edit_form$_isLoading = true; }, $signature: 0 }; A._CourseContentEditFormState__editCourseContent_closure0.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._CourseContentEditFormState__editCourseContent_closure1.prototype = { call$0() { this.$this._course_content_edit_form$_isLoading = false; }, $signature: 0 }; A._CourseContentEditFormState__filePicker_closure.prototype = { call$0() { this.$this._course_content_edit_form$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._CourseContentEditFormState__filePicker_closure0.prototype = { call$0() { this.$this._course_content_edit_form$_fileName = J.$index$asx(this.result.files, 0).name; }, $signature: 0 }; A._CourseContentEditFormState_build_closure0.prototype = { call$1(value) { return A.Validator_validator(value); }, $signature: 45 }; A._CourseContentEditFormState_build_closure.prototype = { call$1(value) { return this.$this.lessonTitle = value; }, $signature: 9 }; A._CourseContentEditFormState_build_closure2.prototype = { call$1(value) { return A.Validator_validator(value); }, $signature: 45 }; A._CourseContentEditFormState_build_closure1.prototype = { call$1(value) { return this.$this.contentTitle = value; }, $signature: 9 }; A._CourseContentEditFormState_build_closure3.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CourseContentEditFormState_build__closure0(t1)); }, $signature: 0 }; A._CourseContentEditFormState_build__closure0.prototype = { call$0() { var t1 = this.$this; t1._course_content_edit_form$_isFile = true; t1._course_content_edit_form$_isVideoLink = false; }, $signature: 0 }; A._CourseContentEditFormState_build_closure4.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._CourseContentEditFormState_build__closure(t1)); }, $signature: 0 }; A._CourseContentEditFormState_build__closure.prototype = { call$0() { var t1 = this.$this; t1._course_content_edit_form$_isVideoLink = true; t1._course_content_edit_form$_isFile = false; }, $signature: 0 }; A._CourseContentEditFormState_build_closure5.prototype = { call$1(val) { return this.$this._course_content_edit_form$_files = val; }, $signature: 9 }; A._CourseContentEditFormState_build_closure6.prototype = { call$1(val) { return this.$this._course_content_edit_form$_source = val; }, $signature: 9 }; A._CourseContentEditFormState_build_closure7.prototype = { call$1(val) { return this.$this._course_content_edit_form$_sourceLink = val; }, $signature: 9 }; A._CourseContentEditFormState__buildDropZone_closure.prototype = { call$1(context) { var t1 = this.$this; return A.DropzoneView$(B.CursorType_11, new A._CourseContentEditFormState__buildDropZone__closure(t1), new A._CourseContentEditFormState__buildDropZone__closure0(t1), new A._CourseContentEditFormState__buildDropZone__closure1(), new A._CourseContentEditFormState__buildDropZone__closure2(), B.DragOperation_6); }, $signature: 176 }; A._CourseContentEditFormState__buildDropZone__closure.prototype = { call$1(ctrl) { return this.$this.___CourseContentEditFormState__dropZoneController = ctrl; }, $signature: 175 }; A._CourseContentEditFormState__buildDropZone__closure2.prototype = { call$0() { return A.print("Zone 1 loaded"); }, $signature: 0 }; A._CourseContentEditFormState__buildDropZone__closure1.prototype = { call$1(ev) { return A.print("Zone 1 error: " + A.S(ev)); }, $signature: 26 }; A._CourseContentEditFormState__buildDropZone__closure0.prototype = { call$1(ev) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, bytes, a, ext, 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 a = J.split$1$s(J.get$name$x(ev), "."); ext = a[a.length - 1]; t1 = $async$self.$this; $async$goto = !B.JSArray_methods.contains$1(t1._course_content_edit_form$_allowExtensions$0(), ext) && t1._course_content_edit_form$_isDocument ? 2 : 4; break; case 2: // then A.showToaster("Provided file is not pdf", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 3; break; case 4: // else t2 = A._lateReadCheck(t1.___CourseContentEditFormState__dropZoneController, "_dropZoneController"); $async$goto = 5; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileSize$2$viewId(ev, t2.viewId), $async$call$1); case 5: // returning from await. t2 = $async$result; t1._course_content_edit_form$_fileSize = t2; $async$goto = t2 / 1048576 > 8 ? 6 : 8; break; case 6: // then t1.setState$1(new A._CourseContentEditFormState__buildDropZone___closure(t1)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 7; break; case 8: // else t2 = A._lateReadCheck(t1.___CourseContentEditFormState__dropZoneController, "_dropZoneController"); $async$goto = 9; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileData$2$viewId(ev, t2.viewId), $async$call$1); case 9: // returning from await. bytes = $async$result; t1._course_content_edit_form$_files = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(bytes); t1._course_content_edit_form$_fileType = "application/pdf"; t1.setState$1(new A._CourseContentEditFormState__buildDropZone___closure0(t1, ev)); case 7: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 58 }; A._CourseContentEditFormState__buildDropZone___closure.prototype = { call$0() { this.$this._course_content_edit_form$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._CourseContentEditFormState__buildDropZone___closure0.prototype = { call$0() { this.$this._course_content_edit_form$_fileName = J.get$name$x(this.ev); }, $signature: 0 }; A.EditCourseContentTextForm.prototype = { _editCourseContent$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _contentDescription, response, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, $async$exception; var $async$_editCourseContent$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._course_content_edit_form$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); $async$goto = 7; return A._asyncAwait($async$self._course_content_edit_form$_controller.getText$0(), $async$_editCourseContent$0); case 7: // returning from await. _contentDescription = $async$result; if (J.get$length$asx(_contentDescription) === 0) { A.showToaster("Content should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = type$.ResourceProvider; t2 = $.$get$locator().call$1$0(t1); t3 = $.$get$locator().call$1$0(t1)._isChecked ? 1 : 0; t4 = $async$self.courseContentProvider; t5 = t4._courseContentDetail.id; t6 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; t6.toString; t7 = $async$self.lessonTitle; t8 = t4._courseContentDetail; t9 = t8.sequence; t7 = t2.updateResourceLesson$6$id$isPublished$resourceId$resourceSubjectId$sequence$title(t5, t3, t8.resourceId, t6, t9, t7); t9 = $.$get$locator().call$1$0(t1); t6 = t4._courseContentDetail.id; t6.toString; t8 = t4._resourceLessonMaterialId; t8.toString; t4 = t4._materialId; t4.toString; t1 = $.$get$locator().call$1$0(t1)._isChecked; t3 = $async$self.contentTitle; t3.toString; t5 = type$.dynamic; $async$goto = 8; return A._asyncAwait(A.Future_wait(A._setArrayType([t7, t9.updateMaterial$11$caption$content$contentUrl$id$isPublished$materialId$materialTitle$materialType$resourceLessonId$sourceLink$sourceTxt("", _contentDescription, "", t8, t1, t4, t3, "rich_text", t6, "", "")], type$.JSArray_Future_dynamic), false, t5), $async$_editCourseContent$0); case 8: // returning from await. response = $async$result; if (J.$index$asx(response, 1)) { A.showToaster("Content has been updated", B.MaterialColor_Map_JNEaM_4283215696); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.EditCourseContentTextForm__editCourseContent_closure(), false, null, t5)); } else A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster("Something went wrong", B.MaterialColor_Map_JNc9P_4294198070); // 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$_editCourseContent$0, $async$completer); }, build$1(_, context) { var _this = this, _null = null, t1 = A.AppBar$(_null, false, B.Color_4294967295, 0, _null, _null, A.Text$("Edit Course and Course Content", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), t2 = _this.courseContentProvider, t3 = t2._courseContentDetail.title, t4 = A.BorderRadius$circular(4), t5 = $.$get$DraclmsTheme_textFormFieldFillColor(); t3 = A.CustomTextField$(_null, new A.OutlineInputBorder(4, t4, new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), t5, t3, false, false, _null, B.TextInputType_0_null_null, "Lesson Title", 1, _null, new A.EditCourseContentTextForm_build_closure(_this), _null, new A.EditCourseContentTextForm_build_closure0()); t4 = t2._materialTitle; return A.SafeArea$(true, A.Scaffold$(t1, B.Color_4294967295, A.Container$(_null, A.Form$(_null, A.ListView$(true, true, A._setArrayType([new A.SizedBox(_null, 16, _null, _null), t3, new A.SizedBox(_null, 16, _null, _null), A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), t5, t4, false, false, _null, B.TextInputType_0_null_null, "Content Title", 1, _null, new A.EditCourseContentTextForm_build_closure1(_this), _null, new A.EditCourseContentTextForm_build_closure2()), new A.SizedBox(_null, 10, _null, _null), A.Text$("Content", _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.MultilineEditableTextField(_this._course_content_edit_form$_controller, J.toString$0$(t2._displayedContent), "Description", 400, _null), A.Consumer$(new A.EditCourseContentTextForm_build_closure3(_this), type$.ResourceProvider)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, false), _this._course_content_edit_form$_formKey), B.Clip_0, _null, _null, _null, _null, 17976931348623157e292, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, _null), _null, true, _null, _null), B.EdgeInsets_0_0_0_0, true); } }; A.EditCourseContentTextForm__editCourseContent_closure.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A.EditCourseContentTextForm_build_closure0.prototype = { call$1(value) { return A.Validator_validator(value); }, $signature: 45 }; A.EditCourseContentTextForm_build_closure.prototype = { call$1(value) { return this.$this.lessonTitle = value; }, $signature: 9 }; A.EditCourseContentTextForm_build_closure2.prototype = { call$1(value) { return A.Validator_validator(value); }, $signature: 45 }; A.EditCourseContentTextForm_build_closure1.prototype = { call$1(value) { return this.$this.contentTitle = value; }, $signature: 9 }; A.EditCourseContentTextForm_build_closure3.prototype = { call$3(context, provider, child) { var _null = null, t1 = provider._isChecked, t2 = type$.JSArray_Widget, t3 = A._setArrayType([A.roundButton(_null, _null, _null, provider._resource_provider$_isLoading, this.$this.get$_editCourseContent(), _null, "Save", _null)], t2); if (!provider._resource_provider$_isLoading) B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(20, _null, _null, _null), new A.CancelButton(_null)], t2)); return A.Column$(A._setArrayType([new A.CheckBox(t1, string$.Publis, new A.EditCourseContentTextForm_build__closure(provider), B.Color_4278190080, _null), new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, "call*": "call$3", $requiredArgCount: 3, $signature: 370 }; A.EditCourseContentTextForm_build__closure.prototype = { call$1(value) { var t1 = this.provider; t1._isChecked = value; t1.notifyListeners$0(); return null; }, $signature: 6 }; A.SubjectGridViewScreen.prototype = { _navigateToPage$1(subjectId) { var t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t1._subjectId = subjectId; t1.notifyListeners$0(); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_pushAndRemoveUntil(t1, A.MaterialPageRoute$(new A.SubjectGridViewScreen__navigateToPage_closure(new A.HomeScreen(0, null)), false, null, type$.dynamic), new A.SubjectGridViewScreen__navigateToPage_closure0()); }, build$1(_, context) { var t2, _null = null, t1 = A.Text$("Subject List", _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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); t1 = A.AppBar$(A._setArrayType([new A.Padding(B.EdgeInsets_15_0_15_0, this._profile$2($.$get$locator().call$1$0(type$.AuthProvider).getUserFullName$0(), context), _null)], type$.JSArray_Widget), true, B.Color_4294967295, _null, new A.IconThemeData(B.Color_4278190080, _null, _null), _null, t1); t2 = A.ResponsiveValue$(context, 2, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 5, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.int).value; t2.toString; return A.Scaffold$(t1, B.Color_4294967295, A.Container$(_null, A.GridView$count(1, this._buildSubjectList$0(), _null, t2, 20, 20, new A.EdgeInsets(0, 0, 0, 10), _null, false), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(15, 15, 15, 15), _null, _null, 1 / 0), _null, true, _null, _null); }, _buildSubjectList$0() { var _subjectList, _length, _list, index, t2, _null = null, t1 = type$.AuthProvider; if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher") _subjectList = $.$get$locator().call$1$0(type$.SubjectProvider)._teacherSubjects; else _subjectList = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "student" ? $.$get$locator().call$1$0(type$.SubjectProvider)._studentSubjectList : []; _length = _subjectList.length; _list = J.JSArray_JSArray$allocateGrowable(_length, type$.Widget); for (index = 0; index < _length; ++index) { if ($.$get$locator().$get$1$3$instanceName$param1$param2(0, _null, _null, _null, t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher") t2 = this._buildTeacherSubjectListItem$1(_subjectList[index]); else t2 = $.$get$locator().$get$1$3$instanceName$param1$param2(0, _null, _null, _null, t1)._currentUserAccountDetail.userType.toLowerCase() === "student" ? this._buildStudentSubjectListItem$1(_subjectList[index]) : A.Container$(_null, new A.Center(B.Alignment_0_0, _null, _null, new A.Text("No Subject Found", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); _list[index] = t2; } return _list; }, _buildTeacherSubjectListItem$1(teacherSubject) { var _null = null, t1 = teacherSubject.resourceCategory; return A.GestureDetector$(_null, this._buildSubjectCard$4$className$image$sectionName$title(t1.className, teacherSubject.coverImage, t1.sectionName, teacherSubject.name), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.SubjectGridViewScreen__buildTeacherSubjectListItem_closure(this, teacherSubject), _null, _null, _null, _null, _null, _null, _null); }, _buildStudentSubjectListItem$1(studentSubject) { var _null = null, t1 = studentSubject.subject, t2 = t1.name; t2.toString; return A.GestureDetector$(_null, this._buildSubjectCard$2$image$title(t1.coverImage, t2), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.SubjectGridViewScreen__buildStudentSubjectListItem_closure(this, studentSubject), _null, _null, _null, _null, _null, _null, _null); }, _buildSubjectCard$4$className$image$sectionName$title(className, image, sectionName, title) { var _null = null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 = 17976931348623157e292, t1 = A.BorderRadius$circular(8), t2 = image == null ? A.Image$asset("assets/images/playstore.png", B.BoxFit_1, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368) : A.Image$network(image, new A.SubjectGridViewScreen__buildSubjectCard_closure(), B.BoxFit_1, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368), t3 = type$.JSArray_Widget; t2 = A._setArrayType([A.Expanded$(A.ClipRRect$(new A.BorderRadius(new A.Radius(8, 8), new A.Radius(8, 8), B.Radius_0_0, B.Radius_0_0), t2), 1), new A.Padding(B.EdgeInsets_8_0_8_0, A.Text$(title, _null, _null, _null, _null, A.DraclmsTheme_title1Style().copyWith$1$fontSize(13), _null, _null, _null), _null)], t3); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") B.JSArray_methods.addAll$1(t2, A._setArrayType([A.Text$(A.S(className) + " - " + A.S(sectionName), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$1$fontSize(10), _null, _null, _null)], t3)); return A.Card$(A.Column$(t2, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Color_4294967295, 4, _null, B.EdgeInsets_0_0_0_0, _null, new A.RoundedRectangleBorder(t1, B.BorderSide_0CF)); }, _buildSubjectCard$2$image$title(image, title) { return this._buildSubjectCard$4$className$image$sectionName$title(null, image, null, title); }, _profile$2($name, context) { var _null = null; return A.Row$(A._setArrayType([new A.Builder(new A.SubjectGridViewScreen__profile_closure(), _null), new A.SizedBox(10, _null, _null, _null), A.Text$($name, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_4278190080, _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)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); } }; A.SubjectGridViewScreen__navigateToPage_closure.prototype = { call$1(context) { return this.homeScreen; }, $signature: 13 }; A.SubjectGridViewScreen__navigateToPage_closure0.prototype = { call$1(route) { return true; }, $signature: 52 }; A.SubjectGridViewScreen__buildTeacherSubjectListItem_closure.prototype = { call$0() { return this.$this._navigateToPage$1(this.teacherSubject.id); }, $signature: 0 }; A.SubjectGridViewScreen__buildStudentSubjectListItem_closure.prototype = { call$0() { var t1 = this.studentSubject.id; t1.toString; return this.$this._navigateToPage$1(t1); }, $signature: 0 }; A.SubjectGridViewScreen__buildSubjectCard_closure.prototype = { call$3(context, error, stackTrace) { return A.Image$asset("assets/images/playstore.png", B.BoxFit_1, null, null, 17976931348623157e292); }, $signature: 372 }; A.SubjectGridViewScreen__profile_closure.prototype = { call$1(context) { return A.ClipOval$(A.PopupMenuButton$(null, A.Icon$(B.IconData_57411_MaterialIcons_null_false, $.$get$DraclmsTheme_selectedColor(), 30), null, new A.SubjectGridViewScreen__profile__closure(), new A.SubjectGridViewScreen__profile__closure0(context), B.EdgeInsets_8_8_8_8, type$.String)); }, $signature: 173 }; A.SubjectGridViewScreen__profile__closure.prototype = { call$1(context) { var _null = null, t1 = type$.String; return A._setArrayType([A.PopupMenuItem$(A.Text$("Privacy Policy", _null, _null, _null, _null, _null, _null, _null, _null), 48, "policy", t1), A.PopupMenuItem$(A.Text$("Log Out", _null, _null, _null, _null, _null, _null, _null, _null), 48, "logout", t1)], type$.JSArray_PopupMenuEntry_String); }, $signature: 137 }; A.SubjectGridViewScreen__profile__closure0.prototype = { call$1(value) { return this.$call$body$SubjectGridViewScreen__profile__closure(value); }, $call$body$SubjectGridViewScreen__profile__closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; 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 = value === "policy" ? 2 : 4; break; case 2: // then $async$goto = 8; return A._asyncAwait(A.canLaunch(string$.https_), $async$call$1); case 8: // returning from await. $async$goto = $async$result ? 5 : 7; break; case 5: // then $async$goto = 9; return A._asyncAwait(A.launch(string$.https_), $async$call$1); case 9: // returning from await. // goto join $async$goto = 6; break; case 7: // else A.throwExpression(string$.Could_); case 6: // join // goto join $async$goto = 3; break; case 4: // else $async$goto = value === "logout" ? 10 : 11; break; case 10: // then $async$goto = 12; return A._asyncAwait($.$get$locator().call$1$0(type$.AuthProvider).logout$0(), $async$call$1); case 12: // returning from await. A.Navigator_pushAndRemoveUntil($async$self.context, A.MaterialPageRoute$(new A.SubjectGridViewScreen__profile___closure(new A.LoginScreen(null)), false, null, type$.dynamic), new A.SubjectGridViewScreen__profile___closure0()); case 11: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 91 }; A.SubjectGridViewScreen__profile___closure.prototype = { call$1(_) { return this.loginPage; }, $signature: 139 }; A.SubjectGridViewScreen__profile___closure0.prototype = { call$1(route) { return false; }, $signature: 52 }; A.CourseContentView.prototype = { build$1(_, context) { return A.Consumer$(new A.CourseContentView_build_closure(this, context), type$.CourseContentProvider); }, _buildContents$0() { var _null = null, t1 = $.$get$locator().call$1$0(type$.CourseContentProvider)._courseContentDetail.title; t1.toString; t1 = A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.Text$(t1, _null, _null, _null, _null, A.DraclmsTheme_heading3Style(), _null, _null, _null)], type$.JSArray_Widget); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") t1.push(new A.Align(B.Alignment_1_m1, _null, _null, A.CustomPopMenu$(A._setArrayType(["Edit", "Delete"], type$.JSArray_String), new A.CourseContentView__buildContents_closure()), _null)); t1.push(new A.ContentBody(_null)); return A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A.CourseContentView_build_closure.prototype = { call$3(ctx, courseContentProvider, _) { var t1, t2, t3, t4, t5, _null = null; if (courseContentProvider._course_content_provider$_isLoading) t1 = courseContentProvider._materialId === 0 && courseContentProvider._displayedContent === "" && courseContentProvider._contentUrl === "" ? A.Text$("No Contents", _null, _null, _null, _null, _null, _null, _null, _null) : A.Container$(_null, A.Column$(A._setArrayType([A.Lottie_asset("assets/lottie_animations/editing.json", _null, _null), new A.SizedBox(_null, 16, _null, _null), A.Text$("Loading Selected Chapter", _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_2, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 17976931348623157e292); else if (courseContentProvider._courseContentDetail != null) { t1 = this.$this; t2 = this.context; t3 = A.ScrollController$(_null, 0, true); t4 = type$.MediaQuery; t5 = t2.dependOnInheritedWidgetOfExactType$1$0(t4).data.size._dx < 650 ? 14 : 30; if (!t1._jitsiMeetProvider._isFullScreenContent) t2 = 10; else t2 = t2.dependOnInheritedWidgetOfExactType$1$0(t4).data.size._dx < 650 ? 14 : 30; t2 = A.ListView$(false, false, A._setArrayType([t1._buildContents$0(), new A.SizedBox(_null, 20, _null, _null), new A.ContentTabView(_null)], type$.JSArray_Widget), t3, new A.UniqueKey(), new A.EdgeInsets(t5, 0, t2, 0), _null, B.Axis_1, true); t1 = t2; } else t1 = A.Center$(A.Text$("No content available", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 244 }; A.CourseContentView__buildContents_closure.prototype = { call$1(value) { var t1, t2, t3, t4, _null = null; if (value === "Edit") { t1 = type$.CourseContentProvider; t2 = $.$get$locator().call$1$0(t1)._materialType === "video" || $.$get$locator().call$1$0(t1)._materialType === "audio" || $.$get$locator().call$1$0(t1)._materialType === "pdf"; t3 = type$.NavigationService; t4 = type$.dynamic; if (t2) { $.$get$locator().call$1$0(t3); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_pushReplacement(t1, A.MaterialPageRoute$(new A.CourseContentView__buildContents__closure(new A.CourseContentEditForm(_null)), false, _null, t4)); } else { t2 = A.HtmlEditorController$(); t1 = $.$get$locator().call$1$0(t1); $.$get$locator().call$1$0(t3); t3 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t3.toString; A.Navigator_pushReplacement(t3, A.MaterialPageRoute$(new A.CourseContentView__buildContents__closure0(new A.EditCourseContentTextForm(new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), t2, t1, _null)), false, _null, t4)); } } else if (value === "Delete") A.deleteAlert(new A.CourseContentView__buildContents__closure1(), "Resource"); }, $signature: 11 }; A.CourseContentView__buildContents__closure.prototype = { call$1(context) { return this.courseContentEditForm; }, $signature: 377 }; A.CourseContentView__buildContents__closure0.prototype = { call$1(context) { return this.courseContentEditForm; }, $signature: 378 }; A.CourseContentView__buildContents__closure1.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.ResourceProvider), t2 = type$.CourseContentProvider, t3 = $.$get$locator().call$1$0(t2)._courseContentDetail.id; t2 = $.$get$locator().call$1$0(t2)._courseContentDetail.resourceId; t2.toString; t1.deleteResourceLesson$2$id$resourceId(t3, t2); $.$get$locator().call$1$0(type$.NavigationService); t2 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$0(0); }, $signature: 3 }; A.CourseDetailBody.prototype = { build$1(_, context) { return A.Consumer$(new A.CourseDetailBody_build_closure(this), type$.TempJitsiProvider); } }; A.CourseDetailBody_build_closure.prototype = { call$3(context, value, child) { var _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t2 = $.$get$DraclmsTheme_primaryColor(), t3 = value._isFullScreenJisti ? A.SizedBox$shrink() : new A.Flexible(18, B.FlexFit_1, A.Column$(A._setArrayType([new A.AppHeader(_null), new A.Flexible(1, B.FlexFit_1, new A.CourseContentView($.$get$locator().call$1$0(type$.JitsiMeetingProvider), _null), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null); return A.Container$(_null, A.Row$(A._setArrayType([t3, A.Consumer$(new A.CourseDetailBody_build__closure(value), type$.JitsiMeetingProvider)], type$.JSArray_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, t2, _null, _null, _null, t1.size._dy, _null, _null, B.EdgeInsets_0_0_0_0, _null, _null, 1 / 0); }, "call*": "call$3", $requiredArgCount: 3, $signature: 248 }; A.CourseDetailBody_build__closure.prototype = { call$3(context, jitsiMeetingProv, child) { var t1; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx >= 1100 && !jitsiMeetingProv._isFullScreenContent) { t1 = this.value._isFullScreenJisti ? 1 : 5; t1 = A.Expanded$(new A.SideDrawer(null), t1); } else t1 = A.SizedBox$shrink(); return t1; }, "call*": "call$3", $requiredArgCount: 3, $signature: 380 }; A.HomeScreen.prototype = { createState$0() { return new A._HomeScreenState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_ScaffoldState), B._StateLifecycle_0); } }; A._HomeScreenState.prototype = { didChangeDependencies$0() { var _this = this; _this.super$State$didChangeDependencies(); if (_this._home_screen$_isInit) { _this._home_screen$_future = _this._loadData$0(); $.$get$locator().call$1$0(type$.GlobalIdsProvider)._scaffoldKey = _this._home_screen$_scaffoldKey; } _this._home_screen$_isInit = false; }, _loadData$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1, t2; var $async$_loadData$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 = $.$get$locator().call$1$0(type$.CourseContentProvider); t2 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; $async$goto = 2; return A._asyncAwait(A.Future_wait(A._setArrayType([t1.loadCourseContent$2$resourceLessonId$subjectId($async$self._widget.resourceLessonId, t2)], type$.JSArray_Future_void), false, type$.void), $async$_loadData$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_loadData$0, $async$completer); }, dispose$0(_) { this.super$State$dispose(0); }, build$1(_, context) { var t2, _null = null, t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._scaffoldKey; t1.toString; t2 = type$.MediaQuery; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx >= 1100 ? _null : A.Container$(_null, new A.SideDrawer(_null), B.Clip_0, _null, new A.BoxConstraints(0, 280, context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dy, 1 / 0), _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.SafeArea$(true, A.Scaffold$(_null, _null, A.FutureBuilder$(new A._HomeScreenState_build_closure(), this._home_screen$_future, type$.dynamic), t2, false, t1, false), B.EdgeInsets_0_0_0_0, true); } }; A._HomeScreenState_build_closure.prototype = { call$2(context, snapshot) { var t1, t2, _null = null; if (snapshot.connectionState === B.ConnectionState_1) { t1 = A.Container$(_null, A.Image$asset("assets/images/teaching.png", B.BoxFit_2, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, 400, _null, _null, _null, _null, _null, 400); $.$get$locator().call$1$0(type$.NavigationService); t2 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2.toString; t2 = A.ResponsiveValue$(t2, 20, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 14, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t2.toString; t2 = A.TextStyle$(_null, _null, $.$get$DraclmsTheme_mainColor(), _null, B.TextDecoration_0, _null, _null, _null, "Poppins", _null, _null, t2, _null, B.FontWeight_4, _null, _null, true, _null, 1, _null, _null, _null, _null, _null, _null); t2 = A.Column$(A._setArrayType([new A.SizedBox(_null, 10, _null, _null), t1, new A.Padding(B.EdgeInsets_14_0_14_80, A.Center$(A.AnimatedTextKit$(A._setArrayType([A.TypewriterAnimatedText$("Loading Course Content......", A.Duration$(0, 0, 0, 38, 0), t2)], type$.JSArray_AnimatedText), true), _null, _null), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_3, B.MainAxisSize_1, B.VerticalDirection_1); t1 = t2; } else t1 = new A.CourseDetailBody(_null); return t1; }, $signature: 249 }; A.LoginScreen.prototype = { createState$0() { return new A._LoginScreenState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); } }; A._LoginScreenState.prototype = { _login$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, user, _resourceCategoryId, subjectId, t1, t2, t3, t4, t5, exception, $async$exception; var $async$_login$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 = 3; t1 = $async$self._formKey; $async$goto = t1.get$currentState().validate$0() ? 6 : 7; break; case 6: // then t1.get$currentState().save$0(0); $async$self.setState$1(new A._LoginScreenState__login_closure($async$self)); t1 = type$.AuthProvider; t2 = $.$get$locator().call$1$0(t1); t3 = $async$self._userName; t3.toString; t4 = $async$self._password; t4.toString; $async$goto = 8; return A._asyncAwait(t2.login$2$password$userName(t4, t3), $async$_login$0); case 8: // returning from await. t3 = $.$get$locator().call$1$0(type$.TextFieldProvider); t3._isPassword = true; t3.notifyListeners$0(); $async$goto = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "admin" ? 9 : 11; break; case 9: // then t1 = $async$self._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._LoginScreenState__login_closure0(), false, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); // goto join $async$goto = 10; break; case 11: // else t2 = $.$get$locator().call$1$0(t1)._currentUserAccountDetail; t2.toString; user = t2; t2 = type$.SubjectProvider; t3 = type$.RoutineProvider; t4 = type$.JSArray_Future_void; t5 = type$.void; $async$goto = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "student" ? 12 : 14; break; case 12: // then t1 = user.accountUser.resourceStudent.resourceCategoryId; t1.toString; _resourceCategoryId = t1; $async$goto = 15; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(t2).getStudentSubject$1(_resourceCategoryId), $.$get$locator().call$1$0(t3).getStudentRoutine$0()], t4), false, t5), $async$_login$0); case 15: // returning from await. // goto join $async$goto = 13; break; case 14: // else $async$goto = 16; return A._asyncAwait(A.Future_wait(A._setArrayType([$.$get$locator().call$1$0(t2).getTeacherSubjects$1(user.id), $.$get$locator().call$1$0(t3).getTeacherRoutine$0()], t4), false, t5), $async$_login$0); case 16: // returning from await. case 13: // join subjectId = $.$get$locator().call$1$0(t3).getSubjectId$0(); t1 = type$.dynamic; if (!J.$eq$(subjectId, 0)) { t2 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t2._subjectId = subjectId; t2.notifyListeners$0(); t2 = $async$self._framework$_element; t2.toString; A.Navigator_pushAndRemoveUntil(t2, A.MaterialPageRoute$(new A._LoginScreenState__login_closure1(), false, null, t1), new A._LoginScreenState__login_closure2()); } else { t2 = $async$self._framework$_element; t2.toString; A.Navigator_pushAndRemoveUntil(t2, A.MaterialPageRoute$(new A._LoginScreenState__login_closure3(), false, null, t1), new A._LoginScreenState__login_closure4()); } case 10: // join case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception = $async$currentError; A.showToaster("Provided Login Credentials are not valid.", B.MaterialColor_Map_JNc9P_4294198070); $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; $async$self.setState$1(new A._LoginScreenState__login_closure5($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_login$0, $async$completer); }, build$1(_, context) { var _null = null, t1 = $.$get$DraclmsTheme_backgorund(), t2 = type$.Condition_dynamic, t3 = type$.JSArray_Condition_dynamic, t4 = A._setArrayType([new A.Condition(800, _null, B.Conditional_2, new A.BoxConstraints(0, 800, 0, 1 / 0), _null, t2)], t3); t3 = A._setArrayType([new A.Condition(_null, "TABLET", B.Conditional_0, new A.BoxConstraints(0, 900, 0, 1 / 0), _null, t2)], t3); return A.SafeArea$(true, A.Scaffold$(_null, t1, A.Row$(A._setArrayType([A.ResponsiveVisibility$(A.Expanded$(new A.SplashContainer(_null), 1), t4, t3), A.Expanded$(A.Center$(this._buildLoginForm$0(), _null, _null), 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null, true, _null, _null), B.EdgeInsets_0_0_0_0, true); }, _buildLoginForm$0() { var t8, _this = this, _null = null, t1 = type$.Condition_dynamic, t2 = type$.JSArray_Condition_dynamic, t3 = A._setArrayType([new A.Condition(_null, "MOBILE", B.Conditional_1, new A.BoxConstraints(0, 600, 0, 1 / 0), _null, t1), new A.Condition(_null, "TABLET", B.Conditional_0, new A.BoxConstraints(0, 900, 0, 1 / 0), _null, t1)], t2), t4 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t5 = A.BorderRadius$circular(5), t6 = A.DecorationImage$(B.BoxFit_0, new A.AssetImage("assets/images/login_web.png", _null, _null), _null), t7 = _this._framework$_element; t7.toString; t7 = A.ResponsiveValue$(t7, new A.EdgeInsets(41, 167, 41, 167), A._setArrayType([new A.Condition(900, _null, B.Conditional_0, new A.EdgeInsets(132, 119, 132, 119), _null, t1)], t2), type$.EdgeInsets).value; t7.toString; $.$get$locator().call$1$0(type$.NavigationService); t8 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t8.toString; t2 = A.ResponsiveValue$(t8, 20, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 20, _null, t1)], t2), type$.double).value; t2.toString; return new A.ResponsiveConstraints(A.Container$(B.Alignment_0_0, new A.Padding(t7, A.Form$(_null, A.ListView$(true, true, A._setArrayType([A.Text$("Welcome", _null, _null, _null, _null, A.TextStyle$(_null, _null, $.$get$DraclmsTheme_titleColor(), _null, _null, _null, _null, _null, "Poppins", _null, _null, t2, _null, B.FontWeight_5, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 30, _null, _null), _this._buildUsernameTextField$0(), new A.SizedBox(_null, 10, _null, _null), _this._buildPasswordTextField$0(), new A.SizedBox(_null, 20, _null, _null), A.roundButton(_null, _null, 40, _this._isLoading, _this.get$_login(), _null, "Login", 456), new A.SizedBox(_null, 20, _null, _null), A.Center$(A.GestureDetector$(_null, A.Text$("Privacy Policy", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4279519681), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.FontWeight_6, _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, new A._LoginScreenState__buildLoginForm_closure(_this), _null, _null, _null, _null, _null, _null, _null), _null, _null)], type$.JSArray_Widget), _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true), _this._formKey), _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, t6, _null, t5, _null, _null, B.BoxShape_0), _null, t4.size._dy, _null, _null, _null, _null, _null, _null), t3, _null); }, _buildUsernameTextField$0() { var _null = null; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_5_null_null, "Username", 1, _null, new A._LoginScreenState__buildUsernameTextField_closure(this), A.Icon$(B.IconData_58519_MaterialIcons_null_false, _null, _null), A.validator_Validator_validator$closure()); }, _buildPasswordTextField$0() { return A.Consumer$(new A._LoginScreenState__buildPasswordTextField_closure(this), type$.TextFieldProvider); } }; A._LoginScreenState__login_closure.prototype = { call$0() { return this.$this._isLoading = true; }, $signature: 0 }; A._LoginScreenState__login_closure0.prototype = { call$1(context) { return new A.AdminPanelScreen(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_ScaffoldState), null); }, $signature: 250 }; A._LoginScreenState__login_closure1.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._LoginScreenState__login_closure2.prototype = { call$1(route) { return false; }, $signature: 52 }; A._LoginScreenState__login_closure3.prototype = { call$1(context) { return new A.SubjectGridViewScreen(null); }, $signature: 171 }; A._LoginScreenState__login_closure4.prototype = { call$1(route) { return false; }, $signature: 52 }; A._LoginScreenState__login_closure5.prototype = { call$0() { this.$this._isLoading = false; }, $signature: 0 }; A._LoginScreenState__buildLoginForm_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); 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 = 5; return A._asyncAwait(A.canLaunch(string$.https_), $async$call$0); case 5: // returning from await. $async$goto = $async$result ? 2 : 4; break; case 2: // then $async$goto = 6; return A._asyncAwait(A.launch(string$.https_), $async$call$0); case 6: // returning from await. // goto join $async$goto = 3; break; case 4: // else A.throwExpression(string$.Could_); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A._LoginScreenState__buildUsernameTextField_closure.prototype = { call$1(value) { return this.$this._userName = value; }, $signature: 9 }; A._LoginScreenState__buildPasswordTextField_closure.prototype = { call$3(context, textFieldProvider, child) { var _null = null, t1 = this.$this; return A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", true, textFieldProvider._isPassword, _null, B.TextInputType_0_null_null, "Password", 1, new A._LoginScreenState__buildPasswordTextField__closure(t1), new A._LoginScreenState__buildPasswordTextField__closure0(t1), A.Icon$(B.IconData_61847_MaterialIcons_null_false, _null, _null), new A._LoginScreenState__buildPasswordTextField__closure1()); }, "call*": "call$3", $requiredArgCount: 3, $signature: 234 }; A._LoginScreenState__buildPasswordTextField__closure0.prototype = { call$1(value) { return this.$this._password = value; }, $signature: 9 }; A._LoginScreenState__buildPasswordTextField__closure1.prototype = { call$1(value) { var len = value.length; if (len === 0 || len < 6) return "Password must be at least 6 character"; }, $signature: 45 }; A._LoginScreenState__buildPasswordTextField__closure.prototype = { call$1(value) { return this.$this._login$0(); }, $signature: 26 }; A.SideDrawer.prototype = { createState$0() { return new A._SideDrawerState(B._StateLifecycle_0); } }; A._SideDrawerState.prototype = { build$1(_, context) { return A.Consumer$(new A._SideDrawerState_build_closure(this), type$.TempJitsiProvider); }, _buildTimeTableButton$0() { return this._buttonComponent$2("Time Table", new A._SideDrawerState__buildTimeTableButton_closure(this)); }, _buildSubjectButton$0() { return this._buttonComponent$2("Subject", new A._SideDrawerState__buildSubjectButton_closure(this)); }, _buttonComponent$2(title, show) { var _null = null, t1 = A.Text$(title, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_titleColor()), _null, _null, _null), t2 = A.BorderRadius$circular(5), t3 = $.$get$DraclmsTheme_backgroundColor(), side = new A.BorderSide(t3, 1, B.BorderStyle_1); return A.InkWell$(false, _null, true, A.Container$(_null, t1, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), t2, _null, _null, B.BoxShape_0), _null, 50, _null, new A.EdgeInsets(5, 5, 5, 5), new A.EdgeInsets(20, 15, 20, 10), _null, _null, 1 / 0), _null, true, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null, new A._SideDrawerState__buttonComponent_closure(show), _null, _null, _null, _null, _null, _null); } }; A._SideDrawerState_build_closure.prototype = { call$3(context, value, child) { var t3, t4, t5, t6, _null = null, t1 = $.$get$DraclmsTheme_primaryColor(), t2 = $.$get$DraclmsTheme_borderColor(); if (value._isFullScreenJisti) t3 = B.EdgeInsets_0_0_0_0; else t3 = new A.EdgeInsets(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx >= 1100 ? 10 : 8, 20, 8, 20); t4 = value._isFullScreenJisti ? A.SizedBox$shrink() : A.Column$(A._setArrayType([new A.StudentCountCard(_null), new A.SizedBox(_null, 5, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t5 = type$.JSArray_Widget; t4 = A._setArrayType([t4], t5); t4.push(A.ResponsiveVisibility$(new A.MeetingSection(_null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9)); if (value._isFullScreenJisti) t5 = A.SizedBox$shrink(); else { t6 = this.$this; t5 = A.Column$(A._setArrayType([new A.SizedBox(_null, 10, _null, _null), new A.DictionaryTile(_null), t6._buildTimeTableButton$0(), t6._buildSubjectButton$0(), new A.CourseContentList(_null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); } t4.push(t5); return A.Container$(_null, A.ListView$(true, true, t4, _null, _null, B.EdgeInsets_0_0_0_0, _null, B.Axis_1, true), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, new A.Border(new A.BorderSide(t2, 0.1, B.BorderStyle_1), B.BorderSide_0CF, B.BorderSide_0CF, new A.BorderSide(t2, 0.1, B.BorderStyle_1)), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, t3, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 248 }; A._SideDrawerState__buildTimeTableButton_closure.prototype = { call$0() { var t1 = this.$this._framework$_element; t1.toString; A.showDialog(new A._SideDrawerState__buildTimeTableButton__closure(), t1, null, true, type$.dynamic); }, $signature: 3 }; A._SideDrawerState__buildTimeTableButton__closure.prototype = { call$1(context) { return new A.TimeTableListDialog($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher", new A.UnmodifiableListView($.$get$locator().call$1$0(type$.RoutineProvider)._routines, type$.UnmodifiableListView_RoutineModel), null); }, $signature: 384 }; A._SideDrawerState__buildSubjectButton_closure.prototype = { call$0() { var t2, t1 = this.$this._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._SideDrawerState__buildSubjectButton__closure(), false, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); }, $signature: 3 }; A._SideDrawerState__buildSubjectButton__closure.prototype = { call$1(context) { return new A.SubjectGridViewScreen(null); }, $signature: 171 }; A._SideDrawerState__buttonComponent_closure.prototype = { call$0() { return this.show.call$0(); }, $signature: 0 }; A.ChapterList.prototype = { build$1(_, context) { var _courseContent, t3, t4, _null = null, t1 = $.$get$locator().call$1$0(type$.CourseContentProvider), t2 = this.courseId; t2.toString; _courseContent = t1.getCourseContentById$1(t2); t1 = $.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher" ? A.CustomPopMenu$(A._setArrayType(["Edit", "Delete", "Add"], type$.JSArray_String), new A.ChapterList_build_closure(context, _courseContent)) : _null; t2 = _courseContent.title; t2.toString; t2 = A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_title3Style().copyWith$1$fontSize(14), _null, _null, _null); t3 = _courseContent.resourceLesson; t4 = A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,GestureDetector>"); return A.ExpansionTile$(A.List_List$of(A.List_List$of(new A.MappedListIterable(t3, new A.ChapterList_build_closure0(this, context), t4), true, t4._eval$1("ListIterable.E")), true, type$.Widget), _null, _null, _null, _null, new A.UniqueKey(), _null, _null, _null, t2, t1); }, _onPress$1(resLesId) { return this._onPress$body$ChapterList(resLesId); }, _onPress$body$ChapterList(resLesId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), t2, t3, t1; var $async$_onPress$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 = type$.GlobalIdsProvider; if ($.$get$locator().call$1$0(t1)._scaffoldKey.get$currentState() != null) { t2 = $.$get$locator().call$1$0(t1)._scaffoldKey.get$currentState()._endDrawerOpened; t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); } else t2 = false; if (t2) { $.$get$locator().call$1$0(type$.NavigationService); t2 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, null); } t2 = type$.CourseContentProvider; t3 = $.$get$locator().call$1$0(t2); t3._course_content_provider$_isLoading = !t3._course_content_provider$_isLoading; t3.notifyListeners$0(); $async$goto = 2; return A._asyncAwait($.$get$locator().call$1$0(t2).getContentDetailOfCourse$2$chapterList(resLesId, true), $async$_onPress$1); case 2: // returning from await. $async$goto = 3; return A._asyncAwait($.$get$locator().call$1$0(t2).loadResourceMaterial$0(), $async$_onPress$1); case 3: // returning from await. t2 = $.$get$locator().call$1$0(t2); t2._course_content_provider$_isLoading = !t2._course_content_provider$_isLoading; t2.notifyListeners$0(); $.$get$locator().call$1$0(t1)._resourceLessonId = resLesId; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_onPress$1, $async$completer); } }; A.ChapterList_build_closure.prototype = { call$1(value) { var t1, t2, t3, t4, t5, _this = this, _null = null; if (value === "Edit") { t1 = _this.context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t2 = _this._courseContent; t3 = t2.parentId; t4 = t2.id; t5 = t2.resourceSubjectId; t2 = t2.title; if (t1.size._dx < 900) A.editLessonSheet(t4, t3, t5, t2); else A.editLessonDialog(t4, t3, t5, t2); } else { t1 = _this._courseContent; t2 = _this.context; if (value === "Delete") A.deleteAlert(new A.ChapterList_build__closure0(t1, t2), _null); else { t3 = t1.id; t3.toString; t1 = t1.resourceSubjectId; t1.toString; A.Navigator_pushReplacement(t2, A.MaterialPageRoute$(new A.ChapterList_build__closure1(new A.ResourceLessonTextForm(t1, t3, new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), A.HtmlEditorController$(), _null)), false, _null, type$.dynamic)); } } }, $signature: 11 }; A.ChapterList_build__closure0.prototype = { call$0() { $.$get$locator().call$1$0(type$.ResourceProvider).deleteResource$1$resourceId(this._courseContent.id); A.Navigator_of(this.context, false).pop$0(0); }, $signature: 3 }; A.ChapterList_build__closure1.prototype = { call$1(context) { return this.resourceLessonForm; }, $signature: 385 }; A.ChapterList_build_closure0.prototype = { call$1(resLesson) { var t2, t3, _null = null, t1 = resLesson.title; t1.toString; t2 = this.context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t3 = A.BorderRadius$circular(8); return A.GestureDetector$(_null, new A.Padding(B.EdgeInsets_5_5_5_8, A.Container$(_null, A.Text$(t1, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(B.Color_4294967295, _null, _null, t3, _null, _null, B.BoxShape_0), _null, _null, _null, _null, B.EdgeInsets_8_15_8_15, _null, _null, t2.size._dx * 0.91), _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ChapterList_build__closure(this.$this, resLesson), _null, _null, _null, _null, _null, _null, _null); }, $signature: 386 }; A.ChapterList_build__closure.prototype = { call$0() { var t1 = this.resLesson.id; t1.toString; return this.$this._onPress$1(t1); }, $signature: 0 }; A.CourseContentList.prototype = { _showDialog$1(context) { var t1 = type$.dynamic; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 900) A.showModalBottomSheet(new A.CourseContentList__showDialog_closure(), context, true, new A.RoundedRectangleBorder(new A.BorderRadius(new A.Radius(20, 20), new A.Radius(20, 20), B.Radius_0_0, B.Radius_0_0), B.BorderSide_0CF), false, t1); else A.showDialog(new A.CourseContentList__showDialog_closure0(), context, null, true, t1); }, build$1(_, context) { var t3, _null = null, t1 = type$.JSArray_Widget, t2 = A._setArrayType([], t1); if ($.$get$locator().call$1$0(type$.AuthProvider)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t3 = $.$get$DraclmsTheme_mainColor(); t2.push(A.GestureDetector$(_null, A.Container$(_null, new A.Padding(B.EdgeInsets_18_18_18_18, A.Row$(A._setArrayType([A.Text$("Add Lesson", _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize($.$get$DraclmsTheme_mainColor(), 14), _null, _null, _null), A.Icon$(B.IconData_57749_MaterialIcons_null_false, $.$get$DraclmsTheme_mainColor(), 24)], t1), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(new A.BorderSide(t3, 0.2, B.BorderStyle_1), B.BorderSide_0CF, new A.BorderSide(t3, 0.2, B.BorderStyle_1), B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), _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, new A.CourseContentList_build_closure(this, context), _null, _null, _null, _null, _null, _null, _null)); } t2.push(A.Consumer$(new A.CourseContentList_build_closure0(), type$.CourseContentProvider)); return new A.ExpandedCard("Course Content", A.ListView$(false, false, t2, _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true), _null); } }; A.CourseContentList__showDialog_closure.prototype = { call$1(context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; return A.SingleChildScrollView$(A.Container$(_null, A.Column$(A._setArrayType([new A.AlertTitleButton("Add Resource", _null, _null), new A.ResourceForm(_null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, t1.size._dy * 0.35, _null, _null, _null, _null, _null, _null), _null, B.DragStartBehavior_1, _null, new A.EdgeInsets(20, 0, 20, t2.viewInsets.bottom + 50), _null, _null, B.Axis_1); }, $signature: 251 }; A.CourseContentList__showDialog_closure0.prototype = { call$1(context) { var _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; return A.AlertDialog$(_null, _null, _null, A.Container$(_null, new A.ResourceForm(_null), B.Clip_0, _null, _null, _null, _null, t1 * 0.3, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t2 * 0.9), B.EdgeInsets_0_0_0_0, _null, B.EdgeInsets_0_0_0_0, false, _null, new A.AlertTitleButton("Add Resource", _null, _null), _null); }, $signature: 57 }; A.CourseContentList_build_closure.prototype = { call$0() { return this.$this._showDialog$1(this.context); }, $signature: 0 }; A.CourseContentList_build_closure0.prototype = { call$3(context, value, child) { var t1 = value._courseContentList, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ChapterList>"); return A.Column$(A.List_List$of(new A.MappedListIterable(t1, new A.CourseContentList_build__closure(), t2), true, t2._eval$1("ListIterable.E")), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, "call*": "call$3", $requiredArgCount: 3, $signature: 388 }; A.CourseContentList_build__closure.prototype = { call$1(e) { return new A.ChapterList(e.id, null); }, $signature: 389 }; A.DictionaryTile.prototype = { createState$0() { return new A._DictionaryTileState(B._StateLifecycle_0); } }; A._DictionaryTileState.prototype = { build$1(_, context) { var _null = null, termProvider = $.$get$locator().call$1$0(type$.DictionaryProvider); return new A.ExpandedCard("Dictionary", A.ListView$builder(_null, new A._DictionaryTileState_build_closure(this, termProvider), termProvider._languageTermList.length, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true), new A.UniqueKey()); } }; A._DictionaryTileState_build_closure.prototype = { call$2(context, index) { var t3, t4, t5, $document, _null = null, t1 = this.termProvider, t2 = t1._languageTermList, _desciptionProvider = t1.getDescriptionByQuery$1(t2[index].term); t2 = t2[index].term; t1 = _desciptionProvider.termsList; t3 = B.JSArray_methods.get$first(t1).entryDefinitionsList; t3.toString; t3 = J.toString$0$(B.JSArray_methods.get$first(t3).definition); t1 = B.JSArray_methods.get$first(t1).entryDefinitionsList; t1.toString; t1 = B.JSArray_methods.get$first(t1).entryClassification.classificationName; t4 = $.$get$DraclmsTheme_expnadedCard(); t2.toString; t5 = type$.JSArray_Widget; t1 = A.Row$(A._setArrayType([A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$1$color($.$get$DraclmsTheme_termsTitleColor()), _null, _null, _null), new A.SizedBox(5, _null, _null, _null), A.Text$("-" + A.S(t1), _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$fontStyle(B.FontStyle_1), _null, _null, _null)], t5), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); $document = A.parse(t3); t3 = $document.get$body($document); t3.toString; t3 = new A.SelectorEvaluator().querySelector$2(0, A.parse(A._getText(t3)), A._parseSelectorList("html")); t3.toString; return A.Container$(_null, A.Column$(A._setArrayType([t1, new A.SizedBox(_null, 10, _null, _null), A.Text$(A._getText(t3), _null, _null, _null, _null, A.DraclmsTheme_bodyStyle(), _null, _null, _null)], t5), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, t4, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(20, 10, 20, 10), _null, _null, _null); }, $signature: 92 }; A.MeetingSection.prototype = { createState$0() { return new A._MeetingSectionState(B._StateLifecycle_0); } }; A._MeetingSectionState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); $.$get$JitsiMeetPlatform__instance().addListener$1(0, new A.JitsiMeetingListener(_this.get$_onConferenceWillJoin(), _this.get$_onConferenceJoined(), _this.get$_onConferenceTerminated(), _this.get$_meeting_section$_onError(), null)); if (!$.JitsiMeet__hasInitialized) { $.$get$JitsiMeetPlatform__instance().initialize$0(0); $.JitsiMeet__hasInitialized = true; } }, dispose$0(_) { this.super$State$dispose(0); $.$get$JitsiMeetPlatform__instance().removeAllListeners$0(); }, _onConferenceWillJoin$1(message) { A.print__debugPrintThrottled$closure().call$1("_onConferenceWillJoin broadcasted with message: " + A.S(message)); }, _onConferenceJoined$1(message) { A.print__debugPrintThrottled$closure().call$1("_onConferenceJoined broadcasted with message: " + A.S(message)); }, _onConferenceTerminated$1(message) { A.print__debugPrintThrottled$closure().call$1("_onConferenceTerminated broadcasted with message: " + A.S(message)); }, _meeting_section$_onError$1(error) { A.print__debugPrintThrottled$closure().call$1("_onError broadcasted: " + A.S(error)); }, build$1(_, context) { return A.Consumer$(new A._MeetingSectionState_build_closure(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size), type$.TempJitsiProvider); } }; A._MeetingSectionState_build_closure.prototype = { call$3(context, jitsiMeetingProvider, child) { var _null = null, t1 = this.size; t1 = A._setArrayType([new A.SizedBox(_null, 10, _null, _null), jitsiMeetingProvider.jitsiMeetScreen$2(t1._dx, t1._dy)], type$.JSArray_Widget); if (!jitsiMeetingProvider._isToShowJoinClassBtn) t1.push(new A.SizedBox(_null, 10, _null, _null)); return A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); }, "call*": "call$3", $requiredArgCount: 3, $signature: 391 }; A.StudentCountCard.prototype = { build$1(_, context) { var _null = null, t1 = type$.JSArray_Widget; return A.Column$(A._setArrayType([A.Text$("Student Count", _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$fontSize$fontWeight(16, B.FontWeight_5), _null, _null, _null), new A.SizedBox(_null, 16, _null, _null), A.Row$(A._setArrayType([this.studentCount$5$color$count$textColor$title(context, $.$get$DraclmsTheme_mainColor(), "50", $.$get$DraclmsTheme_primaryColor(), "Total"), this.studentCount$5$color$count$textColor$title(context, $.$get$DraclmsTheme_greenColor(), "40", $.$get$DraclmsTheme_primaryColor(), "Present"), this.studentCount$5$color$count$textColor$title(context, $.$get$DraclmsTheme_alertColor(), "10", $.$get$DraclmsTheme_primaryColor(), "Absent")], t1), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null)], t1), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, studentCount$5$color$count$textColor$title(context, color, count, textColor, title) { var t3, t4, t5, t6, _null = null, t1 = type$.MediaQuery, widthScaling = !(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650) ? 0.062 : 0.08, heightScaling = !(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx < 650) ? 0.086 : 0.15, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t2; t3 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t3; t4 = type$.Condition_dynamic; t5 = type$.JSArray_Condition_dynamic; t6 = type$.double; t3 = A.ResponsiveValue$(context, t2 * widthScaling, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, t3 * widthScaling, _null, t4)], t5), t6).value; t3.toString; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; t6 = A.ResponsiveValue$(context, t2 * heightScaling, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, t1 * heightScaling, _null, t4)], t5), t6).value; t6.toString; t5 = A.BorderRadius$circular(8); return A.Container$(_null, A.Column$(A._setArrayType([A.Text$(count, _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$3$color$fontSize$fontWeight(textColor, 16, B.FontWeight_5), _null, _null, _null), A.Text$(title, _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize(textColor, 14), _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_5, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(color, _null, _null, t5, _null, _null, B.BoxShape_0), _null, t6, _null, _null, _null, _null, _null, t3); } }; A.TimeTableListDialog.prototype = { _getColorForClassStarted$3$endTime$isConnector$startTime(endTime, isConnector, startTime) { var t1 = Date.now(), t2 = startTime._value; if (t1 > t2 && t1 < endTime._value) return isConnector ? B.MaterialColor_Map_JNEaM_4283215696 : new A.Color(4289458114); else if (new A.DateTime(t1, false).add$1(0, A.Duration$(0, 1, 0, 0, 0))._value > t2 && t1 < endTime._value) return new A.Color(4290501119); else if (t1 < t2) return new A.Color(4294046193); else return new A.Color(4292072403); }, _getColorForClassStarted$2$endTime$startTime(endTime, startTime) { return this._getColorForClassStarted$3$endTime$isConnector$startTime(endTime, false, startTime); }, build$1(_, context) { var t3, t4, t5, t6, t7, t8, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; t1 = A.ResponsiveValue$(context, context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx * 0.5, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t1.toString; t3 = this._routine; if (t3.get$length(t3) === 0) t3 = A.Center$(A.Text$("There is no class", _null, _null, _null, _null, _null, _null, _null, _null), _null, _null); else { t4 = A.TimelineThemeData_TimelineThemeData(new A.ConnectorThemeData(B.MaterialColor_Map_HFpTk_4288585374), _null, 0); t5 = new A.TimeTableListDialog_build_closure(); t3 = J.get$length$asx(t3._collection$_source); t6 = A.TimelineTileBuilder__createConnectedStartConnectorBuilder(B.ConnectionDirection_1, t5, _null); t6 = A.TimelineTileBuilder_TimelineTileBuilder(B.ContentsAlign_0, new A.TimeTableListDialog_build_closure0(this), A.TimelineTileBuilder__createConnectedEndConnectorBuilder(B.ConnectionDirection_1, t5, t3, _null), new A.TimeTableListDialog_build_closure1(this), _null, t3, _null, _null, _null, _null, t6); t3 = t6.itemCount; t6 = A.SliverChildBuilderDelegate$(t6.get$build(t6), true, true, true, t3); t5 = t4.direction; t7 = t5 === B.Axis_1; t8 = t5 === B.Axis_1; t8 = t8 ? B.AlwaysScrollableScrollPhysics_null : _null; t3 = new A.Timeline(t6, t4, _null, t5, false, _null, t7, t8, _null, false, _null, 0, _null, t3, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null); } return A.AlertDialog$(_null, _null, B.EdgeInsets_0_0_0_0, A.Container$(_null, t3, B.Clip_0, _null, _null, _null, _null, t2.size._dy * 0.9, _null, _null, _null, _null, _null, t1), B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_0_0_0_0, false, _null, new A.AlertTitleButton("Time Table", _null, _null), _null); } }; A.TimeTableListDialog_build_closure1.prototype = { call$2(context, index) { var timeIndex, t6, _null = null, t1 = $.$get$locator().call$1$0(type$.RoutineProvider), t2 = this.$this, t3 = t2._routine._collection$_source, t4 = J.getInterceptor$ax(t3), t5 = t4.elementAt$1(t3, index).id; t5.toString; timeIndex = t1.getTimeIndex$1(t5); t1 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.startsAt; t1.toString; t5 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.endsAt; t5.toString; t6 = Date.now(); t1 = t6 > t1._value && t6 > t5._value ? A.Icon$(B.IconData_57686_MaterialIcons_null_false, B.MaterialColor_Map_JNEaM_4283215696, 11) : _null; t5 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.startsAt; t5.toString; t3 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.endsAt; t3.toString; return new A.OutlinedDotIndicator(t1, _null, t2._getColorForClassStarted$3$endTime$isConnector$startTime(t3, true, t5), _null, _null); }, $signature: 392 }; A.TimeTableListDialog_build_closure.prototype = { call$3(context, index, type) { var _null = null; return new A.SolidLineConnector(_null, _null, _null, _null, _null, _null, _null); }, $signature: 393 }; A.TimeTableListDialog_build_closure0.prototype = { call$2(context, index) { var timeIndex, t6, _null = null, t1 = $.$get$locator().call$1$0(type$.RoutineProvider), t2 = this.$this, t3 = t2._routine._collection$_source, t4 = J.getInterceptor$ax(t3), t5 = t4.elementAt$1(t3, index).id; t5.toString; timeIndex = t1.getTimeIndex$1(t5); t5 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.startsAt; t5.toString; t1 = t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.endsAt; t1.toString; t5 = t2._getColorForClassStarted$2$endTime$startTime(t1, t5); t1 = A.Expanded$(A.Text$(A.S(t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.startsAtString) + " - " + A.S(t4.elementAt$1(t3, index).daysOfWeek[timeIndex].timeSlot.endAtString), _null, _null, _null, _null, A.DraclmsTheme_body2Style().copyWith$1$fontWeight(B.FontWeight_3), _null, _null, _null), 1); t6 = A.Expanded$(A.Text$(A.S(t4.elementAt$1(t3, index).subject.name), _null, _null, _null, _null, A.DraclmsTheme_body2Style().copyWith$1$fontWeight(B.FontWeight_3), _null, _null, _null), 1); if (t2.isUserTeacher) t3 = "Class " + A.S(t4.elementAt$1(t3, index).grade.title) + " " + A.S(t4.elementAt$1(t3, index).section.title); else { t3 = t4.elementAt$1(t3, index).teacher.name; t3.toString; } return A.GestureDetector$(_null, A.Container$(_null, A.Row$(A._setArrayType([t1, new A.SizedBox(5, _null, _null, _null), t6, new A.SizedBox(5, _null, _null, _null), A.Expanded$(A.Text$(t3, _null, _null, _null, _null, A.DraclmsTheme_body2Style().copyWith$1$fontWeight(B.FontWeight_3), _null, _null, _null), 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, t5, _null, _null, _null, _null, _null, B.EdgeInsets_5_5_5_5, B.EdgeInsets_10_10_10_10, _null, _null, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.TimeTableListDialog_build__closure(t2, context, index), _null, _null, _null, _null, _null, _null, _null); }, $signature: 394 }; A.TimeTableListDialog_build__closure.prototype = { call$0() { var t2, t3, t1 = this.context; A.Navigator_of(t1, false).pop$1(0, null); t2 = J.elementAt$1$ax(this.$this._routine._collection$_source, this.index).remoteId; t2.toString; t3 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t3._subjectId = t2; t3.notifyListeners$0(); A.Navigator_pushReplacement(t1, A.MaterialPageRoute$(new A.TimeTableListDialog_build___closure(), false, null, type$.dynamic)); }, $signature: 0 }; A.TimeTableListDialog_build___closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A.SplashScreen.prototype = { createState$0() { return new A._SplashScreenState(B._StateLifecycle_0); } }; A._SplashScreenState.prototype = { startTime$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this; var $async$startTime$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($.$get$locator().call$1$0(type$.AuthProvider).autoLogin$0(), $async$startTime$0); case 3: // returning from await. $async$self.isLogged = $async$result; $async$returnValue = A.Timer_Timer(A.Duration$(0, 0, 0, 0, 3), $async$self.get$navigationPage()); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$startTime$0, $async$completer); }, navigationPage$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t2, t3, t4, subjectId, t1; var $async$navigationPage$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.isLogged; t1.toString; $async$goto = t1 ? 2 : 4; break; case 2: // then t1 = type$.AuthProvider; $async$goto = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "admin" ? 5 : 7; break; case 5: // then t1 = $async$self._framework$_element; t1.toString; t2 = A.MaterialPageRoute$(new A._SplashScreenState_navigationPage_closure(), false, null, type$.dynamic); A.Navigator_of(t1, false).push$1(t2); // goto join $async$goto = 6; break; case 7: // else t2 = $.$get$locator().call$1$0(t1)._currentUserAccountDetail; t2.toString; t3 = type$.SubjectProvider; t4 = type$.Null; $async$goto = $.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "student" ? 8 : 10; break; case 8: // then t1 = t2.accountUser.resourceStudent.resourceCategoryId; t1.toString; $async$goto = 11; return A._asyncAwait($.$get$locator().call$1$0(t3).getStudentSubject$1(t1).then$1$1(0, new A._SplashScreenState_navigationPage_closure0(), t4), $async$navigationPage$0); case 11: // returning from await. // goto join $async$goto = 9; break; case 10: // else $async$goto = 12; return A._asyncAwait($.$get$locator().call$1$0(t3).getTeacherSubjects$1(t2.id).then$1$1(0, new A._SplashScreenState_navigationPage_closure1(), t4), $async$navigationPage$0); case 12: // returning from await. case 9: // join subjectId = $.$get$locator().call$1$0(type$.RoutineProvider).getSubjectId$0(); A.print(subjectId); t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); t1._subjectId = subjectId; t1.notifyListeners$0(); t1 = type$.dynamic; t2 = $async$self._framework$_element; if (subjectId !== 0) { t2.toString; A.Navigator_pushAndRemoveUntil(t2, A.MaterialPageRoute$(new A._SplashScreenState_navigationPage_closure2(), false, null, t1), new A._SplashScreenState_navigationPage_closure3()); } else { t2.toString; A.Navigator_pushAndRemoveUntil(t2, A.MaterialPageRoute$(new A._SplashScreenState_navigationPage_closure4(), false, null, t1), new A._SplashScreenState_navigationPage_closure5()); } case 6: // join // goto join $async$goto = 3; break; case 4: // else t1 = $async$self._framework$_element; t1.toString; A.Navigator_pushAndRemoveUntil(t1, A.MaterialPageRoute$(new A._SplashScreenState_navigationPage_closure6(new A.LoginScreen(null)), false, null, type$.dynamic), new A._SplashScreenState_navigationPage_closure7()); case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$navigationPage$0, $async$completer); }, initState$0() { this.super$State$initState(); this._reload$0(); this.startTime$0(0); }, _reload$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic); var $async$_reload$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($.$get$locator().call$1$0(type$.SharedPref).readStringValue$1("reload"), $async$_reload$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_reload$0, $async$completer); }, build$1(_, context) { var _null = null, t1 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Scaffold$(_null, _null, t1, _null, true, _null, _null); } }; A._SplashScreenState_navigationPage_closure.prototype = { call$1(context) { return new A.AdminPanelScreen(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_ScaffoldState), null); }, $signature: 250 }; A._SplashScreenState_navigationPage_closure0.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null); 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($.$get$locator().call$1$0(type$.RoutineProvider).getStudentRoutine$0(), $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: 107 }; A._SplashScreenState_navigationPage_closure1.prototype = { call$1(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null); 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($.$get$locator().call$1$0(type$.RoutineProvider).getTeacherRoutine$0(), $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: 107 }; A._SplashScreenState_navigationPage_closure2.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._SplashScreenState_navigationPage_closure3.prototype = { call$1(route) { return false; }, $signature: 52 }; A._SplashScreenState_navigationPage_closure4.prototype = { call$1(context) { return new A.SubjectGridViewScreen(null); }, $signature: 171 }; A._SplashScreenState_navigationPage_closure5.prototype = { call$1(route) { return false; }, $signature: 52 }; A._SplashScreenState_navigationPage_closure6.prototype = { call$1(context) { return this.loginPage; }, $signature: 139 }; A._SplashScreenState_navigationPage_closure7.prototype = { call$1(route) { return false; }, $signature: 52 }; A.AlertTitleButton.prototype = { build$1(_, context) { var t2, t3, t4, _null = null, t1 = A.DraclmsTheme_body1Style(); t1 = A.Text$(this.title, _null, _null, _null, _null, t1.copyWith$1$fontSize(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650 ? 20 : 12), _null, _null, _null); t2 = A.ResponsiveValue$(context, 50, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 200, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t3 = A._setArrayType([new A.Spacer(_null)], type$.JSArray_Widget); t4 = this.secondButton; if (t4 != null) t3.push(t4); t3.push(new A.SizedBox(8, _null, _null, _null)); t3.push(A.GestureDetector$(_null, A.SvgPicture$asset("assets/icons/x-circle.svg", _null, 20, 20), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.AlertTitleButton_build_closure(context), _null, _null, _null, _null, _null, _null, _null)); return A.ListTile$(false, B.EdgeInsets_0_0_0_0, _null, _null, true, _null, _null, false, _null, _null, false, _null, _null, _null, _null, t1, A.Container$(_null, A.Row$(t3, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2), _null); } }; A.AlertTitleButton_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.AppHeader.prototype = { _appBarTitle$0() { var t2, t3, t1 = type$.AuthProvider; if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "admin") return "Admin Panel"; else { t2 = type$.SubjectProvider; t3 = type$.GlobalIdsProvider; if ($.$get$locator().call$1$0(t1)._currentUserAccountDetail.userType.toLowerCase() === "teacher") { t1 = $.$get$locator().call$1$0(t2); t3 = $.$get$locator().call$1$0(t3)._subjectId; t3.toString; t3 = t1.getSubjectById$1(t3).name; t1 = t3; } else { t1 = $.$get$locator().call$1$0(t2); t3 = $.$get$locator().call$1$0(t3)._subjectId; t3.toString; t3 = t1.getStudentSubjectById$1(t3).subject.name; t3.toString; t1 = t3; } return t1; } }, build$1(_, context) { var t1, t2, t3, t4, t5, t6, _null = null; if (context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx < 650) t1 = this._mobileHeader$2($.$get$locator().call$1$0(type$.AuthProvider).getUserFullName$0(), context); else { t1 = !$.$get$locator().call$1$0(type$.JitsiMeetingProvider)._isFullScreenContent ? 10 : 48; t2 = $.$get$DraclmsTheme_primaryColor(); t3 = A.Image$asset("assets/images/playstore.png", _null, _null, 38, 38); t4 = this._appBarTitle$0(); $.$get$locator().call$1$0(type$.NavigationService); t5 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t5.toString; t5 = A.ResponsiveValue$(t5, 18, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, 18, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t5.toString; t6 = type$.JSArray_Widget; t5 = A.Row$(A._setArrayType([t3, new A.SizedBox(20, _null, _null, _null), A.Column$(A._setArrayType([A.Text$(t4, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, t5, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null).copyWith$1$color($.$get$DraclmsTheme_titleColor()), _null, _null, _null), new A.SizedBox(_null, 5, _null, _null), A.Text$(A.DateFormat$("MM-d-yyyy hh:mm aa", _null).format$1(new A.DateTime(Date.now(), false)), _null, _null, _null, _null, A.DraclmsTheme_bodyStyle().copyWith$1$color($.$get$DraclmsTheme_subTitle1Color()), _null, _null, _null)], t6), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t6), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t4 = A._setArrayType([this._app_header$_profile$2($.$get$locator().call$1$0(type$.AuthProvider).getUserFullName$0(), context), new A.SizedBox(20, _null, _null, _null)], t6); t4.push(new A.Align(B.Alignment_1_m1, _null, _null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_58332_MaterialIcons_null_false, $.$get$DraclmsTheme_mainColor(), 24), 24, new A.AppHeader_build_closure(), B.EdgeInsets_8_8_8_8, _null, _null, _null), _null)); t1 = A.Container$(_null, A.Row$(A._setArrayType([t5, A.Row$(t4, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null)], t6), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(t2, _null, _null, _null, _null, _null, B.BoxShape_0), _null, _null, _null, new A.EdgeInsets(0, 0, 0, 2), new A.EdgeInsets(48, 8, t1, 8), _null, _null, _null); } return A.Container$(_null, t1, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _mobileHeader$2($name, context) { var _null = null, t1 = $.$get$DraclmsTheme_drawerColor(), t2 = A._setArrayType([$.$get$DraclmsTheme_graidentCardShadow()], type$.JSArray_BoxShadow), t3 = type$.JSArray_Widget; return A.Container$(_null, A.Row$(A._setArrayType([A.Row$(A._setArrayType([new A.Builder(new A.AppHeader__mobileHeader_closure(), _null), new A.SizedBox(10, _null, _null, _null), A.Text$($name, _null, _null, _null, _null, A.DraclmsTheme_title2Style(), _null, _null, _null)], t3), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), this._buttonMenu$0()], t3), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, _null, _null, t2, _null, B.BoxShape_0), _null, 75, _null, new A.EdgeInsets(0, 0, 0, 2), _null, _null, _null, _null); }, _app_header$_profile$2($name, context) { var _null = null; return A.Row$(A._setArrayType([new A.Builder(new A.AppHeader__profile_closure(), _null), new A.SizedBox(10, _null, _null, _null), A.Text$($name, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); }, _buttonMenu$0() { var _null = null; return A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_58332_MaterialIcons_null_false, $.$get$DraclmsTheme_mainColor(), _null), 24, new A.AppHeader__buttonMenu_closure(), B.EdgeInsets_8_8_8_8, _null, _null, _null); } }; A.AppHeader_build_closure.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.JitsiMeetingProvider); t1._isFullScreenContent = !t1._isFullScreenContent; t1.notifyListeners$0(); }, $signature: 0 }; A.AppHeader__mobileHeader_closure.prototype = { call$1(context) { return A.ClipOval$(A.PopupMenuButton$(null, A.Icon$(B.IconData_57411_MaterialIcons_null_false, $.$get$DraclmsTheme_selectedColor(), 30), null, new A.AppHeader__mobileHeader__closure(), new A.AppHeader__mobileHeader__closure0(context), B.EdgeInsets_8_8_8_8, type$.String)); }, $signature: 173 }; A.AppHeader__mobileHeader__closure.prototype = { call$1(context) { var _null = null, t1 = type$.String; return A._setArrayType([A.PopupMenuItem$(A.Text$("Privacy Policy", _null, _null, _null, _null, _null, _null, _null, _null), 48, "policy", t1), A.PopupMenuItem$(A.Text$("Log Out", _null, _null, _null, _null, _null, _null, _null, _null), 48, "logout", t1)], type$.JSArray_PopupMenuEntry_String); }, $signature: 137 }; A.AppHeader__mobileHeader__closure0.prototype = { call$1(value) { return this.$call$body$AppHeader__mobileHeader__closure(value); }, $call$body$AppHeader__mobileHeader__closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; 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 = value === "policy" ? 2 : 4; break; case 2: // then $async$goto = 8; return A._asyncAwait(A.canLaunch(string$.https_), $async$call$1); case 8: // returning from await. $async$goto = $async$result ? 5 : 7; break; case 5: // then $async$goto = 9; return A._asyncAwait(A.launch(string$.https_), $async$call$1); case 9: // returning from await. // goto join $async$goto = 6; break; case 7: // else A.throwExpression(string$.Could_); case 6: // join // goto join $async$goto = 3; break; case 4: // else $async$goto = value === "logout" ? 10 : 11; break; case 10: // then $async$goto = 12; return A._asyncAwait($.$get$locator().call$1$0(type$.AuthProvider).logout$0(), $async$call$1); case 12: // returning from await. A.Navigator_pushAndRemoveUntil($async$self.context, A.MaterialPageRoute$(new A.AppHeader__mobileHeader___closure(new A.LoginScreen(null)), false, null, type$.dynamic), new A.AppHeader__mobileHeader___closure0()); case 11: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 91 }; A.AppHeader__mobileHeader___closure.prototype = { call$1(_) { return this.loginPage; }, $signature: 139 }; A.AppHeader__mobileHeader___closure0.prototype = { call$1(route) { return false; }, $signature: 52 }; A.AppHeader__profile_closure.prototype = { call$1(context) { return A.ClipOval$(A.PopupMenuButton$(null, A.Icon$(B.IconData_57411_MaterialIcons_null_false, $.$get$DraclmsTheme_selectedColor(), 30), null, new A.AppHeader__profile__closure(), new A.AppHeader__profile__closure0(context), B.EdgeInsets_8_8_8_8, type$.String)); }, $signature: 173 }; A.AppHeader__profile__closure.prototype = { call$1(context) { var _null = null, t1 = type$.String; return A._setArrayType([A.PopupMenuItem$(A.Text$("Privacy Policy", _null, _null, _null, _null, _null, _null, _null, _null), 48, "policy", t1), A.PopupMenuItem$(A.Text$("Log Out", _null, _null, _null, _null, _null, _null, _null, _null), 48, "logout", t1)], type$.JSArray_PopupMenuEntry_String); }, $signature: 137 }; A.AppHeader__profile__closure0.prototype = { call$1(value) { return this.$call$body$AppHeader__profile__closure(value); }, $call$body$AppHeader__profile__closure(value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; 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 = value === "policy" ? 2 : 4; break; case 2: // then $async$goto = 8; return A._asyncAwait(A.canLaunch(string$.https_), $async$call$1); case 8: // returning from await. $async$goto = $async$result ? 5 : 7; break; case 5: // then $async$goto = 9; return A._asyncAwait(A.launch(string$.https_), $async$call$1); case 9: // returning from await. // goto join $async$goto = 6; break; case 7: // else A.throwExpression(string$.Could_); case 6: // join // goto join $async$goto = 3; break; case 4: // else $async$goto = value === "logout" ? 10 : 11; break; case 10: // then $async$goto = 12; return A._asyncAwait($.$get$locator().call$1$0(type$.AuthProvider).logout$0(), $async$call$1); case 12: // returning from await. A.Navigator_pushAndRemoveUntil($async$self.context, A.MaterialPageRoute$(new A.AppHeader__profile___closure(new A.LoginScreen(null)), false, null, type$.dynamic), new A.AppHeader__profile___closure0()); case 11: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 91 }; A.AppHeader__profile___closure.prototype = { call$1(_) { return this.loginPage; }, $signature: 139 }; A.AppHeader__profile___closure0.prototype = { call$1(route) { return false; }, $signature: 52 }; A.AppHeader__buttonMenu_closure.prototype = { call$0() { var t2, t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider); if (t1._scaffoldKey.get$currentState() != null) { t2 = t1._scaffoldKey.get$currentState()._endDrawerOpened; t2 = !A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); } else t2 = false; if (t2) t1._scaffoldKey.get$currentState().openEndDrawer$0(); return null; }, $signature: 0 }; A.CancelButton.prototype = { build$1(_, context) { var _null = null; return A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.CancelButton_build_closure(context), _null); } }; A.CancelButton_build_closure.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId; A.Navigator_of(this.context, false).pushReplacement$1(A.MaterialPageRoute$(new A.CancelButton_build__closure(new A.HomeScreen(t1, null)), false, null, type$.dynamic)); }, $signature: 0 }; A.CancelButton_build__closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.CustomDialogBox.prototype = { createState$0() { return new A._CustomDialogBoxState(B._StateLifecycle_0); } }; A._CustomDialogBoxState.prototype = { build$1(_, context) { var _null = null, t1 = A.BorderRadius$circular(20); return A.AlertDialog$(_null, B.Color_0, _null, this._contentBox$1(context), B.EdgeInsets_0_0_0_0, 0, B.EdgeInsets_40_24_40_24, false, new A.RoundedRectangleBorder(t1, B.BorderSide_0CF), _null, _null); }, _contentBox$1(context) { var t5, _null = null, size = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size, t1 = size._dy, t2 = type$.Condition_dynamic, t3 = type$.JSArray_Condition_dynamic, t4 = type$.double; t1 = A.ResponsiveValue$(context, t1 / 1.8, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, t1 / 2, _null, t2)], t3), t4).value; t1.toString; t5 = size._dx; t4 = A.ResponsiveValue$(context, t5 / 2, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, t5, _null, t2)], t3), t4).value; t4.toString; t3 = A.BorderRadius$circular(20); t2 = A._setArrayType([new A.BoxShadow(0, B.BlurStyle_0, B.MaterialColor_Map_HFpTk_4288585374, new A.Offset(0, 10), 10)], type$.JSArray_BoxShadow); t5 = type$.JSArray_Widget; return A.Container$(_null, A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([new A.Align(B.Alignment_1_m1, _null, _null, A.actionButton($.$get$DraclmsTheme_alertColor(), 0, B.IconData_57704_MaterialIcons_null_false, B.Color_4294967295, 20, new A._CustomDialogBoxState__contentBox_closure(context), 2), _null), new A.Align(B.Alignment_0_0, _null, _null, A.Column$(A._setArrayType([A.Text$(this._widget.title, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 22, _null, B.FontWeight_5, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 15, _null, _null), new A.Flexible(1, B.FlexFit_1, this._widget.descriptions, _null)], t5), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null)], t5), B.StackFit_0, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(B.Color_4294967295, _null, _null, t3, t2, _null, B.BoxShape_0), _null, t1, _null, new A.EdgeInsets(0, 45, 0, 0), new A.EdgeInsets(20, 10, 20, 20), _null, _null, t4); } }; A._CustomDialogBoxState__contentBox_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); }, $signature: 3 }; A.deleteAlert_closure.prototype = { call$1(context) { var _null = null, t1 = A.Text$("Do you want to delete this " + A.S(this.option) + "?", _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.deleteAlert__closure(context), _null), new A.SizedBox(10, _null, _null, _null), A.TextButton$(false, A.Text$("Confirm", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A.deleteAlert__closure0(this.onPressed), _null)], type$.JSArray_Widget), _null, _null, t1, B.EdgeInsets_24_20_24_24, _null, B.EdgeInsets_40_24_40_24, false, _null, _null, _null); }, $signature: 57 }; A.deleteAlert__closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.deleteAlert__closure0.prototype = { call$0() { return this.onPressed.call$0(); }, $signature: 0 }; A.CustomMaterialTextSelectionControls.prototype = {}; A.DictionaryDialog.prototype = { build$1(_, context) { var termProvider = $.$get$locator().call$1$0(type$.DictionaryProvider); return A.FutureBuilder$(new A.DictionaryDialog_build_closure(this, termProvider), termProvider.getTerms$1$term(this.term), type$.void); } }; A.DictionaryDialog_build_closure.prototype = { call$2(context, snapshot) { var t1, t2, t3, t4, t5, t6, _null = null; if (snapshot.connectionState === B.ConnectionState_1) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 60, _null, _null, _null, _null, _null, 300); t1 = A.Text$("Definition", _null, _null, _null, _null, A.DraclmsTheme_title3Style(), _null, _null, _null); t2 = this.termProvider; t3 = t2._term.$index(0, this.$this.term); t3.toString; t4 = type$.JSArray_Widget; t3 = A.Column$(A._setArrayType([t1, A.Html$(t3, _null, B.Map_empty13)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t1 = A.Text$("Usage", _null, _null, _null, _null, A.DraclmsTheme_title3Style(), _null, _null, _null); t5 = t2._termDetail.entryDefinitionsList; t5.toString; t5 = A.Column$(A._setArrayType([t1, A.Html$(J.toString$0$(B.JSArray_methods.get$first(t5).usage), _null, B.Map_empty13)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); t1 = A.Text$("Classification", _null, _null, _null, _null, A.DraclmsTheme_title3Style(), _null, _null, _null); t6 = t2._termDetail.entryDefinitionsList; t6.toString; return A.Column$(A._setArrayType([t3, t5, A.Column$(A._setArrayType([t1, A.Html$(J.toString$0$(B.JSArray_methods.get$first(t6).entryClassification.classificationName), _null, B.Map_empty13)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), A.Column$(A._setArrayType([A.Text$("Language", _null, _null, _null, _null, A.DraclmsTheme_title3Style(), _null, _null, _null), A.Html$(J.toString$0$(t2._termDetail.language.languageName), _null, B.Map_empty13)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t4), B.CrossAxisAlignment_0, B.MainAxisAlignment_5, B.MainAxisSize_1, B.VerticalDirection_1); }, $signature: 249 }; A.CustomDropDown.prototype = { createState$0() { return new A._CustomDropDownState(B._StateLifecycle_0); } }; A._CustomDropDownState.prototype = { _buildDropDownItems$0() { var t5, t6, _null = null, t1 = this._widget.list.length === 0 ? new A.EdgeInsets(10, 10, 10, 10) : new A.EdgeInsets(10, 0, 10, 0), t2 = A._setArrayType([$.$get$DraclmsTheme_containner()], type$.JSArray_BoxShadow), side = new A.BorderSide($.$get$DraclmsTheme_borderColor(), 1.05, B.BorderStyle_1), t3 = this._widget, t4 = t3.list; if (t4.length === 0) t3 = A.Text$("No Data", _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null); else { t3 = t3.initialValue; t5 = A.Icon$(B.IconData_58195_MaterialIcons_null_false, _null, _null); t6 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,DropdownMenuItem<String>>"); t5 = new A.DropdownButton(A.List_List$of(new A.MappedListIterable(t4, new A._CustomDropDownState__buildDropDownItems_closure(), t6), true, t6._eval$1("ListIterable.E")), t3, new A._CustomDropDownState__buildDropDownItems_closure0(this), new A.SizedBox(_null, _null, _null, _null), t5, _null, type$.DropdownButton_String); t3 = t5; } return A.Container$(_null, t3, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, t2, _null, B.BoxShape_0), _null, _null, _null, _null, t1, _null, _null, _null); }, build$1(_, context) { var _null = null, t1 = A.Text$(this._widget.title, _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$2$color$fontSize(B.Color_4278190080, 12), _null, _null, _null), t2 = this._widget.isLoading ? new A.SizedBox(15, 15, A.CircularProgressIndicator$(_null, 2, _null), _null) : this._buildDropDownItems$0(); return A.Row$(A._setArrayType([t1, new A.SizedBox(20, _null, _null, _null), t2], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); } }; A._CustomDropDownState__buildDropDownItems_closure.prototype = { call$1(items) { var _null = null; items.toString; return new A.DropdownMenuItem(items, A.Text$(items, _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style().copyWith$3$color$fontSize$fontWeight(B.Color_4278190080, 10, B.FontWeight_3), _null, _null, _null), B.AlignmentDirectional_m1_0, _null, type$.DropdownMenuItem_String); }, $signature: 395 }; A._CustomDropDownState__buildDropDownItems_closure0.prototype = { call$1(newValue) { this.$this._widget.changeId.call$1(newValue); }, $signature: 26 }; A.ExpandedCard.prototype = { build$1(_, context) { var _null = null, t1 = $.$get$DraclmsTheme_borderColor(), t2 = A.BorderRadius$circular(6), t3 = A.Text$(this.title, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_titleColor()), _null, _null, _null); return A.Card$(A.ExpansionTile$(A._setArrayType([this.childComponents], type$.JSArray_Widget), _null, _null, _null, _null, new A.UniqueKey(), _null, _null, _null, t3, _null), _null, _null, _null, _null, _null, new A.RoundedRectangleBorder(t2, new A.BorderSide(t1, 0.5, B.BorderStyle_1))); } }; A.FileContainer.prototype = { build$1(_, context) { var t4, t5, _null = null, t1 = A.BorderRadius$circular(8), side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1), t2 = type$.MediaQuery, t3 = context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx; $.SizeConfig_screenWidth = t3; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx; $.SizeConfig_screenWidth = t2; t2 = A.ResponsiveValue$(context, t3 * 0.5, A._setArrayType([new A.Condition(900, _null, B.Conditional_0, t2 * 0.3, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), type$.double).value; t2.toString; t3 = A.Expanded$(A.Center$(A.Icon$(this.icon, _null, _null), _null, _null), 2); t4 = A.VerticalDivider$($.$get$DraclmsTheme_cardBorderColor(), 1); t5 = A.Text$(this.title, _null, B.TextOverflow_2, _null, true, A.DraclmsTheme_subTitle1Style().copyWith$2$color$fontSize(B.Color_4278190080, 10), _null, _null, _null); return A.Container$(_null, A.Row$(A._setArrayType([t3, t4, A.Expanded$(A.ListTile$(false, _null, _null, _null, true, _null, _null, false, _null, _null, false, _null, _null, A.Text$(this.ext, _null, _null, _null, _null, A.DraclmsTheme_subTitle1Style().copyWith$1$fontSize(8), _null, _null, _null), _null, t5, _null, _null), 4)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), t1, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, t2); } }; A.AssignmentForm.prototype = { _addAssignment$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, de, dateTime, deadlineDateTime, homeScreen, error, t1, t2, t3, t4, t5, t6, t7, t8, exception, $async$exception; var $async$_addAssignment$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._assignment_form$_formKey; $async$goto = t1.get$currentState().validate$0() ? 7 : 9; break; case 7: // then t1.get$currentState().save$0(0); $async$goto = 10; return A._asyncAwait($async$self._assignment_form$_controller.getText$0(), $async$_addAssignment$0); case 10: // returning from await. de = $async$result; dateTime = ""; deadlineDateTime = ""; if (J.get$length$asx(de) === 0) { A.showToaster("Instruction should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = type$.AssignmentProvider; if ($.$get$locator().call$1$0(t1)._assignmentDetails.containsKey$1(0, "startTime") && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "startTime") != null) dateTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "startTime")); else { A.showToaster(string$.Pleases, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } if ($.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasDeadline")) if ($.$get$locator().call$1$0(t1)._assignmentDetails.containsKey$1(0, "deadlineTime") && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "deadlineTime") != null) deadlineDateTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "deadlineTime")); else { A.showToaster(string$.Pleased, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } $async$goto = !$async$self.isEdit ? 11 : 13; break; case 11: // then t2 = $.$get$locator().call$1$0(t1); t3 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceIdToEdit; t3.toString; t4 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasMarks") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasMarks") ? 1 : 0; t5 = dateTime; t6 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "title"); t7 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "isPublished") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "isPublished") ? 1 : 0; t8 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasDeadline") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasDeadline") ? 1 : 0; t1 = A.int_parse($.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "totalMarks"), null); $async$goto = 14; return A._asyncAwait(t2.addAssignment$9$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks(deadlineDateTime, t8, t4, de, t7, t3, t5, t6, t1), $async$_addAssignment$0); case 14: // returning from await. // goto join $async$goto = 12; break; case 13: // else t2 = $.$get$locator().call$1$0(t1); t3 = $.$get$locator().call$1$0(type$.CourseContentProvider)._courseContentDetail.resourceId; t3.toString; t4 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasMarks") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasMarks") ? 1 : 0; t5 = dateTime; t6 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "title"); t7 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "isPublished") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "isPublished") ? 1 : 0; t8 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasDeadline") != null && $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "hasDeadline") ? 1 : 0; t1 = $.$get$locator().call$1$0(t1)._assignmentDetails.$index(0, "totalMarks"); $async$goto = 15; return A._asyncAwait(t2.editAssignment$10$assignmentId$deadLine$hasDeadline$hasMarks$instructions$isPublished$resourceId$startDate$title$totalMarks($async$self.assignmentId, deadlineDateTime, t8, t4, de, t7, t3, t5, t6, t1), $async$_addAssignment$0); case 15: // returning from await. case 12: // join homeScreen = new A.HomeScreen($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.AssignmentForm__addAssignment_closure(homeScreen), false, null, type$.dynamic)); // goto join $async$goto = 8; break; case 9: // else // goto return $async$goto = 1; break; 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.DioError) { error = t1; A.print(error.response); A.print(J.get$message$x(error)); A.showToaster($async$self.isEdit ? "Something went wrong, Could edit Assignment" : "Something went wrong, Could create Assignment", B.MaterialColor_Map_JNc9P_4294198070); } 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$_addAssignment$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, _this = this, _null = null, t1 = _this.isEdit ? "Edit Selected Assignment" : "Add New Assignment"; t1 = A.AppBar$(_null, false, B.Color_4294967295, 0, _null, _null, A.Text$(t1, _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)); t2 = $.$get$DraclmsTheme_primaryColor(); t3 = type$.AssignmentProvider; t4 = $.$get$locator().call$1$0(t3)._assignmentDetails.$index(0, "title"); t5 = $.$get$DraclmsTheme_textFormFieldFillColor(); return A.Scaffold$(t1, t2, A.Form$(_null, A.ListView$(true, true, A._setArrayType([A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), t5, t4, false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.AssignmentForm_build_closure(), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null), new A.MultilineEditableTextField(_this._assignment_form$_controller, $.$get$locator().call$1$0(t3)._assignmentDetails.$index(0, "instructions"), "Instructions", _null, _null), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.AssignmentForm_build_closure0(_this), t3)], type$.JSArray_Widget), _null, _null, new A.EdgeInsets(16, 16, 16, 16), _null, B.Axis_1, true), _this._assignment_form$_formKey), _null, true, _null, _null); } }; A.AssignmentForm__addAssignment_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.AssignmentForm_build_closure.prototype = { call$1(val) { var t1 = $.$get$locator().call$1$0(type$.AssignmentProvider); t1._assignmentDetails.$indexSet(0, "title", val); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.AssignmentForm_build_closure0.prototype = { call$3(context, value, child) { var t4, _null = null, _s9_ = "startTime", _s11_ = "hasDeadline", _s8_ = "hasMarks", t1 = value._assignmentDetails, t2 = type$.JSArray_Widget, t3 = A._setArrayType([new A.DatePicker(t1.$index(0, _s9_), "Select a start date", new A.AssignmentForm_build__closure(value), _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.CheckBox(t1.$index(0, _s11_), "Has deadline?", new A.AssignmentForm_build__closure0(value), B.Color_4278190080, _null)], t2); if (t1.$index(0, _s11_)) { t4 = t1.$index(0, _s9_); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.DatePicker(t1.$index(0, "deadlineTime"), "Select a deadline date", new A.AssignmentForm_build__closure1(value), t4, _null), new A.SizedBox(_null, 10, _null, _null)], t2)); } t3.push(new A.CheckBox(t1.$index(0, _s8_), "Has Marks?", new A.AssignmentForm_build__closure2(value), B.Color_4278190080, _null)); if (t1.$index(0, _s8_)) t3.push(A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, J.toString$0$(t1.$index(0, "totalMarks")), false, false, _null, B.TextInputType_0_null_null, "Total Marks", 1, _null, new A.AssignmentForm_build__closure3(value), _null, A.validator_Validator_validator$closure())); t3.push(new A.SizedBox(_null, 10, _null, _null)); t3.push(new A.CheckBox(t1.$index(0, "isPublished"), string$.Publis, new A.AssignmentForm_build__closure4(value), B.Color_4278190080, _null)); t1 = this.$this; t4 = t1.isEdit ? "Save" : "Post"; t4 = A._setArrayType([A.roundButton(_null, _null, _null, false, new A.AssignmentForm_build__closure5(t1), _null, t4, _null)], t2); B.JSArray_methods.addAll$1(t4, A._setArrayType([new A.SizedBox(20, _null, _null, _null), new A.CancelButton(_null)], t2)); t3.push(A.Row$(t4, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)); return A.ListView$(true, true, t3, _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); }, "call*": "call$3", $requiredArgCount: 3, $signature: 240 }; A.AssignmentForm_build__closure.prototype = { call$1(date) { var t1 = this.value; date.toString; t1._assignmentDetails.$indexSet(0, "startTime", date); t1.notifyListeners$0(); }, $signature: 5 }; A.AssignmentForm_build__closure0.prototype = { call$1(val) { var t1 = this.value; val.toString; t1._assignmentDetails.$indexSet(0, "hasDeadline", val); t1.notifyListeners$0(); }, $signature: 5 }; A.AssignmentForm_build__closure1.prototype = { call$1(val) { var t1 = this.value; val.toString; t1._assignmentDetails.$indexSet(0, "deadlineTime", val); t1.notifyListeners$0(); }, $signature: 5 }; A.AssignmentForm_build__closure2.prototype = { call$1(val) { var t1 = this.value; val.toString; t1._assignmentDetails.$indexSet(0, "hasMarks", val); t1.notifyListeners$0(); }, $signature: 5 }; A.AssignmentForm_build__closure3.prototype = { call$1(val) { var t1 = this.value; t1._assignmentDetails.$indexSet(0, "totalMarks", val); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.AssignmentForm_build__closure4.prototype = { call$1(val) { var t1 = this.value; val.toString; t1._assignmentDetails.$indexSet(0, "isPublished", val); t1.notifyListeners$0(); }, $signature: 5 }; A.AssignmentForm_build__closure5.prototype = { call$0() { return this.$this._addAssignment$0(); }, $signature: 0 }; A.editLessonDialog_closure.prototype = { call$1(context) { var _this = this, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx; $.SizeConfig_screenWidth = t2; t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dy; $.SizeConfig_screenHeight = t1; return new A.DialogBox(t2 * 0.5, t1 * 0.5, A._content(_this.title), new A.editLessonDialog__closure(_this.id, _this.resourceSubjectId, _this.parentId, _this.resourceId, _this.sequence), "Edit", null); }, $signature: 396 }; A.editLessonDialog__closure.prototype = { call$0() { var _this = this; A._onPressed(_this.id, _this.parentId, _this.resourceId, _this.resourceSubjectId, _this.sequence); }, $signature: 0 }; A.editLessonSheet_closure.prototype = { call$1(context) { var _this = this, _null = null, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data, t3 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; return A.SingleChildScrollView$(A.Container$(_null, A.Column$(A._setArrayType([A._content(_this.title), A.roundButton(_null, _null, 50, false, new A.editLessonSheet__closure(_this.id, _this.resourceSubjectId, _this.parentId, _this.resourceId, _this.sequence), _null, "Edit", context.dependOnInheritedWidgetOfExactType$1$0(t1).data.size._dx * 0.8)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_4, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, t3.size._dy * 0.25, _null, _null, _null, _null, _null, _null), _null, B.DragStartBehavior_1, _null, new A.EdgeInsets(20, 40, 20, t2.viewInsets.bottom + 50), _null, _null, B.Axis_1); }, $signature: 251 }; A.editLessonSheet__closure.prototype = { call$0() { var _this = this; A._onPressed(_this.id, _this.parentId, _this.resourceId, _this.resourceSubjectId, _this.sequence); }, $signature: 3 }; A._content_closure.prototype = { call$1(context) { var _null = null, t1 = $.$get$_key(), t2 = this.title; t2.toString; return A.Form$(_null, A.Column$(A._setArrayType([A.TextFormField$(false, _null, A.InputDecoration$(_null, new A.OutlineInputBorder(4, B.BorderRadius_tLn0, B.BorderSide_27z), _null, new A.EdgeInsets(12, 12, 12, 12), _null, _null, _null, _null, true, new A.OutlineInputBorder(4, B.BorderRadius_tLn0, new A.BorderSide(new A.Color(4224174023), 1, B.BorderStyle_1)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, true, _null, _null, "Title", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, _null, t2, _null, _null, 1, false, new A._content__closure(), _null, _null, _null, false, _null, _null, B.TextAlign_4, _null, A.validator_Validator_validator$closure()), new A.CheckBox($.isCheck, string$.Publis, A.edit_lesson_form__getVal$closure(), B.Color_4278190080, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_4, B.MainAxisSize_1, B.VerticalDirection_1), t1); }, $signature: 397 }; A._content__closure.prototype = { call$1(value) { $._lessonTitle = value; }, $signature: 11 }; A.EditTestForm.prototype = { _addTest$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, de, dateTime, deadlineTime, response, homeScreen, error, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, exception, $async$exception; var $async$_addTest$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._edit_test_form$_formKey; $async$goto = t1.get$currentState().validate$0() ? 7 : 8; break; case 7: // then t1.get$currentState().save$0(0); $async$goto = 9; return A._asyncAwait($async$self._edit_test_form$_controller.getText$0(), $async$_addTest$0); case 9: // returning from await. de = $async$result; dateTime = ""; deadlineTime = ""; if (J.get$length$asx(de) === 0) { A.showToaster("Instruction should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = type$.TestsProvider; if ($.$get$locator().call$1$0(t1)._testDetails.containsKey$1(0, "startTime") && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "startTime") != null) dateTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._testDetails.$index(0, "startTime")); else { A.showToaster(string$.Pleases, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } if ($.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline")) if ($.$get$locator().call$1$0(t1)._testDetails.containsKey$1(0, "deadlineTime") && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "deadlineTime") != null) deadlineTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._testDetails.$index(0, "deadlineTime")); else { A.showToaster(string$.Pleased, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } A.print($.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline")); t2 = $.$get$locator().call$1$0(t1); t3 = type$.GlobalIdsProvider; t4 = $.$get$locator().call$1$0(t3)._resourceIdToEdit; t5 = dateTime; t6 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "title"); t7 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showObtainedMarks") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showObtainedMarks") ? 1 : 0; t8 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "isPublished") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "isPublished") ? 1 : 0; t9 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline") ? 1 : 0; t10 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showMarks") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showMarks") ? 1 : 0; t1 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "canSkipQuestion") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "canSkipQuestion") ? 1 : 0; t11 = J.$eq$(deadlineTime, "") ? dateTime : deadlineTime; $async$goto = 10; return A._asyncAwait(t2.editTest$11$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$testId$title(t1, t11, t9, de, t8, t4, t10, t7, t5, $async$self.testId, t6), $async$_addTest$0); case 10: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { A.showToaster(string$.Practi, B.MaterialColor_Map_JNEaM_4283215696); homeScreen = new A.HomeScreen($.$get$locator().call$1$0(t3)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.EditTestForm__addTest_closure(homeScreen), false, null, type$.dynamic)); } else A.showToaster(string$.Someth, B.MaterialColor_Map_JNc9P_4294198070); 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.DioError) { error = t1; A.print(error); A.showToaster(string$.Someth, B.MaterialColor_Map_JNc9P_4294198070); } 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$_addTest$0, $async$completer); }, build$1(_, context) { var _this = this, _null = null, t1 = A.Text$("Add Tests for this Class", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null), t2 = type$.JSArray_Widget, t3 = type$.TestsProvider; return A.Scaffold$(A.AppBar$(A._setArrayType([A.ResponsiveVisibility$(new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(A._setArrayType([new A.CancelButton(_null), new A.SizedBox(20, _null, _null, _null), A.roundButton(_null, _null, _null, false, _this.get$_addTest(), _null, "Save", _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, _null, _null, type$.Condition_dynamic)], type$.JSArray_Condition_dynamic), B.List_empty9)], t2), false, B.Color_4294967295, 0, _null, _null, t1), $.$get$DraclmsTheme_primaryColor(), new A.Padding(B.EdgeInsets_16_4_16_0, A.Form$(_null, A.SingleChildScrollView$(A.Column$(A._setArrayType([new A.SizedBox(_null, 4, _null, _null), A.Text$("Add Practice Test for the class", _null, _null, _null, _null, A.DraclmsTheme_title1Style().copyWith$1$fontSize(14), _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, $.$get$locator().call$1$0(t3)._testDetails.$index(0, "title"), false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.EditTestForm_build_closure(), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null), new A.MultilineEditableTextField(_this._edit_test_form$_controller, $.$get$locator().call$1$0(t3)._testDetails.$index(0, "instructions"), "Instructions", 400, _null), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.EditTestForm_build_closure0(_this), t3)], t2), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, new A.NeverScrollableScrollPhysics(_null), _null, B.Axis_1), _this._edit_test_form$_formKey), _null), _null, true, _null, _null); } }; A.EditTestForm__addTest_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.EditTestForm_build_closure.prototype = { call$1(val) { var t1 = $.$get$locator().call$1$0(type$.TestsProvider); t1._testDetails.$indexSet(0, "title", val); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.EditTestForm_build_closure0.prototype = { call$3(context, testProvider, child) { var _null = null, _s9_ = "startTime", _s11_ = "hasDeadline", t1 = testProvider._testDetails, t2 = t1.$index(0, _s9_), t3 = t1.$index(0, _s11_), t4 = type$.JSArray_Widget; t3 = A._setArrayType([new A.DatePicker(t2, "Select a start date", new A.EditTestForm_build__closure(testProvider), _null, _null), A.CheckboxListTile$(B.Color_4294967295, B.ListTileControlAffinity_0, new A.EditTestForm_build__closure0(testProvider), A.Text$("Has deadline?", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t3)], t4); if (t1.$index(0, _s11_)) { t2 = t1.$index(0, _s9_); t3.push(new A.DatePicker(t1.$index(0, "deadlineTime"), "Select a deadline date", new A.EditTestForm_build__closure1(testProvider), t2, _null)); } t2 = t1.$index(0, "showMarks"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.EditTestForm_build__closure2(testProvider), A.Text$("Show Marks in Question", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t2 = t1.$index(0, "showObtainedMarks"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.EditTestForm_build__closure3(testProvider), A.Text$("Show Obtained Marks", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t2 = t1.$index(0, "canSkipQuestion"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.EditTestForm_build__closure4(testProvider), A.Text$("Can Skip Question", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t1 = t1.$index(0, "isPublished"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.EditTestForm_build__closure5(testProvider), A.Text$("Publish Now?", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t1)); t1 = A._setArrayType([A.roundButton(_null, _null, _null, testProvider._tests_provider$_isLoading, new A.EditTestForm_build__closure6(this.$this), _null, "Post", _null)], t4); if (!testProvider._tests_provider$_isLoading) B.JSArray_methods.addAll$1(t1, A._setArrayType([new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t4)); t3.push(A.Row$(t1, B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)); return A.ListView$(true, true, t3, _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); }, "call*": "call$3", $requiredArgCount: 3, $signature: 252 }; A.EditTestForm_build__closure.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "startTime", value); t1.notifyListeners$0(); }, $signature: 5 }; A.EditTestForm_build__closure0.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "hasDeadline", value); t1.notifyListeners$0(); }, $signature: 33 }; A.EditTestForm_build__closure1.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "deadlineTime", value); t1.notifyListeners$0(); }, $signature: 5 }; A.EditTestForm_build__closure2.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "showMarks", value); t1.notifyListeners$0(); }, $signature: 33 }; A.EditTestForm_build__closure3.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "showObtainedMarks", value); t1.notifyListeners$0(); }, $signature: 33 }; A.EditTestForm_build__closure4.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "canSkipQuestion", value); t1.notifyListeners$0(); }, $signature: 33 }; A.EditTestForm_build__closure5.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "isPublished", value); t1.notifyListeners$0(); }, $signature: 33 }; A.EditTestForm_build__closure6.prototype = { call$0() { return this.$this._addTest$0(); }, $signature: 0 }; A.NoteForm.prototype = { _note_form$_addNote$1(context) { return this._addNote$body$NoteForm(context); }, _addNote$body$NoteForm(context) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, _notes, homeScreen, t1, t2, exception, $async$exception; var $async$_note_form$_addNote$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 = $async$self._note_form$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); t1 = type$.NoteProvider; $async$goto = 7; return A._asyncAwait($.$get$locator().call$1$0(t1)._note_provider$_controller.getText$0(), $async$_note_form$_addNote$1); case 7: // returning from await. _notes = $async$result; if (J.get$length$asx(_notes) === 0) { A.showToaster("Notes should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } $async$goto = $async$self.isEdit ? 8 : 10; break; case 8: // then t1 = $.$get$locator().call$1$0(t1); t2 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceIdToEdit; t2.toString; $async$goto = 11; return A._asyncAwait(t1.editNote$5$file$note$noteId$resourceId$title("", _notes, $async$self.noteId, t2, $async$self.title), $async$_note_form$_addNote$1); case 11: // returning from await. // goto join $async$goto = 9; break; case 10: // else t1 = $.$get$locator().call$1$0(t1); t2 = $.$get$locator().call$1$0(type$.CourseContentProvider)._courseContentDetail.resourceId; t2.toString; $async$goto = 12; return A._asyncAwait(t1.addNote$4$file$note$resourceId$title("", _notes, t2, $async$self.title), $async$_note_form$_addNote$1); case 12: // returning from await. case 9: // join homeScreen = new A.HomeScreen($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.NoteForm__addNote_closure(homeScreen), false, null, type$.dynamic)); $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; A.showToaster($async$self.isEdit ? "Something went wrong, Could edit Note" : "Something went wrong, Could add Note", B.MaterialColor_Map_JNc9P_4294198070); // 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$_note_form$_addNote$1, $async$completer); }, build$1(_, context) { var t3, t4, _this = this, _null = null, t1 = $.$get$DraclmsTheme_primaryColor(), t2 = _this.isEdit ? "Edit Selected Notes" : "Add Notes to class"; t2 = A.Text$(t2, _null, _null, _null, _null, A.DraclmsTheme_title1Style(), _null, _null, _null); t3 = _this.title; t4 = type$.NoteProvider; return A.SafeArea$(true, A.Scaffold$(_null, t1, A.Form$(_null, A.ListView$(false, false, A._setArrayType([t2, new A.SizedBox(_null, 16, _null, _null), A.CustomTextField$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(4), new A.BorderSide(B.Color_4294967295, 1, B.BorderStyle_1)), $.$get$DraclmsTheme_textFormFieldFillColor(), t3, false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.NoteForm_build_closure(_this), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 16, _null, _null), new A.MultilineEditableTextField($.$get$locator().call$1$0(t4)._note_provider$_controller, _this.description, "Description", 300, new A.UniqueKey()), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.NoteForm_build_closure0(_this), t4)], type$.JSArray_Widget), _null, _null, new A.EdgeInsets(16, 16, 16, 16), _null, B.Axis_1, true), _this._note_form$_formKey), _null, true, _null, false), B.EdgeInsets_0_0_0_0, true); } }; A.NoteForm__addNote_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.NoteForm_build_closure.prototype = { call$1(value) { return this.$this.title = value; }, $signature: 9 }; A.NoteForm_build_closure0.prototype = { call$3(context, noteProvider, child) { var _null = null, t1 = this.$this, t2 = t1.isEdit ? "Save" : "Post", t3 = type$.JSArray_Widget; t2 = A._setArrayType([A.roundButton(_null, _null, _null, noteProvider._note_provider$_isLoading, new A.NoteForm_build__closure(t1, context), _null, t2, _null)], t3); if (!noteProvider._note_provider$_isLoading) B.JSArray_methods.addAll$1(t2, A._setArrayType([new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t3)); return A.Row$(t2, B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 399 }; A.NoteForm_build__closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $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$goto = 3; return A._asyncAwait($async$self.$this._note_form$_addNote$1($async$self.context), $async$call$0); 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$call$0, $async$completer); }, $signature: 7 }; A.ResourceForm.prototype = { createState$0() { return new A._ResourceFormState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), B._StateLifecycle_0); } }; A._ResourceFormState.prototype = { build$1(_, context) { var _this = this, _null = null, t1 = type$.JSArray_Widget; return A.Form$(_null, A.Column$(A._setArrayType([A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A._ResourceFormState_build_closure(_this), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null), new A.CheckBox(_this.isChecked, "Publish Now?", new A._ResourceFormState_build_closure0(_this), B.Color_4278190080, _null), new A.SizedBox(_null, 10, _null, _null), A.Row$(A._setArrayType([A.roundButton(_null, _null, _null, false, _this.get$_resource_form$_onPress(), _null, "Add", _null), new A.SizedBox(5, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._ResourceFormState_build_closure1(context), _null)], t1), B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._resource_form$_formKey); }, _resource_form$_onPress$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, error, t1, t2, t3, exception, $async$exception; var $async$_resource_form$_onPress$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._resource_form$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); t1 = $async$self._framework$_element; t1.toString; t1 = A.Provider_of(t1, false, type$.ResourceProvider); t2 = $.$get$locator().call$1$0(type$.GlobalIdsProvider)._subjectId; t2.toString; t3 = $async$self._resource_form$_title; $async$goto = 7; return A._asyncAwait(t1.addResource$4$isPublished$parentId$resourceSubjectId$title($async$self.isChecked, "", t2, t3), $async$_resource_form$_onPress$0); case 7: // returning from await. t3 = $async$self._framework$_element; t3.toString; A.Navigator_of(t3, false).pop$1(0, null); $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(error); 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$_resource_form$_onPress$0, $async$completer); } }; A._ResourceFormState_build_closure.prototype = { call$1(val) { return this.$this._resource_form$_title = val; }, $signature: 9 }; A._ResourceFormState_build_closure0.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._ResourceFormState_build__closure(t1, value)); }, $signature: 5 }; A._ResourceFormState_build__closure.prototype = { call$0() { this.$this.isChecked = this.value; }, $signature: 0 }; A._ResourceFormState_build_closure1.prototype = { call$0() { A.Navigator_of(this.context, false).pop$1(0, null); return null; }, $signature: 0 }; A.ResourceLessonForm.prototype = { createState$0() { return new A._ResourceLessonFormState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_FormState), A.HtmlEditorController$(), B._StateLifecycle_0); } }; A._ResourceLessonFormState.prototype = { _resource_lesson_form$_onPress$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, contents, error, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, $async$exception; var $async$_resource_lesson_form$_onPress$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$self.setState$1(new A._ResourceLessonFormState__onPress_closure($async$self)); t1 = $async$self._resource_lesson_form$_formKey; if (!t1.get$currentState().validate$0()) { $async$next = [1]; // goto finally $async$goto = 5; break; } t1.get$currentState().save$0(0); contents = ""; t1 = $.$get$locator().call$1$0(type$.ResourceProvider); t2 = $async$self._widget; t3 = t2.resourceSubjectId; t2 = t2.resourceId; t4 = $async$self._isVideo; if (t4) t5 = "video"; else t5 = $async$self._isAudio ? "audio" : "pdf"; t6 = $async$self._resource_lesson_form$_title; t7 = $async$self.isChecked; t8 = $async$self._sourceLink; t9 = $async$self._resource_lesson_form$_source; t10 = $async$self._isVideoLink; if (t10) t11 = false; else t11 = t4 || $async$self._isAudio || $async$self._isDocument; if (t10) t4 = $async$self._files; else if (t4) t4 = "data:video/mp4;base64," + $async$self._files; else if ($async$self._isAudio) t4 = "data:audio/mpeg;base64," + $async$self._files; else t4 = $async$self._isDocument ? "data:" + $async$self._fileType + ";base64," + $async$self._files : ""; t10 = $async$self._fileType; t12 = $async$self._fileSize; $async$goto = 7; return A._asyncAwait(t1.addResourceLesson$13$content$fileName$fileSize$fileType$files$isFile$isPublished$materialType$resourceId$resourceSubjectId$source$sourceLink$title(contents, $async$self._fileName, t12, t10, t4, t11, t7, t5, t2, t3, t9, t8, t6), $async$_resource_lesson_form$_onPress$0); case 7: // returning from await. $async$next.push(6); // goto finally $async$goto = 5; break; case 4: // catch $async$handler = 3; $async$exception = $async$currentError; error = A.unwrapException($async$exception); A.print(error); throw $async$exception; $async$next.push(6); // goto finally $async$goto = 5; break; case 3: // uncaught $async$next = [2]; case 5: // finally $async$handler = 2; $async$self.setState$1(new A._ResourceLessonFormState__onPress_closure0($async$self)); // goto the next finally handler $async$goto = $async$next.pop(); 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$_resource_lesson_form$_onPress$0, $async$completer); }, _allowExtensions$0() { var t1 = type$.JSArray_String; if (this._isDocument) return A._setArrayType(["pdf", "docx", "doc"], t1); else return A._setArrayType([], t1); }, _getSelectedFile$0() { var _this = this; if (_this._isVideo) return "Selected Video: " + _this._fileName; if (_this._isAudio) return "Selected Audio: " + _this._fileName; if (_this._isDocument) return "Selected Document: " + _this._fileName; return ""; }, build$1(_, context) { var t4, _this = this, _null = null, t1 = A.Text$("Add Course and Course Content", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null), t2 = type$.JSArray_Widget, t3 = A._setArrayType([], t2); t3.push(new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(A._setArrayType([new A.CheckBox(_this.isChecked, "Publish Now?", new A._ResourceLessonFormState_build_closure(_this), B.Color_4278190080, _null), new A.SizedBox(20, _null, _null, _null), A.TextButton$(false, A.Text$("Cancel", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, new A._ResourceLessonFormState_build_closure0(context), _null), new A.SizedBox(20, _null, _null, _null), A.roundButton(_null, _null, _null, _this._isAdding, _this.get$_resource_lesson_form$_onPress(), _null, "Save", _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null)); t1 = A.AppBar$(t3, false, B.Color_4294967295, 0, _null, _null, t1); t3 = type$.MediaQuery; t4 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dx; $.SizeConfig_screenWidth = t4; t3 = context.dependOnInheritedWidgetOfExactType$1$0(t3).data.size._dy; $.SizeConfig_screenHeight = t3; return A.SafeArea$(true, A.Scaffold$(t1, B.Color_4294967295, A.Container$(_null, A.Column$(A._setArrayType([_this._buildTabBar$0(), new A.SizedBox(_null, 10, _null, _null), A.Expanded$(_this._buildForm$0(), 1)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, t3, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, t4), _null, true, _null, _null), B.EdgeInsets_0_0_0_0, true); }, _buildTabBar$0() { var _this = this, _null = null, side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); return A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.GestureDetector$(_null, _this._buildFormTab$2("Video", _this._isVideo), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ResourceLessonFormState__buildTabBar_closure(_this), _null, _null, _null, _null, _null, _null, _null), 1), A.Expanded$(A.GestureDetector$(_null, _this._buildFormTab$2("Audio", _this._isAudio), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ResourceLessonFormState__buildTabBar_closure0(_this), _null, _null, _null, _null, _null, _null, _null), 1), A.Expanded$(A.GestureDetector$(_null, _this._buildFormTab$2("Document", _this._isDocument), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ResourceLessonFormState__buildTabBar_closure1(_this), _null, _null, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null); }, _buildFormTab$2(title, activated) { var _null = null, t1 = A._setArrayType([A.Tab$(A.Text$(title, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.Color_3707764736, _null, _null, _null, _null, _null, "Poppins", _null, _null, 14, _null, B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null))], type$.JSArray_Widget); if (activated) t1.push(A.Container$(_null, _null, B.Clip_0, $.$get$DraclmsTheme_mainColor(), _null, _null, _null, 3, _null, _null, _null, _null, _null, _null)); return A.Column$(t1, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); }, _buildForm$0() { var t3, side, t4, t5, t6, _this = this, _null = null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 = 17976931348623157e292, t1 = type$.JSArray_Widget, t2 = A._setArrayType([A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A._ResourceLessonFormState__buildForm_closure(_this), _null, A.validator_Validator_validator$closure())], t1); if (_this._isVideo || _this._isAudio || _this._isDocument) { t3 = A._setArrayType([], t1); if (_this._isVideo) { side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.GestureDetector$(_null, _this._buildFormTab$2("Video", _this._isFile), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ResourceLessonFormState__buildForm_closure0(_this), _null, _null, _null, _null, _null, _null, _null), 1), new A.SizedBox(20, _null, _null, _null), A.Expanded$(A.GestureDetector$(_null, _this._buildFormTab$2("Link", _this._isVideoLink), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ResourceLessonFormState__buildForm_closure1(_this), _null, _null, _null, _null, _null, _null, _null), 1)], t1), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, 200)], t1)); } t3.push(new A.SizedBox(_null, 10, _null, _null)); if (!_this._isVideoLink) { t4 = $.$get$DraclmsTheme_cardBorderColor(); side = new A.BorderSide(t4, 1, B.BorderStyle_1); t4 = _this._framework$_element; t4.toString; t4 = A.Container$(_null, _this._buildDropZone$1(t4), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368); side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t5 = A.Icon$(B.IconData_61532_MaterialIcons_null_false, _null, 80); if (_this._isVideo) t6 = "video"; else t6 = _this._isAudio ? "audio" : "document"; t3.push(A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([t4, A.Container$(_null, A.Column$(A._setArrayType([new A.SizedBox(_null, 8, _null, _null), t5, new A.SizedBox(_null, 20, _null, _null), A.Text$("Drag and Drop " + t6 + " file or", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4281413937), _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), new A.SizedBox(_null, 8, _null, _null), A.TextButton$(false, A.Text$("Browse", _null, _null, _null, _null, A.TextStyle$(_null, _null, new A.Color(4278474174), _null, B.TextDecoration_1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_filePicker(), _null)], t1), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 200, _null, _null, _null, _null, _null, _179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368)], t1), B.StackFit_0, _null, _null)); } else B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(_null, 10, _null, _null), A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Video Link", 1, _null, new A._ResourceLessonFormState__buildForm_closure2(_this), _null, A.validator_Validator_validator$closure())], t1)); if (_this._fileName !== "") B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$(_this._getSelectedFile$0(), _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle(), _null, _null, _null)], t1)); t4 = _this._resource_lesson_form$_error; if (t4 !== "") B.JSArray_methods.addAll$1(t3, A._setArrayType([new A.SizedBox(_null, 5, _null, _null), A.Text$("Error: " + t4, _null, _null, _null, _null, A.DraclmsTheme_subTitleStyle().copyWith$2$color$fontSize(B.MaterialColor_Map_JNc9P_4294198070, 10), _null, _null, _null)], t1)); t3.push(new A.SizedBox(_null, 10, _null, _null)); t3.push(A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Source", 1, _null, new A._ResourceLessonFormState__buildForm_closure3(_this), _null, A.validator_Validator_validator$closure())); t3.push(new A.SizedBox(_null, 10, _null, _null)); t3.push(A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Source Link", 1, _null, new A._ResourceLessonFormState__buildForm_closure4(_this), _null, A.validator_Validator_validator$closure())); B.JSArray_methods.addAll$1(t2, t3); } t2.push(new A.SizedBox(_null, 10, _null, _null)); return A.Form$(_null, A.Column$(t2, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._resource_lesson_form$_formKey); }, _buildDropZone$1(context) { return new A.Builder(new A._ResourceLessonFormState__buildDropZone_closure(this), null); }, _filePicker$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, t3, result, t1, t2; var $async$_filePicker$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 = $.$get$FilePicker__instance(); t2 = $async$self._isVideo; if (t2) t3 = "Choose a video"; else t3 = $async$self._isAudio ? "Choose a audio" : "Choose a document"; if (t2) t2 = B.FileType_3; else t2 = $async$self._isAudio ? B.FileType_4 : B.FileType_5; $async$goto = 2; return A._asyncAwait(t1.pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(false, $async$self._allowExtensions$0(), t3, t2), $async$_filePicker$0); case 2: // returning from await. result = $async$result; if (result != null) { t1 = result.files; t2 = J.getInterceptor$asx(t1); t3 = t2.$index(t1, 0).size; $async$self._fileSize = t3; if (t3 / 1048576 > 8) { t2.clear$0(t1); $async$self.setState$1(new A._ResourceLessonFormState__filePicker_closure($async$self)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); } else { t3 = t2.$index(t1, 0); t3 = t3.bytes; t3.toString; $async$self._files = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(t3); t1 = B.JSArray_methods.get$last(t2.$index(t1, 0).name.split(".")); t1.toString; if ($async$self._isVideo) $async$self._fileType = "video/" + t1; else if ($async$self._isAudio) $async$self._fileType = "audio/mpeg"; else if ($async$self._isDocument) $async$self._fileType = "application/" + t1; $async$self.setState$1(new A._ResourceLessonFormState__filePicker_closure0($async$self, result)); } } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_filePicker$0, $async$completer); } }; A._ResourceLessonFormState__onPress_closure.prototype = { call$0() { this.$this._isAdding = true; }, $signature: 0 }; A._ResourceLessonFormState__onPress_closure0.prototype = { call$0() { this.$this._isAdding = false; }, $signature: 0 }; A._ResourceLessonFormState_build_closure.prototype = { call$1(value) { var t1 = this.$this; return t1.setState$1(new A._ResourceLessonFormState_build__closure0(t1, value)); }, $signature: 6 }; A._ResourceLessonFormState_build__closure0.prototype = { call$0() { this.$this.isChecked = this.value; }, $signature: 0 }; A._ResourceLessonFormState_build_closure0.prototype = { call$0() { A.Navigator_of(this.context, false).pushReplacement$1(A.MaterialPageRoute$(new A._ResourceLessonFormState_build__closure(), false, null, type$.dynamic)); }, $signature: 0 }; A._ResourceLessonFormState_build__closure.prototype = { call$1(ctx) { return new A.HomeScreen(0, null); }, $signature: 13 }; A._ResourceLessonFormState__buildTabBar_closure.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._ResourceLessonFormState__buildTabBar__closure1(t1)); }, $signature: 0 }; A._ResourceLessonFormState__buildTabBar__closure1.prototype = { call$0() { var t1 = this.$this; t1._isDocument = t1._isAudio = false; t1._isFile = t1._isVideo = true; t1._isVideoLink = false; }, $signature: 0 }; A._ResourceLessonFormState__buildTabBar_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._ResourceLessonFormState__buildTabBar__closure0(t1)); }, $signature: 0 }; A._ResourceLessonFormState__buildTabBar__closure0.prototype = { call$0() { var t1 = this.$this; t1._isAudio = true; t1._isVideoLink = t1._isVideo = t1._isDocument = false; }, $signature: 0 }; A._ResourceLessonFormState__buildTabBar_closure1.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._ResourceLessonFormState__buildTabBar__closure(t1)); }, $signature: 0 }; A._ResourceLessonFormState__buildTabBar__closure.prototype = { call$0() { var t1 = this.$this; t1._isDocument = true; t1._isVideoLink = t1._isVideo = t1._isAudio = false; }, $signature: 0 }; A._ResourceLessonFormState__buildForm_closure.prototype = { call$1(val) { return this.$this._resource_lesson_form$_title = val; }, $signature: 9 }; A._ResourceLessonFormState__buildForm_closure0.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._ResourceLessonFormState__buildForm__closure0(t1)); }, $signature: 0 }; A._ResourceLessonFormState__buildForm__closure0.prototype = { call$0() { var t1 = this.$this; t1._isFile = true; t1._isVideoLink = false; }, $signature: 0 }; A._ResourceLessonFormState__buildForm_closure1.prototype = { call$0() { var t1 = this.$this; t1.setState$1(new A._ResourceLessonFormState__buildForm__closure(t1)); }, $signature: 0 }; A._ResourceLessonFormState__buildForm__closure.prototype = { call$0() { var t1 = this.$this; t1._isVideoLink = true; t1._isFile = false; }, $signature: 0 }; A._ResourceLessonFormState__buildForm_closure2.prototype = { call$1(val) { return this.$this._files = val; }, $signature: 9 }; A._ResourceLessonFormState__buildForm_closure3.prototype = { call$1(val) { return this.$this._resource_lesson_form$_source = val; }, $signature: 9 }; A._ResourceLessonFormState__buildForm_closure4.prototype = { call$1(val) { return this.$this._sourceLink = val; }, $signature: 9 }; A._ResourceLessonFormState__buildDropZone_closure.prototype = { call$1(context) { var t1 = this.$this; return A.DropzoneView$(B.CursorType_11, new A._ResourceLessonFormState__buildDropZone__closure(t1), new A._ResourceLessonFormState__buildDropZone__closure0(t1), new A._ResourceLessonFormState__buildDropZone__closure1(), new A._ResourceLessonFormState__buildDropZone__closure2(), B.DragOperation_6); }, $signature: 176 }; A._ResourceLessonFormState__buildDropZone__closure.prototype = { call$1(ctrl) { return this.$this.___ResourceLessonFormState__dropZoneController = ctrl; }, $signature: 175 }; A._ResourceLessonFormState__buildDropZone__closure2.prototype = { call$0() { return A.print("Zone 1 loaded"); }, $signature: 0 }; A._ResourceLessonFormState__buildDropZone__closure1.prototype = { call$1(ev) { return A.print("Zone 1 error: " + A.S(ev)); }, $signature: 26 }; A._ResourceLessonFormState__buildDropZone__closure0.prototype = { call$1(ev) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, bytes, a, ext, 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 a = J.split$1$s(J.get$name$x(ev), "."); ext = a[a.length - 1]; t1 = $async$self.$this; $async$goto = !B.JSArray_methods.contains$1(t1._allowExtensions$0(), ext) && t1._isDocument ? 2 : 4; break; case 2: // then A.showToaster("Provided file is not pdf", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 3; break; case 4: // else t2 = A._lateReadCheck(t1.___ResourceLessonFormState__dropZoneController, "_dropZoneController"); $async$goto = 5; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileSize$2$viewId(ev, t2.viewId), $async$call$1); case 5: // returning from await. t2 = $async$result; t1._fileSize = t2; $async$goto = t2 / 1048576 > 8 ? 6 : 8; break; case 6: // then t1.setState$1(new A._ResourceLessonFormState__buildDropZone___closure(t1)); A.showToaster("Files Should not exceed more than 8 MB", B.MaterialColor_Map_JNc9P_4294198070); // goto join $async$goto = 7; break; case 8: // else t2 = A._lateReadCheck(t1.___ResourceLessonFormState__dropZoneController, "_dropZoneController"); $async$goto = 9; return A._asyncAwait($.$get$FlutterDropzonePlatform__instance().getFileData$2$viewId(ev, t2.viewId), $async$call$1); case 9: // returning from await. bytes = $async$result; t1._files = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(bytes); t1._fileType = "application/pdf"; t1.setState$1(new A._ResourceLessonFormState__buildDropZone___closure0(t1, ev)); case 7: // join case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 58 }; A._ResourceLessonFormState__buildDropZone___closure.prototype = { call$0() { this.$this._resource_lesson_form$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._ResourceLessonFormState__buildDropZone___closure0.prototype = { call$0() { this.$this._fileName = J.get$name$x(this.ev); }, $signature: 0 }; A._ResourceLessonFormState__filePicker_closure.prototype = { call$0() { this.$this._resource_lesson_form$_error = "Files Should not exceed more than 8 MB"; }, $signature: 0 }; A._ResourceLessonFormState__filePicker_closure0.prototype = { call$0() { var t1 = this.$this; t1._resource_lesson_form$_error = ""; t1._fileName = J.$index$asx(this.result.files, 0).name; }, $signature: 0 }; A.ResourceLessonTextForm.prototype = { _resource_lesson_form$_onPress$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, contents, homeScreen, error, t1, t2, t3, exception, $async$exception; var $async$_resource_lesson_form$_onPress$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._resource_lesson_form$_formKey; if (!t1.get$currentState().validate$0()) { // goto return $async$goto = 1; break; } t1.get$currentState().save$0(0); $async$goto = 7; return A._asyncAwait($async$self._resource_lesson_form$_controller.getText$0(), $async$_resource_lesson_form$_onPress$0); case 7: // returning from await. contents = $async$result; if (J.get$length$asx(contents) === 0) { A.showToaster("Contents should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = type$.ResourceProvider; t2 = $.$get$locator().call$1$0(t1); t3 = $async$self._resource_lesson_form$_title; $async$goto = 8; return A._asyncAwait(t2.addResourceLesson$6$content$isPublished$materialType$resourceId$resourceSubjectId$title(contents, $.$get$locator().call$1$0(t1)._isChecked, "rich_text", $async$self.resourceId, $async$self.resourceSubjectId, t3), $async$_resource_lesson_form$_onPress$0); case 8: // returning from await. t1 = $.$get$locator().call$1$0(t1); t1._isChecked = false; t1.notifyListeners$0(); homeScreen = new A.HomeScreen($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.ResourceLessonTextForm__onPress_closure(homeScreen), false, null, type$.dynamic)); $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(error); 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$_resource_lesson_form$_onPress$0, $async$completer); }, build$1(_, context) { var _this = this, _null = null, t1 = type$.ResourceProvider, t2 = type$.JSArray_Widget; return A.SafeArea$(true, A.Scaffold$(A.AppBar$(_null, false, B.Color_4294967295, 0, _null, _null, A.Text$("Add Course and Course Content", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), B.Color_4294967295, A.Container$(_null, A.Column$(A._setArrayType([A.Form$(_null, A.Column$(A._setArrayType([A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, "", false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.ResourceLessonTextForm_build_closure(_this), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null), A.Text$("Content", _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.SizedBox(_null, 10, _null, _null), new A.MultilineEditableTextField(_this._resource_lesson_form$_controller, "", "Add Content here", _null, _null), A.Consumer$(new A.ResourceLessonTextForm_build_closure0(), t1), A.Consumer$(new A.ResourceLessonTextForm_build_closure1(_this), t1)], t2), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _this._resource_lesson_form$_formKey), new A.SizedBox(_null, 10, _null, _null), A.Text$("Or", _null, _null, _null, _null, _null, _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.roundButton(_null, _null, _null, false, new A.ResourceLessonTextForm_build_closure2(_this, context), _null, "Add File", _null)], t2), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, 17976931348623157e292, _null, _null, new A.EdgeInsets(10, 10, 10, 10), _null, _null, _null), _null, true, _null, _null), B.EdgeInsets_0_0_0_0, true); } }; A.ResourceLessonTextForm__onPress_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.ResourceLessonTextForm_build_closure.prototype = { call$1(val) { return this.$this._resource_lesson_form$_title = val; }, $signature: 9 }; A.ResourceLessonTextForm_build_closure0.prototype = { call$3(context, provider, child) { return new A.CheckBox(provider._isChecked, string$.Publis, new A.ResourceLessonTextForm_build__closure0(provider), B.Color_4278190080, null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 400 }; A.ResourceLessonTextForm_build__closure0.prototype = { call$1(value) { var t1 = this.provider; t1._isChecked = value; t1.notifyListeners$0(); return null; }, $signature: 6 }; A.ResourceLessonTextForm_build_closure1.prototype = { call$3(context, resourceProvider, child) { var _null = null, t1 = type$.JSArray_Widget, t2 = A._setArrayType([A.roundButton(_null, _null, _null, resourceProvider._resource_provider$_isLoading, this.$this.get$_resource_lesson_form$_onPress(), _null, "Save", _null)], t1); if (!resourceProvider._resource_provider$_isLoading) B.JSArray_methods.addAll$1(t2, A._setArrayType([new A.SizedBox(20, _null, _null, _null), new A.CancelButton(_null)], t1)); return new A.Padding(B.EdgeInsets_10_10_10_10, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null), _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 401 }; A.ResourceLessonTextForm_build_closure2.prototype = { call$0() { var t1 = this.$this; A.Navigator_pushReplacement(this.context, A.MaterialPageRoute$(new A.ResourceLessonTextForm_build__closure(new A.ResourceLessonForm(t1.resourceSubjectId, t1.resourceId, null)), false, null, type$.dynamic)); }, $signature: 3 }; A.ResourceLessonTextForm_build__closure.prototype = { call$1(context) { return this.resourceLessonForm; }, $signature: 402 }; A.TestForm.prototype = { _test_form$_addTest$1(context) { return this._addTest$body$TestForm(context); }, _addTest$body$TestForm(context) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, de, dateTime, deadlineTime, response, homeScreen, error, t1, t2, t3, t4, t5, t6, t7, t8, t9, exception, $async$exception; var $async$_test_form$_addTest$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 = $async$self._test_form$_formKey; $async$goto = t1.get$currentState().validate$0() ? 7 : 8; break; case 7: // then t1.get$currentState().save$0(0); $async$goto = 9; return A._asyncAwait($async$self._test_form$_controller.getText$0(), $async$_test_form$_addTest$1); case 9: // returning from await. de = $async$result; dateTime = ""; deadlineTime = ""; if (J.get$length$asx(de) === 0) { A.showToaster("Instruction should not be empty", B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t1 = type$.TestsProvider; if ($.$get$locator().call$1$0(t1)._testDetails.containsKey$1(0, "startTime") && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "startTime") != null) dateTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._testDetails.$index(0, "startTime")); else { A.showToaster(string$.Pleases, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } if ($.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline")) if ($.$get$locator().call$1$0(t1)._testDetails.containsKey$1(0, "deadlineTime") && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "deadlineTime") != null) deadlineTime = A.DateFormat$("yyyy-MM-dd HH:mm:ss", null).format$1($.$get$locator().call$1$0(t1)._testDetails.$index(0, "deadlineTime")); else { A.showToaster(string$.Pleased, B.MaterialColor_Map_JNc9P_4294198070); // goto return $async$goto = 1; break; } t2 = $.$get$locator().call$1$0(t1); t3 = $.$get$locator().call$1$0(type$.CourseContentProvider)._courseContentDetail.resourceId; t3.toString; t4 = dateTime; t5 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "title"); t6 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showObtainedMarks") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showObtainedMarks") ? 1 : 0; t7 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "isPublished") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "isPublished") ? 1 : 0; t8 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "hasDeadline") ? 1 : 0; t9 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showMarks") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "showMarks") ? 1 : 0; t1 = $.$get$locator().call$1$0(t1)._testDetails.$index(0, "canSkipQuestion") != null && $.$get$locator().call$1$0(t1)._testDetails.$index(0, "canSkipQuestion") ? 1 : 0; $async$goto = 10; return A._asyncAwait(t2.addTest$10$canSkipQuestion$deadLineBy$hasDeadline$instruction$isPublished$resourceId$showMarksInQuestion$showObtainedMarks$startDate$title(t1, deadlineTime, t8, de, t7, t3, t9, t6, t4, t5), $async$_test_form$_addTest$1); case 10: // returning from await. response = $async$result; t1 = response.statusCode; t1.toString; if (t1 >= 200) { t1 = response.statusCode; t1.toString; t1 = t1 < 300; } else t1 = false; if (t1) { A.showToaster(string$.Practi, B.MaterialColor_Map_JNEaM_4283215696); homeScreen = new A.HomeScreen($.$get$locator().call$1$0(type$.GlobalIdsProvider)._resourceLessonId, null); $.$get$locator().call$1$0(type$.NavigationService); t1 = $.$get$NavigationService_navigatorKey().get$currentState()._framework$_element; t1.toString; A.Navigator_of(t1, false).pushReplacement$1(A.MaterialPageRoute$(new A.TestForm__addTest_closure(homeScreen), false, null, type$.dynamic)); } else A.showToaster(string$.Someth, B.MaterialColor_Map_JNc9P_4294198070); 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.DioError) { error = t1; A.print(error); A.showToaster(string$.Someth, B.MaterialColor_Map_JNc9P_4294198070); } 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$_test_form$_addTest$1, $async$completer); }, build$1(_, context) { var _null = null; return A.Scaffold$(A.AppBar$(_null, true, B.Color_4294967295, 0, _null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_57490_MaterialIcons_null_true, B.Color_4278190080, _null), 24, new A.TestForm_build_closure(context), B.EdgeInsets_8_8_8_8, _null, _null, _null), A.Text$("Add Tests for this Class", _null, _null, _null, _null, A.DraclmsTheme_subTitle3Style().copyWith$1$color($.$get$DraclmsTheme_textFormFieldButtonColor()), _null, _null, _null)), _null, this._test_form$_buildForm$0(), _null, true, _null, _null); }, _test_form$_buildForm$0() { var _null = null, t1 = type$.TestsProvider; return new A.Padding(B.EdgeInsets_16_4_16_0, A.Form$(_null, A.ListView$(true, true, A._setArrayType([new A.SizedBox(_null, 4, _null, _null), A.Text$("Add Practice Test for the class", _null, _null, _null, _null, A.DraclmsTheme_title1Style().copyWith$1$fontSize(14), _null, _null, _null), new A.SizedBox(_null, 10, _null, _null), A.CustomTextField$(_null, B.OutlineInputBorder_QIs, B.Color_4294704123, $.$get$locator().call$1$0(t1)._testDetails.$index(0, "title"), false, false, _null, B.TextInputType_0_null_null, "Title", 1, _null, new A.TestForm__buildForm_closure(), _null, A.validator_Validator_validator$closure()), new A.SizedBox(_null, 10, _null, _null), new A.MultilineEditableTextField(this._test_form$_controller, $.$get$locator().call$1$0(t1)._testDetails.$index(0, "instructions"), "Instructions", 400, _null), new A.SizedBox(_null, 10, _null, _null), A.Consumer$(new A.TestForm__buildForm_closure0(this), t1)], type$.JSArray_Widget), _null, _null, _null, _null, B.Axis_1, false), this._test_form$_formKey), _null); } }; A.TestForm__addTest_closure.prototype = { call$1(ctx) { return this.homeScreen; }, $signature: 13 }; A.TestForm_build_closure.prototype = { call$0() { return A.Navigator_pushReplacement(this.context, A.MaterialPageRoute$(new A.TestForm_build__closure(), false, null, type$.dynamic)); }, $signature: 0 }; A.TestForm_build__closure.prototype = { call$1(context) { return new A.HomeScreen(0, null); }, $signature: 13 }; A.TestForm__buildForm_closure.prototype = { call$1(val) { var t1 = $.$get$locator().call$1$0(type$.TestsProvider); t1._testDetails.$indexSet(0, "title", val); t1.notifyListeners$0(); return null; }, $signature: 26 }; A.TestForm__buildForm_closure0.prototype = { call$3(context, testProvider, child) { var _null = null, _s9_ = "startTime", _s11_ = "hasDeadline", t1 = testProvider._testDetails, t2 = t1.$index(0, _s9_), t3 = t1.$index(0, _s11_), t4 = type$.JSArray_Widget; t3 = A._setArrayType([new A.DatePicker(t2, "Select a start date", new A.TestForm__buildForm__closure(testProvider), _null, _null), A.CheckboxListTile$(B.Color_4294967295, B.ListTileControlAffinity_0, new A.TestForm__buildForm__closure0(testProvider), A.Text$("Has deadline?", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t3)], t4); if (t1.$index(0, _s11_)) { t2 = t1.$index(0, _s9_); t3.push(new A.DatePicker(t1.$index(0, "deadlineTime"), "Select a deadline date", new A.TestForm__buildForm__closure1(testProvider), t2, _null)); } t2 = t1.$index(0, "showMarks"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.TestForm__buildForm__closure2(testProvider), A.Text$("Show Marks in Question", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t2 = t1.$index(0, "showObtainedMarks"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.TestForm__buildForm__closure3(testProvider), A.Text$("Show Obtained Marks", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t2 = t1.$index(0, "canSkipQuestion"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.TestForm__buildForm__closure4(testProvider), A.Text$("Can Skip Question", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t2)); t1 = t1.$index(0, "isPublished"); t3.push(A.CheckboxListTile$(B.Color_4278190080, B.ListTileControlAffinity_0, new A.TestForm__buildForm__closure5(testProvider), A.Text$("Publish Now?", _null, _null, _null, _null, A.DraclmsTheme_body3Style(), _null, _null, _null), t1)); t1 = A._setArrayType([A.roundButton(_null, _null, _null, testProvider._tests_provider$_isLoading, new A.TestForm__buildForm__closure6(this.$this, context), _null, "Post", _null)], t4); if (!testProvider._tests_provider$_isLoading) B.JSArray_methods.addAll$1(t1, A._setArrayType([new A.SizedBox(5, _null, _null, _null), new A.CancelButton(_null)], t4)); t3.push(A.Row$(t1, B.CrossAxisAlignment_1, _null, B.MainAxisAlignment_1, B.MainAxisSize_1, _null, _null)); t3.push(new A.SizedBox(_null, 4, _null, _null)); return A.ListView$(true, true, t3, _null, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true); }, "call*": "call$3", $requiredArgCount: 3, $signature: 252 }; A.TestForm__buildForm__closure.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "startTime", value); t1.notifyListeners$0(); }, $signature: 5 }; A.TestForm__buildForm__closure0.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "hasDeadline", value); t1.notifyListeners$0(); }, $signature: 33 }; A.TestForm__buildForm__closure1.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "deadlineTime", value); t1.notifyListeners$0(); }, $signature: 5 }; A.TestForm__buildForm__closure2.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "showMarks", value); t1.notifyListeners$0(); }, $signature: 33 }; A.TestForm__buildForm__closure3.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "showObtainedMarks", value); t1.notifyListeners$0(); }, $signature: 33 }; A.TestForm__buildForm__closure4.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "canSkipQuestion", value); t1.notifyListeners$0(); }, $signature: 33 }; A.TestForm__buildForm__closure5.prototype = { call$1(value) { var t1 = this.testProvider; t1._testDetails.$indexSet(0, "isPublished", value); t1.notifyListeners$0(); }, $signature: 33 }; A.TestForm__buildForm__closure6.prototype = { call$0() { return this.$this._test_form$_addTest$1(this.context); }, $signature: 0 }; A.roundButton_closure.prototype = { call$0() { return this.onPressed.call$0(); }, $signature: 0 }; A.actionButton_closure.prototype = { call$0() { return this.onTap.call$0(); }, $signature: 0 }; A.CheckBox.prototype = { createState$0() { return new A._CheckBoxState(B._StateLifecycle_0); }, press$1(arg0) { return this.press.call$1(arg0); } }; A._CheckBoxState.prototype = { build$1(_, context) { var _null = null, t1 = this._widget; return A.Row$(A._setArrayType([A.Checkbox$(_null, false, B.Color_4294967295, new A._MaterialStatePropertyWith(new A._CheckBoxState_build_getColor(), type$._MaterialStatePropertyWith_nullable_Color), _null, new A._CheckBoxState_build_closure(this), false, t1.isChecked), new A.SizedBox(8, _null, _null, _null), A.Text$(t1.title, _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$2$color$fontSize(this._widget.textColor, 12), _null, _null, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); } }; A._CheckBoxState_build_getColor.prototype = { call$1(states) { if (states.any$1(0, B.Set_DRfbi.get$contains(B.Set_DRfbi))) return B.MaterialColor_Map_JNc9P_4294198070; return B.MaterialColor_Map_JNwaj_4280391411; }, $signature: 31 }; A._CheckBoxState_build_closure.prototype = { call$1(value) { var t1 = this.$this; return A.LinkedHashSet_LinkedHashSet$_literal([t1.setState$1(new A._CheckBoxState_build__closure(t1, value)), t1._widget.press$1(value)], type$.void); }, $signature: 33 }; A._CheckBoxState_build__closure.prototype = { call$0() { this.$this._widget.isChecked = this.value; }, $signature: 0 }; A.CustomTextField.prototype = { build$1(_, context) { var t4, _this = this, _null = null, t1 = _this.isToggle, t2 = A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, 14, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), t3 = _this.prefixIcon; t3 = t3 != null ? t3 : _null; if (_this.isPassword) t4 = A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(!t1 ? B.IconData_59069_MaterialIcons_null_false : B.IconData_59070_MaterialIcons_null_false, _null, _null), 24, new A.CustomTextField_build_closure(_this), B.EdgeInsets_8_8_8_8, _null, _null, _null); else t4 = _null; return A.TextFormField$(false, _this.controller, A.InputDecoration$(_null, new A.OutlineInputBorder(4, B.BorderRadius_tLn0, B.BorderSide_27z), _null, new A.EdgeInsets(12, 16, 12, 16), _null, _null, _null, _null, true, _this.enabledBorder, _null, _null, _null, _null, _this.fillColor, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, B.Color_0, _null, _null, false, true, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, 14, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _this.labelText, _null, t3, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null), false, _null, _this.initialValue, _null, _this.keyboardType, _this.maxLines, t1, _null, _null, _this.onFieldSubmitted, _this.onSaved, false, _null, t2, B.TextAlign_4, _null, _this.validator); } }; A.CustomTextField_build_closure.prototype = { call$0() { var t1 = $.$get$locator().call$1$0(type$.TextFieldProvider); t1._isPassword = !this.$this.isToggle; t1.notifyListeners$0(); return null; }, $signature: 0 }; A.DatePicker.prototype = { build$1(_, context) { var t2, t3, t4, t5, t6, side, _this = this, _null = null, t1 = _this.startDate; _this.startDate = t1 != null ? t1.add$1(0, A.Duration$(1, 0, 0, 0, 0)) : new A.DateTime(Date.now(), false); t1 = type$.Condition_dynamic; t2 = type$.JSArray_Condition_dynamic; t3 = A.ResponsiveValue$(context, B.Axis_0, A._setArrayType([new A.Condition(900, _null, B.Conditional_2, B.Axis_1, _null, t1)], t2), type$.Axis).value; t3.toString; t4 = A.Icon$(B.IconData_57782_MaterialIcons_null_false, _null, 16); t5 = A.Text$(_this.title, _null, _null, _null, _null, _null, _null, _null, _null); t6 = A.OutlinedButton_styleFrom(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, "Poppins", _null, _null, 13, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null); t1 = A.ResponsiveValue$(context, new A.SizedBox(10, _null, _null, _null), A._setArrayType([new A.Condition(900, _null, B.Conditional_2, new A.SizedBox(_null, 10, _null, _null), _null, t1)], t2), type$.SizedBox).value; t1.toString; t1 = A._setArrayType([new A.SizedBox(250, 30, new A._OutlinedButtonWithIcon(new A.DatePicker_build_closure(_this, context), _null, _null, _null, t6, B.Clip_0, _null, false, new A._OutlinedButtonWithIconChild(t5, t4, _null), _null), _null), t1], type$.JSArray_Widget); t2 = _this.selectedTime; if (t2 != null) { side = new A.BorderSide($.$get$DraclmsTheme_cardBorderColor(), 1, B.BorderStyle_1); t1.push(A.Container$(B.Alignment_0_0, A.Text$(A.DateFormat$("MM-d-yyyy", _null).format$1(t2) + "/" + A.DateFormat$("hh:mm aaa", _null).format$1(t2), _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$fontSize(13), _null, _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0), _null, 30, _null, _null, _null, _null, _null, 250)); } return A.Flex$(t1, B.CrossAxisAlignment_2, t3, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null, B.VerticalDirection_1); } }; A.DatePicker_build_closure.prototype = { call$0() { var t1 = this.context, t2 = this.$this, t3 = t2.startDate; t3.toString; A.showDatePicker(t1, new A.DateTime(Date.now(), false), t3, new A.DateTime(Date.now(), false).add$1(0, A.Duration$(730, 0, 0, 0, 0))).then$1$1(0, new A.DatePicker_build__closure(t2, t1), type$.Null); }, $signature: 0 }; A.DatePicker_build__closure.prototype = { call$1(value) { var t1; if (value != null) { t1 = new A.DateTime(Date.now(), false); A.showTimePicker(this.context, new A.TimeOfDay(A.Primitives_getHours(t1), A.Primitives_getMinutes(t1))).then$1$1(0, new A.DatePicker_build___closure(this.$this, value), type$.Null); } }, $signature: 403 }; A.DatePicker_build___closure.prototype = { call$1(selectedTime) { var t1 = this.$this, t2 = this.value, t3 = selectedTime.hour, t4 = selectedTime.minute; t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2), A.Primitives_getDay(t2), t3, t4, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t2 = new A.DateTime(t2, false); t1.newSelectedTime = t2; t1.onTimeSelected.call$1(t2); }, $signature: 404 }; A.DialogBox.prototype = { build$1(_, context) { var _null = null, t1 = A.BorderRadius$all(new A.Radius(8, 8)), t2 = A.Text$("Are you sure?", _null, _null, _null, _null, _null, _null, _null, _null); return A.AlertDialog$(A._setArrayType([A.MaterialButton$(A.Text$("Cancel", _null, _null, _null, _null, _null, _null, _null, _null), 5, new A.DialogBox_build_closure(context)), A.MaterialButton$(A.Text$(this.buttonLabel, _null, _null, _null, _null, _null, _null, _null, _null), 5, this.onPressed)], type$.JSArray_Widget), _null, _null, new A.Builder(new A.DialogBox_build_closure0(this), _null), new A.EdgeInsets(20, 20, 20, 20), _null, B.EdgeInsets_40_24_40_24, false, new A.RoundedRectangleBorder(t1, B.BorderSide_0CF), t2, new A.EdgeInsets(20, 20, 20, 20)); } }; A.DialogBox_build_closure0.prototype = { call$1(context) { var _null = null, t1 = this.$this; return A.Container$(_null, t1.content, B.Clip_0, _null, _null, _null, _null, t1.height, _null, _null, _null, _null, _null, t1.width); }, $signature: 142 }; A.DialogBox_build_closure.prototype = { call$0() { A.Navigator_of(this.context, false).pop$0(0); }, $signature: 0 }; A.MultilineEditableTextField.prototype = { build$1(_, context) { var _this = this, _null = null, t1 = _this.editorHeight, t2 = t1 == null, t3 = t2 ? 200 : t1, t4 = A.TextStyle$(_null, _null, B.Color_4278190080, _null, _null, _null, _null, _null, "Poppins", _null, _null, 12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); if (t2) t1 = 190; $.$get$DraclmsTheme_textFormFieldFillColor(); $.$get$DraclmsTheme_textFormFieldBorderColor(); return A.Container$(_null, new A.HtmlEditor(_this.controller, new A.HtmlEditorOptions(false, _this.hintText, _this.initialText, true, false), new A.HtmlToolbarOptions(B.ToolbarType_2, t4, true), new A.OtherOptions(t1), new A.UniqueKey()), B.Clip_0, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, 17976931348623157e292); } }; A.SearchFilterTextField.prototype = { build$1(_, context) { var _null = null, t1 = $.$get$DraclmsTheme_blueColor(), t2 = A.BorderRadius$circular(30), t3 = $.$get$DraclmsTheme_borderColor(), t4 = A.BorderRadius$circular(30), t5 = A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(B.IconData_58727_MaterialIcons_null_false, _null, _null), 24, this.onPressed, B.EdgeInsets_8_8_8_8, _null, _null, _null); return A.TextFormField$(false, _null, A.InputDecoration$(_null, _null, _null, new A.EdgeInsets(12, 4, 12, 4), _null, _null, _null, _null, true, new A.OutlineInputBorder(4, t4, new A.BorderSide(t3, 2, B.BorderStyle_1)), _null, _null, _null, _null, $.$get$DraclmsTheme_expnadedCard(), true, _null, _null, _null, new A.OutlineInputBorder(4, t2, new A.BorderSide(t1, 2, B.BorderStyle_1)), _null, _null, _null, _null, _null, _null, "Enter name, email, phone", _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t5, _null, _null, _null, _null), false, _null, _null, _null, _null, 1, false, _null, _null, _null, this.onSaved, false, _null, _null, B.TextAlign_4, _null, _null); } }; A.ListTileButton.prototype = { build$1(_, context) { var t4, _this = this, _null = null, t1 = _this.isButton, t2 = t1 ? new A.EdgeInsets(16, 8, 16, 8) : B.EdgeInsets_0_0_0_0, t3 = A.SvgPicture$asset("assets/icons/avatar.svg", _null, 28, 28); t1 = t1 ? A.DraclmsTheme_subTitle1Style() : A.DraclmsTheme_bodyStyle().copyWith$1$fontWeight(B.FontWeight_5); t1 = A.Text$(_this.title, _null, _null, _null, _null, t1, _null, _null, _null); t4 = _this.subtitle; t4 = t4 === "" ? _null : A.Text$(t4, _null, _null, _null, _null, A.DraclmsTheme_subTitle2Style(), _null, _null, _null); return A.ListTile$(false, t2, true, _null, true, _null, B.Color_0, false, t3, _null, false, _null, _null, t4, _null, t1, _this.trailingButton, _null); } }; A.CustomPopMenu.prototype = { build$1(_, context) { return A.PopupMenuButton$(20, A.Icon$(B.IconData_58372_MaterialIcons_null_false, null, null), 25, new A.CustomPopMenu_build_closure(this), new A.CustomPopMenu_build_closure0(this), B.EdgeInsets_0_0_0_0, type$.String); } }; A.CustomPopMenu_build_closure.prototype = { call$1(context) { var t3, index, t4, t5, t6, _null = null, t1 = this.$this.list, t2 = J.getInterceptor$asx(t1), _length = t2.get$length(t1), _list = J.JSArray_JSArray$allocateGrowable(_length, type$.PopupMenuEntry_String); for (t3 = type$.PopupMenuItem_String, index = 0; index < _length; ++index) { t4 = t2.$index(t1, index); t5 = t2.$index(t1, index); t6 = B.Map_HFpTk.$index(0, 700); t6.toString; _list[index] = new A.PopupMenuItem(t4, 48, new A.Text(t5, _null, new A.TextStyle(true, t6, _null, _null, _null, _null, 12, B.FontWeight_5, _null, _null, _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); } return _list; }, $signature: 137 }; A.CustomPopMenu_build_closure0.prototype = { call$1(value) { return this.$this.onSelect.call$1(value); }, $signature: 11 }; A.SplashContainer.prototype = { build$1(_, context) { var _null = null, t1 = A.DecorationImage$(B.BoxFit_2, new A.AssetImage("assets/images/splash.png", _null, _null), _null), t2 = A.Image$asset("assets/images/playstore.png", _null, _null, 130, 130), t3 = A.DraclmsTheme_heading3Style().copyWith$3$color$fontSize$fontWeight(B.Color_4294967295, 29, B.FontWeight_3); return A.Container$(_null, A.Center$(A.Column$(A._setArrayType([t2, new A.SizedBox(_null, 40, _null, _null), A.AnimatedTextKit$(A._setArrayType([A.TypewriterAnimatedText$("A Learning Platform", A.Duration$(0, 0, 0, 100, 0), t3)], type$.JSArray_AnimatedText), true)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_2, B.MainAxisSize_1, B.VerticalDirection_1), _null, _null), B.Clip_0, _null, _null, new A.BoxDecoration(_null, t1, _null, _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null); } }; A.StudentListContainer.prototype = { build$1(_, context) { var _null = null; return A.SingleChildScrollView$(A.Column$(A._setArrayType([A.Text$("All Students", _null, _null, _null, _null, A.DraclmsTheme_body1Style().copyWith$1$fontSize(12), _null, _null, _null), A.ListView$builder(_null, new A.StudentListContainer_build_closure(this), this.studentName.length, _null, _null, new A.NeverScrollableScrollPhysics(_null), B.Axis_1, true)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), this._student_list_container$_scrollController, B.DragStartBehavior_1, _null, B.EdgeInsets_0_0_0_0, _null, _null, B.Axis_1); } }; A.StudentListContainer_build_closure.prototype = { call$2(context, index) { var t1, t2, _null = null; if ($.$get$Platform_isIOS() || $.$get$Platform_isAndroid()) t1 = B.Color_4294967295; else t1 = this.$this.selectedIndex === index ? A.Color$fromARGB(B.JSNumber_methods.round$0(25.5), 76, 175, 80) : B.Color_4294967295; t2 = this.$this; return A.Card$(A.ListTile$(false, _null, _null, _null, true, _null, B.Color_0, false, A.CircleAvatar$(A.SvgPicture$asset("assets/icons/avatar.svg", _null, 20, 20), 10), new A.StudentListContainer_build__closure(t2, index), false, _null, _null, _null, _null, A.Text$(t2.studentName[index], _null, _null, _null, _null, A.DraclmsTheme_body4Style().copyWith$1$fontSize(14), _null, _null, _null), _null, _null), t1, 3, _null, _null, B.Color_0, _null); }, $signature: 147 }; A.StudentListContainer_build__closure.prototype = { call$0() { var t1 = this.$this, t2 = this.index; return t1._getSelectedStudentName.call$2(t1.studentName[t2], t2); }, $signature: 0 }; A.StudentSubmittedContainer.prototype = { build$1(_, context) { var t2, _null = null, t1 = this.content; B.JSArray_methods.insert$2(t1, 0, A.ListTile$(false, _null, _null, _null, true, _null, B.Color_0, false, A.CircleAvatar$(A.SvgPicture$asset("assets/icons/avatar.svg", _null, 40, 40), _null), _null, false, _null, _null, _null, _null, A.Text$(this._student_submitted_container$_studentName, _null, _null, _null, _null, A.DraclmsTheme_body4Style(), _null, _null, _null), _null, _null)); t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Widget>"); return A.Column$(A.List_List$of(new A.MappedListIterable(t1, new A.StudentSubmittedContainer_build_closure(), t2), true, t2._eval$1("ListIterable.E")), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A.StudentSubmittedContainer_build_closure.prototype = { call$1(e) { return e; }, $signature: 405 }; A.AES.prototype = { encrypt$2$iv(bytes, iv) { var _this = this, t1 = _this._streamCipher; if (t1 != null) { t1.reset$0(0); t1.init$2(true, _this._buildParams$1(iv)); return new A.Encrypted(t1.process$1(bytes)); } t1 = _this._cipher; t1.reset$0(0); t1.init$2(true, _this._buildParams$1(iv)); t1 = t1.process$1(bytes); return new A.Encrypted(t1); }, decrypt$2$iv(encrypted, iv) { var _this = this, t1 = _this._streamCipher; if (t1 != null) { t1.reset$0(0); t1.init$2(false, _this._buildParams$1(iv)); return t1.process$1(encrypted._encrypt$_bytes); } t1 = _this._cipher; t1.reset$0(0); t1.init$2(false, _this._buildParams$1(iv)); t1 = t1.process$1(encrypted._encrypt$_bytes); return t1; }, _buildParams$1(iv) { var t1 = this._paddedParams$1(iv); return t1; }, _paddedParams$1(iv) { return new A.PaddedBlockCipherParameters(new A.ParametersWithIV(iv._encrypt$_bytes, new A.KeyParameter(this.key._encrypt$_bytes), type$.ParametersWithIV_KeyParameter), null, type$.PaddedBlockCipherParameters_of_nullable_CipherParameters_and_nullable_CipherParameters); } }; A.AESMode.prototype = { toString$0(_) { return "AESMode." + this._core$_name; } }; A.Encrypted.prototype = { $eq(_, other) { if (other == null) return false; if (other instanceof A.Encrypted) return B.ListEquality_DefaultEquality.equals$2(this._encrypt$_bytes, other._encrypt$_bytes); return false; } }; A.IV.prototype = {}; A.Key.prototype = { get$length(_) { return this._encrypt$_bytes.byteLength; } }; A.Encrypter.prototype = { encryptBytes$2$iv(input, iv) { if (type$.Uint8List._is(input)) return this.algo.encrypt$2$iv(input, iv); return this.algo.encrypt$2$iv(new Uint8Array(A._ensureNativeList(input)), iv); } }; A.EncryptedSharedPreferences.prototype = { getInstance$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.SharedPreferences), $async$returnValue, prefs; var $async$getInstance$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.SharedPreferences_getInstance(), $async$getInstance$0); case 3: // returning from await. prefs = $async$result; $async$returnValue = prefs; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getInstance$0, $async$completer); }, _getEncrypter$1(prefs) { var t1, key, _s9_ = "randomKey", randomKey = A._asStringQ(J.$index$asx(prefs._preferenceCache, _s9_)); if (randomKey == null) { t1 = new Uint8Array(32); key = new A.Key(t1); prefs._setValue$3("String", _s9_, B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(t1)); } else key = new A.Key(B.C_Base64Decoder.convert$1(randomKey)); t1 = "AES/" + A.S(B.Map_lMzHc.$index(0, B.AESMode_6)) + "/PKCS7"; t1 = $.$get$registry().create$1$1(0, t1, type$.PaddedBlockCipher); t1 = t1; return new A.Encrypter(new A.AES(key, t1, null)); }, setString$2(key, value) { return this.setString$body$EncryptedSharedPreferences(key, value); }, setString$body$EncryptedSharedPreferences(key, value) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, prefs, encrypter, t1, ivValue, encrypted, encryptedValue, randomKeyList; var $async$setString$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($async$self.getInstance$0(), $async$setString$2); case 3: // returning from await. prefs = $async$result; encrypter = $async$self._getEncrypter$1(prefs); t1 = new Uint8Array(16); ivValue = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(t1); encrypted = encrypter.encryptBytes$2$iv(B.C_Utf8Codec.get$encoder().convert$1(value), new A.IV(t1)); encryptedValue = B.Base64Codec_Base64Encoder_false.get$encoder().convert$1(encrypted._encrypt$_bytes); randomKeyList = prefs.getStringList$1("randomKeyList"); if (randomKeyList == null) randomKeyList = A._setArrayType([], type$.JSArray_String); B.JSArray_methods.add$1(randomKeyList, ivValue); $async$goto = 4; return A._asyncAwait(prefs._setValue$3("StringList", "randomKeyList", randomKeyList), $async$setString$2); case 4: // returning from await. $async$goto = 5; return A._asyncAwait(prefs._setValue$3("String", encryptedValue, B.JSInt_methods.toString$0(randomKeyList.length - 1)), $async$setString$2); case 5: // returning from await. $async$goto = 6; return A._asyncAwait(prefs._setValue$3("String", key, encryptedValue), $async$setString$2); case 6: // 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$setString$2, $async$completer); }, getString$1(_, key) { return this.getString$body$EncryptedSharedPreferences(0, key); }, getString$body$EncryptedSharedPreferences(_, key) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$self = this, index, ivValue, encrypter, decrypted, prefs, t1, t2, encryptedValue; var $async$getString$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 = 3; return A._asyncAwait($async$self.getInstance$0(), $async$getString$1); case 3: // returning from await. prefs = $async$result; t1 = prefs._preferenceCache; t2 = J.getInterceptor$asx(t1); encryptedValue = A._asStringQ(t2.$index(t1, key)); if (encryptedValue != null) { t1 = A._asStringQ(t2.$index(t1, encryptedValue)); t1.toString; index = A.int_parse(t1, null); ivValue = prefs.getStringList$1("randomKeyList")[index]; encrypter = $async$self._getEncrypter$1(prefs); t1 = B.C_Base64Decoder.convert$1(ivValue); decrypted = B.C_Utf8Codec.decode$2$allowMalformed(0, B.NativeUint8List_methods.toList$0(encrypter.algo.decrypt$2$iv(new A.Encrypted(B.C_Base64Decoder.convert$1(encryptedValue)), new A.IV(t1))), true); } else decrypted = ""; $async$returnValue = decrypted; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getString$1, $async$completer); }, clear$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, $async$temp1; var $async$clear$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$temp1 = J; $async$goto = 3; return A._asyncAwait($async$self.getInstance$0(), $async$clear$0); case 3: // returning from await. $async$temp1.clear$0$ax($async$result._preferenceCache); $async$goto = 4; return A._asyncAwait(A.SharedPreferences__store().clear$0(0), $async$clear$0); case 4: // 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$clear$0, $async$completer); } }; A.FilePickerWeb.prototype = { pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, withData) { return this.pickFiles$body$FilePickerWeb(false, allowedExtensions, dialogTitle, type, true); }, pickFiles$3$allowedExtensions$type$withData(allowedExtensions, type, withData) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(false, allowedExtensions, null, type, withData); }, pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(allowMultiple, allowedExtensions, dialogTitle, type) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, true); }, pickFiles$body$FilePickerWeb(allowMultiple, allowedExtensions, dialogTitle, 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$allowMultiple$allowedExtensions$dialogTitle$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 == null ? null : allowedExtensions.length !== 0; t2 = t2 === true; } else t2 = false; if (t2) throw A.wrapException(A.Exception_Exception("You are setting a type [" + type.toString$0(0) + string$.x5d__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 = false; uploadInput.accept = accept; 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); B.Window_methods.addEventListener$2(window, "focus", new A.FilePickerWeb_pickFiles_cancelledEventListener(t1, filesCompleter)); J.get$children$x(A._lateReadCheck($async$self.__FilePickerWeb__target, "_target")).clear$0(0); J.get$children$x(A._lateReadCheck($async$self.__FilePickerWeb__target, "_target")).add$1(0, uploadInput); uploadInput.click(); $async$goto = 3; return A._asyncAwait(t2, $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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$allowMultiple$allowedExtensions$dialogTitle$type$withData, $async$completer); } }; A.FilePickerWeb_pickFiles_changeEventListener.prototype = { call$1(e) { var addPickedFile, t2, t3, t4, _i, file, reader, _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) { reader = new FileReader(); A._EventStreamSubscription$(reader, "loadend", new A.FilePickerWeb_pickFiles_changeEventListener_closure(addPickedFile, file, reader), false, t3); reader.readAsDataURL(file); continue; } reader = new FileReader(); A._EventStreamSubscription$(reader, "loadend", new A.FilePickerWeb_pickFiles_changeEventListener_closure0(addPickedFile, file, reader), false, t3); reader.readAsArrayBuffer(file); } }, $signature: 6 }; A.FilePickerWeb_pickFiles_changeEventListener_addPickedFile.prototype = { call$4(file, bytes, path, readStream) { var t1 = this.pickedFiles, t2 = file.name; t1.push(new A.PlatformFile(path, t2, bytes, readStream, bytes != null ? bytes.length : file.size, null)); if (t1.length >= this.files.length) this.filesCompleter.complete$1(0, t1); }, $signature: 406 }; 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: 62 }; 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: 62 }; A.FilePickerWeb_pickFiles_cancelledEventListener.prototype = { call$1(_) { B.Window_methods.removeEventListener$2(window, "focus", this); A.Future_Future$delayed(A.Duration$(0, 0, 0, 500, 0), null, type$.dynamic).then$1$1(0, new A.FilePickerWeb_pickFiles_cancelledEventListener_closure(this._box_0, this.filesCompleter), type$.Null); }, $signature: 6 }; 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: 227 }; A.FileType.prototype = { toString$0(_) { return "FileType." + this._core$_name; } }; A.FilePicker.prototype = {}; A.FilePickerIO.prototype = { pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, withData) { return this._getPath$7(type, false, true, allowedExtensions, null, withData, false); }, pickFiles$3$allowedExtensions$type$withData(allowedExtensions, type, withData) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(false, allowedExtensions, null, type, withData); }, pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(allowMultiple, allowedExtensions, dialogTitle, type) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, false); }, _getPath$7(fileType, allowMultipleSelection, allowCompression, allowedExtensions, onFileLoading, withData, withReadStream) { return this._getPath$body$FilePickerIO(fileType, false, true, allowedExtensions, onFileLoading, withData, 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, $async$next = [], 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 == null ? null : allowedExtensions.length !== 0; t1 = t1 === true; } else t1 = false; if (t1) throw A.wrapException(A.Exception_Exception("You are setting a type [" + fileType.toString$0(0) + string$.x5d__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", false, "allowedExtensions", allowedExtensions, "allowCompression", true, "withData", withData], 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.FilePickerLinux.prototype = { pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, withData) { return this.pickFiles$body$FilePickerLinux(false, allowedExtensions, dialogTitle, type, withData); }, pickFiles$3$allowedExtensions$type$withData(allowedExtensions, type, withData) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(false, allowedExtensions, null, type, withData); }, pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(allowMultiple, allowedExtensions, dialogTitle, type) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, false); }, pickFiles$body$FilePickerLinux(allowMultiple, allowedExtensions, dialogTitle, type, withData) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_FilePickerResult), $async$returnValue, $async$self = this, fileSelectionResult, executable, fileFilter, $arguments, $async$temp1; var $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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$allowMultiple$allowedExtensions$dialogTitle$type$withData); case 3: // returning from await. executable = $async$result; fileFilter = $async$self.fileTypeToFileFilter$2(type, allowedExtensions); $arguments = A._setArrayType(["--file-selection", "--title", dialogTitle == null ? "File Picker" : dialogTitle], type$.JSArray_String); if (fileFilter.length !== 0) $arguments.push("--file-filter=" + fileFilter); $async$goto = 4; return A._asyncAwait(A.runExecutableWithArguments(executable, $arguments), $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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, withData), $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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$allowMultiple$allowedExtensions$dialogTitle$type$withData, $async$completer); }, _getPathToExecutable$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], t1, exception, $async$exception; 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$goto = 7; return A._asyncAwait(A.isExecutableOnPath("qarma"), $async$_getPathToExecutable$0); 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; $async$goto = type$.Exception._is(A.unwrapException($async$exception)) ? 8 : 10; break; case 8: // then $async$goto = 11; return A._asyncAwait(A.isExecutableOnPath("zenity"), $async$_getPathToExecutable$0); case 11: // returning from await. $async$returnValue = $async$result; // goto return $async$goto = 1; break; // goto join $async$goto = 9; break; case 10: // else throw $async$exception; case 9: // 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); }, fileTypeToFileFilter$2(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return "*.aac *.midi *.mp3 *.ogg *.wav"; case 5: allowedExtensions.toString; 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) { if (B.JSString_methods.trim$0(fileSelectionResult).length === 0) return A._setArrayType([], type$.JSArray_String); return A._setArrayType(fileSelectionResult.split("|"), type$.JSArray_String); } }; A.FilePickerMacOS.prototype = { pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, withData) { return this.pickFiles$body$FilePickerMacOS(false, allowedExtensions, dialogTitle, type, withData); }, pickFiles$3$allowedExtensions$type$withData(allowedExtensions, type, withData) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(false, allowedExtensions, null, type, withData); }, pickFiles$4$allowMultiple$allowedExtensions$dialogTitle$type(allowMultiple, allowedExtensions, dialogTitle, type) { return this.pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$type$withData(allowMultiple, allowedExtensions, dialogTitle, type, false); }, pickFiles$body$FilePickerMacOS(allowMultiple, allowedExtensions, dialogTitle, 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$allowMultiple$allowedExtensions$dialogTitle$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$allowMultiple$allowedExtensions$dialogTitle$type$withData); case 3: // returning from await. executable = $async$result; fileFilter = $async$self.fileTypeToFileFilter$2(type, allowedExtensions); t1 = dialogTitle == null ? "File Picker" : dialogTitle; t1 = A.stringReplaceAllUnchecked(t1, "\\", "\\\\"); t1 = A.stringReplaceAllUnchecked(t1, '"', '\\"'); t1 = A.stringReplaceAllUnchecked(t1, "\n", "\\\n"); $arguments = A._setArrayType(["-e"], type$.JSArray_String); argument = "choose file " + ("of type {" + fileFilter + "} "); $arguments.push(argument + ('with prompt "' + t1 + '"')); $async$goto = 4; return A._asyncAwait(A.runExecutableWithArguments(executable, $arguments), $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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, withData), $async$pickFiles$5$allowMultiple$allowedExtensions$dialogTitle$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$allowMultiple$allowedExtensions$dialogTitle$type$withData, $async$completer); }, fileTypeToFileFilter$2(type, allowedExtensions) { switch (type.index) { case 0: return ""; case 4: return '"aac", "midi", "mp3", "ogg", "wav"'; case 5: allowedExtensions.toString; 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: 35 }; A.FilePickerMacOS_resultStringToFilePaths_closure0.prototype = { call$1(path) { return path.length !== 0; }, $signature: 17 }; 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: 35 }; A.FilePickerMacOS_resultStringToFilePaths__closure.prototype = { call$1(e) { return e.length !== 0; }, $signature: 17 }; A.FilePickerResult.prototype = { $eq(_, other) { if (other == null) return false; if (this === other) return true; return other instanceof A.FilePickerResult && A.listEquals0(other.files, this.files); }, get$hashCode(_) { return J.get$hashCode$(this.files); }, toString$0(_) { return "FilePickerResult(files: " + A.S(this.files) + ")"; } }; 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 + ")"; }, get$name(receiver) { return this.name; } }; A.filePathsToPlatformFiles_closure.prototype = { call$1(filePath) { return filePath.length !== 0; }, $signature: 17 }; 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: 407 }; A.ColorIndicator.prototype = { createState$0() { return new A._ColorIndicatorState(B._StateLifecycle_0); } }; A._ColorIndicatorState.prototype = { initState$0() { this.___ColorIndicatorState__focusNode = A.FocusNode$(true, null, true, null, null, false); this.super$State$initState(); }, didUpdateWidget$1(oldWidget) { var t1 = this._widget; if (t1.isSelected && t1.selectedRequestsFocus && !oldWidget.isSelected) A._lateReadCheck(this.___ColorIndicatorState__focusNode, "_focusNode").requestFocus$0(); this.super$State$didUpdateWidget(oldWidget); }, dispose$0(_) { A._lateReadCheck(this.___ColorIndicatorState__focusNode, "_focusNode").dispose$0(0); this.super$State$dispose(0); }, build$1(_, context) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, _isLight = A.ThemeData_estimateBrightnessForColor(_this._widget.color) === B.Brightness_1, _iconColor = _isLight ? B.Color_4278190080 : B.Color_4294967295; _this._widget.toString; A.Theme_of(context); t1 = _this._widget; t2 = t1.color; t3 = t1.elevation; t4 = A.BorderRadius$circular(t1.borderRadius); t5 = t1.width; t1 = t1.height; t6 = A._lateReadCheck(_this.___ColorIndicatorState__focusNode, "_focusNode"); t7 = _this._widget.isSelected; if (t7) t8 = B.Color_0; else t8 = _isLight ? B.Color_1107296256 : B.Color_1308622847; t7 = t7 ? B.Color_0 : A.Theme_of(context).highlightColor; t9 = _isLight ? B.Color_1107296256 : B.Color_1308622847; t10 = _this._widget; if (t10.isSelected) { t11 = t10.selectedIcon; t12 = t10.width; t10 = t10.height; t10 = A.Icon$(t11, _iconColor, t12 < t10 ? t12 * 0.6 : t10 * 0.6); } else t10 = _null; return A.Material$(B.Duration_200000, true, _null, new A.SizedBox(t5, t1, A.InkWell$(false, _null, true, t10, _null, true, t8, t6, t7, t9, new A.UniqueKey(), _null, _null, _null, _null, _null, _null, new A._ColorIndicatorState_build_closure(_this), _null, _null, _null, _null, _null, _null), _null), B.Clip_2, t2, t3, _null, _null, new A.RoundedRectangleBorder(t4, B.BorderSide_0CF), _null, B.MaterialType_1); } }; A._ColorIndicatorState_build_closure.prototype = { call$0() { var t1 = this.$this; t1._widget.onSelect.call$0(); t1._widget.toString; t1 = A._lateReadCheck(t1.___ColorIndicatorState__focusNode, "_focusNode"); t1.requestFocus$0(); }, $signature: 0 }; A.ColorPicker.prototype = { createState$0() { return new A._ColorPickerState(B._StateLifecycle_0); }, onColorChanged$1(arg0) { return this.onColorChanged.call$1(arg0); } }; A._ColorPickerState.prototype = { get$_typeToSwatchMap() { return A._lateReadCheck(this.___ColorPickerState__typeToSwatchMap, "_typeToSwatchMap"); }, initState$0() { var t1, t2, t3, t4, t5, t6, t7, _this = this, _null = null; _this.super$State$initState(); t1 = _this._widget.color; t1 = A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); _this.___ColorPickerState__selectedColor = t1; _this._widget.toString; _this.___ColorPickerState__opacity = 1; t1 = B.Map_ECiYu.$index(0, B.ColorPickerType_0); if (t1 == null) t1 = "Primary & Accent"; _this._widget.toString; t2 = B.Map_ECiYu.$index(0, B.ColorPickerType_1); if (t2 == null) t2 = "Primary"; _this._widget.toString; t3 = B.Map_ECiYu.$index(0, B.ColorPickerType_2); if (t3 == null) t3 = "Accent"; _this._widget.toString; t4 = B.Map_ECiYu.$index(0, B.ColorPickerType_3); if (t4 == null) t4 = "Black & White"; _this._widget.toString; t5 = B.Map_ECiYu.$index(0, B.ColorPickerType_4); if (t5 == null) t5 = "Custom"; _this._widget.toString; t6 = B.Map_ECiYu.$index(0, B.ColorPickerType_5); if (t6 == null) t6 = "Wheel"; t7 = type$.ColorPickerType; _this.___ColorPickerState__pickerLabels = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, t1, B.ColorPickerType_1, t2, B.ColorPickerType_2, t3, B.ColorPickerType_3, t4, B.ColorPickerType_4, t5, B.ColorPickerType_5, t6], t7, type$.String); _this._widget.toString; t6 = J.toList$0$ax(B.Map_empty6.get$keys(B.Map_empty6)); t5 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, "_selectedColor"); _this.___ColorPickerState__typeToSwatchMap = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, B.List_ae8, B.ColorPickerType_1, B.List_qg2, B.ColorPickerType_2, B.List_MHo, B.ColorPickerType_3, B.List_ckJ, B.ColorPickerType_4, t6, B.ColorPickerType_5, A._setArrayType([A.ColorTools_primarySwatch(A.Color$fromARGB(255, t5.get$value(t5) >>> 16 & 255, t5.get$value(t5) >>> 8 & 255, t5.get$value(t5) & 255))], type$.JSArray_ColorSwatch_Object)], t7, type$.List_ColorSwatch_Object); t5 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_0); t1 = t5 == null ? false : t5; t2 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_1); if (t2 == null) t2 = true; t3 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_2); if (t3 == null) t3 = true; t4 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_3); if (t4 == null) t4 = false; t5 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_4); if (t5 == null ? false : t5) { _this._widget.toString; t5 = B.Map_empty6.get$isNotEmpty(B.Map_empty6); } else t5 = false; t6 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_5); _this.___ColorPickerState__pickers = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, t1, B.ColorPickerType_1, t2, B.ColorPickerType_2, t3, B.ColorPickerType_3, t4, B.ColorPickerType_4, t5, B.ColorPickerType_5, t6 == null ? false : t6], t7, type$.bool); _this.___ColorPickerState__focusNode = A.FocusNode$(true, _null, true, _null, _null, false); _this.___ColorPickerState__pickerFocusNode = A.FocusNode$(true, _null, true, _null, _null, false); _this.___ColorPickerState__opacityFocusNode = A.FocusNode$(true, _null, true, _null, _null, false); _this._editShouldUpdate = _this._wheelShouldUpdate = true; _this._widget.toString; _this._wheelShouldFocus = false; _this.___ColorPickerState__recentColors = A.List_List$of(B.List_empty13, true, type$.Color); _this._findPicker$0(); _this._updateActiveSwatch$0(); }, didUpdateWidget$1(oldWidget) { var t1, t2, t3, t4, t5, t6, t7, _shouldFindPickerAndSwatch, _this = this, _s14_ = "_selectedColor"; _this._widget.toString; if (!A.mapEquals(B.Map_ECiYu, B.Map_ECiYu)) { _this._widget.toString; t1 = B.Map_ECiYu.$index(0, B.ColorPickerType_0); if (t1 == null) t1 = "Primary & Accent"; _this._widget.toString; t2 = B.Map_ECiYu.$index(0, B.ColorPickerType_1); if (t2 == null) t2 = "Primary"; _this._widget.toString; t3 = B.Map_ECiYu.$index(0, B.ColorPickerType_2); if (t3 == null) t3 = "Accent"; _this._widget.toString; t4 = B.Map_ECiYu.$index(0, B.ColorPickerType_3); if (t4 == null) t4 = "Black & White"; _this._widget.toString; t5 = B.Map_ECiYu.$index(0, B.ColorPickerType_4); if (t5 == null) t5 = "Custom"; _this._widget.toString; t6 = B.Map_ECiYu.$index(0, B.ColorPickerType_5); _this.___ColorPickerState__pickerLabels = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, t1, B.ColorPickerType_1, t2, B.ColorPickerType_2, t3, B.ColorPickerType_3, t4, B.ColorPickerType_4, t5, B.ColorPickerType_5, t6 == null ? "Wheel" : t6], type$.ColorPickerType, type$.String); } _this._widget.toString; if (B.Map_empty6.toString$0(0) !== B.Map_empty6.toString$0(0) || !A.mapEquals(_this._widget.pickersEnabled, oldWidget.pickersEnabled)) { _this._widget.toString; t1 = J.toList$0$ax(B.Map_empty6.get$keys(B.Map_empty6)); t2 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t3 = type$.ColorPickerType; _this.___ColorPickerState__typeToSwatchMap = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, B.List_ae8, B.ColorPickerType_1, B.List_qg2, B.ColorPickerType_2, B.List_MHo, B.ColorPickerType_3, B.List_ckJ, B.ColorPickerType_4, t1, B.ColorPickerType_5, A._setArrayType([A.ColorTools_primarySwatch(A.Color$fromARGB(255, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255))], type$.JSArray_ColorSwatch_Object)], t3, type$.List_ColorSwatch_Object); t2 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_0); t1 = t2 == null ? false : t2; t2 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_1); if (t2 == null) t2 = true; t4 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_2); if (t4 == null) t4 = true; t5 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_3); if (t5 == null) t5 = false; t6 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_4); if (t6 == null ? false : t6) { _this._widget.toString; t6 = B.Map_empty6.get$isNotEmpty(B.Map_empty6); } else t6 = false; t7 = _this._widget.pickersEnabled.$index(0, B.ColorPickerType_5); _this.___ColorPickerState__pickers = A.LinkedHashMap_LinkedHashMap$_literal([B.ColorPickerType_0, t1, B.ColorPickerType_1, t2, B.ColorPickerType_2, t4, B.ColorPickerType_3, t5, B.ColorPickerType_4, t6, B.ColorPickerType_5, t7 == null ? false : t7], t3, type$.bool); _shouldFindPickerAndSwatch = true; } else _shouldFindPickerAndSwatch = false; _this._widget.toString; if (!A.listEquals0(B.List_empty13, A._lateReadCheck(_this.___ColorPickerState__recentColors, "_recentColors"))) { _this._widget.toString; _this.___ColorPickerState__recentColors = A.List_List$of(B.List_empty13, true, type$.Color); } if (!_this._widget.color.$eq(0, A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_))) { t1 = _this._widget.color; t1 = A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); _this.___ColorPickerState__selectedColor = t1; _this._widget.toString; _this.___ColorPickerState__opacity = 1; t1 = _this.get$_typeToSwatchMap(); t2 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t1.$indexSet(0, B.ColorPickerType_5, A._setArrayType([A.ColorTools_createPrimarySwatch(A.Color$fromARGB(255, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255))], type$.JSArray_ColorSwatch_Object)); _shouldFindPickerAndSwatch = _this._editShouldUpdate = _this._wheelShouldUpdate = true; } if (_shouldFindPickerAndSwatch) { _this._findPicker$0(); _this._updateActiveSwatch$0(); } _this.super$State$didUpdateWidget(oldWidget); }, _findPicker$0() { var t1, t2, t3, _this = this, _s8_ = "_pickers"; _this._selectedShouldFocus = true; t1 = J.get$values$x(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_)).fold$2(0, 0, new A._ColorPickerState__findPicker_closure()) > 1; _this._usePickerSelector = t1; if (t1) { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, "_selectedColor"); t1 = A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); t2 = _this.get$_typeToSwatchMap(); t3 = A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_); _this._widget.toString; t2 = _this.___ColorPickerState__activePicker = A.findColorInSelector(t1, false, true, t3, t2); t1 = t2; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_0); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_0; t1 = B.ColorPickerType_0; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_1); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_1; t1 = B.ColorPickerType_1; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_2); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_2; t1 = B.ColorPickerType_2; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_3); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_3; t1 = B.ColorPickerType_3; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_4); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_4; t1 = B.ColorPickerType_4; } else { t1 = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__pickers, _s8_), B.ColorPickerType_5); t1.toString; if (t1) { _this.___ColorPickerState__activePicker = B.ColorPickerType_5; t1 = B.ColorPickerType_5; } else { _this.___ColorPickerState__activePicker = B.ColorPickerType_1; t1 = B.ColorPickerType_1; } } } } } } } if (A._lateReadCheck(t1, "_activePicker") === B.ColorPickerType_5) _this._widget.toString; }, _updateActiveSwatch$0() { var t1, t2, _this = this, _s13_ = "_activePicker", _s14_ = "_selectedColor", _s22_ = "_activeColorSwatchList"; if (A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_) !== B.ColorPickerType_5) { t1 = _this.get$_typeToSwatchMap().$index(0, A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_)); t1.toString; _this.___ColorPickerState__activeColorSwatchList = t1; t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t1 = A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); t2 = A._lateReadCheck(_this.___ColorPickerState__activeColorSwatchList, _s22_); _this._widget.toString; t2 = _this._activeSwatch = type$.nullable_ColorSwatch_Object._as(A.findColorSwatch(t1, t2, false)); t1 = t2; } else { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); if (A.ColorTools_isAccentColor(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255))) { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t1 = A.ColorTools_accentSwatch(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); _this._activeSwatch = t1; } else { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); if (A.ColorTools_isPrimaryColor(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255))) { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t1 = A.ColorTools_primarySwatch(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); _this._activeSwatch = t1; } else { t1 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t1 = A.ColorTools_isBlackAndWhiteColor(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); t2 = _this.___ColorPickerState__selectedColor; if (t1) { t1 = A._lateReadCheck(t2, _s14_); t1 = A.ColorTools_blackAndWhiteSwatch(A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); _this._activeSwatch = t1; } else { t1 = A._lateReadCheck(t2, _s14_); t1 = A.Color$fromARGB(255, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); _this._widget.toString; t1 = A.ColorTools_customSwatch(t1, B.Map_empty6); _this._activeSwatch = t1; } } } } if (t1 == null) _this._activeSwatch = J.$index$asx(A._lateReadCheck(_this.___ColorPickerState__activeColorSwatchList, _s22_), 0); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.___ColorPickerState__focusNode, "_focusNode").dispose$0(0); A._lateReadCheck(_this.___ColorPickerState__pickerFocusNode, "_pickerFocusNode").dispose$0(0); A._lateReadCheck(_this.___ColorPickerState__opacityFocusNode, "_opacityFocusNode").dispose$0(0); _this.super$State$dispose(0); }, build$1(_, context) { var t1, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, _s13_ = "_activePicker", _s14_ = "_selectedColor"; _this._widget.toString; A.Theme_of(context); _this._widget.toString; A.Theme_of(context); _this._widget.toString; A.Theme_of(context); _this._widget.toString; t1 = A._lateReadCheck(_this.___ColorPickerState__focusNode, "_focusNode"); _this._widget.toString; t2 = type$.JSArray_Widget; t3 = A._setArrayType([], t2); t4 = _this._widget; t5 = t4.title; t3.push(new A.Padding(new A.EdgeInsets(0, 0, 0, 8), new A.ColorPickerToolbar(t5, _null, _null, _null, _null, t4.actionButtons, t4.copyPasteBehavior, true, _null), _null)); _this._widget.toString; if (_this._usePickerSelector) { t4 = A._lateReadCheck(_this.___ColorPickerState__pickerFocusNode, "_pickerFocusNode"); t5 = A._lateReadCheck(_this.___ColorPickerState__pickers, "_pickers"); t6 = A._lateReadCheck(_this.___ColorPickerState__pickerLabels, "_pickerLabels"); t7 = A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_); _this._widget.toString; t3.push(A.Focus$(false, _null, new A.SelectPicker(t5, t6, t7, new A._ColorPickerState_build_closure(_this), _null, _null, 8, _null), _null, _null, t4, true, _null, _null, new A._ColorPickerState_build_closure0(_this), _null, _null)); } if (_this._usePickerSelector) t3.push(B.SizedBox_null_4_null_null); if (A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_) !== B.ColorPickerType_5) { t4 = _this._widget; t5 = t4.spacing; t4 = t4.runSpacing; t6 = A._lateReadCheck(_this.___ColorPickerState__activeColorSwatchList, "_activeColorSwatchList"); t7 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t7 = A.Color$fromARGB(255, t7.get$value(t7) >>> 16 & 255, t7.get$value(t7) >>> 8 & 255, t7.get$value(t7) & 255); t8 = _this._widget; t3.push(new A.MainColors(t5, t4, 8, t6, t7, _this.get$_onSelectColor(), false, t8.width, t8.height, t8.borderRadius, false, _null, 0, B.IconData_57686_MaterialIcons_null_false, _this._selectedShouldFocus, _null)); } if (A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_) === B.ColorPickerType_5) { t4 = _this._widget.wheelDiameter; t5 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t5 = A.Color$fromARGB(255, t5.get$value(t5) >>> 16 & 255, t5.get$value(t5) >>> 8 & 255, t5.get$value(t5) & 255); _this._widget.toString; t3.push(new A.Padding(new A.EdgeInsets(0, 0, 0, 8), new A.SizedBox(t4, t4, new A.ColorWheelPicker(t5, new A._ColorPickerState_build_closure1(_this), new A._ColorPickerState_build_closure2(_this), new A._ColorPickerState_build_closure3(_this), new A._ColorPickerState_build_closure4(_this), 16, false, _null, _this._wheelShouldUpdate, _this._wheelShouldFocus, _null), _null), _null)); } t4 = _this._widget; t5 = t4.spacing; t4 = t4.runSpacing; t6 = _this._activeSwatch; t6.toString; t7 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); t7 = A.Color$fromARGB(255, t7.get$value(t7) >>> 16 & 255, t7.get$value(t7) >>> 8 & 255, t7.get$value(t7) & 255); t8 = _this._widget; t3.push(new A.ShadeColors(t5, t4, 8, t6, t7, new A._ColorPickerState_build_closure5(_this), false, t8.width, t8.height, t8.borderRadius, false, _null, 0, B.IconData_57686_MaterialIcons_null_false, _this._selectedShouldFocus, _null)); _this._widget.toString; t2 = A._setArrayType([], t2); _this._widget.toString; t4 = A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_); if (A._lateReadCheck(_this.___ColorPickerState__activePicker, _s13_) === B.ColorPickerType_5) { _this._widget.toString; t5 = false; } else t5 = true; t6 = _this._widget; t7 = _this._editShouldUpdate; t2.push(new A.ColorCodeField(t4, t5, new A._ColorPickerState_build_closure6(_this), new A._ColorPickerState_build_closure7(_this), _null, _null, true, t6.copyPasteBehavior, true, t7, _null)); _this._widget.toString; t3.push(new A.Padding(new A.EdgeInsets(0, 0, 0, 8), A.Wrap$(B.WrapAlignment_2, t2, B.WrapCrossAlignment_2, B.WrapAlignment_2, 0, 0), _null)); _this._widget.toString; return new A.RawKeyboardListener(t1, true, _this.get$_handleKeyEvent(), new A.IfWrapper(false, new A._ColorPickerState_build_closure8(_this), new A.Padding(B.EdgeInsets_16_16_16_16, A.Column$(t3, B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null), _null); }, _onSelectColor$3$findPicker$keepOpacity(color, findPicker, keepOpacity) { var t1, _this = this, _s14_ = "_selectedColor"; _this._widget.toString; _this._addToRecentColors$1(A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_)); _this.setState$1(new A._ColorPickerState__onSelectColor_closure(_this, keepOpacity, color, findPicker)); t1 = _this._widget; t1.toString; t1.onColorChanged$1(A._lateReadCheck(_this.___ColorPickerState__selectedColor, _s14_)); _this._widget.toString; }, _onSelectColor$1(color) { return this._onSelectColor$3$findPicker$keepOpacity(color, false, false); }, _addToRecentColors$1(color) { this._widget.toString; return; }, _handleKeyEvent$1($event) { var t1, t2, platform, t3, isModifierPressed, _this = this; if (_this._editCodeFocused) { _this._widget.toString; t1 = true; } else t1 = false; if (t1) return; t1 = $event.data; t2 = _this._framework$_element; t2.toString; platform = A.Theme_of(t2).platform; if (t1 instanceof A.RawKeyEventDataMacOs || t1 instanceof A.RawKeyEventDataIos || platform === B.TargetPlatform_2 || platform === B.TargetPlatform_4) { t2 = $.$get$RawKeyboard_instance()._keysPressed; t3 = t2.get$values(t2); if (!A.LinkedHashSet_LinkedHashSet$of(t3, A._instanceType(t3)._eval$1("Iterable.E")).contains$1(0, B.LogicalKeyboardKey_8589934854)) { t2 = t2.get$values(t2); t2 = A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E")).contains$1(0, B.LogicalKeyboardKey_8589934855); isModifierPressed = t2; } else isModifierPressed = true; } else { t2 = $.$get$RawKeyboard_instance()._keysPressed; t3 = t2.get$values(t2); if (!A.LinkedHashSet_LinkedHashSet$of(t3, A._instanceType(t3)._eval$1("Iterable.E")).contains$1(0, B.LogicalKeyboardKey_8589934848)) { t2 = t2.get$values(t2); t2 = A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E")).contains$1(0, B.LogicalKeyboardKey_8589934849); isModifierPressed = t2; } else isModifierPressed = true; } if (A.getRuntimeType($event) === B.Type_RawKeyDownEvent_kes) { if (!t1.get$logicalKey().$eq(0, B.LogicalKeyboardKey_4294968328)) t2 = isModifierPressed && t1.get$logicalKey().$eq(0, B.LogicalKeyboardKey_118); else t2 = true; if (t2) { _this._widget.toString; t2 = true; } else t2 = false; if (t2) _this._getClipboard$0(); if (!t1.get$logicalKey().$eq(0, B.LogicalKeyboardKey_4294968322)) t1 = isModifierPressed && t1.get$logicalKey().$eq(0, B.LogicalKeyboardKey_99); else t1 = true; if (t1) { _this._widget.toString; t1 = true; } else t1 = false; if (t1) _this._color_picker$_setClipboard$0(); } }, _getClipboard$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, clipColor, t1, data; var $async$_getClipboard$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.Clipboard_getData("text/plain"), $async$_getClipboard$0); case 3: // returning from await. data = $async$result; if (data == null) { // goto return $async$goto = 1; break; } clipColor = A.FlexPickerNullableStringExtensions_toColorShortMaybeNull(data.text, $async$self._widget.copyPasteBehavior.parseShortHexCode); $async$goto = clipColor != null ? 4 : 6; break; case 4: // then $async$self._widget.toString; $async$self._addToRecentColors$1(A._lateReadCheck($async$self.___ColorPickerState__selectedColor, "_selectedColor")); $async$goto = 7; return A._asyncAwait(A.Future_Future$delayed(B.Duration_100000, null, type$.void), $async$_getClipboard$0); case 7: // returning from await. $async$self.setState$1(new A._ColorPickerState__getClipboard_closure($async$self, clipColor)); t1 = $async$self._widget; t1.toString; t1.onColorChanged$1(A._lateReadCheck($async$self.___ColorPickerState__selectedColor, "_selectedColor")); $async$self._widget.toString; // goto join $async$goto = 5; break; case 6: // else $async$self._widget.toString; case 5: // join case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_getClipboard$0, $async$completer); }, _color_picker$_setClipboard$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, colorString; var $async$_color_picker$_setClipboard$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._widget.toString; switch (0) { case 0: colorString = "0x" + A.FlexPickerNoNullColorExtensions_get_hexAlpha(A._lateReadCheck($async$self.___ColorPickerState__selectedColor, "_selectedColor")); break; } $async$goto = 2; return A._asyncAwait(A.Clipboard_setData(new A.ClipboardData(colorString)), $async$_color_picker$_setClipboard$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_color_picker$_setClipboard$0, $async$completer); } }; A._ColorPickerState__findPicker_closure.prototype = { call$2(t, e) { return t + (e ? 1 : 0); }, $signature: 410 }; A._ColorPickerState_build_closure8.prototype = { call$2(context, child) { var t1 = this.$this; t1._widget.toString; return new A.ContextCopyPasteMenu(false, false, false, false, new A._ColorPickerState_build__closure(t1), new A._ColorPickerState_build__closure0(t1), child, null); }, $signature: 411 }; A._ColorPickerState_build__closure.prototype = { call$1(value) { if (value === B.CopyPasteCommands_0) this.$this._color_picker$_setClipboard$0(); if (value === B.CopyPasteCommands_1) this.$this._getClipboard$0(); }, $signature: 412 }; A._ColorPickerState_build__closure0.prototype = { call$0() { var t1 = this.$this; if (t1._onWheel) { t1._widget.toString; t1.setState$1(new A._ColorPickerState_build___closure(t1)); } }, $signature: 0 }; A._ColorPickerState_build___closure.prototype = { call$0() { this.$this._onWheel = false; }, $signature: 0 }; A._ColorPickerState_build_closure0.prototype = { call$2(node, $event) { this.$this._handleKeyEvent$1($event); return B.KeyEventResult_1; }, $signature: 149 }; A._ColorPickerState_build_closure.prototype = { call$1(value) { var t1 = this.$this; A._lateReadCheck(t1.___ColorPickerState__pickerFocusNode, "_pickerFocusNode").requestFocus$0(); t1.setState$1(new A._ColorPickerState_build__closure6(t1, value)); }, $signature: 414 }; A._ColorPickerState_build__closure6.prototype = { call$0() { var t1 = this.$this, t2 = this.value; t1.___ColorPickerState__activePicker = t2; t1._selectedShouldFocus = true; if (A._lateReadCheck(t2, "_activePicker") === B.ColorPickerType_5) t1._widget.toString; t1._updateActiveSwatch$0(); }, $signature: 0 }; A._ColorPickerState_build_closure2.prototype = { call$1(color) { var t2, t1 = this.$this; t1._widget.toString; t2 = color.value; t1._addToRecentColors$1(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(t1.___ColorPickerState__opacity, "_opacity")), t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255)); }, $signature: 78 }; A._ColorPickerState_build_closure1.prototype = { call$1(color) { var t2, t1 = this.$this; t1.setState$1(new A._ColorPickerState_build__closure5(t1, color)); t2 = t1._widget; t2.toString; t2.onColorChanged$1(A._lateReadCheck(t1.___ColorPickerState__selectedColor, "_selectedColor")); }, $signature: 78 }; A._ColorPickerState_build__closure5.prototype = { call$0() { var t1 = this.$this, t2 = this.color.value; t1.___ColorPickerState__selectedColor = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(t1.___ColorPickerState__opacity, "_opacity")), t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); t1._wheelShouldUpdate = false; t1._selectedShouldFocus = t1._editShouldUpdate = true; t1._wheelShouldFocus = false; t1._updateActiveSwatch$0(); }, $signature: 0 }; A._ColorPickerState_build_closure3.prototype = { call$1(color) { this.$this._widget.toString; }, $signature: 78 }; A._ColorPickerState_build_closure4.prototype = { call$1(value) { var t1 = this.$this; t1.setState$1(new A._ColorPickerState_build__closure4(t1, value)); }, $signature: 14 }; A._ColorPickerState_build__closure4.prototype = { call$0() { this.$this._onWheel = this.value; }, $signature: 0 }; A._ColorPickerState_build_closure5.prototype = { call$1(color) { var t1 = this.$this; t1._onSelectColor$1(color); if (A._lateReadCheck(t1.___ColorPickerState__activePicker, "_activePicker") === B.ColorPickerType_5) t1.setState$1(new A._ColorPickerState_build__closure3(t1)); }, $signature: 78 }; A._ColorPickerState_build__closure3.prototype = { call$0() { this.$this._selectedShouldFocus = true; }, $signature: 0 }; A._ColorPickerState_build_closure6.prototype = { call$1(color) { var t2, t1 = this.$this; t1._widget.toString; t1.setState$1(new A._ColorPickerState_build__closure2(t1, color)); t2 = t1._widget; t2.toString; t2.onColorChanged$1(A._lateReadCheck(t1.___ColorPickerState__selectedColor, "_selectedColor")); t1._widget.toString; t1._addToRecentColors$1(color); }, $signature: 78 }; A._ColorPickerState_build__closure2.prototype = { call$0() { var t1 = this.$this, t2 = this.color; t1.___ColorPickerState__selectedColor = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(t1.___ColorPickerState__opacity, "_opacity")), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); t1._wheelShouldUpdate = true; t1._editShouldUpdate = false; t1._updateActiveSwatch$0(); }, $signature: 0 }; A._ColorPickerState_build_closure7.prototype = { call$1(editInFocus) { var t1 = this.$this; t1.setState$1(new A._ColorPickerState_build__closure1(t1, editInFocus)); }, $signature: 14 }; A._ColorPickerState_build__closure1.prototype = { call$0() { var t1 = this.$this, t2 = this.editInFocus; t1._editCodeFocused = t2; if (t2) t1._wheelShouldFocus = t1._selectedShouldFocus = false; }, $signature: 0 }; A._ColorPickerState__onSelectColor_closure.prototype = { call$0() { var t4, _this = this, _s14_ = "_selectedColor", t1 = _this.$this, t2 = _this.keepOpacity, t3 = _this.color; t1.___ColorPickerState__selectedColor = t2 ? t3 : A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(t1.___ColorPickerState__opacity, "_opacity")), t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255); if (t2) t1._widget.toString; t1._wheelShouldFocus = t1._selectedShouldFocus = false; t2 = t1._editShouldUpdate = t1._wheelShouldUpdate = true; if (_this.findPicker) { t3 = t1.get$_typeToSwatchMap(); t4 = A._lateReadCheck(t1.___ColorPickerState__selectedColor, _s14_); t3.$indexSet(0, B.ColorPickerType_5, A._setArrayType([A.ColorTools_createPrimarySwatch(A.Color$fromARGB(255, t4.get$value(t4) >>> 16 & 255, t4.get$value(t4) >>> 8 & 255, t4.get$value(t4) & 255))], type$.JSArray_ColorSwatch_Object)); t1._findPicker$0(); } if (A._lateReadCheck(t1.___ColorPickerState__activePicker, "_activePicker") === B.ColorPickerType_5) { t2 = t1._activeSwatch; t2.toString; t2 = !A.ColorTools_swatchContainsColor(t2, A._lateReadCheck(t1.___ColorPickerState__selectedColor, _s14_)); } if (t2) t1._updateActiveSwatch$0(); }, $signature: 0 }; A._ColorPickerState__getClipboard_closure.prototype = { call$0() { var t2, t3, t1 = this.$this; t1._widget.toString; t2 = this.clipColor.value; t2 = A.Color$fromARGB(255, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); t1.___ColorPickerState__selectedColor = t2; t1.___ColorPickerState__opacity = 1; t1._editShouldUpdate = t1._wheelShouldUpdate = true; t2 = t1.get$_typeToSwatchMap(); t3 = A._lateReadCheck(t1.___ColorPickerState__selectedColor, "_selectedColor"); t2.$indexSet(0, B.ColorPickerType_5, A._setArrayType([A.ColorTools_createPrimarySwatch(A.Color$fromARGB(255, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255))], type$.JSArray_ColorSwatch_Object)); t1._findPicker$0(); t1._updateActiveSwatch$0(); }, $signature: 0 }; A._ColorName.prototype = {}; A.ColorWheelPicker.prototype = { createState$0() { return new A._ColorWheelPickerState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); }, onWheel$1($receiver, arg0) { return this.onWheel.call$1(arg0); } }; A._ColorWheelPickerState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); _this.___ColorWheelPickerState_colorHue = A.HSVColor_HSVColor$fromColor(_this._widget.color).hue; _this.___ColorWheelPickerState_colorSaturation = A.HSVColor_HSVColor$fromColor(_this._widget.color).saturation; _this.___ColorWheelPickerState_colorValue = A.HSVColor_HSVColor$fromColor(_this._widget.color).value; _this.___ColorWheelPickerState__focusNode = A.FocusNode$(true, null, true, null, null, false); }, dispose$0(_) { A._lateReadCheck(this.___ColorWheelPickerState__focusNode, "_focusNode").dispose$0(0); this.super$State$dispose(0); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.shouldRequestsFocus && !oldWidget.shouldRequestsFocus) A._lateReadCheck(_this.___ColorWheelPickerState__focusNode, "_focusNode").requestFocus$0(); t1 = _this._widget; if (t1.shouldUpdate) { if (A.HSVColor_HSVColor$fromColor(t1.color).hue !== A._lateReadCheck(_this.___ColorWheelPickerState_colorHue, "colorHue")) _this.___ColorWheelPickerState_colorHue = A.HSVColor_HSVColor$fromColor(_this._widget.color).hue; if (A.HSVColor_HSVColor$fromColor(_this._widget.color).saturation !== A._lateReadCheck(_this.___ColorWheelPickerState_colorSaturation, "colorSaturation")) _this.___ColorWheelPickerState_colorSaturation = A.HSVColor_HSVColor$fromColor(_this._widget.color).saturation; if (A.HSVColor_HSVColor$fromColor(_this._widget.color).value !== A._lateReadCheck(_this.___ColorWheelPickerState_colorValue, "colorValue")) _this.___ColorWheelPickerState_colorValue = A.HSVColor_HSVColor$fromColor(_this._widget.color).value; } }, wheelRadius$1(size) { return Math.min(size._dx, size._dy) / 2 - this._widget.wheelWidth; }, squareRadius$1(radius) { return (radius - this._widget.wheelWidth / 2) / Math.sqrt(2); }, onUpdate$1(offset) { var t2, _squareRadius, _vector, _this = this, _s8_ = "colorHue", _s15_ = "colorSaturation", _s10_ = "colorValue", t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this.renderBoxKey).get$renderObject(); t1.toString; type$.RenderBox._as(t1); t2 = t1._size; t2.toString; _squareRadius = _this.squareRadius$1(_this.wheelRadius$1(t2)); _vector = offset.$sub(0, A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, null), B.Offset_0_0)).$sub(0, new A.Offset(t2._dx / 2, t2._dy / 2)); _this._widget.onWheel$1(0, true); if (_this.isSquare) { _this.___ColorWheelPickerState_colorSaturation = B.JSNumber_methods.clamp$2(_vector._dx * 0.5 / _squareRadius + 0.5, 0, 1); _this.___ColorWheelPickerState_colorValue = B.JSNumber_methods.clamp$2(0.5 - _vector._dy * 0.5 / _squareRadius, 0, 1); t1 = _this._widget; t1.onChanged$1(new A.HSVColor(A.HSVColor_HSVColor$fromColor(t1.color).alpha, A._lateReadCheck(_this.___ColorWheelPickerState_colorHue, _s8_), A._lateReadCheck(_this.___ColorWheelPickerState_colorSaturation, _s15_), A._lateReadCheck(_this.___ColorWheelPickerState_colorValue, _s10_)).toColor$0()); } else { _this.___ColorWheelPickerState_colorHue = A._Wheel_vectorToHue(_vector); t1 = _this._widget; t1.onChanged$1(new A.HSVColor(A.HSVColor_HSVColor$fromColor(t1.color).alpha, A._lateReadCheck(_this.___ColorWheelPickerState_colorHue, _s8_), A._lateReadCheck(_this.___ColorWheelPickerState_colorSaturation, _s15_), A._lateReadCheck(_this.___ColorWheelPickerState_colorValue, _s10_)).toColor$0()); } }, onEnd$0(_) { var t1; this._widget.onWheel$1(0, false); t1 = this._widget; t1.onChangeEnd.call$1(t1.color); t1 = this._widget; t1.onChanged$1(t1.color); }, build$1(_, context) { var t5, _this = this, _null = null, _s8_ = "colorHue", _s15_ = "colorSaturation", _s10_ = "colorValue", t1 = A._lateReadCheck(_this.___ColorWheelPickerState__focusNode, "_focusNode"), t2 = A._lateReadCheck(_this.___ColorWheelPickerState_colorHue, _s8_), t3 = A._lateReadCheck(_this.___ColorWheelPickerState_colorSaturation, _s15_), t4 = A._lateReadCheck(_this.___ColorWheelPickerState_colorValue, _s10_); _this._widget.toString; t5 = A.Theme_of(context); t2 = A.CustomPaint$(_null, _null, _null, new A._ShadePainter(t2, t3, t4, false, t5.dividerColor, _this._widget.wheelWidth, _null), B.Size_0_0); t3 = A.CustomPaint$(_null, _null, _null, new A._ShadeThumbPainter(A._lateReadCheck(_this.___ColorWheelPickerState_colorSaturation, _s15_), A._lateReadCheck(_this.___ColorWheelPickerState_colorValue, _s10_), _null), B.Size_0_0); _this._widget.toString; t4 = A.Theme_of(context); return A.GestureDetector$(_null, new A.SizedBox(_null, _null, A.Focus$(false, _null, A.MouseRegion$(A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([new A.RepaintBoundary(t2, _null), t3, new A.RepaintBoundary(A.CustomPaint$(_null, _null, _null, new A._WheelPainter(false, t4.dividerColor, 360, _this._widget.wheelWidth, _null), B.Size_0_0), _null), A.CustomPaint$(_null, _null, _null, new A._WheelThumbPainter(A._lateReadCheck(_this.___ColorWheelPickerState_colorHue, _s8_), _this._widget.wheelWidth, _null), B.Size_0_0)], type$.JSArray_Widget), B.StackFit_1, _null, _null), B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, _null, _null, _null, _null), _null, _null, t1, true, _null, _null, _null, _null, _null), _this.renderBoxKey), B.DragStartBehavior_0, false, _null, _null, _null, _null, new A._ColorWheelPickerState_build_closure(_this), _null, new A._ColorWheelPickerState_build_closure0(_this), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._ColorWheelPickerState_build_closure1(_this), new A._ColorWheelPickerState_build_closure2(_this), new A._ColorWheelPickerState_build_closure3(_this), _null, new A._ColorWheelPickerState_build_closure4(_this)); } }; A._ColorWheelPickerState_build_closure2.prototype = { call$1(details) { var t3, _squareRadius, _vector, _s8_ = "colorHue", _s15_ = "colorSaturation", _s10_ = "colorValue", t1 = this.$this, t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1.renderBoxKey).get$renderObject(); t2.toString; type$.RenderBox._as(t2); t3 = t2._size; t3.toString; _squareRadius = t1.squareRadius$1(t1.wheelRadius$1(t3)); _vector = details.globalPosition.$sub(0, A.MatrixUtils_transformPoint(t2.getTransformTo$1(0, null), B.Offset_0_0)).$sub(0, new A.Offset(t3._dx / 2, t3._dy / 2)); t1._widget.onWheel$1(0, true); t2 = _vector._dx; t3 = Math.abs(t2) < _squareRadius && Math.abs(_vector._dy) < _squareRadius; t1.isSquare = t3; if (t3) { t1.___ColorWheelPickerState_colorSaturation = B.JSNumber_methods.clamp$2(t2 * 0.5 / _squareRadius + 0.5, 0, 1); t1.___ColorWheelPickerState_colorValue = B.JSNumber_methods.clamp$2(0.5 - _vector._dy * 0.5 / _squareRadius, 0, 1); t2 = t1._widget; t2.onChangeStart.call$1(t2.color); t2 = t1._widget; t2.onChanged$1(new A.HSVColor(A.HSVColor_HSVColor$fromColor(t2.color).alpha, A._lateReadCheck(t1.___ColorWheelPickerState_colorHue, _s8_), A._lateReadCheck(t1.___ColorWheelPickerState_colorSaturation, _s15_), A._lateReadCheck(t1.___ColorWheelPickerState_colorValue, _s10_)).toColor$0()); } else { t2 = t1._widget; t2.onChangeStart.call$1(t2.color); t1.___ColorWheelPickerState_colorHue = A._Wheel_vectorToHue(_vector); t2 = t1._widget; t2.onChanged$1(new A.HSVColor(A.HSVColor_HSVColor$fromColor(t2.color).alpha, A._lateReadCheck(t1.___ColorWheelPickerState_colorHue, _s8_), A._lateReadCheck(t1.___ColorWheelPickerState_colorSaturation, _s15_), A._lateReadCheck(t1.___ColorWheelPickerState_colorValue, _s10_)).toColor$0()); } return null; }, $signature: 148 }; A._ColorWheelPickerState_build_closure4.prototype = { call$1(details) { return this.$this.onUpdate$1(details.globalPosition); }, $signature: 22 }; A._ColorWheelPickerState_build_closure0.prototype = { call$1(details) { return this.$this.onUpdate$1(details.globalPosition); }, $signature: 22 }; A._ColorWheelPickerState_build_closure3.prototype = { call$1(details) { return this.$this.onEnd$0(0); }, $signature: 38 }; A._ColorWheelPickerState_build_closure.prototype = { call$1(details) { return this.$this.onEnd$0(0); }, $signature: 38 }; A._ColorWheelPickerState_build_closure1.prototype = { call$1(details) { return this.$this.onEnd$0(0); }, $signature: 59 }; A._ShadePainter.prototype = { paint$2(canvas, size) { var _rectBox, rRect, _horizontal, _vertical, t1 = size._dx, t2 = size._dy, t3 = this.wheelWidth / 2, _squareRadius = (Math.min(t1, t2) / 2 - t3 - t3) / Math.sqrt(2); t1 = t1 / 2 - _squareRadius; t2 = t2 / 2 - _squareRadius; t3 = _squareRadius * 2; _rectBox = new A.Rect(t1, t2, t1 + t3, t2 + t3); rRect = A.RRect$fromRectAndRadius(_rectBox, B.Radius_4_4); _horizontal = new A.LinearGradient(B.Alignment_m1_0, B.Alignment_1_0, B.TileMode_0, A._setArrayType([B.Color_4294967295, new A.HSVColor(1, this.colorHue, 1, 1).toColor$0()], type$.JSArray_Color), null, null).createShader$1(0, _rectBox); t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$style(0, B.PaintingStyle_0); t1.set$shader(_horizontal); canvas.drawRRect$2(0, rRect, t1); _vertical = B.LinearGradient_Fdb.createShader$1(0, _rectBox); t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$style(0, B.PaintingStyle_0); t1.set$shader(_vertical); canvas.drawRRect$2(0, rRect, t1); }, shouldRepaint$1(oldDelegate) { var _this = this, t1 = !oldDelegate.borderColor.$eq(0, _this.borderColor) || oldDelegate.wheelWidth !== _this.wheelWidth || oldDelegate.colorHue !== _this.colorHue || oldDelegate.colorSaturation !== _this.colorSaturation || oldDelegate.colorValue !== _this.colorValue; return t1; } }; A._WheelPainter.prototype = { paint$2(canvas, size) { var i, sRad, i0, segmentPaint, t1 = size._dx, t2 = size._dy, t3 = this.wheelWidth, t4 = Math.min(t1, t2) - t3, rectCircle = A.Rect$fromCenter(new A.Offset(t1 / 2, t2 / 2), t4, t4); for (t1 = this.ticks, i = 0; i < t1; i = i0) { sRad = (i - 0.5) * 0.017453292519943295; i0 = i + 1; t2 = A._detectRenderer(); segmentPaint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); segmentPaint.set$color(0, new A.HSVColor(1, i, 1, 1).toColor$0()); segmentPaint.set$style(0, B.PaintingStyle_1); segmentPaint.set$strokeWidth(t3); canvas.drawArc$5(0, rectCircle, sRad, sRad - i0 * 0.017453292519943295, false, segmentPaint); } }, shouldRepaint$1(oldDelegate) { var t1 = !oldDelegate.borderColor.$eq(0, this.borderColor) || oldDelegate.wheelWidth !== this.wheelWidth || oldDelegate.ticks !== this.ticks; return t1; } }; A._ShadeThumbPainter.prototype = { paint$2(canvas, size) { var _paintWhite, paletteVector, t1 = size._dx, t2 = size._dy, _squareRadius = (Math.min(t1, t2) / 2 - 8 - 8) / Math.sqrt(2), t3 = A._detectRenderer(), _paintBlack = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _paintBlack.set$color(0, B.Color_4278190080); _paintBlack.set$strokeWidth(5); _paintBlack.set$style(0, B.PaintingStyle_1); t3 = A._detectRenderer(); _paintWhite = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _paintWhite.set$color(0, B.Color_4294967295); _paintWhite.set$strokeWidth(3); _paintWhite.set$style(0, B.PaintingStyle_1); paletteVector = new A.Offset((this.colorSaturation - 0.5) * _squareRadius / 0.5 + t1 / 2, (0.5 - this.colorValue) * _squareRadius / 0.5 + t2 / 2); canvas.drawCircle$3(0, paletteVector, 12, _paintBlack); canvas.drawCircle$3(0, paletteVector, 12, _paintWhite); }, shouldRepaint$1(oldDelegate) { var t1 = oldDelegate.colorSaturation !== this.colorSaturation || oldDelegate.colorValue !== this.colorValue; return t1; } }; A._WheelThumbPainter.prototype = { paint$2(canvas, size) { var _paintWhite, _wheel, t1 = size._dx, t2 = size._dy, t3 = this.wheelWidth / 2, _radius = Math.min(t1, t2) / 2 - t3, t4 = A._detectRenderer(), _paintBlack = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _paintBlack.set$color(0, B.Color_4278190080); _paintBlack.set$strokeWidth(5); _paintBlack.set$style(0, B.PaintingStyle_1); t4 = A._detectRenderer(); _paintWhite = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _paintWhite.set$color(0, B.Color_4294967295); _paintWhite.set$strokeWidth(3); _paintWhite.set$style(0, B.PaintingStyle_1); t4 = (this.colorHue + 360) * 3.141592653589793 / 180; _wheel = new A.Offset(Math.cos(t4) * _radius + t1 / 2, Math.sin(t4) * _radius + t2 / 2); t3 += 4; canvas.drawCircle$3(0, _wheel, t3, _paintBlack); canvas.drawCircle$3(0, _wheel, t3, _paintWhite); }, shouldRepaint$1(oldDelegate) { return oldDelegate.wheelWidth !== this.wheelWidth || oldDelegate.colorHue !== this.colorHue; } }; A.ColorPickerActionButtonType.prototype = { toString$0(_) { return "ColorPickerActionButtonType." + this._core$_name; } }; A.ColorPickerActionButtons.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; if (other instanceof A.ColorPickerActionButtons) if (A.getRuntimeType(this) === A.getRuntimeType(other)) if (B.IconData_57686_MaterialIcons_null_false.$eq(0, B.IconData_57686_MaterialIcons_null_false)) if (B.IconData_57706_MaterialIcons_null_false.$eq(0, B.IconData_57706_MaterialIcons_null_false)) if (B.EdgeInsets_0_0_0_0.$eq(0, B.EdgeInsets_0_0_0_0)) if (B.Alignment_0_0.$eq(0, B.Alignment_0_0)) if (B.BoxConstraints_mlX2.$eq(0, B.BoxConstraints_mlX2)) 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(_) { return A.hashList([false, false, B.IconData_57686_MaterialIcons_null_false, B.IconData_57706_MaterialIcons_null_false, true, null, null, true, null, null, B.EdgeInsets_0_0_0_0, B.Alignment_0_0, 24, B.BoxConstraints_mlX2, true, false, null, B.ColorPickerActionButtonType_0, null, B.ColorPickerActionButtonType_0, true]); } }; A._ColorPickerActionButtons_Object_Diagnosticable.prototype = {}; A.ColorPickerCopyFormat.prototype = { toString$0(_) { return "ColorPickerCopyFormat." + this._core$_name; } }; A.ColorPickerCopyPasteBehavior.prototype = { $eq(_, other) { var t1; if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; if (other instanceof A.ColorPickerCopyPasteBehavior) if (B.IconData_57744_MaterialIcons_null_false.$eq(0, B.IconData_57744_MaterialIcons_null_false)) if (B.IconData_57746_MaterialIcons_null_false.$eq(0, B.IconData_57746_MaterialIcons_null_false)) if (1800000 === B.Duration_1800000._duration) t1 = this.parseShortHexCode === other.parseShortHexCode && true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return A.hashList([true, true, false, false, B.IconData_57744_MaterialIcons_null_false, B.IconData_57746_MaterialIcons_null_false, null, null, B.ColorPickerCopyFormat_0, false, false, false, false, true, null, null, 80, 30, false, null, B.Duration_1800000, false, this.parseShortHexCode, false]); } }; A._ColorPickerCopyPasteBehavior_Object_Diagnosticable.prototype = {}; A.ColorPickerType.prototype = { toString$0(_) { return "ColorPickerType." + this._core$_name; } }; A.ContextPopupMenu.prototype = { createState$0() { return new A._ContextPopupMenuState(B.Offset_0_0, B._StateLifecycle_0, this.$ti._eval$1("_ContextPopupMenuState<1>")); } }; A._ContextPopupMenuState.prototype = { build$1(_, context) { var t1, t2, t3, _null = null; A.Theme_of(context); t1 = this._widget; t2 = _null; t3 = _null; return A.GestureDetector$(B.HitTestBehavior_2, t1.child, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.DryIntrinsicWidth.prototype = { createRenderObject$1(context) { var _null = null, t1 = new A._RenderDryIntrinsicWidth(_null, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(_null); return t1; } }; A._RenderDryIntrinsicWidth.prototype = { computeDryLayout$1(constraints) { var width, height, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { width = t1.computeMinIntrinsicWidth$1(constraints.maxHeight); t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) height = null; else height = t1.computeMinIntrinsicHeight$1(width == null ? 0 : width); t1 = width == null ? 0 : width; return new A.Size(t1, height == null ? 0 : height); } else return B.Size_0_0; } }; A.IfWrapper.prototype = { build$1(_, context) { var _this = this; if (_this.condition) return _this.builder.call$2(context, _this.child); else return _this.child; } }; A.ColorCodeField.prototype = { createState$0() { return new A._ColorCodeFieldState(B._StateLifecycle_0); }, onColorChanged$1(arg0) { return this.onColorChanged.call$1(arg0); } }; A._ColorCodeFieldState.prototype = { initState$0() { var t1, _this = this, _null = null; _this.super$State$initState(); t1 = A.TextEditingController$(_null); _this.___ColorCodeFieldState_textController = t1; _this.___ColorCodeFieldState_textFocusNode = A.FocusNode$(true, _null, true, _null, _null, false); _this.___ColorCodeFieldState_color = _this._widget.color; A._lateReadCheck(t1, "textController").set$text(0, A.FlexPickerNoNullColorExtensions_get_hex(A._lateReadCheck(_this.___ColorCodeFieldState_color, "color"))); }, dispose$0(_) { A._lateReadCheck(this.___ColorCodeFieldState_textController, "textController"); A._lateReadCheck(this.___ColorCodeFieldState_textFocusNode, "textFocusNode").dispose$0(0); this.super$State$dispose(0); }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!oldWidget.color.$eq(0, _this._widget.color) && _this._widget.shouldUpdate) { _this.___ColorCodeFieldState_color = _this._widget.color; A._lateReadCheck(_this.___ColorCodeFieldState_textController, "textController").set$text(0, A.FlexPickerNoNullColorExtensions_get_hex(A._lateReadCheck(_this.___ColorCodeFieldState_color, "color"))); } }, build$1(_, context) { var t1, t2, copyKeyTooltip, copyTooltip, isLight, fieldBackground, isLightBackground, textColor, fieldBorder, effectiveStyle, effectiveStyle0, effectivePrefixStyle, fontSize, borderRadius, t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null; _this._widget.toString; t1 = A.Theme_of(context); t2 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; _this._widget.toString; copyKeyTooltip = A.platformControlKey(t1.platform, "C"); copyKeyTooltip = copyKeyTooltip; _this._widget.toString; copyTooltip = "Copy" + copyKeyTooltip; isLight = A.Theme_of(context).colorScheme.brightness === B.Brightness_1; _this._widget.toString; fieldBackground = A._lateReadCheck(_this.___ColorCodeFieldState_color, "color"); isLightBackground = A.ThemeData_estimateBrightnessForColor(fieldBackground) === B.Brightness_1; if (isLight) textColor = isLightBackground || (fieldBackground.get$value(fieldBackground) >>> 24 & 255) / 255 < 0.5 ? B.Color_4278190080 : B.Color_4294967295; else textColor = !isLightBackground || (fieldBackground.get$value(fieldBackground) >>> 24 & 255) / 255 < 0.5 ? B.Color_4294967295 : B.Color_4278190080; fieldBorder = isLight ? A.Color$fromARGB(33, 0, 0, 0) : A.Color$fromARGB(55, 255, 255, 255); _this._widget.toString; effectiveStyle = A.Theme_of(context).textTheme.bodyText2; if (effectiveStyle == null) effectiveStyle = B.TextStyle_zIQ; _this._widget.toString; effectiveStyle0 = effectiveStyle.copyWith$1$color(textColor); effectivePrefixStyle = effectiveStyle.copyWith$1$color(textColor); fontSize = effectiveStyle0.fontSize; if (fontSize == null) fontSize = 14; borderRadius = fontSize * 1.2; t1 = _this._widget; t2 = t1.onEditFocused; t1 = t1.readOnly; t3 = A._lateReadCheck(_this.___ColorCodeFieldState_textController, "textController"); t4 = A._lateReadCheck(_this.___ColorCodeFieldState_textFocusNode, "textFocusNode"); t5 = A._setArrayType([new A.FilteringTextInputFormatter(A.RegExp_RegExp("[a-fA-F0-9]", true, false), true, ""), new A._UpperCaseTextFormatter()], type$.JSArray_TextInputFormatter); t6 = _this._widget.readOnly ? B.ToolbarOptions_true_false_false : B.ToolbarOptions_true_true_true; t7 = A.IconButton$(B.Alignment_0_0, effectiveStyle0.color, B.BoxConstraints_mlX3, true, A.Icon$(B.IconData_57744_MaterialIcons_null_false, _null, _null), fontSize * 1.1, _this.get$_setClipboard(), B.EdgeInsets_0_0_0_0, borderRadius, copyTooltip, _null); t8 = borderRadius * 2; t9 = _this.get$_editColorPrefix(); return new A.SizedBox(fontSize * 10, _null, new A.DryIntrinsicWidth(A.Focus$(false, _null, A.TextField$(true, B.List_empty1, false, new A._ColorCodeFieldState_build_closure(), t3, _null, _null, _null, 2, A.InputDecoration$(_null, new A.OutlineInputBorder(4, A.BorderRadius$circular(borderRadius), B.BorderSide_0CF), _null, new A.EdgeInsetsDirectional(fontSize, 0, 0, 0), _null, _null, _null, _null, true, _null, _null, _null, _null, _null, fieldBackground, true, _null, _null, _null, new A.OutlineInputBorder(4, A.BorderRadius$circular(borderRadius), new A.BorderSide(fieldBorder, 1, B.BorderStyle_1)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, true, _null, _null, _null, _null, _null, _null, _null, effectivePrefixStyle, t9, _null, _null, t7, _null, new A.BoxConstraints(t8, 1 / 0, t8, 1 / 0), _null, _null), true, !t1, true, true, false, t4, t5, _null, _null, 6, true, B.MaxLengthEnforcement_1, 1, _null, false, "\u2022", new A._ColorCodeFieldState_build_closure0(_this), new A._ColorCodeFieldState_build_closure1(_this), _null, _null, t1, _null, _null, B.EdgeInsets_20_20_20_20, _null, _null, _null, _null, _null, _null, effectiveStyle0, B.TextAlign_4, _null, B.TextCapitalization_20, _null, _null, t6), _null, _null, _null, true, _null, t2, _null, _null, _null), _null), _null); }, _setClipboard$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, colorString; var $async$_setClipboard$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._widget.toString; switch (0) { case 0: colorString = "0x" + A.FlexPickerNoNullColorExtensions_get_hexAlpha(A._lateReadCheck($async$self.___ColorCodeFieldState_color, "color")); break; } $async$goto = 2; return A._asyncAwait(A.Clipboard_setData(new A.ClipboardData(colorString)), $async$_setClipboard$0); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_setClipboard$0, $async$completer); }, get$_editColorPrefix() { var alphaValue = B.JSString_methods.substring$2(A.FlexPickerNoNullColorExtensions_get_hexAlpha(A._lateReadCheck(this.___ColorCodeFieldState_color, "color")), 0, 2); this._widget.toString; switch (0) { case 0: return "0x" + alphaValue; } } }; A._ColorCodeFieldState_build_closure.prototype = { call$4$currentLength$isFocused$maxLength(context, currentLength, isFocused, maxLength) { return null; }, $signature: 418 }; A._ColorCodeFieldState_build_closure0.prototype = { call$1(textColor) { var t2, t1 = this.$this; t1.setState$1(new A._ColorCodeFieldState_build__closure0(t1, textColor)); t2 = t1._widget; t2.toString; t2.onColorChanged$1(A._lateReadCheck(t1.___ColorCodeFieldState_color, "color")); }, $signature: 11 }; A._ColorCodeFieldState_build__closure0.prototype = { call$0() { var t1 = this.$this, t2 = A.FlexPickerNoNullStringExtensions_toColorShort(this.textColor, t1._widget.copyPasteBehavior.parseShortHexCode), t3 = A._lateReadCheck(t1.___ColorCodeFieldState_color, "color"); t2 = t2.value; t1.___ColorCodeFieldState_color = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((t3.get$value(t3) >>> 24 & 255) / 255)), t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); }, $signature: 0 }; A._ColorCodeFieldState_build_closure1.prototype = { call$0() { var t2, t1 = this.$this; t1.setState$1(new A._ColorCodeFieldState_build__closure(t1)); A._lateReadCheck(t1.___ColorCodeFieldState_textController, "textController").set$text(0, A.FlexPickerNoNullColorExtensions_get_hex(A._lateReadCheck(t1.___ColorCodeFieldState_color, "color"))); t2 = t1._widget; t2.toString; t2.onColorChanged$1(A._lateReadCheck(t1.___ColorCodeFieldState_color, "color")); A._lateReadCheck(t1.___ColorCodeFieldState_textFocusNode, "textFocusNode").unfocus$0(); }, $signature: 0 }; A._ColorCodeFieldState_build__closure.prototype = { call$0() { var t1 = this.$this, t2 = A.FlexPickerNoNullStringExtensions_toColorShort(A._lateReadCheck(t1.___ColorCodeFieldState_textController, "textController")._change_notifier$_value.text, t1._widget.copyPasteBehavior.parseShortHexCode), t3 = A._lateReadCheck(t1.___ColorCodeFieldState_color, "color"); t2 = t2.value; t1.___ColorCodeFieldState_color = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((t3.get$value(t3) >>> 24 & 255) / 255)), t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); }, $signature: 0 }; A._UpperCaseTextFormatter.prototype = { formatEditUpdate$2(oldValue, newValue) { return new A.TextEditingValue(newValue.text.toUpperCase(), newValue.selection, B.TextRange_m1_m1); } }; A.ColorPickerToolbar.prototype = { build$1(_, context) { var copyKeyTooltip, pasteKeyTooltip, copyTooltip, pasteTooltip, _theme, _effectiveIconTheme, t2, t3, t4, t5, _this = this, _null = null, platform = A.Theme_of(context).platform, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; copyKeyTooltip = A.platformControlKey(platform, "C"); copyKeyTooltip = copyKeyTooltip; pasteKeyTooltip = A.platformControlKey(platform, "V"); pasteKeyTooltip = pasteKeyTooltip; copyTooltip = "Copy" + copyKeyTooltip; pasteTooltip = "Paste" + pasteKeyTooltip; _theme = A.Theme_of(context); _effectiveIconTheme = _theme.iconTheme.copyWith$3$color$opacity$size(_null, 0.9, 22); t1 = _theme.copyWith$1$iconTheme(_effectiveIconTheme); t2 = A._setArrayType([], type$.JSArray_Widget); t2.push(_this.title); t2.push(B.Spacer_null); t3 = _this.onCopy; if (t3 != null) { t4 = A.Icon$(B.IconData_57744_MaterialIcons_null_false, _null, _null); t5 = _effectiveIconTheme.size; t5.toString; t2.push(A.IconButton$(B.Alignment_0_0, _null, B.BoxConstraints_mlX2, true, t4, t5, t3, B.EdgeInsets_0_0_0_0, 24, copyTooltip, _null)); } t3 = _this.onPaste; if (t3 != null) { t4 = A.Icon$(B.IconData_57746_MaterialIcons_null_false, _null, _null); t5 = _effectiveIconTheme.size; t5.toString; t2.push(A.IconButton$(B.Alignment_0_0, _null, B.BoxConstraints_mlX2, true, t4, t5, t3, B.EdgeInsets_0_0_0_0, 24, pasteTooltip, _null)); } t3 = _this.onOk; if (t3 != null) { t4 = A.Icon$(B.IconData_57686_MaterialIcons_null_false, _null, _null); t5 = _effectiveIconTheme.size; t5.toString; t2.push(A.IconButton$(B.Alignment_0_0, _null, B.BoxConstraints_mlX2, true, t4, t5, t3, B.EdgeInsets_0_0_0_0, 24, "OK", _null)); } t3 = _this.onClose; if (t3 != null && true) { t4 = A.Icon$(B.IconData_57706_MaterialIcons_null_false, _null, _null); t5 = _effectiveIconTheme.size; t5.toString; t2.push(A.IconButton$(B.Alignment_0_0, _null, B.BoxConstraints_mlX2, true, t4, t5, t3, B.EdgeInsets_0_0_0_0, 24, "Close", _null)); } return new A.Theme(t1, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null); } }; A.CopyPasteCommands.prototype = { toString$0(_) { return "CopyPasteCommands." + this._core$_name; } }; A.ContextCopyPasteMenu.prototype = { build$1(_, context) { var t3, t4, t5, t6, t7, t8, _effectiveIconTheme, _null = null, _theme = A.Theme_of(context), t1 = _theme.popupMenuTheme, t2 = t1.color; if (t2 == null) { t2 = _theme.cardColor; t2 = A.Color$fromARGB(B.JSNumber_methods.round$0(229.5), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } t3 = t1.shape; if (t3 == null) t3 = new A.RoundedRectangleBorder(A.BorderRadius$circular(8), new A.BorderSide(_theme.dividerColor, 1, B.BorderStyle_1)); t4 = t1.elevation; if (t4 == null) t4 = 3; t5 = t1.textStyle; if (t5 == null) t5 = _theme.textTheme.bodyText2; if (t5 == null) t5 = B.TextStyle_zIQ; t6 = _theme.iconTheme; t7 = t6.size; if (t7 == null) t7 = 16; t8 = t6.get$opacity(t6); if (t8 == null) t8 = 0.9; _effectiveIconTheme = t6.copyWith$3$color$opacity$size(t6.color, t8, t7); A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = _theme.copyWith$2$iconTheme$popupMenuTheme(_effectiveIconTheme, new A.PopupMenuThemeData(t2, t3, t4, t5, t1.enableFeedback !== false)); t2 = type$.JSArray_Widget; t3 = type$.CopyPasteCommands; t4 = A.PopupMenuItem$(new A.SizedBox(80, _null, A.Row$(A._setArrayType([A.Text$("Copy", _null, _null, _null, _null, _null, _null, _null, _null), A.Icon$(B.IconData_57744_MaterialIcons_null_false, _null, _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null), _null), 30, B.CopyPasteCommands_0, t3); return new A.Theme(t1, new A.ContextPopupMenu(A._setArrayType([t4, A.PopupMenuItem$(new A.SizedBox(80, _null, A.Row$(A._setArrayType([A.Text$("Paste", _null, _null, _null, _null, _null, _null, _null, _null), A.Icon$(B.IconData_57746_MaterialIcons_null_false, _null, _null)], t2), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_1, _null, _null), _null), 30, B.CopyPasteCommands_1, t3)], type$.JSArray_PopupMenuEntry_CopyPasteCommands), this.onSelected, this.onOpen, this.child, false, false, false, false, _null, type$.ContextPopupMenu_CopyPasteCommands), _null); } }; A.MainColors.prototype = { build$1(_, context) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _borderRadius = _this.borderRadius, t1 = A._setArrayType([], type$.JSArray_Widget); for (t2 = J.get$iterator$ax(_this.activeColorSwatchList), t3 = _this.selectedColor, t4 = _this.width, t5 = _this.height, t6 = _this.borderColor, t7 = _this.elevation, t8 = _this.selectedColorIcon, t9 = _this.selectedRequestsFocus; t2.moveNext$0();) { t10 = t2.get$current(t2); t1.push(new A.ColorIndicator(new A.MainColors_build_closure(_this, t10), A.isShadeOfMain(t10, t3, false), t9, t7, t8, t10, t4, t5, _borderRadius, false, t6, null)); } return new A.Padding(new A.EdgeInsets(0, 0, 0, _this.columnSpacing), A.Wrap$(B.WrapAlignment_0, t1, B.WrapCrossAlignment_0, B.WrapAlignment_0, _this.runSpacing, _this.spacing), null); } }; A.MainColors_build_closure.prototype = { call$0() { var t1 = this.colorSwatch._swatch, t2 = t1.$index(0, 500); t1 = t2 == null ? t1.$index(0, 200) : t2; if (t1 == null) t1 = B.Color_4278190080; this.$this.onSelectColor.call$1(t1); }, $signature: 0 }; A.SelectPicker.prototype = { build$1(_, context) { var t1, t2, t3, _this = this, _null = null, _segmentTextStyle = A.Theme_of(context).textTheme.caption; if (_segmentTextStyle == null) _segmentTextStyle = B.TextStyle_zIQ0; t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.ColorPickerType, type$.Widget); t2 = _this.pickers; t3 = t2.$index(0, B.ColorPickerType_0); t3.toString; if (t3) { t3 = _this.pickerLabels.$index(0, B.ColorPickerType_0); if (t3 == null) t3 = ""; t1.$indexSet(0, B.ColorPickerType_0, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t3, _null, _null, _null, _null, _this.picker === B.ColorPickerType_0 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } t3 = t2.$index(0, B.ColorPickerType_1); t3.toString; if (t3) { t3 = _this.pickerLabels.$index(0, B.ColorPickerType_1); if (t3 == null) t3 = ""; t1.$indexSet(0, B.ColorPickerType_1, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t3, _null, _null, _null, _null, _this.picker === B.ColorPickerType_1 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } t3 = t2.$index(0, B.ColorPickerType_2); t3.toString; if (t3) { t3 = _this.pickerLabels.$index(0, B.ColorPickerType_2); if (t3 == null) t3 = ""; t1.$indexSet(0, B.ColorPickerType_2, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t3, _null, _null, _null, _null, _this.picker === B.ColorPickerType_2 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } t3 = t2.$index(0, B.ColorPickerType_3); t3.toString; if (t3) { t3 = _this.pickerLabels.$index(0, B.ColorPickerType_3); if (t3 == null) t3 = ""; t1.$indexSet(0, B.ColorPickerType_3, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t3, _null, _null, _null, _null, _this.picker === B.ColorPickerType_3 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } t3 = t2.$index(0, B.ColorPickerType_4); t3.toString; if (t3) { t3 = _this.pickerLabels.$index(0, B.ColorPickerType_4); if (t3 == null) t3 = ""; t1.$indexSet(0, B.ColorPickerType_4, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t3, _null, _null, _null, _null, _this.picker === B.ColorPickerType_4 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } t2 = t2.$index(0, B.ColorPickerType_5); t2.toString; if (t2) { t2 = _this.pickerLabels.$index(0, B.ColorPickerType_5); if (t2 == null) t2 = ""; t1.$indexSet(0, B.ColorPickerType_5, new A.Padding(B.EdgeInsets_5_5_5_5, A.Text$(t2, _null, _null, _null, _null, _this.picker === B.ColorPickerType_5 ? _segmentTextStyle.copyWith$1$color(_null) : _segmentTextStyle, B.TextAlign_2, _null, _null), _null)); } return new A.SizedBox(1 / 0, _null, new A.Padding(new A.EdgeInsets(0, 0, 0, _this.columnSpacing), new A.CupertinoSlidingSegmentedControl(t1, _this.picker, new A.SelectPicker_build_closure(_this), B.CupertinoDynamicColor_6qt, _null, type$.CupertinoSlidingSegmentedControl_ColorPickerType), _null), _null); } }; A.SelectPicker_build_closure.prototype = { call$1(value) { if (value != null) this.$this.onPickerChanged.call$1(value); }, $signature: 419 }; A.ShadeColors.prototype = { build$1(_, context) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, color, t12, _this = this, _borderRadius = _this.borderRadius, t1 = A._setArrayType([], type$.JSArray_Widget); for (t2 = A.getMaterialColorShades(_this.activeSwatch, false), t3 = t2.length, t4 = _this.width, t5 = _this.height, t6 = _this.borderColor, t7 = _this.elevation, t8 = _this.selectedColorIcon, t9 = _this.selectedRequestsFocus, t10 = _this.selectedColor, t11 = t10.value, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { color = t2[_i]; t12 = t10.$eq(0, color) || t11 === color.get$value(color); t1.push(new A.ColorIndicator(new A.ShadeColors_build_closure(_this, color), t12, t9, t7, t8, color, t4, t5, _borderRadius, false, t6, null)); } return new A.Padding(new A.EdgeInsets(0, 0, 0, _this.columnSpacing), A.Wrap$(B.WrapAlignment_0, t1, B.WrapCrossAlignment_0, B.WrapAlignment_0, _this.runSpacing, _this.spacing), null); } }; A.ShadeColors_build_closure.prototype = { call$0() { this.$this.onSelectColor.call$1(this.color); }, $signature: 0 }; A.AnimationStatus.prototype = { toString$0(_) { return "AnimationStatus." + this._core$_name; } }; A.Animation0.prototype = { toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A.S(this.toStringDetails$0()) + ")"; }, toStringDetails$0() { switch (this.get$status(this)) { case B.AnimationStatus_1: return "\u25b6"; case B.AnimationStatus_2: return "\u25c0"; case B.AnimationStatus_3: return "\u23ed"; case B.AnimationStatus_0: return "\u23ee"; } } }; A._AnimationDirection.prototype = { toString$0(_) { return "_AnimationDirection." + this._core$_name; } }; A.AnimationBehavior.prototype = { toString$0(_) { return "AnimationBehavior." + this._core$_name; } }; A.AnimationController.prototype = { get$value(_) { return A._lateReadCheck(this.__AnimationController__value, "_value"); }, 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 = B.JSNumber_methods.clamp$2(newValue, t1, t2); _this.__AnimationController__value = t3; if (A._lateReadCheck(t3, "_value") === t1) _this.__AnimationController__status = B.AnimationStatus_0; else if (A._lateReadCheck(_this.__AnimationController__value, "_value") === t2) _this.__AnimationController__status = B.AnimationStatus_3; else _this.__AnimationController__status = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_1 : B.AnimationStatus_2; }, get$status(_) { return A._lateReadCheck(this.__AnimationController__status, "_status"); }, 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($receiver) { return this.forward$1$from($receiver, null); }, reverse$1$from(_, from) { var _this = this; _this._direction = B._AnimationDirection_1; if (from != null) _this.set$value(0, from); return _this._animateToInternal$1(_this.lowerBound); }, reverse$0($receiver) { return this.reverse$1$from($receiver, null); }, _animateToInternal$3$curve$duration(target, curve, duration) { var range, remainingFraction, t1, directionDuration, simulationDuration, _this = this, _s6_ = "_value"; A._lateReadCheck($.SemanticsBinding__instance.SemanticsBinding___SemanticsBinding__accessibilityFeatures, "_accessibilityFeatures"); if (duration == null) { range = _this.upperBound - _this.lowerBound; remainingFraction = isFinite(range) ? Math.abs(target - A._lateReadCheck(_this.__AnimationController__value, _s6_)) / range : 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 simulationDuration = target === A._lateReadCheck(_this.__AnimationController__value, _s6_) ? B.Duration_0 : duration; _this.stop$0(0); t1 = simulationDuration._duration; if (t1 === B.Duration_0._duration) { if (A._lateReadCheck(_this.__AnimationController__value, _s6_) !== target) { _this.__AnimationController__value = B.JSNumber_methods.clamp$2(target, _this.lowerBound, _this.upperBound); _this.notifyListeners$0(); } _this.__AnimationController__status = _this._direction === B._AnimationDirection_0 ? B.AnimationStatus_3 : B.AnimationStatus_0; _this._checkStatusChanged$0(); return A.TickerFuture$complete(); } return _this._startSimulation$1(new A._InterpolationSimulation(t1 / 1000000, A._lateReadCheck(_this.__AnimationController__value, _s6_), 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 = A._lateReadCheck(_this.__AnimationController__value, "_value"); t2 = period._duration / 1000000; t1 = max === min ? 0 : t1 / (max - min) * t2; return _this._startSimulation$1(new A._RepeatingSimulation(min, max, false, _this.get$_directionSetter(), t2, t1, B.Tolerance_Gdw)); }, repeat$0($receiver) { return this.repeat$1$reverse($receiver, false); }, _directionSetter$1(direction) { this._direction = direction; this.__AnimationController__status = direction === B._AnimationDirection_0 ? B.AnimationStatus_1 : B.AnimationStatus_2; this._checkStatusChanged$0(); }, fling$1$velocity(velocity) { var target, 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; A._lateReadCheck($.SemanticsBinding__instance.SemanticsBinding___SemanticsBinding__accessibilityFeatures, "_accessibilityFeatures"); simulation = new A.SpringSimulation(target, A._SpringSolution__SpringSolution(springDescription, A._lateReadCheck(_this.__AnimationController__value, "_value") - target, velocity), 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 = B.JSNumber_methods.clamp$2(simulation.x$1(0, 0), _this.lowerBound, _this.upperBound); result = _this._ticker.start$0(0); _this.__AnimationController__status = _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($receiver) { return this.stop$1$canceled($receiver, true); }, dispose$0(_) { var _this = this; _this._ticker.dispose$0(0); _this._ticker = null; _this.AnimationLocalStatusListenersMixin__statusListeners.clear$0(0); _this.AnimationLocalListenersMixin__listeners.clear$0(0); _this.super$AnimationEagerListenerMixin$dispose(0); }, _checkStatusChanged$0() { var _this = this, t1 = A._lateReadCheck(_this.__AnimationController__status, "_status"); 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 = B.JSNumber_methods.clamp$2(_this._simulation.x$1(0, elapsedInSeconds), _this.lowerBound, _this.upperBound); if (_this._simulation.isDone$1(elapsedInSeconds)) { _this.__AnimationController__status = _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, label, _this = this, t1 = _this._ticker, t2 = t1 == null, paused = !t2 && t1._ticker$_future != null ? "" : "; paused"; if (t2) ticker = "; DISPOSED"; else ticker = t1._muted ? "; silenced" : ""; t1 = _this.debugLabel; label = t1 == null ? "" : "; for " + t1; return A.S(_this.super$Animation$toStringDetails()) + " " + B.JSNumber_methods.toStringAsFixed$1(A._lateReadCheck(_this.__AnimationController__value, "_value"), 3) + paused + ticker + label; } }; A._InterpolationSimulation.prototype = { x$1(_, timeInSeconds) { var t1, t2, _this = this, t = B.JSNumber_methods.clamp$2(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 _this = this, totalTimeInSeconds = timeInSeconds + _this._initialT, t1 = _this._periodInSeconds, t = B.JSNumber_methods.$mod(totalTimeInSeconds / t1, 1); B.JSNumber_methods.$tdiv(totalTimeInSeconds, t1); _this.directionSetter.call$1(B._AnimationDirection_0); t1 = A.lerpDouble(_this.min, _this.max, 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._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.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._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._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._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._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 _this = this, t1 = _this._animations$_parent; if (t1 == null) return "ProxyAnimation(null; " + A.S(_this.super$Animation$toStringDetails()) + " " + B.JSNumber_methods.toStringAsFixed$1(_this.get$value(_this), 3) + ")"; return t1.toString$0(0) + "\u27a9ProxyAnimation"; } }; A.ReverseAnimation.prototype = { addListener$1(_, listener) { var t1; this.didRegisterListener$0(); t1 = this.parent; t1.get$parent(t1).addListener$1(0, listener); }, removeListener$1(_, listener) { this.parent.removeListener$1(0, listener); this.didUnregisterListener$0(); }, didStartListening$0() { var t1 = this.parent; t1.get$parent(t1).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; t1 = t1.get$parent(t1); return this._reverseStatus$1(t1.get$status(t1)); }, get$value(_) { var t1 = this.parent; return 1 - t1.get$value(t1); }, _reverseStatus$1($status) { switch ($status.index) { case 1: return B.AnimationStatus_2; case 2: return B.AnimationStatus_1; case 3: return B.AnimationStatus_0; case 0: return B.AnimationStatus_3; } }, 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 = { toString$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._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(0); }, 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(_this) != _this._lastStatus) { _this._lastStatus = _this.get$status(_this); _this.notifyStatusListeners$1(_this.get$status(_this)); } }, _maybeNotifyListeners$0() { var _this = this; if (!J.$eq$(_this.get$value(_this), _this._lastValue)) { _this._lastValue = _this.get$value(_this); _this.notifyListeners$0(); } }, get$first(receiver) { return this.first; } }; 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 = B.JSNumber_methods.clamp$2((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.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.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._list.push(listener); }, removeListener$1(_, listener) { if (this.AnimationLocalListenersMixin__listeners.remove$1(0, listener)) this.didUnregisterListener$0(); }, notifyListeners$0() { var listener, exception, stack, t2, _i, t3, exception0, rti, t4, t5, _this = this, t1 = _this.AnimationLocalListenersMixin__listeners, localListeners = A.List_List$from(t1, true, type$.void_Function); for (t2 = localListeners.length, _i = 0; _i < t2; ++_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); rti = _this instanceof A.Closure ? A.closureFunctionType(_this) : null; t4 = A.ErrorDescription$("while notifying listeners for " + A.createRuntimeType(rti == null ? A.instanceType(_this) : rti).toString$0(0)); t3 = t3.collector; t5 = $.$get$FlutterError_onError(); if (t5 != null) t5.call$1(new A.FlutterErrorDetails(exception, stack, "animation library", t4, t3, false)); } } } }; A.AnimationLocalStatusListenersMixin.prototype = { addStatusListener$1(listener) { var t1; this.didRegisterListener$0(); t1 = this.AnimationLocalStatusListenersMixin__statusListeners; t1._isDirty = true; t1._list.push(listener); }, removeStatusListener$1(listener) { if (this.AnimationLocalStatusListenersMixin__statusListeners.remove$1(0, listener)) this.didUnregisterListener$0(); }, notifyStatusListeners$1($status) { var listener, exception, stack, t2, _i, exception0, rti, t3, t4, _this = this, t1 = _this.AnimationLocalStatusListenersMixin__statusListeners, localListeners = A.List_List$from(t1, true, type$.void_Function_AnimationStatus); for (t2 = localListeners.length, _i = 0; _i < t2; ++_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); rti = _this instanceof A.Closure ? A.closureFunctionType(_this) : null; t3 = A.ErrorDescription$("while notifying status listeners for " + A.createRuntimeType(rti == null ? A.instanceType(_this) : rti).toString$0(0)); t4 = $.$get$FlutterError_onError(); if (t4 != null) t4.call$1(new A.FlutterErrorDetails(exception, stack, "animation library", t3, 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 A.S(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 _this = this; if (t === 0) return A._instanceType(_this)._eval$1("Tween.T")._as(_this.begin); if (t === 1) return A._instanceType(_this)._eval$1("Tween.T")._as(_this.end); 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.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.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.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, level, 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); 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); t1 = t1 == null ? _null : t1.highContrast; isHighContrastEnabled = t1 === true; } else isHighContrastEnabled = false; if (_this.get$_isInterfaceElevationDependent()) { t1 = A.CupertinoUserInterfaceLevel_maybeOf(context); level = t1 == null ? B.CupertinoUserInterfaceLevelData_0 : t1; } else level = B.CupertinoUserInterfaceLevelData_0; switch (brightness.index) { case 1: switch (level.index) { case 0: resolved = isHighContrastEnabled ? _this.highContrastColor : _this.color; break; case 1: resolved = isHighContrastEnabled ? _this.highContrastElevatedColor : _this.elevatedColor; break; default: resolved = _null; } break; case 0: switch (level.index) { case 0: resolved = isHighContrastEnabled ? _this.darkHighContrastColor : _this.darkColor; break; case 1: resolved = isHighContrastEnabled ? _this.darkHighContrastElevatedColor : _this.darkElevatedColor; break; default: resolved = _null; } 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.getRuntimeType(_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.hashValues(_this._effectiveColor.value, _this.color, _this.darkColor, _this.highContrastColor, _this.elevatedColor, _this.darkElevatedColor, _this.darkHighContrastColor, _this.darkHighContrastElevatedColor, _this.highContrastElevatedColor, 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, B.C__HashEnd, B.C__HashEnd); }, 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; t1 = (t1 == null ? "CupertinoDynamicColor" : t1) + "(" + B.JSArray_methods.join$1(t2, ", "); return t1 + ", 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: 423 }; A._CupertinoDynamicColor_Color_Diagnosticable.prototype = {}; A._CupertinoDesktopTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return B.Size_0_0; }, buildHandle$6(context, type, textLineHeight, onTap, startGlyphHeight, endGlyphHeight) { return B.SizedBox_0_0_null_null; }, getHandleAnchor$4(type, textLineHeight, startGlyphHeight, endGlyphHeight) { return B.Offset_0_0; }, getHandleAnchor$2(type, textLineHeight) { return this.getHandleAnchor$4(type, textLineHeight, null, null); } }; A.CupertinoActionSheet.prototype = { _buildContent$1(context) { var _null = null, $content = A._setArrayType([], type$.JSArray_Widget), t1 = B.CupertinoDynamicColor_wsa.resolveFrom$1(context); return A.Container$(_null, A.Column$($content, B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), B.Clip_0, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); }, _buildActions$0() { var _null = null, t1 = this.actions, t2 = t1.length; if (t2 === 0) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, _null); t2 = A.ScrollController$(_null, 0, true); return new A._CupertinoAlertActionSection(t1, t2, false, true, _null); }, build$1(_, context) { var t2, t3, actionSheetWidth, _null = null, t1 = A.ImageFilter_ImageFilter$blur(20, 20); t1 = A._setArrayType([new A.Flexible(1, B.FlexFit_1, A.ClipRRect$(B.BorderRadius_tLn4, A.BackdropFilter$(new A._CupertinoDialogRenderWidget(new A.Builder(this.get$_buildContent(), _null), this._buildActions$0(), B.Color_4287598479, true, _null), t1)), _null)], type$.JSArray_Widget); t2 = type$.MediaQuery; t3 = context.dependOnInheritedWidgetOfExactType$1$0(t2).data; actionSheetWidth = t3.get$orientation(t3) === B.Orientation_0 ? context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dx - 16 : context.dependOnInheritedWidgetOfExactType$1$0(t2).data.size._dy - 16; t2 = A.ScrollConfiguration_of(context).copyWith$1$scrollbars(false); t1 = A.CupertinoUserInterfaceLevel$(A.Container$(_null, A.Column$(t1, B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, _null, _null, B.EdgeInsets_8_10_8_10, _null, _null, _null, actionSheetWidth), B.CupertinoUserInterfaceLevelData_1); return A.SafeArea$(true, A.ScrollConfiguration$(t2, 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, "Alert", _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), false, true, false, t1, _null)), B.EdgeInsets_0_0_0_0, true); } }; A.CupertinoActionSheetAction.prototype = { build$1(_, context) { var _null = null, t1 = A.CupertinoTheme_of(context).get$primaryColor(), style = B.TextStyle_v4V.copyWith$1$color(t1); t1 = A.Container$(B.Alignment_0_0, A.DefaultTextStyle$(this.child, _null, _null, B.TextOverflow_0, true, style, B.TextAlign_2, _null, B.TextWidthBasis_0), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, B.EdgeInsets_10_16_10_16, _null, _null, _null); return A.GestureDetector$(B.HitTestBehavior_1, new A.ConstrainedBox(B.BoxConstraints_mlX4, 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), false, false, false, t1, _null), _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.onPressed, _null, _null, _null, _null, _null, _null, _null); } }; A._CupertinoDialogRenderWidget.prototype = { createRenderObject$1(context) { var t2, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; A._isInAccessibilityMode(context); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$color(0, this.dividerColor); t2.set$style(0, B.PaintingStyle_0); t2 = new A._RenderCupertinoDialog(false, true, 1 / t1.devicePixelRatio, t2, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; return t2; }, updateRenderObject$2(context, renderObject) { A._isInAccessibilityMode(context); if (renderObject._isInAccessibilityMode) { renderObject._isInAccessibilityMode = false; renderObject.markNeedsLayout$0(); } renderObject.set$dividerColor(this.dividerColor); }, createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A._CupertinoDialogRenderElement(true, t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); } }; A._CupertinoDialogRenderElement.prototype = { get$widget() { return type$._CupertinoDialogRenderWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderCupertinoDialog._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, visitChildren$1(visitor) { var t1 = this._contentElement; if (t1 != null) visitor.call$1(t1); t1 = this._actionsElement; if (t1 != null) visitor.call$1(t1); }, mount$2($parent, newSlot) { var t1, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = type$._CupertinoDialogRenderWidget; _this._contentElement = _this.updateChild$3(_this._contentElement, t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).contentSection, B._AlertDialogSections_0); _this._actionsElement = _this.updateChild$3(_this._actionsElement, t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).actionsSection, B._AlertDialogSections_1); }, insertRenderObjectChild$2(child, slot) { this._placeChildInSlot$2(child, slot); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { this._placeChildInSlot$2(child, newSlot); }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = type$._CupertinoDialogRenderWidget; _this._contentElement = _this.updateChild$3(_this._contentElement, t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).contentSection, B._AlertDialogSections_0); _this._actionsElement = _this.updateChild$3(_this._actionsElement, t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).actionsSection, B._AlertDialogSections_1); }, forgetChild$1(child) { var _this = this; if (J.$eq$(_this._contentElement, child)) _this._contentElement = null; else _this._actionsElement = null; _this.super$Element$forgetChild(child); }, removeRenderObjectChild$2(child, slot) { var t1 = type$._RenderCupertinoDialog; if (t1._as(A.RenderObjectElement.prototype.get$renderObject.call(this))._contentSection === child) t1._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$contentSection(null); else t1._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$actionsSection(null); }, _placeChildInSlot$2(child, slot) { switch (slot.index) { case 0: type$._RenderCupertinoDialog._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$contentSection(type$.RenderBox._as(child)); break; case 1: type$._RenderCupertinoDialog._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$actionsSection(type$.RenderBox._as(child)); break; } } }; A._RenderCupertinoDialog.prototype = { set$contentSection(newContentSection) { var _this = this, t1 = _this._contentSection; if (newContentSection != t1) { if (t1 != null) _this.dropChild$1(t1); _this._contentSection = newContentSection; if (newContentSection != null) _this.adoptChild$1(newContentSection); } }, set$actionsSection(newActionsSection) { var _this = this, t1 = _this._actionsSection; if (newActionsSection != t1) { if (t1 != null) _this.dropChild$1(t1); _this._actionsSection = newActionsSection; if (newActionsSection != null) _this.adoptChild$1(newActionsSection); } }, set$dividerColor(newValue) { var t1 = this._dividerPaint; if (t1.get$color(t1).$eq(0, newValue)) return; t1.set$color(0, newValue); this.markNeedsPaint$0(); }, attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this._contentSection; if (t1 != null) t1.attach$1(owner); t1 = this._actionsSection; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this._contentSection; if (t1 != null) t1.detach$0(0); t1 = this._actionsSection; if (t1 != null) t1.detach$0(0); }, redepthChildren$0() { var _this = this, t1 = _this._contentSection; if (t1 != null) _this.redepthChild$1(t1); t1 = _this._actionsSection; if (t1 != null) _this.redepthChild$1(t1); }, setupParentData$1(child) { if (!(child.parentData instanceof A.MultiChildLayoutParentData)) child.parentData = new A.MultiChildLayoutParentData(null, null, B.Offset_0_0); }, visitChildren$1(visitor) { var t1 = this._contentSection; if (t1 != null) visitor.call$1(t1); t1 = this._actionsSection; if (t1 != null) visitor.call$1(t1); }, debugDescribeChildren$0() { var t1 = A._setArrayType([], type$.JSArray_DiagnosticsNode), t2 = this._contentSection; if (t2 != null) t1.push(A.DiagnosticableTreeNode$("content", null, t2)); t2 = this._actionsSection; if (t2 != null) t1.push(A.DiagnosticableTreeNode$("actions", null, t2)); return t1; }, computeMinIntrinsicWidth$1(height) { var t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); return t1.minWidth; }, computeMaxIntrinsicWidth$1(height) { var t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); return t1.maxWidth; }, computeMinIntrinsicHeight$1(width) { var actionsHeight, height, t1 = this._contentSection, contentHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = this._actionsSection; actionsHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = contentHeight > 0; height = contentHeight + (t1 && actionsHeight > 0 ? this._dividerThickness : 0) + actionsHeight; t1 = actionsHeight > 0 || t1; if (t1) height -= 20; if (isFinite(height)) return height; return 0; }, computeMaxIntrinsicHeight$1(width) { var actionsHeight, height, t1 = this._contentSection, contentHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); t1 = this._actionsSection; actionsHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); t1 = contentHeight > 0; height = contentHeight + (t1 && actionsHeight > 0 ? this._dividerThickness : 0) + actionsHeight; t1 = actionsHeight > 0 || t1; if (t1) height -= 20; if (isFinite(height)) return height; return 0; }, computeDryLayout$1(constraints) { return this._performLayout$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()).size; }, performLayout$0() { var t1, _this = this, dialogSizes = _this._performLayout$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); _this._size = dialogSizes.size; t1 = _this._actionsSection; t1 = t1.parentData; t1.toString; type$.MultiChildLayoutParentData._as(t1).offset = new A.Offset(0, dialogSizes.contentHeight + dialogSizes.dividerThickness); }, _performLayout$2$constraints$layoutChild(constraints, layoutChild) { var t1, t2, hasDivider, dividerThickness, maxContentHeight, t3, actionsSize, contentSize, minActionsHeight, _this = this; if (_this._isInAccessibilityMode) { t1 = _this._contentSection; if (t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 310, t1.get$computeMaxIntrinsicHeight()) > 0) { t1 = _this._actionsSection; t1.toString; t2 = _this._isInAccessibilityMode ? 310 : 270; hasDivider = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t2, t1.get$computeMaxIntrinsicHeight()) > 0; } else hasDivider = false; dividerThickness = hasDivider ? _this._dividerThickness : 0; t1 = _this._contentSection; t1.toString; t2 = _this._isInAccessibilityMode ? 310 : 270; maxContentHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t2, t1.get$computeMaxIntrinsicHeight()); t1 = _this._actionsSection; t1.toString; t2 = _this._isInAccessibilityMode ? 310 : 270; t3 = constraints.maxHeight; if (maxContentHeight + dividerThickness + t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t2, t1.get$computeMaxIntrinsicHeight()) > t3) { t1 = _this._actionsSection; t1.toString; actionsSize = layoutChild.call$2(t1, constraints.deflate$1(new A.EdgeInsets(0, t3 / 2, 0, 0))); t3 = _this._contentSection; t3.toString; contentSize = layoutChild.call$2(t3, constraints.deflate$1(new A.EdgeInsets(0, 0, 0, actionsSize._dy + dividerThickness))); } else { t1 = _this._contentSection; t1.toString; contentSize = layoutChild.call$2(t1, constraints); t1 = _this._actionsSection; t1.toString; actionsSize = layoutChild.call$2(t1, constraints.deflate$1(new A.EdgeInsets(0, contentSize._dy, 0, 0))); } t1 = contentSize._dy; t2 = _this._isInAccessibilityMode ? 310 : 270; t1 = new A._AlertDialogSizes(constraints.constrain$1(new A.Size(t2, t1 + dividerThickness + actionsSize._dy)), t1, dividerThickness); } else { t1 = _this._contentSection; t1.toString; t2 = type$.BoxConstraints; t3 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); if (t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t3.maxWidth, t1.get$computeMaxIntrinsicHeight()) > 0) { t1 = _this._actionsSection; t1.toString; t3 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); hasDivider = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t3.maxWidth, t1.get$computeMaxIntrinsicHeight()) > 0; } else hasDivider = false; dividerThickness = hasDivider ? _this._dividerThickness : 0; t1 = _this._actionsSection; t1.toString; t2 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); minActionsHeight = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, t2.maxWidth, t1.get$computeMinIntrinsicHeight()); t1 = _this._contentSection; t1.toString; contentSize = layoutChild.call$2(t1, constraints.deflate$1(new A.EdgeInsets(0, 0, 0, minActionsHeight + dividerThickness))); t1 = _this._actionsSection; t1.toString; t2 = contentSize._dy; t3 = t2 + dividerThickness; t1 = layoutChild.call$2(t1, constraints.deflate$1(new A.EdgeInsets(0, t3, 0, 0)))._dy; t1 = new A._AlertDialogSizes(new A.Size(constraints.maxWidth, t3 + t1), t2, dividerThickness); } return t1; }, paint$2(context, offset) { var t3, _this = this, t1 = _this._contentSection, t2 = t1.parentData; t2.toString; t1.paint$2(context, offset.$add(0, type$.MultiChildLayoutParentData._as(t2).offset)); if (_this._contentSection._size._dy > 0 && _this._actionsSection._size._dy > 0) { t1 = context.get$canvas(context); t2 = offset._dx; t3 = offset._dy + _this._contentSection._size._dy; t1.drawRect$2(0, new A.Rect(t2, t3, t2 + _this._size._dx, t3 + _this._dividerThickness), _this._dividerPaint); } t1 = _this._actionsSection; t2 = t1.parentData; t2.toString; t1.paint$2(context, offset.$add(0, type$.MultiChildLayoutParentData._as(t2).offset)); }, hitTestChildren$2$position(result, position) { var t2, t3, _this = this, t1 = _this._contentSection; t1 = t1.parentData; t1.toString; t2 = type$.MultiChildLayoutParentData; t2._as(t1); t3 = _this._actionsSection.parentData; t3.toString; t2._as(t3); return result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderCupertinoDialog_hitTestChildren_closure(_this, position, t1), t1.offset, position) || result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderCupertinoDialog_hitTestChildren_closure0(_this, position, t3), t3.offset, position); } }; A._RenderCupertinoDialog_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.$this._contentSection.hitTest$2$position(result, transformed); }, $signature: 15 }; A._RenderCupertinoDialog_hitTestChildren_closure0.prototype = { call$2(result, transformed) { return this.$this._actionsSection.hitTest$2$position(result, transformed); }, $signature: 15 }; A._AlertDialogSizes.prototype = {}; A._AlertDialogSections.prototype = { toString$0(_) { return "_AlertDialogSections." + this._core$_name; } }; A._CupertinoAlertActionSection.prototype = { createState$0() { return new A._CupertinoAlertActionSectionState(B._StateLifecycle_0); } }; A._CupertinoAlertActionSectionState.prototype = { build$1(_, context) { var i, t2, t3, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, interactiveButtons = A._setArrayType([], type$.JSArray_Widget); for (i = 0; t2 = this._widget, t3 = t2.children, i < t3.length; ++i) interactiveButtons.push(new A._PressableActionButton(t3[i], _null)); t3 = t2.scrollController; return A.CupertinoScrollbar$(A.SingleChildScrollView$(new A._CupertinoDialogActionsRenderWidget(1 / t1.devicePixelRatio, t2.hasCancelButton, true, interactiveButtons, _null), t3, B.DragStartBehavior_1, _null, _null, _null, _null, B.Axis_1), t3, false, _null, B.Radius_ydE, B.Radius_4_4, _null, 3, 8); } }; A._PressableActionButton.prototype = { createState$0() { return new A._PressableActionButtonState(B._StateLifecycle_0); } }; A._PressableActionButtonState.prototype = { build$1(_, context) { var _this = this, _null = null; return new A._ActionButtonParentDataWidget(_this._isPressed, new A.MergeSemantics(A.GestureDetector$(B.HitTestBehavior_1, _this._widget.child, B.DragStartBehavior_1, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._PressableActionButtonState_build_closure(_this), new A._PressableActionButtonState_build_closure0(_this), new A._PressableActionButtonState_build_closure1(_this), _null, _null, _null, _null), _null), _null); } }; A._PressableActionButtonState_build_closure0.prototype = { call$1(details) { var t1 = this.$this; return t1.setState$1(new A._PressableActionButtonState_build__closure0(t1)); }, $signature: 39 }; A._PressableActionButtonState_build__closure0.prototype = { call$0() { this.$this._isPressed = true; }, $signature: 0 }; A._PressableActionButtonState_build_closure1.prototype = { call$1(details) { var t1 = this.$this; return t1.setState$1(new A._PressableActionButtonState_build__closure(t1)); }, $signature: 59 }; A._PressableActionButtonState_build__closure.prototype = { call$0() { this.$this._isPressed = false; }, $signature: 0 }; A._PressableActionButtonState_build_closure.prototype = { call$0() { var t1 = this.$this; return t1.setState$1(new A._PressableActionButtonState_build__closure1(t1)); }, $signature: 0 }; A._PressableActionButtonState_build__closure1.prototype = { call$0() { return this.$this._isPressed = false; }, $signature: 0 }; A._ActionButtonParentDataWidget.prototype = { applyParentData$1(renderObject) { var t2, targetParent, t1 = renderObject.parentData; t1.toString; type$._ActionButtonParentData._as(t1); t2 = this.isPressed; if (t1.isPressed !== t2) { t1.isPressed = t2; targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsPaint$0(); } } }; A._ActionButtonParentData.prototype = {}; A._CupertinoDialogActionsRenderWidget.prototype = { createRenderObject$1(context) { var _null = null, t1 = B.CupertinoDynamicColor_wsa.resolveFrom$1(context), t2 = B.CupertinoDynamicColor_ndH.resolveFrom$1(context), t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$color(0, t1); t3.set$style(0, B.PaintingStyle_0); t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, t2); t1.set$style(0, B.PaintingStyle_0); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$color(0, B.Color_4287598479); t2.set$style(0, B.PaintingStyle_0); t2 = new A._RenderCupertinoDialogActions(_null, this._dividerThickness, this._hasCancelButton, t3, t1, t2, true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; t2.addAll$1(0, _null); return t2; }, updateRenderObject$2(context, renderObject) { var t1; if (null != renderObject._dialogWidth) { renderObject._dialogWidth = null; renderObject.markNeedsLayout$0(); } t1 = this._dividerThickness; if (t1 !== renderObject._dividerThickness) { renderObject._dividerThickness = t1; renderObject.markNeedsLayout$0(); } t1 = B.CupertinoDynamicColor_wsa.resolveFrom$1(context); renderObject.set$dialogColor(t1); t1 = B.CupertinoDynamicColor_ndH.resolveFrom$1(context); renderObject.set$dialogPressedColor(t1); renderObject.set$dividerColor(B.Color_4287598479); renderObject.set$hasCancelButton(this._hasCancelButton); renderObject.set$isActionSheet(true); } }; A._RenderCupertinoDialogActions.prototype = { set$hasCancelButton(newValue) { if (newValue === this._hasCancelButton) return; this._hasCancelButton = newValue; this.markNeedsLayout$0(); }, set$dialogColor(value) { var t1 = this._buttonBackgroundPaint; if (value.$eq(0, t1.get$color(t1))) return; t1.set$color(0, value); this.markNeedsPaint$0(); }, set$dialogPressedColor(value) { var t1 = this._pressedButtonBackgroundPaint; if (value.$eq(0, t1.get$color(t1))) return; t1.set$color(0, value); this.markNeedsPaint$0(); }, set$dividerColor(value) { var t1 = this._dividerPaint; if (value.$eq(0, t1.get$color(t1))) return; t1.set$color(0, value); this.markNeedsPaint$0(); }, set$isActionSheet(value) { return; }, setupParentData$1(child) { if (!(child.parentData instanceof A._ActionButtonParentData)) child.parentData = new A._ActionButtonParentData(null, null, B.Offset_0_0); }, computeMinIntrinsicWidth$1(height) { var t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); return t1.minWidth; }, computeMaxIntrinsicWidth$1(height) { var t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); return t1.maxWidth; }, computeMinIntrinsicHeight$1(width) { var _this = this, t1 = _this.ContainerRenderObjectMixin__childCount; if (t1 === 0) return 0; else { if (t1 === 1) return _this.ContainerRenderObjectMixin__firstChild.computeMaxIntrinsicHeight$1(width) + _this._dividerThickness; if (_this._hasCancelButton && t1 < 4) return _this._computeMinIntrinsicHeightWithCancel$1(width); return _this._computeMinIntrinsicHeightStacked$1(width); } }, _computeMinIntrinsicHeightWithCancel$1(width) { var t1, t2, t3, t4, _this = this; if (_this.ContainerRenderObjectMixin__childCount === 2) { t1 = _this.ContainerRenderObjectMixin__firstChild; t1 = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t2 = _this.ContainerRenderObjectMixin__firstChild.parentData; t2.toString; t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1")._as(t2).ContainerParentDataMixin_nextSibling; return t1 + t2._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t2.get$computeMinIntrinsicHeight()) + _this._dividerThickness; } t1 = _this.ContainerRenderObjectMixin__firstChild; t1 = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t2 = _this.ContainerRenderObjectMixin__firstChild.parentData; t2.toString; t3 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t2 = t3._as(t2).ContainerParentDataMixin_nextSibling; t2 = t2._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t2.get$computeMinIntrinsicHeight()); t4 = _this.ContainerRenderObjectMixin__firstChild.parentData; t4.toString; t4 = t3._as(t4).ContainerParentDataMixin_nextSibling.parentData; t4.toString; t4 = t3._as(t4).ContainerParentDataMixin_nextSibling; return t1 + t2 + t4._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t4.get$computeMinIntrinsicHeight()) + _this._dividerThickness * 2; }, _computeMinIntrinsicHeightStacked$1(width) { var t2, t3, _this = this, t1 = _this.ContainerRenderObjectMixin__firstChild; t1 = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t2 = _this._dividerThickness; t3 = _this.ContainerRenderObjectMixin__firstChild.parentData; t3.toString; t3 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1")._as(t3).ContainerParentDataMixin_nextSibling; return t1 + t2 + 0.5 * t3._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t3.get$computeMinIntrinsicHeight()); }, computeMaxIntrinsicHeight$1(width) { var _this = this, t1 = _this.ContainerRenderObjectMixin__childCount; if (t1 === 0) return 0; else { if (t1 === 1) return _this.ContainerRenderObjectMixin__firstChild.computeMaxIntrinsicHeight$1(width) + _this._dividerThickness; return _this._computeMaxIntrinsicHeightStacked$1(width); } }, _computeMaxIntrinsicHeightStacked$1(width) { var t1, heightAccumulation, t2, _this = this, allDividersHeight = (_this.ContainerRenderObjectMixin__childCount - 1) * _this._dividerThickness, button = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), heightAccumulation = allDividersHeight; button != null;) { heightAccumulation += button._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, button.get$computeMaxIntrinsicHeight()); t2 = button.parentData; t2.toString; button = t1._as(t2).ContainerParentDataMixin_nextSibling; } return heightAccumulation; }, computeDryLayout$1(constraints) { return this._performLayout$2$constraints$dry(constraints, true); }, performLayout$0() { this._size = this._performLayout$1$constraints(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this))); }, _performLayout$2$constraints$dry(constraints, dry) { var t1, t2, t3, index, verticalOffset, childSize, t4, _this = this, layoutChild = dry ? A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure() : A.layout_helper_ChildLayoutHelper_layoutChild$closure(), perButtonConstraints = constraints.copyWith$2$maxHeight$minHeight(1 / 0, 0), child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t2 = !dry, t3 = type$.MultiChildLayoutParentData, index = 0, verticalOffset = 0; child != null;) { childSize = layoutChild.call$2(child, perButtonConstraints); if (t2) { t4 = child.parentData; t4.toString; t3._as(t4).offset = new A.Offset(0, verticalOffset); } verticalOffset += childSize._dy; if (index < _this.ContainerRenderObjectMixin__childCount - 1) verticalOffset += _this._dividerThickness; ++index; t4 = child.parentData; t4.toString; child = t1._as(t4).ContainerParentDataMixin_nextSibling; } t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); return constraints.constrain$1(new A.Size(t1.maxWidth, verticalOffset)); }, _performLayout$1$constraints(constraints) { return this._performLayout$2$constraints$dry(constraints, false); }, paint$2(context, offset) { var canvas = context.get$canvas(context); this._drawButtonBackgroundsAndDividersStacked$2(canvas, offset); this._drawButtons$2(context, offset); }, _drawButtonBackgroundsAndDividersStacked$2(canvas, offset) { var t1, pressedBackgroundFillPath, dividersPath, child, t2, accumulatingOffset, prevChild, t3, isButtonPressed, isPrevButtonPressed, isDividerPresent, isDividerPainted, t4, t5, t6, dividerRect, buttonBackgroundRect, child0, _this = this, dividerOffset = new A.Offset(0, _this._dividerThickness), backgroundFillPath = A.Path_Path(); backgroundFillPath.set$fillType(B.PathFillType_1); t1 = _this._size; backgroundFillPath.addRect$1(0, new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy)); pressedBackgroundFillPath = A.Path_Path(); dividersPath = A.Path_Path(); child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t2 = type$._ActionButtonParentData, accumulatingOffset = offset, prevChild = null; child != null; prevChild = child, child = child0) { t3 = child.parentData; t3.toString; isButtonPressed = t2._as(t3).isPressed; if (prevChild != null) { t3 = prevChild.parentData; t3.toString; isPrevButtonPressed = t2._as(t3).isPressed; } else isPrevButtonPressed = false; isDividerPresent = child !== _this.ContainerRenderObjectMixin__firstChild; if (isDividerPresent) isDividerPainted = !(isButtonPressed || isPrevButtonPressed); else isDividerPainted = false; t3 = accumulatingOffset._dx; t4 = accumulatingOffset._dy; t5 = _this._size._dx; t6 = _this._dividerThickness; t5 = t3 + t5; dividerRect = new A.Rect(t3, t4, t5, t4 + t6); t6 = t4 + (isDividerPresent ? t6 : 0); buttonBackgroundRect = new A.Rect(t3, t6, t5, t6 + child._size._dy); if (isButtonPressed) { backgroundFillPath.addRect$1(0, buttonBackgroundRect); pressedBackgroundFillPath.addRect$1(0, buttonBackgroundRect); } if (isDividerPainted) { backgroundFillPath.addRect$1(0, dividerRect); dividersPath.addRect$1(0, dividerRect); } t5 = isDividerPresent ? dividerOffset : B.Offset_0_0; accumulatingOffset = new A.Offset(t3 + (t5._dx + 0), t4 + (t5._dy + child._size._dy)); t5 = child.parentData; t5.toString; child0 = t1._as(t5).ContainerParentDataMixin_nextSibling; } canvas.drawPath$2(0, backgroundFillPath, _this._buttonBackgroundPaint); canvas.drawPath$2(0, pressedBackgroundFillPath, _this._pressedButtonBackgroundPaint); canvas.drawPath$2(0, dividersPath, _this._dividerPaint); }, _drawButtons$2(context, offset) { var t1, t2, t3, t4, t5, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.MultiChildLayoutParentData, t2 = offset._dx, t3 = offset._dy, t4 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"); child != null;) { t5 = child.parentData; t5.toString; t5 = t1._as(t5).offset; context.paintChild$2(child, new A.Offset(t5._dx + t2, t5._dy + t3)); t5 = child.parentData; t5.toString; child = t4._as(t5).ContainerParentDataMixin_nextSibling; } }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); } }; A.__RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.MultiChildLayoutParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.MultiChildLayoutParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.__RenderCupertinoDialogActions_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; 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$3$color$opacity$size(color, opacity, size) { var _this = this, t1 = color == null ? _this.color : color, t2 = opacity == null ? _this.get$opacity(_this) : opacity; return new A.CupertinoIconThemeData(t1, t2, size == null ? _this.size : size); }, copyWith$1$color(color) { return this.copyWith$3$color$opacity$size(color, null, null); } }; A._CupertinoIconThemeData_IconThemeData_Diagnosticable.prototype = {}; A.CupertinoUserInterfaceLevelData.prototype = { toString$0(_) { return "CupertinoUserInterfaceLevelData." + this._core$_name; } }; A.CupertinoUserInterfaceLevel.prototype = { updateShouldNotify$1(oldWidget) { return oldWidget._interface_level$_data !== this._interface_level$_data; } }; A._CupertinoLocalizationsDelegate.prototype = { isSupported$1(locale) { return locale.get$languageCode(locale) === "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 = {$isCupertinoLocalizations: 1}; A.CupertinoRouteTransitionMixin_buildPageTransitions_closure.prototype = { call$0() { return A.CupertinoRouteTransitionMixin__isPopGestureEnabled(this.route); }, $signature: 2 }; 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.CupertinoFullscreenDialogTransition.prototype = { build$1(_, context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; return A.SlideTransition$(A.SlideTransition$(this.child, this._positionAnimation, null, true), this._secondaryPositionAnimation, t1.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, 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 = t1; }, dispose$0(_) { var t1 = A._lateReadCheck(this.___CupertinoBackGestureDetectorState__recognizer, "_recognizer"); t1._velocityTrackers.clear$0(0); t1.super$OneSequenceGestureRecognizer$dispose(0); this.super$State$dispose(0); }, _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; t3 = this._framework$_element; t3 = this._convertToLogical$1(t2 / t3.get$size(t3)._dx); t1 = t1.controller; t1.set$value(0, A._lateReadCheck(t1.__AnimationController__value, "_value") - t3); }, _route$_handleDragEnd$1(details) { var t2, _this = this, t1 = _this._backGestureController; t1.toString; t2 = _this._framework$_element; t1.dragEnd$1(_this._convertToLogical$1(details.velocity.pixelsPerSecond._dx / t2.get$size(t2)._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) { if (this._widget.enabledCallback$0()) A._lateReadCheck(this.___CupertinoBackGestureDetectorState__recognizer, "_recognizer").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 ? context.dependOnInheritedWidgetOfExactType$1$0(t2).data.padding.left : context.dependOnInheritedWidgetOfExactType$1$0(t2).data.padding.right; dragAreaWidth = Math.max(dragAreaWidth, 20); return A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([this._widget.child, new A.PositionedDirectional(0, 0, 0, dragAreaWidth, A.Listener$(B.HitTestBehavior_2, _null, _null, this.get$_route$_handlePointerDown(), _null, _null), _null)], type$.JSArray_Widget), B.StackFit_2, _null, _null); } }; A._CupertinoBackGestureController.prototype = { dragEnd$1(velocity) { var t1, t2, animationStatusCallback, _this = this, _s6_ = "_value"; if (Math.abs(velocity) >= 1 ? velocity <= 0 : A._lateReadCheck(_this.controller.__AnimationController__value, _s6_) > 0.5) { t1 = _this.controller; t2 = A.lerpDouble(800, 0, A._lateReadCheck(t1.__AnimationController__value, _s6_)); t2.toString; t2 = A.Duration$(0, 0, 0, Math.min(B.JSNumber_methods.floor$0(t2), 300), 0); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.Cubic_2Vk, t2); } else { _this.navigator.pop$0(0); t1 = _this.controller; t2 = t1._ticker; if (t2 != null && t2._ticker$_future != null) { t2 = A.lerpDouble(0, 800, A._lateReadCheck(t1.__AnimationController__value, _s6_)); t2.toString; t2 = A.Duration$(0, 0, 0, B.JSNumber_methods.floor$0(t2), 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); t1.addStatusListener$1(animationStatusCallback._readLocal$0()); } 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: 16 }; 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.getRuntimeType(this)) return false; if (other instanceof A._CupertinoEdgeShadowDecoration) { t1 = other._colors; t2 = this._colors; t2 = t1 == null ? t2 == null : t1 === t2; t1 = t2; } else t1 = false; return t1; }, get$hashCode(_) { return J.get$hashCode$(this._colors); } }; A._CupertinoEdgeShadowDecoration_lerp_closure.prototype = { call$1(color) { var t1 = A.Color_lerp(null, color, this.t); t1.toString; return t1; }, $signature: 168 }; A._CupertinoEdgeShadowDecoration_lerp_closure0.prototype = { call$1(color) { var t1 = A.Color_lerp(null, color, 1 - this.t); t1.toString; return t1; }, $signature: 168 }; A._CupertinoEdgeShadowPainter.prototype = { paint$3(canvas, offset, configuration) { var t1, t2, shadowWidth, shadowHeight, bandWidth, start, shadowDirection, bandColorIndex, dx, t3, paint, colors = this._route$_decoration._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; t3 = A._detectRenderer(); paint = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); 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(0, new A.Rect(t3, t1, t3 + 1, t2), paint); } } }; A.CupertinoModalPopupRoute.prototype = { get$barrierDismissible() { return true; }, get$semanticsDismissible() { return true; }, get$transitionDuration(_) { return B.Duration_335000; }, createAnimation$0() { var t1 = A.CurvedAnimation$(B.Cubic_izR, this.super$TransitionRoute$createAnimation(), new A.FlippedCurve(B.Cubic_izR)); this._route$_animation = t1; this.__CupertinoModalPopupRoute__offsetTween = new A.Tween(B.Offset_0_1, B.Offset_0_0, type$.Tween_Offset); return t1; }, buildPage$3(context, animation, secondaryAnimation) { return A.CupertinoUserInterfaceLevel$(new A.Builder(this.builder, null), B.CupertinoUserInterfaceLevelData_1); }, buildTransitions$4(context, animation, secondaryAnimation, child) { var t1 = A._lateReadCheck(this.__CupertinoModalPopupRoute__offsetTween, "_offsetTween"), t2 = this._route$_animation; return new A.Align(B.Alignment_0_1, null, null, A.FractionalTranslation$(child, true, t1.transform$1(0, t2.get$value(t2))), null); }, get$barrierLabel() { return "Dismiss"; }, get$barrierColor() { return this.barrierColor; } }; A.CupertinoScrollbar.prototype = { createState$0() { return new A._CupertinoScrollbarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, B._StateLifecycle_0); } }; A._CupertinoScrollbarState.prototype = { initState$0() { var t1, _this = this; _this.super$RawScrollbarState$initState(); t1 = A.AnimationController$(null, B.Duration_100000, null, 1, null, _this); _this.___CupertinoScrollbarState__thicknessAnimationController = t1; t1 = A._lateReadCheck(t1, "_thicknessAnimationController"); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(new A._CupertinoScrollbarState_initState_closure(_this)); }, updateScrollbarPainter$0() { var t3, t4, t5, _this = this, _s29_ = "_thicknessAnimationController", t1 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"), 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(0, t2.textDirection); t2 = _this._widget.thickness; t2.toString; t3 = A._lateReadCheck(A._lateReadCheck(_this.___CupertinoScrollbarState__thicknessAnimationController, _s29_).__AnimationController__value, "_value"); t4 = _this._widget; t5 = t4.thicknessWhileDragging; t4 = t4.thickness; t4.toString; t1.set$thickness(t2 + t3 * (t5 - t4)); t1.set$mainAxisMargin(3); t1.set$crossAxisMargin(3); t4 = _this._widget; t4 = A.Radius_lerp(t4.radius, t4.radiusWhileDragging, A._lateReadCheck(A._lateReadCheck(_this.___CupertinoScrollbarState__thicknessAnimationController, _s29_).__AnimationController__value, "_value")); t4.toString; t1.set$radius(t4); t1.set$padding(0, _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.padding); t1.set$minLength(0, 36); t1.set$minOverscrollLength(8); t1.set$scrollbarOrientation(_this._widget.scrollbarOrientation); }, handleThumbPressStart$1(localPosition) { var _this = this; _this.super$RawScrollbarState$handleThumbPressStart(localPosition); switch (_this.getScrollbarDirection$0().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(); A._lateReadCheck(this.___CupertinoScrollbarState__thicknessAnimationController, "_thicknessAnimationController").forward$0(0).then$1$1(0, new A._CupertinoScrollbarState_handleThumbPress_closure(), type$.void); }, handleThumbPressEnd$2(localPosition, velocity) { var _this = this, direction = _this.getScrollbarDirection$0(); if (direction == null) return; A._lateReadCheck(_this.___CupertinoScrollbarState__thicknessAnimationController, "_thicknessAnimationController").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(_) { A._lateReadCheck(this.___CupertinoScrollbarState__thicknessAnimationController, "_thicknessAnimationController").dispose$0(0); this.super$RawScrollbarState$dispose(0); } }; 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: 122 }; A._Segment.prototype = { createState$0() { return new A._SegmentState(null, B._StateLifecycle_0, this.$ti._eval$1("_SegmentState<1>")); } }; A._SegmentState.prototype = { initState$0() { var t1, t2, t3, _this = this, _s29_ = "highlightPressScaleController"; _this.super$State$initState(); t1 = _this._widget; t2 = A.AnimationController$(null, B.Duration_470000, null, 1, t1.pressed && t1.highlighted && t1.isDragging ? 1 : 0, _this); A._lateWriteOnceCheck(_this.___SegmentState_highlightPressScaleController, _s29_); _this.___SegmentState_highlightPressScaleController = t2; t3 = type$.Tween_double; _this.___SegmentState_highlightPressScaleAnimation = new A._AnimatedEvaluation(type$.Animation_double._as(A._lateReadCheck(t2, _s29_)), new A.Tween(1, 0.95, t3), t3._eval$1("_AnimatedEvaluation<Animatable.T>")); }, didUpdateWidget$1(oldWidget) { var t1, t2, t3, t4, _this = this, _s29_ = "highlightPressScaleController"; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.pressed && oldWidget.highlighted && oldWidget.isDragging; t2 = _this._widget; if (t1 !== (t2.pressed && t2.highlighted && t2.isDragging)) { t1 = A._lateReadCheck(_this.___SegmentState_highlightPressScaleController, _s29_); t2 = A._lateReadCheck(_this.___SegmentState_highlightPressScaleAnimation, "highlightPressScaleAnimation"); t3 = t2._evaluatable; t2 = t2.parent; t2 = t3.transform$1(0, t2.get$value(t2)); t3 = _this._widget; t3 = t3.pressed && t3.highlighted && t3.isDragging ? 0.95 : 1; t4 = type$.Tween_double; _this.___SegmentState_highlightPressScaleAnimation = new A._AnimatedEvaluation(type$.Animation_double._as(t1), new A.Tween(t2, t3, t4), t4._eval$1("_AnimatedEvaluation<Animatable.T>")); A._lateReadCheck(_this.___SegmentState_highlightPressScaleController, _s29_).animateWith$1($.$get$_kThumbSpringAnimationSimulation()); } }, dispose$0(_) { A._lateReadCheck(this.___SegmentState_highlightPressScaleController, "highlightPressScaleController").dispose$0(0); this.super$__SegmentState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var t2, t3, t4, _this = this, _null = null, t1 = _this._widget; t1 = t1.pressed && !t1.highlighted ? 0.2 : 1; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); if (t2 == null) t2 = B.DefaultTextStyle_40S; t2 = t2.style.merge$1(A.TextStyle$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this._widget.highlighted ? B.FontWeight_4 : B.FontWeight_3, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null)); t3 = A._lateReadCheck(_this.___SegmentState_highlightPressScaleAnimation, "highlightPressScaleAnimation"); t4 = _this._widget.child; return new A.MetaData(B.HitTestBehavior_1, A.IndexedStack$(B.Alignment_0_0, A._setArrayType([A.AnimatedOpacity$(false, A.AnimatedDefaultTextStyle$(A.ScaleTransition$(t4, t3), B.Cubic_JUR0, B.Duration_200000, true, t2), B.Cubic_JUR0, B.Duration_470000, t1), new A.Offstage(true, A.DefaultTextStyle_merge(t4, B.TextStyle_oqK0), _null)], type$.JSArray_Widget), 0), _null); } }; A._SegmentSeparator.prototype = { createState$0() { return new A._SegmentSeparatorState(null, B._StateLifecycle_0); } }; A._SegmentSeparatorState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_412000, null, 1, _this._widget.highlighted ? 0 : 1, _this); A._lateWriteOnceCheck(_this.___SegmentSeparatorState_separatorOpacityController, "separatorOpacityController"); _this.___SegmentSeparatorState_separatorOpacityController = t1; }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (oldWidget.highlighted !== _this._widget.highlighted) { t1 = A._lateReadCheck(_this.___SegmentSeparatorState_separatorOpacityController, "separatorOpacityController"); t2 = _this._widget.highlighted ? 0 : 1; t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(t2, B.Cubic_JUR0, B.Duration_412000); } }, dispose$0(_) { A._lateReadCheck(this.___SegmentSeparatorState_separatorOpacityController, "separatorOpacityController").dispose$0(0); this.super$__SegmentSeparatorState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { return A.AnimatedBuilder$(A._lateReadCheck(this.___SegmentSeparatorState_separatorOpacityController, "separatorOpacityController"), new A._SegmentSeparatorState_build_closure(this), B.SizedBox_1_null_null_null); } }; A._SegmentSeparatorState_build_closure.prototype = { call$2(context, child) { var _null = null; return new A.Padding(B.EdgeInsets_0_6_0_6, A.DecoratedBox$(child, new A.BoxDecoration(A.Color$fromARGB(B.JSNumber_methods.round$0(255 * (0.30196078431372547 * A._lateReadCheck(A._lateReadCheck(this.$this.___SegmentSeparatorState_separatorOpacityController, "separatorOpacityController").__AnimationController__value, "_value"))), 142, 142, 147), _null, _null, B.BorderRadius_tLn3, _null, _null, B.BoxShape_0), B.DecorationPosition_0), _null); }, $signature: 429 }; A.CupertinoSlidingSegmentedControl.prototype = { createState$0() { var _null = null; return new A._SegmentedControlState(A.TapGestureRecognizer$(_null), A.HorizontalDragGestureRecognizer$(_null, _null, _null), A.LongPressGestureRecognizer$(_null, _null, _null, _null, _null), _null, B._StateLifecycle_0, this.$ti._eval$1("_SegmentedControlState<1>")); } }; A._SegmentedControlState.prototype = { get$thumbController() { var result, _this = this, value = _this.___SegmentedControlState_thumbController; if (value === $) { result = A.AnimationController$(null, B.Duration_412000, null, 1, 0, _this); A._lateInitializeOnceCheck(_this.___SegmentedControlState_thumbController, "thumbController"); _this.___SegmentedControlState_thumbController = result; value = result; } return value; }, get$thumbScaleController() { var result, _this = this, value = _this.___SegmentedControlState_thumbScaleController; if (value === $) { result = A.AnimationController$(null, B.Duration_412000, null, 1, 0, _this); A._lateInitializeOnceCheck(_this.___SegmentedControlState_thumbScaleController, "thumbScaleController"); _this.___SegmentedControlState_thumbScaleController = result; value = result; } return value; }, get$thumbScaleAnimation() { var t1, value = this.___SegmentedControlState_thumbScaleAnimation; if (value === $) { t1 = type$.Tween_double; value = this.___SegmentedControlState_thumbScaleAnimation = new A._AnimatedEvaluation(type$.Animation_double._as(this.get$thumbScaleController()), new A.Tween(1, 0.95, t1), t1._eval$1("_AnimatedEvaluation<Animatable.T>")); } return value; }, initState$0() { var t1, team, t2, _this = this; _this.super$State$initState(); t1 = _this.longPress; team = t1._team = new A.GestureArenaTeam(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._CombiningGestureArenaMember)); t2 = _this.drag; t2._team = team; team.captain = t2; t2.onDown = _this.get$onDown(); t2.onUpdate = _this.get$onUpdate(); t2.onEnd = _this.get$onEnd(_this); t2.onCancel = _this.get$onCancel(_this); _this.tap.onTapUp = _this.get$onTapUp(); t1.onLongPress = new A._SegmentedControlState_initState_closure(); _this.highlighted = _this._widget.groupValue; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._startedOnSelectedSegment; if (t1 !== true && !J.$eq$(_this.highlighted, _this._widget.groupValue)) { _this.get$thumbController().animateWith$1($.$get$_kThumbSpringAnimationSimulation()); _this.thumbAnimatable = null; _this.highlighted = _this._widget.groupValue; } }, dispose$0(_) { var t1, _this = this; _this.get$thumbScaleController().dispose$0(0); _this.get$thumbController().dispose$0(0); t1 = _this.drag; t1._velocityTrackers.clear$0(0); t1.super$OneSequenceGestureRecognizer$dispose(0); t1 = _this.tap; t1._stopTimer$0(); t1.super$OneSequenceGestureRecognizer$dispose(0); t1 = _this.longPress; t1._stopTimer$0(); t1.super$OneSequenceGestureRecognizer$dispose(0); _this.super$__SegmentedControlState_State_TickerProviderStateMixin$dispose(0); }, segmentForXPosition$1(dx) { var t2, numOfChildren, index, _this = this, t1 = _this._framework$_element.get$renderObject(); t1.toString; type$.RenderBox._as(t1); t2 = _this._widget.children; numOfChildren = t2.get$length(t2); t2 = numOfChildren - 1; index = B.JSInt_methods.clamp$2(B.JSNumber_methods.$tdiv(dx, t1._size._dx / numOfChildren), 0, t2); t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 1: break; case 0: index = t2 - index; break; } t1 = _this._widget.children; return t1.get$keys(t1).elementAt$1(0, index); }, _playThumbScaleAnimation$1$isExpanding(isExpanding) { var t4, _this = this, t1 = _this.get$thumbScaleController(), t2 = _this.get$thumbScaleAnimation(), t3 = t2.parent; t3 = t2._evaluatable.transform$1(0, t3.get$value(t3)); t2 = isExpanding ? 1 : 0.95; t4 = type$.Tween_double; _this.___SegmentedControlState_thumbScaleAnimation = new A._AnimatedEvaluation(type$.Animation_double._as(t1), new A.Tween(t3, t2, t4), t4._eval$1("_AnimatedEvaluation<Animatable.T>")); _this.get$thumbScaleController().animateWith$1($.$get$_kThumbSpringAnimationSimulation()); }, onHighlightChangedByGesture$1(newValue) { var _this = this; if (J.$eq$(_this.highlighted, newValue)) return; _this.setState$1(new A._SegmentedControlState_onHighlightChangedByGesture_closure(_this, newValue)); _this.get$thumbController().animateWith$1($.$get$_kThumbSpringAnimationSimulation()); _this.thumbAnimatable = null; }, onPressedChangedByGesture$1(newValue) { if (!J.$eq$(this.pressed, newValue)) this.setState$1(new A._SegmentedControlState_onPressedChangedByGesture_closure(this, newValue)); }, onTapUp$1(details) { var segment, _this = this, t1 = _this._startedOnSelectedSegment; if (t1 === true) return; segment = _this.segmentForXPosition$1(details.localPosition._dx); _this.onPressedChangedByGesture$1(null); if (!J.$eq$(segment, _this._widget.groupValue)) _this._widget.onValueChanged.call$1(segment); }, onDown$1(details) { var t1, _this = this, touchDownSegment = _this.segmentForXPosition$1(details.localPosition._dx); _this._startedOnSelectedSegment = J.$eq$(touchDownSegment, _this.highlighted); _this.onPressedChangedByGesture$1(touchDownSegment); t1 = _this._startedOnSelectedSegment; if (t1 === true) _this._playThumbScaleAnimation$1$isExpanding(false); }, onUpdate$1(details) { var segment, size, t2, t3, offCenter, _this = this, t1 = _this._startedOnSelectedSegment; if (t1 === true) { segment = _this.segmentForXPosition$1(details.localPosition._dx); _this.onPressedChangedByGesture$1(segment); _this.onHighlightChangedByGesture$1(segment); } else { t1 = _this._framework$_element.get$renderObject(); t1.toString; size = type$.RenderBox._as(t1)._size; t1 = details.localPosition; t2 = size._dx / 2; t3 = size._dy / 2; offCenter = t1.$sub(0, new A.Offset(t2, t3)); _this.onPressedChangedByGesture$1(Math.pow(Math.max(0, Math.abs(offCenter._dx) - t2), 2) + Math.pow(Math.max(0, Math.abs(offCenter._dy) - t3), 2) > 2500 ? null : _this.segmentForXPosition$1(t1._dx)); } }, onEnd$1(_, details) { var t2, _this = this, pressed = _this.pressed, t1 = _this._startedOnSelectedSegment; if (t1 === true) { _this._playThumbScaleAnimation$1$isExpanding(true); if (!J.$eq$(_this.highlighted, _this._widget.groupValue)) { t1 = _this._widget; t2 = _this.highlighted; t1.onValueChanged.call$1(t2); } } else if (pressed != null) { _this.onHighlightChangedByGesture$1(pressed); if (!J.$eq$(_this.highlighted, _this._widget.groupValue)) { t1 = _this._widget; t2 = _this.highlighted; t1.onValueChanged.call$1(t2); } } _this.onPressedChangedByGesture$1(null); _this._startedOnSelectedSegment = null; }, onCancel$0(_) { var _this = this, t1 = _this._startedOnSelectedSegment; if (t1 === true) _this._playThumbScaleAnimation$1$isExpanding(true); _this.onPressedChangedByGesture$1(null); _this._startedOnSelectedSegment = null; }, build$1(_, context) { var t1, t2, t3, t4, isPreviousSegmentHighlighted, index, t5, isHighlighted, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, _box_0 = {}; _box_0.children = A._setArrayType([], type$.JSArray_Widget); _box_0.highlightedIndex = null; for (t1 = _this._widget.children, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1), t2 = _this.$ti, t3 = t2._eval$1("_Segment<1>"), t2 = t2._eval$1("ValueKey<1>"), t4 = type$.ValueKey_int, isPreviousSegmentHighlighted = false, index = 0; t1.moveNext$0(); isPreviousSegmentHighlighted = isHighlighted) { t5 = t1.get$current(t1); isHighlighted = J.$eq$(_this.highlighted, t5.get$key(t5)); if (isHighlighted) _box_0.highlightedIndex = index; if (index !== 0) { t6 = _box_0.children; t7 = isPreviousSegmentHighlighted || isHighlighted; B.JSArray_methods.add$1(t6, new A._SegmentSeparator(t7, new A.ValueKey(index, t4))); } t6 = _box_0.children; t7 = _this._widget.groupValue; t8 = t5.get$key(t5); t9 = t5.get$key(t5); t10 = J.$eq$(_this.pressed, t5.get$key(t5)); t11 = _this._startedOnSelectedSegment; t12 = t5.get$value(t5); B.JSArray_methods.add$1(t6, new A.Semantics(new A.SemanticsProperties(_null, _null, _null, t7 === t8, true, _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, new A._SegmentedControlState_build_closure(_this, t5), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, new A._Segment(t12, t10, isHighlighted, t11 === true, new A.ValueKey(t9, t2), t3), _null)); ++index; } t1 = type$.Directionality; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1); t2.toString; switch (t2.textDirection.index) { case 1: break; case 0: t2 = _box_0.children; t3 = A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>"); _box_0.children = A.List_List$of(new A.ReversedListIterable(t2, t3), false, t3._eval$1("ListIterable.E")); t2 = _box_0.highlightedIndex; if (t2 != null) _box_0.highlightedIndex = index - 1 - t2; break; } _this._widget.toString; context.dependOnInheritedWidgetOfExactType$1$0(t1).toString; _this._widget.toString; t1 = B.CupertinoDynamicColor_eAf.resolveFrom$1(context); return new A.UnconstrainedBox(B.Axis_0, A.Container$(_null, A.AnimatedBuilder$(_this.get$thumbScaleAnimation(), new A._SegmentedControlState_build_closure0(_box_0, _this), _null), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, _null, B.BorderRadius_tLn2, _null, _null, B.BoxShape_0), _null, _null, _null, _null, B.EdgeInsets_3_2_3_2, _null, _null, _null), _null); } }; A._SegmentedControlState_initState_closure.prototype = { call$0() { }, $signature: 0 }; A._SegmentedControlState_onHighlightChangedByGesture_closure.prototype = { call$0() { this.$this.highlighted = this.newValue; }, $signature: 0 }; A._SegmentedControlState_onPressedChangedByGesture_closure.prototype = { call$0() { this.$this.pressed = this.newValue; }, $signature: 0 }; A._SegmentedControlState_build_closure.prototype = { call$0() { var t2, t1 = this.$this._widget; t1.toString; t2 = this.entry; t1.onValueChanged.call$1(t2.get$key(t2)); }, $signature: 0 }; A._SegmentedControlState_build_closure0.prototype = { call$2(context, child) { var t1 = this._box_0, t2 = t1.highlightedIndex, t3 = this.$this, t4 = t3._widget.thumbColor.resolveFrom$1(context), t5 = t3.get$thumbScaleAnimation(), t6 = t5.parent; return new A._SegmentedControlRenderWidget(t2, t4, t5._evaluatable.transform$1(0, t6.get$value(t6)), t3, t1.children, null, t3.$ti._eval$1("_SegmentedControlRenderWidget<1>")); }, $signature() { return this.$this.$ti._eval$1("_SegmentedControlRenderWidget<1>(BuildContext,Widget?)"); } }; A._SegmentedControlRenderWidget.prototype = { createRenderObject$1(context) { var _this = this, t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = new A._RenderSegmentedControl(_this.state, _this.thumbScale, _this.highlightedIndex, _this.thumbColor, t1, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2), _this.$ti._eval$1("_RenderSegmentedControl<1>")); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$thumbColor(this.thumbColor); renderObject.set$thumbScale(this.thumbScale); renderObject.set$highlightedIndex(this.highlightedIndex); } }; A._SegmentedControlContainerBoxParentData.prototype = {}; A._RenderSegmentedControl.prototype = { attach$1(owner) { var t1; this.super$__RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin$attach(owner); t1 = this.state.get$thumbController(); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(this.get$markNeedsPaint()); }, detach$0(_) { this.state.get$thumbController().removeListener$1(0, this.get$markNeedsPaint()); this.super$__RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin$detach(0); }, set$thumbScale(value) { var _this = this; if (_this._thumbScale === value) return; _this._thumbScale = value; if (_this.state.highlighted != null) _this.markNeedsPaint$0(); }, set$highlightedIndex(value) { if (this._highlightedIndex == value) return; this._highlightedIndex = value; this.markNeedsPaint$0(); }, set$thumbColor(value) { if (this._sliding_segmented_control$_thumbColor.$eq(0, value)) return; this._sliding_segmented_control$_thumbColor = value; this.markNeedsPaint$0(); }, handleEvent$2($event, entry) { var t1; if (type$.PointerDownEvent._is($event)) { t1 = this.state._startedOnSelectedSegment; t1 = t1 !== true; } else t1 = false; if (t1) { t1 = this.state; t1.tap.addPointer$1($event); t1.longPress.addPointer$1($event); t1.drag.addPointer$1($event); } }, get$totalSeparatorWidth() { return (B.EdgeInsets_0_6_0_6.get$horizontal() + 1) * B.JSInt_methods._tdivFast$1(this.ContainerRenderObjectMixin__childCount, 2); }, computeMinIntrinsicWidth$1(height) { var t2, maxMinChildWidth, t3, nextChild, _this = this, t1 = B.JSInt_methods._tdivFast$1(_this.ContainerRenderObjectMixin__childCount, 2), child = _this.ContainerRenderObjectMixin__firstChild; for (t2 = _this.$ti._eval$1("ContainerRenderObjectMixin.1"), maxMinChildWidth = 0; child != null;) { maxMinChildWidth = Math.max(maxMinChildWidth, child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, child.get$computeMinIntrinsicWidth())); t3 = child.parentData; t3.toString; nextChild = t2._as(t3).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t3 = nextChild.parentData; t3.toString; t3 = t2._as(t3).ContainerParentDataMixin_nextSibling; child = t3; } } return (maxMinChildWidth + 18.5) * (t1 + 1) + _this.get$totalSeparatorWidth(); }, computeMaxIntrinsicWidth$1(height) { var t2, maxMaxChildWidth, t3, nextChild, _this = this, t1 = B.JSInt_methods._tdivFast$1(_this.ContainerRenderObjectMixin__childCount, 2), child = _this.ContainerRenderObjectMixin__firstChild; for (t2 = _this.$ti._eval$1("ContainerRenderObjectMixin.1"), maxMaxChildWidth = 0; child != null;) { maxMaxChildWidth = Math.max(maxMaxChildWidth, child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, child.get$computeMaxIntrinsicWidth())); t3 = child.parentData; t3.toString; nextChild = t2._as(t3).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t3 = nextChild.parentData; t3.toString; t3 = t2._as(t3).ContainerParentDataMixin_nextSibling; child = t3; } } return (maxMaxChildWidth + 18.5) * (t1 + 1) + _this.get$totalSeparatorWidth(); }, computeMinIntrinsicHeight$1(width) { var t1, maxMinChildHeight, t2, nextChild, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = this.$ti._eval$1("ContainerRenderObjectMixin.1"), maxMinChildHeight = 28; child != null;) { maxMinChildHeight = Math.max(maxMinChildHeight, child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, child.get$computeMinIntrinsicHeight())); t2 = child.parentData; t2.toString; nextChild = t1._as(t2).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t2 = nextChild.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; child = t2; } } return maxMinChildHeight; }, computeMaxIntrinsicHeight$1(width) { var t1, maxMaxChildHeight, t2, nextChild, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = this.$ti._eval$1("ContainerRenderObjectMixin.1"), maxMaxChildHeight = 28; child != null;) { maxMaxChildHeight = Math.max(maxMaxChildHeight, child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, child.get$computeMaxIntrinsicHeight())); t2 = child.parentData; t2.toString; nextChild = t1._as(t2).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t2 = nextChild.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; child = t2; } } return maxMaxChildHeight; }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); }, setupParentData$1(child) { if (!(child.parentData instanceof A._SegmentedControlContainerBoxParentData)) child.parentData = new A._SegmentedControlContainerBoxParentData(null, null, B.Offset_0_0); }, _calculateChildSize$1(constraints) { var t1, t2, nextChild, maxHeight, _this = this, childCount = B.JSInt_methods._tdivFast$1(_this.ContainerRenderObjectMixin__childCount, 2) + 1, childWidth = (constraints.minWidth - _this.get$totalSeparatorWidth()) / childCount, child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = _this.$ti._eval$1("ContainerRenderObjectMixin.1"); child != null;) { childWidth = Math.max(childWidth, child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()) + 18.5); t2 = child.parentData; t2.toString; nextChild = t1._as(t2).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t2 = nextChild.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; child = t2; } } childWidth = Math.min(childWidth, (constraints.maxWidth - _this.get$totalSeparatorWidth()) / childCount); child = _this.ContainerRenderObjectMixin__firstChild; for (maxHeight = 28; child != null;) { maxHeight = Math.max(maxHeight, child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, childWidth, child.get$computeMaxIntrinsicHeight())); t2 = child.parentData; t2.toString; nextChild = t1._as(t2).ContainerParentDataMixin_nextSibling; if (nextChild == null) child = null; else { t2 = nextChild.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; child = t2; } } return new A.Size(childWidth, maxHeight); }, _computeOverallSizeFromChildSize$2(childSize, constraints) { return constraints.constrain$1(new A.Size(childSize._dx * (B.JSInt_methods._tdivFast$1(this.ContainerRenderObjectMixin__childCount, 2) + 1) + this.get$totalSeparatorWidth(), childSize._dy)); }, computeDryLayout$1(constraints) { return this._computeOverallSizeFromChildSize$2(this._calculateChildSize$1(constraints), constraints); }, performLayout$0() { var t1, t2, index, start, t3, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), childSize = _this._calculateChildSize$1(constraints), childConstraints = A.BoxConstraints$tight(childSize), separatorConstraints = new A.BoxConstraints(0, 1 / 0, childConstraints.minHeight, childConstraints.maxHeight), child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$._SegmentedControlContainerBoxParentData, t2 = _this.$ti._eval$1("ContainerRenderObjectMixin.1"), index = 0, start = 0; child != null;) { child.layout$2$parentUsesSize(0, (index & 1) === 0 ? childConstraints : separatorConstraints, true); t3 = child.parentData; t3.toString; t1._as(t3); t3.offset = new A.Offset(start, 0); start += child._size._dx; child = t2._as(t3).ContainerParentDataMixin_nextSibling; ++index; } _this._size = _this._computeOverallSizeFromChildSize$2(childSize, constraints); }, moveThumbRectInBound$2(thumbRect, children) { var t1, t2, firstChildOffset, leftMost, t3, t4; if (thumbRect == null) return null; t1 = B.JSArray_methods.get$first(children).parentData; t1.toString; t2 = type$._SegmentedControlContainerBoxParentData; firstChildOffset = t2._as(t1).offset; leftMost = firstChildOffset._dx; t1 = B.JSArray_methods.get$last(children).parentData; t1.toString; t1 = t2._as(t1).offset._dx; t2 = B.JSArray_methods.get$last(children)._size._dx; t3 = Math.max(thumbRect.left, leftMost - 1); t4 = firstChildOffset._dy; return new A.Rect(t3, t4 - 0, Math.min(thumbRect.right, t1 + t2 + 1), t4 + B.JSArray_methods.get$first(children)._size._dy + 0); }, paint$2(context, offset) { var t1, t2, t3, index, t4, t5, highlightedChildIndex, selectedChild, t6, newThumbRect, thumbTween, startingRect, unscaledThumbRect, _this = this, children = _this.getChildrenAsList$0(); for (t1 = type$._SegmentedControlContainerBoxParentData, t2 = offset._dx, t3 = offset._dy, index = 1; index < _this.ContainerRenderObjectMixin__childCount; index += 2) { t4 = children[index]; t5 = t4.parentData; t5.toString; t5 = t1._as(t5).offset; context.paintChild$2(t4, new A.Offset(t2 + t5._dx, t3 + t5._dy)); } highlightedChildIndex = _this._highlightedIndex; if (highlightedChildIndex != null) { selectedChild = children[highlightedChildIndex * 2]; t4 = selectedChild.parentData; t4.toString; t4 = t1._as(t4).offset; t5 = selectedChild._size; t5.toString; t6 = t4._dx; t4 = t4._dy; newThumbRect = B.EdgeInsets_1_0_1_0.inflateRect$1(new A.Rect(t6, t4, t6 + t5._dx, t4 + t5._dy)); t4 = _this.state; t5 = t4.get$thumbController()._ticker; if (t5 != null && t5._ticker$_future != null) { thumbTween = t4.thumbAnimatable; if (thumbTween == null) { startingRect = _this.moveThumbRectInBound$2(_this.currentThumbRect, children); t4.thumbAnimatable = new A.RectTween(startingRect == null ? newThumbRect : startingRect, newThumbRect); } else if (!newThumbRect.$eq(0, thumbTween.transform$1(0, 1))) { startingRect = _this.moveThumbRectInBound$2(_this.currentThumbRect, children); if (startingRect == null) startingRect = newThumbRect; t4.thumbAnimatable = new A._ChainedEvaluation(new A.CurveTween(new A.Interval(A._lateReadCheck(t4.get$thumbController().__AnimationController__value, "_value"), 1, B.C__Linear)), new A.RectTween(startingRect, newThumbRect), type$.RectTween._eval$1("_ChainedEvaluation<Animatable.T>")); } } else t4.thumbAnimatable = null; t5 = t4.thumbAnimatable; if (t5 == null) unscaledThumbRect = null; else { t4 = t4.get$thumbController(); t4 = t5.transform$1(0, t4.get$value(t4)); unscaledThumbRect = t4; } if (unscaledThumbRect == null) unscaledThumbRect = newThumbRect; _this.currentThumbRect = unscaledThumbRect; t4 = unscaledThumbRect.get$center(); t5 = _this._thumbScale; _this._paintThumb$3(context, offset, A.Rect$fromCenter(t4, (unscaledThumbRect.bottom - unscaledThumbRect.top) * t5, (unscaledThumbRect.right - unscaledThumbRect.left) * t5)); } else _this.currentThumbRect = null; for (index = 0; index < children.length; index += 2) { t4 = children[index]; t5 = t4.parentData; t5.toString; t5 = t1._as(t5).offset; context.paintChild$2(t4, new A.Offset(t5._dx + t2, t5._dy + t3)); } }, _paintThumb$3(context, offset, thumbRect) { var _i, shadow, t1, t2, t3, result, thumbRRect = A.RRect$fromRectAndRadius(thumbRect.shift$1(offset), B.Radius_eVL); for (_i = 0; _i < 2; ++_i) { shadow = B.List_CQc[_i]; t1 = context.get$canvas(context); t2 = thumbRRect.shift$1(shadow.offset); t3 = A._detectRenderer(); result = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); result.set$color(0, shadow.color); t3 = shadow.blurRadius; t3 = t3 > 0 ? t3 * 0.57735 + 0.5 : 0; result.set$maskFilter(new A.MaskFilter(shadow.blurStyle, t3)); t1.drawRRect$2(0, t2, result); } t1 = context.get$canvas(context); t2 = thumbRRect.inflate$1(0.5); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$color(0, B.Color_167772160); t1.drawRRect$2(0, t2, t3); t3 = context.get$canvas(context); t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, this._sliding_segmented_control$_thumbColor); t3.drawRRect$2(0, thumbRRect, t1); }, hitTestChildren$2$position(result, position) { var t2, t3, t4, t5, child, _box_0 = {}, t1 = _box_0.child = this.ContainerRenderObjectMixin__lastChild; for (t2 = type$._SegmentedControlContainerBoxParentData; t1 != null; t1 = child) { t3 = t1.parentData; t3.toString; t2._as(t3); t4 = t3.offset; t1 = t1._size; t1.toString; t5 = t4._dx; t4 = t4._dy; if (new A.Rect(t5, t4, t5 + t1._dx, t4 + t1._dy).contains$1(0, position)) return result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderSegmentedControl_hitTestChildren_closure(_box_0, position, t3), t3.offset, position); child = t3.ContainerParentDataMixin_previousSibling; _box_0.child = child; } return false; } }; A._RenderSegmentedControl_hitTestChildren_closure.prototype = { call$2(result, localOffset) { return this._box_0.child.hitTest$2$position(result, localOffset); }, $signature: 15 }; A.__RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ContainerBoxParentData_RenderBox; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ContainerBoxParentData_RenderBox; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.__RenderSegmentedControl_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.__SegmentSeparatorState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__SegmentState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__SegmentedControlState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._TextSelectionHandlePainter0.prototype = { paint$2(canvas, size) { var circle, line, path, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); 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 = A.Path_Path(); path.addOval$1(0, circle); path.addRect$1(0, line); canvas.drawPath$2(0, path, paint); }, shouldRepaint$1(oldPainter) { return !this.color.$eq(0, oldPainter.color); } }; A.CupertinoTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return new A.Size(12, textLineHeight + 12 - 1.5); }, buildHandle$6(context, type, textLineHeight, onTap, startGlyphHeight, endGlyphHeight) { var customPaint, t1, handle, t2, _null = null; if (startGlyphHeight == null) startGlyphHeight = textLineHeight; if (endGlyphHeight == null) endGlyphHeight = textLineHeight; 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, startGlyphHeight + 12 - 1.5)); case 1: t1 = endGlyphHeight + 12 - 1.5; handle = A.SizedBox$fromSize(customPaint, new A.Size(12, t1)); t2 = new A.Matrix4(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, t2, true); case 2: return B.SizedBox_null_null_null_null; } }, getHandleAnchor$4(type, textLineHeight, startGlyphHeight, endGlyphHeight) { if (startGlyphHeight == null) startGlyphHeight = textLineHeight; if (endGlyphHeight == null) endGlyphHeight = textLineHeight; switch (type.index) { case 0: return new A.Offset(6, startGlyphHeight + 12 - 1.5); case 1: return new A.Offset(6, endGlyphHeight + 12 - 1.5 - 12 + 1.5); case 2: return new A.Offset(6, textLineHeight + (textLineHeight + 12 - 1.5 - textLineHeight) / 2); } }, getHandleAnchor$2(type, textLineHeight) { return this.getHandleAnchor$4(type, textLineHeight, null, null); } }; A.CupertinoTextThemeData.prototype = { get$textStyle(_) { var t1 = this._text_theme$_defaults.labelColor; t1 = B.CupertinoDynamicColor_qQo.$eq(0, t1) ? B.TextStyle_P9F : B.TextStyle_P9F.copyWith$1$color(t1); 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._primaryColor, context), A._resolveTextStyle(_this._text_theme$_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)); } }; A._TextThemeDefaultsBuilder.prototype = {}; A._CupertinoTextThemeData_Object_Diagnosticable.prototype = {}; A.CupertinoTheme.prototype = { build$1(_, context) { var _null = null; return new A._InheritedCupertinoTheme(this, A.IconTheme$(this.child, new A.CupertinoIconThemeData(this.data.get$primaryColor(), _null, _null), _null), _null); }, get$data(receiver) { return this.data; } }; A._InheritedCupertinoTheme.prototype = { updateShouldNotify$1(old) { return this.theme.data !== 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; }, resolveFrom$1(context) { var _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); return A.CupertinoThemeData$_rawWithDefaults(t2, t3, t4, t5, t1.call$1(_this.barBackgroundColor), t1.call$1(_this.scaffoldBackgroundColor), _this._defaults.resolveFrom$2(context, _this.textTheme == null)); } }; A.CupertinoThemeData_resolveFrom_convertColor.prototype = { call$1(color) { return A.CupertinoDynamicColor_maybeResolve(color, this.context); }, $signature: 258 }; 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())); }, 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; } }; A.NoDefaultCupertinoThemeData_resolveFrom_convertColor.prototype = { call$1(color) { return A.CupertinoDynamicColor_maybeResolve(color, this.context); }, $signature: 258 }; 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, t5); } }; A._CupertinoThemeDefaults_resolveFrom_convertColor.prototype = { call$1(color) { return color instanceof A.CupertinoDynamicColor ? color.resolveFrom$1(this.context) : color; }, $signature: 168 }; A._CupertinoTextThemeDefaults.prototype = {}; A._DefaultCupertinoTextThemeData.prototype = { get$textStyle(_) { return A.CupertinoTextThemeData.prototype.get$textStyle.call(this, this).copyWith$1$color(this.labelColor); } }; A._CupertinoThemeData_NoDefaultCupertinoThemeData_Diagnosticable.prototype = {}; A._testPlatform_closure.prototype = { call$0() { return null; }, $signature: 431 }; A._browserPlatform_closure.prototype = { call$0() { var t1 = window.navigator.platform, navigatorPlatform = t1 == null ? null : t1.toLowerCase(); if (navigatorPlatform == null) navigatorPlatform = ""; 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 (window.matchMedia("only screen and (pointer: fine)").matches) return B.TargetPlatform_3; return B.TargetPlatform_0; }, $signature: 432 }; A._ErrorDiagnostic.prototype = { get$value(_) { var t1 = A.DiagnosticsProperty.prototype.get$value.call(this, this); t1.toString; return t1; }, valueToString$1$parentConfiguration(parentConfiguration) { var t1 = A.DiagnosticsProperty.prototype.get$value.call(this, this); 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")) { t1 = type$.Error._is(longMessage) || type$.Exception._is(longMessage); t2 = J.getInterceptor$(longMessage); longMessage = t1 ? t2.toString$0(longMessage) : " " + A.S(t2.toString$0(longMessage)); } longMessage = J.trimRight$0$s(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 = new A.CastList(t1, type$.CastList_of_DiagnosticsNode_and_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 (t1 instanceof A.NullThrownError) A.ErrorDescription$("The null value was " + verb.toString$0(0) + "."); else 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.md"); } } A.ErrorSpacer$(); A.DiagnosticsStackTrace$("When the exception was thrown, this was the stack", t2, null); } t1 = _this.informationCollector; if (t1 != null) { A.ErrorSpacer$(); J.forEach$1$ax(t1.call$0(), properties.get$add(properties)); } }, toStringShort$0() { var t1 = "Exception caught by " + this.library; return t1; }, 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: 36 }; A.FlutterErrorDetails_summary_closure.prototype = { call$1(node) { return node.get$level(node) === B.DiagnosticLevel_6; }, $signature: 433 }; A.FlutterErrorDetails_summary_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.FlutterErrorDetails_debugFillProperties_closure.prototype = { call$1(frame) { return frame.packageScheme === "dart"; }, $signature: 434 }; 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: 435 }; A.FlutterError_defaultStackFilter_closure.prototype = { call$1(value) { return value + 1; }, $signature: 54 }; A.FlutterError_defaultStackFilter_closure0.prototype = { call$1(value) { return value + 1; }, $signature: 54 }; A.FlutterError_toString_closure.prototype = { call$1(node) { return B.JSString_methods.trimRight$0(this.renderer.render$1(0, node)); }, $signature: 436 }; 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: 17 }; 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, _this = this, _null = null; A.Timeline_startSync("Framework initialization", _null, _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_2); t4 = A.HashSet_HashSet(t1); t5 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.void_Function_FocusHighlightMode, type$.int); t6 = A.FocusScopeNode$(true, "Root Focus Scope", false); t6 = t6._manager = new A.FocusManager(new A.HashedObserverList(t5, type$.HashedObserverList_of_void_Function_FocusHighlightMode), t6, A.LinkedHashSet_LinkedHashSet$_empty(type$.FocusNode), A._setArrayType([], type$.JSArray__Autofocus), A.List_List$filled(0, _null, false, type$.nullable_void_Function)); t5 = $.ServicesBinding__instance; A._lateReadCheck(t5.ServicesBinding___ServicesBinding__keyEventManager, "_keyEventManager").keyMessageHandler = t6.get$_handleKeyMessage(); $.GestureBinding__instance.GestureBinding_pointerRouter._globalRoutes.$indexSet(0, t6.get$_focus_manager$_handlePointerEvent(), _null); t1 = new A.BuildOwner(new A._InactiveElements(t2), t3, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.GlobalKey_State_StatefulWidget, t1), t4, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_of_Element_and_GlobalKey_State_StatefulWidget)); _this.WidgetsBinding__buildOwner = t1; t1.onBuildScheduled = _this.get$_handleBuildScheduled(); $.$get$window().platformDispatcher._onLocaleChanged = _this.get$handleLocaleChanged(); B.OptionalMethodChannel_qNA.setMethodCallHandler$1(_this.get$_handleNavigationInvocation()); _this.initServiceExtensions$0(); t1 = type$.String; A.postEvent("Flutter.FrameworkInitialization", A.LinkedHashMap_LinkedHashMap$_empty(t1, t1)); 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 future, timelineTask = new A.TimelineTask(null, null, 0, A._setArrayType([], type$.JSArray_nullable__AsyncBlock)); timelineTask.start$1(0, "Lock events"); ++this._lockCount; future = callback.call$0(); future.whenComplete$1(new A.BindingBase_lockEvents_closure(this, timelineTask)); return future; }, unlocked$0() { }, performReassemble$0() { $.FlutterError__errorCount = 0; return A.Future_Future$value(null, type$.void); }, 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)); }, 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: 112 }; 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: 91 }; 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: 112 }; 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: 91 }; A.BindingBase_lockEvents_closure.prototype = { call$0() { var t1 = this.$this; if (--t1._lockCount <= 0) { this.timelineTask.finish$0(0); t1.super$_WidgetsFlutterBinding_BindingBase_GestureBinding$unlocked(); if (t1.SchedulerBinding__taskQueue._priority_queue$_length !== 0) t1._ensureEventLoopCallback$0(); } }, $signature: 3 }; 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: 94 }; 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: 94 }; 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: 94 }; 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$next = [], $async$self = this, result, exception, stack, exception0, t1, $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, false)); t1 = type$.String; t1 = 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.ArgumentError_checkNotNull(t1, "errorDetail"); $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: 253 }; A.BindingBase_registerServiceExtension__closure.prototype = { call$0() { return A.Future_Future$delayed(B.Duration_0, null, type$.void); }, $signature: 7 }; A.DebugReassembleConfig.prototype = {}; A.Listenable.prototype = {}; A.ValueListenable.prototype = {}; A.ChangeNotifier.prototype = { addListener$1(_, listener) { var newListeners, i, _this = this, t1 = _this.ChangeNotifier__count, t2 = _this.ChangeNotifier__listeners, t3 = t2.length; if (t1 === t3) { t2 = type$.nullable_void_Function; if (t1 === 0) { t1 = A.List_List$filled(1, null, false, t2); _this.ChangeNotifier__listeners = t1; } else { newListeners = A.List_List$filled(t3 * 2, null, false, t2); for (t1 = _this.ChangeNotifier__count, t2 = _this.ChangeNotifier__listeners, i = 0; i < t1; ++i) newListeners[i] = t2[i]; _this.ChangeNotifier__listeners = newListeners; t1 = newListeners; } } else t1 = t2; t1[_this.ChangeNotifier__count++] = listener; }, _removeAt$1(index) { var newListeners, i, i0, _this = this, t1 = --_this.ChangeNotifier__count, t2 = _this.ChangeNotifier__listeners; if (t1 * 2 <= t2.length) { newListeners = A.List_List$filled(t1, null, false, type$.nullable_void_Function); for (t1 = _this.ChangeNotifier__listeners, i = 0; i < index; ++i) newListeners[i] = t1[i]; for (t2 = _this.ChangeNotifier__count, i = index; i < t2; i = i0) { i0 = i + 1; newListeners[i] = t1[i0]; } _this.ChangeNotifier__listeners = newListeners; } else { for (i = index; i < t1; i = i0) { i0 = i + 1; t2[i] = t2[i0]; } t2[t1] = null; } }, removeListener$1(_, listener) { var i, _this = this; for (i = 0; i < _this.ChangeNotifier__count; ++i) if (J.$eq$(_this.ChangeNotifier__listeners[i], listener)) { if (_this.ChangeNotifier__notificationCallStackDepth > 0) { _this.ChangeNotifier__listeners[i] = null; ++_this.ChangeNotifier__reentrantlyRemovedListeners; } else _this._removeAt$1(i); break; } }, dispose$0(_) { }, notifyListeners$0() { var i, exception, stack, t2, exception0, rti, t3, newLength, newListeners, newIndex, listener, newIndex0, swapIndex, _this = this, t1 = _this.ChangeNotifier__count; if (t1 === 0) return; ++_this.ChangeNotifier__notificationCallStackDepth; for (i = 0; i < t1; ++i) try { t2 = _this.ChangeNotifier__listeners[i]; if (t2 != null) t2.call$0(); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); rti = _this instanceof A.Closure ? A.closureFunctionType(_this) : null; t2 = A.ErrorDescription$("while dispatching notifications for " + A.createRuntimeType(rti == null ? A.instanceType(_this) : rti).toString$0(0)); t3 = $.$get$FlutterError_onError(); if (t3 != null) t3.call$1(new A.FlutterErrorDetails(exception, stack, "foundation library", t2, new A.ChangeNotifier_notifyListeners_closure(_this), false)); } if (--_this.ChangeNotifier__notificationCallStackDepth === 0 && _this.ChangeNotifier__reentrantlyRemovedListeners > 0) { newLength = _this.ChangeNotifier__count - _this.ChangeNotifier__reentrantlyRemovedListeners; t1 = _this.ChangeNotifier__listeners; if (newLength * 2 <= t1.length) { newListeners = A.List_List$filled(newLength, null, false, type$.nullable_void_Function); for (t1 = _this.ChangeNotifier__count, t2 = _this.ChangeNotifier__listeners, newIndex = 0, i = 0; i < t1; ++i) { listener = t2[i]; if (listener != null) { newIndex0 = newIndex + 1; newListeners[newIndex] = listener; newIndex = newIndex0; } } _this.ChangeNotifier__listeners = newListeners; } else for (i = 0; i < newLength; ++i) if (t1[i] == null) { swapIndex = i + 1; for (; t2 = t1[swapIndex], t2 == null;) ++swapIndex; t1[i] = t2; t1[swapIndex] = null; } _this.ChangeNotifier__reentrantlyRemovedListeners = 0; _this.ChangeNotifier__count = newLength; } }, $isListenable: 1 }; A.ChangeNotifier_notifyListeners_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$call$0($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.$this; $async$goto = 2; return A.DiagnosticsProperty$("The " + A.getRuntimeType(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); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; 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._change_notifier$_value) + ")"; } }; A.DiagnosticLevel.prototype = { toString$0(_) { return "DiagnosticLevel." + this._core$_name; } }; A.DiagnosticsTreeStyle.prototype = { toString$0(_) { return "DiagnosticsTreeStyle." + this._core$_name; } }; A.TextTreeConfiguration.prototype = {}; A._WordWrapParseMode.prototype = { toString$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, t3, i, t4, _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.get$length(lines); for (t2 = new A._SyncStarIterator(lines._outerHelper(), lines.$ti._eval$1("_SyncStarIterator<1>")), t3 = !addTrailingLineBreak, i = 0; t2.moveNext$0();) { t4 = t2.get$current(t2); ++i; _this._writeLine$3$firstLine$includeLineBreak(t4, firstLine, !t3 || i < $length); } B.JSArray_methods.set$length(t1, 0); }, 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($receiver, s) { return this.write$2$allowWrap($receiver, 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.set$length(_this._wrappableRanges, 0); } }; 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: 129 }; A._NoDefaultValue.prototype = {}; A.TextTreeRenderer.prototype = { render$4$parentConfiguration$prefixLineOne$prefixOtherLines(_, node, parentConfiguration, prefixLineOne, prefixOtherLines) { var t1 = this._debugRender$4$parentConfiguration$prefixLineOne$prefixOtherLines(node, parentConfiguration, prefixLineOne, prefixOtherLines); return t1; }, render$1($receiver, node) { return this.render$4$parentConfiguration$prefixLineOne$prefixOtherLines($receiver, node, null, "", null); }, _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, prefixChildrenRaw, child, childStyle, lastChildPrefixLineOne, childPrefixOtherLines, nextChildStyle, childPrefixLineOne, _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 = node.name; t1 = descendants.length === 1 ? prefixLineOne + ("This " + A.S(t1) + " had the following child:\n") : prefixLineOne + ("This " + A.S(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 == null || 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 || J.contains$1$asx(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, J.trimRight$0$s(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(propertiesIterable) < 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) if (!node.showSeparator) t1 = (description == null ? null : description.length !== 0) === true; else t1 = true; 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.render$4$parentConfiguration$prefixLineOne$prefixOtherLines(0, 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; t7 = A.S(t7 == null ? builder._prefixOtherLines : t7) + t6.prefixLineOne; t8 = builder._nextPrefixOtherLines; builder.writeRawLines$1(_this.render$4$parentConfiguration$prefixLineOne$prefixOtherLines(0, property, t2, t7, A.S(t8 == null ? builder._prefixOtherLines : t8) + 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) { lastChildPrefixLineOne = prefixChildrenRaw + t5.prefixLastChildLineOne; t6 = t5.childLinkSpace; childPrefixOtherLines = prefixChildrenRaw + t6 + t5.prefixOtherLines; builder.writeRawLines$1(_this.render$4$parentConfiguration$prefixLineOne$prefixOtherLines(0, child, t2, lastChildPrefixLineOne, 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(); childPrefixLineOne = prefixChildrenRaw + t5.prefixLineOne; childPrefixOtherLines = prefixChildrenRaw + nextChildStyle.linkCharacter + t5.prefixOtherLines; builder.writeRawLines$1(_this.render$4$parentConfiguration$prefixLineOne$prefixOtherLines(0, child, t2, childPrefixLineOne, 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) { ++t3.depth; t4.push(A.S(t3.prefixOtherLines) + B.JSString_methods.$mul(" ", t3.depth) + 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 " + t3.lines + " lines)"); ++t3.lines; } }, $signature: 259 }; A.TextTreeRenderer__debugRender_closure.prototype = { call$1(n) { var t1 = n.get$level(n); return t1.index >= this.$this._minLevel.index; }, $signature: 440 }; 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($receiver) { return this.toString$1$minLevel($receiver, 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$name(receiver) { return this.name; }, 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._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_empty0; }, getChildren$0() { return B.List_empty0; }, get$allowWrap() { return this.allowWrap; }, get$allowNameWrap() { return true; } }; A.DiagnosticableNode.prototype = { get$builder() { var t1 = this._cachedBuilder; return t1; }, get$style(_) { var t1 = this.style; if (t1 == null) t1 = this.get$builder().defaultDiagnosticsTreeStyle; return t1; }, get$emptyBodyDescription() { return ""; }, getProperties$0(_) { return B.List_empty0; }, getChildren$0() { return B.List_empty0; }, 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($receiver) { return this.toString$1$minLevel($receiver, B.DiagnosticLevel_3); }, debugFillProperties$1(properties) { } }; A.DiagnosticableTree.prototype = { toStringShort$0() { return "<optimized out>#" + A.shortHash(this); }, debugDescribeChildren$0() { return B.List_empty0; } }; 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); }, toDiagnosticsNode$1$name($name) { return this.toDiagnosticsNode$2$name$style($name, null); }, debugDescribeChildren$0() { return B.List_empty0; } }; A.DiagnosticsBlock.prototype = { getChildren$0() { return this._children; }, getProperties$0(_) { return this._properties; }, toDescription$1$parentConfiguration(parentConfiguration) { return null; }, get$level() { return B.DiagnosticLevel_3; }, get$value(receiver) { return this.value; }, get$allowTruncate() { return this.allowTruncate; } }; A._DiagnosticableTree_Object_Diagnosticable.prototype = {}; A.Key0.prototype = {}; A.LocalKey.prototype = {}; A.ValueKey.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return A._instanceType(this)._eval$1("ValueKey<ValueKey.T>")._is(other) && J.$eq$(other.value, this.value); }, get$hashCode(_) { return A.hashValues(A.getRuntimeType(this), this.value, 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, 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); }, 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.getRuntimeType(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.LicenseEntry.prototype = {}; A.LicenseEntryWithLineBreaks.prototype = { get$text(receiver) { return this.text; } }; A.AbstractNode.prototype = { redepthChild$1(child) { var t1 = child._depth, t2 = this._depth; if (t1 <= t2) { child._depth = t2 + 1; child.redepthChildren$0(); } }, redepthChildren$0() { }, get$owner() { return this._node$_owner; }, attach$1(owner) { this._node$_owner = owner; }, detach$0(_) { this._node$_owner = null; }, get$parent(_) { return this._node$_parent; }, adoptChild$1(child) { var t1; child._node$_parent = this; t1 = this._node$_owner; if (t1 != null) child.attach$1(t1); this.redepthChild$1(child); }, dropChild$1(child) { child._node$_parent = null; if (this._node$_owner != null) child.detach$0(0); } }; A.ObserverList.prototype = { get$_observer_list$_set() { var result, _this = this, value = _this.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(_this.$ti._precomputed1); A._lateInitializeOnceCheck(_this.__ObserverList__set, "_set"); _this.__ObserverList__set = 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._list, item); }, clear$0(_) { this._isDirty = false; B.JSArray_methods.set$length(this._list, 0); this.get$_observer_list$_set().clear$0(0); }, contains$1(_, element) { var _this = this, t1 = _this._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._list; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, get$isEmpty(_) { return this._list.length === 0; }, get$isNotEmpty(_) { return this._list.length !== 0; } }; 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; t1 = t1.get$keys(t1); return t1.get$iterator(t1); }, get$isEmpty(_) { var t1 = this._observer_list$_map; return t1.get$isEmpty(t1); }, get$isNotEmpty(_) { var t1 = this._observer_list$_map; return t1.get$isNotEmpty(t1); } }; A.TargetPlatform.prototype = { toString$0(_) { return "TargetPlatform." + this._core$_name; } }; A.debugPrintThrottled_closure.prototype = { call$1(line) { return A.debugWordWrap(line, this.wrapWidth); }, $signature: 442 }; A._WordWrapParseMode0.prototype = { toString$0(_) { return "_WordWrapParseMode." + this._core$_name; } }; A.WriteBuffer.prototype = { _alignTo$1(alignment) { var t1 = this._serialization$_buffer, mod = B.JSInt_methods.$mod(t1._typed_buffer$_length, alignment); if (mod !== 0) t1.addAll$3(0, $.$get$WriteBuffer__zeroBuffer(), 0, alignment - mod); }, done$0() { var t1, t2, result, _this = this; if (_this._isDone) throw A.wrapException(A.StateError$("done() must not be called more than once on the same " + A.getRuntimeType(_this).toString$0(0) + ".")); t1 = _this._serialization$_buffer; t2 = t1._typed_buffer$_buffer; result = A.NativeByteData_NativeByteData$view(t2.buffer, 0, t1._typed_buffer$_length * t2.BYTES_PER_ELEMENT); _this._serialization$_buffer = A.Uint8Buffer$(); _this._isDone = true; return result; } }; A.ReadBuffer.prototype = { getUint8$0(_) { return this.data.getUint8(this._serialization$_position++); }, getInt64$0(_) { var t1 = this._serialization$_position, t2 = $.$get$Endian_host(); B.NativeByteData_methods.getInt64$2(this.data, t1, t2); }, getUint8List$1($length) { var t1 = this.data, list = A.NativeUint8List_NativeUint8List$view(t1.buffer, t1.byteOffset + this._serialization$_position, $length); this._serialization$_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._serialization$_position, $length); }, _alignTo$1(alignment) { var t1 = this._serialization$_position, mod = B.JSInt_methods.$mod(t1, alignment); if (mod !== 0) this._serialization$_position = t1 + (alignment - mod); }, get$data(receiver) { return this.data; } }; A.StackFrame.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.number, _this.$package, _this.line, _this.column, _this.className, _this.method, _this.source, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_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: 17 }; A.SynchronousFuture.prototype = { 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($R._as(result), $R._eval$1("SynchronousFuture<0>")); }, then$1$1($receiver, onValue, $R) { return this.then$1$2$onError($receiver, 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 = { toString$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: 443 }; 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: 444 }; 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; for (t1 = this._resamplers, t2 = t1.get$values(t1), t2 = t2.get$iterator(t2), t3 = this._handlePointerEvent; t2.moveNext$0();) t2.get$current(t2).stop$1(0, t3); t1.clear$0(0); this._frameTime = B.Duration_0; } }; A.GestureBinding.prototype = { _handlePointerDataPacket$1(packet) { var t1 = packet.data, t2 = $.$get$window()._debugDevicePixelRatio; this.GestureBinding__pendingPointerEvents.addAll$1(0, A.PointerEventConverter_expand(t1, t2 == null ? A.EnginePlatformDispatcher_browserDevicePixelRatio() : t2)); if (this._lockCount <= 0) this._flushPointerEventQueue$0(); }, 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)); }, _flushPointerEventQueue$0() { for (var t1 = this.GestureBinding__pendingPointerEvents; !t1.get$isEmpty(t1);) 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)) { hitTestResult = A.HitTestResult$(); t2 = $event.get$position($event); A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.hitTest$2$position(hitTestResult, t2); _this.super$GestureBinding$hitTest(hitTestResult, t2); if (t1) _this.GestureBinding__hitTests.$indexSet(0, $event.get$pointer(), hitTestResult); t1 = hitTestResult; } else if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event)) { hitTestResult = _this.GestureBinding__hitTests.remove$1(0, $event.get$pointer()); t1 = hitTestResult; } else t1 = $event.get$down() ? _this.GestureBinding__hitTests.$index(0, $event.get$pointer()) : null; if (t1 != null || type$.PointerAddedEvent._is($event) || type$.PointerRemovedEvent._is($event)) _this.dispatchEvent$2(0, $event, t1); }, hitTest$2(result, position) { var t1 = new A.HitTestEntry(this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); }, 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._path, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { entry = t1[_i]; try { J.get$target$x(entry).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, 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)) _this.GestureBinding_gestureArena.close$1(0, $event.get$pointer()); else if (type$.PointerUpEvent._is($event)) _this.GestureBinding_gestureArena.sweep$1($event.get$pointer()); else if (type$.PointerSignalEvent._is($event)) _this.GestureBinding_pointerSignalResolver.resolve$1($event); }, _handleSampleTimeChanged$0() { if (this._lockCount <= 0) this.get$_resampler().stop$0(0); }, get$_resampler() { var _this = this, value = _this.GestureBinding___GestureBinding__resampler; if (value === $) { $.$get$Stopwatch__frequency(); A._lateInitializeOnceCheck(value, "_resampler"); value = _this.GestureBinding___GestureBinding__resampler = 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; } }; A.GestureBinding_dispatchEvent_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsProperty$("Event", $async$self.event, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_9, null, type$.PointerEvent_2); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.GestureBinding_dispatchEvent_closure0.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$call$0($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 = 2; return A.DiagnosticsProperty$("Event", $async$self.event, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_9, null, type$.PointerEvent_2); case 2: // after yield t1 = $async$self.entry; $async$goto = 3; return A.DiagnosticsProperty$("Target", t1.get$target(t1), true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_9, null, type$.HitTestTarget); case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.FlutterErrorDetailsForPointerEventDispatcher.prototype = {}; 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.PointerEvent0.prototype = { get$localPosition() { return this.position; }, get$localDelta() { return this.delta; }, 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 = {}; A._AbstractPointerEvent.prototype = {$isPointerEvent0: 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; if (value === $) { result = A.PointerEvent_transformPosition(_this.get$transform(_this), _this.get$original().position); A._lateInitializeOnceCheck(_this.___TransformedPointerEvent_localPosition, "localPosition"); _this.___TransformedPointerEvent_localPosition = result; value = result; } return value; }, get$localDelta() { var t1, t2, t3, result, _this = this, value = _this.___TransformedPointerEvent_localDelta; 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); A._lateInitializeOnceCheck(_this.___TransformedPointerEvent_localDelta, "localDelta"); _this.___TransformedPointerEvent_localDelta = result; value = result; } return value; } }; 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._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._PointerRemovedEvent_PointerEvent__PointerEventDescription.prototype = {}; A._PointerRemovedEvent_PointerEvent__PointerEventDescription__CopyPointerRemovedEvent.prototype = {}; A._PointerScrollEvent_PointerSignalEvent__PointerEventDescription.prototype = {}; A._PointerScrollEvent_PointerSignalEvent__PointerEventDescription__CopyPointerScrollEvent.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.__TransformedPointerRemovedEvent__TransformedPointerEvent__CopyPointerRemovedEvent.prototype = {}; A.__TransformedPointerScrollEvent__TransformedPointerEvent__CopyPointerScrollEvent.prototype = {}; A.__TransformedPointerUpEvent__TransformedPointerEvent__CopyPointerUpEvent.prototype = {}; A._ForceState.prototype = { toString$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(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 = 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 = new A.OffsetPair($event.get$localPosition(), $event.get$position($event)); _this.__ForcePressGestureRecognizer__lastPressure = pressure; if (_this._force_press$_state === B._ForceState_1) if (pressure > 0.4) { _this._force_press$_state = B._ForceState_3; _this.resolve$1(B.GestureDisposition_0); } else if ($event.get$delta().get$distanceSquared() > A.computeHitSlop($event.get$kind($event), null)) _this.resolve$1(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(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 t3, _s13_ = "_lastPosition", t1 = this.$this, t2 = t1.onStart; t2.toString; t3 = A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_).global; A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_); return t2.call$1(new A.ForcePressDetails(t3)); }, $signature: 0 }; A.ForcePressGestureRecognizer_acceptGesture_closure.prototype = { call$0() { var t3, _s13_ = "_lastPosition", t1 = this.$this, t2 = t1.onStart; t2.toString; A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPressure, "_lastPressure"); t3 = A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_).global; A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_); return t2.call$1(new A.ForcePressDetails(t3)); }, $signature: 0 }; A.ForcePressGestureRecognizer_didStopTrackingLastPointer_closure.prototype = { call$0() { var t3, _s13_ = "_lastPosition", t1 = this.$this, t2 = t1.onEnd; t2.toString; t3 = A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_).global; A._lateReadCheck(t1.__ForcePressGestureRecognizer__lastPosition, _s13_); return t2.call$1(new A.ForcePressDetails(t3)); }, $signature: 0 }; A.DeviceGestureSettings.prototype = { get$hashCode(_) { return A.hashValues(this.touchSlop, 23, 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, 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); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(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.get$target(this).toString$0(0) + ")"; }, get$target(receiver) { return this.target; } }; A._TransformPart.prototype = {}; A._MatrixTransformPart.prototype = { multiply$1(_, rhs) { return type$.Matrix4._as(this.matrix.$mul(0, rhs)); } }; A._OffsetTransformPart.prototype = { multiply$1(_, rhs) { var t3, tx, ty, t4, t1 = new Float64Array(16), t2 = new A.Matrix4(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.set$length(t1, 0); }, popTransform$0() { var t1 = this._localTransforms; if (t1.length !== 0) t1.pop(); else this._transforms.pop(); }, toString$0(_) { var t1 = this._path; return "HitTestResult(" + (t1.length === 0 ? "<empty path>" : B.JSArray_methods.join$1(t1, ", ")) + ")"; } }; 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: t1 = _this.onLongPressStart == null && _this.onLongPress == null && _this.onLongPressMoveUpdate == null && _this.onLongPressEnd == null && true; if (t1) return false; break; case 2: return false; case 4: return false; default: return false; } return _this.super$GestureRecognizer$isPointerAllowed($event); }, didExceedDeadline$0() { var t1, _this = this; _this.resolve$1(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(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._long_press$_initialButtons = $event.get$buttons($event); _this._checkLongPressDown$1($event); } else if (type$.PointerMoveEvent._is($event)) if ($event.get$buttons($event) !== _this._long_press$_initialButtons) { _this.resolve$1(B.GestureDisposition_1); t1 = _this._primaryPointer; t1.toString; _this.stopTrackingPointer$1(t1); } else if (_this._longPressAccepted) _this._checkLongPressMoveUpdate$1($event); }, _checkLongPressDown$1($event) { this._longPressOrigin.toString; this._pointerToKind.$index(0, $event.get$pointer()).toString; switch (this._long_press$_initialButtons) { case 1: break; case 2: break; case 4: break; } }, _checkLongPressCancel$0() { if (this._recognizer$_state === B.GestureRecognizerState_1) switch (this._long_press$_initialButtons) { case 1: break; case 2: break; case 4: break; } }, _checkLongPressStart$0() { var t1, t2, _this = this; switch (_this._long_press$_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._long_press$_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._long_press$_initialButtons) { case 1: if (_this.onLongPressEnd != null) _this.invokeCallback$2("onLongPressEnd", new A.LongPressGestureRecognizer__checkLongPressEnd_closure(_this, new A.LongPressEndDetails(t1, velocity))); break; case 2: break; case 4: break; } }, _reset$0() { var _this = this; _this._longPressAccepted = false; _this._velocityTracker = _this._long_press$_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(disposition); }, acceptGesture$1(pointer) { } }; 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]; }, $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 = {}; 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 = sumSquaredTotal <= 1e-10 ? 1 : 1 - sumSquaredError / sumSquaredTotal; return result; } }; A._DragState.prototype = { toString$0(_) { return "_DragState." + this._core$_name; } }; A.DragGestureRecognizer.prototype = { isPointerAllowed$1($event) { var _this = this; if (_this._initialButtons == null) switch ($event.get$buttons($event)) { case 1: if (_this.onDown == null && _this.onStart == null && _this.onUpdate == null && _this.onEnd == null && _this.onCancel == null) return false; break; default: return false; } else if ($event.get$buttons($event) !== _this._initialButtons) return false; return _this.super$GestureRecognizer$isPointerAllowed($event); }, addAllowedPointer$1($event) { var t1, _this = this; _this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); _this._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 = new A.OffsetPair($event.get$localPosition(), t1); _this._initialButtons = $event.get$buttons($event); _this.__DragGestureRecognizer__pendingDragOffset = B.OffsetPair_G6F; _this.__DragGestureRecognizer__globalDistanceMoved = 0; _this._lastPendingEventTimestamp = $event.get$timeStamp($event); _this._lastTransform = $event.get$transform($event); _this._checkDown$0(); } else if (t1 === B._DragState_2) _this.resolve$1(B.GestureDisposition_0); }, handleEvent$1($event) { var t1, t2, t3, movedLocally, localToGlobalTransform, _this = this; if (!$event.get$synthesized()) t1 = type$.PointerDownEvent._is($event) || type$.PointerMoveEvent._is($event); else t1 = false; if (t1) { t1 = _this._velocityTrackers.$index(0, $event.get$pointer()); t1.toString; t1.addPosition$2($event.get$timeStamp($event), $event.get$localPosition()); } if (type$.PointerMoveEvent._is($event)) { if ($event.get$buttons($event) !== _this._initialButtons) { _this._giveUpPointer$1($event.get$pointer()); return; } if (_this._monodrag$_state === B._DragState_2) { t1 = $event.get$timeStamp($event); t2 = _this._getDeltaForDetails$1($event.get$localDelta()); t3 = _this._getPrimaryValueFromOffset$1($event.get$localDelta()); _this._checkUpdate$5$delta$globalPosition$localPosition$primaryDelta$sourceTimeStamp(t2, $event.get$position($event), $event.get$localPosition(), t3, t1); } else { _this.__DragGestureRecognizer__pendingDragOffset = A._lateReadCheck(_this.__DragGestureRecognizer__pendingDragOffset, "_pendingDragOffset").$add(0, new A.OffsetPair($event.get$localDelta(), $event.get$delta())); _this._lastPendingEventTimestamp = $event.get$timeStamp($event); _this._lastTransform = $event.get$transform($event); movedLocally = _this._getDeltaForDetails$1($event.get$localDelta()); if ($event.get$transform($event) == null) localToGlobalTransform = null; else { t1 = $event.get$transform($event); t1.toString; localToGlobalTransform = A.Matrix4_tryInvert(t1); } t1 = A._lateReadCheck(_this.__DragGestureRecognizer__globalDistanceMoved, "_globalDistanceMoved"); t2 = A.PointerEvent_transformDeltaViaPositions(localToGlobalTransform, null, movedLocally, $event.get$localPosition()).get$distance(); t3 = _this._getPrimaryValueFromOffset$1(movedLocally); _this.__DragGestureRecognizer__globalDistanceMoved = t1 + t2 * J.get$sign$in(t3 == null ? 1 : t3); t1 = $event.get$kind($event); if (_this._hasSufficientGlobalDistanceToAccept$2(t1, null)) _this.resolve$1(B.GestureDisposition_0); } } if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event)) _this._giveUpPointer$1($event.get$pointer()); }, acceptGesture$1(pointer) { var t1, t2, transform, localUpdateDelta, localToGlobal, globalUpdateDelta, correctedPosition, _this = this, _s16_ = "_initialPosition"; _this._acceptedActivePointers.add$1(0, pointer); if (_this._monodrag$_state !== B._DragState_2) { _this._monodrag$_state = B._DragState_2; t1 = A._lateReadCheck(_this.__DragGestureRecognizer__pendingDragOffset, "_pendingDragOffset"); t2 = _this._lastPendingEventTimestamp; t2.toString; transform = _this._lastTransform; switch (_this.dragStartBehavior.index) { case 1: _this.__DragGestureRecognizer__initialPosition = A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).$add(0, t1); localUpdateDelta = B.Offset_0_0; break; case 0: localUpdateDelta = _this._getDeltaForDetails$1(t1.local); break; default: localUpdateDelta = null; } _this.__DragGestureRecognizer__pendingDragOffset = B.OffsetPair_G6F; _this._lastTransform = _this._lastPendingEventTimestamp = null; _this._checkStart$2(t2, pointer); if (!J.$eq$(localUpdateDelta, B.Offset_0_0) && _this.onUpdate != null) { localToGlobal = transform != null ? A.Matrix4_tryInvert(transform) : null; globalUpdateDelta = A.PointerEvent_transformDeltaViaPositions(localToGlobal, null, localUpdateDelta, A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).local.$add(0, localUpdateDelta)); correctedPosition = A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).$add(0, new A.OffsetPair(localUpdateDelta, globalUpdateDelta)); _this._checkUpdate$5$delta$globalPosition$localPosition$primaryDelta$sourceTimeStamp(localUpdateDelta, correctedPosition.global, correctedPosition.local, _this._getPrimaryValueFromOffset$1(localUpdateDelta), t2); } _this.resolve$1(B.GestureDisposition_0); } }, 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(B.GestureDisposition_1); t1 = _this.onCancel; if (t1 != null) _this.invokeCallback$2("onCancel", t1); break; case 2: _this._checkEnd$1(pointer); break; } _this._velocityTrackers.clear$0(0); _this._initialButtons = null; _this._monodrag$_state = B._DragState_0; }, _giveUpPointer$1(pointer) { var t1, entry; this.stopTrackingPointer$1(pointer); if (!this._acceptedActivePointers.remove$1(0, pointer)) { t1 = this._recognizer$_entries; entry = t1.$index(0, pointer); if (entry != null) { t1.remove$1(0, pointer); entry.resolve$1(B.GestureDisposition_1); } } }, _checkDown$0() { var t1, t2, _this = this, _s16_ = "_initialPosition"; if (_this.onDown != null) { t1 = A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).global; t2 = A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).local; _this.invokeCallback$2("onDown", new A.DragGestureRecognizer__checkDown_closure(_this, new A.DragDownDetails(t1, t2))); } }, _checkStart$2(timestamp, pointer) { var t1, t2, _this = this, _s16_ = "_initialPosition"; if (_this.onStart != null) { t1 = A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_).global; A._lateReadCheck(_this.__DragGestureRecognizer__initialPosition, _s16_); t2 = _this._pointerToKind.$index(0, pointer); t2.toString; _this.invokeCallback$2("onStart", new A.DragGestureRecognizer__checkStart_closure(_this, new A.DragStartDetails(timestamp, t1, 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 t2, estimate, t3, t4, velocity, debugReport, _this = this, t1 = {}; if (_this.onEnd == null) return; t2 = _this._velocityTrackers.$index(0, pointer); t2.toString; t1.details = null; estimate = t2.getVelocityEstimate$0(); if (estimate != null && _this.isFlingGesture$2(estimate, t2.kind)) { t2 = estimate.pixelsPerSecond; t3 = _this.minFlingVelocity; if (t3 == null) t3 = 50; t4 = _this.maxFlingVelocity; if (t4 == null) t4 = 8000; velocity = new A.Velocity(t2).clampMagnitude$2(t3, t4); t1.details = new A.DragEndDetails(velocity, _this._getPrimaryValueFromOffset$1(velocity.pixelsPerSecond)); debugReport = new A.DragGestureRecognizer__checkEnd_closure(estimate, velocity); } else { t1.details = new A.DragEndDetails(B.Velocity_Offset_0_0, 0); debugReport = new A.DragGestureRecognizer__checkEnd_closure0(estimate); } _this.invokeCallback$3$debugReport("onEnd", new A.DragGestureRecognizer__checkEnd_closure1(t1, _this), debugReport); }, dispose$0(_) { this._velocityTrackers.clear$0(0); this.super$OneSequenceGestureRecognizer$dispose(0); } }; 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 this.estimate.toString$0(0) + "; fling at " + this.velocity.toString$0(0) + "."; }, $signature: 36 }; A.DragGestureRecognizer__checkEnd_closure0.prototype = { call$0() { var t1 = this.estimate; if (t1 == null) return "Could not estimate velocity."; return t1.toString$0(0) + "; judged to not be a fling."; }, $signature: 36 }; A.DragGestureRecognizer__checkEnd_closure1.prototype = { call$0() { return this.$this.onEnd.call$1(this._box_0.details); }, $signature: 0 }; A.VerticalDragGestureRecognizer.prototype = { isFlingGesture$2(estimate, kind) { var minDistance, minVelocity = this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, null); return Math.abs(estimate.pixelsPerSecond._dy) > minVelocity && Math.abs(estimate.offset._dy) > minDistance; }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { return Math.abs(A._lateReadCheck(this.__DragGestureRecognizer__globalDistanceMoved, "_globalDistanceMoved")) > A.computeHitSlop(pointerDeviceKind, null); }, _getDeltaForDetails$1(delta) { return new A.Offset(0, delta._dy); }, _getPrimaryValueFromOffset$1(value) { return value._dy; } }; A.HorizontalDragGestureRecognizer.prototype = { isFlingGesture$2(estimate, kind) { var minDistance, minVelocity = this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, null); return Math.abs(estimate.pixelsPerSecond._dx) > minVelocity && Math.abs(estimate.offset._dx) > minDistance; }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { return Math.abs(A._lateReadCheck(this.__DragGestureRecognizer__globalDistanceMoved, "_globalDistanceMoved")) > A.computeHitSlop(pointerDeviceKind, null); }, _getDeltaForDetails$1(delta) { return new A.Offset(delta._dx, 0); }, _getPrimaryValueFromOffset$1(value) { return value._dx; } }; A.PanGestureRecognizer.prototype = { isFlingGesture$2(estimate, kind) { var minDistance, minVelocity = this.minFlingVelocity; if (minVelocity == null) minVelocity = 50; minDistance = this.minFlingDistance; if (minDistance == null) minDistance = A.computeHitSlop(kind, null); return estimate.pixelsPerSecond.get$distanceSquared() > minVelocity * minVelocity && estimate.offset.get$distanceSquared() > minDistance * minDistance; }, _hasSufficientGlobalDistanceToAccept$2(pointerDeviceKind, deviceTouchSlop) { return Math.abs(A._lateReadCheck(this.__DragGestureRecognizer__globalDistanceMoved, "_globalDistanceMoved")) > A.computePanSlop(pointerDeviceKind, null); }, _getDeltaForDetails$1(delta) { return delta; }, _getPrimaryValueFromOffset$1(value) { return null; } }; 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 t1; if (this._firstTap == null) switch ($event.get$buttons($event)) { case 1: t1 = this.onDoubleTap == null && true; if (t1) return false; break; default: return false; } return this.super$GestureRecognizer$isPointerAllowed($event); }, 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.get$isEmpty(t1)) _this._multitap$_reset$0(); } }, dispose$0(_) { this._multitap$_reset$0(); this.super$GestureRecognizer$dispose(0); }, _multitap$_reset$0() { var t1, _this = this; _this._stopDoubleTapTimer$0(); if (_this._firstTap != null) { t1 = _this._trackers; if (t1.get$isNotEmpty(t1)) _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; t1 = t1.get$values(t1); 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); }, 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, 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$from(t1, t2, t3); if (routes != null) _this._dispatchEventToRoutes$3($event, routes, A.LinkedHashMap_LinkedHashMap$from(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: 448 }; 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: 449 }; 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, false)); } _this._currentEvent = _this._firstRegisteredCallback = null; } }; A.DragStartBehavior.prototype = { toString$0(_) { return "DragStartBehavior." + this._core$_name; } }; A.GestureRecognizer.prototype = { 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)); }, 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, 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(B.GestureDisposition_1); }, acceptGesture$1(pointer) { }, rejectGesture$1(pointer) { }, resolve$1(disposition) { var _i, t1 = this._recognizer$_entries, localEntries = A.List_List$from(t1.get$values(t1), true, type$.GestureArenaEntry); t1.clear$0(0); for (t1 = localEntries.length, _i = 0; _i < t1; ++_i) localEntries[_i].resolve$1(disposition); }, dispose$0(_) { var t1, t2, t3, t4, t5, t6, t7, t8, _this = this; _this.resolve$1(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 = t2._as(t3._collection$_current); 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(0); }, _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)) this.stopTrackingPointer$1($event.get$pointer()); } }; A.GestureRecognizerState.prototype = { toString$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(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(0); }, _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.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(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(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(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 t1, _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) if (_this.onSecondaryTapDown == null) t1 = true; else t1 = false; else t1 = false; if (t1) return false; break; case 4: return false; 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(), t3 = _this._pointerToKind.$index(0, down.get$pointer()); t3.toString; details = new A.TapDownDetails(t1, t3, 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 _this = this, t1 = up.get$kind(up), t2 = up.get$position(up), t3 = up.get$localPosition(); switch (down.get$buttons(down)) { case 1: if (_this.onTapUp != null) _this.invokeCallback$2("onTapUp", new A.TapGestureRecognizer_handleTapUp_closure(_this, new A.TapUpDetails(t2, t3, t1))); t1 = _this.onTap; if (t1 != null) _this.invokeCallback$2("onTap", t1); break; case 2: if (_this.onSecondaryTap != null) _this.invokeCallback$2("onSecondaryTap", new A.TapGestureRecognizer_handleTapUp_closure0(_this)); break; case 4: break; } }, handleTapCancel$3$cancel$down$reason(cancel, down, reason) { var t1, 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: 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.onSecondaryTap.call$0(); }, $signature: 0 }; 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._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._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); }, _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: 450 }; 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.hashValues(t1._dx, t1._dy, 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, 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); }, 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 = { addPosition$2(time, position) { var 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 newestSample, t2, oldestSample, previousSample, sampleCount, sample, t3, age, position, xFit, yFit, _s10_ = "confidence", 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) return new A.VelocityEstimate(new A.Offset(xFit.coefficients[1] * 1000, yFit.coefficients[1] * 1000), A._lateReadCheck(xFit.__PolynomialFit_confidence, _s10_) * A._lateReadCheck(yFit.__PolynomialFit_confidence, _s10_), 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)); } }; A.IOSScrollViewFlingVelocityTracker.prototype = { addPosition$2(time, position) { var 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 oldestNonNullSample, i, _this = this, 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_MMm; else return new A.VelocityEstimate(estimatedVelocity, 1, new A.Duration(newestSample.time._duration - oldestNonNullSample.time._duration), newestSample.point.$sub(0, oldestNonNullSample.point)); } }; A.AnimatedIcon.prototype = { build$1(_, context) { var iconSize, iconColor, t2, _null = null, iconTheme = A.IconTheme_of(context), t1 = iconTheme.size; t1.toString; iconSize = t1; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = iconTheme.get$opacity(iconTheme); t1.toString; iconColor = this.color; if (iconColor == null) { t2 = iconTheme.color; t2.toString; iconColor = t2; } if (t1 !== 1) iconColor = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((iconColor.get$value(iconColor) >>> 24 & 255) / 255 * t1)), iconColor.get$value(iconColor) >>> 16 & 255, iconColor.get$value(iconColor) >>> 8 & 255, iconColor.get$value(iconColor) & 255); t1 = this.progress; t1 = A.CustomPaint$(_null, _null, _null, new A._AnimatedIconPainter(B.List_8co, t1, iconColor, iconSize / 48, false, A.animated_icons_AnimatedIcon__pathFactory$closure(), t1), new A.Size(iconSize, iconSize)); 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), false, false, false, t1, _null); } }; A._AnimatedIconPainter.prototype = { paint$2(canvas, size) { var clampedProgress, t2, t3, _i, _this = this, t1 = _this.scale; canvas.scale$2(0, t1, t1); if (_this.shouldMirror) { canvas.rotate$1(0, 3.141592653589793); canvas.translate$2(0, -size._dx, -size._dy); } clampedProgress = B.JSNumber_methods.clamp$2(A._lateReadCheck(_this.progress.__AnimationController__value, "_value"), 0, 1); for (t1 = _this.paths, t2 = _this.color, t3 = _this.uiPathFactory, _i = 0; _i < 3; ++_i) t1[_i].paint$4(canvas, t2, t3, clampedProgress); }, shouldRepaint$1(oldDelegate) { var _this = this; return A._lateReadCheck(oldDelegate.progress.__AnimationController__value, "_value") !== A._lateReadCheck(_this.progress.__AnimationController__value, "_value") || !oldDelegate.color.$eq(0, _this.color) || oldDelegate.paths !== _this.paths || oldDelegate.scale !== _this.scale || !J.$eq$(oldDelegate.uiPathFactory, _this.uiPathFactory); }, hitTest$1(position) { return null; }, shouldRebuildSemantics$1(oldDelegate) { return false; }, get$semanticsBuilder() { return null; } }; A._PathFrames.prototype = { paint$4(canvas, color, uiPathFactory, progress) { var t2, paint, path, _i, t1 = A._interpolate(this.opacities, progress, A.ui__lerpDouble$closure()); t1.toString; t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$style(0, B.PaintingStyle_0); paint.set$color(0, A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((color.get$value(color) >>> 24 & 255) / 255 * t1)), color.get$value(color) >>> 16 & 255, color.get$value(color) >>> 8 & 255, color.get$value(color) & 255)); path = uiPathFactory.call$0(); for (t1 = this.commands, _i = 0; _i < 6; ++_i) t1[_i].apply$2(path, progress); canvas.drawPath$2(0, path, paint); } }; A._PathCommand.prototype = {}; A._PathMoveTo.prototype = { apply$2(path, progress) { var t1 = A._interpolate(this.points, progress, A.ui_Offset_lerp$closure()); t1.toString; path.moveTo$2(0, t1._dx, t1._dy); } }; A._PathCubicTo.prototype = { apply$2(path, progress) { var t2, t3, t1 = A._interpolate(this.controlPoints1, progress, A.ui_Offset_lerp$closure()); t1.toString; t2 = A._interpolate(this.controlPoints2, progress, A.ui_Offset_lerp$closure()); t2.toString; t3 = A._interpolate(this.targetPoints, progress, A.ui_Offset_lerp$closure()); t3.toString; path.cubicTo$6(0, t1._dx, t1._dy, t2._dx, t2._dy, t3._dx, t3._dy); } }; A._PathClose.prototype = { apply$2(path, progress) { path.close$0(0); } }; A.AnimatedIconData.prototype = {}; A._AnimatedIconData.prototype = {}; A.ThemeMode.prototype = { toString$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: 451 }; A.MaterialScrollBehavior.prototype = { getPlatform$1(context) { return A.Theme_of(context).platform; }, buildScrollbar$3(context, child, details) { switch (A.axisDirectionToAxis(details.direction)) { case B.Axis_0: return child; case B.Axis_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 target, _null = null; A.Theme_of(context); switch (A.Theme_of(context).platform.index) { case 2: case 3: case 4: case 5: target = 1; break; case 0: target = 2; break; case 1: target = 3; break; default: target = _null; break; } if (target) c$0: for (; true;) switch (target) { case 1: return child; case 2: switch (1) { case 0: target = 1; break; case 1: target = 2; break; default: target = _null; break; } if (target) c$1: for (; true;) switch (target) { case 1: return new A.StretchingOverscrollIndicator(details.direction, child, _null); case 2: target = 3; continue c$0; } break c$0; case 3: return new A.GlowingOverscrollIndicator(details.direction, A.Theme_of(context).colorScheme.secondary, child, _null); } } }; A._MaterialAppState.prototype = { initState$0() { this.super$State$initState(); this.___MaterialAppState__heroController = A.MaterialApp_createMaterialHeroController(); }, get$_localizationsDelegates() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$get$_localizationsDelegates($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$self._widget.toString; $async$goto = 2; return B.C__MaterialLocalizationsDelegate; case 2: // after yield $async$goto = 3; return B.C__CupertinoLocalizationsDelegate; case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.LocalizationsDelegate_dynamic); }, _inspectorSelectButtonBuilder$2(context, onPressed) { return new A.FloatingActionButton(B.Icon_OxR, onPressed, B._FloatingActionButtonType_1, null); }, _materialBuilder$2(context, child) { var t1, platformBrightness, useDarkTheme, highContrast, theme, _this = this, _null = null; _this._widget.toString; t1 = A.MediaQuery_maybeOf(context); platformBrightness = t1 == null ? _null : t1.platformBrightness; if (platformBrightness == null) platformBrightness = B.Brightness_1; useDarkTheme = platformBrightness === B.Brightness_0; t1 = A.MediaQuery_maybeOf(context); 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; t1 = _this._widget; theme = t1.theme; t1.toString; return new A.ScaffoldMessenger(new A.AnimatedTheme(theme, new A.Builder(new A._MaterialAppState__materialBuilder_closure(_this, child), _null), B.C__Linear, B.Duration_200000, _null, _null), _null); }, _buildWidgetApp$1(context) { var materialColor, t3, t4, _this = this, _null = null, t1 = _this._widget, t2 = t1.theme; t2 = t2.primaryColor; materialColor = t2; t2 = t1.navigatorKey; t3 = t1.home; t1 = t1.title; t4 = _this.get$_localizationsDelegates(); _this._widget.toString; return new A.WidgetsApp(t2, _null, _null, new A._MaterialAppState__buildWidgetApp_closure(), _null, _null, _null, _null, t3, B.Map_empty1, _null, _null, B.List_empty4, _this.get$_materialBuilder(), t1, _null, B.TextStyle_kUZ, materialColor, _null, t4, _null, _null, B.List_Locale_en_US, false, false, false, false, _this.get$_inspectorSelectButtonBuilder(), false, _null, _null, _null, false, new A.GlobalObjectKey(_this, type$.GlobalObjectKey_State_StatefulWidget)); }, build$1(_, context) { var _null = null, result = A.Focus$(false, false, this._buildWidgetApp$1(context), _null, _null, _null, true, _null, _null, new A._MaterialAppState_build_closure(), _null, _null); this._widget.toString; return A.ScrollConfiguration$(B.C_MaterialScrollBehavior, new A.HeroControllerScope(A._lateReadCheck(this.___MaterialAppState__heroController, "_heroController"), result, _null)); } }; A._MaterialAppState__materialBuilder_closure.prototype = { call$1(context) { return this.$this._widget.builder.call$2(context, this.child); }, $signature: 29 }; A._MaterialAppState__buildWidgetApp_closure.prototype = { call$1$2(settings, builder, $T) { return A.MaterialPageRoute$(builder, false, settings, $T); }, call$2(settings, builder) { return this.call$1$2(settings, builder, type$.dynamic); }, $signature: 453 }; A._MaterialAppState_build_closure.prototype = { call$2(node, $event) { if (!($event instanceof A.RawKeyDownEvent) || !$event.data.get$logicalKey().$eq(0, B.LogicalKeyboardKey_4294967323)) return B.KeyEventResult_1; return A.Tooltip_dismissAllToolTips() ? B.KeyEventResult_0 : B.KeyEventResult_1; }, $signature: 149 }; 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; switch (theme.platform.index) { case 0: case 1: case 3: case 5: return false; case 2: case 4: t1 = this.actions; return t1 == null || t1.length < 2; } }, createState$0() { return new A._AppBarState(B._StateLifecycle_0); } }; 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(0); }, _handleDrawerButton$0() { var t2, t3, t1 = this._framework$_element; t1.toString; t1 = A.Scaffold_of(t1); t2 = t1._endDrawerKey; if (t2.get$currentState() != null) { t3 = t1._endDrawerOpened; t3 = A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value); } else t3 = false; if (t3) t2.get$currentState().close$0(0); t1 = t1._scaffold$_drawerKey.get$currentState(); if (t1 != null) t1.open$0(0); }, _handleDrawerButtonEnd$0() { var t1 = this._framework$_element; t1.toString; A.Scaffold_of(t1).openEndDrawer$0(); }, _app_bar$_handleScrollNotification$1(notification) { var oldScrolledUnder, t1; if (notification instanceof A.ScrollUpdateNotification) { oldScrolledUnder = this._scrolledUnder; if (notification.ViewportNotificationMixin__depth === 0) { t1 = notification.metrics; t1 = Math.max(t1.get$pixels() - t1.get$minScrollExtent(), 0) > 0 && A.axisDirectionToAxis(t1.axisDirection) === B.Axis_1; } else t1 = false; this._scrolledUnder = t1; if (t1 !== oldScrolledUnder) this.setState$1(new A._AppBarState__handleScrollNotification_closure()); } }, build$1(_, context) { var t2, t3, t4, hasEndDrawer, canPop, useCloseButton, toolbarHeight, t5, backgroundColor, foregroundColor, overallIconTheme, actionsIconTheme, toolbarTextStyle, titleTextStyle, leading, title, namesRoute, mediaQueryData, actions, appBar, overlayStyle, _this = this, _null = null, _s20_ = "Open navigation menu", theme = A.Theme_of(context), colorScheme = theme.colorScheme, appBarTheme = A.Theme_of(context).appBarTheme, t1 = context.findAncestorStateOfType$1$0(type$.ScaffoldState), parentRoute = A.ModalRoute_of(context, type$.nullable_Object); context.dependOnInheritedWidgetOfExactType$1$0(type$.FlexibleSpaceBarSettings); t2 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); t3 = _this._scrolledUnder; if (t3) t2.add$1(0, B.MaterialState_5); t3 = t1 == null; if (t3) t4 = _null; else { t1._widget.toString; t4 = false; } t1 = t3 ? _null : t1._widget.endDrawer != null; hasEndDrawer = t1 === true; if (parentRoute == null) t1 = _null; else if (!parentRoute.get$hasActiveRouteBelow()) { t1 = parentRoute.LocalHistoryRoute__localHistory; t1 = t1 != null && t1.length !== 0; } else t1 = true; canPop = t1 === true; useCloseButton = parentRoute instanceof A.PageRoute && parentRoute.fullscreenDialog; t1 = _this._widget; t1.toString; toolbarHeight = appBarTheme.toolbarHeight; if (toolbarHeight == null) toolbarHeight = 56; t3 = colorScheme.brightness === B.Brightness_0 ? colorScheme.surface : colorScheme.primary; t5 = type$.nullable_Color; t1 = A.MaterialStateProperty_resolveAs(t1.backgroundColor, t2, t5); if (t1 == null) t1 = A.MaterialStateProperty_resolveAs(appBarTheme.backgroundColor, t2, t5); backgroundColor = t1 == null ? A.MaterialStateProperty_resolveAs(t3, t2, type$.Color) : t1; t1 = _this._widget; t1.toString; foregroundColor = appBarTheme.foregroundColor; if (foregroundColor == null) foregroundColor = colorScheme.brightness === B.Brightness_0 ? colorScheme.onSurface : colorScheme.onPrimary; t1 = t1.iconTheme; if (t1 == null) t1 = appBarTheme.iconTheme; overallIconTheme = t1 == null ? theme.iconTheme.copyWith$1$color(foregroundColor) : t1; _this._widget.toString; actionsIconTheme = appBarTheme.actionsIconTheme; if (actionsIconTheme == null) actionsIconTheme = overallIconTheme; t1 = appBarTheme.toolbarTextStyle; if (t1 == null) { t1 = theme.textTheme.bodyText2; t1 = t1 == null ? _null : t1.copyWith$1$color(foregroundColor); toolbarTextStyle = t1; } else toolbarTextStyle = t1; t1 = _this._widget; t1.toString; t1 = appBarTheme.titleTextStyle; if (t1 == null) { t1 = theme.textTheme.headline6; t1 = t1 == null ? _null : t1.copyWith$1$color(foregroundColor); titleTextStyle = t1; } else titleTextStyle = t1; t1 = _this._widget; leading = t1.leading; if (leading == null && t1.automaticallyImplyLeading) if (t4 === true) { t1 = overallIconTheme.size; if (t1 == null) t1 = 24; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; leading = A.IconButton$(B.Alignment_0_0, _null, _null, true, B.Icon_IID, t1, _this.get$_handleDrawerButton(), B.EdgeInsets_8_8_8_8, _null, _s20_, _null); } else if (!hasEndDrawer && canPop) leading = useCloseButton ? B.CloseButton_null : B.BackButton_null; if (leading != null) { _this._widget.toString; leading = new A.ConstrainedBox(A.BoxConstraints$tightFor(_null, 56), leading, _null); } title = _this._widget.title; switch (theme.platform.index) { case 0: case 1: case 3: case 5: namesRoute = true; break; case 2: case 4: namesRoute = _null; break; default: namesRoute = _null; } title = new A.Semantics(A.SemanticsProperties$(_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, namesRoute, _null, _null, _null, _null, _null, _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, new A._AppBarTitleBox(title, _null), _null); titleTextStyle.toString; title = A.DefaultTextStyle$(title, _null, _null, B.TextOverflow_2, false, titleTextStyle, _null, _null, B.TextWidthBasis_0); mediaQueryData = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; title = new A.MediaQuery(mediaQueryData.copyWith$1$textScaleFactor(Math.min(mediaQueryData.textScaleFactor, 1.34)), title, _null); t1 = _this._widget.actions; if (t1 != null && t1.length !== 0) { t1.toString; actions = A.Row$(t1, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); } else if (hasEndDrawer) { t1 = overallIconTheme.size; if (t1 == null) t1 = 24; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; actions = A.IconButton$(B.Alignment_0_0, _null, _null, true, B.Icon_IID, t1, _this.get$_handleDrawerButtonEnd(), B.EdgeInsets_8_8_8_8, _null, _s20_, _null); } else actions = _null; if (actions != null) actions = A.IconTheme_merge(actions, actionsIconTheme); t1 = _this._widget._getEffectiveCenterTitle$1(theme); _this._widget.toString; t2 = appBarTheme.titleSpacing; if (t2 == null) t2 = 16; toolbarTextStyle.toString; appBar = A.ClipRect$(new A.CustomSingleChildLayout(new A._ToolbarContainerLayout(toolbarHeight), A.IconTheme_merge(A.DefaultTextStyle$(new A.NavigationToolbar(leading, title, actions, t1, t2, _null), _null, _null, B.TextOverflow_0, true, toolbarTextStyle, _null, _null, B.TextWidthBasis_0), overallIconTheme), _null), _null); appBar = A.SafeArea$(false, appBar, B.EdgeInsets_0_0_0_0, true); t1 = A.ThemeData_estimateBrightnessForColor(backgroundColor); t1 = t1 === B.Brightness_0 ? B.SystemUiOverlayStyle_6UD : B.SystemUiOverlayStyle_qsc; overlayStyle = t1; t1 = _this._widget.elevation; if (t1 == null) t1 = appBarTheme.elevation; if (t1 == null) t1 = 4; t2 = appBarTheme.shadowColor; if (t2 == null) t2 = B.Color_4278190080; 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), false, true, false, new A.Align(B.Alignment_0_m1, _null, _null, appBar, _null), _null), B.Clip_0, backgroundColor, t1, _null, t2, appBarTheme.shape, _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), true, false, false, new A.AnnotatedRegion(overlayStyle, t1, _null, type$.AnnotatedRegion_SystemUiOverlayStyle), _null); } }; A._AppBarState__handleScrollNotification_closure.prototype = { call$0() { }, $signature: 0 }; 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.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, 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 t2, _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(0, innerConstraints, true); t1 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t2 = _this.RenderObjectWithChildMixin__child._size; t2.toString; _this._size = t1.constrain$1(t2); _this.alignChild$0(); } }; A.AppBarTheme.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.brightness, _this.backgroundColor, _this.foregroundColor, _this.elevation, _this.shadowColor, _this.shape, _this.iconTheme, _this.actionsIconTheme, _this.textTheme, _this.centerTitle, _this.titleSpacing, _this.toolbarHeight, _this.toolbarTextStyle, _this.titleTextStyle, _this.systemOverlayStyle, _this.backwardsCompatibility, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.AppBarTheme) if (J.$eq$(other.backgroundColor, _this.backgroundColor)) if (J.$eq$(other.foregroundColor, _this.foregroundColor)) if (other.elevation == _this.elevation) if (J.$eq$(other.shadowColor, _this.shadowColor)) if (J.$eq$(other.shape, _this.shape)) if (J.$eq$(other.iconTheme, _this.iconTheme)) if (J.$eq$(other.actionsIconTheme, _this.actionsIconTheme)) if (J.$eq$(other.textTheme, _this.textTheme)) if (other.titleSpacing == _this.titleSpacing) if (other.toolbarHeight == _this.toolbarHeight) if (J.$eq$(other.toolbarTextStyle, _this.toolbarTextStyle)) if (J.$eq$(other.titleTextStyle, _this.titleTextStyle)) 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._AppBarTheme_Object_Diagnosticable.prototype = {}; A.MaterialPointArcTween.prototype = { _arc$_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._arc$_radius = t1; _this._arc$_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._arc$_radius = t6 / c.$sub(0, t2).get$distance() / 2; t1 = J.get$sign$in(t8 - t4); t2 = _this._arc$_radius; t2.toString; _this._arc$_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._arc$_initialize$0(); return _this._arc$_center; }, get$radius() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._arc$_initialize$0(); return _this._arc$_radius; }, get$beginAngle() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._arc$_initialize$0(); return _this._beginAngle; }, get$endAngle() { var _this = this; if (_this.begin == null || _this.end == null) return null; if (_this._arc$_dirty) _this._arc$_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._arc$_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._arc$_radius; t3.toString; t1 = Math.sin(t1); t4 = _this._arc$_radius; t4.toString; return _this._arc$_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._arc$_radius; t1.toString; return 2 * Math.asin(this.distanceFromAtoB / (2 * t1)); }, $signature: 118 }; A._CornerId.prototype = { toString$0(_) { return "_CornerId." + this._core$_name; } }; A._Diagonal.prototype = {}; A.MaterialRectArcTween.prototype = { _arc$_initialize$0() { var t2, t3, _this = this, diagonal = A._maxBy(B.List_oyU1, 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 = 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 = 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 _this = this; if (_this.begin == null) return null; if (_this._arc$_dirty) _this._arc$_initialize$0(); return A._lateReadCheck(_this.__MaterialRectArcTween__beginArc, "_beginArc"); }, get$endArc() { var _this = this; if (_this.end == null) return null; if (_this._arc$_dirty) _this._arc$_initialize$0(); return A._lateReadCheck(_this.__MaterialRectArcTween__endArc, "_endArc"); }, 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, _this = this; if (_this._arc$_dirty) _this._arc$_initialize$0(); if (t === 0) { t1 = _this.begin; t1.toString; return t1; } if (t === 1) { t1 = _this.end; t1.toString; return t1; } return A.Rect$fromPoints(A._lateReadCheck(_this.__MaterialRectArcTween__beginArc, "_beginArc").lerp$1(t), A._lateReadCheck(_this.__MaterialRectArcTween__endArc, "_endArc").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: 456 }; A.BackButtonIcon.prototype = { build$1(_, context) { return A.Icon$(A.BackButtonIcon__getIconData(A.Theme_of(context).platform), null, null); } }; A.BackButton.prototype = { build$1(_, context) { var _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; return A.IconButton$(B.Alignment_0_0, _null, _null, true, B.BackButtonIcon_null, 24, new A.BackButton_build_closure(this, context), B.EdgeInsets_8_8_8_8, _null, "Back", _null); } }; A.BackButton_build_closure.prototype = { call$0() { A.Navigator_maybePop(this.context); }, $signature: 0 }; A.CloseButton.prototype = { build$1(_, context) { var _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; return A.IconButton$(B.Alignment_0_0, _null, _null, true, B.Icon_O5U, 24, new A.CloseButton_build_closure(this, context), B.EdgeInsets_8_8_8_8, _null, "Close", _null); } }; A.CloseButton_build_closure.prototype = { call$0() { A.Navigator_maybePop(this.context); }, $signature: 0 }; A.MaterialBannerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.contentTextStyle, _this.elevation, _this.padding, _this.leadingPadding, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.MaterialBannerThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && 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.BottomAppBarTheme.prototype = { get$hashCode(_) { return A.hashValues(this.color, this.elevation, this.shape, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BottomAppBarTheme && J.$eq$(other.color, _this.color) && other.elevation == _this.elevation && true; } }; A._BottomAppBarTheme_Object_Diagnosticable.prototype = {}; A.BottomNavigationBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_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), 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._childKey).get$renderObject(); t1.toString; return type$.RenderBox._as(t1)._size._dy; }, _bottom_sheet$_handleDragStart$1(details) { this._widget.onDragStart.call$1(details); }, _bottom_sheet$_handleDragUpdate$1(details) { var t1, t2, t3; if (A._lateReadCheck(this._widget.animationController.__AnimationController__status, "_status") === B.AnimationStatus_2) return; t1 = this._widget.animationController; t2 = A._lateReadCheck(t1.__AnimationController__value, "_value"); t3 = details.primaryDelta; t3.toString; t1.set$value(0, t2 - t3 / this.get$_childHeight()); }, _bottom_sheet$_handleDragEnd$1(details) { var t1, flingVelocity, isClosing, _this = this, _s6_ = "_value"; if (A._lateReadCheck(_this._widget.animationController.__AnimationController__status, "_status") === B.AnimationStatus_2) return; t1 = details.velocity.pixelsPerSecond._dy; if (t1 > 700) { flingVelocity = -t1 / _this.get$_childHeight(); if (A._lateReadCheck(_this._widget.animationController.__AnimationController__value, _s6_) > 0) _this._widget.animationController.fling$1$velocity(flingVelocity); isClosing = flingVelocity < 0 && true; } else if (A._lateReadCheck(_this._widget.animationController.__AnimationController__value, _s6_) < 0.5) { if (A._lateReadCheck(_this._widget.animationController.__AnimationController__value, _s6_) > 0) _this._widget.animationController.fling$1$velocity(-1); isClosing = true; } else { _this._widget.animationController.forward$0(0); isClosing = false; } _this._widget.onDragEnd.call$2$isClosing(details, isClosing); if (isClosing) _this._widget.onClosing$0(); }, extentChanged$1(notification) { notification.get$extent(); notification.get$minExtent(); return false; }, build$1(_, context) { var t2, elevation, shape, bottomSheet, _this = this, _null = null, bottomSheetTheme = A.Theme_of(context).bottomSheetTheme, t1 = _this._widget, constraints = bottomSheetTheme.constraints, color = t1.backgroundColor; if (color == null) color = bottomSheetTheme.backgroundColor; t2 = t1.elevation; elevation = t2 == null ? bottomSheetTheme.elevation : t2; if (elevation == null) elevation = 0; shape = t1.shape; if (shape == null) shape = bottomSheetTheme.shape; bottomSheet = A.Material$(B.Duration_200000, true, _null, new A.NotificationListener(t1.builder$1(context), _this.get$extentChanged(), _null, type$.NotificationListener_DraggableScrollableNotification), B.Clip_0, color, elevation, _this._childKey, _null, shape, _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 : A.GestureDetector$(_null, bottomSheet, B.DragStartBehavior_1, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_bottom_sheet$_handleDragEnd(), _this.get$_bottom_sheet$_handleDragStart(), _this.get$_bottom_sheet$_handleDragUpdate()); } }; A._ModalBottomSheetLayout.prototype = { getConstraintsForChild$1(constraints) { var t1 = constraints.maxWidth; return new A.BoxConstraints(t1, t1, 0, constraints.maxHeight); }, getPositionForChild$2(size, childSize) { return new A.Offset(0, size._dy - childSize._dy * this.progress); }, shouldRelayout$1(oldDelegate) { return this.progress !== oldDelegate.progress; } }; A._ModalBottomSheet.prototype = { createState$0() { return new A._ModalBottomSheetState(B.Cubic_8QC, B._StateLifecycle_0, this.$ti._eval$1("_ModalBottomSheetState<1>")); } }; A._ModalBottomSheetState.prototype = { _getRouteLabel$1(localizations) { var t1 = this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 2: case 4: return ""; case 0: case 1: case 3: case 5: return "Dialog"; } }, handleDragStart$1(details) { this.animationCurve = B.C__Linear; }, handleDragEnd$2$isClosing(details, isClosing) { var t1 = this._widget.route._animationProxy; this.animationCurve = new A._BottomSheetSuspendedCurve(t1.get$value(t1), B.Cubic_8QC); }, handleDragEnd$1(details) { return this.handleDragEnd$2$isClosing(details, null); }, build$1(_, context) { var routeLabel, t2, t3, t4, t5, t6, t7, _this = this, mediaQuery = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; routeLabel = _this._getRouteLabel$1(t1); t1 = _this._widget; t2 = t1.route; t3 = t2._animationProxy; t3.toString; t4 = t2._bottom_sheet$_animationController; t5 = t1.backgroundColor; t6 = t1.elevation; t7 = t1.shape; return A.AnimatedBuilder$(t3, new A._ModalBottomSheetState_build_closure(_this, mediaQuery, routeLabel), A.BottomSheet$(t4, t5, t2.builder, t1.clipBehavior, t1.constraints, t6, true, new A._ModalBottomSheetState_build_closure0(_this, context), _this.get$handleDragEnd(), _this.get$handleDragStart(), t7)); } }; A._ModalBottomSheetState_build_closure0.prototype = { call$0() { if (this.$this._widget.route.get$isCurrent()) A.Navigator_of(this.context, false).pop$1(0, null); }, $signature: 0 }; A._ModalBottomSheetState_build_closure.prototype = { call$2(context, child) { var t3, animationValue, _null = null, t1 = this.$this, t2 = t1.animationCurve; if (this.mediaQuery.accessibleNavigation) t3 = 1; else { t3 = t1._widget.route._animationProxy; t3 = t3.get$value(t3); } animationValue = t2.transform$1(0, t3); t1._widget.toString; t1 = A.ClipRect$(new A.CustomSingleChildLayout(new A._ModalBottomSheetLayout(animationValue, true), child, _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, this.routeLabel, _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), false, true, false, t1, _null); }, $signature: 216 }; A._ModalBottomSheetRoute.prototype = { get$transitionDuration(_) { return B.Duration_250000; }, get$reverseTransitionDuration() { return B.Duration_200000; }, get$barrierDismissible() { return true; }, get$barrierColor() { return B.Color_2315255808; }, createAnimationController$0() { var t1 = this._navigator$_navigator; t1 = A._lateReadCheck(t1.__NavigatorState__overlayKey, "_overlayKey").get$currentState(); t1.toString; this._bottom_sheet$_animationController = A.AnimationController$("BottomSheet", B.Duration_250000, B.Duration_200000, 1, null, t1); t1 = this._bottom_sheet$_animationController; t1.toString; return t1; }, buildPage$3(context, animation, secondaryAnimation) { return new A._CaptureAll(this.capturedThemes._themes, A.MediaQuery_MediaQuery$removePadding(new A.Builder(new A._ModalBottomSheetRoute_buildPage_closure(this), null), context, false, false, false, true), null); }, get$barrierLabel() { return this.barrierLabel; } }; A._ModalBottomSheetRoute_buildPage_closure.prototype = { call$1(context) { var t3, sheetTheme = A.Theme_of(context).bottomSheetTheme, t1 = this.$this, t2 = sheetTheme.modalBackgroundColor; if (t2 == null) t2 = sheetTheme.backgroundColor; t3 = sheetTheme.modalElevation; if (t3 == null) t3 = sheetTheme.elevation; return new A._ModalBottomSheet(t1, true, t2, t3, t1.shape, t1.clipBehavior, t1.constraints, true, null, t1.$ti._eval$1("_ModalBottomSheet<1>")); }, $signature() { return this.$this.$ti._eval$1("_ModalBottomSheet<1>(BuildContext)"); } }; A._BottomSheetSuspendedCurve.prototype = { transform$1(_, t) { var t1 = this.startingPoint; if (t < t1) return t; if (t === 1) return t; t1 = A.lerpDouble(t1, 1, this.curve.transform$1(0, (t - t1) / (1 - t1))); t1.toString; return t1; }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A.S(this.startingPoint) + ", " + this.curve.toString$0(0) + ")"; } }; A.BottomSheetThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.elevation, _this.modalBackgroundColor, _this.modalElevation, _this.shape, _this.clipBehavior, _this.constraints, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.BottomSheetThemeData) if (J.$eq$(other.backgroundColor, _this.backgroundColor)) if (other.elevation == _this.elevation) if (J.$eq$(other.modalBackgroundColor, _this.modalBackgroundColor)) if (other.modalElevation == _this.modalElevation) if (J.$eq$(other.shape, _this.shape)) t1 = J.$eq$(other.constraints, _this.constraints); else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; 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() { var _this = this; _this.super$State$initState(); if (!(_this._widget.onPressed != null || false)) _this.addMaterialState$1(B.MaterialState_6); else _this.removeMaterialState$1(B.MaterialState_6); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!(_this._widget.onPressed != null || false)) _this.addMaterialState$1(B.MaterialState_6); else _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, t17, t18, t19, t20, 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); t1 = _this._widget.visualDensity; densityAdjustment = new A.Offset(t1.horizontal, t1.vertical).$mul(0, 4); t1 = _this._widget; effectiveConstraints = t1.visualDensity.effectiveConstraints$1(t1.constraints); _this._widget.toString; effectiveMouseCursor = A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, t2, type$.nullable_MouseCursor); t1 = densityAdjustment._dx; t2 = densityAdjustment._dy; padding = _this._widget.padding.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; t6 = t5.fillColor; t7 = t6 == null ? B.MaterialType_4 : B.MaterialType_3; t8 = t5.animationDuration; t9 = t5.clipBehavior; t10 = t5.focusNode; t5 = t5.onPressed != null || false; t11 = _this.updateMaterialState$1(B.MaterialState_1); t12 = _this.updateMaterialState$2$onChanged(B.MaterialState_2, _this._widget.onHighlightChanged); t13 = _this._widget; t14 = t13.splashColor; t15 = t13.highlightColor; t16 = t13.focusColor; t13 = t13.hoverColor; t17 = _this.updateMaterialState$1(B.MaterialState_0); t18 = _this._widget; t19 = t18.onPressed; t20 = t18.onLongPress; t7 = A.Material$(t8, true, _null, A.InkWell$(false, _null, t5, A.IconTheme_merge(A.Container$(_null, A.Center$(t18.child, 1, 1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, padding, _null, _null, _null), new A.IconThemeData(effectiveTextColor, _null, _null)), effectiveShape, true, t16, t10, t15, t13, _null, effectiveMouseCursor, _null, t11, t12, t17, t20, t19, _null, _null, _null, _null, t14, _null), t9, t6, t3, _null, _null, effectiveShape, t4, t7); switch (t18.materialTapTargetSize.index) { case 0: minSize = new A.Size(48 + t1, 48 + t2); break; case 1: minSize = B.Size_0_0; break; default: minSize = _null; } t1 = t19 != null || false; 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), true, false, false, new A._InputPadding(minSize, new A.ConstrainedBox(effectiveConstraints, t7, _null), _null), _null); } }; A._InputPadding.prototype = { createRenderObject$1(context) { var t1 = new A._RenderInputPadding(this.minSize, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$minSize(this.minSize); } }; A._RenderInputPadding.prototype = { set$minSize(value) { if (this._button$_minSize.$eq(0, value)) return; this._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$_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$_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$_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$_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._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$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { var t2, t3, _this = this, t1 = _this._button$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); _this._size = t1; t2 = _this.RenderObjectWithChildMixin__child; if (t2 != null) { t3 = t2.parentData; t3.toString; type$.BoxParentData._as(t3); t2 = t2._size; t2.toString; t3.offset = B.Alignment_0_0.alongOffset$1(type$.Offset._as(t1.$sub(0, t2))); } }, hitTest$2$position(result, position) { var center; if (this.super$RenderBox$hitTest(result, position)) return true; center = this.RenderObjectWithChildMixin__child._size.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: 15 }; A.__RawMaterialButtonState_State_MaterialStateMixin.prototype = {}; A.ButtonBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.alignment, _this.mainAxisSize, _this.buttonTextTheme, _this.buttonMinWidth, _this.buttonHeight, _this.buttonPadding, _this.buttonAlignedDropdown, _this.layoutBehavior, _this.overflowDirection, 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, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_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$1$padding(padding) { var _this = this; return A.ButtonStyle$(_this.alignment, _this.animationDuration, _this.backgroundColor, _this.elevation, _this.enableFeedback, _this.fixedSize, _this.foregroundColor, _this.maximumSize, _this.minimumSize, _this.mouseCursor, _this.overlayColor, padding, _this.shadowColor, _this.shape, _this.side, _this.splashFactory, _this.tapTargetSize, _this.textStyle, _this.visualDensity); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.textStyle, _this.backgroundColor, _this.foregroundColor, _this.overlayColor, _this.shadowColor, _this.elevation, _this.padding, _this.minimumSize, _this.fixedSize, _this.maximumSize, _this.side, _this.shape, _this.mouseCursor, _this.visualDensity, _this.tapTargetSize, _this.animationDuration, _this.enableFeedback, _this.alignment, _this.splashFactory, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ButtonStyle && other.textStyle == _this.textStyle && other.backgroundColor == _this.backgroundColor && other.foregroundColor == _this.foregroundColor && other.overlayColor == _this.overlayColor && other.shadowColor == _this.shadowColor && other.elevation == _this.elevation && other.padding == _this.padding && other.minimumSize == _this.minimumSize && other.fixedSize == _this.fixedSize && other.maximumSize == _this.maximumSize && other.side == _this.side && other.shape == _this.shape && other.mouseCursor == _this.mouseCursor && J.$eq$(other.visualDensity, _this.visualDensity) && other.tapTargetSize == _this.tapTargetSize && J.$eq$(other.animationDuration, _this.animationDuration) && other.enableFeedback == _this.enableFeedback && J.$eq$(other.alignment, _this.alignment) && other.splashFactory == _this.splashFactory; } }; A._LerpProperties3.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._LerpSides.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(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), 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), _this.t); } return A.BorderSide_lerp(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._LerpShapes.prototype = { resolve$1(states) { var resolvedB, t1 = this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return type$.nullable_OutlinedBorder._as(A.ShapeBorder_lerp(resolvedA, resolvedB, this.t)); }, $isMaterialStateProperty: 1 }; A._ButtonStyle_Object_Diagnosticable.prototype = {}; A.ButtonStyleButton.prototype = { createState$0() { return new A._ButtonStyleState(null, A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), B._StateLifecycle_0); } }; A._ButtonStyleState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); if (!(_this._widget.onPressed != null || false)) _this.addMaterialState$1(B.MaterialState_6); else _this.removeMaterialState$1(B.MaterialState_6); }, dispose$0(_) { var t1 = this._button_style_button$_controller; if (t1 != null) t1.dispose$0(0); this.super$__ButtonStyleState_State_MaterialStateMixin_TickerProviderStateMixin$dispose(0); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!(_this._widget.onPressed != null || false)) _this.addMaterialState$1(B.MaterialState_6); else _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); }, build$1(_, context) { var resolvedBackgroundColor, resolvedForegroundColor, resolvedShadowColor, resolvedPadding, resolvedMinimumSize, resolvedFixedSize, resolvedMaximumSize, resolvedSide, resolvedShape, resolvedVisualDensity, resolvedTapTargetSize, resolvedAnimationDuration, resolvedEnableFeedback, resolvedAlignment, densityAdjustment, resolvedSplashFactory, t2, effectiveConstraints, size, dy, dx, padding, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, 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), resolvedElevation = resolve.call$1$1(new A._ButtonStyleState_build_closure(), type$.nullable_double), resolvedTextStyle = resolve.call$1$1(new A._ButtonStyleState_build_closure0(), type$.nullable_TextStyle); t1 = type$.nullable_Color; resolvedBackgroundColor = resolve.call$1$1(new A._ButtonStyleState_build_closure1(), t1); resolvedForegroundColor = resolve.call$1$1(new A._ButtonStyleState_build_closure2(), t1); resolvedShadowColor = resolve.call$1$1(new A._ButtonStyleState_build_closure3(), t1); resolvedPadding = resolve.call$1$1(new A._ButtonStyleState_build_closure4(), type$.nullable_EdgeInsetsGeometry); t1 = type$.nullable_Size; resolvedMinimumSize = resolve.call$1$1(new A._ButtonStyleState_build_closure5(), t1); resolvedFixedSize = resolve.call$1$1(new A._ButtonStyleState_build_closure6(), t1); resolvedMaximumSize = resolve.call$1$1(new A._ButtonStyleState_build_closure7(), t1); resolvedSide = resolve.call$1$1(new A._ButtonStyleState_build_closure8(), type$.nullable_BorderSide); resolvedShape = resolve.call$1$1(new A._ButtonStyleState_build_closure9(), type$.nullable_OutlinedBorder); resolvedVisualDensity = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure10(), type$.VisualDensity); resolvedTapTargetSize = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure11(), type$.MaterialTapTargetSize); resolvedAnimationDuration = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure12(), type$.Duration); resolvedEnableFeedback = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure13(), type$.bool); resolvedAlignment = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure14(), type$.AlignmentGeometry); densityAdjustment = new A.Offset(resolvedVisualDensity.horizontal, resolvedVisualDensity.vertical).$mul(0, 4); resolvedSplashFactory = effectiveValue.call$1$1(new A._ButtonStyleState_build_closure15(), 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._button_style_button$_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._button_style_button$_controller; if (!J.$eq$(t2 == null ? _null : t2.duration, resolvedAnimationDuration)) { t2 = _this._button_style_button$_controller; if (t2 != null) t2.dispose$0(0); t2 = A.AnimationController$(_null, resolvedAnimationDuration, _null, 1, _null, _this); t2.addStatusListener$1(new A._ButtonStyleState_build_closure16(_this)); _this._button_style_button$_controller = t2; } resolvedBackgroundColor = _this._backgroundColor; _this._button_style_button$_controller.set$value(0, 0); _this._button_style_button$_controller.forward$0(0); } _this._button_style_button$_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; t5 = t5.onLongPress; t8 = _this.updateMaterialState$1(B.MaterialState_2); t9 = _this.updateMaterialState$2$onChanged(B.MaterialState_0, _this._widget.onHover); t10 = _this._widget; t11 = t10.focusNode; t12 = t10.onPressed != null || false; t10 = _this.updateMaterialState$2$onChanged(B.MaterialState_1, t10.onFocusChange); t13 = _this._widget; t13.toString; resolvedAlignment.toString; t4 = A.Material$(resolvedAnimationDuration, true, _null, A.InkWell$(false, _null, t12, A.IconTheme_merge(new A.Padding(padding, new A.Align(resolvedAlignment, 1, 1, t13.child, _null), _null), new A.IconThemeData(resolvedForegroundColor, _null, _null)), resolvedShape, resolvedEnableFeedback, _null, t11, B.Color_0, _null, _null, new A._MouseCursor(new A._ButtonStyleState_build_closure17(effectiveValue)), _null, t10, t8, t9, t5, t7, _null, _null, new A._MaterialStatePropertyWith(new A._ButtonStyleState_build_closure18(effectiveValue), type$._MaterialStatePropertyWith_nullable_Color), _null, _null, resolvedSplashFactory), t6, resolvedBackgroundColor, resolvedElevation, _null, resolvedShadowColor, t3, 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 = t13.onPressed != null || false; 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), true, false, false, new A._InputPadding0(minSize, new A.ConstrainedBox(effectiveConstraints, t4, _null), _null), _null); } }; 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: 460 }; 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: 461 }; A._ButtonStyleState_build_resolve_closure.prototype = { call$1(style) { var t1 = this.getProperty.call$1(style); return t1 == null ? null : t1.resolve$1(this.$this.MaterialStateMixin_materialStates); }, $signature() { return this.T._eval$1("0?(ButtonStyle?)"); } }; A._ButtonStyleState_build_closure.prototype = { call$1(style) { return style == null ? null : style.elevation; }, $signature: 462 }; A._ButtonStyleState_build_closure0.prototype = { call$1(style) { return style == null ? null : style.textStyle; }, $signature: 463 }; A._ButtonStyleState_build_closure1.prototype = { call$1(style) { return style == null ? null : style.backgroundColor; }, $signature: 165 }; A._ButtonStyleState_build_closure2.prototype = { call$1(style) { return style == null ? null : style.foregroundColor; }, $signature: 165 }; A._ButtonStyleState_build_closure3.prototype = { call$1(style) { return style == null ? null : style.shadowColor; }, $signature: 165 }; A._ButtonStyleState_build_closure4.prototype = { call$1(style) { return style == null ? null : style.padding; }, $signature: 465 }; A._ButtonStyleState_build_closure5.prototype = { call$1(style) { return style == null ? null : style.minimumSize; }, $signature: 164 }; A._ButtonStyleState_build_closure6.prototype = { call$1(style) { return style == null ? null : style.fixedSize; }, $signature: 164 }; A._ButtonStyleState_build_closure7.prototype = { call$1(style) { return style == null ? null : style.maximumSize; }, $signature: 164 }; A._ButtonStyleState_build_closure8.prototype = { call$1(style) { return style == null ? null : style.side; }, $signature: 467 }; A._ButtonStyleState_build_closure9.prototype = { call$1(style) { return style == null ? null : style.shape; }, $signature: 468 }; A._ButtonStyleState_build_closure17.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._ButtonStyleState_build__closure0(states), type$.MouseCursor); }, $signature: 469 }; A._ButtonStyleState_build__closure0.prototype = { call$1(style) { var t1; if (style == null) t1 = null; else { t1 = style.mouseCursor; t1 = t1 == null ? null : t1.resolve$1(this.states); } return t1; }, $signature: 470 }; A._ButtonStyleState_build_closure18.prototype = { call$1(states) { return this.effectiveValue.call$1$1(new A._ButtonStyleState_build__closure(states), type$.Color); }, $signature: 96 }; A._ButtonStyleState_build__closure.prototype = { call$1(style) { var t1; if (style == null) t1 = null; else { t1 = style.overlayColor; t1 = t1 == null ? null : t1.resolve$1(this.states); } return t1; }, $signature: 472 }; A._ButtonStyleState_build_closure10.prototype = { call$1(style) { return style == null ? null : style.visualDensity; }, $signature: 473 }; A._ButtonStyleState_build_closure11.prototype = { call$1(style) { return style == null ? null : style.tapTargetSize; }, $signature: 474 }; A._ButtonStyleState_build_closure12.prototype = { call$1(style) { return style == null ? null : style.animationDuration; }, $signature: 475 }; A._ButtonStyleState_build_closure13.prototype = { call$1(style) { return style == null ? null : style.enableFeedback; }, $signature: 476 }; A._ButtonStyleState_build_closure14.prototype = { call$1(style) { return style == null ? null : style.alignment; }, $signature: 477 }; A._ButtonStyleState_build_closure15.prototype = { call$1(style) { return style == null ? null : style.splashFactory; }, $signature: 478 }; A._ButtonStyleState_build_closure16.prototype = { call$1($status) { if ($status === B.AnimationStatus_3) this.$this.setState$1(new A._ButtonStyleState_build__closure1()); }, $signature: 16 }; 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.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; 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 t2, t3, _this = this, t1 = _this._button_style_button$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); _this._size = t1; t2 = _this.RenderObjectWithChildMixin__child; if (t2 != null) { t3 = t2.parentData; t3.toString; type$.BoxParentData._as(t3); t2 = t2._size; t2.toString; t3.offset = B.Alignment_0_0.alongOffset$1(type$.Offset._as(t1.$sub(0, t2))); } }, hitTest$2$position(result, position) { var center; if (this.super$RenderBox$hitTest(result, position)) return true; center = this.RenderObjectWithChildMixin__child._size.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: 15 }; A.__ButtonStyleState_State_MaterialStateMixin.prototype = {}; A.__ButtonStyleState_State_MaterialStateMixin_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.ButtonTextTheme.prototype = { toString$0(_) { return "ButtonTextTheme." + this._core$_name; } }; A.ButtonBarLayoutBehavior.prototype = { toString$0(_) { return "ButtonBarLayoutBehavior." + this._core$_name; } }; A.ButtonThemeData.prototype = { get$padding(_) { var t1 = this._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_LkV0; case 2: return B.RoundedRectangleBorder_LkV1; } }, getBrightness$1(button) { return this.colorScheme.brightness; }, getFillColor$1(button) { var _this = this, t1 = A.getRuntimeType(button) === B.Type_MaterialButton_2No; if (t1) return null; switch (_this.textTheme.index) { case 0: case 1: return _this.colorScheme.primary; case 2: t1 = _this._buttonColor; if (t1 == null) t1 = _this.colorScheme.primary; return t1; } }, getTextColor$1(button) { var fillColor, _this = this; switch (_this.textTheme.index) { case 0: return _this.getBrightness$1(button) === B.Brightness_0 ? B.Color_4294967295 : B.Color_3707764736; case 1: return _this.colorScheme.secondary; case 2: fillColor = _this.getFillColor$1(button); if (fillColor != null ? A.ThemeData_estimateBrightnessForColor(fillColor) === B.Brightness_0 : _this.getBrightness$1(button) === B.Brightness_0) return B.Color_4294967295; return B.Color_4278190080; } }, getElevation$1(button) { return button.elevation; }, getFocusElevation$1(button) { return 4; }, getHoverElevation$1(button) { return 4; }, getHighlightElevation$1(button) { return 8; }, getPadding$1(button) { var t1 = this._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; } }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.ButtonThemeData) if (other.textTheme === _this.textTheme) if (other.minWidth === _this.minWidth) if (other.height === _this.height) if (J.$eq$(other.get$padding(other), _this.get$padding(_this))) if (J.$eq$(other.get$shape(other), _this.get$shape(_this))) if (J.$eq$(other._buttonColor, _this._buttonColor)) if (J.$eq$(other._focusColor, _this._focusColor)) if (J.$eq$(other._hoverColor, _this._hoverColor)) t1 = J.$eq$(other.colorScheme, _this.colorScheme) && other._materialTapTargetSize == _this._materialTapTargetSize; 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 _this = this; return A.hashValues(_this.textTheme, _this.minWidth, _this.height, _this.get$padding(_this), _this.get$shape(_this), false, _this._buttonColor, _this._disabledColor, _this._focusColor, _this._hoverColor, _this._highlightColor, _this._splashColor, _this.colorScheme, _this._materialTapTargetSize, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; 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, _this = this; _this.super$State$initState(); t1 = _this._widget; _this.___CalendarDatePickerState__mode = t1.initialCalendarMode; t1 = t1.initialDate; t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t1), A.Primitives_getMonth(t1), 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); _this.___CalendarDatePickerState__currentDisplayedMonthDate = new A.DateTime(t1, false); _this.___CalendarDatePickerState__selectedDate = _this._widget.initialDate; }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; t2 = t1.initialCalendarMode; if (t2 !== oldWidget.initialCalendarMode) _this.___CalendarDatePickerState__mode = t2; t1 = t1.initialDate; if (!A.DateUtils_isSameDay(t1, oldWidget.initialDate)) { t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t1), A.Primitives_getMonth(t1), 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); _this.___CalendarDatePickerState__currentDisplayedMonthDate = new A.DateTime(t1, false); _this.___CalendarDatePickerState__selectedDate = _this._widget.initialDate; } }, 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.___CalendarDatePickerState__localizations = t1; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; _this.___CalendarDatePickerState__textDirection = t1.textDirection; if (!_this._announcedInitialDate) { _this._announcedInitialDate = true; A.SemanticsService_announce(A._lateReadCheck(_this.___CalendarDatePickerState__localizations, "_localizations").formatFullDate$1(A._lateReadCheck(_this.___CalendarDatePickerState__selectedDate, "_selectedDate")), A._lateReadCheck(_this.___CalendarDatePickerState__textDirection, "_textDirection")); } }, _calendar_date_picker$_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; } }, _calendar_date_picker$_handleModeChanged$1(mode) { this._calendar_date_picker$_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 t2, t3, t4, _this = this, t1 = {}; t1.value = value; _this._calendar_date_picker$_vibrate$0(); t2 = _this._widget; t3 = t2.firstDate; t4 = value._value; if (t4 < t3._value) t1.value = t3; else { t2 = t2.lastDate; if (t4 > t2._value) t1.value = t2; } _this.setState$1(new A._CalendarDatePickerState__handleYearChanged_closure(t1, _this)); }, _handleDayChanged$1(value) { this._calendar_date_picker$_vibrate$0(); this.setState$1(new A._CalendarDatePickerState__handleDayChanged_closure(this, value)); }, _buildPicker$0() { var t1, t2, t3, t4, t5, _this = this, _s26_ = "_currentDisplayedMonthDate", _s13_ = "_selectedDate"; switch (A._lateReadCheck(_this.___CalendarDatePickerState__mode, "_mode").index) { case 0: t1 = A._lateReadCheck(_this.___CalendarDatePickerState__currentDisplayedMonthDate, _s26_); t2 = _this._widget; return new A._MonthPicker(t1, t2.currentDate, t2.firstDate, t2.lastDate, A._lateReadCheck(_this.___CalendarDatePickerState__selectedDate, _s13_), _this.get$_handleDayChanged(), _this.get$_handleMonthChanged(), _this._widget.selectableDayPredicate, _this._monthPickerKey); case 1: t1 = _this._widget; t2 = t1.currentDate; t3 = t1.firstDate; t1 = t1.lastDate; t4 = A._lateReadCheck(_this.___CalendarDatePickerState__currentDisplayedMonthDate, _s26_); t5 = A._lateReadCheck(_this.___CalendarDatePickerState__selectedDate, _s13_); 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)); 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)); return new A.Padding(B.EdgeInsets_0_52_0_0, new A.YearPicker(new A.DateTime(t2, false), t3, t1, new A.DateTime(t4, false), t5, _this.get$_handleYearChanged(), _this._yearPickerKey), null); } }, build$1(_, context) { var _this = this, _null = null; return A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([new A.SizedBox(_null, 346, _this._buildPicker$0(), _null), new A._DatePickerModeToggleButton(A._lateReadCheck(_this.___CalendarDatePickerState__mode, "_mode"), A._lateReadCheck(_this.___CalendarDatePickerState__localizations, "_localizations").formatMonthYear$1(A._lateReadCheck(_this.___CalendarDatePickerState__currentDisplayedMonthDate, "_currentDisplayedMonthDate")), new A._CalendarDatePickerState_build_closure(_this), _null)], type$.JSArray_Widget), B.StackFit_0, _null, _null); } }; A._CalendarDatePickerState__handleModeChanged_closure.prototype = { call$0() { var t3, _s14_ = "_localizations", _s13_ = "_selectedDate", _s14_0 = "_textDirection", t1 = this.$this, t2 = this.mode; t1.___CalendarDatePickerState__mode = t2; t2 = A._lateReadCheck(t2, "_mode"); t3 = t1.___CalendarDatePickerState__localizations; if (t2 === B.DatePickerMode_0) A.SemanticsService_announce(A._lateReadCheck(t3, _s14_).formatMonthYear$1(A._lateReadCheck(t1.___CalendarDatePickerState__selectedDate, _s13_)), A._lateReadCheck(t1.___CalendarDatePickerState__textDirection, _s14_0)); else { A._lateReadCheck(t3, _s14_); A.SemanticsService_announce(B.JSInt_methods.toString$0(A.Primitives_getYear(A._lateReadCheck(t1.___CalendarDatePickerState__selectedDate, _s13_))), A._lateReadCheck(t1.___CalendarDatePickerState__textDirection, _s14_0)); } }, $signature: 0 }; A._CalendarDatePickerState__handleMonthChanged_closure.prototype = { call$0() { var _s26_ = "_currentDisplayedMonthDate", t1 = this.$this, t2 = this.date; if (A.Primitives_getYear(A._lateReadCheck(t1.___CalendarDatePickerState__currentDisplayedMonthDate, _s26_)) !== A.Primitives_getYear(t2) || A.Primitives_getMonth(A._lateReadCheck(t1.___CalendarDatePickerState__currentDisplayedMonthDate, _s26_)) !== A.Primitives_getMonth(t2)) { 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)); t1.___CalendarDatePickerState__currentDisplayedMonthDate = new A.DateTime(t2, false); t1._widget.toString; } }, $signature: 0 }; A._CalendarDatePickerState__handleYearChanged_closure.prototype = { call$0() { var t1 = this.$this; t1.___CalendarDatePickerState__mode = B.DatePickerMode_0; t1._handleMonthChanged$1(this._box_0.value); }, $signature: 0 }; A._CalendarDatePickerState__handleDayChanged_closure.prototype = { call$0() { var t1 = this.$this, t2 = this.value; t1.___CalendarDatePickerState__selectedDate = t2; t1 = t1._widget; t1.toString; t1.onDateChanged$1(A._lateReadCheck(t2, "_selectedDate")); }, $signature: 0 }; A._CalendarDatePickerState_build_closure.prototype = { call$0() { var t1 = this.$this; t1._calendar_date_picker$_handleModeChanged$1(A._lateReadCheck(t1.___CalendarDatePickerState__mode, "_mode") === B.DatePickerMode_0 ? B.DatePickerMode_1 : B.DatePickerMode_0); }, $signature: 0 }; A._DatePickerModeToggleButton.prototype = { createState$0() { return new A._DatePickerModeToggleButtonState(null, B._StateLifecycle_0); } }; A._DatePickerModeToggleButtonState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); _this.___DatePickerModeToggleButtonState__controller = 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, _s11_ = "_controller"; this.super$State$didUpdateWidget(oldWidget); t1 = this._widget.mode; if (oldWidget.mode === t1) return; t2 = this.___DatePickerModeToggleButtonState__controller; if (t1 === B.DatePickerMode_1) A._lateReadCheck(t2, _s11_).forward$0(0); else A._lateReadCheck(t2, _s11_).reverse$0(0); }, build$1(_, context) { var controlColor, t3, t4, _null = null, t1 = A.Theme_of(context), t2 = A.Theme_of(context); t1 = t1.colorScheme.onSurface; controlColor = A.Color$fromARGB(153, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = this._widget; t3 = t1.onTitlePressed; t1 = t1.title; t2 = t2.textTheme.subtitle2; t1 = A.Text$(t1, _null, B.TextOverflow_2, _null, _null, t2 == null ? _null : t2.copyWith$1$color(controlColor), _null, _null, _null); t2 = A._lateReadCheck(this.___DatePickerModeToggleButtonState__controller, "_controller"); t4 = type$.JSArray_Widget; t3 = 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, t1, _null), A.RotationTransition$(A.Icon$(B.IconData_57496_MaterialIcons_null_false, controlColor, _null), t2)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _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, "Select year", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _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, new A.SizedBox(_null, 52, t3, _null), _null), _null)], t4); 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, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_0, _null, _null, _null, _null, 52, _null, _null, B.EdgeInsetsDirectional_16_0_4_0, _null, _null, _null); }, dispose$0(_) { A._lateReadCheck(this.___DatePickerModeToggleButtonState__controller, "_controller").dispose$0(0); this.super$__DatePickerModeToggleButtonState_State_SingleTickerProviderStateMixin$dispose(0); } }; 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, _s13_ = "_currentMonth"; _this.super$State$initState(); t1 = _this._widget.initialMonth; _this.___MonthPickerState__currentMonth = t1; t1 = A._lateReadCheck(t1, _s13_); t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t1), A.Primitives_getMonth(t1) + -1, 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); _this.___MonthPickerState__previousMonthDate = new A.DateTime(t1, false); t1 = A._lateReadCheck(_this.___MonthPickerState__currentMonth, _s13_); t1 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t1), A.Primitives_getMonth(t1) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); _this.___MonthPickerState__nextMonthDate = new A.DateTime(t1, false); _this.___MonthPickerState__pageController = A.PageController$(A.DateUtils_monthDelta(_this._widget.firstDate, A._lateReadCheck(_this.___MonthPickerState__currentMonth, _s13_)), 1); _this._shortcutMap = B.Map_FLUW6; t1 = type$.JSArray_of_void_Function_Action_Intent; t2 = 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([], t1), t2), type$.CallbackAction_NextFocusIntent), B.Type_PreviousFocusIntent_wsa, new A.CallbackAction(_this.get$_handleGridPreviousFocus(), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_PreviousFocusIntent), B.Type_DirectionalFocusIntent_evN, new A.CallbackAction(_this.get$_handleDirectionFocus(), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_DirectionalFocusIntent)], type$.Type, type$.Action_Intent); _this.___MonthPickerState__dayGridFocus = A.FocusNode$(true, "Day Grid", 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 = t1; t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; _this.___MonthPickerState__textDirection = t1.textDirection; }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!_this._widget.initialMonth.$eq(0, oldWidget.initialMonth) && !_this._widget.initialMonth.$eq(0, A._lateReadCheck(_this.___MonthPickerState__currentMonth, "_currentMonth"))) $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._MonthPickerState_didUpdateWidget_closure(_this)); }, dispose$0(_) { A._lateReadCheck(this.___MonthPickerState__pageController, "_pageController").dispose$0(0); A._lateReadCheck(this.___MonthPickerState__dayGridFocus, "_dayGridFocus").dispose$0(0); this.super$State$dispose(0); }, _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, position, t2, _this = this; if (!_this.get$_isDisplayingLastMonth()) { A.SemanticsService_announce(A._lateReadCheck(_this.___MonthPickerState__localizations, "_localizations").formatMonthYear$1(A._lateReadCheck(_this.___MonthPickerState__nextMonthDate, "_nextMonthDate")), A._lateReadCheck(_this.___MonthPickerState__textDirection, "_textDirection")); t1 = A._lateReadCheck(_this.___MonthPickerState__pageController, "_pageController"); position = type$._PagePosition._as(B.JSArray_methods.get$single(t1._positions)); t2 = position.get$page(position); t2.toString; t1.animateToPage$3$curve$duration(B.JSNumber_methods.round$0(t2) + 1, B.Cubic_JUR0, B.Duration_200000); } }, _handlePreviousMonth$0() { var t1, position, t2, _this = this; if (!_this.get$_isDisplayingFirstMonth()) { A.SemanticsService_announce(A._lateReadCheck(_this.___MonthPickerState__localizations, "_localizations").formatMonthYear$1(A._lateReadCheck(_this.___MonthPickerState__previousMonthDate, "_previousMonthDate")), A._lateReadCheck(_this.___MonthPickerState__textDirection, "_textDirection")); t1 = A._lateReadCheck(_this.___MonthPickerState__pageController, "_pageController"); position = type$._PagePosition._as(B.JSArray_methods.get$single(t1._positions)); t2 = position.get$page(position); t2.toString; t1.animateToPage$3$curve$duration(B.JSNumber_methods.round$0(t2) - 1, B.Cubic_JUR0, B.Duration_200000); } }, _showMonth$2$jump(month, jump) { var _s15_ = "_pageController", monthPage = A.DateUtils_monthDelta(this._widget.firstDate, month), t1 = this.___MonthPickerState__pageController; if (jump) A._lateReadCheck(t1, _s15_).jumpToPage$1(monthPage); else A._lateReadCheck(t1, _s15_).animateToPage$3$curve$duration(monthPage, B.Cubic_JUR0, B.Duration_200000); }, _showMonth$1(month) { return this._showMonth$2$jump(month, false); }, get$_isDisplayingFirstMonth() { var t1 = A._lateReadCheck(this.___MonthPickerState__currentMonth, "_currentMonth"), 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 t1 = A._lateReadCheck(this.___MonthPickerState__currentMonth, "_currentMonth"), 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 t1, _s13_ = "_dayGridFocus"; A._lateReadCheck(this.___MonthPickerState__dayGridFocus, _s13_).requestFocus$0(); t1 = A._lateReadCheck(this.___MonthPickerState__dayGridFocus, _s13_); t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, true); }, _handleGridPreviousFocus$1(intent) { var t1, _s13_ = "_dayGridFocus"; A._lateReadCheck(this.___MonthPickerState__dayGridFocus, _s13_).requestFocus$0(); t1 = A._lateReadCheck(this.___MonthPickerState__dayGridFocus, _s13_); t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._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_fHJmU.$index(0, traversalDirection); t1.toString; return t1; }, _nextDateInDirection$2(date, direction) { var textDirection, nextDate, t2, t3, t4, t5, t1 = this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; textDirection = t1.textDirection; t1 = this._dayDirectionOffset$2(direction, 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 = textDirection === B.TextDirection_0; t2 = direction === B.TraversalDirection_3; t3 = this._widget; t4 = nextDate._value; t5 = t4 >= t3.firstDate._value; t3 = t4 <= t3.lastDate._value; while (true) { if (!(t5 && t3)) 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 previousTooltipText, nextTooltipText, t1, controlColor, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, _s14_ = "_localizations", _s13_ = "_dayGridFocus"; A._lateReadCheck(_this.___MonthPickerState__localizations, _s14_); previousTooltipText = "Previous month " + A._lateReadCheck(_this.___MonthPickerState__localizations, _s14_).formatMonthYear$1(A._lateReadCheck(_this.___MonthPickerState__previousMonthDate, "_previousMonthDate")); A._lateReadCheck(_this.___MonthPickerState__localizations, _s14_); nextTooltipText = "Next month " + A._lateReadCheck(_this.___MonthPickerState__localizations, _s14_).formatMonthYear$1(A._lateReadCheck(_this.___MonthPickerState__nextMonthDate, "_nextMonthDate")); t1 = A.Theme_of(context).colorScheme.onSurface; controlColor = A.Color$fromARGB(153, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); t1 = _this.get$_isDisplayingFirstMonth() ? _null : previousTooltipText; t1 = A.IconButton$(B.Alignment_0_0, controlColor, _null, true, B.Icon_cKo, 24, _this.get$_isDisplayingFirstMonth() ? _null : _this.get$_handlePreviousMonth(), B.EdgeInsets_8_8_8_8, _null, t1, _null); t2 = _this.get$_isDisplayingLastMonth() ? _null : nextTooltipText; t3 = type$.JSArray_Widget; t2 = A.Container$(_null, A.Row$(A._setArrayType([B.Spacer_null, t1, A.IconButton$(B.Alignment_0_0, controlColor, _null, true, B.Icon_wEo, 24, _this.get$_isDisplayingLastMonth() ? _null : _this.get$_handleNextMonth(), B.EdgeInsets_8_8_8_8, _null, t2, _null)], t3), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _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 = A._lateReadCheck(_this.___MonthPickerState__dayGridFocus, _s13_); t6 = A._lateReadCheck(_this.___MonthPickerState__dayGridFocus, _s13_).get$hasFocus() ? _this._focusedDay : _null; t7 = A._lateReadCheck(_this.___MonthPickerState__pageController, "_pageController"); t8 = _this._widget; t3 = A.Column$(A._setArrayType([t2, A.Expanded$(A.FocusableActionDetector$(t4, false, new A._FocusedDate(t6, A.PageView$builder(false, t7, _this.get$_buildItems(), A.DateUtils_monthDelta(t8.firstDate, t8.lastDate) + 1, _this._pageViewKey, _this.get$_handleMonthPageChanged(), _null, false, B.Axis_0), _null), true, t5, B.C__DeferringMouseCursor, _this.get$_handleGridFocusChange(), _null, _null, t1), 1)], t3), B.CrossAxisAlignment_2, 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), false, false, false, t3, _null); } }; A._MonthPickerState_didUpdateWidget_closure.prototype = { call$1(timeStamp) { var t1 = this.$this; return t1._showMonth$2$jump(t1._widget.initialMonth, true); }, $signature: 8 }; A._MonthPickerState__handleMonthPageChanged_closure.prototype = { call$0() { var monthDate, t3, _s13_ = "_currentMonth", 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); if (!A.DateUtils_isSameMonth(A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_), 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 = t2; t2 = A._lateReadCheck(t2, _s13_); t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2) + -1, 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t1.___MonthPickerState__previousMonthDate = new A.DateTime(t2, false); t2 = A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_); t2 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(t2), A.Primitives_getMonth(t2) + 1, 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); t1.___MonthPickerState__nextMonthDate = new A.DateTime(t2, false); t2 = t1._widget; t2.toString; t2.onDisplayedMonthChanged$1(A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_)); t2 = t1._focusedDay; if (t2 != null && !A.DateUtils_isSameMonth(t2, A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_))) { t2 = A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_); t3 = t1._focusedDay; t3.toString; t1._focusedDay = t1._focusableDayForMonth$2(t2, A.Primitives_getDay(t3)); } } }, $signature: 0 }; A._MonthPickerState__handleGridFocusChange_closure.prototype = { call$0() { var t1, t2, t3, _s13_ = "_currentMonth"; if (this.focused && this.$this._focusedDay == null) { t1 = this.$this; if (A.DateUtils_isSameMonth(t1._widget.selectedDate, A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_))) t1._focusedDay = t1._widget.selectedDate; else { t2 = A.DateUtils_isSameMonth(t1._widget.currentDate, A._lateReadCheck(t1.___MonthPickerState__currentMonth, _s13_)); t3 = t1.___MonthPickerState__currentMonth; if (t2) t1._focusedDay = t1._focusableDayForMonth$2(A._lateReadCheck(t3, _s13_), A.Primitives_getDay(t1._widget.currentDate)); else t1._focusedDay = t1._focusableDayForMonth$2(A._lateReadCheck(t3, _s13_), 1); } } }, $signature: 0 }; A._MonthPickerState__handleDirectionFocus_closure.prototype = { call$0() { var nextDate, t1 = this.$this, t2 = t1._focusedDay; t2.toString; nextDate = t1._nextDateInDirection$2(t2, this.intent.direction); if (nextDate != null) { t1._focusedDay = nextDate; if (!A.DateUtils_isSameMonth(nextDate, A._lateReadCheck(t1.___MonthPickerState__currentMonth, "_currentMonth"))) { t2 = t1._focusedDay; t2.toString; t1._showMonth$1(t2); } } }, $signature: 0 }; A._FocusedDate.prototype = { updateShouldNotify$1(oldWidget) { return !A.DateUtils_isSameDay(this.date, oldWidget.date); } }; A._DayPicker.prototype = { createState$0() { return new A._DayPickerState(B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); } }; 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, null, null, true); } this.___DayPickerState__dayFocusNodes = _list; }, didChangeDependencies$0() { var focusedDate, _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)) J.$index$asx(A._lateReadCheck(_this.___DayPickerState__dayFocusNodes, "_dayFocusNodes"), A.Primitives_getDay(focusedDate) - 1).requestFocus$0(); }, dispose$0(_) { var t1, t2, _i, node, t3; for (t1 = A._lateReadCheck(this.___DayPickerState__dayFocusNodes, "_dayFocusNodes"), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; t3 = node._attachment; if (t3 != null) t3.detach$0(0); J.getInterceptor$x(node).super$ChangeNotifier$dispose(node); } this.super$State$dispose(0); }, _dayHeaders$2(headerStyle, localizations) { var i, _null = null, result = A._setArrayType([], type$.JSArray_Widget); for (i = 0; true; i = (i + 1) % 7) { result.push(new A.ExcludeSemantics(true, new A.Center(B.Alignment_0_0, _null, _null, new A.Text(B.List_3US[i], _null, headerStyle, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null)); if (i === 6) break; } return result; }, build$1(_, context) { var t2, headerStyle, t3, enabledDayColor, disabledDayColor, selectedDayColor, selectedDayBackground, year, month, daysInMonth, dayOffset, dayItems, day, dayToBuild, t4, isDisabled, isSelectedDay, isToday, decoration, dayColor, side, dayWidget, t5, _this = this, _null = null, colorScheme = A.Theme_of(context).colorScheme, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t2 = A.Theme_of(context).textTheme.caption; if (t2 == null) headerStyle = _null; else { t3 = colorScheme.onSurface; headerStyle = t2.apply$1$color(A.Color$fromARGB(153, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255)); } t2.toString; t3 = colorScheme.onSurface; enabledDayColor = A.Color$fromARGB(222, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255); disabledDayColor = A.Color$fromARGB(97, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255); selectedDayColor = colorScheme.onPrimary; selectedDayBackground = colorScheme.primary; t3 = _this._widget.displayedMonth; year = A.Primitives_getYear(t3); month = A.Primitives_getMonth(t3); daysInMonth = A.DateUtils_getDaysInMonth(year, month); t3 = A.Primitives_valueFromDecomposedDate(year, month, 1, 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); dayOffset = B.JSInt_methods.$mod(A.Primitives_getWeekday(new A.DateTime(t3, false)) - 1 - 6, 7); dayItems = _this._dayHeaders$2(headerStyle, t1); day = -dayOffset; for (; 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 { t3 = A.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); if (!A._isInt(t3)) A.throwExpression(A.argumentErrorValue(t3)); dayToBuild = new A.DateTime(t3, false); t4 = _this._widget; if (!(t3 > t4.lastDate._value)) if (!(t3 < t4.firstDate._value)) isDisabled = false; else isDisabled = true; else isDisabled = true; isSelectedDay = A.DateUtils_isSameDay(t4.selectedDate, dayToBuild); isToday = A.DateUtils_isSameDay(t4.currentDate, dayToBuild); if (isSelectedDay) { decoration = new A.BoxDecoration(selectedDayBackground, _null, _null, _null, _null, _null, B.BoxShape_1); dayColor = selectedDayColor; } else if (isDisabled) { dayColor = disabledDayColor; decoration = _null; } else if (isToday) { side = new A.BorderSide(selectedDayBackground, 1, B.BorderStyle_1); decoration = new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_1); dayColor = selectedDayBackground; } else { dayColor = enabledDayColor; decoration = _null; } dayWidget = A.Container$(_null, new A.Center(B.Alignment_0_0, _null, _null, new A.Text(t1.formatDecimal$1(day), _null, t2.apply$1$color(dayColor), _null, _null, _null, _null, _null, _null, _null, _null), _null), B.Clip_0, _null, _null, decoration, _null, _null, _null, _null, _null, _null, _null, _null); if (isDisabled) dayWidget = new A.ExcludeSemantics(true, dayWidget, _null); else { t3 = J.$index$asx(A._lateReadCheck(_this.___DayPickerState__dayFocusNodes, "_dayFocusNodes"), day - 1); t4 = A.Color$fromARGB(97, selectedDayBackground.get$value(selectedDayBackground) >>> 16 & 255, selectedDayBackground.get$value(selectedDayBackground) >>> 8 & 255, selectedDayBackground.get$value(selectedDayBackground) & 255); t5 = t1.formatDecimal$1(day) + ", " + t1.formatFullDate$1(dayToBuild); dayWidget = new A.InkResponse(new A.Semantics(new A.SemanticsProperties(_null, _null, _null, isSelectedDay, _null, _null, _null, _null, _null, _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, _null, _null), false, false, true, dayWidget, _null), new A._DayPickerState_build_closure(_this, dayToBuild), _null, _null, _null, _null, _null, _null, _null, false, B.BoxShape_1, 25, _null, _null, _null, _null, _null, _null, t4, _null, true, false, _null, false, t3, true, _null); } dayItems.push(dayWidget); } } 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, true, B.ClampingScrollPhysics_null, _null, false, _null, 0, _null, _null, B.DragStartBehavior_1, B.ScrollViewKeyboardDismissBehavior_0, _null, B.Clip_1, _null), _null); } }; A._DayPickerState_build_closure.prototype = { call$0() { return this.$this._widget.onChanged$1(this.dayToBuild); }, $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(B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); } }; A._YearPickerState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); _this.___YearPickerState__scrollController = A.ScrollController$(null, _this._scrollOffsetForYear$1(_this._widget.selectedDate), true); }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!_this._widget.selectedDate.$eq(0, oldWidget.selectedDate)) A._lateReadCheck(_this.___YearPickerState__scrollController, "_scrollController").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, itemStyle, decoration, side, yearItem, _this = this, _null = null, colorScheme = A.Theme_of(context).colorScheme, t1 = A.Theme_of(context), offset = _this.get$_itemCount() < 18 ? B.JSInt_methods._tdivFast$1(18 - _this.get$_itemCount(), 2) : 0, t2 = _this._widget, t3 = t2.firstDate, year = A.Primitives_getYear(t3) + index - offset, isSelected = year === A.Primitives_getYear(t2.selectedDate), isCurrentYear = year === A.Primitives_getYear(t2.currentDate), isDisabled = year < A.Primitives_getYear(t3) || year > A.Primitives_getYear(t2.lastDate); if (isSelected) textColor = colorScheme.onPrimary; else if (isDisabled) { t2 = colorScheme.onSurface; textColor = A.Color$fromARGB(97, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } else if (isCurrentYear) textColor = colorScheme.primary; else { t2 = colorScheme.onSurface; textColor = A.Color$fromARGB(222, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } t1 = t1.textTheme.bodyText1; itemStyle = t1 == null ? _null : t1.apply$1$color(textColor); if (isSelected) decoration = new A.BoxDecoration(colorScheme.primary, _null, _null, A.BorderRadius$circular(18), _null, _null, B.BoxShape_0); else if (isCurrentYear && !isDisabled) { side = new A.BorderSide(colorScheme.primary, 1, B.BorderStyle_1); decoration = new A.BoxDecoration(_null, _null, new A.Border(side, side, side, side), A.BorderRadius$circular(18), _null, _null, B.BoxShape_0); } else decoration = _null; t1 = A.Text$(B.JSInt_methods.toString$0(year), _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, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _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), false, false, false, t1, _null), _null, _null), B.Clip_0, _null, _null, decoration, _null, 36, _null, _null, _null, _null, _null, 72), _null, _null); return isDisabled ? new A.ExcludeSemantics(true, yearItem, _null) : 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_closure(_this, year), _null, _null, _null, _null, _null, _null); }, get$_itemCount() { var t1 = this._widget; return A.Primitives_getYear(t1.lastDate) - A.Primitives_getYear(t1.firstDate) + 1; }, build$1(_, context) { var _this = this, t1 = A._lateReadCheck(_this.___YearPickerState__scrollController, "_scrollController"); _this._widget.toString; return A.Column$(A._setArrayType([B.Divider_null, A.Expanded$(A.GridView$builder(t1, B.DragStartBehavior_1, B.C__YearPickerGridDelegate, _this.get$_buildYearItem(), Math.max(_this.get$_itemCount(), 18), B.EdgeInsets_16_0_16_0), 1), B.Divider_null], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); } }; A._YearPickerState__buildYearItem_closure.prototype = { call$0() { var t1 = this.$this._widget, t2 = t1.initialDate; t2 = A.Primitives_valueFromDecomposedDate(this.year, A.Primitives_getMonth(t2), 1, 0, 0, 0, 0, false); if (!A._isInt(t2)) A.throwExpression(A.argumentErrorValue(t2)); return t1.onChanged$1(new A.DateTime(t2, false)); }, $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(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.Card.prototype = { build$1(_, context) { var t2, t3, t4, t5, _this = this, _null = null, theme = A.Theme_of(context), cardTheme = A.Theme_of(context).cardTheme, t1 = _this.margin; if (t1 == null) t1 = cardTheme.margin; if (t1 == null) t1 = B.EdgeInsets_4_4_4_4; t2 = _this.shadowColor; if (t2 == null) t2 = cardTheme.shadowColor; if (t2 == null) t2 = theme.shadowColor; t3 = _this.color; if (t3 == null) t3 = cardTheme.color; if (t3 == null) t3 = theme.cardColor; t4 = _this.elevation; if (t4 == null) t4 = cardTheme.elevation; if (t4 == null) t4 = 1; t5 = _this.shape; if (t5 == null) t5 = cardTheme.shape; if (t5 == null) t5 = B.RoundedRectangleBorder_LkV1; t1 = 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), false, false, false, _this.child, _null), B.Clip_0, t3, t4, _null, t2, t5, _null, B.MaterialType_1), B.Clip_0, _null, _null, _null, _null, _null, _null, t1, _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), true, false, false, t1, _null); } }; A.CardTheme.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.clipBehavior, _this.color, _this.shadowColor, _this.elevation, _this.margin, _this.shape, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.CardTheme) t1 = J.$eq$(other.color, _this.color) && J.$eq$(other.shadowColor, _this.shadowColor) && other.elevation == _this.elevation && J.$eq$(other.margin, _this.margin) && J.$eq$(other.shape, _this.shape); else t1 = false; return t1; } }; A._CardTheme_Object_Diagnosticable.prototype = {}; A.Checkbox.prototype = { createState$0() { return new A._CheckboxState(new A._CheckboxPainter(A.List_List$filled(0, null, false, type$.nullable_void_Function)), $, $, $, $, $, $, $, $, $, null, false, false, 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(0); this.super$__CheckboxState_State_TickerProviderStateMixin_ToggleableStateMixin$dispose(0); }, 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); }, get$_defaultFillColor() { var t1 = this._framework$_element; t1.toString; return new A._MaterialStatePropertyWith(new A._CheckboxState__defaultFillColor_closure(A.Theme_of(t1)), type$._MaterialStatePropertyWith_Color); }, _resolveSide$1(side) { if (!this.get$states().contains$1(0, B.MaterialState_4)) return side; return null; }, build$1(_, context) { var effectiveVisualDensity, size, activeStates, inactiveStates, t2, effectiveActiveColor, effectiveInactiveColor, focusedStates, t3, effectiveFocusOverlayColor, hoveredStates, effectiveHoverOverlayColor, effectiveActivePressedOverlayColor, effectiveInactivePressedOverlayColor, effectiveCheckColor, t4, _this = this, _null = null, themeData = A.Theme_of(context), t1 = _this._widget.materialTapTargetSize, effectiveMaterialTapTargetSize = t1 == null ? themeData.checkboxTheme.materialTapTargetSize : t1; if (effectiveMaterialTapTargetSize == null) effectiveMaterialTapTargetSize = themeData.materialTapTargetSize; t1 = themeData.checkboxTheme; effectiveVisualDensity = themeData.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); t2 = _this._widget.fillColor; t2 = t2 == null ? _null : t2._material_state$_resolve.call$1(activeStates); if (t2 == null) t2 = _this.get$_widgetFillColor()._material_state$_resolve.call$1(activeStates); if (t2 == null) { t2 = t1.fillColor; t2 = t2 == null ? _null : t2.resolve$1(activeStates); effectiveActiveColor = t2; } else effectiveActiveColor = t2; if (effectiveActiveColor == null) effectiveActiveColor = _this.get$_defaultFillColor()._material_state$_resolve.call$1(activeStates); t2 = _this._widget.fillColor; t2 = t2 == null ? _null : t2._material_state$_resolve.call$1(inactiveStates); if (t2 == null) t2 = _this.get$_widgetFillColor()._material_state$_resolve.call$1(inactiveStates); if (t2 == null) { t2 = t1.fillColor; t2 = t2 == null ? _null : t2.resolve$1(inactiveStates); effectiveInactiveColor = t2; } else effectiveInactiveColor = t2; if (effectiveInactiveColor == null) effectiveInactiveColor = _this.get$_defaultFillColor()._material_state$_resolve.call$1(inactiveStates); focusedStates = _this.get$states(); focusedStates.add$1(0, B.MaterialState_1); _this._widget.toString; t2 = t1.overlayColor; t3 = t2 == null ? _null : t2.resolve$1(focusedStates); effectiveFocusOverlayColor = t3; if (effectiveFocusOverlayColor == null) effectiveFocusOverlayColor = themeData.focusColor; hoveredStates = _this.get$states(); hoveredStates.add$1(0, B.MaterialState_0); _this._widget.toString; t3 = t2 == null ? _null : t2.resolve$1(hoveredStates); effectiveHoverOverlayColor = t3; if (effectiveHoverOverlayColor == null) effectiveHoverOverlayColor = themeData.hoverColor; activeStates.add$1(0, B.MaterialState_2); _this._widget.toString; t3 = t2 == null ? _null : t2.resolve$1(activeStates); effectiveActivePressedOverlayColor = t3; if (effectiveActivePressedOverlayColor == null) effectiveActivePressedOverlayColor = A.Color$fromARGB(31, effectiveActiveColor.get$value(effectiveActiveColor) >>> 16 & 255, effectiveActiveColor.get$value(effectiveActiveColor) >>> 8 & 255, effectiveActiveColor.get$value(effectiveActiveColor) & 255); inactiveStates.add$1(0, B.MaterialState_2); _this._widget.toString; t2 = t2 == null ? _null : t2.resolve$1(inactiveStates); effectiveInactivePressedOverlayColor = t2; if (effectiveInactivePressedOverlayColor == null) effectiveInactivePressedOverlayColor = A.Color$fromARGB(31, effectiveActiveColor.get$value(effectiveActiveColor) >>> 16 & 255, effectiveActiveColor.get$value(effectiveActiveColor) >>> 8 & 255, effectiveActiveColor.get$value(effectiveActiveColor) & 255); t2 = _this._widget.checkColor; if (t2 == null) { t2 = t1.checkColor; t2 = t2 == null ? _null : t2.resolve$1(_this.get$states()); effectiveCheckColor = t2; } else effectiveCheckColor = t2; if (effectiveCheckColor == null) effectiveCheckColor = B.Color_4294967295; t2 = _this._widget.value; t3 = _this._checkbox$_painter; t3.set$position(0, A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, "_position")); t3.set$reaction(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reaction, "_reaction")); t3.set$reactionFocusFade(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade, "_reactionFocusFade")); t3.set$reactionHoverFade(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade, "_reactionHoverFade")); t3.set$inactiveReactionColor(effectiveInactivePressedOverlayColor); t3.set$reactionColor(effectiveActivePressedOverlayColor); t3.set$hoverColor(effectiveHoverOverlayColor); t3.set$focusColor(effectiveFocusOverlayColor); _this._widget.toString; t4 = t1.splashRadius; t3.set$splashRadius(t4 == null ? 20 : t4); t3.set$downPosition(_this.ToggleableStateMixin__downPosition); t3.set$isFocused(_this.get$states().contains$1(0, B.MaterialState_1)); t3.set$isHovered(_this.get$states().contains$1(0, B.MaterialState_0)); t3.set$activeColor(effectiveActiveColor); t3.set$inactiveColor(effectiveInactiveColor); t3.set$checkColor(effectiveCheckColor); t3.set$value(0, _this._widget.value); t3.set$previousValue(_this._previousValue); _this._widget.toString; t4 = t1.shape; t3.set$shape(0, t4 == null ? B.RoundedRectangleBorder_LkV2 : t4); _this._widget.toString; t4 = _this._resolveSide$1(_null); t3.set$side(t4 == null ? _this._resolveSide$1(t1.side) : t4); t1 = _this.buildToggleable$5$autofocus$focusNode$mouseCursor$painter$size(false, _null, new A._MaterialStatePropertyWith(new A._CheckboxState_build_closure(_this, themeData), type$._MaterialStatePropertyWith_MouseCursor), t3, size); 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, _null, _null, _null, _null, _null, _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, t1, _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: 96 }; A._CheckboxState__defaultFillColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.themeData.disabledColor; if (states.contains$1(0, B.MaterialState_4)) return this.themeData.toggleableActiveColor; return this.themeData.unselectedWidgetColor; }, $signature: 31 }; A._CheckboxState_build_closure.prototype = { call$1(states) { var t1; this.$this._widget.toString; t1 = A.MaterialStateProperty_resolveAs(null, states, type$.nullable_MouseCursor); if (t1 == null) t1 = null; return t1 == null ? B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable.resolve$1(states) : t1; }, $signature: 263 }; A._CheckboxPainter.prototype = { set$checkColor(value) { if (J.$eq$(this._checkColor, value)) return; this._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$side(value) { if (J.$eq$(this._side, value)) return; this._side = 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; }, _drawBox$5(canvas, outer, paint, side, fill) { if (fill) canvas.drawPath$2(0, this._checkbox$_shape.getOuterPath$1(outer), paint); if (side != null) this._checkbox$_shape.copyWith$1$side(side).paint$2(canvas, outer); }, _drawCheck$4(canvas, origin, t, paint) { var t5, path = A.Path_Path(), 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(0, 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(0, origin.$add(0, t1), origin.$add(0, t2), paint); }, paint$2(canvas, size) { var t1, strokePaint, origin, t2, tNormalized, t, outer, paint, border, tShrink, tExpand, _this = this; _this.paintRadialReaction$2$canvas$origin(canvas, size.center$1(B.Offset_0_0)); t1 = A._detectRenderer(); strokePaint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._checkColor; t1.toString; strokePaint.set$color(0, t1); 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))); t1 = _this._toggleable$_position.parent; t1 = t1.get$status(t1); t1 = t1 === B.AnimationStatus_1 || t1 === B.AnimationStatus_3; t2 = _this._toggleable$_position; tNormalized = t1 ? t2.get$value(t2) : 1 - t2.get$value(t2); if (_this._previousValue === false || _this._checkbox$_value === false) { t = _this._checkbox$_value === false ? 1 - tNormalized : tNormalized; outer = _this._outerRectAt$2(origin, t); t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, _this._colorAt$1(t)); border = _this._side; if (t <= 0.5) _this._drawBox$5(canvas, outer, paint, border == null ? new A.BorderSide(paint.get$color(paint), 2, B.BorderStyle_1) : border, false); else { _this._drawBox$5(canvas, outer, paint, border, true); 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); t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, _this._colorAt$1(1)); _this._drawBox$5(canvas, outer, paint, _this._side, true); if (tNormalized <= 0.5) { tShrink = 1 - tNormalized * 2; if (_this._previousValue === true) _this._drawCheck$4(canvas, origin, tShrink, strokePaint); else _this._drawDash$4(canvas, origin, tShrink, strokePaint); } else { tExpand = (tNormalized - 0.5) * 2; if (_this._checkbox$_value === true) _this._drawCheck$4(canvas, origin, tExpand, strokePaint); else _this._drawDash$4(canvas, origin, tExpand, strokePaint); } } } }; A.__CheckboxState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; 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 = t1; _this.ToggleableStateMixin___ToggleableStateMixin__position = A.CurvedAnimation$(B.Cubic_JUR, A._lateReadCheck(t1, "_positionController"), B.Cubic_xDo0); t1 = A.AnimationController$(_null, B.Duration_100000, _null, 1, _null, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reaction = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionController"), _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionHoverFadeController"), _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionFocusFadeController"), _null); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__positionController, "_positionController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController, "_reactionHoverFadeController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController, "_reactionFocusFadeController").dispose$0(0); _this.super$__CheckboxState_State_TickerProviderStateMixin$dispose(0); } }; 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: _this.onChanged.call$1(false); break; } }, build$1(_, context) { var trailing, leading, t1, _this = this, _null = null, control = A.Checkbox$(_null, false, _this.checkColor, _null, B.MaterialTapTargetSize_1, _this.onChanged, false, _this.value); 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; } t1 = A.Theme_of(context); return new A.MergeSemantics(A.ListTileTheme_merge(A.ListTile$(false, _null, _null, _null, true, _null, _null, false, leading, _this.get$_handleValueChange(), false, _null, _null, _null, _null, _this.title, trailing, _null), _null, t1.toggleableActiveColor, _null), _null); }, get$value(receiver) { return this.value; } }; A.CheckboxThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.mouseCursor, _this.fillColor, _this.checkColor, _this.overlayColor, _this.splashRadius, _this.materialTapTargetSize, _this.visualDensity, _this.shape, _this.side, 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, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.CheckboxThemeData) if (other.fillColor == _this.fillColor) if (other.checkColor == _this.checkColor) if (other.overlayColor == _this.overlayColor) if (other.splashRadius == _this.splashRadius) t1 = J.$eq$(other.shape, _this.shape) && J.$eq$(other.side, _this.side); else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._LerpProperties1.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._CheckboxThemeData_Object_Diagnosticable.prototype = {}; A.Chip.prototype = { build$1(_, context) { var _null = null; return new A.RawChip(_null, this.label, _null, _null, B.Icon_Gv2, _null, _null, true, _null, _null, _null, B.Clip_0, _null, false, this.backgroundColor, _null, _null, _null, this.elevation, _null, false, _null); } }; A.RawChip.prototype = { createState$0() { return new A._RawChipState(null, A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), B._StateLifecycle_0); } }; A._RawChipState.prototype = { get$canTap() { this._widget.toString; return false; }, initState$0() { var t1, _this = this, _null = null, _s16_ = "selectController"; _this.super$State$initState(); _this._widget.toString; _this.removeMaterialState$1(B.MaterialState_6); _this._widget.toString; _this.removeMaterialState$1(B.MaterialState_4); _this._widget.toString; t1 = A.AnimationController$(_null, B.Duration_195000, _null, 1, 0, _this); _this.___RawChipState_selectController = t1; _this.___RawChipState_selectionFade = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, _s16_), _null); _this._widget.toString; _this.___RawChipState_avatarDrawerController = A.AnimationController$(_null, B.Duration_150000, _null, 1, 0, _this); _this._widget.toString; _this.___RawChipState_deleteDrawerController = A.AnimationController$(_null, B.Duration_150000, _null, 1, 0, _this); _this._widget.toString; _this.___RawChipState_enableController = A.AnimationController$(_null, B.Duration_75000, _null, 1, 1, _this); _this.___RawChipState_checkmarkAnimation = A.CurvedAnimation$(new A.Interval(0.23076923076923073, 1, B.Cubic_ifx), A._lateReadCheck(_this.___RawChipState_selectController, _s16_), new A.Interval(0.7435897435897436, 1, B.Cubic_ifx)); _this.___RawChipState_deleteDrawerAnimation = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(_this.___RawChipState_deleteDrawerController, "deleteDrawerController"), _null); _this.___RawChipState_avatarDrawerAnimation = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(_this.___RawChipState_avatarDrawerController, "avatarDrawerController"), new A.Interval(0.4871794871794872, 1, B.Cubic_ifx)); _this.___RawChipState_enableAnimation = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(_this.___RawChipState_enableController, "enableController"), _null); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.___RawChipState_selectController, "selectController").dispose$0(0); A._lateReadCheck(_this.___RawChipState_avatarDrawerController, "avatarDrawerController").dispose$0(0); A._lateReadCheck(_this.___RawChipState_deleteDrawerController, "deleteDrawerController").dispose$0(0); A._lateReadCheck(_this.___RawChipState_enableController, "enableController").dispose$0(0); _this.super$__RawChipState_State_MaterialStateMixin_TickerProviderStateMixin$dispose(0); }, _chip$_handleTapDown$1(details) { var _this = this; if (!_this.get$canTap()) return; _this.addMaterialState$1(B.MaterialState_2); _this.setState$1(new A._RawChipState__handleTapDown_closure(_this)); }, _chip$_handleTapCancel$0() { var _this = this; if (!_this.get$canTap()) return; _this.removeMaterialState$1(B.MaterialState_2); _this.setState$1(new A._RawChipState__handleTapCancel_closure(_this)); }, _chip$_handleTap$0() { var _this = this; if (!_this.get$canTap()) return; _this.removeMaterialState$1(B.MaterialState_2); _this.setState$1(new A._RawChipState__handleTap_closure(_this)); _this._widget.toString; }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; }, _wrapWithTooltip$3$child$enabled$tooltip(child, enabled, tooltip) { var t1 = !enabled || tooltip == null; if (t1) return child; return A.Tooltip$(child, tooltip); }, _buildDeleteIcon$3(context, theme, chipTheme) { this._widget.toString; return null; }, build$1(_, context) { var theme, chipTheme, textDirection, t2, t3, resolvedSide, t4, resolvedShape, elevation, pressElevation, shadowColor, effectiveLabelStyle, resolvedLabelStyle, labelPadding, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, result, densityAdjustment, constraints, _this = this, _null = null, t1 = A.EdgeInsets_lerp(B.EdgeInsets_8_0_8_0, B.EdgeInsets_4_0_4_0, B.JSNumber_methods.clamp$2(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.textScaleFactor - 1, 0, 1)); t1.toString; theme = A.Theme_of(context); context.dependOnInheritedWidgetOfExactType$1$0(type$.ChipTheme); chipTheme = A.Theme_of(context).chipTheme; textDirection = A.Directionality_maybeOf(context); t2 = _this.MaterialStateMixin_materialStates; t3 = type$.nullable_BorderSide; resolvedSide = A.MaterialStateProperty_resolveAs(_this._widget.side, t2, t3); if (resolvedSide == null) resolvedSide = A.MaterialStateProperty_resolveAs(chipTheme.side, t2, t3); t3 = type$.nullable_OutlinedBorder; t4 = A.MaterialStateProperty_resolveAs(_this._widget.shape, t2, t3); resolvedShape = t4 == null ? A.MaterialStateProperty_resolveAs(chipTheme.shape, t2, t3) : t4; resolvedShape = (resolvedShape == null ? B.StadiumBorder_QSQ : resolvedShape).copyWith$1$side(resolvedSide); t3 = _this._widget; t4 = t3.elevation; elevation = t4 == null ? chipTheme.elevation : t4; if (elevation == null) elevation = 0; pressElevation = chipTheme.pressElevation; if (pressElevation == null) pressElevation = 8; shadowColor = chipTheme.shadowColor; if (shadowColor == null) shadowColor = B.Color_4278190080; effectiveLabelStyle = chipTheme.labelStyle.merge$1(t3.labelStyle); resolvedLabelStyle = effectiveLabelStyle.copyWith$1$color(A.MaterialStateProperty_resolveAs(effectiveLabelStyle.color, t2, type$.nullable_Color)); _this._widget.toString; labelPadding = chipTheme.labelPadding; if (labelPadding == null) labelPadding = t1; t1 = _this.get$canTap() && _this._isTapping ? pressElevation : elevation; t2 = _this._widget; t2 = t2.clipBehavior; t3 = _this.updateMaterialState$1(B.MaterialState_1); t4 = _this._widget.focusNode; t5 = _this.get$canTap() ? _this.get$_chip$_handleTap() : _null; t6 = _this.get$canTap() ? _this.get$_chip$_handleTapDown() : _null; t7 = _this.get$canTap() ? _this.get$_chip$_handleTapCancel() : _null; t8 = _this.get$canTap() ? _this.updateMaterialState$1(B.MaterialState_0) : _null; t9 = A._setArrayType([A._lateReadCheck(_this.___RawChipState_selectController, "selectController"), A._lateReadCheck(_this.___RawChipState_enableController, "enableController")], type$.JSArray_Listenable); t10 = _this._widget; t11 = A.DefaultTextStyle$(t10.label, _null, 1, B.TextOverflow_1, false, resolvedLabelStyle, B.TextAlign_4, _null, B.TextWidthBasis_0); t10 = A.AnimatedSwitcher$(t10.avatar, B.Duration_150000, B.Cubic_ifx, A.animated_switcher_AnimatedSwitcher_defaultTransitionBuilder$closure()); t12 = A.AnimatedSwitcher$(_this._buildDeleteIcon$3(context, theme, chipTheme), B.Duration_150000, B.Cubic_ifx, A.animated_switcher_AnimatedSwitcher_defaultTransitionBuilder$closure()); _this._widget.toString; t13 = chipTheme.padding.resolve$1(textDirection); _this._widget.toString; t14 = theme.visualDensity; t15 = labelPadding.resolve$1(textDirection); _this._widget.toString; t16 = _this.get$canTap(); _this._widget.toString; t17 = A._lateReadCheck(_this.___RawChipState_checkmarkAnimation, "checkmarkAnimation"); t18 = A._lateReadCheck(_this.___RawChipState_enableAnimation, "enableAnimation"); t19 = A._lateReadCheck(_this.___RawChipState_avatarDrawerAnimation, "avatarDrawerAnimation"); t20 = A._lateReadCheck(_this.___RawChipState_deleteDrawerAnimation, "deleteDrawerAnimation"); _this._widget.toString; result = A.Material$(B.Duration_75000, true, _null, A.InkWell$(false, _null, true, A.AnimatedBuilder$(new A._MergingListenable(t9), new A._RawChipState_build_closure(_this, resolvedShape, chipTheme), _this._wrapWithTooltip$3$child$enabled$tooltip(new A._ChipRenderWidget(new A._ChipRenderTheme(t10, t11, t12, chipTheme.brightness, t13, t14, t15, false, true, chipTheme.checkmarkColor, t16), false, true, t17, t19, t20, t18, B.CircleBorder_IVQ, _null), false, _null)), resolvedShape, true, _null, t4, _null, _null, _null, _null, _null, t3, _null, t8, _null, t5, t7, t6, _null, _null, _null, _null), t2, _null, t1, _null, shadowColor, resolvedShape, _null, B.MaterialType_0); _this._widget.toString; densityAdjustment = new A.Offset(t14.horizontal, t14.vertical).$mul(0, 4); _this._widget.toString; switch (theme.materialTapTargetSize.index) { case 0: constraints = new A.BoxConstraints(48 + densityAdjustment._dx, 1 / 0, 48 + densityAdjustment._dy, 1 / 0); break; case 1: constraints = B.BoxConstraints_mlX3; break; default: constraints = _null; } t1 = A.Center$(result, 1, 1); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, 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, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null), true, false, false, new A._ChipRedirectingHitDetectionWidget(constraints, t1, _null), _null); } }; A._RawChipState__handleTapDown_closure.prototype = { call$0() { this.$this._isTapping = true; }, $signature: 0 }; A._RawChipState__handleTapCancel_closure.prototype = { call$0() { this.$this._isTapping = false; }, $signature: 0 }; A._RawChipState__handleTap_closure.prototype = { call$0() { this.$this._isTapping = false; }, $signature: 0 }; A._RawChipState_build_closure.prototype = { call$2(context, child) { var t4, _null = null, t1 = this.$this, t2 = this.chipTheme, t3 = t1._widget; t3 = t3.backgroundColor; t4 = A._lateReadCheck(t1.___RawChipState_enableController, "enableController"); t4 = new A.ColorTween(t2.disabledColor, t3).transform$1(0, t4.get$value(t4)); t1._widget.toString; t1 = A._lateReadCheck(t1.___RawChipState_selectionFade, "selectionFade"); return A.Container$(_null, child, B.Clip_0, _null, _null, new A.ShapeDecoration(new A.ColorTween(t4, t2.selectedColor).transform$1(0, t1.get$value(t1)), _null, _null, _null, this.resolvedShape), _null, _null, _null, _null, _null, _null, _null, _null); }, $signature: 484 }; A._ChipRedirectingHitDetectionWidget.prototype = { createRenderObject$1(context) { var t1 = new A._RenderChipRedirectingHitDetection(this.constraints, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$additionalConstraints(this.constraints); } }; A._RenderChipRedirectingHitDetection.prototype = { hitTest$2$position(result, position) { var offset; if (!this._size.contains$1(0, position)) return false; offset = new A.Offset(position._dx, this._size._dy / 2); return result.addWithRawTransform$3$hitTest$position$transform(new A._RenderChipRedirectingHitDetection_hitTest_closure(this, offset), position, A.MatrixUtils_forceToPoint(offset)); } }; A._RenderChipRedirectingHitDetection_hitTest_closure.prototype = { call$2(result, position) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, this.offset); }, $signature: 15 }; A._ChipRenderWidget.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; return new A._RenderChipElement(A.LinkedHashMap_LinkedHashMap$_empty(type$._ChipSlot, t1), t2, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$theme(_this.theme); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, t1.textDirection); renderObject.value = false; renderObject.isEnabled = true; renderObject.checkmarkAnimation = _this.checkmarkAnimation; renderObject.avatarDrawerAnimation = _this.avatarDrawerAnimation; renderObject.deleteDrawerAnimation = _this.deleteDrawerAnimation; renderObject.enableAnimation = _this.enableAnimation; renderObject.avatarBorder = _this.avatarBorder; }, createRenderObject$1(context) { var t2, t3, _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A._RenderChip(A.LinkedHashMap_LinkedHashMap$_empty(type$._ChipSlot, type$.RenderBox), false, true, _this.checkmarkAnimation, _this.avatarDrawerAnimation, _this.deleteDrawerAnimation, _this.enableAnimation, _this.avatarBorder, _this.theme, t1.textDirection, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t2 = t1.get$markNeedsPaint(); t1.checkmarkAnimation.parent.addListener$1(0, t2); t3 = t1.get$markNeedsLayout(); t1.avatarDrawerAnimation.parent.addListener$1(0, t3); t1.deleteDrawerAnimation.parent.addListener$1(0, t3); t1.enableAnimation.parent.addListener$1(0, t2); return t1; }, get$value(receiver) { return this.value; } }; A._ChipSlot.prototype = { toString$0(_) { return "_ChipSlot." + this._core$_name; } }; A._RenderChipElement.prototype = { get$widget() { return type$._ChipRenderWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderChip._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, visitChildren$1(visitor) { var t1 = this.slotToChild; t1.get$values(t1).forEach$1(0, visitor); }, forgetChild$1(child) { this.slotToChild.remove$1(0, child._slot); this.super$Element$forgetChild(child); }, _chip$_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, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = type$._ChipRenderWidget; _this._chip$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.avatar, B._ChipSlot_1); _this._chip$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.deleteIcon, B._ChipSlot_2); _this._chip$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.label, B._ChipSlot_0); }, _chip$_updateChild$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); }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = type$._ChipRenderWidget; _this._chip$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.label, B._ChipSlot_0); _this._chip$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.avatar, B._ChipSlot_1); _this._chip$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).theme.deleteIcon, B._ChipSlot_2); }, _chip$_updateRenderObject$2(child, slot) { var t1; switch (slot.index) { case 1: t1 = type$._RenderChip._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); type$.nullable_RenderBox._as(child); t1._avatar = t1._chip$_updateChild$3(t1._avatar, child, B._ChipSlot_1); break; case 0: t1 = type$._RenderChip._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); type$.nullable_RenderBox._as(child); t1._chip$_label = t1._chip$_updateChild$3(t1._chip$_label, child, B._ChipSlot_0); break; case 2: t1 = type$._RenderChip._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); type$.nullable_RenderBox._as(child); t1._deleteIcon = t1._chip$_updateChild$3(t1._deleteIcon, child, B._ChipSlot_2); break; } }, insertRenderObjectChild$2(child, slot) { this._chip$_updateRenderObject$2(child, slot); }, removeRenderObjectChild$2(child, slot) { this._chip$_updateRenderObject$2(null, slot); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { } }; A._ChipRenderTheme.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A._ChipRenderTheme) if (other.avatar.super$Object$$eq(0, _this.avatar)) if (other.label.super$Object$$eq(0, _this.label)) if (other.deleteIcon.super$Object$$eq(0, _this.deleteIcon)) if (other.brightness === _this.brightness) if (other.padding.$eq(0, _this.padding)) if (other.labelPadding.$eq(0, _this.labelPadding)) if (other.showAvatar === _this.showAvatar) t1 = J.$eq$(other.checkmarkColor, _this.checkmarkColor) && other.canTapBody === _this.canTapBody; 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.avatar, _this.label, _this.deleteIcon, _this.brightness, _this.padding, _this.labelPadding, _this.showAvatar, true, _this.checkmarkColor, _this.canTapBody, 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, B.C__HashEnd); } }; A._RenderChip.prototype = { _chip$_updateChild$3(oldChild, newChild, slot) { var _this = this; if (oldChild != null) { _this.dropChild$1(oldChild); _this.children.remove$1(0, slot); } if (newChild != null) { _this.children.$indexSet(0, slot, newChild); _this.adoptChild$1(newChild); } return newChild; }, set$theme(value) { if (this._theme.$eq(0, value)) return; this._theme = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._chip$_textDirection === value) return; this._chip$_textDirection = value; this.markNeedsLayout$0(); }, get$_chip$_children($async$_) { var $async$self = this; return A._makeSyncStarIterable(function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$get$_chip$_children($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._avatar; $async$goto = t1 != null ? 2 : 3; break; case 2: // then $async$goto = 4; return t1; case 4: // after yield case 3: // join t1 = $async$self._chip$_label; $async$goto = t1 != null ? 5 : 6; break; case 5: // then $async$goto = 7; return t1; case 7: // after yield case 6: // join t1 = $async$self._deleteIcon; $async$goto = t1 != null ? 8 : 9; break; case 8: // then $async$goto = 10; return t1; case 10: // after yield case 9: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderBox); }, attach$1(owner) { var t1; this.super$RenderObject$attach(owner); for (t1 = this.get$_chip$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); for (t1 = this.get$_chip$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).detach$0(0); }, redepthChildren$0() { this.get$_chip$_children(this).forEach$1(0, this.get$redepthChild()); }, visitChildren$1(visitor) { this.get$_chip$_children(this).forEach$1(0, visitor); }, debugDescribeChildren$0() { var value = A._setArrayType([], type$.JSArray_DiagnosticsNode), t1 = new A._RenderChip_debugDescribeChildren_add(value); t1.call$2(this._avatar, "avatar"); t1.call$2(this._chip$_label, "label"); t1.call$2(this._deleteIcon, "deleteIcon"); return value; }, get$sizedByParent() { return false; }, computeMinIntrinsicWidth$1(height) { var t4, t5, _this = this, t1 = _this._theme.padding.get$horizontal(), t2 = _this._theme.labelPadding.get$horizontal(), t3 = _this._avatar; t3 = t3 == null ? 0 : t3._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t3.get$computeMinIntrinsicWidth()); t4 = _this._chip$_label; t4 = t4 == null ? 0 : t4._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t4.get$computeMinIntrinsicWidth()); t5 = _this._deleteIcon; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t5.get$computeMinIntrinsicWidth()); return t1 + t2 + t3 + t4 + t5; }, computeMaxIntrinsicWidth$1(height) { var t4, t5, _this = this, t1 = _this._theme.padding.get$horizontal(), t2 = _this._theme.labelPadding.get$horizontal(), t3 = _this._avatar; t3 = t3 == null ? 0 : t3._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t3.get$computeMaxIntrinsicWidth()); t4 = _this._chip$_label; t4 = t4 == null ? 0 : t4._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t4.get$computeMaxIntrinsicWidth()); t5 = _this._deleteIcon; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t5.get$computeMaxIntrinsicWidth()); return t1 + t2 + t3 + t4 + t5; }, computeMinIntrinsicHeight$1(width) { var t3, t4, t5, t1 = this._theme.padding, t2 = t1.get$_top(t1); t1 = t1.get$_bottom(t1); t3 = this._theme.labelPadding; t4 = t3.get$_top(t3); t3 = t3.get$_bottom(t3); t5 = this._chip$_label; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t5.get$computeMinIntrinsicHeight()); return Math.max(32, t2 + t1 + (t4 + t3) + t5); }, computeMaxIntrinsicHeight$1(width) { return this.computeMinIntrinsicHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { return this._chip$_label.getDistanceToActualBaseline$1(baseline); }, _layoutLabel$5(contentConstraints, iconSizes, size, rawSize, layoutChild) { var maxWidth, updatedSize, t2, t3, t4, _this = this, t1 = contentConstraints.maxWidth; if (isFinite(t1)) { maxWidth = Math.max(0, t1 - iconSizes - _this._theme.labelPadding.get$horizontal() - _this._theme.padding.get$horizontal()); t1 = _this._chip$_label; t1.toString; updatedSize = layoutChild.call$2(t1, new A.BoxConstraints(0, maxWidth, rawSize._dy, size._dy)); t1 = updatedSize._dx; t2 = _this._theme.labelPadding.get$horizontal(); t3 = updatedSize._dy; t4 = _this._theme.labelPadding; return new A.Size(t1 + t2, t3 + (t4.get$_top(t4) + t4.get$_bottom(t4))); } t1 = _this._chip$_label; t1.toString; updatedSize = layoutChild.call$2(t1, new A.BoxConstraints(0, size._dx, rawSize._dy, size._dy)); t1 = updatedSize._dx; t2 = _this._theme.labelPadding.get$horizontal(); t3 = updatedSize._dy; t4 = _this._theme.labelPadding; return new A.Size(t1 + t2, t3 + (t4.get$_top(t4) + t4.get$_bottom(t4))); }, _layoutAvatar$3(contentConstraints, contentSize, layoutChild) { var avatarBoxSize, t2, avatarWidth, requestedSize = Math.max(0, contentSize), avatarConstraints = A.BoxConstraints$tightFor(requestedSize, requestedSize), t1 = this._avatar; t1.toString; avatarBoxSize = layoutChild.call$2(t1, avatarConstraints); t1 = this._theme; t2 = this.avatarDrawerAnimation; avatarWidth = t1.showAvatar ? 0 + t2.get$value(t2) * avatarBoxSize._dx : 0 + t2.get$value(t2) * contentSize; return new A.Size(avatarWidth, 0 + avatarBoxSize._dy); }, _layoutDeleteIcon$3(contentConstraints, contentSize, layoutChild) { var boxSize, requestedSize = Math.max(0, contentSize), deleteIconConstraints = A.BoxConstraints$tightFor(requestedSize, requestedSize), t1 = this._deleteIcon; t1.toString; boxSize = layoutChild.call$2(t1, deleteIconConstraints); t1 = this.deleteDrawerAnimation; if (t1.get$status(t1) === B.AnimationStatus_0) return new A.Size(0, contentSize); t1 = this.deleteDrawerAnimation; return new A.Size(0 + t1.get$value(t1) * boxSize._dx, 0 + boxSize._dy); }, hitTest$2$position(result, position) { var t1, t2, t3, t4, t5, hitIsOnDeleteIcon, hitTestChild, center, _this = this; if (!_this._size.contains$1(0, position)) return false; t1 = _this._deleteIcon; t2 = t1 == null; if (!t2) { t3 = _this._theme; t4 = _this._size; t4.toString; t5 = t1._size; t5.toString; hitIsOnDeleteIcon = A._hitIsOnDeleteIcon(t4, t5, t3.padding, position, _this._chip$_textDirection); } else hitIsOnDeleteIcon = false; if (hitIsOnDeleteIcon) { if (t2) t1 = _this._chip$_label; hitTestChild = t1 == null ? _this._avatar : t1; } else { t1 = _this._chip$_label; hitTestChild = t1 == null ? _this._avatar : t1; } if (hitTestChild != null) { center = hitTestChild._size.center$1(B.Offset_0_0); return result.addWithRawTransform$3$hitTest$position$transform(new A._RenderChip_hitTest_closure(center, hitTestChild), position, A.MatrixUtils_forceToPoint(center)); } return false; }, computeDryLayout$1(constraints) { return this._computeSizes$2(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()).size; }, _computeSizes$2(constraints, layoutChild) { var rawLabelSize, t2, t3, t4, t5, t6, contentSize, avatarSize, deleteIconSize, labelSize, overallSize, _this = this, contentConstraints = new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight), t1 = _this._theme.visualDensity, densityAdjustment = new A.Offset(0, new A.Offset(t1.horizontal, t1.vertical).$mul(0, 4)._dy / 2); t1 = _this._chip$_label; t1.toString; rawLabelSize = layoutChild.call$2(t1, contentConstraints); t1 = _this._theme.padding; t2 = t1.get$_top(t1); t1 = t1.get$_bottom(t1); t3 = _this._theme.labelPadding; t4 = t3.get$_top(t3); t3 = t3.get$_bottom(t3); t5 = rawLabelSize._dy; t6 = _this._theme.labelPadding; contentSize = Math.max(32 - (t2 + t1) + (t4 + t3), t5 + (t6.get$_top(t6) + t6.get$_bottom(t6))); avatarSize = _this._layoutAvatar$3(contentConstraints, contentSize, layoutChild); deleteIconSize = _this._layoutDeleteIcon$3(contentConstraints, contentSize, layoutChild); t6 = avatarSize._dx; t5 = deleteIconSize._dx; labelSize = _this._layoutLabel$5(contentConstraints, t6 + t5, new A.Size(rawLabelSize._dx, contentSize), rawLabelSize, layoutChild); overallSize = new A.Size(t6 + labelSize._dx + t5, contentSize).$add(0, densityAdjustment); t5 = _this._theme.padding.get$horizontal(); t6 = _this._theme.padding; return new A._ChipSizes(constraints.constrain$1(new A.Size(overallSize._dx + t5, overallSize._dy + (t6.get$_top(t6) + t6.get$_bottom(t6)))), overallSize, contentSize, avatarSize, labelSize, deleteIconSize, densityAdjustment); }, performLayout$0() { var t3, avatarOffset, start, labelOffset, t4, t5, deleteIconOffset, t6, t7, _this = this, _s17_ = "_deleteButtonRect", t1 = type$.BoxConstraints, sizes = _this._computeSizes$2(t1._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()), t2 = sizes.overall, right = t2._dx, centerLayout = new A._RenderChip_performLayout_centerLayout(_this, sizes); switch (_this._chip$_textDirection.index) { case 0: t3 = sizes.avatar; avatarOffset = centerLayout.call$2(t3, right); start = right - t3._dx; t3 = sizes.label; labelOffset = centerLayout.call$2(t3, start); t4 = _this.deleteDrawerAnimation; if (t4.get$status(t4) !== B.AnimationStatus_0) { t4 = sizes.deleteIcon; t5 = _this._theme.padding; _this.___RenderChip__deleteButtonRect = new A.Rect(0, 0, 0 + (t4._dx + t5.right), 0 + (t2._dy + (t5.get$_top(t5) + t5.get$_bottom(t5)))); deleteIconOffset = centerLayout.call$2(t4, start - t3._dx); } else { _this.___RenderChip__deleteButtonRect = B.Rect_0_0_0_0; deleteIconOffset = B.Offset_0_0; } if (_this._theme.canTapBody) { t3 = A._lateReadCheck(_this.___RenderChip__deleteButtonRect, _s17_); t3 = t3.right - t3.left; t4 = A._lateReadCheck(_this.___RenderChip__deleteButtonRect, _s17_); t5 = t4.right; t4 = t4.left; t6 = _this._theme.padding.get$horizontal(); t7 = _this._theme.padding; _this.___RenderChip__pressRect = new A.Rect(t3, 0, t3 + (right - (t5 - t4) + t6), 0 + (t2._dy + (t7.get$_top(t7) + t7.get$_bottom(t7)))); } else _this.___RenderChip__pressRect = B.Rect_0_0_0_0; break; case 1: t3 = sizes.avatar; t4 = _this._avatar; if (t4 == null) t4 = B.Size_0_0; else { t4 = t4._size; t4.toString; } t5 = t3._dx; avatarOffset = centerLayout.call$2(t3, 0 - t4._dx + t5); start = 0 + t5; t3 = sizes.label; labelOffset = centerLayout.call$2(t3, start); start += t3._dx; if (_this._theme.canTapBody) { t3 = _this.deleteDrawerAnimation; t3 = t3.get$status(t3); t4 = _this._theme.padding; t3 = t3 !== B.AnimationStatus_0 ? start + t4.left : right + t4.get$horizontal(); t4 = _this._theme.padding; _this.___RenderChip__pressRect = new A.Rect(0, 0, 0 + t3, 0 + (t2._dy + (t4.get$_top(t4) + t4.get$_bottom(t4)))); } else _this.___RenderChip__pressRect = B.Rect_0_0_0_0; t3 = _this._deleteIcon; if (t3 == null) t3 = B.Size_0_0; else { t3 = t3._size; t3.toString; } t4 = sizes.deleteIcon; t5 = t4._dx; start -= t3._dx - t5; t3 = _this.deleteDrawerAnimation; if (t3.get$status(t3) !== B.AnimationStatus_0) { deleteIconOffset = centerLayout.call$2(t4, start); t3 = _this._theme.padding; t4 = start + t3.left; _this.___RenderChip__deleteButtonRect = new A.Rect(t4, 0, t4 + (t5 + t3.right), 0 + (t2._dy + (t3.get$_top(t3) + t3.get$_bottom(t3)))); } else { _this.___RenderChip__deleteButtonRect = B.Rect_0_0_0_0; deleteIconOffset = B.Offset_0_0; } break; default: avatarOffset = B.Offset_0_0; labelOffset = B.Offset_0_0; deleteIconOffset = B.Offset_0_0; } t3 = _this._theme.labelPadding; t4 = t3.get$_top(t3); t3 = t3.get$_bottom(t3); t5 = _this._chip$_label; if (t5 == null) t5 = B.Size_0_0; else { t5 = t5._size; t5.toString; } labelOffset = labelOffset.$add(0, new A.Offset(0, (sizes.label._dy - (t4 + t3) - t5._dy) / 2)); t5 = _this._avatar.parentData; t5.toString; t3 = type$.BoxParentData; t3._as(t5); t4 = _this._theme.padding; t5.offset = new A.Offset(t4.left, t4.top).$add(0, avatarOffset); t4 = _this._chip$_label.parentData; t4.toString; t3._as(t4); t5 = _this._theme.padding; t5 = new A.Offset(t5.left, t5.top).$add(0, labelOffset); t6 = _this._theme.labelPadding; t4.offset = t5.$add(0, new A.Offset(t6.left, t6.top)); t6 = _this._deleteIcon.parentData; t6.toString; t3._as(t6); t3 = _this._theme.padding; t6.offset = new A.Offset(t3.left, t3.top).$add(0, deleteIconOffset); t3 = _this._theme.padding.get$horizontal(); t6 = _this._theme.padding; t5 = t6.get$_top(t6); t6 = t6.get$_bottom(t6); _this._size = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(new A.Size(right + t3, t2._dy + (t5 + t6))); }, get$_chip$_disabledColor() { var enableTween, t1 = this.enableAnimation; t1 = t1.get$status(t1); if (t1 === B.AnimationStatus_3) return B.Color_4294967295; switch (this._theme.brightness.index) { case 1: enableTween = new A.ColorTween(A.Color$fromARGB(97, 255, 255, 255), B.Color_4294967295); break; case 0: enableTween = new A.ColorTween(A.Color$fromARGB(97, 0, 0, 0), B.Color_4278190080); break; default: enableTween = null; } t1 = this.enableAnimation; t1 = enableTween.transform$1(0, t1.get$value(t1)); t1.toString; return t1; }, _paintCheck$3(canvas, origin, size) { var paint, t, path, t2, t3, t4, mid, t5, t6, t7, t8, _this = this, t1 = _this._theme, paintColor = t1.checkmarkColor; if (!(paintColor != null)) switch (t1.brightness.index) { case 1: paintColor = t1.showAvatar ? B.Color_4294967295 : A.Color$fromARGB(222, 0, 0, 0); break; case 0: paintColor = t1.showAvatar ? B.Color_4278190080 : A.Color$fromARGB(222, 255, 255, 255); break; default: paintColor = null; } t1 = _this.checkmarkAnimation.parent; if (t1.get$status(t1) === B.AnimationStatus_2) { t1 = _this.checkmarkAnimation; paintColor = new A.ColorTween(B.Color_0, paintColor).transform$1(0, t1.get$value(t1)); } t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paintColor.toString; paint.set$color(0, paintColor); paint.set$style(0, B.PaintingStyle_1); t1 = _this._avatar; paint.set$strokeWidth(2 * (t1 != null ? t1._size._dy / 24 : 1)); t1 = _this.checkmarkAnimation.parent; if (t1.get$status(t1) === B.AnimationStatus_2) t = 1; else { t1 = _this.checkmarkAnimation; t = t1.get$value(t1); } if (t === 0) return; path = A.Path_Path(); t1 = size * 0.15; t2 = size * 0.45; t3 = size * 0.4; t4 = size * 0.7; mid = new A.Offset(t3, t4); t5 = origin._dx; t6 = origin._dy; t7 = t5 + t1; t8 = t6 + t2; if (t < 0.5) { t1 = A.Offset_lerp(new A.Offset(t1, t2), mid, t * 2); t1.toString; path.moveTo$2(0, t7, t8); path.lineTo$2(0, t5 + t1._dx, t6 + t1._dy); } else { t1 = A.Offset_lerp(mid, new A.Offset(size * 0.85, size * 0.25), (t - 0.5) * 2); t1.toString; path.moveTo$2(0, t7, t8); path.lineTo$2(0, t5 + t3, t6 + t4); path.lineTo$2(0, t5 + t1._dx, t6 + t1._dy); } canvas.drawPath$2(0, path, paint); }, _paintAvatar$2(context, offset) { var t2, disabledColor, disabledColorAlpha, t3, t4, t5, _this = this, t1 = new A._RenderChip__paintAvatar_paintWithOverlay(_this); if (!_this._theme.showAvatar) { t2 = _this.avatarDrawerAnimation; t2 = t2.get$status(t2) === B.AnimationStatus_0; } else t2 = false; if (t2) return; disabledColor = _this.get$_chip$_disabledColor(); disabledColorAlpha = disabledColor.get$value(disabledColor) >>> 24 & 255; if (A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing")) context.pushLayer$3(A.OpacityLayer$(disabledColorAlpha), t1, offset); else { t2 = disabledColorAlpha !== 255; if (t2) { t3 = context.get$canvas(context); t4 = A._RenderChip__boxRect(_this._avatar).shift$1(offset).inflate$1(20); t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5.set$color(0, disabledColor); t3.saveLayer$2(0, t4, t5); } t1.call$2(context, offset); if (t2) context.get$canvas(context).restore$0(0); } }, _paintChild$4(context, offset, child, isEnabled) { var t1, t2, childRect, t3, _this = this; if (child == null) return; t1 = _this.get$_chip$_disabledColor(); t1 = t1.get$value(t1); t2 = _this.enableAnimation; if (t2.get$status(t2) !== B.AnimationStatus_3) if (A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing")) context.pushLayer$3(A.OpacityLayer$(t1 >>> 24 & 255), new A._RenderChip__paintChild_closure(child), offset); else { childRect = A._RenderChip__boxRect(child).shift$1(offset); t1 = context.get$canvas(context); t2 = childRect.inflate$1(20); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$color(0, _this.get$_chip$_disabledColor()); t1.saveLayer$2(0, t2, t3); t3 = child.parentData; t3.toString; context.paintChild$2(child, type$.BoxParentData._as(t3).offset.$add(0, offset)); context.get$canvas(context).restore$0(0); } else { t1 = child.parentData; t1.toString; context.paintChild$2(child, type$.BoxParentData._as(t1).offset.$add(0, offset)); } }, paint$2(context, offset) { var t1, _this = this; _this._paintAvatar$2(context, offset); t1 = _this.deleteDrawerAnimation; if (t1.get$status(t1) !== B.AnimationStatus_0) _this._paintChild$4(context, offset, _this._deleteIcon, true); _this._paintChild$4(context, offset, _this._chip$_label, true); }, hitTestSelf$1(position) { return A._lateReadCheck(this.___RenderChip__deleteButtonRect, "_deleteButtonRect").contains$1(0, position) || A._lateReadCheck(this.___RenderChip__pressRect, "_pressRect").contains$1(0, position); }, get$value(receiver) { return this.value; } }; A._RenderChip_debugDescribeChildren_add.prototype = { call$2(child, $name) { if (child != null) this.value.push(A.DiagnosticableTreeNode$($name, null, child)); }, $signature: 163 }; A._RenderChip_hitTest_closure.prototype = { call$2(result, position) { return this.hitTestChild.hitTest$2$position(result, this.center); }, $signature: 15 }; A._RenderChip_performLayout_centerLayout.prototype = { call$2(boxSize, x) { var t1; switch (this.$this._chip$_textDirection.index) { case 0: t1 = this.sizes; return new A.Offset(x - boxSize._dx, (t1.content - boxSize._dy + t1.densityAdjustment._dy) / 2); case 1: t1 = this.sizes; return new A.Offset(x, (t1.content - boxSize._dy + t1.densityAdjustment._dy) / 2); } }, $signature: 486 }; A._RenderChip__paintAvatar_paintWithOverlay.prototype = { call$2(context, offset) { var t4, avatarRect, darkenPaint, path, t5, checkOffset, t1 = this.$this, t2 = t1._avatar, t3 = t2.parentData; t3.toString; t4 = type$.BoxParentData; context.paintChild$2(t2, t4._as(t3).offset.$add(0, offset)); t2 = t1.checkmarkAnimation; t2 = t2.get$status(t2); if (t2 !== B.AnimationStatus_0) { if (t1._theme.showAvatar) { avatarRect = A._RenderChip__boxRect(t1._avatar).shift$1(offset); t2 = A._detectRenderer(); darkenPaint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = $.$get$_RenderChip_selectionScrimTween(); t3 = t1.checkmarkAnimation; t3 = t2.transform$1(0, t3.get$value(t3)); t3.toString; darkenPaint.set$color(0, t3); darkenPaint.set$blendMode(B.BlendMode_9); path = t1.avatarBorder.getOuterPath$1(avatarRect); context.get$canvas(context).drawPath$2(0, path, darkenPaint); } t2 = t1._avatar; t3 = t2._size._dy; t2 = t2.parentData; t2.toString; t5 = t3 * 0.125; checkOffset = t4._as(t2).offset.$add(0, new A.Offset(t5, t5)); t1._paintCheck$3(context.get$canvas(context), offset.$add(0, checkOffset), t3 * 0.75); } }, $signature: 28 }; A._RenderChip__paintChild_closure.prototype = { call$2(context, offset) { var t1 = this.child, t2 = t1.parentData; t2.toString; context.paintChild$2(t1, type$.BoxParentData._as(t2).offset.$add(0, offset)); }, $signature: 28 }; A._ChipSizes.prototype = {}; A.__RawChipState_State_MaterialStateMixin.prototype = {}; A.__RawChipState_State_MaterialStateMixin_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.ChipThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.deleteIconColor, _this.disabledColor, _this.selectedColor, _this.secondarySelectedColor, _this.shadowColor, _this.selectedShadowColor, _this.checkmarkColor, _this.labelPadding, _this.padding, _this.side, _this.shape, _this.labelStyle, _this.secondaryLabelStyle, _this.brightness, _this.elevation, _this.pressElevation, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ChipThemeData && other.backgroundColor.$eq(0, _this.backgroundColor) && J.$eq$(other.deleteIconColor, _this.deleteIconColor) && other.disabledColor.$eq(0, _this.disabledColor) && other.selectedColor.$eq(0, _this.selectedColor) && other.secondarySelectedColor.$eq(0, _this.secondarySelectedColor) && J.$eq$(other.shadowColor, _this.shadowColor) && J.$eq$(other.selectedShadowColor, _this.selectedShadowColor) && J.$eq$(other.checkmarkColor, _this.checkmarkColor) && J.$eq$(other.labelPadding, _this.labelPadding) && other.padding.$eq(0, _this.padding) && J.$eq$(other.side, _this.side) && J.$eq$(other.shape, _this.shape) && other.labelStyle.$eq(0, _this.labelStyle) && other.secondaryLabelStyle.$eq(0, _this.secondaryLabelStyle) && other.brightness === _this.brightness && other.elevation == _this.elevation && other.pressElevation == _this.pressElevation; } }; A._ChipThemeData_Object_Diagnosticable.prototype = {}; A.CircleAvatar.prototype = { get$_minDiameter() { var t3, t1 = this.radius, t2 = t1 == null; if (t2) t3 = true; else t3 = false; if (t3) return 40; if (t2) t1 = null; return 2 * (t1 == null ? 0 : t1); }, get$_maxDiameter() { var t3, t1 = this.radius, t2 = t1 == null; if (t2) t3 = true; else t3 = false; if (t3) return 40; if (t2) t1 = null; return 2 * (t1 == null ? 1 / 0 : t1); }, build$1(_, context) { var effectiveBackgroundColor, minDiameter, maxDiameter, t2, _null = null, theme = A.Theme_of(context), textStyle = theme.primaryTextTheme.subtitle1.copyWith$1$color(_null), t1 = textStyle.color; t1.toString; switch (A.ThemeData_estimateBrightnessForColor(t1).index) { case 0: effectiveBackgroundColor = theme.primaryColorLight; break; case 1: effectiveBackgroundColor = theme.primaryColorDark; break; default: effectiveBackgroundColor = _null; } minDiameter = this.get$_minDiameter(); maxDiameter = this.get$_maxDiameter(); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery); t1 = t1.data.copyWith$1$textScaleFactor(1); t2 = theme.iconTheme.copyWith$1$color(textStyle.color); t2 = A.Center$(new A.MediaQuery(t1, A.IconTheme$(A.DefaultTextStyle$(this.child, _null, _null, B.TextOverflow_0, true, textStyle, _null, _null, B.TextWidthBasis_0), t2, _null), _null), _null, _null); t1 = t2; return A.AnimatedContainer$(_null, t1, _null, new A.BoxConstraints(minDiameter, maxDiameter, minDiameter, maxDiameter), B.C__Linear, new A.BoxDecoration(effectiveBackgroundColor, _null, _null, _null, _null, _null, B.BoxShape_1), B.Duration_200000, _null, _null, _null, _null); } }; A.ColorScheme.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ColorScheme && other.primary.$eq(0, _this.primary) && other.primaryVariant.$eq(0, _this.primaryVariant) && other.secondary.$eq(0, _this.secondary) && other.secondaryVariant.$eq(0, _this.secondaryVariant) && other.surface.$eq(0, _this.surface) && other.background.$eq(0, _this.background) && other.error.$eq(0, _this.error) && other.onPrimary.$eq(0, _this.onPrimary) && other.onSecondary.$eq(0, _this.onSecondary) && other.onSurface.$eq(0, _this.onSurface) && other.onBackground.$eq(0, _this.onBackground) && other.onError.$eq(0, _this.onError) && other.brightness === _this.brightness; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.primary, _this.primaryVariant, _this.secondary, _this.secondaryVariant, _this.surface, _this.background, _this.error, _this.onPrimary, _this.onSecondary, _this.onSurface, _this.onBackground, _this.onError, _this.brightness, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; 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, _i; if (!someChecked) effectiveChecked = checked === true; for (t1 = this.rows.length, _i = 0; _i < t1; ++_i) ; }, _data_table$_buildCheckbox$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate(checked, context, onCheckboxChanged, onRowTap, overlayColor, 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; t1 = effectiveCheckboxHorizontalMarginStart == null; effectiveCheckboxHorizontalMarginStart0 = t1 ? effectiveHorizontalMargin : effectiveCheckboxHorizontalMarginStart; effectiveCheckboxHorizontalMarginEnd = t1 ? effectiveHorizontalMargin / 2 : effectiveCheckboxHorizontalMarginStart; t1 = themeData.colorScheme; t1 = A.Center$(A.Checkbox$(t1.primary, false, t1.onPrimary, _null, _null, onCheckboxChanged, 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), true, false, false, new A.Padding(new A.EdgeInsetsDirectional(effectiveCheckboxHorizontalMarginStart0, 0, effectiveCheckboxHorizontalMarginEnd, 0), t1, _null), _null); return A.TableCell$(onRowTap != null ? A.TableRowInkWell$(contents, _null, onRowTap, overlayColor) : contents, B.TableCellVerticalAlignment_4); }, build$1(_, context) { var effectiveDataRowColor, t1, anyRowSelectable, displayCheckboxColumn, rowsWithCheckbox, t2, rowsChecked, allChecked, someChecked, effectiveHorizontalMargin, effectiveCheckboxHorizontalMarginStart, t3, effectiveCheckboxHorizontalMarginStart0, effectiveCheckboxHorizontalMarginEnd, effectiveColumnSpacing, t4, tableColumns, tableRows, t5, rowIndex, _i, row, t6, displayColumnIndex, effectiveDataRowHeight, t7, t8, paddingEnd, t9, paddingStart, t10, t11, t12, dataColumnIndex, t13, column, t14, paddingStart0, padding, themeData, effectiveHeadingTextStyle, t15, effectiveHeadingRowHeight, label, cell, effectiveDataTextStyle, effectiveDataRowHeight0, _this = this, _null = null, theme = A.Theme_of(context), effectiveHeadingRowColor = _this.headingRowColor; if (effectiveHeadingRowColor == null) effectiveHeadingRowColor = theme.dataTableTheme.headingRowColor; effectiveDataRowColor = _this.dataRowColor; if (effectiveDataRowColor == null) effectiveDataRowColor = theme.dataTableTheme.dataRowColor; t1 = _this.rows; anyRowSelectable = B.JSArray_methods.any$1(t1, new A.DataTable_build_closure()); displayCheckboxColumn = _this.showCheckboxColumn && anyRowSelectable; rowsWithCheckbox = displayCheckboxColumn ? 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 = displayCheckboxColumn && rowsChecked.get$length(rowsChecked) === t2.get$length(rowsWithCheckbox); someChecked = displayCheckboxColumn && !rowsChecked.get$isEmpty(rowsChecked) && !allChecked; t2 = _this.horizontalMargin; effectiveHorizontalMargin = t2 == null ? theme.dataTableTheme.horizontalMargin : t2; if (effectiveHorizontalMargin == null) effectiveHorizontalMargin = 24; t2 = theme.dataTableTheme; effectiveCheckboxHorizontalMarginStart = t2.checkboxHorizontalMargin; t3 = effectiveCheckboxHorizontalMarginStart == null; effectiveCheckboxHorizontalMarginStart0 = t3 ? effectiveHorizontalMargin : effectiveCheckboxHorizontalMarginStart; effectiveCheckboxHorizontalMarginEnd = t3 ? effectiveHorizontalMargin / 2 : effectiveCheckboxHorizontalMarginStart; effectiveColumnSpacing = _this.columnSpacing; t3 = _this.columns; t4 = t3.length; tableColumns = A.List_List$filled(t4 + (displayCheckboxColumn ? 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, theme, new A._MaterialStatePropertyWith(new A.DataTable_build_closure3(theme), type$._MaterialStatePropertyWith_nullable_Color), tableColumns), true, type$.TableRow); if (displayCheckboxColumn) { tableColumns[0] = new A.FixedColumnWidth(effectiveCheckboxHorizontalMarginStart0 + 18 + effectiveCheckboxHorizontalMarginEnd); t4 = tableRows[0]; t5 = someChecked ? _null : allChecked; t4.children[0] = _this._data_table$_buildCheckbox$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate(t5, context, new A.DataTable_build_closure4(_this, someChecked), _null, _null, true); for (t4 = t1.length, rowIndex = 1, _i = 0; _i < t1.length; t1.length === t4 || (0, A.throwConcurrentModificationError)(t1), ++_i) { row = t1[_i]; t5 = tableRows[rowIndex]; t6 = row.color; t5.children[0] = _this._data_table$_buildCheckbox$6$checked$context$onCheckboxChanged$onRowTap$overlayColor$tristate(false, context, _null, _null, t6 == null ? effectiveDataRowColor : t6, false); ++rowIndex; } displayCheckboxColumn = true; displayColumnIndex = 1; } else displayColumnIndex = 0; for (effectiveDataRowHeight = _this.dataRowHeight, t4 = _this.dataTextStyle, t5 = _this.headingRowHeight, t6 = _this.headingTextStyle, t7 = type$.JSArray_Widget, t8 = _this._onlyTextColumn, paddingEnd = effectiveColumnSpacing / 2, t9 = !displayCheckboxColumn, paddingStart = effectiveHorizontalMargin / 2, t10 = t4 == null, t11 = t5 == null, t12 = t6 == null, dataColumnIndex = 0; t13 = t3.length, dataColumnIndex < t13; ++dataColumnIndex) { column = t3[dataColumnIndex]; t14 = dataColumnIndex === 0; t14; if (t14 && displayCheckboxColumn) paddingStart0 = paddingStart; else paddingStart0 = t14 && t9 ? effectiveHorizontalMargin : paddingEnd; padding = new A.EdgeInsetsDirectional(paddingStart0, 0, dataColumnIndex === t13 - 1 ? effectiveHorizontalMargin : paddingEnd, 0); if (dataColumnIndex === t8) tableColumns[displayColumnIndex] = B.IntrinsicColumnWidth_1; else tableColumns[displayColumnIndex] = B.IntrinsicColumnWidth_null; t13 = tableRows[0]; themeData = A.Theme_of(context); t14 = A._setArrayType([column.label], t7); effectiveHeadingTextStyle = t12 ? themeData.dataTableTheme.headingTextStyle : t6; if (effectiveHeadingTextStyle == null) { t15 = themeData.textTheme.subtitle2; t15.toString; effectiveHeadingTextStyle = t15; } effectiveHeadingRowHeight = t11 ? themeData.dataTableTheme.headingRowHeight : t5; if (effectiveHeadingRowHeight == null) effectiveHeadingRowHeight = 56; label = A.Container$(B.AlignmentDirectional_m1_0, A.AnimatedDefaultTextStyle$(new A.Row(B.Axis_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.CrossAxisAlignment_2, _null, B.VerticalDirection_1, _null, t14, _null), B.C__Linear, B.Duration_150000, false, effectiveHeadingTextStyle), B.Clip_0, _null, _null, _null, _null, effectiveHeadingRowHeight, _null, _null, padding, _null, _null, _null); t13.children[displayColumnIndex] = A.InkWell$(false, _null, true, label, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, effectiveHeadingRowColor, _null, _null, _null); for (t13 = t1.length, rowIndex = 1, _i = 0; _i < t1.length; t1.length === t13 || (0, A.throwConcurrentModificationError)(t1), ++_i) { row = t1[_i]; cell = row.cells[dataColumnIndex]; t14 = tableRows[rowIndex]; t15 = row.color; t15 == null ? effectiveDataRowColor : t15; themeData = A.Theme_of(context); effectiveDataTextStyle = t10 ? themeData.dataTableTheme.dataTextStyle : t4; if (effectiveDataTextStyle == null) { t15 = themeData.textTheme.bodyText2; t15.toString; effectiveDataTextStyle = t15; } effectiveDataRowHeight0 = effectiveDataRowHeight; label = A.Container$(B.AlignmentDirectional_m1_0, new A.DefaultTextStyle(effectiveDataTextStyle.copyWith$1$color(_null), _null, true, B.TextOverflow_0, _null, B.TextWidthBasis_0, _null, new A.DropdownButtonHideUnderline(cell.child, _null), _null), B.Clip_0, _null, _null, _null, _null, effectiveDataRowHeight0, _null, _null, padding, _null, _null, _null); t14.children[displayColumnIndex] = label; ++rowIndex; } ++displayColumnIndex; } t1 = _this.decoration; if (t1 == null) t1 = t2.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.C_FlexColumnWidth, B.TableCellVerticalAlignment_0), B.Clip_0, _null, 0, _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: 96 }; A.DataTable_build_closure.prototype = { call$1(row) { return false; }, $signature: 161 }; A.DataTable_build_closure0.prototype = { call$1(row) { return false; }, $signature: 161 }; A.DataTable_build_closure1.prototype = { call$1(row) { return false; }, $signature: 161 }; A.DataTable_build_closure2.prototype = { call$1(index) { var t4, resolvedDataRowColor, resolvedHeadingRowColor, rowColor, borderSide, border, _this = this, _null = null, t1 = index > 0, isDisabled = t1 && _this.anyRowSelectable && true, t2 = type$.MaterialState, t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2); 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(t3); } else resolvedDataRowColor = _null; t4 = _this.effectiveHeadingRowColor; resolvedHeadingRowColor = t4 == null ? _null : t4.resolve$1(A.LinkedHashSet_LinkedHashSet$_empty(t2)); rowColor = t1 ? resolvedDataRowColor : resolvedHeadingRowColor; t1 = _this.$this; t2 = t1.dividerThickness; if (t2 == null) t2 = _this.theme.dataTableTheme.dividerThickness; if (t2 == null) t2 = 1; borderSide = A.Divider_createBorderSide(_this.context, _null, t2); if (t1.showBottomBorder) border = new A.Border(B.BorderSide_0CF, B.BorderSide_0CF, borderSide, B.BorderSide_0CF); else border = index === 0 ? _null : new A.Border(borderSide, B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF); t1 = index === 0 ? $.$get$DataTable__headingRowKey() : _null; 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_null0, false, type$.Widget)); }, $signature: 489 }; A.DataTable_build_closure4.prototype = { call$1(checked) { return this.$this._handleSelectAll$2(checked, this.someChecked); }, $signature: 33 }; 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.Matrix4(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._size._dx; t1 = t2[t1 + 1]; table.applyPaintTransform$2(cell, transform); offset = A.MatrixUtils_getAsTranslation(transform); if (offset != null) return new A.Rect(0, t3, t4, t1).shift$1(new A.Offset(-offset._dx, -offset._dy)); } return B.Rect_0_0_0_0; }, $signature: 158 }; 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.DataTableThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.decoration, _this.dataRowColor, _this.dataRowHeight, _this.dataTextStyle, _this.headingRowColor, _this.headingRowHeight, _this.headingTextStyle, _this.horizontalMargin, _this.columnSpacing, _this.dividerThickness, _this.checkboxHorizontalMargin, 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); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.DataTableThemeData && J.$eq$(other.decoration, _this.decoration) && other.dataRowColor == _this.dataRowColor && other.dataRowHeight == _this.dataRowHeight && J.$eq$(other.dataTextStyle, _this.dataTextStyle) && other.headingRowColor == _this.headingRowColor && other.headingRowHeight == _this.headingRowHeight && J.$eq$(other.headingTextStyle, _this.headingTextStyle) && other.horizontalMargin == _this.horizontalMargin && other.columnSpacing == _this.columnSpacing && other.dividerThickness == _this.dividerThickness && other.checkboxHorizontalMargin == _this.checkboxHorizontalMargin; } }; A._LerpProperties2.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._DataTableThemeData_Object_Diagnosticable.prototype = {}; A.DatePickerEntryMode.prototype = { toString$0(_) { return "DatePickerEntryMode." + this._core$_name; } }; A.DatePickerMode.prototype = { toString$0(_) { return "DatePickerMode." + this._core$_name; } }; A.showDatePicker_closure.prototype = { call$1(context) { var t1 = this._box_0.dialog; return t1; }, $signature: 29 }; A.DatePickerDialog.prototype = { createState$0() { var _null = null; return new A._DatePickerDialogState(new A._RestorableAutovalidateMode0(B.AutovalidateMode_0, A.List_List$filled(0, _null, false, type$.nullable_void_Function)), 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, _this = this, value = _this.___DatePickerDialogState__selectedDate; if (value === $) { t1 = _this._widget.initialDate; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.___DatePickerDialogState__selectedDate, "_selectedDate"); value = _this.___DatePickerDialogState__selectedDate = new A.RestorableDateTime(t1, t2); } return value; }, get$_date_picker$_entryMode() { var t1, t2, _this = this, value = _this.___DatePickerDialogState__entryMode; if (value === $) { t1 = _this._widget.initialEntryMode; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.___DatePickerDialogState__entryMode, "_entryMode"); value = _this.___DatePickerDialogState__entryMode = new A._RestorableDatePickerEntryMode(t1, t2); } return value; }, 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._date_picker$_autovalidateMode, "autovalidateMode"); _this.registerForRestoration$2(_this.get$_date_picker$_entryMode(), "calendar_entry_mode"); }, _date_picker$_handleOk$0() { var t2, _this = this, t1 = _this.get$_date_picker$_entryMode(); if (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value) !== B.DatePickerEntryMode_1) { t1 = _this.get$_date_picker$_entryMode(); t1 = A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value) === B.DatePickerEntryMode_3; } else t1 = true; if (t1) { t1 = _this._date_picker$_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(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); A.Navigator_of(t1, false).pop$1(0, t2); }, _date_picker$_handleCancel$0() { var t1 = this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); }, _date_picker$_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 t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, orientation = t1.get$orientation(t1); t1 = this.get$_date_picker$_entryMode(); switch (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) { case B.DatePickerEntryMode_0: case B.DatePickerEntryMode_2: switch (orientation.index) { case 0: return 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 B.Size_330_270; case 1: return B.Size_496_160; } break; } }, build$1(_, context) { var t1, t2, orientation, textTheme, textScaleFactor, day, month, dateText, onPrimarySurface, t3, dateStyle, actions, calendarDatePicker, inputDatePicker, entryModeButton, dialogSize, _this = this, _null = null, _box_0 = {}, theme = A.Theme_of(context), colorScheme = theme.colorScheme; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = type$.MediaQuery; t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; orientation = t2.get$orientation(t2); textTheme = theme.textTheme; textScaleFactor = Math.min(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.textScaleFactor, 1.3); t2 = _this.get$_selectedDate(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); day = B.List_ECn[A.Primitives_getWeekday(t2) - 1]; month = B.List_h8w[A.Primitives_getMonth(t2) - 1]; dateText = day + ", " + month + " " + A.Primitives_getDay(t2); onPrimarySurface = colorScheme.brightness === B.Brightness_1 ? colorScheme.onPrimary : colorScheme.onSurface; t2 = orientation === B.Orientation_1; if (t2) { t3 = textTheme.headline5; dateStyle = t3 == null ? _null : t3.copyWith$1$color(onPrimarySurface); } else { t3 = textTheme.headline4; dateStyle = t3 == null ? _null : t3.copyWith$1$color(onPrimarySurface); } _this._widget.toString; t3 = A.TextButton$(false, A.Text$("CANCEL", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_date_picker$_handleCancel(), _null); actions = A.Container$(B.AlignmentDirectional_1_0, A.OverflowBar$(_null, A._setArrayType([t3, A.TextButton$(false, A.Text$("OK", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_date_picker$_handleOk(), _null)], type$.JSArray_Widget), B.OverflowBarAlignment_0, B.VerticalDirection_1, 0, 8), B.Clip_0, _null, B.BoxConstraints_mlX6, _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; t3 = _this.get$_date_picker$_entryMode(); switch (A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value)) { case B.DatePickerEntryMode_0: _box_0.picker = calendarDatePicker.call$0(); entryModeButton = A.IconButton$(B.Alignment_0_0, onPrimarySurface, _null, true, B.Icon_NEt, 24, _this.get$_date_picker$_handleEntryModeToggle(), B.EdgeInsets_8_8_8_8, _null, "Switch to input", _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(); entryModeButton = A.IconButton$(B.Alignment_0_0, onPrimarySurface, _null, true, B.Icon_vjf, 24, _this.get$_date_picker$_handleEntryModeToggle(), B.EdgeInsets_8_8_8_8, _null, "Switch to calendar", _null); break; case B.DatePickerEntryMode_3: _box_0.picker = inputDatePicker.call$0(); entryModeButton = _null; break; default: entryModeButton = _null; } _this._widget.toString; dialogSize = _this._dialogSize$1(context).$mul(0, textScaleFactor); return A.Dialog$(_null, _null, A.AnimatedContainer$(_null, new A.MediaQuery(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.copyWith$1$textScaleFactor(textScaleFactor), new A.Builder(new A._DatePickerDialogState_build_closure(_box_0, orientation, new A._DatePickerHeader("SELECT DATE", dateText, dateStyle, orientation, t2, entryModeButton, _null), actions), _null), _null), _null, _null, B.Cubic_JUR, _null, B.Duration_200000, _null, dialogSize._dy, _null, dialogSize._dx), B.Clip_2, _null, B.EdgeInsets_16_24_16_24, _null); } }; A._DatePickerDialogState__handleOk_closure.prototype = { call$0() { this.$this._date_picker$_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$_date_picker$_entryMode(); switch (A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value)) { case B.DatePickerEntryMode_0: t1._date_picker$_autovalidateMode.set$value(0, B.AutovalidateMode_0); t1.get$_date_picker$_entryMode().set$value(0, B.DatePickerEntryMode_1); break; case B.DatePickerEntryMode_1: t1._date_picker$_formKey.get$currentState().save$0(0); t1.get$_date_picker$_entryMode().set$value(0, B.DatePickerEntryMode_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 t3, t4, t5, t6, t7, t1 = this.$this, t2 = t1.get$_selectedDate(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); t3 = t1._widget; t4 = t3.firstDate; t5 = t3.lastDate; t6 = t3.currentDate; t7 = t3.selectableDayPredicate; t3 = t3.initialCalendarMode; 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)); 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(new A.DateTime(t2, false), new A.DateTime(t4, false), new A.DateTime(t5, false), new A.DateTime(t6, false), t1.get$_handleDateChanged(), t3, t7, t1._calendarPickerKey); }, $signature: 493 }; A._DatePickerDialogState_build_inputDatePicker.prototype = { call$0() { var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _null = null, t1 = this.$this, t2 = t1._date_picker$_autovalidateMode; t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); t3 = this.orientation === B.Orientation_0 ? 98 : 108; t4 = t1.get$_selectedDate(); t4 = A._instanceType(t4)._eval$1("RestorableValue.T")._as(t4._restoration_properties$_value); 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; t5 = t5.fieldLabelText; 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, new A.Shortcuts(B.Map_TbTh7, 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, t5, true, _null), B.Spacer_null], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null, _null), B.Clip_0, _null, _null, _null, _null, t3, _null, _null, B.EdgeInsets_24_0_24_0, _null, _null, _null), t1._date_picker$_formKey); }, $signature: 494 }; A._DatePickerDialogState_build_closure.prototype = { call$1(context) { var t1, _this = this, _null = null; switch (_this.orientation.index) { case 0: return A.Column$(A._setArrayType([_this.header, A.Expanded$(_this._box_0.picker, 1), _this.actions], type$.JSArray_Widget), B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); case 1: t1 = type$.JSArray_Widget; return A.Row$(A._setArrayType([_this.header, new A.Flexible(1, B.FlexFit_1, A.Column$(A._setArrayType([A.Expanded$(_this._box_0.picker, 1), _this.actions], t1), B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null)], t1), B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); } }, $signature: 495 }; A._RestorableDatePickerEntryMode.prototype = { createDefaultValue$0() { return this._date_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_YT6[A._asInt(data)]; }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value).index; } }; A._RestorableAutovalidateMode0.prototype = { createDefaultValue$0() { return this._date_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_wbZ[A._asInt(data)]; }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value).index; } }; A._DatePickerHeader.prototype = { build$1(_, context) { var t2, t3, title, _this = this, _null = null, theme = A.Theme_of(context), colorScheme = theme.colorScheme, isDark = colorScheme.brightness === B.Brightness_0, primarySurfaceColor = isDark ? colorScheme.surface : colorScheme.primary, onPrimarySurfaceColor = isDark ? colorScheme.onSurface : colorScheme.onPrimary, t1 = theme.textTheme.overline, helpStyle = t1 == null ? _null : t1.copyWith$1$color(onPrimarySurfaceColor), help = A.Text$(_this.helpText, 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, 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_0, A.Column$(A._setArrayType([B.SizedBox_null_16_null_null, help, B.Flexible_swd, A.Row$(t2, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null)], t1), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), B.Clip_0, primarySurfaceColor, 0, _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, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, primarySurfaceColor, 0, _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: 47 }; 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_of(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(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(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A._DesktopTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return B.Size_0_0; }, buildHandle$6(context, type, textLineHeight, onTap, startGlyphHeight, endGlyphHeight) { return B.SizedBox_0_0_null_null; }, getHandleAnchor$4(type, textLineHeight, startGlyphHeight, endGlyphHeight) { return B.Offset_0_0; }, getHandleAnchor$2(type, textLineHeight) { return this.getHandleAnchor$4(type, textLineHeight, null, null); } }; A.Dialog.prototype = { build$1(_, context) { var t3, t4, t5, _this = this, _null = null, dialogTheme = A.Theme_of(context).dialogTheme, t1 = type$.MediaQuery, t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data, effectivePadding = t2.viewInsets.$add(0, _this.insetPadding); t2 = dialogTheme.alignment; if (t2 == null) t2 = B.Alignment_0_0; 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 = 24; t5 = _this.shape; if (t5 == null) t5 = dialogTheme.shape; if (t5 == null) t5 = B.RoundedRectangleBorder_LkV1; t5 = A.Material$(B.Duration_200000, true, _null, _this.child, _this.clipBehavior, t3, t4, _null, _null, t5, _null, B.MaterialType_1); return A.AnimatedPadding$(new A.MediaQuery(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.removeViewInsets$4$removeBottom$removeLeft$removeRight$removeTop(true, true, true, true), new A.Align(t2, _null, _null, new A.ConstrainedBox(B.BoxConstraints_mlX1, t5, _null), _null), _null), B.C__DecelerateCurve, B.Duration_100000, effectivePadding); } }; A.AlertDialog.prototype = { build$1(_, context) { var label, t2, paddingScaleFactor, t3, t4, defaultTitlePadding, t5, effectiveTitlePadding, titleWidget, effectiveContentPadding, t6, contentWidget, spacing, actionsWidget, columnChildren, dialogChild, _this = this, _null = null, theme = A.Theme_of(context), dialogTheme = A.Theme_of(context).dialogTheme, t1 = theme.platform; switch (t1.index) { case 2: case 4: 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 = "Alert"; break; default: label = _null; } paddingScaleFactor = A._paddingScaleFactor(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.textScaleFactor); A.Directionality_maybeOf(context); t2 = _this.title; t3 = t2 == null; t4 = !t3; if (t4) { defaultTitlePadding = new A.EdgeInsets(24, 24, 24, _this.content == null ? 20 : 0); t5 = _this.titlePadding; effectiveTitlePadding = t5 == null ? _null : t5; if (effectiveTitlePadding == null) effectiveTitlePadding = defaultTitlePadding; t5 = dialogTheme.titleTextStyle; if (t5 == null) { t5 = theme.textTheme.headline6; t5.toString; } t1 = label == null && t1 !== B.TargetPlatform_2; titleWidget = new A.Padding(new A.EdgeInsets(effectiveTitlePadding.left * paddingScaleFactor, effectiveTitlePadding.top * paddingScaleFactor, effectiveTitlePadding.right * paddingScaleFactor, effectiveTitlePadding.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, 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), true, false, false, t2, _null), _null, _null, B.TextOverflow_0, true, t5, _null, _null, B.TextWidthBasis_0), _null); } else titleWidget = _null; t1 = _this.content; t2 = t1 != null; if (t2) { effectiveContentPadding = _this.contentPadding; t5 = effectiveContentPadding.top; if (t3) t5 *= paddingScaleFactor; t6 = dialogTheme.contentTextStyle; if (t6 == null) { t6 = theme.textTheme.subtitle1; t6.toString; } contentWidget = new A.Padding(new A.EdgeInsets(effectiveContentPadding.left * paddingScaleFactor, t5, 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), true, false, false, t1, _null), _null, _null, B.TextOverflow_0, true, t6, _null, _null, B.TextWidthBasis_0), _null); } else contentWidget = _null; t1 = _this.actions; t5 = t1 != null; if (t5) { t6 = _this.buttonPadding; t6 = t6 == null ? _null : t6.get$horizontal(); spacing = (t6 == null ? 16 : t6) / 2; t6 = B.EdgeInsets_0_0_0_0.add$1(0, new A.EdgeInsets(spacing, spacing, spacing, spacing)); actionsWidget = new A.Padding(t6, A.OverflowBar$(B.MainAxisAlignment_1, t1, B.OverflowBarAlignment_1, B.VerticalDirection_1, 0, spacing), _null); } else actionsWidget = _null; t1 = type$.JSArray_Widget; if (_this.scrollable) { t6 = A._setArrayType([], t1); if (!t3 || t2) { t1 = A._setArrayType([], t1); if (t4) { titleWidget.toString; t1.push(titleWidget); } if (t2) { contentWidget.toString; t1.push(contentWidget); } t6.push(new A.Flexible(1, B.FlexFit_1, A.SingleChildScrollView$(A.Column$(t1, B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, _null, B.Axis_1), _null)); } if (t5) { actionsWidget.toString; t6.push(actionsWidget); } columnChildren = t6; } else { t1 = A._setArrayType([], t1); if (t4) { titleWidget.toString; t1.push(titleWidget); } if (t2) { contentWidget.toString; t1.push(new A.Flexible(1, B.FlexFit_1, contentWidget, _null)); } if (t5) { actionsWidget.toString; t1.push(actionsWidget); } columnChildren = t1; } dialogChild = A.IntrinsicWidth$(A.Column$(columnChildren, B.CrossAxisAlignment_3, 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, label, _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), false, true, false, dialogChild, _null); return A.Dialog$(_null, _this.backgroundColor, dialogChild, B.Clip_0, _this.elevation, _this.insetPadding, _this.shape); } }; A.SimpleDialog.prototype = { build$1(_, context) { var label, t1, paddingScaleFactor, contentWidget, dialogChild, _null = null; switch (A.Theme_of(context).platform.index) { case 4: case 2: 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 = "Dialog"; break; default: label = _null; } paddingScaleFactor = A._paddingScaleFactor(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.textScaleFactor); A.Directionality_maybeOf(context); t1 = 0 * paddingScaleFactor; contentWidget = new A.Flexible(1, B.FlexFit_1, A.SingleChildScrollView$(A.ListBody$(this.children), _null, B.DragStartBehavior_1, _null, new A.EdgeInsets(t1, 12 * paddingScaleFactor, t1, 16 * paddingScaleFactor), _null, _null, B.Axis_1), _null); t1 = A._setArrayType([], type$.JSArray_Widget); t1.push(contentWidget); dialogChild = A.IntrinsicWidth$(new A.ConstrainedBox(B.BoxConstraints_mlX1, A.Column$(t1, B.CrossAxisAlignment_3, 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, label, _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), false, true, false, dialogChild, _null); return A.Dialog$(_null, _null, dialogChild, B.Clip_0, _null, B.EdgeInsets_40_24_40_24, _null); } }; A.DialogRoute.prototype = {}; A.DialogRoute_closure.prototype = { call$3(buildContext, animation, secondaryAnimation) { var dialog = new A._CaptureAll(this.themes._themes, new A.Builder(this.builder, null), null); dialog = A.SafeArea$(true, dialog, B.EdgeInsets_0_0_0_0, true); return dialog; }, "call*": "call$3", $requiredArgCount: 3, $signature: 290 }; 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.getRuntimeType(_this)) return false; return other instanceof A.DialogTheme && J.$eq$(other.backgroundColor, _this.backgroundColor) && other.elevation == _this.elevation && J.$eq$(other.shape, _this.shape) && J.$eq$(other.alignment, _this.alignment) && J.$eq$(other.titleTextStyle, _this.titleTextStyle) && J.$eq$(other.contentTextStyle, _this.contentTextStyle); } }; A._DialogTheme_Object_Diagnosticable.prototype = {}; A.Divider.prototype = { build$1(_, context) { var thickness, indent, endIndent, _null = null, dividerTheme = A.DividerTheme_of(context), height = dividerTheme.space; if (height == null) height = 16; thickness = dividerTheme.thickness; if (thickness == null) thickness = 0; indent = dividerTheme.indent; if (indent == null) indent = 0; endIndent = dividerTheme.endIndent; if (endIndent == null) endIndent = 0; 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_0CF, B.BorderSide_0CF, A.Divider_createBorderSide(context, _null, thickness), B.BorderSide_0CF), _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, thickness, indent, endIndent, _this = this, _null = null, dividerTheme = A.DividerTheme_of(context), width = dividerTheme.space; if (width == null) width = 16; t1 = _this.thickness; thickness = t1 == null ? dividerTheme.thickness : t1; if (thickness == null) thickness = 0; t1 = _this.indent; indent = t1 == null ? dividerTheme.indent : t1; if (indent == null) indent = 0; t1 = _this.endIndent; endIndent = t1 == null ? dividerTheme.endIndent : t1; if (endIndent == null) endIndent = 0; 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_0CF, B.BorderSide_0CF, B.BorderSide_0CF, 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.DividerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.space, _this.thickness, _this.indent, _this.endIndent, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.DividerThemeData && J.$eq$(other.color, _this.color) && other.space == _this.space && other.thickness == _this.thickness && other.indent == _this.indent && other.endIndent == _this.endIndent; } }; A._DividerThemeData_Object_Diagnosticable.prototype = {}; A.DrawerAlignment.prototype = { toString$0(_) { return "DrawerAlignment." + this._core$_name; } }; 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, B._StateLifecycle_0); } }; A.DrawerControllerState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_246000, null, 1, _this._widget.isDrawerOpen ? 1 : 0, _this); _this.__DrawerControllerState__controller = t1; t1 = A._lateReadCheck(t1, "_controller"); t1.didRegisterListener$0(); t2 = t1.AnimationLocalListenersMixin__listeners; t2._isDirty = true; t2._list.push(_this.get$_animationChanged()); t1.addStatusListener$1(_this.get$_animationStatusChanged()); }, dispose$0(_) { var t1 = this._historyEntry; if (t1 != null) t1.remove$0(0); A._lateReadCheck(this.__DrawerControllerState__controller, "_controller").dispose$0(0); this.super$_DrawerControllerState_State_SingleTickerProviderStateMixin$dispose(0); }, didChangeDependencies$0() { this.super$_DrawerControllerState_State_SingleTickerProviderStateMixin$didChangeDependencies(); this.__DrawerControllerState__scrimColorTween = this._buildScrimColorTween$0(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this, _s11_ = "_controller"; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; if (t1.isDrawerOpen !== oldWidget.isDrawerOpen) switch (A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__status, "_status").index) { case 3: case 0: t1 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); t1.set$value(0, _this._widget.isDrawerOpen ? 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()); _this._historyEntry = t1; route.addLocalHistoryEntry$1(t1); t1 = _this._framework$_element; t1.toString; A.FocusScope_of(t1).setFirstFocus$1(_this._drawer$_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) { A._lateReadCheck(this.__DrawerControllerState__controller, "_controller").stop$0(0); this._ensureHistoryEntry$0(); }, _handleDragCancel$0() { var _this = this, _s11_ = "_controller", t1 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); if (t1.get$status(t1) !== B.AnimationStatus_0) { t1 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_)._ticker; t1 = t1 != null && t1._ticker$_future != null; } else t1 = true; if (t1) return; if (A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__value, "_value") < 0.5) _this.close$0(0); else _this.open$0(0); }, get$_drawer$_width(_) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._drawerKey); t1 = t1 == null ? null : t1.get$renderObject(); type$.nullable_RenderBox._as(t1); if (t1 != null) return t1._size._dx; return 304; }, _move$1(details) { var delta, opened, _this = this, _s11_ = "_controller", _s6_ = "_value", t1 = details.primaryDelta; t1.toString; delta = t1 / _this.get$_drawer$_width(_this); 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 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); t1.set$value(0, A._lateReadCheck(t1.__AnimationController__value, _s6_) - delta); break; case 1: t1 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); t1.set$value(0, A._lateReadCheck(t1.__AnimationController__value, _s6_) + delta); break; } opened = A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__value, _s6_) > 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, _s11_ = "_controller", t1 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); if (t1.get$status(t1) === B.AnimationStatus_0) return; t1 = details.velocity.pixelsPerSecond._dx; if (Math.abs(t1) >= 365) { visualVelocity = t1 / _this.get$_drawer$_width(_this); 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: A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).fling$1$velocity(-visualVelocity); _this._widget.drawerCallback.call$1(visualVelocity < 0); break; case 1: A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).fling$1$velocity(visualVelocity); _this._widget.drawerCallback.call$1(visualVelocity > 0); break; } } else if (A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__value, "_value") < 0.5) _this.close$0(0); else _this.open$0(0); }, open$0(_) { A._lateReadCheck(this.__DrawerControllerState__controller, "_controller").fling$0(); this._widget.drawerCallback.call$1(true); }, close$0(_) { A._lateReadCheck(this.__DrawerControllerState__controller, "_controller").fling$1$velocity(-1); this._widget.drawerCallback.call$1(false); }, _buildScrimColorTween$0() { this._widget.toString; var t1 = this._framework$_element; t1.dependOnInheritedWidgetOfExactType$1$0(type$.DrawerTheme); t1 = A.Theme_of(t1); t1 = t1.drawerTheme.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 dragAreaWidth, t2, platformHasBackButton, t3, _this = this, _null = null, _s11_ = "_controller", drawerIsStart = _this._widget.alignment === B.DrawerAlignment_0, padding = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.padding, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; dragAreaWidth = _this._widget.edgeDragWidth; switch (t1.textDirection.index) { case 1: dragAreaWidth = 20 + (drawerIsStart ? padding.left : padding.right); break; case 0: dragAreaWidth = 20 + (drawerIsStart ? padding.right : padding.left); break; } if (A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__status, "_status") === B.AnimationStatus_0) if (_this._widget.enableOpenDragGesture) { 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); } 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.dragStartBehavior; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t2 = A._lateReadCheck(_this.__DrawerControllerState__scrimColorTween, "_scrimColorTween"); t3 = A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_); t3 = A.MouseRegion$(A.Container$(_null, _null, B.Clip_0, t2.transform$1(0, t3.get$value(t3)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), B.C__DeferringMouseCursor, _null, _null, _null, _null); return A.GestureDetector$(_null, new A.RepaintBoundary(A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([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, "Dismiss", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _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, t3, _null), B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$close(_this), _null, _null, _null, _null, _null, _null, _null), _null)), new A.Align(_this.get$_drawerOuterAlignment(), _null, _null, new A.Align(_this.get$_drawerInnerAlignment(), A._lateReadCheck(A._lateReadCheck(_this.__DrawerControllerState__controller, _s11_).__AnimationController__value, "_value"), _null, new A.RepaintBoundary(A.FocusScope$(false, _this._widget.child, _this._drawerKey, _this._drawer$_focusScopeNode), _null), _null), _null)], type$.JSArray_Widget), B.StackFit_0, _null, _null), _null), t1, 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); } }, build$1(_, context) { return A.ListTileTheme$(this._drawer$_buildDrawer$1(context), null, null, B.ListTileStyle_1); } }; A.DrawerControllerState__animationChanged_closure.prototype = { call$0() { }, $signature: 0 }; A._DrawerControllerState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.DrawerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.scrimColor, _this.elevation, _this.shape, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.DrawerThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.scrimColor, _this.scrimColor) && other.elevation == _this.elevation && J.$eq$(other.shape, _this.shape); } }; A._DrawerThemeData_Object_Diagnosticable.prototype = {}; A._DropdownMenuPainter0.prototype = { paint$2(canvas, size) { var _null = null, t1 = size._dy, t2 = B.JSNumber_methods.clamp$2(this.getSelectedItemOffset.call$0(), 0, Math.max(t1 - 48, 0)), t3 = type$.Tween_double, t4 = B.JSNumber_methods.clamp$2(t2 + 48, Math.min(48, t1), t1), t5 = this.resize; t2 = new A.Tween(t2, 0, t3).transform$1(0, t5.get$value(t5)); 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(t5)) - t2), _null)); }, shouldRepaint$1(oldPainter) { var t1, _this = this; if (oldPainter.color.$eq(0, _this.color)) if (oldPainter.elevation === _this.elevation) if (oldPainter.selectedIndex === _this.selectedIndex) t1 = oldPainter.resize !== _this.resize; else t1 = true; else t1 = true; else t1 = true; return t1; } }; A._DropdownMenuItemButton0.prototype = { createState$0() { return new A._DropdownMenuItemButtonState0(B._StateLifecycle_0, this.$ti._eval$1("_DropdownMenuItemButtonState0<1>")); } }; A._DropdownMenuItemButtonState0.prototype = { _dropdown$_handleFocusChange$1(focused) { var inTraditionalMode, menuLimits, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._highlightMode; switch ((t1 == null ? A.FocusManager__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.route.scrollController.animateTo$3$curve$duration(menuLimits.scrollOffset, B.Cubic_xDo, B.Duration_100000); } }, _dropdown$_handleOnTap$0() { var t2, t1 = this._widget; t1 = t1.route.items[t1.itemIndex]; t2 = this._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, new A._DropdownRouteResult0(t1.item.value, this.$ti._eval$1("_DropdownRouteResult0<1>"))); }, build$1(_, context) { var opacity, start, end, t3, t4, t5, child, itemBorderRadius, _this = this, _null = null, t1 = _this._widget, t2 = t1.route, unit = 0.5 / (t2.items.length + 1.5); t1 = t1.itemIndex; if (t1 === t2.selectedIndex) { t1 = t2._animationProxy; t1.toString; opacity = A.CurvedAnimation$(B.Threshold_0, t1, _null); } else { start = B.JSNumber_methods.clamp$2(0.5 + (t1 + 1) * unit, 0, 1); end = B.JSNumber_methods.clamp$2(start + 1.5 * unit, 0, 1); t1 = _this._widget.route._animationProxy; t1.toString; opacity = A.CurvedAnimation$(new A.Interval(start, end, B.C__Linear), t1, _null); } t1 = _this._widget; t2 = t1.padding; t3 = t1.route; t4 = t3.items; t5 = t1.itemIndex; child = A.Container$(_null, t4[t5], B.Clip_0, _null, _null, _null, _null, t3.itemHeight, _null, _null, t2, _null, _null, _null); t2 = t4.length; if (t2 === 1) itemBorderRadius = t1.borderRadius; else if (t5 === 0) { t1 = t1.borderRadius; itemBorderRadius = new A.BorderRadius(t1.topLeft, t1.topRight, B.Radius_0_0, B.Radius_0_0); } else if (t5 === t2 - 1) { t1 = t1.borderRadius; itemBorderRadius = new A.BorderRadius(B.Radius_0_0, B.Radius_0_0, t1.bottomLeft, t1.bottomRight); } else itemBorderRadius = B.BorderRadius_tLn; child = A.InkWell$(t5 === t3.selectedIndex, itemBorderRadius, true, child, _null, true, _null, _null, _null, _null, _null, _null, _null, _this.get$_dropdown$_handleFocusChange(), _null, _null, _null, _this.get$_dropdown$_handleOnTap(), _null, _null, _null, _null, _null, _null); child = A.FadeTransition$(false, child, opacity); return new A.Shortcuts(B.Map_cW2nU, child, _null, _null); } }; A._DropdownMenu0.prototype = { createState$0() { return new A._DropdownMenuState0(B._StateLifecycle_0, this.$ti._eval$1("_DropdownMenuState0<1>")); } }; A._DropdownMenuState0.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = _this._widget.route._animationProxy; t1.toString; _this._dropdown$___DropdownMenuState__fadeOpacity = A.CurvedAnimation$(B.Interval_75R2, t1, B.Interval_75R3); t1 = _this._widget.route._animationProxy; t1.toString; _this._dropdown$___DropdownMenuState__resize = A.CurvedAnimation$(B.Interval_75R4, t1, B.Threshold_0); }, build$1(_, context) { var route, t1, t2, t3, itemIndex, t4, t5, t6, t7, t8, t9, _this = this, _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; route = _this._widget.route; t1 = A._setArrayType([], type$.JSArray_Widget); for (t2 = route.items, t3 = _this.$ti._eval$1("_DropdownMenuItemButton0<1>"), itemIndex = 0; itemIndex < t2.length; ++itemIndex) { t4 = _this._widget; t5 = t4.route; t6 = t4.padding; t7 = t4.buttonRect; t4 = t4.constraints; t1.push(new A._DropdownMenuItemButton0(t5, t6, t7, t4, itemIndex, true, B.BorderRadius_tLn, _null, t3)); } t2 = A._lateReadCheck(_this._dropdown$___DropdownMenuState__fadeOpacity, "_fadeOpacity"); _this._widget.toString; t3 = A.Theme_of(context).canvasColor; t4 = route.elevation; t5 = A._lateReadCheck(_this._dropdown$___DropdownMenuState__resize, "_resize"); t6 = _this._widget.borderRadius; t7 = B.Map_2Vato.$index(0, t4); t8 = A.ScrollConfiguration_of(context).copyWith$4$overscroll$physics$platform$scrollbars(false, B.ClampingScrollPhysics_null, A.Theme_of(context).platform, false); t9 = _this._widget.route.scrollController; t9.toString; t9 = A.Material$(B.Duration_200000, true, _null, A.ScrollConfiguration$(t8, A.PrimaryScrollController$(A.Scrollbar$(A.ListView$(true, true, t1, _null, _null, B.EdgeInsets_0_8_0_8, _null, B.Axis_1, true), _null, true), t9)), B.Clip_0, _null, 0, _null, _null, _null, route.style, B.MaterialType_4); return A.FadeTransition$(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, "Popup menu", _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), false, true, false, t9, _null), _null, _null, new A._DropdownMenuPainter0(t3, t4, route.selectedIndex, t6, t5, new A._DropdownMenuState_build_closure0(route), new A._BoxDecorationPainter(new A.BoxDecoration(t3, _null, _null, B.BorderRadius_tLn5, t7, _null, B.BoxShape_0), _null), t5), B.Size_0_0), t2); } }; A._DropdownMenuState_build_closure0.prototype = { call$0() { var t1 = this.route; return t1.getItemOffset$1(t1.selectedIndex); }, $signature: 118 }; A._DropdownMenuRouteLayout0.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 = B.JSNumber_methods.clamp$2(t2.right, 0, size._dx) - childSize._dx; break; case 1: left = B.JSNumber_methods.clamp$2(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._DropdownRouteResult0.prototype = { $eq(_, other) { if (other == null) return false; return this.$ti._is(other) && other.result == this.result; }, get$hashCode(_) { return J.get$hashCode$(this.result); } }; A._MenuLimits0.prototype = {}; A._DropdownRoute0.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_closure0(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_closure0()) : 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(B.EdgeInsets_0_8_0_8) + B.EdgeInsets_0_8_0_8.get$_bottom(B.EdgeInsets_0_8_0_8); if (_this.items.length !== 0) preferredMenuHeight += B.JSArray_methods.reduce$1(t2, new A._DropdownRoute_getMenuLimits_closure0()); 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._MenuLimits0(menuTop, menuHeight, preferredMenuHeight > computedMaxHeight ? Math.min(Math.max(0, selectedItemOffset - (buttonTop - menuTop)), preferredMenuHeight - menuHeight) : 0); }, get$barrierLabel() { return this.barrierLabel; } }; A._DropdownRoute_buildPage_closure0.prototype = { call$2(context, constraints) { var t1 = this.$this; return new A._DropdownRoutePage0(t1, constraints, t1.padding, t1.buttonRect, t1.selectedIndex, t1.capturedThemes, t1.dropdownColor, true, t1.borderRadius, null, t1.$ti._eval$1("_DropdownRoutePage0<1>")); }, $signature() { return this.$this.$ti._eval$1("_DropdownRoutePage0<1>(BuildContext,BoxConstraints)"); } }; A._DropdownRoute_getItemOffset_closure0.prototype = { call$2(total, height) { return total + height; }, $signature: 81 }; A._DropdownRoute_getMenuLimits_closure0.prototype = { call$2(total, height) { return total + height; }, $signature: 81 }; A._DropdownRoutePage0.prototype = { build$1(_, context) { var _this = this, t1 = _this.route; if (t1.scrollController == null) t1.scrollController = A.ScrollController$(null, t1.getMenuLimits$3(_this.buttonRect, _this.constraints.maxHeight, _this.selectedIndex).scrollOffset, true); return A.MediaQuery_MediaQuery$removePadding(new A.Builder(new A._DropdownRoutePage_build_closure0(_this, A.Directionality_maybeOf(context), new A._DropdownMenu0(t1, _this.padding, _this.buttonRect, _this.constraints, _this.dropdownColor, true, _this.borderRadius, null, _this.$ti._eval$1("_DropdownMenu0<1>"))), null), context, true, true, true, true); } }; A._DropdownRoutePage_build_closure0.prototype = { call$1(context) { var t1 = this.$this; return new A.CustomSingleChildLayout(new A._DropdownMenuRouteLayout0(t1.buttonRect, t1.route, this.textDirection, t1.$ti._eval$1("_DropdownMenuRouteLayout0<1>")), new A._CaptureAll(t1.capturedThemes._themes, this.menu, null), null); }, $signature: 157 }; A._MenuItem1.prototype = { createRenderObject$1(context) { var t1 = new A._RenderMenuItem1(this.onLayout, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.onLayout = this.onLayout; } }; A._RenderMenuItem1.prototype = { performLayout$0() { this.super$RenderProxyBoxMixin$performLayout(); var t1 = this._size; t1.toString; this.onLayout.call$1(t1); } }; A._DropdownMenuItemContainer0.prototype = { build$1(_, context) { var _null = null; return A.Container$(this.alignment, this.child, B.Clip_0, _null, B.BoxConstraints_mlX0, _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._DropdownButtonState0(B._StateLifecycle_0, this.$ti._eval$1("_DropdownButtonState0<1>")); }, get$value(receiver) { return this.value; } }; A._DropdownButtonState0.prototype = { get$focusNode(_) { var t1; this._widget.toString; t1 = this._dropdown$_internalNode; return t1; }, initState$0() { var t1, t2, focusManager, _this = this; _this.super$State$initState(); _this._dropdown$_updateSelectedIndex$0(); t1 = _this._widget; t1.toString; if (_this._dropdown$_internalNode == null) _this._dropdown$_internalNode = A.FocusNode$(true, A.getRuntimeType(t1).toString$0(0), true, null, null, false); t1 = type$.JSArray_of_void_Function_Action_Intent; t2 = type$.ObserverList_of_void_Function_Action_Intent; _this._dropdown$___DropdownButtonState__actionMap = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_ActivateIntent_OT9, new A.CallbackAction(new A._DropdownButtonState_initState_closure1(_this), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_ActivateIntent), B.Type_ButtonActivateIntent_6Ij, new A.CallbackAction(new A._DropdownButtonState_initState_closure2(_this), new A.ObserverList(A._setArrayType([], t1), t2), type$.CallbackAction_ButtonActivateIntent)], type$.Type, type$.Action_Intent); _this.get$focusNode(_this).addListener$1(0, _this.get$_dropdown$_handleFocusChanged()); focusManager = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager; t2 = focusManager._highlightMode; _this._dropdown$___DropdownButtonState__focusHighlightMode = t2 == null ? A.FocusManager__defaultModeForPlatform() : t2; focusManager._focus_manager$_listeners.add$1(0, _this.get$_dropdown$_handleFocusHighlightModeChange()); }, dispose$0(_) { var t1, _this = this; B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, _this); _this._dropdown$_removeDropdownRoute$0(); $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._focus_manager$_listeners.remove$1(0, _this.get$_dropdown$_handleFocusHighlightModeChange()); _this.get$focusNode(_this).removeListener$1(0, _this.get$_dropdown$_handleFocusChanged()); t1 = _this._dropdown$_internalNode; if (t1 != null) t1.dispose$0(0); _this.super$State$dispose(0); }, _dropdown$_removeDropdownRoute$0() { var t2, t1 = this._dropdown$_dropdownRoute; if (t1 != null) if (t1.get$isActive()) { t2 = t1._navigator$_navigator; if (t2 != null) t2.removeRoute$1(t1); } this._dropdown$_lastOrientation = this._dropdown$_dropdownRoute = null; }, _dropdown$_handleFocusChanged$0() { var _this = this; if (_this._dropdown$_hasPrimaryFocus !== _this.get$focusNode(_this).get$hasPrimaryFocus()) _this.setState$1(new A._DropdownButtonState__handleFocusChanged_closure0(_this)); }, _dropdown$_handleFocusHighlightModeChange$1(mode) { if (this._framework$_element == null) return; this.setState$1(new A._DropdownButtonState__handleFocusHighlightModeChange_closure0(this, mode)); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; this._dropdown$_updateSelectedIndex$0(); }, _dropdown$_updateSelectedIndex$0() { var t2, t3, itemIndex, t1 = this._widget; if (t1.items.length !== 0) t2 = false; else t2 = true; if (t2) { this._dropdown$_selectedIndex = null; return; } for (t2 = t1.items, t3 = t2.length, itemIndex = 0; itemIndex < t3; ++itemIndex) if (t2[itemIndex].value === t1.value) { this._dropdown$_selectedIndex = itemIndex; return; } }, get$_dropdown$_textStyle() { this._widget.toString; var t1 = this._framework$_element; t1.toString; t1 = A.Theme_of(t1).textTheme.subtitle1; return t1; }, _dropdown$_handleTap$0() { var textDirection, t2, t3, index, t4, $navigator, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _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<_MenuItem1<1>>")); for (t3 = t1._eval$1("_MenuItem1<1>"), index = 0; t4 = _this._widget.items, index < t4.length; ++index) { t4 = t4[index]; t2.push(new A._MenuItem1(new A._DropdownButtonState__handleTap_closure1(_this, index), t4, t4, _null, t3)); } 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._size; t5 = t4._dx; t4 = t4._dy; t6 = t3._dx; t3 = t3._dy; t3 = B.EdgeInsetsDirectional_16_0_24_0.resolve$1(textDirection).inflateRect$1(new A.Rect(t5, t4, t5 + t6, t4 + t3)); t4 = _this._dropdown$_selectedIndex; if (t4 == null) t4 = 0; _this._widget.toString; t5 = _this._framework$_element; t5.toString; t6 = $navigator._framework$_element; t6.toString; t6 = A.InheritedTheme_capture(t5, t6); t5 = _this.get$_dropdown$_textStyle(); t5.toString; t7 = _this._framework$_element; t7.toString; A.Localizations_of(t7, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; _this._widget.toString; t7 = t2.length; t7 = A.List_List$filled(t7, 48, false, type$.double); t8 = A._setArrayType([], type$.JSArray_of_Future_bool_Function); t9 = $.Zone__current; t10 = t1._eval$1("_Future<_DropdownRouteResult0<1>?>"); t11 = t1._eval$1("_AsyncCompleter<_DropdownRouteResult0<1>?>"); t12 = A.ProxyAnimation$(B.C__AlwaysDismissedAnimation); t13 = A._setArrayType([], type$.JSArray_OverlayEntry); t14 = A.List_List$filled(0, _null, false, type$.nullable_void_Function); t15 = $.Zone__current; t1 = new A._DropdownRoute0(t2, B.EdgeInsets_16_0_16_0, t3, t4, 8, t6, t5, 48, _null, _null, true, _null, t7, "Dismiss", _null, t8, new A.LabeledGlobalKey(_null, t1._eval$1("LabeledGlobalKey<_ModalScopeState<_DropdownRouteResult0<1>>>")), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.PageStorageBucket(), _null, new A._AsyncCompleter(new A._Future(t9, t10), t11), t12, t13, B.RouteSettings_null_null, new A.ValueNotifier(_null, t14, type$.ValueNotifier_nullable_String), new A._AsyncCompleter(new A._Future(t15, t10), t11), t1._eval$1("_DropdownRoute0<1>")); _this._dropdown$_dropdownRoute = t1; $navigator.push$1(t1).then$1$1(0, new A._DropdownButtonState__handleTap_closure2(_this), type$.void); _this._widget.toString; }, get$_dropdown$_iconColor() { var t1, _this = this; if (_this.get$_dropdown$_enabled()) { _this._widget.toString; t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).colorScheme.brightness.index) { case 1: t1 = B.Map_HFpTk.$index(0, 700); t1.toString; return t1; 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: t1 = B.Map_HFpTk.$index(0, 400); t1.toString; return t1; case 0: return B.Color_452984831; } } }, get$_dropdown$_enabled() { var t1 = this._widget; t1 = t1.items.length !== 0 && true; return t1; }, get$_dropdown$_showHighlight() { switch (A._lateReadCheck(this._dropdown$___DropdownButtonState__focusHighlightMode, "_focusHighlightMode").index) { case 0: return false; case 1: return this._dropdown$_hasPrimaryFocus; } }, build$1(_, context) { var size, items, innerItemsWidget, t2, t3, t4, t5, t6, t7, effectiveMouseCursor, _this = this, _null = null, t1 = A.MediaQuery_maybeOf(context), result = t1 == null ? _null : t1.get$orientation(t1); if (result == null) { size = $.$get$window().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._dropdown$_removeDropdownRoute$0(); _this._dropdown$_lastOrientation = result; } t1 = _this._widget; items = A.List_List$from(t1.items, true, type$.Widget); _this._widget.toString; if (!_this.get$_dropdown$_enabled()) _this._widget.toString; A.ButtonTheme_of(context); if (items.length === 0) innerItemsWidget = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); else { t1 = _this._dropdown$_selectedIndex; if (t1 == null) t1 = _null; _this._widget.toString; t2 = A._arrayInstanceType(items)._eval$1("MappedListIterable<1,RenderObjectWidget>"); t2 = A.List_List$of(new A.MappedListIterable(items, new A._DropdownButtonState_build_closure0(_this), t2), true, t2._eval$1("ListIterable.E")); innerItemsWidget = A.IndexedStack$(B.AlignmentDirectional_m1_0, t2, t1); } 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); } if (_this.get$_dropdown$_showHighlight()) { _this._widget.toString; t2 = A.Theme_of(context); t2 = new A.BoxDecoration(t2.focusColor, _null, _null, B.BorderRadius_tLn0, _null, _null, B.BoxShape_0); } else t2 = _null; t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t3.toString; t3 = B.EdgeInsets_0_0_0_0.resolve$1(t3.textDirection); _this._widget.toString; t4 = type$.JSArray_Widget; t5 = A._setArrayType([], t4); _this._widget.toString; t5.push(innerItemsWidget); t6 = _this.get$_dropdown$_iconColor(); t7 = _this._widget.icon; t5.push(A.IconTheme$(t7, new A.IconThemeData(t6, _null, 24), _null)); result = A.DefaultTextStyle$(A.Container$(_null, A.Row$(t5, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_3, B.MainAxisSize_0, _null, _null), B.Clip_0, _null, _null, t2, _null, _null, _null, _null, t3, _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; t1 = t1.underline; result = A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([result, A.Positioned$(8, t1, _null, _null, 0, 0, _null, _null)], t4), B.StackFit_0, _null, _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 = A._lateReadCheck(_this._dropdown$___DropdownButtonState__actionMap, "_actionMap"); t2 = _this.get$_dropdown$_enabled(); t3 = _this.get$focusNode(_this); _this._widget.toString; t2 = A.Focus$(false, t2, A.MouseRegion$(A.GestureDetector$(B.HitTestBehavior_1, result, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_dropdown$_enabled() ? _this.get$_dropdown$_handleTap() : _null, _null, _null, _null, _null, _null, _null, _null), effectiveMouseCursor, _null, _null, _null, _null), _null, _null, t3, true, _null, _null, _null, _null, _null); return 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), false, false, false, new A.Actions(t1, t2, _null), _null); } }; A._DropdownButtonState_initState_closure1.prototype = { call$1(intent) { return this.$this._dropdown$_handleTap$0(); }, $signature: 268 }; A._DropdownButtonState_initState_closure2.prototype = { call$1(intent) { return this.$this._dropdown$_handleTap$0(); }, $signature: 269 }; A._DropdownButtonState__handleFocusChanged_closure0.prototype = { call$0() { var t1 = this.$this; t1._dropdown$_hasPrimaryFocus = t1.get$focusNode(t1).get$hasPrimaryFocus(); }, $signature: 0 }; A._DropdownButtonState__handleFocusHighlightModeChange_closure0.prototype = { call$0() { this.$this._dropdown$___DropdownButtonState__focusHighlightMode = this.mode; }, $signature: 0 }; A._DropdownButtonState__handleTap_closure1.prototype = { call$1(size) { var t1 = this.$this._dropdown$_dropdownRoute; if (t1 == null) return; t1.itemHeights[this.index] = size._dy; }, $signature: 156 }; A._DropdownButtonState__handleTap_closure2.prototype = { call$1(newValue) { var t1 = this.$this; t1._dropdown$_removeDropdownRoute$0(); if (t1._framework$_element == null || newValue == null) return; t1._widget.onChanged.call$1(newValue.result); }, $signature() { return this.$this.$ti._eval$1("Null(_DropdownRouteResult0<1>?)"); } }; A._DropdownButtonState_build_closure0.prototype = { call$1(item) { this.$this._widget.toString; return new A.SizedBox(null, 48, item, null); }, $signature: 271 }; A.__DropdownButtonState_State_WidgetsBindingObserver.prototype = {}; A.ElevatedButton.prototype = { defaultStyleOf$1(context) { var theme = A.Theme_of(context), colorScheme = theme.colorScheme, t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; return A.ElevatedButton_styleFrom(B.Alignment_0_0, B.Duration_200000, B.SystemMouseCursor_forbidden, 2, true, B.SystemMouseCursor_click, null, B.Size_wjo, B.Size_64_36, colorScheme.onPrimary, colorScheme.onSurface, A.ButtonStyleButton_scaledPadding(B.EdgeInsets_16_0_16_0, B.EdgeInsets_8_0_8_0, B.EdgeInsets_4_0_4_0, t1 == null ? 1 : t1), colorScheme.primary, theme.shadowColor, B.RoundedRectangleBorder_LkV1, null, B.C__InkRippleFactory, theme.materialTapTargetSize, theme.textTheme.button, theme.visualDensity); }, themeStyleOf$1(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.ElevatedButtonTheme); t1 = A.Theme_of(context); return t1.elevatedButtonTheme.style; } }; A._ElevatedButtonDefaultBackground.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { t1 = this.onSurface; return t1 == null ? null : A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return this.primary; } }; A._ElevatedButtonDefaultForeground.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { t1 = this.onSurface; return t1 == null ? null : A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return this.onPrimary; } }; A._ElevatedButtonDefaultOverlay.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_0)) { t1 = this.onPrimary; 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) || states.contains$1(0, B.MaterialState_2)) { t1 = this.onPrimary; return A.Color$fromARGB(61, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return null; } }; A._ElevatedButtonDefaultElevation.prototype = { resolve$1(states) { var _this = this; if (states.contains$1(0, B.MaterialState_6)) return 0; if (states.contains$1(0, B.MaterialState_0)) return _this.elevation + 2; if (states.contains$1(0, B.MaterialState_1)) return _this.elevation + 2; if (states.contains$1(0, B.MaterialState_2)) return _this.elevation + 6; return _this.elevation; } }; A._ElevatedButtonDefaultMouseCursor.prototype = { resolve$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.disabledCursor; return this.enabledCursor; } }; A._ElevatedButtonWithIcon.prototype = { defaultStyleOf$1(context) { var scaledPadding, t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; scaledPadding = A.ButtonStyleButton_scaledPadding(B.EdgeInsetsDirectional_12_0_16_0, B.EdgeInsets_8_0_8_0, B.EdgeInsetsDirectional_8_0_4_0, t1 == null ? 1 : t1); return this.super$ElevatedButton$defaultStyleOf(context).copyWith$1$padding(new A._MaterialStatePropertyAll(scaledPadding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry)); } }; A._ElevatedButtonWithIconChild.prototype = { build$1(_, context) { var gap, _null = null, t1 = A.MediaQuery_maybeOf(context), scale = t1 == null ? _null : t1.textScaleFactor; if (scale == null) scale = 1; if (scale <= 1) gap = 8; else { t1 = A.lerpDouble(8, 4, Math.min(scale - 1, 1)); t1.toString; gap = t1; } return A.Row$(A._setArrayType([this.icon, new A.SizedBox(gap, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, this.label, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); } }; A.__ElevatedButtonDefaultBackground_MaterialStateProperty_Diagnosticable.prototype = {}; A.__ElevatedButtonDefaultElevation_MaterialStateProperty_Diagnosticable.prototype = {}; A.__ElevatedButtonDefaultForeground_MaterialStateProperty_Diagnosticable.prototype = {}; A.__ElevatedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable.prototype = {}; A.__ElevatedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable.prototype = {}; A.ElevatedButtonThemeData.prototype = { get$hashCode(_) { return J.get$hashCode$(this.style); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.ElevatedButtonThemeData && J.$eq$(other.style, this.style); } }; A._ElevatedButtonThemeData_Object_Diagnosticable.prototype = {}; A.ExpansionTile.prototype = { createState$0() { var _null = null; return new A._ExpansionTileState(new A.ColorTween(_null, _null), new A.ColorTween(_null, _null), new A.ColorTween(_null, _null), new A.ColorTween(_null, _null), _null, B._StateLifecycle_0); } }; A._ExpansionTileState.prototype = { initState$0() { var t1, t2, t3, t4, t5, t6, _this = this, _null = null, _s11_ = "_controller"; _this.super$State$initState(); t1 = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, _this); _this.___ExpansionTileState__controller = t1; t1 = A._lateReadCheck(t1, _s11_); t2 = $.$get$_ExpansionTileState__easeInTween(); t3 = type$.Animation_double; _this.___ExpansionTileState__heightFactor = new A._AnimatedEvaluation(t3._as(t1), t2, A._instanceType(t2)._eval$1("_AnimatedEvaluation<Animatable.T>")); t1 = A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_); t4 = $.$get$_ExpansionTileState__halfTween(); t5 = A._instanceType(t4)._eval$1("_ChainedEvaluation<Animatable.T>"); _this.___ExpansionTileState__iconTurns = new A._AnimatedEvaluation(t3._as(t1), new A._ChainedEvaluation(t2, t4, t5), t5._eval$1("_AnimatedEvaluation<Animatable.T>")); t5 = A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_); t4 = _this._borderColorTween; t1 = $.$get$_ExpansionTileState__easeOutTween(); t6 = A._instanceType(t4)._eval$1("_ChainedEvaluation<Animatable.T>"); _this.___ExpansionTileState__borderColor = new A._AnimatedEvaluation(t3._as(t5), new A._ChainedEvaluation(t1, t4, t6), t6._eval$1("_AnimatedEvaluation<Animatable.T>")); t6 = _this._headerColorTween; t4 = A._instanceType(t6)._eval$1("_ChainedEvaluation<Animatable.T>"); _this.___ExpansionTileState__headerColor = new A._AnimatedEvaluation(t3._as(A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_)), new A._ChainedEvaluation(t2, t6, t4), t4._eval$1("_AnimatedEvaluation<Animatable.T>")); t4 = _this._iconColorTween; t6 = A._instanceType(t4)._eval$1("_ChainedEvaluation<Animatable.T>"); _this.___ExpansionTileState__iconColor = new A._AnimatedEvaluation(t3._as(A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_)), new A._ChainedEvaluation(t2, t4, t6), t6._eval$1("_AnimatedEvaluation<Animatable.T>")); t6 = _this._backgroundColorTween; t4 = A._instanceType(t6)._eval$1("_ChainedEvaluation<Animatable.T>"); _this.___ExpansionTileState__backgroundColor = new A._AnimatedEvaluation(t3._as(A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_)), new A._ChainedEvaluation(t1, t6, t4), t4._eval$1("_AnimatedEvaluation<Animatable.T>")); t4 = _this._framework$_element; t4.toString; t4 = A.PageStorage_of(t4); if (t4 == null) t1 = _null; else { t1 = _this._framework$_element; t1.toString; t1 = t4.readState$1(t1); } A._asBoolQ(t1); if (t1 == null) { _this._widget.toString; t1 = false; } _this._isExpanded = t1; if (t1) A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_).set$value(0, 1); }, dispose$0(_) { A._lateReadCheck(this.___ExpansionTileState__controller, "_controller").dispose$0(0); this.super$__ExpansionTileState_State_SingleTickerProviderStateMixin$dispose(0); }, _expansion_tile$_handleTap$0() { var t1, _this = this; _this.setState$1(new A._ExpansionTileState__handleTap_closure(_this)); t1 = _this._widget.onExpansionChanged; if (t1 != null) t1.call$1(_this._isExpanded); }, _effectiveAffinity$1(affinity) { switch (1) { case 0: return B.ListTileControlAffinity_0; case 1: case 2: return B.ListTileControlAffinity_1; } }, _buildLeadingIcon$1(context) { this._widget.toString; if (this._effectiveAffinity$1(null) !== B.ListTileControlAffinity_0) return null; return A.RotationTransition$(B.Icon_8Gl, A._lateReadCheck(this.___ExpansionTileState__iconTurns, "_iconTurns")); }, _buildTrailingIcon$1(context) { this._widget.toString; if (this._effectiveAffinity$1(null) !== B.ListTileControlAffinity_1) return null; return A.RotationTransition$(B.Icon_8Gl, A._lateReadCheck(this.___ExpansionTileState__iconTurns, "_iconTurns")); }, _buildChildren$2(context, child) { var borderSideColor, t3, t4, t5, t6, t7, _this = this, _null = null, t1 = A._lateReadCheck(_this.___ExpansionTileState__borderColor, "_borderColor"), t2 = t1._evaluatable; t1 = t1.parent; borderSideColor = t2.transform$1(0, t1.get$value(t1)); if (borderSideColor == null) borderSideColor = B.Color_0; t1 = A._lateReadCheck(_this.___ExpansionTileState__backgroundColor, "_backgroundColor"); t2 = t1._evaluatable; t1 = t1.parent; t1 = t2.transform$1(0, t1.get$value(t1)); if (t1 == null) t1 = B.Color_0; t2 = A._lateReadCheck(_this.___ExpansionTileState__iconColor, "_iconColor"); t3 = t2._evaluatable; t2 = t2.parent; t2 = t3.transform$1(0, t2.get$value(t2)); t3 = A._lateReadCheck(_this.___ExpansionTileState__headerColor, "_headerColor"); t4 = t3._evaluatable; t3 = t3.parent; t3 = t4.transform$1(0, t3.get$value(t3)); t4 = _this._widget.leading; if (t4 == null) t4 = _this._buildLeadingIcon$1(context); t5 = _this._widget; t6 = t5.title; t7 = t5.subtitle; t5 = t5.trailing; if (t5 == null) t5 = _this._buildTrailingIcon$1(context); t3 = A.ListTileTheme_merge(A.ListTile$(false, _null, _null, _null, true, _null, _null, false, t4, _this.get$_expansion_tile$_handleTap(), false, _null, _null, t7, _null, t6, t5, _null), t2, _null, t3); t2 = _this._widget.expandedAlignment; if (t2 == null) t2 = B.Alignment_0_0; t4 = A._lateReadCheck(_this.___ExpansionTileState__heightFactor, "_heightFactor"); t5 = t4._evaluatable; t4 = t4.parent; return A.Container$(_null, A.Column$(A._setArrayType([t3, A.ClipRect$(new A.Align(t2, _null, t5.transform$1(0, t4.get$value(t4)), child, _null), _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), B.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, new A.Border(new A.BorderSide(borderSideColor, 1, B.BorderStyle_1), B.BorderSide_0CF, new A.BorderSide(borderSideColor, 1, B.BorderStyle_1), B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null); }, didChangeDependencies$0() { var theme, t2, t3, _this = this, t1 = _this._framework$_element; t1.toString; theme = A.Theme_of(t1); _this._borderColorTween.end = theme.dividerColor; t1 = _this._headerColorTween; t2 = _this._widget; t2.toString; t1.begin = theme.textTheme.subtitle1.color; t1 = t1.end = theme.colorScheme.primary; t3 = _this._iconColorTween; t3.begin = theme.unselectedWidgetColor; t2 = t2.iconColor; t3.end = t2 == null ? t1 : t2; t1 = _this._backgroundColorTween; t1.end = t1.begin = null; _this.super$__ExpansionTileState_State_SingleTickerProviderStateMixin$didChangeDependencies(); }, build$1(_, context) { var t1, $closed, shouldRemoveChildren, t2, t3, result, _this = this, _null = null, _s11_ = "_controller"; if (!_this._isExpanded) { t1 = A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_); $closed = t1.get$status(t1) === B.AnimationStatus_0; } else $closed = false; if ($closed) { _this._widget.toString; shouldRemoveChildren = true; } else shouldRemoveChildren = false; t1 = _this._widget; t2 = t1.childrenPadding; if (t2 == null) t2 = B.EdgeInsets_0_0_0_0; t3 = t1.expandedCrossAxisAlignment; if (t3 == null) t3 = B.CrossAxisAlignment_2; result = new A.Offstage($closed, new A.TickerMode(!$closed, new A.Padding(t2, A.Column$(t1.children, t3, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null), _null), _null); t3 = A._lateReadCheck(_this.___ExpansionTileState__controller, _s11_); t1 = shouldRemoveChildren ? _null : result; return A.AnimatedBuilder$(t3, _this.get$_buildChildren(), t1); } }; A._ExpansionTileState__handleTap_closure.prototype = { call$0() { var t3, _s11_ = "_controller", t1 = this.$this, t2 = !t1._isExpanded; t1._isExpanded = t2; t3 = t1.___ExpansionTileState__controller; if (t2) A._lateReadCheck(t3, _s11_).forward$0(0); else A._lateReadCheck(t3, _s11_).reverse$0(0).then$1$1(0, new A._ExpansionTileState__handleTap__closure(t1), type$.void); t2 = t1._framework$_element; t2.toString; t2 = A.PageStorage_of(t2); if (t2 != null) { t3 = t1._framework$_element; t3.toString; t2.writeState$2(t3, t1._isExpanded); } }, $signature: 0 }; A._ExpansionTileState__handleTap__closure.prototype = { call$1(value) { var t1 = this.$this; if (t1._framework$_element == null) return; t1.setState$1(new A._ExpansionTileState__handleTap___closure()); }, $signature: 27 }; A._ExpansionTileState__handleTap___closure.prototype = { call$0() { }, $signature: 0 }; A.__ExpansionTileState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.Feedback_wrapForTap_closure.prototype = { call$0() { A.Feedback_forTap(this.context); this.callback.call$0(); }, $signature: 0 }; A.FlexibleSpaceBarSettings.prototype = { updateShouldNotify$1(oldWidget) { var _this = this; return _this.toolbarOpacity !== oldWidget.toolbarOpacity || _this.minExtent !== oldWidget.minExtent || _this.maxExtent !== oldWidget.maxExtent || _this.currentExtent !== oldWidget.currentExtent || false; } }; A._DefaultHeroTag.prototype = { toString$0(_) { return "<default FloatingActionButton tag>"; } }; A._FloatingActionButtonType.prototype = { toString$0(_) { return "_FloatingActionButtonType." + this._core$_name; } }; A.FloatingActionButton.prototype = { build$1(_, context) { var backgroundColor, focusColor, hoverColor, splashColor, elevation, focusElevation, hoverElevation, disabledElevation, highlightElevation, t1, extendedTextStyle, shape, resolvedChild, sizeConstraints, padding, result, _null = null, theme = A.Theme_of(context), floatingActionButtonTheme = theme.floatingActionButtonTheme, foregroundColor = floatingActionButtonTheme.foregroundColor; if (foregroundColor == null) foregroundColor = theme.colorScheme.onSecondary; backgroundColor = floatingActionButtonTheme.backgroundColor; if (backgroundColor == null) backgroundColor = theme.colorScheme.secondary; focusColor = floatingActionButtonTheme.focusColor; if (focusColor == null) focusColor = theme.focusColor; hoverColor = floatingActionButtonTheme.hoverColor; if (hoverColor == null) hoverColor = theme.hoverColor; splashColor = floatingActionButtonTheme.splashColor; if (splashColor == null) splashColor = theme.splashColor; elevation = floatingActionButtonTheme.elevation; if (elevation == null) elevation = 6; focusElevation = floatingActionButtonTheme.focusElevation; if (focusElevation == null) focusElevation = 6; hoverElevation = floatingActionButtonTheme.hoverElevation; if (hoverElevation == null) hoverElevation = 8; disabledElevation = floatingActionButtonTheme.disabledElevation; if (disabledElevation == null) disabledElevation = elevation; highlightElevation = floatingActionButtonTheme.highlightElevation; if (highlightElevation == null) highlightElevation = 12; t1 = floatingActionButtonTheme.extendedTextStyle; extendedTextStyle = (t1 == null ? theme.textTheme.button.copyWith$1$letterSpacing(1.2) : t1).copyWith$1$color(foregroundColor); shape = floatingActionButtonTheme.shape; if (shape == null) shape = B.CircleBorder_IVQ; resolvedChild = this.child; switch (this._floatingActionButtonType.index) { case 0: sizeConstraints = floatingActionButtonTheme.sizeConstraints; if (sizeConstraints == null) sizeConstraints = B.BoxConstraints_56_56_56_56; break; case 1: sizeConstraints = floatingActionButtonTheme.smallSizeConstraints; if (sizeConstraints == null) sizeConstraints = B.BoxConstraints_40_40_40_40; break; case 2: sizeConstraints = floatingActionButtonTheme.largeSizeConstraints; if (sizeConstraints == null) sizeConstraints = B.BoxConstraints_96_96_96_96; resolvedChild = A.IconTheme_merge(resolvedChild, B.IconThemeData_null_null_36); break; case 3: sizeConstraints = floatingActionButtonTheme.extendedSizeConstraints; if (sizeConstraints == null) sizeConstraints = B.BoxConstraints_CWG; padding = floatingActionButtonTheme.extendedPadding; if (padding == null) padding = new A.EdgeInsetsDirectional(20, 0, 20, 0); t1 = A._setArrayType([], type$.JSArray_Widget); t1.push(resolvedChild); resolvedChild = new A._ChildOverflowBox(new A.Padding(padding, A.Row$(t1, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null), _null), _null); break; default: sizeConstraints = _null; } result = A.RawMaterialButton$(B.Duration_200000, false, resolvedChild, B.Clip_0, sizeConstraints, disabledElevation, elevation, true, backgroundColor, focusColor, focusElevation, _null, _null, highlightElevation, hoverColor, hoverElevation, theme.materialTapTargetSize, _null, _null, _null, this.onPressed, B.EdgeInsets_0_0_0_0, shape, splashColor, extendedTextStyle, B.VisualDensity_0_0); result = A.Hero$(result, _null, _null, _null, B.C__DefaultHeroTag, false); return new A.MergeSemantics(result, _null); } }; A._ChildOverflowBox.prototype = { createRenderObject$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A._RenderChildOverflowBox(B.Alignment_0_0, t1.textDirection, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, t1.textDirection); } }; A._RenderChildOverflowBox.prototype = { computeMinIntrinsicWidth$1(height) { return 0; }, computeMinIntrinsicHeight$1(width) { return 0; }, computeDryLayout$1(constraints) { var childSize, t1 = this.RenderObjectWithChildMixin__child, t2 = constraints.minWidth, t3 = constraints.maxWidth, t4 = constraints.minHeight, t5 = constraints.maxHeight; if (t1 != null) { childSize = t1.getDryLayout$1(B.BoxConstraints_mlX3); return new A.Size(Math.max(t2, Math.min(t3, childSize._dx)), Math.max(t4, Math.min(t5, childSize._dy))); } else return new A.Size(B.JSInt_methods.clamp$2(1 / 0, t2, t3), B.JSInt_methods.clamp$2(1 / 0, t4, t5)); }, performLayout$0() { var _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this.RenderObjectWithChildMixin__child, t2 = constraints.minWidth, t3 = constraints.maxWidth, t4 = constraints.minHeight, t5 = constraints.maxHeight; if (t1 != null) { t1.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); t1 = _this.RenderObjectWithChildMixin__child._size; _this._size = new A.Size(Math.max(t2, Math.min(t3, t1._dx)), Math.max(t4, Math.min(t5, t1._dy))); _this.alignChild$0(); } else _this._size = new A.Size(B.JSInt_methods.clamp$2(1 / 0, t2, t3), B.JSInt_methods.clamp$2(1 / 0, t4, t5)); } }; A.FloatingActionButtonLocation.prototype = { toString$0(_) { return "FloatingActionButtonLocation"; } }; A.StandardFabLocation.prototype = { getOffset$1(scaffoldGeometry) { var t1 = this.getOffsetX$2(scaffoldGeometry, 0), contentBottom = scaffoldGeometry.contentBottom, bottomSheetHeight = scaffoldGeometry.bottomSheetSize._dy, fabHeight = scaffoldGeometry.floatingActionButtonSize._dy, snackBarHeight = scaffoldGeometry.snackBarSize._dy, fabY = contentBottom - fabHeight - Math.max(16, scaffoldGeometry.minViewPadding.bottom - (scaffoldGeometry.scaffoldSize._dy - contentBottom) + 16); if (snackBarHeight > 0) fabY = Math.min(fabY, contentBottom - snackBarHeight - fabHeight - 16); return new A.Offset(t1, (bottomSheetHeight > 0 ? Math.min(fabY, contentBottom - bottomSheetHeight - fabHeight / 2) : fabY) + 0); } }; A.FabFloatOffsetY.prototype = {}; A.FabEndOffsetX.prototype = { getOffsetX$2(scaffoldGeometry, adjustment) { switch (scaffoldGeometry.textDirection.index) { case 0: return 16 + scaffoldGeometry.minInsets.left - adjustment; case 1: return scaffoldGeometry.scaffoldSize._dx - 16 - scaffoldGeometry.minInsets.right - scaffoldGeometry.floatingActionButtonSize._dx + adjustment; } } }; A._EndFloatFabLocation.prototype = { toString$0(_) { return "FloatingActionButtonLocation.endFloat"; } }; A.FloatingActionButtonAnimator.prototype = { toString$0(_) { return "FloatingActionButtonAnimator"; } }; A._ScalingFabMotionAnimator.prototype = { getOffset$3$begin$end$progress(begin, end, progress) { if (progress < 0.5) return begin; else return end; } }; A._AnimationSwap.prototype = { get$value(_) { var t1, _this = this; if (A._lateReadCheck(_this.parent.__AnimationController__value, "_value") < _this.swapThreshold) { t1 = _this.first; t1 = t1.get$value(t1); } else { t1 = _this.next; t1 = t1.get$value(t1); } return t1; } }; A.__EndFloatFabLocation_StandardFabLocation_FabEndOffsetX.prototype = {}; A.__EndFloatFabLocation_StandardFabLocation_FabEndOffsetX_FabFloatOffsetY.prototype = {}; A.FloatingActionButtonThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.foregroundColor, _this.backgroundColor, _this.focusColor, _this.hoverColor, _this.splashColor, _this.elevation, _this.focusElevation, _this.hoverElevation, _this.disabledElevation, _this.highlightElevation, _this.shape, _this.enableFeedback, _this.sizeConstraints, _this.smallSizeConstraints, _this.largeSizeConstraints, _this.extendedSizeConstraints, _this.extendedIconLabelSpacing, _this.extendedPadding, _this.extendedTextStyle, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.FloatingActionButtonThemeData) if (J.$eq$(other.foregroundColor, _this.foregroundColor)) if (J.$eq$(other.backgroundColor, _this.backgroundColor)) if (J.$eq$(other.focusColor, _this.focusColor)) if (J.$eq$(other.hoverColor, _this.hoverColor)) if (J.$eq$(other.splashColor, _this.splashColor)) if (other.elevation == _this.elevation) if (other.focusElevation == _this.focusElevation) if (other.hoverElevation == _this.hoverElevation) if (other.disabledElevation == _this.disabledElevation) if (other.highlightElevation == _this.highlightElevation) if (J.$eq$(other.shape, _this.shape)) t1 = J.$eq$(other.sizeConstraints, _this.sizeConstraints) && J.$eq$(other.smallSizeConstraints, _this.smallSizeConstraints) && J.$eq$(other.largeSizeConstraints, _this.largeSizeConstraints) && J.$eq$(other.extendedSizeConstraints, _this.extendedSizeConstraints) && other.extendedIconLabelSpacing == _this.extendedIconLabelSpacing && J.$eq$(other.extendedPadding, _this.extendedPadding) && J.$eq$(other.extendedTextStyle, _this.extendedTextStyle); 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._FloatingActionButtonThemeData_Object_Diagnosticable.prototype = {}; A.IconButton.prototype = { build$1(_, context) { var currentColor, unadjustedConstraints, t4, t5, result, t6, _this = this, _null = null, theme = A.Theme_of(context), t1 = _this.onPressed, t2 = t1 == null, t3 = !t2; if (t3) currentColor = _this.color; else currentColor = theme.disabledColor; unadjustedConstraints = _this.constraints; if (unadjustedConstraints == null) unadjustedConstraints = B.BoxConstraints_mlX; t4 = _this.padding; t5 = _this.iconSize; result = new A.ConstrainedBox(theme.visualDensity.effectiveConstraints$1(unadjustedConstraints), new A.Padding(t4, new A.SizedBox(t5, t5, new A.Align(_this.alignment, _null, _null, A.IconTheme_merge(_this.icon, new A.IconThemeData(currentColor, _null, t5)), _null), _null), _null), _null); t6 = _this.tooltip; if (t6 != null) result = A.Tooltip$(result, t6); t2 = t2 ? B.SystemMouseCursor_forbidden : B.SystemMouseCursor_click; t6 = _this.splashRadius; t4 = t6 == null ? Math.max(35, (t5 + Math.min(t4.get$horizontal(), t4.get$_top(t4) + t4.get$_bottom(t4))) * 0.7) : t6; t4 = A.InkResponse$(false, _null, t3, result, false, _null, true, false, theme.focusColor, _null, theme.highlightColor, B.BoxShape_1, theme.hoverColor, _null, t2, _null, _null, _null, _null, _null, t1, _null, _null, _null, t4, theme.splashColor, _null); return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, _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, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, t4, _null); } }; A.Ink.prototype = { get$_ink_decoration$_paddingIncludingDecoration() { var t1 = this.decoration; if (t1 == null || t1.get$padding(t1) == null) return B.EdgeInsets_0_0_0_0; t1 = t1.get$padding(t1); t1.toString; return t1; }, createState$0() { return new A._InkState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); } }; A._InkState.prototype = { _handleRemoved$0() { this._ink = null; }, deactivate$0() { var t2, t1 = this._ink; if (t1 != null) { t2 = t1._ink_decoration$_painter; if (t2 != null) t2.dispose$0(0); t1.super$InkFeature$dispose(0); } this.super$State$deactivate(); }, _build$1(context) { var t3, t4, _this = this, t1 = _this._ink, t2 = _this._widget; if (t1 == null) { t1 = t2.decoration; t2 = A.createLocalImageConfiguration(context, null); t3 = context.findAncestorRenderObjectOfType$1$0(type$._RenderInkFeatures); t3.toString; t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._boxKey).get$renderObject(); t4.toString; t4 = new A.InkDecoration(t2, t3, type$.RenderBox._as(t4), _this.get$_handleRemoved()); t4.set$decoration(0, t1); t3.addInkFeature$1(t4); _this._ink = t4; } else { t1.set$decoration(0, t2.decoration); t1 = _this._ink; t1.toString; t1.set$configuration(A.createLocalImageConfiguration(context, null)); } t1 = _this._widget.child; return t1; }, build$1(_, context) { var _this = this, t1 = _this._widget.get$_ink_decoration$_paddingIncludingDecoration(); _this._widget.toString; return new A.Padding(t1, new A.Builder(_this.get$_build(), null), _this._boxKey); } }; A.InkDecoration.prototype = { set$decoration(_, value) { var t1, _this = this; if (J.$eq$(value, _this._ink_decoration$_decoration)) return; _this._ink_decoration$_decoration = value; t1 = _this._ink_decoration$_painter; if (t1 != null) t1.dispose$0(0); t1 = _this._ink_decoration$_decoration; _this._ink_decoration$_painter = t1 == null ? null : t1.createBoxPainter$1(_this.get$_handleChanged()); _this._controller.markNeedsPaint$0(); }, set$configuration(value) { if (value.$eq(0, this._ink_decoration$_configuration)) return; this._ink_decoration$_configuration = value; this._controller.markNeedsPaint$0(); }, _handleChanged$0() { this._controller.markNeedsPaint$0(); }, paintFeature$2(canvas, transform) { var originOffset, t1, t2, sizedConfiguration, _this = this; if (_this._ink_decoration$_painter == null) return; originOffset = A.MatrixUtils_getAsTranslation(transform); t1 = _this._ink_decoration$_configuration; t2 = _this.referenceBox._size; t2.toString; sizedConfiguration = t1.copyWith$1$size(t2); if (originOffset == null) { canvas.save$0(0); canvas.transform$1(0, transform._m4storage); _this._ink_decoration$_painter.paint$3(canvas, B.Offset_0_0, sizedConfiguration); canvas.restore$0(0); } else _this._ink_decoration$_painter.paint$3(canvas, originOffset, sizedConfiguration); } }; A.InkHighlight.prototype = { _handleAlphaStatusChanged$1($status) { if ($status === B.AnimationStatus_0 && !this._active) { A._lateReadCheck(this.__InkHighlight__alphaController, "_alphaController").dispose$0(0); this.super$InkFeature$dispose(0); } }, dispose$0(_) { A._lateReadCheck(this.__InkHighlight__alphaController, "_alphaController").dispose$0(0); this.super$InkFeature$dispose(0); }, _paintHighlight$3(canvas, rect, paint) { var t1, t2, _this = this; canvas.save$0(0); t1 = _this._ink_highlight$_customBorder; if (t1 != null) canvas.clipPath$1(0, t1.getOuterPath$2$textDirection(rect, _this._ink_highlight$_textDirection)); switch (_this._ink_highlight$_shape.index) { case 1: t1 = rect.get$center(); t2 = _this._ink_highlight$_radius; canvas.drawCircle$3(0, t1, t2 == null ? 35 : t2, paint); break; case 0: t1 = _this._ink_highlight$_borderRadius; if (!t1.$eq(0, B.BorderRadius_tLn)) canvas.drawRRect$2(0, A.RRect$fromRectAndCorners(rect, t1.bottomLeft, t1.bottomRight, t1.topLeft, t1.topRight), paint); else canvas.drawRect$2(0, rect, paint); break; } canvas.restore$0(0); }, paintFeature$2(canvas, transform) { var t2, t3, originOffset, rect, _this = this, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._ink_well$_color; t2 = A._lateReadCheck(_this.__InkHighlight__alpha, "_alpha"); t3 = t2._evaluatable; t2 = t2.parent; paint.set$color(0, A.Color$fromARGB(t3.transform$1(0, t2.get$value(t2)), t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); originOffset = A.MatrixUtils_getAsTranslation(transform); t1 = _this._rectCallback; if (t1 != null) rect = t1.call$0(); else { t1 = _this.referenceBox._size; rect = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } if (originOffset == null) { canvas.save$0(0); canvas.transform$1(0, transform._m4storage); _this._paintHighlight$3(canvas, rect, paint); canvas.restore$0(0); } else _this._paintHighlight$3(canvas, rect.shift$1(originOffset), paint); } }; A._getClipCallback_closure0.prototype = { call$0() { var t1 = this.referenceBox._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, $signature: 158 }; A._InkRippleFactory.prototype = { create$11$borderRadius$color$containedInkWell$controller$customBorder$onRemoved$position$radius$rectCallback$referenceBox$textDirection(_, borderRadius, color, containedInkWell, controller, customBorder, onRemoved, position, radius, rectCallback, referenceBox, textDirection) { var t2, size, t3, t4, t5, t6, t7, t8, t9, t10, _null = null, t1 = borderRadius == null ? B.BorderRadius_tLn : borderRadius; if (radius == null) { if (rectCallback != null) { t2 = rectCallback.call$0(); size = new A.Size(t2.right - t2.left, t2.bottom - t2.top); } else { t2 = referenceBox._size; t2.toString; size = t2; } t2 = Math.max(size.bottomRight$1(0, B.Offset_0_0).get$distance(), new A.Offset(0 + size._dx, 0).$sub(0, new A.Offset(0, 0 + size._dy)).get$distance()) / 2; } else t2 = radius; t1 = new A.InkRipple(position, t1, customBorder, t2, A._getClipCallback0(referenceBox, containedInkWell, rectCallback), textDirection, color, controller, referenceBox, onRemoved); t3 = controller.vsync; t4 = A.AnimationController$(_null, B.Duration_75000, _null, 1, _null, t3); t5 = controller.get$markNeedsPaint(); t4.didRegisterListener$0(); t6 = t4.AnimationLocalListenersMixin__listeners; t6._isDirty = true; t6._list.push(t5); t4.forward$0(0); t1.__InkRipple__fadeInController = t4; t4 = A._lateReadCheck(t4, "_fadeInController"); t6 = color.get$value(color); t7 = type$.Animation_double; t8 = type$.IntTween; t1.__InkRipple__fadeIn = new A._AnimatedEvaluation(t7._as(t4), new A.IntTween(0, t6 >>> 24 & 255), t8._eval$1("_AnimatedEvaluation<Animatable.T>")); t6 = A.AnimationController$(_null, B.Duration_1000000, _null, 1, _null, t3); t6.didRegisterListener$0(); t4 = t6.AnimationLocalListenersMixin__listeners; t4._isDirty = true; t4._list.push(t5); t6.forward$0(0); t1.__InkRipple__radiusController = t6; t6 = A._lateReadCheck(t6, "_radiusController"); t4 = type$.Tween_double; t9 = $.$get$InkRipple__easeCurveTween(); t10 = t4._eval$1("_ChainedEvaluation<Animatable.T>"); t1.__InkRipple__radius = new A._AnimatedEvaluation(t7._as(t6), new A._ChainedEvaluation(t9, new A.Tween(t2 * 0.3, t2 + 5, t4), t10), t10._eval$1("_AnimatedEvaluation<Animatable.T>")); t3 = A.AnimationController$(_null, B.Duration_375000, _null, 1, _null, t3); t3.didRegisterListener$0(); t10 = t3.AnimationLocalListenersMixin__listeners; t10._isDirty = true; t10._list.push(t5); t3.addStatusListener$1(t1.get$_ink_ripple$_handleAlphaStatusChanged()); t1.__InkRipple__fadeOutController = t3; t3 = A._lateReadCheck(t3, "_fadeOutController"); t5 = color.get$value(color); t10 = $.$get$InkRipple__fadeOutIntervalTween(); t8 = t8._eval$1("_ChainedEvaluation<Animatable.T>"); t1.__InkRipple__fadeOut = new A._AnimatedEvaluation(t7._as(t3), new A._ChainedEvaluation(t10, new A.IntTween(t5 >>> 24 & 255, 0), t8), t8._eval$1("_AnimatedEvaluation<Animatable.T>")); controller.addInkFeature$1(t1); return t1; } }; A.InkRipple.prototype = { confirm$0(_) { var t1 = A._lateReadCheck(this.__InkRipple__radiusController, "_radiusController"); t1.duration = B.Duration_225000; t1.forward$0(0); A._lateReadCheck(this.__InkRipple__fadeInController, "_fadeInController").forward$0(0); t1 = A._lateReadCheck(this.__InkRipple__fadeOutController, "_fadeOutController"); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.C__Linear, B.Duration_375000); }, cancel$0(_) { var fadeOutValue, t1, _this = this, _s17_ = "_fadeInController", _s18_ = "_fadeOutController"; A._lateReadCheck(_this.__InkRipple__fadeInController, _s17_).stop$0(0); fadeOutValue = 1 - A._lateReadCheck(A._lateReadCheck(_this.__InkRipple__fadeInController, _s17_).__AnimationController__value, "_value"); A._lateReadCheck(_this.__InkRipple__fadeOutController, _s18_).set$value(0, fadeOutValue); if (fadeOutValue < 1) { t1 = A._lateReadCheck(_this.__InkRipple__fadeOutController, _s18_); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.C__Linear, B.Duration_75000); } }, _ink_ripple$_handleAlphaStatusChanged$1($status) { if ($status === B.AnimationStatus_3) this.dispose$0(0); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.__InkRipple__radiusController, "_radiusController").dispose$0(0); A._lateReadCheck(_this.__InkRipple__fadeInController, "_fadeInController").dispose$0(0); A._lateReadCheck(_this.__InkRipple__fadeOutController, "_fadeOutController").dispose$0(0); _this.super$InkFeature$dispose(0); }, paintFeature$2(canvas, transform) { var t2, alpha, paint, t3, _this = this, t1 = A._lateReadCheck(_this.__InkRipple__fadeInController, "_fadeInController")._ticker; if (t1 != null && t1._ticker$_future != null) { t1 = A._lateReadCheck(_this.__InkRipple__fadeIn, "_fadeIn"); t2 = t1._evaluatable; t1 = t1.parent; alpha = t2.transform$1(0, t1.get$value(t1)); } else { t1 = A._lateReadCheck(_this.__InkRipple__fadeOut, "_fadeOut"); t2 = t1._evaluatable; t1 = t1.parent; alpha = t2.transform$1(0, t1.get$value(t1)); } t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._ink_well$_color; paint.set$color(0, A.Color$fromARGB(alpha, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); t1 = A.Offset_lerp(_this._ink_ripple$_position, _this.referenceBox._size.center$1(B.Offset_0_0), B.Cubic_JUR0.transform$1(0, A._lateReadCheck(A._lateReadCheck(_this.__InkRipple__radiusController, "_radiusController").__AnimationController__value, "_value"))); t1.toString; t2 = A._lateReadCheck(_this.__InkRipple__radius, "_radius"); t3 = t2._evaluatable; t2 = t2.parent; _this.paintInkCircle$9$borderRadius$canvas$center$clipCallback$customBorder$paint$radius$textDirection$transform(_this._ink_ripple$_borderRadius, canvas, t1, _this._clipCallback, _this._customBorder, paint, t3.transform$1(0, t2.get$value(t2)), _this._ink_ripple$_textDirection, transform); } }; A._getClipCallback_closure.prototype = { call$0() { var t1 = this.referenceBox._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, $signature: 158 }; A._InkSplashFactory.prototype = { create$11$borderRadius$color$containedInkWell$controller$customBorder$onRemoved$position$radius$rectCallback$referenceBox$textDirection(_, borderRadius, color, containedInkWell, controller, customBorder, onRemoved, position, radius, rectCallback, referenceBox, textDirection) { var t3, t4, t5, t6, t7, _null = null, t1 = borderRadius == null ? B.BorderRadius_tLn : borderRadius, t2 = radius == null ? A._getTargetRadius(referenceBox, containedInkWell, rectCallback, position) : radius; t1 = new A.InkSplash(position, t1, customBorder, t2, A._getClipCallback(referenceBox, containedInkWell, rectCallback), !containedInkWell, textDirection, color, controller, referenceBox, onRemoved); t3 = controller.vsync; t4 = A.AnimationController$(_null, B.Duration_1000000, _null, 1, _null, t3); t5 = controller.get$markNeedsPaint(); t4.didRegisterListener$0(); t6 = t4.AnimationLocalListenersMixin__listeners; t6._isDirty = true; t6._list.push(t5); t4.forward$0(0); t1.__InkSplash__radiusController = t4; t6 = type$.Tween_double; t7 = type$.Animation_double; t1.__InkSplash__radius = new A._AnimatedEvaluation(t7._as(A._lateReadCheck(t4, "_radiusController")), new A.Tween(0, t2, t6), t6._eval$1("_AnimatedEvaluation<Animatable.T>")); t3 = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, t3); t3.didRegisterListener$0(); t6 = t3.AnimationLocalListenersMixin__listeners; t6._isDirty = true; t6._list.push(t5); t3.addStatusListener$1(t1.get$_ink_splash$_handleAlphaStatusChanged()); t1._alphaController = t3; t5 = color.get$value(color); t1.__InkSplash__alpha = new A._AnimatedEvaluation(t7._as(t3), new A.IntTween(t5 >>> 24 & 255, 0), type$.IntTween._eval$1("_AnimatedEvaluation<Animatable.T>")); controller.addInkFeature$1(t1); return t1; } }; A.InkSplash.prototype = { confirm$0(_) { var duration = B.JSNumber_methods.floor$0(this._targetRadius / 1), t1 = A._lateReadCheck(this.__InkSplash__radiusController, "_radiusController"); t1.duration = A.Duration$(0, 0, 0, duration, 0); t1.forward$0(0); this._alphaController.forward$0(0); }, cancel$0(_) { var t1 = this._alphaController; if (t1 != null) t1.forward$0(0); }, _ink_splash$_handleAlphaStatusChanged$1($status) { if ($status === B.AnimationStatus_3) this.dispose$0(0); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.__InkSplash__radiusController, "_radiusController").dispose$0(0); _this._alphaController.dispose$0(0); _this._alphaController = null; _this.super$InkFeature$dispose(0); }, paintFeature$2(canvas, transform) { var t2, t3, center, _this = this, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._ink_well$_color; t2 = A._lateReadCheck(_this.__InkSplash__alpha, "_alpha"); t3 = t2._evaluatable; t2 = t2.parent; paint.set$color(0, A.Color$fromARGB(t3.transform$1(0, t2.get$value(t2)), t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)); center = _this._ink_splash$_position; if (_this._repositionToReferenceBox) center = A.Offset_lerp(center, _this.referenceBox._size.center$1(B.Offset_0_0), A._lateReadCheck(A._lateReadCheck(_this.__InkSplash__radiusController, "_radiusController").__AnimationController__value, "_value")); center.toString; t1 = A._lateReadCheck(_this.__InkSplash__radius, "_radius"); t2 = t1._evaluatable; t1 = t1.parent; _this.paintInkCircle$9$borderRadius$canvas$center$clipCallback$customBorder$paint$radius$textDirection$transform(_this._ink_splash$_borderRadius, canvas, center, _this._ink_splash$_clipCallback, _this._ink_splash$_customBorder, paint, t2.transform$1(0, t1.get$value(t1)), _this._ink_splash$_textDirection, transform); } }; A.InteractiveInkFeature.prototype = { set$color(_, value) { if (value.$eq(0, this._ink_well$_color)) return; this._ink_well$_color = value; this._controller.markNeedsPaint$0(); }, paintInkCircle$9$borderRadius$canvas$center$clipCallback$customBorder$paint$radius$textDirection$transform(borderRadius, canvas, center, clipCallback, customBorder, paint, radius, textDirection, transform) { var rect, originOffset = A.MatrixUtils_getAsTranslation(transform); canvas.save$0(0); if (originOffset == null) canvas.transform$1(0, transform._m4storage); else canvas.translate$2(0, originOffset._dx, originOffset._dy); if (clipCallback != null) { rect = clipCallback.call$0(); if (customBorder != null) canvas.clipPath$1(0, customBorder.getOuterPath$2$textDirection(rect, textDirection)); else if (!borderRadius.$eq(0, B.BorderRadius_tLn)) canvas.clipRRect$1(0, A.RRect$fromRectAndCorners(rect, borderRadius.bottomLeft, borderRadius.bottomRight, borderRadius.topLeft, borderRadius.topRight)); else canvas.clipRect$1(0, rect); } canvas.drawCircle$3(0, center, radius, paint); canvas.restore$0(0); } }; A.InteractiveInkFeatureFactory.prototype = {}; A._ParentInkResponseProvider.prototype = { updateShouldNotify$1(oldWidget) { return this.state !== oldWidget.state; } }; A.InkResponse.prototype = { getRectCallback$1(referenceBox) { return null; }, build$1(_, context) { var _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._ParentInkResponseProvider), parentState = t1 == null ? null : t1.state; return new A._InkResponseStateWidget(_this.child, _this.onTap, _this.onTapDown, _this.onTapCancel, _this.onDoubleTap, _this.onLongPress, _this.onHighlightChanged, _this.onHover, _this.mouseCursor, _this.containedInkWell, _this.highlightShape, _this.radius, _this.borderRadius, _this.customBorder, _this.focusColor, _this.hoverColor, _this.highlightColor, _this.overlayColor, _this.splashColor, _this.splashFactory, _this.enableFeedback, false, _this.onFocusChange, _this.autofocus, _this.focusNode, _this.canRequestFocus, parentState, _this.get$getRectCallback(), _this.get$debugCheckContext(), null); }, debugCheckContext$1(context) { return true; } }; A._InkResponseStateWidget.prototype = { createState$0() { return new A._InkResponseState(A.LinkedHashMap_LinkedHashMap$_empty(type$._HighlightType, type$.nullable_InkHighlight), new A.ObserverList(A._setArrayType([], type$.JSArray__ParentInkResponseState), type$.ObserverList__ParentInkResponseState), null, B._StateLifecycle_0); } }; A._HighlightType.prototype = { toString$0(_) { return "_HighlightType." + this._core$_name; } }; A._InkResponseState.prototype = { get$highlightsExist() { var t1 = this._highlights; t1 = t1.get$values(t1); t1 = new A.WhereIterable(t1, new A._InkResponseState_highlightsExist_closure(), A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>")); return !t1.get$isEmpty(t1); }, markChildInkResponsePressed$2(childState, value) { var nowAnyPressed, t1 = this._activeChildren, t2 = t1._list, t3 = t2.length; if (value) { t1._isDirty = true; t2.push(childState); } else t1.remove$1(0, childState); nowAnyPressed = t2.length !== 0; if (nowAnyPressed !== (t3 !== 0)) { t1 = this._widget.parentState; if (t1 != null) t1.markChildInkResponsePressed$2(this, nowAnyPressed); } }, _simulateTap$1(intent) { var t1 = this._framework$_element; t1.toString; this._startSplash$1$context(t1); this._handleTap$0(); }, _simulateTap$0() { return this._simulateTap$1(null); }, initState$0() { this.super$__InkResponseState_State_AutomaticKeepAliveClientMixin$initState(); $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._focus_manager$_listeners.add$1(0, this.get$_ink_well$_handleFocusHighlightModeChange()); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; t1.toString; if (_this._isWidgetEnabled$1(t1) !== _this._isWidgetEnabled$1(oldWidget)) { t1 = _this._widget; t1.toString; if (_this._isWidgetEnabled$1(t1)) _this.updateHighlight$3$callOnHover$value(B._HighlightType_1, false, _this._hovering); _this._updateFocusHighlights$0(); } }, dispose$0(_) { $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._focus_manager$_listeners.remove$1(0, this.get$_ink_well$_handleFocusHighlightModeChange()); this.super$State$dispose(0); }, get$wantKeepAlive() { if (!this.get$highlightsExist()) { var t1 = this._splashes; t1 = t1 != null && t1._collection$_length !== 0; } else t1 = true; return t1; }, getHighlightColorForType$1(type) { var t1, _this = this; switch (type.index) { case 0: t1 = _this._widget.highlightColor; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).highlightColor; } return t1; case 2: t1 = _this._widget.overlayColor; t1 = t1 == null ? null : t1.resolve$1(B.Set_YGDIm); if (t1 == null) t1 = _this._widget.focusColor; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).focusColor; } return t1; case 1: t1 = _this._widget.overlayColor; t1 = t1 == null ? null : t1.resolve$1(B.Set_WLNEa); if (t1 == null) t1 = _this._widget.hoverColor; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).hoverColor; } return t1; } }, getFadeDurationForType$1(type) { switch (type.index) { case 0: return B.Duration_200000; case 1: case 2: return B.Duration_50000; } }, updateHighlight$3$callOnHover$value(type, callOnHover, value) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _s16_ = "_alphaController", t1 = _this._highlights, highlight = t1.$index(0, type); if (type === B._HighlightType_0) { t2 = _this._widget.parentState; if (t2 != null) t2.markChildInkResponsePressed$2(_this, value); } t2 = highlight == null; if (value === (!t2 && highlight._active)) return; if (value) if (t2) { t2 = _this._framework$_element.get$renderObject(); t2.toString; type$.RenderBox._as(t2); t3 = _this._framework$_element.findAncestorRenderObjectOfType$1$0(type$._RenderInkFeatures); t3.toString; t4 = _this.getHighlightColorForType$1(type); t5 = _this._widget; t6 = t5.highlightShape; t7 = t5.radius; t8 = t5.borderRadius; t9 = t5.customBorder; t5 = t5.getRectCallback.call$1(t2); t10 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t10.toString; t11 = _this.getFadeDurationForType$1(type); if (t8 == null) t8 = B.BorderRadius_tLn; t2 = new A.InkHighlight(t6, t7, t8, t9, t5, t10.textDirection, t4, t3, t2, new A._InkResponseState_updateHighlight_handleInkRemoval(_this, type)); t11 = A.AnimationController$(null, t11, null, 1, null, t3.vsync); t11.didRegisterListener$0(); t10 = t11.AnimationLocalListenersMixin__listeners; t10._isDirty = true; t10._list.push(t3.get$markNeedsPaint()); t11.addStatusListener$1(t2.get$_handleAlphaStatusChanged()); t11.forward$0(0); t2.__InkHighlight__alphaController = t11; t11 = A._lateReadCheck(t11, _s16_); t4 = t4.get$value(t4); t2.__InkHighlight__alpha = new A._AnimatedEvaluation(type$.Animation_double._as(t11), new A.IntTween(0, t4 >>> 24 & 255), type$.IntTween._eval$1("_AnimatedEvaluation<Animatable.T>")); t3.addInkFeature$1(t2); t1.$indexSet(0, type, t2); _this.updateKeepAlive$0(); } else { highlight._active = true; A._lateReadCheck(highlight.__InkHighlight__alphaController, _s16_).forward$0(0); } else { highlight._active = false; A._lateReadCheck(highlight.__InkHighlight__alphaController, _s16_).reverse$0(0); } switch (type.index) { case 0: t1 = _this._widget.onHighlightChanged; if (t1 != null) t1.call$1(value); break; case 1: if (callOnHover) { t1 = _this._widget.onHover; if (t1 != null) t1.call$1(value); } break; case 2: break; } }, updateHighlight$2$value(type, value) { return this.updateHighlight$3$callOnHover$value(type, true, value); }, _createInkFeature$1(globalPosition) { var t3, position, t4, color, rectCallback, borderRadius, customBorder, t5, t6, t7, _this = this, t1 = {}, t2 = _this._framework$_element.findAncestorRenderObjectOfType$1$0(type$._RenderInkFeatures); t2.toString; t3 = _this._framework$_element.get$renderObject(); t3.toString; type$.RenderBox._as(t3); position = t3.globalToLocal$1(globalPosition); t4 = _this._widget.overlayColor; t4 = t4 == null ? null : t4.resolve$1(B.Set_cMbP4); color = t4 == null ? _this._widget.splashColor : t4; if (color == null) { t4 = _this._framework$_element; t4.toString; color = A.Theme_of(t4).splashColor; } t4 = _this._widget; rectCallback = t4.containedInkWell ? t4.getRectCallback.call$1(t3) : null; t4 = _this._widget; borderRadius = t4.borderRadius; customBorder = t4.customBorder; t1.splash = null; t4 = t4.splashFactory; if (t4 == null) { t4 = _this._framework$_element; t4.toString; t4 = A.Theme_of(t4).splashFactory; } t5 = _this._widget; t6 = t5.containedInkWell; t5 = t5.radius; t7 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t7.toString; return t1.splash = t4.create$11$borderRadius$color$containedInkWell$controller$customBorder$onRemoved$position$radius$rectCallback$referenceBox$textDirection(0, borderRadius, color, t6, t2, customBorder, new A._InkResponseState__createInkFeature_onRemoved(t1, _this), position, t5, rectCallback, t3, t7.textDirection); }, _ink_well$_handleFocusHighlightModeChange$1(mode) { if (this._framework$_element == null) return; this.setState$1(new A._InkResponseState__handleFocusHighlightModeChange_closure(this)); }, get$_shouldShowFocus() { var mode, _this = this, t1 = _this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); mode = t1 == null ? null : t1.navigationMode; switch ((mode == null ? B.NavigationMode_0 : mode).index) { case 0: t1 = _this._widget; t1.toString; return _this._isWidgetEnabled$1(t1) && _this._hasFocus; case 1: return _this._hasFocus; } }, _updateFocusHighlights$0() { var showFocus, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._highlightMode; switch ((t1 == null ? A.FocusManager__defaultModeForPlatform() : t1).index) { case 0: showFocus = false; break; case 1: showFocus = this.get$_shouldShowFocus(); break; default: showFocus = null; } this.updateHighlight$2$value(B._HighlightType_2, showFocus); }, _handleFocusUpdate$1(hasFocus) { var t1; this._hasFocus = hasFocus; this._updateFocusHighlights$0(); t1 = this._widget.onFocusChange; if (t1 != null) t1.call$1(hasFocus); }, _handleTapDown$1(details) { var t1; if (this._activeChildren._list.length !== 0) return; this._startSplash$1$details(details); t1 = this._widget.onTapDown; if (t1 != null) t1.call$1(details); }, _startSplash$2$context$details(context, details) { var t1, t2, globalPosition, splash, _this = this; if (context != null) { t1 = context.get$renderObject(); t1.toString; type$.RenderBox._as(t1); t2 = t1._size; t2 = new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy).get$center(); globalPosition = A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, null), t2); } else globalPosition = details.globalPosition; splash = _this._createInkFeature$1(globalPosition); t1 = _this._splashes; (t1 == null ? _this._splashes = A.HashSet_HashSet(type$.InteractiveInkFeature) : t1).add$1(0, splash); _this._currentSplash = splash; _this.updateKeepAlive$0(); _this.updateHighlight$2$value(B._HighlightType_0, true); }, _startSplash$1$details(details) { return this._startSplash$2$context$details(null, details); }, _startSplash$1$context(context) { return this._startSplash$2$context$details(context, null); }, _handleTap$0() { var _this = this, t1 = _this._currentSplash; if (t1 != null) t1.confirm$0(0); _this._currentSplash = null; _this.updateHighlight$2$value(B._HighlightType_0, false); t1 = _this._widget; if (t1.onTap != null) { if (t1.enableFeedback) { t1 = _this._framework$_element; t1.toString; A.Feedback_forTap(t1); } t1 = _this._widget.onTap; if (t1 != null) t1.call$0(); } }, _handleTapCancel$0() { var _this = this, t1 = _this._currentSplash; if (t1 != null) t1.cancel$0(0); _this._currentSplash = null; t1 = _this._widget.onTapCancel; if (t1 != null) t1.call$0(); _this.updateHighlight$2$value(B._HighlightType_0, false); }, _handleDoubleTap$0() { var t1 = this._currentSplash; if (t1 != null) t1.confirm$0(0); this._currentSplash = null; t1 = this._widget.onDoubleTap; if (t1 != null) t1.call$0(); }, deactivate$0() { var t2, t3, t4, t5, t6, value, result, _this = this, t1 = _this._splashes; if (t1 != null) { _this._splashes = null; for (t2 = A._instanceType(t1), t1 = new A._HashSetIterator(t1, t1._computeElements$0(), t2._eval$1("_HashSetIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).dispose$0(0); _this._currentSplash = null; } for (t1 = _this._highlights, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t1.$index(0, t3); if (t4 != null) { t5 = A._lateReadCheck(t4.__InkHighlight__alphaController, "_alphaController"); t5._ticker.dispose$0(0); t5._ticker = null; t6 = t5.AnimationLocalStatusListenersMixin__statusListeners; t6._isDirty = false; B.JSArray_methods.set$length(t6._list, 0); value = t6.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t6.$ti._precomputed1); A._lateInitializeOnceCheck(t6.__ObserverList__set, "_set"); t6.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } t6 = t5.AnimationLocalListenersMixin__listeners; t6._isDirty = false; B.JSArray_methods.set$length(t6._list, 0); value = t6.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t6.$ti._precomputed1); A._lateInitializeOnceCheck(t6.__ObserverList__set, "_set"); t6.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } t5.super$AnimationEagerListenerMixin$dispose(0); t4.super$InkFeature$dispose(0); } t1.$indexSet(0, t3, null); } t1 = _this._widget.parentState; if (t1 != null) t1.markChildInkResponsePressed$2(_this, false); _this.super$__InkResponseState_State_AutomaticKeepAliveClientMixin$deactivate(); }, _isWidgetEnabled$1(widget) { return widget.onTap != null || widget.onDoubleTap != null || false; }, _handleMouseEnter$1($event) { var t1, _this = this; _this._hovering = true; t1 = _this._widget; t1.toString; if (_this._isWidgetEnabled$1(t1)) _this.updateHighlight$2$value(B._HighlightType_1, _this._hovering); }, _handleMouseExit$1($event) { this._hovering = false; this.updateHighlight$2$value(B._HighlightType_1, false); }, get$_ink_well$_canRequestFocus() { var mode, _this = this, t1 = _this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); mode = t1 == null ? null : t1.navigationMode; switch ((mode == null ? B.NavigationMode_0 : mode).index) { case 0: t1 = _this._widget; t1.toString; return _this._isWidgetEnabled$1(t1) && _this._widget.canRequestFocus; case 1: return true; } }, build$1(_, context) { var t1, t2, t3, t4, effectiveMouseCursor, value, result, t5, t6, t7, t8, t9, _this = this, _null = null; _this.super$AutomaticKeepAliveClientMixin$build(0, context); for (t1 = _this._highlights, t2 = t1.get$keys(t1), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t1.$index(0, t3); if (t4 != null) t4.set$color(0, _this.getHighlightColorForType$1(t3)); } t1 = _this._currentSplash; if (t1 != null) { t2 = _this._widget.overlayColor; t2 = t2 == null ? _null : t2.resolve$1(B.Set_cMbP4); if (t2 == null) t2 = _this._widget.splashColor; t1.set$color(0, t2 == null ? A.Theme_of(context).splashColor : t2); } t1 = _this._widget; t2 = t1.mouseCursor; if (t2 == null) t2 = B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable; t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (!_this._isWidgetEnabled$1(t1)) t3.add$1(0, B.MaterialState_6); if (_this._hovering) { t1 = _this._widget; t1.toString; t1 = _this._isWidgetEnabled$1(t1); } else t1 = false; if (t1) t3.add$1(0, B.MaterialState_0); if (_this._hasFocus) t3.add$1(0, B.MaterialState_1); effectiveMouseCursor = A.MaterialStateProperty_resolveAs(t2, t3, type$.MouseCursor); value = _this.___InkResponseState__actionMap; if (value === $) { t1 = _this.get$_simulateTap(); t2 = type$.JSArray_of_void_Function_Action_Intent; t3 = type$.ObserverList_of_void_Function_Action_Intent; result = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_ActivateIntent_OT9, new A.CallbackAction(t1, new A.ObserverList(A._setArrayType([], t2), t3), type$.CallbackAction_ActivateIntent), B.Type_ButtonActivateIntent_6Ij, new A.CallbackAction(t1, new A.ObserverList(A._setArrayType([], t2), t3), type$.CallbackAction_ButtonActivateIntent)], type$.Type, type$.Action_Intent); A._lateInitializeOnceCheck(_this.___InkResponseState__actionMap, "_actionMap"); _this.___InkResponseState__actionMap = result; value = result; } t1 = _this._widget.focusNode; t2 = _this.get$_ink_well$_canRequestFocus(); t3 = _this._widget; t4 = t3.autofocus; t5 = t3.onTap; t5 = t5 == null ? _null : _this.get$_simulateTap(); t3 = _this._isWidgetEnabled$1(t3) ? _this.get$_handleTapDown() : _null; t6 = _this._widget; t6.toString; t6 = _this._isWidgetEnabled$1(t6) ? _this.get$_handleTap() : _null; t7 = _this._widget; t7.toString; t7 = _this._isWidgetEnabled$1(t7) ? _this.get$_handleTapCancel() : _null; t8 = _this._widget; t9 = t8.onDoubleTap != null ? _this.get$_handleDoubleTap() : _null; t3 = A.GestureDetector$(B.HitTestBehavior_1, t8.child, B.DragStartBehavior_1, true, _null, t9, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t6, t7, t3, _null, _null, _null, _null, _null); return new A._ParentInkResponseProvider(_this, new A.Actions(value, A.Focus$(t4, t2, 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, _null, _null, _null, _null, _null, _null, _null, _null, _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), false, false, false, t3, _null), effectiveMouseCursor, _null, _this.get$_handleMouseEnter(), _this.get$_handleMouseExit(), _null), _null, _null, t1, true, _null, _this.get$_handleFocusUpdate(), _null, _null, _null), _null), _null); }, $is_ParentInkResponseState: 1 }; A._InkResponseState_highlightsExist_closure.prototype = { call$1(highlight) { return highlight != null; }, $signature: 508 }; A._InkResponseState_updateHighlight_handleInkRemoval.prototype = { call$0() { var t1 = this.$this; t1._highlights.$indexSet(0, this.type, null); t1.updateKeepAlive$0(); }, $signature: 0 }; A._InkResponseState__createInkFeature_onRemoved.prototype = { call$0() { var t3, t1 = this.$this, t2 = t1._splashes; if (t2 != null) { t3 = this._box_0; t2.remove$1(0, t3.splash); if (t1._currentSplash == t3.splash) t1._currentSplash = null; t1.updateKeepAlive$0(); } }, $signature: 0 }; A._InkResponseState__handleFocusHighlightModeChange_closure.prototype = { call$0() { this.$this._updateFocusHighlights$0(); }, $signature: 0 }; A.InkWell.prototype = {}; A.__InkResponseState_State_AutomaticKeepAliveClientMixin.prototype = { initState$0() { this.super$State$initState(); if (this.get$wantKeepAlive()) this._ensureKeepAlive$0(); }, deactivate$0() { var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A.InputBorder.prototype = {}; A._NoInputBorder.prototype = { copyWith$1$borderSide(borderSide) { return B._NoInputBorder_sqK; }, get$isOutline() { return false; }, get$dimensions() { return B.EdgeInsets_0_0_0_0; }, scale$1(_, t) { return B._NoInputBorder_sqK; }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRect$1(0, rect); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRect$1(0, rect); return t1; }, paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, gapExtent, gapPercentage, gapStart, textDirection) { }, paint$3$textDirection(canvas, rect, textDirection) { return this.paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, 0, 0, null, textDirection); } }; A.UnderlineInputBorder.prototype = { get$isOutline() { return false; }, copyWith$1$borderSide(borderSide) { return new A.UnderlineInputBorder(this.borderRadius, borderSide); }, get$dimensions() { return new A.EdgeInsets(0, 0, 0, this.borderSide.width); }, scale$1(_, t) { return new A.UnderlineInputBorder(B.BorderRadius_tLn1, this.borderSide.scale$1(0, t)); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(), t2 = rect.left, t3 = rect.top; t1.addRect$1(0, new A.Rect(t2, t3, t2 + (rect.right - t2), t3 + Math.max(0, rect.bottom - t3 - this.borderSide.width))); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this.borderRadius.toRRect$1(rect)); return t1; }, lerpFrom$2(a, t) { var t1, t2; if (a instanceof A.UnderlineInputBorder) { t1 = A.BorderSide_lerp(a.borderSide, this.borderSide, t); t2 = A.BorderRadius_lerp(a.borderRadius, this.borderRadius, t); t2.toString; return new A.UnderlineInputBorder(t2, t1); } return this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2; if (b instanceof A.UnderlineInputBorder) { t1 = A.BorderSide_lerp(this.borderSide, b.borderSide, t); t2 = A.BorderRadius_lerp(this.borderRadius, b.borderRadius, t); t2.toString; return new A.UnderlineInputBorder(t2, t1); } return this.super$ShapeBorder$lerpTo(b, t); }, paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, gapExtent, gapPercentage, gapStart, textDirection) { var t1 = this.borderRadius; if (!t1.bottomLeft.$eq(0, B.Radius_0_0) || !t1.bottomRight.$eq(0, B.Radius_0_0)) canvas.clipPath$1(0, this.getOuterPath$2$textDirection(rect, textDirection)); t1 = rect.bottom; canvas.drawLine$3(0, new A.Offset(rect.left, t1), new A.Offset(rect.right, t1), this.borderSide.toPaint$0()); }, paint$3$textDirection(canvas, rect, textDirection) { return this.paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, 0, 0, null, textDirection); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.InputBorder && other.borderSide.$eq(0, this.borderSide); }, get$hashCode(_) { var t1 = this.borderSide; return A.hashValues(t1.color, t1.width, t1.style, 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, 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.OutlineInputBorder.prototype = { get$isOutline() { return true; }, copyWith$1$borderSide(borderSide) { return new A.OutlineInputBorder(this.gapPadding, this.borderRadius, borderSide); }, get$dimensions() { var t1 = this.borderSide.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { var t1 = this.borderSide.scale$1(0, t); return new A.OutlineInputBorder(this.gapPadding * t, this.borderRadius.$mul(0, t), t1); }, lerpFrom$2(a, t) { var t1, t2; if (a instanceof A.OutlineInputBorder) { t1 = A.BorderRadius_lerp(a.borderRadius, this.borderRadius, t); t1.toString; t2 = A.BorderSide_lerp(a.borderSide, this.borderSide, t); return new A.OutlineInputBorder(a.gapPadding, t1, t2); } return this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2; if (b instanceof A.OutlineInputBorder) { t1 = A.BorderRadius_lerp(this.borderRadius, b.borderRadius, t); t1.toString; t2 = A.BorderSide_lerp(this.borderSide, b.borderSide, t); return new A.OutlineInputBorder(b.gapPadding, t1, t2); } return this.super$ShapeBorder$lerpTo(b, t); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this.borderRadius.toRRect$1(rect).inflate$1(-this.borderSide.width)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this.borderRadius.toRRect$1(rect)); return t1; }, _gapBorderPath$4(canvas, center, start, extent) { var t10, t11, t12, t13, t14, t15, t16, tlCornerArcSweep, path, t17, sweep, scaledRRect = center.scaleRadii$0(), t1 = scaledRRect.left, t2 = scaledRRect.top, t3 = scaledRRect.tlRadiusX, t4 = scaledRRect.tlRadiusY, t5 = scaledRRect.right, t6 = scaledRRect.trRadiusX, t7 = t6 * 2, t8 = t5 - t7, t9 = scaledRRect.trRadiusY, trCorner = new A.Rect(t8, t2, t8 + t7, t2 + t9 * 2); t7 = scaledRRect.brRadiusX * 2; t8 = t5 - t7; t10 = scaledRRect.bottom; t11 = scaledRRect.brRadiusY; t12 = t11 * 2; t13 = t10 - t12; t14 = t10 - scaledRRect.blRadiusY * 2; t15 = scaledRRect.blRadiusX; t16 = t15 * 2; tlCornerArcSweep = start < t3 ? Math.asin(B.JSNumber_methods.clamp$2(start / t3, -1, 1)) : 1.5707963267948966; path = A.Path_Path(); path.addArc$3(0, new A.Rect(t1, t2, t1 + t3 * 2, t2 + t4 * 2), 3.141592653589793, tlCornerArcSweep); path.moveTo$2(0, t1 + t3, t2); if (start > t3) path.lineTo$2(0, t1 + start, t2); t3 = start + extent; t17 = t5 - t1; if (t3 < t17 - t6) { path.relativeMoveTo$2(extent, 0); path.lineTo$2(0, t5 - t6, t2); path.addArc$3(0, trCorner, 4.71238898038469, 1.5707963267948966); } else if (t3 < t17) { sweep = Math.acos((t17 - t3) / t6); path.addArc$3(0, trCorner, 4.71238898038469 + sweep, 1.5707963267948966 - sweep); } path.moveTo$2(0, t5, t2 + t9); path.lineTo$2(0, t5, t10 - t11); path.addArc$3(0, new A.Rect(t8, t13, t8 + t7, t13 + t12), 0, 1.5707963267948966); path.lineTo$2(0, t1 + t15, t10); path.addArc$3(0, new A.Rect(t1, t14, t1 + t16, t14 + t16), 1.5707963267948966, 1.5707963267948966); path.lineTo$2(0, t1, t2 + t4); return path; }, paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, gapExtent, gapPercentage, gapStart, textDirection) { var t2, _this = this, t1 = _this.borderSide, paint = t1.toPaint$0(), center = _this.borderRadius.toRRect$1(rect).inflate$1(-(t1.width / 2)); if (gapStart == null || gapExtent <= 0 || gapPercentage === 0) canvas.drawRRect$2(0, center, paint); else { t1 = _this.gapPadding; t2 = A.lerpDouble(0, gapExtent + t1 * 2, gapPercentage); t2.toString; switch (textDirection.index) { case 0: canvas.drawPath$2(0, _this._gapBorderPath$4(canvas, center, Math.max(0, gapStart + t1 - t2), t2), paint); break; case 1: canvas.drawPath$2(0, _this._gapBorderPath$4(canvas, center, Math.max(0, gapStart - t1), t2), paint); break; } } }, paint$3$textDirection(canvas, rect, textDirection) { return this.paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, rect, 0, 0, null, textDirection); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.OutlineInputBorder && other.borderSide.$eq(0, _this.borderSide) && other.borderRadius.$eq(0, _this.borderRadius) && other.gapPadding === _this.gapPadding; }, get$hashCode(_) { return A.hashValues(this.borderSide, this.borderRadius, this.gapPadding, 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, 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.InputDatePickerFormField.prototype = { createState$0() { return new A._InputDatePickerFormFieldState(A.TextEditingController$(null), B._StateLifecycle_0); } }; A._InputDatePickerFormFieldState.prototype = { initState$0() { this.super$State$initState(); this._input_date_picker_form_field$_selectedDate = this._widget.initialDate; }, dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { this.super$State$didChangeDependencies(); this._updateValueForSelectedDate$0(); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); if (!J.$eq$(this._widget.initialDate, oldWidget.initialDate)) $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._InputDatePickerFormFieldState_didUpdateWidget_closure(this)); }, _updateValueForSelectedDate$0() { var t2, t3, month, day, year, textEditingValue, _this = this, t1 = _this._input_date_picker_form_field$_controller; if (_this._input_date_picker_form_field$_selectedDate != null) { t2 = _this._framework$_element; t2.toString; t2 = A.Localizations_of(t2, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; t3 = _this._input_date_picker_form_field$_selectedDate; t3.toString; month = t2._formatTwoDigitZeroPad$1(A.Primitives_getMonth(t3)); day = t2._formatTwoDigitZeroPad$1(A.Primitives_getDay(t3)); year = B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(A.Primitives_getYear(t3)), 4, "0"); t3 = month + "/" + day + "/" + year; _this._inputText = t3; textEditingValue = t1._change_notifier$_value.copyWith$1$text(t3); _this._widget.toString; t2 = _this._autoSelected; if (!t2) { textEditingValue = textEditingValue.copyWith$1$selection(A.TextSelection$(B.TextAffinity_1, 0, _this._inputText.length, false)); _this._autoSelected = true; } t1.super$ValueNotifier$value(0, textEditingValue); } else { _this._inputText = ""; t1.super$ValueNotifier$value(0, t1._change_notifier$_value.copyWith$1$text("")); } }, _isValidAcceptableDate$1(date) { var t1, t2, t3; if (date != null) { t1 = this._widget; t2 = t1.firstDate; t3 = date._value; if (t3 >= t2._value) if (t3 <= t1.lastDate._value) t1 = true; else t1 = false; else t1 = false; } else t1 = false; return t1; }, _validateDate$1(text) { var t2, date, _this = this, t1 = _this._framework$_element; t1.toString; t2 = type$.MaterialLocalizations; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, t2); t1.toString; date = t1.parseCompactDate$1(text); if (date == null) { _this._widget.toString; t1 = _this._framework$_element; t1.toString; A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, t2).toString; return "Invalid format."; } else if (!_this._isValidAcceptableDate$1(date)) { _this._widget.toString; t1 = _this._framework$_element; t1.toString; A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, t2).toString; return "Out of range."; } return null; }, _updateDate$2(text, callback) { var date, _this = this, t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; date = t1.parseCompactDate$1(text); if (_this._isValidAcceptableDate$1(date)) { _this._input_date_picker_form_field$_selectedDate = date; _this._inputText = text; date.toString; callback.call$1(date); } }, _handleSaved$1(text) { this._updateDate$2(text, this._widget.onDateSaved); }, _handleSubmitted$1(text) { this._updateDate$2(text, this._widget.onDateSubmitted); }, build$1(_, context) { var _this = this, _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; A.Theme_of(context); _this._widget.toString; return A.TextFormField$(true, _this._input_date_picker_form_field$_controller, A.InputDecoration$(_null, B.UnderlineInputBorder_qFk, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, "mm/dd/yyyy", _null, _null, _null, _null, false, _null, _null, _null, "Enter Date", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, _null, _null, _null, B.TextInputType_4_null_null, 1, false, _null, _null, _this.get$_handleSubmitted(), _this.get$_handleSaved(), false, _null, _null, B.TextAlign_4, _null, _this.get$_validateDate()); } }; A._InputDatePickerFormFieldState_didUpdateWidget_closure.prototype = { call$1(timeStamp) { var t1 = this.$this; t1.setState$1(new A._InputDatePickerFormFieldState_didUpdateWidget__closure(t1)); }, $signature: 8 }; A._InputDatePickerFormFieldState_didUpdateWidget__closure.prototype = { call$0() { var t1 = this.$this; t1._input_date_picker_form_field$_selectedDate = t1._widget.initialDate; t1._updateValueForSelectedDate$0(); }, $signature: 0 }; A._InputBorderGap.prototype = { set$start(_, value) { if (value != this._input_decorator$_start) { this._input_decorator$_start = value; this.notifyListeners$0(); } }, set$extent(value) { if (value !== this._extent) { this._extent = value; this.notifyListeners$0(); } }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A._InputBorderGap && other._input_decorator$_start == _this._input_decorator$_start && other._extent === _this._extent; }, get$hashCode(_) { return A.hashValues(this._input_decorator$_start, this._extent, 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, 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._InputBorderTween.prototype = { lerp$1(t) { var t1 = A.ShapeBorder_lerp(this.begin, this.end, t); t1.toString; return type$.InputBorder._as(t1); } }; A._InputBorderPainter.prototype = { paint$2(canvas, size) { var blendedFillColor, t2, _this = this, t1 = _this.borderAnimation, borderValue = _this.border.transform$1(0, t1.get$value(t1)), canvasRect = new A.Rect(0, 0, 0 + size._dx, 0 + size._dy); t1 = _this.hoverAnimation; t1 = _this.hoverColorTween.transform$1(0, t1.get$value(t1)); t1.toString; blendedFillColor = A.Color_alphaBlend(t1, _this.fillColor); if ((blendedFillColor.get$value(blendedFillColor) >>> 24 & 255) > 0) { t1 = borderValue.getOuterPath$2$textDirection(canvasRect, _this.textDirection); t2 = A._detectRenderer(); t2 = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2.set$color(0, blendedFillColor); t2.set$style(0, B.PaintingStyle_0); canvas.drawPath$2(0, t1, t2); } t1 = _this.gap; t2 = t1._input_decorator$_start; borderValue.paint$6$gapExtent$gapPercentage$gapStart$textDirection(canvas, canvasRect, t1._extent, A._lateReadCheck(_this.gapAnimation.__AnimationController__value, "_value"), t2, _this.textDirection); }, shouldRepaint$1(oldPainter) { var _this = this; return _this.borderAnimation !== oldPainter.borderAnimation || _this.hoverAnimation !== oldPainter.hoverAnimation || _this.gapAnimation !== oldPainter.gapAnimation || _this.border !== oldPainter.border || !_this.gap.$eq(0, oldPainter.gap) || _this.textDirection !== oldPainter.textDirection; } }; A._BorderContainer.prototype = { createState$0() { return new A._BorderContainerState(null, B._StateLifecycle_0); } }; A._BorderContainerState.prototype = { initState$0() { var t1, _this = this, _null = null; _this.super$State$initState(); _this.___BorderContainerState__hoverColorController = A.AnimationController$(_null, B.Duration_15000, _null, 1, _this._widget.isHovering ? 1 : 0, _this); t1 = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, _this); _this.___BorderContainerState__controller = t1; _this.___BorderContainerState__borderAnimation = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_controller"), _null); t1 = _this._widget.border; _this.___BorderContainerState__border = new A._InputBorderTween(t1, t1); _this.___BorderContainerState__hoverAnimation = A.CurvedAnimation$(B.C__Linear, A._lateReadCheck(_this.___BorderContainerState__hoverColorController, "_hoverColorController"), _null); _this.___BorderContainerState__hoverColorTween = new A.ColorTween(B.Color_0, _this._widget.hoverColor); }, dispose$0(_) { A._lateReadCheck(this.___BorderContainerState__controller, "_controller").dispose$0(0); A._lateReadCheck(this.___BorderContainerState__hoverColorController, "_hoverColorController").dispose$0(0); this.super$__BorderContainerState_State_TickerProviderStateMixin$dispose(0); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this, _s21_ = "_hoverColorController"; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.border; if (!_this._widget.border.$eq(0, t1)) { _this.___BorderContainerState__border = new A._InputBorderTween(t1, _this._widget.border); t1 = A._lateReadCheck(_this.___BorderContainerState__controller, "_controller"); t1.set$value(0, 0); t1.forward$0(0); } if (!_this._widget.hoverColor.$eq(0, oldWidget.hoverColor)) _this.___BorderContainerState__hoverColorTween = new A.ColorTween(B.Color_0, _this._widget.hoverColor); t1 = _this._widget.isHovering; if (t1 !== oldWidget.isHovering) { t2 = _this.___BorderContainerState__hoverColorController; if (t1) A._lateReadCheck(t2, _s21_).forward$0(0); else A._lateReadCheck(t2, _s21_).reverse$0(0); } }, build$1(_, context) { var t6, t7, t8, t9, _this = this, _s16_ = "_borderAnimation", t1 = A._setArrayType([A._lateReadCheck(_this.___BorderContainerState__borderAnimation, _s16_), _this._widget.gap, A._lateReadCheck(_this.___BorderContainerState__hoverColorController, "_hoverColorController")], type$.JSArray_Listenable), t2 = A._lateReadCheck(_this.___BorderContainerState__borderAnimation, _s16_), t3 = A._lateReadCheck(_this.___BorderContainerState__border, "_border"), t4 = _this._widget, t5 = t4.gapAnimation; t4 = t4.gap; t6 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t6.toString; t7 = _this._widget.fillColor; t8 = A._lateReadCheck(_this.___BorderContainerState__hoverColorTween, "_hoverColorTween"); t9 = A._lateReadCheck(_this.___BorderContainerState__hoverAnimation, "_hoverAnimation"); _this._widget.toString; return A.CustomPaint$(null, new A._InputBorderPainter(t2, t3, t5, t4, t6.textDirection, t7, t8, t9, new A._MergingListenable(t1)), null, null, B.Size_0_0); } }; A._Shaker.prototype = { get$translateX() { var t1 = type$.Animation_double._as(this.listenable), t = t1.get$value(t1); if (t <= 0.25) return -t * 4; else if (t < 0.75) return (t - 0.5) * 4; else return (1 - t) * 4 * 4; }, build$1(_, context) { return A.Transform$(null, this.child, A.Matrix4_Matrix4$translationValues(this.get$translateX(), 0, 0), true); } }; A._HelperError.prototype = { createState$0() { return new A._HelperErrorState(null, B._StateLifecycle_0); } }; A._HelperErrorState.prototype = { initState$0() { var t1, _this = this, _s11_ = "_controller"; _this.super$State$initState(); _this.___HelperErrorState__controller = A.AnimationController$(null, B.Duration_200000, null, 1, null, _this); if (_this._widget.errorText != null) { _this._error = _this._buildError$0(); A._lateReadCheck(_this.___HelperErrorState__controller, _s11_).set$value(0, 1); } t1 = A._lateReadCheck(_this.___HelperErrorState__controller, _s11_); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_input_decorator$_handleChange()); }, dispose$0(_) { A._lateReadCheck(this.___HelperErrorState__controller, "_controller").dispose$0(0); this.super$__HelperErrorState_State_SingleTickerProviderStateMixin$dispose(0); }, _input_decorator$_handleChange$0() { this.setState$1(new A._HelperErrorState__handleChange_closure()); }, didUpdateWidget$1(old) { var t1, _this = this, _s11_ = "_controller"; _this.super$State$didUpdateWidget(old); t1 = _this._widget.errorText != null; if (t1 !== (old.errorText != null) || false) if (t1) { _this._error = _this._buildError$0(); A._lateReadCheck(_this.___HelperErrorState__controller, _s11_).forward$0(0); } else { t1 = A._lateReadCheck(_this.___HelperErrorState__controller, _s11_); t1.reverse$0(0); } }, _buildError$0() { var t3, t4, t5, t6, _null = null, _s11_ = "_controller", t1 = A._lateReadCheck(this.___HelperErrorState__controller, _s11_), t2 = A._lateReadCheck(this.___HelperErrorState__controller, _s11_); t2 = new A.Tween(B.Offset_MNd, B.Offset_0_0, type$.Tween_Offset).transform$1(0, t2.get$value(t2)); t3 = this._widget; t4 = t3.errorText; t4.toString; t5 = t3.errorStyle; t6 = t3.textAlign; t1 = A.FadeTransition$(false, A.FractionalTranslation$(A.Text$(t4, t3.errorMaxLines, B.TextOverflow_2, _null, _null, t5, t6, _null, _null), true, t2), t1); 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, 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), true, false, false, t1, _null); }, build$1(_, context) { var t2, _this = this, _s11_ = "_controller", t1 = A._lateReadCheck(_this.___HelperErrorState__controller, _s11_); if (t1.get$status(t1) === B.AnimationStatus_0) { _this._error = null; _this._widget.toString; _this._helper = null; return B.SizedBox_null_null_null_null; } t1 = A._lateReadCheck(_this.___HelperErrorState__controller, _s11_); if (t1.get$status(t1) === B.AnimationStatus_3) { _this._helper = null; if (_this._widget.errorText != null) return _this._error = _this._buildError$0(); else { _this._error = null; return B.SizedBox_null_null_null_null; } } if (_this._helper == null && _this._widget.errorText != null) return _this._buildError$0(); if (_this._error == null) _this._widget.toString; if (_this._widget.errorText != null) { t1 = type$.Tween_double; t2 = A._lateReadCheck(_this.___HelperErrorState__controller, _s11_); return A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([A.FadeTransition$(false, _this._helper, new A._AnimatedEvaluation(t2, new A.Tween(1, 0, t1), t1._eval$1("_AnimatedEvaluation<Animatable.T>"))), _this._buildError$0()], type$.JSArray_Widget), B.StackFit_0, null, null); } return B.SizedBox_null_null_null_null; } }; A._HelperErrorState__handleChange_closure.prototype = { call$0() { }, $signature: 0 }; A.FloatingLabelBehavior.prototype = { toString$0(_) { return "FloatingLabelBehavior." + this._core$_name; } }; A._DecorationSlot.prototype = { toString$0(_) { return "_DecorationSlot." + this._core$_name; } }; A._Decoration.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A._Decoration) if (other.contentPadding.$eq(0, _this.contentPadding)) if (other.floatingLabelHeight === _this.floatingLabelHeight) if (other.floatingLabelProgress === _this.floatingLabelProgress) if (other.border.$eq(0, _this.border)) if (other.borderGap.$eq(0, _this.borderGap)) t1 = other.isDense == _this.isDense && other.visualDensity.$eq(0, _this.visualDensity) && J.$eq$(other.icon, _this.icon) && J.$eq$(other.input, _this.input) && J.$eq$(other.label, _this.label) && J.$eq$(other.hint, _this.hint) && J.$eq$(other.prefix, _this.prefix) && J.$eq$(other.suffix, _this.suffix) && J.$eq$(other.prefixIcon, _this.prefixIcon) && J.$eq$(other.suffixIcon, _this.suffixIcon) && other.helperError.super$Object$$eq(0, _this.helperError) && J.$eq$(other.counter, _this.counter) && other.container.super$Object$$eq(0, _this.container); 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.contentPadding, _this.floatingLabelHeight, _this.floatingLabelProgress, _this.border, _this.borderGap, false, _this.isDense, _this.visualDensity, _this.icon, _this.input, _this.label, _this.hint, _this.prefix, _this.suffix, _this.prefixIcon, _this.suffixIcon, _this.helperError, _this.counter, _this.container, B.C__HashEnd); } }; A._RenderDecorationLayout.prototype = {}; A._RenderDecoration.prototype = { _input_decorator$_updateChild$3(oldChild, newChild, slot) { var _this = this; if (oldChild != null) { _this.dropChild$1(oldChild); _this.children.remove$1(0, slot); } if (newChild != null) { _this.children.$indexSet(0, slot, newChild); _this.adoptChild$1(newChild); } return newChild; }, get$_input_decorator$_children($async$_) { var $async$self = this; return A._makeSyncStarIterable(function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$get$_input_decorator$_children($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._icon; $async$goto = t1 != null ? 2 : 3; break; case 2: // then $async$goto = 4; return t1; case 4: // after yield case 3: // join t1 = $async$self._input_decorator$_input; $async$goto = t1 != null ? 5 : 6; break; case 5: // then $async$goto = 7; return t1; case 7: // after yield case 6: // join t1 = $async$self._prefixIcon; $async$goto = t1 != null ? 8 : 9; break; case 8: // then $async$goto = 10; return t1; case 10: // after yield case 9: // join t1 = $async$self._suffixIcon; $async$goto = t1 != null ? 11 : 12; break; case 11: // then $async$goto = 13; return t1; case 13: // after yield case 12: // join t1 = $async$self._prefix; $async$goto = t1 != null ? 14 : 15; break; case 14: // then $async$goto = 16; return t1; case 16: // after yield case 15: // join t1 = $async$self._suffix; $async$goto = t1 != null ? 17 : 18; break; case 17: // then $async$goto = 19; return t1; case 19: // after yield case 18: // join t1 = $async$self._label; $async$goto = t1 != null ? 20 : 21; break; case 20: // then $async$goto = 22; return t1; case 22: // after yield case 21: // join t1 = $async$self._hint; $async$goto = t1 != null ? 23 : 24; break; case 23: // then $async$goto = 25; return t1; case 25: // after yield case 24: // join t1 = $async$self._helperError; $async$goto = t1 != null ? 26 : 27; break; case 26: // then $async$goto = 28; return t1; case 28: // after yield case 27: // join t1 = $async$self._counter; $async$goto = t1 != null ? 29 : 30; break; case 29: // then $async$goto = 31; return t1; case 31: // after yield case 30: // join t1 = $async$self._input_decorator$_container; $async$goto = t1 != null ? 32 : 33; break; case 32: // then $async$goto = 34; return t1; case 34: // after yield case 33: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderBox); }, set$decoration(_, value) { if (this._input_decorator$_decoration.$eq(0, value)) return; this._input_decorator$_decoration = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._input_decorator$_textDirection === value) return; this._input_decorator$_textDirection = value; this.markNeedsLayout$0(); }, set$textBaseline(_, value) { if (this._input_decorator$_textBaseline === value) return; this._input_decorator$_textBaseline = value; this.markNeedsLayout$0(); }, set$textAlignVertical(value) { return; }, set$isFocused(value) { if (this._input_decorator$_isFocused === value) return; this._input_decorator$_isFocused = value; this.markNeedsSemanticsUpdate$0(); }, set$expands(value) { if (this._expands === value) return; this._expands = value; this.markNeedsLayout$0(); }, get$_isOutlineAligned() { var t1 = this._input_decorator$_decoration.border.get$isOutline(); return t1; }, attach$1(owner) { var t1; this.super$RenderObject$attach(owner); for (t1 = this.get$_input_decorator$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); for (t1 = this.get$_input_decorator$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).detach$0(0); }, redepthChildren$0() { this.get$_input_decorator$_children(this).forEach$1(0, this.get$redepthChild()); }, visitChildren$1(visitor) { this.get$_input_decorator$_children(this).forEach$1(0, visitor); }, visitChildrenForSemantics$1(visitor) { var _this = this, t1 = _this._icon; if (t1 != null) visitor.call$1(t1); t1 = _this._prefix; if (t1 != null) visitor.call$1(t1); t1 = _this._prefixIcon; if (t1 != null) visitor.call$1(t1); t1 = _this._label; if (t1 != null) visitor.call$1(t1); t1 = _this._hint; if (t1 != null) if (_this._input_decorator$_isFocused) visitor.call$1(t1); else if (_this._label == null) visitor.call$1(t1); t1 = _this._input_decorator$_input; if (t1 != null) visitor.call$1(t1); t1 = _this._suffixIcon; if (t1 != null) visitor.call$1(t1); t1 = _this._suffix; if (t1 != null) visitor.call$1(t1); t1 = _this._input_decorator$_container; if (t1 != null) visitor.call$1(t1); t1 = _this._helperError; if (t1 != null) visitor.call$1(t1); t1 = _this._counter; if (t1 != null) visitor.call$1(t1); }, debugDescribeChildren$0() { var _this = this, value = A._setArrayType([], type$.JSArray_DiagnosticsNode), t1 = new A._RenderDecoration_debugDescribeChildren_add(value); t1.call$2(_this._icon, "icon"); t1.call$2(_this._input_decorator$_input, "input"); t1.call$2(_this._label, "label"); t1.call$2(_this._hint, "hint"); t1.call$2(_this._prefix, "prefix"); t1.call$2(_this._suffix, "suffix"); t1.call$2(_this._prefixIcon, "prefixIcon"); t1.call$2(_this._suffixIcon, "suffixIcon"); t1.call$2(_this._helperError, "helperError"); t1.call$2(_this._counter, "counter"); t1.call$2(_this._input_decorator$_container, "container"); return value; }, get$sizedByParent() { return false; }, _layoutLineBox$2(box, constraints) { var t1; if (box == null) return 0; box.layout$2$parentUsesSize(0, constraints, true); t1 = box.getDistanceToBaseline$1(B.TextBaseline_0); t1.toString; return t1; }, _interpolateThree$4(begin, middle, end, textAlignVertical) { var t1 = textAlignVertical.y; if (t1 <= 0) { if (begin >= middle) return middle; return begin + (middle - begin) * (t1 + 1); } if (middle >= end) return middle; return middle + (end - middle) * t1; }, computeMinIntrinsicWidth$1(height) { var t2, t3, t4, t5, t6, t7, _this = this, t1 = _this._icon; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); t2 = _this._input_decorator$_decoration; t3 = _this._prefixIcon; t3 = t3 == null ? 0 : t3._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t3.get$computeMinIntrinsicWidth()); t4 = _this._prefix; t4 = t4 == null ? 0 : t4._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t4.get$computeMinIntrinsicWidth()); t5 = _this._input_decorator$_input; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t5.get$computeMinIntrinsicWidth()); t6 = _this._hint; t6 = t6 == null ? 0 : t6._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t6.get$computeMinIntrinsicWidth()); t6 = Math.max(t5, t6); t5 = _this._suffix; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t5.get$computeMinIntrinsicWidth()); t7 = _this._suffixIcon; t7 = t7 == null ? 0 : t7._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t7.get$computeMinIntrinsicWidth()); return t1 + t2.contentPadding.left + t3 + t4 + t6 + t5 + t7 + _this._input_decorator$_decoration.contentPadding.right; }, computeMaxIntrinsicWidth$1(height) { var t2, t3, t4, t5, t6, t7, _this = this, t1 = _this._icon; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); t2 = _this._input_decorator$_decoration; t3 = _this._prefixIcon; t3 = t3 == null ? 0 : t3._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t3.get$computeMaxIntrinsicWidth()); t4 = _this._prefix; t4 = t4 == null ? 0 : t4._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t4.get$computeMaxIntrinsicWidth()); t5 = _this._input_decorator$_input; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t5.get$computeMaxIntrinsicWidth()); t6 = _this._hint; t6 = t6 == null ? 0 : t6._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t6.get$computeMaxIntrinsicWidth()); t6 = Math.max(t5, t6); t5 = _this._suffix; t5 = t5 == null ? 0 : t5._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t5.get$computeMaxIntrinsicWidth()); t7 = _this._suffixIcon; t7 = t7 == null ? 0 : t7._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t7.get$computeMaxIntrinsicWidth()); return t1 + t2.contentPadding.left + t3 + t4 + t6 + t5 + t7 + _this._input_decorator$_decoration.contentPadding.right; }, _lineHeight$2(_, width, boxes) { var height, _i, box, t1; for (height = 0, _i = 0; _i < 2; ++_i) { box = boxes[_i]; if (box == null) continue; t1 = box._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, box.get$computeMinIntrinsicHeight()); height = Math.max(t1, height); } return height; }, computeMinIntrinsicHeight$1(width) { var prefixIconHeight, prefixIconWidth, suffixIconHeight, suffixIconWidth, counterHeight, helperErrorAvailableWidth, helperErrorHeight, subtextHeight, prefixHeight, prefixWidth, suffixHeight, suffixWidth, inputMaxHeight, t2, densityOffset, t3, containerHeight, minContainerHeight, _this = this, t1 = _this._icon, iconHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._icon; width = Math.max(width - (t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, iconHeight, t1.get$computeMinIntrinsicWidth())), 0); t1 = _this._prefixIcon; prefixIconHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._prefixIcon; prefixIconWidth = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, prefixIconHeight, t1.get$computeMinIntrinsicWidth()); t1 = _this._suffixIcon; suffixIconHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._suffixIcon; suffixIconWidth = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, suffixIconHeight, t1.get$computeMinIntrinsicWidth()); width = Math.max(width - _this._input_decorator$_decoration.contentPadding.get$horizontal(), 0); t1 = _this._counter; counterHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._counter; helperErrorAvailableWidth = Math.max(width - (t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, counterHeight, t1.get$computeMinIntrinsicWidth())), 0); t1 = _this._helperError; helperErrorHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, helperErrorAvailableWidth, t1.get$computeMinIntrinsicHeight()); subtextHeight = Math.max(counterHeight, helperErrorHeight); if (subtextHeight > 0) subtextHeight += 8; t1 = _this._prefix; prefixHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._prefix; prefixWidth = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, prefixHeight, t1.get$computeMinIntrinsicWidth()); t1 = _this._suffix; suffixHeight = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); t1 = _this._suffix; suffixWidth = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, suffixHeight, t1.get$computeMinIntrinsicWidth()); t1 = type$.JSArray_double; inputMaxHeight = B.JSArray_methods.reduce$1(A._setArrayType([_this._lineHeight$2(0, Math.max(width - prefixWidth - suffixWidth - prefixIconWidth - suffixIconWidth, 0), A._setArrayType([_this._input_decorator$_input, _this._hint], type$.JSArray_nullable_RenderBox)), prefixHeight, suffixHeight], t1), B.CONSTANT0); t2 = _this._input_decorator$_decoration.visualDensity; densityOffset = new A.Offset(t2.horizontal, t2.vertical).$mul(0, 4); t2 = _this._input_decorator$_decoration; t3 = t2.contentPadding; t2 = _this._label == null ? 0 : t2.floatingLabelHeight; containerHeight = B.JSArray_methods.reduce$1(A._setArrayType([iconHeight, t3.top + t2 + inputMaxHeight + t3.bottom + densityOffset._dy, prefixIconHeight, suffixIconHeight], t1), B.CONSTANT0); t1 = _this._input_decorator$_decoration.isDense; t1.toString; minContainerHeight = t1 || _this._expands ? 0 : 48; return Math.max(containerHeight, minContainerHeight) + subtextHeight; }, computeMaxIntrinsicHeight$1(width) { return this.computeMinIntrinsicHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { var t1 = this._input_decorator$_input, t2 = t1.parentData; t2.toString; t2 = type$.BoxParentData._as(t2).offset._dy; t1 = t1.computeDistanceToActualBaseline$1(baseline); t1.toString; return t2 + t1; }, computeDryLayout$1(constraints) { return B.Size_0_0; }, performLayout$0() { var boxToBaseline, t2, t3, boxConstraints, t4, containerConstraints, contentConstraints, t5, t6, t7, t8, t9, t10, t11, t12, t13, inputWidth, suffixIconWidth, labelWidth, labelHeight, topHeight, counterHeight, helperErrorExists, helperErrorHeight, bottomHeight, densityOffset, hintHeight, inputDirectHeight, inputHeight, inputInternalBaseline, prefixHeight, suffixHeight, fixAboveInput, fixBelowInput, prefixIconHeight, suffixIconHeight, fixIconHeight, contentHeight, minContainerHeight, maxContainerHeight, containerHeight, interactiveAdjustment, overflow, textAlignVerticalFactor, baselineAdjustment, topInputBaseline, maxVerticalOffset, inputBaseline, outlineBaseline, subtextCounterBaseline, subtextCounterHeight, subtextHelperBaseline, subtextHelperHeight, subtextBaseline, subtextHeight, x, centerLayout, baselineLayout, left, right, start, end, labelX, _this = this, _null = null, _box_0 = {}, t1 = type$.BoxConstraints, constraints = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._labelTransform = null; boxToBaseline = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_RenderBox, type$.double); t2 = constraints.maxWidth; t3 = constraints.maxHeight; boxConstraints = new A.BoxConstraints(0, t2, 0, t3); t4 = _this._icon; boxToBaseline.$indexSet(0, t4, _this._layoutLineBox$2(t4, boxConstraints)); t4 = _this._icon; if (t4 == null) t4 = B.Size_0_0; else { t4 = t4._size; t4.toString; } containerConstraints = boxConstraints.copyWith$1$maxWidth(t2 - t4._dx); t4 = _this._prefixIcon; boxToBaseline.$indexSet(0, t4, _this._layoutLineBox$2(t4, containerConstraints)); t4 = _this._suffixIcon; boxToBaseline.$indexSet(0, t4, _this._layoutLineBox$2(t4, containerConstraints)); contentConstraints = containerConstraints.copyWith$1$maxWidth(containerConstraints.maxWidth - _this._input_decorator$_decoration.contentPadding.get$horizontal()); t4 = _this._prefix; boxToBaseline.$indexSet(0, t4, _this._layoutLineBox$2(t4, contentConstraints)); t4 = _this._suffix; boxToBaseline.$indexSet(0, t4, _this._layoutLineBox$2(t4, contentConstraints)); t4 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t5 = _this._icon; if (t5 == null) t5 = B.Size_0_0; else { t5 = t5._size; t5.toString; } t6 = _this._input_decorator$_decoration; t7 = t6.contentPadding; t8 = _this._prefixIcon; if (t8 == null) t8 = B.Size_0_0; else { t8 = t8._size; t8.toString; } t9 = _this._prefix; if (t9 == null) t9 = B.Size_0_0; else { t9 = t9._size; t9.toString; } t10 = _this._suffix; if (t10 == null) t10 = B.Size_0_0; else { t10 = t10._size; t10.toString; } t11 = _this._suffixIcon; t12 = t11 == null; if (t12) t13 = B.Size_0_0; else { t13 = t11._size; t13.toString; } inputWidth = Math.max(0, t4.maxWidth - (t5._dx + t7.left + t8._dx + t9._dx + t10._dx + t13._dx + t7.right)); t7 = A.lerpDouble(1, 1.3333333333333333, t6.floatingLabelProgress); t7.toString; if (t12) t4 = B.Size_0_0; else { t4 = t11._size; t4.toString; } suffixIconWidth = t4._dx; if (t6.border.get$isOutline()) { t4 = A.lerpDouble(suffixIconWidth, 0, _this._input_decorator$_decoration.floatingLabelProgress); t4.toString; suffixIconWidth = t4; } t1 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t4 = _this._icon; if (t4 == null) t4 = B.Size_0_0; else { t4 = t4._size; t4.toString; } t5 = _this._input_decorator$_decoration.contentPadding; t6 = _this._prefixIcon; if (t6 == null) t6 = B.Size_0_0; else { t6 = t6._size; t6.toString; } labelWidth = Math.max(0, t1.maxWidth - (t4._dx + t5.left + t6._dx + suffixIconWidth + t5.right)); t5 = _this._label; boxToBaseline.$indexSet(0, t5, _this._layoutLineBox$2(t5, boxConstraints.copyWith$1$maxWidth(labelWidth * t7))); t7 = _this._hint; boxToBaseline.$indexSet(0, t7, _this._layoutLineBox$2(t7, boxConstraints.copyWith$2$maxWidth$minWidth(inputWidth, inputWidth))); t7 = _this._counter; boxToBaseline.$indexSet(0, t7, _this._layoutLineBox$2(t7, contentConstraints)); t7 = _this._helperError; t5 = _this._counter; if (t5 == null) t1 = B.Size_0_0; else { t1 = t5._size; t1.toString; } boxToBaseline.$indexSet(0, t7, _this._layoutLineBox$2(t7, contentConstraints.copyWith$1$maxWidth(Math.max(0, contentConstraints.maxWidth - t1._dx)))); labelHeight = _this._label == null ? 0 : _this._input_decorator$_decoration.floatingLabelHeight; if (_this._input_decorator$_decoration.border.get$isOutline()) { t1 = boxToBaseline.$index(0, _this._label); t1.toString; topHeight = Math.max(labelHeight - t1, 0); } else topHeight = labelHeight; t1 = _this._counter; if (t1 == null) counterHeight = 0; else { t1 = boxToBaseline.$index(0, t1); t1.toString; counterHeight = t1 + 8; } t1 = _this._helperError; if (t1 == null) t4 = _null; else { t4 = t1._size; t4.toString; } helperErrorExists = t4 != null && t1._size._dy > 0; helperErrorHeight = !helperErrorExists ? 0 : t1._size._dy + 8; bottomHeight = Math.max(counterHeight, helperErrorHeight); t1 = _this._input_decorator$_decoration.visualDensity; densityOffset = new A.Offset(t1.horizontal, t1.vertical).$mul(0, 4); t1 = _this._input_decorator$_input; t4 = _this._input_decorator$_decoration.contentPadding; t5 = densityOffset._dy; t6 = t5 / 2; boxToBaseline.$indexSet(0, t1, _this._layoutLineBox$2(t1, boxConstraints.deflate$1(new A.EdgeInsets(0, t4.top + topHeight + t6, 0, t4.bottom + bottomHeight + t6)).copyWith$2$maxWidth$minWidth(inputWidth, inputWidth))); t1 = _this._hint; hintHeight = t1 == null ? 0 : t1._size._dy; t1 = _this._input_decorator$_input; inputDirectHeight = t1 == null ? 0 : t1._size._dy; inputHeight = Math.max(hintHeight, inputDirectHeight); t1 = boxToBaseline.$index(0, t1); t1.toString; t4 = boxToBaseline.$index(0, _this._hint); t4.toString; inputInternalBaseline = Math.max(t1, t4); t4 = _this._prefix; prefixHeight = t4 == null ? _null : t4._size._dy; if (prefixHeight == null) prefixHeight = 0; t1 = _this._suffix; suffixHeight = t1 == null ? _null : t1._size._dy; if (suffixHeight == null) suffixHeight = 0; t1 = boxToBaseline.$index(0, t4); t1.toString; t4 = boxToBaseline.$index(0, _this._suffix); t4.toString; fixAboveInput = Math.max(0, Math.max(t1, t4) - inputInternalBaseline); t4 = boxToBaseline.$index(0, _this._prefix); t4.toString; t1 = boxToBaseline.$index(0, _this._suffix); t1.toString; fixBelowInput = Math.max(0, Math.max(prefixHeight - t4, suffixHeight - t1) - (inputHeight - inputInternalBaseline)); t1 = _this._prefixIcon; prefixIconHeight = t1 == null ? 0 : t1._size._dy; t1 = _this._suffixIcon; suffixIconHeight = t1 == null ? 0 : t1._size._dy; fixIconHeight = Math.max(prefixIconHeight, suffixIconHeight); t1 = _this._input_decorator$_decoration; t4 = t1.contentPadding; contentHeight = Math.max(fixIconHeight, topHeight + t4.top + fixAboveInput + inputHeight + fixBelowInput + t4.bottom + t5); t1 = t1.isDense; t1.toString; if (!t1) t1 = _this._expands; else t1 = true; minContainerHeight = t1 ? 0 : 48; maxContainerHeight = t3 - bottomHeight; containerHeight = _this._expands ? maxContainerHeight : Math.min(Math.max(contentHeight, minContainerHeight), maxContainerHeight); interactiveAdjustment = minContainerHeight > contentHeight ? (minContainerHeight - contentHeight) / 2 : 0; overflow = Math.max(0, contentHeight - maxContainerHeight); t1 = _this.get$_isOutlineAligned() ? B.TextAlignVertical_0 : B.TextAlignVertical_m1; textAlignVerticalFactor = (t1.y + 1) / 2; baselineAdjustment = fixAboveInput - overflow * (1 - textAlignVerticalFactor); t1 = _this._input_decorator$_decoration.contentPadding; t3 = t1.top; topInputBaseline = t3 + topHeight + inputInternalBaseline + baselineAdjustment + interactiveAdjustment; maxVerticalOffset = containerHeight - t3 - topHeight - t1.bottom - (fixAboveInput + inputHeight + fixBelowInput); inputBaseline = topInputBaseline + maxVerticalOffset * textAlignVerticalFactor + t6; t1 = _this.get$_isOutlineAligned() ? B.TextAlignVertical_0 : B.TextAlignVertical_m1; outlineBaseline = _this._interpolateThree$4(topInputBaseline, inputInternalBaseline + baselineAdjustment / 2 + (containerHeight - (2 + inputHeight)) / 2, topInputBaseline + maxVerticalOffset, t1); t1 = _this._counter; if (t1 != null) { t1 = boxToBaseline.$index(0, t1); t1.toString; subtextCounterBaseline = containerHeight + 8 + t1; subtextCounterHeight = _this._counter._size._dy + 8; } else { subtextCounterBaseline = 0; subtextCounterHeight = 0; } if (helperErrorExists) { t1 = boxToBaseline.$index(0, _this._helperError); t1.toString; subtextHelperBaseline = containerHeight + 8 + t1; subtextHelperHeight = helperErrorHeight; } else { subtextHelperBaseline = 0; subtextHelperHeight = 0; } subtextBaseline = Math.max(subtextCounterBaseline, subtextHelperBaseline); subtextHeight = Math.max(subtextCounterHeight, subtextHelperHeight); t1 = _this._input_decorator$_container; if (t1 != null) { t3 = _this._icon; if (t3 == null) t3 = B.Size_0_0; else { t3 = t3._size; t3.toString; } t1.layout$2$parentUsesSize(0, A.BoxConstraints$tightFor(containerHeight, t2 - t3._dx), true); switch (_this._input_decorator$_textDirection.index) { case 0: x = 0; break; case 1: t1 = _this._icon; if (t1 == null) t1 = B.Size_0_0; else { t1 = t1._size; t1.toString; } x = t1._dx; break; default: x = _null; } t1 = _this._input_decorator$_container.parentData; t1.toString; type$.BoxParentData._as(t1).offset = new A.Offset(x, 0); } _box_0.height = null; centerLayout = new A._RenderDecoration_performLayout_centerLayout(_box_0); _box_0.baseline = null; baselineLayout = new A._RenderDecoration_performLayout_baselineLayout(_box_0, new A._RenderDecorationLayout(boxToBaseline, inputBaseline, outlineBaseline, subtextBaseline, containerHeight, subtextHeight)); t1 = _this._input_decorator$_decoration.contentPadding; left = t1.left; right = t2 - t1.right; _box_0.height = containerHeight; _box_0.baseline = _this.get$_isOutlineAligned() ? outlineBaseline : inputBaseline; t1 = _this._icon; if (t1 != null) { switch (_this._input_decorator$_textDirection.index) { case 0: x = t2 - t1._size._dx; break; case 1: x = 0; break; default: x = _null; } centerLayout.call$2(t1, x); } switch (_this._input_decorator$_textDirection.index) { case 0: t1 = _this._icon; if (t1 == null) t1 = B.Size_0_0; else { t1 = t1._size; t1.toString; } start = right - t1._dx; t1 = _this._prefixIcon; if (t1 != null) { start += _this._input_decorator$_decoration.contentPadding.left; start -= centerLayout.call$2(t1, start - t1._size._dx); } t1 = _this._label; if (t1 != null) { t3 = t1._size; centerLayout.call$2(t1, start - t3._dx); } t1 = _this._prefix; if (t1 != null) start -= baselineLayout.call$2(t1, start - t1._size._dx); t1 = _this._input_decorator$_input; if (t1 != null) baselineLayout.call$2(t1, start - t1._size._dx); t1 = _this._hint; if (t1 != null) baselineLayout.call$2(t1, start - t1._size._dx); t1 = _this._suffixIcon; if (t1 != null) { end = left - _this._input_decorator$_decoration.contentPadding.left; end += centerLayout.call$2(t1, end); } else end = left; t1 = _this._suffix; if (t1 != null) baselineLayout.call$2(t1, end); break; case 1: t1 = _this._icon; if (t1 == null) t1 = B.Size_0_0; else { t1 = t1._size; t1.toString; } start = left + t1._dx; t1 = _this._prefixIcon; if (t1 != null) { start -= _this._input_decorator$_decoration.contentPadding.left; start += centerLayout.call$2(t1, start); } t1 = _this._label; if (t1 != null) centerLayout.call$2(t1, start); t1 = _this._prefix; if (t1 != null) start += baselineLayout.call$2(t1, start); t1 = _this._input_decorator$_input; if (t1 != null) baselineLayout.call$2(t1, start); t1 = _this._hint; if (t1 != null) baselineLayout.call$2(t1, start); t1 = _this._suffixIcon; if (t1 != null) { end = right + _this._input_decorator$_decoration.contentPadding.right; end -= centerLayout.call$2(t1, end - t1._size._dx); } else end = right; t1 = _this._suffix; if (t1 != null) baselineLayout.call$2(t1, end - t1._size._dx); break; } t1 = _this._helperError; t3 = t1 == null; if (!t3 || _this._counter != null) { _box_0.height = subtextHeight; _box_0.baseline = subtextBaseline; switch (_this._input_decorator$_textDirection.index) { case 0: if (!t3) { t3 = t1._size._dx; t4 = _this._icon; if (t4 == null) t4 = B.Size_0_0; else { t4 = t4._size; t4.toString; } baselineLayout.call$2(t1, right - t3 - t4._dx); } t1 = _this._counter; if (t1 != null) baselineLayout.call$2(t1, left); break; case 1: if (!t3) { t3 = _this._icon; if (t3 == null) t3 = B.Size_0_0; else { t3 = t3._size; t3.toString; } baselineLayout.call$2(t1, left + t3._dx); } t1 = _this._counter; if (t1 != null) baselineLayout.call$2(t1, right - t1._size._dx); break; } } t1 = _this._label; if (t1 != null) { t3 = t1.parentData; t3.toString; labelX = type$.BoxParentData._as(t3).offset._dx; switch (_this._input_decorator$_textDirection.index) { case 0: _this._input_decorator$_decoration.borderGap.set$start(0, labelX + t1._size._dx); break; case 1: t1 = _this._input_decorator$_decoration; t3 = _this._icon; if (t3 == null) t3 = B.Size_0_0; else { t3 = t3._size; t3.toString; } t1.borderGap.set$start(0, labelX - t3._dx); break; } _this._input_decorator$_decoration.borderGap.set$extent(_this._label._size._dx * 0.75); } else { _this._input_decorator$_decoration.borderGap.set$start(0, _null); _this._input_decorator$_decoration.borderGap.set$extent(0); } _this._size = constraints.constrain$1(new A.Size(t2, containerHeight + subtextHeight)); }, _paintLabel$2(context, offset) { var t1 = this._label; t1.toString; context.paintChild$2(t1, offset); }, paint$2(context, offset) { var t1, t2, labelOffset, labelHeight, t, isOutlineBorder, floatingY, dx, t3, t4, _this = this, doPaint = new A._RenderDecoration_paint_doPaint(context, offset); doPaint.call$1(_this._input_decorator$_container); t1 = _this._label; if (t1 != null) { t2 = t1.parentData; t2.toString; labelOffset = type$.BoxParentData._as(t2).offset; labelHeight = t1._size._dy; t1 = _this._input_decorator$_decoration; t2 = t1.border; t = t1.floatingLabelProgress; isOutlineBorder = t2.get$isOutline(); floatingY = isOutlineBorder ? -labelHeight * 0.75 / 2 + t2.borderSide.width / 2 : _this._input_decorator$_decoration.contentPadding.top; t1 = A.lerpDouble(1, 0.75, t); t1.toString; switch (_this._input_decorator$_textDirection.index) { case 0: dx = labelOffset._dx + _this._label._size._dx * (1 - t1); break; case 1: dx = labelOffset._dx; break; default: dx = null; } t2 = labelOffset._dy; t3 = A.lerpDouble(0, floatingY - t2, t); t3.toString; t4 = new A.Matrix4(new Float64Array(16)); t4.setIdentity$0(); t4.translate$2(0, dx, t2 + t3); t4.scale$1(0, t1); _this._labelTransform = t4; t4 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t1 = _this._labelTransform; t1.toString; t3 = _this._layerHandle; t3.set$layer(0, context.pushTransform$5$oldLayer(t4, offset, t1, _this.get$_paintLabel(), type$.nullable_TransformLayer._as(t3._layer))); } else _this._layerHandle.set$layer(0, null); doPaint.call$1(_this._icon); doPaint.call$1(_this._prefix); doPaint.call$1(_this._suffix); doPaint.call$1(_this._prefixIcon); doPaint.call$1(_this._suffixIcon); doPaint.call$1(_this._hint); doPaint.call$1(_this._input_decorator$_input); doPaint.call$1(_this._helperError); doPaint.call$1(_this._counter); }, hitTestSelf$1(position) { return true; }, hitTestChildren$2$position(result, position) { var t1, t2, t3, t4, offset; for (t1 = this.get$_input_decorator$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")), t2 = type$.BoxParentData; t1.moveNext$0();) { t3 = t1.get$current(t1); t4 = t3.parentData; t4.toString; offset = t2._as(t4).offset; if (result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderDecoration_hitTestChildren_closure(position, offset, t3), offset, position)) return true; } return false; }, applyPaintTransform$2(child, transform) { var labelOffset, _this = this, t1 = _this._label; if (child === t1 && _this._labelTransform != null) { t1 = t1.parentData; t1.toString; labelOffset = type$.BoxParentData._as(t1).offset; t1 = _this._labelTransform; t1.toString; transform.multiply$1(0, t1); transform.translate$2(0, -labelOffset._dx, -labelOffset._dy); } _this.super$RenderBox$applyPaintTransform(child, transform); } }; A._RenderDecoration_debugDescribeChildren_add.prototype = { call$2(child, $name) { if (child != null) this.value.push(A.DiagnosticableTreeNode$($name, null, child)); }, $signature: 163 }; A._RenderDecoration_performLayout_centerLayout.prototype = { call$2(box, x) { var t2, t3, t1 = box.parentData; t1.toString; type$.BoxParentData._as(t1); t2 = this._box_0.height; t2.toString; t3 = box._size; t1.offset = new A.Offset(x, (t2 - t3._dy) / 2); return t3._dx; }, $signature: 24 }; A._RenderDecoration_performLayout_baselineLayout.prototype = { call$2(box, x) { var t2, t3, t1 = box.parentData; t1.toString; type$.BoxParentData._as(t1); t2 = this._box_0.baseline; t2.toString; t3 = this.layout.boxToBaseline.$index(0, box); t3.toString; t1.offset = new A.Offset(x, t2 - t3); return box._size._dx; }, $signature: 24 }; A._RenderDecoration_paint_doPaint.prototype = { call$1(child) { var t1; if (child != null) { t1 = child.parentData; t1.toString; this.context.paintChild$2(child, type$.BoxParentData._as(t1).offset.$add(0, this.offset)); } }, $signature: 275 }; A._RenderDecoration_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A._DecorationElement.prototype = { get$widget() { return type$._Decorator._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, visitChildren$1(visitor) { var t1 = this.slotToChild; t1.get$values(t1).forEach$1(0, visitor); }, forgetChild$1(child) { this.slotToChild.remove$1(0, child._slot); this.super$Element$forgetChild(child); }, _input_decorator$_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, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = type$._Decorator; _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.icon, B._DecorationSlot_0); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.input, B._DecorationSlot_1); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.label, B._DecorationSlot_2); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.hint, B._DecorationSlot_3); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.prefix, B._DecorationSlot_4); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.suffix, B._DecorationSlot_5); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.prefixIcon, B._DecorationSlot_6); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.suffixIcon, B._DecorationSlot_7); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.helperError, B._DecorationSlot_8); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.counter, B._DecorationSlot_9); _this._input_decorator$_mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.container, B._DecorationSlot_10); }, _input_decorator$_updateChild$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); }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = type$._Decorator; _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.icon, B._DecorationSlot_0); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.input, B._DecorationSlot_1); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.label, B._DecorationSlot_2); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.hint, B._DecorationSlot_3); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.prefix, B._DecorationSlot_4); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.suffix, B._DecorationSlot_5); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.prefixIcon, B._DecorationSlot_6); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.suffixIcon, B._DecorationSlot_7); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.helperError, B._DecorationSlot_8); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.counter, B._DecorationSlot_9); _this._input_decorator$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).decoration.container, B._DecorationSlot_10); }, _input_decorator$_updateRenderObject$2(child, slot) { var t1, _this = this; switch (slot.index) { case 0: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._icon = t1._input_decorator$_updateChild$3(t1._icon, child, B._DecorationSlot_0); break; case 1: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._input_decorator$_input = t1._input_decorator$_updateChild$3(t1._input_decorator$_input, child, B._DecorationSlot_1); break; case 2: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._label = t1._input_decorator$_updateChild$3(t1._label, child, B._DecorationSlot_2); break; case 3: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._hint = t1._input_decorator$_updateChild$3(t1._hint, child, B._DecorationSlot_3); break; case 4: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._prefix = t1._input_decorator$_updateChild$3(t1._prefix, child, B._DecorationSlot_4); break; case 5: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._suffix = t1._input_decorator$_updateChild$3(t1._suffix, child, B._DecorationSlot_5); break; case 6: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._prefixIcon = t1._input_decorator$_updateChild$3(t1._prefixIcon, child, B._DecorationSlot_6); break; case 7: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._suffixIcon = t1._input_decorator$_updateChild$3(t1._suffixIcon, child, B._DecorationSlot_7); break; case 8: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._helperError = t1._input_decorator$_updateChild$3(t1._helperError, child, B._DecorationSlot_8); break; case 9: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._counter = t1._input_decorator$_updateChild$3(t1._counter, child, B._DecorationSlot_9); break; case 10: t1 = type$._RenderDecoration._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._input_decorator$_container = t1._input_decorator$_updateChild$3(t1._input_decorator$_container, child, B._DecorationSlot_10); break; } }, insertRenderObjectChild$2(child, slot) { this._input_decorator$_updateRenderObject$2(type$.RenderBox._as(child), slot); }, removeRenderObjectChild$2(child, slot) { this._input_decorator$_updateRenderObject$2(null, slot); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { } }; A._Decorator.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; return new A._DecorationElement(A.LinkedHashMap_LinkedHashMap$_empty(type$._DecorationSlot, t1), t2, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, createRenderObject$1(context) { var _this = this, t1 = new A._RenderDecoration(A.LinkedHashMap_LinkedHashMap$_empty(type$._DecorationSlot, type$.RenderBox), _this.decoration, _this.textDirection, _this.textBaseline, _this.textAlignVertical, _this.isFocused, _this.expands, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.set$decoration(0, _this.decoration); renderObject.set$expands(_this.expands); renderObject.set$isFocused(_this.isFocused); renderObject.set$textAlignVertical(_this.textAlignVertical); renderObject.set$textBaseline(0, _this.textBaseline); renderObject.set$textDirection(0, _this.textDirection); } }; A._AffixText.prototype = { build$1(_, context) { var _null = null, t1 = this.style, t2 = this.labelIsFloating ? 1 : 0, t3 = this.text; t3 = t3 == null ? _null : A.Text$(t3, _null, _null, _null, _null, t1, _null, _null, _null); return A.DefaultTextStyle_merge(A.AnimatedOpacity$(false, t3, B.Cubic_ifx, B.Duration_200000, t2), t1); }, get$text(receiver) { return this.text; } }; A.InputDecorator.prototype = { createState$0() { return new A._InputDecoratorState(new A._InputBorderGap(A.List_List$filled(0, null, false, type$.nullable_void_Function)), null, B._StateLifecycle_0); } }; A._InputDecoratorState.prototype = { initState$0() { var t1, t2, labelIsInitiallyFloating, _this = this, _null = null; _this.super$State$initState(); t1 = _this._widget; t2 = t1.decoration.floatingLabelBehavior; if (t2 !== B.FloatingLabelBehavior_2) if (t2 !== B.FloatingLabelBehavior_0) { if (t1.isEmpty) t1 = t1.isFocused && true; else t1 = true; labelIsInitiallyFloating = t1; } else labelIsInitiallyFloating = false; else labelIsInitiallyFloating = true; t1 = A.AnimationController$(_null, B.Duration_200000, _null, 1, labelIsInitiallyFloating ? 1 : 0, _this); _this.___InputDecoratorState__floatingLabelController = t1; t1 = A._lateReadCheck(t1, "_floatingLabelController"); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_input_decorator$_handleChange()); _this.___InputDecoratorState__shakingLabelController = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, _this); }, didChangeDependencies$0() { this.super$__InputDecoratorState_State_TickerProviderStateMixin$didChangeDependencies(); this._effectiveDecoration = null; }, dispose$0(_) { A._lateReadCheck(this.___InputDecoratorState__floatingLabelController, "_floatingLabelController").dispose$0(0); A._lateReadCheck(this.___InputDecoratorState__shakingLabelController, "_shakingLabelController").dispose$0(0); this.super$__InputDecoratorState_State_TickerProviderStateMixin$dispose(0); }, _input_decorator$_handleChange$0() { this.setState$1(new A._InputDecoratorState__handleChange_closure()); }, get$decoration(_) { var t2, _this = this, t1 = _this._effectiveDecoration; if (t1 == null) { t1 = _this._widget.decoration; t2 = _this._framework$_element; t2.toString; t2 = _this._effectiveDecoration = t1.applyDefaults$1(A.Theme_of(t2).inputDecorationTheme); t1 = t2; } return t1; }, didUpdateWidget$1(old) { var t1, t2, floatBehaviorChanged, t3, errorText, _this = this, _s24_ = "_floatingLabelController"; _this.super$State$didUpdateWidget(old); t1 = old.decoration; if (!_this._widget.decoration.$eq(0, t1)) _this._effectiveDecoration = null; t2 = _this._widget; floatBehaviorChanged = t2.decoration.floatingLabelBehavior != t1.floatingLabelBehavior; if (t2.isEmpty) t2 = t2.isFocused && true; else t2 = true; if (old.isEmpty) t3 = old.isFocused && true; else t3 = true; if (t2 !== t3 || floatBehaviorChanged) { if (_this.get$decoration(_this).floatingLabelBehavior !== B.FloatingLabelBehavior_0) { t2 = _this._widget; if (t2.isEmpty) t3 = t2.isFocused && true; else t3 = true; t2 = t3 || t2.decoration.floatingLabelBehavior === B.FloatingLabelBehavior_2; } else t2 = false; t3 = _this.___InputDecoratorState__floatingLabelController; if (t2) A._lateReadCheck(t3, _s24_).forward$0(0); else A._lateReadCheck(t3, _s24_).reverse$0(0); } errorText = _this.get$decoration(_this).errorText; t2 = A._lateReadCheck(_this.___InputDecoratorState__floatingLabelController, _s24_); if (t2.get$status(t2) === B.AnimationStatus_3 && errorText != null && errorText !== t1.errorText) { t1 = A._lateReadCheck(_this.___InputDecoratorState__shakingLabelController, "_shakingLabelController"); t1.set$value(0, 0); t1.forward$0(0); } }, _getActiveColor$1(themeData) { if (this._widget.isFocused) return themeData.colorScheme.primary; return themeData.hintColor; }, _getDefaultBorderColor$1(themeData) { var t1, enabledColor, hoverColor, _this = this; if (_this._widget.isFocused) return themeData.colorScheme.primary; t1 = _this.get$decoration(_this).filled; t1.toString; if (t1) return themeData.hintColor; t1 = themeData.colorScheme.onSurface; enabledColor = A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); if (_this._widget.isHovering) { _this.get$decoration(_this).toString; t1 = true; } else t1 = false; if (t1) { t1 = _this.get$decoration(_this).hoverColor; hoverColor = t1 == null ? null : t1; t1 = (hoverColor == null ? themeData.hoverColor : hoverColor).value; return A.Color_alphaBlend(A.Color$fromARGB(31, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255), enabledColor); } return enabledColor; }, _getFillColor$1(themeData) { var t1, _this = this; if (_this.get$decoration(_this).filled !== true) return B.Color_0; if (_this.get$decoration(_this).fillColor != null) { t1 = _this.get$decoration(_this).fillColor; t1.toString; return A.MaterialStateProperty_resolveAs(t1, _this.get$materialState(), type$.Color); } switch (themeData.colorScheme.brightness.index) { case 0: _this.get$decoration(_this).toString; return B.Color_452984831; case 1: _this.get$decoration(_this).toString; return B.Color_167772160; } }, _getHoverColor$1(themeData) { var t1, _this = this; if (_this.get$decoration(_this).filled != null) { t1 = _this.get$decoration(_this).filled; t1.toString; if (t1) if (!_this._widget.isFocused) { _this.get$decoration(_this).toString; t1 = false; } else t1 = true; else t1 = true; } else t1 = true; if (t1) return B.Color_0; t1 = _this.get$decoration(_this).hoverColor; if (t1 == null) t1 = null; return t1 == null ? themeData.hoverColor : t1; }, _getIconColor$1(themeData) { var t1 = A.MaterialStateProperty_resolveAs(null, this.get$materialState(), type$.nullable_Color); return t1 == null ? new A._InputDecoratorState__getIconColor__resolveIconColor(themeData).call$1(this.get$materialState()) : t1; }, get$_hasInlineLabel() { var _this = this, t1 = _this._widget; if (t1.isEmpty) t1 = t1.isFocused && true; else t1 = true; if (!t1) { if (_this.get$decoration(_this).labelText == null) { _this.get$decoration(_this).toString; t1 = false; } else t1 = true; t1 = t1 && _this.get$decoration(_this).floatingLabelBehavior !== B.FloatingLabelBehavior_2; } else t1 = false; return t1; }, _getFloatingLabelStyle$1(themeData) { var _this = this, t1 = type$.nullable_TextStyle, style = A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).floatingLabelStyle, _this.get$materialState(), t1); if (style == null) style = A.MaterialStateProperty_resolveAs(null, _this.get$materialState(), t1); t1 = themeData.textTheme.subtitle1; t1.toString; return t1.merge$1(_this._widget.baseStyle).copyWith$1$height(1).merge$1(new A._InputDecoratorState__getFloatingLabelStyle_getFallbackTextStyle(_this, themeData).call$0()).merge$1(style); }, _getHelperStyle$1(themeData) { var _this = this; _this.get$decoration(_this).toString; return themeData.textTheme.caption.copyWith$1$color(themeData.hintColor).merge$1(A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).helperStyle, _this.get$materialState(), type$.nullable_TextStyle)); }, get$materialState() { var t2, _this = this, t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); _this.get$decoration(_this).toString; if (_this._widget.isFocused) t1.add$1(0, B.MaterialState_1); if (_this._widget.isHovering) { _this.get$decoration(_this).toString; t2 = true; } else t2 = false; if (t2) t1.add$1(0, B.MaterialState_0); if (_this.get$decoration(_this).errorText != null) t1.add$1(0, B.MaterialState_7); return t1; }, _getDefaultBorder$1(themeData) { var borderColor, t1, borderWeight, _this = this, border = A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).border, _this.get$materialState(), type$.nullable_InputBorder); if (border == null) border = B.UnderlineInputBorder_qFk; _this.get$decoration(_this).toString; if (border.borderSide.$eq(0, B.BorderSide_0CF)) return border; _this.get$decoration(_this).toString; borderColor = _this.get$decoration(_this).errorText == null ? _this._getDefaultBorderColor$1(themeData) : themeData.errorColor; _this.get$decoration(_this).toString; t1 = _this.get$decoration(_this); if (!J.$eq$(t1 == null ? null : t1.border, B._NoInputBorder_sqK)) { _this.get$decoration(_this).toString; t1 = false; } else t1 = true; if (t1) borderWeight = 0; else borderWeight = _this._widget.isFocused ? 2 : 1; return border.copyWith$1$borderSide(new A.BorderSide(borderColor, borderWeight, B.BorderStyle_1)); }, build$1(_, context) { var t1, defaultStyle, t2, style, t3, t4, labelStyle, t5, hintStyle, hint, t6, t7, isError, border, t8, t9, label, t10, t11, t12, prefix, decorationIsDense, iconSize, prefixIcon, suffixIcon, t13, t14, counter, t15, t16, textDirection, decorationContentPadding, floatingLabelHeight, contentPadding, t17, t18, t19, t20, _this = this, _null = null, _s24_ = "_floatingLabelController", themeData = A.Theme_of(context); _this.get$decoration(_this).toString; t1 = themeData.hintColor; defaultStyle = A.TextStyle$(_null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); t2 = type$.nullable_TextStyle; style = A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).labelStyle, _this.get$materialState(), t2); if (style == null) style = A.MaterialStateProperty_resolveAs(_null, _this.get$materialState(), t2); t3 = themeData.textTheme; t4 = t3.subtitle1; t4.toString; labelStyle = t4.merge$1(_this._widget.baseStyle).merge$1(defaultStyle).merge$1(style).copyWith$1$height(1); t5 = labelStyle.textBaseline; t5.toString; _this.get$decoration(_this).toString; defaultStyle = A.TextStyle$(_null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); style = A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).hintStyle, _this.get$materialState(), t2); if (style == null) style = A.MaterialStateProperty_resolveAs(_null, _this.get$materialState(), t2); hintStyle = t4.merge$1(_this._widget.baseStyle).merge$1(defaultStyle).merge$1(style); if (_this.get$decoration(_this).hintText == null) hint = _null; else { t1 = _this._widget.isEmpty && !_this.get$_hasInlineLabel() ? 1 : 0; t4 = _this.get$decoration(_this).hintText; t4.toString; t6 = _this.get$decoration(_this).hintTextDirection; t7 = _this._widget.textAlign; hint = A.AnimatedOpacity$(true, A.Text$(t4, _this.get$decoration(_this).hintMaxLines, B.TextOverflow_2, _null, _null, hintStyle, t7, t6, _null), B.Cubic_ifx, B.Duration_200000, t1); } isError = _this.get$decoration(_this).errorText != null; _this.get$decoration(_this).toString; if (_this._widget.isFocused) border = isError ? _this.get$decoration(_this).focusedErrorBorder : _this.get$decoration(_this).focusedBorder; else border = isError ? _this.get$decoration(_this).errorBorder : _this.get$decoration(_this).enabledBorder; if (border == null) border = _this._getDefaultBorder$1(themeData); t1 = _this._borderGap; t4 = A._lateReadCheck(_this.___InputDecoratorState__floatingLabelController, _s24_); t6 = _this._getFillColor$1(themeData); t7 = _this._getHoverColor$1(themeData); if (_this._widget.isHovering) { _this.get$decoration(_this).toString; t8 = true; } else t8 = false; if (_this.get$decoration(_this).labelText == null) { _this.get$decoration(_this).toString; t9 = true; } else t9 = false; if (t9) label = _null; else { t9 = A._lateReadCheck(_this.___InputDecoratorState__shakingLabelController, "_shakingLabelController"); t10 = _this.get$_hasInlineLabel() || _this.get$decoration(_this).floatingLabelBehavior !== B.FloatingLabelBehavior_0 ? 1 : 0; t11 = _this._widget; if (t11.isEmpty) t11 = t11.isFocused && true; else t11 = true; t11 = t11 ? _this._getFloatingLabelStyle$1(themeData) : labelStyle; _this.get$decoration(_this).toString; t12 = _this.get$decoration(_this); t12 = t12.labelText; t12.toString; t12 = A.Text$(t12, _null, B.TextOverflow_2, _null, _null, _null, _this._widget.textAlign, _null, _null); label = new A._Shaker(A.AnimatedOpacity$(false, A.AnimatedDefaultTextStyle$(t12, B.Cubic_ifx, B.Duration_200000, true, t11), B.Cubic_ifx, B.Duration_200000, t10), t9, _null); } _this.get$decoration(_this).toString; t9 = _this.get$decoration(_this); if (t9.prefixText == null) prefix = _null; else { t9 = _this._widget; if (t9.isEmpty) t9 = t9.isFocused && true; else t9 = true; t10 = _this.get$decoration(_this).prefixText; t11 = A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).prefixStyle, _this.get$materialState(), t2); if (t11 == null) t11 = hintStyle; prefix = new A._AffixText(t9, t10, t11, _this.get$decoration(_this).prefix, _null); } _this.get$decoration(_this).toString; t9 = _this.get$decoration(_this); t9.toString; decorationIsDense = _this.get$decoration(_this).isDense === true; iconSize = decorationIsDense ? 18 : 24; _this.get$decoration(_this).toString; if (_this.get$decoration(_this).prefixIcon == null) prefixIcon = _null; else { _this.get$decoration(_this).toString; t9 = themeData.visualDensity.effectiveConstraints$1(B.BoxConstraints_mlX); t10 = A.MaterialStateProperty_resolveAs(_null, _this.get$materialState(), type$.nullable_Color); if (t10 == null) t10 = _this._getIconColor$1(themeData); t11 = _this.get$decoration(_this).prefixIcon; t11.toString; prefixIcon = A.Center$(new A.ConstrainedBox(t9, A.IconTheme_merge(t11, new A.IconThemeData(t10, _null, iconSize)), _null), 1, 1); } if (_this.get$decoration(_this).suffixIcon == null) suffixIcon = _null; else { t9 = _this.get$decoration(_this).suffixIconConstraints; if (t9 == null) t9 = themeData.visualDensity.effectiveConstraints$1(B.BoxConstraints_mlX); t10 = A.MaterialStateProperty_resolveAs(_null, _this.get$materialState(), type$.nullable_Color); if (t10 == null) t10 = _this._getIconColor$1(themeData); t11 = _this.get$decoration(_this).suffixIcon; t11.toString; suffixIcon = A.Center$(new A.ConstrainedBox(t9, A.IconTheme_merge(t11, new A.IconThemeData(t10, _null, iconSize)), _null), 1, 1); } t9 = _this._widget.textAlign; t10 = _this.get$decoration(_this).helperText; t11 = _this._getHelperStyle$1(themeData); t12 = _this.get$decoration(_this).helperMaxLines; t13 = _this.get$decoration(_this).errorText; _this.get$decoration(_this).toString; t3 = t3.caption.copyWith$1$color(themeData.errorColor).merge$1(_this.get$decoration(_this).errorStyle); t14 = _this.get$decoration(_this).errorMaxLines; if (_this.get$decoration(_this).counter != null) counter = _this.get$decoration(_this).counter; else if (_this.get$decoration(_this).counterText != null && _this.get$decoration(_this).counterText !== "") { t15 = _this._widget.isFocused; t16 = _this.get$decoration(_this).counterText; t16.toString; t2 = _this._getHelperStyle$1(themeData).merge$1(A.MaterialStateProperty_resolveAs(_this.get$decoration(_this).counterStyle, _this.get$materialState(), t2)); t2 = A.Text$(t16, _null, B.TextOverflow_2, _this.get$decoration(_this).semanticCounterText, _null, t2, _null, _null, _null); counter = 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, t15, _null, _null, _null, _null, _null, _null, _null, _null, _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, t2, _null); } else counter = _null; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; textDirection = t2.textDirection; t2 = _this.get$decoration(_this).contentPadding; decorationContentPadding = t2 == null ? _null : t2.resolve$1(textDirection); _this.get$decoration(_this).toString; if (!border.get$isOutline()) { t2 = labelStyle.fontSize; t2.toString; floatingLabelHeight = (4 + 0.75 * t2) * A.MediaQuery_textScaleFactorOf(context); if (_this.get$decoration(_this).filled === true) if (decorationContentPadding == null) contentPadding = decorationIsDense ? B.EdgeInsets_12_8_12_8 : B.EdgeInsets_12_12_12_12; else contentPadding = decorationContentPadding; else if (decorationContentPadding == null) contentPadding = decorationIsDense ? B.EdgeInsets_0_8_0_8 : B.EdgeInsets_0_12_0_12; else contentPadding = decorationContentPadding; } else { if (decorationContentPadding == null) contentPadding = decorationIsDense ? B.EdgeInsets_12_20_12_12 : B.EdgeInsets_12_24_12_16; else contentPadding = decorationContentPadding; floatingLabelHeight = 0; } _this.get$decoration(_this).toString; t2 = A._lateReadCheck(A._lateReadCheck(_this.___InputDecoratorState__floatingLabelController, _s24_).__AnimationController__value, "_value"); t15 = _this.get$decoration(_this).alignLabelWithHint; t16 = _this.get$decoration(_this).isDense; t17 = _this._widget; t18 = t17.child; t19 = t17.textAlignVertical; t20 = t17.isFocused; t17 = t17.expands; _this.get$decoration(_this).toString; return new A._Decorator(new A._Decoration(contentPadding, false, floatingLabelHeight, t2, border, t1, t15 === true, t16, themeData.visualDensity, _null, t18, label, hint, prefix, _null, prefixIcon, suffixIcon, new A._HelperError(t9, t10, t11, t12, t13, t3, t14, _null), counter, new A._BorderContainer(border, t1, t4, t6, t7, t8, _null)), textDirection, t5, t19, t20, t17, _null); } }; A._InputDecoratorState__handleChange_closure.prototype = { call$0() { }, $signature: 0 }; A._InputDecoratorState__getIconColor__resolveIconColor.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6) && !states.contains$1(0, B.MaterialState_1)) return this.themeData.disabledColor; if (states.contains$1(0, B.MaterialState_1)) return this.themeData.colorScheme.primary; switch (this.themeData.colorScheme.brightness.index) { case 0: return B.Color_3019898879; case 1: return B.Color_1929379840; } }, $signature: 31 }; A._InputDecoratorState__getFloatingLabelStyle_getFallbackTextStyle.prototype = { call$0() { var t2, color, _null = null, t1 = this.$this; if (t1.get$decoration(t1).errorText != null) { t2 = t1.get$decoration(t1).errorStyle; t2 = t2 == null ? _null : t2.color; color = t2 == null ? this.themeData.errorColor : t2; } else color = t1._getActiveColor$1(this.themeData); t1.get$decoration(t1).toString; t2 = A.TextStyle$(_null, _null, color, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null); t1.get$decoration(t1).toString; t1 = t1.get$decoration(t1); return t2.merge$1(t1.labelStyle); }, $signature: 511 }; A.InputDecoration.prototype = { copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(alignLabelWithHint, border, constraints, contentPadding, counter, counterStyle, counterText, disabledBorder, enabled, enabledBorder, errorBorder, errorMaxLines, errorStyle, errorText, fillColor, filled, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, hintMaxLines, hintStyle, hintText, hoverColor, isCollapsed, isDense, labelStyle, prefixStyle, semanticCounterText, suffixStyle) { var _this = this, t1 = labelStyle == null ? _this.labelStyle : labelStyle, t2 = hintText == null ? _this.hintText : hintText, t3 = hintStyle == null ? _this.hintStyle : hintStyle, t4 = hintMaxLines == null ? _this.hintMaxLines : hintMaxLines, t5 = errorText == null ? _this.errorText : errorText, t6 = errorStyle == null ? _this.errorStyle : errorStyle, t7 = errorMaxLines == null ? _this.errorMaxLines : errorMaxLines, t8 = floatingLabelBehavior == null ? _this.floatingLabelBehavior : floatingLabelBehavior, t9 = isDense == null ? _this.isDense : isDense, t10 = contentPadding == null ? _this.contentPadding : contentPadding, t11 = prefixStyle == null ? _this.prefixStyle : prefixStyle, t12 = counter == null ? _this.counter : counter, t13 = counterText == null ? _this.counterText : counterText, t14 = counterStyle == null ? _this.counterStyle : counterStyle, t15 = filled == null ? _this.filled : filled, t16 = fillColor == null ? _this.fillColor : fillColor, t17 = hoverColor == null ? _this.hoverColor : hoverColor, t18 = errorBorder == null ? _this.errorBorder : errorBorder, t19 = focusedBorder == null ? _this.focusedBorder : focusedBorder, t20 = focusedErrorBorder == null ? _this.focusedErrorBorder : focusedErrorBorder, t21 = enabledBorder == null ? _this.enabledBorder : enabledBorder, t22 = border == null ? _this.border : border, t23 = semanticCounterText == null ? _this.semanticCounterText : semanticCounterText, t24 = alignLabelWithHint == null ? _this.alignLabelWithHint : alignLabelWithHint; return A.InputDecoration$(t24, t22, _this.constraints, t10, t12, t14, t13, _this.disabledBorder, enabled !== false, t21, t18, t7, t6, t5, t16, t15, t8, _this.floatingLabelStyle, _this.focusColor, t19, t20, _this.helperMaxLines, _this.helperStyle, _this.helperText, t4, t3, t2, _this.hintTextDirection, t17, _this.icon, _this.iconColor, isCollapsed === true, t9, _this.label, t1, _this.labelText, _this.prefix, _this.prefixIcon, _this.prefixIconColor, _this.prefixIconConstraints, t11, _this.prefixText, t23, _this.suffix, _this.suffixIcon, _this.suffixIconColor, _this.suffixIconConstraints, _this.suffixStyle, _this.suffixText); }, copyWith$26$alignLabelWithHint$border$constraints$contentPadding$counterStyle$disabledBorder$enabledBorder$errorBorder$errorMaxLines$errorStyle$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintStyle$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$suffixStyle(alignLabelWithHint, border, constraints, contentPadding, counterStyle, disabledBorder, enabledBorder, errorBorder, errorMaxLines, errorStyle, fillColor, filled, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, hintStyle, hoverColor, isCollapsed, isDense, labelStyle, prefixStyle, suffixStyle) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(alignLabelWithHint, border, constraints, contentPadding, null, counterStyle, null, disabledBorder, null, enabledBorder, errorBorder, errorMaxLines, errorStyle, null, fillColor, filled, floatingLabelBehavior, floatingLabelStyle, focusColor, focusedBorder, focusedErrorBorder, helperMaxLines, helperStyle, null, hintStyle, null, hoverColor, isCollapsed, isDense, labelStyle, prefixStyle, null, suffixStyle); }, copyWith$2$enabled$hintMaxLines(enabled, hintMaxLines) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, null, null, null, null, enabled, null, null, null, null, null, null, null, null, null, null, null, null, null, null, hintMaxLines, null, null, null, null, null, null, null, null, null); }, copyWith$1$counter(counter) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, counter, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$4$counterStyle$counterText$errorText$semanticCounterText(counterStyle, counterText, errorText, semanticCounterText) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, null, counterStyle, counterText, null, null, null, null, null, null, errorText, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, semanticCounterText, null); }, copyWith$2$counterText$semanticCounterText(counterText, semanticCounterText) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, null, null, counterText, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, semanticCounterText, null); }, copyWith$1$errorText(errorText) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, null, null, null, null, null, null, null, null, null, errorText, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$2$fillColor$hintText(fillColor, hintText) { return this.copyWith$33$alignLabelWithHint$border$constraints$contentPadding$counter$counterStyle$counterText$disabledBorder$enabled$enabledBorder$errorBorder$errorMaxLines$errorStyle$errorText$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintMaxLines$hintStyle$hintText$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$semanticCounterText$suffixStyle(null, null, null, null, null, null, null, null, null, null, null, null, null, null, fillColor, null, null, null, null, null, null, null, null, null, null, hintText, null, null, null, null, null, null, null); }, applyDefaults$1(theme) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, _null = null, t1 = _this.labelStyle; if (t1 == null) t1 = _null; t2 = _this.hintStyle; if (t2 == null) t2 = _null; t3 = _this.errorStyle; if (t3 == null) t3 = _null; t4 = _this.errorMaxLines; if (t4 == null) t4 = _null; t5 = _this.floatingLabelBehavior; if (t5 == null) t5 = B.FloatingLabelBehavior_1; t6 = _this.contentPadding; if (t6 == null) t6 = _null; t7 = _this.prefixStyle; if (t7 == null) t7 = _null; t8 = _this.counterStyle; if (t8 == null) t8 = _null; t9 = _this.fillColor; if (t9 == null) t9 = _null; t10 = _this.hoverColor; if (t10 == null) t10 = _null; t11 = _this.errorBorder; if (t11 == null) t11 = _null; t12 = _this.focusedBorder; if (t12 == null) t12 = _null; t13 = _this.focusedErrorBorder; if (t13 == null) t13 = _null; t14 = _this.enabledBorder; if (t14 == null) t14 = _null; t15 = _this.border; if (t15 == null) t15 = _null; return _this.copyWith$26$alignLabelWithHint$border$constraints$contentPadding$counterStyle$disabledBorder$enabledBorder$errorBorder$errorMaxLines$errorStyle$fillColor$filled$floatingLabelBehavior$floatingLabelStyle$focusColor$focusedBorder$focusedErrorBorder$helperMaxLines$helperStyle$hintStyle$hoverColor$isCollapsed$isDense$labelStyle$prefixStyle$suffixStyle(_this.alignLabelWithHint === true, t15, _null, t6, t8, _null, t14, t11, t4, t3, t9, _this.filled === true, t5, _null, _null, t12, t13, _null, _null, t2, t10, false, _this.isDense === true, t1, t7, _null); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.InputDecoration) if (other.labelText == _this.labelText) if (J.$eq$(other.labelStyle, _this.labelStyle)) if (other.hintText == _this.hintText) if (J.$eq$(other.hintStyle, _this.hintStyle)) if (other.hintMaxLines == _this.hintMaxLines) if (other.errorText == _this.errorText) if (J.$eq$(other.errorStyle, _this.errorStyle)) if (other.errorMaxLines == _this.errorMaxLines) if (other.floatingLabelBehavior == _this.floatingLabelBehavior) if (other.isDense == _this.isDense) if (J.$eq$(other.contentPadding, _this.contentPadding)) if (J.$eq$(other.prefixIcon, _this.prefixIcon)) if (other.prefixText == _this.prefixText) if (J.$eq$(other.prefixStyle, _this.prefixStyle)) if (J.$eq$(other.suffixIcon, _this.suffixIcon)) if (J.$eq$(other.suffixIconConstraints, _this.suffixIconConstraints)) if (J.$eq$(other.counter, _this.counter)) if (other.counterText == _this.counterText) if (J.$eq$(other.counterStyle, _this.counterStyle)) if (other.filled == _this.filled) if (J.$eq$(other.fillColor, _this.fillColor)) if (J.$eq$(other.hoverColor, _this.hoverColor)) if (J.$eq$(other.errorBorder, _this.errorBorder)) if (J.$eq$(other.focusedBorder, _this.focusedBorder)) if (J.$eq$(other.focusedErrorBorder, _this.focusedErrorBorder)) if (J.$eq$(other.enabledBorder, _this.enabledBorder)) if (J.$eq$(other.border, _this.border)) t1 = other.semanticCounterText == _this.semanticCounterText && other.alignLabelWithHint == _this.alignLabelWithHint && 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; 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 _this = this, t1 = _this.border; return A.hashList([_this.icon, _this.iconColor, _this.label, _this.labelText, _this.floatingLabelStyle, _this.labelStyle, _this.helperText, _this.helperStyle, _this.helperMaxLines, _this.hintText, _this.hintStyle, _this.hintTextDirection, _this.hintMaxLines, _this.errorText, _this.errorStyle, _this.errorMaxLines, _this.floatingLabelBehavior, _this.isDense, _this.contentPadding, false, _this.filled, _this.fillColor, _this.focusColor, _this.hoverColor, t1, true, _this.prefixIcon, _this.prefixIconColor, _this.prefix, _this.prefixText, _this.prefixStyle, _this.prefixIconConstraints, _this.suffixIcon, _this.suffixIconColor, _this.suffix, _this.suffixText, _this.suffixStyle, _this.suffixIconConstraints, _this.counter, _this.counterText, _this.counterStyle, _this.errorBorder, _this.focusedBorder, _this.focusedErrorBorder, _this.disabledBorder, _this.enabledBorder, t1, true, _this.semanticCounterText, _this.alignLabelWithHint, _this.constraints]); }, toString$0(_) { var _this = this, t1 = A._setArrayType([], type$.JSArray_String), t2 = _this.labelText; if (t2 != null) t1.push('labelText: "' + t2 + '"'); t2 = _this.hintText; if (t2 != null) t1.push('hintText: "' + t2 + '"'); t2 = _this.hintMaxLines; if (t2 != null) t1.push('hintMaxLines: "' + A.S(t2) + '"'); t2 = _this.errorText; if (t2 != null) t1.push('errorText: "' + t2 + '"'); t2 = _this.errorStyle; if (t2 != null) t1.push('errorStyle: "' + t2.toString$0(0) + '"'); t2 = _this.errorMaxLines; if (t2 != null) t1.push('errorMaxLines: "' + A.S(t2) + '"'); t2 = _this.floatingLabelBehavior; if (t2 != null) t1.push("floatingLabelBehavior: " + t2.toString$0(0)); t2 = _this.isDense; if (t2 === true) t1.push("isDense: " + A.S(t2)); t2 = _this.contentPadding; if (t2 != null) t1.push("contentPadding: " + t2.toString$0(0)); t2 = _this.prefixIcon; if (t2 != null) t1.push("prefixIcon: " + t2.toString$0(0)); t2 = _this.prefixText; if (t2 != null) t1.push("prefixText: " + t2); t2 = _this.prefixStyle; if (t2 != null) t1.push("prefixStyle: " + t2.toString$0(0)); t2 = _this.suffixIcon; if (t2 != null) t1.push("suffixIcon: " + t2.toString$0(0)); t2 = _this.suffixIconConstraints; if (t2 != null) t1.push("suffixIconConstraints: " + t2.toString$0(0)); t2 = _this.counter; if (t2 != null) t1.push("counter: " + t2.toString$0(0)); t2 = _this.counterText; if (t2 != null) t1.push("counterText: " + t2); t2 = _this.counterStyle; if (t2 != null) t1.push("counterStyle: " + t2.toString$0(0)); if (_this.filled === true) t1.push("filled: true"); t2 = _this.fillColor; if (t2 != null) t1.push("fillColor: " + t2.toString$0(0)); t2 = _this.hoverColor; if (t2 != null) t1.push("hoverColor: " + t2.toString$0(0)); t2 = _this.errorBorder; if (t2 != null) t1.push("errorBorder: " + t2.toString$0(0)); t2 = _this.focusedBorder; if (t2 != null) t1.push("focusedBorder: " + t2.toString$0(0)); t2 = _this.focusedErrorBorder; if (t2 != null) t1.push("focusedErrorBorder: " + t2.toString$0(0)); t2 = _this.enabledBorder; if (t2 != null) t1.push("enabledBorder: " + t2.toString$0(0)); t2 = _this.border; if (t2 != null) t1.push("border: " + t2.toString$0(0)); t2 = _this.semanticCounterText; if (t2 != null) t1.push("semanticCounterText: " + t2); t2 = _this.alignLabelWithHint; if (t2 != null) t1.push("alignLabelWithHint: " + A.S(t2)); return "InputDecoration(" + B.JSArray_methods.join$1(t1, ", ") + ")"; } }; A.InputDecorationTheme.prototype = { get$hashCode(_) { return A.hashList([null, null, null, null, null, null, null, B.FloatingLabelBehavior_1, false, null, false, null, null, null, null, null, null, false, null, null, null, null, null, null, null, null, null, false, null]); }, $eq(_, other) { var t1; if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; if (other instanceof A.InputDecorationTheme) t1 = true; else t1 = false; return t1; } }; A._InputDecorationTheme_Object_Diagnosticable.prototype = {}; A.__BorderContainerState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__HelperErrorState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.__InputDecoratorState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.ListTileStyle.prototype = { toString$0(_) { return "ListTileStyle." + this._core$_name; } }; A.ListTileControlAffinity.prototype = { toString$0(_) { return "ListTileControlAffinity." + this._core$_name; } }; A.ListTileThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.dense, _this.shape, _this.style, _this.selectedColor, _this.iconColor, _this.textColor, _this.contentPadding, _this.tileColor, _this.selectedTileColor, _this.horizontalTitleGap, _this.minVerticalPadding, _this.minLeadingWidth, _this.enableFeedback, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.ListTileThemeData) t1 = J.$eq$(other.shape, _this.shape) && other.style == _this.style && J.$eq$(other.selectedColor, _this.selectedColor) && J.$eq$(other.iconColor, _this.iconColor) && J.$eq$(other.textColor, _this.textColor) && J.$eq$(other.contentPadding, _this.contentPadding) && J.$eq$(other.tileColor, _this.tileColor) && J.$eq$(other.selectedTileColor, _this.selectedTileColor) && other.horizontalTitleGap == _this.horizontalTitleGap && other.minVerticalPadding == _this.minVerticalPadding && other.minLeadingWidth == _this.minLeadingWidth && true; else t1 = false; return t1; } }; A.ListTileTheme.prototype = { get$data(_) { var _null = null, t1 = this._list_tile$_data; return t1 == null ? new A.ListTileThemeData(_null, _null, this._list_tile$_style, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null) : t1; }, wrap$2(_, context, child) { var _null = null, t1 = this._list_tile$_data, t2 = t1 != null, t3 = t2 ? t1.dense : _null, t4 = t2 ? t1.shape : _null, t5 = t2 ? t1.style : this._list_tile$_style, t6 = t2 ? t1.selectedColor : _null, t7 = t2 ? t1.iconColor : _null, t8 = t2 ? t1.textColor : _null, t9 = t2 ? t1.contentPadding : _null, t10 = t2 ? t1.tileColor : _null, t11 = t2 ? t1.selectedTileColor : _null, t12 = t2 ? t1.enableFeedback : _null, t13 = t2 ? t1.horizontalTitleGap : _null, t14 = t2 ? t1.minVerticalPadding : _null; return A.ListTileTheme$(child, new A.ListTileThemeData(t3, t4, t5, t6, t7, t8, t9, t10, t11, t13, t14, t2 ? t1.minLeadingWidth : _null, t12), _null, _null); }, updateShouldNotify$1(oldWidget) { return !this.get$data(this).$eq(0, oldWidget.get$data(oldWidget)); } }; A.ListTileTheme_merge_closure.prototype = { call$1(context) { var t2, t3, _this = this, $parent = A.ListTileTheme_of(context), t1 = _this.selectedColor; if (t1 == null) t1 = $parent.selectedColor; t2 = _this.iconColor; if (t2 == null) t2 = $parent.iconColor; t3 = _this.textColor; if (t3 == null) t3 = $parent.textColor; return A.ListTileTheme$(_this.child, new A.ListTileThemeData($parent.dense, $parent.shape, $parent.style, t1, t2, t3, $parent.contentPadding, $parent.tileColor, $parent.selectedTileColor, $parent.horizontalTitleGap, $parent.minVerticalPadding, $parent.minLeadingWidth, $parent.enableFeedback), _this.key, null); }, $signature: 512 }; A.ListTile.prototype = { _iconColor$2(theme, tileTheme) { var t1, color; if (!this.enabled) return theme.disabledColor; if (this.selected) { t1 = tileTheme.selectedColor; if (t1 == null) t1 = theme.listTileTheme.selectedColor; return t1 == null ? theme.colorScheme.primary : t1; } color = tileTheme.iconColor; if (color == null) color = theme.listTileTheme.iconColor; if (color != null) return color; switch (theme.colorScheme.brightness.index) { case 1: return B.Color_1929379840; case 0: return null; } }, _textColor$3(theme, tileTheme, defaultColor) { var t1; if (!this.enabled) return theme.disabledColor; if (this.selected) { t1 = tileTheme.selectedColor; if (t1 == null) t1 = theme.listTileTheme.selectedColor; return t1 == null ? theme.colorScheme.primary : t1; } t1 = tileTheme.textColor; if (t1 == null) t1 = theme.listTileTheme.textColor; return t1 == null ? defaultColor : t1; }, _isDenseLayout$2(theme, tileTheme) { var t1 = this.dense; if (t1 == null) t1 = tileTheme.dense; if (t1 == null) t1 = theme.listTileTheme.dense; return t1 === true; }, build$1(_, context) { var iconThemeData, textStyle, leadingAndTrailingTextStyle, leadingIcon, color, titleStyle, titleText, t3, subtitleStyle, subtitleText, trailingIcon, textDirection, resolvedContentPadding, resolvedMouseCursor, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, theme = A.Theme_of(context), tileTheme = A.ListTileTheme_of(context), t1 = _this.leading, t2 = t1 == null; if (!t2 || _this.trailing != null) { iconThemeData = new A.IconThemeData(_this._iconColor$2(theme, tileTheme), _null, _null); textStyle = theme.textTheme.bodyText2; leadingAndTrailingTextStyle = textStyle.copyWith$1$color(_this._textColor$3(theme, tileTheme, textStyle.color)); } else { leadingAndTrailingTextStyle = _null; iconThemeData = leadingAndTrailingTextStyle; } if (!t2) { leadingAndTrailingTextStyle.toString; iconThemeData.toString; leadingIcon = A.AnimatedDefaultTextStyle$(A.IconTheme_merge(t1, iconThemeData), B.C__Linear, B.Duration_200000, true, leadingAndTrailingTextStyle); } else leadingIcon = _null; t1 = tileTheme.style; if (t1 == null) t1 = theme.listTileTheme.style; switch ((t1 == null ? B.ListTileStyle_0 : t1).index) { case 1: t1 = theme.textTheme.bodyText1; t1.toString; textStyle = t1; break; case 0: t1 = theme.textTheme.subtitle1; t1.toString; textStyle = t1; break; default: textStyle = _null; } color = _this._textColor$3(theme, tileTheme, textStyle.color); titleStyle = _this._isDenseLayout$2(theme, tileTheme) ? textStyle.copyWith$2$color$fontSize(color, 13) : textStyle.copyWith$1$color(color); titleText = A.AnimatedDefaultTextStyle$(_this.title, B.C__Linear, B.Duration_200000, true, titleStyle); t1 = _this.subtitle; if (t1 != null) { t2 = theme.textTheme; t3 = t2.bodyText2; t3.toString; color = _this._textColor$3(theme, tileTheme, t2.caption.color); subtitleStyle = _this._isDenseLayout$2(theme, tileTheme) ? t3.copyWith$2$color$fontSize(color, 12) : t3.copyWith$1$color(color); subtitleText = A.AnimatedDefaultTextStyle$(t1, B.C__Linear, B.Duration_200000, true, subtitleStyle); } else { subtitleStyle = _null; subtitleText = subtitleStyle; } t1 = _this.trailing; if (t1 != null) { leadingAndTrailingTextStyle.toString; iconThemeData.toString; trailingIcon = A.AnimatedDefaultTextStyle$(A.IconTheme_merge(t1, iconThemeData), B.C__Linear, B.Duration_200000, true, leadingAndTrailingTextStyle); } else trailingIcon = _null; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; textDirection = t1.textDirection; t1 = _this.contentPadding; if (t1 == null) t1 = _null; if (t1 == null) { t1 = tileTheme.contentPadding; t1 = t1 == null ? _null : t1.resolve$1(textDirection); resolvedContentPadding = t1; } else resolvedContentPadding = t1; if (resolvedContentPadding == null) resolvedContentPadding = B.EdgeInsets_16_0_16_0; t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); t2 = _this.enabled; if (t2) t3 = _this.onTap == null && true; else t3 = true; if (t3) t1.add$1(0, B.MaterialState_6); t3 = _this.selected; if (t3) t1.add$1(0, B.MaterialState_4); resolvedMouseCursor = A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, t1, type$.MouseCursor); t1 = tileTheme.shape; t4 = t2 ? _this.onTap : _null; t5 = t1 == null ? B.Border_27z : t1; if (t3) { t6 = tileTheme.selectedTileColor; color = t6 == null ? theme.listTileTheme.selectedTileColor : t6; } else { t6 = tileTheme.tileColor; color = t6 == null ? theme.listTileTheme.tileColor : t6; } t6 = color == null ? B.Color_0 : color; t7 = _this._isDenseLayout$2(theme, tileTheme); t8 = titleStyle.textBaseline; t8.toString; t9 = subtitleStyle == null ? _null : subtitleStyle.textBaseline; t10 = tileTheme.horizontalTitleGap; if (t10 == null) t10 = 16; t11 = tileTheme.minVerticalPadding; if (t11 == null) t11 = 4; t12 = tileTheme.minLeadingWidth; if (t12 == null) t12 = 40; t12 = A.SafeArea$(false, new A._ListTile(leadingIcon, titleText, subtitleText, trailingIcon, _this.isThreeLine, t7, theme.visualDensity, textDirection, t8, t9, t10, t11, t12, _null), resolvedContentPadding, false); return A.InkWell$(false, _null, t2, new A.Semantics(A.SemanticsProperties$(_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, _null, t3, _null, _null, _null, _null, _null, _null, _null), false, false, false, new A.Ink(t12, new A.ShapeDecoration(t6, _null, _null, _null, t5), _null), _null), t1, true, _null, _this.focusNode, _null, _this.hoverColor, _null, resolvedMouseCursor, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null); } }; A._ListTileSlot.prototype = { toString$0(_) { return "_ListTileSlot." + this._core$_name; } }; A._ListTile.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t2; return new A._ListTileElement(A.LinkedHashMap_LinkedHashMap$_empty(type$._ListTileSlot, t1), t2, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, createRenderObject$1(context) { var _this = this, t1 = new A._RenderListTile(A.LinkedHashMap_LinkedHashMap$_empty(type$._ListTileSlot, type$.RenderBox), _this.isDense, _this.visualDensity, _this.isThreeLine, _this.textDirection, _this.titleBaselineType, _this.subtitleBaselineType, _this.horizontalTitleGap, _this.minVerticalPadding, _this.minLeadingWidth, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.set$isThreeLine(_this.isThreeLine); renderObject.set$isDense(_this.isDense); renderObject.set$visualDensity(_this.visualDensity); renderObject.set$textDirection(0, _this.textDirection); renderObject.set$titleBaselineType(_this.titleBaselineType); renderObject.set$subtitleBaselineType(_this.subtitleBaselineType); renderObject.set$horizontalTitleGap(_this.horizontalTitleGap); renderObject.set$minLeadingWidth(_this.minLeadingWidth); renderObject.set$minVerticalPadding(_this.minVerticalPadding); } }; A._ListTileElement.prototype = { get$widget() { return type$._ListTile._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderListTile._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, visitChildren$1(visitor) { var t1 = this.slotToChild; t1.get$values(t1).forEach$1(0, visitor); }, forgetChild$1(child) { this.slotToChild.remove$1(0, child._slot); 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, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = type$._ListTile; _this._mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).leading, B._ListTileSlot_0); _this._mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).title, B._ListTileSlot_1); _this._mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).subtitle, B._ListTileSlot_2); _this._mountChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).trailing, B._ListTileSlot_3); }, _list_tile$_updateChild$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); }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = type$._ListTile; _this._list_tile$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).leading, B._ListTileSlot_0); _this._list_tile$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).title, B._ListTileSlot_1); _this._list_tile$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).subtitle, B._ListTileSlot_2); _this._list_tile$_updateChild$2(t1._as(A.RenderObjectElement.prototype.get$widget.call(_this)).trailing, B._ListTileSlot_3); }, _updateRenderObject$2(child, slot) { var t1, _this = this; switch (slot.index) { case 0: t1 = type$._RenderListTile._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._list_tile$_leading = t1._list_tile$_updateChild$3(t1._list_tile$_leading, child, B._ListTileSlot_0); break; case 1: t1 = type$._RenderListTile._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._title = t1._list_tile$_updateChild$3(t1._title, child, B._ListTileSlot_1); break; case 2: t1 = type$._RenderListTile._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._subtitle = t1._list_tile$_updateChild$3(t1._subtitle, child, B._ListTileSlot_2); break; case 3: t1 = type$._RenderListTile._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1._trailing = t1._list_tile$_updateChild$3(t1._trailing, child, B._ListTileSlot_3); break; } }, insertRenderObjectChild$2(child, slot) { this._updateRenderObject$2(type$.RenderBox._as(child), slot); }, removeRenderObjectChild$2(child, slot) { this._updateRenderObject$2(null, slot); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { } }; A._RenderListTile.prototype = { _list_tile$_updateChild$3(oldChild, newChild, slot) { var _this = this; if (oldChild != null) { _this.dropChild$1(oldChild); _this.children.remove$1(0, slot); } if (newChild != null) { _this.children.$indexSet(0, slot, newChild); _this.adoptChild$1(newChild); } return newChild; }, get$_list_tile$_children($async$_) { var $async$self = this; return A._makeSyncStarIterable(function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$get$_list_tile$_children($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._list_tile$_leading; $async$goto = t1 != null ? 2 : 3; break; case 2: // then $async$goto = 4; return t1; case 4: // after yield case 3: // join t1 = $async$self._title; $async$goto = t1 != null ? 5 : 6; break; case 5: // then $async$goto = 7; return t1; case 7: // after yield case 6: // join t1 = $async$self._subtitle; $async$goto = t1 != null ? 8 : 9; break; case 8: // then $async$goto = 10; return t1; case 10: // after yield case 9: // join t1 = $async$self._trailing; $async$goto = t1 != null ? 11 : 12; break; case 11: // then $async$goto = 13; return t1; case 13: // after yield case 12: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderBox); }, set$isDense(value) { if (this._isDense === value) return; this._isDense = value; this.markNeedsLayout$0(); }, set$visualDensity(value) { if (this._visualDensity.$eq(0, value)) return; this._visualDensity = value; this.markNeedsLayout$0(); }, set$isThreeLine(value) { if (this._isThreeLine === value) return; this._isThreeLine = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._list_tile$_textDirection === value) return; this._list_tile$_textDirection = value; this.markNeedsLayout$0(); }, set$titleBaselineType(value) { if (this._titleBaselineType === value) return; this._titleBaselineType = value; this.markNeedsLayout$0(); }, set$subtitleBaselineType(value) { if (this._subtitleBaselineType == value) return; this._subtitleBaselineType = value; this.markNeedsLayout$0(); }, get$_effectiveHorizontalTitleGap() { return this._horizontalTitleGap + this._visualDensity.horizontal * 2; }, set$horizontalTitleGap(value) { if (this._horizontalTitleGap === value) return; this._horizontalTitleGap = value; this.markNeedsLayout$0(); }, set$minVerticalPadding(value) { if (this._minVerticalPadding === value) return; this._minVerticalPadding = value; this.markNeedsLayout$0(); }, set$minLeadingWidth(value) { if (this._minLeadingWidth === value) return; this._minLeadingWidth = value; this.markNeedsLayout$0(); }, attach$1(owner) { var t1; this.super$RenderObject$attach(owner); for (t1 = this.get$_list_tile$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); for (t1 = this.get$_list_tile$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).detach$0(0); }, redepthChildren$0() { this.get$_list_tile$_children(this).forEach$1(0, this.get$redepthChild()); }, visitChildren$1(visitor) { this.get$_list_tile$_children(this).forEach$1(0, visitor); }, debugDescribeChildren$0() { var _this = this, value = A._setArrayType([], type$.JSArray_DiagnosticsNode), t1 = new A._RenderListTile_debugDescribeChildren_add(value); t1.call$2(_this._list_tile$_leading, "leading"); t1.call$2(_this._title, "title"); t1.call$2(_this._subtitle, "subtitle"); t1.call$2(_this._trailing, "trailing"); return value; }, get$sizedByParent() { return false; }, computeMinIntrinsicWidth$1(height) { var t2, _this = this, t1 = _this._list_tile$_leading, leadingWidth = t1 != null ? Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()), _this._minLeadingWidth) + _this.get$_effectiveHorizontalTitleGap() : 0; t1 = _this._title; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); t2 = _this._subtitle; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t2.get$computeMinIntrinsicWidth()); t2 = Math.max(t1, t2); t1 = _this._trailing; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return leadingWidth + t2 + t1; }, computeMaxIntrinsicWidth$1(height) { var t2, _this = this, t1 = _this._list_tile$_leading, leadingWidth = t1 != null ? Math.max(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()), _this._minLeadingWidth) + _this.get$_effectiveHorizontalTitleGap() : 0; t1 = _this._title; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); t2 = _this._subtitle; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t2.get$computeMaxIntrinsicWidth()); t2 = Math.max(t1, t2); t1 = _this._trailing; t1 = t1 == null ? 0 : t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return leadingWidth + t2 + t1; }, get$_defaultTileHeight() { var baseDensity, _this = this, isOneLine = _this._subtitle == null, hasSubtitle = !isOneLine, t1 = !_this._isThreeLine, isTwoLine = t1 && hasSubtitle; isOneLine = t1 && isOneLine; t1 = _this._visualDensity; baseDensity = new A.Offset(t1.horizontal, t1.vertical).$mul(0, 4); if (isOneLine) { t1 = _this._isDense ? 48 : 56; return t1 + baseDensity._dy; } if (isTwoLine) { t1 = _this._isDense ? 64 : 72; return t1 + baseDensity._dy; } t1 = _this._isDense ? 76 : 88; return t1 + baseDensity._dy; }, computeMinIntrinsicHeight$1(width) { var t3, t1 = this.get$_defaultTileHeight(), t2 = this._title; t2 = t2._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t2.get$computeMinIntrinsicHeight()); t3 = this._subtitle; t3 = t3 == null ? null : t3._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t3.get$computeMinIntrinsicHeight()); return Math.max(t1, t2 + (t3 == null ? 0 : t3)); }, computeMaxIntrinsicHeight$1(width) { return this.computeMinIntrinsicHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { var t1 = this._title, t2 = t1.parentData; t2.toString; t2 = type$.BoxParentData._as(t2).offset._dy; t1 = t1.getDistanceToActualBaseline$1(baseline); t1.toString; return t2 + t1; }, computeDryLayout$1(constraints) { return B.Size_0_0; }, performLayout$0() { var t3, looseConstraints, iconConstraints, leadingSize, trailingSize, titleStart, adjustedTrailingWidth, textConstraints, titleSize, subtitleSize, titleBaseline, subtitleBaseline, defaultTileHeight, tileHeight, titleY, subtitleY, t4, titleOverlap, titleY0, leadingY, trailingY, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), hasLeading = _this._list_tile$_leading != null, t1 = _this._subtitle == null, hasSubtitle = !t1, hasTrailing = _this._trailing != null, isTwoLine = !_this._isThreeLine && hasSubtitle, t2 = _this._visualDensity, densityAdjustment = new A.Offset(t2.horizontal, t2.vertical).$mul(0, 4); t2 = _this._isDense ? 48 : 56; t3 = constraints.maxWidth; looseConstraints = new A.BoxConstraints(0, t3, 0, constraints.maxHeight); iconConstraints = looseConstraints.enforce$1(new A.BoxConstraints(0, 1 / 0, 0, t2 + densityAdjustment._dy)); leadingSize = A._RenderListTile__layoutBox(_this._list_tile$_leading, iconConstraints); trailingSize = A._RenderListTile__layoutBox(_this._trailing, iconConstraints); titleStart = hasLeading ? Math.max(_this._minLeadingWidth, leadingSize._dx) + _this.get$_effectiveHorizontalTitleGap() : 0; adjustedTrailingWidth = hasTrailing ? Math.max(trailingSize._dx + _this.get$_effectiveHorizontalTitleGap(), 32) : 0; textConstraints = looseConstraints.tighten$1$width(t3 - titleStart - adjustedTrailingWidth); titleSize = A._RenderListTile__layoutBox(_this._title, textConstraints); subtitleSize = A._RenderListTile__layoutBox(_this._subtitle, textConstraints); if (isTwoLine) { t2 = _this._isDense; titleBaseline = t2 ? 28 : 32; subtitleBaseline = t2 ? 48 : 52; } else if (_this._isThreeLine) { t2 = _this._isDense; titleBaseline = t2 ? 22 : 28; subtitleBaseline = t2 ? 42 : 48; } else { titleBaseline = null; subtitleBaseline = null; } defaultTileHeight = _this.get$_defaultTileHeight(); t2 = titleSize._dy; if (t1) { tileHeight = Math.max(defaultTileHeight, t2 + 2 * _this._minVerticalPadding); titleY = (tileHeight - t2) / 2; subtitleY = null; } else { titleBaseline.toString; t1 = _this._title.getDistanceToBaseline$1(_this._titleBaselineType); t1.toString; titleY = titleBaseline - t1; subtitleBaseline.toString; t1 = _this._subtitle; t1.toString; t4 = _this._subtitleBaselineType; t4.toString; t4 = t1.getDistanceToBaseline$1(t4); t4.toString; subtitleY = subtitleBaseline - t4 + _this._visualDensity.vertical * 2; titleOverlap = titleY + t2 - subtitleY; if (titleOverlap > 0) { t1 = titleOverlap / 2; titleY -= t1; subtitleY += t1; } titleY0 = _this._minVerticalPadding; if (titleY < titleY0 || subtitleY + subtitleSize._dy + titleY0 > defaultTileHeight) { tileHeight = t2 + subtitleSize._dy + 2 * titleY0; subtitleY = t2 + titleY0; titleY = titleY0; } else tileHeight = defaultTileHeight; } if (tileHeight > 72) { leadingY = 16; trailingY = 16; } else { leadingY = Math.min((tileHeight - leadingSize._dy) / 2, 16); trailingY = (tileHeight - trailingSize._dy) / 2; } switch (_this._list_tile$_textDirection.index) { case 0: if (hasLeading) { t1 = _this._list_tile$_leading.parentData; t1.toString; type$.BoxParentData._as(t1).offset = new A.Offset(t3 - leadingSize._dx, leadingY); } t1 = _this._title.parentData; t1.toString; t2 = type$.BoxParentData; t2._as(t1).offset = new A.Offset(adjustedTrailingWidth, titleY); if (hasSubtitle) { t1 = _this._subtitle; t1.toString; subtitleY.toString; t1 = t1.parentData; t1.toString; t2._as(t1).offset = new A.Offset(adjustedTrailingWidth, subtitleY); } if (hasTrailing) { t1 = _this._trailing.parentData; t1.toString; t2._as(t1).offset = new A.Offset(0, trailingY); } break; case 1: if (hasLeading) { t1 = _this._list_tile$_leading.parentData; t1.toString; type$.BoxParentData._as(t1).offset = new A.Offset(0, leadingY); } t1 = _this._title.parentData; t1.toString; t2 = type$.BoxParentData; t2._as(t1).offset = new A.Offset(titleStart, titleY); if (hasSubtitle) { t1 = _this._subtitle; t1.toString; subtitleY.toString; t1 = t1.parentData; t1.toString; t2._as(t1).offset = new A.Offset(titleStart, subtitleY); } if (hasTrailing) { t1 = _this._trailing.parentData; t1.toString; t2._as(t1).offset = new A.Offset(t3 - trailingSize._dx, trailingY); } break; } _this._size = constraints.constrain$1(new A.Size(t3, tileHeight)); }, paint$2(context, offset) { var _this = this, t1 = new A._RenderListTile_paint_doPaint(context, offset); t1.call$1(_this._list_tile$_leading); t1.call$1(_this._title); t1.call$1(_this._subtitle); t1.call$1(_this._trailing); }, hitTestSelf$1(position) { return true; }, hitTestChildren$2$position(result, position) { var t1, t2, t3, t4; for (t1 = this.get$_list_tile$_children(this), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")), t2 = type$.BoxParentData; t1.moveNext$0();) { t3 = t1.get$current(t1); t4 = t3.parentData; t4.toString; t2._as(t4); if (result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderListTile_hitTestChildren_closure(position, t4, t3), t4.offset, position)) return true; } return false; } }; A._RenderListTile_debugDescribeChildren_add.prototype = { call$2(child, $name) { if (child != null) this.value.push(A.DiagnosticableTreeNode$($name, null, child)); }, $signature: 163 }; A._RenderListTile_paint_doPaint.prototype = { call$1(child) { var t1; if (child != null) { t1 = child.parentData; t1.toString; this.context.paintChild$2(child, type$.BoxParentData._as(t1).offset.$add(0, this.offset)); } }, $signature: 275 }; A._RenderListTile_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A._ListTileThemeData_Object_Diagnosticable.prototype = {}; A.MaterialType.prototype = { toString$0(_) { return "MaterialType." + this._core$_name; } }; A.Material.prototype = { createState$0() { return new A._MaterialState(new A.LabeledGlobalKey("ink renderer", type$.LabeledGlobalKey_State_StatefulWidget), null, B._StateLifecycle_0); } }; A._MaterialState.prototype = { build$1(_, context) { var contents, t2, t3, t4, shape, _this = this, _null = null, theme = A.Theme_of(context), t1 = _this._widget, color = t1.color; if (color == null) switch (t1.type.index) { case 0: color = theme.canvasColor; break; case 1: color = theme.cardColor; break; case 3: case 2: case 4: break; } contents = t1.child; t1 = t1.textStyle; if (t1 == null) { t1 = A.Theme_of(context).textTheme.bodyText2; t1.toString; } t2 = _this._widget; contents = A.AnimatedDefaultTextStyle$(contents, B.C__Linear, t2.animationDuration, true, t1); t1 = t2; t2 = t1.type; contents = new A.NotificationListener(new A._InkFeatures(color, _this, t2 !== B.MaterialType_4, contents, _this._inkFeatureRenderer), new A._MaterialState_build_closure(_this), _null, type$.NotificationListener_LayoutChangedNotification); if (t2 === B.MaterialType_0 && t1.shape == null && t1.borderRadius == null) { t2 = t1.elevation; color.toString; t3 = A.ElevationOverlay_applyOverlay(context, color, t2); t4 = _this._widget.shadowColor; if (t4 == null) t4 = A.Theme_of(context).shadowColor; return new A.AnimatedPhysicalModel(contents, B.BoxShape_0, t1.clipBehavior, t2, t3, false, t4, B.Cubic_ifx, t1.animationDuration, _null, _null); } shape = _this._getShape$0(); t1 = _this._widget; if (t1.type === B.MaterialType_4) return A._MaterialState__transparentInterior(t1.clipBehavior, contents, context, shape); t2 = t1.animationDuration; t3 = t1.clipBehavior; t4 = t1.elevation; color.toString; t1 = t1.shadowColor; return new A._MaterialInterior(contents, shape, true, t3, t4, color, t1 == null ? A.Theme_of(context).shadowColor : t1, B.Cubic_ifx, t2, _null, _null); }, _getShape$0() { var t1 = this._widget, t2 = t1.shape; if (t2 != null) return t2; t2 = t1.borderRadius; if (t2 != null) return new A.RoundedRectangleBorder(t2, B.BorderSide_0CF); t1 = t1.type; switch (t1.index) { case 0: case 4: return B.RoundedRectangleBorder_LkV; case 1: case 3: t1 = B.Map_gnuL2.$index(0, t1); t1.toString; return new A.RoundedRectangleBorder(t1, B.BorderSide_0CF); case 2: return B.CircleBorder_IVQ; } } }; A._MaterialState_build_closure.prototype = { call$1(notification) { var t2, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this.$this._inkFeatureRenderer).get$renderObject(); t1.toString; type$._RenderInkFeatures._as(t1); t2 = t1._inkFeatures; if (t2 != null && t2.length !== 0) t1.markNeedsPaint$0(); return false; }, $signature: 513 }; A._RenderInkFeatures.prototype = { addInkFeature$1(feature) { var t1 = this._inkFeatures; (t1 == null ? this._inkFeatures = A._setArrayType([], type$.JSArray_InkFeature) : t1).push(feature); this.markNeedsPaint$0(); }, hitTestSelf$1(position) { return this.absorbHitTest; }, paint$2(context, offset) { var canvas, t2, _i, _this = this, t1 = _this._inkFeatures; if (t1 != null && t1.length !== 0) { canvas = context.get$canvas(context); canvas.save$0(0); canvas.translate$2(0, offset._dx, offset._dy); t1 = _this._size; canvas.clipRect$1(0, new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy)); for (t1 = _this._inkFeatures, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i]._material$_paint$1(canvas); canvas.restore$0(0); } _this.super$RenderProxyBoxMixin$paint(context, offset); } }; A._InkFeatures.prototype = { createRenderObject$1(context) { var t1 = new A._RenderInkFeatures(this.vsync, this.color, this.absorbHitTest, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.color = this.color; renderObject.absorbHitTest = this.absorbHitTest; } }; A.InkFeature.prototype = { dispose$0(_) { var t1 = this._controller, t2 = t1._inkFeatures; t2.toString; B.JSArray_methods.remove$1(t2, this); t1.markNeedsPaint$0(); this.onRemoved.call$0(); }, _material$_paint$1(canvas) { var t1, t2, t3, transform, index, index0, node = this.referenceBox, descendants = A._setArrayType([node], type$.JSArray_RenderObject); for (t1 = this._controller, t2 = type$.RenderObject; node !== t1; node = t3) { t3 = node.get$parent(node); t3.toString; t2._as(t3); descendants.push(t3); } transform = new A.Matrix4(new Float64Array(16)); transform.setIdentity$0(); for (index = descendants.length - 1; index > 0; index = index0) { index0 = index - 1; descendants[index].applyPaintTransform$2(descendants[index0], transform); } this.paintFeature$2(canvas, transform); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A.ShapeBorderTween.prototype = { lerp$1(t) { return A.ShapeBorder_lerp(this.begin, this.end, t); } }; A._MaterialInterior.prototype = { createState$0() { return new A._MaterialInteriorState(null, B._StateLifecycle_0); } }; A._MaterialInteriorState.prototype = { forEachTween$1(visitor) { var _this = this; _this._elevation = type$.nullable_Tween_double._as(visitor.call$3(_this._elevation, _this._widget.elevation, new A._MaterialInteriorState_forEachTween_closure())); _this._shadowColor = type$.nullable_ColorTween._as(visitor.call$3(_this._shadowColor, _this._widget.shadowColor, new A._MaterialInteriorState_forEachTween_closure0())); _this._border = type$.nullable_ShapeBorderTween._as(visitor.call$3(_this._border, _this._widget.shape, new A._MaterialInteriorState_forEachTween_closure1())); }, build$1(_, context) { var t2, t3, elevation, t4, t5, t6, _this = this, t1 = _this._border; t1.toString; t2 = _this.get$_animation(); t2 = t1.transform$1(0, t2.get$value(t2)); t2.toString; t1 = _this._elevation; t1.toString; t3 = _this.get$_animation(); elevation = t1.transform$1(0, t3.get$value(t3)); t3 = A.Directionality_maybeOf(context); t1 = _this._widget; t4 = t1.clipBehavior; t1 = A.ElevationOverlay_applyOverlay(context, t1.color, elevation); t5 = _this._shadowColor; t5.toString; t6 = _this.get$_animation(); t6 = t5.transform$1(0, t6.get$value(t6)); t6.toString; return new A.PhysicalShape(new A.ShapeBorderClipper(t2, t3, null), t4, elevation, t1, t6, new A._ShapeBorderPaint(_this._widget.child, t2, true, null), null); } }; A._MaterialInteriorState_forEachTween_closure.prototype = { call$1(value) { return new A.Tween(A._asDouble(value), null, type$.Tween_double); }, $signature: 155 }; A._MaterialInteriorState_forEachTween_closure0.prototype = { call$1(value) { return new A.ColorTween(type$.Color._as(value), null); }, $signature: 154 }; A._MaterialInteriorState_forEachTween_closure1.prototype = { call$1(value) { return new A.ShapeBorderTween(type$.ShapeBorder._as(value), null); }, $signature: 516 }; A._ShapeBorderPaint.prototype = { build$1(_, context) { var t1 = A.Directionality_maybeOf(context); return A.CustomPaint$(this.child, new A._ShapeBorderPainter(this.shape, t1, null), null, null, B.Size_0_0); } }; A._ShapeBorderPainter.prototype = { paint$2(canvas, size) { this.border.paint$3$textDirection(canvas, new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), this.textDirection); }, shouldRepaint$1(oldDelegate) { return !oldDelegate.border.$eq(0, this.border); } }; A.__MaterialState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.MaterialButton.prototype = { build$1(_, context) { var t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _null = null, theme = A.Theme_of(context), buttonTheme = A.ButtonTheme_of(context), t1 = buttonTheme.getFillColor$1(_this), t2 = theme.textTheme.button; t2.toString; t2 = t2.copyWith$1$color(buttonTheme.getTextColor$1(_this)); t3 = buttonTheme._focusColor; if (t3 == null) { t3 = buttonTheme.getTextColor$1(_this); t3 = A.Color$fromARGB(31, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255); } t4 = buttonTheme._hoverColor; if (t4 == null) { t4 = buttonTheme.getTextColor$1(_this); t4 = A.Color$fromARGB(10, t4.get$value(t4) >>> 16 & 255, t4.get$value(t4) >>> 8 & 255, t4.get$value(t4) & 255); } t5 = buttonTheme.getElevation$1(_this); t6 = buttonTheme.getFocusElevation$1(_this); t7 = buttonTheme.getHoverElevation$1(_this); t8 = buttonTheme.getHighlightElevation$1(_this); t9 = buttonTheme.getPadding$1(_this); t10 = new A.BoxConstraints(buttonTheme.minWidth, 1 / 0, buttonTheme.height, 1 / 0).copyWith$2$minHeight$minWidth(_null, _null); t11 = buttonTheme.get$shape(buttonTheme); return A.RawMaterialButton$(B.Duration_200000, false, _this.child, B.Clip_0, t10, 0, t5, true, t1, t3, t6, _null, theme.highlightColor, t8, t4, t7, theme.materialTapTargetSize, _null, _null, _null, _this.onPressed, t9, t11, theme.splashColor, t2, theme.visualDensity); } }; A._MaterialLocalizationsDelegate.prototype = { isSupported$1(locale) { return locale.get$languageCode(locale) === "en"; }, load$1(_, locale) { return new A.SynchronousFuture(B.C_DefaultMaterialLocalizations, type$.SynchronousFuture_MaterialLocalizations); }, shouldReload$1(old) { return false; }, toString$0(_) { return "DefaultMaterialLocalizations.delegate(en_US)"; } }; A.DefaultMaterialLocalizations.prototype = { _getDaysInMonth$2(year, month) { if (month === 2) { if (B.JSInt_methods.$mod(year, 4) === 0 && B.JSInt_methods.$mod(year, 100) !== 0 || B.JSInt_methods.$mod(year, 400) === 0) return 29; return 28; } return B.List_WB4[month - 1]; }, formatHour$2$alwaysUse24HourFormat(timeOfDay, alwaysUse24HourFormat) { switch (4) { case 4: return this.formatDecimal$1(timeOfDay.get$hourOfPeriod() === 0 ? 12 : timeOfDay.get$hourOfPeriod()); } }, _formatTwoDigitZeroPad$1(number) { if (number < 10) return "0" + number; return "" + number; }, formatMinute$1(timeOfDay) { var minute = timeOfDay.minute; return minute < 10 ? "0" + minute : B.JSInt_methods.toString$0(minute); }, formatFullDate$1(date) { var month = B.List_cIc[A.Primitives_getMonth(date) - 1]; return B.List_ALf[A.Primitives_getWeekday(date) - 1] + ", " + month + " " + A.Primitives_getDay(date) + ", " + A.Primitives_getYear(date); }, formatMonthYear$1(date) { var year = B.JSInt_methods.toString$0(A.Primitives_getYear(date)); return B.List_cIc[A.Primitives_getMonth(date) - 1] + " " + year; }, parseCompactDate$1(inputString) { var year, month, day, t1, _null = null, inputParts = inputString.split("/"); if (inputParts.length !== 3) return _null; year = A.Primitives_parseInt(inputParts[2], 10); if (year == null || year < 1) return _null; month = A.Primitives_parseInt(inputParts[0], 10); if (month == null || month < 1 || month > 12) return _null; day = A.Primitives_parseInt(inputParts[1], 10); if (day == null || day < 1 || day > this._getDaysInMonth$2(year, month)) return _null; t1 = A.Primitives_valueFromDecomposedDate(year, month, day, 0, 0, 0, 0, false); if (!A._isInt(t1)) A.throwExpression(A.argumentErrorValue(t1)); return new A.DateTime(t1, false); }, _formatDayPeriod$1(timeOfDay) { switch ((timeOfDay.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1).index) { case 0: return "AM"; case 1: return "PM"; } }, formatDecimal$1(number) { var digits, t1, maxDigitIndex, i; if (number > -1000 && number < 1000) return B.JSInt_methods.toString$0(number); digits = B.JSInt_methods.toString$0(Math.abs(number)); t1 = number < 0 ? "-" : ""; maxDigitIndex = digits.length - 1; for (i = 0; i <= maxDigitIndex; ++i) { t1 += digits[i]; if (i < maxDigitIndex && B.JSInt_methods.$mod(maxDigitIndex - i, 3) === 0) t1 += ","; } return t1.charCodeAt(0) == 0 ? t1 : t1; }, formatTimeOfDay$2$alwaysUse24HourFormat(timeOfDay, alwaysUse24HourFormat) { var buffer = new A.StringBuffer(""), t1 = "" + A.S(this.formatHour$2$alwaysUse24HourFormat(timeOfDay, false)); buffer._contents = t1; t1 += ":"; buffer._contents = t1; t1 += this.formatMinute$1(timeOfDay); buffer._contents = t1; t1 += " "; buffer._contents = t1; buffer._contents = t1 + A.S(this._formatDayPeriod$1(timeOfDay)); return buffer.toString$0(0); }, remainingTextFieldCharacterCount$1(remaining) { switch (remaining) { case 0: return "No characters remaining"; case 1: return "1 character remaining"; default: return "" + remaining + " characters remaining"; } }, $isMaterialLocalizations: 1 }; A.MaterialState.prototype = { toString$0(_) { return "MaterialState." + this._core$_name; } }; A.MaterialStateColor.prototype = {$isMaterialStateProperty: 1}; A._MaterialStateColor.prototype = { resolve$1(states) { return this._material_state$_resolve.call$1(states); } }; A.MaterialStateMouseCursor.prototype = { createSession$1(device) { return this.resolve$1(A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState)).createSession$1(device); }, $isMaterialStateProperty: 1 }; A._EnabledAndDisabledMouseCursor.prototype = { resolve$1(states) { if (states.contains$1(0, B.MaterialState_6)) return B.SystemMouseCursor_basic; return this.enabledCursor; }, get$debugDescription() { return "MaterialStateMouseCursor(" + this.name + ")"; }, get$name(receiver) { return this.name; } }; A.MaterialStateProperty.prototype = {}; A._MaterialStatePropertyWith.prototype = { resolve$1(states) { return this._material_state$_resolve.call$1(states); }, $isMaterialStateProperty: 1 }; A._MaterialStatePropertyAll.prototype = { resolve$1(states) { return this.value; }, toString$0(_) { return "MaterialStateProperty.all(" + A.S(this.value) + ")"; }, $isMaterialStateProperty: 1, get$value(receiver) { return this.value; } }; A.MaterialStateMixin.prototype = { updateMaterialState$2$onChanged(key, onChanged) { return new A.MaterialStateMixin_updateMaterialState_closure(this, key, onChanged); }, updateMaterialState$1(key) { return this.updateMaterialState$2$onChanged(key, null); }, addMaterialState$1(_state) { if (this.MaterialStateMixin_materialStates.add$1(0, _state)) this.setState$1(new A.MaterialStateMixin_addMaterialState_closure()); }, removeMaterialState$1(_state) { if (this.MaterialStateMixin_materialStates.remove$1(0, _state)) this.setState$1(new A.MaterialStateMixin_removeMaterialState_closure()); } }; A.MaterialStateMixin_updateMaterialState_closure.prototype = { call$1(value) { var t1 = this.$this, t2 = this.key; if (t1.MaterialStateMixin_materialStates.contains$1(0, t2) === value) return; if (value) t1.addMaterialState$1(t2); else t1.removeMaterialState$1(t2); }, $signature: 14 }; A.MaterialStateMixin_addMaterialState_closure.prototype = { call$0() { }, $signature: 0 }; A.MaterialStateMixin_removeMaterialState_closure.prototype = { call$0() { }, $signature: 0 }; A.NavigationBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.height, _this.backgroundColor, _this.indicatorColor, _this.labelTextStyle, _this.iconTheme, _this.labelBehavior, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.NavigationBarThemeData && other.height == _this.height && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.indicatorColor, _this.indicatorColor) && other.labelTextStyle == _this.labelTextStyle && other.iconTheme == _this.iconTheme && true; } }; A._LerpProperties4.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._NavigationBarThemeData_Object_Diagnosticable.prototype = {}; A.NavigationRailThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.elevation, _this.unselectedLabelTextStyle, _this.selectedLabelTextStyle, _this.unselectedIconTheme, _this.selectedIconTheme, _this.groupAlignment, _this.labelType, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.NavigationRailThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && other.elevation == _this.elevation && J.$eq$(other.unselectedLabelTextStyle, _this.unselectedLabelTextStyle) && J.$eq$(other.selectedLabelTextStyle, _this.selectedLabelTextStyle) && J.$eq$(other.unselectedIconTheme, _this.unselectedIconTheme) && J.$eq$(other.selectedIconTheme, _this.selectedIconTheme) && other.groupAlignment == _this.groupAlignment && true; } }; A._NavigationRailThemeData_Object_Diagnosticable.prototype = {}; A.OutlinedButton.prototype = { defaultStyleOf$1(context) { var scaledPadding, theme = A.Theme_of(context), colorScheme = theme.colorScheme, t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; scaledPadding = A.ButtonStyleButton_scaledPadding(B.EdgeInsets_16_0_16_0, B.EdgeInsets_8_0_8_0, B.EdgeInsets_4_0_4_0, t1 == null ? 1 : t1); t1 = A.Theme_of(context).colorScheme.onSurface; return A.OutlinedButton_styleFrom(B.Alignment_0_0, B.Duration_200000, B.Color_0, B.SystemMouseCursor_forbidden, 0, true, B.SystemMouseCursor_click, B.Size_wjo, B.Size_64_36, colorScheme.onSurface, scaledPadding, colorScheme.primary, theme.shadowColor, B.RoundedRectangleBorder_LkV1, new A.BorderSide(A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), 1, B.BorderStyle_1), B.C__InkRippleFactory, theme.materialTapTargetSize, theme.textTheme.button, theme.visualDensity); }, themeStyleOf$1(context) { var t1; context.dependOnInheritedWidgetOfExactType$1$0(type$.OutlinedButtonTheme); t1 = A.Theme_of(context); return t1.outlinedButtonTheme.style; } }; A._OutlinedButtonDefaultForeground.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { t1 = this.onSurface; return t1 == null ? null : A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return this.primary; } }; A._OutlinedButtonDefaultOverlay.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_0)) { t1 = this.primary; return A.Color$fromARGB(10, 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) || states.contains$1(0, B.MaterialState_2)) { t1 = this.primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return null; } }; A._OutlinedButtonDefaultMouseCursor.prototype = { resolve$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.disabledCursor; return this.enabledCursor; } }; A._OutlinedButtonWithIcon.prototype = {}; A._OutlinedButtonWithIconChild.prototype = { build$1(_, context) { var gap, _null = null, t1 = A.MediaQuery_maybeOf(context), scale = t1 == null ? _null : t1.textScaleFactor; if (scale == null) scale = 1; if (scale <= 1) gap = 8; else { t1 = A.lerpDouble(8, 4, Math.min(scale - 1, 1)); t1.toString; gap = t1; } return A.Row$(A._setArrayType([this.icon, new A.SizedBox(gap, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, this.label, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); } }; A.__OutlinedButtonDefaultForeground_MaterialStateProperty_Diagnosticable.prototype = {}; A.__OutlinedButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable.prototype = {}; A.__OutlinedButtonDefaultOverlay_MaterialStateProperty_Diagnosticable.prototype = {}; A.OutlinedButtonThemeData.prototype = { get$hashCode(_) { return J.get$hashCode$(this.style); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.OutlinedButtonThemeData && J.$eq$(other.style, this.style); } }; A._OutlinedButtonThemeData_Object_Diagnosticable.prototype = {}; A.MaterialPageRoute.prototype = { get$debugLabel() { return A.TransitionRoute.prototype.get$debugLabel.call(this) + "(" + A.S(this._settings.name) + ")"; }, get$maintainState() { return true; } }; A.MaterialRouteTransitionMixin.prototype = { get$transitionDuration(_) { return B.Duration_300000; }, get$barrierColor() { return null; }, get$barrierLabel() { return null; }, canTransitionTo$1(nextRoute) { var t1; if (!(type$.MaterialRouteTransitionMixin_dynamic._is(nextRoute) && !nextRoute.fullscreenDialog)) t1 = false; else t1 = true; return t1; }, buildPage$3(context, animation, secondaryAnimation) { var _null = null, t1 = this.builder.call$1(context); 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, true, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, t1, _null); }, buildTransitions$4(context, animation, secondaryAnimation, child) { var platform, matchingBuilder; A.Theme_of(context); platform = A.Theme_of(context).platform; matchingBuilder = B.Map_3hES6.$index(0, this._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value ? B.TargetPlatform_2 : platform); if (matchingBuilder == null) matchingBuilder = B.C_FadeUpwardsPageTransitionsBuilder; return matchingBuilder.buildTransitions$1$5(this, context, animation, secondaryAnimation, child, this.$ti._precomputed1); } }; A._MaterialPageRoute_PageRoute_MaterialRouteTransitionMixin.prototype = {}; A._FadeUpwardsPageTransition.prototype = { build$1(_, context) { return A.SlideTransition$(A.FadeTransition$(false, this.child, this._opacityAnimation), this._page_transitions_theme$_positionAnimation, null, true); } }; A.PageTransitionsBuilder.prototype = {}; A.FadeUpwardsPageTransitionsBuilder.prototype = { buildTransitions$1$5(route, context, animation, secondaryAnimation, child) { var t4, t1 = $.$get$_FadeUpwardsPageTransition__bottomUpTween(), t2 = $.$get$_FadeUpwardsPageTransition__fastOutSlowInTween(), t3 = A._instanceType(t1)._eval$1("_ChainedEvaluation<Animatable.T>"); type$.Animation_double._as(animation); t4 = $.$get$_FadeUpwardsPageTransition__easeInTween(); return new A._FadeUpwardsPageTransition(new A._AnimatedEvaluation(animation, new A._ChainedEvaluation(t2, t1, t3), t3._eval$1("_AnimatedEvaluation<Animatable.T>")), new A._AnimatedEvaluation(animation, t4, A._instanceType(t4)._eval$1("_AnimatedEvaluation<Animatable.T>")), child, null); } }; A.CupertinoPageTransitionsBuilder.prototype = { buildTransitions$1$5(route, context, animation, secondaryAnimation, child, $T) { return A.CupertinoRouteTransitionMixin_buildPageTransitions(route, context, animation, secondaryAnimation, child, $T); } }; A.PageTransitionsTheme.prototype = { _all$1(builders) { var t1 = type$.MappedListIterable_of_TargetPlatform_and_nullable_PageTransitionsBuilder; return A.List_List$of(new A.MappedListIterable(B.List_4fl, new A.PageTransitionsTheme__all_closure(builders), t1), true, t1._eval$1("ListIterable.E")); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; t1 = other instanceof A.PageTransitionsTheme; if (t1 && true) return true; return t1 && A.listEquals0(_this._all$1(B.Map_3hES6), _this._all$1(B.Map_3hES6)); }, get$hashCode(_) { return A.hashList(this._all$1(B.Map_3hES6)); } }; A.PageTransitionsTheme__all_closure.prototype = { call$1(platform) { return this.builders.$index(0, platform); }, $signature: 517 }; A._PageTransitionsTheme_Object_Diagnosticable.prototype = {}; A.PopupMenuEntry.prototype = {}; A._MenuItem.prototype = { createRenderObject$1(context) { var t1 = new A._RenderMenuItem(this.onLayout, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.onLayout = this.onLayout; } }; A._RenderMenuItem.prototype = { computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return B.Size_0_0; return t1.getDryLayout$1(constraints); }, performLayout$0() { var t2, _this = this, t1 = _this.RenderObjectWithChildMixin__child; if (t1 == null) t1 = _this._size = B.Size_0_0; else { t2 = type$.BoxConstraints; t1.layout$2$parentUsesSize(0, t2._as(A.RenderObject.prototype.get$constraints.call(_this)), true); t2 = t2._as(A.RenderObject.prototype.get$constraints.call(_this)); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; t1 = _this._size = t2.constrain$1(t1); t2 = _this.RenderObjectWithChildMixin__child.parentData; t2.toString; type$.BoxParentData._as(t2).offset = B.Offset_0_0; } _this.onLayout.call$1(t1); } }; A.PopupMenuItem.prototype = { createState$0() { var t1 = this.$ti; return new A.PopupMenuItemState(B._StateLifecycle_0, t1._eval$1("@<1>")._bind$1(t1)._eval$1("PopupMenuItemState<1,2>")); }, get$value(receiver) { return this.value; } }; A.PopupMenuItemState.prototype = { handleTap$0() { var t2, t1 = this._widget; t1.toString; t2 = this._framework$_element; t2.toString; A.Navigator_of(t2, false).pop$1(0, t1.value); }, build$1(_, context) { var style, t2, item, effectiveMouseCursor, _null = null, theme = A.Theme_of(context), popupMenuTheme = A.PopupMenuTheme_of(context), t1 = this._widget; t1.toString; style = popupMenuTheme.textStyle; if (style == null) { t2 = theme.textTheme.subtitle1; t2.toString; style = t2; } item = A.AnimatedDefaultTextStyle$(A.Container$(B.AlignmentDirectional_m1_0, t1.child, B.Clip_0, _null, new A.BoxConstraints(0, 1 / 0, t1.height, 1 / 0), _null, _null, _null, _null, _null, B.EdgeInsets_16_0_16_0, _null, _null, _null), B.C__Linear, B.Duration_200000, true, style); effectiveMouseCursor = A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), type$.MouseCursor); this._widget.toString; t1 = A.InkWell$(false, _null, true, item, _null, true, _null, _null, _null, _null, _null, effectiveMouseCursor, _null, _null, _null, _null, _null, this.get$handleTap(), _null, _null, _null, _null, _null, _null); return new A.MergeSemantics(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), false, false, false, t1, _null), _null); } }; A._PopupMenu.prototype = { build$1(_, context) { var t4, i, i0, start, end, t5, opacity, item, _this = this, _null = null, t1 = _this.route, t2 = t1.items, t3 = J.getInterceptor$asx(t2), unit = 1 / (t3.get$length(t2) + 1.5), children = A._setArrayType([], type$.JSArray_Widget), popupMenuTheme = A.PopupMenuTheme_of(context); for (t4 = 1.5 * unit, i = 0; i < t3.get$length(t2); i = i0) { i0 = i + 1; start = i0 * unit; end = B.JSNumber_methods.clamp$2(start + t4, 0, 1); t5 = t1._animationProxy; opacity = new A.CurvedAnimation(t5, new A.Interval(start, end, B.C__Linear), _null); opacity._updateCurveDirection$1(t5.get$status(t5)); t5.didRegisterListener$0(); t5 = t5.AnimationLocalStatusListenersMixin__statusListeners; t5._isDirty = true; t5._list.push(opacity.get$_updateCurveDirection()); item = t3.$index(t2, i); children.push(new A._MenuItem(new A._PopupMenu_build_closure(_this, i), new A.FadeTransition(opacity, false, item, _null), _null)); } t2 = t3.get$length(t2); t3 = A.SingleChildScrollView$(A.ListBody$(children), _null, B.DragStartBehavior_1, _null, B.EdgeInsets_0_8_0_8, _null, _null, B.Axis_1); t3 = A.IntrinsicWidth$(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, _this.semanticLabel, _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), false, true, false, t3, _null), 56); t1 = t1._animationProxy; t1.toString; return A.AnimatedBuilder$(t1, new A._PopupMenu_build_closure0(_this, new A.CurveTween(B.Interval_75R0), popupMenuTheme, new A.CurveTween(new A.Interval(0, unit, B.C__Linear)), new A.CurveTween(new A.Interval(0, unit * t2, B.C__Linear))), new A.ConstrainedBox(B.BoxConstraints_EcO, t3, _null)); } }; A._PopupMenu_build_closure.prototype = { call$1(size) { this.$this.route.itemSizes[this.i] = size; }, $signature: 156 }; A._PopupMenu_build_closure0.prototype = { call$2(context, child) { var t4, t5, t6, t7, _this = this, _null = null, t1 = _this.opacity, t2 = _this.$this.route, t3 = t2._animationProxy; t3.toString; t4 = t2.shape; if (t4 == null) t4 = _this.popupMenuTheme.shape; t5 = t2.color; if (t5 == null) t5 = _this.popupMenuTheme.color; t6 = t2.elevation; if (t6 == null) t6 = _this.popupMenuTheme.elevation; if (t6 == null) t6 = 8; t7 = _this.width.transform$1(0, t3.get$value(t3)); t2 = t2._animationProxy; return A.FadeTransition$(false, A.Material$(B.Duration_200000, true, _null, new A.Align(B.AlignmentDirectional_1_m1, t7, _this.height.transform$1(0, t2.get$value(t2)), child, _null), B.Clip_0, t5, t6, _null, _null, t4, _null, B.MaterialType_1), new A._AnimatedEvaluation(t3, t1, A._instanceType(t1)._eval$1("_AnimatedEvaluation<Animatable.T>"))); }, $signature: 518 }; A._PopupMenuRouteLayout.prototype = { getConstraintsForChild$1(constraints) { return A.BoxConstraints$loose(new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight))).deflate$1(B.EdgeInsets_8_8_8_8.$add(0, this.padding)); }, getPositionForChild$2(size, childSize) { var t4, selectedItemOffset, index, x, x0, t5, y0, _this = this, t1 = size._dy, t2 = _this.position, y = t2.top, t3 = _this.selectedItemIndex; if (t3 != null && true) { t3.toString; t4 = _this.itemSizes; selectedItemOffset = 8; index = 0; for (; index < t3; ++index) selectedItemOffset += t4[index]._dy; y = y + (t1 - y - t2.bottom) / 2 - (selectedItemOffset + t4[t3]._dy / 2); } x = t2.left; t2 = t2.right; if (x > t2) x = size._dx - t2 - childSize._dx; else if (!(x < t2)) switch (_this.textDirection.index) { case 0: x = size._dx - t2 - childSize._dx; break; case 1: break; default: x = null; } t2 = _this.padding; x0 = 8 + t2.left; if (x < x0) x = x0; else { t3 = childSize._dx; t4 = size._dx; t5 = t2.right; if (x + t3 > t4 - 8 - t5) x = t4 - t3 - 8 - t5; } y0 = 8 + t2.top; if (y < y0) y = y0; else { t3 = childSize._dy; t2 = t2.bottom; if (y + t3 > t1 - 8 - t2) y = t1 - t2 - 8 - t3; } return new A.Offset(x, y); }, shouldRelayout$1(oldDelegate) { var _this = this; return !_this.position.$eq(0, oldDelegate.position) || _this.selectedItemIndex != oldDelegate.selectedItemIndex || _this.textDirection !== oldDelegate.textDirection || !A.listEquals0(_this.itemSizes, oldDelegate.itemSizes) || !_this.padding.$eq(0, oldDelegate.padding); } }; A._PopupMenuRoute.prototype = { createAnimation$0() { return A.CurvedAnimation$(B.C__Linear, this.super$TransitionRoute$createAnimation(), B.Interval_75R1); }, get$transitionDuration(_) { return B.Duration_300000; }, get$barrierDismissible() { return true; }, get$barrierColor() { return null; }, buildPage$3(context, animation, secondaryAnimation) { var _this = this, _box_0 = {}; _box_0.selectedItemIndex = null; return A.MediaQuery_MediaQuery$removePadding(new A.Builder(new A._PopupMenuRoute_buildPage_closure(_box_0, _this, context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, new A._PopupMenu(_this, _this.semanticLabel, null, _this.$ti._eval$1("_PopupMenu<1>"))), null), context, true, true, true, true); }, get$barrierLabel() { return this.barrierLabel; } }; A._PopupMenuRoute_buildPage_closure.prototype = { call$1(context) { var _this = this, t1 = _this.$this, t2 = _this._box_0.selectedItemIndex, t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t3.toString; return new A.CustomSingleChildLayout(new A._PopupMenuRouteLayout(t1.position, t1.itemSizes, t2, t3.textDirection, _this.mediaQuery.padding), new A._CaptureAll(t1.capturedThemes._themes, _this.menu, null), null); }, $signature: 157 }; A.PopupMenuButton.prototype = { createState$0() { return new A.PopupMenuButtonState(B._StateLifecycle_0, this.$ti._eval$1("PopupMenuButtonState<1>")); }, itemBuilder$1(arg0) { return this.itemBuilder.call$1(arg0); } }; A.PopupMenuButtonState.prototype = { showButtonMenu$0() { var popupMenuTheme, t2, t3, t4, position, items, _this = this, t1 = _this._framework$_element; t1.toString; popupMenuTheme = A.PopupMenuTheme_of(t1); t1 = _this._framework$_element.get$renderObject(); t1.toString; t2 = type$.RenderBox; t2._as(t1); t3 = _this._framework$_element; t3.toString; t3 = A._lateReadCheck(A.Navigator_of(t3, false).__NavigatorState__overlayKey, "_overlayKey").get$currentState()._framework$_element.get$renderObject(); t3.toString; t2._as(t3); _this._widget.toString; t2 = A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, t3), B.Offset_0_0); t4 = t1._size.bottomRight$1(0, B.Offset_0_0); _this._widget.toString; t4 = t4.$add(0, B.Offset_0_0); t4 = A.Rect$fromPoints(t2, A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, t3), t4)); t3 = t3._size; position = A.RelativeRect_RelativeRect$fromRect(t4, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy)); t3 = _this._widget; t3.toString; t4 = _this._framework$_element; t4.toString; items = t3.itemBuilder$1(t4); if (J.get$isNotEmpty$asx(items)) { t1 = _this._framework$_element; t1.toString; t2 = _this._widget.elevation; if (t2 == null) t2 = popupMenuTheme.elevation; A.showMenu(popupMenuTheme.color, t1, t2, null, items, position, popupMenuTheme.shape, _this.$ti._eval$1("1?")).then$1$1(0, new A.PopupMenuButtonState_showButtonMenu_closure(_this), type$.void); } }, build$1(_, context) { var t1, t2, t3, t4, t5, _this = this, _null = null; _this._widget.toString; t1 = A.PopupMenuTheme_of(context); t2 = _this._widget; t3 = t2.icon; t4 = t2.padding; t2 = t2.iconSize; if (t2 == null) t2 = 24; t5 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t5.toString; _this._widget.toString; return A.IconButton$(B.Alignment_0_0, _null, _null, t1.enableFeedback !== false, t3, t2, _this.get$showButtonMenu(), t4, _null, "Show menu", _null); } }; A.PopupMenuButtonState_showButtonMenu_closure.prototype = { call$1(newValue) { var t1 = this.$this; if (t1._framework$_element == null) return null; if (newValue == null) { t1._widget.toString; return null; } t1._widget.onSelected.call$1(newValue); }, $signature() { return this.$this.$ti._eval$1("Null(1?)"); } }; A.PopupMenuThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.shape, _this.elevation, _this.textStyle, _this.enableFeedback, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.PopupMenuThemeData && other.elevation == _this.elevation && J.$eq$(other.color, _this.color) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.textStyle, _this.textStyle) && other.enableFeedback == _this.enableFeedback; } }; A._PopupMenuThemeData_Object_Diagnosticable.prototype = {}; A._ActivityIndicatorType.prototype = { toString$0(_) { return "_ActivityIndicatorType." + this._core$_name; } }; A.ProgressIndicator.prototype = { get$value(receiver) { return this.value; } }; A._CircularProgressIndicatorPainter.prototype = { paint$2(canvas, size) { var t2, t3, backgroundPaint, _this = this, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, _this.valueColor); t1 = _this.strokeWidth; paint.set$strokeWidth(t1); paint.set$style(0, B.PaintingStyle_1); t2 = _this.backgroundColor; if (t2 != null) { t3 = A._detectRenderer(); backgroundPaint = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); backgroundPaint.set$color(0, t2); backgroundPaint.set$strokeWidth(t1); backgroundPaint.set$style(0, B.PaintingStyle_1); canvas.drawArc$5(0, new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), 0, 6.282185307179586, false, backgroundPaint); } if (_this.value == null) paint.set$strokeCap(B.StrokeCap_2); canvas.drawArc$5(0, new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), _this.arcStart, _this.arcSweep, false, paint); }, shouldRepaint$1(oldPainter) { var _this = this; return !J.$eq$(oldPainter.backgroundColor, _this.backgroundColor) || !oldPainter.valueColor.$eq(0, _this.valueColor) || oldPainter.value != _this.value || oldPainter.headValue !== _this.headValue || oldPainter.tailValue !== _this.tailValue || oldPainter.offsetValue !== _this.offsetValue || oldPainter.rotationValue !== _this.rotationValue || oldPainter.strokeWidth !== _this.strokeWidth; }, get$value(receiver) { return this.value; } }; A.CircularProgressIndicator.prototype = { createState$0() { return new A._CircularProgressIndicatorState(null, B._StateLifecycle_0); } }; A._CircularProgressIndicatorState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_2961926000, null, 1, null, _this); _this.___CircularProgressIndicatorState__controller = t1; if (_this._widget.value == null) A._lateReadCheck(t1, "_controller").repeat$0(0); }, didUpdateWidget$1(oldWidget) { var t1, _this = this, _s11_ = "_controller"; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.value == null) { t1 = A._lateReadCheck(_this.___CircularProgressIndicatorState__controller, _s11_)._ticker; t1 = !(t1 != null && t1._ticker$_future != null); } else t1 = false; if (t1) A._lateReadCheck(_this.___CircularProgressIndicatorState__controller, _s11_).repeat$0(0); else { if (_this._widget.value != null) { t1 = A._lateReadCheck(_this.___CircularProgressIndicatorState__controller, _s11_)._ticker; t1 = t1 != null && t1._ticker$_future != null; } else t1 = false; if (t1) A._lateReadCheck(_this.___CircularProgressIndicatorState__controller, _s11_).stop$0(0); } }, dispose$0(_) { A._lateReadCheck(this.___CircularProgressIndicatorState__controller, "_controller").dispose$0(0); this.super$__CircularProgressIndicatorState_State_SingleTickerProviderStateMixin$dispose(0); }, _buildMaterialIndicator$5(context, headValue, tailValue, offsetValue, rotationValue) { var trackColor, t2, t3, t4, t5, t6, expandedSemanticsValue, _null = null, t1 = this._widget; t1.toString; trackColor = t1.backgroundColor; if (trackColor == null) trackColor = A.ProgressIndicatorTheme_of(context).circularTrackColor; t1 = this._widget; t1.toString; t2 = A.ProgressIndicatorTheme_of(context).color; if (t2 == null) t2 = A.Theme_of(context).colorScheme.primary; t3 = this._widget; t4 = t3.value; t3 = t3.strokeWidth; t5 = t4 != null; t6 = t5 ? -1.5707963267948966 : -1.5707963267948966 + tailValue * 3 / 2 * 3.141592653589793 + rotationValue * 3.141592653589793 * 2 + offsetValue * 0.5 * 3.141592653589793; t2 = A.Container$(_null, A.CustomPaint$(_null, _null, _null, new A._CircularProgressIndicatorPainter(trackColor, t2, t4, headValue, tailValue, offsetValue, rotationValue, t3, t6, t5 ? B.JSNumber_methods.clamp$2(t4, 0, 1) * 6.282185307179586 : Math.max(headValue * 3 / 2 * 3.141592653589793 - tailValue * 3 / 2 * 3.141592653589793, 0.001), _null), B.Size_0_0), B.Clip_0, _null, B.BoxConstraints_mlX5, _null, _null, _null, _null, _null, _null, _null, _null, _null); expandedSemanticsValue = t1.semanticsValue; t3 = t1.value; if (t3 != null) expandedSemanticsValue = "" + B.JSNumber_methods.round$0(t3 * 100) + "%"; 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, t1.semanticsLabel, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, expandedSemanticsValue), false, false, false, t2, _null); }, _buildAnimation$0() { return A.AnimatedBuilder$(A._lateReadCheck(this.___CircularProgressIndicatorState__controller, "_controller"), new A._CircularProgressIndicatorState__buildAnimation_closure(this), null); }, build$1(_, context) { var t1 = this._widget; t1.toString; switch (0) { case 0: if (t1.value != null) return this._buildMaterialIndicator$5(context, 0, 0, 0, 0); return this._buildAnimation$0(); } } }; A._CircularProgressIndicatorState__buildAnimation_closure.prototype = { call$2(context, child) { var t4, t5, t6, _s11_ = "_controller", t1 = this.$this, t2 = $.$get$_CircularProgressIndicatorState__strokeHeadTween(), t3 = A._lateReadCheck(t1.___CircularProgressIndicatorState__controller, _s11_); t3 = t2.transform$1(0, t3.get$value(t3)); t2 = $.$get$_CircularProgressIndicatorState__strokeTailTween(); t4 = A._lateReadCheck(t1.___CircularProgressIndicatorState__controller, _s11_); t4 = t2.transform$1(0, t4.get$value(t4)); t2 = $.$get$_CircularProgressIndicatorState__offsetTween(); t5 = A._lateReadCheck(t1.___CircularProgressIndicatorState__controller, _s11_); t5 = t2.transform$1(0, t5.get$value(t5)); t2 = $.$get$_CircularProgressIndicatorState__rotationTween(); t6 = A._lateReadCheck(t1.___CircularProgressIndicatorState__controller, _s11_); return t1._buildMaterialIndicator$5(context, t3, t4, t5, t2.transform$1(0, t6.get$value(t6))); }, $signature: 53 }; A.__CircularProgressIndicatorState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.ProgressIndicatorThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.linearTrackColor, _this.linearMinHeight, _this.circularTrackColor, _this.refreshBackgroundColor, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ProgressIndicatorThemeData && J.$eq$(other.color, _this.color) && J.$eq$(other.linearTrackColor, _this.linearTrackColor) && other.linearMinHeight == _this.linearMinHeight && J.$eq$(other.circularTrackColor, _this.circularTrackColor) && J.$eq$(other.refreshBackgroundColor, _this.refreshBackgroundColor); } }; A._ProgressIndicatorThemeData_Object_Diagnosticable.prototype = {}; A.RadioThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.mouseCursor, _this.fillColor, _this.overlayColor, _this.splashRadius, _this.materialTapTargetSize, _this.visualDensity, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.RadioThemeData) if (other.fillColor == _this.fillColor) if (other.overlayColor == _this.overlayColor) if (other.splashRadius == _this.splashRadius) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._LerpProperties0.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._RadioThemeData_Object_Diagnosticable.prototype = {}; A._ScaffoldSlot.prototype = { toString$0(_) { return "_ScaffoldSlot." + this._core$_name; } }; A.ScaffoldMessenger.prototype = { createState$0() { return new A.ScaffoldMessengerState(A.LinkedHashSet_LinkedHashSet(type$.ScaffoldState), A.ListQueue$(null, type$.ScaffoldFeatureController_MaterialBanner_MaterialBannerClosedReason), A.ListQueue$(null, type$.ScaffoldFeatureController_SnackBar_SnackBarClosedReason), null, B._StateLifecycle_0); } }; A.ScaffoldMessengerState.prototype = { didChangeDependencies$0() { var t1, _this = this, mediaQuery = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; if (_this._accessibleNavigation === true) if (!mediaQuery.accessibleNavigation) { t1 = _this._snackBarTimer; t1 = t1 != null && t1._handle == null; } else t1 = false; else t1 = false; if (t1) _this.hideCurrentSnackBar$1$reason(B.SnackBarClosedReason_5); _this._accessibleNavigation = mediaQuery.accessibleNavigation; _this.super$_ScaffoldMessengerState_State_TickerProviderStateMixin$didChangeDependencies(); }, _isRoot$1(scaffold) { var $parent = scaffold._framework$_element.findAncestorStateOfType$1$0(type$.ScaffoldState); return $parent == null || !this._scaffolds.contains$1(0, $parent); }, hideCurrentSnackBar$1$reason(reason) { var completer, t2, _this = this, t1 = _this._snackBars; if (t1._head === t1._tail || A._lateReadCheck(_this._snackBarController.__AnimationController__status, "_status") === B.AnimationStatus_0) return; completer = t1.get$first(t1)._completer; t1 = _this._accessibleNavigation; t1.toString; t2 = _this._snackBarController; if (t1) { t2.set$value(0, 0); completer.complete$1(0, reason); } else t2.reverse$0(0).then$1$1(0, new A.ScaffoldMessengerState_hideCurrentSnackBar_closure(_this, completer, reason), type$.void); t1 = _this._snackBarTimer; if (t1 != null) t1.cancel$0(0); _this._snackBarTimer = null; }, build$1(_, context) { var t1, route, t2, snackBar, _this = this; _this._accessibleNavigation = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.accessibleNavigation; t1 = _this._snackBars; if (!t1.get$isEmpty(t1)) { route = A.ModalRoute_of(context, type$.nullable_Object); if (route == null || route.get$isCurrent()) { t2 = _this._snackBarController; if (t2.get$status(t2) === B.AnimationStatus_3 && _this._snackBarTimer == null) { snackBar = t1.get$first(t1)._scaffold$_widget; _this._snackBarTimer = A.Timer_Timer(snackBar.duration, new A.ScaffoldMessengerState_build_closure(_this, context, snackBar)); } } } return new A._ScaffoldMessengerScope(_this, _this._widget.child, null); }, dispose$0(_) { var _this = this, t1 = _this._snackBarController; if (t1 != null) t1.dispose$0(0); t1 = _this._snackBarTimer; if (t1 != null) t1.cancel$0(0); _this._snackBarTimer = null; _this.super$_ScaffoldMessengerState_State_TickerProviderStateMixin$dispose(0); } }; A.ScaffoldMessengerState_hideCurrentSnackBar_closure.prototype = { call$1(value) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.complete$1(0, this.reason); }, $signature: 27 }; A.ScaffoldMessengerState_build_closure.prototype = { call$0() { this.context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; this.$this.hideCurrentSnackBar$1$reason(B.SnackBarClosedReason_5); }, $signature: 0 }; A._ScaffoldMessengerScope.prototype = { updateShouldNotify$1(old) { return this._scaffoldMessengerState !== old._scaffoldMessengerState; } }; A.ScaffoldPrelayoutGeometry.prototype = {}; A.ScaffoldGeometry.prototype = { _scaleFloatingActionButton$1(scaleFactor) { var t1, t2, t3, _this = this; if (scaleFactor === 1) return _this; if (scaleFactor === 0) return new A.ScaffoldGeometry(_this.bottomNavigationBarTop, null); t1 = _this.floatingActionButtonArea; t2 = t1.get$center(); t3 = t2._dx; t2 = t2._dy; t1 = A.Rect_lerp(new A.Rect(t3, t2, t3 + 0, t2 + 0), t1, scaleFactor); t1.toString; return _this.copyWith$1$floatingActionButtonArea(t1); }, copyWith$2$bottomNavigationBarTop$floatingActionButtonArea(bottomNavigationBarTop, floatingActionButtonArea) { var t1 = bottomNavigationBarTop == null ? this.bottomNavigationBarTop : bottomNavigationBarTop; return new A.ScaffoldGeometry(t1, floatingActionButtonArea == null ? this.floatingActionButtonArea : floatingActionButtonArea); }, copyWith$1$floatingActionButtonArea(floatingActionButtonArea) { return this.copyWith$2$bottomNavigationBarTop$floatingActionButtonArea(null, floatingActionButtonArea); } }; A._ScaffoldGeometryNotifier.prototype = { get$value(_) { var t1 = this.geometry, t2 = this.floatingActionButtonScale; t2.toString; return t1._scaleFloatingActionButton$1(t2); }, _updateWith$3$bottomNavigationBarTop$floatingActionButtonArea$floatingActionButtonScale(bottomNavigationBarTop, floatingActionButtonArea, floatingActionButtonScale) { var _this = this; _this.floatingActionButtonScale = floatingActionButtonScale == null ? _this.floatingActionButtonScale : floatingActionButtonScale; _this.geometry = _this.geometry.copyWith$2$bottomNavigationBarTop$floatingActionButtonArea(bottomNavigationBarTop, floatingActionButtonArea); _this.notifyListeners$0(); }, _updateWith$1$floatingActionButtonScale(floatingActionButtonScale) { return this._updateWith$3$bottomNavigationBarTop$floatingActionButtonArea$floatingActionButtonScale(null, null, floatingActionButtonScale); }, _updateWith$2$bottomNavigationBarTop$floatingActionButtonArea(bottomNavigationBarTop, floatingActionButtonArea) { return this._updateWith$3$bottomNavigationBarTop$floatingActionButtonArea$floatingActionButtonScale(bottomNavigationBarTop, floatingActionButtonArea, null); } }; A._BodyBoxConstraints.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (!_this.super$BoxConstraints$$eq(0, other)) return false; return other instanceof A._BodyBoxConstraints && other.materialBannerHeight === _this.materialBannerHeight && other.bottomWidgetsHeight === _this.bottomWidgetsHeight && other.appBarHeight === _this.appBarHeight; }, get$hashCode(_) { var _this = this; return A.hashValues(A.BoxConstraints.prototype.get$hashCode.call(_this, _this), _this.materialBannerHeight, _this.bottomWidgetsHeight, _this.appBarHeight, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A._BodyBuilder.prototype = { build$1(_, context) { return this.body; } }; A._ScaffoldLayout.prototype = { performLayout$1(size) { var appBarHeight, contentTop, bottomWidgetsHeight, bottomNavigationBarTop, materialBannerSize, t2, contentBottom, bodyMaxHeight, t3, snackBarSize, bottomSheetSize, floatingActionButtonRect, fabSize, currentGeometry, currentFabOffset, fabOffset, snackBarYOffsetBase, _this = this, looseConstraints = A.BoxConstraints$loose(size), t1 = size._dx, fullWidthConstraints = looseConstraints.tighten$1$width(t1), bottom = size._dy; if (_this._idToChild.$index(0, B._ScaffoldSlot_1) != null) { appBarHeight = _this.layoutChild$2(B._ScaffoldSlot_1, fullWidthConstraints)._dy; _this.positionChild$2(B._ScaffoldSlot_1, B.Offset_0_0); contentTop = appBarHeight; } else { contentTop = 0; appBarHeight = 0; } if (_this._idToChild.$index(0, B._ScaffoldSlot_7) != null) { bottomWidgetsHeight = 0 + _this.layoutChild$2(B._ScaffoldSlot_7, fullWidthConstraints)._dy; bottomNavigationBarTop = Math.max(0, bottom - bottomWidgetsHeight); _this.positionChild$2(B._ScaffoldSlot_7, new A.Offset(0, bottomNavigationBarTop)); } else { bottomWidgetsHeight = 0; bottomNavigationBarTop = null; } if (_this._idToChild.$index(0, B._ScaffoldSlot_6) != null) { bottomWidgetsHeight += _this.layoutChild$2(B._ScaffoldSlot_6, new A.BoxConstraints(0, fullWidthConstraints.maxWidth, 0, Math.max(0, bottom - bottomWidgetsHeight - contentTop)))._dy; _this.positionChild$2(B._ScaffoldSlot_6, new A.Offset(0, Math.max(0, bottom - bottomWidgetsHeight))); } if (_this._idToChild.$index(0, B._ScaffoldSlot_5) != null) { materialBannerSize = _this.layoutChild$2(B._ScaffoldSlot_5, fullWidthConstraints); _this.positionChild$2(B._ScaffoldSlot_5, new A.Offset(0, appBarHeight)); if (!_this.extendBodyBehindMaterialBanner) contentTop += materialBannerSize._dy; } else materialBannerSize = B.Size_0_0; t2 = _this.minInsets; contentBottom = Math.max(0, bottom - Math.max(t2.bottom, bottomWidgetsHeight)); if (_this._idToChild.$index(0, B._ScaffoldSlot_0) != null) { bodyMaxHeight = Math.max(0, contentBottom - contentTop); t3 = _this.extendBody; if (t3) bodyMaxHeight = B.JSNumber_methods.clamp$2(bodyMaxHeight + bottomWidgetsHeight, 0, looseConstraints.maxHeight - contentTop); t3 = t3 ? bottomWidgetsHeight : 0; _this.layoutChild$2(B._ScaffoldSlot_0, new A._BodyBoxConstraints(t3, appBarHeight, materialBannerSize._dy, 0, fullWidthConstraints.maxWidth, 0, bodyMaxHeight)); _this.positionChild$2(B._ScaffoldSlot_0, new A.Offset(0, contentTop)); } if (_this._idToChild.$index(0, B._ScaffoldSlot_2) != null) { _this.layoutChild$2(B._ScaffoldSlot_2, new A.BoxConstraints(0, fullWidthConstraints.maxWidth, 0, contentBottom)); _this.positionChild$2(B._ScaffoldSlot_2, B.Offset_0_0); } snackBarSize = _this._idToChild.$index(0, B._ScaffoldSlot_4) != null && !_this.isSnackBarFloating ? _this.layoutChild$2(B._ScaffoldSlot_4, fullWidthConstraints) : B.Size_0_0; if (_this._idToChild.$index(0, B._ScaffoldSlot_3) != null) { bottomSheetSize = _this.layoutChild$2(B._ScaffoldSlot_3, new A.BoxConstraints(0, fullWidthConstraints.maxWidth, 0, Math.max(0, contentBottom - contentTop))); _this.positionChild$2(B._ScaffoldSlot_3, new A.Offset((t1 - bottomSheetSize._dx) / 2, contentBottom - bottomSheetSize._dy)); } else bottomSheetSize = B.Size_0_0; floatingActionButtonRect = A._Cell$named("floatingActionButtonRect"); if (_this._idToChild.$index(0, B._ScaffoldSlot_8) != null) { fabSize = _this.layoutChild$2(B._ScaffoldSlot_8, looseConstraints); currentGeometry = new A.ScaffoldPrelayoutGeometry(fabSize, bottomSheetSize, contentBottom, t2, _this.minViewPadding, size, snackBarSize, _this.textDirection); currentFabOffset = _this.currentFloatingActionButtonLocation.getOffset$1(currentGeometry); fabOffset = _this.floatingActionButtonMotionAnimator.getOffset$3$begin$end$progress(_this.previousFloatingActionButtonLocation.getOffset$1(currentGeometry), currentFabOffset, _this.floatingActionButtonMoveAnimationProgress); _this.positionChild$2(B._ScaffoldSlot_8, fabOffset); t1 = fabOffset._dx; t3 = fabOffset._dy; floatingActionButtonRect.__late_helper$_value = new A.Rect(t1, t3, t1 + fabSize._dx, t3 + fabSize._dy); } if (_this._idToChild.$index(0, B._ScaffoldSlot_4) != null) { if (snackBarSize.$eq(0, B.Size_0_0)) snackBarSize = _this.layoutChild$2(B._ScaffoldSlot_4, fullWidthConstraints); t1 = floatingActionButtonRect._readLocal$0(); if (!new A.Size(t1.right - t1.left, t1.bottom - t1.top).$eq(0, B.Size_0_0) && _this.isSnackBarFloating) snackBarYOffsetBase = floatingActionButtonRect._readLocal$0().top; else snackBarYOffsetBase = _this.isSnackBarFloating ? Math.min(contentBottom, bottom - _this.minViewPadding.bottom) : contentBottom; _this.positionChild$2(B._ScaffoldSlot_4, new A.Offset(0, snackBarYOffsetBase - snackBarSize._dy)); } if (_this._idToChild.$index(0, B._ScaffoldSlot_11) != null) { _this.layoutChild$2(B._ScaffoldSlot_11, fullWidthConstraints.tighten$1$height(t2.top)); _this.positionChild$2(B._ScaffoldSlot_11, B.Offset_0_0); } if (_this._idToChild.$index(0, B._ScaffoldSlot_9) != null) { _this.layoutChild$2(B._ScaffoldSlot_9, A.BoxConstraints$tight(size)); _this.positionChild$2(B._ScaffoldSlot_9, B.Offset_0_0); } if (_this._idToChild.$index(0, B._ScaffoldSlot_10) != null) { _this.layoutChild$2(B._ScaffoldSlot_10, A.BoxConstraints$tight(size)); _this.positionChild$2(B._ScaffoldSlot_10, B.Offset_0_0); } _this.geometryNotifier._updateWith$2$bottomNavigationBarTop$floatingActionButtonArea(bottomNavigationBarTop, floatingActionButtonRect._readLocal$0()); }, shouldRelayout$1(oldDelegate) { var _this = this; return !oldDelegate.minInsets.$eq(0, _this.minInsets) || oldDelegate.textDirection !== _this.textDirection || oldDelegate.floatingActionButtonMoveAnimationProgress !== _this.floatingActionButtonMoveAnimationProgress || oldDelegate.previousFloatingActionButtonLocation !== _this.previousFloatingActionButtonLocation || oldDelegate.currentFloatingActionButtonLocation !== _this.currentFloatingActionButtonLocation || oldDelegate.extendBody !== _this.extendBody || false; } }; A._FloatingActionButtonTransition.prototype = { createState$0() { return new A._FloatingActionButtonTransitionState(null, B._StateLifecycle_0); } }; A._FloatingActionButtonTransitionState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = A.AnimationController$(null, B.Duration_200000, null, 1, null, _this); t1.addStatusListener$1(_this.get$_handlePreviousAnimationStatusChanged()); _this.___FloatingActionButtonTransitionState__previousController = t1; _this._updateAnimations$0(); _this._widget.geometryNotifier._updateWith$1$floatingActionButtonScale(0); }, dispose$0(_) { A._lateReadCheck(this.___FloatingActionButtonTransitionState__previousController, "_previousController").dispose$0(0); this.super$__FloatingActionButtonTransitionState_State_TickerProviderStateMixin$dispose(0); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; return; }, _updateAnimations$0() { var t7, t8, t9, t10, moveScaleAnimation, t11, t12, moveRotationAnimation, _this = this, _null = null, _s19_ = "_previousController", _s22_ = "_currentScaleAnimation", previousExitScaleAnimation = A.CurvedAnimation$(B.Cubic_JUR, A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousController, _s19_), _null), t1 = type$.Tween_double, t2 = A.CurvedAnimation$(B.Cubic_JUR, A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousController, _s19_), _null), currentEntranceScaleAnimation = A.CurvedAnimation$(B.Cubic_JUR, _this._widget.currentController, _null), t3 = _this._widget, t4 = t3.currentController, t5 = $.$get$_FloatingActionButtonTransitionState__entranceTurnTween(), t6 = type$.Animation_double; t6._as(t4); t3 = t3.fabMoveAnimation; t6._as(t3); t7 = type$.CurveTween._eval$1("_AnimatedEvaluation<Animatable.T>"); t8 = type$.JSArray_of_void_Function_AnimationStatus; t9 = type$.ObserverList_of_void_Function_AnimationStatus; t10 = type$.double; moveScaleAnimation = A._AnimationSwap$(new A.ReverseAnimation(new A._AnimatedEvaluation(t3, new A.CurveTween(new A.FlippedCurve(B.Interval_E4y)), t7), new A.ObserverList(A._setArrayType([], t8), t9), 0), new A._AnimatedEvaluation(t3, new A.CurveTween(B.Interval_E4y), t7), t3, 0.5, t10); t3 = _this._widget.fabMoveAnimation; t11 = $.$get$_ScalingFabMotionAnimator__rotationTween(); t6._as(t3); t12 = $.$get$_ScalingFabMotionAnimator__thresholdCenterTween(); moveRotationAnimation = A._AnimationSwap$(new A._AnimatedEvaluation(t3, t11, t11.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), new A.ReverseAnimation(new A._AnimatedEvaluation(t3, t12, A._instanceType(t12)._eval$1("_AnimatedEvaluation<Animatable.T>")), new A.ObserverList(A._setArrayType([], t8), t9), 0), t3, 0.5, t10); _this.___FloatingActionButtonTransitionState__previousScaleAnimation = A.AnimationMin$(moveScaleAnimation, previousExitScaleAnimation, t10); t10 = A.AnimationMin$(moveScaleAnimation, currentEntranceScaleAnimation, t10); _this.___FloatingActionButtonTransitionState__currentScaleAnimation = t10; _this.___FloatingActionButtonTransitionState__extendedCurrentScaleAnimation = new A._AnimatedEvaluation(t6._as(A._lateReadCheck(t10, _s22_)), new A.CurveTween(B.Interval_75R), t7); _this.___FloatingActionButtonTransitionState__previousRotationAnimation = A.TrainHoppingAnimation$(new A._AnimatedEvaluation(t2, new A.Tween(1, 1, t1), t1._eval$1("_AnimatedEvaluation<Animatable.T>")), moveRotationAnimation, _null); _this.___FloatingActionButtonTransitionState__currentRotationAnimation = A.TrainHoppingAnimation$(new A._AnimatedEvaluation(t4, t5, t5.$ti._eval$1("_AnimatedEvaluation<Animatable.T>")), moveRotationAnimation, _null); t5 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__currentScaleAnimation, _s22_); t4 = _this.get$_onProgressChanged(); t5.didRegisterListener$0(); t5 = t5.AnimationLocalListenersMixin__listeners; t5._isDirty = true; t5._list.push(t4); t5 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousScaleAnimation, "_previousScaleAnimation"); t5.didRegisterListener$0(); t5 = t5.AnimationLocalListenersMixin__listeners; t5._isDirty = true; t5._list.push(t4); }, _handlePreviousAnimationStatusChanged$1($status) { this.setState$1(new A._FloatingActionButtonTransitionState__handlePreviousAnimationStatusChanged_closure(this, $status)); }, build$1(_, context) { var t2, t3, _this = this, t1 = A._setArrayType([], type$.JSArray_Widget); if (A._lateReadCheck(A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousController, "_previousController").__AnimationController__status, "_status") !== B.AnimationStatus_0) { t2 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousScaleAnimation, "_previousScaleAnimation"); t3 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__previousRotationAnimation, "_previousRotationAnimation"); t1.push(A.ScaleTransition$(A.RotationTransition$(_this._previousChild, t3), t2)); } _this._widget.toString; t2 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__currentScaleAnimation, "_currentScaleAnimation"); t3 = A._lateReadCheck(_this.___FloatingActionButtonTransitionState__currentRotationAnimation, "_currentRotationAnimation"); t1.push(A.ScaleTransition$(A.RotationTransition$(_this._widget.child, t3), t2)); return A.Stack$(B.Alignment_1_0, t1, B.StackFit_0, null, null); }, _onProgressChanged$0() { var t3, t1 = A._lateReadCheck(this.___FloatingActionButtonTransitionState__previousScaleAnimation, "_previousScaleAnimation"), t2 = t1.first; t2 = t2.get$value(t2); t1 = t1.next; t1 = t1.get$value(t1); t1 = Math.min(A.checkNum(t2), A.checkNum(t1)); t2 = A._lateReadCheck(this.___FloatingActionButtonTransitionState__currentScaleAnimation, "_currentScaleAnimation"); t3 = t2.first; t3 = t3.get$value(t3); t2 = t2.next; t2 = t2.get$value(t2); t2 = Math.max(t1, Math.min(A.checkNum(t3), A.checkNum(t2))); this._widget.geometryNotifier._updateWith$1$floatingActionButtonScale(t2); } }; A._FloatingActionButtonTransitionState__handlePreviousAnimationStatusChanged_closure.prototype = { call$0() { if (this.status === B.AnimationStatus_0) this.$this._widget.toString; }, $signature: 0 }; A.Scaffold.prototype = { createState$0() { var _null = null, t1 = type$.LabeledGlobalKey_DrawerControllerState; return new A.ScaffoldState(new A.LabeledGlobalKey(_null, t1), new A.LabeledGlobalKey(_null, t1), A.RestorableBool$(false), A.RestorableBool$(false), A.ListQueue$(_null, type$.ScaffoldFeatureController_SnackBar_SnackBarClosedReason), A._setArrayType([], type$.JSArray__StandardBottomSheet), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), B.Color_4278190080, _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, _null, B._StateLifecycle_0); } }; A.ScaffoldState.prototype = { get$restorationId() { this._widget.toString; return null; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this._drawerOpened, "drawer_open"); _this.registerForRestoration$2(_this._endDrawerOpened, "end_drawer_open"); }, _endDrawerOpenedCallback$1(isOpened) { var _this = this, t1 = _this._endDrawerOpened; if (!J.$eq$(A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value), isOpened)) { _this.setState$1(new A.ScaffoldState__endDrawerOpenedCallback_closure(_this, isOpened)); _this._widget.toString; } }, openEndDrawer$0() { var t2, t1 = this._scaffold$_drawerKey; if (t1.get$currentState() != null) { t2 = this._drawerOpened; t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); } else t2 = false; if (t2) t1.get$currentState().close$0(0); t1 = this._endDrawerKey.get$currentState(); if (t1 != null) t1.open$0(0); }, hideCurrentSnackBar$1$reason(reason) { var t1, t2, mediaQuery, completer, _this = this, _null = null; if (_this._messengerSnackBar != null) { _this._scaffoldMessenger.hideCurrentSnackBar$1$reason(reason); return; } t1 = _this._snackBars; if (t1._head !== t1._tail) { _null.get$status(_null); t2 = false; } else t2 = true; if (t2) return; mediaQuery = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; completer = t1.get$first(t1)._completer; if (mediaQuery.accessibleNavigation) { _null.set$value(0, 0); completer.complete$1(0, reason); } else _null.reverse$0(0).then$1$1(0, new A.ScaffoldState_hideCurrentSnackBar_closure(_this, completer, reason), type$.void); t1 = _this._snackBarTimer; if (t1 != null) t1.cancel$0(0); _this._snackBarTimer = null; }, _updateSnackBar$0() { var messengerSnackBar, _this = this, t1 = _this._scaffoldMessenger._snackBars; if (!t1.get$isEmpty(t1)) { t1 = _this._scaffoldMessenger._snackBars; messengerSnackBar = t1.get$first(t1); } else messengerSnackBar = null; if (_this._messengerSnackBar != messengerSnackBar) _this.setState$1(new A.ScaffoldState__updateSnackBar_closure(_this, messengerSnackBar)); }, _updateMaterialBanner$0() { var messengerMaterialBanner, _this = this, t1 = _this._scaffoldMessenger._materialBanners; if (!t1.get$isEmpty(t1)) { t1 = _this._scaffoldMessenger._materialBanners; messengerMaterialBanner = t1.get$first(t1); } else messengerMaterialBanner = null; if (_this._messengerMaterialBanner != messengerMaterialBanner) _this.setState$1(new A.ScaffoldState__updateMaterialBanner_closure(_this, messengerMaterialBanner)); }, _maybeBuildPersistentBottomSheet$0() { this._widget.toString; }, _handleStatusBarTap$0() { var _primaryScrollController, t1 = this._framework$_element; t1.toString; _primaryScrollController = A.PrimaryScrollController_of(t1); if (_primaryScrollController != null && _primaryScrollController._positions.length !== 0) _primaryScrollController.animateTo$3$curve$duration(0, B.C__Linear, B.Duration_300000); }, get$_resizeToAvoidBottomInset() { var t1 = this._widget.resizeToAvoidBottomInset; return t1 !== false; }, initState$0() { var t1, _this = this, _null = null; _this.super$State$initState(); t1 = _this._framework$_element; t1.toString; _this.__ScaffoldState__geometryNotifier = new A._ScaffoldGeometryNotifier(t1, B.ScaffoldGeometry_null_null, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); _this._widget.toString; _this._floatingActionButtonLocation = B.C__EndFloatFabLocation; _this.__ScaffoldState__floatingActionButtonAnimator = B.C__ScalingFabMotionAnimator; _this._previousFloatingActionButtonLocation = B.C__EndFloatFabLocation; _this.__ScaffoldState__floatingActionButtonMoveController = A.AnimationController$(_null, new A.Duration(400000), _null, 1, 1, _this); _this.__ScaffoldState__floatingActionButtonVisibilityController = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, _this); }, didUpdateWidget$1(oldWidget) { this._widget.toString; this.super$_ScaffoldState_State_TickerProviderStateMixin_RestorationMixin$didUpdateWidget(oldWidget); }, didChangeDependencies$0() { var t3, mediaQuery, _this = this, scope = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._ScaffoldMessengerScope), _currentScaffoldMessenger = scope == null ? null : scope._scaffoldMessengerState, t1 = _this._scaffoldMessenger, t2 = t1 == null; if (!t2) t3 = _currentScaffoldMessenger == null || t1 !== _currentScaffoldMessenger; else t3 = false; if (t3) if (!t2) t1._scaffolds.remove$1(0, _this); _this._scaffoldMessenger = _currentScaffoldMessenger; if (_currentScaffoldMessenger != null) { _currentScaffoldMessenger._scaffolds.add$1(0, _this); if (_currentScaffoldMessenger._isRoot$1(_this)) { t1 = _currentScaffoldMessenger._snackBars; if (!t1.get$isEmpty(t1)) _this._updateSnackBar$0(); t1 = _currentScaffoldMessenger._materialBanners; if (!t1.get$isEmpty(t1)) _this._updateMaterialBanner$0(); } } mediaQuery = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; if (_this._accessibleNavigation === true) if (!mediaQuery.accessibleNavigation) { t1 = _this._snackBarTimer; t1 = t1 != null && t1._handle == null; } else t1 = false; else t1 = false; if (t1) _this.hideCurrentSnackBar$1$reason(B.SnackBarClosedReason_5); _this._accessibleNavigation = mediaQuery.accessibleNavigation; _this._maybeBuildPersistentBottomSheet$0(); _this.super$_ScaffoldState_State_TickerProviderStateMixin_RestorationMixin$didChangeDependencies(); }, dispose$0(_) { var _this = this, t1 = _this._snackBarTimer; if (t1 != null) t1.cancel$0(0); _this._snackBarTimer = null; A._lateReadCheck(_this.__ScaffoldState__geometryNotifier, "_geometryNotifier"); A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonMoveController, "_floatingActionButtonMoveController").dispose$0(0); A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonVisibilityController, string$.x5ffloat).dispose$0(0); t1 = _this._scaffoldMessenger; if (t1 != null) t1._scaffolds.remove$1(0, _this); _this.super$_ScaffoldState_State_TickerProviderStateMixin_RestorationMixin$dispose(0); }, _addIfNonNull$9$maintainBottomViewPadding$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, maintainBottomViewPadding, removeBottomInset, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding) { var data = this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.removePadding$4$removeBottom$removeLeft$removeRight$removeTop(removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding); if (removeBottomInset) data = data.removeViewInsets$1$removeBottom(true); if (maintainBottomViewPadding && data.viewInsets.bottom !== 0) data = data.copyWith$1$padding(data.padding.copyWith$1$bottom(data.viewPadding.bottom)); if (child != null) children.push(A.LayoutId$(new A.MediaQuery(data, child, null), childId)); }, _addIfNonNull$8$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, removeBottomInset, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding) { return this._addIfNonNull$9$maintainBottomViewPadding$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, false, removeBottomInset, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding); }, _addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding) { return this._addIfNonNull$9$maintainBottomViewPadding$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, false, false, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding); }, _addIfNonNull$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, maintainBottomViewPadding, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding) { return this._addIfNonNull$9$maintainBottomViewPadding$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, child, childId, maintainBottomViewPadding, false, removeBottomPadding, removeLeftPadding, removeRightPadding, removeTopPadding); }, _buildEndDrawer$2(children, textDirection) { var t3, _this = this, t1 = _this._widget, t2 = t1.endDrawer; if (t2 != null) { t3 = _this._endDrawerOpened; _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, new A.DrawerController(t2, B.DrawerAlignment_1, _this.get$_endDrawerOpenedCallback(), B.DragStartBehavior_1, null, t1.endDrawerEnableOpenDragGesture, null, A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value), _this._endDrawerKey), B._ScaffoldSlot_10, false, textDirection === B.TextDirection_1, textDirection === B.TextDirection_0, false); } }, _buildDrawer$2(children, textDirection) { this._widget.toString; }, build$1(_, context) { var textDirection, route, t2, children, t3, elevation, t4, minInsets, minViewPadding, _this = this, _null = null, _s35_ = "_floatingActionButtonMoveController", _s17_ = "_geometryNotifier", _box_0 = {}, mediaQuery = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, themeData = A.Theme_of(context), t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; textDirection = t1.textDirection; _this._accessibleNavigation = mediaQuery.accessibleNavigation; t1 = _this._snackBars; if (!t1.get$isEmpty(t1)) { route = A.ModalRoute_of(context, type$.nullable_Object); if (route == null || route.get$isCurrent()) _null.get$isCompleted(); else { t2 = _this._snackBarTimer; if (t2 != null) t2.cancel$0(0); _this._snackBarTimer = null; } } children = A._setArrayType([], type$.JSArray_LayoutId); t2 = _this._widget; t3 = t2.body; t2 = t2.appBar; _this._addIfNonNull$8$removeBottomInset$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, new A._BodyBuilder(t3, false, false, _null), B._ScaffoldSlot_0, _this.get$_resizeToAvoidBottomInset(), false, false, false, t2 != null); if (_this._showBodyScrim) _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, new A.ModalBarrier(_this._bodyScrimColor, false, true, _null, _null), B._ScaffoldSlot_2, true, true, true, true); t2 = _this._widget.appBar; if (t2 != null) { t2 = _this._appBarMaxHeight = A.AppBar_preferredHeightFor(context, t2.preferredSize) + mediaQuery.padding.top; t3 = _this._widget.appBar; t3.toString; _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, t2), new A.FlexibleSpaceBarSettings(1, t2, t2, t2, _null, t3, _null), _null), B._ScaffoldSlot_1, true, false, false, false); } _box_0.isSnackBarFloating = false; _box_0.snackBarWidth = null; if (_this._currentBottomSheet != null || _this._dismissedBottomSheets.length !== 0) { t2 = A.List_List$of(_this._dismissedBottomSheets, true, type$.Widget); t3 = _this._currentBottomSheet; if (t3 != null) t2.push(t3._scaffold$_widget); _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, A.Stack$(B.Alignment_0_1, t2, B.StackFit_0, _null, _null), B._ScaffoldSlot_3, _this.get$_resizeToAvoidBottomInset(), false, false, true); } t2 = _this._messengerSnackBar; if (t2 != null) { _box_0.isSnackBarFloating = false; t2 = t2._scaffold$_widget; _box_0.snackBarWidth = t2.width; _this._widget.toString; _this._addIfNonNull$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, t2, B._ScaffoldSlot_4, !_this.get$_resizeToAvoidBottomInset(), false, false, false, true); } if (!t1.get$isEmpty(t1)) { t1.get$first(t1).toString; _box_0.isSnackBarFloating = false; _box_0.snackBarWidth = t1.get$first(t1)._scaffold$_widget.width; t1 = t1.get$first(t1)._scaffold$_widget; _this._widget.toString; _this._addIfNonNull$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, t1, B._ScaffoldSlot_4, !_this.get$_resizeToAvoidBottomInset(), false, false, false, true); } _box_0.extendBodyBehindMaterialBanner = false; if (_this._messengerMaterialBanner != null) { context.dependOnInheritedWidgetOfExactType$1$0(type$.MaterialBannerTheme); t1 = A.Theme_of(context); t2 = _this._messengerMaterialBanner; if (t2 != null) { t2 = t2._scaffold$_widget; t2.get$elevation(t2); } elevation = t1.bannerTheme.elevation; _box_0.extendBodyBehindMaterialBanner = (elevation == null ? 0 : elevation) !== 0; t1 = _this._messengerMaterialBanner; t1 = t1 == null ? _null : t1._scaffold$_widget; t2 = _this._widget.appBar; _this._addIfNonNull$8$maintainBottomViewPadding$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, t1, B._ScaffoldSlot_5, !_this.get$_resizeToAvoidBottomInset(), true, false, false, t2 != null); } _this._widget.toString; t1 = A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonMoveController, _s35_); t2 = A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonAnimator, "_floatingActionButtonAnimator"); t3 = A._lateReadCheck(_this.__ScaffoldState__geometryNotifier, _s17_); t4 = A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonVisibilityController, string$.x5ffloat); _this._widget.toString; _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, new A._FloatingActionButtonTransition(_null, t1, t2, t3, t4, _null), B._ScaffoldSlot_8, true, true, true, true); switch (themeData.platform.index) { case 2: case 4: _this._addIfNonNull$7$removeBottomPadding$removeLeftPadding$removeRightPadding$removeTopPadding(children, A.GestureDetector$(B.HitTestBehavior_1, _null, B.DragStartBehavior_1, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_handleStatusBarTap(), _null, _null, _null, _null, _null, _null, _null), B._ScaffoldSlot_11, true, false, false, true); break; case 0: case 1: case 3: case 5: break; } t1 = _this._endDrawerOpened; if (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) { _this._buildDrawer$2(children, textDirection); _this._buildEndDrawer$2(children, textDirection); } else { _this._buildEndDrawer$2(children, textDirection); _this._buildDrawer$2(children, textDirection); } t1 = _this.get$_resizeToAvoidBottomInset() ? mediaQuery.viewInsets.bottom : 0; minInsets = mediaQuery.padding.copyWith$1$bottom(t1); t1 = _this.get$_resizeToAvoidBottomInset() && mediaQuery.viewInsets.bottom !== 0 ? 0 : _null; minViewPadding = mediaQuery.viewPadding.copyWith$1$bottom(t1); if (minInsets.bottom <= 0) _this._widget.toString; _this._widget.toString; A._lateReadCheck(_this.__ScaffoldState__geometryNotifier, _s17_); t1 = _this._widget.backgroundColor; if (t1 == null) t1 = themeData.scaffoldBackgroundColor; return new A._ScaffoldScope(false, new A.ScrollNotificationObserver(A.Material$(B.Duration_200000, true, _null, A.AnimatedBuilder$(A._lateReadCheck(_this.__ScaffoldState__floatingActionButtonMoveController, _s35_), new A.ScaffoldState_build_closure(_box_0, _this, false, minInsets, minViewPadding, textDirection, children), _null), B.Clip_0, t1, 0, _null, _null, _null, _null, B.MaterialType_0), _null), _null); } }; A.ScaffoldState__endDrawerOpenedCallback_closure.prototype = { call$0() { this.$this._endDrawerOpened.super$RestorableValue$value(0, this.isOpened); }, $signature: 0 }; A.ScaffoldState_hideCurrentSnackBar_closure.prototype = { call$1(value) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.complete$1(0, this.reason); }, $signature: 27 }; A.ScaffoldState__updateSnackBar_closure.prototype = { call$0() { this.$this._messengerSnackBar = this.messengerSnackBar; }, $signature: 0 }; A.ScaffoldState__updateMaterialBanner_closure.prototype = { call$0() { this.$this._messengerMaterialBanner = this.messengerMaterialBanner; }, $signature: 0 }; A.ScaffoldState_build_closure.prototype = { call$2(context, child) { var t2, t3, t4, t5, t6, t7, t8, _this = this, t1 = _this.$this; t1._widget.toString; t2 = t1._floatingActionButtonLocation; t2.toString; t3 = A._lateReadCheck(A._lateReadCheck(t1.__ScaffoldState__floatingActionButtonMoveController, "_floatingActionButtonMoveController").__AnimationController__value, "_value"); t4 = A._lateReadCheck(t1.__ScaffoldState__floatingActionButtonAnimator, "_floatingActionButtonAnimator"); t5 = A._lateReadCheck(t1.__ScaffoldState__geometryNotifier, "_geometryNotifier"); t1 = t1._previousFloatingActionButtonLocation; t1.toString; t6 = _this._box_0; t7 = t6.isSnackBarFloating; t8 = t6.extendBodyBehindMaterialBanner; return new A.CustomMultiChildLayout(new A._ScaffoldLayout(_this._extendBody, false, _this.minInsets, _this.minViewPadding, _this.textDirection, t5, t1, t2, t3, t4, t7, t6.snackBarWidth, t8), _this.children, null); }, $signature: 519 }; A._ScaffoldScope.prototype = { updateShouldNotify$1(oldWidget) { return this.hasDrawer !== oldWidget.hasDrawer; } }; A._ScaffoldState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A._ScaffoldMessengerState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._ScaffoldState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._ScaffoldState_State_TickerProviderStateMixin_RestorationMixin.prototype = { didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this.didUpdateRestorationId$0(); }, didChangeDependencies$0() { var oldBucket, needsRestore, t1, didReplaceBucket, _this = this; _this.super$_ScaffoldState_State_TickerProviderStateMixin$didChangeDependencies(); oldBucket = _this.RestorationMixin__bucket; needsRestore = _this.get$restorePending(); t1 = _this._framework$_element; t1.toString; t1 = A.RestorationScope_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A._ScaffoldState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$_ScaffoldState_State_TickerProviderStateMixin$dispose(0); } }; A.__FloatingActionButtonTransitionState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.Scrollbar.prototype = { build$1(_, context) { var _this = this, _null = null; if (A.Theme_of(context).platform === B.TargetPlatform_2) return A.CupertinoScrollbar$(_this.child, _this.controller, _this.isAlwaysShown === true, _null, B.Radius_ydE, B.Radius_4_4, _null, 3, 8); return new A._MaterialScrollbar(_null, _null, _this.child, _this.controller, _this.isAlwaysShown, _null, _null, B.Duration_300000, B.Duration_600000, B.Duration_0, A.scroll_notification__defaultScrollNotificationPredicate$closure(), _null, _null, _null); } }; A._MaterialScrollbar.prototype = { createState$0() { return new A._MaterialScrollbarState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, B._StateLifecycle_0); } }; A._MaterialScrollbarState.prototype = { get$showScrollbar() { var t1 = this._widget.isAlwaysShown; if (t1 == null) t1 = A._lateReadCheck(this.___MaterialScrollbarState__scrollbarTheme, "_scrollbarTheme").isAlwaysShown; return t1 === true; }, get$enableGestures() { this._widget.toString; A._lateReadCheck(this.___MaterialScrollbarState__scrollbarTheme, "_scrollbarTheme"); var t1 = A._lateReadCheck(this.___MaterialScrollbarState__useAndroidScrollbar, "_useAndroidScrollbar"); return !t1; }, get$_showTrackOnHover() { this._widget.toString; A._lateReadCheck(this.___MaterialScrollbarState__scrollbarTheme, "_scrollbarTheme"); return false; }, get$_states() { var t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (this._dragIsActive) t1.add$1(0, B.MaterialState_3); if (this._scrollbar0$_hoverIsActive) t1.add$1(0, B.MaterialState_0); return t1; }, get$_thumbColor() { var t1, _this = this, _s12_ = "_colorScheme", _s20_ = "_useAndroidScrollbar", onSurface = A._lateReadCheck(_this.___MaterialScrollbarState__colorScheme, _s12_).onSurface, brightness = A._lateReadCheck(_this.___MaterialScrollbarState__colorScheme, _s12_).brightness, dragColor = A._Cell$named("dragColor"), hoverColor = A._Cell$named("hoverColor"), idleColor = A._Cell$named("idleColor"); switch (brightness.index) { case 1: dragColor.__late_helper$_value = A.Color$fromARGB(153, onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); hoverColor.__late_helper$_value = A.Color$fromARGB(B.JSNumber_methods.round$0(127.5), onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); if (A._lateReadCheck(_this.___MaterialScrollbarState__useAndroidScrollbar, _s20_)) { t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).highlightColor.value; t1 = A.Color$fromARGB(255, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } else t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(25.5), onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); idleColor.__late_helper$_value = t1; break; case 0: dragColor.__late_helper$_value = A.Color$fromARGB(191, onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); hoverColor.__late_helper$_value = A.Color$fromARGB(166, onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); if (A._lateReadCheck(_this.___MaterialScrollbarState__useAndroidScrollbar, _s20_)) { t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).highlightColor.value; t1 = A.Color$fromARGB(255, t1 >>> 16 & 255, t1 >>> 8 & 255, t1 & 255); } else t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(76.5), onSurface.get$value(onSurface) >>> 16 & 255, onSurface.get$value(onSurface) >>> 8 & 255, onSurface.get$value(onSurface) & 255); idleColor.__late_helper$_value = t1; break; } return new A._MaterialStatePropertyWith(new A._MaterialScrollbarState__thumbColor_closure(_this, dragColor, hoverColor, idleColor), type$._MaterialStatePropertyWith_Color); }, get$_trackColor() { var _s12_ = "_colorScheme", onSurface = A._lateReadCheck(this.___MaterialScrollbarState__colorScheme, _s12_).onSurface; return new A._MaterialStatePropertyWith(new A._MaterialScrollbarState__trackColor_closure(this, A._lateReadCheck(this.___MaterialScrollbarState__colorScheme, _s12_).brightness, onSurface), type$._MaterialStatePropertyWith_Color); }, get$_trackBorderColor() { var _s12_ = "_colorScheme", onSurface = A._lateReadCheck(this.___MaterialScrollbarState__colorScheme, _s12_).onSurface; return new A._MaterialStatePropertyWith(new A._MaterialScrollbarState__trackBorderColor_closure(this, A._lateReadCheck(this.___MaterialScrollbarState__colorScheme, _s12_).brightness, onSurface), type$._MaterialStatePropertyWith_Color); }, get$_scrollbar0$_thickness() { return new A._MaterialStatePropertyWith(new A._MaterialScrollbarState__thickness_closure(this), type$._MaterialStatePropertyWith_double); }, initState$0() { var t1, _this = this; _this.super$RawScrollbarState$initState(); t1 = A.AnimationController$(null, B.Duration_200000, null, 1, null, _this); _this.___MaterialScrollbarState__hoverAnimationController = t1; t1 = A._lateReadCheck(t1, "_hoverAnimationController"); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(new A._MaterialScrollbarState_initState_closure(_this)); }, didChangeDependencies$0() { var theme, _this = this, t1 = _this._framework$_element; t1.toString; theme = A.Theme_of(t1); _this.___MaterialScrollbarState__colorScheme = theme.colorScheme; _this.___MaterialScrollbarState__scrollbarTheme = theme.scrollbarTheme; switch (theme.platform.index) { case 0: _this.___MaterialScrollbarState__useAndroidScrollbar = true; break; case 2: case 3: case 1: case 4: case 5: _this.___MaterialScrollbarState__useAndroidScrollbar = false; break; } _this.super$RawScrollbarState$didChangeDependencies(); }, updateScrollbarPainter$0() { var t2, _this = this, _s15_ = "_scrollbarTheme", _s20_ = "_useAndroidScrollbar", t1 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); t1.set$color(0, _this.get$_thumbColor()._material_state$_resolve.call$1(_this.get$_states())); t1.set$trackColor(_this.get$_trackColor()._material_state$_resolve.call$1(_this.get$_states())); t1.set$trackBorderColor(_this.get$_trackBorderColor()._material_state$_resolve.call$1(_this.get$_states())); t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t1.set$textDirection(0, t2.textDirection); t1.set$thickness(_this.get$_scrollbar0$_thickness()._material_state$_resolve.call$1(_this.get$_states())); t2 = _this._widget.radius; if (t2 == null) t2 = A._lateReadCheck(_this.___MaterialScrollbarState__scrollbarTheme, _s15_).radius; if (t2 == null) t2 = A._lateReadCheck(_this.___MaterialScrollbarState__useAndroidScrollbar, _s20_) ? null : B.Radius_8_8; t1.set$radius(t2); t2 = A._lateReadCheck(_this.___MaterialScrollbarState__scrollbarTheme, _s15_).crossAxisMargin; if (t2 == null) t2 = A._lateReadCheck(_this.___MaterialScrollbarState__useAndroidScrollbar, _s20_) ? 0 : 2; t1.set$crossAxisMargin(t2); t2 = A._lateReadCheck(_this.___MaterialScrollbarState__scrollbarTheme, _s15_).mainAxisMargin; t1.set$mainAxisMargin(t2 == null ? 0 : t2); t2 = A._lateReadCheck(_this.___MaterialScrollbarState__scrollbarTheme, _s15_).minThumbLength; t1.set$minLength(0, t2 == null ? 48 : t2); t1.set$padding(0, _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.padding); t1.set$scrollbarOrientation(_this._widget.scrollbarOrientation); }, handleThumbPressStart$1(localPosition) { this.super$RawScrollbarState$handleThumbPressStart(localPosition); this.setState$1(new A._MaterialScrollbarState_handleThumbPressStart_closure(this)); }, handleThumbPressEnd$2(localPosition, velocity) { this.super$RawScrollbarState$handleThumbPressEnd(localPosition, velocity); this.setState$1(new A._MaterialScrollbarState_handleThumbPressEnd_closure(this)); }, handleHover$1($event) { var _this = this, _s25_ = "_hoverAnimationController"; _this.super$RawScrollbarState$handleHover($event); if (_this.isPointerOverScrollbar$3$forHover($event.get$position($event), $event.get$kind($event), true)) { _this.setState$1(new A._MaterialScrollbarState_handleHover_closure(_this)); A._lateReadCheck(_this.___MaterialScrollbarState__hoverAnimationController, _s25_).forward$0(0); } else if (_this._scrollbar0$_hoverIsActive) { _this.setState$1(new A._MaterialScrollbarState_handleHover_closure0(_this)); A._lateReadCheck(_this.___MaterialScrollbarState__hoverAnimationController, _s25_).reverse$0(0); } }, handleHoverExit$1($event) { var _this = this; _this.super$RawScrollbarState$handleHoverExit($event); _this.setState$1(new A._MaterialScrollbarState_handleHoverExit_closure(_this)); A._lateReadCheck(_this.___MaterialScrollbarState__hoverAnimationController, "_hoverAnimationController").reverse$0(0); }, dispose$0(_) { A._lateReadCheck(this.___MaterialScrollbarState__hoverAnimationController, "_hoverAnimationController").dispose$0(0); this.super$RawScrollbarState$dispose(0); } }; A._MaterialScrollbarState__thumbColor_closure.prototype = { call$1(states) { var t1, t2, t3, _this = this, _s15_ = "_scrollbarTheme"; if (states.contains$1(0, B.MaterialState_3)) { t1 = A._lateReadCheck(_this.$this.___MaterialScrollbarState__scrollbarTheme, _s15_).thumbColor; t1 = t1 == null ? null : t1.resolve$1(states); return t1 == null ? _this.dragColor._readLocal$0() : t1; } if (states.contains$1(0, B.MaterialState_0)) _this.$this.get$_showTrackOnHover(); t1 = _this.$this; t2 = A._lateReadCheck(t1.___MaterialScrollbarState__scrollbarTheme, _s15_).thumbColor; t2 = t2 == null ? null : t2.resolve$1(states); if (t2 == null) t2 = _this.idleColor._readLocal$0(); t3 = A._lateReadCheck(t1.___MaterialScrollbarState__scrollbarTheme, _s15_).thumbColor; t3 = t3 == null ? null : t3.resolve$1(states); if (t3 == null) t3 = _this.hoverColor._readLocal$0(); t1 = A.Color_lerp(t2, t3, A._lateReadCheck(A._lateReadCheck(t1.___MaterialScrollbarState__hoverAnimationController, "_hoverAnimationController").__AnimationController__value, "_value")); t1.toString; return t1; }, $signature: 31 }; A._MaterialScrollbarState__trackColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_0)) this.$this.get$_showTrackOnHover(); return B.Color_0; }, $signature: 31 }; A._MaterialScrollbarState__trackBorderColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_0)) this.$this.get$_showTrackOnHover(); return B.Color_0; }, $signature: 31 }; A._MaterialScrollbarState__thickness_closure.prototype = { call$1(states) { var t1, t2; if (states.contains$1(0, B.MaterialState_0)) this.$this.get$_showTrackOnHover(); t1 = this.$this; t2 = t1._widget.thickness; if (t2 == null) { t2 = A._lateReadCheck(t1.___MaterialScrollbarState__scrollbarTheme, "_scrollbarTheme").thickness; t2 = t2 == null ? null : t2.resolve$1(states); } if (t2 == null) { t2 = 8 / (A._lateReadCheck(t1.___MaterialScrollbarState__useAndroidScrollbar, "_useAndroidScrollbar") ? 2 : 1); t1 = t2; } else t1 = t2; return t1; }, $signature: 520 }; A._MaterialScrollbarState_initState_closure.prototype = { call$0() { this.$this.updateScrollbarPainter$0(); }, $signature: 0 }; A._MaterialScrollbarState_handleThumbPressStart_closure.prototype = { call$0() { this.$this._dragIsActive = true; }, $signature: 0 }; A._MaterialScrollbarState_handleThumbPressEnd_closure.prototype = { call$0() { this.$this._dragIsActive = false; }, $signature: 0 }; A._MaterialScrollbarState_handleHover_closure.prototype = { call$0() { this.$this._scrollbar0$_hoverIsActive = true; }, $signature: 0 }; A._MaterialScrollbarState_handleHover_closure0.prototype = { call$0() { this.$this._scrollbar0$_hoverIsActive = false; }, $signature: 0 }; A._MaterialScrollbarState_handleHoverExit_closure.prototype = { call$0() { this.$this._scrollbar0$_hoverIsActive = false; }, $signature: 0 }; A.ScrollbarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.thickness, _this.showTrackOnHover, _this.isAlwaysShown, _this.interactive, _this.radius, _this.thumbColor, _this.trackColor, _this.trackBorderColor, _this.crossAxisMargin, _this.mainAxisMargin, _this.minThumbLength, 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); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.ScrollbarThemeData) if (other.thickness == _this.thickness) t1 = J.$eq$(other.radius, _this.radius) && other.thumbColor == _this.thumbColor && other.trackColor == _this.trackColor && other.trackBorderColor == _this.trackBorderColor && other.crossAxisMargin == _this.crossAxisMargin && other.mainAxisMargin == _this.mainAxisMargin && other.minThumbLength == _this.minThumbLength; else t1 = false; else t1 = false; return t1; } }; A._LerpProperties5.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._ScrollbarThemeData_Object_Diagnosticable.prototype = {}; A._TextSpanEditingController.prototype = { buildTextSpan$3$context$style$withComposing(context, style, withComposing) { var _null = null; return A.TextSpan$(A._setArrayType([this._textSpan], type$.JSArray_TextSpan), _null, _null, _null, style, _null); }, set$text(_, newText) { throw A.wrapException(A.UnimplementedError$(null)); } }; A._SelectableTextSelectionGestureDetectorBuilder.prototype = { onForcePressStart$1(details) { var t1; this.super$TextSelectionGestureDetectorBuilder$onForcePressStart(details); t1 = this.delegate; if (t1.get$selectionEnabled() && this._shouldShowSelectionToolbar) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } }, onForcePressEnd$1(details) { }, onSingleLongTapMoveUpdate$1(details) { var t2, t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; t2 = details.globalPosition; type$.RenderEditable._as(t1).selectWordsInRange$3$cause$from$to(B.SelectionChangedCause_2, t2.$sub(0, details.offsetFromOrigin), t2); } }, onSingleTapUp$1(details) { var t1 = this.delegate, t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2.hideToolbar$0(); if (t1.get$selectionEnabled()) { t2 = this._selectable_text$_state._framework$_element; t2.toString; switch (A.Theme_of(t2).platform.index) { case 2: case 4: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectWordEdge$1$cause(B.SelectionChangedCause_0); break; case 0: case 1: case 3: case 5: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = t1._lastTapDownPosition; t2.toString; t1.selectPositionAt$2$cause$from(B.SelectionChangedCause_0, t2); break; } } this._selectable_text$_state._widget.toString; }, onSingleLongTapStart$1(details) { var t2, t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = t1._lastTapDownPosition; t2.toString; t1.selectWordsInRange$2$cause$from(B.SelectionChangedCause_2, t2); t2 = this._selectable_text$_state._framework$_element; t2.toString; A.Feedback_forLongPress(t2); } } }; A.SelectableText.prototype = { createState$0() { return new A._SelectableTextState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_EditableTextState), null, B._StateLifecycle_0); }, get$data(receiver) { return this.data; } }; A._SelectableTextState.prototype = { get$_selectable_text$_effectiveFocusNode() { this._widget.toString; var t1 = this._selectable_text$_focusNode; if (t1 == null) { t1 = A.FocusNode$(true, null, true, null, null, true); this._selectable_text$_focusNode = t1; } return t1; }, get$forcePressEnabled() { return A._lateReadCheck(this.___SelectableTextState_forcePressEnabled, "forcePressEnabled"); }, get$selectionEnabled() { this._widget.toString; return true; }, initState$0() { var t1, t2, _this = this, _null = null; _this.super$__SelectableTextState_State_AutomaticKeepAliveClientMixin$initState(); _this.___SelectableTextState__selectionGestureDetectorBuilder = new A._SelectableTextSelectionGestureDetectorBuilder(_this, _this); t1 = _this._widget; t2 = t1.textSpan; t1 = A._TextSpanEditingController$(t2 == null ? A.TextSpan$(_null, _null, _null, _null, _null, t1.data) : t2); _this.___SelectableTextState__controller = t1; A._lateReadCheck(t1, "_controller").addListener$1(0, _this.get$_onControllerChanged()); }, didUpdateWidget$1(oldWidget) { var t1, t2, t3, _this = this, _null = null, _s11_ = "_controller"; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; if (t1.data != oldWidget.data || !J.$eq$(t1.textSpan, oldWidget.textSpan)) { t1 = _this.get$_onControllerChanged(); A._lateReadCheck(_this.___SelectableTextState__controller, _s11_).removeListener$1(0, t1); t2 = _this._widget; t3 = t2.textSpan; t2 = A._TextSpanEditingController$(t3 == null ? A.TextSpan$(_null, _null, _null, _null, _null, t2.data) : t3); _this.___SelectableTextState__controller = t2; A._lateReadCheck(t2, _s11_).addListener$1(0, t1); } if (_this.get$_selectable_text$_effectiveFocusNode().get$hasFocus()) { t1 = A._lateReadCheck(_this.___SelectableTextState__controller, _s11_)._change_notifier$_value.selection; t1 = t1.start === t1.end; } else t1 = false; if (t1) _this._selectable_text$_showSelectionHandles = false; else _this._selectable_text$_showSelectionHandles = true; }, dispose$0(_) { var _this = this, t1 = _this._selectable_text$_focusNode; if (t1 != null) t1.dispose$0(0); A._lateReadCheck(_this.___SelectableTextState__controller, "_controller").removeListener$1(0, _this.get$_onControllerChanged()); _this.super$State$dispose(0); }, _onControllerChanged$0() { var t1, showSelectionHandles, _this = this; if (_this.get$_selectable_text$_effectiveFocusNode().get$hasFocus()) { t1 = A._lateReadCheck(_this.___SelectableTextState__controller, "_controller")._change_notifier$_value.selection; showSelectionHandles = t1.start !== t1.end; } else showSelectionHandles = true; if (showSelectionHandles === _this._selectable_text$_showSelectionHandles) return; _this.setState$1(new A._SelectableTextState__onControllerChanged_closure(_this, showSelectionHandles)); }, _selectable_text$_handleSelectionChanged$2(selection, cause) { var t1, _this = this, willShowSelectionHandles = _this._selectable_text$_shouldShowSelectionHandles$1(cause); if (willShowSelectionHandles !== _this._selectable_text$_showSelectionHandles) _this.setState$1(new A._SelectableTextState__handleSelectionChanged_closure(_this, willShowSelectionHandles)); _this._widget.toString; _this._lastSeenTextSelection = selection; t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 2: case 4: if (cause === B.SelectionChangedCause_2) { t1 = _this.editableTextKey.get$currentState(); if (t1 != null) t1.bringIntoView$1(new A.TextPosition(selection.baseOffset, selection.affinity)); } return; case 0: case 1: case 3: case 5: break; } }, _selectable_text$_handleSelectionHandleTapped$0() { var t1 = A._lateReadCheck(this.___SelectableTextState__controller, "_controller")._change_notifier$_value.selection; if (t1.start === t1.end) this.editableTextKey.get$currentState().toggleToolbar$0(); }, _selectable_text$_shouldShowSelectionHandles$1(cause) { var t1, _s11_ = "_controller"; if (!A._lateReadCheck(this.___SelectableTextState__selectionGestureDetectorBuilder, "_selectionGestureDetectorBuilder")._shouldShowSelectionToolbar) return false; t1 = A._lateReadCheck(this.___SelectableTextState__controller, _s11_)._change_notifier$_value.selection; if (t1.start === t1.end) return false; if (cause === B.SelectionChangedCause_4) return false; if (cause === B.SelectionChangedCause_2) return true; if (A._lateReadCheck(this.___SelectableTextState__controller, _s11_)._change_notifier$_value.text.length !== 0) return true; return false; }, get$wantKeepAlive() { return true; }, build$1(_, context) { var theme, selectionTheme, focusNode, textSelectionControls, cupertinoTheme, cursorColor, selectionColor, t1, cursorOffset, paintCursorAboveText, cursorOpacityAnimates, cursorRadius, effectiveTextStyle, t2, t3, t4, t5, t6, t7, _this = this, _null = null; _this.super$AutomaticKeepAliveClientMixin$build(0, context); theme = A.Theme_of(context); selectionTheme = A.TextSelectionTheme_of(context); focusNode = _this.get$_selectable_text$_effectiveFocusNode(); textSelectionControls = _this._widget.selectionControls; switch (theme.platform.index) { case 2: cupertinoTheme = A.CupertinoTheme_of(context); _this.___SelectableTextState_forcePressEnabled = true; if (textSelectionControls == null) textSelectionControls = $.$get$cupertinoTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = cupertinoTheme.get$primaryColor(); selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t1 = cupertinoTheme.get$primaryColor(); selectionColor = A.Color$fromARGB(102, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } cursorOffset = new A.Offset(-2 / context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.devicePixelRatio, 0); paintCursorAboveText = true; cursorOpacityAnimates = true; cursorRadius = B.Radius_2_2; break; case 4: cupertinoTheme = A.CupertinoTheme_of(context); _this.___SelectableTextState_forcePressEnabled = false; if (textSelectionControls == null) textSelectionControls = $.$get$cupertinoDesktopTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = cupertinoTheme.get$primaryColor(); selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t1 = cupertinoTheme.get$primaryColor(); selectionColor = A.Color$fromARGB(102, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } cursorOffset = new A.Offset(-2 / context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.devicePixelRatio, 0); paintCursorAboveText = true; cursorOpacityAnimates = true; cursorRadius = B.Radius_2_2; break; case 0: case 1: _this.___SelectableTextState_forcePressEnabled = false; if (textSelectionControls == null) textSelectionControls = $.$get$materialTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = theme.colorScheme.primary; selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t1 = theme.colorScheme.primary; selectionColor = A.Color$fromARGB(102, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } cursorRadius = _null; cursorOffset = cursorRadius; paintCursorAboveText = false; cursorOpacityAnimates = false; break; case 3: case 5: _this.___SelectableTextState_forcePressEnabled = false; if (textSelectionControls == null) textSelectionControls = $.$get$desktopTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = theme.colorScheme.primary; selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t1 = theme.colorScheme.primary; selectionColor = A.Color$fromARGB(102, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } cursorRadius = _null; cursorOffset = cursorRadius; paintCursorAboveText = false; cursorOpacityAnimates = false; break; default: cursorRadius = _null; selectionColor = cursorRadius; cursorColor = selectionColor; cursorOffset = cursorColor; cursorOpacityAnimates = cursorOffset; paintCursorAboveText = cursorOpacityAnimates; } t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); if (t1 == null) t1 = B.DefaultTextStyle_40S; effectiveTextStyle = _this._widget.style; if (effectiveTextStyle == null || effectiveTextStyle.inherit) effectiveTextStyle = t1.style.merge$1(effectiveTextStyle); if (A.MediaQuery_boldTextOverride(context)) effectiveTextStyle = effectiveTextStyle.merge$1(B.TextStyle_oqK); _this._widget.toString; t2 = _this._selectable_text$_showSelectionHandles; t3 = A._lateReadCheck(_this.___SelectableTextState__controller, "_controller"); t4 = _this._widget; t5 = t4.textAlign; if (t5 == null) t5 = t1.textAlign; if (t5 == null) t5 = B.TextAlign_4; t6 = t4.textDirection; t7 = t4.textScaleFactor; t4 = t4.toolbarOptions; t1 = A.EditableText$(true, _null, _null, _null, false, B.CupertinoDynamicColor_YIZ, B.Clip_1, t3, cursorColor, _null, cursorOffset, cursorOpacityAnimates, cursorRadius, 2, B.DragStartBehavior_1, true, true, true, false, focusNode, false, _null, _this.editableTextKey, B.Brightness_1, _null, t1.maxLines, _null, _null, false, "\u2022", _null, _null, _null, _this.get$_selectable_text$_handleSelectionChanged(), _this.get$_selectable_text$_handleSelectionHandleTapped(), _null, paintCursorAboveText, true, true, _null, _null, B.EdgeInsets_20_20_20_20, _null, selectionColor, textSelectionControls, B.BoxHeightStyle_0, B.BoxWidthStyle_0, false, t2, _null, _null, B.StrutStyle_yfz, effectiveTextStyle, t5, B.TextCapitalization_30, t6, t1.textHeightBehavior, _null, t7, t1.textWidthBasis, t4); _this._widget.toString; t1 = A._lateReadCheck(_this.___SelectableTextState__selectionGestureDetectorBuilder, "_selectionGestureDetectorBuilder").buildGestureDetector$2$behavior$child(B.HitTestBehavior_2, new A.RepaintBoundary(t1, _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, new A._SelectableTextState_build_closure(_this), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, t1, _null); }, get$editableTextKey() { return this.editableTextKey; } }; A._SelectableTextState__onControllerChanged_closure.prototype = { call$0() { this.$this._selectable_text$_showSelectionHandles = this.showSelectionHandles; }, $signature: 0 }; A._SelectableTextState__handleSelectionChanged_closure.prototype = { call$0() { this.$this._selectable_text$_showSelectionHandles = this.willShowSelectionHandles; }, $signature: 0 }; A._SelectableTextState_build_closure.prototype = { call$0() { this.$this.get$_selectable_text$_effectiveFocusNode().requestFocus$0(); }, $signature: 0 }; A.__SelectableTextState_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(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A.SliderThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashList([_this.trackHeight, _this.activeTrackColor, _this.inactiveTrackColor, _this.disabledActiveTrackColor, _this.disabledInactiveTrackColor, _this.activeTickMarkColor, _this.inactiveTickMarkColor, _this.disabledActiveTickMarkColor, _this.disabledInactiveTickMarkColor, _this.thumbColor, _this.overlappingShapeStrokeColor, _this.disabledThumbColor, _this.overlayColor, _this.valueIndicatorColor, _this.overlayShape, _this.tickMarkShape, _this.thumbShape, _this.trackShape, _this.valueIndicatorShape, _this.rangeTickMarkShape, _this.rangeThumbShape, _this.rangeTrackShape, _this.rangeValueIndicatorShape, _this.showValueIndicator, _this.valueIndicatorTextStyle, _this.minThumbSeparation, _this.thumbSelector]); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.SliderThemeData) if (other.trackHeight == _this.trackHeight) if (J.$eq$(other.activeTrackColor, _this.activeTrackColor)) if (J.$eq$(other.inactiveTrackColor, _this.inactiveTrackColor)) if (J.$eq$(other.disabledActiveTrackColor, _this.disabledActiveTrackColor)) if (J.$eq$(other.disabledInactiveTrackColor, _this.disabledInactiveTrackColor)) if (J.$eq$(other.activeTickMarkColor, _this.activeTickMarkColor)) if (J.$eq$(other.inactiveTickMarkColor, _this.inactiveTickMarkColor)) if (J.$eq$(other.disabledActiveTickMarkColor, _this.disabledActiveTickMarkColor)) if (J.$eq$(other.disabledInactiveTickMarkColor, _this.disabledInactiveTickMarkColor)) if (J.$eq$(other.thumbColor, _this.thumbColor)) if (J.$eq$(other.overlappingShapeStrokeColor, _this.overlappingShapeStrokeColor)) if (J.$eq$(other.disabledThumbColor, _this.disabledThumbColor)) if (J.$eq$(other.overlayColor, _this.overlayColor)) if (J.$eq$(other.valueIndicatorColor, _this.valueIndicatorColor)) if (other.overlayShape == _this.overlayShape) if (other.tickMarkShape == _this.tickMarkShape) if (other.thumbShape == _this.thumbShape) if (other.trackShape == _this.trackShape) if (other.valueIndicatorShape == _this.valueIndicatorShape) t1 = other.showValueIndicator == _this.showValueIndicator && J.$eq$(other.valueIndicatorTextStyle, _this.valueIndicatorTextStyle) && other.minThumbSeparation == _this.minThumbSeparation && 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; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._SliderThemeData_Object_Diagnosticable.prototype = {}; A.SnackBarClosedReason.prototype = { toString$0(_) { return "SnackBarClosedReason." + this._core$_name; } }; A.SnackBarThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.actionTextColor, _this.disabledActionTextColor, _this.contentTextStyle, _this.elevation, _this.shape, _this.behavior, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.SnackBarThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.actionTextColor, _this.actionTextColor) && J.$eq$(other.disabledActionTextColor, _this.disabledActionTextColor) && J.$eq$(other.contentTextStyle, _this.contentTextStyle) && other.elevation == _this.elevation && J.$eq$(other.shape, _this.shape) && true; } }; A._SnackBarThemeData_Object_Diagnosticable.prototype = {}; A._SwitchType.prototype = { toString$0(_) { return "_SwitchType." + this._core$_name; } }; A.Switch.prototype = { _getSwitchSize$1(theme) { switch (theme.materialTapTargetSize.index) { case 0: return B.Size_59_48; case 1: return B.Size_59_40; } }, _buildMaterialSwitch$1(context) { var _this = this, _null = null; return new A._MaterialSwitch(_this.value, _this.onChanged, _this.activeColor, _this.activeTrackColor, _null, _null, _null, _null, _null, _null, _null, _null, B.DragStartBehavior_1, _null, _null, _null, _null, _null, _null, false, _this._getSwitchSize$1(A.Theme_of(context)), _null); }, build$1(_, context) { switch (0) { case 0: return this._buildMaterialSwitch$1(context); } }, get$value(receiver) { return this.value; } }; A._MaterialSwitch.prototype = { createState$0() { return new A._MaterialSwitchState(new A._SwitchPainter(A.List_List$filled(0, null, false, type$.nullable_void_Function)), $, $, $, $, $, $, $, $, $, null, false, false, null, B._StateLifecycle_0); }, get$value(receiver) { return this.value; } }; A._MaterialSwitchState.prototype = { didUpdateWidget$1(oldWidget) { var t1, _this = this, _s9_ = "_position"; _this.super$State$didUpdateWidget(oldWidget); if (oldWidget.value !== _this._widget.value) { t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, _s9_); if (t1.get$value(t1) !== 0) { t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, _s9_); t1 = t1.get$value(t1) === 1; } else t1 = true; if (t1) { t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, _s9_); t1.curve = B.Cubic_JUR; t1.reverseCurve = B.Cubic_xDo0; } _this.animateToValue$0(); } }, dispose$0(_) { this._switch$_painter.dispose$0(0); this.super$__MaterialSwitchState_State_TickerProviderStateMixin_ToggleableStateMixin$dispose(0); }, get$onChanged() { this._widget.toString; return this.get$_switch$_handleChanged(); }, get$tristate() { return false; }, get$value(_) { return this._widget.value; }, get$_widgetThumbColor() { return new A._MaterialStatePropertyWith(new A._MaterialSwitchState__widgetThumbColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$_defaultThumbColor() { var theme, t1 = this._framework$_element; t1.toString; theme = A.Theme_of(t1); return new A._MaterialStatePropertyWith(new A._MaterialSwitchState__defaultThumbColor_closure(theme.colorScheme.brightness === B.Brightness_0, theme), type$._MaterialStatePropertyWith_Color); }, get$_widgetTrackColor() { return new A._MaterialStatePropertyWith(new A._MaterialSwitchState__widgetTrackColor_closure(this), type$._MaterialStatePropertyWith_nullable_Color); }, get$_defaultTrackColor() { var t1 = this._framework$_element; t1.toString; return new A._MaterialStatePropertyWith(new A._MaterialSwitchState__defaultTrackColor_closure(this, A.Theme_of(t1).colorScheme.brightness === B.Brightness_0), type$._MaterialStatePropertyWith_Color); }, _switch$_handleDragStart$1(details) { if (this.get$onChanged() != null) A._lateReadCheck(this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").forward$0(0); }, _switch$_handleDragUpdate$1(details) { var t1, delta, _this = this, _s19_ = "_positionController"; if (_this.get$onChanged() != null) { t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, "_position"); t1.curve = B.C__Linear; t1.reverseCurve = null; t1 = details.primaryDelta; t1.toString; delta = t1 / (_this._widget.size._dx - 40); t1 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; switch (t1.textDirection.index) { case 0: t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__positionController, _s19_); t1.set$value(0, A._lateReadCheck(t1.__AnimationController__value, "_value") - delta); break; case 1: t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__positionController, _s19_); t1.set$value(0, A._lateReadCheck(t1.__AnimationController__value, "_value") + delta); break; } } }, _switch$_handleDragEnd$1(details) { var t2, t3, _this = this, t1 = A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, "_position"); t1 = t1.get$value(t1); t2 = _this._widget; t3 = t2.value; if (t1 >= 0.5 !== t3) { t2.onChanged.call$1(!t3); _this.setState$1(new A._MaterialSwitchState__handleDragEnd_closure(_this)); } else _this.animateToValue$0(); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").reverse$0(0); }, _switch$_handleChanged$1(value) { var t1 = this._widget.onChanged; value.toString; t1.call$1(value); }, build$1(_, context) { var theme, activeStates, inactiveStates, t1, effectiveActiveThumbColor, effectiveInactiveThumbColor, effectiveActiveTrackColor, effectiveInactiveTrackColor, focusedStates, t2, t3, effectiveFocusOverlayColor, hoveredStates, effectiveHoverOverlayColor, effectiveActivePressedOverlayColor, effectiveInactivePressedOverlayColor, t4, t5, t6, _this = this, _null = null; if (_this._needsPositionAnimation) { _this._needsPositionAnimation = false; _this.animateToValue$0(); } theme = A.Theme_of(context); 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; t1 = _this.get$_widgetThumbColor()._material_state$_resolve.call$1(activeStates); if (t1 == null) { t1 = theme.switchTheme.thumbColor; t1 = t1 == null ? _null : t1.resolve$1(activeStates); effectiveActiveThumbColor = t1; } else effectiveActiveThumbColor = t1; if (effectiveActiveThumbColor == null) effectiveActiveThumbColor = _this.get$_defaultThumbColor()._material_state$_resolve.call$1(activeStates); _this._widget.toString; t1 = _this.get$_widgetThumbColor()._material_state$_resolve.call$1(inactiveStates); if (t1 == null) { t1 = theme.switchTheme.thumbColor; t1 = t1 == null ? _null : t1.resolve$1(inactiveStates); effectiveInactiveThumbColor = t1; } else effectiveInactiveThumbColor = t1; if (effectiveInactiveThumbColor == null) effectiveInactiveThumbColor = _this.get$_defaultThumbColor()._material_state$_resolve.call$1(inactiveStates); _this._widget.toString; t1 = _this.get$_widgetTrackColor()._material_state$_resolve.call$1(activeStates); if (t1 == null) { t1 = theme.switchTheme.trackColor; t1 = t1 == null ? _null : t1.resolve$1(activeStates); effectiveActiveTrackColor = t1; } else effectiveActiveTrackColor = t1; if (effectiveActiveTrackColor == null) effectiveActiveTrackColor = _this.get$_defaultTrackColor()._material_state$_resolve.call$1(activeStates); _this._widget.toString; t1 = _this.get$_widgetTrackColor()._material_state$_resolve.call$1(inactiveStates); if (t1 == null) { t1 = theme.switchTheme.trackColor; t1 = t1 == null ? _null : t1.resolve$1(inactiveStates); effectiveInactiveTrackColor = t1; } else effectiveInactiveTrackColor = t1; if (effectiveInactiveTrackColor == null) effectiveInactiveTrackColor = _this.get$_defaultTrackColor()._material_state$_resolve.call$1(inactiveStates); focusedStates = _this.get$states(); focusedStates.add$1(0, B.MaterialState_1); _this._widget.toString; t1 = theme.switchTheme; t2 = t1.overlayColor; t3 = t2 == null ? _null : t2.resolve$1(focusedStates); effectiveFocusOverlayColor = t3; if (effectiveFocusOverlayColor == null) effectiveFocusOverlayColor = theme.focusColor; hoveredStates = _this.get$states(); hoveredStates.add$1(0, B.MaterialState_0); _this._widget.toString; t3 = t2 == null ? _null : t2.resolve$1(hoveredStates); effectiveHoverOverlayColor = t3; if (effectiveHoverOverlayColor == null) effectiveHoverOverlayColor = theme.hoverColor; activeStates.add$1(0, B.MaterialState_2); _this._widget.toString; t3 = t2 == null ? _null : t2.resolve$1(activeStates); effectiveActivePressedOverlayColor = t3; if (effectiveActivePressedOverlayColor == null) effectiveActivePressedOverlayColor = A.Color$fromARGB(31, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) >>> 16 & 255, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) >>> 8 & 255, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) & 255); inactiveStates.add$1(0, B.MaterialState_2); _this._widget.toString; t2 = t2 == null ? _null : t2.resolve$1(inactiveStates); effectiveInactivePressedOverlayColor = t2; if (effectiveInactivePressedOverlayColor == null) effectiveInactivePressedOverlayColor = A.Color$fromARGB(31, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) >>> 16 & 255, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) >>> 8 & 255, effectiveActiveThumbColor.get$value(effectiveActiveThumbColor) & 255); t2 = _this._widget; t3 = t2.value; t4 = t2.dragStartBehavior; t5 = t2.focusNode; t2 = t2.size; t6 = _this._switch$_painter; t6.set$position(0, A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__position, "_position")); t6.set$reaction(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reaction, "_reaction")); t6.set$reactionFocusFade(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade, "_reactionFocusFade")); t6.set$reactionHoverFade(A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade, "_reactionHoverFade")); t6.set$inactiveReactionColor(effectiveInactivePressedOverlayColor); t6.set$reactionColor(effectiveActivePressedOverlayColor); t6.set$hoverColor(effectiveHoverOverlayColor); t6.set$focusColor(effectiveFocusOverlayColor); _this._widget.toString; t1 = t1.splashRadius; t6.set$splashRadius(t1 == null ? 20 : t1); t6.set$downPosition(_this.ToggleableStateMixin__downPosition); t6.set$isFocused(_this.get$states().contains$1(0, B.MaterialState_1)); t6.set$isHovered(_this.get$states().contains$1(0, B.MaterialState_0)); t6.set$activeColor(effectiveActiveThumbColor); t6.set$inactiveColor(effectiveInactiveThumbColor); t6.set$activeThumbImage(_this._widget.activeThumbImage); t6.set$onActiveThumbImageError(_this._widget.onActiveThumbImageError); t6.set$inactiveThumbImage(_this._widget.inactiveThumbImage); t6.set$onInactiveThumbImageError(_this._widget.onInactiveThumbImageError); t6.set$activeTrackColor(effectiveActiveTrackColor); t6.set$inactiveTrackColor(effectiveInactiveTrackColor); t6.set$configuration(A.createLocalImageConfiguration(context, _null)); t6.set$isInteractive(_this.get$onChanged() != null); t6.set$trackInnerLength(_this._widget.size._dx - 40); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t6.set$textDirection(0, t1.textDirection); t6.set$surfaceColor(theme.colorScheme.surface); t4 = A.GestureDetector$(_null, _this.buildToggleable$5$autofocus$focusNode$mouseCursor$painter$size(false, t5, new A._MaterialStatePropertyWith(new A._MaterialSwitchState_build_closure(_this, theme), type$._MaterialStatePropertyWith_MouseCursor), t6, t2), t4, true, _null, _null, _null, _null, _this.get$_switch$_handleDragEnd(), _this.get$_switch$_handleDragStart(), _this.get$_switch$_handleDragUpdate(), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _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, t3, _null), false, false, false, t4, _null); } }; A._MaterialSwitchState__widgetThumbColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.$this._widget.inactiveThumbColor; if (states.contains$1(0, B.MaterialState_4)) return this.$this._widget.activeColor; return this.$this._widget.inactiveThumbColor; }, $signature: 96 }; A._MaterialSwitchState__defaultThumbColor_closure.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { if (this.isDark) { t1 = B.Map_HFpTk.$index(0, 800); t1.toString; } else { t1 = B.Map_HFpTk.$index(0, 400); t1.toString; } return t1; } if (states.contains$1(0, B.MaterialState_4)) return this.theme.toggleableActiveColor; if (this.isDark) { t1 = B.Map_HFpTk.$index(0, 400); t1.toString; } else { t1 = B.Map_HFpTk.$index(0, 50); t1.toString; } return t1; }, $signature: 31 }; A._MaterialSwitchState__widgetTrackColor_closure.prototype = { call$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.$this._widget.inactiveTrackColor; if (states.contains$1(0, B.MaterialState_4)) return this.$this._widget.activeTrackColor; return this.$this._widget.inactiveTrackColor; }, $signature: 96 }; A._MaterialSwitchState__defaultTrackColor_closure.prototype = { call$1(states) { var t1, activeColor; if (states.contains$1(0, B.MaterialState_6)) return this.isDark ? B.Color_452984831 : B.Color_520093696; if (states.contains$1(0, B.MaterialState_4)) { states.add$1(0, B.MaterialState_4); t1 = this.$this; activeColor = t1.get$_widgetThumbColor()._material_state$_resolve.call$1(states); if (activeColor == null) activeColor = t1.get$_defaultThumbColor()._material_state$_resolve.call$1(states); return A.Color$fromARGB(128, activeColor.get$value(activeColor) >>> 16 & 255, activeColor.get$value(activeColor) >>> 8 & 255, activeColor.get$value(activeColor) & 255); } return this.isDark ? B.Color_1308622847 : B.Color_1375731712; }, $signature: 31 }; A._MaterialSwitchState__handleDragEnd_closure.prototype = { call$0() { this.$this._needsPositionAnimation = true; }, $signature: 0 }; A._MaterialSwitchState_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 ? A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, states, type$.MouseCursor) : t1; }, $signature: 263 }; A._SwitchPainter.prototype = { set$activeThumbImage(value) { return; }, set$onActiveThumbImageError(value) { return; }, set$inactiveThumbImage(value) { return; }, set$onInactiveThumbImageError(value) { return; }, set$activeTrackColor(value) { if (value.$eq(0, this._activeTrackColor)) return; this._activeTrackColor = value; this.notifyListeners$0(); }, set$inactiveTrackColor(value) { if (value.$eq(0, this._inactiveTrackColor)) return; this._inactiveTrackColor = value; this.notifyListeners$0(); }, set$configuration(value) { if (value.$eq(0, this._switch$_configuration)) return; this._switch$_configuration = value; this.notifyListeners$0(); }, set$textDirection(_, value) { if (this._switch$_textDirection === value) return; this._switch$_textDirection = value; this.notifyListeners$0(); }, set$surfaceColor(value) { if (value.$eq(0, this._surfaceColor)) return; this._surfaceColor = value; this.notifyListeners$0(); }, set$isInteractive(value) { if (value === this._isInteractive) return; this._isInteractive = value; this.notifyListeners$0(); }, set$trackInnerLength(value) { if (value === this._trackInnerLength) return; this._trackInnerLength = value; this.notifyListeners$0(); }, _handleDecorationChanged$0() { if (!this._isPainting) this.notifyListeners$0(); }, paint$2(canvas, size) { var t2, currentValue, visualPosition, t3, t4, thumbColor, thumbImage, thumbErrorListener, paint, horizontalOffset, verticalOffset, thumbHorizontalOffset, _this = this, t1 = _this._isInteractive; t1.toString; t2 = _this._toggleable$_position; currentValue = t2.get$value(t2); switch (_this._switch$_textDirection.index) { case 0: visualPosition = 1 - currentValue; break; case 1: visualPosition = currentValue; break; default: visualPosition = null; } t2 = _this._inactiveTrackColor; t2.toString; t3 = _this._activeTrackColor; t3.toString; t3 = A.Color_lerp(t2, t3, currentValue); t3.toString; t2 = _this._inactiveColor; t2.toString; t4 = _this._activeColor; t4.toString; t4 = A.Color_lerp(t2, t4, currentValue); t4.toString; t2 = _this._surfaceColor; t2.toString; thumbColor = A.Color_alphaBlend(t4, t2); if (t1) thumbImage = currentValue < 0.5 ? _this._inactiveThumbImage : _this._activeThumbImage; else thumbImage = _this._inactiveThumbImage; if (t1) thumbErrorListener = currentValue < 0.5 ? _this._onInactiveThumbImageError : _this._onActiveThumbImageError; else thumbErrorListener = _this._onInactiveThumbImageError; t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t3); horizontalOffset = (size._dx - 33) / 2; t1 = size._dy; verticalOffset = (t1 - 14) / 2; t2 = _this._trackInnerLength; t2.toString; thumbHorizontalOffset = horizontalOffset - 3 + visualPosition * t2; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(new A.Rect(horizontalOffset, verticalOffset, horizontalOffset + 33, verticalOffset + 14), B.Radius_7_7), paint); _this.paintRadialReaction$2$canvas$origin(canvas, new A.Offset(thumbHorizontalOffset + 10, t1 / 2)); _this._paintThumbWith$6(new A.Offset(thumbHorizontalOffset, verticalOffset - 3), canvas, currentValue, thumbColor, thumbImage, thumbErrorListener); }, _paintThumbWith$6(thumbPaintOffset, canvas, currentValue, thumbColor, thumbImage, thumbErrorListener) { var thumbPainter, inset, radius, t1, _this = this, _null = null; try { _this._isPainting = true; if (_this._cachedThumbPainter != null) if (thumbColor.$eq(0, _this._cachedThumbColor)) t1 = false; else t1 = true; else t1 = true; if (t1) { _this._cachedThumbColor = thumbColor; _this._cachedThumbImage = thumbImage; _this._cachedThumbErrorListener = thumbErrorListener; t1 = _this._cachedThumbPainter; if (t1 != null) t1.dispose$0(0); _this._cachedThumbPainter = new A._BoxDecorationPainter(new A.BoxDecoration(thumbColor, _null, _null, _null, B.Map_2Vato.$index(0, 1), _null, B.BoxShape_1), _this.get$_handleDecorationChanged()); } t1 = _this._cachedThumbPainter; t1.toString; thumbPainter = t1; inset = 1 - Math.abs(currentValue - 0.5) * 2; radius = 10 - inset; t1 = radius * 2; thumbPainter.paint$3(canvas, thumbPaintOffset.$add(0, new A.Offset(0, inset)), _this._switch$_configuration.copyWith$1$size(new A.Size(t1, t1))); } finally { _this._isPainting = false; } }, dispose$0(_) { var _this = this, t1 = _this._cachedThumbPainter; if (t1 != null) t1.dispose$0(0); _this._cachedThumbErrorListener = _this._cachedThumbImage = _this._cachedThumbColor = _this._cachedThumbPainter = null; _this.super$ToggleablePainter$dispose(0); } }; A.__MaterialSwitchState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__MaterialSwitchState_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 ? 0 : 1, _this); _this.ToggleableStateMixin___ToggleableStateMixin__positionController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__position = A.CurvedAnimation$(B.Cubic_JUR, A._lateReadCheck(t1, "_positionController"), B.Cubic_xDo0); t1 = A.AnimationController$(_null, B.Duration_100000, _null, 1, _null, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reaction = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionController"), _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFade = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionHoverFadeController"), _null); t1 = A.AnimationController$(_null, B.Duration_50000, _null, 1, _this.ToggleableStateMixin__hovering || _this.ToggleableStateMixin__focused ? 1 : 0, _this); _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController = t1; _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFade = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_reactionFocusFadeController"), _null); }, dispose$0(_) { var _this = this; A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__positionController, "_positionController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController, "_reactionHoverFadeController").dispose$0(0); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController, "_reactionFocusFadeController").dispose$0(0); _this.super$__MaterialSwitchState_State_TickerProviderStateMixin$dispose(0); } }; A.SwitchThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.thumbColor, _this.trackColor, _this.materialTapTargetSize, _this.mouseCursor, _this.overlayColor, _this.splashRadius, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.SwitchThemeData) if (other.thumbColor == _this.thumbColor) if (other.trackColor == _this.trackColor) t1 = other.overlayColor == _this.overlayColor && other.splashRadius == _this.splashRadius; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A._LerpProperties.prototype = { resolve$1(states) { var resolvedB, _this = this, t1 = _this.a, resolvedA = t1 == null ? null : t1.resolve$1(states); t1 = _this.b; resolvedB = t1 == null ? null : t1.resolve$1(states); return _this.lerpFunction.call$3(resolvedA, resolvedB, _this.t); }, $isMaterialStateProperty: 1 }; A._SwitchThemeData_Object_Diagnosticable.prototype = {}; A.TabBarTheme.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.indicator, _this.indicatorSize, _this.labelColor, _this.labelPadding, _this.labelStyle, _this.unselectedLabelColor, _this.unselectedLabelStyle, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.TabBarTheme) if (J.$eq$(other.indicator, _this.indicator)) t1 = J.$eq$(other.labelColor, _this.labelColor) && J.$eq$(other.labelPadding, _this.labelPadding) && J.$eq$(other.labelStyle, _this.labelStyle) && J.$eq$(other.unselectedLabelColor, _this.unselectedLabelColor) && J.$eq$(other.unselectedLabelStyle, _this.unselectedLabelStyle); else t1 = false; else t1 = false; return t1; } }; A._TabBarTheme_Object_Diagnosticable.prototype = {}; A.TabController.prototype = { get$animation(_) { var t1 = this._tab_controller$_animationController; return t1 == null ? null : t1; }, _changeIndex$3$curve$duration(value, curve, duration) { var t2, _this = this, t1 = _this._tab_controller$_index; if (value === t1 || _this.length < 2) return; _this._previousIndex = t1; _this._tab_controller$_index = value; t1 = _this._indexIsChangingCount + 1; if (duration != null) { _this._indexIsChangingCount = t1; _this.notifyListeners$0(); t1 = _this._tab_controller$_animationController; t1.toString; t2 = _this._tab_controller$_index; curve.toString; t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(t2, curve, duration).whenCompleteOrCancel$1(new A.TabController__changeIndex_closure(_this)); } else { _this._indexIsChangingCount = t1; _this._tab_controller$_animationController.set$value(0, value); --_this._indexIsChangingCount; _this.notifyListeners$0(); } }, _changeIndex$1(value) { return this._changeIndex$3$curve$duration(value, null, null); }, set$offset(_, value) { var t1 = A._lateReadCheck(this._tab_controller$_animationController.__AnimationController__value, "_value"), t2 = this._tab_controller$_index; if (value === t1 - t2) return; this._tab_controller$_animationController.set$value(0, value + t2); }, dispose$0(_) { var t1 = this._tab_controller$_animationController; if (t1 != null) t1.dispose$0(0); this._tab_controller$_animationController = null; this.super$ChangeNotifier$dispose(0); }, get$length(receiver) { return this.length; } }; A.TabController__changeIndex_closure.prototype = { call$0() { var t1 = this.$this; if (t1._tab_controller$_animationController != null) { --t1._indexIsChangingCount; t1.notifyListeners$0(); } }, $signature: 0 }; A._TabControllerScope.prototype = { updateShouldNotify$1(old) { return this.enabled !== old.enabled || this.controller !== old.controller; } }; A.DefaultTabController.prototype = { createState$0() { return new A._DefaultTabControllerState(null, B._StateLifecycle_0); }, get$length(receiver) { return this.length; } }; A._DefaultTabControllerState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = _this._widget; t2 = t1.length; t1 = t1.initialIndex; _this.___DefaultTabControllerState__controller = new A.TabController(A.AnimationController$unbounded(null, t1, _this), t2, t1, t1, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, dispose$0(_) { A._lateReadCheck(this.___DefaultTabControllerState__controller, "_controller").dispose$0(0); this.super$__DefaultTabControllerState_State_SingleTickerProviderStateMixin$dispose(0); }, build$1(_, context) { return new A._TabControllerScope(A._lateReadCheck(this.___DefaultTabControllerState__controller, "_controller"), A.TickerMode_of(context), this._widget.child, null); }, didUpdateWidget$1(oldWidget) { var previousIndex, t1, t2, newIndex, t3, _this = this, _s11_ = "_controller"; _this.super$State$didUpdateWidget(oldWidget); if (oldWidget.length !== _this._widget.length) { previousIndex = A._lateReadCheck(_this.___DefaultTabControllerState__controller, _s11_)._previousIndex; t1 = A._lateReadCheck(_this.___DefaultTabControllerState__controller, _s11_)._tab_controller$_index; t2 = _this._widget.length; if (t1 >= t2) { newIndex = Math.max(0, t2 - 1); previousIndex = A._lateReadCheck(_this.___DefaultTabControllerState__controller, _s11_)._tab_controller$_index; } else newIndex = null; t1 = A._lateReadCheck(_this.___DefaultTabControllerState__controller, _s11_); t2 = _this._widget.length; t3 = newIndex == null; if (!t3) t1._tab_controller$_animationController.set$value(0, newIndex); t3 = t3 ? t1._tab_controller$_index : newIndex; t1 = t1._tab_controller$_animationController; _this.___DefaultTabControllerState__controller = new A.TabController(t1, t2, t3, previousIndex, A.List_List$filled(0, null, false, type$.nullable_void_Function)); } } }; A.__DefaultTabControllerState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.UnderlineTabIndicator.prototype = { lerpFrom$2(a, t) { var t1, t2; if (a instanceof A.UnderlineTabIndicator) { t1 = A.BorderSide_lerp(a.borderSide, this.borderSide, t); t2 = A.EdgeInsetsGeometry_lerp(a.insets, this.insets, t); t2.toString; return new A.UnderlineTabIndicator(t1, t2); } return this.super$Decoration$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2; if (b instanceof A.UnderlineTabIndicator) { t1 = A.BorderSide_lerp(this.borderSide, b.borderSide, t); t2 = A.EdgeInsetsGeometry_lerp(this.insets, b.insets, t); t2.toString; return new A.UnderlineTabIndicator(t1, t2); } return this.super$Decoration$lerpTo(b, t); }, createBoxPainter$1(onChanged) { return new A._UnderlinePainter(this, onChanged); }, _indicatorRectFor$2(rect, textDirection) { var indicator = this.insets.resolve$1(textDirection).deflateRect$1(rect), t1 = indicator.left, t2 = this.borderSide.width, t3 = indicator.bottom - t2; return new A.Rect(t1, t3, t1 + (indicator.right - t1), t3 + t2); }, getClipPath$2(rect, textDirection) { var t1 = A.Path_Path(); t1.addRect$1(0, this._indicatorRectFor$2(rect, textDirection)); return t1; } }; A._UnderlinePainter.prototype = { paint$3(canvas, offset, configuration) { var t5, t6, t7, indicator, paint, t1 = configuration.size, t2 = offset._dx, t3 = offset._dy, t4 = t1._dx; t1 = t1._dy; t5 = configuration.textDirection; t5.toString; t6 = this.decoration; t7 = t6.borderSide; indicator = t6._indicatorRectFor$2(new A.Rect(t2, t3, t2 + t4, t3 + t1), t5).inflate$1(-(t7.width / 2)); paint = t7.toPaint$0(); paint.set$strokeCap(B.StrokeCap_2); t7 = indicator.bottom; canvas.drawLine$3(0, new A.Offset(indicator.left, t7), new A.Offset(indicator.right, t7), paint); } }; A.Tab.prototype = { _buildLabelText$0() { return this.child; }, build$1(_, context) { var label = this._buildLabelText$0(); return new A.SizedBox(null, 46, A.Center$(label, null, 1), null); }, get$preferredSize() { return B.Size_8aB; }, get$text() { return null; } }; A._TabStyle.prototype = { build$1(_, context) { var defaultUnselectedStyle, t2, textStyle, selectedColor, unselectedColor, color, _this = this, _null = null, themeData = A.Theme_of(context), tabBarTheme = A.Theme_of(context).tabBarTheme, animation = type$.Animation_double._as(_this.listenable), t1 = _this.labelStyle, defaultStyle = t1.copyWith$1$inherit(true); t1 = _this.unselectedLabelStyle; defaultUnselectedStyle = t1.copyWith$1$inherit(true); t1 = _this.selected; if (t1) { t2 = A.TextStyle_lerp(defaultStyle, defaultUnselectedStyle, animation.get$value(animation)); t2.toString; textStyle = t2; } else { t2 = A.TextStyle_lerp(defaultUnselectedStyle, defaultStyle, animation.get$value(animation)); t2.toString; textStyle = t2; } t2 = _this.labelColor; selectedColor = t2 == null ? tabBarTheme.labelColor : t2; if (selectedColor == null) { t2 = themeData.primaryTextTheme.bodyText1.color; t2.toString; selectedColor = t2; } t2 = _this.unselectedLabelColor; unselectedColor = t2 == null ? tabBarTheme.unselectedLabelColor : t2; if (unselectedColor == null) unselectedColor = A.Color$fromARGB(178, selectedColor.get$value(selectedColor) >>> 16 & 255, selectedColor.get$value(selectedColor) >>> 8 & 255, selectedColor.get$value(selectedColor) & 255); if (t1) { t1 = A.Color_lerp(selectedColor, unselectedColor, animation.get$value(animation)); t1.toString; color = t1; } else { t1 = A.Color_lerp(unselectedColor, selectedColor, animation.get$value(animation)); t1.toString; color = t1; } t1 = textStyle.copyWith$1$color(color); return A.DefaultTextStyle$(A.IconTheme_merge(_this.child, new A.IconThemeData(color, _null, 24)), _null, _null, B.TextOverflow_0, true, t1, _null, _null, B.TextWidthBasis_0); } }; A._TabLabelBarRenderer.prototype = { performLayout$0() { var child, xOffsets, t1, t2, _this = this; _this.super$RenderFlex$performLayout(); child = _this.ContainerRenderObjectMixin__firstChild; xOffsets = A._setArrayType([], type$.JSArray_double); for (t1 = type$.FlexParentData; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); xOffsets.push(t2.offset._dx); child = t2.ContainerParentDataMixin_nextSibling; } switch (_this._flex$_textDirection.index) { case 0: B.JSArray_methods.insert$2(xOffsets, 0, _this._size._dx); break; case 1: xOffsets.push(_this._size._dx); break; } t1 = _this._flex$_textDirection; t1.toString; t2 = _this._size._dx; _this.onPerformLayout.call$3(xOffsets, t1, t2); } }; A._TabLabelBar.prototype = { createRenderObject$1(context) { var _this = this, _null = null, t1 = _this.getEffectiveTextDirection$1(context); t1.toString; t1 = new A._TabLabelBarRenderer(_this.onPerformLayout, _this.direction, _this.mainAxisAlignment, _this.mainAxisSize, _this.crossAxisAlignment, t1, _this.verticalDirection, _null, B.Clip_0, A.LayerHandle$(type$.ClipRectLayer), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, _null); return t1; }, updateRenderObject$2(context, renderObject) { this.super$Flex$updateRenderObject(context, renderObject); renderObject.onPerformLayout = this.onPerformLayout; } }; A._IndicatorPainter.prototype = { markNeedsPaint$0() { this._tabs$_needsPaint = true; }, indicatorRect$2(tabBarSize, tabIndex) { var t1, tabLeft, tabRight, insets, t2, rect, t3, t4, t5, _this = this; switch (_this._currentTextDirection.index) { case 0: t1 = _this._currentTabOffsets; tabLeft = t1[tabIndex + 1]; tabRight = t1[tabIndex]; break; case 1: t1 = _this._currentTabOffsets; tabLeft = t1[tabIndex]; tabRight = t1[tabIndex + 1]; break; default: tabLeft = null; tabRight = null; } insets = _this.indicatorPadding; t1 = tabLeft + (tabRight - tabLeft); t2 = 0 + tabBarSize._dy; rect = new A.Rect(tabLeft, 0, t1, t2); t3 = insets.get$horizontal(); t4 = insets.get$_top(insets); t5 = insets.get$_bottom(insets); if (!(t1 - tabLeft >= t3 && t2 - 0 >= t4 + t5)) throw A.wrapException(A.FlutterError_FlutterError("indicatorPadding insets should be less than Tab Size\nRect Size : " + rect.get$size(rect).toString$0(0) + ", Insets: " + insets.toString$0(0))); return insets.deflateRect$1(rect); }, paint$2(canvas, size) { var t1, index, ltr, t2, from, to, t3, t4, t5, _this = this, _null = null; _this._tabs$_needsPaint = false; if (_this._tabs$_painter == null) _this._tabs$_painter = _this.indicator.createBoxPainter$1(_this.get$markNeedsPaint()); t1 = _this.controller; index = t1._tab_controller$_index; t1 = A._lateReadCheck(t1.get$animation(t1).__AnimationController__value, "_value"); ltr = index > t1; t2 = ltr ? B.JSNumber_methods.floor$0(t1) : B.JSNumber_methods.ceil$0(t1); from = B.JSInt_methods.clamp$2(t2, 0, _this._currentTabOffsets.length - 2); t2 = ltr ? from + 1 : from - 1; to = B.JSNumber_methods.clamp$2(t2, 0, _this._currentTabOffsets.length - 2); t1 = _this._currentRect = A.Rect_lerp(_this.indicatorRect$2(size, from), _this.indicatorRect$2(size, to), Math.abs(t1 - from)); t2 = t1.right; t3 = t1.left; t4 = t1.bottom; t1 = t1.top; t5 = _this._currentTextDirection; _this._tabs$_painter.paint$3(canvas, new A.Offset(t3, t1), new A.ImageConfiguration(_null, _null, _null, t5, new A.Size(t2 - t3, t4 - t1), _null)); }, shouldRepaint$1(old) { var _this = this; return _this._tabs$_needsPaint || _this.controller !== old.controller || !_this.indicator.$eq(0, old.indicator) || _this.tabKeys.length !== old.tabKeys.length || !A.listEquals0(_this._currentTabOffsets, old._currentTabOffsets) || _this._currentTextDirection != old._currentTextDirection; } }; A._ChangeAnimation.prototype = { get$parent(_) { var t1 = this.controller; t1 = t1.get$animation(t1); t1.toString; return t1; }, removeStatusListener$1(listener) { var t1 = this.controller; if (t1.get$animation(t1) != null) this.super$AnimationWithParentMixin$removeStatusListener(listener); }, removeListener$1(_, listener) { var t1 = this.controller; if (t1.get$animation(t1) != null) this.super$AnimationWithParentMixin$removeListener(0, listener); }, get$value(_) { return A._indexChangeProgress(this.controller); } }; A._DragAnimation.prototype = { get$parent(_) { var t1 = this.controller; t1 = t1.get$animation(t1); t1.toString; return t1; }, removeStatusListener$1(listener) { var t1 = this.controller; if (t1.get$animation(t1) != null) this.super$AnimationWithParentMixin$removeStatusListener(listener); }, removeListener$1(_, listener) { var t1 = this.controller; if (t1.get$animation(t1) != null) this.super$AnimationWithParentMixin$removeListener(0, listener); }, get$value(_) { var t1 = this.controller; return B.JSNumber_methods.clamp$2(Math.abs(B.JSNumber_methods.clamp$2(A._lateReadCheck(t1.get$animation(t1).__AnimationController__value, "_value"), 0, t1.length - 1) - this.index), 0, 1); } }; A.TabBar.prototype = { get$tabHasTextAndIcon() { var t1, _i, item; for (t1 = this.tabs, _i = 0; _i < 4; ++_i) { item = t1[_i]; if (item.get$preferredSize()._dy === 72) return true; } return false; }, createState$0() { return new A._TabBarState(B._StateLifecycle_0); } }; A._TabBarState.prototype = { initState$0() { var t1, t2; this.super$State$initState(); t1 = this._widget.tabs; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,GlobalKey<State<StatefulWidget>>>"); this.___TabBarState__tabKeys = A.List_List$of(new A.MappedListIterable(t1, new A._TabBarState_initState_closure(), t2), true, t2._eval$1("ListIterable.E")); }, get$_indicator() { var t1, color, t2, _this = this; _this._widget.toString; t1 = _this._framework$_element; t1.toString; t1 = A.Theme_of(t1).tabBarTheme.indicator; if (t1 != null) return t1; color = _this._widget.indicatorColor; if (color == null) { t1 = _this._framework$_element; t1.toString; color = A.Theme_of(t1).indicatorColor; } _this._widget.toString; t1 = color.get$value(color); t2 = _this._framework$_element; t2 = t2.findAncestorRenderObjectOfType$1$0(type$._RenderInkFeatures); if (t2 == null) t2 = null; else { t2 = t2.color; t2 = t2 == null ? null : t2.get$value(t2); } t2 = t1 === t2; t1 = t2; if (t1) color = B.Color_4294967295; _this._widget.toString; return new A.UnderlineTabIndicator(new A.BorderSide(color, 2, B.BorderStyle_1), B.EdgeInsets_0_0_0_0); }, get$_controllerIsValid() { var t1 = this._tabs$_controller; return (t1 == null ? null : t1.get$animation(t1)) != null; }, _updateTabController$0() { var t1, newController, _this = this; _this._widget.toString; t1 = _this._framework$_element; t1.toString; newController = A.DefaultTabController_of(t1); if (newController == _this._tabs$_controller) return; if (_this.get$_controllerIsValid()) { t1 = _this._tabs$_controller; t1.get$animation(t1).removeListener$1(0, _this.get$_handleTabControllerAnimationTick()); _this._tabs$_controller.removeListener$1(0, _this.get$_handleTabControllerTick()); } _this._tabs$_controller = newController; if (newController != null) { t1 = newController.get$animation(newController); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_handleTabControllerAnimationTick()); _this._tabs$_controller.addListener$1(0, _this.get$_handleTabControllerTick()); _this._currentIndex = _this._tabs$_controller._tab_controller$_index; } }, _initIndicatorPainter$0() { var t1, t2, t3, t4, t5, _this = this; if (!_this.get$_controllerIsValid()) t1 = null; else { t1 = _this._tabs$_controller; t1.toString; t2 = _this.get$_indicator(); _this._widget.toString; t3 = _this._framework$_element; t3.toString; t3 = A.Theme_of(t3).tabBarTheme.indicatorSize; _this._widget.toString; t4 = A._lateReadCheck(_this.___TabBarState__tabKeys, "_tabKeys"); t5 = _this._indicatorPainter; t1 = new A._IndicatorPainter(t1, t2, t3, B.EdgeInsets_0_0_0_0, t4, t1.get$animation(t1)); if (t5 != null) { t2 = t5._currentTabOffsets; t5 = t5._currentTextDirection; t1._currentTabOffsets = t2; t1._currentTextDirection = t5; } } _this._indicatorPainter = t1; }, didChangeDependencies$0() { this.super$State$didChangeDependencies(); this._updateTabController$0(); this._initIndicatorPainter$0(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; if (J.$eq$(t1.indicatorColor, oldWidget.indicatorColor)) { _this._widget.toString; t1 = false; } else t1 = true; if (t1) _this._initIndicatorPainter$0(); _this._widget.toString; }, dispose$0(_) { var _this = this, t1 = _this._indicatorPainter._tabs$_painter; if (t1 != null) t1.dispose$0(0); if (_this.get$_controllerIsValid()) { t1 = _this._tabs$_controller; t1.get$animation(t1).removeListener$1(0, _this.get$_handleTabControllerAnimationTick()); _this._tabs$_controller.removeListener$1(0, _this.get$_handleTabControllerTick()); } _this._tabs$_controller = null; _this.super$State$dispose(0); }, _handleTabControllerAnimationTick$0() { if (this._tabs$_controller._indexIsChangingCount === 0) this._widget.toString; }, _handleTabControllerTick$0() { var _this = this, t1 = _this._tabs$_controller._tab_controller$_index; if (t1 !== _this._currentIndex) { _this._currentIndex = t1; _this._widget.toString; } _this.setState$1(new A._TabBarState__handleTabControllerTick_closure()); }, _saveTabOffsets$3(tabOffsets, textDirection, width) { var t1; this.___TabBarState__tabStripWidth = width; t1 = this._indicatorPainter; if (t1 != null) { t1._currentTabOffsets = tabOffsets; t1._currentTextDirection = textDirection; } }, _buildStyledTab$3(child, selected, animation) { var t1 = this._widget, t2 = t1.labelColor, t3 = t1.unselectedLabelColor; return A._TabStyle$(animation, child, t2, t1.labelStyle, selected, t3, t1.unselectedLabelStyle); }, build$1(_, context) { var t1, wrappedTabs, previousIndex, t2, t3, animation, tabIndex, index, index0, t4, tabBar, _this = this, _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; if (_this._tabs$_controller.length === 0) { _this._widget.toString; return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 48, _null, _null, _null, _null, _null, _null); } t1 = A.Theme_of(context); _this._widget.toString; wrappedTabs = A.List_List$generate(4, new A._TabBarState_build_closure(_this, t1.tabBarTheme), true, type$.Widget); t1 = _this._tabs$_controller; if (t1 != null) { previousIndex = t1._previousIndex; t2 = t1._indexIsChangingCount; t3 = _this._currentIndex; if (t2 !== 0) { animation = new A._ChangeAnimation(t1); t3.toString; wrappedTabs[t3] = _this._buildStyledTab$3(wrappedTabs[t3], true, animation); wrappedTabs[previousIndex] = _this._buildStyledTab$3(wrappedTabs[previousIndex], false, animation); } else { t3.toString; wrappedTabs[t3] = _this._buildStyledTab$3(wrappedTabs[t3], true, new A._DragAnimation(t1, t3)); t1 = _this._currentIndex; t1.toString; if (t1 > 0) { tabIndex = t1 - 1; t1 = _this._tabs$_controller; t1.toString; t2 = A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus); wrappedTabs[tabIndex] = _this._buildStyledTab$3(wrappedTabs[tabIndex], false, new A.ReverseAnimation(new A._DragAnimation(t1, tabIndex), new A.ObserverList(t2, type$.ObserverList_of_void_Function_AnimationStatus), 0)); } t1 = _this._currentIndex; t1.toString; _this._widget.toString; if (t1 < 3) { tabIndex = t1 + 1; t1 = _this._tabs$_controller; t1.toString; t2 = A._setArrayType([], type$.JSArray_of_void_Function_AnimationStatus); wrappedTabs[tabIndex] = _this._buildStyledTab$3(wrappedTabs[tabIndex], false, new A.ReverseAnimation(new A._DragAnimation(t1, tabIndex), new A.ObserverList(t2, type$.ObserverList_of_void_Function_AnimationStatus), 0)); } } } t1 = _this._widget; t1.toString; for (t2 = type$.JSArray_Widget, index = 0; index < 4; t1 = t3, index = index0) { t1 = wrappedTabs[index]; t3 = _this._currentIndex; index0 = index + 1; t4 = "Tab " + index0 + " of 4"; t1 = A.InkWell$(false, _null, true, new A.Padding(new A.EdgeInsets(0, 0, 0, 2), new A.Stack(B.AlignmentDirectional_m1_m1, _null, B.StackFit_0, A._setArrayType([t1, new A.Semantics(new A.SemanticsProperties(_null, _null, _null, index === t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null, _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, _null, _null)], t2), _null), _null), _null, true, _null, _null, _null, _null, _null, B.SystemMouseCursor_click, _null, _null, _null, _null, _null, new A._TabBarState_build_closure0(_this, index), _null, _null, _null, _null, _null, _null); wrappedTabs[index] = t1; t3 = _this._widget; t3.toString; wrappedTabs[index] = new A.Expanded(1, B.FlexFit_0, t1, _null); } t2 = _this._indicatorPainter; tabBar = A.CustomPaint$(A._TabStyle$(B.C__AlwaysDismissedAnimation, new A._TabLabelBar(_this.get$_saveTabOffsets(), B.Axis_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.CrossAxisAlignment_2, _null, B.VerticalDirection_1, _null, wrappedTabs, _null), t1.labelColor, t1.labelStyle, false, t1.unselectedLabelColor, t1.unselectedLabelStyle), _null, _null, t2, B.Size_0_0); return tabBar; } }; A._TabBarState_initState_closure.prototype = { call$1(tab) { return new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget); }, $signature: 526 }; A._TabBarState__handleTabControllerTick_closure.prototype = { call$0() { }, $signature: 0 }; A._TabBarState_build_closure.prototype = { call$1(index) { var adjustedPadding, t3, _null = null, t1 = this.$this, t2 = t1._widget, tab = t2.tabs[index]; if (t2.get$tabHasTextAndIcon() && tab.get$preferredSize()._dy === 46) { t1._widget.toString; t2 = this.tabBarTheme.labelPadding; if (t2 != null) adjustedPadding = t2.add$1(0, B.EdgeInsets_0_13_0_13); else adjustedPadding = B.EdgeInsets_16_13_16_13; } else adjustedPadding = _null; if (adjustedPadding == null) { t1._widget.toString; t2 = _null; } else t2 = adjustedPadding; if (t2 == null) t2 = this.tabBarTheme.labelPadding; if (t2 == null) t2 = B.EdgeInsets_16_0_16_0; t3 = J.$index$asx(A._lateReadCheck(t1.___TabBarState__tabKeys, "_tabKeys"), index); return A.Center$(new A.Padding(t2, new A.KeyedSubtree(t1._widget.tabs[index], t3), _null), 1, _null); }, $signature: 527 }; A._TabBarState_build_closure0.prototype = { call$0() { var t1 = this.$this; t1._tabs$_controller._changeIndex$3$curve$duration(this.index, B.Cubic_JUR0, B.Duration_300000); t1._widget.toString; }, $signature: 0 }; A.TabBarView.prototype = { createState$0() { return new A._TabBarViewState(B._StateLifecycle_0); } }; A._TabBarViewState.prototype = { get$_controllerIsValid() { var t1 = this._tabs$_controller; return (t1 == null ? null : t1.get$animation(t1)) != null; }, _updateTabController$0() { var t1, newController, _this = this; _this._widget.toString; t1 = _this._framework$_element; t1.toString; newController = A.DefaultTabController_of(t1); if (newController == _this._tabs$_controller) return; if (_this.get$_controllerIsValid()) { t1 = _this._tabs$_controller; t1.get$animation(t1).removeListener$1(0, _this.get$_handleTabControllerAnimationTick()); } _this._tabs$_controller = newController; if (newController != null) { t1 = newController.get$animation(newController); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_handleTabControllerAnimationTick()); } }, initState$0() { this.super$State$initState(); this._updateChildren$0(); }, didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); _this._updateTabController$0(); t1 = _this._tabs$_controller; t1 = t1 == null ? null : t1._tab_controller$_index; _this._currentIndex = t1; _this.___TabBarViewState__pageController = A.PageController$(t1 == null ? 0 : t1, 1); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; if (t1.children !== oldWidget.children && _this._warpUnderwayCount === 0) _this._updateChildren$0(); }, dispose$0(_) { var t1, _this = this; if (_this.get$_controllerIsValid()) { t1 = _this._tabs$_controller; t1.get$animation(t1).removeListener$1(0, _this.get$_handleTabControllerAnimationTick()); } _this._tabs$_controller = null; _this.super$State$dispose(0); }, _updateChildren$0() { var t1 = this._widget.children; this.___TabBarViewState__children = t1; this.___TabBarViewState__childrenWithKey = A.KeyedSubtree_ensureUniqueKeysForList(t1); }, _handleTabControllerAnimationTick$0() { var t1, _this = this; if (_this._warpUnderwayCount > 0 || _this._tabs$_controller._indexIsChangingCount === 0) return; t1 = _this._tabs$_controller._tab_controller$_index; if (t1 !== _this._currentIndex) { _this._currentIndex = t1; _this._warpToCurrentIndex$0(); } }, _warpToCurrentIndex$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, position, t1, t2, previousIndex, initialPage, t3; var $async$_warpToCurrentIndex$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 if ($async$self._framework$_element == null) { $async$returnValue = A.Future_Future$value(null, type$.void); // goto return $async$goto = 1; break; } position = type$._PagePosition._as(B.JSArray_methods.get$single(A._lateReadCheck($async$self.___TabBarViewState__pageController, "_pageController")._positions)); t1 = position.get$page(position); t2 = $async$self._currentIndex; t2.toString; if (t1 === t2) { $async$returnValue = A.Future_Future$value(null, type$.void); // goto return $async$goto = 1; break; } previousIndex = $async$self._tabs$_controller._previousIndex; $async$goto = Math.abs(t2 - previousIndex) === 1 ? 3 : 4; break; case 3: // then ++$async$self._warpUnderwayCount; t1 = A._lateReadCheck($async$self.___TabBarViewState__pageController, "_pageController"); t2 = $async$self._currentIndex; t2.toString; $async$goto = 5; return A._asyncAwait(t1.animateToPage$3$curve$duration(t2, B.Cubic_JUR0, B.Duration_300000), $async$_warpToCurrentIndex$0); case 5: // returning from await. --$async$self._warpUnderwayCount; $async$returnValue = A.Future_Future$value(null, type$.void); // goto return $async$goto = 1; break; case 4: // join initialPage = t2 > previousIndex ? t2 - 1 : t2 + 1; t1 = A._lateReadCheck($async$self.___TabBarViewState__childrenWithKey, "_childrenWithKey"); $async$self.setState$1(new A._TabBarViewState__warpToCurrentIndex_closure($async$self, initialPage, previousIndex)); A._lateReadCheck($async$self.___TabBarViewState__pageController, "_pageController").jumpToPage$1(initialPage); t2 = A._lateReadCheck($async$self.___TabBarViewState__pageController, "_pageController"); t3 = $async$self._currentIndex; t3.toString; $async$goto = 6; return A._asyncAwait(t2.animateToPage$3$curve$duration(t3, B.Cubic_JUR0, B.Duration_300000), $async$_warpToCurrentIndex$0); case 6: // returning from await. if ($async$self._framework$_element == null) { $async$returnValue = A.Future_Future$value(null, type$.void); // goto return $async$goto = 1; break; } $async$self.setState$1(new A._TabBarViewState__warpToCurrentIndex_closure0($async$self, t1)); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_warpToCurrentIndex$0, $async$completer); }, _tabs$_handleScrollNotification$1(notification) { var position, t2, t3, _this = this, _s15_ = "_pageController", t1 = _this._warpUnderwayCount; if (t1 > 0) return false; if (notification.ViewportNotificationMixin__depth !== 0) return false; _this._warpUnderwayCount = t1 + 1; if (notification instanceof A.ScrollUpdateNotification && _this._tabs$_controller._indexIsChangingCount === 0) { t1 = type$._PagePosition; position = t1._as(B.JSArray_methods.get$single(A._lateReadCheck(_this.___TabBarViewState__pageController, _s15_)._positions)); t2 = position.get$page(position); t2.toString; t3 = _this._tabs$_controller; if (Math.abs(t2 - t3._tab_controller$_index) > 1) { position = t1._as(B.JSArray_methods.get$single(A._lateReadCheck(_this.___TabBarViewState__pageController, _s15_)._positions)); t2 = position.get$page(position); t2.toString; t3._changeIndex$1(B.JSNumber_methods.round$0(t2)); t2 = _this._tabs$_controller; _this._currentIndex = t2._tab_controller$_index; } else t2 = t3; position = t1._as(B.JSArray_methods.get$single(A._lateReadCheck(_this.___TabBarViewState__pageController, _s15_)._positions)); t1 = position.get$page(position); t1.toString; t2.set$offset(0, B.JSNumber_methods.clamp$2(t1 - _this._tabs$_controller._tab_controller$_index, -1, 1)); } else if (notification instanceof A.ScrollEndNotification) { t1 = _this._tabs$_controller; t1.toString; t2 = type$._PagePosition; position = t2._as(B.JSArray_methods.get$single(A._lateReadCheck(_this.___TabBarViewState__pageController, _s15_)._positions)); t3 = position.get$page(position); t3.toString; t1._changeIndex$1(B.JSNumber_methods.round$0(t3)); t3 = _this._tabs$_controller; _this._currentIndex = t3._tab_controller$_index; if (t3._indexIsChangingCount === 0) { position = t2._as(B.JSArray_methods.get$single(A._lateReadCheck(_this.___TabBarViewState__pageController, _s15_)._positions)); t1 = position.get$page(position); t1.toString; t3.set$offset(0, B.JSNumber_methods.clamp$2(t1 - _this._tabs$_controller._tab_controller$_index, -1, 1)); } } --_this._warpUnderwayCount; return false; }, build$1(_, context) { var t1, t2, t3, _this = this; _this._widget.toString; t1 = A._lateReadCheck(_this.___TabBarViewState__pageController, "_pageController"); _this._widget.toString; t2 = B.PageScrollPhysics_null.buildParent$1(B.ClampingScrollPhysics_null); t3 = A._lateReadCheck(_this.___TabBarViewState__childrenWithKey, "_childrenWithKey"); return new A.NotificationListener(new A.PageView(false, B.Axis_0, false, t1, new A.PageScrollPhysics(t2), null, A.SliverChildListDelegate$(t3, true, true, true), B.DragStartBehavior_1, null), _this.get$_tabs$_handleScrollNotification(), null, type$.NotificationListener_ScrollNotification); } }; A._TabBarViewState__warpToCurrentIndex_closure.prototype = { call$0() { var t2, t3, temp, _s16_ = "_childrenWithKey", t1 = this.$this; ++t1._warpUnderwayCount; t2 = A.List_List$from(A._lateReadCheck(t1.___TabBarViewState__childrenWithKey, _s16_), false, type$.Widget); t1.___TabBarViewState__childrenWithKey = t2; t3 = this.initialPage; temp = J.$index$asx(A._lateReadCheck(t2, _s16_), t3); t2 = this.previousIndex; J.$indexSet$ax(A._lateReadCheck(t1.___TabBarViewState__childrenWithKey, _s16_), t3, J.$index$asx(A._lateReadCheck(t1.___TabBarViewState__childrenWithKey, _s16_), t2)); J.$indexSet$ax(A._lateReadCheck(t1.___TabBarViewState__childrenWithKey, _s16_), t2, temp); }, $signature: 0 }; A._TabBarViewState__warpToCurrentIndex_closure0.prototype = { call$0() { var t1 = this.$this; --t1._warpUnderwayCount; if (t1._widget.children !== A._lateReadCheck(t1.___TabBarViewState__children, "_children")) t1._updateChildren$0(); else t1.___TabBarViewState__childrenWithKey = this.originalChildren; }, $signature: 0 }; A.__ChangeAnimation_Animation_AnimationWithParentMixin.prototype = {}; A.__DragAnimation_Animation_AnimationWithParentMixin.prototype = {}; A.TextButton.prototype = { defaultStyleOf$1(context) { var theme = A.Theme_of(context), colorScheme = theme.colorScheme, t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; return A.TextButton_styleFrom(B.Alignment_0_0, B.Duration_200000, B.Color_0, B.SystemMouseCursor_forbidden, 0, true, B.SystemMouseCursor_click, B.Size_wjo, B.Size_64_36, colorScheme.onSurface, A.ButtonStyleButton_scaledPadding(B.EdgeInsets_8_8_8_8, B.EdgeInsets_8_0_8_0, B.EdgeInsets_4_0_4_0, t1 == null ? 1 : t1), colorScheme.primary, theme.shadowColor, B.RoundedRectangleBorder_LkV1, B.C__InkRippleFactory, theme.materialTapTargetSize, theme.textTheme.button, theme.visualDensity); }, themeStyleOf$1(context) { var buttonTheme = context.dependOnInheritedWidgetOfExactType$1$0(type$.TextButtonTheme), t1 = buttonTheme == null ? null : buttonTheme.data; return (t1 == null ? A.Theme_of(context).textButtonTheme : t1).style; } }; A._TextButtonDefaultForeground.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_6)) { t1 = this.onSurface; return t1 == null ? null : A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return this.primary; }, toString$0(_) { var t1 = this.onSurface; return "{disabled: " + A.S(t1 == null ? null : A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255)) + ", otherwise: " + this.primary.toString$0(0) + "}"; } }; A._TextButtonDefaultOverlay.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_0)) { t1 = this.primary; return A.Color$fromARGB(10, 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) || states.contains$1(0, B.MaterialState_2)) { t1 = this.primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return null; }, toString$0(_) { var t1 = this.primary; return "{hovered: " + A.Color$fromARGB(10, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255).toString$0(0) + ", focused,pressed: " + A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255).toString$0(0) + ", otherwise: null}"; } }; A._TextButtonDefaultMouseCursor.prototype = { resolve$1(states) { if (states.contains$1(0, B.MaterialState_6)) return this.disabledCursor; return this.enabledCursor; } }; A._TextButtonWithIcon.prototype = { defaultStyleOf$1(context) { var scaledPadding, t1 = A.MediaQuery_maybeOf(context); t1 = t1 == null ? null : t1.textScaleFactor; scaledPadding = A.ButtonStyleButton_scaledPadding(B.EdgeInsets_8_8_8_8, B.EdgeInsets_4_0_4_0, B.EdgeInsets_4_0_4_0, t1 == null ? 1 : t1); return this.super$TextButton$defaultStyleOf(context).copyWith$1$padding(new A._MaterialStatePropertyAll(scaledPadding, type$._MaterialStatePropertyAll_EdgeInsetsGeometry)); } }; A._TextButtonWithIconChild.prototype = { build$1(_, context) { var gap, _null = null, t1 = A.MediaQuery_maybeOf(context), scale = t1 == null ? _null : t1.textScaleFactor; if (scale == null) scale = 1; if (scale <= 1) gap = 8; else { t1 = A.lerpDouble(8, 4, Math.min(scale - 1, 1)); t1.toString; gap = t1; } return A.Row$(A._setArrayType([this.icon, new A.SizedBox(gap, _null, _null, _null), new A.Flexible(1, B.FlexFit_1, this.label, _null)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); } }; A.__TextButtonDefaultMouseCursor_MaterialStateProperty_Diagnosticable.prototype = {}; A.TextButtonThemeData.prototype = { get$hashCode(_) { return J.get$hashCode$(this.style); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.TextButtonThemeData && J.$eq$(other.style, this.style); } }; A._TextButtonThemeData_Object_Diagnosticable.prototype = {}; A._TextFieldSelectionGestureDetectorBuilder.prototype = { onForcePressStart$1(details) { var t1; this.super$TextSelectionGestureDetectorBuilder$onForcePressStart(details); t1 = this.delegate; if (t1.get$selectionEnabled() && this._shouldShowSelectionToolbar) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } }, onForcePressEnd$1(details) { }, onSingleLongTapMoveUpdate$1(details) { var t2, t1 = this.delegate; if (t1.get$selectionEnabled()) { t2 = this._text_field$_state._framework$_element; t2.toString; switch (A.Theme_of(t2).platform.index) { case 2: case 4: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectPositionAt$2$cause$from(B.SelectionChangedCause_2, details.globalPosition); break; case 0: case 1: case 3: case 5: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; t2 = details.globalPosition; type$.RenderEditable._as(t1).selectWordsInRange$3$cause$from$to(B.SelectionChangedCause_2, t2.$sub(0, details.offsetFromOrigin), t2); break; } } }, onSingleTapUp$1(details) { var t1 = this.delegate, t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2.hideToolbar$0(); if (t1.get$selectionEnabled()) { t2 = this._text_field$_state._framework$_element; t2.toString; switch (A.Theme_of(t2).platform.index) { case 2: case 4: switch (details.kind.index) { case 1: case 2: case 3: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = t1._lastTapDownPosition; t2.toString; t1.selectPositionAt$2$cause$from(B.SelectionChangedCause_0, t2); break; case 0: case 4: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectWordEdge$1$cause(B.SelectionChangedCause_0); break; } break; case 0: case 1: case 3: case 5: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = t1._lastTapDownPosition; t2.toString; t1.selectPositionAt$2$cause$from(B.SelectionChangedCause_0, t2); break; } } t1 = this._text_field$_state; t1._requestKeyboard$0(); t1._widget.toString; }, onSingleLongTapStart$1(details) { var t2, t3, t1 = this.delegate; if (t1.get$selectionEnabled()) { t2 = this._text_field$_state; t3 = t2._framework$_element; t3.toString; switch (A.Theme_of(t3).platform.index) { case 2: case 4: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectPositionAt$2$cause$from(B.SelectionChangedCause_2, details.globalPosition); break; case 0: case 1: case 3: case 5: t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t3 = t1._lastTapDownPosition; t3.toString; t1.selectWordsInRange$2$cause$from(B.SelectionChangedCause_2, t3); t2 = t2._framework$_element; t2.toString; A.Feedback_forLongPress(t2); break; } } } }; A.TextField.prototype = { createState$0() { var _null = null; return new A._TextFieldState(new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_EditableTextState), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0); } }; A._TextFieldState.prototype = { get$_effectiveController() { var t1 = this._widget.controller; return t1; }, get$_effectiveFocusNode() { var t1 = this._widget.focusNode; if (t1 == null) { t1 = this._text_field$_focusNode; if (t1 == null) { t1 = A.FocusNode$(true, null, true, null, null, false); this._text_field$_focusNode = t1; } } return t1; }, get$_effectiveMaxLengthEnforcement() { var t1 = this._widget.maxLengthEnforcement; if (t1 == null) { t1 = this._framework$_element; t1.toString; t1 = A.LengthLimitingTextInputFormatter_getDefaultMaxLengthEnforcement(A.Theme_of(t1).platform); } return t1; }, get$forcePressEnabled() { return A._lateReadCheck(this.___TextFieldState_forcePressEnabled, "forcePressEnabled"); }, get$selectionEnabled() { return this._widget.enableInteractiveSelection; }, get$_isEnabled() { var t1 = this._widget.enabled; if (t1 == null) t1 = true; return t1; }, get$_hasIntrinsicError() { var t2, t1 = this._widget.maxLength; if (t1 != null) if (t1 > 0) { t1 = this.get$_effectiveController()._change_notifier$_value.text; t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); t1 = t1.get$length(t1); t2 = this._widget.maxLength; t2.toString; t2 = t1 > t2; t1 = t2; } else t1 = false; else t1 = false; return t1; }, _getEffectiveDecoration$0() { var t2, themeData, t3, t4, effectiveDecoration, currentLength, isFocused, builtCounter, counter, counterText, semanticCounterText, _this = this, _null = null, t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t2 = _this._framework$_element; t2.toString; themeData = A.Theme_of(t2); t2 = _this._widget.decoration; t2 = t2.applyDefaults$1(themeData.inputDecorationTheme); _this.get$_isEnabled(); t3 = _this._widget; t4 = t3.decoration.hintMaxLines; effectiveDecoration = t2.copyWith$2$enabled$hintMaxLines(true, t4 == null ? t3.maxLines : t4); t2 = effectiveDecoration.counter == null; if (!t2 || effectiveDecoration.counterText != null) return effectiveDecoration; t3 = _this.get$_effectiveController()._change_notifier$_value.text; t3 = t3.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t3); currentLength = t3.get$length(t3); if (t2 && effectiveDecoration.counterText == null && _this._widget.buildCounter != null) { isFocused = _this.get$_effectiveFocusNode().get$hasFocus(); t1 = _this._widget; t2 = t1.buildCounter; t2.toString; t3 = _this._framework$_element; t3.toString; builtCounter = t2.call$4$currentLength$isFocused$maxLength(t3, currentLength, isFocused, t1.maxLength); if (builtCounter != null) counter = 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, isFocused, _null, _null, _null, _null, _null, _null, _null, _null, _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, builtCounter, _null); else counter = _null; return effectiveDecoration.copyWith$1$counter(counter); } if (_this._widget.maxLength == null) return effectiveDecoration; counterText = "" + currentLength; t2 = _this._widget.maxLength; t2.toString; if (t2 > 0) { counterText += "/" + t2; t2 = _this._widget.maxLength; t2.toString; semanticCounterText = t1.remainingTextFieldCharacterCount$1(B.JSInt_methods.clamp$2(t2 - currentLength, 0, t2)); } else semanticCounterText = ""; if (_this.get$_hasIntrinsicError()) { t1 = effectiveDecoration.errorText; if (t1 == null) t1 = ""; t2 = effectiveDecoration.errorStyle; return effectiveDecoration.copyWith$4$counterStyle$counterText$errorText$semanticCounterText(t2 == null ? themeData.textTheme.caption.copyWith$1$color(themeData.errorColor) : t2, counterText, t1, semanticCounterText); } return effectiveDecoration.copyWith$2$counterText$semanticCounterText(counterText, semanticCounterText); }, initState$0() { var t1, _this = this; _this.super$State$initState(); _this.___TextFieldState__selectionGestureDetectorBuilder = new A._TextFieldSelectionGestureDetectorBuilder(_this, _this); _this._widget.toString; t1 = _this.get$_effectiveFocusNode(); _this.get$_isEnabled(); t1.set$canRequestFocus(true); _this.get$_effectiveFocusNode().addListener$1(0, _this.get$_text_field$_handleFocusChanged()); }, get$_text_field$_canRequestFocus() { var mode, t1 = this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); mode = t1 == null ? null : t1.navigationMode; switch ((mode == null ? B.NavigationMode_0 : mode).index) { case 0: this.get$_isEnabled(); return true; case 1: return true; } }, didChangeDependencies$0() { this.super$__TextFieldState_State_RestorationMixin$didChangeDependencies(); this.get$_effectiveFocusNode().set$canRequestFocus(this.get$_text_field$_canRequestFocus()); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$__TextFieldState_State_RestorationMixin$didUpdateWidget(oldWidget); t1 = _this._widget; t2 = oldWidget.focusNode; if (t1.focusNode != t2) { t1 = t2 == null ? _this._text_field$_focusNode : t2; if (t1 != null) t1.removeListener$1(0, _this.get$_text_field$_handleFocusChanged()); t1 = _this._widget.focusNode; if (t1 == null) t1 = _this._text_field$_focusNode; if (t1 != null) t1.addListener$1(0, _this.get$_text_field$_handleFocusChanged()); } _this.get$_effectiveFocusNode().set$canRequestFocus(_this.get$_text_field$_canRequestFocus()); if (_this.get$_effectiveFocusNode().get$hasFocus()) if (_this._widget.readOnly !== oldWidget.readOnly) { _this.get$_isEnabled(); t1 = true; } else t1 = false; else t1 = false; if (t1) { t1 = _this.get$_effectiveController()._change_notifier$_value.selection; if (t1.start === t1.end) _this._showSelectionHandles = !_this._widget.readOnly; } }, restoreState$2(oldBucket, initialRestore) { var t1 = this._text_field$_controller; if (t1 != null) this.registerForRestoration$2(t1, "controller"); }, get$restorationId() { return this._widget.restorationId; }, dispose$0(_) { var t1, _this = this; _this.get$_effectiveFocusNode().removeListener$1(0, _this.get$_text_field$_handleFocusChanged()); t1 = _this._text_field$_focusNode; if (t1 != null) t1.dispose$0(0); t1 = _this._text_field$_controller; if (t1 != null) { t1._disposeOldValue$0(); t1.super$RestorableListenable$dispose(0); } _this.super$__TextFieldState_State_RestorationMixin$dispose(0); }, _requestKeyboard$0() { var t1 = this.editableTextKey.get$currentState(); if (t1 != null) t1.requestKeyboard$0(); }, _shouldShowSelectionHandles$1(cause) { var t1, _this = this; if (!A._lateReadCheck(_this.___TextFieldState__selectionGestureDetectorBuilder, "_selectionGestureDetectorBuilder")._shouldShowSelectionToolbar) return false; if (cause === B.SelectionChangedCause_4) return false; if (_this._widget.readOnly) { t1 = _this.get$_effectiveController()._change_notifier$_value.selection; t1 = t1.start === t1.end; } else t1 = false; if (t1) return false; _this.get$_isEnabled(); if (cause === B.SelectionChangedCause_2) return true; if (_this.get$_effectiveController()._change_notifier$_value.text.length !== 0) return true; return false; }, _text_field$_handleFocusChanged$0() { this.setState$1(new A._TextFieldState__handleFocusChanged_closure()); }, _text_field$_handleSelectionChanged$2(selection, cause) { var t1, _this = this, willShowSelectionHandles = _this._shouldShowSelectionHandles$1(cause); if (willShowSelectionHandles !== _this._showSelectionHandles) _this.setState$1(new A._TextFieldState__handleSelectionChanged_closure(_this, willShowSelectionHandles)); t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 2: case 4: if (cause === B.SelectionChangedCause_2) { t1 = _this.editableTextKey.get$currentState(); if (t1 != null) t1.bringIntoView$1(new A.TextPosition(selection.baseOffset, selection.affinity)); } return; case 0: case 1: case 3: case 5: break; } }, _handleSelectionHandleTapped$0() { var t1 = this.get$_effectiveController()._change_notifier$_value.selection; if (t1.start === t1.end) this.editableTextKey.get$currentState().toggleToolbar$0(); }, _handleHover$1(hovering) { if (hovering !== this._isHovering) this.setState$1(new A._TextFieldState__handleHover_closure(this, hovering)); }, get$textInputConfiguration() { var autofillHints, t2, t3, autofillConfiguration, _this = this, t1 = _this._widget.autofillHints; if (t1 == null) autofillHints = null; else autofillHints = J.JSArray_JSArray$markFixed(t1.slice(0), A._arrayInstanceType(t1)._precomputed1); if (autofillHints != null) { t1 = _this.editableTextKey.get$currentState(); t1.toString; t1 = "EditableText-" + A.Primitives_objectHashCode(t1); t2 = _this.get$_effectiveController()._change_notifier$_value; t3 = _this._widget.decoration; autofillConfiguration = new A.AutofillConfiguration(true, t1, autofillHints, t2, t3.hintText); } else autofillConfiguration = B.AutofillConfiguration_lYx; t1 = _this.editableTextKey.get$currentState().get$textInputConfiguration(); return A.TextInputConfiguration$(true, autofillConfiguration, false, true, true, t1.inputAction, t1.inputType, t1.keyboardAppearance, t1.obscureText, t1.readOnly, t1.smartDashesType, t1.smartQuotesType, t1.textCapitalization); }, build$1(_, context) { var style, controller, focusNode, t2, textSelectionControls, cursorColor, cursorRadius, cupertinoTheme, selectionColor, cursorOffset, autocorrectionTextRectColor, paintCursorAboveText, cursorOpacityAnimates, 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, child, effectiveMouseCursor, _this = this, _null = null, _box_0 = {}, theme = A.Theme_of(context), selectionTheme = A.TextSelectionTheme_of(context), t1 = theme.textTheme.subtitle1; t1.toString; style = t1.merge$1(_this._widget.style); _this._widget.toString; controller = _this.get$_effectiveController(); focusNode = _this.get$_effectiveFocusNode(); t1 = A._setArrayType([], type$.JSArray_TextInputFormatter); t2 = _this._widget.inputFormatters; if (t2 != null) B.JSArray_methods.addAll$1(t1, t2); t2 = _this._widget.maxLength; if (t2 != null && true) t1.push(new A.LengthLimitingTextInputFormatter(t2, _this.get$_effectiveMaxLengthEnforcement())); t2 = _this._widget; textSelectionControls = t2.selectionControls; cursorColor = t2.cursorColor; cursorRadius = t2.cursorRadius; _box_0.handleDidGainAccessibilityFocus = null; switch (theme.platform.index) { case 2: cupertinoTheme = A.CupertinoTheme_of(context); _this.___TextFieldState_forcePressEnabled = true; textSelectionControls = $.$get$cupertinoTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = cupertinoTheme.get$primaryColor(); selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t2 = cupertinoTheme.get$primaryColor(); selectionColor = A.Color$fromARGB(102, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } cursorOffset = new A.Offset(-2 / context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.devicePixelRatio, 0); autocorrectionTextRectColor = selectionColor; paintCursorAboveText = true; cursorOpacityAnimates = true; cursorRadius = B.Radius_2_2; break; case 4: cupertinoTheme = A.CupertinoTheme_of(context); _this.___TextFieldState_forcePressEnabled = false; textSelectionControls = $.$get$cupertinoDesktopTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = cupertinoTheme.get$primaryColor(); selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t2 = cupertinoTheme.get$primaryColor(); selectionColor = A.Color$fromARGB(102, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } cursorOffset = new A.Offset(-2 / context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.devicePixelRatio, 0); _box_0.handleDidGainAccessibilityFocus = new A._TextFieldState_build_closure(_this); autocorrectionTextRectColor = _null; paintCursorAboveText = true; cursorOpacityAnimates = true; cursorRadius = B.Radius_2_2; break; case 0: case 1: _this.___TextFieldState_forcePressEnabled = false; textSelectionControls = $.$get$materialTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = theme.colorScheme.primary; selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t2 = theme.colorScheme.primary; selectionColor = A.Color$fromARGB(102, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } autocorrectionTextRectColor = _null; cursorOffset = autocorrectionTextRectColor; paintCursorAboveText = false; cursorOpacityAnimates = false; break; case 3: case 5: _this.___TextFieldState_forcePressEnabled = false; textSelectionControls = $.$get$desktopTextSelectionControls(); cursorColor = selectionTheme.cursorColor; if (cursorColor == null) cursorColor = theme.colorScheme.primary; selectionColor = selectionTheme.selectionColor; if (selectionColor == null) { t2 = theme.colorScheme.primary; selectionColor = A.Color$fromARGB(102, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } autocorrectionTextRectColor = _null; cursorOffset = autocorrectionTextRectColor; paintCursorAboveText = false; cursorOpacityAnimates = false; break; default: autocorrectionTextRectColor = _null; selectionColor = autocorrectionTextRectColor; cursorOffset = selectionColor; cursorOpacityAnimates = cursorOffset; paintCursorAboveText = cursorOpacityAnimates; } t2 = _this.RestorationMixin__bucket; if (!_this._widget.readOnly) { _this.get$_isEnabled(); t3 = false; } else t3 = true; t4 = _this._widget; t5 = t4.toolbarOptions; t6 = t4.showCursor; t7 = _this._showSelectionHandles; t8 = t4.keyboardType; t9 = t4.textInputAction; t10 = t4.textCapitalization; t11 = t4.strutStyle; t12 = t4.textAlign; t13 = t4.textDirection; t14 = t4.autofocus; t15 = t4.obscuringCharacter; t16 = t4.obscureText; t17 = t4.smartDashesType; t18 = t4.smartQuotesType; t19 = t4.maxLines; t20 = t4.minLines; t4 = t4.expands; t21 = focusNode.get$hasFocus() ? selectionColor : _null; t22 = _this._widget; t23 = t22.enableInteractiveSelection; t24 = t23 ? textSelectionControls : _null; t25 = t22.onChanged; t26 = t22.onEditingComplete; t27 = t22.onSubmitted; t28 = t22.cursorWidth; t29 = t22.cursorHeight; t30 = t22.scrollPadding; t5 = A.UnmanagedRestorationScope$(t2, A.EditableText$(true, autocorrectionTextRectColor, _this, B.List_empty1, t14, B.CupertinoDynamicColor_YIZ, B.Clip_1, controller, cursorColor, t29, cursorOffset, cursorOpacityAnimates, cursorRadius, t28, B.DragStartBehavior_1, true, t23, true, t4, focusNode, true, t1, _this.editableTextKey, theme.primaryColorBrightness, t8, t19, t20, B.C__DeferringMouseCursor, t16, t15, _null, t25, t26, _this.get$_text_field$_handleSelectionChanged(), _this.get$_handleSelectionHandleTapped(), t27, paintCursorAboveText, t3, true, "editable", t22.scrollController, t30, t22.scrollPhysics, t21, t24, B.BoxHeightStyle_0, B.BoxWidthStyle_0, t6, t7, t17, t18, t11, style, t12, t10, t13, _null, t9, _null, B.TextWidthBasis_0, t5)); _this._widget.toString; child = A.AnimatedBuilder$(new A._MergingListenable(A._setArrayType([focusNode, controller], type$.JSArray_Listenable)), new A._TextFieldState_build_closure0(_this, focusNode, controller), new A.RepaintBoundary(t5, _null)); _this._widget.toString; t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); _this.get$_isEnabled(); if (_this._isHovering) t1.add$1(0, B.MaterialState_0); if (focusNode.get$hasFocus()) t1.add$1(0, B.MaterialState_1); t2 = _this._widget.decoration; if (t2.errorText != null || _this.get$_hasIntrinsicError()) t1.add$1(0, B.MaterialState_7); effectiveMouseCursor = A.MaterialStateProperty_resolveAs(B._EnabledAndDisabledMouseCursor_SystemMouseCursor_text_textable, t1, type$.MouseCursor); _box_0.semanticsMaxValueLength = null; _this._widget.toString; if (_this.get$_effectiveMaxLengthEnforcement() !== B.MaxLengthEnforcement_0) { t1 = _this._widget.maxLength; t1 = t1 != null && t1 > 0; } else t1 = false; if (t1) _box_0.semanticsMaxValueLength = _this._widget.maxLength; _this.get$_isEnabled(); return new A.FocusTrapArea(focusNode, A.MouseRegion$(new A.IgnorePointer(false, _null, A.AnimatedBuilder$(controller, new A._TextFieldState_build_closure1(_box_0, _this), A._lateReadCheck(_this.___TextFieldState__selectionGestureDetectorBuilder, "_selectionGestureDetectorBuilder").buildGestureDetector$2$behavior$child(B.HitTestBehavior_2, child)), _null), effectiveMouseCursor, _null, new A._TextFieldState_build_closure2(_this), new A._TextFieldState_build_closure3(_this), _null), _null); }, get$editableTextKey() { return this.editableTextKey; } }; A._TextFieldState__handleFocusChanged_closure.prototype = { call$0() { }, $signature: 0 }; A._TextFieldState__handleSelectionChanged_closure.prototype = { call$0() { this.$this._showSelectionHandles = this.willShowSelectionHandles; }, $signature: 0 }; A._TextFieldState__handleHover_closure.prototype = { call$0() { this.$this._isHovering = this.hovering; }, $signature: 0 }; A._TextFieldState_build_closure.prototype = { call$0() { var t1 = this.$this; if (!t1.get$_effectiveFocusNode().get$hasFocus() && t1.get$_effectiveFocusNode().get$canRequestFocus()) t1.get$_effectiveFocusNode().requestFocus$0(); }, $signature: 0 }; A._TextFieldState_build_closure0.prototype = { call$2(context, child) { var t6, t7, t8, t1 = this.$this, t2 = t1._getEffectiveDecoration$0(), t3 = t1._widget, t4 = t3.style, t5 = t3.textAlign; t3 = t3.textAlignVertical; t6 = t1._isHovering; t7 = this.focusNode.get$hasFocus(); t8 = this.controller._change_notifier$_value.text; return new A.InputDecorator(t2, t4, t5, t3, t7, t6, t1._widget.expands, t8.length === 0, child, null); }, $signature: 529 }; A._TextFieldState_build_closure2.prototype = { call$1($event) { return this.$this._handleHover$1(true); }, $signature: 101 }; A._TextFieldState_build_closure3.prototype = { call$1($event) { return this.$this._handleHover$1(false); }, $signature: 70 }; A._TextFieldState_build_closure1.prototype = { call$2(context, child) { var _null = null, t1 = this._box_0, t2 = t1.semanticsMaxValueLength, t3 = this.$this, t4 = t3.get$_effectiveController()._change_notifier$_value.text; t4 = t4.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t4); t4 = t4.get$length(t4); t3 = t3._widget.readOnly ? _null : new A._TextFieldState_build__closure(t3); t1 = t1.handleDidGainAccessibilityFocus; return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, child, _null); }, $signature: 216 }; A._TextFieldState_build__closure.prototype = { call$0() { var t1 = this.$this; if (!t1.get$_effectiveController()._change_notifier$_value.selection.get$isValid()) t1.get$_effectiveController().set$selection(A.TextSelection$collapsed(B.TextAffinity_1, t1.get$_effectiveController()._change_notifier$_value.text.length)); t1._requestKeyboard$0(); }, $signature: 0 }; A.__TextFieldState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.__TextFieldState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__TextFieldState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.TextFormField.prototype = { createState$0() { var _null = null; return new A._TextFormFieldState(new A.RestorableStringN(_null, A.List_List$filled(0, _null, false, type$.nullable_void_Function)), A.RestorableBool$(false), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0); } }; A.TextFormField_closure.prototype = { call$1(field) { var t1, effectiveDecoration, t2, t3, t4, t5, t6, _this = this; type$._TextFormFieldState._as(field); t1 = field._framework$_element; t1.toString; effectiveDecoration = _this.decoration.applyDefaults$1(A.Theme_of(t1).inputDecorationTheme); t1 = field.RestorationMixin__bucket; t2 = field.get$_text_form_field$_effectiveController(); t3 = field._errorText; t3 = effectiveDecoration.copyWith$1$errorText(A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value)); t4 = _this.obscureText; t5 = t4 ? B.SmartDashesType_0 : B.SmartDashesType_1; t6 = t4 ? B.SmartQuotesType_0 : B.SmartQuotesType_1; return A.UnmanagedRestorationScope$(t1, A.TextField$(_this.autocorrect, _this.autofillHints, _this.autofocus, _this.buildCounter, t2, _this.cursorColor, _this.cursorHeight, _this.cursorRadius, _this.cursorWidth, t3, _this.enableIMEPersonalizedLearning, _this.enableInteractiveSelection, _this.enableSuggestions, true, _this.expands, _this.focusNode, _this.inputFormatters, _this.keyboardAppearance, _this.keyboardType, _this.maxLength, _this.maxLengthEnforced, _this.maxLengthEnforcement, _this.maxLines, _this.minLines, t4, _this.obscuringCharacter, new A.TextFormField_closure_onChangedHandler(field, _this.onChanged), _this.onEditingComplete, _this.onFieldSubmitted, _this.onTap, _this.readOnly, _this.restorationId, _this.scrollController, _this.scrollPadding, _this.scrollPhysics, _this.selectionControls, _this.showCursor, t5, t6, _this.strutStyle, _this.style, _this.textAlign, _this.textAlignVertical, _this.textCapitalization, _this.textDirection, _this.textInputAction, _this.toolbarOptions)); }, $signature: 530 }; A.TextFormField_closure_onChangedHandler.prototype = { call$1(value) { var t1; this.field.didChange$1(value); t1 = this.onChanged; if (t1 != null) t1.call$1(value); }, $signature: 11 }; A._TextFormFieldState.prototype = { get$_text_form_field$_effectiveController() { var t1 = type$.TextFormField._as(A.State.prototype.get$widget.call(this)).controller; if (t1 == null) { t1 = this._text_form_field$_controller._restoration_properties$_value; t1.toString; } return t1; }, get$widget() { return type$.TextFormField._as(A.State.prototype.get$widget.call(this)); }, restoreState$2(oldBucket, initialRestore) { var t1, _this = this; _this.super$FormFieldState$restoreState(oldBucket, initialRestore); t1 = _this._text_form_field$_controller; if (t1 != null) _this.registerForRestoration$2(t1, "controller"); _this.__FormFieldState__value = _this.get$_text_form_field$_effectiveController()._change_notifier$_value.text; }, _createLocalController$1(value) { var t1, _this = this; if (value == null) t1 = new A.RestorableTextEditingController(B.TextEditingValue_li8, A.List_List$filled(0, null, false, type$.nullable_void_Function)); else t1 = new A.RestorableTextEditingController(value, A.List_List$filled(0, null, false, type$.nullable_void_Function)); _this._text_form_field$_controller = t1; if (!_this.get$restorePending()) { t1 = _this._text_form_field$_controller; t1.toString; _this.registerForRestoration$2(t1, "controller"); } }, initState$0() { var t1, _this = this; _this.super$State$initState(); t1 = type$.TextFormField; if (t1._as(A.State.prototype.get$widget.call(_this)).controller == null) { t1._as(A.State.prototype.get$widget.call(_this)); t1 = t1._as(A.State.prototype.get$widget.call(_this)); _this._createLocalController$1(new A.TextEditingValue(t1.initialValue, B.TextSelection_ke5, B.TextRange_m1_m1)); } else t1._as(A.State.prototype.get$widget.call(_this)).controller.addListener$1(0, _this.get$_handleControllerChanged()); }, didUpdateWidget$1(oldWidget) { var t1, t2, t3, t4, _this = this; _this.super$_FormFieldState_State_RestorationMixin$didUpdateWidget(oldWidget); t1 = type$.TextFormField; t2 = oldWidget.controller; if (t1._as(A.State.prototype.get$widget.call(_this)).controller != t2) { t3 = t2 == null; if (!t3) t2.removeListener$1(0, _this.get$_handleControllerChanged()); t4 = t1._as(A.State.prototype.get$widget.call(_this)).controller; if (t4 != null) t4.addListener$1(0, _this.get$_handleControllerChanged()); if (!t3 && t1._as(A.State.prototype.get$widget.call(_this)).controller == null) _this._createLocalController$1(t2._change_notifier$_value); if (t1._as(A.State.prototype.get$widget.call(_this)).controller != null) { _this.__FormFieldState__value = t1._as(A.State.prototype.get$widget.call(_this)).controller._change_notifier$_value.text; if (t3) { t1 = _this._text_form_field$_controller; t1.toString; _this.unregisterFromRestoration$1(t1); t1 = _this._text_form_field$_controller; t1._disposeOldValue$0(); t1.super$RestorableListenable$dispose(0); _this._text_form_field$_controller = null; } } } }, dispose$0(_) { var _this = this, t1 = type$.TextFormField._as(A.State.prototype.get$widget.call(_this)).controller; if (t1 != null) t1.removeListener$1(0, _this.get$_handleControllerChanged()); t1 = _this._text_form_field$_controller; if (t1 != null) { t1._disposeOldValue$0(); t1.super$RestorableListenable$dispose(0); } _this.super$_FormFieldState_State_RestorationMixin$dispose(0); }, didChange$1(value) { var t1; this.super$FormFieldState$didChange(value); if (this.get$_text_form_field$_effectiveController()._change_notifier$_value.text !== value) { t1 = this.get$_text_form_field$_effectiveController(); t1.set$text(0, value); } }, _handleControllerChanged$0() { var _this = this; if (_this.get$_text_form_field$_effectiveController()._change_notifier$_value.text !== _this.get$_form$_value()) _this.didChange$1(_this.get$_text_form_field$_effectiveController()._change_notifier$_value.text); } }; A.MaterialTextSelectionControls.prototype = { getHandleSize$1(textLineHeight) { return B.Size_22_22; }, buildHandle$6(context, type, textHeight, onTap, startGlyphHeight, endGlyphHeight) { var handle, _null = null, theme = A.Theme_of(context), handleColor = A.TextSelectionTheme_of(context).selectionHandleColor; if (handleColor == null) handleColor = theme.colorScheme.primary; handle = new A.SizedBox(22, 22, A.CustomPaint$(A.GestureDetector$(B.HitTestBehavior_2, _null, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, onTap, _null, _null, _null, _null, _null, _null, _null), _null, _null, new A._TextSelectionHandlePainter(handleColor, _null), B.Size_0_0), _null); switch (type.index) { case 0: return A.Transform$rotate(B.Alignment_0_0, 1.5707963267948966, handle, _null); case 1: return handle; case 2: return A.Transform$rotate(B.Alignment_0_0, 0.7853981633974483, handle, _null); } }, getHandleAnchor$4(type, textLineHeight, startGlyphHeight, endGlyphHeight) { switch (type.index) { case 0: return B.Offset_22_0; case 1: return B.Offset_0_0; case 2: return B.Offset_11_m4; } }, getHandleAnchor$2(type, textLineHeight) { return this.getHandleAnchor$4(type, textLineHeight, null, null); } }; A._TextSelectionHandlePainter.prototype = { paint$2(canvas, size) { var radius, circle, path, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, this.color); radius = size._dx / 2; circle = A.Rect$fromCircle(new A.Offset(radius, radius), radius); t1 = 0 + radius; path = A.Path_Path(); path.addOval$1(0, circle); path.addRect$1(0, new A.Rect(0, 0, t1, t1)); canvas.drawPath$2(0, path, paint); }, shouldRepaint$1(oldPainter) { return !this.color.$eq(0, oldPainter.color); } }; A.TextSelectionThemeData.prototype = { get$hashCode(_) { return A.hashValues(this.cursorColor, this.selectionColor, this.selectionHandleColor, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.TextSelectionThemeData && J.$eq$(other.cursorColor, _this.cursorColor) && J.$eq$(other.selectionColor, _this.selectionColor) && J.$eq$(other.selectionHandleColor, _this.selectionHandleColor); } }; A._TextSelectionThemeData_Object_Diagnosticable.prototype = {}; A.TextTheme.prototype = { merge$1(other) { 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, _this = this, _null = null; if (other == null) return _this; t1 = _this.headline1; t2 = t1 == null ? _null : t1.merge$1(other.headline1); if (t2 == null) t2 = other.headline1; t3 = _this.headline2; t4 = t3 == null ? _null : t3.merge$1(other.headline2); if (t4 == null) t4 = other.headline2; t5 = _this.headline3; t6 = t5 == null ? _null : t5.merge$1(other.headline3); if (t6 == null) t6 = other.headline3; t7 = _this.headline4; t8 = t7 == null ? _null : t7.merge$1(other.headline4); if (t8 == null) t8 = other.headline4; t9 = _this.headline5; t10 = t9 == null ? _null : t9.merge$1(other.headline5); if (t10 == null) t10 = other.headline5; t11 = _this.headline6; t12 = t11 == null ? _null : t11.merge$1(other.headline6); if (t12 == null) t12 = other.headline6; t13 = _this.subtitle1; t14 = t13 == null ? _null : t13.merge$1(other.subtitle1); if (t14 == null) t14 = other.subtitle1; t15 = _this.subtitle2; t16 = t15 == null ? _null : t15.merge$1(other.subtitle2); if (t16 == null) t16 = other.subtitle2; t17 = _this.bodyText1; t18 = t17 == null ? _null : t17.merge$1(other.bodyText1); if (t18 == null) t18 = other.bodyText1; t19 = _this.bodyText2; t20 = t19 == null ? _null : t19.merge$1(other.bodyText2); if (t20 == null) t20 = other.bodyText2; t21 = _this.caption; t22 = t21 == null ? _null : t21.merge$1(other.caption); if (t22 == null) t22 = other.caption; t23 = _this.button; t24 = t23 == null ? _null : t23.merge$1(other.button); if (t24 == null) t24 = other.button; t25 = _this.overline; t26 = t25 == null ? _null : t25.merge$1(other.overline); if (t26 == null) t26 = other.overline; t1 = t2 == null ? t1 : t2; t2 = t4 == null ? t3 : t4; t3 = t6 == null ? t5 : t6; t4 = t8 == null ? t7 : t8; t5 = t10 == null ? t9 : t10; t6 = t12 == null ? t11 : t12; t7 = t14 == null ? t13 : t14; t8 = t16 == null ? t15 : t16; t9 = t18 == null ? t17 : t18; t10 = t20 == null ? t19 : t20; t11 = t22 == null ? t21 : t22; t12 = t24 == null ? t23 : t24; return new A.TextTheme(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t26 == null ? t25 : t26); }, apply$1$fontFamily(fontFamily) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null, t1 = _this.headline1; t1 = t1 == null ? _null : t1.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t2 = _this.headline2; t2 = t2 == null ? _null : t2.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t3 = _this.headline3; t3 = t3 == null ? _null : t3.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t4 = _this.headline4; t4 = t4 == null ? _null : t4.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t5 = _this.headline5; t5 = t5 == null ? _null : t5.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t6 = _this.headline6; t6 = t6 == null ? _null : t6.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t7 = _this.subtitle1; t7 = t7 == null ? _null : t7.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t8 = _this.subtitle2; t8 = t8 == null ? _null : t8.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t9 = _this.bodyText1; t9 = t9 == null ? _null : t9.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t10 = _this.bodyText2; t10 = t10 == null ? _null : t10.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t11 = _this.caption; t11 = t11 == null ? _null : t11.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t12 = _this.button; t12 = t12 == null ? _null : t12.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1); t13 = _this.overline; return new A.TextTheme(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13 == null ? _null : t13.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(_null, _null, _null, _null, fontFamily, 0, 1)); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.TextTheme && J.$eq$(_this.headline1, other.headline1) && J.$eq$(_this.headline2, other.headline2) && J.$eq$(_this.headline3, other.headline3) && J.$eq$(_this.headline4, other.headline4) && J.$eq$(_this.headline5, other.headline5) && J.$eq$(_this.headline6, other.headline6) && J.$eq$(_this.subtitle1, other.subtitle1) && J.$eq$(_this.subtitle2, other.subtitle2) && J.$eq$(_this.bodyText1, other.bodyText1) && J.$eq$(_this.bodyText2, other.bodyText2) && J.$eq$(_this.caption, other.caption) && J.$eq$(_this.button, other.button) && J.$eq$(_this.overline, other.overline); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.headline1, _this.headline2, _this.headline3, _this.headline4, _this.headline5, _this.headline6, _this.subtitle1, _this.subtitle2, _this.bodyText1, _this.bodyText2, _this.caption, _this.button, _this.overline, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A._TextTheme_Object_Diagnosticable.prototype = {}; A.Theme.prototype = { build$1(_, context) { var t1 = this.data, t2 = B.CupertinoThemeData_KQb.brightness, t3 = B.CupertinoThemeData_KQb.primaryColor, t4 = B.CupertinoThemeData_KQb.primaryContrastingColor, t5 = B.CupertinoThemeData_KQb.textTheme, t6 = B.CupertinoThemeData_KQb.barBackgroundColor, t7 = B.CupertinoThemeData_KQb.scaffoldBackgroundColor; return new A._InheritedTheme(this, new A.CupertinoTheme(new A.MaterialBasedCupertinoThemeData(t1, new A.NoDefaultCupertinoThemeData(t2, t3, t4, t5, t6, t7), B._CupertinoThemeDefaults_iF8, t2, t3, t4, t5, t6, t7), A.IconTheme$(this.child, t1.iconTheme, null), null), null); }, get$data(receiver) { return this.data; } }; A._InheritedTheme.prototype = { wrap$2(_, context, child) { return new A.Theme(this.theme.data, child, null); }, updateShouldNotify$1(old) { return !this.theme.data.$eq(0, old.theme.data); } }; A.ThemeDataTween.prototype = { lerp$1(t) { var 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, lerpedBorderSide, 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, t1 = this.begin; t1.toString; t2 = this.end; t2.toString; t3 = t1.visualDensity.horizontal; t4 = t2.visualDensity.horizontal; t5 = A.lerpDouble(t3, t4, t); t5.toString; t4 = A.lerpDouble(t3, t4, t); t4.toString; t3 = A.Color_lerp(t1.primaryColor, t2.primaryColor, t); t3.toString; t6 = t < 0.5; t7 = t6 ? t1.primaryColorBrightness : t2.primaryColorBrightness; t8 = A.Color_lerp(t1.primaryColorLight, t2.primaryColorLight, t); t8.toString; t9 = A.Color_lerp(t1.primaryColorDark, t2.primaryColorDark, t); t9.toString; t10 = A.Color_lerp(t1.canvasColor, t2.canvasColor, t); t10.toString; t11 = A.Color_lerp(t1.shadowColor, t2.shadowColor, t); t11.toString; t12 = A.Color_lerp(t1.accentColor, t2.accentColor, t); t12.toString; t13 = t6 ? t1.accentColorBrightness : t2.accentColorBrightness; t14 = A.Color_lerp(t1.scaffoldBackgroundColor, t2.scaffoldBackgroundColor, t); t14.toString; t15 = A.Color_lerp(t1.bottomAppBarColor, t2.bottomAppBarColor, t); t15.toString; t16 = A.Color_lerp(t1.cardColor, t2.cardColor, t); t16.toString; t17 = A.Color_lerp(t1.dividerColor, t2.dividerColor, t); t17.toString; t18 = A.Color_lerp(t1.focusColor, t2.focusColor, t); t18.toString; t19 = A.Color_lerp(t1.hoverColor, t2.hoverColor, t); t19.toString; t20 = A.Color_lerp(t1.highlightColor, t2.highlightColor, t); t20.toString; t21 = A.Color_lerp(t1.splashColor, t2.splashColor, t); t21.toString; t22 = t6 ? t1.splashFactory : t2.splashFactory; t23 = A.Color_lerp(t1.selectedRowColor, t2.selectedRowColor, t); t23.toString; t24 = A.Color_lerp(t1.unselectedWidgetColor, t2.unselectedWidgetColor, t); t24.toString; t25 = A.Color_lerp(t1.disabledColor, t2.disabledColor, t); t25.toString; t26 = t6 ? t1.buttonTheme : t2.buttonTheme; t27 = A.Color_lerp(t1.buttonColor, t2.buttonColor, t); t27.toString; t28 = A.ToggleButtonsThemeData_lerp(t1.toggleButtonsTheme, t2.toggleButtonsTheme, t); t28.toString; t29 = A.Color_lerp(t1.secondaryHeaderColor, t2.secondaryHeaderColor, t); t29.toString; t30 = A.Color_lerp(t1.textSelectionColor, t2.textSelectionColor, t); t30.toString; t31 = A.Color_lerp(t1.cursorColor, t2.cursorColor, t); t31.toString; t32 = A.Color_lerp(t1.textSelectionHandleColor, t2.textSelectionHandleColor, t); t32.toString; t33 = A.Color_lerp(t1.backgroundColor, t2.backgroundColor, t); t33.toString; t34 = A.Color_lerp(t1.dialogBackgroundColor, t2.dialogBackgroundColor, t); t34.toString; t35 = A.Color_lerp(t1.indicatorColor, t2.indicatorColor, t); t35.toString; t36 = A.Color_lerp(t1.hintColor, t2.hintColor, t); t36.toString; t37 = A.Color_lerp(t1.errorColor, t2.errorColor, t); t37.toString; t38 = A.Color_lerp(t1.toggleableActiveColor, t2.toggleableActiveColor, t); t38.toString; t39 = A.TextTheme_lerp(t1.textTheme, t2.textTheme, t); t40 = A.TextTheme_lerp(t1.primaryTextTheme, t2.primaryTextTheme, t); t41 = A.TextTheme_lerp(t1.accentTextTheme, t2.accentTextTheme, t); t42 = t6 ? t1.inputDecorationTheme : t2.inputDecorationTheme; t43 = A.IconThemeData_lerp(t1.iconTheme, t2.iconTheme, t); t44 = A.IconThemeData_lerp(t1.primaryIconTheme, t2.primaryIconTheme, t); t45 = A.IconThemeData_lerp(t1.accentIconTheme, t2.accentIconTheme, t); t46 = t1.sliderTheme; t47 = t2.sliderTheme; t48 = A.lerpDouble(t46.trackHeight, t47.trackHeight, t); t49 = A.Color_lerp(t46.activeTrackColor, t47.activeTrackColor, t); t50 = A.Color_lerp(t46.inactiveTrackColor, t47.inactiveTrackColor, t); t51 = A.Color_lerp(t46.disabledActiveTrackColor, t47.disabledActiveTrackColor, t); t52 = A.Color_lerp(t46.disabledInactiveTrackColor, t47.disabledInactiveTrackColor, t); t53 = A.Color_lerp(t46.activeTickMarkColor, t47.activeTickMarkColor, t); t54 = A.Color_lerp(t46.inactiveTickMarkColor, t47.inactiveTickMarkColor, t); t55 = A.Color_lerp(t46.disabledActiveTickMarkColor, t47.disabledActiveTickMarkColor, t); t56 = A.Color_lerp(t46.disabledInactiveTickMarkColor, t47.disabledInactiveTickMarkColor, t); t57 = A.Color_lerp(t46.thumbColor, t47.thumbColor, t); t58 = A.Color_lerp(t46.overlappingShapeStrokeColor, t47.overlappingShapeStrokeColor, t); t59 = A.Color_lerp(t46.disabledThumbColor, t47.disabledThumbColor, t); t60 = A.Color_lerp(t46.overlayColor, t47.overlayColor, t); t61 = A.Color_lerp(t46.valueIndicatorColor, t47.valueIndicatorColor, t); t62 = t6 ? t46.overlayShape : t47.overlayShape; t63 = t6 ? t46.tickMarkShape : t47.tickMarkShape; t64 = t6 ? t46.thumbShape : t47.thumbShape; t65 = t6 ? t46.trackShape : t47.trackShape; t66 = t6 ? t46.valueIndicatorShape : t47.valueIndicatorShape; t67 = t6 ? t46.rangeTickMarkShape : t47.rangeTickMarkShape; t68 = t6 ? t46.rangeThumbShape : t47.rangeThumbShape; t69 = t6 ? t46.rangeTrackShape : t47.rangeTrackShape; t70 = t6 ? t46.rangeValueIndicatorShape : t47.rangeValueIndicatorShape; t71 = t6 ? t46.showValueIndicator : t47.showValueIndicator; t72 = A.TextStyle_lerp(t46.valueIndicatorTextStyle, t47.valueIndicatorTextStyle, t); t73 = A.lerpDouble(t46.minThumbSeparation, t47.minThumbSeparation, t); t46 = A.SliderThemeData$(t53, t49, t55, t51, t56, t52, t59, t54, t50, t73, t58, t60, t62, t68, t67, t69, t70, t71, t57, t6 ? t46.thumbSelector : t47.thumbSelector, t64, t63, t48, t65, t61, t66, t72); t47 = t1.tabBarTheme; t48 = t2.tabBarTheme; t49 = A.Decoration_lerp(t47.indicator, t48.indicator, t); t50 = t6 ? t47.indicatorSize : t48.indicatorSize; t51 = A.Color_lerp(t47.labelColor, t48.labelColor, t); t52 = A.EdgeInsetsGeometry_lerp(t47.labelPadding, t48.labelPadding, t); t53 = A.TextStyle_lerp(t47.labelStyle, t48.labelStyle, t); t54 = A.Color_lerp(t47.unselectedLabelColor, t48.unselectedLabelColor, t); t48 = A.TextStyle_lerp(t47.unselectedLabelStyle, t48.unselectedLabelStyle, t); t47 = A.TooltipThemeData_lerp(t1.tooltipTheme, t2.tooltipTheme, t); t47.toString; t55 = t1.cardTheme; t56 = t2.cardTheme; if (t6) t57 = t55.clipBehavior; else t57 = t56.clipBehavior; t58 = A.Color_lerp(t55.color, t56.color, t); t59 = A.Color_lerp(t55.shadowColor, t56.shadowColor, t); t60 = A.lerpDouble(t55.elevation, t56.elevation, t); t61 = A.EdgeInsetsGeometry_lerp(t55.margin, t56.margin, t); t55 = A.ShapeBorder_lerp(t55.shape, t56.shape, t); t56 = A.ChipThemeData_lerp(t1.chipTheme, t2.chipTheme, t); t56.toString; t62 = t6 ? t1.platform : t2.platform; t63 = t6 ? t1.materialTapTargetSize : t2.materialTapTargetSize; t64 = t6 ? t1.pageTransitionsTheme : t2.pageTransitionsTheme; t65 = t1.appBarTheme; t66 = t2.appBarTheme; if (t6) t67 = t65.brightness; else t67 = t66.brightness; t68 = A.Color_lerp(t65.backgroundColor, t66.backgroundColor, t); t69 = A.Color_lerp(t65.foregroundColor, t66.foregroundColor, t); t70 = A.lerpDouble(t65.elevation, t66.elevation, t); t71 = A.Color_lerp(t65.shadowColor, t66.shadowColor, t); t72 = A.ShapeBorder_lerp(t65.shape, t66.shape, t); t73 = A.IconThemeData_lerp(t65.iconTheme, t66.iconTheme, t); t74 = A.IconThemeData_lerp(t65.actionsIconTheme, t66.actionsIconTheme, t); t75 = A.TextTheme_lerp(t65.textTheme, t66.textTheme, t); if (t6) t76 = t65.centerTitle; else t76 = t66.centerTitle; t77 = A.lerpDouble(t65.titleSpacing, t66.titleSpacing, t); t78 = A.lerpDouble(t65.toolbarHeight, t66.toolbarHeight, t); t79 = A.TextStyle_lerp(t65.toolbarTextStyle, t66.toolbarTextStyle, t); t80 = A.TextStyle_lerp(t65.titleTextStyle, t66.titleTextStyle, t); if (t6) t81 = t65.systemOverlayStyle; else t81 = t66.systemOverlayStyle; if (t6) t65 = t65.backwardsCompatibility; else t65 = t66.backwardsCompatibility; t66 = t68 == null ? null : t68; t68 = t1.scrollbarTheme; t82 = t2.scrollbarTheme; t83 = A.ScrollbarThemeData__lerpProperties(t68.thickness, t82.thickness, t, A.ui__lerpDouble$closure(), type$.nullable_double); if (t6) t84 = t68.showTrackOnHover; else t84 = t82.showTrackOnHover; if (t6) t85 = t68.isAlwaysShown; else t85 = t82.isAlwaysShown; if (t6) t86 = t68.interactive; else t86 = t82.interactive; t87 = A.Radius_lerp(t68.radius, t82.radius, t); t88 = type$.nullable_Color; t89 = A.ScrollbarThemeData__lerpProperties(t68.thumbColor, t82.thumbColor, t, A.ui_Color_lerp$closure(), t88); t90 = A.ScrollbarThemeData__lerpProperties(t68.trackColor, t82.trackColor, t, A.ui_Color_lerp$closure(), t88); t91 = A.ScrollbarThemeData__lerpProperties(t68.trackBorderColor, t82.trackBorderColor, t, A.ui_Color_lerp$closure(), t88); t92 = A.lerpDouble(t68.crossAxisMargin, t82.crossAxisMargin, t); t93 = A.lerpDouble(t68.mainAxisMargin, t82.mainAxisMargin, t); t68 = A.lerpDouble(t68.minThumbLength, t82.minThumbLength, t); t82 = t1.bottomAppBarTheme; t94 = t2.bottomAppBarTheme; t95 = A.Color_lerp(t82.color, t94.color, t); t96 = A.lerpDouble(t82.elevation, t94.elevation, t); if (t6) t82 = t82.shape; else t82 = t94.shape; t94 = t1.colorScheme; t97 = t2.colorScheme; t98 = A.Color_lerp(t94.primary, t97.primary, t); t98.toString; t99 = A.Color_lerp(t94.primaryVariant, t97.primaryVariant, t); t99.toString; t100 = A.Color_lerp(t94.secondary, t97.secondary, t); t100.toString; t101 = A.Color_lerp(t94.secondaryVariant, t97.secondaryVariant, t); t101.toString; t102 = A.Color_lerp(t94.surface, t97.surface, t); t102.toString; t103 = A.Color_lerp(t94.background, t97.background, t); t103.toString; t104 = A.Color_lerp(t94.error, t97.error, t); t104.toString; t105 = A.Color_lerp(t94.onPrimary, t97.onPrimary, t); t105.toString; t106 = A.Color_lerp(t94.onSecondary, t97.onSecondary, t); t106.toString; t107 = A.Color_lerp(t94.onSurface, t97.onSurface, t); t107.toString; t108 = A.Color_lerp(t94.onBackground, t97.onBackground, t); t108.toString; t109 = A.Color_lerp(t94.onError, t97.onError, t); t109.toString; t94 = t6 ? t94.brightness : t97.brightness; t97 = t1.dialogTheme; t110 = t2.dialogTheme; t111 = A.Color_lerp(t97.backgroundColor, t110.backgroundColor, t); t112 = A.lerpDouble(t97.elevation, t110.elevation, t); t113 = A.ShapeBorder_lerp(t97.shape, t110.shape, t); t114 = A.AlignmentGeometry_lerp(t97.alignment, t110.alignment, t); t115 = A.TextStyle_lerp(t97.titleTextStyle, t110.titleTextStyle, t); t97 = A.TextStyle_lerp(t97.contentTextStyle, t110.contentTextStyle, t); t110 = A.FloatingActionButtonThemeData_lerp(t1.floatingActionButtonTheme, t2.floatingActionButtonTheme, t); t110.toString; t116 = A.NavigationBarThemeData_lerp(t1.navigationBarTheme, t2.navigationBarTheme, t); t116.toString; t117 = A.NavigationRailThemeData_lerp(t1.navigationRailTheme, t2.navigationRailTheme, t); t117.toString; t118 = t1.typography; t119 = t2.typography; t120 = A.TextTheme_lerp(t118.black, t119.black, t); t121 = A.TextTheme_lerp(t118.white, t119.white, t); t122 = A.TextTheme_lerp(t118.englishLike, t119.englishLike, t); t123 = A.TextTheme_lerp(t118.dense, t119.dense, t); t119 = A.TextTheme_lerp(t118.tall, t119.tall, t); t118 = t6 ? t1.cupertinoOverrideTheme : t2.cupertinoOverrideTheme; t124 = t1.snackBarTheme; t125 = t2.snackBarTheme; t126 = A.Color_lerp(t124.backgroundColor, t125.backgroundColor, t); t127 = A.Color_lerp(t124.actionTextColor, t125.actionTextColor, t); t128 = A.Color_lerp(t124.disabledActionTextColor, t125.disabledActionTextColor, t); t129 = A.TextStyle_lerp(t124.contentTextStyle, t125.contentTextStyle, t); t130 = A.lerpDouble(t124.elevation, t125.elevation, t); t131 = A.ShapeBorder_lerp(t124.shape, t125.shape, t); if (t6) t124 = t124.behavior; else t124 = t125.behavior; t125 = A.BottomSheetThemeData_lerp(t1.bottomSheetTheme, t2.bottomSheetTheme, t); t125.toString; t132 = A.PopupMenuThemeData_lerp(t1.popupMenuTheme, t2.popupMenuTheme, t); t132.toString; t133 = t1.bannerTheme; t134 = t2.bannerTheme; t135 = A.Color_lerp(t133.backgroundColor, t134.backgroundColor, t); t136 = A.TextStyle_lerp(t133.contentTextStyle, t134.contentTextStyle, t); t137 = A.lerpDouble(t133.elevation, t134.elevation, t); t138 = A.EdgeInsetsGeometry_lerp(t133.padding, t134.padding, t); t133 = A.EdgeInsetsGeometry_lerp(t133.leadingPadding, t134.leadingPadding, t); t134 = t1.dividerTheme; t139 = t2.dividerTheme; t140 = A.Color_lerp(t134.color, t139.color, t); t141 = A.lerpDouble(t134.space, t139.space, t); t142 = A.lerpDouble(t134.thickness, t139.thickness, t); t143 = A.lerpDouble(t134.indent, t139.indent, t); t134 = A.lerpDouble(t134.endIndent, t139.endIndent, t); t139 = A.ButtonBarThemeData_lerp(t1.buttonBarTheme, t2.buttonBarTheme, t); t139.toString; t144 = t1.bottomNavigationBarTheme; t145 = t2.bottomNavigationBarTheme; t146 = A.Color_lerp(t144.backgroundColor, t145.backgroundColor, t); t147 = A.lerpDouble(t144.elevation, t145.elevation, t); t148 = A.IconThemeData_lerp(t144.selectedIconTheme, t145.selectedIconTheme, t); t149 = A.IconThemeData_lerp(t144.unselectedIconTheme, t145.unselectedIconTheme, t); t150 = A.Color_lerp(t144.selectedItemColor, t145.selectedItemColor, t); t151 = A.Color_lerp(t144.unselectedItemColor, t145.unselectedItemColor, t); t152 = A.TextStyle_lerp(t144.selectedLabelStyle, t145.selectedLabelStyle, t); t153 = A.TextStyle_lerp(t144.unselectedLabelStyle, t145.unselectedLabelStyle, t); if (t6) t154 = t144.showSelectedLabels; else t154 = t145.showSelectedLabels; if (t6) t155 = t144.showUnselectedLabels; else t155 = t145.showUnselectedLabels; if (t6) t156 = t144.type; else t156 = t145.type; if (t6) t157 = t144.enableFeedback; else t157 = t145.enableFeedback; if (t6) t144 = t144.landscapeLayout; else t144 = t145.landscapeLayout; t145 = t1.timePickerTheme; t158 = t2.timePickerTheme; lerpedBorderSide = t145.dayPeriodBorderSide; t159 = lerpedBorderSide == null; if (t159) t160 = t158.dayPeriodBorderSide == null; else t160 = false; if (t160) lerpedBorderSide = null; else if (t159) lerpedBorderSide = t158.dayPeriodBorderSide; else { t159 = t158.dayPeriodBorderSide; if (!(t159 == null)) lerpedBorderSide = A.BorderSide_lerp(lerpedBorderSide, t159, t); } t159 = A.Color_lerp(t145.backgroundColor, t158.backgroundColor, t); t160 = A.Color_lerp(t145.hourMinuteTextColor, t158.hourMinuteTextColor, t); t161 = A.Color_lerp(t145.hourMinuteColor, t158.hourMinuteColor, t); t162 = A.Color_lerp(t145.dayPeriodTextColor, t158.dayPeriodTextColor, t); t163 = A.Color_lerp(t145.dayPeriodColor, t158.dayPeriodColor, t); t164 = A.Color_lerp(t145.dialHandColor, t158.dialHandColor, t); t165 = A.Color_lerp(t145.dialBackgroundColor, t158.dialBackgroundColor, t); t166 = A.Color_lerp(t145.dialTextColor, t158.dialTextColor, t); t167 = A.Color_lerp(t145.entryModeIconColor, t158.entryModeIconColor, t); t168 = A.TextStyle_lerp(t145.hourMinuteTextStyle, t158.hourMinuteTextStyle, t); t169 = A.TextStyle_lerp(t145.dayPeriodTextStyle, t158.dayPeriodTextStyle, t); t170 = A.TextStyle_lerp(t145.helpTextStyle, t158.helpTextStyle, t); t171 = A.ShapeBorder_lerp(t145.shape, t158.shape, t); t172 = A.ShapeBorder_lerp(t145.hourMinuteShape, t158.hourMinuteShape, t); t173 = type$.nullable_OutlinedBorder; t174 = t173._as(A.ShapeBorder_lerp(t145.dayPeriodShape, t158.dayPeriodShape, t)); if (t6) t145 = t145.inputDecorationTheme; else t145 = t158.inputDecorationTheme; t158 = A.TextButtonThemeData_lerp(t1.textButtonTheme, t2.textButtonTheme, t); t158.toString; t175 = A.ElevatedButtonThemeData_lerp(t1.elevatedButtonTheme, t2.elevatedButtonTheme, t); t175.toString; t176 = A.OutlinedButtonThemeData_lerp(t1.outlinedButtonTheme, t2.outlinedButtonTheme, t); t176.toString; t177 = A.TextSelectionThemeData_lerp(t1.textSelectionTheme, t2.textSelectionTheme, t); t177.toString; t178 = t1.dataTableTheme; t179 = t2.dataTableTheme; t180 = A.Decoration_lerp(t178.decoration, t179.decoration, t); t181 = A.DataTableThemeData__lerpProperties(t178.dataRowColor, t179.dataRowColor, t, A.ui_Color_lerp$closure(), t88); t182 = A.lerpDouble(t178.dataRowHeight, t179.dataRowHeight, t); t183 = A.TextStyle_lerp(t178.dataTextStyle, t179.dataTextStyle, t); t184 = A.DataTableThemeData__lerpProperties(t178.headingRowColor, t179.headingRowColor, t, A.ui_Color_lerp$closure(), t88); t185 = A.lerpDouble(t178.headingRowHeight, t179.headingRowHeight, t); t186 = A.TextStyle_lerp(t178.headingTextStyle, t179.headingTextStyle, t); t187 = A.lerpDouble(t178.horizontalMargin, t179.horizontalMargin, t); t188 = A.lerpDouble(t178.columnSpacing, t179.columnSpacing, t); t189 = A.lerpDouble(t178.dividerThickness, t179.dividerThickness, t); t179 = A.lerpDouble(t178.checkboxHorizontalMargin, t179.checkboxHorizontalMargin, t); t178 = t1.checkboxTheme; t190 = t2.checkboxTheme; if (t6) t191 = t178.mouseCursor; else t191 = t190.mouseCursor; t192 = A.CheckboxThemeData__lerpProperties(t178.fillColor, t190.fillColor, t, A.ui_Color_lerp$closure(), t88); t193 = A.CheckboxThemeData__lerpProperties(t178.checkColor, t190.checkColor, t, A.ui_Color_lerp$closure(), t88); t194 = A.CheckboxThemeData__lerpProperties(t178.overlayColor, t190.overlayColor, t, A.ui_Color_lerp$closure(), t88); t195 = A.lerpDouble(t178.splashRadius, t190.splashRadius, t); if (t6) t196 = t178.materialTapTargetSize; else t196 = t190.materialTapTargetSize; if (t6) t197 = t178.visualDensity; else t197 = t190.visualDensity; t173 = t173._as(A.ShapeBorder_lerp(t178.shape, t190.shape, t)); t178 = A.CheckboxThemeData__lerpSides(t178.side, t190.side, t); t190 = t1.radioTheme; t198 = t2.radioTheme; if (t6) t199 = t190.mouseCursor; else t199 = t198.mouseCursor; t200 = A.RadioThemeData__lerpProperties(t190.fillColor, t198.fillColor, t, A.ui_Color_lerp$closure(), t88); if (t6) t201 = t190.materialTapTargetSize; else t201 = t198.materialTapTargetSize; t202 = A.RadioThemeData__lerpProperties(t190.overlayColor, t198.overlayColor, t, A.ui_Color_lerp$closure(), t88); t203 = A.lerpDouble(t190.splashRadius, t198.splashRadius, t); if (t6) t190 = t190.visualDensity; else t190 = t198.visualDensity; t198 = t1.switchTheme; t204 = t2.switchTheme; t205 = A.SwitchThemeData__lerpProperties(t198.thumbColor, t204.thumbColor, t, A.ui_Color_lerp$closure(), t88); t206 = A.SwitchThemeData__lerpProperties(t198.trackColor, t204.trackColor, t, A.ui_Color_lerp$closure(), t88); if (t6) t207 = t198.materialTapTargetSize; else t207 = t204.materialTapTargetSize; if (t6) t208 = t198.mouseCursor; else t208 = t204.mouseCursor; t88 = A.SwitchThemeData__lerpProperties(t198.overlayColor, t204.overlayColor, t, A.ui_Color_lerp$closure(), t88); t198 = A.lerpDouble(t198.splashRadius, t204.splashRadius, t); t204 = A.ProgressIndicatorThemeData_lerp(t1.progressIndicatorTheme, t2.progressIndicatorTheme, t); t204.toString; t209 = A.DrawerThemeData_lerp(t1.drawerTheme, t2.drawerTheme, t); t209.toString; t210 = A.ListTileThemeData_lerp(t1.listTileTheme, t2.listTileTheme, t); t210.toString; t1 = t6 ? t1.androidOverscrollIndicator : t2.androidOverscrollIndicator; return A.ThemeData$raw(t12, t13, t45, t41, t1, new A.AppBarTheme(t67, t66, t69, t70, t71, t72, t73, t74, t75, t76, t77, t78, t79, t80, t81, t65), false, t33, new A.MaterialBannerThemeData(t135, t136, t137, t138, t133), t15, new A.BottomAppBarTheme(t95, t96, t82), new A.BottomNavigationBarThemeData(t146, t147, t148, t149, t150, t151, t152, t153, t154, t155, t156, t157, t144), t125, t139, t27, t26, t10, t16, new A.CardTheme(t57, t58, t59, t60, t61, t55), new A.CheckboxThemeData(t191, t192, t193, t194, t195, t196, t197, t173, t178), t56, new A.ColorScheme(t98, t99, t100, t101, t102, t103, t104, t105, t106, t107, t108, t109, t94), t118, t31, new A.DataTableThemeData(t180, t181, t182, t183, t184, t185, t186, t187, t188, t189, t179), t34, new A.DialogTheme(t111, t112, t113, t114, t115, t97), t25, t17, new A.DividerThemeData(t140, t141, t142, t143, t134), t209, t175, t37, true, t110, t18, t20, t36, t19, t43, t35, t42, t210, t63, t116, t117, t176, t64, t62, t132, t3, t7, t9, t8, t44, t40, t204, new A.RadioThemeData(t199, t200, t202, t203, t201, t190), t14, new A.ScrollbarThemeData(t83, t84, t85, t86, t87, t89, t90, t91, t92, t93, t68), t29, t23, t11, t46, new A.SnackBarThemeData(t126, t127, t128, t129, t130, t131, t124), t21, t22, new A.SwitchThemeData(t205, t206, t207, t208, t88, t198), new A.TabBarTheme(t49, t50, t51, t52, t53, t54, t48), t158, t30, t32, t177, t39, new A.TimePickerThemeData(t159, t160, t161, t162, t163, t164, t165, t166, t167, t168, t169, t170, t171, t172, t174, lerpedBorderSide, t145), t28, t38, t47, new A.Typography(t120, t121, t122, t123, t119), t24, true, new A.VisualDensity(t5, t4)); } }; A.AnimatedTheme.prototype = { createState$0() { return new A._AnimatedThemeState(null, B._StateLifecycle_0); }, get$data(receiver) { return this.data; } }; A._AnimatedThemeState.prototype = { forEachTween$1(visitor) { var t1 = visitor.call$3(this._theme$_data, this._widget.data, new A._AnimatedThemeState_forEachTween_closure()); t1.toString; this._theme$_data = type$.ThemeDataTween._as(t1); }, build$1(_, context) { var t2, t1 = this._theme$_data; t1.toString; t2 = this.get$_animation(); return new A.Theme(t1.transform$1(0, t2.get$value(t2)), this._widget.child, null); } }; A._AnimatedThemeState_forEachTween_closure.prototype = { call$1(value) { return new A.ThemeDataTween(type$.ThemeData._as(value), null); }, $signature: 531 }; A.MaterialTapTargetSize.prototype = { toString$0(_) { return "MaterialTapTargetSize." + this._core$_name; } }; A.ThemeData.prototype = { copyWith$7$accentTextTheme$colorScheme$iconTheme$popupMenuTheme$primaryTextTheme$sliderTheme$textTheme(accentTextTheme, colorScheme, iconTheme, popupMenuTheme, primaryTextTheme, sliderTheme, textTheme) { var _this = this, t1 = textTheme == null ? _this.textTheme : textTheme, t2 = primaryTextTheme == null ? _this.primaryTextTheme : primaryTextTheme, t3 = accentTextTheme == null ? _this.accentTextTheme : accentTextTheme, t4 = iconTheme == null ? _this.iconTheme : iconTheme, t5 = sliderTheme == null ? _this.sliderTheme : sliderTheme, t6 = colorScheme == null ? _this.colorScheme : colorScheme, t7 = popupMenuTheme == null ? _this.popupMenuTheme : popupMenuTheme; return A.ThemeData$raw(_this.accentColor, _this.accentColorBrightness, _this.accentIconTheme, t3, _this.androidOverscrollIndicator, _this.appBarTheme, false, _this.backgroundColor, _this.bannerTheme, _this.bottomAppBarColor, _this.bottomAppBarTheme, _this.bottomNavigationBarTheme, _this.bottomSheetTheme, _this.buttonBarTheme, _this.buttonColor, _this.buttonTheme, _this.canvasColor, _this.cardColor, _this.cardTheme, _this.checkboxTheme, _this.chipTheme, new A.ColorScheme(t6.primary, t6.primaryVariant, t6.secondary, t6.secondaryVariant, t6.surface, t6.background, t6.error, t6.onPrimary, t6.onSecondary, t6.onSurface, t6.onBackground, t6.onError, t6.brightness), _this.cupertinoOverrideTheme, _this.cursorColor, _this.dataTableTheme, _this.dialogBackgroundColor, _this.dialogTheme, _this.disabledColor, _this.dividerColor, _this.dividerTheme, _this.drawerTheme, _this.elevatedButtonTheme, _this.errorColor, true, _this.floatingActionButtonTheme, _this.focusColor, _this.highlightColor, _this.hintColor, _this.hoverColor, t4, _this.indicatorColor, _this.inputDecorationTheme, _this.listTileTheme, _this.materialTapTargetSize, _this.navigationBarTheme, _this.navigationRailTheme, _this.outlinedButtonTheme, _this.pageTransitionsTheme, _this.platform, t7, _this.primaryColor, _this.primaryColorBrightness, _this.primaryColorDark, _this.primaryColorLight, _this.primaryIconTheme, t2, _this.progressIndicatorTheme, _this.radioTheme, _this.scaffoldBackgroundColor, _this.scrollbarTheme, _this.secondaryHeaderColor, _this.selectedRowColor, _this.shadowColor, t5, _this.snackBarTheme, _this.splashColor, _this.splashFactory, _this.switchTheme, _this.tabBarTheme, _this.textButtonTheme, _this.textSelectionColor, _this.textSelectionHandleColor, _this.textSelectionTheme, t1, _this.timePickerTheme, _this.toggleButtonsTheme, _this.toggleableActiveColor, _this.tooltipTheme, _this.typography, _this.unselectedWidgetColor, true, _this.visualDensity); }, copyWith$3$accentTextTheme$primaryTextTheme$textTheme(accentTextTheme, primaryTextTheme, textTheme) { return this.copyWith$7$accentTextTheme$colorScheme$iconTheme$popupMenuTheme$primaryTextTheme$sliderTheme$textTheme(accentTextTheme, null, null, null, primaryTextTheme, null, textTheme); }, copyWith$1$iconTheme(iconTheme) { return this.copyWith$7$accentTextTheme$colorScheme$iconTheme$popupMenuTheme$primaryTextTheme$sliderTheme$textTheme(null, null, iconTheme, null, null, null, null); }, copyWith$2$iconTheme$popupMenuTheme(iconTheme, popupMenuTheme) { return this.copyWith$7$accentTextTheme$colorScheme$iconTheme$popupMenuTheme$primaryTextTheme$sliderTheme$textTheme(null, null, iconTheme, popupMenuTheme, null, null, null); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.ThemeData) if (other.visualDensity.$eq(0, _this.visualDensity)) if (other.primaryColor.$eq(0, _this.primaryColor)) if (other.primaryColorBrightness === _this.primaryColorBrightness) if (other.primaryColorLight.$eq(0, _this.primaryColorLight)) if (other.primaryColorDark.$eq(0, _this.primaryColorDark)) if (other.canvasColor.$eq(0, _this.canvasColor)) if (other.shadowColor.$eq(0, _this.shadowColor)) if (other.accentColor.$eq(0, _this.accentColor)) if (other.accentColorBrightness === _this.accentColorBrightness) if (other.scaffoldBackgroundColor.$eq(0, _this.scaffoldBackgroundColor)) if (other.bottomAppBarColor.$eq(0, _this.bottomAppBarColor)) if (other.cardColor.$eq(0, _this.cardColor)) if (other.dividerColor.$eq(0, _this.dividerColor)) if (other.focusColor.$eq(0, _this.focusColor)) if (other.hoverColor.$eq(0, _this.hoverColor)) if (other.highlightColor.$eq(0, _this.highlightColor)) if (other.splashColor.$eq(0, _this.splashColor)) if (other.splashFactory === _this.splashFactory) if (other.selectedRowColor.$eq(0, _this.selectedRowColor)) if (other.unselectedWidgetColor.$eq(0, _this.unselectedWidgetColor)) if (other.disabledColor.$eq(0, _this.disabledColor)) if (other.buttonTheme.$eq(0, _this.buttonTheme)) if (other.buttonColor.$eq(0, _this.buttonColor)) if (other.toggleButtonsTheme.$eq(0, _this.toggleButtonsTheme)) if (other.secondaryHeaderColor.$eq(0, _this.secondaryHeaderColor)) if (other.textSelectionColor.$eq(0, _this.textSelectionColor)) if (other.cursorColor.$eq(0, _this.cursorColor)) if (other.textSelectionHandleColor.$eq(0, _this.textSelectionHandleColor)) if (other.backgroundColor.$eq(0, _this.backgroundColor)) if (other.dialogBackgroundColor.$eq(0, _this.dialogBackgroundColor)) if (other.indicatorColor.$eq(0, _this.indicatorColor)) if (other.hintColor.$eq(0, _this.hintColor)) if (other.errorColor.$eq(0, _this.errorColor)) if (other.toggleableActiveColor.$eq(0, _this.toggleableActiveColor)) if (other.textTheme.$eq(0, _this.textTheme)) if (other.primaryTextTheme.$eq(0, _this.primaryTextTheme)) if (other.accentTextTheme.$eq(0, _this.accentTextTheme)) if (other.inputDecorationTheme.$eq(0, _this.inputDecorationTheme)) if (other.iconTheme.$eq(0, _this.iconTheme)) if (other.primaryIconTheme.$eq(0, _this.primaryIconTheme)) if (other.accentIconTheme.$eq(0, _this.accentIconTheme)) if (other.sliderTheme.$eq(0, _this.sliderTheme)) if (other.tabBarTheme.$eq(0, _this.tabBarTheme)) if (other.tooltipTheme.$eq(0, _this.tooltipTheme)) if (other.cardTheme.$eq(0, _this.cardTheme)) if (other.chipTheme.$eq(0, _this.chipTheme)) if (other.platform === _this.platform) if (other.materialTapTargetSize === _this.materialTapTargetSize) if (other.pageTransitionsTheme.$eq(0, _this.pageTransitionsTheme)) if (other.appBarTheme.$eq(0, _this.appBarTheme)) if (other.scrollbarTheme.$eq(0, _this.scrollbarTheme)) if (other.bottomAppBarTheme.$eq(0, _this.bottomAppBarTheme)) if (other.colorScheme.$eq(0, _this.colorScheme)) if (other.dialogTheme.$eq(0, _this.dialogTheme)) if (other.floatingActionButtonTheme.$eq(0, _this.floatingActionButtonTheme)) if (other.navigationBarTheme.$eq(0, _this.navigationBarTheme)) if (other.navigationRailTheme.$eq(0, _this.navigationRailTheme)) if (other.typography.$eq(0, _this.typography)) if (other.snackBarTheme.$eq(0, _this.snackBarTheme)) if (other.bottomSheetTheme.$eq(0, _this.bottomSheetTheme)) if (other.popupMenuTheme.$eq(0, _this.popupMenuTheme)) if (other.bannerTheme.$eq(0, _this.bannerTheme)) if (other.dividerTheme.$eq(0, _this.dividerTheme)) if (other.buttonBarTheme.$eq(0, _this.buttonBarTheme)) if (other.bottomNavigationBarTheme.$eq(0, _this.bottomNavigationBarTheme)) if (other.timePickerTheme.$eq(0, _this.timePickerTheme)) if (other.textButtonTheme.$eq(0, _this.textButtonTheme)) if (other.elevatedButtonTheme.$eq(0, _this.elevatedButtonTheme)) if (other.outlinedButtonTheme.$eq(0, _this.outlinedButtonTheme)) if (other.textSelectionTheme.$eq(0, _this.textSelectionTheme)) if (other.dataTableTheme.$eq(0, _this.dataTableTheme)) if (other.checkboxTheme.$eq(0, _this.checkboxTheme)) if (other.radioTheme.$eq(0, _this.radioTheme)) if (other.switchTheme.$eq(0, _this.switchTheme)) if (other.progressIndicatorTheme.$eq(0, _this.progressIndicatorTheme)) if (other.drawerTheme.$eq(0, _this.drawerTheme)) if (other.listTileTheme.$eq(0, _this.listTileTheme)) 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; 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; 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; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashList([_this.visualDensity, _this.primaryColor, _this.primaryColorBrightness, _this.primaryColorLight, _this.primaryColorDark, _this.canvasColor, _this.shadowColor, _this.accentColor, _this.accentColorBrightness, _this.scaffoldBackgroundColor, _this.bottomAppBarColor, _this.cardColor, _this.dividerColor, _this.focusColor, _this.hoverColor, _this.highlightColor, _this.splashColor, _this.splashFactory, _this.selectedRowColor, _this.unselectedWidgetColor, _this.disabledColor, _this.buttonTheme, _this.buttonColor, _this.toggleButtonsTheme, _this.secondaryHeaderColor, _this.textSelectionColor, _this.cursorColor, _this.textSelectionHandleColor, _this.backgroundColor, _this.dialogBackgroundColor, _this.indicatorColor, _this.hintColor, _this.errorColor, _this.toggleableActiveColor, _this.textTheme, _this.primaryTextTheme, _this.accentTextTheme, _this.inputDecorationTheme, _this.iconTheme, _this.primaryIconTheme, _this.accentIconTheme, _this.sliderTheme, _this.tabBarTheme, _this.tooltipTheme, _this.cardTheme, _this.chipTheme, _this.platform, _this.materialTapTargetSize, false, _this.pageTransitionsTheme, _this.appBarTheme, _this.scrollbarTheme, _this.bottomAppBarTheme, _this.colorScheme, _this.dialogTheme, _this.floatingActionButtonTheme, _this.navigationBarTheme, _this.navigationRailTheme, _this.typography, _this.cupertinoOverrideTheme, _this.snackBarTheme, _this.bottomSheetTheme, _this.popupMenuTheme, _this.bannerTheme, _this.dividerTheme, _this.buttonBarTheme, _this.bottomNavigationBarTheme, _this.timePickerTheme, _this.textButtonTheme, _this.elevatedButtonTheme, _this.outlinedButtonTheme, _this.textSelectionTheme, _this.dataTableTheme, _this.checkboxTheme, _this.radioTheme, _this.switchTheme, _this.progressIndicatorTheme, _this.drawerTheme, _this.listTileTheme, true, true, _this.androidOverscrollIndicator]); } }; A.ThemeData_localize_closure.prototype = { call$0() { var t1 = this.baseTheme, t2 = this.localTextGeometry, t3 = t2.merge$1(t1.primaryTextTheme); return t1.copyWith$3$accentTextTheme$primaryTextTheme$textTheme(t2.merge$1(t1.accentTextTheme), t3, t2.merge$1(t1.textTheme)); }, $signature: 532 }; A.MaterialBasedCupertinoThemeData.prototype = { get$brightness() { var t1 = this._cupertinoOverrideTheme.brightness; return t1 == null ? this._materialTheme.colorScheme.brightness : t1; }, get$primaryColor() { var t1 = this._cupertinoOverrideTheme.primaryColor; return t1 == null ? this._materialTheme.colorScheme.primary : t1; }, get$primaryContrastingColor() { var t1 = this._cupertinoOverrideTheme.primaryContrastingColor; return t1 == null ? this._materialTheme.colorScheme.onPrimary : t1; }, get$scaffoldBackgroundColor() { var t1 = this._cupertinoOverrideTheme.scaffoldBackgroundColor; return t1 == null ? this._materialTheme.scaffoldBackgroundColor : t1; }, resolveFrom$1(context) { return A.MaterialBasedCupertinoThemeData$_(this._materialTheme, this._cupertinoOverrideTheme.resolveFrom$1(context)); } }; A._IdentityThemeDataCacheKey.prototype = { get$hashCode(_) { return (A.objectHashCode(this.baseTheme) ^ A.objectHashCode(this.localTextGeometry)) >>> 0; }, $eq(_, other) { if (other == null) return false; return other instanceof A._IdentityThemeDataCacheKey && other.baseTheme === this.baseTheme && other.localTextGeometry === this.localTextGeometry; } }; A._FifoCache.prototype = { putIfAbsent$2(_, key, loader) { var t2, t1 = this._theme_data$_cache, result = t1.$index(0, key); if (result != null) return result; if (t1.get$length(t1) === this._maximumSize) { t2 = t1.get$keys(t1); t1.remove$1(0, t2.get$first(t2)); } t2 = loader.call$0(); t1.$indexSet(0, key, t2); return t2; } }; A.VisualDensity.prototype = { effectiveConstraints$1(constraints) { var t1 = this.horizontal, t2 = this.vertical, t3 = B.JSNumber_methods.clamp$2(constraints.minWidth + new A.Offset(t1, t2).$mul(0, 4)._dx, 0, constraints.maxWidth); return constraints.copyWith$2$minHeight$minWidth(B.JSNumber_methods.clamp$2(constraints.minHeight + new A.Offset(t1, t2).$mul(0, 4)._dy, 0, constraints.maxHeight), t3); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.VisualDensity && other.horizontal === this.horizontal && other.vertical === this.vertical; }, get$hashCode(_) { return A.hashValues(this.horizontal, this.vertical, 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, 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); }, toStringShort$0() { return this.super$Diagnosticable$toStringShort() + "(h: " + A.debugFormatDouble(this.horizontal) + ", v: " + A.debugFormatDouble(this.vertical) + ")"; } }; A._ThemeData_Object_Diagnosticable.prototype = {}; A._VisualDensity_Object_Diagnosticable.prototype = {}; A.DayPeriod.prototype = { toString$0(_) { return "DayPeriod." + this._core$_name; } }; A.TimeOfDay.prototype = { replacing$2$hour$minute(hour, minute) { var t1 = hour == null ? this.hour : hour; return new A.TimeOfDay(t1, minute == null ? this.minute : minute); }, replacing$1$hour(hour) { return this.replacing$2$hour$minute(hour, null); }, replacing$1$minute(minute) { return this.replacing$2$hour$minute(null, minute); }, get$hourOfPeriod() { var t1 = this.hour; if (t1 === 0 || t1 === 12) t1 = 12; else t1 -= (t1 < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0 ? 0 : 12; return t1; }, $eq(_, other) { if (other == null) return false; return other instanceof A.TimeOfDay && other.hour === this.hour && other.minute === this.minute; }, get$hashCode(_) { return A.hashValues(this.hour, this.minute, 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, 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); }, toString$0(_) { var t1 = new A.TimeOfDay_toString__addLeadingZeroIfNeeded(), hourLabel = t1.call$1(this.hour), minuteLabel = t1.call$1(this.minute); return B.Type_TimeOfDay_JJ0.toString$0(0) + "(" + hourLabel + ":" + minuteLabel + ")"; } }; A.TimeOfDay_toString__addLeadingZeroIfNeeded.prototype = { call$1(value) { if (value < 10) return "0" + value; return B.JSInt_methods.toString$0(value); }, $signature: 201 }; A.RestorableTimeOfDay.prototype = { createDefaultValue$0() { return this._time$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { var t1, t2; data.toString; type$.List_nullable_Object._as(data); t1 = J.getInterceptor$asx(data); t2 = t1.$index(data, 0); t2.toString; A._asInt(t2); t1 = t1.$index(data, 1); t1.toString; return new A.TimeOfDay(A._asInt(t1), t2); }, toPrimitives$0() { var t1 = A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value); return A._setArrayType([t1.minute, t1.hour], type$.JSArray_int); } }; A.TimeOfDayFormat.prototype = { toString$0(_) { return "TimeOfDayFormat." + this._core$_name; } }; A.HourFormat.prototype = { toString$0(_) { return "HourFormat." + this._core$_name; } }; A._TimePickerMode.prototype = { toString$0(_) { return "_TimePickerMode." + this._core$_name; } }; A.TimePickerEntryMode.prototype = { toString$0(_) { return "TimePickerEntryMode." + this._core$_name; } }; A._TimePickerFragmentContext.prototype = {}; A._TimePickerHeader.prototype = { _handleChangeMode$1(value) { if (value !== this.mode) this.onModeChanged.call$1(value); }, build$1(_, context) { var t2, t3, t4, fragmentContext, t5, t6, t7, controls, width, padding, _this = this, _null = null, themeData = A.Theme_of(context), t1 = type$.MaterialLocalizations; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1).toString; context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; t2 = _this.selectedTime; t3 = _this.onChanged; t4 = _this.use24HourDials; fragmentContext = new A._TimePickerFragmentContext(t2, _this.mode, t3, _this.get$_handleChangeMode(), _this.onHourDoubleTapped, _this.onMinuteDoubleTapped, t4); t5 = _this.orientation; switch (t5.index) { case 0: t6 = type$.JSArray_Widget; t7 = A._setArrayType([], t6); t7.push(A.Expanded$(A.Row$(A._setArrayType([A.Expanded$(new A._HourControl(fragmentContext, _null), 1), new A._StringFragment(B.TimeOfDayFormat_4, _null), A.Expanded$(new A._MinuteControl(fragmentContext, _null), 1)], t6), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, B.TextDirection_1), 1)); if (!t4 && true) B.JSArray_methods.addAll$1(t7, A._setArrayType([B.SizedBox_12_null_null_null, new A._DayPeriodControl(t2, t5, t3, _null)], t6)); controls = A.Column$(A._setArrayType([B.SizedBox_null_16_null_null, new A.SizedBox(_null, 96, A.Row$(t7, B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), _null)], t6), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); width = _null; padding = B.EdgeInsets_24_0_24_0; break; case 1: t6 = type$.JSArray_Widget; t7 = A._setArrayType([], t6); t7.push(new A.SizedBox(_null, 96, A.Row$(A._setArrayType([A.Expanded$(new A._HourControl(fragmentContext, _null), 1), new A._StringFragment(B.TimeOfDayFormat_4, _null), A.Expanded$(new A._MinuteControl(fragmentContext, _null), 1)], t6), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, B.TextDirection_1), _null)); if (!t4 && true) t7.push(new A._DayPeriodControl(t2, t5, t3, _null)); controls = A.Expanded$(A.Column$(t7, B.CrossAxisAlignment_2, B.MainAxisAlignment_2, B.MainAxisSize_1, B.VerticalDirection_1), 1); padding = B.EdgeInsets_24_0_24_0; width = 264; break; default: controls = _null; width = controls; padding = width; } t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1); t1.toString; t1 = A.TimePickerTheme_of(context).helpTextStyle; return A.Container$(_null, A.Column$(A._setArrayType([B.SizedBox_null_16_null_null, A.Text$("SELECT TIME", _null, _null, _null, _null, t1 == null ? themeData.textTheme.overline : t1, _null, _null, _null), controls], type$.JSArray_Widget), B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, padding, _null, _null, width); } }; A._HourMinuteControl.prototype = { build$1(_, context) { var backgroundColor, style, t1, shape, t2, states, t3, _this = this, _null = null, themeData = A.Theme_of(context), timePickerTheme = A.TimePickerTheme_of(context), textColor = timePickerTheme.hourMinuteTextColor; if (textColor == null) textColor = A._MaterialStateColor$(new A._HourMinuteControl_build_closure(themeData)); backgroundColor = timePickerTheme.hourMinuteColor; if (backgroundColor == null) backgroundColor = A._MaterialStateColor$(new A._HourMinuteControl_build_closure0(themeData, themeData.colorScheme.brightness === B.Brightness_0)); style = timePickerTheme.hourMinuteTextStyle; if (style == null) { t1 = themeData.textTheme.headline2; t1.toString; style = t1; } shape = timePickerTheme.hourMinuteShape; if (shape == null) shape = B.RoundedRectangleBorder_LkV1; t1 = _this.isSelected; t2 = type$.MaterialState; states = t1 ? A.LinkedHashSet_LinkedHashSet$_literal([B.MaterialState_4], t2) : A.LinkedHashSet_LinkedHashSet$_empty(t2); t2 = type$.nullable_Color; t3 = A.MaterialStateProperty_resolveAs(backgroundColor, states, t2); t1 = t1 ? _this.onDoubleTap : _null; return new A.SizedBox(_null, 80, A.Material$(B.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Center$(A.Text$(_this.text, _null, _null, _null, _null, style.copyWith$1$color(A.MaterialStateProperty_resolveAs(textColor, states, t2)), _null, _null, 1), _null, _null), _null, true, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _this.onTap, _null, _null, _null, _null, _null, _null), B.Clip_2, t3, 0, _null, _null, shape, _null, B.MaterialType_0), _null); }, get$text(receiver) { return this.text; } }; A._HourMinuteControl_build_closure.prototype = { call$1(states) { var t1 = this.themeData.colorScheme; return states.contains$1(0, B.MaterialState_4) ? t1.primary : t1.onSurface; }, $signature: 31 }; A._HourMinuteControl_build_closure0.prototype = { call$1(states) { var t1 = this.themeData.colorScheme; if (states.contains$1(0, B.MaterialState_4)) { t1 = t1.primary; t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * (this.isDark ? 0.24 : 0.12)), t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } else { t1 = t1.onSurface; t1 = A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return t1; }, $signature: 31 }; A._HourControl.prototype = { build$1(_, context) { var t1, t2, formattedHour, t3, nextHour, formattedNextHour, previousHour, formattedPreviousHour, _this = this, _null = null; context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t2 = _this.fragmentContext; formattedHour = t1.formatHour$2$alwaysUse24HourFormat(t2.selectedTime, false); t3 = new A._HourControl_build_hoursFromSelected(_this); nextHour = t3.call$1(1); formattedNextHour = t1.formatHour$2$alwaysUse24HourFormat(nextHour, false); previousHour = t3.call$1(-1); formattedPreviousHour = t1.formatHour$2$alwaysUse24HourFormat(previousHour, false); t1 = "Select hours " + formattedHour; t3 = A.Feedback_wrapForTap(new A._HourControl_build_closure(_this), context); t3.toString; return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, formattedPreviousHour, _null, _null, _null, _null, _null, _null, _null, _null, _null, formattedNextHour, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._HourControl_build_closure0(_this, previousHour), _null, _null, _null, new A._HourControl_build_closure1(_this, nextHour), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1), false, false, true, new A._HourMinuteControl(formattedHour, t3, t2.onHourDoubleTapped, t2.mode === B._TimePickerMode_0, _null), _null); } }; A._HourControl_build_hoursFromSelected.prototype = { call$1(hoursToAdd) { var periodOffset, t1 = this.$this.fragmentContext, t2 = t1.selectedTime; if (t1.use24HourDials) return t2.replacing$1$hour(B.JSInt_methods.$mod(t2.hour + hoursToAdd, 24)); else { periodOffset = (t2.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0 ? 0 : 12; return t2.replacing$1$hour(periodOffset + B.JSInt_methods.$mod(t2.get$hourOfPeriod() + hoursToAdd, 12)); } }, $signature: 534 }; A._HourControl_build_closure1.prototype = { call$0() { this.$this.fragmentContext.onTimeChange.call$1(this.nextHour); }, $signature: 0 }; A._HourControl_build_closure0.prototype = { call$0() { this.$this.fragmentContext.onTimeChange.call$1(this.previousHour); }, $signature: 0 }; A._HourControl_build_closure.prototype = { call$0() { return this.$this.fragmentContext.onModeChange.call$1(B._TimePickerMode_0); }, $signature: 0 }; A._StringFragment.prototype = { _stringFragmentValue$1(timeOfDayFormat) { switch (timeOfDayFormat.index) { case 4: case 5: case 3: case 0: return ":"; case 1: return "."; case 2: return "h"; } }, build$1(_, context) { var t1, textColor, _null = null, theme = A.Theme_of(context), timePickerTheme = A.TimePickerTheme_of(context), hourMinuteStyle = timePickerTheme.hourMinuteTextStyle; if (hourMinuteStyle == null) { t1 = theme.textTheme.headline2; t1.toString; hourMinuteStyle = t1; } textColor = timePickerTheme.hourMinuteTextColor; if (textColor == null) textColor = theme.colorScheme.onSurface; return new A.ExcludeSemantics(true, new A.Padding(B.EdgeInsets_6_0_6_0, A.Center$(A.Text$(this._stringFragmentValue$1(this.timeOfDayFormat), _null, _null, _null, _null, hourMinuteStyle.apply$1$color(A.MaterialStateProperty_resolveAs(textColor, A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), type$.nullable_Color)), _null, _null, 1), _null, _null), _null), _null); } }; A._MinuteControl.prototype = { build$1(_, context) { var t2, t3, formattedMinute, t4, nextMinute, formattedNextMinute, previousMinute, formattedPreviousMinute, _this = this, _null = null, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t2 = _this.fragmentContext; t3 = t2.selectedTime; formattedMinute = t1.formatMinute$1(t3); t4 = t3.minute; nextMinute = t3.replacing$1$minute(B.JSInt_methods.$mod(t4 + 1, 60)); formattedNextMinute = t1.formatMinute$1(nextMinute); previousMinute = t3.replacing$1$minute(B.JSInt_methods.$mod(t4 - 1, 60)); formattedPreviousMinute = t1.formatMinute$1(previousMinute); t1 = "Select minutes " + formattedMinute; t4 = A.Feedback_wrapForTap(new A._MinuteControl_build_closure(_this), context); t4.toString; return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, formattedPreviousMinute, _null, _null, _null, _null, _null, _null, _null, _null, _null, formattedNextMinute, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A._MinuteControl_build_closure0(_this, previousMinute), _null, _null, _null, new A._MinuteControl_build_closure1(_this, nextMinute), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1), false, false, true, new A._HourMinuteControl(formattedMinute, t4, t2.onMinuteDoubleTapped, t2.mode === B._TimePickerMode_1, _null), _null); } }; A._MinuteControl_build_closure1.prototype = { call$0() { this.$this.fragmentContext.onTimeChange.call$1(this.nextMinute); }, $signature: 0 }; A._MinuteControl_build_closure0.prototype = { call$0() { this.$this.fragmentContext.onTimeChange.call$1(this.previousMinute); }, $signature: 0 }; A._MinuteControl_build_closure.prototype = { call$0() { return this.$this.fragmentContext.onModeChange.call$1(B._TimePickerMode_1); }, $signature: 0 }; A._DayPeriodControl.prototype = { _togglePeriod$0() { var t1 = this.selectedTime; this.onChanged.call$1(t1.replacing$1$hour(B.JSInt_methods.$mod(t1.hour + 12, 24))); }, _setAm$1(context) { var t1; if ((this.selectedTime.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0) return; switch (A.Theme_of(context).platform.index) { case 0: case 1: case 3: case 5: A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; A.SemanticsService_announce("AM", t1.textDirection); break; case 2: case 4: break; } this._togglePeriod$0(); }, _setPm$1(context) { var t1; if ((this.selectedTime.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_1) return; switch (A.Theme_of(context).platform.index) { case 0: case 1: case 3: case 5: A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; A.SemanticsService_announce("PM", t1.textDirection); break; case 2: case 4: break; } this._togglePeriod$0(); }, build$1(_, context) { var colorScheme, timePickerTheme, textColor, backgroundColor, amSelected, t1, amStates, pmSelected, pmStates, textStyle, amStyle, pmStyle, shape, borderSide, t2, buttonTextScaleFactor, t3, t4, amButton, pmButton, result, _this = this, _null = null; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations).toString; colorScheme = A.Theme_of(context).colorScheme; timePickerTheme = A.TimePickerTheme_of(context); textColor = timePickerTheme.dayPeriodTextColor; if (textColor == null) textColor = A._MaterialStateColor$(new A._DayPeriodControl_build_closure(colorScheme)); backgroundColor = timePickerTheme.dayPeriodColor; if (backgroundColor == null) backgroundColor = A._MaterialStateColor$(new A._DayPeriodControl_build_closure0(colorScheme, colorScheme.brightness === B.Brightness_0)); amSelected = (_this.selectedTime.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0; t1 = type$.MaterialState; amStates = amSelected ? A.LinkedHashSet_LinkedHashSet$_literal([B.MaterialState_4], t1) : A.LinkedHashSet_LinkedHashSet$_empty(t1); pmSelected = !amSelected; pmStates = pmSelected ? A.LinkedHashSet_LinkedHashSet$_literal([B.MaterialState_4], t1) : A.LinkedHashSet_LinkedHashSet$_empty(t1); textStyle = timePickerTheme.dayPeriodTextStyle; if (textStyle == null) { t1 = A.Theme_of(context).textTheme.subtitle1; t1.toString; textStyle = t1; } t1 = type$.nullable_Color; amStyle = textStyle.copyWith$1$color(A.MaterialStateProperty_resolveAs(textColor, amStates, t1)); pmStyle = textStyle.copyWith$1$color(A.MaterialStateProperty_resolveAs(textColor, pmStates, t1)); shape = timePickerTheme.dayPeriodShape; if (shape == null) shape = B.RoundedRectangleBorder_LkV1; borderSide = timePickerTheme.dayPeriodBorderSide; if (borderSide == null) { t2 = colorScheme.onBackground; borderSide = new A.BorderSide(A.Color_alphaBlend(A.Color$fromARGB(97, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255), colorScheme.surface), 1, B.BorderStyle_1); } shape = shape.copyWith$1$side(borderSide); buttonTextScaleFactor = Math.min(context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.textScaleFactor, 2); t2 = A.MaterialStateProperty_resolveAs(backgroundColor, amStates, t1); t3 = A.Feedback_wrapForTap(new A._DayPeriodControl_build_closure1(_this, context), context); t4 = A.Center$(A.Text$("AM", _null, _null, _null, _null, amStyle, _null, _null, buttonTextScaleFactor), _null, _null); amButton = A.Material$(B.Duration_200000, true, _null, A.InkWell$(false, _null, true, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, amSelected, _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, _null, _null, _null, _null, _null, _null, _null), false, false, false, t4, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null), B.Clip_0, t2, 0, _null, _null, _null, _null, B.MaterialType_0); t1 = A.MaterialStateProperty_resolveAs(backgroundColor, pmStates, t1); t2 = A.Feedback_wrapForTap(new A._DayPeriodControl_build_closure2(_this, context), context); t3 = A.Center$(A.Text$("PM", _null, _null, _null, _null, pmStyle, _null, _null, buttonTextScaleFactor), _null, _null); pmButton = A.Material$(B.Duration_200000, true, _null, A.InkWell$(false, _null, true, new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, true, pmSelected, _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, _null, _null, _null, _null, _null, _null, _null), false, false, false, t3, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, _null), B.Clip_0, t1, 0, _null, _null, _null, _null, B.MaterialType_0); t1 = _this.orientation; switch (t1.index) { case 0: result = A._DayPeriodInputPadding$(new A.SizedBox(52, 80, A.Material$(B.Duration_200000, true, _null, A.Column$(A._setArrayType([A.Expanded$(amButton, 1), A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(borderSide, B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF), _null, _null, _null, B.BoxShape_0), _null, 1, _null, _null, _null, _null, _null, _null), A.Expanded$(pmButton, 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_2, B.Color_0, 0, _null, _null, shape, _null, B.MaterialType_0), _null), B.Size_52_96, t1); break; case 1: result = A._DayPeriodInputPadding$(new A.SizedBox(_null, 40, A.Material$(B.Duration_200000, true, _null, A.Row$(A._setArrayType([A.Expanded$(amButton, 1), A.Container$(_null, _null, B.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF, borderSide), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, 1), A.Expanded$(pmButton, 1)], type$.JSArray_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), B.Clip_2, B.Color_0, 0, _null, _null, shape, _null, B.MaterialType_0), _null), B.Size_0_48, t1); break; default: result = _null; } return result; } }; A._DayPeriodControl_build_closure.prototype = { call$1(states) { var t1 = this.colorScheme; if (states.contains$1(0, B.MaterialState_4)) t1 = t1.primary; else { t1 = t1.onSurface; t1 = A.Color$fromARGB(153, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } return t1; }, $signature: 31 }; A._DayPeriodControl_build_closure0.prototype = { call$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) { t1 = this.colorScheme.primary; t1 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * (this.isDark ? 0.24 : 0.12)), t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } else t1 = B.Color_0; return t1; }, $signature: 31 }; A._DayPeriodControl_build_closure1.prototype = { call$0() { return this.$this._setAm$1(this.context); }, $signature: 0 }; A._DayPeriodControl_build_closure2.prototype = { call$0() { return this.$this._setPm$1(this.context); }, $signature: 0 }; A._DayPeriodInputPadding.prototype = { createRenderObject$1(context) { var t1 = new A._RenderInputPadding1(this.orientation, this.minSize, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$minSize(this.minSize); } }; A._RenderInputPadding1.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; }, _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._computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { var t2, t3, _this = this, t1 = _this._computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); _this._size = t1; t2 = _this.RenderObjectWithChildMixin__child; if (t2 != null) { t3 = t2.parentData; t3.toString; type$.BoxParentData._as(t3); t2 = t2._size; t2.toString; t3.offset = B.Alignment_0_0.alongOffset$1(type$.Offset._as(t1.$sub(0, t2))); } }, hitTest$2$position(result, position) { var t1, t2, t3, t4, newPosition, _this = this, _box_0 = {}; if (_this.super$RenderBox$hitTest(result, position)) return true; t1 = position._dx; if (!(t1 < 0)) { t2 = _this.RenderObjectWithChildMixin__child._size; t3 = t2._dx; t4 = _this._minSize; if (!(t1 > Math.max(t3, t4._dx))) { t3 = position._dy; t2 = t3 < 0 || t3 > Math.max(t2._dy, t4._dy); } else t2 = true; } else t2 = true; if (t2) return false; newPosition = _box_0.newPosition = _this.RenderObjectWithChildMixin__child._size.center$1(B.Offset_0_0); switch (_this.orientation.index) { case 0: if (position._dy > newPosition._dy) { newPosition = newPosition.$add(0, B.Offset_0_1); _box_0.newPosition = newPosition; t1 = newPosition; } else { newPosition = newPosition.$add(0, B.Offset_0_m1); _box_0.newPosition = newPosition; t1 = newPosition; } break; case 1: if (t1 > newPosition._dx) { newPosition = newPosition.$add(0, B.Offset_1_0); _box_0.newPosition = newPosition; t1 = newPosition; } else { newPosition = newPosition.$add(0, B.Offset_m1_0); _box_0.newPosition = newPosition; t1 = newPosition; } break; default: t1 = newPosition; } return result.addWithRawTransform$3$hitTest$position$transform(new A._RenderInputPadding_hitTest_closure1(_box_0, _this), t1, A.MatrixUtils_forceToPoint(t1)); } }; A._RenderInputPadding_hitTest_closure1.prototype = { call$2(result, position) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, this._box_0.newPosition); }, $signature: 15 }; A._TappableLabel.prototype = { get$value(receiver) { return this.value; } }; A._DialPainter.prototype = { paint$2(canvas, size) { var t3, t4, selectorPaint, focusedPoint, focusedRect, _this = this, t1 = size._dx, t2 = size._dy, radius = Math.min(Math.abs(t1), Math.abs(t2)) / 2, center = new A.Offset(t1 / 2, t2 / 2); t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, _this.backgroundColor); canvas.drawCircle$3(0, center, radius, t1); t1 = new A._DialPainter_paint_getOffsetForTheta(center, radius - 28); t2 = new A._DialPainter_paint_paintLabels(canvas, t1); t3 = _this.primaryLabels; t2.call$1(t3); t4 = A._detectRenderer(); selectorPaint = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); selectorPaint.set$color(0, _this.accentColor); t4 = _this.theta; focusedPoint = t1.call$1(t4); canvas.drawCircle$3(0, center, 4, selectorPaint); canvas.drawCircle$3(0, focusedPoint, 24, selectorPaint); selectorPaint.set$strokeWidth(2); canvas.drawLine$3(0, center, focusedPoint, selectorPaint); t1 = B.JSNumber_methods.$mod(t4, -6.283185307179586 / t3.length); if (t1 > 0.1 && t1 < 0.45) { selectorPaint.set$color(0, _this.dotColor); canvas.drawCircle$3(0, focusedPoint, 2, selectorPaint); } focusedRect = A.Rect$fromCircle(focusedPoint, 24); canvas.save$0(0); t1 = A.Path_Path(); t1.addOval$1(0, focusedRect); canvas.clipPath$1(0, t1); t2.call$1(_this.secondaryLabels); canvas.restore$0(0); }, shouldRepaint$1(oldPainter) { var _this = this; return oldPainter.primaryLabels !== _this.primaryLabels || oldPainter.secondaryLabels !== _this.secondaryLabels || !oldPainter.backgroundColor.$eq(0, _this.backgroundColor) || !oldPainter.accentColor.$eq(0, _this.accentColor) || oldPainter.theta !== _this.theta; } }; A._DialPainter_paint_getOffsetForTheta.prototype = { call$1(theta) { var t1 = this.labelRadius; return this.center.$add(0, new A.Offset(t1 * Math.cos(theta), -t1 * Math.sin(theta))); }, $signature: 535 }; A._DialPainter_paint_paintLabels.prototype = { call$1(labels) { var t2, t3, labelTheta, _i, labelPainter, t4, t5, t6, t1 = labels.length, labelThetaIncrement = -6.283185307179586 / t1; for (t2 = this.canvas, t3 = this.getOffsetForTheta, labelTheta = 1.5707963267948966, _i = 0; _i < labels.length; labels.length === t1 || (0, A.throwConcurrentModificationError)(labels), ++_i) { labelPainter = labels[_i].painter; t4 = labelPainter._textWidthBasis; t5 = labelPainter._paragraph; t4 = t4 === B.TextWidthBasis_1 ? t5.get$longestLine() : t5.get$width(t5); t4 = Math.ceil(t4); t5 = labelPainter._paragraph; t5 = Math.ceil(t5.get$height(t5)); t6 = t3.call$1(labelTheta); labelPainter.paint$2(t2, new A.Offset(t6._dx + -t4 / 2, t6._dy + -t5 / 2)); labelTheta += labelThetaIncrement; } }, $signature: 536 }; A._Dial.prototype = { createState$0() { return new A._DialState(null, B._StateLifecycle_0); } }; A._DialState.prototype = { initState$0() { var t1, t2, t3, _this = this, _null = null; _this.super$State$initState(); _this.___DialState__thetaController = A.AnimationController$(_null, B.Duration_200000, _null, 1, _null, _this); _this.___DialState__thetaTween = new A.Tween(_this._getThetaForTime$1(_this._widget.selectedTime), _null, type$.Tween_double); t1 = type$.Animation_double; t2 = t1._as(A._lateReadCheck(_this.___DialState__thetaController, "_thetaController")); t3 = A._lateReadCheck(_this.___DialState__thetaTween, "_thetaTween"); t2 = t1._as(new A._AnimatedEvaluation(t2, new A.CurveTween(B.Cubic_ifx), type$.CurveTween._eval$1("_AnimatedEvaluation<Animatable.T>"))); t2.addListener$1(0, new A._DialState_initState_closure(_this)); _this.___DialState__theta = new A._AnimatedEvaluation(t2, t3, A._instanceType(t3)._eval$1("_AnimatedEvaluation<Animatable.T>")); }, didChangeDependencies$0() { var t1, _this = this; _this.super$__DialState_State_SingleTickerProviderStateMixin$didChangeDependencies(); t1 = _this._framework$_element; t1.toString; _this.___DialState_themeData = A.Theme_of(t1); t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; _this.___DialState_localizations = t1; _this.___DialState_media = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget; if (t1.mode !== oldWidget.mode || !t1.selectedTime.$eq(0, oldWidget.selectedTime)) if (!_this._time_picker$_dragging) _this._time_picker$_animateTo$1(_this._getThetaForTime$1(_this._widget.selectedTime)); }, dispose$0(_) { A._lateReadCheck(this.___DialState__thetaController, "_thetaController").dispose$0(0); this.super$__DialState_State_SingleTickerProviderStateMixin$dispose(0); }, _time_picker$_animateTo$1(targetTheta) { var currentTheta, beginTheta, t1 = A._lateReadCheck(this.___DialState__theta, "_theta"), t2 = t1._evaluatable; t1 = t1.parent; currentTheta = t2.transform$1(0, t1.get$value(t1)); beginTheta = A._DialState__nearest(targetTheta, A._DialState__nearest(targetTheta, currentTheta, currentTheta + 6.283185307179586), currentTheta - 6.283185307179586); t1 = A._lateReadCheck(this.___DialState__thetaTween, "_thetaTween"); t1.begin = beginTheta; t1.end = targetTheta; t1 = A._lateReadCheck(this.___DialState__thetaController, "_thetaController"); t1.set$value(0, 0); t1.forward$0(0); }, _getThetaForTime$1(time) { var t1 = this._widget, hoursFactor = t1.use24HourDials ? 24 : 12; return B.JSNumber_methods.$mod(1.5707963267948966 - (t1.mode === B._TimePickerMode_0 ? B.JSNumber_methods.$mod(time.hour / hoursFactor, hoursFactor) : B.JSNumber_methods.$mod(time.minute / 60, 60)) * 6.283185307179586, 6.283185307179586); }, _getTimeForTheta$2$roundMinutes(theta, roundMinutes) { var newHour, minute, fraction = B.JSNumber_methods.$mod(0.25 - B.JSNumber_methods.$mod(theta, 6.283185307179586) / 6.283185307179586, 1), t1 = this._widget; if (t1.mode === B._TimePickerMode_0) { if (t1.use24HourDials) newHour = B.JSInt_methods.$mod(B.JSNumber_methods.round$0(fraction * 24), 24); else { newHour = B.JSInt_methods.$mod(B.JSNumber_methods.round$0(fraction * 12), 12); newHour += (t1.selectedTime.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0 ? 0 : 12; } return t1.selectedTime.replacing$1$hour(newHour); } else { minute = B.JSInt_methods.$mod(B.JSNumber_methods.round$0(fraction * 60), 60); if (roundMinutes) minute = B.JSInt_methods.$mod(B.JSInt_methods._tdivFast$1(minute + 2, 5) * 5, 60); return t1.selectedTime.replacing$1$minute(minute); } }, _notifyOnChangedIfNeeded$1$roundMinutes(roundMinutes) { var current, _this = this, t1 = A._lateReadCheck(_this.___DialState__theta, "_theta"), t2 = t1._evaluatable; t1 = t1.parent; current = _this._getTimeForTheta$2$roundMinutes(t2.transform$1(0, t1.get$value(t1)), roundMinutes); t1 = _this._widget; if (!current.$eq(0, t1.selectedTime)) _this._widget.onChanged.call$1(current); return current; }, _notifyOnChangedIfNeeded$0() { return this._notifyOnChangedIfNeeded$1$roundMinutes(false); }, _updateThetaForPan$1$roundMinutes(roundMinutes) { this.setState$1(new A._DialState__updateThetaForPan_closure(this, roundMinutes)); }, _updateThetaForPan$0() { return this._updateThetaForPan$1$roundMinutes(false); }, _handlePanStart$1(details) { var t1, _this = this; _this._time_picker$_dragging = true; t1 = _this._framework$_element.get$renderObject(); t1.toString; type$.RenderBox._as(t1); _this._time_picker$_position = t1.globalToLocal$1(details.globalPosition); _this._time_picker$_center = t1._size.center$1(B.Offset_0_0); _this._updateThetaForPan$0(); _this._notifyOnChangedIfNeeded$0(); }, _handlePanUpdate$1(details) { var _this = this; _this._time_picker$_position = _this._time_picker$_position.$add(0, details.delta); _this._updateThetaForPan$0(); _this._notifyOnChangedIfNeeded$0(); }, _handlePanEnd$1(details) { var t1, _this = this; _this._time_picker$_dragging = false; _this._time_picker$_center = _this._time_picker$_position = null; _this._time_picker$_animateTo$1(_this._getThetaForTime$1(_this._widget.selectedTime)); t1 = _this._widget; if (t1.mode === B._TimePickerMode_0) t1.onHourSelected.call$0(); }, _time_picker$_handleTapUp$1(details) { var newTime, t2, t3, t4, _this = this, _s13_ = "localizations", t1 = _this._framework$_element.get$renderObject(); t1.toString; type$.RenderBox._as(t1); _this._time_picker$_position = t1.globalToLocal$1(details.globalPosition); _this._time_picker$_center = t1._size.center$1(B.Offset_0_0); _this._updateThetaForPan$1$roundMinutes(true); newTime = _this._notifyOnChangedIfNeeded$1$roundMinutes(true); t1 = _this._widget; if (t1.mode === B._TimePickerMode_0) { t1 = t1.use24HourDials; t2 = type$.Directionality; t3 = _this._framework$_element; t4 = _this.___DialState_localizations; if (t1) { t3.toString; t1 = A._lateReadCheck(t4, _s13_).formatDecimal$1(newTime.hour); t2 = t3.dependOnInheritedWidgetOfExactType$1$0(t2); t2.toString; A.SemanticsService_announce(t1, t2.textDirection); } else { t3.toString; t1 = A._lateReadCheck(t4, _s13_).formatDecimal$1(newTime.get$hourOfPeriod()); t2 = t3.dependOnInheritedWidgetOfExactType$1$0(t2); t2.toString; A.SemanticsService_announce(t1, t2.textDirection); } _this._widget.onHourSelected.call$0(); } else { t1 = _this._framework$_element; t1.toString; t2 = A._lateReadCheck(_this.___DialState_localizations, _s13_).formatDecimal$1(newTime.minute); t1 = t1.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; A.SemanticsService_announce(t2, t1.textDirection); } t1 = A._lateReadCheck(_this.___DialState__theta, "_theta"); t2 = t1._evaluatable; t1 = t1.parent; _this._time_picker$_animateTo$1(_this._getThetaForTime$1(_this._getTimeForTheta$2$roundMinutes(t2.transform$1(0, t1.get$value(t1)), true))); _this._time_picker$_dragging = false; _this._time_picker$_center = _this._time_picker$_position = null; }, _selectHour$1(hour) { var t2, time, angle, _this = this, t1 = _this._framework$_element; t1.toString; t2 = A._lateReadCheck(_this.___DialState_localizations, "localizations").formatDecimal$1(hour); t1 = t1.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; A.SemanticsService_announce(t2, t1.textDirection); t1 = _this._widget; if (t1.mode === B._TimePickerMode_0 && t1.use24HourDials) time = new A.TimeOfDay(hour, t1.selectedTime.minute); else { t1 = t1.selectedTime; t2 = t1.hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1; t1 = t1.minute; time = t2 === B.DayPeriod_0 ? new A.TimeOfDay(hour, t1) : new A.TimeOfDay(hour + 12, t1); } angle = _this._getThetaForTime$1(time); t1 = A._lateReadCheck(_this.___DialState__thetaTween, "_thetaTween"); t1.end = t1.begin = angle; _this._notifyOnChangedIfNeeded$0(); }, _buildTappableLabel$5(textTheme, color, value, label, onTap) { var _null = null, style = textTheme.bodyText1.copyWith$1$color(color), labelScaleFactor = Math.min(this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.textScaleFactor, 2), t1 = A.TextPainter$(_null, _null, _null, _null, A.TextSpan$(_null, _null, _null, _null, style, label), B.TextAlign_4, B.TextDirection_1, _null, labelScaleFactor, B.TextWidthBasis_0); t1.layout$0(0); return new A._TappableLabel(value, t1, onTap); }, _build24HourRing$2(textTheme, color) { var _i, timeOfDay, t2, _this = this, t1 = A._setArrayType([], type$.JSArray__TappableLabel); for (_i = 0; _i < 12; ++_i) { timeOfDay = B.List_htm1[_i]; t2 = A._lateReadCheck(_this.___DialState_localizations, "localizations"); A._lateReadCheck(_this.___DialState_media, "media"); t1.push(_this._buildTappableLabel$5(textTheme, color, timeOfDay.hour, t2.formatHour$2$alwaysUse24HourFormat(timeOfDay, false), new A._DialState__build24HourRing_closure(_this, timeOfDay))); } return t1; }, _build12HourRing$2(textTheme, color) { var _i, timeOfDay, t2, _this = this, t1 = A._setArrayType([], type$.JSArray__TappableLabel); for (_i = 0; _i < 12; ++_i) { timeOfDay = B.List_htm0[_i]; t2 = A._lateReadCheck(_this.___DialState_localizations, "localizations"); A._lateReadCheck(_this.___DialState_media, "media"); t1.push(_this._buildTappableLabel$5(textTheme, color, timeOfDay.hour, t2.formatHour$2$alwaysUse24HourFormat(timeOfDay, false), new A._DialState__build12HourRing_closure(_this, timeOfDay))); } return t1; }, _buildMinutes$2(textTheme, color) { var _i, timeOfDay, t2, t3, t1 = A._setArrayType([], type$.JSArray__TappableLabel); for (_i = 0; _i < 12; ++_i) { timeOfDay = B.List_htm[_i]; t2 = timeOfDay.minute; A._lateReadCheck(this.___DialState_localizations, "localizations"); t3 = t2 < 10 ? "0" + t2 : B.JSInt_methods.toString$0(t2); t1.push(this._buildTappableLabel$5(textTheme, color, t2, t3, new A._DialState__buildMinutes_closure(this, timeOfDay))); } return t1; }, build$1(_, context) { var t1, accentColor, t2, t3, primaryLabelColor, secondaryLabelColor, primaryLabels, secondaryLabels, _this = this, _null = null, _s9_ = "themeData", theme = A.Theme_of(context), pickerTheme = A.TimePickerTheme_of(context), backgroundColor = pickerTheme.dialBackgroundColor; if (backgroundColor == null) { t1 = A._lateReadCheck(_this.___DialState_themeData, _s9_).colorScheme.onBackground; backgroundColor = A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } accentColor = pickerTheme.dialHandColor; if (accentColor == null) accentColor = A._lateReadCheck(_this.___DialState_themeData, _s9_).colorScheme.primary; t1 = pickerTheme.dialTextColor; t2 = type$.MaterialState; t3 = type$.nullable_Color; primaryLabelColor = A.MaterialStateProperty_resolveAs(t1, A.LinkedHashSet_LinkedHashSet$_empty(t2), t3); if (primaryLabelColor == null) primaryLabelColor = A._lateReadCheck(_this.___DialState_themeData, _s9_).colorScheme.onSurface; secondaryLabelColor = A.MaterialStateProperty_resolveAs(t1, A.LinkedHashSet_LinkedHashSet$_literal([B.MaterialState_4], t2), t3); if (secondaryLabelColor == null) secondaryLabelColor = A._lateReadCheck(_this.___DialState_themeData, _s9_).colorScheme.onPrimary; t1 = _this._widget; switch (t1.mode.index) { case 0: t2 = t1.use24HourDials; t1 = t1.selectedTime; t3 = theme.textTheme; if (t2) { primaryLabels = _this._build24HourRing$2(t3, primaryLabelColor); secondaryLabels = _this._build24HourRing$2(t3, secondaryLabelColor); } else { t1.get$hourOfPeriod(); primaryLabels = _this._build12HourRing$2(t3, primaryLabelColor); secondaryLabels = _this._build12HourRing$2(t3, secondaryLabelColor); } break; case 1: t1 = theme.textTheme; primaryLabels = _this._buildMinutes$2(t1, primaryLabelColor); secondaryLabels = _this._buildMinutes$2(t1, secondaryLabelColor); break; default: secondaryLabels = _null; primaryLabels = secondaryLabels; } t1 = A._lateReadCheck(_this.___DialState__theta, "_theta"); t2 = t1._evaluatable; t1 = t1.parent; t1 = t2.transform$1(0, t1.get$value(t1)); context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality).toString; return A.GestureDetector$(_null, A.CustomPaint$(_null, _null, B.ValueKey_U86, new A._DialPainter(primaryLabels, secondaryLabels, backgroundColor, accentColor, theme.colorScheme.surface, t1, $.PaintingBinding__instance.PaintingBinding__systemFonts), B.Size_0_0), B.DragStartBehavior_1, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_handlePanEnd(), _this.get$_handlePanStart(), _this.get$_handlePanUpdate(), _null, _null, _null, _null, _this.get$_time_picker$_handleTapUp(), _null, _null, _null, _null); } }; A._DialState_initState_closure.prototype = { call$0() { return this.$this.setState$1(new A._DialState_initState__closure()); }, $signature: 0 }; A._DialState_initState__closure.prototype = { call$0() { }, $signature: 0 }; A._DialState__updateThetaForPan_closure.prototype = { call$0() { var t3, offset, angle, t1 = this.$this, t2 = t1._time_picker$_position; t2.toString; t3 = t1._time_picker$_center; t3.toString; offset = t2.$sub(0, t3); angle = B.JSNumber_methods.$mod(Math.atan2(offset._dx, offset._dy) - 1.5707963267948966, 6.283185307179586); if (this.roundMinutes) angle = t1._getThetaForTime$1(t1._getTimeForTheta$2$roundMinutes(angle, true)); t1 = A._lateReadCheck(t1.___DialState__thetaTween, "_thetaTween"); t1.end = t1.begin = angle; }, $signature: 0 }; A._DialState__build24HourRing_closure.prototype = { call$0() { this.$this._selectHour$1(this.timeOfDay.hour); }, $signature: 0 }; A._DialState__build12HourRing_closure.prototype = { call$0() { this.$this._selectHour$1(this.timeOfDay.hour); }, $signature: 0 }; A._DialState__buildMinutes_closure.prototype = { call$0() { var t4, angle, t1 = this.$this, t2 = this.timeOfDay.minute, t3 = t1._framework$_element; t3.toString; t4 = A._lateReadCheck(t1.___DialState_localizations, "localizations").formatDecimal$1(t2); t3 = t3.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t3.toString; A.SemanticsService_announce(t4, t3.textDirection); angle = t1._getThetaForTime$1(new A.TimeOfDay(t1._widget.selectedTime.hour, t2)); t2 = A._lateReadCheck(t1.___DialState__thetaTween, "_thetaTween"); t2.end = t2.begin = angle; t1._notifyOnChangedIfNeeded$0(); }, $signature: 0 }; A._TimePickerInput.prototype = { createState$0() { return new A._TimePickerInputState(A.RestorableBool$(false), A.RestorableBool$(false), null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), null, true, null, B._StateLifecycle_0); }, onChanged$1(arg0) { return this.onChanged.call$1(arg0); } }; A._TimePickerInputState.prototype = { get$_selectedTime() { var t1, t2, _this = this, value = _this.___TimePickerInputState__selectedTime; if (value === $) { t1 = _this._widget.initialSelectedTime; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.___TimePickerInputState__selectedTime, "_selectedTime"); value = _this.___TimePickerInputState__selectedTime = new A.RestorableTimeOfDay(t1, t2); } return value; }, get$restorationId() { return this._widget.restorationId; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this.get$_selectedTime(), "selected_time"); _this.registerForRestoration$2(_this.hourHasError, "hour_has_error"); _this.registerForRestoration$2(_this.minuteHasError, "minute_has_error"); }, _parseHour$1(value) { var newHour, t1, _null = null; if (value == null) return _null; newHour = A.Primitives_parseInt(value, _null); if (newHour == null) return _null; this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; if (newHour > 0 && newHour < 13) { t1 = this.get$_selectedTime(); if (!((A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value).hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_1 && newHour !== 12)) { t1 = this.get$_selectedTime(); t1 = (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value).hour < 12 ? B.DayPeriod_0 : B.DayPeriod_1) === B.DayPeriod_0 && newHour === 12; } else t1 = true; return t1 ? B.JSInt_methods.$mod(newHour + 12, 24) : newHour; } return _null; }, _parseMinute$1(value) { var newMinute, _null = null; if (value == null) return _null; newMinute = A.Primitives_parseInt(value, _null); if (newMinute == null) return _null; if (newMinute >= 0 && newMinute < 60) return newMinute; return _null; }, _handleHourSavedSubmitted$1(value) { var t1, t2, _this = this, newHour = _this._parseHour$1(value); if (newHour != null) { t1 = _this.get$_selectedTime(); t2 = _this.get$_selectedTime(); t1.set$value(0, new A.TimeOfDay(newHour, A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value).minute)); t2 = _this._widget; t2.toString; t1 = _this.get$_selectedTime(); t2.onChanged$1(A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)); } }, _handleHourChanged$1(value) { var t1; if (this._parseHour$1(value) != null && value.length === 2) { t1 = this._framework$_element; t1.toString; t1 = A.FocusScope_of(t1); t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, true); } }, _handleMinuteSavedSubmitted$1(value) { var t1, t2, _this = this; if (_this._parseMinute$1(value) != null) { t1 = _this.get$_selectedTime(); t2 = _this.get$_selectedTime(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value).hour; value.toString; t1.set$value(0, new A.TimeOfDay(t2, A.int_parse(value, null))); t2 = _this._widget; t2.toString; t1 = _this.get$_selectedTime(); t2.onChanged$1(A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)); } }, _handleDayPeriodChanged$1(value) { var t1, t2; this.get$_selectedTime().set$value(0, value); t1 = this._widget; t1.toString; t2 = this.get$_selectedTime(); t1.onChanged$1(A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value)); }, _validateHour$1(value) { var newHour = this._parseHour$1(value); this.setState$1(new A._TimePickerInputState__validateHour_closure(this, newHour)); return newHour == null ? "" : null; }, _validateMinute$1(value) { var newMinute = this._parseMinute$1(value); this.setState$1(new A._TimePickerInputState__validateMinute_closure(this, newMinute)); return newMinute == null ? "" : null; }, build$1(_, context) { var t1, t2, theme, hourMinuteStyle, t3, t4, t5, t6, t7, t8, t9, t10, t11, _this = this, _null = null; context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; t1 = type$.MaterialLocalizations; A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1).toString; t2 = A.hourFormat(B.TimeOfDayFormat_4); theme = A.Theme_of(context); hourMinuteStyle = A.TimePickerTheme_of(context).hourMinuteTextStyle; if (hourMinuteStyle == null) { t3 = theme.textTheme.headline2; t3.toString; hourMinuteStyle = t3; } _this._widget.toString; t3 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1); t3.toString; t3 = A.TimePickerTheme_of(context).helpTextStyle; t3 = A.Text$("ENTER TIME", _null, _null, _null, _null, t3 == null ? theme.textTheme.overline : t3, _null, _null, _null); t4 = type$.JSArray_Widget; t5 = A._setArrayType([], t4); t6 = _this.get$_selectedTime(); t6 = A._instanceType(t6)._eval$1("RestorableValue.T")._as(t6._restoration_properties$_value); t7 = _this._widget; t7 = A._setArrayType([B.SizedBox_null_8_null_null, new A._HourTextField(t6, hourMinuteStyle, t7.autofocusHour, _this.get$_validateHour(), _this.get$_handleHourSavedSubmitted(), _this.get$_handleHourChanged(), t7.hourLabelText, "hour_text_field", _null), B.SizedBox_null_8_null_null], t4); t6 = _this.hourHasError; t8 = A._instanceType(t6)._eval$1("RestorableValue.T"); if (!t8._as(t6._restoration_properties$_value)) { t9 = _this.minuteHasError; t9 = !A._instanceType(t9)._eval$1("RestorableValue.T")._as(t9._restoration_properties$_value); } else t9 = false; if (t9) { _this._widget.toString; t9 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1); t9.toString; t7.push(new A.ExcludeSemantics(true, A.Text$("Hour", 1, B.TextOverflow_2, _null, _null, theme.textTheme.caption, _null, _null, _null), _null)); } t7 = A.Expanded$(A.Column$(t7, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1); t9 = A.Container$(_null, new A._StringFragment(B.TimeOfDayFormat_4, _null), B.Clip_0, _null, _null, _null, _null, 80, _null, B.EdgeInsets_0_8_0_0, _null, _null, _null, _null); t10 = _this.get$_selectedTime(); t10 = A._instanceType(t10)._eval$1("RestorableValue.T")._as(t10._restoration_properties$_value); t11 = _this._widget; t11 = A._setArrayType([B.SizedBox_null_8_null_null, new A._MinuteTextField(t10, hourMinuteStyle, t11.autofocusMinute, _this.get$_validateMinute(), _this.get$_handleMinuteSavedSubmitted(), t11.minuteLabelText, "minute_text_field", _null), B.SizedBox_null_8_null_null], t4); if (!t8._as(t6._restoration_properties$_value)) { t10 = _this.minuteHasError; t10 = !A._instanceType(t10)._eval$1("RestorableValue.T")._as(t10._restoration_properties$_value); } else t10 = false; if (t10) { _this._widget.toString; t10 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1); t10.toString; t11.push(new A.ExcludeSemantics(true, A.Text$("Minute", 1, B.TextOverflow_2, _null, _null, theme.textTheme.caption, _null, _null, _null), _null)); } t5.push(A.Expanded$(A.Row$(A._setArrayType([t7, t9, A.Expanded$(A.Column$(t11, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), 1)], t4), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, B.TextDirection_1), 1)); if (t2 === B.HourFormat_2 && true) { t2 = _this.get$_selectedTime(); B.JSArray_methods.addAll$1(t5, A._setArrayType([B.SizedBox_12_null_null_null, new A._DayPeriodControl(A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value), B.Orientation_0, _this.get$_handleDayPeriodChanged(), _null)], t4)); } t2 = A._setArrayType([t3, B.SizedBox_null_16_null_null, A.Row$(t5, B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null)], t4); if (!t8._as(t6._restoration_properties$_value)) { t3 = _this.minuteHasError; t3 = A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value); } else t3 = true; if (t3) { _this._widget.toString; t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t1); t1.toString; t2.push(A.Text$("Enter a valid time", _null, _null, _null, _null, theme.textTheme.bodyText2.copyWith$1$color(theme.colorScheme.error), _null, _null, _null)); } else t2.push(B.SizedBox_null_2_null_null); return new A.Padding(B.EdgeInsets_24_16_24_16, A.Column$(t2, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), _null); } }; A._TimePickerInputState__validateHour_closure.prototype = { call$0() { this.$this.hourHasError.super$RestorableValue$value(0, this.newHour == null); }, $signature: 0 }; A._TimePickerInputState__validateMinute_closure.prototype = { call$0() { this.$this.minuteHasError.super$RestorableValue$value(0, this.newMinute == null); }, $signature: 0 }; A._HourTextField.prototype = { build$1(_, context) { var _this = this, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; return A._HourMinuteTextField$(_this.autofocus, true, _this.onChanged, _this.onSavedSubmitted, _this.restorationId, _this.selectedTime, "Hour", _this.style, _this.validator); } }; A._MinuteTextField.prototype = { build$1(_, context) { var _this = this, t1 = A.Localizations_of(context, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; return A._HourMinuteTextField$(_this.autofocus, false, null, _this.onSavedSubmitted, _this.restorationId, _this.selectedTime, "Minute", _this.style, _this.validator); } }; A._HourMinuteTextField.prototype = { createState$0() { var _null = null; return new A._HourMinuteTextFieldState(new A.RestorableTextEditingController(B.TextEditingValue_li8, A.List_List$filled(0, _null, false, type$.nullable_void_Function)), A.RestorableBool$(false), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0); }, onSavedSubmitted$1(arg0) { return this.onSavedSubmitted.call$1(arg0); } }; A._HourMinuteTextFieldState.prototype = { initState$0() { this.super$State$initState(); var t1 = A.FocusNode$(true, null, true, null, null, false); t1.addListener$1(0, new A._HourMinuteTextFieldState_initState_closure(this)); this.___HourMinuteTextFieldState_focusNode = t1; }, didChangeDependencies$0() { var t1, _this = this; _this.super$__HourMinuteTextFieldState_State_RestorationMixin$didChangeDependencies(); t1 = _this.controllerHasBeenSet; if (!A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) { t1.super$RestorableValue$value(0, true); t1 = _this.controller._restoration_properties$_value; t1.toString; t1.set$text(0, _this.get$_formattedValue()); } }, get$restorationId() { return this._widget.restorationId; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this.controller, "text_editing_controller"); _this.registerForRestoration$2(_this.controllerHasBeenSet, "has_controller_been_set"); }, get$_formattedValue() { var t1, t2, t3; this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; t1 = this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; t2 = this._widget; t3 = t2.isHour; t2 = t2.selectedTime; return !t3 ? t1.formatMinute$1(t2) : t1.formatHour$2$alwaysUse24HourFormat(t2, false); }, build$1(_, context) { var hintText, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null, _s9_ = "focusNode", theme = A.Theme_of(context), timePickerTheme = A.TimePickerTheme_of(context), colorScheme = theme.colorScheme, t1 = colorScheme.error, t2 = _this._widget, t3 = colorScheme.onSurface, inputDecoration = A.InputDecoration$(_null, _null, _null, B.EdgeInsets_0_0_0_0, _null, _null, _null, _null, true, B.OutlineInputBorder_Fb0, new A.OutlineInputBorder(4, B.BorderRadius_tLn0, new A.BorderSide(t1, 2, B.BorderStyle_1)), _null, B.TextStyle_zIQ2, _null, _null, true, _null, _null, _null, new A.OutlineInputBorder(4, B.BorderRadius_tLn0, new A.BorderSide(colorScheme.primary, 2, B.BorderStyle_1)), new A.OutlineInputBorder(4, B.BorderRadius_tLn0, new A.BorderSide(t1, 2, B.BorderStyle_1)), _null, _null, _null, _null, t2.style.copyWith$1$color(A.Color$fromARGB(92, t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255)), _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), unfocusedFillColor = timePickerTheme.hourMinuteColor; if (unfocusedFillColor == null) { t1 = colorScheme.onSurface; unfocusedFillColor = A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = type$.MediaQuery; if (context.dependOnInheritedWidgetOfExactType$1$0(t1).data.accessibleNavigation || $.$get$window().platformDispatcher._configuration.semanticsEnabled) hintText = _this._widget.semanticHintText; else hintText = A._lateReadCheck(_this.___HourMinuteTextFieldState_focusNode, _s9_).get$hasFocus() ? _null : _this.get$_formattedValue(); if (A._lateReadCheck(_this.___HourMinuteTextFieldState_focusNode, _s9_).get$hasFocus()) t2 = B.Color_0; else t2 = unfocusedFillColor; inputDecoration = inputDecoration.copyWith$2$fillColor$hintText(t2, hintText); t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data.copyWith$1$textScaleFactor(1); t2 = _this.RestorationMixin__bucket; t3 = _this._widget.autofocus; t4 = A._setArrayType([new A.LengthLimitingTextInputFormatter(2, _null)], type$.JSArray_TextInputFormatter); t5 = A._lateReadCheck(_this.___HourMinuteTextFieldState_focusNode, _s9_); t6 = _this._widget.style; t7 = timePickerTheme.hourMinuteTextColor; t6 = t6.copyWith$1$color(t7 == null ? colorScheme.onSurface : t7); t7 = _this.controller._restoration_properties$_value; t7.toString; t8 = _this._widget; t9 = t8.validator; t10 = t8.onSavedSubmitted; return new A.SizedBox(_null, 80, new A.MediaQuery(t1, A.UnmanagedRestorationScope$(t2, A.TextFormField$(t3 === true, t7, inputDecoration, true, t5, _null, t4, B.TextInputType_2_false_false, _null, false, t8.onChanged, new A._HourMinuteTextFieldState_build_closure(_this), t10, t10, false, "hour_minute_text_form_field", t6, B.TextAlign_2, _null, t9)), _null), _null); } }; A._HourMinuteTextFieldState_initState_closure.prototype = { call$0() { this.$this.setState$1(new A._HourMinuteTextFieldState_initState__closure()); }, $signature: 0 }; A._HourMinuteTextFieldState_initState__closure.prototype = { call$0() { }, $signature: 0 }; A._HourMinuteTextFieldState_build_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget; t2.toString; return t2.onSavedSubmitted$1(t1.controller._restoration_properties$_value._change_notifier$_value.text); }, $signature: 0 }; A.TimePickerDialog.prototype = { createState$0() { var _null = null, t1 = type$.nullable_void_Function; return new A._TimePickerDialogState(new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_FormState), new A._RestorableTimePickerMode(B._TimePickerMode_0, A.List_List$filled(0, _null, false, t1)), new A._RestorableTimePickerModeN(_null, A.List_List$filled(0, _null, false, t1)), new A._RestorableAutovalidateMode(B.AutovalidateMode_0, A.List_List$filled(0, _null, false, t1)), new A.RestorableBoolN(_null, A.List_List$filled(0, _null, false, t1)), new A.RestorableBoolN(_null, A.List_List$filled(0, _null, false, t1)), A.RestorableBool$(false), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, B._StateLifecycle_0); } }; A._RestorableTimePickerEntryMode.prototype = { createDefaultValue$0() { return this._time_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_boW[A._asInt(data)]; }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value).index; } }; A._RestorableTimePickerMode.prototype = { createDefaultValue$0() { return this._time_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_izR[A._asInt(data)]; }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value).index; } }; A._RestorableAutovalidateMode.prototype = { createDefaultValue$0() { return this._time_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_wbZ[A._asInt(data)]; }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value).index; } }; A._RestorableTimePickerModeN.prototype = { createDefaultValue$0() { return this._time_picker$_defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return B.List_izR[A._asInt(data)]; }, toPrimitives$0() { var t1 = A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value); return t1 == null ? null : t1.index; } }; A._TimePickerDialogState.prototype = { get$_entryMode() { var t1, t2, _this = this, value = _this.___TimePickerDialogState__entryMode; if (value === $) { t1 = _this._widget.initialEntryMode; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.___TimePickerDialogState__entryMode, "_entryMode"); value = _this.___TimePickerDialogState__entryMode = new A._RestorableTimePickerEntryMode(t1, t2); } return value; }, didChangeDependencies$0() { var t1, _this = this; _this.super$__TimePickerDialogState_State_RestorationMixin$didChangeDependencies(); t1 = _this._framework$_element; t1.toString; t1 = A.Localizations_of(t1, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t1.toString; _this.___TimePickerDialogState_localizations = t1; _this._announceInitialTimeOnce$0(); _this._announceModeOnce$0(); }, initState$0() { var _this = this, _s18_ = "_entryModeListener"; _this.super$State$initState(); A._lateWriteOnceCheck(_this.___TimePickerDialogState__entryModeListener, _s18_); _this.___TimePickerDialogState__entryModeListener = new A._TimePickerDialogState_initState_closure(_this); _this.get$_entryMode().addListener$1(0, A._lateReadCheck(_this.___TimePickerDialogState__entryModeListener, _s18_)); }, get$restorationId() { this._widget.toString; return null; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this.get$_entryMode(), "entry_mode"); _this.registerForRestoration$2(_this._time_picker$_mode, "mode"); _this.registerForRestoration$2(_this._lastModeAnnounced, "last_mode_announced"); _this.registerForRestoration$2(_this._autovalidateMode, "autovalidateMode"); _this.registerForRestoration$2(_this._autofocusHour, "autofocus_hour"); _this.registerForRestoration$2(_this._autofocusMinute, "autofocus_minute"); _this.registerForRestoration$2(_this._announcedInitialTime, "announced_initial_time"); _this.registerForRestoration$2(_this.get$_selectedTime(), "selected_time"); }, get$_selectedTime() { var t1, t2, _this = this, value = _this.___TimePickerDialogState__selectedTime; if (value === $) { t1 = _this._widget.initialTime; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.___TimePickerDialogState__selectedTime, "_selectedTime"); value = _this.___TimePickerDialogState__selectedTime = new A.RestorableTimeOfDay(t1, t2); } return value; }, _vibrate$0() { var _this = this, t1 = _this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 0: case 1: case 3: case 5: t1 = _this._vibrateTimer; if (t1 != null) t1.cancel$0(0); _this._vibrateTimer = A.Timer_Timer(B.Duration_100000, new A._TimePickerDialogState__vibrate_closure(_this)); break; case 2: case 4: break; } }, _handleModeChanged$1(mode) { this._vibrate$0(); this.setState$1(new A._TimePickerDialogState__handleModeChanged_closure(this, mode)); }, _handleEntryModeToggle$0() { this.setState$1(new A._TimePickerDialogState__handleEntryModeToggle_closure(this)); }, _announceModeOnce$0() { var t4, _this = this, _s13_ = "localizations", t1 = _this._lastModeAnnounced, t2 = _this._time_picker$_mode, t3 = A._instanceType(t2)._eval$1("RestorableValue.T"); if (J.$eq$(A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value), t3._as(t2._restoration_properties$_value))) return; switch (t3._as(t2._restoration_properties$_value)) { case B._TimePickerMode_0: t4 = _this._framework$_element; t4.toString; A._lateReadCheck(_this.___TimePickerDialogState_localizations, _s13_); t4 = t4.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t4.toString; A.SemanticsService_announce("Select hours", t4.textDirection); break; case B._TimePickerMode_1: t4 = _this._framework$_element; t4.toString; A._lateReadCheck(_this.___TimePickerDialogState_localizations, _s13_); t4 = t4.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t4.toString; A.SemanticsService_announce("Select minutes", t4.textDirection); break; } t1.set$value(0, t3._as(t2._restoration_properties$_value)); }, _announceInitialTimeOnce$0() { var t2, t3, _this = this, t1 = _this._announcedInitialTime; if (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) return; _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).toString; t2 = _this._framework$_element; t2.toString; t2 = A.Localizations_of(t2, B.Type_MaterialLocalizations_flR, type$.MaterialLocalizations); t2.toString; t3 = _this._framework$_element; t3.toString; t2 = t2.formatTimeOfDay$2$alwaysUse24HourFormat(_this._widget.initialTime, false); t3 = t3.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t3.toString; A.SemanticsService_announce(t2, t3.textDirection); t1.super$RestorableValue$value(0, true); }, _handleTimeChanged$1(value) { this._vibrate$0(); this.setState$1(new A._TimePickerDialogState__handleTimeChanged_closure(this, value)); }, _handleHourDoubleTapped$0() { this._autofocusHour.set$value(0, true); this._handleEntryModeToggle$0(); }, _handleMinuteDoubleTapped$0() { this._autofocusMinute.set$value(0, true); this._handleEntryModeToggle$0(); }, _handleHourSelected$0() { this.setState$1(new A._TimePickerDialogState__handleHourSelected_closure(this)); }, _handleCancel$0() { var t1 = this._framework$_element; t1.toString; A.Navigator_of(t1, false).pop$1(0, null); }, _handleOk$0() { var t2, _this = this, t1 = _this.get$_entryMode(); if (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value) === B.TimePickerEntryMode_1) { t1 = _this._time_picker$_formKey.get$currentState(); t1.toString; if (!t1.validate$0()) { _this.setState$1(new A._TimePickerDialogState__handleOk_closure(_this)); return; } t1.save$0(0); } t1 = _this._framework$_element; t1.toString; t2 = _this.get$_selectedTime(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); A.Navigator_of(t1, false).pop$1(0, t2); }, build$1(_, context) { var use24HourDials, theme, shape, orientation, t2, t3, t4, t5, actions, t6, t7, t8, dial, header, picker, theme0, textScaleFactor, timePickerHeight, timePickerWidth, _this = this, _null = null, _s13_ = "localizations", t1 = type$.MediaQuery, media = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; A._lateReadCheck(_this.___TimePickerDialogState_localizations, _s13_); use24HourDials = A.hourFormat(B.TimeOfDayFormat_4) !== B.HourFormat_2; theme = A.Theme_of(context); shape = A.TimePickerTheme_of(context).shape; if (shape == null) shape = B.RoundedRectangleBorder_LkV1; orientation = media.get$orientation(media); t2 = A.TimePickerTheme_of(context).entryModeIconColor; if (t2 == null) { t2 = theme.colorScheme; t3 = t2.onSurface; t3 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * (t2.brightness === B.Brightness_0 ? 1 : 0.6)), t3.get$value(t3) >>> 16 & 255, t3.get$value(t3) >>> 8 & 255, t3.get$value(t3) & 255); t2 = t3; } t3 = _this.get$_entryMode(); t4 = A.Icon$(A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value) === B.TimePickerEntryMode_0 ? B.IconData_58193_MaterialIcons_null_false : B.IconData_57402_MaterialIcons_null_false, _null, _null); t3 = _this.get$_entryMode(); t5 = type$.MaterialLocalizations; if (A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value) === B.TimePickerEntryMode_0) { A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t5).toString; t3 = "Switch to text input mode"; } else { A.Localizations_of(context, B.Type_MaterialLocalizations_flR, t5).toString; t3 = "Switch to dial picker mode"; } t3 = A.IconButton$(B.Alignment_0_0, t2, _null, true, t4, 24, _this.get$_handleEntryModeToggle(), B.EdgeInsets_8_8_8_8, _null, t3, _null); _this._widget.toString; A._lateReadCheck(_this.___TimePickerDialogState_localizations, _s13_); t2 = A.TextButton$(false, A.Text$("CANCEL", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_handleCancel(), _null); _this._widget.toString; A._lateReadCheck(_this.___TimePickerDialogState_localizations, _s13_); t4 = type$.JSArray_Widget; actions = A.Row$(A._setArrayType([B.SizedBox_10_null_null_null, t3, A.Expanded$(A.Container$(B.AlignmentDirectional_1_0, A.OverflowBar$(_null, A._setArrayType([t2, A.TextButton$(false, A.Text$("OK", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _this.get$_handleOk(), _null)], t4), B.OverflowBarAlignment_1, B.VerticalDirection_1, 0, 8), B.Clip_0, _null, B.BoxConstraints_mlX6, _null, _null, _null, _null, _null, B.EdgeInsets_8_0_8_0, _null, _null, _null), 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null); t2 = _this.get$_entryMode(); switch (A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value)) { case B.TimePickerEntryMode_0: t2 = orientation === B.Orientation_0 ? B.EdgeInsets_36_24_36_24 : B.EdgeInsets_24_24_24_24; t3 = _this._time_picker$_mode; t5 = A._instanceType(t3)._eval$1("RestorableValue.T"); t6 = t5._as(t3._restoration_properties$_value); t7 = _this.get$_selectedTime(); t8 = _this.get$_handleTimeChanged(); dial = new A.Padding(t2, new A.ExcludeSemantics(true, new A.AspectRatio(1, new A._Dial(A._instanceType(t7)._eval$1("RestorableValue.T")._as(t7._restoration_properties$_value), t6, use24HourDials, t8, _this.get$_handleHourSelected(), _null), _null), _null), _null); t6 = _this.get$_selectedTime(); header = new A._TimePickerHeader(A._instanceType(t6)._eval$1("RestorableValue.T")._as(t6._restoration_properties$_value), t5._as(t3._restoration_properties$_value), orientation, _this.get$_handleModeChanged(), t8, _this.get$_handleHourDoubleTapped(), _this.get$_handleMinuteDoubleTapped(), use24HourDials, _this._widget.helpText, _null); switch (orientation.index) { case 0: picker = A.Column$(A._setArrayType([header, A.Expanded$(A.Column$(A._setArrayType([A.Expanded$(dial, 1), actions], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), 1)], t4), B.CrossAxisAlignment_3, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); break; case 1: picker = A.Column$(A._setArrayType([A.Expanded$(A.Row$(A._setArrayType([header, A.Expanded$(dial, 1)], t4), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, _null, _null), 1), actions], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1); break; default: picker = _null; } break; case B.TimePickerEntryMode_1: t2 = _this._autovalidateMode; t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); t3 = _this.get$_selectedTime(); t3 = A._instanceType(t3)._eval$1("RestorableValue.T")._as(t3._restoration_properties$_value); t5 = _this._widget; t6 = _this._autofocusHour; t7 = _this._autofocusMinute; picker = A.Form$(t2, A.SingleChildScrollView$(A.Column$(A._setArrayType([new A._TimePickerInput(t3, t5.helpText, t5.errorInvalidText, t5.hourLabelText, t5.minuteLabelText, A._instanceType(t6)._eval$1("RestorableValue.T")._as(t6._restoration_properties$_value), A._instanceType(t7)._eval$1("RestorableValue.T")._as(t7._restoration_properties$_value), _this.get$_handleTimeChanged(), "time_picker_input", _null), actions], t4), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1), _null, B.DragStartBehavior_1, _null, _null, _null, "time_picker_scroll_view", B.Axis_1), _this._time_picker$_formKey); break; default: picker = _null; } t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).data; orientation = t2.get$orientation(t2); theme0 = A.Theme_of(context); textScaleFactor = Math.min(context.dependOnInheritedWidgetOfExactType$1$0(t1).data.textScaleFactor, 1.1); t1 = _this.get$_entryMode(); switch (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) { case B.TimePickerEntryMode_0: switch (orientation.index) { case 0: timePickerHeight = theme0.materialTapTargetSize === B.MaterialTapTargetSize_0 ? 496 : 484; timePickerWidth = 328; break; case 1: timePickerWidth = 528 * textScaleFactor; timePickerHeight = theme0.materialTapTargetSize === B.MaterialTapTargetSize_0 ? 316 : 304; break; default: timePickerHeight = _null; timePickerWidth = timePickerHeight; } break; case B.TimePickerEntryMode_1: timePickerWidth = 328; timePickerHeight = 226; break; default: timePickerHeight = _null; timePickerWidth = timePickerHeight; } t1 = A.TimePickerTheme_of(context).backgroundColor; if (t1 == null) t1 = theme.colorScheme.surface; t2 = _this.get$_entryMode(); t2 = A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value) === B.TimePickerEntryMode_1 ? 0 : 24; return A.Dialog$(_null, t1, A.AnimatedContainer$(_null, picker, _null, _null, B.Cubic_JUR, _null, B.Duration_200000, _null, timePickerHeight * textScaleFactor, _null, timePickerWidth), B.Clip_0, _null, new A.EdgeInsets(16, t2, 16, t2), shape); }, dispose$0(_) { var _this = this, t1 = _this._vibrateTimer; if (t1 != null) t1.cancel$0(0); _this._vibrateTimer = null; _this.get$_entryMode().removeListener$1(0, A._lateReadCheck(_this.___TimePickerDialogState__entryModeListener, "_entryModeListener")); _this.super$__TimePickerDialogState_State_RestorationMixin$dispose(0); } }; A._TimePickerDialogState_initState_closure.prototype = { call$0() { this.$this._widget.toString; return null; }, $signature: 0 }; A._TimePickerDialogState__vibrate_closure.prototype = { call$0() { A.HapticFeedback_vibrate(); this.$this._vibrateTimer = null; }, $signature: 0 }; A._TimePickerDialogState__handleModeChanged_closure.prototype = { call$0() { var t1 = this.$this; t1._time_picker$_mode.set$value(0, this.mode); t1._announceModeOnce$0(); }, $signature: 0 }; A._TimePickerDialogState__handleEntryModeToggle_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.get$_entryMode(); switch (A._instanceType(t2)._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value)) { case B.TimePickerEntryMode_0: t1._autovalidateMode.set$value(0, B.AutovalidateMode_0); t1.get$_entryMode().set$value(0, B.TimePickerEntryMode_1); break; case B.TimePickerEntryMode_1: t1._time_picker$_formKey.get$currentState().save$0(0); t1._autofocusHour.set$value(0, false); t1._autofocusMinute.set$value(0, false); t1.get$_entryMode().set$value(0, B.TimePickerEntryMode_0); break; } }, $signature: 0 }; A._TimePickerDialogState__handleTimeChanged_closure.prototype = { call$0() { this.$this.get$_selectedTime().set$value(0, this.value); }, $signature: 0 }; A._TimePickerDialogState__handleHourSelected_closure.prototype = { call$0() { this.$this._time_picker$_mode.set$value(0, B._TimePickerMode_1); }, $signature: 0 }; A._TimePickerDialogState__handleOk_closure.prototype = { call$0() { this.$this._autovalidateMode.set$value(0, B.AutovalidateMode_1); }, $signature: 0 }; A.showTimePicker_closure.prototype = { call$1(context) { return this.dialog; }, $signature: 29 }; A.__HourMinuteTextFieldState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.__TimePickerDialogState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.__TimePickerInputState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.__DialState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.__HourMinuteTextFieldState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__HourMinuteTextFieldState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.__TimePickerDialogState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__TimePickerDialogState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.__TimePickerInputState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__TimePickerInputState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.TimePickerThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.backgroundColor, _this.hourMinuteTextColor, _this.hourMinuteColor, _this.dayPeriodTextColor, _this.dayPeriodColor, _this.dialHandColor, _this.dialBackgroundColor, _this.dialTextColor, _this.entryModeIconColor, _this.hourMinuteTextStyle, _this.dayPeriodTextStyle, _this.helpTextStyle, _this.shape, _this.hourMinuteShape, _this.dayPeriodShape, _this.dayPeriodBorderSide, _this.inputDecorationTheme, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.TimePickerThemeData && J.$eq$(other.backgroundColor, _this.backgroundColor) && J.$eq$(other.hourMinuteTextColor, _this.hourMinuteTextColor) && J.$eq$(other.hourMinuteColor, _this.hourMinuteColor) && J.$eq$(other.dayPeriodTextColor, _this.dayPeriodTextColor) && J.$eq$(other.dayPeriodColor, _this.dayPeriodColor) && J.$eq$(other.dialHandColor, _this.dialHandColor) && J.$eq$(other.dialBackgroundColor, _this.dialBackgroundColor) && J.$eq$(other.dialTextColor, _this.dialTextColor) && J.$eq$(other.entryModeIconColor, _this.entryModeIconColor) && J.$eq$(other.hourMinuteTextStyle, _this.hourMinuteTextStyle) && J.$eq$(other.dayPeriodTextStyle, _this.dayPeriodTextStyle) && J.$eq$(other.helpTextStyle, _this.helpTextStyle) && J.$eq$(other.shape, _this.shape) && J.$eq$(other.hourMinuteShape, _this.hourMinuteShape) && J.$eq$(other.dayPeriodShape, _this.dayPeriodShape) && J.$eq$(other.dayPeriodBorderSide, _this.dayPeriodBorderSide) && true; } }; A._TimePickerThemeData_Object_Diagnosticable.prototype = {}; A.ToggleButtons.prototype = { _isFirstButton$3(index, $length, textDirection) { var t1; if (index === 0) if (textDirection !== B.TextDirection_1) t1 = false; else t1 = true; else t1 = false; if (!t1) if (index === $length - 1) if (textDirection !== B.TextDirection_0) t1 = false; else t1 = true; else t1 = false; else t1 = true; return t1; }, _isLastButton$3(index, $length, textDirection) { var t1; if (index === $length - 1) if (textDirection !== B.TextDirection_1) t1 = false; else t1 = true; else t1 = false; if (!t1) if (index === 0) if (textDirection !== B.TextDirection_0) t1 = false; else t1 = true; else t1 = false; else t1 = true; return t1; }, _getEdgeBorderRadius$4(index, $length, textDirection, toggleButtonsTheme) { var resultingBorderRadius = toggleButtonsTheme.borderRadius; if (resultingBorderRadius == null) resultingBorderRadius = B.BorderRadius_tLn; if ($length === 1) return resultingBorderRadius; else if (this._isFirstButton$3(index, $length, textDirection)) return new A.BorderRadius(resultingBorderRadius.topLeft, B.Radius_0_0, resultingBorderRadius.bottomLeft, B.Radius_0_0); else if (this._isLastButton$3(index, $length, textDirection)) return new A.BorderRadius(B.Radius_0_0, resultingBorderRadius.topRight, B.Radius_0_0, resultingBorderRadius.bottomRight); return B.BorderRadius_tLn; }, _getClipBorderRadius$4(index, $length, textDirection, toggleButtonsTheme) { var resultingBorderWidth, t1, t2, t3, resultingBorderRadius = toggleButtonsTheme.borderRadius; if (resultingBorderRadius == null) resultingBorderRadius = B.BorderRadius_tLn; resultingBorderWidth = toggleButtonsTheme.borderWidth; if (resultingBorderWidth == null) resultingBorderWidth = 1; if ($length === 1) { t1 = resultingBorderWidth / 2; t2 = resultingBorderRadius.topLeft.$sub(0, new A.Radius(t1, t1)); t3 = resultingBorderRadius.bottomLeft.$sub(0, new A.Radius(t1, t1)); return new A.BorderRadius(t2, resultingBorderRadius.topRight.$sub(0, new A.Radius(t1, t1)), t3, resultingBorderRadius.bottomRight.$sub(0, new A.Radius(t1, t1))); } else if (this._isFirstButton$3(index, $length, textDirection)) { t1 = resultingBorderWidth / 2; return new A.BorderRadius(resultingBorderRadius.topLeft.$sub(0, new A.Radius(t1, t1)), B.Radius_0_0, resultingBorderRadius.bottomLeft.$sub(0, new A.Radius(t1, t1)), B.Radius_0_0); } else if (this._isLastButton$3(index, $length, textDirection)) { t1 = resultingBorderWidth / 2; return new A.BorderRadius(B.Radius_0_0, resultingBorderRadius.topRight.$sub(0, new A.Radius(t1, t1)), B.Radius_0_0, resultingBorderRadius.bottomRight.$sub(0, new A.Radius(t1, t1))); } return B.BorderRadius_tLn; }, _getLeadingBorderSide$3(index, theme, toggleButtonsTheme) { return B.BorderSide_0CF; }, _getBorderSide$3(index, theme, toggleButtonsTheme) { return B.BorderSide_0CF; }, _getTrailingBorderSide$3(index, theme, toggleButtonsTheme) { return B.BorderSide_0CF; }, build$1(_, context) { var _null = null, theme = A.Theme_of(context), toggleButtonsTheme = A.ToggleButtonsTheme_of(context), t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = A.Row$(A.List_List$generate(this.children.length, new A.ToggleButtons_build_closure(this, t1.textDirection, toggleButtonsTheme, theme), true, type$.Widget), B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, _null); return new A.IntrinsicHeight(t1, _null); } }; A.ToggleButtons_build_closure.prototype = { call$1(index) { var leadingBorderSide, borderSide, trailingBorderSide, _this = this, _null = null, t1 = _this.$this, t2 = t1.children, t3 = _this.textDirection, t4 = _this.toggleButtonsTheme, edgeBorderRadius = t1._getEdgeBorderRadius$4(index, t2.length, t3, t4), clipBorderRadius = t1._getClipBorderRadius$4(index, t2.length, t3, t4); t3 = _this.theme; leadingBorderSide = t1._getLeadingBorderSide$3(index, t3, t4); borderSide = t1._getBorderSide$3(index, t3, t4); trailingBorderSide = t1._getTrailingBorderSide$3(index, t3, t4); t3 = t1.isSelected[index]; return new A._ToggleButton(t3, t1.textStyle, t1.constraints, t1.color, t1.selectedColor, _null, t1.fillColor, t4.focusColor, t4.hoverColor, t4.highlightColor, t4.splashColor, _null, new A.ToggleButtons_build__closure(t1, index), _null, leadingBorderSide, borderSide, trailingBorderSide, edgeBorderRadius, clipBorderRadius, index === 0, index === t2.length - 1, B.Axis_0, B.VerticalDirection_1, t2[index], _null); }, $signature: 538 }; A.ToggleButtons_build__closure.prototype = { call$0() { this.$this.onPressed.call$1(this.index); }, $signature: 0 }; A._ToggleButton.prototype = { build$1(_, context) { var t3, t4, t5, t6, currentFillColor, currentColor, currentFocusColor, currentHoverColor, currentSplashColor, currentTextStyle, currentConstraints, _this = this, _null = null, theme = A.Theme_of(context), toggleButtonsTheme = A.ToggleButtonsTheme_of(context), t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState), t2 = _this.selected; if (t2 && _this.onPressed != null) t1.add$1(0, B.MaterialState_4); t3 = _this.onPressed; t4 = t3 == null; if (t4) t1.add$1(0, B.MaterialState_6); t5 = theme.colorScheme; t6 = new A._ResolveFillColor(_this.fillColor).resolve$1(t1); currentFillColor = t6 == null ? new A._ResolveFillColor(toggleButtonsTheme.fillColor).resolve$1(t1) : t6; if (currentFillColor == null) currentFillColor = new A._DefaultFillColor(t5).resolve$1(t1); t1 = !t4; if (t1 && t2) { currentColor = toggleButtonsTheme.selectedColor; if (currentColor == null) currentColor = t5.primary; t1 = _this.focusColor; currentFocusColor = t1 == null ? toggleButtonsTheme.focusColor : t1; if (currentFocusColor == null) { t1 = t5.primary; currentFocusColor = A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = _this.hoverColor; currentHoverColor = t1 == null ? toggleButtonsTheme.hoverColor : t1; if (currentHoverColor == null) { t1 = t5.primary; currentHoverColor = A.Color$fromARGB(10, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = _this.splashColor; currentSplashColor = t1 == null ? toggleButtonsTheme.splashColor : t1; if (currentSplashColor == null) { t1 = t5.primary; currentSplashColor = A.Color$fromARGB(41, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } } else if (t1 && !t2) { currentColor = toggleButtonsTheme.color; if (currentColor == null) { t1 = t5.onSurface; currentColor = A.Color$fromARGB(222, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = _this.focusColor; currentFocusColor = t1 == null ? toggleButtonsTheme.focusColor : t1; if (currentFocusColor == null) { t1 = t5.onSurface; currentFocusColor = A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = _this.hoverColor; currentHoverColor = t1 == null ? toggleButtonsTheme.hoverColor : t1; if (currentHoverColor == null) { t1 = t5.onSurface; currentHoverColor = A.Color$fromARGB(10, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = _this.splashColor; currentSplashColor = t1 == null ? toggleButtonsTheme.splashColor : t1; if (currentSplashColor == null) { t1 = t5.onSurface; currentSplashColor = A.Color$fromARGB(41, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } } else { currentColor = toggleButtonsTheme.disabledColor; if (currentColor == null) { t1 = t5.onSurface; currentColor = A.Color$fromARGB(97, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } currentSplashColor = _null; currentHoverColor = currentSplashColor; currentFocusColor = currentHoverColor; } t1 = _this.textStyle; currentTextStyle = t1 == null ? toggleButtonsTheme.textStyle : t1; if (currentTextStyle == null) { t1 = theme.textTheme.bodyText2; t1.toString; currentTextStyle = t1; } currentConstraints = _this.constraints; t1 = currentTextStyle.copyWith$1$color(currentColor); t2 = _this.highlightColor; if (t2 == null) { t2 = t5.surface; t2 = A.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); } return new A._SelectToggleButton(_this.leadingBorderSide, _this.borderSide, _this.trailingBorderSide, _this.borderRadius, _this.isFirstButton, _this.isLastButton, _this.direction, _this.verticalDirection, A.ClipRRect$(_this.clipRadius, A.RawMaterialButton$(B.Duration_200000, false, _this.child, B.Clip_0, currentConstraints, 0, 0, true, currentFillColor, currentFocusColor, 0, _this.focusNode, t2, 0, currentHoverColor, 0, B.MaterialTapTargetSize_1, _this.mouseCursor, _null, _null, t3, B.EdgeInsets_0_0_0_0, B.RoundedRectangleBorder_LkV, currentSplashColor, t1, B.VisualDensity_0_0)), _this.key); } }; A._ResolveFillColor.prototype = { resolve$1(states) { return states.contains$1(0, B.MaterialState_4) ? this.primary : null; } }; A._DefaultFillColor.prototype = { resolve$1(states) { var t1; if (states.contains$1(0, B.MaterialState_4)) { t1 = this.colorScheme.primary; return A.Color$fromARGB(31, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } t1 = this.colorScheme.surface; return A.Color$fromARGB(0, t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255); } }; A._SelectToggleButton.prototype = { createRenderObject$1(context) { var _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A._SelectToggleButtonRenderObject(_this.direction, _this.verticalDirection, _this.leadingBorderSide, _this.borderSide, _this.trailingBorderSide, _this.borderRadius, _this.isFirstButton, _this.isLastButton, t1.textDirection, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$leadingBorderSide(_this.leadingBorderSide); renderObject.set$borderSide(_this.borderSide); renderObject.set$trailingBorderSide(_this.trailingBorderSide); renderObject.set$borderRadius(0, _this.borderRadius); renderObject.set$isFirstButton(_this.isFirstButton); renderObject.set$isLastButton(_this.isLastButton); renderObject.set$direction(0, _this.direction); renderObject.set$verticalDirection(_this.verticalDirection); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, t1.textDirection); } }; A._SelectToggleButtonRenderObject.prototype = { set$direction(_, value) { if (this._toggle_buttons$_direction === value) return; this._toggle_buttons$_direction = value; this.markNeedsLayout$0(); }, set$verticalDirection(value) { if (this._verticalDirection === value) return; this._verticalDirection = value; this.markNeedsLayout$0(); }, set$leadingBorderSide(value) { if (this._leadingBorderSide.$eq(0, value)) return; this._leadingBorderSide = value; this.markNeedsLayout$0(); }, set$borderSide(value) { if (this._borderSide.$eq(0, value)) return; this._borderSide = value; this.markNeedsLayout$0(); }, set$trailingBorderSide(value) { if (this._trailingBorderSide.$eq(0, value)) return; this._trailingBorderSide = value; this.markNeedsLayout$0(); }, set$borderRadius(_, value) { if (this._toggle_buttons$_borderRadius.$eq(0, value)) return; this._toggle_buttons$_borderRadius = value; this.markNeedsLayout$0(); }, set$isFirstButton(value) { if (this._isFirstButton === value) return; this._isFirstButton = value; this.markNeedsLayout$0(); }, set$isLastButton(value) { if (this._isLastButton === value) return; this._isLastButton = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._toggle_buttons$_textDirection === value) return; this._toggle_buttons$_textDirection = value; this.markNeedsLayout$0(); }, computeDistanceToActualBaseline$1(baseline) { var _this = this, t1 = _this._toggle_buttons$_direction, t2 = _this.RenderObjectWithChildMixin__child; if (t1 === B.Axis_0) { t1 = t2.computeDistanceToActualBaseline$1(baseline); t1.toString; t1 += _this._borderSide.width; } else { t1 = t2.computeDistanceToActualBaseline$1(baseline); t1.toString; t1 += _this._leadingBorderSide.width; } return t1; }, computeMaxIntrinsicHeight$1(width) { var _this = this, t1 = _this._toggle_buttons$_direction, t2 = _this.RenderObjectWithChildMixin__child; if (t1 === B.Axis_0) { t1 = _this._borderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t2.get$computeMaxIntrinsicHeight()); t2 = t1.width * 2 + t2; t1 = t2; } else { t1 = _this._leadingBorderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t2.get$computeMaxIntrinsicHeight()); t2 = t1.width + t2 + _this._trailingBorderSide.width; t1 = t2; } return t1; }, computeMinIntrinsicHeight$1(width) { var _this = this, t1 = _this._toggle_buttons$_direction, t2 = _this.RenderObjectWithChildMixin__child; if (t1 === B.Axis_0) { t1 = _this._borderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t2.get$computeMinIntrinsicHeight()); t2 = t1.width * 2 + t2; t1 = t2; } else { t1 = _this._leadingBorderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t2.get$computeMaxIntrinsicHeight()); t2 = t1.width + t2 + _this._trailingBorderSide.width; t1 = t2; } return t1; }, computeMaxIntrinsicWidth$1(height) { var _this = this, t1 = _this._toggle_buttons$_direction, t2 = _this.RenderObjectWithChildMixin__child; if (t1 === B.Axis_0) { t1 = _this._leadingBorderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t2.get$computeMaxIntrinsicWidth()); t2 = t1.width + t2 + _this._trailingBorderSide.width; t1 = t2; } else { t1 = _this._borderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t2.get$computeMaxIntrinsicWidth()); t2 = t1.width * 2 + t2; t1 = t2; } return t1; }, computeMinIntrinsicWidth$1(height) { var _this = this, t1 = _this._toggle_buttons$_direction, t2 = _this.RenderObjectWithChildMixin__child; if (t1 === B.Axis_0) { t1 = _this._leadingBorderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t2.get$computeMinIntrinsicWidth()); t2 = t1.width + t2 + _this._trailingBorderSide.width; t1 = t2; } else { t1 = _this._borderSide; t2 = t2 == null ? 0 : t2._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t2.get$computeMinIntrinsicWidth()); t2 = t1.width * 2 + t2; t1 = t2; } return t1; }, computeDryLayout$1(constraints) { return this._toggle_buttons$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { var t1, _this = this; _this._size = _this._toggle_buttons$_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) return; t1 = t1.parentData; t1.toString; type$.BoxParentData._as(t1); if (_this._toggle_buttons$_direction === B.Axis_0) switch (_this._toggle_buttons$_textDirection.index) { case 1: t1.offset = new A.Offset(_this._leadingBorderSide.width, _this._borderSide.width); break; case 0: t1.offset = new A.Offset(_this._trailingBorderSide.width, _this._borderSide.width); break; } else switch (_this._verticalDirection.index) { case 1: t1.offset = new A.Offset(_this._borderSide.width, _this._leadingBorderSide.width); break; case 0: t1.offset = new A.Offset(_this._borderSide.width, _this._trailingBorderSide.width); break; } }, _toggle_buttons$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var t1, t2, t3, t4, rightConstraint, leftConstraint, topConstraint, bottomConstraint, t0, innerConstraints, childSize, _this = this; if (_this.RenderObjectWithChildMixin__child == null) { t1 = _this._toggle_buttons$_direction; t2 = _this._leadingBorderSide.width; t3 = _this._trailingBorderSide.width; t4 = _this._borderSide.width; if (t1 === B.Axis_0) return constraints.constrain$1(new A.Size(t2 + t3, t4 * 2)); else return constraints.constrain$1(new A.Size(t4 * 2, t2 + t3)); } t1 = _this._toggle_buttons$_direction; rightConstraint = _this._trailingBorderSide.width; leftConstraint = _this._leadingBorderSide.width; topConstraint = _this._borderSide.width; if (t1 === B.Axis_0) bottomConstraint = topConstraint; else { bottomConstraint = rightConstraint; rightConstraint = topConstraint; topConstraint = leftConstraint; leftConstraint = rightConstraint; t0 = rightConstraint; rightConstraint = leftConstraint; t0 = leftConstraint; } innerConstraints = constraints.deflate$1(new A.EdgeInsets(leftConstraint, topConstraint, rightConstraint, bottomConstraint)); t1 = _this.RenderObjectWithChildMixin__child; t1.toString; childSize = layoutChild.call$2(t1, innerConstraints); return constraints.constrain$1(new A.Size(leftConstraint + childSize._dx + rightConstraint, topConstraint + childSize._dy + bottomConstraint)); }, paint$2(context, offset) { var bottomRight, t1, t2, startX, t3, center, t4, t5, t6, t7, rrect, tlCorner, t8, t9, t10, t11, t12, blCorner, t13, t14, t15, trCorner, t16, t17, t18, t19, brCorner, leadingPaint, leadingPath, leftPath, endingPaint, endingPath, horizontalPaint, horizontalPaths, topPath, paint, paths, bottomPath, _this = this; _this.super$RenderShiftedBox$paint(context, offset); bottomRight = _this._size.bottomRight$1(0, offset); t1 = offset._dx; t2 = offset._dy; startX = bottomRight._dx; t3 = bottomRight._dy; center = new A.Rect(t1, t2, startX, t3).inflate$1(-(_this._borderSide.width / 2)); t4 = _this._toggle_buttons$_borderRadius; t5 = t4.topLeft; t5 = t5.x * t5.y !== 0 ? t5 : B.Radius_0_0; t6 = t4.topRight; t6 = t6.x * t6.y !== 0 ? t6 : B.Radius_0_0; t7 = t4.bottomLeft; t7 = t7.x * t7.y !== 0 ? t7 : B.Radius_0_0; t4 = t4.bottomRight; rrect = A.RRect$fromRectAndCorners(center, t7, t4.x * t4.y !== 0 ? t4 : B.Radius_0_0, t5, t6).scaleRadii$0(); t4 = rrect.left; t5 = rrect.top; t6 = rrect.tlRadiusX; t7 = rrect.tlRadiusY; tlCorner = new A.Rect(t4, t5, t4 + t6 * 2, t5 + t7 * 2); t8 = rrect.bottom; t9 = rrect.blRadiusY; t10 = t9 * 2; t11 = t8 - t10; t12 = rrect.blRadiusX; blCorner = new A.Rect(t4, t11, t4 + t12 * 2, t11 + t10); t10 = rrect.right; t11 = rrect.trRadiusX; t13 = t11 * 2; t14 = t10 - t13; t15 = rrect.trRadiusY; trCorner = new A.Rect(t14, t5, t14 + t13, t5 + t15 * 2); t13 = rrect.brRadiusX; t14 = t13 * 2; t16 = t10 - t14; t17 = rrect.brRadiusY; t18 = t17 * 2; t19 = t8 - t18; brCorner = new A.Rect(t16, t19, t16 + t14, t19 + t18); leadingPaint = _this._leadingBorderSide.toPaint$0(); t14 = _this._isFirstButton; if (t14 && _this._isLastButton) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t13 === 0 ? startX : t10 - t13, t8); leadingPath.lineTo$2(0, t4 + t12, t8); leadingPath.addArc$3(0, blCorner, 1.5707963267948966, 1.5707963267948966); leadingPath.lineTo$2(0, t4, t5 + t7); leadingPath.addArc$3(0, tlCorner, 3.141592653589793, 1.5707963267948966); leadingPath.lineTo$2(0, t10 - t11, t5); leadingPath.addArc$3(0, trCorner, 4.71238898038469, 1.5707963267948966); leadingPath.lineTo$2(0, t10, t8 - t17); leadingPath.addArc$3(0, brCorner, 0, 1.5707963267948966); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); return; } if (_this._toggle_buttons$_direction === B.Axis_0) switch (_this._toggle_buttons$_textDirection.index) { case 1: if (_this._isLastButton) { leftPath = A.Path_Path(); leftPath.moveTo$2(0, t4, t8 + _this._leadingBorderSide.width / 2); leftPath.lineTo$2(0, t4, t5 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, leftPath, leadingPaint); endingPaint = _this._trailingBorderSide.toPaint$0(); endingPath = A.Path_Path(); endingPath.moveTo$2(0, t4 + _this._borderSide.width / 2, t5); endingPath.lineTo$2(0, t10 - t11, t5); endingPath.addArc$3(0, trCorner, 4.71238898038469, 1.5707963267948966); endingPath.lineTo$2(0, t10, t8 - t17); endingPath.addArc$3(0, brCorner, 0, 1.5707963267948966); endingPath.lineTo$2(0, t4 + _this._borderSide.width / 2, t8); context.get$canvas(context).drawPath$2(0, endingPath, endingPaint); } else if (t14) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, startX, t8); leadingPath.lineTo$2(0, t4 + t12, t8); leadingPath.addArc$3(0, blCorner, 1.5707963267948966, 1.5707963267948966); leadingPath.lineTo$2(0, t4, t5 + t7); leadingPath.addArc$3(0, tlCorner, 3.141592653589793, 1.5707963267948966); leadingPath.lineTo$2(0, startX, t5); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); } else { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t4, t8 + _this._leadingBorderSide.width / 2); leadingPath.lineTo$2(0, t4, t5 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); horizontalPaint = _this._borderSide.toPaint$0(); horizontalPaths = A.Path_Path(); horizontalPaths.moveTo$2(0, t4 + _this._borderSide.width / 2, t5); t1 = startX - t11; horizontalPaths.lineTo$2(0, t1, t5); horizontalPaths.moveTo$2(0, t4 + _this._borderSide.width / 2 + t6, t8); horizontalPaths.lineTo$2(0, t1, t8); context.get$canvas(context).drawPath$2(0, horizontalPaths, horizontalPaint); } break; case 0: if (_this._isLastButton) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t10, t8 + _this._leadingBorderSide.width / 2); leadingPath.lineTo$2(0, t10, t5 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); endingPaint = _this._trailingBorderSide.toPaint$0(); endingPath = A.Path_Path(); endingPath.moveTo$2(0, t10 - _this._borderSide.width / 2, t5); endingPath.lineTo$2(0, t4 + t6, t5); endingPath.addArc$3(0, tlCorner, 4.71238898038469, -1.5707963267948966); endingPath.lineTo$2(0, t4, t8 - t9); endingPath.addArc$3(0, blCorner, 3.141592653589793, -1.5707963267948966); endingPath.lineTo$2(0, t10 - _this._borderSide.width / 2, t8); context.get$canvas(context).drawPath$2(0, endingPath, endingPaint); } else if (t14) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t1, t8); leadingPath.lineTo$2(0, t10 - t13, t8); leadingPath.addArc$3(0, brCorner, 1.5707963267948966, -1.5707963267948966); leadingPath.lineTo$2(0, t10, t5 + t15); leadingPath.addArc$3(0, trCorner, 0, -1.5707963267948966); leadingPath.lineTo$2(0, t1, t5); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); } else { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t10, t8 + _this._leadingBorderSide.width / 2); leadingPath.lineTo$2(0, t10, t5 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); horizontalPaint = _this._borderSide.toPaint$0(); horizontalPaths = A.Path_Path(); horizontalPaths.moveTo$2(0, t10 - _this._borderSide.width / 2, t5); t1 -= t6; horizontalPaths.lineTo$2(0, t1, t5); horizontalPaths.moveTo$2(0, t10 - _this._borderSide.width / 2 + t11, t8); horizontalPaths.lineTo$2(0, t1, t8); context.get$canvas(context).drawPath$2(0, horizontalPaths, horizontalPaint); } break; } else switch (_this._verticalDirection.index) { case 1: if (_this._isLastButton) { topPath = A.Path_Path(); topPath.moveTo$2(0, t1, t2 + _this._leadingBorderSide.width / 2); topPath.lineTo$2(0, startX, t2 + _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, topPath, leadingPaint); endingPaint = _this._trailingBorderSide.toPaint$0(); endingPath = A.Path_Path(); endingPath.moveTo$2(0, t4, t5 + _this._leadingBorderSide.width / 2); endingPath.lineTo$2(0, t4, t8 - t9); endingPath.addArc$3(0, blCorner, 9.42477796076938, -1.5707963267948966); endingPath.lineTo$2(0, t10 - t12, t8); endingPath.addArc$3(0, brCorner, 1.5707963267948966, -1.5707963267948966); endingPath.lineTo$2(0, t10, t5 + _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, endingPath, endingPaint); } else if (t14) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t4, t3); leadingPath.lineTo$2(0, t4, t5 + t6); leadingPath.addArc$3(0, tlCorner, 3.141592653589793, 1.5707963267948966); leadingPath.lineTo$2(0, t10 - t11, t5); leadingPath.addArc$3(0, trCorner, 4.71238898038469, 1.5707963267948966); leadingPath.lineTo$2(0, t10, t3); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); } else { topPath = A.Path_Path(); topPath.moveTo$2(0, t1, t2 + _this._leadingBorderSide.width / 2); topPath.lineTo$2(0, startX, t2 + _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, topPath, leadingPaint); paint = _this._borderSide.toPaint$0(); paths = A.Path_Path(); paths.moveTo$2(0, t4, t2 + _this._leadingBorderSide.width); paths.lineTo$2(0, t4, t3); paths.moveTo$2(0, t10, t2 + _this._leadingBorderSide.width); paths.lineTo$2(0, t10, t3); context.get$canvas(context).drawPath$2(0, paths, paint); } break; case 0: if (_this._isLastButton) { bottomPath = A.Path_Path(); bottomPath.moveTo$2(0, t1, t3 - _this._leadingBorderSide.width / 2); bottomPath.lineTo$2(0, startX, t3 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, bottomPath, leadingPaint); endingPaint = _this._trailingBorderSide.toPaint$0(); endingPath = A.Path_Path(); endingPath.moveTo$2(0, t4, t8 - _this._leadingBorderSide.width / 2); endingPath.lineTo$2(0, t4, t5 + t7); endingPath.addArc$3(0, tlCorner, 3.141592653589793, 1.5707963267948966); endingPath.lineTo$2(0, t10 - t11, t5); endingPath.addArc$3(0, trCorner, 4.71238898038469, 1.5707963267948966); endingPath.lineTo$2(0, t10, t8 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, endingPath, endingPaint); } else if (t14) { leadingPath = A.Path_Path(); leadingPath.moveTo$2(0, t4, t2); leadingPath.lineTo$2(0, t4, t8 - t9); leadingPath.addArc$3(0, blCorner, 3.141592653589793, -1.5707963267948966); leadingPath.lineTo$2(0, t10 - t13, t8); leadingPath.addArc$3(0, brCorner, 1.5707963267948966, -1.5707963267948966); leadingPath.lineTo$2(0, t10, t2); context.get$canvas(context).drawPath$2(0, leadingPath, leadingPaint); } else { bottomPath = A.Path_Path(); bottomPath.moveTo$2(0, t1, t3 - _this._leadingBorderSide.width / 2); bottomPath.lineTo$2(0, startX, t3 - _this._leadingBorderSide.width / 2); context.get$canvas(context).drawPath$2(0, bottomPath, leadingPaint); paint = _this._borderSide.toPaint$0(); paths = A.Path_Path(); paths.moveTo$2(0, t4, t2); paths.lineTo$2(0, t4, t3 - _this._leadingBorderSide.width); paths.moveTo$2(0, t10, t2); paths.lineTo$2(0, t10, t3 - _this._leadingBorderSide.width); context.get$canvas(context).drawPath$2(0, paths, paint); } break; } } }; A.__DefaultFillColor_MaterialStateProperty_Diagnosticable.prototype = {}; A.__ResolveFillColor_MaterialStateProperty_Diagnosticable.prototype = {}; A.ToggleButtonsThemeData.prototype = { get$hashCode(_) { var _this = this; return A.hashValues(_this.textStyle, _this.constraints, _this.color, _this.selectedColor, _this.disabledColor, _this.fillColor, _this.focusColor, _this.highlightColor, _this.hoverColor, _this.splashColor, _this.borderColor, _this.selectedBorderColor, _this.disabledBorderColor, _this.borderRadius, _this.borderWidth, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ToggleButtonsThemeData && J.$eq$(other.textStyle, _this.textStyle) && J.$eq$(other.constraints, _this.constraints) && J.$eq$(other.color, _this.color) && J.$eq$(other.selectedColor, _this.selectedColor) && J.$eq$(other.disabledColor, _this.disabledColor) && J.$eq$(other.fillColor, _this.fillColor) && J.$eq$(other.focusColor, _this.focusColor) && J.$eq$(other.highlightColor, _this.highlightColor) && J.$eq$(other.hoverColor, _this.hoverColor) && J.$eq$(other.splashColor, _this.splashColor) && J.$eq$(other.borderColor, _this.borderColor) && J.$eq$(other.selectedBorderColor, _this.selectedBorderColor) && J.$eq$(other.disabledBorderColor, _this.disabledBorderColor) && J.$eq$(other.borderRadius, _this.borderRadius) && other.borderWidth == _this.borderWidth; } }; A._ToggleButtonsThemeData_Object_Diagnosticable.prototype = {}; A.ToggleableStateMixin.prototype = { animateToValue$0() { var t1, t2, _this = this, _s19_ = "_positionController"; if (_this.get$tristate()) { if (_this.get$value(_this) == null) A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__positionController, _s19_).set$value(0, 0); t1 = _this.get$value(_this); t2 = _this.ToggleableStateMixin___ToggleableStateMixin__positionController; if (t1 !== false) A._lateReadCheck(t2, _s19_).forward$0(0); else A._lateReadCheck(t2, _s19_).reverse$0(0); } else { t1 = _this.get$value(_this); t2 = _this.ToggleableStateMixin___ToggleableStateMixin__positionController; if (t1 === true) A._lateReadCheck(t2, _s19_).forward$0(0); else A._lateReadCheck(t2, _s19_).reverse$0(0); } }, _toggleable$_handleTapDown$1(details) { var _this = this; if (_this.get$onChanged() != null) { _this.setState$1(new A.ToggleableStateMixin__handleTapDown_closure(_this, details)); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").forward$0(0); } }, _toggleable$_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: _this.get$onChanged().call$1(false); break; } _this._framework$_element.get$renderObject().sendSemanticsEvent$1(B.TapSemanticEvent_tap); }, _toggleable$_handleTap$0() { return this._toggleable$_handleTap$1(null); }, _handleTapEnd$1(_) { var _this = this; if (_this.ToggleableStateMixin__downPosition != null) _this.setState$1(new A.ToggleableStateMixin__handleTapEnd_closure(_this)); A._lateReadCheck(_this.ToggleableStateMixin___ToggleableStateMixin__reactionController, "_reactionController").reverse$0(0); }, _handleTapEnd$0() { return this._handleTapEnd$1(null); }, _handleFocusHighlightChanged$1(focused) { var t1, _this = this, _s28_ = "_reactionFocusFadeController"; if (focused !== _this.ToggleableStateMixin__focused) { _this.setState$1(new A.ToggleableStateMixin__handleFocusHighlightChanged_closure(_this, focused)); t1 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionFocusFadeController; if (focused) A._lateReadCheck(t1, _s28_).forward$0(0); else A._lateReadCheck(t1, _s28_).reverse$0(0); } }, _handleHoverChanged$1(hovering) { var t1, _this = this, _s28_ = "_reactionHoverFadeController"; if (hovering !== _this.ToggleableStateMixin__hovering) { _this.setState$1(new A.ToggleableStateMixin__handleHoverChanged_closure(_this, hovering)); t1 = _this.ToggleableStateMixin___ToggleableStateMixin__reactionHoverFadeController; if (hovering) A._lateReadCheck(t1, _s28_).forward$0(0); else A._lateReadCheck(t1, _s28_).reverse$0(0); } }, get$states() { var _this = this, t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.MaterialState); if (_this.get$onChanged() == null) t1.add$1(0, B.MaterialState_6); if (_this.ToggleableStateMixin__hovering) t1.add$1(0, B.MaterialState_0); if (_this.ToggleableStateMixin__focused) t1.add$1(0, B.MaterialState_1); if (_this.get$value(_this) !== false) t1.add$1(0, B.MaterialState_4); return t1; }, buildToggleable$5$autofocus$focusNode$mouseCursor$painter$size(autofocus, focusNode, mouseCursor, painter, size) { var result, t1, t2, t3, t4, t5, t6, _this = this, _null = null, value = _this.ToggleableStateMixin___ToggleableStateMixin__actionMap; if (value === $) { result = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_ActivateIntent_OT9, new A.CallbackAction(_this.get$_toggleable$_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); A._lateInitializeOnceCheck(_this.ToggleableStateMixin___ToggleableStateMixin__actionMap, "_actionMap"); _this.ToggleableStateMixin___ToggleableStateMixin__actionMap = result; value = result; } t1 = _this.get$onChanged(); t2 = mouseCursor._material_state$_resolve.call$1(_this.get$states()); t3 = _this.get$onChanged(); t4 = _this.get$_handleTapEnd(); t5 = _this.get$onChanged(); t6 = 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, 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, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, false, false, t6, _null), B.DragStartBehavior_1, t3 == null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_toggleable$_handleTap(), t4, _this.get$_toggleable$_handleTapDown(), t4, _null, _null, _null, _null), t1 != null, focusNode, t2, _null, _this.get$_handleFocusHighlightChanged(), _this.get$_handleHoverChanged(), _null); } }; A.ToggleableStateMixin__handleTapDown_closure.prototype = { call$0() { this.$this.ToggleableStateMixin__downPosition = this.details.localPosition; }, $signature: 0 }; A.ToggleableStateMixin__handleTapEnd_closure.prototype = { call$0() { this.$this.ToggleableStateMixin__downPosition = null; }, $signature: 0 }; A.ToggleableStateMixin__handleFocusHighlightChanged_closure.prototype = { call$0() { this.$this.ToggleableStateMixin__focused = this.focused; }, $signature: 0 }; A.ToggleableStateMixin__handleHoverChanged_closure.prototype = { call$0() { this.$this.ToggleableStateMixin__hovering = this.hovering; }, $signature: 0 }; A.ToggleablePainter.prototype = { set$position(_, value) { var _this = this, t1 = _this._toggleable$_position; if (value === t1) return; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); value.parent.addListener$1(0, _this.get$notifyListeners()); _this._toggleable$_position = value; _this.notifyListeners$0(); }, set$reaction(value) { var _this = this, t1 = _this._reaction; if (value === t1) return; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); value.parent.addListener$1(0, _this.get$notifyListeners()); _this._reaction = value; _this.notifyListeners$0(); }, set$reactionFocusFade(value) { var _this = this, t1 = _this._reactionFocusFade; if (value === t1) return; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); value.parent.addListener$1(0, _this.get$notifyListeners()); _this._reactionFocusFade = value; _this.notifyListeners$0(); }, set$reactionHoverFade(value) { var _this = this, t1 = _this._reactionHoverFade; if (value === t1) return; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); value.parent.addListener$1(0, _this.get$notifyListeners()); _this._reactionHoverFade = value; _this.notifyListeners$0(); }, set$activeColor(value) { if (J.$eq$(this._activeColor, value)) return; this._activeColor = value; this.notifyListeners$0(); }, set$inactiveColor(value) { if (J.$eq$(this._inactiveColor, value)) return; this._inactiveColor = value; this.notifyListeners$0(); }, set$inactiveReactionColor(value) { if (value.$eq(0, this._inactiveReactionColor)) return; this._inactiveReactionColor = value; this.notifyListeners$0(); }, set$reactionColor(value) { if (value.$eq(0, this._reactionColor)) return; this._reactionColor = value; this.notifyListeners$0(); }, set$hoverColor(value) { if (value.$eq(0, this._toggleable$_hoverColor)) return; this._toggleable$_hoverColor = value; this.notifyListeners$0(); }, set$focusColor(value) { if (value.$eq(0, this._toggleable$_focusColor)) return; this._toggleable$_focusColor = value; this.notifyListeners$0(); }, set$splashRadius(value) { if (value === this._splashRadius) return; this._splashRadius = value; this.notifyListeners$0(); }, set$downPosition(value) { if (J.$eq$(value, this._downPosition)) return; this._downPosition = value; this.notifyListeners$0(); }, set$isFocused(value) { if (value === this._isFocused) return; this._isFocused = value; this.notifyListeners$0(); }, set$isHovered(value) { if (value === this._isHovered) return; this._isHovered = value; this.notifyListeners$0(); }, paintRadialReaction$2$canvas$origin(canvas, origin) { var reactionPaint, t2, t3, reactionRadius, _this = this, t1 = _this._reaction; if (t1.get$status(t1) === B.AnimationStatus_0) { t1 = _this._reactionFocusFade; if (t1.get$status(t1) === B.AnimationStatus_0) { t1 = _this._reactionHoverFade; t1 = t1.get$status(t1) !== B.AnimationStatus_0; } else t1 = true; } else t1 = true; if (t1) { t1 = A._detectRenderer(); reactionPaint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._inactiveReactionColor; t1.toString; t2 = _this._reactionColor; t2.toString; t3 = _this._toggleable$_position; t3 = A.Color_lerp(t1, t2, t3.get$value(t3)); t2 = _this._toggleable$_hoverColor; t2.toString; t1 = _this._reactionHoverFade; t1 = A.Color_lerp(t3, t2, t1.get$value(t1)); t2 = _this._toggleable$_focusColor; t2.toString; t3 = _this._reactionFocusFade; t3 = A.Color_lerp(t1, t2, t3.get$value(t3)); t3.toString; reactionPaint.set$color(0, t3); t3 = _this._downPosition; t1 = t3 == null ? origin : t3; t2 = _this._reaction; t2 = A.Offset_lerp(t1, origin, t2.get$value(t2)); t2.toString; t1 = _this._splashRadius; t1.toString; t3 = _this._isFocused; t3.toString; if (!t3) { t3 = _this._isHovered; t3.toString; } else t3 = true; if (t3) reactionRadius = t1; else { t3 = _this._reaction; reactionRadius = new A.Tween(0, t1, type$.Tween_double).transform$1(0, t3.get$value(t3)); } if (reactionRadius > 0) canvas.drawCircle$3(0, t2.$add(0, B.Offset_0_0), reactionRadius, reactionPaint); } }, dispose$0(_) { var _this = this, t1 = _this._toggleable$_position; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); t1 = _this._reaction; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); t1 = _this._reactionFocusFade; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); t1 = _this._reactionHoverFade; if (t1 != null) t1.parent.removeListener$1(0, _this.get$notifyListeners()); _this.super$ChangeNotifier$dispose(0); }, shouldRepaint$1(oldDelegate) { return true; }, hitTest$1(position) { return null; }, get$semanticsBuilder() { return null; }, shouldRebuildSemantics$1(oldDelegate) { return false; } }; A.Tooltip.prototype = { createState$0() { return new A._TooltipState(null, B._StateLifecycle_0); } }; A._TooltipState.prototype = { set$height(_, value) { this.___TooltipState_height = value; }, get$_tooltipMessage() { var t1 = this._widget.message; return t1 == null ? null.toPlainText$0() : t1; }, initState$0() { var t1, _this = this; _this.super$State$initState(); _this.___TooltipState__forceRemoval = _this.___TooltipState__isConcealed = false; t1 = $.RendererBinding__instance.RendererBinding__mouseTracker._mouseStates; _this.___TooltipState__mouseIsConnected = t1.get$isNotEmpty(t1); t1 = A.AnimationController$(null, B.Duration_150000, B.Duration_75000, 1, null, _this); t1.addStatusListener$1(_this.get$_tooltip$_handleStatusChanged()); _this.___TooltipState__controller = t1; $.RendererBinding__instance.RendererBinding__mouseTracker.addListener$1(0, _this.get$_handleMouseTrackerChange()); $.GestureBinding__instance.GestureBinding_pointerRouter._globalRoutes.$indexSet(0, _this.get$_tooltip$_handlePointerEvent(), null); }, didChangeDependencies$0() { this.super$__TooltipState_State_SingleTickerProviderStateMixin$didChangeDependencies(); this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._TooltipVisibilityScope); this.___TooltipState__visible = true; }, _getDefaultTooltipHeight$0() { var t1 = this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 4: case 3: case 5: return 24; case 0: case 1: case 2: return 32; } }, _getDefaultPadding$0() { var t1 = this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 4: case 3: case 5: return B.EdgeInsets_8_0_8_0; case 0: case 1: case 2: return B.EdgeInsets_16_0_16_0; } }, _getDefaultFontSize$0() { var t1 = this._framework$_element; t1.toString; switch (A.Theme_of(t1).platform.index) { case 4: case 3: case 5: return 10; case 0: case 1: case 2: return 14; } }, _handleMouseTrackerChange$0() { var t1, mouseIsConnected, _this = this; if (_this._framework$_element == null) return; t1 = $.RendererBinding__instance.RendererBinding__mouseTracker._mouseStates; mouseIsConnected = t1.get$isNotEmpty(t1); if (mouseIsConnected !== A._lateReadCheck(_this.___TooltipState__mouseIsConnected, "_mouseIsConnected")) _this.setState$1(new A._TooltipState__handleMouseTrackerChange_closure(_this, mouseIsConnected)); }, _tooltip$_handleStatusChanged$1($status) { var t1; if ($status === B.AnimationStatus_0) t1 = A._lateReadCheck(this.___TooltipState__forceRemoval, "_forceRemoval") || !A._lateReadCheck(this.___TooltipState__isConcealed, "_isConcealed"); else t1 = false; if (t1) this._tooltip$_removeEntry$0(); }, _dismissTooltip$1$immediately(immediately) { var t2, _this = this, _s11_ = "_controller", t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this._showTimer = null; if (immediately) { _this._tooltip$_removeEntry$0(); return; } _this.___TooltipState__forceRemoval = true; if (_this._pressActivated) { if (_this._dismissTimer == null) { t1 = A._lateReadCheck(_this.___TooltipState_showDuration, "showDuration"); t2 = A._lateReadCheck(_this.___TooltipState__controller, _s11_); _this._dismissTimer = A.Timer_Timer(t1, t2.get$reverse(t2)); } } else if (_this._dismissTimer == null) { t1 = A._lateReadCheck(_this.___TooltipState_hoverShowDuration, "hoverShowDuration"); t2 = A._lateReadCheck(_this.___TooltipState__controller, _s11_); _this._dismissTimer = A.Timer_Timer(t1, t2.get$reverse(t2)); } _this._pressActivated = false; }, _showTooltip$0() { var _this = this, t1 = _this._dismissTimer; if (t1 != null) t1.cancel$0(0); _this._dismissTimer = null; if (_this._showTimer == null) _this._showTimer = A.Timer_Timer(A._lateReadCheck(_this.___TooltipState_waitDuration, "waitDuration"), _this.get$ensureTooltipVisible()); }, _concealTooltip$0() { var t1, _this = this; if (A._lateReadCheck(_this.___TooltipState__isConcealed, "_isConcealed") || A._lateReadCheck(_this.___TooltipState__forceRemoval, "_forceRemoval")) return; _this.___TooltipState__isConcealed = true; t1 = _this._dismissTimer; if (t1 != null) t1.cancel$0(0); _this._dismissTimer = null; t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this._showTimer = null; t1 = _this._tooltip$_entry; if (t1 != null) t1.remove$0(0); A._lateReadCheck(_this.___TooltipState__controller, "_controller").reverse$0(0); }, _revealTooltip$0() { var t1, result, _this = this; if (!A._lateReadCheck(_this.___TooltipState__isConcealed, "_isConcealed")) return; _this.___TooltipState__isConcealed = false; t1 = _this._dismissTimer; if (t1 != null) t1.cancel$0(0); _this._dismissTimer = null; t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this._showTimer = null; if (!_this._tooltip$_entry._mounted) { t1 = _this._framework$_element; t1.toString; _this._widget.toString; result = t1.findAncestorStateOfType$1$0(type$.OverlayState); result.toString; t1 = _this._tooltip$_entry; t1.toString; result.insert$1(0, t1); } A.SemanticsService_tooltip(_this.get$_tooltipMessage()); A._lateReadCheck(_this.___TooltipState__controller, "_controller").forward$0(0); }, ensureTooltipVisible$0() { var t1, _this = this, _s11_ = "_controller"; if (!A._lateReadCheck(_this.___TooltipState__visible, "_visible")) return false; t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this._showTimer = null; _this.___TooltipState__forceRemoval = false; if (A._lateReadCheck(_this.___TooltipState__isConcealed, "_isConcealed")) { if (A._lateReadCheck(_this.___TooltipState__mouseIsConnected, "_mouseIsConnected")) A.Tooltip__concealOtherTooltips(_this); _this._revealTooltip$0(); return true; } if (_this._tooltip$_entry != null) { t1 = _this._dismissTimer; if (t1 != null) t1.cancel$0(0); _this._dismissTimer = null; A._lateReadCheck(_this.___TooltipState__controller, _s11_).forward$0(0); return false; } _this._createNewEntry$0(); A._lateReadCheck(_this.___TooltipState__controller, _s11_).forward$0(0); return true; }, _createNewEntry$0() { var result, t2, target, t3, t4, t5, t6, t7, _this = this, _null = null, _s17_ = "_mouseIsConnected", t1 = _this._framework$_element; t1.toString; _this._widget.toString; result = t1.findAncestorStateOfType$1$0(type$.OverlayState); result.toString; t1 = _this._framework$_element.get$renderObject(); t1.toString; type$.RenderBox._as(t1); t2 = t1._size.center$1(B.Offset_0_0); target = A.MatrixUtils_transformPoint(t1.getTransformTo$1(0, result._framework$_element.get$renderObject()), t2); t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t1 = A.TextSpan$(_null, _null, _null, _null, _null, _this._widget.message); t3 = A._lateReadCheck(_this.___TooltipState_height, "height"); t4 = A._lateReadCheck(_this.___TooltipState_padding, "padding"); t5 = A._lateReadCheck(_this.___TooltipState_margin, "margin"); t6 = A._lateReadCheck(_this.___TooltipState__mouseIsConnected, _s17_) ? new A._TooltipState__createNewEntry_closure(_this) : _null; t7 = A._lateReadCheck(_this.___TooltipState__mouseIsConnected, _s17_) ? new A._TooltipState__createNewEntry_closure0(_this) : _null; t2 = A.OverlayEntry$0(new A._TooltipState__createNewEntry_closure1(A.Directionality$(new A._TooltipOverlay(t1, t3, t4, t5, A._lateReadCheck(_this.___TooltipState_decoration, "decoration"), A._lateReadCheck(_this.___TooltipState_textStyle, "textStyle"), A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(_this.___TooltipState__controller, "_controller"), _null), target, A._lateReadCheck(_this.___TooltipState_verticalOffset, "verticalOffset"), A._lateReadCheck(_this.___TooltipState_preferBelow, "preferBelow"), t6, t7, _null), t2.textDirection)), false); _this._tooltip$_entry = t2; _this.___TooltipState__isConcealed = false; result.insert$1(0, t2); A.SemanticsService_tooltip(_this.get$_tooltipMessage()); if (A._lateReadCheck(_this.___TooltipState__mouseIsConnected, _s17_)) A.Tooltip__concealOtherTooltips(_this); $.Tooltip__openedTooltips.push(_this); }, _tooltip$_removeEntry$0() { var t1, _this = this; B.JSArray_methods.remove$1($.Tooltip__openedTooltips, _this); $._TooltipState__mouseIn.remove$1(0, _this); t1 = _this._dismissTimer; if (t1 != null) t1.cancel$0(0); _this._dismissTimer = null; t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this._showTimer = null; if (!A._lateReadCheck(_this.___TooltipState__isConcealed, "_isConcealed")) { t1 = _this._tooltip$_entry; if (t1 != null) t1.remove$0(0); } _this.___TooltipState__isConcealed = false; _this._tooltip$_entry = null; if (A._lateReadCheck(_this.___TooltipState__mouseIsConnected, "_mouseIsConnected")) if ($.Tooltip__openedTooltips.length !== 0) B.JSArray_methods.get$last($.Tooltip__openedTooltips)._revealTooltip$0(); }, _tooltip$_handlePointerEvent$1($event) { var _this = this, _s12_ = "_isConcealed"; if (_this._tooltip$_entry == null) return; if (type$.PointerUpEvent._is($event) || type$.PointerCancelEvent._is($event)) _this._dismissTooltip$1$immediately(A._lateReadCheck(_this.___TooltipState__isConcealed, _s12_) || false); else if (type$.PointerDownEvent._is($event)) { A._lateReadCheck(_this.___TooltipState__isConcealed, _s12_); _this._dismissTooltip$1$immediately(true); } }, deactivate$0() { var t1, _this = this; if (_this._tooltip$_entry != null) _this._dismissTooltip$1$immediately(true); t1 = _this._showTimer; if (t1 != null) t1.cancel$0(0); _this.super$State$deactivate(); }, dispose$0(_) { var _this = this; $.GestureBinding__instance.GestureBinding_pointerRouter._globalRoutes.remove$1(0, _this.get$_tooltip$_handlePointerEvent()); $.RendererBinding__instance.RendererBinding__mouseTracker.removeListener$1(0, _this.get$_handleMouseTrackerChange()); _this._tooltip$_removeEntry$0(); A._lateReadCheck(_this.___TooltipState__controller, "_controller").dispose$0(0); _this.super$__TooltipState_State_SingleTickerProviderStateMixin$dispose(0); }, _handlePress$0() { var t1, t2, _this = this; _this._pressActivated = true; if (_this.ensureTooltipVisible$0() && A._lateReadCheck(_this.___TooltipState_enableFeedback, "enableFeedback")) { t1 = A._lateReadCheck(_this.___TooltipState_triggerMode, "triggerMode"); t2 = _this._framework$_element; if (t1 === B.TooltipTriggerMode_1) { t2.toString; A.Feedback_forLongPress(t2); } else { t2.toString; A.Feedback_forTap(t2); } } }, build$1(_, context) { var t1, theme, tooltipTheme, defaultTextStyle, defaultDecoration, t2, result, _this = this, _null = null, _s11_ = "triggerMode"; if (_this.get$_tooltipMessage().length === 0) { t1 = _this._widget.child; return t1; } theme = A.Theme_of(context); context.dependOnInheritedWidgetOfExactType$1$0(type$.TooltipTheme); tooltipTheme = A.Theme_of(context).tooltipTheme; t1 = theme.textTheme.bodyText2; if (theme.colorScheme.brightness === B.Brightness_0) { t1.toString; defaultTextStyle = t1.copyWith$2$color$fontSize(B.Color_4278190080, _this._getDefaultFontSize$0()); defaultDecoration = new A.BoxDecoration(A.Color$fromARGB(B.JSNumber_methods.round$0(229.5), 255, 255, 255), _null, _null, B.BorderRadius_tLn0, _null, _null, B.BoxShape_0); } else { t1.toString; defaultTextStyle = t1.copyWith$2$color$fontSize(B.Color_4294967295, _this._getDefaultFontSize$0()); t1 = B.Map_HFpTk.$index(0, 700); t1.toString; defaultDecoration = new A.BoxDecoration(A.Color$fromARGB(B.JSNumber_methods.round$0(229.5), t1.get$value(t1) >>> 16 & 255, t1.get$value(t1) >>> 8 & 255, t1.get$value(t1) & 255), _null, _null, B.BorderRadius_tLn0, _null, _null, B.BoxShape_0); } _this._widget.toString; t1 = tooltipTheme.height; _this.___TooltipState_height = t1 == null ? _this._getDefaultTooltipHeight$0() : t1; _this._widget.toString; t1 = tooltipTheme.padding; _this.___TooltipState_padding = t1 == null ? _this._getDefaultPadding$0() : t1; _this._widget.toString; t1 = tooltipTheme.margin; _this.___TooltipState_margin = t1 == null ? B.EdgeInsets_0_0_0_0 : t1; t1 = tooltipTheme.verticalOffset; _this.___TooltipState_verticalOffset = t1 == null ? 24 : t1; _this.___TooltipState_preferBelow = true; _this.___TooltipState_excludeFromSemantics = false; t1 = tooltipTheme.decoration; _this.___TooltipState_decoration = t1 == null ? defaultDecoration : t1; t1 = tooltipTheme.textStyle; _this.___TooltipState_textStyle = t1 == null ? defaultTextStyle : t1; _this.___TooltipState_waitDuration = B.Duration_0; _this.___TooltipState_showDuration = B.Duration_1500000; _this.___TooltipState_hoverShowDuration = B.Duration_100000; _this.___TooltipState_triggerMode = B.TooltipTriggerMode_1; _this.___TooltipState_enableFeedback = true; t1 = A._lateReadCheck(false, "excludeFromSemantics") ? _null : _this.get$_tooltipMessage(); t2 = _this._widget.child; result = 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, 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), false, false, false, t2, _null); if (A._lateReadCheck(_this.___TooltipState__visible, "_visible")) { t1 = A._lateReadCheck(_this.___TooltipState_triggerMode, _s11_) === B.TooltipTriggerMode_1 ? _this.get$_handlePress() : _null; result = A.GestureDetector$(B.HitTestBehavior_1, result, B.DragStartBehavior_1, true, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, A._lateReadCheck(_this.___TooltipState_triggerMode, _s11_) === B.TooltipTriggerMode_2 ? _this.get$_handlePress() : _null, _null, _null, _null, _null, _null, _null, _null); if (A._lateReadCheck(_this.___TooltipState__mouseIsConnected, "_mouseIsConnected")) result = A.MouseRegion$(result, B.C__DeferringMouseCursor, _null, new A._TooltipState_build_closure(_this), new A._TooltipState_build_closure0(_this), _null); } return result; } }; A._TooltipState__handleMouseTrackerChange_closure.prototype = { call$0() { this.$this.___TooltipState__mouseIsConnected = this.mouseIsConnected; }, $signature: 0 }; A._TooltipState__createNewEntry_closure.prototype = { call$1(_) { this.$this._showTooltip$0(); return null; }, $signature: 101 }; A._TooltipState__createNewEntry_closure0.prototype = { call$1(_) { var t1 = this.$this; t1._dismissTooltip$1$immediately(A._lateReadCheck(t1.___TooltipState__isConcealed, "_isConcealed") || false); return null; }, $signature: 70 }; A._TooltipState__createNewEntry_closure1.prototype = { call$1(context) { return this.overlay; }, $signature: 29 }; A._TooltipState_build_closure.prototype = { call$1(_) { this.$this._showTooltip$0(); return null; }, $signature: 101 }; A._TooltipState_build_closure0.prototype = { call$1(_) { var t1 = this.$this; t1._dismissTooltip$1$immediately(A._lateReadCheck(t1.___TooltipState__isConcealed, "_isConcealed") || false); return null; }, $signature: 70 }; A._TooltipPositionDelegate.prototype = { getConstraintsForChild$1(constraints) { return new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight); }, getPositionForChild$2(size, childSize) { return A.positionDependentBox(childSize, true, size, this.target, this.verticalOffset); }, shouldRelayout$1(oldDelegate) { return !this.target.$eq(0, oldDelegate.target) || this.verticalOffset !== oldDelegate.verticalOffset || false; } }; A._TooltipOverlay.prototype = { build$1(_, context) { var result, _this = this, _null = null, t1 = A.Theme_of(context).textTheme.bodyText2; t1.toString; result = new A.IgnorePointer(true, _null, A.FadeTransition$(false, new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, _this.height, 1 / 0), A.DefaultTextStyle$(A.Container$(_null, A.Center$(A.Text$rich(_this.richMessage, _null, _null, _this.textStyle, _null, _null, _null), 1, 1), B.Clip_0, _null, _null, _this.decoration, _null, _null, _null, _this.margin, _this.padding, _null, _null, _null), _null, _null, B.TextOverflow_0, true, t1, _null, _null, B.TextWidthBasis_0), _null), _this.animation), _null); t1 = _this.onEnter; if (t1 != null || _this.onExit != null) result = A.MouseRegion$(result, B.C__DeferringMouseCursor, _null, t1, _this.onExit, _null); return A.Positioned$fill(new A.CustomSingleChildLayout(new A._TooltipPositionDelegate(_this.target, _this.verticalOffset, true), result, _null)); } }; A.__TooltipState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.TooltipThemeData.prototype = { get$hashCode(_) { var _this = this, _null = null; return A.hashValues(_this.height, _this.padding, _this.margin, _this.verticalOffset, _this.preferBelow, _this.excludeFromSemantics, _this.decoration, _this.textStyle, _null, _null, _null, _null, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.TooltipThemeData) if (other.height == _this.height) if (J.$eq$(other.padding, _this.padding)) if (J.$eq$(other.margin, _this.margin)) if (other.verticalOffset == _this.verticalOffset) if (J.$eq$(other.decoration, _this.decoration)) if (J.$eq$(other.textStyle, _this.textStyle)) 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; } }; A.TooltipTriggerMode.prototype = { toString$0(_) { return "TooltipTriggerMode." + this._core$_name; } }; A._TooltipThemeData_Object_Diagnosticable.prototype = {}; A.ScriptCategory.prototype = { toString$0(_) { return "ScriptCategory." + this._core$_name; } }; A.Typography.prototype = { geometryThemeFor$1(category) { switch (category.index) { case 0: return this.englishLike; case 1: return this.dense; case 2: return this.tall; } }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.Typography && other.black.$eq(0, _this.black) && other.white.$eq(0, _this.white) && other.englishLike.$eq(0, _this.englishLike) && other.dense.$eq(0, _this.dense) && other.tall.$eq(0, _this.tall); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.black, _this.white, _this.englishLike, _this.dense, _this.tall, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A._Typography_Object_Diagnosticable.prototype = {}; A.NetworkImage.prototype = { obtainKey$1(configuration) { return new A.SynchronousFuture(this, type$.SynchronousFuture_NetworkImage); }, load$2(_, key, decode) { var _null = null, chunkEvents = A.StreamController_StreamController(_null, _null, _null, false, type$.ImageChunkEvent); return A.MultiFrameImageStreamCompleter$(new A._ControllerStream(chunkEvents, A._instanceType(chunkEvents)._eval$1("_ControllerStream<1>")), this.__network_image_web$_loadAsync$3(key, decode, chunkEvents), key.url, _null, key.scale); }, __network_image_web$_loadAsync$3(key, decode, chunkEvents) { return A.webOnlyInstantiateImageCodecFromUrl(A.Uri_base().resolve$1(key.url), new A.NetworkImage__loadAsync_closure(chunkEvents)); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.NetworkImage && other.url === this.url && other.scale === this.scale; }, get$hashCode(_) { return A.hashValues(this.url, this.scale, 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, 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); }, toString$0(_) { return 'NetworkImage("' + this.url + '", scale: ' + this.scale + ")"; } }; A.NetworkImage__loadAsync_closure.prototype = { call$2(bytes, total) { this.chunkEvents.add$1(0, new A.ImageChunkEvent(bytes, total)); }, $signature: 229 }; A.AlignmentGeometry.prototype = { toString$0(_) { var _this = this; if (_this.get$_alignment$_start(_this) === 0) return A.Alignment__stringify(_this.get$_x(), _this.get$_y()); if (_this.get$_x() === 0) return A.AlignmentDirectional__stringify(_this.get$_alignment$_start(_this), _this.get$_y()); return A.Alignment__stringify(_this.get$_x(), _this.get$_y()) + " + " + A.AlignmentDirectional__stringify(_this.get$_alignment$_start(_this), 0); }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.AlignmentGeometry && other.get$_x() === _this.get$_x() && other.get$_alignment$_start(other) === _this.get$_alignment$_start(_this) && other.get$_y() === _this.get$_y(); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.get$_x(), _this.get$_alignment$_start(_this), _this.get$_y(), 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, 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.Alignment.prototype = { get$_x() { return this.x; }, get$_alignment$_start(_) { return 0; }, get$_y() { return this.y; }, $sub(_, other) { return new A.Alignment(this.x - other.x, this.y - other.y); }, $add(_, other) { return new A.Alignment(this.x + other.x, this.y + other.y); }, $mul(_, other) { return new A.Alignment(this.x * other, this.y * other); }, alongOffset$1(other) { var centerX = other._dx / 2, centerY = other._dy / 2; return new A.Offset(centerX + this.x * centerX, centerY + this.y * centerY); }, alongSize$1(other) { var centerX = other._dx / 2, centerY = other._dy / 2; return new A.Offset(centerX + this.x * centerX, centerY + this.y * centerY); }, withinRect$1(rect) { var t1 = rect.left, halfWidth = (rect.right - t1) / 2, t2 = rect.top, halfHeight = (rect.bottom - t2) / 2; return new A.Offset(t1 + halfWidth + this.x * halfWidth, t2 + halfHeight + this.y * halfHeight); }, inscribe$2(size, rect) { var t1 = rect.left, t2 = size._dx, halfWidthDelta = (rect.right - t1 - t2) / 2, t3 = rect.top, t4 = size._dy, halfHeightDelta = (rect.bottom - t3 - t4) / 2; t1 = t1 + halfWidthDelta + this.x * halfWidthDelta; t3 = t3 + halfHeightDelta + this.y * halfHeightDelta; return new A.Rect(t1, t3, t1 + t2, t3 + t4); }, resolve$1(direction) { return this; }, toString$0(_) { return A.Alignment__stringify(this.x, this.y); } }; A.AlignmentDirectional.prototype = { get$_x() { return 0; }, get$_alignment$_start(_) { return this.start; }, get$_y() { return this.y; }, $sub(_, other) { return new A.AlignmentDirectional(this.start - other.start, this.y - other.y); }, $add(_, other) { return new A.AlignmentDirectional(this.start + other.start, this.y + other.y); }, $mul(_, other) { return new A.AlignmentDirectional(this.start * other, this.y * other); }, resolve$1(direction) { var _this = this; switch (direction.index) { case 0: return new A.Alignment(-_this.start, _this.y); case 1: return new A.Alignment(_this.start, _this.y); } }, toString$0(_) { return A.AlignmentDirectional__stringify(this.start, this.y); } }; A._MixedAlignment.prototype = { $mul(_, other) { return new A._MixedAlignment(this._x * other, this._alignment$_start * other, this._y * other); }, resolve$1(direction) { var _this = this; switch (direction.index) { case 0: return new A.Alignment(_this._x - _this._alignment$_start, _this._y); case 1: return new A.Alignment(_this._x + _this._alignment$_start, _this._y); } }, get$_x() { return this._x; }, get$_alignment$_start(receiver) { return this._alignment$_start; }, get$_y() { return this._y; } }; A.TextAlignVertical.prototype = { toString$0(_) { return "TextAlignVertical(y: " + this.y + ")"; } }; A.RenderComparison.prototype = { toString$0(_) { return "RenderComparison." + this._core$_name; } }; A.Axis.prototype = { toString$0(_) { return "Axis." + this._core$_name; } }; A.VerticalDirection.prototype = { toString$0(_) { return "VerticalDirection." + this._core$_name; } }; A.AxisDirection.prototype = { toString$0(_) { return "AxisDirection." + this._core$_name; } }; A.PaintingBinding.prototype = { instantiateImageCodec$4$allowUpscaling$cacheHeight$cacheWidth(bytes, allowUpscaling, cacheHeight, cacheWidth) { return A.instantiateImageCodec(bytes, false, cacheHeight, cacheWidth); }, instantiateImageCodec$1(bytes) { return this.instantiateImageCodec$4$allowUpscaling$cacheHeight$cacheWidth(bytes, false, null, null); } }; A._SystemFontsNotifier.prototype = { notifyListeners$0() { var t1, t2; for (t1 = this._systemFontsCallbacks, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).call$0(); }, addListener$1(_, listener) { this._systemFontsCallbacks.add$1(0, listener); }, removeListener$1(_, listener) { this._systemFontsCallbacks.remove$1(0, listener); } }; A.BorderRadiusGeometry.prototype = { subtract$1(other) { var _this = this; return new A._MixedBorderRadius(_this.get$_topLeft().$sub(0, other.get$_topLeft()), _this.get$_topRight().$sub(0, other.get$_topRight()), _this.get$_bottomLeft().$sub(0, other.get$_bottomLeft()), _this.get$_bottomRight().$sub(0, other.get$_bottomRight()), _this.get$_topStart().$sub(0, other.get$_topStart()), _this.get$_topEnd().$sub(0, other.get$_topEnd()), _this.get$_bottomStart().$sub(0, other.get$_bottomStart()), _this.get$_bottomEnd().$sub(0, other.get$_bottomEnd())); }, add$1(_, other) { var _this = this; return new A._MixedBorderRadius(_this.get$_topLeft().$add(0, other.get$_topLeft()), _this.get$_topRight().$add(0, other.get$_topRight()), _this.get$_bottomLeft().$add(0, other.get$_bottomLeft()), _this.get$_bottomRight().$add(0, other.get$_bottomRight()), _this.get$_topStart().$add(0, other.get$_topStart()), _this.get$_topEnd().$add(0, other.get$_topEnd()), _this.get$_bottomStart().$add(0, other.get$_bottomStart()), _this.get$_bottomEnd().$add(0, other.get$_bottomEnd())); }, toString$0(_) { var visual, t1, comma, logical, _this = this; if (_this.get$_topLeft().$eq(0, _this.get$_topRight()) && _this.get$_topRight().$eq(0, _this.get$_bottomLeft()) && _this.get$_bottomLeft().$eq(0, _this.get$_bottomRight())) if (!_this.get$_topLeft().$eq(0, B.Radius_0_0)) visual = _this.get$_topLeft().x === _this.get$_topLeft().y ? "BorderRadius.circular(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_topLeft().x, 1) + ")" : "BorderRadius.all(" + _this.get$_topLeft().toString$0(0) + ")"; else visual = null; else { t1 = "" + "BorderRadius.only("; if (!_this.get$_topLeft().$eq(0, B.Radius_0_0)) { t1 += "topLeft: " + _this.get$_topLeft().toString$0(0); comma = true; } else comma = false; if (!_this.get$_topRight().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "topRight: " + _this.get$_topRight().toString$0(0); comma = true; } if (!_this.get$_bottomLeft().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "bottomLeft: " + _this.get$_bottomLeft().toString$0(0); comma = true; } if (!_this.get$_bottomRight().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "bottomRight: " + _this.get$_bottomRight().toString$0(0); } t1 += ")"; visual = t1.charCodeAt(0) == 0 ? t1 : t1; } if (_this.get$_topStart().$eq(0, _this.get$_topEnd()) && _this.get$_topEnd().$eq(0, _this.get$_bottomEnd()) && _this.get$_bottomEnd().$eq(0, _this.get$_bottomStart())) if (!_this.get$_topStart().$eq(0, B.Radius_0_0)) logical = _this.get$_topStart().x === _this.get$_topStart().y ? "BorderRadiusDirectional.circular(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_topStart().x, 1) + ")" : "BorderRadiusDirectional.all(" + _this.get$_topStart().toString$0(0) + ")"; else logical = null; else { t1 = "" + "BorderRadiusDirectional.only("; if (!_this.get$_topStart().$eq(0, B.Radius_0_0)) { t1 += "topStart: " + _this.get$_topStart().toString$0(0); comma = true; } else comma = false; if (!_this.get$_topEnd().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "topEnd: " + _this.get$_topEnd().toString$0(0); comma = true; } if (!_this.get$_bottomStart().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "bottomStart: " + _this.get$_bottomStart().toString$0(0); comma = true; } if (!_this.get$_bottomEnd().$eq(0, B.Radius_0_0)) { if (comma) t1 += ", "; t1 += "bottomEnd: " + _this.get$_bottomEnd().toString$0(0); } t1 += ")"; logical = t1.charCodeAt(0) == 0 ? t1 : t1; } t1 = visual != null; if (t1 && logical != null) return A.S(visual) + " + " + logical; if (t1) return visual; if (logical != null) return logical; return "BorderRadius.zero"; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BorderRadiusGeometry && other.get$_topLeft().$eq(0, _this.get$_topLeft()) && other.get$_topRight().$eq(0, _this.get$_topRight()) && other.get$_bottomLeft().$eq(0, _this.get$_bottomLeft()) && other.get$_bottomRight().$eq(0, _this.get$_bottomRight()) && other.get$_topStart().$eq(0, _this.get$_topStart()) && other.get$_topEnd().$eq(0, _this.get$_topEnd()) && other.get$_bottomStart().$eq(0, _this.get$_bottomStart()) && other.get$_bottomEnd().$eq(0, _this.get$_bottomEnd()); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.get$_topLeft(), _this.get$_topRight(), _this.get$_bottomLeft(), _this.get$_bottomRight(), _this.get$_topStart(), _this.get$_topEnd(), _this.get$_bottomStart(), _this.get$_bottomEnd(), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.BorderRadius.prototype = { get$_topLeft() { return this.topLeft; }, get$_topRight() { return this.topRight; }, get$_bottomLeft() { return this.bottomLeft; }, get$_bottomRight() { return this.bottomRight; }, get$_topStart() { return B.Radius_0_0; }, get$_topEnd() { return B.Radius_0_0; }, get$_bottomStart() { return B.Radius_0_0; }, get$_bottomEnd() { return B.Radius_0_0; }, toRRect$1(rect) { var _this = this; return A.RRect$fromRectAndCorners(rect, _this.bottomLeft, _this.bottomRight, _this.topLeft, _this.topRight); }, subtract$1(other) { if (other instanceof A.BorderRadius) return this.$sub(0, other); return this.super$BorderRadiusGeometry$subtract(other); }, add$1(_, other) { if (other instanceof A.BorderRadius) return this.$add(0, other); return this.super$BorderRadiusGeometry$add(0, other); }, $sub(_, other) { var _this = this; return new A.BorderRadius(_this.topLeft.$sub(0, other.topLeft), _this.topRight.$sub(0, other.topRight), _this.bottomLeft.$sub(0, other.bottomLeft), _this.bottomRight.$sub(0, other.bottomRight)); }, $add(_, other) { var _this = this; return new A.BorderRadius(_this.topLeft.$add(0, other.topLeft), _this.topRight.$add(0, other.topRight), _this.bottomLeft.$add(0, other.bottomLeft), _this.bottomRight.$add(0, other.bottomRight)); }, $mul(_, other) { var _this = this; return new A.BorderRadius(_this.topLeft.$mul(0, other), _this.topRight.$mul(0, other), _this.bottomLeft.$mul(0, other), _this.bottomRight.$mul(0, other)); }, resolve$1(direction) { return this; } }; A._MixedBorderRadius.prototype = { $mul(_, other) { var _this = this; return new A._MixedBorderRadius(_this._topLeft.$mul(0, other), _this._topRight.$mul(0, other), _this._bottomLeft.$mul(0, other), _this._bottomRight.$mul(0, other), _this._topStart.$mul(0, other), _this._topEnd.$mul(0, other), _this._bottomStart.$mul(0, other), _this._bottomEnd.$mul(0, other)); }, resolve$1(direction) { var _this = this; switch (direction.index) { case 0: return new A.BorderRadius(_this._topLeft.$add(0, _this._topEnd), _this._topRight.$add(0, _this._topStart), _this._bottomLeft.$add(0, _this._bottomEnd), _this._bottomRight.$add(0, _this._bottomStart)); case 1: return new A.BorderRadius(_this._topLeft.$add(0, _this._topStart), _this._topRight.$add(0, _this._topEnd), _this._bottomLeft.$add(0, _this._bottomStart), _this._bottomRight.$add(0, _this._bottomEnd)); } }, get$_topLeft() { return this._topLeft; }, get$_topRight() { return this._topRight; }, get$_bottomLeft() { return this._bottomLeft; }, get$_bottomRight() { return this._bottomRight; }, get$_topStart() { return this._topStart; }, get$_topEnd() { return this._topEnd; }, get$_bottomStart() { return this._bottomStart; }, get$_bottomEnd() { return this._bottomEnd; } }; A.BorderStyle.prototype = { toString$0(_) { return "BorderStyle." + this._core$_name; } }; A.BorderSide.prototype = { copyWith$3$color$style$width(color, style, width) { var t1 = color == null ? this.color : color; return new A.BorderSide(t1, width, style); }, scale$1(_, t) { var t1 = Math.max(0, this.width * t), t2 = t <= 0 ? B.BorderStyle_0 : this.style; return new A.BorderSide(this.color, t1, t2); }, toPaint$0() { switch (this.style.index) { case 1: var t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, this.color); t1.set$strokeWidth(this.width); t1.set$style(0, B.PaintingStyle_1); return t1; case 0: t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1.set$color(0, B.Color_0); t1.set$strokeWidth(0); t1.set$style(0, B.PaintingStyle_1); return t1; } }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BorderSide && other.color.$eq(0, _this.color) && other.width === _this.width && other.style === _this.style; }, get$hashCode(_) { return A.hashValues(this.color, this.width, this.style, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "BorderSide(" + this.color.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this.width, 1) + ", " + this.style.toString$0(0) + ")"; } }; A.ShapeBorder.prototype = { add$2$reversed(_, other, reversed) { return null; }, add$1($receiver, other) { return this.add$2$reversed($receiver, other, false); }, $add(_, other) { var t1 = this.add$1(0, other); if (t1 == null) t1 = other.add$2$reversed(0, this, true); return t1 == null ? new A._CompoundBorder(A._setArrayType([other, this], type$.JSArray_ShapeBorder)) : t1; }, lerpFrom$2(a, t) { if (a == null) return this.scale$1(0, t); return null; }, lerpTo$2(b, t) { if (b == null) return this.scale$1(0, 1 - t); return null; }, toString$0(_) { return "ShapeBorder()"; } }; A.OutlinedBorder.prototype = {}; A._CompoundBorder.prototype = { get$dimensions() { return B.JSArray_methods.fold$2(this.borders, B.EdgeInsets_0_0_0_0, new A._CompoundBorder_dimensions_closure()); }, add$2$reversed(_, other, reversed) { var t2, ours, merged, t1 = other instanceof A._CompoundBorder; if (!t1) { t2 = this.borders; ours = reversed ? B.JSArray_methods.get$last(t2) : B.JSArray_methods.get$first(t2); merged = ours.add$2$reversed(0, other, reversed); if (merged == null) merged = other.add$2$reversed(0, ours, !reversed); if (merged != null) { t1 = A.List_List$of(t2, true, type$.ShapeBorder); t1[reversed ? t1.length - 1 : 0] = merged; return new A._CompoundBorder(t1); } } t2 = A._setArrayType([], type$.JSArray_ShapeBorder); if (reversed) B.JSArray_methods.addAll$1(t2, this.borders); if (t1) B.JSArray_methods.addAll$1(t2, other.borders); else t2.push(other); if (!reversed) B.JSArray_methods.addAll$1(t2, this.borders); return new A._CompoundBorder(t2); }, add$1($receiver, other) { return this.add$2$reversed($receiver, other, false); }, scale$1(_, t) { var t1 = this.borders, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ShapeBorder>"); return new A._CompoundBorder(A.List_List$of(new A.MappedListIterable(t1, new A._CompoundBorder_scale_closure(t), t2), true, t2._eval$1("ListIterable.E"))); }, lerpFrom$2(a, t) { return A._CompoundBorder_lerp(a, this, t); }, lerpTo$2(b, t) { return A._CompoundBorder_lerp(this, b, t); }, getInnerPath$2$textDirection(rect, textDirection) { var t1, index; for (t1 = this.borders, index = 0; index < t1.length - 1; ++index) rect = t1[index].get$dimensions().resolve$1(textDirection).deflateRect$1(rect); return B.JSArray_methods.get$last(t1).getInnerPath$2$textDirection(rect, textDirection); }, getOuterPath$2$textDirection(rect, textDirection) { return B.JSArray_methods.get$first(this.borders).getOuterPath$2$textDirection(rect, textDirection); }, paint$3$textDirection(canvas, rect, textDirection) { var t1, t2, _i, border; for (t1 = this.borders, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { border = t1[_i]; border.paint$3$textDirection(canvas, rect, textDirection); rect = border.get$dimensions().resolve$1(textDirection).deflateRect$1(rect); } }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A._CompoundBorder && A.listEquals0(other.borders, this.borders); }, get$hashCode(_) { return A.hashList(this.borders); }, toString$0(_) { var t1 = this.borders, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); return new A.MappedListIterable(new A.ReversedListIterable(t1, t2), new A._CompoundBorder_toString_closure(), t2._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, " + "); } }; A._CompoundBorder_dimensions_closure.prototype = { call$2(previousValue, border) { return previousValue.add$1(0, border.get$dimensions()); }, $signature: 541 }; A._CompoundBorder_scale_closure.prototype = { call$1(border) { return border.scale$1(0, this.t); }, $signature: 542 }; A._CompoundBorder_toString_closure.prototype = { call$1(border) { return border.toString$0(0); }, $signature: 543 }; A.BoxShape.prototype = { toString$0(_) { return "BoxShape." + this._core$_name; } }; A.BoxBorder.prototype = { add$2$reversed(_, other, reversed) { return null; }, add$1($receiver, other) { return this.add$2$reversed($receiver, other, false); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRect$1(0, this.get$dimensions().resolve$1(textDirection).deflateRect$1(rect)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRect$1(0, rect); return t1; } }; A.Border.prototype = { get$dimensions() { var _this = this; return new A.EdgeInsets(_this.left.width, _this.top.width, _this.right.width, _this.bottom.width); }, get$_colorIsUniform() { var _this = this, topColor = _this.top.color; return _this.right.color.$eq(0, topColor) && _this.bottom.color.$eq(0, topColor) && _this.left.color.$eq(0, topColor); }, get$_widthIsUniform() { var _this = this, topWidth = _this.top.width; return _this.right.width === topWidth && _this.bottom.width === topWidth && _this.left.width === topWidth; }, get$_styleIsUniform() { var _this = this, topStyle = _this.top.style; return _this.right.style === topStyle && _this.bottom.style === topStyle && _this.left.style === topStyle; }, add$2$reversed(_, other, reversed) { var _this = this; if (other instanceof A.Border && A.BorderSide_canMerge(_this.top, other.top) && A.BorderSide_canMerge(_this.right, other.right) && A.BorderSide_canMerge(_this.bottom, other.bottom) && A.BorderSide_canMerge(_this.left, other.left)) return new A.Border(A.BorderSide_merge(_this.top, other.top), A.BorderSide_merge(_this.right, other.right), A.BorderSide_merge(_this.bottom, other.bottom), A.BorderSide_merge(_this.left, other.left)); return null; }, add$1($receiver, other) { return this.add$2$reversed($receiver, other, false); }, scale$1(_, t) { var _this = this; return new A.Border(_this.top.scale$1(0, t), _this.right.scale$1(0, t), _this.bottom.scale$1(0, t), _this.left.scale$1(0, t)); }, lerpFrom$2(a, t) { if (a instanceof A.Border) return A.Border_lerp(a, this, t); return this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { if (b instanceof A.Border) return A.Border_lerp(this, b, t); return this.super$ShapeBorder$lerpTo(b, t); }, paint$5$borderRadius$shape$textDirection(canvas, rect, borderRadius, shape, textDirection) { var t1, _this = this; if (_this.get$_colorIsUniform() && _this.get$_widthIsUniform() && _this.get$_styleIsUniform()) { t1 = _this.top; switch (t1.style.index) { case 0: return; case 1: switch (shape.index) { case 1: A.BoxBorder__paintUniformBorderWithCircle(canvas, rect, t1); break; case 0: if (borderRadius != null) { A.BoxBorder__paintUniformBorderWithRadius(canvas, rect, t1, borderRadius); return; } A.BoxBorder__paintUniformBorderWithRectangle(canvas, rect, t1); break; } return; } } A.paintBorder(canvas, rect, _this.bottom, _this.left, _this.right, _this.top); }, paint$3$textDirection(canvas, rect, textDirection) { return this.paint$5$borderRadius$shape$textDirection(canvas, rect, null, B.BoxShape_0, textDirection); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.Border && other.top.$eq(0, _this.top) && other.right.$eq(0, _this.right) && other.bottom.$eq(0, _this.bottom) && other.left.$eq(0, _this.left); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.top, _this.right, _this.bottom, _this.left, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var t1, t2, _this = this; if (_this.get$_colorIsUniform() && _this.get$_widthIsUniform() && _this.get$_styleIsUniform()) return "Border.all(" + _this.top.toString$0(0) + ")"; t1 = A._setArrayType([], type$.JSArray_String); t2 = _this.top; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("top: " + t2.toString$0(0)); t2 = _this.right; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("right: " + t2.toString$0(0)); t2 = _this.bottom; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("bottom: " + t2.toString$0(0)); t2 = _this.left; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("left: " + t2.toString$0(0)); return "Border(" + B.JSArray_methods.join$1(t1, ", ") + ")"; }, get$top(receiver) { return this.top; } }; A.BorderDirectional.prototype = { get$dimensions() { var _this = this; return new A.EdgeInsetsDirectional(_this.start.width, _this.top.width, _this.end.width, _this.bottom.width); }, get$isUniform() { var topWidth, topStyle, _this = this, t1 = _this.top, topColor = t1.color, t2 = _this.start; if (!t2.color.$eq(0, topColor) || !_this.end.color.$eq(0, topColor) || !_this.bottom.color.$eq(0, topColor)) return false; topWidth = t1.width; if (t2.width !== topWidth || _this.end.width !== topWidth || _this.bottom.width !== topWidth) return false; topStyle = t1.style; if (t2.style !== topStyle || _this.end.style !== topStyle || _this.bottom.style !== topStyle) return false; return true; }, add$2$reversed(_, other, reversed) { var t1, t2, t3, _this = this, _null = null; if (other instanceof A.BorderDirectional) { t1 = _this.top; t2 = other.top; if (A.BorderSide_canMerge(t1, t2) && A.BorderSide_canMerge(_this.start, other.start) && A.BorderSide_canMerge(_this.end, other.end) && A.BorderSide_canMerge(_this.bottom, other.bottom)) return new A.BorderDirectional(A.BorderSide_merge(t1, t2), A.BorderSide_merge(_this.start, other.start), A.BorderSide_merge(_this.end, other.end), A.BorderSide_merge(_this.bottom, other.bottom)); return _null; } if (other instanceof A.Border) { t1 = other.top; t2 = _this.top; if (!A.BorderSide_canMerge(t1, t2) || !A.BorderSide_canMerge(other.bottom, _this.bottom)) return _null; t3 = _this.start; if (!t3.$eq(0, B.BorderSide_0CF) || !_this.end.$eq(0, B.BorderSide_0CF)) { if (!other.left.$eq(0, B.BorderSide_0CF) || !other.right.$eq(0, B.BorderSide_0CF)) return _null; return new A.BorderDirectional(A.BorderSide_merge(t1, t2), t3, _this.end, A.BorderSide_merge(other.bottom, _this.bottom)); } return new A.Border(A.BorderSide_merge(t1, t2), other.right, A.BorderSide_merge(other.bottom, _this.bottom), other.left); } return _null; }, add$1($receiver, other) { return this.add$2$reversed($receiver, other, false); }, scale$1(_, t) { var _this = this; return new A.BorderDirectional(_this.top.scale$1(0, t), _this.start.scale$1(0, t), _this.end.scale$1(0, t), _this.bottom.scale$1(0, t)); }, lerpFrom$2(a, t) { if (a instanceof A.BorderDirectional) return A.BorderDirectional_lerp(a, this, t); return this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { if (b instanceof A.BorderDirectional) return A.BorderDirectional_lerp(this, b, t); return this.super$ShapeBorder$lerpTo(b, t); }, paint$5$borderRadius$shape$textDirection(canvas, rect, borderRadius, shape, textDirection) { var t1, left, right, _this = this; if (_this.get$isUniform()) { t1 = _this.top; switch (t1.style.index) { case 0: return; case 1: switch (shape.index) { case 1: A.BoxBorder__paintUniformBorderWithCircle(canvas, rect, t1); break; case 0: if (borderRadius != null) { A.BoxBorder__paintUniformBorderWithRadius(canvas, rect, t1, borderRadius); return; } A.BoxBorder__paintUniformBorderWithRectangle(canvas, rect, t1); break; } return; } } switch (textDirection.index) { case 0: left = _this.end; right = _this.start; break; case 1: left = _this.start; right = _this.end; break; default: left = null; right = null; } A.paintBorder(canvas, rect, _this.bottom, left, right, _this.top); }, paint$3$textDirection(canvas, rect, textDirection) { return this.paint$5$borderRadius$shape$textDirection(canvas, rect, null, B.BoxShape_0, textDirection); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BorderDirectional && other.top.$eq(0, _this.top) && other.start.$eq(0, _this.start) && other.end.$eq(0, _this.end) && other.bottom.$eq(0, _this.bottom); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.top, _this.start, _this.end, _this.bottom, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this, t1 = A._setArrayType([], type$.JSArray_String), t2 = _this.top; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("top: " + t2.toString$0(0)); t2 = _this.start; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("start: " + t2.toString$0(0)); t2 = _this.end; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("end: " + t2.toString$0(0)); t2 = _this.bottom; if (!t2.$eq(0, B.BorderSide_0CF)) t1.push("bottom: " + t2.toString$0(0)); return "BorderDirectional(" + B.JSArray_methods.join$1(t1, ", ") + ")"; }, get$top(receiver) { return this.top; } }; A.BoxDecoration.prototype = { get$padding(_) { var t1 = this.border; return t1 == null ? null : t1.get$dimensions(); }, getClipPath$2(rect, textDirection) { var square, t1, t2; switch (this.shape.index) { case 1: square = A.Rect$fromCircle(rect.get$center(), rect.get$shortestSide() / 2); t1 = A.Path_Path(); t1.addOval$1(0, square); return t1; case 0: t1 = this.borderRadius; if (t1 != null) { t2 = A.Path_Path(); t2.addRRect$1(0, t1.resolve$1(textDirection).toRRect$1(rect)); return t2; } t1 = A.Path_Path(); t1.addRect$1(0, rect); return t1; } }, scale$1(_, factor) { var _this = this, _null = null, t1 = A.Color_lerp(_null, _this.color, factor), t2 = A.BoxBorder_lerp(_null, _this.border, factor), t3 = A.BorderRadiusGeometry_lerp(_null, _this.borderRadius, factor), t4 = A.BoxShadow_lerpList(_null, _this.boxShadow, factor); return new A.BoxDecoration(t1, _this.image, t2, t3, t4, _null, _this.shape); }, get$isComplex() { return this.boxShadow != null; }, lerpFrom$2(a, t) { if (a == null) return this.scale$1(0, t); if (a instanceof A.BoxDecoration) return A.BoxDecoration_lerp(a, this, t); return this.super$Decoration$lerpFrom(a, t); }, lerpTo$2(b, t) { if (b == null) return this.scale$1(0, 1 - t); if (b instanceof A.BoxDecoration) return A.BoxDecoration_lerp(this, b, t); return this.super$Decoration$lerpTo(b, t); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.BoxDecoration) if (J.$eq$(other.color, _this.color)) if (J.$eq$(other.image, _this.image)) if (J.$eq$(other.border, _this.border)) if (J.$eq$(other.borderRadius, _this.borderRadius)) if (A.listEquals0(other.boxShadow, _this.boxShadow)) t1 = other.shape === _this.shape; 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.color, _this.image, _this.border, _this.borderRadius, A.hashList(_this.boxShadow), _this.gradient, _this.shape, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, hitTest$3$textDirection(size, position, textDirection) { var t1; switch (this.shape.index) { case 0: t1 = this.borderRadius; if (t1 != null) return t1.resolve$1(textDirection).toRRect$1(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy)).contains$1(0, position); return true; case 1: return position.$sub(0, size.center$1(B.Offset_0_0)).get$distance() <= Math.min(size._dx, size._dy) / 2; } }, createBoxPainter$1(onChanged) { return new A._BoxDecorationPainter(this, onChanged); } }; A._BoxDecorationPainter.prototype = { _paintBox$4(canvas, rect, paint, textDirection) { var t1 = this._box_decoration$_decoration; switch (t1.shape.index) { case 1: canvas.drawCircle$3(0, rect.get$center(), rect.get$shortestSide() / 2, paint); break; case 0: t1 = t1.borderRadius; if (t1 == null) canvas.drawRect$2(0, rect, paint); else canvas.drawRRect$2(0, t1.resolve$1(textDirection).toRRect$1(rect), paint); break; } }, _paintShadows$3(canvas, rect, textDirection) { var t2, _i, boxShadow, t3, result, t4, t1 = this._box_decoration$_decoration.boxShadow; if (t1 == null) return; for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { boxShadow = t1[_i]; t3 = A._detectRenderer(); result = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); result.set$color(0, boxShadow.color); t3 = boxShadow.blurStyle; t4 = boxShadow.blurRadius; result.set$maskFilter(new A.MaskFilter(t3, t4 > 0 ? t4 * 0.57735 + 0.5 : 0)); t3 = rect.shift$1(boxShadow.offset); t4 = boxShadow.spreadRadius; this._paintBox$4(canvas, new A.Rect(t3.left - t4, t3.top - t4, t3.right + t4, t3.bottom + t4), result, textDirection); } }, _paintBackgroundImage$3(canvas, rect, configuration) { var t3, square, clipPath, _this = this, t1 = _this._box_decoration$_decoration, t2 = t1.image; if (t2 == null) return; if (_this._box_decoration$_imagePainter == null) { t3 = _this.onChanged; t3.toString; _this._box_decoration$_imagePainter = new A.DecorationImagePainter(t2, t3); } switch (t1.shape.index) { case 1: square = A.Rect$fromCircle(rect.get$center(), rect.get$shortestSide() / 2); clipPath = A.Path_Path(); clipPath.addOval$1(0, square); break; case 0: t1 = t1.borderRadius; if (t1 != null) { clipPath = A.Path_Path(); clipPath.addRRect$1(0, t1.resolve$1(configuration.textDirection).toRRect$1(rect)); } else clipPath = null; break; default: clipPath = null; } _this._box_decoration$_imagePainter.paint$4(canvas, rect, clipPath, configuration); }, dispose$0(_) { var t1 = this._box_decoration$_imagePainter; if (t1 != null) t1.dispose$0(0); this.super$BoxPainter$dispose(0); }, paint$3(canvas, offset, configuration) { var t4, t5, paint, _this = this, t1 = configuration.size, t2 = offset._dx, t3 = offset._dy, rect = new A.Rect(t2, t3, t2 + t1._dx, t3 + t1._dy), textDirection = configuration.textDirection; _this._paintShadows$3(canvas, rect, textDirection); t1 = _this._box_decoration$_decoration; t2 = t1.color; t3 = t2 == null; if (!t3 || false) { t4 = _this._cachedBackgroundPaint; if (t4 != null) t5 = false; else t5 = true; if (t5) { t4 = A._detectRenderer(); paint = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); if (!t3) paint.set$color(0, t2); _this._cachedBackgroundPaint = paint; t2 = paint; } else t2 = t4; t2.toString; _this._paintBox$4(canvas, rect, t2, textDirection); } _this._paintBackgroundImage$3(canvas, rect, configuration); t2 = t1.border; if (t2 != null) { t3 = t1.borderRadius; t3 = t3 == null ? null : t3.resolve$1(textDirection); t2.paint$5$borderRadius$shape$textDirection(canvas, rect, t3, t1.shape, textDirection); } }, toString$0(_) { return "BoxPainter for " + this._box_decoration$_decoration.toString$0(0); } }; A.BoxFit.prototype = { toString$0(_) { return "BoxFit." + this._core$_name; } }; A.FittedSizes.prototype = {}; A.BoxShadow.prototype = { toPaint$0() { var t1 = A._detectRenderer(), result = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); result.set$color(0, this.color); result.set$maskFilter(new A.MaskFilter(this.blurStyle, A.Shadow_convertRadiusToSigma(this.blurRadius))); return result; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BoxShadow && other.color.$eq(0, _this.color) && other.offset.$eq(0, _this.offset) && other.blurRadius === _this.blurRadius && other.spreadRadius === _this.spreadRadius && other.blurStyle === _this.blurStyle; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.offset, _this.blurRadius, _this.spreadRadius, _this.blurStyle, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "BoxShadow(" + _this.color.toString$0(0) + ", " + _this.offset.toString$0(0) + ", " + A.debugFormatDouble(_this.blurRadius) + ", " + A.debugFormatDouble(_this.spreadRadius) + "), " + _this.blurStyle.toString$0(0); } }; A.CircleBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { return new A.CircleBorder(this.side.scale$1(0, t)); }, lerpFrom$2(a, t) { if (a instanceof A.CircleBorder) return new A.CircleBorder(A.BorderSide_lerp(a.side, this.side, t)); return this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { if (b instanceof A.CircleBorder) return new A.CircleBorder(A.BorderSide_lerp(this.side, b.side, t)); return this.super$ShapeBorder$lerpTo(b, t); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addOval$1(0, A.Rect$fromCircle(rect.get$center(), Math.max(0, rect.get$shortestSide() / 2 - this.side.width))); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addOval$1(0, A.Rect$fromCircle(rect.get$center(), rect.get$shortestSide() / 2)); return t1; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, copyWith$1$side(side) { return new A.CircleBorder(side == null ? this.side : side); }, paint$3$textDirection(canvas, rect, textDirection) { var t1 = this.side; switch (t1.style.index) { case 0: break; case 1: canvas.drawCircle$3(0, rect.get$center(), (rect.get$shortestSide() - t1.width) / 2, t1.toPaint$0()); break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.CircleBorder && other.side.$eq(0, this.side); }, get$hashCode(_) { var t1 = this.side; return A.hashValues(t1.color, t1.width, t1.style, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "CircleBorder(" + this.side.toString$0(0) + ")"; } }; A.ClipContext.prototype = { _clipAndPaint$4(canvasClipCall, clipBehavior, bounds, painter) { var t1, t2, _this = this; _this.get$canvas(_this).save$0(0); switch (clipBehavior.index) { case 0: break; case 1: canvasClipCall.call$1(false); break; case 2: canvasClipCall.call$1(true); break; case 3: canvasClipCall.call$1(true); t1 = _this.get$canvas(_this); t2 = A._detectRenderer(); t1.saveLayer$2(0, bounds, t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData())); break; } painter.call$0(); if (clipBehavior === B.Clip_3) _this.get$canvas(_this).restore$0(0); _this.get$canvas(_this).restore$0(0); }, clipPathAndPaint$4(path, clipBehavior, bounds, painter) { this._clipAndPaint$4(new A.ClipContext_clipPathAndPaint_closure(this, path), clipBehavior, bounds, painter); }, clipRRectAndPaint$4(rrect, clipBehavior, bounds, painter) { this._clipAndPaint$4(new A.ClipContext_clipRRectAndPaint_closure(this, rrect), clipBehavior, bounds, painter); }, clipRectAndPaint$4(rect, clipBehavior, bounds, painter) { this._clipAndPaint$4(new A.ClipContext_clipRectAndPaint_closure(this, rect), clipBehavior, bounds, painter); } }; A.ClipContext_clipPathAndPaint_closure.prototype = { call$1(doAntiAlias) { var t1 = this.$this; return t1.get$canvas(t1).clipPath$2$doAntiAlias(0, this.path, doAntiAlias); }, $signature: 14 }; A.ClipContext_clipRRectAndPaint_closure.prototype = { call$1(doAntiAlias) { var t1 = this.$this; return t1.get$canvas(t1).clipRRect$2$doAntiAlias(0, this.rrect, doAntiAlias); }, $signature: 14 }; A.ClipContext_clipRectAndPaint_closure.prototype = { call$1(doAntiAlias) { var t1 = this.$this; return t1.get$canvas(t1).clipRect$2$doAntiAlias(0, this.rect, doAntiAlias); }, $signature: 14 }; A.HSVColor.prototype = { toColor$0() { var _this = this, t1 = _this.value, chroma = _this.saturation * t1, t2 = _this.hue; return A._colorFromHue(_this.alpha, t2, chroma, chroma * (1 - Math.abs(B.JSNumber_methods.$mod(t2 / 60, 2) - 1)), t1 - chroma); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.HSVColor && other.alpha === _this.alpha && other.hue === _this.hue && other.saturation === _this.saturation && other.value === _this.value; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.alpha, _this.hue, _this.saturation, _this.value, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "HSVColor(" + A.S(_this.alpha) + ", " + A.S(_this.hue) + ", " + A.S(_this.saturation) + ", " + A.S(_this.value) + ")"; }, get$value(receiver) { return this.value; } }; A.HSLColor.prototype = { toColor$0() { var _this = this, t1 = _this.lightness, chroma = (1 - Math.abs(2 * t1 - 1)) * _this.saturation, t2 = _this.hue; return A._colorFromHue(_this.alpha, t2, chroma, chroma * (1 - Math.abs(B.JSNumber_methods.$mod(t2 / 60, 2) - 1)), t1 - chroma / 2); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.HSLColor && other.alpha === _this.alpha && other.hue === _this.hue && other.saturation === _this.saturation && other.lightness === _this.lightness; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.alpha, _this.hue, _this.saturation, _this.lightness, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "HSLColor(" + A.S(_this.alpha) + ", " + A.S(_this.hue) + ", " + A.S(_this.saturation) + ", " + A.S(_this.lightness) + ")"; } }; A.ColorSwatch.prototype = { $index(_, index) { return this._swatch.$index(0, index); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return _this.super$Color$$eq(0, other) && A._instanceType(_this)._eval$1("ColorSwatch<ColorSwatch.T>")._is(other) && A.mapEquals(other._swatch, _this._swatch); }, get$hashCode(_) { return A.hashValues(A.getRuntimeType(this), this.value, this._swatch, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "ColorSwatch(primary value: " + this.super$Color$toString(0) + ")"; } }; A.ImageSizeInfo.prototype = { _sizeToBytes$1(size) { return B.JSNumber_methods.toInt$0(size._dx * size._dy * 4 * 1.3333333333333333); }, toJson$0() { var _this = this, t1 = _this.displaySize, t2 = type$.String, t3 = type$.nullable_Object, t4 = _this.imageSize; return A.LinkedHashMap_LinkedHashMap$_literal(["source", _this.source, "displaySize", A.LinkedHashMap_LinkedHashMap$_literal(["width", t1._dx, "height", t1._dy], t2, t3), "imageSize", A.LinkedHashMap_LinkedHashMap$_literal(["width", t4._dx, "height", t4._dy], t2, t3), "displaySizeInBytes", _this._sizeToBytes$1(t1), "decodedSizeInBytes", _this._sizeToBytes$1(t4)], t2, t3); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ImageSizeInfo && other.source === _this.source && other.imageSize.$eq(0, _this.imageSize) && other.displaySize.$eq(0, _this.displaySize); }, get$hashCode(_) { return A.hashValues(this.source, this.displaySize, this.imageSize, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "ImageSizeInfo(" + this.source + ", imageSize: " + this.imageSize.toString$0(0) + ", displaySize: " + this.displaySize.toString$0(0) + ")"; } }; A.Decoration.prototype = { toStringShort$0() { return "Decoration"; }, get$padding(_) { return B.EdgeInsets_0_0_0_0; }, get$isComplex() { return false; }, lerpFrom$2(a, t) { return null; }, lerpTo$2(b, t) { return null; }, hitTest$3$textDirection(size, position, textDirection) { return true; }, getClipPath$2(rect, textDirection) { throw A.wrapException(A.UnsupportedError$("This Decoration subclass does not expect to be used for clipping.")); } }; A.BoxPainter.prototype = { dispose$0(_) { } }; A._Decoration_Object_Diagnosticable.prototype = {}; A.ImageRepeat.prototype = { toString$0(_) { return "ImageRepeat." + this._core$_name; } }; A.DecorationImage.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.DecorationImage) if (other.image.$eq(0, _this.image)) if (other.fit == _this.fit) if (B.Alignment_0_0.$eq(0, B.Alignment_0_0)) t1 = true; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return A.hashValues(this.image, null, this.fit, B.Alignment_0_0, null, B.ImageRepeat_3, false, 1, 1, B.FilterQuality_1, false, false, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var t3, t1 = A._setArrayType([this.image.toString$0(0)], type$.JSArray_String), t2 = this.fit; if (t2 != null) t3 = !(t2 === B.BoxFit_6 && true); else t3 = false; if (t3) t1.push(A.S(t2)); t1.push(B.Alignment_0_0.toString$0(0)); t1.push("scale 1"); t1.push("opacity 1"); t1.push(B.FilterQuality_1.toString$0(0)); return "DecorationImage(" + B.JSArray_methods.join$1(t1, ", ") + ")"; } }; A.DecorationImagePainter.prototype = { paint$4(canvas, rect, clipPath, configuration) { var t3, t4, t5, listener, _this = this, _null = null, t1 = _this._details, newImageStream = t1.image.resolve$1(configuration), t2 = newImageStream._image_stream$_completer; if (t2 == null) t2 = newImageStream; t3 = _this._decoration_image$_imageStream; t4 = t3 == null; if (t4) t5 = _null; else { t5 = t3._image_stream$_completer; if (t5 == null) t5 = t3; } if (t2 !== t5) { listener = new A.ImageStreamListener(_this.get$_handleImage(), _null, t1.onError); if (!t4) t3.removeListener$1(0, listener); _this._decoration_image$_imageStream = newImageStream; newImageStream.addListener$1(0, listener); } if (_this._decoration_image$_image == null) return; t2 = clipPath != null; if (t2) { canvas.save$0(0); canvas.clipPath$1(0, clipPath); } t3 = _this._decoration_image$_image; t4 = t3.image; A.paintImage(B.Alignment_0_0, canvas, _null, _null, t3.debugLabel, B.FilterQuality_1, t1.fit, false, t4, false, false, 1, rect, B.ImageRepeat_3, t3.scale); if (t2) canvas.restore$0(0); }, _handleImage$2(value, synchronousCall) { var t1, t2, _this = this; if (J.$eq$(_this._decoration_image$_image, value)) return; t1 = _this._decoration_image$_image; if (t1 != null) if (value.image.isCloneOf$1(t1.image)) { t2 = t1.scale; t1 = t2 === t2 && value.debugLabel == t1.debugLabel; } else t1 = false; else t1 = false; if (t1) { value.image.dispose$0(0); return; } t1 = _this._decoration_image$_image; if (t1 != null) t1.image.dispose$0(0); _this._decoration_image$_image = value; if (!synchronousCall) _this._onChanged.call$0(); }, dispose$0(_) { var _this = this, t1 = _this._decoration_image$_imageStream; if (t1 != null) t1.removeListener$1(0, new A.ImageStreamListener(_this.get$_handleImage(), null, _this._details.onError)); t1 = _this._decoration_image$_image; if (t1 != null) t1.image.dispose$0(0); _this._decoration_image$_image = null; }, toString$0(_) { return "DecorationImagePainter(stream: " + A.S(this._decoration_image$_imageStream) + ", image: " + A.S(this._decoration_image$_image) + ") for " + this._details.toString$0(0); } }; A.paintImage_closure.prototype = { call$1(timeStamp) { var t2, t3, t4, t1 = $._pendingImageSizeInfo; t1 = t1.get$values(t1); $._lastFrameImageSizeInfo = A.LinkedHashSet_LinkedHashSet$of(t1, A._instanceType(t1)._eval$1("Iterable.E")); t1 = $._pendingImageSizeInfo; if (t1.get$isEmpty(t1)) return; t1 = type$.String; t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Object); for (t3 = $._pendingImageSizeInfo, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) { t4 = t3.get$current(t3); t2.$indexSet(0, t4.source, t4.toJson$0()); } A.postEvent("Flutter.ImageSizesForFrame", t2); $._pendingImageSizeInfo = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ImageSizeInfo); }, $signature: 8 }; A.EdgeInsetsGeometry.prototype = { get$horizontal() { var _this = this; return _this.get$_left(_this) + _this.get$_right(_this) + _this.get$_edge_insets$_start(_this) + _this.get$_edge_insets$_end(); }, along$1(axis) { var _this = this; switch (axis.index) { case 0: return _this.get$horizontal(); case 1: return _this.get$_top(_this) + _this.get$_bottom(_this); } }, add$1(_, other) { var _this = this; return new A._MixedEdgeInsets(_this.get$_left(_this) + other.get$_left(other), _this.get$_right(_this) + other.get$_right(other), _this.get$_edge_insets$_start(_this) + other.get$_edge_insets$_start(other), _this.get$_edge_insets$_end() + other.get$_edge_insets$_end(), _this.get$_top(_this) + other.get$_top(other), _this.get$_bottom(_this) + other.get$_bottom(other)); }, clamp$2(_, min, max) { var _this = this; return new A._MixedEdgeInsets(B.JSNumber_methods.clamp$2(_this.get$_left(_this), min.left, max._left), B.JSNumber_methods.clamp$2(_this.get$_right(_this), min.right, max._right), B.JSNumber_methods.clamp$2(_this.get$_edge_insets$_start(_this), 0, max._edge_insets$_start), B.JSNumber_methods.clamp$2(_this.get$_edge_insets$_end(), 0, max._edge_insets$_end), B.JSNumber_methods.clamp$2(_this.get$_top(_this), min.top, max._top), B.JSNumber_methods.clamp$2(_this.get$_bottom(_this), min.bottom, max._bottom)); }, toString$0(_) { var _this = this; if (_this.get$_edge_insets$_start(_this) === 0 && _this.get$_edge_insets$_end() === 0) { if (_this.get$_left(_this) === 0 && _this.get$_right(_this) === 0 && _this.get$_top(_this) === 0 && _this.get$_bottom(_this) === 0) return "EdgeInsets.zero"; if (_this.get$_left(_this) === _this.get$_right(_this) && _this.get$_right(_this) === _this.get$_top(_this) && _this.get$_top(_this) === _this.get$_bottom(_this)) return "EdgeInsets.all(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_left(_this), 1) + ")"; return "EdgeInsets(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_left(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_top(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_right(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_bottom(_this), 1) + ")"; } if (_this.get$_left(_this) === 0 && _this.get$_right(_this) === 0) return "EdgeInsetsDirectional(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_edge_insets$_start(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_top(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_edge_insets$_end(), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_bottom(_this), 1) + ")"; return "EdgeInsets(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_left(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_top(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_right(_this), 1) + ", " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_bottom(_this), 1) + ") + EdgeInsetsDirectional(" + B.JSNumber_methods.toStringAsFixed$1(_this.get$_edge_insets$_start(_this), 1) + ", 0.0, " + B.JSNumber_methods.toStringAsFixed$1(_this.get$_edge_insets$_end(), 1) + ", 0.0)"; }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.EdgeInsetsGeometry && other.get$_left(other) === _this.get$_left(_this) && other.get$_right(other) === _this.get$_right(_this) && other.get$_edge_insets$_start(other) === _this.get$_edge_insets$_start(_this) && other.get$_edge_insets$_end() === _this.get$_edge_insets$_end() && other.get$_top(other) === _this.get$_top(_this) && other.get$_bottom(other) === _this.get$_bottom(_this); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.get$_left(_this), _this.get$_right(_this), _this.get$_edge_insets$_start(_this), _this.get$_edge_insets$_end(), _this.get$_top(_this), _this.get$_bottom(_this), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.EdgeInsets.prototype = { get$_left(_) { return this.left; }, get$_top(_) { return this.top; }, get$_right(_) { return this.right; }, get$_bottom(_) { return this.bottom; }, get$_edge_insets$_start(_) { return 0; }, get$_edge_insets$_end() { return 0; }, inflateRect$1(rect) { var _this = this; return new A.Rect(rect.left - _this.left, rect.top - _this.top, rect.right + _this.right, rect.bottom + _this.bottom); }, deflateRect$1(rect) { var _this = this; return new A.Rect(rect.left + _this.left, rect.top + _this.top, rect.right - _this.right, rect.bottom - _this.bottom); }, add$1(_, other) { if (other instanceof A.EdgeInsets) return this.$add(0, other); return this.super$EdgeInsetsGeometry$add(0, other); }, clamp$2(_, min, max) { var _this = this; return new A.EdgeInsets(B.JSNumber_methods.clamp$2(_this.left, min.left, max._left), B.JSNumber_methods.clamp$2(_this.top, min.top, max._top), B.JSNumber_methods.clamp$2(_this.right, min.right, max._right), B.JSNumber_methods.clamp$2(_this.bottom, min.bottom, max._bottom)); }, $sub(_, other) { var _this = this; return new A.EdgeInsets(_this.left - other.left, _this.top - other.top, _this.right - other.right, _this.bottom - other.bottom); }, $add(_, other) { var _this = this; return new A.EdgeInsets(_this.left + other.left, _this.top + other.top, _this.right + other.right, _this.bottom + other.bottom); }, $mul(_, other) { var _this = this; return new A.EdgeInsets(_this.left * other, _this.top * other, _this.right * other, _this.bottom * other); }, resolve$1(direction) { return this; }, copyWith$4$bottom$left$right$top(bottom, left, right, $top) { var _this = this, t1 = left == null ? _this.left : left, t2 = $top == null ? _this.top : $top, t3 = right == null ? _this.right : right; return new A.EdgeInsets(t1, t2, t3, bottom == null ? _this.bottom : bottom); }, copyWith$1$bottom(bottom) { return this.copyWith$4$bottom$left$right$top(bottom, null, null, null); }, copyWith$2$bottom$top(bottom, $top) { return this.copyWith$4$bottom$left$right$top(bottom, null, null, $top); }, copyWith$2$left$right(left, right) { return this.copyWith$4$bottom$left$right$top(null, left, right, null); }, copyWith$1$top($top) { return this.copyWith$4$bottom$left$right$top(null, null, null, $top); }, copyWith$1$left(left) { return this.copyWith$4$bottom$left$right$top(null, left, null, null); }, copyWith$1$right(right) { return this.copyWith$4$bottom$left$right$top(null, null, right, null); } }; A.EdgeInsetsDirectional.prototype = { get$_edge_insets$_start(_) { return this.start; }, get$_top(_) { return this.top; }, get$_edge_insets$_end() { return this.end; }, get$_bottom(_) { return this.bottom; }, get$_left(_) { return 0; }, get$_right(_) { return 0; }, add$1(_, other) { if (other instanceof A.EdgeInsetsDirectional) return this.$add(0, other); return this.super$EdgeInsetsGeometry$add(0, other); }, $sub(_, other) { var _this = this; return new A.EdgeInsetsDirectional(_this.start - other.start, _this.top - other.top, _this.end - other.end, _this.bottom - other.bottom); }, $add(_, other) { var _this = this; return new A.EdgeInsetsDirectional(_this.start + other.start, _this.top + other.top, _this.end + other.end, _this.bottom + other.bottom); }, $mul(_, other) { var _this = this; return new A.EdgeInsetsDirectional(_this.start * other, _this.top * other, _this.end * other, _this.bottom * other); }, resolve$1(direction) { var _this = this; switch (direction.index) { case 0: return new A.EdgeInsets(_this.end, _this.top, _this.start, _this.bottom); case 1: return new A.EdgeInsets(_this.start, _this.top, _this.end, _this.bottom); } } }; A._MixedEdgeInsets.prototype = { $mul(_, other) { var _this = this; return new A._MixedEdgeInsets(_this._left * other, _this._right * other, _this._edge_insets$_start * other, _this._edge_insets$_end * other, _this._top * other, _this._bottom * other); }, resolve$1(direction) { var _this = this; switch (direction.index) { case 0: return new A.EdgeInsets(_this._edge_insets$_end + _this._left, _this._top, _this._edge_insets$_start + _this._right, _this._bottom); case 1: return new A.EdgeInsets(_this._edge_insets$_start + _this._left, _this._top, _this._edge_insets$_end + _this._right, _this._bottom); } }, get$_left(receiver) { return this._left; }, get$_right(receiver) { return this._right; }, get$_edge_insets$_start(receiver) { return this._edge_insets$_start; }, get$_edge_insets$_end() { return this._edge_insets$_end; }, get$_top(receiver) { return this._top; }, get$_bottom(receiver) { return this._bottom; } }; A.Gradient0.prototype = { _impliedStops$0() { var separation, _list, index, t1 = this.stops; if (t1 != null) return t1; t1 = this.colors.length; separation = 1 / (t1 - 1); _list = J.JSArray_JSArray$allocateFixed(t1, type$.double); for (index = 0; index < t1; ++index) _list[index] = index * separation; return _list; } }; A.LinearGradient.prototype = { createShader$2$textDirection(_, rect, textDirection) { var _this = this, t1 = _this.begin.resolve$1(textDirection).withinRect$1(rect), t2 = _this.end.resolve$1(textDirection).withinRect$1(rect), t3 = _this._impliedStops$0(); return A.Gradient_Gradient$linear(t1, t2, _this.colors, t3, _this.tileMode, null); }, createShader$1($receiver, rect) { return this.createShader$2$textDirection($receiver, rect, null); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.LinearGradient) if (other.begin.$eq(0, _this.begin)) if (other.end.$eq(0, _this.end)) if (other.tileMode === _this.tileMode) t1 = A.listEquals0(other.colors, _this.colors) && A.listEquals0(other.stops, _this.stops); else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.begin, _this.end, _this.tileMode, _this.transform, A.hashList(_this.colors), A.hashList(_this.stops), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this, t1 = A._setArrayType(["begin: " + _this.begin.toString$0(0), "end: " + _this.end.toString$0(0), "colors: " + A.S(_this.colors)], type$.JSArray_String), t2 = _this.stops; if (t2 != null) t1.push("stops: " + A.S(t2)); t1.push("tileMode: " + _this.tileMode.toString$0(0)); return "LinearGradient(" + B.JSArray_methods.join$1(t1, ", ") + ")"; } }; A.ImageCache.prototype = { clear$0(_) { var _this = this, t1 = _this._pendingImages, t2 = _this._image_cache$_cache, t3 = _this._liveImages; A.Timeline_instantSync("ImageCache.clear", A.LinkedHashMap_LinkedHashMap$_literal(["pendingImages", t1.get$length(t1), "keepAliveImages", t2.get$length(t2), "liveImages", t3.get$length(t3), "currentSizeInBytes", _this._currentSizeBytes], type$.String, type$.dynamic)); for (t3 = t2.get$values(t2), t3 = t3.get$iterator(t3); t3.moveNext$0();) t3.get$current(t3).dispose$0(0); t2.clear$0(0); t1.clear$0(0); _this._currentSizeBytes = 0; }, evict$1(key) { var t1, t2, pendingImage, _this = this, _s16_ = "ImageCache.evict", image = _this._liveImages.remove$1(0, key); if (image != null) { t1 = image.completer; t2 = A._lateReadCheck(image.___LiveImage__handleRemove, "_handleRemove"); if (t1._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); B.JSArray_methods.remove$1(t1._onLastListenerRemovedCallbacks, t2); image.super$_CachedImageBase$dispose(0); } pendingImage = _this._pendingImages.remove$1(0, key); if (pendingImage != null) { A.Timeline_instantSync(_s16_, A.LinkedHashMap_LinkedHashMap$_literal(["type", "pending"], type$.String, type$.dynamic)); pendingImage.completer.removeListener$1(0, pendingImage.listener); return true; } image = _this._image_cache$_cache.remove$1(0, key); if (image != null) { A.Timeline_instantSync(_s16_, A.LinkedHashMap_LinkedHashMap$_literal(["type", "keepAlive", "sizeInBytes", image.sizeBytes], type$.String, type$.dynamic)); t1 = _this._currentSizeBytes; t2 = image.sizeBytes; t2.toString; _this._currentSizeBytes = t1 - t2; image.dispose$0(0); return true; } A.Timeline_instantSync(_s16_, A.LinkedHashMap_LinkedHashMap$_literal(["type", "miss"], type$.String, type$.dynamic)); return false; }, _touch$3(key, image, timelineTask) { var t2, _this = this, t1 = image.sizeBytes; if (t1 != null && t1 <= 104857600 && true) { t2 = _this._currentSizeBytes; t1.toString; _this._currentSizeBytes = t2 + t1; _this._image_cache$_cache.$indexSet(0, key, image); _this._checkCacheSize$1(timelineTask); } else image.dispose$0(0); }, _trackLiveImage$3(key, completer, sizeBytes) { var t1 = this._liveImages.putIfAbsent$2(0, key, new A.ImageCache__trackLiveImage_closure(this, completer, key)); if (t1.sizeBytes == null) t1.sizeBytes = sizeBytes; }, putIfAbsent$3$onError(_, key, loader, onError) { var error, stackTrace, t2, timelineTask, t3, t4, t5, t6, result, image, liveImage, exception, listenerTask, streamListener, _this = this, _null = null, t1 = {}; t1.listenerTask = t1.timelineTask = null; t2 = type$.JSArray_nullable__AsyncBlock; timelineTask = new A.TimelineTask(_null, _null, 0, A._setArrayType([], t2)); t3 = type$.String; t4 = type$.dynamic; timelineTask.start$2$arguments(0, "ImageCache.putIfAbsent", A.LinkedHashMap_LinkedHashMap$_literal(["key", J.toString$0$(key)], t3, t4)); t1.timelineTask = timelineTask; t5 = _this._pendingImages; t6 = t5.$index(0, key); result = t6 == null ? _null : t6.completer; t1.result = result; if (result != null) { timelineTask.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["result", "pending"], t3, t4)); return result; } t6 = _this._image_cache$_cache; image = t6.remove$1(0, key); if (image != null) { timelineTask.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["result", "keepAlive"], t3, t4)); t1 = image.completer; _this._trackLiveImage$3(key, t1, image.sizeBytes); t6.$indexSet(0, key, image); return t1; } liveImage = _this._liveImages.$index(0, key); if (liveImage != null) { t1 = liveImage.completer; t2 = liveImage.sizeBytes; if (t1._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t5 = new A.ImageStreamCompleterHandle(t1); t5.ImageStreamCompleterHandle$_$1(t1); _this._touch$3(key, new A._CachedImage(t1, t2, t5), timelineTask); timelineTask.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["result", "keepAlive"], t3, t4)); return t1; } try { result = t1.result = loader.call$0(); _this._trackLiveImage$3(key, result, _null); t3 = result; } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); t1 = t1.timelineTask; t1.toString; t1.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["result", "error", "error", J.toString$0$(error), "stackTrace", J.toString$0$(stackTrace)], t3, t4)); onError.call$2(error, stackTrace); return _null; } listenerTask = new A.TimelineTask(timelineTask, _null, 0, A._setArrayType([], t2)); listenerTask.start$1(0, "listener"); t1.listenerTask = listenerTask; t1.listenedOnce = false; t1.untrackedPendingImage = null; streamListener = new A.ImageStreamListener(new A.ImageCache_putIfAbsent_listener(t1, _this, key), _null, _null); t5.$indexSet(0, key, new A._PendingImage(t3, streamListener)); t1.result.addListener$1(0, streamListener); return t1.result; }, containsKey$1(_, key) { return this._pendingImages.$index(0, key) != null || this._image_cache$_cache.$index(0, key) != null; }, _checkCacheSize$1(timelineTask) { var t1, t2, t3, it, key, image, t4, _this = this, _s11_ = "evictedKeys", finishArgs = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic), checkCacheTask = new A.TimelineTask(timelineTask, null, 0, A._setArrayType([], type$.JSArray_nullable__AsyncBlock)); checkCacheTask.start$1(0, "checkCacheSize"); finishArgs.$indexSet(0, _s11_, A._setArrayType([], type$.JSArray_String)); t1 = _this._image_cache$_cache; finishArgs.$indexSet(0, "currentSize", t1.get$length(t1)); finishArgs.$indexSet(0, "currentSizeBytes", _this._currentSizeBytes); t2 = type$.List_String; while (true) { if (!(_this._currentSizeBytes > 104857600 || t1.get$length(t1) > 1000)) break; t3 = t1.get$keys(t1); it = t3.get$iterator(t3); if (!it.moveNext$0()) A.throwExpression(A.IterableElementError_noElement()); key = it.get$current(it); image = t1.$index(0, key); t3 = _this._currentSizeBytes; t4 = image.sizeBytes; t4.toString; _this._currentSizeBytes = t3 - t4; image.dispose$0(0); t1.remove$1(0, key); J.add$1$ax(t2._as(finishArgs.$index(0, _s11_)), J.toString$0$(key)); } finishArgs.$indexSet(0, "endSize", t1.get$length(t1)); finishArgs.$indexSet(0, "endSizeBytes", _this._currentSizeBytes); checkCacheTask.finish$1$arguments(0, finishArgs); } }; A.ImageCache__trackLiveImage_closure.prototype = { call$0() { return A._LiveImage$(this.completer, new A.ImageCache__trackLiveImage__closure(this.$this, this.key)); }, $signature: 545 }; A.ImageCache__trackLiveImage__closure.prototype = { call$0() { this.$this._liveImages.remove$1(0, this.key); }, $signature: 0 }; A.ImageCache_putIfAbsent_listener.prototype = { call$2(info, syncCall) { var t1, sizeBytes, t2, t3, image, pendingImage, t4, t5, t6; if (info != null) { t1 = info.image; sizeBytes = t1.get$height(t1) * t1.get$width(t1) * 4; t1.dispose$0(0); } else sizeBytes = null; t1 = this._box_0; t2 = t1.result; if (t2._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t3 = new A.ImageStreamCompleterHandle(t2); t3.ImageStreamCompleterHandle$_$1(t2); image = new A._CachedImage(t2, sizeBytes, t3); t3 = this.$this; t2 = this.key; t3._trackLiveImage$3(t2, t1.result, sizeBytes); if (t1.untrackedPendingImage == null) t3._touch$3(t2, image, t1.listenerTask); else image.dispose$0(0); pendingImage = t1.untrackedPendingImage; if (pendingImage == null) pendingImage = t3._pendingImages.remove$1(0, t2); if (pendingImage != null) pendingImage.completer.removeListener$1(0, pendingImage.listener); t2 = t1.listenedOnce; if (!t2) { t2 = t1.listenerTask; t2.toString; t4 = type$.String; t5 = type$.dynamic; t2.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["syncCall", syncCall, "sizeInBytes", sizeBytes], t4, t5)); t2 = t1.timelineTask; t2.toString; t6 = t3._image_cache$_cache; t2.finish$1$arguments(0, A.LinkedHashMap_LinkedHashMap$_literal(["currentSizeBytes", t3._currentSizeBytes, "currentSize", t6.get$length(t6)], t4, t5)); } t1.listenedOnce = true; }, $signature: 281 }; A._CachedImageBase.prototype = { dispose$0(_) { $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._CachedImageBase_dispose_closure(this)); } }; A._CachedImageBase_dispose_closure.prototype = { call$1(timeStamp) { var t1 = this.$this, t2 = t1.handle; if (t2 != null) t2.dispose$0(0); t1.handle = null; }, $signature: 8 }; A._CachedImage.prototype = {}; A._LiveImage.prototype = { _LiveImage$3$sizeBytes(completer, handleRemove, sizeBytes) { var t1 = new A._LiveImage_closure(this, handleRemove); this.___LiveImage__handleRemove = t1; t1 = A._lateReadCheck(t1, "_handleRemove"); if (completer._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); completer._onLastListenerRemovedCallbacks.push(t1); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A._LiveImage_closure.prototype = { call$0() { var t1, t2, t3; this.handleRemove.call$0(); t1 = this.$this; t2 = t1.completer; t3 = A._lateReadCheck(t1.___LiveImage__handleRemove, "_handleRemove"); if (t2._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); B.JSArray_methods.remove$1(t2._onLastListenerRemovedCallbacks, t3); t1.super$_CachedImageBase$dispose(0); }, $signature: 0 }; A._PendingImage.prototype = {}; A.ImageConfiguration.prototype = { copyWith$1$size(size) { var _this = this; return new A.ImageConfiguration(_this.bundle, _this.devicePixelRatio, _this.locale, _this.textDirection, size, _this.platform); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ImageConfiguration && other.bundle == _this.bundle && other.devicePixelRatio == _this.devicePixelRatio && J.$eq$(other.locale, _this.locale) && other.textDirection == _this.textDirection && J.$eq$(other.size, _this.size) && other.platform == _this.platform; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.bundle, _this.devicePixelRatio, _this.locale, _this.size, _this.platform, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var hasArguments, _this = this, t1 = "" + "ImageConfiguration(", t2 = _this.bundle; if (t2 != null) { t1 += "bundle: " + t2.toString$0(0); hasArguments = true; } else hasArguments = false; t2 = _this.devicePixelRatio; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("devicePixelRatio: " + B.JSNumber_methods.toStringAsFixed$1(t2, 1)); t1 = t2; hasArguments = true; } t2 = _this.locale; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("locale: " + t2.toString$0(0)); t1 = t2; hasArguments = true; } t2 = _this.textDirection; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("textDirection: " + t2.toString$0(0)); t1 = t2; hasArguments = true; } t2 = _this.size; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("size: " + t2.toString$0(0)); t1 = t2; hasArguments = true; } t2 = _this.platform; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("platform: " + A.describeEnum(t2)); t1 = t2; } t1 += ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.ImageProvider.prototype = { resolve$1(configuration) { var stream = new A.ImageStream(); this._createErrorHandlerAndKey$3(configuration, new A.ImageProvider_resolve_closure(this, configuration, stream), new A.ImageProvider_resolve_closure0(this, configuration, stream)); return stream; }, _createErrorHandlerAndKey$3(configuration, successCallback, errorCallback) { var t2, _null = null, t1 = {}; t1.obtainedKey = null; t1.didError = false; t2 = new A.ImageProvider__createErrorHandlerAndKey_handleError(t1, errorCallback); $.Zone__current.fork$1$specification(new A._ZoneSpecification(new A.ImageProvider__createErrorHandlerAndKey_closure(t2), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)).runGuarded$1(new A.ImageProvider__createErrorHandlerAndKey_closure0(t1, this, configuration, t2, successCallback)); }, resolveStreamForKey$4(configuration, stream, key, handleError) { var completer; if (stream._image_stream$_completer != null) { $.PaintingBinding__instance.PaintingBinding__imageCache.putIfAbsent$3$onError(0, key, new A.ImageProvider_resolveStreamForKey_closure(stream), handleError); return; } completer = $.PaintingBinding__instance.PaintingBinding__imageCache.putIfAbsent$3$onError(0, key, new A.ImageProvider_resolveStreamForKey_closure0(this, key), handleError); if (completer != null) stream.setCompleter$1(completer); }, toString$0(_) { return "ImageConfiguration()"; } }; A.ImageProvider_resolve_closure.prototype = { call$2(key, errorHandler) { this.$this.resolveStreamForKey$4(this.configuration, this.stream, key, errorHandler); }, $signature() { return A._instanceType(this.$this)._eval$1("~(ImageProvider.T,~(Object,StackTrace?))"); } }; A.ImageProvider_resolve_closure0.prototype = { call$3(key, exception, stack) { return this.$call$body$ImageProvider_resolve_closure(key, exception, stack); }, $call$body$ImageProvider_resolve_closure(key, exception, stack) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$call$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 $async$goto = 2; return A._asyncAwait(null, $async$call$3); case 2: // returning from await. t1 = $async$self.stream; if (t1._image_stream$_completer == null) t1.setCompleter$1(new A._ErrorImageCompleter(A._setArrayType([], type$.JSArray_ImageStreamListener), A._setArrayType([], type$.JSArray_of_void_Function))); t1 = t1._image_stream$_completer; t1.toString; t1.reportError$5$context$exception$informationCollector$silent$stack(A.ErrorDescription$("while resolving an image"), exception, null, true, stack); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$3, $async$completer); }, $signature() { return A._instanceType(this.$this)._eval$1("Future<~>(ImageProvider.T?,Object,StackTrace?)"); } }; A.ImageProvider__createErrorHandlerAndKey_handleError.prototype = { $call$body$ImageProvider__createErrorHandlerAndKey_handleError(exception, stack) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1; var $async$call$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._box_0; if (t1.didError) { // goto return $async$goto = 1; break; } $async$self.errorCallback.call$3(t1.obtainedKey, exception, stack); t1.didError = true; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$call$2, $async$completer); }, call$2(exception, stack) { return this.$call$body$ImageProvider__createErrorHandlerAndKey_handleError(exception, stack); }, $signature: 547 }; A.ImageProvider__createErrorHandlerAndKey_closure.prototype = { call$5(zone, delegate, $parent, error, stackTrace) { this.handleError.call$2(error, stackTrace); }, $signature: 548 }; A.ImageProvider__createErrorHandlerAndKey_closure0.prototype = { call$0() { var error, stackTrace, exception, t1, _this = this, key = null; try { key = _this.$this.obtainKey$1(_this.configuration); } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); _this.handleError.call$2(error, stackTrace); return; } t1 = _this.handleError; J.then$1$1$x(key, new A.ImageProvider__createErrorHandlerAndKey__closure(_this._box_0, _this.$this, _this.successCallback, t1), type$.void).catchError$1(t1); }, $signature: 0 }; A.ImageProvider__createErrorHandlerAndKey__closure.prototype = { call$1(key) { var error, stackTrace, exception, _this = this; _this._box_0.obtainedKey = key; try { _this.successCallback.call$2(key, _this.handleError); } catch (exception) { error = A.unwrapException(exception); stackTrace = A.getTraceFromException(exception); _this.handleError.call$2(error, stackTrace); } }, $signature() { return A._instanceType(this.$this)._eval$1("Null(ImageProvider.T)"); } }; A.ImageProvider_resolveStreamForKey_closure.prototype = { call$0() { var t1 = this.stream._image_stream$_completer; t1.toString; return t1; }, $signature: 282 }; A.ImageProvider_resolveStreamForKey_closure0.prototype = { call$0() { return this.$this.load$2(0, this.key, $.PaintingBinding__instance.get$instantiateImageCodec()); }, $signature: 282 }; A.AssetBundleImageKey.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.AssetBundleImageKey && other.bundle === _this.bundle && other.name === _this.name && other.scale === _this.scale; }, get$hashCode(_) { return A.hashValues(this.bundle, this.name, this.scale, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "AssetBundleImageKey(bundle: " + this.bundle.toString$0(0) + ', name: "' + this.name + '", scale: ' + A.S(this.scale) + ")"; }, get$name(receiver) { return this.name; } }; A.AssetBundleImageProvider.prototype = { load$2(_, key, decode) { return A.MultiFrameImageStreamCompleter$(null, this._loadAsync$2(key, decode), key.name, null, key.scale); }, _loadAsync$2(key, decode) { return this._loadAsync$body$AssetBundleImageProvider(key, decode); }, _loadAsync$body$AssetBundleImageProvider(key, decode) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Codec), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], exception, data, $async$exception; var $async$_loadAsync$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 data = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait(key.bundle.load$1(0, key.name), $async$_loadAsync$2); case 7: // returning from await. data = $async$result; $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.FlutterError) { $.PaintingBinding__instance.PaintingBinding__imageCache.evict$1(key); throw $async$exception; } else throw $async$exception; // goto after finally $async$goto = 6; break; case 3: // uncaught // goto rethrow $async$goto = 2; break; case 6: // after finally if (data == null) { $.PaintingBinding__instance.PaintingBinding__imageCache.evict$1(key); throw A.wrapException(A.StateError$("Unable to read data")); } $async$returnValue = decode.call$1(A.NativeUint8List_NativeUint8List$view(data.buffer, 0, 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$_loadAsync$2, $async$completer); } }; A.MemoryImage.prototype = { obtainKey$1(configuration) { return new A.SynchronousFuture(this, type$.SynchronousFuture_MemoryImage); }, load$2(_, key, decode) { return A.MultiFrameImageStreamCompleter$(null, decode.call$1(this.bytes), "MemoryImage(" + ("<optimized out>#" + A.shortHash(key.bytes)) + ")", null, key.scale); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.MemoryImage && other.bytes === this.bytes && other.scale === this.scale; }, get$hashCode(_) { return A.hashValues(A.Primitives_objectHashCode(this.bytes), this.scale, 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, 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); }, toString$0(_) { return "MemoryImage(" + ("<optimized out>#" + A.shortHash(this.bytes)) + ", scale: " + this.scale + ")"; } }; A._ErrorImageCompleter.prototype = {}; A.AssetImage.prototype = { get$keyName() { return this.assetName; }, obtainKey$1(configuration) { var t2, t1 = {}, chosenBundle = configuration.bundle; if (chosenBundle == null) chosenBundle = $.$get$rootBundle(); t1.result = t1.completer = null; chosenBundle.loadStructuredData$1$2("AssetManifest.json", A.image_resolution_AssetImage__manifestParser$closure(), type$.nullable_Map_of_String_and_List_String).then$1$1(0, new A.AssetImage_obtainKey_closure(t1, this, configuration, chosenBundle), type$.void).catchError$1(new A.AssetImage_obtainKey_closure0(t1)); t2 = t1.result; if (t2 != null) return t2; t2 = new A._Future($.Zone__current, type$._Future_AssetBundleImageKey); t1.completer = new A._AsyncCompleter(t2, type$._AsyncCompleter_AssetBundleImageKey); return t2; }, _chooseVariant$3(main, config, candidates) { var mapping, t2, t3, t1 = config.devicePixelRatio; if (t1 == null || candidates == null || J.get$isEmpty$asx(candidates)) return main; mapping = A.SplayTreeMap$(type$.double, type$.String); for (t2 = J.get$iterator$ax(candidates); t2.moveNext$0();) { t3 = t2.get$current(t2); mapping.$indexSet(0, this._parseScale$1(t3), t3); } t1.toString; return this._findBestVariant$2(mapping, t1); }, _findBestVariant$2(candidates, value) { var t1, lower, upper; if (candidates._containsKey$1(value)) { t1 = candidates.$index(0, value); t1.toString; return t1; } lower = candidates.lastKeyBefore$1(value); upper = candidates.firstKeyAfter$1(value); if (lower == null) return candidates.$index(0, upper); if (upper == null) return candidates.$index(0, lower); if (value < 2 || value > (lower + upper) / 2) return candidates.$index(0, upper); else return candidates.$index(0, lower); }, _parseScale$1(key) { var assetUri, directoryPath, match, t1; if (key === this.assetName) return 1; assetUri = A.Uri_parse(key, 0, null); directoryPath = assetUri.get$pathSegments().length > 1 ? assetUri.get$pathSegments()[assetUri.get$pathSegments().length - 2] : ""; match = $.$get$AssetImage__extractRatioRegExp().firstMatch$1(directoryPath); if (match != null && match._match.length - 1 > 0) { t1 = match._match[1]; t1.toString; return A.double_parse(t1); } return 1; }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.AssetImage && other.get$keyName() === this.get$keyName() && true; }, get$hashCode(_) { return A.hashValues(this.get$keyName(), this.bundle, 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, 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); }, toString$0(_) { return "AssetImage(bundle: " + A.S(this.bundle) + ', name: "' + this.get$keyName() + '")'; } }; A.AssetImage_obtainKey_closure.prototype = { call$1(manifest) { var key, _this = this, t1 = _this.$this, t2 = t1.get$keyName(), t3 = manifest == null ? null : J.$index$asx(manifest, t1.get$keyName()); t3 = t1._chooseVariant$3(t2, _this.configuration, t3); t3.toString; key = new A.AssetBundleImageKey(_this.chosenBundle, t3, t1._parseScale$1(t3)); t1 = _this._box_0; t2 = t1.completer; if (t2 != null) t2.complete$1(0, key); else t1.result = new A.SynchronousFuture(key, type$.SynchronousFuture_AssetBundleImageKey); }, $signature: 550 }; A.AssetImage_obtainKey_closure0.prototype = { call$2(error, stack) { this._box_0.completer.completeError$2(error, stack); }, $signature: 55 }; A.ImageInfo.prototype = { clone$0(_) { return new A.ImageInfo(this.image.clone$0(0), this.scale, this.debugLabel); }, toString$0(_) { var t1 = this.debugLabel; t1 = t1 != null ? t1 + " " : ""; return t1 + this.image.toString$0(0) + " @ " + A.debugFormatDouble(this.scale) + "x"; }, get$hashCode(_) { return A.hashValues(this.image, this.scale, this.debugLabel, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ImageInfo && other.image === _this.image && other.scale === _this.scale && other.debugLabel == _this.debugLabel; } }; A.ImageStreamListener.prototype = { get$hashCode(_) { return A.hashValues(this.onImage, this.onChunk, this.onError, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.ImageStreamListener && J.$eq$(other.onImage, _this.onImage) && J.$eq$(other.onChunk, _this.onChunk) && J.$eq$(other.onError, _this.onError); }, onImage$2(arg0, arg1) { return this.onImage.call$2(arg0, arg1); } }; A.ImageChunkEvent.prototype = {}; A.ImageStream.prototype = { setCompleter$1(value) { var t1; this._image_stream$_completer = value; t1 = this._image_stream$_listeners; if (t1 != null) { this._image_stream$_listeners = null; B.JSArray_methods.forEach$1(t1, value.get$addListener(value)); } }, addListener$1(_, listener) { var t1 = this._image_stream$_completer; if (t1 != null) return t1.addListener$1(0, listener); t1 = this._image_stream$_listeners; (t1 == null ? this._image_stream$_listeners = A._setArrayType([], type$.JSArray_ImageStreamListener) : t1).push(listener); }, removeListener$1(_, listener) { var i, t1 = this._image_stream$_completer; if (t1 != null) return t1.removeListener$1(0, listener); for (i = 0; t1 = this._image_stream$_listeners, i < t1.length; ++i) if (J.$eq$(t1[i], listener)) { t1 = this._image_stream$_listeners; t1.toString; B.JSArray_methods.removeAt$1(t1, i); break; } } }; A.ImageStreamCompleterHandle.prototype = { ImageStreamCompleterHandle$_$1(_completer) { ++this._image_stream$_completer._keepAliveHandles; }, dispose$0(_) { var t1 = this._image_stream$_completer; --t1._keepAliveHandles; t1._maybeDispose$0(); this._image_stream$_completer = null; } }; A.ImageStreamCompleter.prototype = { addListener$1(_, listener) { var exception, stack, newException, newStack, t1, exception0, t2, _this = this; if (_this._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); _this._hadAtLeastOneListener = true; _this._image_stream$_listeners.push(listener); t1 = _this._currentImage; if (t1 != null) try { t1 = t1.clone$0(0); listener.onImage.call$2(t1, true); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); _this.reportError$3$context$exception$stack(A.ErrorDescription$("by a synchronously-called image listener"), exception, stack); } t1 = _this._currentError; if (t1 != null && listener.onError != null) try { t2 = listener.onError; t2.toString; t2.call$2(t1.exception, t1.stack); } catch (exception) { newException = A.unwrapException(exception); newStack = A.getTraceFromException(exception); if (!J.$eq$(newException, _this._currentError.exception)) A.FlutterError_reportError(new A.FlutterErrorDetails(newException, newStack, "image resource service", A.ErrorDescription$("by a synchronously-called image error listener"), null, false)); } }, removeListener$1(_, listener) { var t1, i, callbacks, t2, _i, _this = this; if (_this._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); for (t1 = _this._image_stream$_listeners, i = 0; i < t1.length; ++i) if (J.$eq$(t1[i], listener)) { B.JSArray_methods.removeAt$1(t1, i); break; } if (t1.length === 0) { t1 = _this._onLastListenerRemovedCallbacks; callbacks = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); for (t2 = callbacks.length, _i = 0; _i < callbacks.length; callbacks.length === t2 || (0, A.throwConcurrentModificationError)(callbacks), ++_i) callbacks[_i].call$0(); B.JSArray_methods.set$length(t1, 0); _this._maybeDispose$0(); } }, _maybeDispose$0() { var t1, _this = this; if (!_this._hadAtLeastOneListener || _this._image_stream$_disposed || _this._image_stream$_listeners.length !== 0 || _this._keepAliveHandles !== 0) return; t1 = _this._currentImage; if (t1 != null) t1.image.dispose$0(0); _this._currentImage = null; _this._image_stream$_disposed = true; }, setImage$1(image) { var listener, exception, stack, t1, localListeners, t2, t3, t4, _i, exception0, _this = this; if (_this._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t1 = _this._currentImage; if (t1 != null) t1.image.dispose$0(0); _this._currentImage = image; t1 = _this._image_stream$_listeners; if (t1.length === 0) return; localListeners = A.List_List$from(t1, true, type$.ImageStreamListener); for (t1 = localListeners.length, t2 = image.image, t3 = image.scale, t4 = image.debugLabel, _i = 0; _i < t1; ++_i) { listener = localListeners[_i]; try { listener.onImage$2(new A.ImageInfo(t2.clone$0(0), t3, t4), false); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); _this.reportError$3$context$exception$stack(A.ErrorDescription$("by an image listener"), exception, stack); } } }, reportError$5$context$exception$informationCollector$silent$stack(context, exception, informationCollector, silent, stack) { var handled, errorListener, newException, newStack, t1, t2, localErrorListeners, _i, exception0, t3, _s22_ = "image resource service"; this._currentError = new A.FlutterErrorDetails(exception, stack, _s22_, context, informationCollector, silent); t1 = this._image_stream$_listeners; t2 = type$.WhereTypeIterable_of_void_Function_2_Object_and_nullable_StackTrace; localErrorListeners = A.List_List$of(new A.WhereTypeIterable(new A.MappedListIterable(t1, new A.ImageStreamCompleter_reportError_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,~(Object,StackTrace?)?>")), t2), true, t2._eval$1("Iterable.E")); handled = false; for (t1 = localErrorListeners.length, _i = 0; _i < t1; ++_i) { errorListener = localErrorListeners[_i]; try { errorListener.call$2(exception, stack); handled = true; } catch (exception0) { newException = A.unwrapException(exception0); newStack = A.getTraceFromException(exception0); if (!J.$eq$(newException, exception)) { t2 = A.ErrorDescription$("when reporting an error to an image listener"); t3 = $.$get$FlutterError_onError(); if (t3 != null) t3.call$1(new A.FlutterErrorDetails(newException, newStack, _s22_, t2, null, false)); } } } if (!handled) { t1 = this._currentError; t1.toString; A.FlutterError_reportError(t1); } }, reportError$3$context$exception$stack(context, exception, stack) { return this.reportError$5$context$exception$informationCollector$silent$stack(context, exception, null, false, stack); }, reportImageChunkEvent$1($event) { var t1, t2, localListeners, _i; if (this._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t1 = this._image_stream$_listeners; if (t1.length !== 0) { t2 = type$.WhereTypeIterable_of_void_Function_ImageChunkEvent; localListeners = A.List_List$of(new A.WhereTypeIterable(new A.MappedListIterable(t1, new A.ImageStreamCompleter_reportImageChunkEvent_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,~(ImageChunkEvent)?>")), t2), true, t2._eval$1("Iterable.E")); for (t1 = localListeners.length, _i = 0; _i < t1; ++_i) localListeners[_i].call$1($event); } } }; A.ImageStreamCompleter_reportError_closure.prototype = { call$1(listener) { return listener.onError; }, $signature: 553 }; A.ImageStreamCompleter_reportImageChunkEvent_closure.prototype = { call$1(listener) { return listener.onChunk; }, $signature: 554 }; A.MultiFrameImageStreamCompleter.prototype = { MultiFrameImageStreamCompleter$5$chunkEvents$codec$debugLabel$informationCollector$scale(chunkEvents, codec, debugLabel, informationCollector, scale) { var _this = this; _this.debugLabel = debugLabel; codec.then$1$2$onError(0, _this.get$_handleCodecReady(), new A.MultiFrameImageStreamCompleter_closure(_this, informationCollector), type$.void); if (chunkEvents != null) chunkEvents.listen$2$onError(_this.get$reportImageChunkEvent(), new A.MultiFrameImageStreamCompleter_closure0(_this, informationCollector)); }, _handleCodecReady$1(codec) { this._codec = codec; if (this._image_stream$_listeners.length !== 0) this._decodeNextFrameAndSchedule$0(); }, _handleAppFrame$1(timestamp) { var t1, t2, completedCycles, _this = this, _s15_ = "_shownTimestamp"; _this._frameCallbackScheduled = false; if (_this._image_stream$_listeners.length === 0) return; t1 = _this._frameDuration; if (t1 != null) { t1 = A._lateReadCheck(_this.__MultiFrameImageStreamCompleter__shownTimestamp, _s15_)._duration; t2 = _this._frameDuration; t1 = timestamp._duration - t1 >= t2._duration; } else { t2 = t1; t1 = true; } if (t1) { t1 = _this._nextFrame; _this._emitFrame$1(new A.ImageInfo(t1.get$image(t1).clone$0(0), _this._scale, _this.debugLabel)); _this.__MultiFrameImageStreamCompleter__shownTimestamp = timestamp; t1 = _this._nextFrame; _this._frameDuration = t1.get$duration(t1); t1 = _this._nextFrame; t1.get$image(t1).dispose$0(0); _this._nextFrame = null; completedCycles = B.JSInt_methods.$tdiv(_this._framesEmitted, _this._codec.get$frameCount()); if (_this._codec.get$repetitionCount() === -1 || completedCycles <= _this._codec.get$repetitionCount()) _this._decodeNextFrameAndSchedule$0(); return; } t2.toString; _this._image_stream$_timer = A.Timer_Timer(new A.Duration(B.JSNumber_methods.round$0((t2._duration - (timestamp._duration - A._lateReadCheck(_this.__MultiFrameImageStreamCompleter__shownTimestamp, _s15_)._duration)) * $._timeDilation)), new A.MultiFrameImageStreamCompleter__handleAppFrame_closure(_this)); }, _decodeNextFrameAndSchedule$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, exception, stack, exception0, t1, $async$exception0; var $async$_decodeNextFrameAndSchedule$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 t1 = $async$self._nextFrame; if (t1 != null) t1.get$image(t1).dispose$0(0); $async$self._nextFrame = null; $async$handler = 4; $async$goto = 7; return A._asyncAwait($async$self._codec.getNextFrame$0(), $async$_decodeNextFrameAndSchedule$0); case 7: // returning from await. $async$self._nextFrame = $async$result; $async$handler = 2; // goto after finally $async$goto = 6; break; case 4: // catch $async$handler = 3; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); $async$self.reportError$5$context$exception$informationCollector$silent$stack(A.ErrorDescription$("resolving an image frame"), exception, $async$self._informationCollector, true, stack); // 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 if ($async$self._codec.get$frameCount() === 1) { if ($async$self._image_stream$_listeners.length === 0) { // goto return $async$goto = 1; break; } t1 = $async$self._nextFrame; $async$self._emitFrame$1(new A.ImageInfo(t1.get$image(t1).clone$0(0), $async$self._scale, $async$self.debugLabel)); t1 = $async$self._nextFrame; t1.get$image(t1).dispose$0(0); $async$self._nextFrame = null; // goto return $async$goto = 1; break; } $async$self._scheduleAppFrame$0(); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_decodeNextFrameAndSchedule$0, $async$completer); }, _scheduleAppFrame$0() { if (this._frameCallbackScheduled) return; this._frameCallbackScheduled = true; $.SchedulerBinding__instance.scheduleFrameCallback$1(this.get$_handleAppFrame()); }, _emitFrame$1(imageInfo) { this.setImage$1(imageInfo); ++this._framesEmitted; }, addListener$1(_, listener) { var t1, _this = this; if (_this._image_stream$_listeners.length === 0) { t1 = _this._codec; if (t1 != null) t1 = _this._currentImage == null || t1.get$frameCount() > 1; else t1 = false; } else t1 = false; if (t1) _this._decodeNextFrameAndSchedule$0(); _this.super$ImageStreamCompleter$addListener(0, listener); }, removeListener$1(_, listener) { var t1, _this = this; _this.super$ImageStreamCompleter$removeListener(0, listener); if (_this._image_stream$_listeners.length === 0) { t1 = _this._image_stream$_timer; if (t1 != null) t1.cancel$0(0); _this._image_stream$_timer = null; } } }; A.MultiFrameImageStreamCompleter_closure.prototype = { call$2(error, stack) { this.$this.reportError$5$context$exception$informationCollector$silent$stack(A.ErrorDescription$("resolving an image codec"), error, this.informationCollector, true, stack); }, $signature: 55 }; A.MultiFrameImageStreamCompleter_closure0.prototype = { call$2(error, stack) { this.$this.reportError$5$context$exception$informationCollector$silent$stack(A.ErrorDescription$("loading an image"), error, this.informationCollector, true, stack); }, $signature: 55 }; A.MultiFrameImageStreamCompleter__handleAppFrame_closure.prototype = { call$0() { this.$this._scheduleAppFrame$0(); }, $signature: 0 }; A._ImageChunkEvent_Object_Diagnosticable.prototype = {}; A._ImageStream_Object_Diagnosticable.prototype = {}; A._ImageStreamCompleter_Object_Diagnosticable.prototype = {}; A.Accumulator.prototype = { get$value(_) { return this._inline_span$_value; } }; A.InlineSpanSemanticsInformation.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.InlineSpanSemanticsInformation && other.text === _this.text && other.semanticsLabel == _this.semanticsLabel && other.recognizer == _this.recognizer && other.isPlaceholder === _this.isPlaceholder && A.listEquals0(other.stringAttributes, _this.stringAttributes); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.text, _this.semanticsLabel, _this.recognizer, _this.isPlaceholder, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "InlineSpanSemanticsInformation{text: " + this.text + ", semanticsLabel: " + A.S(this.semanticsLabel) + ", recognizer: " + A.S(this.recognizer) + "}"; }, get$text(receiver) { return this.text; } }; A.InlineSpan.prototype = { getSpanForPosition$1(position) { var t1 = {}; t1.result = null; this.visitChildren$1(new A.InlineSpan_getSpanForPosition_closure(t1, position, new A.Accumulator())); return t1.result; }, toPlainText$2$includePlaceholders$includeSemanticsLabels(includePlaceholders, includeSemanticsLabels) { var t1, buffer = new A.StringBuffer(""); this.computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, includePlaceholders, includeSemanticsLabels); t1 = buffer._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, toPlainText$1$includePlaceholders(includePlaceholders) { return this.toPlainText$2$includePlaceholders$includeSemanticsLabels(includePlaceholders, true); }, toPlainText$0() { return this.toPlainText$2$includePlaceholders$includeSemanticsLabels(true, true); }, toPlainText$1$includeSemanticsLabels(includeSemanticsLabels) { return this.toPlainText$2$includePlaceholders$includeSemanticsLabels(true, includeSemanticsLabels); }, codeUnitAt$1(_, index) { var t1 = {}; if (index < 0) return null; t1.result = null; this.visitChildren$1(new A.InlineSpan_codeUnitAt_closure(t1, index, new A.Accumulator())); return t1.result; }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.InlineSpan && J.$eq$(other.style, this.style); }, get$hashCode(_) { return J.get$hashCode$(this.style); } }; A.InlineSpan_getSpanForPosition_closure.prototype = { call$1(span) { var result = span.getSpanForPositionVisitor$2(this.position, this.offset); this._box_0.result = result; return result == null; }, $signature: 73 }; A.InlineSpan_codeUnitAt_closure.prototype = { call$1(span) { var result = span.codeUnitAtVisitor$2(this.index, this.offset); this._box_0.result = result; return result == null; }, $signature: 73 }; A.PlaceholderSpan0.prototype = { computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, includePlaceholders, includeSemanticsLabels) { if (includePlaceholders) buffer._contents += "\ufffc"; }, computeSemanticsInformation$1(collector) { collector.push(B.InlineSpanSemanticsInformation_o8k); } }; A.RoundedRectangleBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { var t1 = this.side.scale$1(0, t); return new A.RoundedRectangleBorder(this.borderRadius.$mul(0, t), t1); }, lerpFrom$2(a, t) { var t1, t2, _this = this; if (a instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); t2 = A.BorderRadiusGeometry_lerp(a.borderRadius, _this.borderRadius, t); t2.toString; return new A.RoundedRectangleBorder(t2, t1); } if (a instanceof A.CircleBorder) return new A._RoundedRectangleToCircleBorder(_this.borderRadius, 1 - t, A.BorderSide_lerp(a.side, _this.side, t)); return _this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2, _this = this; if (b instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); t2 = A.BorderRadiusGeometry_lerp(_this.borderRadius, b.borderRadius, t); t2.toString; return new A.RoundedRectangleBorder(t2, t1); } if (b instanceof A.CircleBorder) return new A._RoundedRectangleToCircleBorder(_this.borderRadius, t, A.BorderSide_lerp(_this.side, b.side, t)); return _this.super$ShapeBorder$lerpTo(b, t); }, copyWith$1$side(side) { var t1 = side == null ? this.side : side; return new A.RoundedRectangleBorder(this.borderRadius, t1); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this.borderRadius.resolve$1(textDirection).toRRect$1(rect).inflate$1(-this.side.width)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this.borderRadius.resolve$1(textDirection).toRRect$1(rect)); return t1; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, paint$3$textDirection(canvas, rect, textDirection) { var width, t2, outer, inner, paint, t1 = this.side; switch (t1.style.index) { case 0: break; case 1: width = t1.width; t2 = this.borderRadius; if (width === 0) canvas.drawRRect$2(0, t2.resolve$1(textDirection).toRRect$1(rect), t1.toPaint$0()); else { outer = t2.resolve$1(textDirection).toRRect$1(rect); inner = outer.inflate$1(-width); t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t1.color); canvas.drawDRRect$3(0, outer, inner, paint); } break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.RoundedRectangleBorder && other.side.$eq(0, this.side) && other.borderRadius.$eq(0, this.borderRadius); }, get$hashCode(_) { return A.hashValues(this.side, this.borderRadius, 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, 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); }, toString$0(_) { return "RoundedRectangleBorder(" + this.side.toString$0(0) + ", " + this.borderRadius.toString$0(0) + ")"; } }; A._RoundedRectangleToCircleBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { var t1 = this.side.scale$1(0, t); return new A._RoundedRectangleToCircleBorder(this.borderRadius.$mul(0, t), t, t1); }, lerpFrom$2(a, t) { var t1, t2, t3, _this = this; if (a instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); t2 = A.BorderRadiusGeometry_lerp(a.borderRadius, _this.borderRadius, t); t2.toString; return new A._RoundedRectangleToCircleBorder(t2, _this.circleness * t, t1); } if (a instanceof A.CircleBorder) { t1 = _this.circleness; return new A._RoundedRectangleToCircleBorder(_this.borderRadius, t1 + (1 - t1) * (1 - t), A.BorderSide_lerp(a.side, _this.side, t)); } if (a instanceof A._RoundedRectangleToCircleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); t2 = A.BorderRadiusGeometry_lerp(a.borderRadius, _this.borderRadius, t); t2.toString; t3 = A.lerpDouble(a.circleness, _this.circleness, t); t3.toString; return new A._RoundedRectangleToCircleBorder(t2, t3, t1); } return _this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2, t3, _this = this; if (b instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); t2 = A.BorderRadiusGeometry_lerp(_this.borderRadius, b.borderRadius, t); t2.toString; return new A._RoundedRectangleToCircleBorder(t2, _this.circleness * (1 - t), t1); } if (b instanceof A.CircleBorder) { t1 = _this.circleness; return new A._RoundedRectangleToCircleBorder(_this.borderRadius, t1 + (1 - t1) * t, A.BorderSide_lerp(_this.side, b.side, t)); } if (b instanceof A._RoundedRectangleToCircleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); t2 = A.BorderRadiusGeometry_lerp(_this.borderRadius, b.borderRadius, t); t2.toString; t3 = A.lerpDouble(_this.circleness, b.circleness, t); t3.toString; return new A._RoundedRectangleToCircleBorder(t2, t3, t1); } return _this.super$ShapeBorder$lerpTo(b, t); }, _adjustRect$1(rect) { var t2, t3, t4, t5, t6, t7, delta, t1 = this.circleness; if (t1 === 0 || rect.right - rect.left === rect.bottom - rect.top) return rect; t2 = rect.right; t3 = rect.left; t4 = t2 - t3; t5 = rect.bottom; t6 = rect.top; t7 = t5 - t6; if (t4 < t7) { delta = t1 * (t7 - t4) / 2; return new A.Rect(t3, t6 + delta, t2, t5 - delta); } else { delta = t1 * (t4 - t7) / 2; return new A.Rect(t3 + delta, t6, t2 - delta, t5); } }, _adjustBorderRadius$2(rect, textDirection) { var resolvedRadius = this.borderRadius.resolve$1(textDirection), t1 = this.circleness; if (t1 === 0) return resolvedRadius; return A.BorderRadius_lerp(resolvedRadius, A.BorderRadius$circular(rect.get$shortestSide() / 2), t1); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(), t2 = this._adjustBorderRadius$2(rect, textDirection); t2.toString; t1.addRRect$1(0, t2.toRRect$1(this._adjustRect$1(rect)).inflate$1(-this.side.width)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(), t2 = this._adjustBorderRadius$2(rect, textDirection); t2.toString; t1.addRRect$1(0, t2.toRRect$1(this._adjustRect$1(rect))); return t1; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, copyWith$1$side(side) { var t1 = side == null ? this.side : side; return new A._RoundedRectangleToCircleBorder(this.borderRadius, this.circleness, t1); }, paint$3$textDirection(canvas, rect, textDirection) { var width, t2, outer, inner, paint, _this = this, t1 = _this.side; switch (t1.style.index) { case 0: break; case 1: width = t1.width; if (width === 0) { t2 = _this._adjustBorderRadius$2(rect, textDirection); t2.toString; canvas.drawRRect$2(0, t2.toRRect$1(_this._adjustRect$1(rect)), t1.toPaint$0()); } else { t2 = _this._adjustBorderRadius$2(rect, textDirection); t2.toString; outer = t2.toRRect$1(_this._adjustRect$1(rect)); inner = outer.inflate$1(-width); t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t1.color); canvas.drawDRRect$3(0, outer, inner, paint); } break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A._RoundedRectangleToCircleBorder && other.side.$eq(0, _this.side) && other.borderRadius.$eq(0, _this.borderRadius) && other.circleness === _this.circleness; }, get$hashCode(_) { return A.hashValues(this.side, this.borderRadius, this.circleness, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "RoundedRectangleBorder(" + this.side.toString$0(0) + ", " + this.borderRadius.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this.circleness * 100, 1) + "% of the way to being a CircleBorder)"; } }; A.ShapeDecoration.prototype = { getClipPath$2(rect, textDirection) { return this.shape.getOuterPath$2$textDirection(rect, textDirection); }, get$padding(_) { return this.shape.get$dimensions(); }, get$isComplex() { return this.shadows != null; }, lerpFrom$2(a, t) { if (a instanceof A.BoxDecoration) return A.ShapeDecoration_lerp(A.ShapeDecoration_ShapeDecoration$fromBoxDecoration(a), this, t); else if (a == null || a instanceof A.ShapeDecoration) return A.ShapeDecoration_lerp(type$.nullable_ShapeDecoration._as(a), this, t); return this.super$Decoration$lerpFrom(a, t); }, lerpTo$2(b, t) { if (b instanceof A.BoxDecoration) return A.ShapeDecoration_lerp(this, A.ShapeDecoration_ShapeDecoration$fromBoxDecoration(b), t); else if (b == null || b instanceof A.ShapeDecoration) return A.ShapeDecoration_lerp(this, type$.nullable_ShapeDecoration._as(b), t); return this.super$Decoration$lerpTo(b, t); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.ShapeDecoration) if (J.$eq$(other.color, _this.color)) t1 = J.$eq$(other.image, _this.image) && A.listEquals0(other.shadows, _this.shadows) && other.shape.$eq(0, _this.shape); else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.gradient, _this.image, _this.shape, A.hashList(_this.shadows), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, hitTest$3$textDirection(size, position, textDirection) { return this.shape.getOuterPath$2$textDirection(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), textDirection).contains$1(0, position); }, createBoxPainter$1(onChanged) { return new A._ShapeDecorationPainter(this, onChanged); } }; A._ShapeDecorationPainter.prototype = { _precache$2(rect, textDirection) { var t1, t2, _this = this; if (rect.$eq(0, _this._lastRect) && textDirection == _this._lastTextDirection) return; if (_this._interiorPaint == null) t1 = _this._shape_decoration$_decoration.color != null || false; else t1 = false; if (t1) { t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _this._interiorPaint = t1; t2 = _this._shape_decoration$_decoration.color; if (t2 != null) t1.set$color(0, t2); } t1 = _this._shape_decoration$_decoration; t2 = t1.shadows; if (t2 != null) { if (_this._shadowCount == null) { _this._shadowCount = t2.length; _this.___ShapeDecorationPainter__shadowPaints = A.List_List$of(new A.MappedListIterable(t2, new A._ShapeDecorationPainter__precache_closure(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Paint>")), true, type$.Paint); } _this.___ShapeDecorationPainter__shadowPaths = A.List_List$of(new A.MappedListIterable(t2, new A._ShapeDecorationPainter__precache_closure0(_this, rect, textDirection), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,Path>")), true, type$.Path); } if (_this._interiorPaint != null || _this._shadowCount != null) _this.___ShapeDecorationPainter__outerPath = t1.shape.getOuterPath$2$textDirection(rect, textDirection); if (t1.image != null) _this._innerPath = t1.shape.getInnerPath$2$textDirection(rect, textDirection); _this._lastRect = rect; _this._lastTextDirection = textDirection; }, _shape_decoration$_paintShadows$1(canvas) { var index, t1, _this = this; if (_this._shadowCount != null) { index = 0; while (true) { t1 = _this._shadowCount; t1.toString; if (!(index < t1)) break; canvas.drawPath$2(0, J.$index$asx(A._lateReadCheck(_this.___ShapeDecorationPainter__shadowPaths, "_shadowPaths"), index), J.$index$asx(A._lateReadCheck(_this.___ShapeDecorationPainter__shadowPaints, "_shadowPaints"), index)); ++index; } } }, _paintImage$2(canvas, configuration) { var t2, _this = this, t1 = _this._shape_decoration$_decoration.image; if (t1 == null) return; t2 = _this._imagePainter; if (t2 == null) { t2 = _this.onChanged; t2.toString; t2 = _this._imagePainter = new A.DecorationImagePainter(t1, t2); t1 = t2; } else t1 = t2; t2 = _this._lastRect; t2.toString; t1.paint$4(canvas, t2, _this._innerPath, configuration); }, dispose$0(_) { var t1 = this._imagePainter; if (t1 != null) t1.dispose$0(0); this.super$BoxPainter$dispose(0); }, paint$3(canvas, offset, configuration) { var _this = this, t1 = configuration.size, t2 = offset._dx, t3 = offset._dy, rect = new A.Rect(t2, t3, t2 + t1._dx, t3 + t1._dy), textDirection = configuration.textDirection; _this._precache$2(rect, textDirection); _this._shape_decoration$_paintShadows$1(canvas); if (_this._interiorPaint != null) { t1 = A._lateReadCheck(_this.___ShapeDecorationPainter__outerPath, "_outerPath"); t2 = _this._interiorPaint; t2.toString; canvas.drawPath$2(0, t1, t2); } _this._paintImage$2(canvas, configuration); _this._shape_decoration$_decoration.shape.paint$3$textDirection(canvas, rect, textDirection); } }; A._ShapeDecorationPainter__precache_closure.prototype = { call$1(shadow) { return shadow.toPaint$0(); }, $signature: 557 }; A._ShapeDecorationPainter__precache_closure0.prototype = { call$1(shadow) { return this.$this._shape_decoration$_decoration.shape.getOuterPath$2$textDirection(this.rect.shift$1(shadow.offset).inflate$1(shadow.spreadRadius), this.textDirection); }, $signature: 558 }; A.StadiumBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { return new A.StadiumBorder(this.side.scale$1(0, t)); }, lerpFrom$2(a, t) { var t1, _this = this; if (a instanceof A.StadiumBorder) return new A.StadiumBorder(A.BorderSide_lerp(a.side, _this.side, t)); if (a instanceof A.CircleBorder) return new A._StadiumToCircleBorder(1 - t, A.BorderSide_lerp(a.side, _this.side, t)); if (a instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); return new A._StadiumToRoundedRectangleBorder(type$.BorderRadius._as(a.borderRadius), 1 - t, t1); } return _this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, _this = this; if (b instanceof A.StadiumBorder) return new A.StadiumBorder(A.BorderSide_lerp(_this.side, b.side, t)); if (b instanceof A.CircleBorder) return new A._StadiumToCircleBorder(t, A.BorderSide_lerp(_this.side, b.side, t)); if (b instanceof A.RoundedRectangleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); return new A._StadiumToRoundedRectangleBorder(type$.BorderRadius._as(b.borderRadius), t, t1); } return _this.super$ShapeBorder$lerpTo(b, t); }, copyWith$1$side(side) { return new A.StadiumBorder(side == null ? this.side : side); }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = rect.get$shortestSide() / 2, t2 = A.Path_Path(); t2.addRRect$1(0, A.RRect$fromRectAndRadius(rect, new A.Radius(t1, t1)).inflate$1(-this.side.width)); return t2; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = rect.get$shortestSide() / 2, t2 = A.Path_Path(); t2.addRRect$1(0, A.RRect$fromRectAndRadius(rect, new A.Radius(t1, t1))); return t2; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, paint$3$textDirection(canvas, rect, textDirection) { var t2, t1 = this.side; switch (t1.style.index) { case 0: break; case 1: t2 = rect.get$shortestSide() / 2; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(rect, new A.Radius(t2, t2)).inflate$1(-(t1.width / 2)), t1.toPaint$0()); break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.StadiumBorder && other.side.$eq(0, this.side); }, get$hashCode(_) { var t1 = this.side; return A.hashValues(t1.color, t1.width, t1.style, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "StadiumBorder(" + this.side.toString$0(0) + ")"; } }; A._StadiumToCircleBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { return new A._StadiumToCircleBorder(t, this.side.scale$1(0, t)); }, lerpFrom$2(a, t) { var t1, t2, _this = this; if (a instanceof A.StadiumBorder) return new A._StadiumToCircleBorder(_this.circleness * t, A.BorderSide_lerp(a.side, _this.side, t)); if (a instanceof A.CircleBorder) { t1 = _this.circleness; return new A._StadiumToCircleBorder(t1 + (1 - t1) * (1 - t), A.BorderSide_lerp(a.side, _this.side, t)); } if (a instanceof A._StadiumToCircleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); t2 = A.lerpDouble(a.circleness, _this.circleness, t); t2.toString; return new A._StadiumToCircleBorder(t2, t1); } return _this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2, _this = this; if (b instanceof A.StadiumBorder) return new A._StadiumToCircleBorder(_this.circleness * (1 - t), A.BorderSide_lerp(_this.side, b.side, t)); if (b instanceof A.CircleBorder) { t1 = _this.circleness; return new A._StadiumToCircleBorder(t1 + (1 - t1) * t, A.BorderSide_lerp(_this.side, b.side, t)); } if (b instanceof A._StadiumToCircleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); t2 = A.lerpDouble(_this.circleness, b.circleness, t); t2.toString; return new A._StadiumToCircleBorder(t2, t1); } return _this.super$ShapeBorder$lerpTo(b, t); }, _stadium_border$_adjustRect$1(rect) { var t2, t3, t4, t5, t6, t7, delta, t1 = this.circleness; if (t1 === 0 || rect.right - rect.left === rect.bottom - rect.top) return rect; t2 = rect.right; t3 = rect.left; t4 = t2 - t3; t5 = rect.bottom; t6 = rect.top; t7 = t5 - t6; if (t4 < t7) { delta = t1 * (t7 - t4) / 2; return new A.Rect(t3, t6 + delta, t2, t5 - delta); } else { delta = t1 * (t4 - t7) / 2; return new A.Rect(t3 + delta, t6, t2 - delta, t5); } }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, A.BorderRadius$circular(rect.get$shortestSide() / 2).toRRect$1(this._stadium_border$_adjustRect$1(rect)).inflate$1(-this.side.width)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, A.BorderRadius$circular(rect.get$shortestSide() / 2).toRRect$1(this._stadium_border$_adjustRect$1(rect))); return t1; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, copyWith$1$side(side) { var t1 = side == null ? this.side : side; return new A._StadiumToCircleBorder(this.circleness, t1); }, paint$3$textDirection(canvas, rect, textDirection) { var width, outer, inner, t2, paint, t1 = this.side; switch (t1.style.index) { case 0: break; case 1: width = t1.width; if (width === 0) canvas.drawRRect$2(0, A.BorderRadius$circular(rect.get$shortestSide() / 2).toRRect$1(this._stadium_border$_adjustRect$1(rect)), t1.toPaint$0()); else { outer = A.BorderRadius$circular(rect.get$shortestSide() / 2).toRRect$1(this._stadium_border$_adjustRect$1(rect)); inner = outer.inflate$1(-width); t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t1.color); canvas.drawDRRect$3(0, outer, inner, paint); } break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A._StadiumToCircleBorder && other.side.$eq(0, this.side) && other.circleness === this.circleness; }, get$hashCode(_) { return A.hashValues(this.side, this.circleness, 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, 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); }, toString$0(_) { return "StadiumBorder(" + this.side.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this.circleness * 100, 1) + "% of the way to being a CircleBorder)"; } }; A._StadiumToRoundedRectangleBorder.prototype = { get$dimensions() { var t1 = this.side.width; return new A.EdgeInsets(t1, t1, t1, t1); }, scale$1(_, t) { var t1 = this.side.scale$1(0, t); return new A._StadiumToRoundedRectangleBorder(this.borderRadius.$mul(0, t), t, t1); }, lerpFrom$2(a, t) { var t1, t2, t3, _this = this; if (a instanceof A.StadiumBorder) return new A._StadiumToRoundedRectangleBorder(_this.borderRadius, _this.rectness * t, A.BorderSide_lerp(a.side, _this.side, t)); if (a instanceof A.RoundedRectangleBorder) { t1 = _this.rectness; return new A._StadiumToRoundedRectangleBorder(_this.borderRadius, t1 + (1 - t1) * (1 - t), A.BorderSide_lerp(a.side, _this.side, t)); } if (a instanceof A._StadiumToRoundedRectangleBorder) { t1 = A.BorderSide_lerp(a.side, _this.side, t); t2 = A.BorderRadius_lerp(a.borderRadius, _this.borderRadius, t); t2.toString; t3 = A.lerpDouble(a.rectness, _this.rectness, t); t3.toString; return new A._StadiumToRoundedRectangleBorder(t2, t3, t1); } return _this.super$ShapeBorder$lerpFrom(a, t); }, lerpTo$2(b, t) { var t1, t2, t3, _this = this; if (b instanceof A.StadiumBorder) return new A._StadiumToRoundedRectangleBorder(_this.borderRadius, _this.rectness * (1 - t), A.BorderSide_lerp(_this.side, b.side, t)); if (b instanceof A.RoundedRectangleBorder) { t1 = _this.rectness; return new A._StadiumToRoundedRectangleBorder(_this.borderRadius, t1 + (1 - t1) * t, A.BorderSide_lerp(_this.side, b.side, t)); } if (b instanceof A._StadiumToRoundedRectangleBorder) { t1 = A.BorderSide_lerp(_this.side, b.side, t); t2 = A.BorderRadius_lerp(_this.borderRadius, b.borderRadius, t); t2.toString; t3 = A.lerpDouble(_this.rectness, b.rectness, t); t3.toString; return new A._StadiumToRoundedRectangleBorder(t2, t3, t1); } return _this.super$ShapeBorder$lerpTo(b, t); }, _stadium_border$_adjustBorderRadius$1(rect) { var t1 = rect.get$shortestSide() / 2; t1 = A.BorderRadius_lerp(this.borderRadius, A.BorderRadius$all(new A.Radius(t1, t1)), 1 - this.rectness); t1.toString; return t1; }, getInnerPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this._stadium_border$_adjustBorderRadius$1(rect).toRRect$1(rect).inflate$1(-this.side.width)); return t1; }, getOuterPath$2$textDirection(rect, textDirection) { var t1 = A.Path_Path(); t1.addRRect$1(0, this._stadium_border$_adjustBorderRadius$1(rect).toRRect$1(rect)); return t1; }, getOuterPath$1(rect) { return this.getOuterPath$2$textDirection(rect, null); }, copyWith$1$side(side) { var t1 = side == null ? this.side : side; return new A._StadiumToRoundedRectangleBorder(this.borderRadius, this.rectness, t1); }, paint$3$textDirection(canvas, rect, textDirection) { var width, outer, inner, t2, paint, t1 = this.side; switch (t1.style.index) { case 0: break; case 1: width = t1.width; if (width === 0) canvas.drawRRect$2(0, this._stadium_border$_adjustBorderRadius$1(rect).toRRect$1(rect), t1.toPaint$0()); else { outer = this._stadium_border$_adjustBorderRadius$1(rect).toRRect$1(rect); inner = outer.inflate$1(-width); t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t1.color); canvas.drawDRRect$3(0, outer, inner, paint); } break; } }, paint$2(canvas, rect) { return this.paint$3$textDirection(canvas, rect, null); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A._StadiumToRoundedRectangleBorder && other.side.$eq(0, _this.side) && other.borderRadius.$eq(0, _this.borderRadius) && other.rectness === _this.rectness; }, get$hashCode(_) { return A.hashValues(this.side, this.borderRadius, this.rectness, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "StadiumBorder(" + this.side.toString$0(0) + ", " + this.borderRadius.toString$0(0) + ", " + B.JSNumber_methods.toStringAsFixed$1(this.rectness * 100, 1) + "% of the way to being a RoundedRectangleBorder)"; } }; A.StrutStyle.prototype = { get$fontFamilyFallback() { return this._strut_style$_fontFamilyFallback; }, inheritFromTextStyle$1(other) { var t2, t3, t4, t5, t6, t7, _this = this, t1 = _this.fontFamily; if (t1 == null) t1 = other.fontFamily; t2 = _this.get$fontFamilyFallback(); if (t2 == null) t2 = other.get$fontFamilyFallback(); t3 = _this.fontSize; if (t3 == null) t3 = other.fontSize; t4 = _this.height; if (t4 == null) t4 = other.height; t5 = _this.fontWeight; if (t5 == null) t5 = other.fontWeight; t6 = _this.fontStyle; if (t6 == null) t6 = other.fontStyle; t7 = _this.debugLabel; if (t7 == null) t7 = other.debugLabel; return new A.StrutStyle(t1, t2, t3, t4, t5, t6, _this.leading, _this.forceStrutHeight, t7); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.StrutStyle) if (other.fontFamily == _this.fontFamily) if (other.fontSize == _this.fontSize) if (other.fontWeight == _this.fontWeight) if (other.fontStyle == _this.fontStyle) if (other.height == _this.height) t1 = other.forceStrutHeight == _this.forceStrutHeight; 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.fontFamily, _this.fontSize, _this.fontWeight, _this.fontStyle, _this.height, _this.leading, _this.forceStrutHeight, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toStringShort$0() { return "StrutStyle"; } }; A._StrutStyle_Object_Diagnosticable.prototype = {}; A.TextOverflow.prototype = { toString$0(_) { return "TextOverflow." + this._core$_name; } }; A.PlaceholderDimensions.prototype = { toString$0(_) { return "PlaceholderDimensions(" + this.size.toString$0(0) + ", " + A.S(this.baseline) + ")"; } }; A.TextWidthBasis.prototype = { toString$0(_) { return "TextWidthBasis." + this._core$_name; } }; A._CaretMetrics.prototype = {}; A.TextPainter.prototype = { markNeedsLayout$0() { this._previousCaretPrototype = this._previousCaretPosition = this._paragraph = null; }, get$text(_) { return this._text_painter$_text; }, set$text(_, value) { var t1, t2, comparison, _this = this; if (J.$eq$(_this._text_painter$_text, value)) return; t1 = _this._text_painter$_text; t1 = t1 == null ? null : t1.style; t2 = value == null; if (!J.$eq$(t1, t2 ? null : value.style)) _this._layoutTemplate = null; if (t2) comparison = B.RenderComparison_3; else { t1 = _this._text_painter$_text; t1 = t1 == null ? null : t1.compareTo$1(0, value); comparison = t1 == null ? B.RenderComparison_3 : t1; } _this._text_painter$_text = value; t1 = comparison.index; if (t1 >= 3) _this.markNeedsLayout$0(); else if (t1 >= 2) _this._rebuildParagraphForPaint = true; }, set$textAlign(_, value) { if (this._textAlign === value) return; this._textAlign = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { var _this = this; if (_this._text_painter$_textDirection === value) return; _this._text_painter$_textDirection = value; _this.markNeedsLayout$0(); _this._layoutTemplate = null; }, set$textScaleFactor(value) { var _this = this; if (_this._textScaleFactor === value) return; _this._textScaleFactor = value; _this.markNeedsLayout$0(); _this._layoutTemplate = null; }, set$ellipsis(_, value) { if (this._ellipsis == value) return; this._ellipsis = value; this.markNeedsLayout$0(); }, set$locale(_, value) { if (J.$eq$(this._text_painter$_locale, value)) return; this._text_painter$_locale = value; this.markNeedsLayout$0(); }, set$maxLines(_, value) { if (this._maxLines == value) return; this._maxLines = value; this.markNeedsLayout$0(); }, set$strutStyle(_, value) { if (J.$eq$(this._strutStyle, value)) return; this._strutStyle = value; this.markNeedsLayout$0(); }, set$textWidthBasis(value) { if (this._textWidthBasis === value) return; this._textWidthBasis = value; this.markNeedsLayout$0(); }, setPlaceholderDimensions$1(value) { if (value == null || value.length === 0 || A.listEquals0(value, this._placeholderDimensions)) return; this._placeholderDimensions = value; this.markNeedsLayout$0(); }, _createParagraphStyle$1(defaultTextDirection) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, _this = this, _null = null, t1 = _this._text_painter$_text.style; if (t1 == null) t1 = _null; else { t2 = _this._textAlign; t3 = _this._text_painter$_textDirection; if (t3 == null) t3 = defaultTextDirection; t4 = _this._textScaleFactor; t5 = _this._maxLines; t6 = _this._ellipsis; t7 = _this._text_painter$_locale; t8 = _this._strutStyle; t9 = t1.fontWeight; t10 = t1.fontStyle; t11 = t1.fontFamily; t12 = t1.fontSize; if (t12 == null) t12 = 14; t1 = t1.height; if (t8 == null) t8 = _null; else { t13 = t8.fontFamily; t14 = t8.get$fontFamilyFallback(); t15 = t8.fontSize; t15 = t15 == null ? _null : t15 * t4; t16 = t8.height; t17 = t8.leading; t18 = t8.fontWeight; t17 = A.StrutStyle_StrutStyle(t13, t14, t15, t8.fontStyle, t18, t8.forceStrutHeight, t16, t17); t8 = t17; } t3 = A.ParagraphStyle_ParagraphStyle(t6, t11, t12 * t4, t10, t9, t1, t7, t5, t8, t2, t3, _null); t1 = t3; } if (t1 == null) { t1 = _this._textAlign; t2 = _this._text_painter$_textDirection; if (t2 == null) t2 = defaultTextDirection; t3 = _this._textScaleFactor; t4 = _this._maxLines; t5 = _this._text_painter$_textHeightBehavior; t5 = A.ParagraphStyle_ParagraphStyle(_this._ellipsis, _null, 14 * t3, _null, _null, _null, _this._text_painter$_locale, t4, _null, t1, t2, t5); t1 = t5; } return t1; }, _createParagraphStyle$0() { return this._createParagraphStyle$1(null); }, get$preferredLineHeight() { var builder, textStyle, _this = this, t1 = _this._layoutTemplate; if (t1 == null) { builder = A.ParagraphBuilder_ParagraphBuilder(_this._createParagraphStyle$1(B.TextDirection_0)); t1 = _this._text_painter$_text; if (t1 == null) textStyle = null; else { t1 = t1.style; textStyle = t1 == null ? null : t1.getTextStyle$1$textScaleFactor(_this._textScaleFactor); } if (textStyle != null) builder.pushStyle$1(0, textStyle); builder.addText$1(0, " "); t1 = builder.build$0(0); t1.layout$1(0, B.ParagraphConstraints_C5f); _this._layoutTemplate = t1; } return t1.get$height(t1); }, get$width(_) { var t1 = this._textWidthBasis, t2 = this._paragraph; t1 = t1 === B.TextWidthBasis_1 ? t2.get$longestLine() : t2.get$width(t2); return Math.ceil(t1); }, computeDistanceToActualBaseline$1(baseline) { var t1; switch (baseline.index) { case 0: t1 = this._paragraph; return t1.get$alphabeticBaseline(t1); case 1: t1 = this._paragraph; return t1.get$ideographicBaseline(t1); } }, _createParagraph$0() { var builder, t1, _this = this, text = _this._text_painter$_text; if (text == null) throw A.wrapException(A.StateError$("TextPainter.text must be set to a non-null value before using the TextPainter.")); builder = A.ParagraphBuilder_ParagraphBuilder(_this._createParagraphStyle$0()); t1 = _this._textScaleFactor; text.build$3$dimensions$textScaleFactor(0, builder, _this._placeholderDimensions, t1); _this._inlinePlaceholderScales = builder.get$placeholderScales(); _this._paragraph = builder.build$0(0); _this._rebuildParagraphForPaint = false; }, _layoutParagraph$2(minWidth, maxWidth) { var newWidth, t1, _this = this; _this._paragraph.layout$1(0, new A.ParagraphConstraints(maxWidth)); if (minWidth !== maxWidth) { switch (_this._textWidthBasis.index) { case 1: newWidth = Math.ceil(_this._paragraph.get$longestLine()); break; case 0: newWidth = Math.ceil(_this._paragraph.get$maxIntrinsicWidth()); break; default: newWidth = null; } newWidth = J.clamp$2$n(newWidth, minWidth, maxWidth); t1 = _this._paragraph; if (newWidth !== Math.ceil(t1.get$width(t1))) _this._paragraph.layout$1(0, new A.ParagraphConstraints(newWidth)); } }, layout$2$maxWidth$minWidth(_, maxWidth, minWidth) { var _this = this, t1 = _this._paragraph == null; if (!t1 && minWidth === _this._lastMinWidth && maxWidth === _this._lastMaxWidth) return; if (_this._rebuildParagraphForPaint || t1) _this._createParagraph$0(); _this._lastMinWidth = minWidth; _this._lastMaxWidth = maxWidth; _this._previousCaretPrototype = _this._previousCaretPosition = null; _this._layoutParagraph$2(minWidth, maxWidth); _this._inlinePlaceholderBoxes = _this._paragraph.getBoxesForPlaceholders$0(); }, layout$0($receiver) { return this.layout$2$maxWidth$minWidth($receiver, 1 / 0, 0); }, paint$2(canvas, offset) { var t1, _this = this, minWidth = _this._lastMinWidth, maxWidth = _this._lastMaxWidth; if (_this._paragraph == null || minWidth == null || maxWidth == null) throw A.wrapException(A.StateError$("TextPainter.paint called when text geometry was not yet calculated.\nPlease call layout() before paint() to position the text before painting it.")); if (_this._rebuildParagraphForPaint) { _this._createParagraph$0(); _this._layoutParagraph$2(minWidth, maxWidth); } t1 = _this._paragraph; t1.toString; canvas.drawParagraph$2(0, t1, offset); }, getOffsetAfter$1(offset) { var nextCodeUnit = this._text_painter$_text.codeUnitAt$1(0, offset); if (nextCodeUnit == null) return null; return (nextCodeUnit & 63488) === 55296 ? offset + 2 : offset + 1; }, getOffsetBefore$1(offset) { var t1 = offset - 1, prevCodeUnit = this._text_painter$_text.codeUnitAt$1(0, t1); if (prevCodeUnit == null) return null; return (prevCodeUnit & 63488) === 55296 ? offset - 2 : t1; }, _getRectFromUpstream$2(offset, caretPrototype) { var prevCodeUnit, needsSearch, graphemeClusterLength, boxes, t2, t3, prevRuneOffset, box, caretEnd, dx, _this = this, flattenedText = _this._text_painter$_text.toPlainText$1$includePlaceholders(false), t1 = _this._text_painter$_text; t1.toString; prevCodeUnit = t1.codeUnitAt$1(0, Math.max(0, offset - 1)); if (prevCodeUnit == null) return null; needsSearch = (prevCodeUnit & 63488) === 55296 || _this._text_painter$_text.codeUnitAt$1(0, offset) === 8205 || prevCodeUnit === 8207 || prevCodeUnit === 8206; graphemeClusterLength = needsSearch ? 2 : 1; boxes = A._setArrayType([], type$.JSArray_TextBox); for (t1 = -flattenedText.length, t2 = !needsSearch, t3 = prevCodeUnit === 10; boxes.length === 0;) { prevRuneOffset = offset - graphemeClusterLength; boxes = _this._paragraph.getBoxesForRange$3$boxHeightStyle(prevRuneOffset, offset, B.BoxHeightStyle_5); if (boxes.length === 0) { if (t2 && t3) break; if (prevRuneOffset < t1) break; graphemeClusterLength *= 2; continue; } box = B.JSArray_methods.get$first(boxes); if (t3) { t1 = box.bottom; return new A.Rect(_this.get$_emptyOffset()._dx, t1, _this.get$_emptyOffset()._dx, t1 + t1 - box.top); } t1 = box.direction; caretEnd = t1 === B.TextDirection_1 ? box.right : box.left; dx = t1 === B.TextDirection_0 ? caretEnd - (caretPrototype.right - caretPrototype.left) : caretEnd; t1 = _this._paragraph; t1 = Math.min(dx, A.checkNum(t1.get$width(t1))); t2 = _this._paragraph; return new A.Rect(t1, box.top, Math.min(dx, A.checkNum(t2.get$width(t2))), box.bottom); } return null; }, _getRectFromDownstream$2(offset, caretPrototype) { var t2, nextCodeUnit, needsSearch, graphemeClusterLength, boxes, nextRuneOffset, box, caretStart, dx, _this = this, flattenedText = _this._text_painter$_text.toPlainText$1$includePlaceholders(false), t1 = _this._text_painter$_text; t1.toString; t2 = flattenedText.length; nextCodeUnit = t1.codeUnitAt$1(0, Math.min(offset, t2 - 1)); if (nextCodeUnit == null) return null; needsSearch = (nextCodeUnit & 63488) === 55296 || nextCodeUnit === 8205 || nextCodeUnit === 8207 || nextCodeUnit === 8206; graphemeClusterLength = needsSearch ? 2 : 1; boxes = A._setArrayType([], type$.JSArray_TextBox); for (t1 = t2 << 1 >>> 0, t2 = !needsSearch; boxes.length === 0;) { nextRuneOffset = offset + graphemeClusterLength; boxes = _this._paragraph.getBoxesForRange$3$boxHeightStyle(offset, nextRuneOffset, B.BoxHeightStyle_5); if (boxes.length === 0) { if (t2) break; if (nextRuneOffset >= t1) break; graphemeClusterLength *= 2; continue; } box = B.JSArray_methods.get$last(boxes); t1 = box.direction; caretStart = t1 === B.TextDirection_1 ? box.left : box.right; dx = t1 === B.TextDirection_0 ? caretStart - (caretPrototype.right - caretPrototype.left) : caretStart; t1 = _this._paragraph; t1 = Math.min(dx, A.checkNum(t1.get$width(t1))); t2 = _this._paragraph; return new A.Rect(t1, box.top, Math.min(dx, A.checkNum(t2.get$width(t2))), box.bottom); } return null; }, get$_emptyOffset() { var _this = this; switch (_this._textAlign.index) { case 0: return B.Offset_0_0; case 1: return new A.Offset(_this.get$width(_this), 0); case 2: return new A.Offset(_this.get$width(_this) / 2, 0); case 3: case 4: switch (_this._text_painter$_textDirection.index) { case 0: return new A.Offset(_this.get$width(_this), 0); case 1: return B.Offset_0_0; } break; case 5: switch (_this._text_painter$_textDirection.index) { case 0: return B.Offset_0_0; case 1: return new A.Offset(_this.get$width(_this), 0); } break; } }, _computeCaretMetrics$2(position, caretPrototype) { var offset, rect, t1, t2, _this = this; if (position.$eq(0, _this._previousCaretPosition) && caretPrototype.$eq(0, _this._previousCaretPrototype)) return; offset = position.offset; switch (position.affinity.index) { case 0: rect = _this._getRectFromUpstream$2(offset, caretPrototype); if (rect == null) rect = _this._getRectFromDownstream$2(offset, caretPrototype); break; case 1: rect = _this._getRectFromDownstream$2(offset, caretPrototype); if (rect == null) rect = _this._getRectFromUpstream$2(offset, caretPrototype); break; default: rect = null; } t1 = rect != null; t2 = t1 ? new A.Offset(rect.left, rect.top) : _this.get$_emptyOffset(); _this.__TextPainter__caretMetrics = new A._CaretMetrics(t2, t1 ? rect.bottom - rect.top : null); _this._previousCaretPosition = position; _this._previousCaretPrototype = caretPrototype; }, getBoxesForSelection$3$boxHeightStyle$boxWidthStyle(selection, boxHeightStyle, boxWidthStyle) { return this._paragraph.getBoxesForRange$4$boxHeightStyle$boxWidthStyle(selection.start, selection.end, boxHeightStyle, boxWidthStyle); } }; A.TextSpan.prototype = { get$cursor(_) { return this.mouseCursor; }, get$validForMouseTracker() { return true; }, handleEvent$2($event, entry) { var t1; if (type$.PointerDownEvent._is($event)) { t1 = this.recognizer; if (t1 != null) t1.addPointer$1($event); } }, build$3$dimensions$textScaleFactor(_, builder, dimensions, textScaleFactor) { var exception, stack, exception0, t2, _i, t1 = this.style, hasStyle = t1 != null; if (hasStyle) builder.pushStyle$1(0, t1.getTextStyle$1$textScaleFactor(textScaleFactor)); t1 = this.text; if (t1 != null) try { builder.addText$1(0, t1); } catch (exception0) { t1 = A.unwrapException(exception0); if (t1 instanceof A.ArgumentError) { exception = t1; stack = A.getTraceFromException(exception0); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "painting library", A.ErrorDescription$("while building a TextSpan"), null, false)); builder.addText$1(0, "\ufffd"); } else throw exception0; } t1 = this.children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) J.build$3$dimensions$textScaleFactor$x(t1[_i], builder, dimensions, textScaleFactor); if (hasStyle) builder.pop$0(0); }, visitChildren$1(visitor) { var t1, t2, _i; if (this.text != null) if (!visitor.call$1(this)) return false; t1 = this.children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) if (!t1[_i].visitChildren$1(visitor)) return false; return true; }, getSpanForPositionVisitor$2(position, offset) { var affinity, targetOffset, t2, endOffset, t1 = this.text; if (t1 == null) return null; affinity = position.affinity; targetOffset = position.offset; t2 = offset._inline_span$_value; endOffset = t2 + t1.length; if (!(t2 === targetOffset && affinity === B.TextAffinity_1)) if (!(t2 < targetOffset && targetOffset < endOffset)) t1 = endOffset === targetOffset && affinity === B.TextAffinity_0; else t1 = true; else t1 = true; if (t1) return this; offset._inline_span$_value = endOffset; return null; }, computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, includePlaceholders, includeSemanticsLabels) { var t2, _i, t1 = this.text; if (t1 != null) buffer._contents += t1; t1 = this.children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, includePlaceholders, includeSemanticsLabels); }, computeSemanticsInformation$3$inheritedLocale$inheritedSpellOut(collector, inheritedLocale, inheritedSpellOut) { var t2, _i, child, _this = this, t1 = _this.text; if (t1 != null) { t2 = A._setArrayType([], type$.JSArray_StringAttribute); collector.push(A.InlineSpanSemanticsInformation$(t1, _this.recognizer, _this.semanticsLabel, t2)); } t1 = _this.children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child instanceof A.TextSpan) child.computeSemanticsInformation$3$inheritedLocale$inheritedSpellOut(collector, inheritedLocale, false); else child.computeSemanticsInformation$1(collector); } }, computeSemanticsInformation$1(collector) { return this.computeSemanticsInformation$3$inheritedLocale$inheritedSpellOut(collector, null, false); }, codeUnitAtVisitor$2(index, offset) { var t2, t3, t4, t1 = this.text; if (t1 == null) return null; t2 = offset._inline_span$_value; t3 = index - t2; t4 = t1.length; if (t3 < t4) return B.JSString_methods.codeUnitAt$1(t1, t3); offset._inline_span$_value = t2 + t4; return null; }, compareTo$1(_, other) { var t1, t2, result, candidate, index, _this = this; if (_this === other) return B.RenderComparison_0; if (A.getRuntimeType(other) !== A.getRuntimeType(_this)) return B.RenderComparison_3; type$.TextSpan._as(other); if (other.text == _this.text) { t1 = _this.children; t1 = t1 == null ? null : t1.length; t2 = other.children; t1 = t1 != (t2 == null ? null : t2.length) || _this.style == null !== (other.style == null); } else t1 = true; if (t1) return B.RenderComparison_3; result = _this.recognizer == other.recognizer ? B.RenderComparison_0 : B.RenderComparison_1; t1 = _this.style; if (t1 != null) { t2 = other.style; t2.toString; candidate = t1.compareTo$1(0, t2); if (candidate.index > result.index) result = candidate; if (result === B.RenderComparison_3) return result; } t1 = _this.children; if (t1 != null) for (t2 = other.children, index = 0; index < t1.length; ++index) { candidate = J.compareTo$1$ns(t1[index], t2[index]); if (candidate.index > result.index) result = candidate; if (result === B.RenderComparison_3) return result; } return result; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (!_this.super$InlineSpan$$eq(0, other)) return false; if (other instanceof A.TextSpan) if (other.text == _this.text) if (other.recognizer == _this.recognizer) t1 = _this.mouseCursor.$eq(0, other.mouseCursor) && A.listEquals0(other.children, _this.children); else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(A.InlineSpan.prototype.get$hashCode.call(_this, _this), _this.text, _this.recognizer, _this.semanticsLabel, null, null, _this.mouseCursor, A.hashList(_this.children), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toStringShort$0() { return "TextSpan"; }, debugDescribeChildren$0() { var t2, t1 = this.children; if (t1 == null) return B.List_empty0; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,DiagnosticsNode>"); return A.List_List$of(new A.MappedListIterable(t1, new A.TextSpan_debugDescribeChildren_closure(), t2), true, t2._eval$1("ListIterable.E")); }, $isHitTestTarget: 1, $isMouseTrackerAnnotation: 1, get$text(receiver) { return this.text; }, get$onEnter() { return null; }, get$onExit() { return null; } }; A.TextSpan_debugDescribeChildren_closure.prototype = { call$1(child) { var t1 = A.DiagnosticableTreeNode$(null, null, child); return t1; }, $signature: 559 }; A.TextStyle.prototype = { get$fontFamilyFallback() { var _this = this, t1 = _this._package != null && _this._text_style$_fontFamilyFallback != null, t2 = _this._text_style$_fontFamilyFallback; if (t1) { t2.toString; t1 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>"); t1 = A.List_List$of(new A.MappedListIterable(t2, new A.TextStyle_fontFamilyFallback_closure(_this), t1), true, t1._eval$1("ListIterable.E")); } else t1 = t2; return t1; }, get$_text_style$_fontFamily(_) { var fontFamilyPrefix, _this = this, t1 = _this._package; if (t1 != null && _this.fontFamily != null) { fontFamilyPrefix = "packages/" + A.S(t1) + "/"; t1 = _this.fontFamily; t1.toString; return B.JSString_methods.substring$1(t1, fontFamilyPrefix.length); } return _this.fontFamily; }, copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(background, backgroundColor, color, debugLabel, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, inherit, leadingDistribution, letterSpacing, locale, overflow, $package, shadows, textBaseline, wordSpacing) { var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, _this = this, t1 = inherit == null ? _this.inherit : inherit, t2 = _this.foreground; if (t2 == null && foreground == null) t3 = color == null ? _this.color : color; else t3 = null; t4 = _this.background; if (t4 == null && background == null) t5 = backgroundColor == null ? _this.backgroundColor : backgroundColor; else t5 = null; t6 = fontSize == null ? _this.fontSize : fontSize; t7 = fontWeight == null ? _this.fontWeight : fontWeight; t8 = fontStyle == null ? _this.fontStyle : fontStyle; t9 = letterSpacing == null ? _this.letterSpacing : letterSpacing; t10 = wordSpacing == null ? _this.wordSpacing : wordSpacing; t11 = textBaseline == null ? _this.textBaseline : textBaseline; t12 = height == null ? _this.height : height; t2 = foreground == null ? t2 : foreground; t4 = background == null ? t4 : background; t13 = shadows == null ? _this.shadows : shadows; t14 = fontFeatures == null ? _this.fontFeatures : fontFeatures; t15 = decoration == null ? _this.decoration : decoration; t16 = decorationColor == null ? _this.decorationColor : decorationColor; t17 = decorationStyle == null ? _this.decorationStyle : decorationStyle; t18 = decorationThickness == null ? _this.decorationThickness : decorationThickness; t19 = fontFamily == null ? _this.get$_text_style$_fontFamily(_this) : fontFamily; t20 = fontFamilyFallback == null ? _this.get$fontFamilyFallback() : fontFamilyFallback; t21 = $package == null ? _this._package : $package; return A.TextStyle$(t4, t5, t3, null, t15, t16, t17, t18, t19, t20, t14, t6, t8, t7, t2, t12, t1, _this.leadingDistribution, t9, _this.locale, _this.overflow, t21, t13, t11, t10); }, copyWith$3$color$fontSize$fontWeight(color, fontSize, fontWeight) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, color, null, null, null, null, null, null, null, null, fontSize, null, fontWeight, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$letterSpacing(letterSpacing) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, letterSpacing, null, null, null, null, null, null); }, copyWith$1$color(color) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, color, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$24$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(background, backgroundColor, color, debugLabel, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, leadingDistribution, letterSpacing, locale, overflow, $package, shadows, textBaseline, wordSpacing) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(background, backgroundColor, color, debugLabel, decoration, decorationColor, decorationStyle, decorationThickness, fontFamily, fontFamilyFallback, fontFeatures, fontSize, fontStyle, fontWeight, foreground, height, null, leadingDistribution, letterSpacing, locale, overflow, $package, shadows, textBaseline, wordSpacing); }, copyWith$2$color$fontSize(color, fontSize) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, color, null, null, null, null, null, null, null, null, fontSize, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$fontSize(fontSize) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, fontSize, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$height(height) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, height, null, null, null, null, null, null, null, null, null); }, copyWith$1$fontStyle(fontStyle) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, fontStyle, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$2$fontSize$fontWeight(fontSize, fontWeight) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, fontSize, null, fontWeight, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$fontWeight(fontWeight) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, fontWeight, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$3$backgroundColor$fontFamily$fontSize(backgroundColor, fontFamily, fontSize) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, backgroundColor, null, null, null, null, null, null, fontFamily, null, null, fontSize, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$decoration(decoration) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, decoration, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$2$letterSpacing$wordSpacing(letterSpacing, wordSpacing) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, letterSpacing, null, null, null, null, null, wordSpacing); }, copyWith$1$inherit(inherit) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, inherit, null, null, null, null, null, null, null, null); }, copyWith$1$foreground(foreground) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(null, null, null, null, null, null, null, null, null, null, null, null, null, null, foreground, null, null, null, null, null, null, null, null, null, null); }, copyWith$1$background(background) { return this.copyWith$25$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$inherit$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(background, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(color, decoration, decorationColor, decorationStyle, fontFamily, fontSizeDelta, fontSizeFactor) { var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null, t1 = _this.foreground; if (t1 == null) t2 = color == null ? _this.color : color; else t2 = _null; t3 = _this.background; if (t3 == null) t4 = _this.backgroundColor; else t4 = _null; t5 = fontFamily == null ? _this.get$_text_style$_fontFamily(_this) : fontFamily; t6 = _this.get$fontFamilyFallback(); t7 = _this.fontSize; t7 = t7 == null ? _null : t7 * fontSizeFactor + fontSizeDelta; t8 = _this.fontWeight; t8 = t8 == null ? _null : B.List_27p[B.JSInt_methods.clamp$2(t8.index, 0, 8)]; t9 = _this.letterSpacing; t9 = t9 == null ? _null : t9 + 0; t10 = _this.wordSpacing; t10 = t10 == null ? _null : t10 + 0; t11 = _this.height; t11 = t11 == null ? _null : t11 + 0; t12 = _this.decorationThickness; t12 = t12 == null ? _null : t12 + 0; return A.TextStyle$(t3, t4, t2, _null, _this.decoration, _this.decorationColor, _this.decorationStyle, t12, t5, t6, _this.fontFeatures, t7, _this.fontStyle, t8, t1, t11, _this.inherit, _this.leadingDistribution, t9, _this.locale, _this.overflow, _this._package, _this.shadows, _this.textBaseline, t10); }, apply$1$color(color) { return this.apply$7$color$decoration$decorationColor$decorationStyle$fontFamily$fontSizeDelta$fontSizeFactor(color, null, null, null, null, 0, 1); }, merge$1(other) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22; if (other == null) return this; if (!other.inherit) return other; t1 = other.color; t2 = other.backgroundColor; t3 = other.fontSize; t4 = other.fontWeight; t5 = other.fontStyle; t6 = other.letterSpacing; t7 = other.wordSpacing; t8 = other.textBaseline; t9 = other.height; t10 = other.leadingDistribution; t11 = other.locale; t12 = other.foreground; t13 = other.background; t14 = other.shadows; t15 = other.fontFeatures; t16 = other.decoration; t17 = other.decorationColor; t18 = other.decorationStyle; t19 = other.decorationThickness; t20 = other.get$_text_style$_fontFamily(other); t21 = other.get$fontFamilyFallback(); t22 = other._package; return this.copyWith$24$background$backgroundColor$color$debugLabel$decoration$decorationColor$decorationStyle$decorationThickness$fontFamily$fontFamilyFallback$fontFeatures$fontSize$fontStyle$fontWeight$foreground$height$leadingDistribution$letterSpacing$locale$overflow$package$shadows$textBaseline$wordSpacing(t13, t2, t1, null, t16, t17, t18, t19, t20, t21, t15, t3, t5, t4, t12, t9, t10, t6, t11, other.overflow, t22, t14, t8, t7); }, getTextStyle$1$textScaleFactor(textScaleFactor) { var t3, t4, _this = this, t1 = _this.get$fontFamilyFallback(), t2 = _this.fontSize; t2 = t2 == null ? null : t2 * textScaleFactor; t3 = _this.background; if (t3 == null) { t3 = _this.backgroundColor; if (t3 != null) { t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$color(0, t3); t3 = t4; } else t3 = null; } return A.TextStyle_TextStyle(t3, _this.color, _this.decoration, _this.decorationColor, _this.decorationStyle, _this.decorationThickness, _this.fontFamily, t1, _this.fontFeatures, t2, _this.fontStyle, _this.fontWeight, _this.foreground, _this.height, _this.leadingDistribution, _this.letterSpacing, _this.locale, _this.shadows, _this.textBaseline, _this.wordSpacing); }, compareTo$1(_, other) { var t1, _this = this; if (_this === other) return B.RenderComparison_0; if (_this.inherit === other.inherit) if (_this.fontFamily == other.fontFamily) if (_this.fontSize == other.fontSize) if (_this.fontWeight == other.fontWeight) if (_this.fontStyle == other.fontStyle) if (_this.letterSpacing == other.letterSpacing) if (_this.wordSpacing == other.wordSpacing) if (_this.textBaseline == other.textBaseline) if (_this.height == other.height) t1 = _this.foreground != other.foreground || _this.background != other.background || !A.listEquals0(_this.shadows, other.shadows) || !A.listEquals0(_this.fontFeatures, other.fontFeatures) || !A.listEquals0(_this.get$fontFamilyFallback(), other.get$fontFamilyFallback()) || false; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) return B.RenderComparison_3; if (!J.$eq$(_this.color, other.color) || !J.$eq$(_this.backgroundColor, other.backgroundColor) || !J.$eq$(_this.decoration, other.decoration) || !J.$eq$(_this.decorationColor, other.decorationColor) || _this.decorationStyle != other.decorationStyle || _this.decorationThickness != other.decorationThickness) return B.RenderComparison_2; return B.RenderComparison_0; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.TextStyle) if (other.inherit === _this.inherit) if (J.$eq$(other.color, _this.color)) if (J.$eq$(other.backgroundColor, _this.backgroundColor)) if (other.fontSize == _this.fontSize) if (other.fontWeight == _this.fontWeight) if (other.fontStyle == _this.fontStyle) if (other.letterSpacing == _this.letterSpacing) if (other.wordSpacing == _this.wordSpacing) if (other.textBaseline == _this.textBaseline) if (other.height == _this.height) t1 = other.foreground == _this.foreground && other.background == _this.background && A.listEquals0(other.shadows, _this.shadows) && A.listEquals0(other.fontFeatures, _this.fontFeatures) && J.$eq$(other.decoration, _this.decoration) && J.$eq$(other.decorationColor, _this.decorationColor) && other.decorationStyle == _this.decorationStyle && other.decorationThickness == _this.decorationThickness && other.fontFamily == _this.fontFamily && A.listEquals0(other.get$fontFamilyFallback(), _this.get$fontFamilyFallback()) && other._package == _this._package && 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; return t1; }, get$hashCode(_) { var _this = this; return A.hashList([_this.inherit, _this.color, _this.backgroundColor, _this.fontSize, _this.fontWeight, _this.fontStyle, _this.letterSpacing, _this.wordSpacing, _this.textBaseline, _this.height, _this.leadingDistribution, _this.locale, _this.foreground, _this.background, A.hashList(_this.shadows), A.hashList(_this.fontFeatures), _this.decoration, _this.decorationColor, _this.decorationStyle, _this.decorationThickness, _this.fontFamily, A.hashList(_this.get$fontFamilyFallback()), _this._package, _this.overflow]); }, toStringShort$0() { return "TextStyle"; } }; A.TextStyle_fontFamilyFallback_closure.prototype = { call$1(str) { return "packages/" + A.S(this.$this._package) + "/" + str; }, $signature: 35 }; A._TextStyle_Object_Diagnosticable.prototype = {}; A.FrictionSimulation.prototype = { x$1(_, time) { var _this = this, t1 = _this._v, t2 = _this._dragLog; return _this._friction_simulation$_x + t1 * Math.pow(_this._drag, time) / t2 - t1 / t2; }, dx$1(_, time) { return this._v * Math.pow(this._drag, time); }, get$finalX() { return this._friction_simulation$_x - this._v / this._dragLog; }, timeAtX$1(x) { var t2, t3, _this = this, t1 = _this._friction_simulation$_x; if (x === t1) return 0; t2 = _this._v; if (t2 !== 0) if (t2 > 0) t3 = x < t1 || x > _this.get$finalX(); else t3 = x > t1 || x < _this.get$finalX(); else t3 = true; if (t3) return 1 / 0; t3 = _this._dragLog; return Math.log(t3 * (x - t1) / t2 + 1) / t3; }, isDone$1(time) { return Math.abs(this._v * Math.pow(this._drag, time)) < this.tolerance.velocity; }, toString$0(_) { return "FrictionSimulation(c\u2093: " + B.JSNumber_methods.toStringAsFixed$1(this._drag, 1) + ", x\u2080: " + B.JSNumber_methods.toStringAsFixed$1(this._friction_simulation$_x, 1) + ", dx\u2080: " + B.JSNumber_methods.toStringAsFixed$1(this._v, 1) + ")"; } }; A.Simulation.prototype = { toString$0(_) { return "Simulation"; } }; A.SpringDescription.prototype = { toString$0(_) { return "SpringDescription(mass: " + B.JSNumber_methods.toStringAsFixed$1(this.mass, 1) + ", stiffness: " + B.JSNumber_methods.toStringAsFixed$1(this.stiffness, 1) + ", damping: " + B.JSNumber_methods.toStringAsFixed$1(this.damping, 1) + ")"; } }; A.SpringType.prototype = { toString$0(_) { return "SpringType." + this._core$_name; } }; A.SpringSimulation.prototype = { x$1(_, time) { return this._endPosition + this._solution.x$1(0, time); }, dx$1(_, time) { return this._solution.dx$1(0, time); }, isDone$1(time) { var t1 = this._solution; return A.nearEqual(t1.x$1(0, time), 0, this.tolerance.distance) && A.nearEqual(t1.dx$1(0, time), 0, this.tolerance.velocity); }, toString$0(_) { var t1 = this._solution; return "SpringSimulation(end: " + B.JSNumber_methods.toStringAsFixed$1(this._endPosition, 1) + ", " + t1.get$type(t1).toString$0(0) + ")"; } }; A.ScrollSpringSimulation.prototype = { x$1(_, time) { return this.isDone$1(time) ? this._endPosition : this.super$SpringSimulation$x(0, time); } }; A._CriticalSolution.prototype = { x$1(_, time) { return (this._c1 + this._c2 * time) * Math.pow(2.718281828459045, this._r * time); }, dx$1(_, time) { var t1 = this._r, power = Math.pow(2.718281828459045, t1 * time), t2 = this._c2; return t1 * (this._c1 + t2 * time) * power + t2 * power; }, get$type(_) { return B.SpringType_0; } }; A._OverdampedSolution.prototype = { x$1(_, time) { var _this = this; return _this._c1 * Math.pow(2.718281828459045, _this._r1 * time) + _this._c2 * Math.pow(2.718281828459045, _this._r2 * time); }, dx$1(_, time) { var _this = this, t1 = _this._r1, t2 = _this._r2; return _this._c1 * t1 * Math.pow(2.718281828459045, t1 * time) + _this._c2 * t2 * Math.pow(2.718281828459045, t2 * time); }, get$type(_) { return B.SpringType_2; } }; A._UnderdampedSolution.prototype = { x$1(_, time) { var _this = this, t1 = _this._spring_simulation$_w * time; return Math.pow(2.718281828459045, _this._r * time) * (_this._c1 * Math.cos(t1) + _this._c2 * Math.sin(t1)); }, dx$1(_, time) { var t4, _this = this, t1 = _this._r, power = Math.pow(2.718281828459045, t1 * time), t2 = _this._spring_simulation$_w, t3 = t2 * time, cosine = Math.cos(t3), sine = Math.sin(t3); t3 = _this._c2; t4 = _this._c1; return power * (t3 * t2 * cosine - t4 * t2 * sine) + t1 * power * (t3 * sine + t4 * cosine); }, get$type(_) { return B.SpringType_1; } }; A.Tolerance.prototype = { toString$0(_) { return "Tolerance(distance: \xb1" + A.S(this.distance) + ", time: \xb10.001, velocity: \xb1" + A.S(this.velocity) + ")"; } }; A.RendererBinding.prototype = { handleMetricsChanged$0() { var t1 = A._lateReadCheck(this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode; t1.toString; t1.set$configuration(this.createViewConfiguration$0()); this.scheduleForcedFrame$0(); }, handlePlatformBrightnessChanged$0() { }, createViewConfiguration$0() { var t1 = $.$get$window(), devicePixelRatio = t1._debugDevicePixelRatio; if (devicePixelRatio == null) devicePixelRatio = A.EnginePlatformDispatcher_browserDevicePixelRatio(); return new A.ViewConfiguration(t1.get$physicalSize().$div(0, devicePixelRatio), devicePixelRatio); }, _handleSemanticsEnabledChanged$0() { var t1, _this = this; if ($.$get$window().platformDispatcher._configuration.semanticsEnabled) { if (_this.RendererBinding__semanticsHandle == null) _this.RendererBinding__semanticsHandle = A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner").ensureSemantics$0(); } else { t1 = _this.RendererBinding__semanticsHandle; if (t1 != null) t1.dispose$0(0); _this.RendererBinding__semanticsHandle = null; } }, setSemanticsEnabled$1(enabled) { var t1, _this = this; if (enabled) { if (_this.RendererBinding__semanticsHandle == null) _this.RendererBinding__semanticsHandle = A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner").ensureSemantics$0(); } else { t1 = _this.RendererBinding__semanticsHandle; if (t1 != null) t1.dispose$0(0); _this.RendererBinding__semanticsHandle = null; } }, _handleWebFirstFrame$1(_) { B.MethodChannel_NIe._invokeMethod$1$3$arguments$missingOk("first-frame", null, false, type$.void); }, _handleSemanticsAction$3(id, action, args) { var t1 = A._lateReadCheck(this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._semanticsOwner; if (t1 != null) t1.performAction$3(id, action, null); }, _handleSemanticsOwnerCreated$0() { var t2, t1 = A._lateReadCheck(this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode; t1.toString; t2 = type$.nullable_PipelineOwner; t2._as(A.AbstractNode.prototype.get$owner.call(t1))._nodesNeedingSemantics.add$1(0, t1); t2._as(A.AbstractNode.prototype.get$owner.call(t1)).requestVisualUpdate$0(); }, _handleSemanticsOwnerDisposed$0() { A._lateReadCheck(this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.clearSemantics$0(); }, _handlePersistentFrameCallback$1(timeStamp) { this.drawFrame$0(); this._scheduleMouseTrackerUpdate$0(); }, _scheduleMouseTrackerUpdate$0() { $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.RendererBinding__scheduleMouseTrackerUpdate_closure(this)); }, allowFirstFrame$0() { --this.RendererBinding__firstFrameDeferredCount; if (!this.RendererBinding__firstFrameSent) this.scheduleWarmUpFrame$0(); }, drawFrame$0() { var _this = this, _s14_ = "_pipelineOwner"; A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_).flushLayout$0(); A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_).flushCompositingBits$0(); A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_).flushPaint$0(); if (_this.RendererBinding__firstFrameSent || _this.RendererBinding__firstFrameDeferredCount === 0) { A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_)._rootNode.compositeFrame$0(); A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_).flushSemantics$0(); _this.RendererBinding__firstFrameSent = true; } } }; A.RendererBinding__scheduleMouseTrackerUpdate_closure.prototype = { call$1(duration) { var t1 = this.$this, t2 = t1.RendererBinding__mouseTracker; t2.toString; t2.updateAllDevices$1(A._lateReadCheck(t1.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.get$hitTestMouseTrackers()); }, $signature: 8 }; A.BoxConstraints.prototype = { copyWith$4$maxHeight$maxWidth$minHeight$minWidth(maxHeight, maxWidth, minHeight, minWidth) { var _this = this, t1 = minWidth == null ? _this.minWidth : minWidth, t2 = maxWidth == null ? _this.maxWidth : maxWidth, t3 = minHeight == null ? _this.minHeight : minHeight; return new A.BoxConstraints(t1, t2, t3, maxHeight == null ? _this.maxHeight : maxHeight); }, copyWith$2$minHeight$minWidth(minHeight, minWidth) { return this.copyWith$4$maxHeight$maxWidth$minHeight$minWidth(null, null, minHeight, minWidth); }, copyWith$2$maxWidth$minWidth(maxWidth, minWidth) { return this.copyWith$4$maxHeight$maxWidth$minHeight$minWidth(null, maxWidth, null, minWidth); }, copyWith$2$maxHeight$minHeight(maxHeight, minHeight) { return this.copyWith$4$maxHeight$maxWidth$minHeight$minWidth(maxHeight, null, minHeight, null); }, copyWith$1$maxHeight(maxHeight) { return this.copyWith$4$maxHeight$maxWidth$minHeight$minWidth(maxHeight, null, null, null); }, copyWith$1$maxWidth(maxWidth) { return this.copyWith$4$maxHeight$maxWidth$minHeight$minWidth(null, maxWidth, null, null); }, deflate$1(edges) { var _this = this, horizontal = edges.get$horizontal(), vertical = edges.get$_top(edges) + edges.get$_bottom(edges), deflatedMinWidth = Math.max(0, _this.minWidth - horizontal), deflatedMinHeight = Math.max(0, _this.minHeight - vertical); return new A.BoxConstraints(deflatedMinWidth, Math.max(deflatedMinWidth, _this.maxWidth - horizontal), deflatedMinHeight, Math.max(deflatedMinHeight, _this.maxHeight - vertical)); }, enforce$1(constraints) { var _this = this, t1 = constraints.minWidth, t2 = constraints.maxWidth, t3 = constraints.minHeight, t4 = constraints.maxHeight; return new A.BoxConstraints(B.JSNumber_methods.clamp$2(_this.minWidth, t1, t2), B.JSNumber_methods.clamp$2(_this.maxWidth, t1, t2), B.JSNumber_methods.clamp$2(_this.minHeight, t3, t4), B.JSNumber_methods.clamp$2(_this.maxHeight, t3, t4)); }, tighten$2$height$width(height, width) { var t5, t6, _this = this, t1 = width == null, t2 = _this.minWidth, t3 = t1 ? t2 : B.JSNumber_methods.clamp$2(width, t2, _this.maxWidth), t4 = _this.maxWidth; t1 = t1 ? t4 : B.JSNumber_methods.clamp$2(width, t2, t4); t2 = height == null; t4 = _this.minHeight; t5 = t2 ? t4 : B.JSNumber_methods.clamp$2(height, t4, _this.maxHeight); t6 = _this.maxHeight; return new A.BoxConstraints(t3, t1, t5, t2 ? t6 : B.JSNumber_methods.clamp$2(height, t4, t6)); }, tighten$1$height(height) { return this.tighten$2$height$width(height, null); }, tighten$1$width(width) { return this.tighten$2$height$width(null, width); }, constrain$1(size) { var _this = this; return new A.Size(B.JSNumber_methods.clamp$2(size._dx, _this.minWidth, _this.maxWidth), B.JSNumber_methods.clamp$2(size._dy, _this.minHeight, _this.maxHeight)); }, constrainSizeAndAttemptToPreserveAspectRatio$1(size) { var width1, height, aspectRatio, height0, height1, _this = this, width = _this.minWidth, width0 = _this.maxWidth; if (width >= width0 && _this.minHeight >= _this.maxHeight) return new A.Size(B.JSInt_methods.clamp$2(0, width, width0), B.JSInt_methods.clamp$2(0, _this.minHeight, _this.maxHeight)); width1 = size._dx; height = size._dy; aspectRatio = width1 / height; if (width1 > width0) { height = width0 / aspectRatio; width1 = width0; } height0 = _this.maxHeight; if (height > height0) { width1 = height0 * aspectRatio; height = height0; } if (width1 < width) { height = width / aspectRatio; width1 = width; } height1 = _this.minHeight; if (height < height1) { width1 = height1 * aspectRatio; height = height1; } return new A.Size(B.JSNumber_methods.clamp$2(width1, width, width0), B.JSNumber_methods.clamp$2(height, height1, height0)); }, get$isTight() { var _this = this; return _this.minWidth >= _this.maxWidth && _this.minHeight >= _this.maxHeight; }, $mul(_, factor) { var _this = this; return new A.BoxConstraints(_this.minWidth * factor, _this.maxWidth * factor, _this.minHeight * factor, _this.maxHeight * factor); }, $div(_, factor) { var _this = this; return new A.BoxConstraints(_this.minWidth / factor, _this.maxWidth / factor, _this.minHeight / factor, _this.maxHeight / factor); }, get$isNormalized() { var _this = this, t1 = _this.minWidth; if (t1 >= 0) if (t1 <= _this.maxWidth) { t1 = _this.minHeight; t1 = t1 >= 0 && t1 <= _this.maxHeight; } else t1 = false; else t1 = false; return t1; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.BoxConstraints && other.minWidth === _this.minWidth && other.maxWidth === _this.maxWidth && other.minHeight === _this.minHeight && other.maxHeight === _this.maxHeight; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.minWidth, _this.maxWidth, _this.minHeight, _this.maxHeight, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var t2, width, height, _this = this, annotation = _this.get$isNormalized() ? "" : "; NOT NORMALIZED", t1 = _this.minWidth; if (t1 === 1 / 0 && _this.minHeight === 1 / 0) return "BoxConstraints(biggest" + annotation + ")"; if (t1 === 0 && _this.maxWidth === 1 / 0 && _this.minHeight === 0 && _this.maxHeight === 1 / 0) return "BoxConstraints(unconstrained" + annotation + ")"; t2 = new A.BoxConstraints_toString_describe(); width = t2.call$3(t1, _this.maxWidth, "w"); height = t2.call$3(_this.minHeight, _this.maxHeight, "h"); return "BoxConstraints(" + width + ", " + height + annotation + ")"; } }; A.BoxConstraints_toString_describe.prototype = { call$3(min, max, dim) { if (min === max) return dim + "=" + B.JSNumber_methods.toStringAsFixed$1(min, 1); return B.JSNumber_methods.toStringAsFixed$1(min, 1) + "<=" + dim + "<=" + B.JSNumber_methods.toStringAsFixed$1(max, 1); }, $signature: 561 }; A.BoxHitTestResult.prototype = { addWithPaintTransform$3$hitTest$position$transform(hitTest, position, transform) { if (transform != null) { transform = A.Matrix4_tryInvert(A.PointerEvent_removePerspectiveTransform(transform)); if (transform == null) return false; } return this.addWithRawTransform$3$hitTest$position$transform(hitTest, position, transform); }, addWithPaintOffset$3$hitTest$offset$position(hitTest, offset, position) { var isHit, t1 = offset == null, transformedPosition = t1 ? position : position.$sub(0, offset); t1 = !t1; if (t1) this._localTransforms.push(new A._OffsetTransformPart(new A.Offset(-offset._dx, -offset._dy))); isHit = hitTest.call$2(this, transformedPosition); if (t1) this.popTransform$0(); return isHit; }, addWithRawTransform$3$hitTest$position$transform(hitTest, position, transform) { var isHit, t1 = transform == null, transformedPosition = t1 ? position : A.MatrixUtils_transformPoint(transform, position); t1 = !t1; if (t1) this._localTransforms.push(new A._MatrixTransformPart(transform)); isHit = hitTest.call$2(this, transformedPosition); if (t1) this.popTransform$0(); return isHit; }, addWithOutOfBandPosition$3$hitTest$paintOffset$paintTransform(hitTest, paintOffset, paintTransform) { var isHit, _this = this; if (paintOffset != null) _this._localTransforms.push(new A._OffsetTransformPart(new A.Offset(-paintOffset._dx, -paintOffset._dy))); else { paintTransform.toString; paintTransform = A.Matrix4_tryInvert(A.PointerEvent_removePerspectiveTransform(paintTransform)); paintTransform.toString; _this._localTransforms.push(new A._MatrixTransformPart(paintTransform)); } isHit = hitTest.call$1(_this); _this.popTransform$0(); return isHit; }, addWithOutOfBandPosition$2$hitTest$paintTransform(hitTest, paintTransform) { return this.addWithOutOfBandPosition$3$hitTest$paintOffset$paintTransform(hitTest, null, paintTransform); }, addWithOutOfBandPosition$2$hitTest$paintOffset(hitTest, paintOffset) { return this.addWithOutOfBandPosition$3$hitTest$paintOffset$paintTransform(hitTest, paintOffset, null); } }; A.BoxHitTestEntry.prototype = { get$target(_) { return type$.RenderBox._as(this.target); }, toString$0(_) { return "<optimized out>#" + A.shortHash(type$.RenderBox._as(this.target)) + "@" + this.localPosition.toString$0(0); } }; A.BoxParentData.prototype = { toString$0(_) { return "offset=" + A.S(this.offset); } }; A.ContainerBoxParentData.prototype = {}; A._IntrinsicDimension.prototype = { toString$0(_) { return "_IntrinsicDimension." + this._core$_name; } }; A._IntrinsicDimensionsCacheEntry.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A._IntrinsicDimensionsCacheEntry && other.dimension === this.dimension && other.argument === this.argument; }, get$hashCode(_) { return A.hashValues(this.dimension, this.argument, 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, 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.RenderBox.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.BoxParentData)) child.parentData = new A.BoxParentData(B.Offset_0_0); }, _computeIntrinsicDimension$3(dimension, argument, computer) { var t1 = this._cachedIntrinsicDimensions; if (t1 == null) t1 = this._cachedIntrinsicDimensions = A.LinkedHashMap_LinkedHashMap$_empty(type$._IntrinsicDimensionsCacheEntry, type$.double); return t1.putIfAbsent$2(0, new A._IntrinsicDimensionsCacheEntry(dimension, argument), new A.RenderBox__computeIntrinsicDimension_closure(computer, argument)); }, computeMinIntrinsicWidth$1(height) { return 0; }, computeMaxIntrinsicWidth$1(height) { return 0; }, computeMinIntrinsicHeight$1(width) { return 0; }, computeMaxIntrinsicHeight$1(width) { return 0; }, getDryLayout$1(constraints) { var t1 = this._cachedDryLayoutSizes; if (t1 == null) t1 = this._cachedDryLayoutSizes = A.LinkedHashMap_LinkedHashMap$_empty(type$.BoxConstraints, type$.Size); return t1.putIfAbsent$2(0, constraints, new A.RenderBox_getDryLayout_closure(this, constraints)); }, computeDryLayout$1(constraints) { return B.Size_0_0; }, get$semanticBounds() { var t1 = this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, getDistanceToBaseline$2$onlyReal(baseline, onlyReal) { var result = this.getDistanceToActualBaseline$1(baseline); if (result == null && !onlyReal) return this._size._dy; return result; }, getDistanceToBaseline$1(baseline) { return this.getDistanceToBaseline$2$onlyReal(baseline, false); }, getDistanceToActualBaseline$1(baseline) { var _this = this, t1 = _this._cachedBaselines; if (t1 == null) t1 = _this._cachedBaselines = A.LinkedHashMap_LinkedHashMap$_empty(type$.TextBaseline, type$.nullable_double); t1.putIfAbsent$2(0, baseline, new A.RenderBox_getDistanceToActualBaseline_closure(_this, baseline)); return _this._cachedBaselines.$index(0, baseline); }, computeDistanceToActualBaseline$1(baseline) { return null; }, get$constraints() { return type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); }, markNeedsLayout$0() { var _this = this, t1 = _this._cachedBaselines; if (!(t1 != null && t1.get$isNotEmpty(t1))) { t1 = _this._cachedIntrinsicDimensions; if (!(t1 != null && t1.get$isNotEmpty(t1))) { t1 = _this._cachedDryLayoutSizes; t1 = t1 != null && t1.get$isNotEmpty(t1); } else t1 = true; } else t1 = true; if (t1) { t1 = _this._cachedBaselines; if (t1 != null) t1.clear$0(0); t1 = _this._cachedIntrinsicDimensions; if (t1 != null) t1.clear$0(0); t1 = _this._cachedDryLayoutSizes; if (t1 != null) t1.clear$0(0); if (_this.get$parent(_this) instanceof A.RenderObject) { _this.markParentNeedsLayout$0(); return; } } _this.super$RenderObject$markNeedsLayout(); }, performResize$0() { this._size = this.computeDryLayout$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this))); }, performLayout$0() { }, hitTest$2$position(result, position) { var t1, _this = this; if (_this._size.contains$1(0, position)) if (_this.hitTestChildren$2$position(result, position) || _this.hitTestSelf$1(position)) { t1 = new A.BoxHitTestEntry(position, _this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); return true; } return false; }, hitTestSelf$1(position) { return false; }, hitTestChildren$2$position(result, position) { return false; }, applyPaintTransform$2(child, transform) { var offset, t1 = child.parentData; t1.toString; offset = type$.BoxParentData._as(t1).offset; transform.translate$2(0, offset._dx, offset._dy); }, globalToLocal$1(point) { var n, t1, i, d, s, transform = this.getTransformTo$1(0, null); if (transform.copyInverse$1(transform) === 0) return B.Offset_0_0; n = new A.Vector3(new Float64Array(3)); n.setValues$3(0, 0, 1); t1 = new A.Vector3(new Float64Array(3)); t1.setValues$3(0, 0, 0); i = transform.perspectiveTransform$1(t1); t1 = new A.Vector3(new Float64Array(3)); t1.setValues$3(0, 0, 1); d = transform.perspectiveTransform$1(t1).$sub(0, i); t1 = new A.Vector3(new Float64Array(3)); t1.setValues$3(point._dx, point._dy, 0); s = transform.perspectiveTransform$1(t1); t1 = s.$sub(0, d.scaled$1(n.dot$1(s) / n.dot$1(d)))._v3storage; return new A.Offset(t1[0], t1[1]); }, get$paintBounds() { var t1 = this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, handleEvent$2($event, entry) { this.super$RenderObject$handleEvent($event, entry); } }; A.RenderBox__computeIntrinsicDimension_closure.prototype = { call$0() { return this.computer.call$1(this.argument); }, $signature: 118 }; A.RenderBox_getDryLayout_closure.prototype = { call$0() { return this.$this.computeDryLayout$1(this.constraints); }, $signature: 562 }; A.RenderBox_getDistanceToActualBaseline_closure.prototype = { call$0() { return this.$this.computeDistanceToActualBaseline$1(this.baseline); }, $signature: 563 }; A.RenderBoxContainerDefaultsMixin.prototype = { defaultComputeDistanceToFirstActualBaseline$1(baseline) { var t1, childParentData, result, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("RenderBoxContainerDefaultsMixin.1?"); child != null;) { childParentData = t1._as(child.parentData); result = child.getDistanceToActualBaseline$1(baseline); if (result != null) return result + childParentData.offset._dy; child = childParentData.ContainerParentDataMixin_nextSibling; } return null; }, defaultComputeDistanceToHighestActualBaseline$1(baseline) { var t1, result, t2, candidate, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("RenderBoxContainerDefaultsMixin.1"), result = null; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); candidate = child.getDistanceToActualBaseline$1(baseline); if (candidate != null) { candidate += t2.offset._dy; result = result != null ? Math.min(result, candidate) : candidate; } child = t2.ContainerParentDataMixin_nextSibling; } return result; }, defaultHitTestChildren$2$position(result, position) { var t2, child, _box_0 = {}, t1 = _box_0.child = this.ContainerRenderObjectMixin__lastChild; for (t2 = A._instanceType(this)._eval$1("RenderBoxContainerDefaultsMixin.1"); t1 != null; t1 = child) { t1 = t1.parentData; t1.toString; t2._as(t1); if (result.addWithPaintOffset$3$hitTest$offset$position(new A.RenderBoxContainerDefaultsMixin_defaultHitTestChildren_closure(_box_0, position, t1), t1.offset, position)) return true; child = t1.ContainerParentDataMixin_previousSibling; _box_0.child = child; } return false; }, defaultPaint$2(context, offset) { var t1, t2, t3, t4, t5, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("RenderBoxContainerDefaultsMixin.1"), t2 = offset._dx, t3 = offset._dy; child != null;) { t4 = child.parentData; t4.toString; t1._as(t4); t5 = t4.offset; context.paintChild$2(child, new A.Offset(t5._dx + t2, t5._dy + t3)); child = t4.ContainerParentDataMixin_nextSibling; } }, getChildrenAsList$0() { var t2, t3, t1 = A._instanceType(this), result = A._setArrayType([], t1._eval$1("JSArray<RenderBoxContainerDefaultsMixin.0>")), child = this.ContainerRenderObjectMixin__firstChild; for (t2 = t1._eval$1("RenderBoxContainerDefaultsMixin.1"), t1 = t1._eval$1("RenderBoxContainerDefaultsMixin.0"); child != null;) { t3 = child.parentData; t3.toString; t2._as(t3); result.push(t1._as(child)); child = t3.ContainerParentDataMixin_nextSibling; } return result; } }; A.RenderBoxContainerDefaultsMixin_defaultHitTestChildren_closure.prototype = { call$2(result, transformed) { return this._box_0.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A._ContainerBoxParentData_BoxParentData_ContainerParentDataMixin.prototype = { detach$0(_) { this.super$ParentData$detach(0); } }; A.MultiChildLayoutParentData.prototype = { toString$0(_) { return this.super$BoxParentData$toString(0) + "; id=" + A.S(this.id); }, get$id(receiver) { return this.id; } }; A.MultiChildLayoutDelegate.prototype = { layoutChild$2(childId, constraints) { var t1, child = this._idToChild.$index(0, childId); child.layout$2$parentUsesSize(0, constraints, true); t1 = child._size; t1.toString; return t1; }, positionChild$2(childId, offset) { var t1 = this._idToChild.$index(0, childId).parentData; t1.toString; type$.MultiChildLayoutParentData._as(t1).offset = offset; }, _callPerformLayout$2(size, firstChild) { var childParentData, t1, t2, t3, t4, child, _this = this, previousIdToChild = _this._idToChild; try { _this._idToChild = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.RenderBox); for (t1 = type$.MultiChildLayoutParentData, t2 = firstChild; t2 != null; t2 = child) { t3 = t2.parentData; t3.toString; childParentData = t1._as(t3); t3 = _this._idToChild; t3.toString; t4 = childParentData.id; t4.toString; t3.$indexSet(0, t4, t2); child = childParentData.ContainerParentDataMixin_nextSibling; } _this.performLayout$1(size); } finally { _this._idToChild = previousIdToChild; } }, toString$0(_) { return "MultiChildLayoutDelegate"; } }; A.RenderCustomMultiChildLayoutBox.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.MultiChildLayoutParentData)) child.parentData = new A.MultiChildLayoutParentData(null, null, B.Offset_0_0); }, set$delegate(newDelegate) { var _this = this, t1 = _this._custom_layout0$_delegate; if (t1 === newDelegate) return; if (A.getRuntimeType(newDelegate) !== A.getRuntimeType(t1) || newDelegate.shouldRelayout$1(t1)) _this.markNeedsLayout$0(); _this._custom_layout0$_delegate = newDelegate; _this._node$_owner != null; }, attach$1(owner) { this.super$_RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin$attach(owner); }, detach$0(_) { this.super$_RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin$detach(0); }, computeMinIntrinsicWidth$1(height) { var t1 = A.BoxConstraints$tightForFinite(height, 1 / 0), width = t1.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight)))._dx; if (isFinite(width)) return width; return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = A.BoxConstraints$tightForFinite(height, 1 / 0), width = t1.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight)))._dx; if (isFinite(width)) return width; return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = A.BoxConstraints$tightForFinite(1 / 0, width), height = t1.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight)))._dy; if (isFinite(height)) return height; return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = A.BoxConstraints$tightForFinite(1 / 0, width), height = t1.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight)))._dy; if (isFinite(height)) return height; return 0; }, computeDryLayout$1(constraints) { return constraints.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight))); }, performLayout$0() { var _this = this, t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); t1 = t1.constrain$1(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight))); _this._size = t1; _this._custom_layout0$_delegate._callPerformLayout$2(t1, _this.ContainerRenderObjectMixin__firstChild); }, paint$2(context, offset) { this.defaultPaint$2(context, offset); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); } }; A._RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.MultiChildLayoutParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.MultiChildLayoutParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderCustomMultiChildLayoutBox_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.CustomPainter.prototype = { addListener$1(_, listener) { var t1 = this._repaint; return t1 == null ? null : t1.addListener$1(0, listener); }, removeListener$1(_, listener) { var t1 = this._repaint; return t1 == null ? null : t1.removeListener$1(0, listener); }, get$semanticsBuilder() { return null; }, shouldRebuildSemantics$1(oldDelegate) { return this.shouldRepaint$1(oldDelegate); }, hitTest$1(position) { return null; }, toString$0(_) { var t1 = "<optimized out>#" + A.shortHash(this) + "(", t2 = this._repaint; t2 = t2 == null ? null : t2.toString$0(0); return t1 + (t2 == null ? "" : t2) + ")"; } }; A.RenderCustomPaint.prototype = { set$painter(value) { var t1 = this._custom_paint$_painter; if (t1 == value) return; this._custom_paint$_painter = value; this._didUpdatePainter$2(value, t1); }, set$foregroundPainter(value) { var t1 = this._foregroundPainter; if (t1 == value) return; this._foregroundPainter = value; this._didUpdatePainter$2(value, t1); }, _didUpdatePainter$2(newPainter, oldPainter) { var _this = this, t1 = newPainter == null; if (t1) _this.markNeedsPaint$0(); else if (oldPainter == null || A.getRuntimeType(newPainter) !== A.getRuntimeType(oldPainter) || newPainter.shouldRepaint$1(oldPainter)) _this.markNeedsPaint$0(); if (_this._node$_owner != null) { if (oldPainter != null) oldPainter.removeListener$1(0, _this.get$markNeedsPaint()); if (!t1) newPainter.addListener$1(0, _this.get$markNeedsPaint()); } if (t1) { if (_this._node$_owner != null) _this.markNeedsSemanticsUpdate$0(); } else if (oldPainter == null || A.getRuntimeType(newPainter) !== A.getRuntimeType(oldPainter) || newPainter.shouldRebuildSemantics$1(oldPainter)) _this.markNeedsSemanticsUpdate$0(); }, set$preferredSize(value) { if (this._preferredSize.$eq(0, value)) return; this._preferredSize = value; this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var t1; if (this.RenderObjectWithChildMixin__child == null) { t1 = this._preferredSize._dx; return isFinite(t1) ? t1 : 0; } return this.super$RenderProxyBoxMixin$computeMinIntrinsicWidth(height); }, computeMaxIntrinsicWidth$1(height) { var t1; if (this.RenderObjectWithChildMixin__child == null) { t1 = this._preferredSize._dx; return isFinite(t1) ? t1 : 0; } return this.super$RenderProxyBoxMixin$computeMaxIntrinsicWidth(height); }, computeMinIntrinsicHeight$1(width) { var t1; if (this.RenderObjectWithChildMixin__child == null) { t1 = this._preferredSize._dy; return isFinite(t1) ? t1 : 0; } return this.super$RenderProxyBoxMixin$computeMinIntrinsicHeight(width); }, computeMaxIntrinsicHeight$1(width) { var t1; if (this.RenderObjectWithChildMixin__child == null) { t1 = this._preferredSize._dy; return isFinite(t1) ? t1 : 0; } return this.super$RenderProxyBoxMixin$computeMaxIntrinsicHeight(width); }, attach$1(owner) { var t1, _this = this; _this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$attach(owner); t1 = _this._custom_paint$_painter; if (t1 != null) t1.addListener$1(0, _this.get$markNeedsPaint()); t1 = _this._foregroundPainter; if (t1 != null) t1.addListener$1(0, _this.get$markNeedsPaint()); }, detach$0(_) { var _this = this, t1 = _this._custom_paint$_painter; if (t1 != null) t1.removeListener$1(0, _this.get$markNeedsPaint()); t1 = _this._foregroundPainter; if (t1 != null) t1.removeListener$1(0, _this.get$markNeedsPaint()); _this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, hitTestChildren$2$position(result, position) { var t1 = this._foregroundPainter; if (t1 != null) { t1 = t1.hitTest$1(position); t1 = t1 === true; } else t1 = false; if (t1) return true; return this.super$RenderProxyBoxMixin$hitTestChildren(result, position); }, hitTestSelf$1(position) { var t1 = this._custom_paint$_painter; if (t1 != null) { t1 = t1.hitTest$1(position); t1 = t1 !== false; } else t1 = false; return t1; }, performLayout$0() { this.super$RenderProxyBoxMixin$performLayout(); this.markNeedsSemanticsUpdate$0(); }, computeSizeForNoChild$1(constraints) { return constraints.constrain$1(this._preferredSize); }, _paintWithPainter$3(canvas, offset, painter) { var t1; A._Cell$named("debugPreviousCanvasSaveCount"); canvas.save$0(0); if (!offset.$eq(0, B.Offset_0_0)) canvas.translate$2(0, offset._dx, offset._dy); t1 = this._size; t1.toString; painter.paint$2(canvas, t1); canvas.restore$0(0); }, paint$2(context, offset) { var t1, t2, _this = this; if (_this._custom_paint$_painter != null) { t1 = context.get$canvas(context); t2 = _this._custom_paint$_painter; t2.toString; _this._paintWithPainter$3(t1, offset, t2); _this._setRasterCacheHints$1(context); } _this.super$RenderProxyBoxMixin$paint(context, offset); if (_this._foregroundPainter != null) { t1 = context.get$canvas(context); t2 = _this._foregroundPainter; t2.toString; _this._paintWithPainter$3(t1, offset, t2); _this._setRasterCacheHints$1(context); } }, _setRasterCacheHints$1(context) { }, describeSemanticsConfiguration$1(config) { var t1, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); t1 = _this._custom_paint$_painter; _this._backgroundSemanticsBuilder = t1 == null ? null : t1.get$semanticsBuilder(); t1 = _this._foregroundPainter; _this._foregroundSemanticsBuilder = t1 == null ? null : t1.get$semanticsBuilder(); config._isSemanticBoundary = false; }, assembleSemanticsNode$3(node, config, children) { var t1, hasBackgroundSemantics, hasForegroundSemantics, t2, _this = this; _this._backgroundSemanticsNodes = A.RenderCustomPaint__updateSemanticsChildren(_this._backgroundSemanticsNodes, B.List_empty29); _this._foregroundSemanticsNodes = A.RenderCustomPaint__updateSemanticsChildren(_this._foregroundSemanticsNodes, B.List_empty29); t1 = _this._backgroundSemanticsNodes; hasBackgroundSemantics = t1 != null && !t1.get$isEmpty(t1); t1 = _this._foregroundSemanticsNodes; hasForegroundSemantics = t1 != null && !t1.get$isEmpty(t1); t1 = A._setArrayType([], type$.JSArray_SemanticsNode); if (hasBackgroundSemantics) { t2 = _this._backgroundSemanticsNodes; t2.toString; B.JSArray_methods.addAll$1(t1, t2); } B.JSArray_methods.addAll$1(t1, children); if (hasForegroundSemantics) { t2 = _this._foregroundSemanticsNodes; t2.toString; B.JSArray_methods.addAll$1(t1, t2); } _this.super$RenderObject$assembleSemanticsNode(node, config, t1); }, clearSemantics$0() { this.super$RenderObject$clearSemantics(); this._foregroundSemanticsNodes = this._backgroundSemanticsNodes = null; } }; A.DebugOverflowIndicatorMixin.prototype = {}; A.TextSelectionPoint.prototype = { toString$0(_) { var _this = this; switch (_this.direction) { case B.TextDirection_1: return _this.point.toString$0(0) + "-ltr"; case B.TextDirection_0: return _this.point.toString$0(0) + "-rtl"; case null: return _this.point.toString$0(0); } } }; A.RenderEditable.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.TextParentData)) child.parentData = new A.TextParentData(null, null, B.Offset_0_0); }, dispose$0(_) { var _this = this, t1 = _this._foregroundRenderObject; if (t1 != null) t1._layerHandle.set$layer(0, null); _this._foregroundRenderObject = null; t1 = _this._backgroundRenderObject; if (t1 != null) t1._layerHandle.set$layer(0, null); _this._backgroundRenderObject = null; _this._editable$_clipRectLayer.set$layer(0, null); _this.super$RenderObject$dispose(0); }, _updateForegroundPainter$1(newPainter) { var foregroundRenderObject, _this = this, effectivePainter = _this.get$_builtInForegroundPainters(), t1 = _this._foregroundRenderObject; if (t1 == null) { foregroundRenderObject = A._RenderEditableCustomPaint$(effectivePainter); _this.adoptChild$1(foregroundRenderObject); _this._foregroundRenderObject = foregroundRenderObject; } else t1.set$painter(effectivePainter); _this._editable$_foregroundPainter = newPainter; }, _editable$_extractPlaceholderSpans$1(span) { this.__RenderEditable__placeholderSpans = A._setArrayType([], type$.JSArray_PlaceholderSpan); span.visitChildren$1(new A.RenderEditable__extractPlaceholderSpans_closure(this)); }, _updatePainter$1(newPainter) { var backgroundRenderObject, _this = this, effectivePainter = _this.get$_builtInPainters(), t1 = _this._backgroundRenderObject; if (t1 == null) { backgroundRenderObject = A._RenderEditableCustomPaint$(effectivePainter); _this.adoptChild$1(backgroundRenderObject); _this._backgroundRenderObject = backgroundRenderObject; } else t1.set$painter(effectivePainter); _this._editable$_painter = newPainter; }, get$_caretPainter() { var t1, t2, _this = this, value = _this.__RenderEditable__caretPainter; if (value === $) { t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); A._lateInitializeOnceCheck(_this.__RenderEditable__caretPainter, "_caretPainter"); value = _this.__RenderEditable__caretPainter = new A._FloatingCursorPainter(_this.get$_onCaretChanged(), t1, B.Offset_0_0, t2); } return value; }, get$_builtInForegroundPainters() { var _this = this, t1 = _this._cachedBuiltInForegroundPainters; if (t1 == null) { t1 = A._setArrayType([], type$.JSArray_RenderEditablePainter); if (_this._paintCursorOnTop) t1.push(_this.get$_caretPainter()); t1 = _this._cachedBuiltInForegroundPainters = new A._CompositeRenderEditablePainter(t1, A.List_List$filled(0, null, false, type$.nullable_void_Function)); } return t1; }, get$_builtInPainters() { var _this = this, t1 = _this._cachedBuiltInPainters; if (t1 == null) { t1 = A._setArrayType([_this._autocorrectHighlightPainter, _this._selectionPainter], type$.JSArray_RenderEditablePainter); if (!_this._paintCursorOnTop) t1.push(_this.get$_caretPainter()); t1 = _this._cachedBuiltInPainters = new A._CompositeRenderEditablePainter(t1, A.List_List$filled(0, null, false, type$.nullable_void_Function)); } return t1; }, _onCaretChanged$1(caretRect) { if (!J.$eq$(this._lastCaretRect, caretRect)) this.onCaretChanged.call$1(caretRect); this._lastCaretRect = caretRect; }, set$textHeightBehavior(_, value) { return; }, set$textWidthBasis(value) { var t1 = this._textPainter; if (t1._textWidthBasis === value) return; t1.set$textWidthBasis(value); this.markNeedsTextLayout$0(); }, set$devicePixelRatio(_, value) { if (this._devicePixelRatio === value) return; this._devicePixelRatio = value; this.markNeedsTextLayout$0(); }, set$obscuringCharacter(value) { if (this._obscuringCharacter === value) return; this._obscuringCharacter = value; this.markNeedsLayout$0(); }, set$obscureText(value) { if (this._obscureText === value) return; this._obscureText = value; this.markNeedsSemanticsUpdate$0(); }, _getTextPositionVertical$2(position, verticalOffset) { var caretOffset, t1 = this._textPainter; t1._computeCaretMetrics$2(position, A._lateReadCheck(this.__RenderEditable__caretPrototype, "_caretPrototype")); caretOffset = A._lateReadCheck(t1.__TextPainter__caretMetrics, "_caretMetrics").offset; return t1._paragraph.getPositionForOffset$1(new A.Offset(caretOffset._dx + 0, caretOffset._dy + verticalOffset)); }, getLineAtOffset$1(position) { var line = this._textPainter._paragraph.getLineBoundary$1(position); if (this._obscureText) return A.TextSelection$(B.TextAffinity_1, 0, this.get$_plainText().length, false); return A.TextSelection$(B.TextAffinity_1, line.start, line.end, false); }, getTextPositionAbove$1(position) { return this._getTextPositionVertical$2(position, -0.5 * this._textPainter.get$preferredLineHeight()); }, getTextPositionBelow$1(position) { return this._getTextPositionVertical$2(position, 1.5 * this._textPainter.get$preferredLineHeight()); }, _setSelection$2(nextSelection, cause) { var textLength, t1, _this = this; if (nextSelection.get$isValid()) { textLength = _this.textSelectionDelegate._widget.controller._change_notifier$_value.text.length; nextSelection = nextSelection.copyWith$2$baseOffset$extentOffset(Math.min(nextSelection.baseOffset, textLength), Math.min(nextSelection.extentOffset, textLength)); } _this._editable$_handleSelectionChange$2(nextSelection, cause); t1 = _this.textSelectionDelegate._widget.controller._change_notifier$_value.copyWith$1$selection(nextSelection); _this.textSelectionDelegate.userUpdateTextEditingValue$2(t1, cause); }, _editable$_handleSelectionChange$2(nextSelection, cause) { var focusingEmpty = nextSelection.baseOffset === 0 && nextSelection.extentOffset === 0 && !this._editable$_hasFocus; if (nextSelection.$eq(0, this._selection) && cause !== B.SelectionChangedCause_4 && !focusingEmpty) return; }, markNeedsPaint$0() { this.super$RenderObject$markNeedsPaint(); var t1 = this._foregroundRenderObject; if (t1 != null) t1.markNeedsPaint$0(); t1 = this._backgroundRenderObject; if (t1 != null) t1.markNeedsPaint$0(); }, markNeedsTextLayout$0() { this._textLayoutLastMinWidth = this._textLayoutLastMaxWidth = null; this.markNeedsLayout$0(); }, systemFontsDidChange$0() { var _this = this; _this.super$RelayoutWhenSystemFontsChangeMixin$systemFontsDidChange(); _this._textPainter.markNeedsLayout$0(); _this._textLayoutLastMinWidth = _this._textLayoutLastMaxWidth = null; }, get$_plainText() { var t1 = this._cachedPlainText; return t1 == null ? this._cachedPlainText = this._textPainter._text_painter$_text.toPlainText$1$includeSemanticsLabels(false) : t1; }, get$text(_) { return this._textPainter._text_painter$_text; }, set$text(_, value) { var _this = this, t1 = _this._textPainter; if (J.$eq$(t1._text_painter$_text, value)) return; t1.set$text(0, value); _this._cachedCombinedSemanticsInfos = _this._cachedAttributedValue = _this._cachedPlainText = null; _this._editable$_extractPlaceholderSpans$1(value); _this.markNeedsTextLayout$0(); _this.markNeedsSemanticsUpdate$0(); }, set$textAlign(_, value) { var t1 = this._textPainter; if (t1._textAlign === value) return; t1.set$textAlign(0, value); this.markNeedsTextLayout$0(); }, set$textDirection(_, value) { var t1 = this._textPainter; if (t1._text_painter$_textDirection === value) return; t1.set$textDirection(0, value); this.markNeedsTextLayout$0(); this.markNeedsSemanticsUpdate$0(); }, set$locale(_, value) { var t1 = this._textPainter; if (J.$eq$(t1._text_painter$_locale, value)) return; t1.set$locale(0, value); this.markNeedsTextLayout$0(); }, set$strutStyle(_, value) { var t1 = this._textPainter; if (J.$eq$(t1._strutStyle, value)) return; t1.set$strutStyle(0, value); this.markNeedsTextLayout$0(); }, set$showCursor(value) { var _this = this, t1 = _this._showCursor; if (t1 === value) return; if (_this._node$_owner != null) t1.removeListener$1(0, _this.get$_showHideCursor()); _this._showCursor = value; if (_this._node$_owner != null) { _this.get$_caretPainter().set$shouldPaint(_this._showCursor._change_notifier$_value); _this._showCursor.addListener$1(0, _this.get$_showHideCursor()); } }, _showHideCursor$0() { this.get$_caretPainter().set$shouldPaint(this._showCursor._change_notifier$_value); }, set$hasFocus(value) { if (this._editable$_hasFocus === value) return; this._editable$_hasFocus = value; this.markNeedsSemanticsUpdate$0(); }, set$forceLine(value) { if (this._forceLine === value) return; this._forceLine = value; this.markNeedsLayout$0(); }, set$readOnly(_, value) { if (this._readOnly === value) return; this._readOnly = value; this.markNeedsSemanticsUpdate$0(); }, set$maxLines(_, value) { if (this._editable$_maxLines == value) return; this._editable$_maxLines = value; this.markNeedsTextLayout$0(); }, set$minLines(value) { return; }, set$expands(value) { if (this._editable$_expands === value) return; this._editable$_expands = value; this.markNeedsTextLayout$0(); }, set$textScaleFactor(value) { var t1 = this._textPainter; if (t1._textScaleFactor === value) return; t1.set$textScaleFactor(value); this.markNeedsTextLayout$0(); }, set$selection(value) { var _this = this; if (_this._selection.$eq(0, value)) return; _this._selection = value; _this._selectionPainter.set$highlightedRange(value); _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, set$offset(_, value) { var _this = this, t1 = _this._editable$_offset; if (t1 === value) return; if (_this._node$_owner != null) t1.removeListener$1(0, _this.get$markNeedsPaint()); _this._editable$_offset = value; if (_this._node$_owner != null) value.addListener$1(0, _this.get$markNeedsPaint()); _this.markNeedsLayout$0(); }, set$cursorWidth(value) { if (this._cursorWidth === value) return; this._cursorWidth = value; this.markNeedsLayout$0(); }, set$cursorHeight(value) { return; }, set$paintCursorAboveText(value) { var _this = this; if (_this._paintCursorOnTop === value) return; _this._paintCursorOnTop = value; _this._cachedBuiltInPainters = _this._cachedBuiltInForegroundPainters = null; _this._updateForegroundPainter$1(_this._editable$_foregroundPainter); _this._updatePainter$1(_this._editable$_painter); }, set$startHandleLayerLink(value) { if (this._editable$_startHandleLayerLink === value) return; this._editable$_startHandleLayerLink = value; this.markNeedsPaint$0(); }, set$endHandleLayerLink(value) { if (this._editable$_endHandleLayerLink === value) return; this._editable$_endHandleLayerLink = value; this.markNeedsPaint$0(); }, get$selectionEnabled() { return this._enableInteractiveSelection; }, describeSemanticsConfiguration$1(config) { var t1, t2, collector, buffer, attributes, t3, offset, _i, t4, info, label, t5, _i0, infoAttribute, originalRange, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); t1 = _this._textPainter; t2 = t1._text_painter$_text; t2.toString; collector = A._setArrayType([], type$.JSArray_InlineSpanSemanticsInformation); t2.computeSemanticsInformation$1(collector); _this._editable$_semanticsInfo = collector; if (B.JSArray_methods.any$1(collector, new A.RenderEditable_describeSemanticsConfiguration_closure()) && A.defaultTargetPlatform() !== B.TargetPlatform_4) { config.explicitChildNodes = config._isSemanticBoundary = true; return; } t2 = _this._cachedAttributedValue; if (t2 == null) if (_this._obscureText) { t2 = new A.AttributedString(B.JSString_methods.$mul(_this._obscuringCharacter, _this.get$_plainText().length), B.List_empty3); _this._cachedAttributedValue = t2; } else { buffer = new A.StringBuffer(""); attributes = A._setArrayType([], type$.JSArray_StringAttribute); for (t2 = _this._editable$_semanticsInfo, t3 = t2.length, offset = 0, _i = 0, t4 = ""; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { info = t2[_i]; label = info.semanticsLabel; if (label == null) label = info.text; for (t4 = info.stringAttributes, t5 = t4.length, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0) { infoAttribute = t4[_i0]; originalRange = infoAttribute.range; attributes.push(infoAttribute.copy$1$range(0, new A.TextRange(offset + originalRange.start, offset + originalRange.end))); } t4 = buffer._contents += label; offset += label.length; } t2 = new A.AttributedString(t4.charCodeAt(0) == 0 ? t4 : t4, attributes); _this._cachedAttributedValue = t2; } config._semantics$_attributedValue = t2; config._hasBeenAnnotated = true; config._setFlag$2(B.SemanticsFlag_1024, _this._obscureText); config._setFlag$2(B.SemanticsFlag_524288, _this._editable$_maxLines !== 1); t2 = t1._text_painter$_textDirection; t2.toString; config._semantics$_textDirection = t2; config._hasBeenAnnotated = true; config._setFlag$2(B.SemanticsFlag_32, _this._editable$_hasFocus); config._setFlag$2(B.SemanticsFlag_16, true); config._setFlag$2(B.SemanticsFlag_1048576, _this._readOnly); if (_this._editable$_hasFocus && _this.get$selectionEnabled()) config.set$onSetSelection(_this.get$_handleSetSelection()); if (_this._editable$_hasFocus && !_this._readOnly) config.set$onSetText(_this.get$_handleSetText()); if (_this.get$selectionEnabled()) t2 = _this._selection.get$isValid(); else t2 = false; if (t2) { t2 = _this._selection; config._textSelection = t2; config._hasBeenAnnotated = true; if (t1.getOffsetBefore$1(t2.extentOffset) != null) { config.set$onMoveCursorBackwardByWord(_this.get$_handleMoveCursorBackwardByWord()); config.set$onMoveCursorBackwardByCharacter(_this.get$_handleMoveCursorBackwardByCharacter()); } if (t1.getOffsetAfter$1(_this._selection.extentOffset) != null) { config.set$onMoveCursorForwardByWord(_this.get$_handleMoveCursorForwardByWord()); config.set$onMoveCursorForwardByCharacter(_this.get$_handleMoveCursorForwardByCharacter()); } } }, _handleSetText$1(text) { this.textSelectionDelegate.userUpdateTextEditingValue$2(new A.TextEditingValue(text, A.TextSelection$collapsed(B.TextAffinity_1, text.length), B.TextRange_m1_m1), B.SelectionChangedCause_4); }, assembleSemanticsNode$3(node, config, children) { var child, newChildCache, t3, t4, t5, t6, t7, currentRect, currentDirection, ordinal, start, placeholderIndex, childIndex, _i, info, start0, t8, t9, childNode, t10, rects, rect, currentDirection0, t11, configuration, ordinal0, recognizer, newChild, _this = this, _null = null, newChildren = A._setArrayType([], type$.JSArray_SemanticsNode), t1 = _this._textPainter, t2 = t1._text_painter$_textDirection; t2.toString; child = _this.ContainerRenderObjectMixin__firstChild; newChildCache = A.ListQueue$(_null, type$.SemanticsNode); t3 = _this._cachedCombinedSemanticsInfos; if (t3 == null) { t3 = _this._editable$_semanticsInfo; t3.toString; t3 = _this._cachedCombinedSemanticsInfos = A.combineSemanticsInfo(t3); } for (t4 = t3.length, t5 = type$.BoxConstraints, t6 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t7 = type$.TextParentData, currentRect = _null, currentDirection = t2, ordinal = 0, start = 0, placeholderIndex = 0, childIndex = 0, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i, start = start0) { info = t3[_i]; t2 = info.text; start0 = start + t2.length; t8 = start < start0; t9 = t8 ? start0 : start; t8 = t8 ? start : start0; if (info.isPlaceholder) { while (true) { if (children.length > childIndex) { t2 = children[childIndex]; t8 = "PlaceholderSpanIndexSemanticsTag(" + placeholderIndex + ")"; t2 = t2.tags; t2 = t2 != null && t2.contains$1(0, new A.PlaceholderSpanIndexSemanticsTag(placeholderIndex, t8)); } else t2 = false; if (!t2) break; childNode = children[childIndex]; t2 = child.parentData; t2.toString; t7._as(t2); t8 = childNode._semantics$_rect; t9 = t8.left; t10 = t8.top; t2 = t2.scale; t2.toString; t2 = new A.Rect(t9, t10, t9 + (t8.right - t9) * t2, t10 + (t8.bottom - t10) * t2); if (!t8.$eq(0, t2)) { childNode._semantics$_rect = t2; childNode._semantics$_markDirty$0(); } newChildren.push(childNode); ++childIndex; } t2 = child.parentData; t2.toString; child = t6._as(t2).ContainerParentDataMixin_nextSibling; ++placeholderIndex; } else { rects = t1._paragraph.getBoxesForRange$4$boxHeightStyle$boxWidthStyle(t8, t9, B.BoxHeightStyle_0, B.BoxWidthStyle_0); if (rects.length === 0) continue; t8 = B.JSArray_methods.get$first(rects); rect = new A.Rect(t8.left, t8.top, t8.right, t8.bottom); currentDirection0 = B.JSArray_methods.get$first(rects).direction; for (t8 = A._arrayInstanceType(rects), t9 = t8._eval$1("SubListIterable<1>"), t10 = new A.SubListIterable(rects, 1, _null, t9), t10.SubListIterable$3(rects, 1, _null, t8._precomputed1), t10 = new A.ListIterator(t10, t10.get$length(t10), t9._eval$1("ListIterator<ListIterable.E>")), t9 = t9._eval$1("ListIterable.E"); t10.moveNext$0();) { t8 = t9._as(t10.__internal$_current); rect = rect.expandToInclude$1(new A.Rect(t8.left, t8.top, t8.right, t8.bottom)); currentDirection0 = t8.direction; } t8 = rect.left; t9 = Math.max(0, t8); t10 = rect.top; t11 = Math.max(0, t10); t8 = Math.min(rect.right - t8, t5._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth); t10 = Math.min(rect.bottom - t10, t5._as(A.RenderObject.prototype.get$constraints.call(_this)).maxHeight); currentRect = new A.Rect(Math.floor(t9) - 4, Math.floor(t11) - 4, Math.ceil(t9 + t8) + 4, Math.ceil(t11 + t10) + 4); configuration = A.SemanticsConfiguration$(); ordinal0 = ordinal + 1; configuration._semantics$_sortKey = new A.OrdinalSortKey(ordinal, _null); configuration._hasBeenAnnotated = true; configuration._semantics$_textDirection = currentDirection; t10 = info.semanticsLabel; t2 = t10 == null ? t2 : t10; configuration._semantics$_attributedLabel = new A.AttributedString(t2, info.stringAttributes); recognizer = info.recognizer; if (recognizer != null) { t2 = recognizer.onTap; if (t2 != null) { configuration._addArgumentlessAction$2(B.SemanticsAction_1, t2); configuration._semantics$_onTap = t2; configuration._setFlag$2(B.SemanticsFlag_4194304, true); } } t2 = _this._cachedChildNodes; newChild = (t2 == null ? _null : !t2.get$isEmpty(t2)) === true ? _this._cachedChildNodes.removeFirst$0() : A.SemanticsNode$(_null, _null); newChild.updateWith$1$config(0, configuration); if (!newChild._semantics$_rect.$eq(0, currentRect)) { newChild._semantics$_rect = currentRect; newChild._semantics$_markDirty$0(); } newChildCache._add$1(0, newChild); newChildren.push(newChild); ordinal = ordinal0; currentDirection = currentDirection0; } } _this._cachedChildNodes = newChildCache; node.updateWith$2$childrenInInversePaintOrder$config(0, newChildren, config); }, _handleSetSelection$1(selection) { this._setSelection$2(selection, B.SelectionChangedCause_4); }, _handleMoveCursorForwardByCharacter$1(extentSelection) { var _this = this, extentOffset = _this._textPainter.getOffsetAfter$1(_this._selection.extentOffset); if (extentOffset == null) return; _this._setSelection$2(A.TextSelection$(B.TextAffinity_1, !extentSelection ? extentOffset : _this._selection.baseOffset, extentOffset, false), B.SelectionChangedCause_4); }, _handleMoveCursorBackwardByCharacter$1(extentSelection) { var _this = this, extentOffset = _this._textPainter.getOffsetBefore$1(_this._selection.extentOffset); if (extentOffset == null) return; _this._setSelection$2(A.TextSelection$(B.TextAffinity_1, !extentSelection ? extentOffset : _this._selection.baseOffset, extentOffset, false), B.SelectionChangedCause_4); }, _handleMoveCursorForwardByWord$1(extentSelection) { var baseOffset, _this = this, t1 = _this._selection, nextWord = _this._getNextWord$1(_this._textPainter._paragraph.getWordBoundary$1(0, new A.TextPosition(t1.extentOffset, t1.affinity)).end); if (nextWord == null) return; baseOffset = extentSelection ? _this._selection.baseOffset : nextWord.start; _this._setSelection$2(A.TextSelection$(B.TextAffinity_1, baseOffset, nextWord.start, false), B.SelectionChangedCause_4); }, _handleMoveCursorBackwardByWord$1(extentSelection) { var baseOffset, _this = this, t1 = _this._selection, previousWord = _this._getPreviousWord$1(_this._textPainter._paragraph.getWordBoundary$1(0, new A.TextPosition(t1.extentOffset, t1.affinity)).start - 1); if (previousWord == null) return; baseOffset = extentSelection ? _this._selection.baseOffset : previousWord.start; _this._setSelection$2(A.TextSelection$(B.TextAffinity_1, baseOffset, previousWord.start, false), B.SelectionChangedCause_4); }, _getNextWord$1(offset) { var t1, range, t2; for (t1 = this._textPainter; true;) { range = t1._paragraph.getWordBoundary$1(0, new A.TextPosition(offset, B.TextAffinity_1)); t2 = range.start; t2 = !(t2 >= 0 && range.end >= 0) || t2 === range.end; if (t2) return null; if (!this._onlyWhitespace$1(range)) return range; offset = range.end; } }, _getPreviousWord$1(offset) { var t1, range, t2; for (t1 = this._textPainter; offset >= 0;) { range = t1._paragraph.getWordBoundary$1(0, new A.TextPosition(offset, B.TextAffinity_1)); t2 = range.start; t2 = !(t2 >= 0 && range.end >= 0) || t2 === range.end; if (t2) return null; if (!this._onlyWhitespace$1(range)) return range; offset = range.start - 1; } return null; }, _onlyWhitespace$1(range) { var i, t1, t2, t3; for (i = range.start, t1 = range.end, t2 = this._textPainter; i < t1; ++i) { t3 = t2._text_painter$_text.codeUnitAt$1(0, i); t3.toString; if (!A.TextLayoutMetrics_isWhitespace(t3)) return false; } return true; }, attach$1(owner) { var t1, _this = this, _null = null; _this.super$_RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin$attach(owner); t1 = _this._foregroundRenderObject; if (t1 != null) t1.attach$1(owner); t1 = _this._backgroundRenderObject; if (t1 != null) t1.attach$1(owner); t1 = A.TapGestureRecognizer$(_this); t1.onTapDown = _this.get$_editable$_handleTapDown(); t1.onTap = _this.get$_editable$_handleTap(); _this.__RenderEditable__tap = t1; t1 = A.LongPressGestureRecognizer$(_this, _null, _null, _null, _null); t1.onLongPress = _this.get$_handleLongPress(); _this.__RenderEditable__longPress = t1; _this._editable$_offset.addListener$1(0, _this.get$markNeedsPaint()); _this.get$_caretPainter().set$shouldPaint(_this._showCursor._change_notifier$_value); _this._showCursor.addListener$1(0, _this.get$_showHideCursor()); }, detach$0(_) { var _this = this, t1 = A._lateReadCheck(_this.__RenderEditable__tap, "_tap"); t1._stopTimer$0(); t1.super$OneSequenceGestureRecognizer$dispose(0); t1 = A._lateReadCheck(_this.__RenderEditable__longPress, "_longPress"); t1._stopTimer$0(); t1.super$OneSequenceGestureRecognizer$dispose(0); _this._editable$_offset.removeListener$1(0, _this.get$markNeedsPaint()); _this._showCursor.removeListener$1(0, _this.get$_showHideCursor()); _this.super$_RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin$detach(0); t1 = _this._foregroundRenderObject; if (t1 != null) t1.detach$0(0); t1 = _this._backgroundRenderObject; if (t1 != null) t1.detach$0(0); }, redepthChildren$0() { var _this = this, foregroundChild = _this._foregroundRenderObject, backgroundChild = _this._backgroundRenderObject; if (foregroundChild != null) _this.redepthChild$1(foregroundChild); if (backgroundChild != null) _this.redepthChild$1(backgroundChild); _this.super$ContainerRenderObjectMixin$redepthChildren(); }, visitChildren$1(visitor) { var foregroundChild = this._foregroundRenderObject, backgroundChild = this._backgroundRenderObject; if (foregroundChild != null) visitor.call$1(foregroundChild); if (backgroundChild != null) visitor.call$1(backgroundChild); this.super$ContainerRenderObjectMixin$visitChildren(visitor); }, get$_paintOffset() { switch ((this._editable$_maxLines !== 1 ? B.Axis_1 : B.Axis_0).index) { case 0: var t1 = this._editable$_offset._pixels; t1.toString; return new A.Offset(-t1, 0); case 1: t1 = this._editable$_offset._pixels; t1.toString; return new A.Offset(0, -t1); } }, get$_viewportExtent() { switch ((this._editable$_maxLines !== 1 ? B.Axis_1 : B.Axis_0).index) { case 0: return this._size._dx; case 1: return this._size._dy; } }, _getMaxScrollExtent$1(contentSize) { switch ((this._editable$_maxLines !== 1 ? B.Axis_1 : B.Axis_0).index) { case 0: return Math.max(0, contentSize._dx - this._size._dx); case 1: return Math.max(0, contentSize._dy - this._size._dy); } }, getEndpointsForSelection$1(selection) { var paintOffset, boxes, t1, caretOffset, start, end, _this = this; _this._computeTextMetricsIfNeeded$0(); paintOffset = _this.get$_paintOffset(); if (selection.start === selection.end) boxes = A._setArrayType([], type$.JSArray_TextBox); else { t1 = _this._selectionPainter; boxes = _this._textPainter.getBoxesForSelection$3$boxHeightStyle$boxWidthStyle(selection, t1._selectionHeightStyle, t1._selectionWidthStyle); } if (boxes.length === 0) { t1 = _this._textPainter; t1._computeCaretMetrics$2(new A.TextPosition(selection.extentOffset, selection.affinity), A._lateReadCheck(_this.__RenderEditable__caretPrototype, "_caretPrototype")); caretOffset = A._lateReadCheck(t1.__TextPainter__caretMetrics, "_caretMetrics").offset; return A._setArrayType([new A.TextSelectionPoint(new A.Offset(0, t1.get$preferredLineHeight()).$add(0, caretOffset).$add(0, paintOffset), null)], type$.JSArray_TextSelectionPoint); } else { t1 = B.JSArray_methods.get$first(boxes); t1 = t1.direction === B.TextDirection_1 ? t1.left : t1.right; start = new A.Offset(t1, B.JSArray_methods.get$first(boxes).bottom).$add(0, paintOffset); t1 = B.JSArray_methods.get$last(boxes); t1 = t1.direction === B.TextDirection_1 ? t1.right : t1.left; end = new A.Offset(t1, B.JSArray_methods.get$last(boxes).bottom).$add(0, paintOffset); return A._setArrayType([new A.TextSelectionPoint(start, B.JSArray_methods.get$first(boxes).direction), new A.TextSelectionPoint(end, B.JSArray_methods.get$last(boxes).direction)], type$.JSArray_TextSelectionPoint); } }, getRectForComposingRange$1(range) { var t1, _this = this; if (!range.get$isValid() || range.start === range.end) return null; _this._computeTextMetricsIfNeeded$0(); t1 = _this._selectionPainter; t1 = B.JSArray_methods.fold$2(_this._textPainter.getBoxesForSelection$3$boxHeightStyle$boxWidthStyle(A.TextSelection$(B.TextAffinity_1, range.start, range.end, false), t1._selectionHeightStyle, t1._selectionWidthStyle), null, new A.RenderEditable_getRectForComposingRange_closure()); return t1 == null ? null : t1.shift$1(_this.get$_paintOffset()); }, getPositionForPoint$1(globalPosition) { var t1, _this = this; _this._computeTextMetricsIfNeeded$0(); t1 = _this.get$_paintOffset(); t1 = _this.globalToLocal$1(globalPosition.$add(0, new A.Offset(-t1._dx, -t1._dy))); return _this._textPainter._paragraph.getPositionForOffset$1(t1); }, getLocalRectForCaret$1(caretPosition) { var t1, caretOffset, t2, rect, _this = this; _this._computeTextMetricsIfNeeded$0(); t1 = _this._textPainter; t1._computeCaretMetrics$2(caretPosition, A._lateReadCheck(_this.__RenderEditable__caretPrototype, "_caretPrototype")); caretOffset = A._lateReadCheck(t1.__TextPainter__caretMetrics, "_caretMetrics").offset; t2 = _this._cursorWidth; t1 = t1.get$preferredLineHeight(); t1 = t1; rect = new A.Rect(0, 0, t2, 0 + t1).shift$1(caretOffset.$add(0, _this.get$_paintOffset()).$add(0, _this.get$_caretPainter()._cursorOffset)); return rect.shift$1(_this._snapToPhysicalPixel$1(new A.Offset(rect.left, rect.top))); }, computeMinIntrinsicWidth$1(height) { this._layoutText$0(); return Math.ceil(this._textPainter._paragraph.get$minIntrinsicWidth()); }, computeMaxIntrinsicWidth$1(height) { this._layoutText$0(); return Math.ceil(this._textPainter._paragraph.get$maxIntrinsicWidth()) + (1 + this._cursorWidth); }, _preferredHeight$1(width) { var t3, text, lines, index, _this = this, t1 = _this._editable$_maxLines, t2 = t1 != null, lockedMax = t2 && true; if (t1 === 1 || lockedMax || false) { t1 = _this._textPainter.get$preferredLineHeight(); t2 = _this._editable$_maxLines; t2.toString; return t1 * t2; } if (t2) { _this._layoutText$1$maxWidth(width); t1 = _this._textPainter; t2 = t1._paragraph; t2 = Math.ceil(t2.get$height(t2)); t1 = t1.get$preferredLineHeight(); t3 = _this._editable$_maxLines; t3.toString; t3 = t2 > t1 * t3; t1 = t3; if (t1) { t1 = _this._textPainter.get$preferredLineHeight(); t2 = _this._editable$_maxLines; t2.toString; return t1 * t2; } } if (width === 1 / 0) { text = _this.get$_plainText(); for (t1 = text.length, lines = 1, index = 0; index < t1; ++index) if (B.JSString_methods._codeUnitAt$1(text, index) === 10) ++lines; return _this._textPainter.get$preferredLineHeight() * lines; } _this._layoutText$1$maxWidth(width); t1 = _this._textPainter; t2 = t1.get$preferredLineHeight(); t1 = t1._paragraph; return Math.max(t2, Math.ceil(t1.get$height(t1))); }, computeMinIntrinsicHeight$1(width) { return this._preferredHeight$1(width); }, computeMaxIntrinsicHeight$1(width) { return this._preferredHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { this._computeTextMetricsIfNeeded$0(); return this._textPainter.computeDistanceToActualBaseline$1(baseline); }, hitTestSelf$1(position) { return true; }, hitTestChildren$2$position(result, position) { var t2, hitText, t3, t4, childIndex, t5, t6, t7, transform, child, _this = this, _box_0 = {}, effectivePosition = position.$sub(0, _this.get$_paintOffset()), t1 = _this._textPainter, textPosition = t1._paragraph.getPositionForOffset$1(effectivePosition), span = t1._text_painter$_text.getSpanForPosition$1(textPosition); if (span != null && type$.HitTestTarget._is(span)) { t2 = new A.HitTestEntry(type$.HitTestTarget._as(span)); result._globalizeTransforms$0(); t2._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t2); hitText = true; } else hitText = false; t2 = _box_0.child = _this.ContainerRenderObjectMixin__firstChild; t3 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t4 = type$.TextParentData; childIndex = 0; while (true) { if (!(t2 != null && childIndex < t1._inlinePlaceholderBoxes.length)) break; t2 = t2.parentData; t2.toString; t4._as(t2); t5 = t2.offset; t6 = t5._dx; t5 = t5._dy; t7 = new Float64Array(16); transform = new A.Matrix4(t7); transform.setIdentity$0(); t7[14] = 0; t7[13] = t5; t7[12] = t6; t6 = t2.scale; transform.scale$3(0, t6, t6, t6); if (result.addWithPaintTransform$3$hitTest$position$transform(new A.RenderEditable_hitTestChildren_closure(_box_0, position, t2), position, transform)) return true; t2 = _box_0.child.parentData; t2.toString; child = t3._as(t2).ContainerParentDataMixin_nextSibling; _box_0.child = child; ++childIndex; t2 = child; } return hitText; }, handleEvent$2($event, entry) { type$.PointerDownEvent._is($event); }, _editable$_handleTapDown$1(details) { this._lastTapDownPosition = details.globalPosition; }, _editable$_handleTap$0() { var t1 = this._lastTapDownPosition; t1.toString; this.selectPositionAt$2$cause$from(B.SelectionChangedCause_0, t1); }, _handleLongPress$0() { var t1 = this._lastTapDownPosition; t1.toString; this.selectWordsInRange$2$cause$from(B.SelectionChangedCause_2, t1); }, selectPositionAt$3$cause$from$to(cause, from, to) { var fromPosition, toPosition, baseOffset, extentOffset, _this = this, t1 = type$.BoxConstraints, t2 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._layoutText$2$maxWidth$minWidth(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth, t2.minWidth); t2 = _this._textPainter; t1 = _this.globalToLocal$1(from.$sub(0, _this.get$_paintOffset())); fromPosition = t2._paragraph.getPositionForOffset$1(t1); if (to == null) toPosition = null; else { t1 = _this.globalToLocal$1(to.$sub(0, _this.get$_paintOffset())); toPosition = t2._paragraph.getPositionForOffset$1(t1); } baseOffset = fromPosition.offset; extentOffset = toPosition == null ? null : toPosition.offset; if (extentOffset == null) extentOffset = baseOffset; _this._setSelection$2(A.TextSelection$(fromPosition.affinity, baseOffset, extentOffset, false), cause); }, selectPositionAt$2$cause$from(cause, from) { return this.selectPositionAt$3$cause$from$to(cause, from, null); }, selectWordsInRange$3$cause$from$to(cause, from, to) { var t1, t2, firstWord, lastWord, _this = this; _this._computeTextMetricsIfNeeded$0(); t1 = _this._textPainter; t2 = _this.globalToLocal$1(from.$sub(0, _this.get$_paintOffset())); firstWord = _this._getWordAtOffset$1(t1._paragraph.getPositionForOffset$1(t2)); if (to == null) lastWord = firstWord; else { t2 = _this.globalToLocal$1(to.$sub(0, _this.get$_paintOffset())); lastWord = _this._getWordAtOffset$1(t1._paragraph.getPositionForOffset$1(t2)); } _this._setSelection$2(A.TextSelection$(firstWord.affinity, firstWord.baseOffset, lastWord.extentOffset, false), cause); }, selectWordsInRange$2$cause$from(cause, from) { return this.selectWordsInRange$3$cause$from$to(cause, from, null); }, selectWordEdge$1$cause(cause) { var t1, t2, position, word, newSelection, _this = this; _this._computeTextMetricsIfNeeded$0(); t1 = _this._textPainter; t2 = _this._lastTapDownPosition; t2.toString; t2 = _this.globalToLocal$1(t2.$sub(0, _this.get$_paintOffset())); position = t1._paragraph.getPositionForOffset$1(t2); word = t1._paragraph.getWordBoundary$1(0, position); newSelection = A._Cell$named("newSelection"); t1 = word.start; if (position.offset - t1 <= 1) newSelection.__late_helper$_value = A.TextSelection$collapsed(B.TextAffinity_1, t1); else newSelection.__late_helper$_value = A.TextSelection$collapsed(B.TextAffinity_0, word.end); _this._setSelection$2(newSelection._readLocal$0(), cause); }, _getWordAtOffset$1(position) { var t3, previousWord, nextWord, _this = this, word = _this._textPainter._paragraph.getWordBoundary$1(0, position), t1 = position.offset, t2 = word.end; if (t1 >= t2) return A.TextSelection$fromPosition(position); if (_this._obscureText) return A.TextSelection$(B.TextAffinity_1, 0, _this.get$_plainText().length, false); else if (A.TextLayoutMetrics_isWhitespace(B.JSString_methods.codeUnitAt$1(_this.get$_plainText(), t1)) && t1 > 0) { t3 = word.start; previousWord = _this._getPreviousWord$1(t3); switch (A.defaultTargetPlatform().index) { case 2: if (previousWord == null) { nextWord = _this._getNextWord$1(t3); if (nextWord == null) return A.TextSelection$collapsed(B.TextAffinity_1, t1); return A.TextSelection$(B.TextAffinity_1, t1, nextWord.end, false); } return A.TextSelection$(B.TextAffinity_1, previousWord.start, t1, false); case 0: if (_this._readOnly) { if (previousWord == null) return A.TextSelection$(B.TextAffinity_1, t1, t1 + 1, false); return A.TextSelection$(B.TextAffinity_1, previousWord.start, t1, false); } break; case 1: case 4: case 3: case 5: break; } } return A.TextSelection$(B.TextAffinity_1, word.start, t2, false); }, _layoutChildren$2$dry(constraints, dry) { var child, placeholderDimensions, boxConstraints, t2, childIndex, t3, t4, baselineOffset, childSize, _this = this, _s17_ = "_placeholderSpans", t1 = _this.ContainerRenderObjectMixin__childCount; if (t1 === 0) { t1 = type$.JSArray_PlaceholderDimensions; _this._textPainter.setPlaceholderDimensions$1(A._setArrayType([], t1)); return A._setArrayType([], t1); } child = _this.ContainerRenderObjectMixin__firstChild; placeholderDimensions = A.List_List$filled(t1, B.PlaceholderDimensions_8eb, false, type$.PlaceholderDimensions); boxConstraints = new A.BoxConstraints(0, constraints.maxWidth, 0, 1 / 0).$div(0, _this._textPainter._textScaleFactor); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t2 = !dry, childIndex = 0; child != null;) { if (t2) { child.layout$2$parentUsesSize(0, boxConstraints, true); t3 = child._size; t3.toString; switch (J.$index$asx(A._lateReadCheck(_this.__RenderEditable__placeholderSpans, _s17_), childIndex).alignment.index) { case 0: t4 = J.$index$asx(A._lateReadCheck(_this.__RenderEditable__placeholderSpans, _s17_), childIndex).baseline; t4.toString; baselineOffset = child.getDistanceToBaseline$1(t4); break; case 1: case 2: case 4: case 5: case 3: baselineOffset = null; break; default: baselineOffset = null; } childSize = t3; } else { childSize = child.getDryLayout$1(boxConstraints); baselineOffset = null; } J.$index$asx(A._lateReadCheck(_this.__RenderEditable__placeholderSpans, _s17_), childIndex).toString; placeholderDimensions[childIndex] = new A.PlaceholderDimensions(childSize, baselineOffset, J.$index$asx(A._lateReadCheck(_this.__RenderEditable__placeholderSpans, _s17_), childIndex).baseline); t3 = child.parentData; t3.toString; child = t1._as(t3).ContainerParentDataMixin_nextSibling; ++childIndex; } return placeholderDimensions; }, _layoutChildren$1(constraints) { return this._layoutChildren$2$dry(constraints, false); }, _setParentData$0() { var t4, t5, child = this.ContainerRenderObjectMixin__firstChild, t1 = type$.TextParentData, t2 = this._textPainter, t3 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), childIndex = 0; while (true) { if (!(child != null && childIndex < t2._inlinePlaceholderBoxes.length)) break; t4 = child.parentData; t4.toString; t1._as(t4); t5 = t2._inlinePlaceholderBoxes[childIndex]; t4.offset = new A.Offset(t5.left, t5.top); t4.scale = t2._inlinePlaceholderScales[childIndex]; child = t3._as(t4).ContainerParentDataMixin_nextSibling; ++childIndex; } }, _layoutText$2$maxWidth$minWidth(maxWidth, minWidth) { var _this = this, availableMaxWidth = Math.max(0, maxWidth - (1 + _this._cursorWidth)), availableMinWidth = Math.min(minWidth, availableMaxWidth), textMaxWidth = _this._editable$_maxLines !== 1 ? availableMaxWidth : 1 / 0, textMinWidth = _this._forceLine ? availableMaxWidth : availableMinWidth; _this._textPainter.layout$2$maxWidth$minWidth(0, textMaxWidth, textMinWidth); _this._textLayoutLastMinWidth = minWidth; _this._textLayoutLastMaxWidth = maxWidth; }, _layoutText$1$maxWidth(maxWidth) { return this._layoutText$2$maxWidth$minWidth(maxWidth, 0); }, _layoutText$0() { return this._layoutText$2$maxWidth$minWidth(1 / 0, 0); }, _computeTextMetricsIfNeeded$0() { var t1 = type$.BoxConstraints, t2 = t1._as(A.RenderObject.prototype.get$constraints.call(this)); this._layoutText$2$maxWidth$minWidth(t1._as(A.RenderObject.prototype.get$constraints.call(this)).maxWidth, t2.minWidth); }, _snapToPhysicalPixel$1(sourceOffset) { var t2, globalOffset = A.MatrixUtils_transformPoint(this.getTransformTo$1(0, null), sourceOffset), pixelMultiple = 1 / this._devicePixelRatio, t1 = globalOffset._dx; t1 = isFinite(t1) ? B.JSNumber_methods.round$0(t1 / pixelMultiple) * pixelMultiple - t1 : 0; t2 = globalOffset._dy; return new A.Offset(t1, isFinite(t2) ? B.JSNumber_methods.round$0(t2 / pixelMultiple) * pixelMultiple - t2 : 0); }, _canComputeDryLayout$0() { var t1, t2, _i; for (t1 = A._lateReadCheck(this.__RenderEditable__placeholderSpans, "_placeholderSpans"), t2 = t1.length, _i = 0; _i < t2; ++_i) switch (t1[_i].alignment.index) { case 0: case 1: case 2: return false; case 3: case 5: case 4: continue; } return true; }, computeDryLayout$1(constraints) { var t1, t2, width, width0, t3, _this = this; if (!_this._canComputeDryLayout$0()) return B.Size_0_0; t1 = _this._textPainter; t1.setPlaceholderDimensions$1(_this._layoutChildren$2$dry(constraints, true)); t2 = constraints.minWidth; width = constraints.maxWidth; _this._layoutText$2$maxWidth$minWidth(width, t2); if (_this._forceLine) width0 = width; else { t3 = t1.get$width(t1); t1 = t1._paragraph; Math.ceil(t1.get$height(t1)); width0 = B.JSNumber_methods.clamp$2(t3 + (1 + _this._cursorWidth), t2, width); } return new A.Size(width0, B.JSNumber_methods.clamp$2(_this._preferredHeight$1(width), constraints.minHeight, constraints.maxHeight)); }, performLayout$0() { var t2, t3, width, width0, t4, contentSize, painterConstraints, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this._layoutChildren$1(constraints); _this._editable$_placeholderDimensions = t1; t2 = _this._textPainter; t2.setPlaceholderDimensions$1(t1); _this._computeTextMetricsIfNeeded$0(); _this._setParentData$0(); switch (A.defaultTargetPlatform().index) { case 2: case 4: t1 = _this._cursorWidth; t3 = t2.get$preferredLineHeight(); _this.__RenderEditable__caretPrototype = new A.Rect(0, 0, t1, 0 + (t3 + 2)); break; case 0: case 1: case 3: case 5: t1 = _this._cursorWidth; t3 = t2.get$preferredLineHeight(); _this.__RenderEditable__caretPrototype = new A.Rect(0, 2, t1, 2 + (t3 - 4)); break; } t1 = t2.get$width(t2); t3 = t2._paragraph; t3 = Math.ceil(t3.get$height(t3)); width = constraints.maxWidth; if (_this._forceLine) width0 = width; else { t4 = t2.get$width(t2); t2 = t2._paragraph; Math.ceil(t2.get$height(t2)); width0 = B.JSNumber_methods.clamp$2(t4 + (1 + _this._cursorWidth), constraints.minWidth, width); } _this._size = new A.Size(width0, B.JSNumber_methods.clamp$2(_this._preferredHeight$1(width), constraints.minHeight, constraints.maxHeight)); contentSize = new A.Size(t1 + (1 + _this._cursorWidth), t3); painterConstraints = A.BoxConstraints$tight(contentSize); t1 = _this._foregroundRenderObject; if (t1 != null) t1.layout$1(0, painterConstraints); t1 = _this._backgroundRenderObject; if (t1 != null) t1.layout$1(0, painterConstraints); _this._editable$_maxScrollExtent = _this._getMaxScrollExtent$1(contentSize); _this._editable$_offset.applyViewportDimension$1(_this.get$_viewportExtent()); _this._editable$_offset.applyContentDimensions$2(0, _this._editable$_maxScrollExtent); }, setFloatingCursor$4$resetLerpValue(state, boundedOffset, lastTextPosition, resetLerpValue) { var t1, sizeAdjustment, _this = this; if (state === B.FloatingCursorDragState_0) { _this._relativeOrigin = B.Offset_0_0; _this._previousOffset = null; _this._resetOriginOnRight = _this._resetOriginOnTop = _this._resetOriginOnBottom = false; } t1 = state !== B.FloatingCursorDragState_2; _this._floatingCursorOn = t1; _this._resetFloatingCursorAnimationValue = resetLerpValue; if (t1) { _this.__RenderEditable__floatingCursorTextPosition = lastTextPosition; if (resetLerpValue != null) { t1 = A.EdgeInsets_lerp(B.EdgeInsets_Otk, B.EdgeInsets_0_0_0_0, resetLerpValue); t1.toString; sizeAdjustment = t1; } else sizeAdjustment = B.EdgeInsets_Otk; _this.get$_caretPainter().set$floatingCursorRect(sizeAdjustment.inflateRect$1(A._lateReadCheck(_this.__RenderEditable__caretPrototype, "_caretPrototype")).shift$1(boundedOffset)); } else _this.get$_caretPainter().set$floatingCursorRect(null); _this.get$_caretPainter().showRegularCaret = _this._resetFloatingCursorAnimationValue == null; }, setFloatingCursor$3(state, boundedOffset, lastTextPosition) { return this.setFloatingCursor$4$resetLerpValue(state, boundedOffset, lastTextPosition, null); }, _paintContents$2(context, offset) { var visibleRegion, t2, startOffset, endOffset, foregroundChild, backgroundChild, t3, t4, t5, t6, childIndex, t7, t8, child, _this = this, _s15_ = "_caretPrototype", _s13_ = "_caretMetrics", _box_0 = {}, effectiveOffset = offset.$add(0, _this.get$_paintOffset()), t1 = _this._floatingCursorOn; if (!t1) { t1 = _this._size; visibleRegion = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); t1 = _this._textPainter; t2 = _this._selection; t1._computeCaretMetrics$2(new A.TextPosition(t2.start, t2.affinity), A._lateReadCheck(_this.__RenderEditable__caretPrototype, _s15_)); startOffset = A._lateReadCheck(t1.__TextPainter__caretMetrics, _s13_).offset; _this._selectionStartInViewport.set$value(0, visibleRegion.inflate$1(0.5).contains$1(0, startOffset.$add(0, effectiveOffset))); t2 = _this._selection; t1._computeCaretMetrics$2(new A.TextPosition(t2.end, t2.affinity), A._lateReadCheck(_this.__RenderEditable__caretPrototype, _s15_)); endOffset = A._lateReadCheck(t1.__TextPainter__caretMetrics, _s13_).offset; _this._selectionEndInViewport.set$value(0, visibleRegion.inflate$1(0.5).contains$1(0, endOffset.$add(0, effectiveOffset))); } foregroundChild = _this._foregroundRenderObject; backgroundChild = _this._backgroundRenderObject; if (backgroundChild != null) context.paintChild$2(backgroundChild, offset); t1 = _this._textPainter; t1.paint$2(context.get$canvas(context), effectiveOffset); t2 = _box_0.child = _this.ContainerRenderObjectMixin__firstChild; t3 = type$.TextParentData; t4 = effectiveOffset._dx; t5 = effectiveOffset._dy; t6 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); childIndex = 0; while (true) { if (!(t2 != null && childIndex < t1._inlinePlaceholderBoxes.length)) break; t2 = t2.parentData; t2.toString; t3._as(t2); t7 = t2.scale; t7.toString; t8 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = t2.offset; context.pushTransform$4(t8, new A.Offset(t4 + t2._dx, t5 + t2._dy), A.Matrix4_Matrix4$diagonal3Values(t7, t7, t7), new A.RenderEditable__paintContents_closure(_box_0)); t7 = _box_0.child.parentData; t7.toString; child = t6._as(t7).ContainerParentDataMixin_nextSibling; _box_0.child = child; ++childIndex; t2 = child; } if (foregroundChild != null) context.paintChild$2(foregroundChild, offset); }, paint$2(context, offset) { var t1, t2, t3, startPoint, t4, endPoint, _this = this; _this._computeTextMetricsIfNeeded$0(); t1 = (_this._editable$_maxScrollExtent > 0 || !J.$eq$(_this.get$_paintOffset(), B.Offset_0_0)) && _this._editable$_clipBehavior !== B.Clip_0; t2 = _this._editable$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t2.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$_paintContents(), _this._editable$_clipBehavior, t2._layer)); } else { t2.set$layer(0, null); _this._paintContents$2(context, offset); } if (_this._selection.get$isValid()) { t1 = _this.getEndpointsForSelection$1(_this._selection); startPoint = t1[0].point; t2 = B.JSNumber_methods.clamp$2(startPoint._dx, 0, _this._size._dx); t3 = B.JSNumber_methods.clamp$2(startPoint._dy, 0, _this._size._dy); t4 = type$.Layer_2; context.pushLayer$3(new A.LeaderLayer(_this._editable$_startHandleLayerLink, new A.Offset(t2, t3), A.LayerHandle$(t4)), A.RenderObject.prototype.get$paint.call(_this), B.Offset_0_0); if (t1.length === 2) { endPoint = t1[1].point; t1 = B.JSNumber_methods.clamp$2(endPoint._dx, 0, _this._size._dx); t2 = B.JSNumber_methods.clamp$2(endPoint._dy, 0, _this._size._dy); context.pushLayer$3(new A.LeaderLayer(_this._editable$_endHandleLayerLink, new A.Offset(t1, t2), A.LayerHandle$(t4)), A.RenderObject.prototype.get$paint.call(_this), B.Offset_0_0); } } }, describeApproximatePaintClip$1(child) { var t1; if (this._editable$_maxScrollExtent > 0 || !J.$eq$(this.get$_paintOffset(), B.Offset_0_0)) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, debugDescribeChildren$0() { var t1 = A._setArrayType([], type$.JSArray_DiagnosticsNode), t2 = this._textPainter._text_painter$_text; if (t2 != null) t1.push(A.DiagnosticableTreeNode$("text", B.DiagnosticsTreeStyle_4, t2)); return t1; } }; A.RenderEditable__extractPlaceholderSpans_closure.prototype = { call$1(span) { if (span instanceof A.PlaceholderSpan0) J.add$1$ax(A._lateReadCheck(this.$this.__RenderEditable__placeholderSpans, "_placeholderSpans"), span); return true; }, $signature: 73 }; A.RenderEditable_describeSemanticsConfiguration_closure.prototype = { call$1(info) { return info.recognizer != null; }, $signature: 287 }; A.RenderEditable_getRectForComposingRange_closure.prototype = { call$2(accum, incoming) { var t1 = accum == null ? null : accum.expandToInclude$1(new A.Rect(incoming.left, incoming.top, incoming.right, incoming.bottom)); return t1 == null ? new A.Rect(incoming.left, incoming.top, incoming.right, incoming.bottom) : t1; }, $signature: 567 }; A.RenderEditable_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this._box_0.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A.RenderEditable__paintContents_closure.prototype = { call$2(context, offset) { var t1 = this._box_0.child; t1.toString; context.paintChild$2(t1, offset); }, $signature: 28 }; A._RenderEditableCustomPaint.prototype = { get$parent(_) { return type$.nullable_RenderEditable._as(A.AbstractNode.prototype.get$parent.call(this, this)); }, get$isRepaintBoundary() { return true; }, get$sizedByParent() { return true; }, set$painter(newValue) { var t2, _this = this, t1 = _this._editable$_painter; if (newValue === t1) return; _this._editable$_painter = newValue; t2 = newValue.shouldRepaint$1(t1); if (t2) _this.markNeedsPaint$0(); if (_this._node$_owner != null) { t2 = _this.get$markNeedsPaint(); t1.removeListener$1(0, t2); newValue.addListener$1(0, t2); } }, paint$2(context, offset) { var t1, t2, _this = this, $parent = type$.nullable_RenderEditable._as(A.AbstractNode.prototype.get$parent.call(_this, _this)), painter = _this._editable$_painter; if ($parent != null) { $parent._computeTextMetricsIfNeeded$0(); t1 = context.get$canvas(context); t2 = _this._size; t2.toString; painter.paint$3(t1, t2, $parent); } }, attach$1(owner) { this.super$RenderObject$attach(owner); this._editable$_painter.addListener$1(0, this.get$markNeedsPaint()); }, detach$0(_) { this._editable$_painter.removeListener$1(0, this.get$markNeedsPaint()); this.super$AbstractNode$detach(0); }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); } }; A.RenderEditablePainter.prototype = {}; A._TextHighlightPainter.prototype = { set$highlightColor(newValue) { if (J.$eq$(newValue, this._editable$_highlightColor)) return; this._editable$_highlightColor = newValue; this.notifyListeners$0(); }, set$highlightedRange(newValue) { if (J.$eq$(newValue, this._highlightedRange)) return; this._highlightedRange = newValue; this.notifyListeners$0(); }, set$selectionHeightStyle(value) { if (this._selectionHeightStyle === value) return; this._selectionHeightStyle = value; this.notifyListeners$0(); }, set$selectionWidthStyle(value) { if (this._selectionWidthStyle === value) return; this._selectionWidthStyle = value; this.notifyListeners$0(); }, paint$3(canvas, size, renderEditable) { var t1, boxes, t2, _i, box, _this = this, range = _this._highlightedRange, color = _this._editable$_highlightColor; if (range == null || color == null || range.start === range.end) return; t1 = _this.highlightPaint; t1.set$color(0, color); boxes = renderEditable._textPainter.getBoxesForSelection$3$boxHeightStyle$boxWidthStyle(A.TextSelection$(B.TextAffinity_1, range.start, range.end, false), _this._selectionHeightStyle, _this._selectionWidthStyle); for (t2 = boxes.length, _i = 0; _i < boxes.length; boxes.length === t2 || (0, A.throwConcurrentModificationError)(boxes), ++_i) { box = boxes[_i]; canvas.drawRect$2(0, new A.Rect(box.left, box.top, box.right, box.bottom).shift$1(renderEditable.get$_paintOffset()), t1); } }, shouldRepaint$1(oldDelegate) { var _this = this; if (oldDelegate === _this) return false; return !(oldDelegate instanceof A._TextHighlightPainter) || !J.$eq$(oldDelegate._editable$_highlightColor, _this._editable$_highlightColor) || !J.$eq$(oldDelegate._highlightedRange, _this._highlightedRange) || oldDelegate._selectionHeightStyle !== _this._selectionHeightStyle || oldDelegate._selectionWidthStyle !== _this._selectionWidthStyle; } }; A._FloatingCursorPainter.prototype = { set$shouldPaint(value) { if (this._shouldPaint === value) return; this._shouldPaint = value; this.notifyListeners$0(); }, set$caretColor(value) { var t1 = this._caretColor; t1 = t1 == null ? null : t1.value; if (t1 === value.value) return; this._caretColor = value; this.notifyListeners$0(); }, set$cursorRadius(value) { if (J.$eq$(this._cursorRadius, value)) return; this._cursorRadius = value; this.notifyListeners$0(); }, set$cursorOffset(value) { if (this._cursorOffset.$eq(0, value)) return; this._cursorOffset = value; this.notifyListeners$0(); }, set$backgroundCursorColor(value) { var _this = this, t1 = _this._backgroundCursorColor; t1 = t1 == null ? null : t1._effectiveColor.value; if (t1 === value._effectiveColor.value) return; _this._backgroundCursorColor = value; if (_this.showRegularCaret) _this.notifyListeners$0(); }, set$floatingCursorRect(value) { if (J.$eq$(this._floatingCursorRect, value)) return; this._floatingCursorRect = value; this.notifyListeners$0(); }, paint$3(canvas, size, renderEditable) { var floatingCursorRect, t1, caretColor, caretTextPosition, t2, t3, caretRect, caretHeight, t4, integralRect, radius, floatingCursorColor, value, result, _this = this, _s13_ = "_caretMetrics", selection = renderEditable._selection; if (selection.start !== selection.end) return; floatingCursorRect = _this._floatingCursorRect; t1 = floatingCursorRect == null; if (t1) caretColor = _this._caretColor; else caretColor = _this.showRegularCaret ? _this._backgroundCursorColor : null; caretTextPosition = t1 ? new A.TextPosition(selection.extentOffset, selection.affinity) : A._lateReadCheck(renderEditable.__RenderEditable__floatingCursorTextPosition, "_floatingCursorTextPosition"); if (caretColor != null) { t2 = A._lateReadCheck(renderEditable.__RenderEditable__caretPrototype, "_caretPrototype"); t3 = renderEditable._textPainter; t3._computeCaretMetrics$2(caretTextPosition, t2); caretRect = t2.shift$1(A._lateReadCheck(t3.__TextPainter__caretMetrics, _s13_).offset.$add(0, _this._cursorOffset)); t3._computeCaretMetrics$2(caretTextPosition, t2); caretHeight = A._lateReadCheck(t3.__TextPainter__caretMetrics, _s13_).fullHeight; if (caretHeight != null) switch (A.defaultTargetPlatform().index) { case 2: case 4: t2 = caretRect.top; t3 = caretRect.bottom - t2; t4 = caretRect.left; t2 += (caretHeight - t3) / 2; caretRect = new A.Rect(t4, t2, t4 + (caretRect.right - t4), t2 + t3); break; case 0: case 1: case 3: case 5: t2 = caretRect.left; t3 = caretRect.top - 2; caretRect = new A.Rect(t2, t3, t2 + (caretRect.right - t2), t3 + caretHeight); break; } caretRect = caretRect.shift$1(renderEditable.get$_paintOffset()); integralRect = caretRect.shift$1(renderEditable._snapToPhysicalPixel$1(new A.Offset(caretRect.left, caretRect.top))); if (_this._shouldPaint) { radius = _this._cursorRadius; t2 = _this.caretPaint; t2.set$color(0, caretColor); if (radius == null) canvas.drawRect$2(0, integralRect, t2); else canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(integralRect, radius), t2); } _this.caretPaintCallback.call$1(integralRect); } t2 = _this._caretColor; if (t2 == null) floatingCursorColor = null; else { t2 = t2.value; floatingCursorColor = A.Color$fromARGB(191, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255); } if (t1 || floatingCursorColor == null || !_this._shouldPaint) return; t1 = A.RRect$fromRectAndRadius(floatingCursorRect.shift$1(renderEditable.get$_paintOffset()), B.Radius_1_1); value = _this.___FloatingCursorPainter_floatingCursorPaint; if (value === $) { t2 = A._detectRenderer(); result = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); A._lateInitializeOnceCheck(_this.___FloatingCursorPainter_floatingCursorPaint, "floatingCursorPaint"); value = _this.___FloatingCursorPainter_floatingCursorPaint = result; } value.set$color(0, floatingCursorColor); canvas.drawRRect$2(0, t1, value); }, shouldRepaint$1(oldDelegate) { var _this = this; if (_this === oldDelegate) return false; return !(oldDelegate instanceof A._FloatingCursorPainter) || oldDelegate._shouldPaint !== _this._shouldPaint || oldDelegate.showRegularCaret !== _this.showRegularCaret || !J.$eq$(oldDelegate._caretColor, _this._caretColor) || !J.$eq$(oldDelegate._cursorRadius, _this._cursorRadius) || !oldDelegate._cursorOffset.$eq(0, _this._cursorOffset) || !J.$eq$(oldDelegate._backgroundCursorColor, _this._backgroundCursorColor) || !J.$eq$(oldDelegate._floatingCursorRect, _this._floatingCursorRect); } }; A._CompositeRenderEditablePainter.prototype = { addListener$1(_, listener) { var t1, t2, _i; for (t1 = this.painters, 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.painters, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].removeListener$1(0, listener); }, paint$3(canvas, size, renderEditable) { var t1, t2, _i; for (t1 = this.painters, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].paint$3(canvas, size, renderEditable); }, shouldRepaint$1(oldDelegate) { var t1, t2, oldPainters, t3, newPainters; if (oldDelegate === this) return false; if (!(oldDelegate instanceof A._CompositeRenderEditablePainter) || oldDelegate.painters.length !== this.painters.length) return true; t1 = oldDelegate.painters; t2 = A._arrayInstanceType(t1); oldPainters = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")); t1 = this.painters; t3 = A._arrayInstanceType(t1); newPainters = new J.ArrayIterator(t1, t1.length, t3._eval$1("ArrayIterator<1>")); t1 = t3._precomputed1; t2 = t2._precomputed1; while (true) { if (!(oldPainters.moveNext$0() && newPainters.moveNext$0())) break; if (t1._as(newPainters.__interceptors$_current).shouldRepaint$1(t2._as(oldPainters.__interceptors$_current))) return true; } return false; } }; A._RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin.prototype = { attach$1(owner) { this.super$RenderObject$attach(owner); $.PaintingBinding__instance.PaintingBinding__systemFonts._systemFontsCallbacks.add$1(0, this.get$systemFontsDidChange()); }, detach$0(_) { $.PaintingBinding__instance.PaintingBinding__systemFonts._systemFontsCallbacks.remove$1(0, this.get$systemFontsDidChange()); this.super$AbstractNode$detach(0); } }; A._RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$_RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.TextParentData; 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$_RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.TextParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderEditable_RenderBox_RelayoutWhenSystemFontsChangeMixin_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.RenderErrorBox.prototype = { RenderErrorBox$1(message) { var builder, t1, exception, _this = this, _s10_ = "_paragraph"; try { t1 = _this.message; if (t1 !== "") { builder = A.ParagraphBuilder_ParagraphBuilder($.$get$RenderErrorBox_paragraphStyle()); J.pushStyle$1$x(builder, $.$get$RenderErrorBox_textStyle()); J.addText$1$x(builder, t1); t1 = J.build$0$x(builder); A._lateWriteOnceCheck(_this.__RenderErrorBox__paragraph, _s10_); _this.__RenderErrorBox__paragraph = t1; } else { A._lateWriteOnceCheck(_this.__RenderErrorBox__paragraph, _s10_); _this.__RenderErrorBox__paragraph = null; } } catch (exception) { } }, computeMaxIntrinsicWidth$1(height) { return 100000; }, computeMaxIntrinsicHeight$1(width) { return 100000; }, get$sizedByParent() { return true; }, hitTestSelf$1(position) { return true; }, computeDryLayout$1(constraints) { return constraints.constrain$1(B.Size_100000_100000); }, paint$2(context, offset) { var width, left, $top, t1, t2, t3, t4, t5, t6, exception, _this = this, _s10_ = "_paragraph"; try { t1 = context.get$canvas(context); t2 = _this._size; t3 = offset._dx; t4 = offset._dy; t5 = t2._dx; t2 = t2._dy; t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$color(0, $.$get$RenderErrorBox_backgroundColor()); t1.drawRect$2(0, new A.Rect(t3, t4, t3 + t5, t4 + t2), t6); if (A._lateReadCheck(_this.__RenderErrorBox__paragraph, _s10_) != null) { width = _this._size._dx; left = 0; $top = 0; if (width > 328) { width -= 128; left += 64; } A._lateReadCheck(_this.__RenderErrorBox__paragraph, _s10_).layout$1(0, new A.ParagraphConstraints(width)); t1 = _this._size._dy; t2 = A._lateReadCheck(_this.__RenderErrorBox__paragraph, _s10_); if (t1 > 96 + t2.get$height(t2) + 12) $top += 96; t1 = context.get$canvas(context); t2 = A._lateReadCheck(_this.__RenderErrorBox__paragraph, _s10_); t2.toString; t1.drawParagraph$2(0, t2, offset.$add(0, new A.Offset(left, $top))); } } catch (exception) { } } }; A.FlexFit.prototype = { toString$0(_) { return "FlexFit." + this._core$_name; } }; A.FlexParentData.prototype = { toString$0(_) { return this.super$BoxParentData$toString(0) + "; flex=" + A.S(this.flex) + "; fit=" + A.S(this.fit); } }; A.MainAxisSize.prototype = { toString$0(_) { return "MainAxisSize." + this._core$_name; } }; A.MainAxisAlignment.prototype = { toString$0(_) { return "MainAxisAlignment." + this._core$_name; } }; A.CrossAxisAlignment.prototype = { toString$0(_) { return "CrossAxisAlignment." + this._core$_name; } }; A.RenderFlex.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.FlexParentData)) child.parentData = new A.FlexParentData(null, null, B.Offset_0_0); }, _flex$_getIntrinsicSize$3$childSize$extent$sizingDirection(childSize, extent, sizingDirection) { var t1, child, totalFlex, inflexibleSpace, maxFlexFractionSoFar, t2, flex, t3, maxCrossSize, mainSize, crossSize, spacePerFlex, _this = this; if (_this._flex$_crossAxisAlignment === B.CrossAxisAlignment_4) return 0; t1 = _this._flex$_direction; child = _this.ContainerRenderObjectMixin__firstChild; if (t1 === sizingDirection) { for (t1 = type$.FlexParentData, totalFlex = 0, inflexibleSpace = 0, maxFlexFractionSoFar = 0; child != null;) { t2 = child.parentData; t2.toString; flex = t1._as(t2).flex; if (flex == null) flex = 0; totalFlex += flex; if (flex > 0) { t2 = childSize.call$2(child, extent); t3 = child.parentData; t3.toString; t3 = t1._as(t3).flex; maxFlexFractionSoFar = Math.max(maxFlexFractionSoFar, t2 / (t3 == null ? 0 : t3)); } else inflexibleSpace += childSize.call$2(child, extent); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return maxFlexFractionSoFar * totalFlex + inflexibleSpace; } else { for (t1 = type$.FlexParentData, totalFlex = 0, inflexibleSpace = 0, maxCrossSize = 0; child != null;) { t2 = child.parentData; t2.toString; flex = t1._as(t2).flex; if (flex == null) flex = 0; totalFlex += flex; mainSize = A._Cell$named("mainSize"); crossSize = A._Cell$named("crossSize"); if (flex === 0) { switch (_this._flex$_direction.index) { case 0: t2 = child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()); if (mainSize.__late_helper$_value !== mainSize) A.throwExpression(A.LateError$localAI(mainSize.__late_helper$_name)); mainSize.__late_helper$_value = t2; t2 = childSize.call$2(child, t2); if (crossSize.__late_helper$_value !== crossSize) A.throwExpression(A.LateError$localAI(crossSize.__late_helper$_name)); crossSize.__late_helper$_value = t2; break; case 1: t2 = child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 1 / 0, child.get$computeMaxIntrinsicHeight()); if (mainSize.__late_helper$_value !== mainSize) A.throwExpression(A.LateError$localAI(mainSize.__late_helper$_name)); mainSize.__late_helper$_value = t2; t2 = childSize.call$2(child, t2); if (crossSize.__late_helper$_value !== crossSize) A.throwExpression(A.LateError$localAI(crossSize.__late_helper$_name)); crossSize.__late_helper$_value = t2; break; } t2 = mainSize.__late_helper$_value; if (t2 === mainSize) A.throwExpression(A.LateError$localNI(mainSize.__late_helper$_name)); inflexibleSpace += t2; t2 = crossSize.__late_helper$_value; if (t2 === crossSize) A.throwExpression(A.LateError$localNI(crossSize.__late_helper$_name)); maxCrossSize = Math.max(maxCrossSize, A.checkNum(t2)); } t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } spacePerFlex = Math.max(0, (extent - inflexibleSpace) / totalFlex); child = _this.ContainerRenderObjectMixin__firstChild; for (; child != null;) { t2 = child.parentData; t2.toString; flex = t1._as(t2).flex; if (flex == null) flex = 0; if (flex > 0) maxCrossSize = Math.max(maxCrossSize, A.checkNum(childSize.call$2(child, spacePerFlex * flex))); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return maxCrossSize; } }, computeMinIntrinsicWidth$1(height) { return this._flex$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderFlex_computeMinIntrinsicWidth_closure(), height, B.Axis_0); }, computeMaxIntrinsicWidth$1(height) { return this._flex$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderFlex_computeMaxIntrinsicWidth_closure(), height, B.Axis_0); }, computeMinIntrinsicHeight$1(width) { return this._flex$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderFlex_computeMinIntrinsicHeight_closure(), width, B.Axis_1); }, computeMaxIntrinsicHeight$1(width) { return this._flex$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderFlex_computeMaxIntrinsicHeight_closure(), width, B.Axis_1); }, computeDistanceToActualBaseline$1(baseline) { if (this._flex$_direction === B.Axis_0) return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); return this.defaultComputeDistanceToFirstActualBaseline$1(baseline); }, _getCrossSize$1(size) { switch (this._flex$_direction.index) { case 0: return size._dy; case 1: return size._dx; } }, _getMainSize$1(size) { switch (this._flex$_direction.index) { case 0: return size._dx; case 1: return size._dy; } }, computeDryLayout$1(constraints) { var sizes; if (this._flex$_crossAxisAlignment === B.CrossAxisAlignment_4) return B.Size_0_0; sizes = this._flex$_computeSizes$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); switch (this._flex$_direction.index) { case 0: return constraints.constrain$1(new A.Size(sizes.mainSize, sizes.crossSize)); case 1: return constraints.constrain$1(new A.Size(sizes.crossSize, sizes.mainSize)); } }, _flex$_computeSizes$2$constraints$layoutChild(constraints, layoutChild) { var t1, t2, t3, lastFlexChild, totalFlex, crossSize, allocatedSize, t4, flex, innerConstraints, childSize, freeSpace, spacePerFlex, allocatedFlexSpace, maxChildExtent, minChildExtent, _this = this, _null = null, maxMainSize = _this._flex$_direction === B.Axis_0 ? constraints.maxWidth : constraints.maxHeight, canFlex = maxMainSize < 1 / 0, child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.FlexParentData, t2 = constraints.maxWidth, t3 = constraints.maxHeight, lastFlexChild = _null, totalFlex = 0, crossSize = 0, allocatedSize = 0; child != null;) { t4 = child.parentData; t4.toString; t1._as(t4); flex = t4.flex; if (flex == null) flex = 0; if (flex > 0) { totalFlex += flex; lastFlexChild = child; } else { if (_this._flex$_crossAxisAlignment === B.CrossAxisAlignment_3) switch (_this._flex$_direction.index) { case 0: innerConstraints = A.BoxConstraints$tightFor(t3, _null); break; case 1: innerConstraints = A.BoxConstraints$tightFor(_null, t2); break; default: innerConstraints = _null; } else switch (_this._flex$_direction.index) { case 0: innerConstraints = new A.BoxConstraints(0, 1 / 0, 0, t3); break; case 1: innerConstraints = new A.BoxConstraints(0, t2, 0, 1 / 0); break; default: innerConstraints = _null; } childSize = layoutChild.call$2(child, innerConstraints); allocatedSize += _this._getMainSize$1(childSize); crossSize = Math.max(crossSize, A.checkNum(_this._getCrossSize$1(childSize))); } child = t4.ContainerParentDataMixin_nextSibling; } freeSpace = Math.max(0, (canFlex ? maxMainSize : 0) - allocatedSize); if (totalFlex > 0) { spacePerFlex = canFlex ? freeSpace / totalFlex : 0 / 0; child = _this.ContainerRenderObjectMixin__firstChild; for (allocatedFlexSpace = 0; child != null;) { t4 = child.parentData; t4.toString; flex = t1._as(t4).flex; if (flex == null) flex = 0; if (flex > 0) { if (canFlex) maxChildExtent = child === lastFlexChild ? freeSpace - allocatedFlexSpace : spacePerFlex * flex; else maxChildExtent = 1 / 0; minChildExtent = A._Cell$named("minChildExtent"); t4 = child.parentData; t4.toString; t4 = t1._as(t4).fit; switch ((t4 == null ? B.FlexFit_0 : t4).index) { case 0: if (minChildExtent.__late_helper$_value !== minChildExtent) A.throwExpression(A.LateError$localAI(minChildExtent.__late_helper$_name)); minChildExtent.__late_helper$_value = maxChildExtent; break; case 1: if (minChildExtent.__late_helper$_value !== minChildExtent) A.throwExpression(A.LateError$localAI(minChildExtent.__late_helper$_name)); minChildExtent.__late_helper$_value = 0; break; } if (_this._flex$_crossAxisAlignment === B.CrossAxisAlignment_3) switch (_this._flex$_direction.index) { case 0: t4 = minChildExtent.__late_helper$_value; if (t4 === minChildExtent) A.throwExpression(A.LateError$localNI(minChildExtent.__late_helper$_name)); innerConstraints = new A.BoxConstraints(t4, maxChildExtent, t3, t3); break; case 1: t4 = minChildExtent.__late_helper$_value; if (t4 === minChildExtent) A.throwExpression(A.LateError$localNI(minChildExtent.__late_helper$_name)); innerConstraints = new A.BoxConstraints(t2, t2, t4, maxChildExtent); break; default: innerConstraints = _null; } else switch (_this._flex$_direction.index) { case 0: t4 = minChildExtent.__late_helper$_value; if (t4 === minChildExtent) A.throwExpression(A.LateError$localNI(minChildExtent.__late_helper$_name)); innerConstraints = new A.BoxConstraints(t4, maxChildExtent, 0, t3); break; case 1: t4 = minChildExtent.__late_helper$_value; if (t4 === minChildExtent) A.throwExpression(A.LateError$localNI(minChildExtent.__late_helper$_name)); innerConstraints = new A.BoxConstraints(0, t2, t4, maxChildExtent); break; default: innerConstraints = _null; } childSize = layoutChild.call$2(child, innerConstraints); allocatedSize += _this._getMainSize$1(childSize); allocatedFlexSpace += maxChildExtent; crossSize = Math.max(crossSize, A.checkNum(_this._getCrossSize$1(childSize))); } t4 = child.parentData; t4.toString; child = t1._as(t4).ContainerParentDataMixin_nextSibling; } } return new A._LayoutSizes(canFlex && _this._mainAxisSize === B.MainAxisSize_1 ? maxMainSize : allocatedSize, crossSize, allocatedSize); }, performLayout$0() { var child, t1, maxBaselineDistance, maxSizeAboveBaseline, maxSizeBelowBaseline, t2, distance, actualSizeDelta, remainingSpace, leadingSpace, betweenSpace, flipMainAxis, childMainPosition, t3, t4, t5, childCrossPosition, t6, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), sizes = _this._flex$_computeSizes$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_layoutChild$closure()), actualSize = sizes.mainSize, crossSize = sizes.crossSize; if (_this._flex$_crossAxisAlignment === B.CrossAxisAlignment_4) { child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.FlexParentData, maxBaselineDistance = 0, maxSizeAboveBaseline = 0, maxSizeBelowBaseline = 0; child != null;) { t2 = _this._flex$_textBaseline; t2.toString; distance = child.getDistanceToBaseline$2$onlyReal(t2, true); if (distance != null) { maxBaselineDistance = Math.max(maxBaselineDistance, distance); maxSizeAboveBaseline = Math.max(distance, maxSizeAboveBaseline); maxSizeBelowBaseline = Math.max(child._size._dy - distance, maxSizeBelowBaseline); crossSize = Math.max(maxSizeAboveBaseline + maxSizeBelowBaseline, crossSize); } t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } else maxBaselineDistance = 0; switch (_this._flex$_direction.index) { case 0: t1 = _this._size = constraints.constrain$1(new A.Size(actualSize, crossSize)); actualSize = t1._dx; crossSize = t1._dy; break; case 1: t1 = _this._size = constraints.constrain$1(new A.Size(crossSize, actualSize)); actualSize = t1._dy; crossSize = t1._dx; break; } actualSizeDelta = actualSize - sizes.allocatedSize; _this._overflow = Math.max(0, -actualSizeDelta); remainingSpace = Math.max(0, actualSizeDelta); leadingSpace = A._Cell$named("leadingSpace"); betweenSpace = A._Cell$named("betweenSpace"); t1 = A._startIsTopLeft(_this._flex$_direction, _this._flex$_textDirection, _this._flex$_verticalDirection); flipMainAxis = t1 === false; switch (_this._mainAxisAlignment.index) { case 0: leadingSpace.set$finalLocalValue(0); betweenSpace.set$finalLocalValue(0); break; case 1: leadingSpace.set$finalLocalValue(remainingSpace); betweenSpace.set$finalLocalValue(0); break; case 2: leadingSpace.set$finalLocalValue(remainingSpace / 2); betweenSpace.set$finalLocalValue(0); break; case 3: leadingSpace.set$finalLocalValue(0); t1 = _this.ContainerRenderObjectMixin__childCount; betweenSpace.set$finalLocalValue(t1 > 1 ? remainingSpace / (t1 - 1) : 0); break; case 4: t1 = _this.ContainerRenderObjectMixin__childCount; betweenSpace.set$finalLocalValue(t1 > 0 ? remainingSpace / t1 : 0); leadingSpace.set$finalLocalValue(betweenSpace._readLocal$0() / 2); break; case 5: t1 = _this.ContainerRenderObjectMixin__childCount; betweenSpace.set$finalLocalValue(t1 > 0 ? remainingSpace / (t1 + 1) : 0); leadingSpace.set$finalLocalValue(betweenSpace._readLocal$0()); break; } childMainPosition = flipMainAxis ? actualSize - leadingSpace._readLocal$0() : leadingSpace._readLocal$0(); child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.FlexParentData, t2 = crossSize / 2, t3 = betweenSpace.__late_helper$_name; child != null;) { t4 = child.parentData; t4.toString; t1._as(t4); t5 = _this._flex$_crossAxisAlignment; switch (t5.index) { case 0: case 1: if (A._startIsTopLeft(A.flipAxis(_this._flex$_direction), _this._flex$_textDirection, _this._flex$_verticalDirection) === (t5 === B.CrossAxisAlignment_0)) childCrossPosition = 0; else { t5 = child._size; t5.toString; childCrossPosition = crossSize - _this._getCrossSize$1(t5); } break; case 2: t5 = child._size; t5.toString; childCrossPosition = t2 - _this._getCrossSize$1(t5) / 2; break; case 3: childCrossPosition = 0; break; case 4: if (_this._flex$_direction === B.Axis_0) { t5 = _this._flex$_textBaseline; t5.toString; distance = child.getDistanceToBaseline$2$onlyReal(t5, true); childCrossPosition = distance != null ? maxBaselineDistance - distance : 0; } else childCrossPosition = 0; break; default: childCrossPosition = null; } if (flipMainAxis) { t5 = child._size; t5.toString; childMainPosition -= _this._getMainSize$1(t5); } switch (_this._flex$_direction.index) { case 0: t4.offset = new A.Offset(childMainPosition, childCrossPosition); break; case 1: t4.offset = new A.Offset(childCrossPosition, childMainPosition); break; } if (flipMainAxis) { t5 = betweenSpace.__late_helper$_value; if (t5 === betweenSpace) A.throwExpression(A.LateError$localNI(t3)); childMainPosition -= t5; } else { t5 = child._size; t5.toString; t5 = _this._getMainSize$1(t5); t6 = betweenSpace.__late_helper$_value; if (t6 === betweenSpace) A.throwExpression(A.LateError$localNI(t3)); childMainPosition += t5 + t6; } child = t4.ContainerParentDataMixin_nextSibling; } }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { var t1, t2, t3, _this = this; if (!(_this._overflow > 1e-10)) { _this.defaultPaint$2(context, offset); return; } t1 = _this._size; if (t1.get$isEmpty(t1)) return; t1 = _this._flex$_clipRectLayer; if (_this._flex$_clipBehavior === B.Clip_0) { t1.set$layer(0, null); _this.defaultPaint$2(context, offset); } else { t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t1.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t2, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$defaultPaint(), _this._flex$_clipBehavior, t1._layer)); } }, dispose$0(_) { this._flex$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, describeApproximatePaintClip$1(child) { var t1; if (this._overflow > 1e-10) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, toStringShort$0() { var header = this.super$RenderObject$toStringShort(); return this._overflow > 1e-10 ? header + " OVERFLOWING" : header; } }; A.RenderFlex_computeMinIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, extent, child.get$computeMinIntrinsicWidth()); }, $signature: 24 }; A.RenderFlex_computeMaxIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, extent, child.get$computeMaxIntrinsicWidth()); }, $signature: 24 }; A.RenderFlex_computeMinIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, extent, child.get$computeMinIntrinsicHeight()); }, $signature: 24 }; A.RenderFlex_computeMaxIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, extent, child.get$computeMaxIntrinsicHeight()); }, $signature: 24 }; A._LayoutSizes.prototype = {}; A._RenderFlex_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.FlexParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.FlexParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderFlex_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A.RenderImage.prototype = { _image$_resolve$0() { var _this = this; if (_this._image$_resolvedAlignment != null) return; _this._image$_resolvedAlignment = _this._image$_alignment; _this._flipHorizontally = false; }, _markNeedResolution$0() { this._flipHorizontally = this._image$_resolvedAlignment = null; this.markNeedsPaint$0(); }, set$image(_, value) { var _this = this, t1 = _this._image$_image; if (value == t1) return; if (value != null && t1 != null && value.isCloneOf$1(t1)) { value.dispose$0(0); return; } t1 = _this._image$_image; if (t1 != null) t1.dispose$0(0); _this._image$_image = value; _this.markNeedsPaint$0(); if (_this._image$_width == null || _this._image$_height == null) _this.markNeedsLayout$0(); }, set$width(_, value) { if (value == this._image$_width) return; this._image$_width = value; this.markNeedsLayout$0(); }, set$height(_, value) { if (value == this._image$_height) return; this._image$_height = value; this.markNeedsLayout$0(); }, set$scale(_, value) { if (value === this._image$_scale) return; this._image$_scale = value; this.markNeedsLayout$0(); }, _updateColorFilter$0() { this._colorFilter = null; }, set$color(_, value) { return; }, set$opacity(_, value) { return; }, set$filterQuality(value) { if (value === this._image$_filterQuality) return; this._image$_filterQuality = value; this.markNeedsPaint$0(); }, set$colorBlendMode(value) { return; }, set$fit(value) { if (value == this._image$_fit) return; this._image$_fit = value; this.markNeedsPaint$0(); }, set$alignment(value) { if (value.$eq(0, this._image$_alignment)) return; this._image$_alignment = value; this._markNeedResolution$0(); }, set$repeat(_, value) { if (value === this._repeat) return; this._repeat = value; this.markNeedsPaint$0(); }, set$centerSlice(value) { return; }, set$invertColors(value) { if (value === this._image$_invertColors) return; this._image$_invertColors = value; this.markNeedsPaint$0(); }, set$matchTextDirection(value) { return; }, set$textDirection(_, value) { if (this._image$_textDirection == value) return; this._image$_textDirection = value; this._markNeedResolution$0(); }, set$isAntiAlias(value) { return; }, _image$_sizeForConstraints$1(constraints) { var t2, t3, _this = this, t1 = _this._image$_width; constraints = A.BoxConstraints$tightFor(_this._image$_height, t1).enforce$1(constraints); t1 = _this._image$_image; if (t1 == null) return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); t1 = t1.get$width(t1); t2 = _this._image$_scale; t3 = _this._image$_image; return constraints.constrainSizeAndAttemptToPreserveAspectRatio$1(new A.Size(t1 / t2, t3.get$height(t3) / _this._image$_scale)); }, computeMinIntrinsicWidth$1(height) { if (this._image$_width == null && this._image$_height == null) return 0; return this._image$_sizeForConstraints$1(A.BoxConstraints$tightForFinite(height, 1 / 0))._dx; }, computeMaxIntrinsicWidth$1(height) { return this._image$_sizeForConstraints$1(A.BoxConstraints$tightForFinite(height, 1 / 0))._dx; }, computeMinIntrinsicHeight$1(width) { if (this._image$_width == null && this._image$_height == null) return 0; return this._image$_sizeForConstraints$1(A.BoxConstraints$tightForFinite(1 / 0, width))._dy; }, computeMaxIntrinsicHeight$1(width) { return this._image$_sizeForConstraints$1(A.BoxConstraints$tightForFinite(1 / 0, width))._dy; }, hitTestSelf$1(position) { return true; }, computeDryLayout$1(constraints) { return this._image$_sizeForConstraints$1(constraints); }, performLayout$0() { this._size = this._image$_sizeForConstraints$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this))); }, attach$1(owner) { this.super$RenderObject$attach(owner); }, detach$0(_) { this.super$AbstractNode$detach(0); }, paint$2(context, offset) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this; if (_this._image$_image == null) return; _this._image$_resolve$0(); t1 = context.get$canvas(context); t2 = _this._size; t3 = offset._dx; t4 = offset._dy; t5 = t2._dx; t2 = t2._dy; t6 = _this._image$_image; t6.toString; t7 = _this.debugImageLabel; t8 = _this._image$_scale; t9 = _this._colorFilter; t10 = _this._image$_fit; t11 = _this._image$_resolvedAlignment; t11.toString; t12 = _this._centerSlice; t13 = _this._repeat; t14 = _this._flipHorizontally; t14.toString; t15 = _this._image$_invertColors; A.paintImage(t11, t1, t12, t9, t7, _this._image$_filterQuality, t10, t14, t6, t15, false, 1, new A.Rect(t3, t4, t3 + t5, t4 + t2), t13, t8); }, dispose$0(_) { var t1 = this._image$_image; if (t1 != null) t1.dispose$0(0); this._image$_image = null; this.super$RenderObject$dispose(0); } }; A.AnnotationEntry.prototype = { toString$0(_) { return "AnnotationEntry(annotation: " + this.annotation.toString$0(0) + ", localPosition: " + this.localPosition.toString$0(0) + ")"; } }; A.AnnotationResult.prototype = {}; A.Layer1.prototype = { dispose$0(_) { var t1 = this._engineLayer; if (t1 != null) t1.dispose$0(0); this._engineLayer = null; }, markNeedsAddToScene$0() { if (this._needsAddToScene) return; this._needsAddToScene = true; }, get$alwaysNeedsAddToScene() { return false; }, set$engineLayer(value) { var _this = this, t1 = _this._engineLayer; if (t1 != null) t1.dispose$0(0); _this._engineLayer = value; if (!_this.get$alwaysNeedsAddToScene()) { t1 = type$.nullable_ContainerLayer; if (t1._as(A.AbstractNode.prototype.get$parent.call(_this, _this)) != null && !t1._as(A.AbstractNode.prototype.get$parent.call(_this, _this)).get$alwaysNeedsAddToScene()) t1._as(A.AbstractNode.prototype.get$parent.call(_this, _this)).markNeedsAddToScene$0(); } }, updateSubtreeNeedsAddToScene$0() { this._needsAddToScene = this._needsAddToScene || this.get$alwaysNeedsAddToScene(); }, dropChild$1(child) { if (!this.get$alwaysNeedsAddToScene()) this.markNeedsAddToScene$0(); this.super$AbstractNode$dropChild(child); }, remove$0(_) { var t2, t3, _this = this, t1 = type$.nullable_ContainerLayer._as(A.AbstractNode.prototype.get$parent.call(_this, _this)); if (t1 != null) { t2 = _this._previousSibling; t3 = _this._nextSibling; if (t2 == null) t1._firstChild = t3; else t2._nextSibling = t3; t3 = _this._nextSibling; if (t3 == null) t1._lastChild = t2; else t3._previousSibling = t2; _this._nextSibling = _this._previousSibling = null; t1.dropChild$1(_this); _this._parentHandle.set$layer(0, null); } }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst) { return false; }, find$1$1(_, localPosition, $S) { var t1 = A._setArrayType([], $S._eval$1("JSArray<AnnotationEntry<0>>")); this.findAnnotations$1$3$onlyFirst(new A.AnnotationResult(t1, $S._eval$1("AnnotationResult<0>")), localPosition, true, $S); return t1.length === 0 ? null : B.JSArray_methods.get$first(t1).annotation; }, _addToSceneWithRetainedRendering$1(builder) { var t1, _this = this; if (!_this._needsAddToScene && _this._engineLayer != null) { t1 = _this._engineLayer; t1.toString; builder.addRetained$1(t1); return; } _this.addToScene$1(builder); _this._needsAddToScene = false; }, toStringShort$0() { var t1 = this.super$DiagnosticableTreeMixin$toStringShort(); return t1 + (this._node$_owner == null ? " DETACHED" : ""); }, $isDiagnosticableTree: 1 }; A.LayerHandle.prototype = { set$layer(_, layer) { var t1 = this._layer; if (layer == null ? t1 == null : layer === t1) return; if (t1 != null) if (--t1._refCount === 0) J.dispose$0$x(t1); this._layer = layer; if (layer != null) ++layer._refCount; }, toString$0(_) { var t1 = this._layer; return "LayerHandle(" + (t1 != null ? J.toString$0$(t1) : "DISPOSED") + ")"; } }; A.PictureLayer.prototype = { set$picture(picture) { var t1; this.markNeedsAddToScene$0(); t1 = this._layer$_picture; if (t1 != null) t1.dispose$0(0); this._layer$_picture = picture; }, dispose$0(_) { this.set$picture(null); this.super$Layer$dispose(0); }, addToScene$1(builder) { var t1 = this._layer$_picture; t1.toString; builder.addPicture$4$isComplexHint$willChangeHint(B.Offset_0_0, t1, this._isComplexHint, this._willChangeHint); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst) { return false; } }; A.TextureLayer.prototype = { addToScene$1(builder) { var _this = this, t1 = _this.rect, t2 = t1.left, t3 = t1.top; builder.addTexture$6$filterQuality$freeze$height$offset$width(_this.textureId, _this.filterQuality, _this.freeze, t1.bottom - t3, new A.Offset(t2, t3), t1.right - t2); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst) { return false; } }; A.PlatformViewLayer.prototype = { addToScene$1(builder) { var t1 = this.rect, t2 = t1.left, t3 = t1.top; builder.addPlatformView$4$height$offset$width(this.viewId, t1.bottom - t3, new A.Offset(t2, t3), t1.right - t2); } }; A.PerformanceOverlayLayer.prototype = { addToScene$1(builder) { builder.addPerformanceOverlay$2(this.optionsMask, this._overlayRect); builder.setRasterizerTracingThreshold$1(this.rasterizerThreshold); builder.setCheckerboardRasterCacheImages$1(false); builder.setCheckerboardOffscreenLayers$1(false); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst) { return false; } }; A.ContainerLayer0.prototype = { buildScene$1(builder) { this.updateSubtreeNeedsAddToScene$0(); this.addToScene$1(builder); this._needsAddToScene = false; return builder.build$0(0); }, dispose$0(_) { this.removeAllChildren$0(); this.super$Layer$dispose(0); }, updateSubtreeNeedsAddToScene$0() { var child, _this = this; _this.super$Layer$updateSubtreeNeedsAddToScene(); child = _this._firstChild; for (; child != null;) { child.updateSubtreeNeedsAddToScene$0(); _this._needsAddToScene = _this._needsAddToScene || child._needsAddToScene; child = child._nextSibling; } }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { var child, t1, t2; for (child = this._lastChild, t1 = result._layer$_entries; child != null; child = child._previousSibling) { if (child.findAnnotations$1$3$onlyFirst(result, localPosition, true, $S)) return true; t2 = t1.length; if (t2 !== 0) return false; } return false; }, attach$1(owner) { var child; this.super$AbstractNode$attach(owner); child = this._firstChild; for (; child != null;) { child.attach$1(owner); child = child._nextSibling; } }, detach$0(_) { var child; this.super$AbstractNode$detach(0); child = this._firstChild; for (; child != null;) { child.detach$0(0); child = child._nextSibling; } }, append$1(_, child) { var t1, _this = this; if (!_this.get$alwaysNeedsAddToScene()) _this.markNeedsAddToScene$0(); _this.super$AbstractNode$adoptChild(child); t1 = child._previousSibling = _this._lastChild; if (t1 != null) t1._nextSibling = child; _this._lastChild = child; if (_this._firstChild == null) _this._firstChild = child; child._parentHandle.set$layer(0, child); }, removeAllChildren$0() { var next, _this = this, child = _this._firstChild; for (; child != null; child = next) { next = child._nextSibling; child._nextSibling = child._previousSibling = null; if (!_this.get$alwaysNeedsAddToScene()) _this.markNeedsAddToScene$0(); _this.super$AbstractNode$dropChild(child); child._parentHandle.set$layer(0, null); } _this._lastChild = _this._firstChild = null; }, addToScene$1(builder) { this.addChildrenToScene$1(builder); }, addChildrenToScene$1(builder) { var child = this._firstChild; for (; child != null;) { child._addToSceneWithRetainedRendering$1(builder); child = child._nextSibling; } }, applyTransform$2(child, transform) { }, debugDescribeChildren$0() { var count, children = A._setArrayType([], type$.JSArray_DiagnosticsNode), child = this._firstChild; if (child == null) return children; for (count = 1; true;) { child.toString; children.push(new A.DiagnosticableTreeNode(child, "child " + count, true, true, null, null)); if (child === this._lastChild) break; ++count; child = child._nextSibling; } return children; } }; A.OffsetLayer.prototype = { set$offset(_, value) { if (!value.$eq(0, this._layer$_offset)) this.markNeedsAddToScene$0(); this._layer$_offset = value; }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { return this.super$ContainerLayer$findAnnotations(result, localPosition.$sub(0, this._layer$_offset), true, $S); }, applyTransform$2(child, transform) { var t1 = this._layer$_offset; transform.multiply$1(0, A.Matrix4_Matrix4$translationValues(t1._dx, t1._dy, 0)); }, addToScene$1(builder) { var _this = this, t1 = _this._layer$_offset; _this.set$engineLayer(builder.pushOffset$3$oldLayer(t1._dx, t1._dy, type$.nullable_OffsetEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.ClipRectLayer.prototype = { findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { if (!this._layer$_clipRect.contains$1(0, localPosition)) return false; return this.super$ContainerLayer$findAnnotations(result, localPosition, true, $S); }, addToScene$1(builder) { var _this = this, t1 = _this._layer$_clipRect; t1.toString; _this.set$engineLayer(builder.pushClipRect$3$clipBehavior$oldLayer(t1, _this._layer$_clipBehavior, type$.nullable_ClipRectEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.ClipRRectLayer.prototype = { findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { if (!this._clipRRect.contains$1(0, localPosition)) return false; return this.super$ContainerLayer$findAnnotations(result, localPosition, true, $S); }, addToScene$1(builder) { var _this = this, t1 = _this._clipRRect; t1.toString; _this.set$engineLayer(builder.pushClipRRect$3$clipBehavior$oldLayer(t1, _this._layer$_clipBehavior, type$.nullable_ClipRRectEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.ClipPathLayer.prototype = { findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { if (!this._clipPath.contains$1(0, localPosition)) return false; return this.super$ContainerLayer$findAnnotations(result, localPosition, true, $S); }, addToScene$1(builder) { var _this = this, t1 = _this._clipPath; t1.toString; _this.set$engineLayer(builder.pushClipPath$3$clipBehavior$oldLayer(t1, _this._layer$_clipBehavior, type$.nullable_ClipPathEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.TransformLayer.prototype = { set$transform(_, value) { var _this = this; if (value.$eq(0, _this._layer$_transform)) return; _this._layer$_transform = value; _this._inverseDirty = true; _this.markNeedsAddToScene$0(); }, addToScene$1(builder) { var t1, t2, _this = this; _this._lastEffectiveTransform = _this._layer$_transform; if (!_this._layer$_offset.$eq(0, B.Offset_0_0)) { t1 = _this._layer$_offset; t1 = A.Matrix4_Matrix4$translationValues(t1._dx, t1._dy, 0); t2 = _this._lastEffectiveTransform; t2.toString; t1.multiply$1(0, t2); _this._lastEffectiveTransform = t1; } _this.set$engineLayer(builder.pushTransform$2$oldLayer(_this._lastEffectiveTransform._m4storage, type$.nullable_TransformEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); }, _transformOffset$1(localPosition) { var t1, _this = this; if (_this._inverseDirty) { t1 = _this._layer$_transform; t1.toString; _this._invertedTransform = A.Matrix4_tryInvert(A.PointerEvent_removePerspectiveTransform(t1)); _this._inverseDirty = false; } t1 = _this._invertedTransform; if (t1 == null) return null; return A.MatrixUtils_transformPoint(t1, localPosition); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { var transformedOffset = this._transformOffset$1(localPosition); if (transformedOffset == null) return false; return this.super$OffsetLayer$findAnnotations(result, transformedOffset, true, $S); }, applyTransform$2(child, transform) { var t1 = this._lastEffectiveTransform; if (t1 == null) { t1 = this._layer$_transform; t1.toString; transform.multiply$1(0, t1); } else transform.multiply$1(0, t1); } }; A.OpacityLayer.prototype = { addToScene$1(builder) { var t1, t2, t3, _this = this; if (_this._firstChild == null) return; t1 = _this._layer$_alpha; t1.toString; t2 = _this._layer$_offset; t3 = _this._engineLayer; if (t1 < 255) _this.set$engineLayer(builder.pushOpacity$3$offset$oldLayer(t1, t2, type$.nullable_OpacityEngineLayer._as(t3))); else _this.set$engineLayer(builder.pushOffset$3$oldLayer(t2._dx, t2._dy, type$.nullable_OffsetEngineLayer._as(t3))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.BackdropFilterLayer.prototype = { addToScene$1(builder) { var _this = this, t1 = _this._layer$_filter; t1.toString; _this.set$engineLayer(builder.pushBackdropFilter$3$blendMode$oldLayer(t1, _this._layer$_blendMode, type$.nullable_BackdropFilterEngineLayer._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.PhysicalModelLayer.prototype = { set$clipPath(_, value) { if (value !== this._clipPath) { this._clipPath = value; this.markNeedsAddToScene$0(); } }, set$clipBehavior(value) { if (value !== this._layer$_clipBehavior) { this._layer$_clipBehavior = value; this.markNeedsAddToScene$0(); } }, set$elevation(_, value) { if (value !== this._layer$_elevation) { this._layer$_elevation = value; this.markNeedsAddToScene$0(); } }, set$color(_, value) { if (!value.$eq(0, this._layer$_color)) { this._layer$_color = value; this.markNeedsAddToScene$0(); } }, set$shadowColor(_, value) { if (!value.$eq(0, this._layer$_shadowColor)) { this._layer$_shadowColor = value; this.markNeedsAddToScene$0(); } }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { if (!this._clipPath.contains$1(0, localPosition)) return false; return this.super$ContainerLayer$findAnnotations(result, localPosition, true, $S); }, addToScene$1(builder) { var t2, t3, t4, _this = this, t1 = _this._clipPath; t1.toString; t2 = _this._layer$_elevation; t2.toString; t3 = _this._layer$_color; t3.toString; t4 = _this._layer$_shadowColor; _this.set$engineLayer(builder.pushPhysicalShape$6$clipBehavior$color$elevation$oldLayer$path$shadowColor(_this._layer$_clipBehavior, t3, t2, type$.nullable_PhysicalShapeEngineLayer._as(_this._engineLayer), t1, t4)); _this.addChildrenToScene$1(builder); builder.pop$0(0); } }; A.LayerLink.prototype = { _registerFollower$0() { ++this._connectedFollowers; return new A._LayerLinkHandle(this); }, toString$0(_) { var t1 = "<optimized out>#" + A.shortHash(this) + "("; return t1 + (this._leader != null ? "<linked>" : "<dangling>") + ")"; } }; A._LayerLinkHandle.prototype = { dispose$0(_) { --this._layer$_link._connectedFollowers; this._layer$_link = null; } }; A.LeaderLayer.prototype = { set$link(value) { var t1 = this._layer$_link; if (t1 === value) return; t1._leader = null; this._layer$_link = value; }, set$offset(_, value) { var _this = this; if (value.$eq(0, _this._layer$_offset)) return; _this._layer$_offset = value; if (_this._layer$_link._connectedFollowers <= 0) _this.markNeedsAddToScene$0(); }, get$alwaysNeedsAddToScene() { return this._layer$_link._connectedFollowers > 0; }, attach$1(owner) { var _this = this; _this.super$ContainerLayer$attach(owner); _this._lastOffset = null; _this._layer$_link._leader = _this; }, detach$0(_) { this._lastOffset = this._layer$_link._leader = null; this.super$ContainerLayer$detach(0); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { return this.super$ContainerLayer$findAnnotations(result, localPosition.$sub(0, this._layer$_offset), true, $S); }, addToScene$1(builder) { var _this = this, t1 = _this._layer$_offset; _this._lastOffset = t1; if (!t1.$eq(0, B.Offset_0_0)) { t1 = _this._lastOffset; _this.set$engineLayer(builder.pushTransform$2$oldLayer(A.Matrix4_Matrix4$translationValues(t1._dx, t1._dy, 0)._m4storage, type$.nullable_TransformEngineLayer._as(_this._engineLayer))); } _this.addChildrenToScene$1(builder); if (!J.$eq$(_this._lastOffset, B.Offset_0_0)) builder.pop$0(0); }, applyTransform$2(child, transform) { var t1; if (!J.$eq$(this._lastOffset, B.Offset_0_0)) { t1 = this._lastOffset; transform.translate$2(0, t1._dx, t1._dy); } } }; A.FollowerLayer.prototype = { attach$1(owner) { this.super$ContainerLayer$attach(owner); this._leaderHandle = this._layer$_link._registerFollower$0(); }, detach$0(_) { var t1; this.super$ContainerLayer$detach(0); t1 = this._leaderHandle; if (t1 != null) t1.dispose$0(0); this._leaderHandle = null; }, _transformOffset$1(localPosition) { var t1, vector, t2, t3, _this = this; if (_this._inverseDirty) { t1 = _this.getLastTransform$0(); t1.toString; _this._invertedTransform = A.Matrix4_tryInvert(t1); _this._inverseDirty = false; } if (_this._invertedTransform == null) return null; vector = new A.Vector4(new Float64Array(4)); vector.setValues$4(localPosition._dx, localPosition._dy, 0, 1); t1 = _this._invertedTransform.transform$1(0, vector)._v4storage; t2 = t1[0]; t3 = _this.linkedOffset; return new A.Offset(t2 - t3._dx, t1[1] - t3._dy); }, findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { var transformedOffset, _this = this; if (_this._leaderHandle._layer$_link._leader == null) { if (_this.showWhenUnlinked) return _this.super$ContainerLayer$findAnnotations(result, localPosition.$sub(0, _this.unlinkedOffset), true, $S); return false; } transformedOffset = _this._transformOffset$1(localPosition); if (transformedOffset == null) return false; return _this.super$ContainerLayer$findAnnotations(result, transformedOffset, true, $S); }, getLastTransform$0() { var t1, result; if (this._layer$_lastTransform == null) return null; t1 = this._lastOffset; result = A.Matrix4_Matrix4$translationValues(-t1._dx, -t1._dy, 0); t1 = this._layer$_lastTransform; t1.toString; result.multiply$1(0, t1); return result; }, _establishTransform$0() { var leader, t1, forwardLayers, inverseLayers, forwardTransform, inverseTransform, _this = this; _this._layer$_lastTransform = null; leader = _this._leaderHandle._layer$_link._leader; if (leader == null) return; t1 = type$.JSArray_ContainerLayer; forwardLayers = A._setArrayType([leader], t1); inverseLayers = A._setArrayType([_this], t1); A.FollowerLayer__pathsToCommonAncestor(leader, _this, forwardLayers, inverseLayers); forwardTransform = A.FollowerLayer__collectTransformForLayerChain(forwardLayers); leader.applyTransform$2(null, forwardTransform); t1 = _this.linkedOffset; forwardTransform.translate$2(0, t1._dx, t1._dy); inverseTransform = A.FollowerLayer__collectTransformForLayerChain(inverseLayers); if (inverseTransform.copyInverse$1(inverseTransform) === 0) return; inverseTransform.multiply$1(0, forwardTransform); _this._layer$_lastTransform = inverseTransform; _this._inverseDirty = true; }, get$alwaysNeedsAddToScene() { return true; }, addToScene$1(builder) { var t1, t2, _this = this; if (_this._leaderHandle._layer$_link._leader == null && !_this.showWhenUnlinked) { _this._lastOffset = _this._layer$_lastTransform = null; _this._inverseDirty = true; _this.set$engineLayer(null); return; } _this._establishTransform$0(); t1 = _this._layer$_lastTransform; t2 = type$.nullable_TransformEngineLayer; if (t1 != null) { _this.set$engineLayer(builder.pushTransform$2$oldLayer(t1._m4storage, t2._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); _this._lastOffset = _this.unlinkedOffset; } else { _this._lastOffset = null; t1 = _this.unlinkedOffset; _this.set$engineLayer(builder.pushTransform$2$oldLayer(A.Matrix4_Matrix4$translationValues(t1._dx, t1._dy, 0)._m4storage, t2._as(_this._engineLayer))); _this.addChildrenToScene$1(builder); builder.pop$0(0); } _this._inverseDirty = true; }, applyTransform$2(child, transform) { var t1 = this._layer$_lastTransform; if (t1 != null) transform.multiply$1(0, t1); else { t1 = this.unlinkedOffset; transform.multiply$1(0, A.Matrix4_Matrix4$translationValues(t1._dx, t1._dy, 0)); } } }; A.AnnotatedRegionLayer.prototype = { findAnnotations$1$3$onlyFirst(result, localPosition, onlyFirst, $S) { var t2, t3, t4, _this = this, isAbsorbed = _this.super$ContainerLayer$findAnnotations(result, localPosition, true, $S), t1 = result._layer$_entries; if (t1.length !== 0 && true) return isAbsorbed; t2 = _this.size; if (t2 != null) { t3 = _this.offset; t4 = t3._dx; t3 = t3._dy; t2 = !new A.Rect(t4, t3, t4 + t2._dx, t3 + t2._dy).contains$1(0, localPosition); } else t2 = false; if (t2) return isAbsorbed; if (A.createRuntimeType(_this.$ti._precomputed1) === A.createRuntimeType($S)) { isAbsorbed = isAbsorbed || false; t1.push(new A.AnnotationEntry($S._as(_this.value), localPosition.$sub(0, _this.offset), $S._eval$1("AnnotationEntry<0>"))); } return isAbsorbed; }, get$value(receiver) { return this.value; } }; A._Layer_AbstractNode_DiagnosticableTreeMixin.prototype = {}; A.ListBodyParentData.prototype = {}; A.RenderListBody.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.ListBodyParentData)) child.parentData = new A.ListBodyParentData(null, null, B.Offset_0_0); }, set$axisDirection(value) { if (this._list_body$_axisDirection === value) return; this._list_body$_axisDirection = value; this.markNeedsLayout$0(); }, computeDryLayout$1(constraints) { var t1, innerConstraints, t2, mainAxisExtent, t3, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; switch (_this._list_body$_axisDirection.index) { case 1: case 3: t1 = constraints.maxHeight; innerConstraints = A.BoxConstraints$tightFor(t1, null); for (t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), mainAxisExtent = 0; child != null;) { mainAxisExtent += child.getDryLayout$1(innerConstraints)._dx; t3 = child.parentData; t3.toString; child = t2._as(t3).ContainerParentDataMixin_nextSibling; } return constraints.constrain$1(new A.Size(mainAxisExtent, t1)); case 0: case 2: t1 = constraints.maxWidth; innerConstraints = A.BoxConstraints$tightFor(null, t1); for (t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), mainAxisExtent = 0; child != null;) { mainAxisExtent += child.getDryLayout$1(innerConstraints)._dy; t3 = child.parentData; t3.toString; child = t2._as(t3).ContainerParentDataMixin_nextSibling; } return constraints.constrain$1(new A.Size(t1, mainAxisExtent)); } }, performLayout$0() { var t1, innerConstraints, t2, mainAxisExtent, t3, position, _this = this, _null = null, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), child = _this.ContainerRenderObjectMixin__firstChild; switch (_this._list_body$_axisDirection.index) { case 1: t1 = constraints.maxHeight; innerConstraints = A.BoxConstraints$tightFor(t1, _null); for (t2 = type$.ListBodyParentData, mainAxisExtent = 0; child != null;) { child.layout$2$parentUsesSize(0, innerConstraints, true); t3 = child.parentData; t3.toString; t2._as(t3); t3.offset = new A.Offset(mainAxisExtent, 0); mainAxisExtent += child._size._dx; child = t3.ContainerParentDataMixin_nextSibling; } _this._size = constraints.constrain$1(new A.Size(mainAxisExtent, t1)); break; case 3: t1 = constraints.maxHeight; innerConstraints = A.BoxConstraints$tightFor(t1, _null); for (t2 = type$.ListBodyParentData, mainAxisExtent = 0; child != null;) { child.layout$2$parentUsesSize(0, innerConstraints, true); t3 = child.parentData; t3.toString; t2._as(t3); mainAxisExtent += child._size._dx; child = t3.ContainerParentDataMixin_nextSibling; } child = _this.ContainerRenderObjectMixin__firstChild; for (position = 0; child != null;) { t3 = child.parentData; t3.toString; t2._as(t3); position += child._size._dx; t3.offset = new A.Offset(mainAxisExtent - position, 0); child = t3.ContainerParentDataMixin_nextSibling; } _this._size = constraints.constrain$1(new A.Size(mainAxisExtent, t1)); break; case 2: t1 = constraints.maxWidth; innerConstraints = A.BoxConstraints$tightFor(_null, t1); for (t2 = type$.ListBodyParentData, mainAxisExtent = 0; child != null;) { child.layout$2$parentUsesSize(0, innerConstraints, true); t3 = child.parentData; t3.toString; t2._as(t3); t3.offset = new A.Offset(0, mainAxisExtent); mainAxisExtent += child._size._dy; child = t3.ContainerParentDataMixin_nextSibling; } _this._size = constraints.constrain$1(new A.Size(t1, mainAxisExtent)); break; case 0: t1 = constraints.maxWidth; innerConstraints = A.BoxConstraints$tightFor(_null, t1); for (t2 = type$.ListBodyParentData, mainAxisExtent = 0; child != null;) { child.layout$2$parentUsesSize(0, innerConstraints, true); t3 = child.parentData; t3.toString; t2._as(t3); mainAxisExtent += child._size._dy; child = t3.ContainerParentDataMixin_nextSibling; } child = _this.ContainerRenderObjectMixin__firstChild; for (position = 0; child != null;) { t3 = child.parentData; t3.toString; t2._as(t3); position += child._size._dy; t3.offset = new A.Offset(0, mainAxisExtent - position); child = t3.ContainerParentDataMixin_nextSibling; } _this._size = constraints.constrain$1(new A.Size(t1, mainAxisExtent)); break; } }, _getIntrinsicCrossAxis$1(childSize) { var t1, extent, t2, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ListBodyParentData, extent = 0; child != null;) { extent = Math.max(extent, A.checkNum(childSize.call$1(child))); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return extent; }, _getIntrinsicMainAxis$1(childSize) { var t1, extent, t2, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ListBodyParentData, extent = 0; child != null;) { extent += childSize.call$1(child); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return extent; }, computeMinIntrinsicWidth$1(height) { switch (A.axisDirectionToAxis(this._list_body$_axisDirection).index) { case 0: return this._getIntrinsicMainAxis$1(new A.RenderListBody_computeMinIntrinsicWidth_closure(height)); case 1: return this._getIntrinsicCrossAxis$1(new A.RenderListBody_computeMinIntrinsicWidth_closure0(height)); } }, computeMaxIntrinsicWidth$1(height) { switch (A.axisDirectionToAxis(this._list_body$_axisDirection).index) { case 0: return this._getIntrinsicMainAxis$1(new A.RenderListBody_computeMaxIntrinsicWidth_closure(height)); case 1: return this._getIntrinsicCrossAxis$1(new A.RenderListBody_computeMaxIntrinsicWidth_closure0(height)); } }, computeMinIntrinsicHeight$1(width) { switch (A.axisDirectionToAxis(this._list_body$_axisDirection).index) { case 0: return this._getIntrinsicMainAxis$1(new A.RenderListBody_computeMinIntrinsicHeight_closure(width)); case 1: return this._getIntrinsicCrossAxis$1(new A.RenderListBody_computeMinIntrinsicHeight_closure0(width)); } }, computeMaxIntrinsicHeight$1(width) { switch (A.axisDirectionToAxis(this._list_body$_axisDirection).index) { case 0: return this._getIntrinsicMainAxis$1(new A.RenderListBody_computeMaxIntrinsicHeight_closure(width)); case 1: return this._getIntrinsicCrossAxis$1(new A.RenderListBody_computeMaxIntrinsicHeight_closure0(width)); } }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToFirstActualBaseline$1(baseline); }, paint$2(context, offset) { this.defaultPaint$2(context, offset); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); } }; A.RenderListBody_computeMinIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, this.height, child.get$computeMinIntrinsicWidth()); }, $signature: 10 }; A.RenderListBody_computeMinIntrinsicWidth_closure0.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, this.height, child.get$computeMinIntrinsicWidth()); }, $signature: 10 }; A.RenderListBody_computeMaxIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, this.height, child.get$computeMaxIntrinsicWidth()); }, $signature: 10 }; A.RenderListBody_computeMaxIntrinsicWidth_closure0.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, this.height, child.get$computeMaxIntrinsicWidth()); }, $signature: 10 }; A.RenderListBody_computeMinIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, this.width, child.get$computeMinIntrinsicHeight()); }, $signature: 10 }; A.RenderListBody_computeMinIntrinsicHeight_closure0.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, this.width, child.get$computeMinIntrinsicHeight()); }, $signature: 10 }; A.RenderListBody_computeMaxIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, this.width, child.get$computeMaxIntrinsicHeight()); }, $signature: 10 }; A.RenderListBody_computeMaxIntrinsicHeight_closure0.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, this.width, child.get$computeMaxIntrinsicHeight()); }, $signature: 10 }; A._RenderListBody_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ListBodyParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.ListBodyParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderListBody_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._MouseState.prototype = { replaceAnnotations$1(value) { var previous = this._annotations; this._annotations = value; return previous; }, toString$0(_) { var _s16_ = "<optimized out>#", describeLatestEvent = "latestEvent: " + (_s16_ + A.shortHash(this._latestEvent)), t1 = this._annotations, describeAnnotations = "annotations: [list of " + t1.get$length(t1) + "]"; return _s16_ + A.shortHash(this) + "(" + describeLatestEvent + ", " + describeAnnotations + ")"; } }; A._MouseTrackerUpdateDetails.prototype = { get$device(_) { var t1 = this.previousEvent; return t1.get$device(t1); } }; A.MouseTracker.prototype = { _hitTestResultToAnnotations$1(result) { var t2, t3, _i, entry, t4, t5, t1 = type$.MouseTrackerAnnotation, annotations = type$.LinkedHashMap_MouseTrackerAnnotation_Matrix4._as(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Matrix4)); for (t2 = result._path, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { entry = t2[_i]; if (t1._is(entry.get$target(entry))) { t4 = t1._as(entry.get$target(entry)); t5 = entry._transform; t5.toString; annotations.$indexSet(0, t4, t5); } } return annotations; }, _findAnnotations$2(state, hitTest) { var t1 = state._latestEvent, globalPosition = t1.get$position(t1); t1 = state._latestEvent; if (!this._mouseStates.containsKey$1(0, t1.get$device(t1))) return type$.LinkedHashMap_MouseTrackerAnnotation_Matrix4._as(A.LinkedHashMap_LinkedHashMap$_empty(type$.MouseTrackerAnnotation, type$.Matrix4)); return this._hitTestResultToAnnotations$1(hitTest.call$1(globalPosition)); }, _handleDeviceUpdate$1(details) { var t1, t2; A.MouseTracker__handleDeviceUpdateMouseEvents(details); t1 = details.get$device(details); t2 = details.nextAnnotations; t2 = t2.get$keys(t2); this._mouseCursorMixin.handleDeviceCursorUpdate$3(t1, details.triggeringEvent, A.MappedIterable_MappedIterable(t2, new A.MouseTracker__handleDeviceUpdate_closure(), A._instanceType(t2)._eval$1("Iterable.E"), type$.MouseCursor)); }, updateWithEvent$2($event, getResult) { var result, device, t1, existingState, mouseWasConnected; if ($event.get$kind($event) !== B.PointerDeviceKind_1) return; if (type$.PointerSignalEvent._is($event)) return; result = type$.PointerRemovedEvent._is($event) ? A.HitTestResult$() : getResult.call$0(); device = $event.get$device($event); t1 = this._mouseStates; existingState = t1.$index(0, device); if (!A.MouseTracker__shouldMarkStateDirty(existingState, $event)) return; mouseWasConnected = t1.get$isNotEmpty(t1); new A.MouseTracker_updateWithEvent_closure(this, existingState, $event, device, result).call$0(); if (mouseWasConnected !== t1.get$isNotEmpty(t1)) this.notifyListeners$0(); }, updateAllDevices$1(hitTest) { new A.MouseTracker_updateAllDevices_closure(this, hitTest).call$0(); } }; A.MouseTracker__handleDeviceUpdate_closure.prototype = { call$1(annotation) { return annotation.get$cursor(annotation); }, $signature: 569 }; A.MouseTracker_updateWithEvent_closure.prototype = { call$0() { var _this = this; new A.MouseTracker_updateWithEvent__closure(_this.$this, _this.existingState, _this.event, _this.device, _this.result).call$0(); }, $signature: 0 }; A.MouseTracker_updateWithEvent__closure.prototype = { call$0() { var t2, t3, targetState, previous, nextAnnotations, _this = this, t1 = _this.existingState; if (t1 == null) { t2 = _this.event; _this.$this._mouseStates.$indexSet(0, _this.device, new A._MouseState(A.LinkedHashMap_LinkedHashMap(null, null, null, type$.MouseTrackerAnnotation, type$.Matrix4), t2)); } else { t2 = _this.event; if (type$.PointerRemovedEvent._is(t2)) _this.$this._mouseStates.remove$1(0, t2.get$device(t2)); } t3 = _this.$this; targetState = t3._mouseStates.$index(0, _this.device); if (targetState == null) { t1.toString; targetState = t1; } previous = targetState._latestEvent; targetState._latestEvent = t2; nextAnnotations = type$.PointerRemovedEvent._is(t2) ? type$.LinkedHashMap_MouseTrackerAnnotation_Matrix4._as(A.LinkedHashMap_LinkedHashMap$_empty(type$.MouseTrackerAnnotation, type$.Matrix4)) : t3._hitTestResultToAnnotations$1(_this.result); t3._handleDeviceUpdate$1(new A._MouseTrackerUpdateDetails(targetState.replaceAnnotations$1(nextAnnotations), nextAnnotations, previous, t2)); }, $signature: 0 }; A.MouseTracker_updateAllDevices_closure.prototype = { call$0() { var t1, t2, t3, t4, lastEvent, nextAnnotations, previous; for (t1 = this.$this, t2 = t1._mouseStates, t2 = t2.get$values(t2), t2 = t2.get$iterator(t2), t3 = this.hitTest; t2.moveNext$0();) { t4 = t2.get$current(t2); lastEvent = t4._latestEvent; nextAnnotations = t1._findAnnotations$2(t4, t3); previous = t4._annotations; t4._annotations = nextAnnotations; t1._handleDeviceUpdate$1(new A._MouseTrackerUpdateDetails(previous, nextAnnotations, lastEvent, null)); } }, $signature: 0 }; A.MouseTracker__handleDeviceUpdateMouseEvents_closure.prototype = { call$2(annotation, transform) { var t1; if (!this.nextAnnotations.containsKey$1(0, annotation)) if (annotation.get$validForMouseTracker() && annotation.get$onExit(annotation) != null) { t1 = annotation.get$onExit(annotation); t1.toString; t1.call$1(this.baseExitEvent.transformed$1(this.lastAnnotations.$index(0, annotation))); } }, $signature: 570 }; A.MouseTracker__handleDeviceUpdateMouseEvents_closure0.prototype = { call$1(annotation) { return !this.lastAnnotations.containsKey$1(0, annotation); }, $signature: 571 }; A.__MouseTrackerUpdateDetails_Object_Diagnosticable.prototype = {}; A.ParentData.prototype = { detach$0(_) { }, toString$0(_) { return "<none>"; } }; A.PaintingContext.prototype = { paintChild$2(child, offset) { var t1 = $.debugProfilePaintsEnabled; if (t1) A.Timeline_startSync(A.getRuntimeType(child).toString$0(0), B.Map_9aZ6I, null); if (child.get$isRepaintBoundary()) { this.stopRecordingIfNeeded$0(); if (child._needsPaint) A.PaintingContext__repaintCompositedChild(child, null, true); t1 = child._layerHandle._layer; t1.toString; type$.OffsetLayer._as(t1); t1.set$offset(0, offset); this.appendLayer$1(t1); } else child._paintWithContext$2(this, offset); t1 = $.debugProfilePaintsEnabled; if (t1) A.Timeline_finishSync(); }, appendLayer$1(layer) { layer.remove$0(0); this._containerLayer.append$1(0, layer); }, get$canvas(_) { var t1, _this = this; if (_this._object$_canvas == null) { _this._currentLayer = new A.PictureLayer(_this.estimatedBounds, A.LayerHandle$(type$.Layer_2)); t1 = A.PictureRecorder_PictureRecorder(); _this._recorder = t1; _this._object$_canvas = A.Canvas_Canvas(t1, null); t1 = _this._currentLayer; t1.toString; _this._containerLayer.append$1(0, t1); } t1 = _this._object$_canvas; t1.toString; return t1; }, stopRecordingIfNeeded$0() { var t1, _this = this; if (_this._object$_canvas == null) return; t1 = _this._currentLayer; t1.toString; t1.set$picture(_this._recorder.endRecording$0()); _this._object$_canvas = _this._recorder = _this._currentLayer = null; }, setIsComplexHint$0() { var t1 = this._currentLayer; if (t1 != null) if (!t1._isComplexHint) { t1._isComplexHint = true; t1.markNeedsAddToScene$0(); } }, pushLayer$4$childPaintBounds(childLayer, painter, offset, childPaintBounds) { var childContext, _this = this; if (childLayer._firstChild != null) childLayer.removeAllChildren$0(); _this.stopRecordingIfNeeded$0(); _this.appendLayer$1(childLayer); childContext = _this.createChildContext$2(childLayer, childPaintBounds == null ? _this.estimatedBounds : childPaintBounds); painter.call$2(childContext, offset); childContext.stopRecordingIfNeeded$0(); }, pushLayer$3(childLayer, painter, offset) { return this.pushLayer$4$childPaintBounds(childLayer, painter, offset, null); }, createChildContext$2(childLayer, bounds) { return new A.PaintingContext(childLayer, bounds); }, pushClipRect$6$clipBehavior$oldLayer(needsCompositing, offset, clipRect, painter, clipBehavior, oldLayer) { var layer, offsetClipRect = clipRect.shift$1(offset); if (needsCompositing) { layer = oldLayer == null ? new A.ClipRectLayer(B.Clip_1, A.LayerHandle$(type$.Layer_2)) : oldLayer; if (!offsetClipRect.$eq(0, layer._layer$_clipRect)) { layer._layer$_clipRect = offsetClipRect; layer.markNeedsAddToScene$0(); } if (clipBehavior !== layer._layer$_clipBehavior) { layer._layer$_clipBehavior = clipBehavior; layer.markNeedsAddToScene$0(); } this.pushLayer$4$childPaintBounds(layer, painter, offset, offsetClipRect); return layer; } else { this.clipRectAndPaint$4(offsetClipRect, clipBehavior, offsetClipRect, new A.PaintingContext_pushClipRect_closure(this, painter, offset)); return null; } }, pushClipRect$4(needsCompositing, offset, clipRect, painter) { return this.pushClipRect$6$clipBehavior$oldLayer(needsCompositing, offset, clipRect, painter, B.Clip_1, null); }, pushClipRRect$7$clipBehavior$oldLayer(needsCompositing, offset, bounds, clipRRect, painter, clipBehavior, oldLayer) { var layer, offsetBounds = bounds.shift$1(offset), offsetClipRRect = clipRRect.shift$1(offset); if (needsCompositing) { layer = oldLayer == null ? new A.ClipRRectLayer(B.Clip_2, A.LayerHandle$(type$.Layer_2)) : oldLayer; if (!offsetClipRRect.$eq(0, layer._clipRRect)) { layer._clipRRect = offsetClipRRect; layer.markNeedsAddToScene$0(); } if (clipBehavior !== layer._layer$_clipBehavior) { layer._layer$_clipBehavior = clipBehavior; layer.markNeedsAddToScene$0(); } this.pushLayer$4$childPaintBounds(layer, painter, offset, offsetBounds); return layer; } else { this.clipRRectAndPaint$4(offsetClipRRect, clipBehavior, offsetBounds, new A.PaintingContext_pushClipRRect_closure(this, painter, offset)); return null; } }, pushClipPath$7$clipBehavior$oldLayer(needsCompositing, offset, bounds, clipPath, painter, clipBehavior, oldLayer) { var layer, offsetBounds = bounds.shift$1(offset), offsetClipPath = clipPath.shift$1(offset); if (needsCompositing) { layer = oldLayer == null ? new A.ClipPathLayer(B.Clip_2, A.LayerHandle$(type$.Layer_2)) : oldLayer; if (offsetClipPath !== layer._clipPath) { layer._clipPath = offsetClipPath; layer.markNeedsAddToScene$0(); } if (clipBehavior !== layer._layer$_clipBehavior) { layer._layer$_clipBehavior = clipBehavior; layer.markNeedsAddToScene$0(); } this.pushLayer$4$childPaintBounds(layer, painter, offset, offsetBounds); return layer; } else { this.clipPathAndPaint$4(offsetClipPath, clipBehavior, offsetBounds, new A.PaintingContext_pushClipPath_closure(this, painter, offset)); return null; } }, pushTransform$5$oldLayer(needsCompositing, offset, transform, painter, oldLayer) { var layer, _this = this, t1 = offset._dx, t2 = offset._dy, effectiveTransform = A.Matrix4_Matrix4$translationValues(t1, t2, 0); effectiveTransform.multiply$1(0, transform); effectiveTransform.translate$2(0, -t1, -t2); if (needsCompositing) { layer = oldLayer == null ? A.TransformLayer$(null) : oldLayer; layer.set$transform(0, effectiveTransform); _this.pushLayer$4$childPaintBounds(layer, painter, offset, A.MatrixUtils_inverseTransformRect(effectiveTransform, _this.estimatedBounds)); return layer; } else { t1 = _this.get$canvas(_this); t1.save$0(0); t1.transform$1(0, effectiveTransform._m4storage); painter.call$2(_this, offset); _this.get$canvas(_this).restore$0(0); return null; } }, pushTransform$4(needsCompositing, offset, transform, painter) { return this.pushTransform$5$oldLayer(needsCompositing, offset, transform, painter, null); }, pushOpacity$4$oldLayer(offset, alpha, painter, oldLayer) { var layer = oldLayer == null ? A.OpacityLayer$(null) : oldLayer, t1 = layer._layer$_alpha; if (alpha !== t1) { if (alpha === 255 || t1 === 255) layer.set$engineLayer(null); layer._layer$_alpha = alpha; layer.markNeedsAddToScene$0(); } layer.set$offset(0, offset); this.pushLayer$3(layer, painter, B.Offset_0_0); return layer; }, toString$0(_) { return "PaintingContext#" + A.Primitives_objectHashCode(this) + "(layer: " + this._containerLayer.toString$0(0) + ", canvas bounds: " + this.estimatedBounds.toString$0(0) + ")"; } }; A.PaintingContext_pushClipRect_closure.prototype = { call$0() { return this.painter.call$2(this.$this, this.offset); }, $signature: 0 }; A.PaintingContext_pushClipRRect_closure.prototype = { call$0() { return this.painter.call$2(this.$this, this.offset); }, $signature: 0 }; A.PaintingContext_pushClipPath_closure.prototype = { call$0() { return this.painter.call$2(this.$this, this.offset); }, $signature: 0 }; A.Constraints.prototype = {}; A.SemanticsHandle.prototype = { dispose$0(_) { var t1 = this.listener; if (t1 != null) this._object$_owner._semanticsOwner.removeListener$1(0, t1); t1 = this._object$_owner; if (--t1._outstandingSemanticsHandles === 0) { t1._semanticsOwner.dispose$0(0); t1._semanticsOwner = null; t1.onSemanticsOwnerDisposed.call$0(); } } }; A.PipelineOwner.prototype = { requestVisualUpdate$0() { this.onNeedVisualUpdate.call$0(); }, set$rootNode(value) { var t1 = this._rootNode; if (t1 === value) return; if (t1 != null) t1.detach$0(0); this._rootNode = value; value.attach$1(this); }, flushLayout$0() { var dirtyNodes, node, t1, t2, t3, t4, t5, _i; A.Timeline_startSync("Layout", B.Map_9aZ6I, null); try { for (t1 = type$.nullable_PipelineOwner, t2 = type$.JSArray_RenderObject; t3 = this._nodesNeedingLayout, t3.length !== 0;) { dirtyNodes = t3; this._nodesNeedingLayout = A._setArrayType([], t2); t3 = dirtyNodes; t4 = new A.PipelineOwner_flushLayout_closure(); if (!!t3.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); t5 = t3.length - 1; if (t5 - 0 <= 32) A.Sort__insertionSort(t3, 0, t5, t4); else A.Sort__dualPivotQuicksort(t3, 0, t5, t4); t4 = t3.length; _i = 0; for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { node = t3[_i]; if (node._needsLayout) { t5 = node; t5 = t1._as(A.AbstractNode.prototype.get$owner.call(t5)) === this; } else t5 = false; if (t5) node._layoutWithoutResize$0(); } } } finally { A.Timeline_finishSync(); } }, _enableMutationsToDirtySubtrees$1(callback) { try { callback.call$0(); } finally { } }, flushCompositingBits$0() { var t1, t2, t3, _i, node; A.Timeline_startSync("Compositing bits", null, null); t1 = this._nodesNeedingCompositingBitsUpdate; B.JSArray_methods.sort$1(t1, new A.PipelineOwner_flushCompositingBits_closure()); for (t2 = t1.length, t3 = type$.nullable_PipelineOwner, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; if (node._needsCompositingBitsUpdate && t3._as(A.AbstractNode.prototype.get$owner.call(node)) === this) node._updateCompositingBits$0(); } B.JSArray_methods.set$length(t1, 0); A.Timeline_finishSync(); }, flushPaint$0() { var dirtyNodes, node, t1, t2, t3, _i, t4; A.Timeline_startSync("Paint", B.Map_9aZ6I, null); try { dirtyNodes = this._nodesNeedingPaint; this._nodesNeedingPaint = A._setArrayType([], type$.JSArray_RenderObject); for (t1 = dirtyNodes, J.sort$1$ax(t1, new A.PipelineOwner_flushPaint_closure()), t2 = t1.length, t3 = type$.nullable_PipelineOwner, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; if (node._needsPaint) { t4 = node; t4 = t3._as(A.AbstractNode.prototype.get$owner.call(t4)) === this; } else t4 = false; if (t4) if (node._layerHandle._layer._node$_owner != null) A.PaintingContext__repaintCompositedChild(node, null, false); else node._skippedPaintingOnLayer$0(); } } finally { A.Timeline_finishSync(); } }, ensureSemantics$1$listener(listener) { var t1, _this = this; if (++_this._outstandingSemanticsHandles === 1) { t1 = type$.SemanticsNode; _this._semanticsOwner = new A.SemanticsOwner(A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.List_List$filled(0, null, false, type$.nullable_void_Function)); _this.onSemanticsOwnerCreated.call$0(); } if (listener != null) _this._semanticsOwner.addListener$1(0, listener); return new A.SemanticsHandle(_this, listener); }, ensureSemantics$0() { return this.ensureSemantics$1$listener(null); }, flushSemantics$0() { var nodesToProcess, node, t1, nodesToProcess0, t2, t3, _i, t4, _this = this; if (_this._semanticsOwner == null) return; A.Timeline_startSync("Semantics", null, null); try { t1 = _this._nodesNeedingSemantics; nodesToProcess0 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); B.JSArray_methods.sort$1(nodesToProcess0, new A.PipelineOwner_flushSemantics_closure()); nodesToProcess = nodesToProcess0; t1.clear$0(0); for (t1 = nodesToProcess, t2 = t1.length, t3 = type$.nullable_PipelineOwner, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; if (node._needsSemanticsUpdate) { t4 = node; t4 = t3._as(A.AbstractNode.prototype.get$owner.call(t4)) === _this; } else t4 = false; if (t4) node._updateSemantics$0(); } _this._semanticsOwner.sendSemanticsUpdate$0(); } finally { A.Timeline_finishSync(); } } }; A.PipelineOwner_flushLayout_closure.prototype = { call$2(a, b) { return a._depth - b._depth; }, $signature: 144 }; A.PipelineOwner_flushCompositingBits_closure.prototype = { call$2(a, b) { return a._depth - b._depth; }, $signature: 144 }; A.PipelineOwner_flushPaint_closure.prototype = { call$2(a, b) { return b._depth - a._depth; }, $signature: 144 }; A.PipelineOwner_flushSemantics_closure.prototype = { call$2(a, b) { return a._depth - b._depth; }, $signature: 144 }; A.RenderObject.prototype = { reassemble$0() { var _this = this; _this.markNeedsLayout$0(); _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); _this.visitChildren$1(new A.RenderObject_reassemble_closure()); }, dispose$0(_) { this._layerHandle.set$layer(0, null); }, setupParentData$1(child) { if (!(child.parentData instanceof A.ParentData)) child.parentData = new A.ParentData(); }, adoptChild$1(child) { var _this = this; _this.setupParentData$1(child); _this.markNeedsLayout$0(); _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsSemanticsUpdate$0(); _this.super$AbstractNode$adoptChild(child); }, dropChild$1(child) { var _this = this; child._cleanRelayoutBoundary$0(); child.parentData.detach$0(0); child.parentData = null; _this.super$AbstractNode$dropChild(child); _this.markNeedsLayout$0(); _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsSemanticsUpdate$0(); }, visitChildren$1(visitor) { }, _debugReportException$3(method, exception, stack) { A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "rendering library", A.ErrorDescription$("during " + method + "()"), new A.RenderObject__debugReportException_closure(this), false)); }, get$owner() { return type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(this)); }, attach$1(owner) { var _this = this; _this.super$AbstractNode$attach(owner); if (_this._needsLayout && _this._relayoutBoundary != null) { _this._needsLayout = false; _this.markNeedsLayout$0(); } if (_this._needsCompositingBitsUpdate) { _this._needsCompositingBitsUpdate = false; _this.markNeedsCompositingBitsUpdate$0(); } if (_this._needsPaint && _this._layerHandle._layer != null) { _this._needsPaint = false; _this.markNeedsPaint$0(); } if (_this._needsSemanticsUpdate && _this.get$_semanticsConfiguration()._isSemanticBoundary) { _this._needsSemanticsUpdate = false; _this.markNeedsSemanticsUpdate$0(); } }, get$constraints() { var t1 = this._constraints; if (t1 == null) throw A.wrapException(A.StateError$("A RenderObject does not have any constraints before it has been laid out.")); return t1; }, markNeedsLayout$0() { var t1, _this = this; if (_this._needsLayout) return; if (_this._relayoutBoundary !== _this) _this.markParentNeedsLayout$0(); else { _this._needsLayout = true; t1 = type$.nullable_PipelineOwner; if (t1._as(A.AbstractNode.prototype.get$owner.call(_this)) != null) { t1._as(A.AbstractNode.prototype.get$owner.call(_this))._nodesNeedingLayout.push(_this); t1._as(A.AbstractNode.prototype.get$owner.call(_this)).requestVisualUpdate$0(); } } }, markParentNeedsLayout$0() { var t1, _this = this; _this._needsLayout = true; t1 = _this.get$parent(_this); t1.toString; type$.RenderObject._as(t1); if (!_this._doingThisLayoutWithCallback) t1.markNeedsLayout$0(); }, _cleanRelayoutBoundary$0() { var _this = this; if (_this._relayoutBoundary !== _this) { _this._relayoutBoundary = null; _this._needsLayout = true; _this.visitChildren$1(A.object_RenderObject__cleanChildRelayoutBoundary$closure()); } }, _layoutWithoutResize$0() { var e, stack, exception, _this = this; try { _this.performLayout$0(); _this.markNeedsSemanticsUpdate$0(); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); _this._debugReportException$3("performLayout", e, stack); } _this._needsLayout = false; _this.markNeedsPaint$0(); }, layout$2$parentUsesSize(_, constraints, parentUsesSize) { var e, stack, e0, stack0, relayoutBoundary, exception, _this = this, t1 = $.debugProfileLayoutsEnabled; if (t1) A.Timeline_startSync(A.getRuntimeType(_this).toString$0(0), B.Map_9aZ6I, null); if (!parentUsesSize || _this.get$sizedByParent() || constraints.get$isTight() || !(_this.get$parent(_this) instanceof A.RenderObject)) relayoutBoundary = _this; else { t1 = _this.get$parent(_this); t1.toString; relayoutBoundary = type$.RenderObject._as(t1)._relayoutBoundary; } if (!_this._needsLayout && constraints.$eq(0, _this._constraints) && relayoutBoundary == _this._relayoutBoundary) { t1 = $.debugProfileLayoutsEnabled; if (t1) A.Timeline_finishSync(); return; } _this._constraints = constraints; t1 = _this._relayoutBoundary; if (t1 != null && relayoutBoundary !== t1) _this.visitChildren$1(A.object_RenderObject__cleanChildRelayoutBoundary$closure()); _this._relayoutBoundary = relayoutBoundary; if (_this.get$sizedByParent()) try { _this.performResize$0(); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); _this._debugReportException$3("performResize", e, stack); } try { _this.performLayout$0(); _this.markNeedsSemanticsUpdate$0(); } catch (exception) { e0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); _this._debugReportException$3("performLayout", e0, stack0); } _this._needsLayout = false; _this.markNeedsPaint$0(); t1 = $.debugProfileLayoutsEnabled; if (t1) A.Timeline_finishSync(); }, layout$1($receiver, constraints) { return this.layout$2$parentUsesSize($receiver, constraints, false); }, get$sizedByParent() { return false; }, invokeLayoutCallback$1$1(callback, $T) { var _this = this; _this._doingThisLayoutWithCallback = true; try { type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(_this))._enableMutationsToDirtySubtrees$1(new A.RenderObject_invokeLayoutCallback_closure(_this, callback, $T)); } finally { _this._doingThisLayoutWithCallback = false; } }, get$isRepaintBoundary() { return false; }, get$alwaysNeedsCompositing() { return false; }, get$layer(_) { return this._layerHandle._layer; }, markNeedsCompositingBitsUpdate$0() { var t1, _this = this; if (_this._needsCompositingBitsUpdate) return; _this._needsCompositingBitsUpdate = true; if (_this.get$parent(_this) instanceof A.RenderObject) { t1 = _this.get$parent(_this); t1.toString; type$.RenderObject._as(t1); if (t1._needsCompositingBitsUpdate) return; if (!_this.get$isRepaintBoundary() && !t1.get$isRepaintBoundary()) { t1.markNeedsCompositingBitsUpdate$0(); return; } } t1 = type$.nullable_PipelineOwner; if (t1._as(A.AbstractNode.prototype.get$owner.call(_this)) != null) t1._as(A.AbstractNode.prototype.get$owner.call(_this))._nodesNeedingCompositingBitsUpdate.push(_this); }, _updateCompositingBits$0() { var t1, _this = this, _s17_ = "_needsCompositing"; if (!_this._needsCompositingBitsUpdate) return; t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, _s17_); _this.__RenderObject__needsCompositing = false; _this.visitChildren$1(new A.RenderObject__updateCompositingBits_closure(_this)); if (_this.get$isRepaintBoundary() || _this.get$alwaysNeedsCompositing()) _this.__RenderObject__needsCompositing = true; if (t1 !== A._lateReadCheck(_this.__RenderObject__needsCompositing, _s17_)) _this.markNeedsPaint$0(); _this._needsCompositingBitsUpdate = false; }, markNeedsPaint$0() { var t1, _this = this; if (_this._needsPaint) return; _this._needsPaint = true; if (_this.get$isRepaintBoundary()) { t1 = type$.nullable_PipelineOwner; if (t1._as(A.AbstractNode.prototype.get$owner.call(_this)) != null) { t1._as(A.AbstractNode.prototype.get$owner.call(_this))._nodesNeedingPaint.push(_this); t1._as(A.AbstractNode.prototype.get$owner.call(_this)).requestVisualUpdate$0(); } } else if (_this.get$parent(_this) instanceof A.RenderObject) { t1 = _this.get$parent(_this); t1.toString; type$.RenderObject._as(t1).markNeedsPaint$0(); } else { t1 = type$.nullable_PipelineOwner; if (t1._as(A.AbstractNode.prototype.get$owner.call(_this)) != null) t1._as(A.AbstractNode.prototype.get$owner.call(_this)).requestVisualUpdate$0(); } }, _skippedPaintingOnLayer$0() { var t1, node = this.get$parent(this); for (; node instanceof A.RenderObject;) { if (node.get$isRepaintBoundary()) { t1 = node._layerHandle._layer; if (t1 == null) break; if (t1._node$_owner != null) break; node._needsPaint = true; } node = node.get$parent(node); } }, _paintWithContext$2(context, offset) { var e, stack, exception, _this = this; if (_this._needsLayout) return; _this._needsPaint = false; try { _this.paint$2(context, offset); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); _this._debugReportException$3("paint", e, stack); } }, paint$2(context, offset) { }, applyPaintTransform$2(child, transform) { }, getTransformTo$1(_, ancestor) { var rootNode, renderers, t2, renderer, t3, transform, index, index0, t1 = ancestor == null; if (t1) { rootNode = type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(this))._rootNode; if (rootNode instanceof A.RenderObject) ancestor = rootNode; } renderers = A._setArrayType([], type$.JSArray_RenderObject); t2 = type$.RenderObject; renderer = this; while (renderer !== ancestor) { renderers.push(renderer); t3 = renderer.get$parent(renderer); t3.toString; t2._as(t3); renderer = t3; } if (!t1) { ancestor.toString; renderers.push(ancestor); } transform = new A.Matrix4(new Float64Array(16)); transform.setIdentity$0(); for (index = renderers.length - 1; index > 0; index = index0) { index0 = index - 1; renderers[index].applyPaintTransform$2(renderers[index0], transform); } return transform; }, describeApproximatePaintClip$1(child) { return null; }, describeSemanticsClip$1(child) { return null; }, describeSemanticsConfiguration$1(config) { }, sendSemanticsEvent$1(semanticsEvent) { var t1, _this = this; if (type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(_this))._semanticsOwner == null) return; t1 = _this._semantics; if (t1 != null && !t1._isMergedIntoParent) t1.sendEvent$1(semanticsEvent); else if (_this.get$parent(_this) != null) { t1 = _this.get$parent(_this); t1.toString; type$.RenderObject._as(t1).sendSemanticsEvent$1(semanticsEvent); } }, get$_semanticsConfiguration() { var t1, _this = this; if (_this._cachedSemanticsConfiguration == null) { t1 = A.SemanticsConfiguration$(); _this._cachedSemanticsConfiguration = t1; _this.describeSemanticsConfiguration$1(t1); } t1 = _this._cachedSemanticsConfiguration; t1.toString; return t1; }, get$debugSemantics() { var t1 = this._semantics; return t1; }, clearSemantics$0() { this._needsSemanticsUpdate = true; this._semantics = null; this.visitChildren$1(new A.RenderObject_clearSemantics_closure()); }, markNeedsSemanticsUpdate$0() { var t1, wasSemanticsBoundary, isEffectiveSemanticsBoundary, node, t2, t3, _this = this; if (_this._node$_owner == null || type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(_this))._semanticsOwner == null) { _this._cachedSemanticsConfiguration = null; return; } if (_this._semantics != null) { t1 = _this._cachedSemanticsConfiguration; wasSemanticsBoundary = (t1 == null ? null : t1._isSemanticBoundary) === true; } else wasSemanticsBoundary = false; _this._cachedSemanticsConfiguration = null; isEffectiveSemanticsBoundary = _this.get$_semanticsConfiguration()._isSemanticBoundary && wasSemanticsBoundary; t1 = type$.RenderObject; node = _this; while (true) { if (!(!isEffectiveSemanticsBoundary && node.get$parent(node) instanceof A.RenderObject)) break; if (node !== _this && node._needsSemanticsUpdate) break; node._needsSemanticsUpdate = true; t2 = node.get$parent(node); t2.toString; t1._as(t2); if (t2._cachedSemanticsConfiguration == null) { t3 = A.SemanticsConfiguration$(); t2._cachedSemanticsConfiguration = t3; t2.describeSemanticsConfiguration$1(t3); } isEffectiveSemanticsBoundary = t2._cachedSemanticsConfiguration._isSemanticBoundary; if (isEffectiveSemanticsBoundary && t2._semantics == null) return; node = t2; } if (node !== _this && _this._semantics != null && _this._needsSemanticsUpdate) type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(_this))._nodesNeedingSemantics.remove$1(0, _this); if (!node._needsSemanticsUpdate) { node._needsSemanticsUpdate = true; t1 = type$.nullable_PipelineOwner; if (t1._as(A.AbstractNode.prototype.get$owner.call(_this)) != null) { t1._as(A.AbstractNode.prototype.get$owner.call(_this))._nodesNeedingSemantics.add$1(0, node); t1._as(A.AbstractNode.prototype.get$owner.call(_this)).requestVisualUpdate$0(); } } }, _updateSemantics$0() { var t1, interestingFragment, result, t2, t3, t4, _this = this, _null = null; if (_this._needsLayout) return; t1 = _this._semantics; if (t1 == null) t1 = _null; else { t1 = type$.nullable_SemanticsNode._as(A.AbstractNode.prototype.get$parent.call(t1, t1)); if (t1 == null) t1 = _null; else t1 = t1._mergeAllDescendantsIntoThisNode || t1._isMergedIntoParent; } interestingFragment = type$._InterestingSemanticsFragment._as(_this._getSemanticsForParent$1$mergeIntoParent(t1 === true)); result = A._setArrayType([], type$.JSArray_SemanticsNode); t1 = _this._semantics; t2 = t1 == null; t3 = t2 ? _null : t1.parentSemanticsClipRect; t4 = t2 ? _null : t1.parentPaintClipRect; t1 = t2 ? _null : t1.elevationAdjustment; interestingFragment.compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(t1 == null ? 0 : t1, t4, t3, result); B.JSArray_methods.get$single(result); }, _getSemanticsForParent$1$mergeIntoParent(mergeIntoParent) { var producesForkingFragment, t1, fragments, toBeMarkedExplicit, t2, t3, result, _this = this, _box_0 = {}, config = _this.get$_semanticsConfiguration(); _box_0.dropSemanticsOfPreviousSiblings = config.isBlockingSemanticsOfPreviouslyPaintedNodes; producesForkingFragment = !config._hasBeenAnnotated && !config._isSemanticBoundary; t1 = type$.JSArray__InterestingSemanticsFragment; fragments = A._setArrayType([], t1); toBeMarkedExplicit = A.LinkedHashSet_LinkedHashSet$_empty(type$._InterestingSemanticsFragment); _this.visitChildrenForSemantics$1(new A.RenderObject__getSemanticsForParent_closure(_box_0, _this, mergeIntoParent || config._isMergingSemanticsOfDescendants, fragments, toBeMarkedExplicit, config, producesForkingFragment)); for (t2 = A._LinkedHashSetIterator$(toBeMarkedExplicit, toBeMarkedExplicit._collection$_modifications, toBeMarkedExplicit.$ti._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) t3._as(t2._collection$_current).markAsExplicit$0(); _this._needsSemanticsUpdate = false; if (!(_this.get$parent(_this) instanceof A.RenderObject)) { t2 = _box_0.dropSemanticsOfPreviousSiblings; result = new A._RootSemanticsFragment(A._setArrayType([], t1), A._setArrayType([_this], type$.JSArray_RenderObject), t2); } else { t2 = _box_0.dropSemanticsOfPreviousSiblings; if (producesForkingFragment) result = new A._ContainerSemanticsFragment(A._setArrayType([], t1), t2); else { result = new A._SwitchableSemanticsFragment(mergeIntoParent, config, A._setArrayType([], t1), A._setArrayType([_this], type$.JSArray_RenderObject), t2); if (config._isSemanticBoundary) result._isExplicit = true; } } result.addAll$1(0, fragments); return result; }, visitChildrenForSemantics$1(visitor) { this.visitChildren$1(visitor); }, assembleSemanticsNode$3(node, config, children) { node.updateWith$2$childrenInInversePaintOrder$config(0, type$.List_SemanticsNode._as(children), config); }, handleEvent$2($event, entry) { }, toStringShort$0() { var target, count, _this = this, header = "<optimized out>#" + A.shortHash(_this), t1 = _this._relayoutBoundary; if (t1 != null && t1 !== _this) { t1 = type$.nullable_RenderObject; target = t1._as(_this.get$parent(_this)); count = 1; while (true) { if (!(target != null && target !== _this._relayoutBoundary)) break; target = t1._as(target.get$parent(target)); ++count; } header += " relayoutBoundary=up" + count; } if (_this._needsLayout) header += " NEEDS-LAYOUT"; if (_this._needsPaint) header += " NEEDS-PAINT"; if (_this._needsCompositingBitsUpdate) header += " NEEDS-COMPOSITING-BITS-UPDATE"; return _this._node$_owner == null ? header + " DETACHED" : header; }, toString$0(_) { return this.toStringShort$0(); }, debugDescribeChildren$0() { return A._setArrayType([], type$.JSArray_DiagnosticsNode); }, showOnScreen$4$curve$descendant$duration$rect(curve, descendant, duration, rect) { var t1, _this = this; if (_this.get$parent(_this) instanceof A.RenderObject) { t1 = _this.get$parent(_this); t1.toString; type$.RenderObject._as(t1); t1.showOnScreen$4$curve$descendant$duration$rect(curve, descendant == null ? _this : descendant, duration, rect); } }, showOnScreen$0() { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, null); }, showOnScreen$1$rect(rect) { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, rect); }, showOnScreen$3$curve$duration$rect(curve, duration, rect) { return this.showOnScreen$4$curve$descendant$duration$rect(curve, null, duration, rect); }, $isDiagnosticableTree: 1, $isHitTestTarget: 1 }; A.RenderObject_reassemble_closure.prototype = { call$1(child) { child.reassemble$0(); }, $signature: 74 }; A.RenderObject__debugReportException_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$call$0($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.$this; $async$goto = 2; return A.DiagnosticableTreeNode$("The following RenderObject was being processed when the exception was fired", B.DiagnosticsTreeStyle_10, t1); case 2: // after yield $async$goto = 3; return A.DiagnosticableTreeNode$("RenderObject", B.DiagnosticsTreeStyle_11, t1); case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.RenderObject_invokeLayoutCallback_closure.prototype = { call$0() { this.callback.call$1(this.T._as(this.$this.get$constraints())); }, $signature: 0 }; A.RenderObject__updateCompositingBits_closure.prototype = { call$1(child) { child._updateCompositingBits$0(); if (A._lateReadCheck(child.__RenderObject__needsCompositing, "_needsCompositing")) this.$this.__RenderObject__needsCompositing = true; }, $signature: 74 }; A.RenderObject_clearSemantics_closure.prototype = { call$1(child) { child.clearSemantics$0(); }, $signature: 74 }; A.RenderObject__getSemanticsForParent_closure.prototype = { call$1(renderChild) { var t1, t2, t3, t4, t5, t6, t7, _i, fragment, siblingLength, i, siblingFragment, t8, _this = this, parentFragment = renderChild._getSemanticsForParent$1$mergeIntoParent(_this.childrenMergeIntoParent); if (parentFragment.dropsSemanticsOfPreviousSiblings) { B.JSArray_methods.set$length(_this.fragments, 0); _this.toBeMarkedExplicit.clear$0(0); if (!_this.config._isSemanticBoundary) _this._box_0.dropSemanticsOfPreviousSiblings = true; } for (t1 = parentFragment.get$interestingFragments(), t2 = t1.length, t3 = _this.fragments, t4 = _this.toBeMarkedExplicit, t5 = _this.config, t6 = _this.$this, t7 = _this.producesForkingFragment, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { fragment = t1[_i]; t3.push(fragment); fragment._ancestorChain.push(t6); fragment.addTags$1(t5._tagsForChildren); if (t5.explicitChildNodes || !(t6.get$parent(t6) instanceof A.RenderObject)) { fragment.markAsExplicit$0(); continue; } if (fragment.get$config() == null || t7) continue; if (!t5.isCompatibleWith$1(fragment.get$config())) t4.add$1(0, fragment); siblingLength = t3.length - 1; for (i = 0; i < siblingLength; ++i) { siblingFragment = t3[i]; t8 = fragment.get$config(); t8.toString; if (!t8.isCompatibleWith$1(siblingFragment.get$config())) { t4.add$1(0, fragment); t4.add$1(0, siblingFragment); } } } }, $signature: 74 }; A.RenderObjectWithChildMixin.prototype = { set$child(value) { var _this = this, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) _this.dropChild$1(t1); _this.RenderObjectWithChildMixin__child = value; if (value != null) _this.adoptChild$1(value); }, redepthChildren$0() { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) this.redepthChild$1(t1); }, visitChildren$1(visitor) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) visitor.call$1(t1); }, debugDescribeChildren$0() { var t1 = this.RenderObjectWithChildMixin__child, t2 = type$.JSArray_DiagnosticsNode; return t1 != null ? A._setArrayType([A.DiagnosticableTreeNode$("child", null, t1)], t2) : A._setArrayType([], t2); } }; A.ContainerParentDataMixin.prototype = {}; A.ContainerRenderObjectMixin.prototype = { get$childCount() { return this.ContainerRenderObjectMixin__childCount; }, _insertIntoChildList$2$after(child, after) { var t2, t3, t4, _this = this, t1 = child.parentData; t1.toString; t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t2._as(t1); ++_this.ContainerRenderObjectMixin__childCount; if (after == null) { t1 = t1.ContainerParentDataMixin_nextSibling = _this.ContainerRenderObjectMixin__firstChild; if (t1 != null) { t1 = t1.parentData; t1.toString; t2._as(t1).ContainerParentDataMixin_previousSibling = child; } _this.ContainerRenderObjectMixin__firstChild = child; if (_this.ContainerRenderObjectMixin__lastChild == null) _this.ContainerRenderObjectMixin__lastChild = child; } else { t3 = after.parentData; t3.toString; t2._as(t3); t4 = t3.ContainerParentDataMixin_nextSibling; if (t4 == null) { t1.ContainerParentDataMixin_previousSibling = after; _this.ContainerRenderObjectMixin__lastChild = t3.ContainerParentDataMixin_nextSibling = child; } else { t1.ContainerParentDataMixin_nextSibling = t4; t1.ContainerParentDataMixin_previousSibling = after; t1 = t4.parentData; t1.toString; t2._as(t1).ContainerParentDataMixin_previousSibling = t3.ContainerParentDataMixin_nextSibling = child; } } }, insert$2$after(_, child, after) { this.adoptChild$1(child); this._insertIntoChildList$2$after(child, after); }, addAll$1(_, children) { }, _removeFromChildList$1(child) { var t2, t3, t4, t5, _this = this, t1 = child.parentData; t1.toString; t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t2._as(t1); t3 = t1.ContainerParentDataMixin_previousSibling; t4 = t1.ContainerParentDataMixin_nextSibling; if (t3 == null) _this.ContainerRenderObjectMixin__firstChild = t4; else { t5 = t3.parentData; t5.toString; t2._as(t5).ContainerParentDataMixin_nextSibling = t4; } t4 = t1.ContainerParentDataMixin_nextSibling; if (t4 == null) _this.ContainerRenderObjectMixin__lastChild = t3; else { t4 = t4.parentData; t4.toString; t2._as(t4).ContainerParentDataMixin_previousSibling = t3; } t1.ContainerParentDataMixin_nextSibling = t1.ContainerParentDataMixin_previousSibling = null; --_this.ContainerRenderObjectMixin__childCount; }, remove$1(_, child) { this._removeFromChildList$1(child); this.dropChild$1(child); }, move$2$after(child, after) { var _this = this, t1 = child.parentData; t1.toString; if (A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1")._as(t1).ContainerParentDataMixin_previousSibling == after) return; _this._removeFromChildList$1(child); _this._insertIntoChildList$2$after(child, after); _this.markNeedsLayout$0(); }, redepthChildren$0() { var t1, t2, t3, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"); child != null;) { t2 = child._depth; t3 = this._depth; if (t2 <= t3) { child._depth = t3 + 1; child.redepthChildren$0(); } t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } }, visitChildren$1(visitor) { var t1, t2, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"); child != null;) { visitor.call$1(child); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } }, get$firstChild(_) { return this.ContainerRenderObjectMixin__firstChild; }, childBefore$1(child) { var t1 = child.parentData; t1.toString; return A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1")._as(t1).ContainerParentDataMixin_previousSibling; }, childAfter$1(child) { var t1 = child.parentData; t1.toString; return A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1")._as(t1).ContainerParentDataMixin_nextSibling; }, debugDescribeChildren$0() { var t1, count, t2, children = A._setArrayType([], type$.JSArray_DiagnosticsNode), child = this.ContainerRenderObjectMixin__firstChild; if (child != null) for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), count = 1; true; child = t2) { children.push(new A.DiagnosticableTreeNode(child, "child " + count, true, true, null, null)); if (child === this.ContainerRenderObjectMixin__lastChild) break; ++count; t2 = child.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; t2.toString; } return children; } }; A.RelayoutWhenSystemFontsChangeMixin.prototype = { systemFontsDidChange$0() { this.markNeedsLayout$0(); } }; A._SemanticsFragment.prototype = {}; A._ContainerSemanticsFragment.prototype = { addAll$1(_, fragments) { B.JSArray_methods.addAll$1(this.interestingFragments, fragments); }, get$interestingFragments() { return this.interestingFragments; } }; A._InterestingSemanticsFragment.prototype = { get$interestingFragments() { return A._setArrayType([this], type$.JSArray__InterestingSemanticsFragment); }, addTags$1(tags) { var t1; if (tags == null || tags._collection$_length === 0) return; t1 = this._object$_tagsForChildren; (t1 == null ? this._object$_tagsForChildren = A.LinkedHashSet_LinkedHashSet$_empty(type$.SemanticsTag) : t1).addAll$1(0, tags); } }; A._RootSemanticsFragment.prototype = { compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(elevationAdjustment, parentPaintClipRect, parentSemanticsClipRect, result) { var t3, t4, t5, children, _i, t1 = this._ancestorChain, t2 = B.JSArray_methods.get$first(t1); if (t2._semantics == null) { t3 = B.JSArray_methods.get$first(t1).get$showOnScreen(); t4 = B.JSArray_methods.get$first(t1); t4 = type$.nullable_PipelineOwner._as(A.AbstractNode.prototype.get$owner.call(t4))._semanticsOwner; t4.toString; t5 = $.$get$SemanticsNode__kEmptyConfig(); t5 = new A.SemanticsNode(null, 0, t3, B.Rect_0_0_0_0, t5._isMergingSemanticsOfDescendants, t5._actions, t5._customSemanticsActions, t5._actionsAsBits, t5._flags, t5._semantics$_attributedLabel, t5._semantics$_attributedValue, t5._semantics$_attributedIncreasedValue, t5._semantics$_attributedDecreasedValue, t5._semantics$_attributedHint, t5._semantics$_elevation, t5._semantics$_thickness, t5._semantics$_textDirection); t5.attach$1(t4); t2._semantics = t5; } t2 = B.JSArray_methods.get$first(t1)._semantics; t2.toString; t2.set$rect(0, B.JSArray_methods.get$first(t1).get$semanticBounds()); children = A._setArrayType([], type$.JSArray_SemanticsNode); for (t1 = this._object$_children, t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(0, parentPaintClipRect, parentSemanticsClipRect, children); t2.updateWith$2$childrenInInversePaintOrder$config(0, children, null); result.push(t2); }, get$config() { return null; }, markAsExplicit$0() { }, addAll$1(_, fragments) { B.JSArray_methods.addAll$1(this._object$_children, fragments); } }; A._SwitchableSemanticsFragment.prototype = { compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(elevationAdjustment, parentPaintClipRect, parentSemanticsClipRect, result) { var t1, t2, t3, t4, t5, _i, fragment, t6, geometry, node, children, _this = this, _null = null; if (!_this._isExplicit) { t1 = _this._ancestorChain; B.JSArray_methods.get$first(t1)._semantics = null; for (t2 = _this._object$_children, t3 = t2.length, t4 = A._arrayInstanceType(t1), t5 = t4._precomputed1, t4 = t4._eval$1("SubListIterable<1>"), _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { fragment = t2[_i]; t6 = new A.SubListIterable(t1, 1, _null, t4); t6.SubListIterable$3(t1, 1, _null, t5); B.JSArray_methods.addAll$1(fragment._ancestorChain, t6); fragment.compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(elevationAdjustment + _this._config._semantics$_elevation, parentPaintClipRect, parentSemanticsClipRect, result); } return; } t1 = _this._ancestorChain; if (t1.length > 1) { geometry = new A._SemanticsGeometry(); geometry._computeValues$3(parentSemanticsClipRect, parentPaintClipRect, t1); } else geometry = _null; t2 = _this._mergeIntoParent; t3 = !t2; if (t3) { if (geometry == null) t4 = _null; else { t4 = A._lateReadCheck(geometry.___SemanticsGeometry__rect, "_rect"); t4 = t4.get$isEmpty(t4); } t4 = t4 === true; } else t4 = false; if (t4) return; t4 = B.JSArray_methods.get$first(t1); if (t4._semantics == null) t4._semantics = A.SemanticsNode$(_null, B.JSArray_methods.get$first(t1).get$showOnScreen()); node = B.JSArray_methods.get$first(t1)._semantics; node.set$isMergedIntoParent(t2); node.tags = _this._object$_tagsForChildren; node.elevationAdjustment = elevationAdjustment; if (elevationAdjustment !== 0) { _this._ensureConfigIsWritable$0(); t2 = _this._config; t2.set$elevation(0, t2._semantics$_elevation + elevationAdjustment); } if (geometry != null) { node.set$rect(0, A._lateReadCheck(geometry.___SemanticsGeometry__rect, "_rect")); node.set$transform(0, A._lateReadCheck(geometry.___SemanticsGeometry__transform, "_transform")); node.parentSemanticsClipRect = geometry._semanticsClipRect; node.parentPaintClipRect = geometry._paintClipRect; if (t3 && geometry._markAsHidden) { _this._ensureConfigIsWritable$0(); _this._config._setFlag$2(B.SemanticsFlag_8192, true); } } children = A._setArrayType([], type$.JSArray_SemanticsNode); for (t2 = _this._object$_children, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { fragment = t2[_i]; t4 = node.parentSemanticsClipRect; fragment.compileChildren$4$elevationAdjustment$parentPaintClipRect$parentSemanticsClipRect$result(0, node.parentPaintClipRect, t4, children); } t2 = _this._config; if (t2._isSemanticBoundary) B.JSArray_methods.get$first(t1).assembleSemanticsNode$3(node, _this._config, children); else node.updateWith$2$childrenInInversePaintOrder$config(0, children, t2); result.push(node); }, get$config() { return this._isExplicit ? null : this._config; }, addAll$1(_, fragments) { var t1, t2, _i, fragment, t3, t4, _this = this; for (t1 = fragments.length, t2 = _this._object$_children, _i = 0; _i < fragments.length; fragments.length === t1 || (0, A.throwConcurrentModificationError)(fragments), ++_i) { fragment = fragments[_i]; t2.push(fragment); if (fragment.get$config() == null) continue; if (!_this._isConfigWritable) { _this._config = _this._config.copy$0(0); _this._isConfigWritable = true; } t3 = _this._config; t4 = fragment.get$config(); t4.toString; t3.absorb$1(t4); } }, _ensureConfigIsWritable$0() { var t1, t2, _this = this; if (!_this._isConfigWritable) { t1 = _this._config; t2 = A.SemanticsConfiguration$(); t2._isSemanticBoundary = t1._isSemanticBoundary; t2.explicitChildNodes = t1.explicitChildNodes; t2.isBlockingSemanticsOfPreviouslyPaintedNodes = t1.isBlockingSemanticsOfPreviouslyPaintedNodes; t2._hasBeenAnnotated = t1._hasBeenAnnotated; t2._isMergingSemanticsOfDescendants = t1._isMergingSemanticsOfDescendants; t2._semantics$_textDirection = t1._semantics$_textDirection; t2._semantics$_sortKey = t1._semantics$_sortKey; t2._semantics$_attributedLabel = t1._semantics$_attributedLabel; t2._semantics$_attributedIncreasedValue = t1._semantics$_attributedIncreasedValue; t2._semantics$_attributedValue = t1._semantics$_attributedValue; t2._semantics$_attributedDecreasedValue = t1._semantics$_attributedDecreasedValue; t2._semantics$_attributedHint = t1._semantics$_attributedHint; t2._semantics$_hintOverrides = t1._semantics$_hintOverrides; t2._semantics$_elevation = t1._semantics$_elevation; t2._semantics$_thickness = t1._semantics$_thickness; t2._flags = t1._flags; t2._tagsForChildren = t1._tagsForChildren; t2._textSelection = t1._textSelection; t2._scrollPosition = t1._scrollPosition; t2._scrollExtentMax = t1._scrollExtentMax; t2._scrollExtentMin = t1._scrollExtentMin; t2._actionsAsBits = t1._actionsAsBits; t2._indexInParent = t1._indexInParent; t2._scrollIndex = t1._scrollIndex; t2._scrollChildCount = t1._scrollChildCount; t2._platformViewId = t1._platformViewId; t2._semantics$_maxValueLength = t1._semantics$_maxValueLength; t2._semantics$_currentValueLength = t1._semantics$_currentValueLength; t2._actions.addAll$1(0, t1._actions); t2._customSemanticsActions.addAll$1(0, t1._customSemanticsActions); _this._config = t2; _this._isConfigWritable = true; } }, markAsExplicit$0() { this._isExplicit = true; } }; A._SemanticsGeometry.prototype = { _computeValues$3(parentSemanticsClipRect, parentPaintClipRect, ancestors) { var index, $parent, child, owner, t2, paintRect, _this = this, t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); _this.___SemanticsGeometry__transform = t1; _this._semanticsClipRect = parentSemanticsClipRect; _this._paintClipRect = parentPaintClipRect; for (index = ancestors.length - 1; index > 0;) { $parent = ancestors[index]; --index; child = ancestors[index]; parentSemanticsClipRect = $parent.describeSemanticsClip$1(child); if (parentSemanticsClipRect != null) { _this._semanticsClipRect = parentSemanticsClipRect; _this._paintClipRect = A._SemanticsGeometry__intersectRects(_this._paintClipRect, $parent.describeApproximatePaintClip$1(child)); } else _this._semanticsClipRect = A._SemanticsGeometry__intersectRects(_this._semanticsClipRect, $parent.describeApproximatePaintClip$1(child)); t1 = $.$get$_SemanticsGeometry__temporaryTransformHolder(); t1.setIdentity$0(); A._SemanticsGeometry__applyIntermediatePaintTransforms($parent, child, A._lateReadCheck(_this.___SemanticsGeometry__transform, "_transform"), t1); _this._semanticsClipRect = A._SemanticsGeometry__transformRect(_this._semanticsClipRect, t1); _this._paintClipRect = A._SemanticsGeometry__transformRect(_this._paintClipRect, t1); } owner = B.JSArray_methods.get$first(ancestors); t1 = _this._semanticsClipRect; t1 = t1 == null ? owner.get$semanticBounds() : t1.intersect$1(owner.get$semanticBounds()); _this.___SemanticsGeometry__rect = t1; t2 = _this._paintClipRect; if (t2 != null) { paintRect = t2.intersect$1(A._lateReadCheck(t1, "_rect")); if (paintRect.get$isEmpty(paintRect)) { t1 = A._lateReadCheck(_this.___SemanticsGeometry__rect, "_rect"); t1 = !t1.get$isEmpty(t1); } else t1 = false; _this._markAsHidden = t1; if (!t1) _this.___SemanticsGeometry__rect = paintRect; } } }; A.DiagnosticsDebugCreator.prototype = {}; A._RenderObject_AbstractNode_DiagnosticableTreeMixin.prototype = {}; A.TextParentData.prototype = { toString$0(_) { var t1 = A._setArrayType(["offset=" + A.S(this.offset)], type$.JSArray_String), t2 = this.scale; if (t2 != null) t1.push("scale=" + A.S(t2)); t1.push(this.super$BoxParentData$toString(0)); return B.JSArray_methods.join$1(t1, "; "); } }; A.PlaceholderSpanIndexSemanticsTag.prototype = { $eq(_, other) { if (other == null) return false; return other instanceof A.PlaceholderSpanIndexSemanticsTag && other.index === this.index; }, get$hashCode(_) { return A.hashValues(B.Type_I8o, this.index, 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, 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.RenderParagraph.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.TextParentData)) child.parentData = new A.TextParentData(null, null, B.Offset_0_0); }, get$text(_) { var t1 = this._paragraph$_textPainter._text_painter$_text; t1.toString; return t1; }, set$text(_, value) { var _this = this, t1 = _this._paragraph$_textPainter; switch (t1._text_painter$_text.compareTo$1(0, value).index) { case 0: case 1: return; case 2: t1.set$text(0, value); _this._paragraph$_cachedCombinedSemanticsInfos = _this._cachedAttributedLabel = null; _this._extractPlaceholderSpans$1(value); _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); break; case 3: t1.set$text(0, value); _this._paragraph$_cachedCombinedSemanticsInfos = _this._cachedAttributedLabel = _this._overflowShader = null; _this._extractPlaceholderSpans$1(value); _this.markNeedsLayout$0(); break; } }, _extractPlaceholderSpans$1(span) { this.__RenderParagraph__placeholderSpans = A._setArrayType([], type$.JSArray_PlaceholderSpan); span.visitChildren$1(new A.RenderParagraph__extractPlaceholderSpans_closure(this)); }, set$textAlign(_, value) { var t1 = this._paragraph$_textPainter; if (t1._textAlign === value) return; t1.set$textAlign(0, value); this.markNeedsPaint$0(); }, set$textDirection(_, value) { var t1 = this._paragraph$_textPainter; if (t1._text_painter$_textDirection === value) return; t1.set$textDirection(0, value); this.markNeedsLayout$0(); }, set$softWrap(value) { if (this._softWrap === value) return; this._softWrap = value; this.markNeedsLayout$0(); }, set$overflow(_, value) { var t1, _this = this; if (_this._paragraph$_overflow === value) return; _this._paragraph$_overflow = value; t1 = value === B.TextOverflow_2 ? "\u2026" : null; _this._paragraph$_textPainter.set$ellipsis(0, t1); _this.markNeedsLayout$0(); }, set$textScaleFactor(value) { var t1 = this._paragraph$_textPainter; if (t1._textScaleFactor === value) return; t1.set$textScaleFactor(value); this._overflowShader = null; this.markNeedsLayout$0(); }, set$maxLines(_, value) { var t1 = this._paragraph$_textPainter; if (t1._maxLines == value) return; t1.set$maxLines(0, value); this._overflowShader = null; this.markNeedsLayout$0(); }, set$locale(_, value) { var t1 = this._paragraph$_textPainter; if (J.$eq$(t1._text_painter$_locale, value)) return; t1.set$locale(0, value); this._overflowShader = null; this.markNeedsLayout$0(); }, set$strutStyle(_, value) { var t1 = this._paragraph$_textPainter; if (J.$eq$(t1._strutStyle, value)) return; t1.set$strutStyle(0, value); this._overflowShader = null; this.markNeedsLayout$0(); }, set$textWidthBasis(value) { var t1 = this._paragraph$_textPainter; if (t1._textWidthBasis === value) return; t1.set$textWidthBasis(value); this._overflowShader = null; this.markNeedsLayout$0(); }, set$textHeightBehavior(_, value) { return; }, computeMinIntrinsicWidth$1(height) { var _this = this; if (!_this._canComputeIntrinsics$0()) return 0; _this._computeChildrenWidthWithMinIntrinsics$1(height); _this._paragraph$_layoutText$0(); return Math.ceil(_this._paragraph$_textPainter._paragraph.get$minIntrinsicWidth()); }, computeMaxIntrinsicWidth$1(height) { var _this = this; if (!_this._canComputeIntrinsics$0()) return 0; _this._computeChildrenWidthWithMaxIntrinsics$1(height); _this._paragraph$_layoutText$0(); return Math.ceil(_this._paragraph$_textPainter._paragraph.get$maxIntrinsicWidth()); }, _computeIntrinsicHeight$1(width) { var t1, _this = this; if (!_this._canComputeIntrinsics$0()) return 0; _this._computeChildrenHeightWithMinIntrinsics$1(width); _this._paragraph$_layoutText$2$maxWidth$minWidth(width, width); t1 = _this._paragraph$_textPainter._paragraph; return Math.ceil(t1.get$height(t1)); }, computeMinIntrinsicHeight$1(width) { return this._computeIntrinsicHeight$1(width); }, computeMaxIntrinsicHeight$1(width) { return this._computeIntrinsicHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { this._layoutTextWithConstraints$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this))); return this._paragraph$_textPainter.computeDistanceToActualBaseline$1(B.TextBaseline_0); }, _canComputeIntrinsics$0() { var t1, t2, _i; for (t1 = A._lateReadCheck(this.__RenderParagraph__placeholderSpans, "_placeholderSpans"), t2 = t1.length, _i = 0; _i < t2; ++_i) switch (t1[_i].alignment.index) { case 0: case 1: case 2: return false; case 3: case 5: case 4: continue; } return true; }, _computeChildrenWidthWithMaxIntrinsics$1(height) { var t1, childIndex, t2, _this = this, _s17_ = "_placeholderSpans", child = _this.ContainerRenderObjectMixin__firstChild, placeholderDimensions = A.List_List$filled(_this.ContainerRenderObjectMixin__childCount, B.PlaceholderDimensions_8eb, false, type$.PlaceholderDimensions); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), childIndex = 0; child != null;) { t2 = child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()); J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).toString; placeholderDimensions[childIndex] = new A.PlaceholderDimensions(new A.Size(t2, 0), null, J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).baseline); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; ++childIndex; } _this._paragraph$_textPainter.setPlaceholderDimensions$1(placeholderDimensions); }, _computeChildrenWidthWithMinIntrinsics$1(height) { var t1, childIndex, t2, _this = this, _s17_ = "_placeholderSpans", child = _this.ContainerRenderObjectMixin__firstChild, placeholderDimensions = A.List_List$filled(_this.ContainerRenderObjectMixin__childCount, B.PlaceholderDimensions_8eb, false, type$.PlaceholderDimensions); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), childIndex = 0; child != null;) { t2 = child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, child.get$computeMinIntrinsicWidth()); J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).toString; placeholderDimensions[childIndex] = new A.PlaceholderDimensions(new A.Size(t2, 0), null, J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).baseline); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; ++childIndex; } _this._paragraph$_textPainter.setPlaceholderDimensions$1(placeholderDimensions); }, _computeChildrenHeightWithMinIntrinsics$1(width) { var t2, childIndex, size, t3, _this = this, _s17_ = "_placeholderSpans", child = _this.ContainerRenderObjectMixin__firstChild, placeholderDimensions = A.List_List$filled(_this.ContainerRenderObjectMixin__childCount, B.PlaceholderDimensions_8eb, false, type$.PlaceholderDimensions), t1 = _this._paragraph$_textPainter; width /= t1._textScaleFactor; for (t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), childIndex = 0; child != null;) { size = child.getDryLayout$1(new A.BoxConstraints(0, width, 0, 1 / 0)); J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).toString; placeholderDimensions[childIndex] = new A.PlaceholderDimensions(size, null, J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).baseline); t3 = child.parentData; t3.toString; child = t2._as(t3).ContainerParentDataMixin_nextSibling; ++childIndex; } t1.setPlaceholderDimensions$1(placeholderDimensions); }, hitTestSelf$1(position) { return true; }, hitTestChildren$2$position(result, position) { var t2, hitText, t3, t4, childIndex, t5, t6, t7, transform, child, _box_0 = {}, t1 = this._paragraph$_textPainter, textPosition = t1._paragraph.getPositionForOffset$1(position), span = t1._text_painter$_text.getSpanForPosition$1(textPosition); if (span != null && type$.HitTestTarget._is(span)) { t2 = new A.HitTestEntry(type$.HitTestTarget._as(span)); result._globalizeTransforms$0(); t2._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t2); hitText = true; } else hitText = false; t2 = _box_0.child = this.ContainerRenderObjectMixin__firstChild; t3 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"); t4 = type$.TextParentData; childIndex = 0; while (true) { if (!(t2 != null && childIndex < t1._inlinePlaceholderBoxes.length)) break; t2 = t2.parentData; t2.toString; t4._as(t2); t5 = t2.offset; t6 = t5._dx; t5 = t5._dy; t7 = new Float64Array(16); transform = new A.Matrix4(t7); transform.setIdentity$0(); t7[14] = 0; t7[13] = t5; t7[12] = t6; t6 = t2.scale; transform.scale$3(0, t6, t6, t6); if (result.addWithPaintTransform$3$hitTest$position$transform(new A.RenderParagraph_hitTestChildren_closure(_box_0, position, t2), position, transform)) return true; t2 = _box_0.child.parentData; t2.toString; child = t3._as(t2).ContainerParentDataMixin_nextSibling; _box_0.child = child; ++childIndex; t2 = child; } return hitText; }, _paragraph$_layoutText$2$maxWidth$minWidth(maxWidth, minWidth) { var t1 = this._softWrap || this._paragraph$_overflow === B.TextOverflow_2 ? maxWidth : 1 / 0; this._paragraph$_textPainter.layout$2$maxWidth$minWidth(0, t1, minWidth); }, _paragraph$_layoutText$0() { return this._paragraph$_layoutText$2$maxWidth$minWidth(1 / 0, 0); }, systemFontsDidChange$0() { this.super$RelayoutWhenSystemFontsChangeMixin$systemFontsDidChange(); this._paragraph$_textPainter.markNeedsLayout$0(); }, _layoutTextWithConstraints$1(constraints) { this._paragraph$_textPainter.setPlaceholderDimensions$1(this._paragraph$_placeholderDimensions); this._paragraph$_layoutText$2$maxWidth$minWidth(constraints.maxWidth, constraints.minWidth); }, _paragraph$_layoutChildren$2$dry(constraints, dry) { var child, placeholderDimensions, boxConstraints, t2, childIndex, t3, t4, baselineOffset, childSize, _this = this, _s17_ = "_placeholderSpans", t1 = _this.ContainerRenderObjectMixin__childCount; if (t1 === 0) return A._setArrayType([], type$.JSArray_PlaceholderDimensions); child = _this.ContainerRenderObjectMixin__firstChild; placeholderDimensions = A.List_List$filled(t1, B.PlaceholderDimensions_8eb, false, type$.PlaceholderDimensions); boxConstraints = new A.BoxConstraints(0, constraints.maxWidth, 0, 1 / 0).$div(0, _this._paragraph$_textPainter._textScaleFactor); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t2 = !dry, childIndex = 0; child != null;) { if (t2) { child.layout$2$parentUsesSize(0, boxConstraints, true); t3 = child._size; t3.toString; switch (J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).alignment.index) { case 0: t4 = J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).baseline; t4.toString; baselineOffset = child.getDistanceToBaseline$1(t4); break; case 1: case 2: case 4: case 5: case 3: baselineOffset = null; break; default: baselineOffset = null; } childSize = t3; } else { childSize = child.getDryLayout$1(boxConstraints); baselineOffset = null; } J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).toString; placeholderDimensions[childIndex] = new A.PlaceholderDimensions(childSize, baselineOffset, J.$index$asx(A._lateReadCheck(_this.__RenderParagraph__placeholderSpans, _s17_), childIndex).baseline); t3 = child.parentData; t3.toString; child = t1._as(t3).ContainerParentDataMixin_nextSibling; ++childIndex; } return placeholderDimensions; }, _paragraph$_layoutChildren$1(constraints) { return this._paragraph$_layoutChildren$2$dry(constraints, false); }, _paragraph$_setParentData$0() { var t4, t5, child = this.ContainerRenderObjectMixin__firstChild, t1 = type$.TextParentData, t2 = this._paragraph$_textPainter, t3 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), childIndex = 0; while (true) { if (!(child != null && childIndex < t2._inlinePlaceholderBoxes.length)) break; t4 = child.parentData; t4.toString; t1._as(t4); t5 = t2._inlinePlaceholderBoxes[childIndex]; t4.offset = new A.Offset(t5.left, t5.top); t4.scale = t2._inlinePlaceholderScales[childIndex]; child = t3._as(t4).ContainerParentDataMixin_nextSibling; ++childIndex; } }, _paragraph$_canComputeDryLayout$0() { var t1, t2, _i; for (t1 = A._lateReadCheck(this.__RenderParagraph__placeholderSpans, "_placeholderSpans"), t2 = t1.length, _i = 0; _i < t2; ++_i) switch (t1[_i].alignment.index) { case 0: case 1: case 2: return false; case 3: case 5: case 4: continue; } return true; }, computeDryLayout$1(constraints) { var t1, t2, _this = this; if (!_this._paragraph$_canComputeDryLayout$0()) return B.Size_0_0; t1 = _this._paragraph$_textPainter; t1.setPlaceholderDimensions$1(_this._paragraph$_layoutChildren$2$dry(constraints, true)); _this._paragraph$_layoutText$2$maxWidth$minWidth(constraints.maxWidth, constraints.minWidth); t2 = t1.get$width(t1); t1 = t1._paragraph; return constraints.constrain$1(new A.Size(t2, Math.ceil(t1.get$height(t1)))); }, performLayout$0() { var t1, t2, t3, t4, didOverflowHeight, didOverflowWidth, fadeSizePainter, fadeStart, fadeEnd, _this = this, _null = null, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._paragraph$_placeholderDimensions = _this._paragraph$_layoutChildren$1(constraints); _this._layoutTextWithConstraints$1(constraints); _this._paragraph$_setParentData$0(); t1 = _this._paragraph$_textPainter; t2 = t1.get$width(t1); t3 = t1._paragraph; t3 = Math.ceil(t3.get$height(t3)); t4 = t1._paragraph; didOverflowHeight = t4.get$didExceedMaxLines(t4); t4 = _this._size = constraints.constrain$1(new A.Size(t2, t3)); didOverflowHeight = t4._dy < t3 || didOverflowHeight; didOverflowWidth = t4._dx < t2; if (didOverflowWidth || didOverflowHeight) switch (_this._paragraph$_overflow.index) { case 3: _this._needsClipping = false; _this._overflowShader = null; break; case 0: case 2: _this._needsClipping = true; _this._overflowShader = null; break; case 1: _this._needsClipping = true; t2 = A.TextSpan$(_null, _null, _null, _null, t1._text_painter$_text.style, "\u2026"); t3 = t1._text_painter$_textDirection; t3.toString; t4 = t1._textScaleFactor; fadeSizePainter = A.TextPainter$(_null, t1._text_painter$_locale, _null, _null, t2, B.TextAlign_4, t3, _null, t4, B.TextWidthBasis_0); fadeSizePainter.layout$0(0); if (didOverflowWidth) { switch (t1._text_painter$_textDirection.index) { case 0: fadeStart = fadeSizePainter.get$width(fadeSizePainter); fadeEnd = 0; break; case 1: fadeEnd = _this._size._dx; fadeStart = fadeEnd - fadeSizePainter.get$width(fadeSizePainter); break; default: fadeStart = _null; fadeEnd = fadeStart; } _this._overflowShader = A.Gradient_Gradient$linear(new A.Offset(fadeStart, 0), new A.Offset(fadeEnd, 0), A._setArrayType([B.Color_4294967295, B.Color_16777215], type$.JSArray_Color), _null, B.TileMode_0, _null); } else { fadeEnd = _this._size._dy; t1 = fadeSizePainter._paragraph; _this._overflowShader = A.Gradient_Gradient$linear(new A.Offset(0, fadeEnd - Math.ceil(t1.get$height(t1)) / 2), new A.Offset(0, fadeEnd), A._setArrayType([B.Color_4294967295, B.Color_16777215], type$.JSArray_Color), _null, B.TileMode_0, _null); } break; } else { _this._needsClipping = false; _this._overflowShader = null; } }, paint$2(context, offset) { var t1, t2, t3, bounds, t4, t5, t6, childIndex, t7, t8, child, paint, _this = this, _box_0 = {}; _this._layoutTextWithConstraints$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this))); if (_this._needsClipping) { t1 = _this._size; t2 = offset._dx; t3 = offset._dy; bounds = new A.Rect(t2, t3, t2 + t1._dx, t3 + t1._dy); if (_this._overflowShader != null) { t1 = context.get$canvas(context); t2 = A._detectRenderer(); t1.saveLayer$2(0, bounds, t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData())); } else context.get$canvas(context).save$0(0); context.get$canvas(context).clipRect$1(0, bounds); } t1 = _this._paragraph$_textPainter; t1.paint$2(context.get$canvas(context), offset); t2 = _box_0.child = _this.ContainerRenderObjectMixin__firstChild; t3 = type$.TextParentData; t4 = offset._dx; t5 = offset._dy; t6 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); childIndex = 0; while (true) { if (!(t2 != null && childIndex < t1._inlinePlaceholderBoxes.length)) break; t2 = t2.parentData; t2.toString; t3._as(t2); t7 = t2.scale; t7.toString; t8 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = t2.offset; context.pushTransform$4(t8, new A.Offset(t4 + t2._dx, t5 + t2._dy), A.Matrix4_Matrix4$diagonal3Values(t7, t7, t7), new A.RenderParagraph_paint_closure(_box_0)); t7 = _box_0.child.parentData; t7.toString; child = t6._as(t7).ContainerParentDataMixin_nextSibling; _box_0.child = child; ++childIndex; t2 = child; } if (_this._needsClipping) { if (_this._overflowShader != null) { context.get$canvas(context).translate$2(0, t4, t5); t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$blendMode(B.BlendMode_13); paint.set$shader(_this._overflowShader); t1 = context.get$canvas(context); t2 = _this._size; t1.drawRect$2(0, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy), paint); } context.get$canvas(context).restore$0(0); } }, describeSemanticsConfiguration$1(config) { var t1, t2, collector, buffer, attributes, t3, offset, _i, t4, info, label, t5, _i0, infoAttribute, originalRange, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); t1 = _this._paragraph$_textPainter; t2 = t1._text_painter$_text; t2.toString; collector = A._setArrayType([], type$.JSArray_InlineSpanSemanticsInformation); t2.computeSemanticsInformation$1(collector); _this._semanticsInfo = collector; if (B.JSArray_methods.any$1(collector, new A.RenderParagraph_describeSemanticsConfiguration_closure())) config._isSemanticBoundary = config.explicitChildNodes = true; else { t2 = _this._cachedAttributedLabel; if (t2 == null) { buffer = new A.StringBuffer(""); attributes = A._setArrayType([], type$.JSArray_StringAttribute); for (t2 = _this._semanticsInfo, t3 = t2.length, offset = 0, _i = 0, t4 = ""; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { info = t2[_i]; label = info.semanticsLabel; if (label == null) label = info.text; for (t4 = info.stringAttributes, t5 = t4.length, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0) { infoAttribute = t4[_i0]; originalRange = infoAttribute.range; attributes.push(infoAttribute.copy$1$range(0, new A.TextRange(offset + originalRange.start, offset + originalRange.end))); } t4 = buffer._contents += label; offset += label.length; } t2 = _this._cachedAttributedLabel = new A.AttributedString(t4.charCodeAt(0) == 0 ? t4 : t4, attributes); } config._semantics$_attributedLabel = t2; config._hasBeenAnnotated = true; t1 = t1._text_painter$_textDirection; t1.toString; config._semantics$_textDirection = t1; } }, assembleSemanticsNode$3(node, config, children) { var child, newChildCache, t3, t4, t5, t6, t7, currentRect, currentDirection, ordinal, start, placeholderIndex, childIndex, _i, info, start0, t8, t9, childNode, t10, t11, rects, rect, currentDirection0, configuration, ordinal0, recognizer, newChild, _this = this, _null = null, newChildren = A._setArrayType([], type$.JSArray_SemanticsNode), t1 = _this._paragraph$_textPainter, t2 = t1._text_painter$_textDirection; t2.toString; child = _this.ContainerRenderObjectMixin__firstChild; newChildCache = A.ListQueue$(_null, type$.SemanticsNode); t3 = _this._paragraph$_cachedCombinedSemanticsInfos; if (t3 == null) { t3 = _this._semanticsInfo; t3.toString; t3 = _this._paragraph$_cachedCombinedSemanticsInfos = A.combineSemanticsInfo(t3); } for (t4 = t3.length, t5 = type$.BoxConstraints, t6 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t7 = type$.TextParentData, currentRect = _null, currentDirection = t2, ordinal = 0, start = 0, placeholderIndex = 0, childIndex = 0, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i, start = start0) { info = t3[_i]; t2 = info.text; start0 = start + t2.length; t8 = start < start0; t9 = t8 ? start0 : start; t8 = t8 ? start : start0; if (info.isPlaceholder) { while (true) { if (children.length > childIndex) { t2 = children[childIndex]; t8 = "PlaceholderSpanIndexSemanticsTag(" + placeholderIndex + ")"; t2 = t2.tags; t2 = t2 != null && t2.contains$1(0, new A.PlaceholderSpanIndexSemanticsTag(placeholderIndex, t8)); } else t2 = false; if (!t2) break; childNode = children[childIndex]; t2 = child.parentData; t2.toString; t2 = t7._as(t2).scale; if (t2 != null) { t8 = childNode._semantics$_rect; t9 = t8.left; t10 = t8.top; t2 = new A.Rect(t9, t10, t9 + (t8.right - t9) * t2, t10 + (t8.bottom - t10) * t2); if (!t8.$eq(0, t2)) { childNode._semantics$_rect = t2; childNode._semantics$_markDirty$0(); } newChildren.push(childNode); } ++childIndex; } t2 = child.parentData; t2.toString; child = t6._as(t2).ContainerParentDataMixin_nextSibling; ++placeholderIndex; } else { t10 = t5._as(A.RenderObject.prototype.get$constraints.call(_this)); t1.setPlaceholderDimensions$1(_this._paragraph$_placeholderDimensions); t11 = t10.maxWidth; t11 = _this._softWrap || _this._paragraph$_overflow === B.TextOverflow_2 ? t11 : 1 / 0; t1.layout$2$maxWidth$minWidth(0, t11, t10.minWidth); rects = t1._paragraph.getBoxesForRange$4$boxHeightStyle$boxWidthStyle(t8, t9, B.BoxHeightStyle_0, B.BoxWidthStyle_0); if (rects.length === 0) continue; t8 = B.JSArray_methods.get$first(rects); rect = new A.Rect(t8.left, t8.top, t8.right, t8.bottom); currentDirection0 = B.JSArray_methods.get$first(rects).direction; for (t8 = A._arrayInstanceType(rects), t9 = t8._eval$1("SubListIterable<1>"), t10 = new A.SubListIterable(rects, 1, _null, t9), t10.SubListIterable$3(rects, 1, _null, t8._precomputed1), t10 = new A.ListIterator(t10, t10.get$length(t10), t9._eval$1("ListIterator<ListIterable.E>")), t9 = t9._eval$1("ListIterable.E"); t10.moveNext$0();) { t8 = t9._as(t10.__internal$_current); rect = rect.expandToInclude$1(new A.Rect(t8.left, t8.top, t8.right, t8.bottom)); currentDirection0 = t8.direction; } t8 = rect.left; t9 = Math.max(0, t8); t10 = rect.top; t11 = Math.max(0, t10); t8 = Math.min(rect.right - t8, t5._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth); t10 = Math.min(rect.bottom - t10, t5._as(A.RenderObject.prototype.get$constraints.call(_this)).maxHeight); currentRect = new A.Rect(Math.floor(t9) - 4, Math.floor(t11) - 4, Math.ceil(t9 + t8) + 4, Math.ceil(t11 + t10) + 4); configuration = A.SemanticsConfiguration$(); ordinal0 = ordinal + 1; configuration._semantics$_sortKey = new A.OrdinalSortKey(ordinal, _null); configuration._hasBeenAnnotated = true; configuration._semantics$_textDirection = currentDirection; t10 = info.semanticsLabel; t2 = t10 == null ? t2 : t10; configuration._semantics$_attributedLabel = new A.AttributedString(t2, info.stringAttributes); recognizer = info.recognizer; if (recognizer != null) { t2 = recognizer.onTap; if (t2 != null) { configuration._addArgumentlessAction$2(B.SemanticsAction_1, t2); configuration._semantics$_onTap = t2; configuration._setFlag$2(B.SemanticsFlag_4194304, true); } } t2 = _this._paragraph$_cachedChildNodes; newChild = (t2 == null ? _null : !t2.get$isEmpty(t2)) === true ? _this._paragraph$_cachedChildNodes.removeFirst$0() : A.SemanticsNode$(_null, _null); newChild.updateWith$1$config(0, configuration); if (!newChild._semantics$_rect.$eq(0, currentRect)) { newChild._semantics$_rect = currentRect; newChild._semantics$_markDirty$0(); } newChildCache._add$1(0, newChild); newChildren.push(newChild); ordinal = ordinal0; currentDirection = currentDirection0; } } _this._paragraph$_cachedChildNodes = newChildCache; node.updateWith$2$childrenInInversePaintOrder$config(0, newChildren, config); }, clearSemantics$0() { this.super$RenderObject$clearSemantics(); this._paragraph$_cachedChildNodes = null; }, debugDescribeChildren$0() { var t1 = this._paragraph$_textPainter._text_painter$_text; t1.toString; return A._setArrayType([A.DiagnosticableTreeNode$("text", B.DiagnosticsTreeStyle_4, t1)], type$.JSArray_DiagnosticsNode); } }; A.RenderParagraph__extractPlaceholderSpans_closure.prototype = { call$1(span) { if (span instanceof A.PlaceholderSpan0) J.add$1$ax(A._lateReadCheck(this.$this.__RenderParagraph__placeholderSpans, "_placeholderSpans"), span); return true; }, $signature: 73 }; A.RenderParagraph_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this._box_0.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A.RenderParagraph_paint_closure.prototype = { call$2(context, offset) { var t1 = this._box_0.child; t1.toString; context.paintChild$2(t1, offset); }, $signature: 28 }; A.RenderParagraph_describeSemanticsConfiguration_closure.prototype = { call$1(info) { return info.recognizer != null; }, $signature: 287 }; A._RenderParagraph_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.TextParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.TextParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderParagraph_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_RelayoutWhenSystemFontsChangeMixin.prototype = { attach$1(owner) { this.super$_RenderParagraph_RenderBox_ContainerRenderObjectMixin$attach(owner); $.PaintingBinding__instance.PaintingBinding__systemFonts._systemFontsCallbacks.add$1(0, this.get$systemFontsDidChange()); }, detach$0(_) { $.PaintingBinding__instance.PaintingBinding__systemFonts._systemFontsCallbacks.remove$1(0, this.get$systemFontsDidChange()); this.super$_RenderParagraph_RenderBox_ContainerRenderObjectMixin$detach(0); } }; A.RenderPerformanceOverlay.prototype = { set$optionsMask(value) { if (value === this._optionsMask) return; this._optionsMask = value; this.markNeedsPaint$0(); }, set$rasterizerThreshold(value) { if (value === this._rasterizerThreshold) return; this._rasterizerThreshold = value; this.markNeedsPaint$0(); }, get$sizedByParent() { return true; }, get$alwaysNeedsCompositing() { return true; }, computeMinIntrinsicWidth$1(height) { return 0; }, computeMaxIntrinsicWidth$1(height) { return 0; }, get$_intrinsicHeight() { var t1 = this._optionsMask, result = (t1 | 1) >>> 0 > 0 || (t1 | 2) >>> 0 > 0 ? 80 : 0; return (t1 | 4) >>> 0 > 0 || (t1 | 8) >>> 0 > 0 ? result + 80 : result; }, computeMinIntrinsicHeight$1(width) { return this.get$_intrinsicHeight(); }, computeMaxIntrinsicHeight$1(width) { return this.get$_intrinsicHeight(); }, computeDryLayout$1(constraints) { return constraints.constrain$1(new A.Size(1 / 0, this.get$_intrinsicHeight())); }, paint$2(context, offset) { var t5, t6, t7, t1 = offset._dx, t2 = offset._dy, t3 = this._size, t4 = t3._dx; t3 = t3._dy; t5 = this._optionsMask; t6 = this._rasterizerThreshold; t7 = A.LayerHandle$(type$.Layer_2); context.stopRecordingIfNeeded$0(); context.appendLayer$1(new A.PerformanceOverlayLayer(new A.Rect(t1, t2, t1 + t4, t2 + t3), t5, t6, false, false, t7)); } }; A.PlatformViewHitTestBehavior.prototype = { toString$0(_) { return "PlatformViewHitTestBehavior." + this._core$_name; } }; A._factoriesTypeSet_closure.prototype = { call$1(factory) { return factory.get$type(factory); }, $signature() { return this.T._eval$1("Type(Factory<0>)"); } }; A._PlatformViewGestureRecognizer.prototype = { _PlatformViewGestureRecognizer$3$supportedDevices(handlePointerEvent, gestureRecognizerFactories, supportedDevices) { var t2, _this = this, t1 = new A.GestureArenaTeam(A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._CombiningGestureArenaMember)); t1.captain = _this; _this._team = t1; t1 = _this.gestureRecognizerFactories; t2 = A._instanceType(t1)._eval$1("EfficientLengthMappedIterable<SetMixin.E,OneSequenceGestureRecognizer>"); _this.___PlatformViewGestureRecognizer__gestureRecognizers = A.LinkedHashSet_LinkedHashSet$of(new A.EfficientLengthMappedIterable(t1, new A._PlatformViewGestureRecognizer_closure(_this), t2), t2._eval$1("Iterable.E")); _this.___PlatformViewGestureRecognizer__handlePointerEvent = handlePointerEvent; }, get$_platform_view0$_handlePointerEvent() { return A._lateReadCheck(this.___PlatformViewGestureRecognizer__handlePointerEvent, "_handlePointerEvent"); }, addAllowedPointer$1($event) { var t1, t2, t3; this.super$OneSequenceGestureRecognizer$addAllowedPointer($event); for (t1 = A._lateReadCheck(this.___PlatformViewGestureRecognizer__gestureRecognizers, "_gestureRecognizers"), t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { t3 = t2._as(t1._collection$_current); t3._pointerToKind.$indexSet(0, $event.get$pointer(), $event.get$kind($event)); if (t3.isPointerAllowed$1($event)) t3.addAllowedPointer$1($event); else t3.handleNonAllowedPointer$1($event); } }, didStopTrackingLastPointer$1(pointer) { }, handleEvent$1($event) { var t1, _this = this; if (!_this.forwardedPointers.contains$1(0, $event.get$pointer())) { t1 = _this.cachedEvents; if (!t1.containsKey$1(0, $event.get$pointer())) t1.$indexSet(0, $event.get$pointer(), A._setArrayType([], type$.JSArray_PointerEvent_2)); t1.$index(0, $event.get$pointer()).push($event); } else _this._platform_view0$_handlePointerEvent$1($event); _this.stopTrackingIfPointerNoLongerDown$1($event); }, acceptGesture$1(pointer) { var t1 = this.cachedEvents.remove$1(0, pointer); if (t1 != null) J.forEach$1$ax(t1, this.get$_platform_view0$_handlePointerEvent()); this.forwardedPointers.add$1(0, pointer); }, rejectGesture$1(pointer) { this.super$OneSequenceGestureRecognizer$stopTrackingPointer(pointer); this.forwardedPointers.remove$1(0, pointer); this.cachedEvents.remove$1(0, pointer); }, stopTrackingPointer$1(pointer) { this.super$OneSequenceGestureRecognizer$stopTrackingPointer(pointer); this.forwardedPointers.remove$1(0, pointer); }, reset$0(_) { var _this = this, t1 = _this.forwardedPointers; t1.forEach$1(0, A.OneSequenceGestureRecognizer.prototype.get$stopTrackingPointer.call(_this)); t1.clear$0(0); t1 = _this.cachedEvents; t1.get$keys(t1).forEach$1(0, A.OneSequenceGestureRecognizer.prototype.get$stopTrackingPointer.call(_this)); t1.clear$0(0); _this.resolve$1(B.GestureDisposition_1); }, _platform_view0$_handlePointerEvent$1(arg0) { return this.get$_platform_view0$_handlePointerEvent().call$1(arg0); } }; A._PlatformViewGestureRecognizer_closure.prototype = { call$1(recognizerFactory) { var gestureRecognizer = recognizerFactory.constructor$0(0); gestureRecognizer.set$team(this.$this._team); gestureRecognizer.get$onLongPress(); return gestureRecognizer; }, $signature: 575 }; A.PlatformViewRenderBox.prototype = { set$controller(_, controller) { var t2, _this = this, t1 = _this._platform_view0$_controller; if (t1 === controller) return; t1 = t1.get$viewId(); t2 = controller.get$viewId(); _this._platform_view0$_controller = controller; _this.markNeedsPaint$0(); if (t1 !== t2) _this.markNeedsSemanticsUpdate$0(); }, get$sizedByParent() { return true; }, get$alwaysNeedsCompositing() { return true; }, get$isRepaintBoundary() { return true; }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, paint$2(context, offset) { var t5, t6, t1 = this._size, t2 = offset._dx, t3 = offset._dy, t4 = t1._dx; t1 = t1._dy; t5 = this._platform_view0$_controller.get$viewId(); t6 = A.LayerHandle$(type$.Layer_2); context.stopRecordingIfNeeded$0(); context.appendLayer$1(new A.PlatformViewLayer(new A.Rect(t2, t3, t2 + t4, t3 + t1), t5, t6)); }, describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config._isSemanticBoundary = true; config.set$platformViewId(this._platform_view0$_controller.get$viewId()); }, $isMouseTrackerAnnotation: 1 }; A._PlatformViewGestureMixin.prototype = { set$hitTestBehavior(value) { var _this = this; if (value !== _this._PlatformViewGestureMixin__hitTestBehavior) { _this._PlatformViewGestureMixin__hitTestBehavior = value; if (_this.get$owner() != null) _this.markNeedsPaint$0(); } }, _updateGestureRecognizersWithCallBack$2(gestureRecognizers, handlePointerEvent) { var _this = this, t1 = _this._PlatformViewGestureMixin__gestureRecognizer; t1 = t1 == null ? null : t1.gestureRecognizerFactories; if (A._factoryTypesSetEquals(gestureRecognizers, t1, type$.OneSequenceGestureRecognizer)) return; t1 = _this._PlatformViewGestureMixin__gestureRecognizer; if (t1 != null) t1.dispose$0(0); _this._PlatformViewGestureMixin__gestureRecognizer = A._PlatformViewGestureRecognizer$(handlePointerEvent, gestureRecognizers); _this._PlatformViewGestureMixin__handlePointerEvent = handlePointerEvent; }, hitTest$2$position(result, position) { var t1, _this = this; if (_this._PlatformViewGestureMixin__hitTestBehavior === B.PlatformViewHitTestBehavior_2 || !_this._size.contains$1(0, position)) return false; t1 = new A.BoxHitTestEntry(position, _this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); return _this._PlatformViewGestureMixin__hitTestBehavior === B.PlatformViewHitTestBehavior_0; }, hitTestSelf$1(position) { return this._PlatformViewGestureMixin__hitTestBehavior !== B.PlatformViewHitTestBehavior_2; }, get$onEnter(_) { return null; }, get$onExit(_) { return null; }, get$cursor(_) { return B.C__NoopMouseCursor; }, get$validForMouseTracker() { return true; }, handleEvent$2($event, entry) { var t1; if (type$.PointerDownEvent._is($event)) this._PlatformViewGestureMixin__gestureRecognizer.addPointer$1($event); if (type$.PointerHoverEvent._is($event)) { t1 = this._PlatformViewGestureMixin__handlePointerEvent; if (t1 != null) t1.call$1($event); } } }; A._PlatformViewRenderBox_RenderBox__PlatformViewGestureMixin.prototype = { detach$0(_) { this._PlatformViewGestureMixin__gestureRecognizer.reset$0(0); this.super$AbstractNode$detach(0); } }; A.RenderProxyBox.prototype = {}; A.RenderProxyBoxMixin.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.ParentData)) child.parentData = new A.ParentData(); }, computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); return 0; }, computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1.getDryLayout$1(constraints); return this.computeSizeForNoChild$1(constraints); }, performLayout$0() { var _this = this, t1 = _this.RenderObjectWithChildMixin__child, t2 = type$.BoxConstraints; if (t1 != null) { t1.layout$2$parentUsesSize(0, t2._as(A.RenderObject.prototype.get$constraints.call(_this)), true); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; _this._size = t1; } else _this._size = _this.computeSizeForNoChild$1(t2._as(A.RenderObject.prototype.get$constraints.call(_this))); }, computeSizeForNoChild$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); }, hitTestChildren$2$position(result, position) { var t1 = this.RenderObjectWithChildMixin__child; t1 = t1 == null ? null : t1.hitTest$2$position(result, position); return t1 === true; }, applyPaintTransform$2(child, transform) { }, paint$2(context, offset) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); } }; A.HitTestBehavior.prototype = { toString$0(_) { return "HitTestBehavior." + this._core$_name; } }; A.RenderProxyBoxWithHitTestBehavior.prototype = { hitTest$2$position(result, position) { var hitTarget, t1, _this = this; if (_this._size.contains$1(0, position)) { hitTarget = _this.hitTestChildren$2$position(result, position) || _this.behavior === B.HitTestBehavior_1; if (hitTarget || _this.behavior === B.HitTestBehavior_2) { t1 = new A.BoxHitTestEntry(position, _this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); } } else hitTarget = false; return hitTarget; }, hitTestSelf$1(position) { return this.behavior === B.HitTestBehavior_1; } }; A.RenderConstrainedBox.prototype = { set$additionalConstraints(value) { if (this._additionalConstraints.$eq(0, value)) return; this._additionalConstraints = value; this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var width, t1 = this._additionalConstraints, t2 = t1.maxWidth; if (t2 < 1 / 0 && t1.minWidth >= t2) return t1.minWidth; width = this.super$RenderProxyBoxMixin$computeMinIntrinsicWidth(height); t1 = this._additionalConstraints; t2 = t1.minWidth; if (!(t2 >= 1 / 0)) return B.JSNumber_methods.clamp$2(width, t2, t1.maxWidth); return width; }, computeMaxIntrinsicWidth$1(height) { var width, t1 = this._additionalConstraints, t2 = t1.maxWidth; if (t2 < 1 / 0 && t1.minWidth >= t2) return t1.minWidth; width = this.super$RenderProxyBoxMixin$computeMaxIntrinsicWidth(height); t1 = this._additionalConstraints; t2 = t1.minWidth; if (!(t2 >= 1 / 0)) return B.JSNumber_methods.clamp$2(width, t2, t1.maxWidth); return width; }, computeMinIntrinsicHeight$1(width) { var height, t1 = this._additionalConstraints, t2 = t1.maxHeight; if (t2 < 1 / 0 && t1.minHeight >= t2) return t1.minHeight; height = this.super$RenderProxyBoxMixin$computeMinIntrinsicHeight(width); t1 = this._additionalConstraints; t2 = t1.minHeight; if (!(t2 >= 1 / 0)) return B.JSNumber_methods.clamp$2(height, t2, t1.maxHeight); return height; }, computeMaxIntrinsicHeight$1(width) { var height, t1 = this._additionalConstraints, t2 = t1.maxHeight; if (t2 < 1 / 0 && t1.minHeight >= t2) return t1.minHeight; height = this.super$RenderProxyBoxMixin$computeMaxIntrinsicHeight(width); t1 = this._additionalConstraints; t2 = t1.minHeight; if (!(t2 >= 1 / 0)) return B.JSNumber_methods.clamp$2(height, t2, t1.maxHeight); return height; }, performLayout$0() { var _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this.RenderObjectWithChildMixin__child, t2 = _this._additionalConstraints; if (t1 != null) { t1.layout$2$parentUsesSize(0, t2.enforce$1(constraints), true); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; _this._size = t1; } else _this._size = t2.enforce$1(constraints).constrain$1(B.Size_0_0); }, computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child, t2 = this._additionalConstraints; if (t1 != null) return t1.getDryLayout$1(t2.enforce$1(constraints)); else return t2.enforce$1(constraints).constrain$1(B.Size_0_0); } }; A.RenderLimitedBox.prototype = { set$maxWidth(_, value) { if (this._maxWidth === value) return; this._maxWidth = value; this.markNeedsLayout$0(); }, set$maxHeight(_, value) { if (this._maxHeight === value) return; this._maxHeight = value; this.markNeedsLayout$0(); }, _limitConstraints$1(constraints) { var t3, t4, t1 = constraints.minWidth, t2 = constraints.maxWidth; t2 = t2 < 1 / 0 ? t2 : B.JSInt_methods.clamp$2(this._maxWidth, t1, t2); t3 = constraints.minHeight; t4 = constraints.maxHeight; return new A.BoxConstraints(t1, t2, t3, t4 < 1 / 0 ? t4 : B.JSInt_methods.clamp$2(this._maxHeight, t3, t4)); }, _proxy_box$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return constraints.constrain$1(layoutChild.call$2(t1, this._limitConstraints$1(constraints))); return this._limitConstraints$1(constraints).constrain$1(B.Size_0_0); }, computeDryLayout$1(constraints) { return this._proxy_box$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { this._size = this._proxy_box$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); } }; A.RenderAspectRatio.prototype = { set$aspectRatio(_, value) { if (this._aspectRatio === value) return; this._aspectRatio = value; this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var t1; if (isFinite(height)) return height * this._aspectRatio; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1; if (isFinite(height)) return height * this._aspectRatio; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return 0; }, computeMinIntrinsicHeight$1(width) { var t1; if (isFinite(width)) return width / this._aspectRatio; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1; if (isFinite(width)) return width / this._aspectRatio; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); return 0; }, _applyAspectRatio$1(constraints) { var t1, height, width1, height0, width = constraints.minWidth, width0 = constraints.maxWidth; if (width >= width0 && constraints.minHeight >= constraints.maxHeight) return new A.Size(B.JSInt_methods.clamp$2(0, width, width0), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); t1 = this._aspectRatio; if (isFinite(width0)) { height = width0 / t1; width1 = width0; } else { height = constraints.maxHeight; width1 = height * t1; } if (width1 > width0) height = width0 / t1; else width0 = width1; height0 = constraints.maxHeight; if (height > height0) { width0 = height0 * t1; height = height0; } if (width0 < width) height = width / t1; else width = width0; height0 = constraints.minHeight; if (height < height0) { width = height0 * t1; height = height0; } return constraints.constrain$1(new A.Size(width, height)); }, computeDryLayout$1(constraints) { return this._applyAspectRatio$1(constraints); }, performLayout$0() { var t2, _this = this, t1 = _this._applyAspectRatio$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this))); _this._size = t1; t2 = _this.RenderObjectWithChildMixin__child; if (t2 != null) t2.layout$1(0, A.BoxConstraints$tight(t1)); } }; A.RenderIntrinsicWidth.prototype = { set$stepWidth(value) { if (value == this._stepWidth) return; this._stepWidth = value; this.markNeedsLayout$0(); }, set$stepHeight(value) { return; }, computeMinIntrinsicWidth$1(height) { return this.computeMaxIntrinsicWidth$1(height); }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return 0; return A.RenderIntrinsicWidth__applyStep(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()), this._stepWidth); }, computeMinIntrinsicHeight$1(width) { var t1, _this = this; if (_this.RenderObjectWithChildMixin__child == null) return 0; if (!isFinite(width)) width = _this.computeMaxIntrinsicWidth$1(1 / 0); t1 = _this.RenderObjectWithChildMixin__child; return A.RenderIntrinsicWidth__applyStep(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()), _this._stepHeight); }, computeMaxIntrinsicHeight$1(width) { var t1, _this = this; if (_this.RenderObjectWithChildMixin__child == null) return 0; if (!isFinite(width)) width = _this.computeMaxIntrinsicWidth$1(1 / 0); t1 = _this.RenderObjectWithChildMixin__child; return A.RenderIntrinsicWidth__applyStep(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()), _this._stepHeight); }, _proxy_box$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { if (!(constraints.minWidth >= constraints.maxWidth)) constraints = constraints.tighten$1$width(A.RenderIntrinsicWidth__applyStep(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, constraints.maxHeight, t1.get$computeMaxIntrinsicWidth()), this._stepWidth)); t1 = this.RenderObjectWithChildMixin__child; t1.toString; return layoutChild.call$2(t1, constraints); } else return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); }, computeDryLayout$1(constraints) { return this._proxy_box$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { this._size = this._proxy_box$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); } }; A.RenderIntrinsicHeight.prototype = { computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return 0; if (!isFinite(height)) height = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 1 / 0, t1.get$computeMaxIntrinsicHeight()); t1 = this.RenderObjectWithChildMixin__child; return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return 0; if (!isFinite(height)) height = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 1 / 0, t1.get$computeMaxIntrinsicHeight()); t1 = this.RenderObjectWithChildMixin__child; return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); }, computeMinIntrinsicHeight$1(width) { return this.computeMaxIntrinsicHeight$1(width); }, _proxy_box$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { if (!(constraints.minHeight >= constraints.maxHeight)) constraints = constraints.tighten$1$height(t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, constraints.maxWidth, t1.get$computeMaxIntrinsicHeight())); t1 = this.RenderObjectWithChildMixin__child; t1.toString; return layoutChild.call$2(t1, constraints); } else return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); }, computeDryLayout$1(constraints) { return this._proxy_box$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, performLayout$0() { this._size = this._proxy_box$_computeSize$2$constraints$layoutChild(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), A.layout_helper_ChildLayoutHelper_layoutChild$closure()); } }; A.RenderOpacity.prototype = { get$alwaysNeedsCompositing() { return this.RenderObjectWithChildMixin__child != null && this._alpha > 0; }, set$opacity(_, value) { var didNeedCompositing, t1, t2, _this = this; if (_this._proxy_box$_opacity === value) return; didNeedCompositing = _this.RenderObjectWithChildMixin__child != null && _this._alpha > 0; t1 = _this._alpha; _this._proxy_box$_opacity = value; t2 = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(value, 0, 1) * 255); _this._alpha = t2; if (didNeedCompositing !== (_this.RenderObjectWithChildMixin__child != null && t2 > 0)) _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsPaint$0(); if (t1 !== 0 !== (_this._alpha !== 0) && true) _this.markNeedsSemanticsUpdate$0(); }, set$alwaysIncludeSemantics(value) { return; }, paint$2(context, offset) { var t1, t2, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._alpha; if (t1 === 0) { _this._layerHandle.set$layer(0, null); return; } t2 = _this._layerHandle; t2.set$layer(0, context.pushOpacity$4$oldLayer(offset, t1, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), type$.nullable_OpacityLayer._as(t2._layer))); } }, visitChildrenForSemantics$1(visitor) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t2 = this._alpha !== 0 || false; else t2 = false; if (t2) { t1.toString; visitor.call$1(t1); } } }; A.RenderAnimatedOpacityMixin.prototype = { get$alwaysNeedsCompositing() { if (this.RenderObjectWithChildMixin__child != null) { var t1 = this.RenderAnimatedOpacityMixin__currentlyNeedsCompositing; t1.toString; } else t1 = false; return t1; }, set$opacity(_, value) { var _this = this, t1 = _this.RenderAnimatedOpacityMixin__opacity; if (t1 === value) return; if (_this._node$_owner != null && t1 != null) t1.removeListener$1(0, _this.get$_updateOpacity()); _this.RenderAnimatedOpacityMixin__opacity = value; if (_this._node$_owner != null) value.addListener$1(0, _this.get$_updateOpacity()); _this._updateOpacity$0(); }, set$alwaysIncludeSemantics(value) { if (value === this.RenderAnimatedOpacityMixin__alwaysIncludeSemantics) return; this.RenderAnimatedOpacityMixin__alwaysIncludeSemantics = value; this.markNeedsSemanticsUpdate$0(); }, _updateOpacity$0() { var didNeedCompositing, _this = this, oldAlpha = _this.RenderAnimatedOpacityMixin__alpha, t1 = _this.RenderAnimatedOpacityMixin__opacity; t1 = _this.RenderAnimatedOpacityMixin__alpha = B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(t1.get$value(t1), 0, 1) * 255); if (oldAlpha !== t1) { didNeedCompositing = _this.RenderAnimatedOpacityMixin__currentlyNeedsCompositing; t1 = t1 > 0; _this.RenderAnimatedOpacityMixin__currentlyNeedsCompositing = t1; if (_this.RenderObjectWithChildMixin__child != null && didNeedCompositing !== t1) _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsPaint$0(); if (oldAlpha === 0 || _this.RenderAnimatedOpacityMixin__alpha === 0) _this.markNeedsSemanticsUpdate$0(); } }, visitChildrenForSemantics$1(visitor) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) if (this.RenderAnimatedOpacityMixin__alpha === 0) { t2 = this.RenderAnimatedOpacityMixin__alwaysIncludeSemantics; t2.toString; } else t2 = true; else t2 = false; if (t2) { t1.toString; visitor.call$1(t1); } } }; A.RenderAnimatedOpacity.prototype = {}; A.RenderBackdropFilter.prototype = { set$filter(_, value) { if (this._filter.$eq(0, value)) return; this._filter = value; this.markNeedsPaint$0(); }, set$blendMode(value) { if (this._proxy_box$_blendMode === value) return; this._proxy_box$_blendMode = value; this.markNeedsPaint$0(); }, get$alwaysNeedsCompositing() { return this.RenderObjectWithChildMixin__child != null; }, paint$2(context, offset) { var t1, t2, t3, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = type$.nullable_BackdropFilterLayer; if (t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)) == null) _this._layerHandle.set$layer(0, new A.BackdropFilterLayer(B.BlendMode_3, A.LayerHandle$(type$.Layer_2))); t2 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t3 = _this._filter; if (!t3.$eq(0, t2._layer$_filter)) { t2._layer$_filter = t3; t2.markNeedsAddToScene$0(); } t2 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t3 = _this._proxy_box$_blendMode; if (t3 !== t2._layer$_blendMode) { t2._layer$_blendMode = t3; t2.markNeedsAddToScene$0(); } t1 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t1.toString; context.pushLayer$3(t1, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), offset); } else _this._layerHandle.set$layer(0, null); } }; A.CustomClipper.prototype = { addListener$1(_, listener) { var t1 = this._reclip; return t1 == null ? null : t1.parent.addListener$1(0, listener); }, removeListener$1(_, listener) { var t1 = this._reclip; return t1 == null ? null : t1.parent.removeListener$1(0, listener); }, getApproximateClipRect$1(size) { return new A.Rect(0, 0, 0 + size._dx, 0 + size._dy); }, toString$0(_) { return "CustomClipper"; } }; A.ShapeBorderClipper.prototype = { getClip$1(size) { return this.shape.getOuterPath$2$textDirection(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), this.textDirection); }, shouldReclip$1(oldClipper) { if (A.getRuntimeType(oldClipper) !== B.Type_ShapeBorderClipper_QWG) return true; type$.ShapeBorderClipper._as(oldClipper); return !oldClipper.shape.$eq(0, this.shape) || oldClipper.textDirection != this.textDirection; } }; A._RenderCustomClip.prototype = { set$clipper(newClipper) { var t2, _this = this, t1 = _this._clipper; if (t1 == newClipper) return; _this._clipper = newClipper; t2 = newClipper == null; if (t2 || t1 == null || A.getRuntimeType(newClipper) !== A.getRuntimeType(t1) || newClipper.shouldReclip$1(t1)) _this._markNeedsClip$0(); if (_this._node$_owner != null) { if (t1 != null) t1.removeListener$1(0, _this.get$_markNeedsClip()); if (!t2) newClipper.addListener$1(0, _this.get$_markNeedsClip()); } }, attach$1(owner) { var t1; this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$attach(owner); t1 = this._clipper; if (t1 != null) t1.addListener$1(0, this.get$_markNeedsClip()); }, detach$0(_) { var t1 = this._clipper; if (t1 != null) t1.removeListener$1(0, this.get$_markNeedsClip()); this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, _markNeedsClip$0() { this._clip = null; this.markNeedsPaint$0(); this.markNeedsSemanticsUpdate$0(); }, set$clipBehavior(value) { if (value !== this._clipBehavior) { this._clipBehavior = value; this.markNeedsPaint$0(); } }, performLayout$0() { var t1, _this = this, oldSize = _this._size; oldSize = oldSize != null ? oldSize : null; _this.super$RenderProxyBoxMixin$performLayout(); t1 = _this._size; t1.toString; if (!J.$eq$(oldSize, t1)) _this._clip = null; }, _updateClip$0() { var t1, t2, _this = this; if (_this._clip == null) { t1 = _this._clipper; if (t1 == null) t1 = null; else { t2 = _this._size; t2.toString; t2 = t1.getClip$1(t2); t1 = t2; } _this._clip = t1 == null ? _this.get$_defaultClip() : t1; } }, describeApproximatePaintClip$1(child) { var t2, t1 = this._clipper; if (t1 == null) t1 = null; else { t2 = this._size; t2.toString; t2 = t1.getApproximateClipRect$1(t2); t1 = t2; } if (t1 == null) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } return t1; } }; A.RenderClipRect.prototype = { get$_defaultClip() { var t1 = this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, hitTest$2$position(result, position) { var _this = this; if (_this._clipper != null) { _this._updateClip$0(); if (!_this._clip.contains$1(0, position)) return false; } return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var t2, t3, _this = this, t1 = _this._layerHandle; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._clip; t3.toString; t1.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t2, offset, t3, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), _this._clipBehavior, type$.nullable_ClipRectLayer._as(t1._layer))); } else t1.set$layer(0, null); } }; A.RenderClipRRect.prototype = { set$borderRadius(_, value) { if (this._proxy_box$_borderRadius.$eq(0, value)) return; this._proxy_box$_borderRadius = value; this._markNeedsClip$0(); }, get$_defaultClip() { var t1 = this._proxy_box$_borderRadius, t2 = this._size; return t1.toRRect$1(new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); }, hitTest$2$position(result, position) { var _this = this; if (_this._clipper != null) { _this._updateClip$0(); if (!_this._clip.contains$1(0, position)) return false; } return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var t2, t3, _this = this, t1 = _this._layerHandle; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._clip; t1.set$layer(0, context.pushClipRRect$7$clipBehavior$oldLayer(t2, offset, new A.Rect(t3.left, t3.top, t3.right, t3.bottom), t3, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), _this._clipBehavior, type$.nullable_ClipRRectLayer._as(t1._layer))); } else t1.set$layer(0, null); } }; A.RenderClipOval.prototype = { get$_defaultClip() { var t1 = this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, hitTest$2$position(result, position) { var center, t1, _this = this; _this._updateClip$0(); center = _this._clip.get$center(); t1 = _this._clip; if (new A.Offset((position._dx - center._dx) / (t1.right - t1.left), (position._dy - center._dy) / (t1.bottom - t1.top)).get$distanceSquared() > 0.25) return false; return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var t1, t2, t3, t4, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = _this._clip; t2.toString; if (!t2.$eq(0, _this._proxy_box$_cachedRect)) { _this._proxy_box$_cachedRect = t2; t3 = A.Path_Path(); t4 = _this._proxy_box$_cachedRect; t4.toString; t3.addOval$1(0, t4); _this.__RenderClipOval__cachedPath = t3; } t3 = _this._layerHandle; t3.set$layer(0, context.pushClipPath$7$clipBehavior$oldLayer(t1, offset, t2, A._lateReadCheck(_this.__RenderClipOval__cachedPath, "_cachedPath"), A.RenderProxyBoxMixin.prototype.get$paint.call(_this), _this._clipBehavior, type$.nullable_ClipPathLayer._as(t3._layer))); } else _this._layerHandle.set$layer(0, null); } }; A.RenderClipPath.prototype = { get$_defaultClip() { var t1 = A.Path_Path(), t2 = this._size; t1.addRect$1(0, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); return t1; }, hitTest$2$position(result, position) { var _this = this; if (_this._clipper != null) { _this._updateClip$0(); if (!_this._clip.contains$1(0, position)) return false; } return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var t2, t3, t4, t5, _this = this, t1 = _this._layerHandle; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t4 = t3._dx; t3 = t3._dy; t5 = _this._clip; t5.toString; t1.set$layer(0, context.pushClipPath$7$clipBehavior$oldLayer(t2, offset, new A.Rect(0, 0, 0 + t4, 0 + t3), t5, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), _this._clipBehavior, type$.nullable_ClipPathLayer._as(t1._layer))); } else t1.set$layer(0, null); } }; A._RenderPhysicalModelBase.prototype = { set$elevation(_, value) { if (this._proxy_box$_elevation === value) return; this._proxy_box$_elevation = value; this.markNeedsPaint$0(); }, set$shadowColor(_, value) { if (this._proxy_box$_shadowColor.$eq(0, value)) return; this._proxy_box$_shadowColor = value; this.markNeedsPaint$0(); }, set$color(_, value) { if (this._proxy_box$_color.$eq(0, value)) return; this._proxy_box$_color = value; this.markNeedsPaint$0(); }, get$alwaysNeedsCompositing() { return true; }, describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config.set$elevation(0, this._proxy_box$_elevation); } }; A.RenderPhysicalModel.prototype = { set$shape(_, value) { if (this._shape === value) return; this._shape = value; this._markNeedsClip$0(); }, set$borderRadius(_, value) { if (J.$eq$(this._proxy_box$_borderRadius, value)) return; this._proxy_box$_borderRadius = value; this._markNeedsClip$0(); }, get$_defaultClip() { var t1, t2, _this = this; switch (_this._shape.index) { case 0: t1 = _this._proxy_box$_borderRadius; if (t1 == null) t1 = B.BorderRadius_tLn; t2 = _this._size; return t1.toRRect$1(new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); case 1: t1 = _this._size; t2 = 0 + t1._dx; t1 = 0 + t1._dy; return A.RRect$fromRectXY(new A.Rect(0, 0, t2, t1), (t2 - 0) / 2, (t1 - 0) / 2); } }, hitTest$2$position(result, position) { var _this = this; if (_this._clipper != null) { _this._updateClip$0(); if (!_this._clip.contains$1(0, position)) return false; } return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var offsetRRect, offsetRRectAsPath, t1, t2, t3, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); offsetRRect = _this._clip.shift$1(offset); offsetRRectAsPath = A.Path_Path(); offsetRRectAsPath.addRRect$1(0, offsetRRect); t1 = type$.nullable_PhysicalModelLayer; if (t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)) == null) _this._layerHandle.set$layer(0, A.PhysicalModelLayer$()); t2 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t2.set$clipPath(0, offsetRRectAsPath); t2.set$clipBehavior(_this._clipBehavior); t3 = _this._proxy_box$_elevation; t2.set$elevation(0, t3); t2.set$color(0, _this._proxy_box$_color); t2.set$shadowColor(0, _this._proxy_box$_shadowColor); t1 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t1.toString; context.pushLayer$4$childPaintBounds(t1, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), offset, new A.Rect(offsetRRect.left, offsetRRect.top, offsetRRect.right, offsetRRect.bottom)); } else _this._layerHandle.set$layer(0, null); } }; A.RenderPhysicalShape.prototype = { get$_defaultClip() { var t1 = A.Path_Path(), t2 = this._size; t1.addRect$1(0, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); return t1; }, hitTest$2$position(result, position) { var _this = this; if (_this._clipper != null) { _this._updateClip$0(); if (!_this._clip.contains$1(0, position)) return false; } return _this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { var t1, t2, t3, t4, offsetPath, t5, t6, t7, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { _this._updateClip$0(); t1 = _this._size; t2 = offset._dx; t3 = offset._dy; t4 = t1._dx; t1 = t1._dy; offsetPath = _this._clip.shift$1(offset); t5 = type$.nullable_PhysicalModelLayer; if (t5._as(A.RenderObject.prototype.get$layer.call(_this, _this)) == null) _this._layerHandle.set$layer(0, A.PhysicalModelLayer$()); t6 = t5._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t6.set$clipPath(0, offsetPath); t6.set$clipBehavior(_this._clipBehavior); t7 = _this._proxy_box$_elevation; t6.set$elevation(0, t7); t6.set$color(0, _this._proxy_box$_color); t6.set$shadowColor(0, _this._proxy_box$_shadowColor); t5 = t5._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t5.toString; context.pushLayer$4$childPaintBounds(t5, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), offset, new A.Rect(t2, t3, t2 + t4, t3 + t1)); } else _this._layerHandle.set$layer(0, null); } }; A.DecorationPosition.prototype = { toString$0(_) { return "DecorationPosition." + this._core$_name; } }; A.RenderDecoratedBox.prototype = { set$decoration(_, value) { var t1, _this = this; if (value.$eq(0, _this._proxy_box$_decoration)) return; t1 = _this._painter; if (t1 != null) t1.dispose$0(0); _this._painter = null; _this._proxy_box$_decoration = value; _this.markNeedsPaint$0(); }, set$position(_, value) { if (value === this._proxy_box$_position) return; this._proxy_box$_position = value; this.markNeedsPaint$0(); }, set$configuration(value) { if (value.$eq(0, this._proxy_box$_configuration)) return; this._proxy_box$_configuration = value; this.markNeedsPaint$0(); }, detach$0(_) { var _this = this, t1 = _this._painter; if (t1 != null) t1.dispose$0(0); _this._painter = null; _this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); _this.markNeedsPaint$0(); }, hitTestSelf$1(position) { var t1 = this._proxy_box$_decoration, t2 = this._size; t2.toString; return t1.hitTest$3$textDirection(t2, position, this._proxy_box$_configuration.textDirection); }, paint$2(context, offset) { var t1, t2, filledConfiguration, _this = this; if (_this._painter == null) _this._painter = _this._proxy_box$_decoration.createBoxPainter$1(_this.get$markNeedsPaint()); t1 = _this._proxy_box$_configuration; t2 = _this._size; t2.toString; filledConfiguration = t1.copyWith$1$size(t2); if (_this._proxy_box$_position === B.DecorationPosition_0) { t1 = _this._painter; t1.toString; t1.paint$3(context.get$canvas(context), offset, filledConfiguration); if (_this._proxy_box$_decoration.get$isComplex()) context.setIsComplexHint$0(); } _this.super$RenderProxyBoxMixin$paint(context, offset); if (_this._proxy_box$_position === B.DecorationPosition_1) { t1 = _this._painter; t1.toString; t1.paint$3(context.get$canvas(context), offset, filledConfiguration); if (_this._proxy_box$_decoration.get$isComplex()) context.setIsComplexHint$0(); } } }; A.RenderTransform.prototype = { set$origin(_, value) { return; }, set$alignment(value) { var _this = this; if (J.$eq$(_this._alignment, value)) return; _this._alignment = value; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, set$textDirection(_, value) { var _this = this; if (_this._textDirection == value) return; _this._textDirection = value; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, get$alwaysNeedsCompositing() { return false; }, set$transform(_, value) { var t1, _this = this; if (J.$eq$(_this._proxy_box$_transform, value)) return; t1 = new A.Matrix4(new Float64Array(16)); t1.setFrom$1(value); _this._proxy_box$_transform = t1; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, set$filterQuality(value) { return; }, get$_effectiveTransform() { var result, translation, _this = this, t1 = _this._alignment, resolvedAlignment = t1 == null ? null : t1.resolve$1(_this._textDirection); if (resolvedAlignment == null) return _this._proxy_box$_transform; result = new A.Matrix4(new Float64Array(16)); result.setIdentity$0(); t1 = _this._size; t1.toString; translation = resolvedAlignment.alongSize$1(t1); result.translate$2(0, translation._dx, translation._dy); t1 = _this._proxy_box$_transform; t1.toString; result.multiply$1(0, t1); result.translate$2(0, -translation._dx, -translation._dy); return result; }, hitTest$2$position(result, position) { return this.hitTestChildren$2$position(result, position); }, hitTestChildren$2$position(result, position) { var t1 = this.transformHitTests ? this.get$_effectiveTransform() : null; return result.addWithPaintTransform$3$hitTest$position$transform(new A.RenderTransform_hitTestChildren_closure(this), position, t1); }, paint$2(context, offset) { var t1, childOffset, t2, t3, t4, t5, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this.get$_effectiveTransform(); t1.toString; childOffset = A.MatrixUtils_getAsTranslation(t1); if (childOffset == null) { t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = A.RenderProxyBoxMixin.prototype.get$paint.call(_this); t4 = _this._layerHandle; t5 = t4._layer; t4.set$layer(0, context.pushTransform$5$oldLayer(t2, offset, t1, t3, t5 instanceof A.TransformLayer ? t5 : null)); } else { _this.super$RenderProxyBoxMixin$paint(context, offset.$add(0, childOffset)); _this._layerHandle.set$layer(0, null); } } }, applyPaintTransform$2(child, transform) { var t1 = this.get$_effectiveTransform(); t1.toString; transform.multiply$1(0, t1); } }; A.RenderTransform_hitTestChildren_closure.prototype = { call$2(result, position) { return this.$this.super$RenderProxyBoxMixin$hitTestChildren(result, position); }, $signature: 15 }; A.RenderFittedBox.prototype = { _proxy_box$_resolve$0() { if (this._resolvedAlignment != null) return; this._resolvedAlignment = this._alignment; }, _fitAffectsLayout$1(fit) { switch (fit.index) { case 6: return true; case 1: case 2: case 0: case 4: case 3: case 5: return false; } }, set$fit(value) { var _this = this, t1 = _this._fit; if (t1 === value) return; _this._fit = value; if (_this._fitAffectsLayout$1(t1) || _this._fitAffectsLayout$1(value)) _this.markNeedsLayout$0(); else { _this._proxy_box$_transform = _this._hasVisualOverflow = null; _this.markNeedsPaint$0(); } }, set$alignment(value) { var _this = this; if (_this._alignment.$eq(0, value)) return; _this._alignment = value; _this._resolvedAlignment = _this._proxy_box$_transform = _this._hasVisualOverflow = null; _this.markNeedsPaint$0(); }, set$textDirection(_, value) { var _this = this; if (_this._textDirection == value) return; _this._textDirection = value; _this._resolvedAlignment = _this._proxy_box$_transform = _this._hasVisualOverflow = null; _this.markNeedsPaint$0(); }, computeDryLayout$1(constraints) { var childSize, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { childSize = t1.getDryLayout$1(B.BoxConstraints_mlX3); switch (this._fit.index) { case 6: return constraints.constrain$1(new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight).constrainSizeAndAttemptToPreserveAspectRatio$1(childSize)); case 1: case 2: case 0: case 4: case 3: case 5: return constraints.constrainSizeAndAttemptToPreserveAspectRatio$1(childSize); } } else return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); }, performLayout$0() { var t2, t3, unconstrainedSize, _this = this, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); switch (_this._fit.index) { case 6: t1 = type$.BoxConstraints; t2 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t3 = _this.RenderObjectWithChildMixin__child._size; t3.toString; unconstrainedSize = new A.BoxConstraints(0, t2.maxWidth, 0, t2.maxHeight).constrainSizeAndAttemptToPreserveAspectRatio$1(t3); _this._size = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(unconstrainedSize); break; case 1: case 2: case 0: case 4: case 3: case 5: t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); t2 = _this.RenderObjectWithChildMixin__child._size; t2.toString; _this._size = t1.constrainSizeAndAttemptToPreserveAspectRatio$1(t2); break; } _this._proxy_box$_transform = _this._hasVisualOverflow = null; } else { t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._size = new A.Size(B.JSInt_methods.clamp$2(0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(0, t1.minHeight, t1.maxHeight)); } }, _updatePaintData$0() { var t1, t2, t3, sizes, t4, sourceRect, t5, t6, destinationRect, _this = this; if (_this._proxy_box$_transform != null) return; if (_this.RenderObjectWithChildMixin__child == null) { _this._hasVisualOverflow = false; t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); _this._proxy_box$_transform = t1; } else { _this._proxy_box$_resolve$0(); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; t2 = _this._fit; t3 = _this._size; t3.toString; sizes = A.applyBoxFit(t2, t1, t3); t3 = sizes.destination; t2 = sizes.source; t4 = t1._dx; t1 = t1._dy; sourceRect = _this._resolvedAlignment.inscribe$2(t2, new A.Rect(0, 0, 0 + t4, 0 + t1)); t5 = _this._resolvedAlignment; t5.toString; t6 = _this._size; destinationRect = t5.inscribe$2(t3, new A.Rect(0, 0, 0 + t6._dx, 0 + t6._dy)); t5 = sourceRect.left; _this._hasVisualOverflow = sourceRect.right - t5 < t4 || sourceRect.bottom - sourceRect.top < t1; t1 = A.Matrix4_Matrix4$translationValues(destinationRect.left, destinationRect.top, 0); t1.scale$3(0, t3._dx / t2._dx, t3._dy / t2._dy, 1); t1.translate$2(0, -t5, -sourceRect.top); _this._proxy_box$_transform = t1; } }, _paintChildWithTransform$2(context, offset) { var childOffset, t2, t3, t4, _this = this, t1 = _this._proxy_box$_transform; t1.toString; childOffset = A.MatrixUtils_getAsTranslation(t1); if (childOffset == null) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = _this._proxy_box$_transform; t2.toString; t3 = A.RenderProxyBoxMixin.prototype.get$paint.call(_this); t4 = _this._layerHandle._layer; return context.pushTransform$5$oldLayer(t1, offset, t2, t3, t4 instanceof A.TransformLayer ? t4 : null); } else _this.super$RenderProxyBoxMixin$paint(context, offset.$add(0, childOffset)); return null; }, paint$2(context, offset) { var t1, t2, t3, t4, t5, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._size; if (!t1.get$isEmpty(t1)) { t1 = _this.RenderObjectWithChildMixin__child._size; t1 = t1.get$isEmpty(t1); } else t1 = true; } else t1 = true; if (t1) return; _this._updatePaintData$0(); t1 = _this._hasVisualOverflow; t1.toString; if (t1 && _this._clipBehavior !== B.Clip_0) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = _this._size; t3 = t2._dx; t2 = t2._dy; t4 = _this._layerHandle; t5 = t4._layer; t5 = t5 instanceof A.ClipRectLayer ? t5 : null; t4.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3, 0 + t2), _this.get$_paintChildWithTransform(), _this._clipBehavior, t5)); } else _this._layerHandle.set$layer(0, _this._paintChildWithTransform$2(context, offset)); }, hitTestChildren$2$position(result, position) { var _this = this, t1 = _this._size; if (!t1.get$isEmpty(t1)) { t1 = _this.RenderObjectWithChildMixin__child; if (t1 == null) t1 = null; else { t1 = t1._size; t1 = t1.get$isEmpty(t1); } t1 = t1 === true; } else t1 = true; if (t1) return false; _this._updatePaintData$0(); return result.addWithPaintTransform$3$hitTest$position$transform(new A.RenderFittedBox_hitTestChildren_closure(_this), position, _this._proxy_box$_transform); }, applyPaintTransform$2(child, transform) { var t1 = this._size; if (!t1.get$isEmpty(t1)) { t1 = child._size; t1 = t1.get$isEmpty(t1); } else t1 = true; if (t1) transform.setZero$0(); else { this._updatePaintData$0(); t1 = this._proxy_box$_transform; t1.toString; transform.multiply$1(0, t1); } } }; A.RenderFittedBox_hitTestChildren_closure.prototype = { call$2(result, position) { return this.$this.super$RenderProxyBoxMixin$hitTestChildren(result, position); }, $signature: 15 }; A.RenderFractionalTranslation.prototype = { set$translation(value) { var _this = this; if (_this._translation.$eq(0, value)) return; _this._translation = value; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, hitTest$2$position(result, position) { return this.hitTestChildren$2$position(result, position); }, hitTestChildren$2$position(result, position) { var t1, t2, _this = this; if (_this.transformHitTests) { t1 = _this._translation; t2 = _this._size; t2 = new A.Offset(t1._dx * t2._dx, t1._dy * t2._dy); t1 = t2; } else t1 = null; return result.addWithPaintOffset$3$hitTest$offset$position(new A.RenderFractionalTranslation_hitTestChildren_closure(_this), t1, position); }, paint$2(context, offset) { var t1, t2, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._translation; t2 = _this._size; _this.super$RenderProxyBoxMixin$paint(context, new A.Offset(offset._dx + t1._dx * t2._dx, offset._dy + t1._dy * t2._dy)); } }, applyPaintTransform$2(child, transform) { var t1 = this._translation, t2 = this._size; transform.translate$2(0, t1._dx * t2._dx, t1._dy * t2._dy); } }; A.RenderFractionalTranslation_hitTestChildren_closure.prototype = { call$2(result, position) { return this.$this.super$RenderProxyBoxMixin$hitTestChildren(result, position); }, $signature: 15 }; A.RenderPointerListener.prototype = { computeSizeForNoChild$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, handleEvent$2($event, entry) { var t1, _this = this, _null = null; if (type$.PointerDownEvent._is($event)) { t1 = _this.onPointerDown; return t1 == null ? _null : t1.call$1($event); } if (type$.PointerMoveEvent._is($event)) return _null; if (type$.PointerUpEvent._is($event)) { t1 = _this.onPointerUp; return t1 == null ? _null : t1.call$1($event); } if (type$.PointerHoverEvent._is($event)) return _null; if (type$.PointerCancelEvent._is($event)) { t1 = _this.onPointerCancel; return t1 == null ? _null : t1.call$1($event); } if (type$.PointerSignalEvent._is($event)) { t1 = _this.onPointerSignal; return t1 == null ? _null : t1.call$1($event); } } }; A.RenderMouseRegion.prototype = { hitTestSelf$1(position) { return true; }, hitTest$2$position(result, position) { return this.super$RenderBox$hitTest(result, position) && true; }, handleEvent$2($event, entry) { var t1 = this.onHover; if (t1 != null && type$.PointerHoverEvent._is($event)) return t1.call$1($event); }, get$cursor(_) { return this._cursor; }, get$validForMouseTracker() { return this._validForMouseTracker; }, attach$1(owner) { this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$attach(owner); this._validForMouseTracker = true; }, detach$0(_) { this._validForMouseTracker = false; this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, computeSizeForNoChild$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, $isMouseTrackerAnnotation: 1, get$onEnter(receiver) { return this.onEnter; }, get$onExit(receiver) { return this.onExit; } }; A.RenderRepaintBoundary.prototype = { get$isRepaintBoundary() { return true; } }; A.RenderIgnorePointer.prototype = { set$ignoring(value) { var t1, _this = this; if (value === _this._ignoring) return; _this._ignoring = value; t1 = _this._ignoringSemantics; if (t1 == null || !t1) _this.markNeedsSemanticsUpdate$0(); }, set$ignoringSemantics(value) { var _this = this, oldEffectiveValue = _this._ignoringSemantics; if (value == oldEffectiveValue) return; if (oldEffectiveValue == null) oldEffectiveValue = _this._ignoring; _this._ignoringSemantics = value; if (oldEffectiveValue !== (value == null ? _this._ignoring : value)) _this.markNeedsSemanticsUpdate$0(); }, hitTest$2$position(result, position) { return !this._ignoring && this.super$RenderBox$hitTest(result, position); }, visitChildrenForSemantics$1(visitor) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { t2 = this._ignoringSemantics; t2 = !(t2 == null ? this._ignoring : t2); } else t2 = false; if (t2) { t1.toString; visitor.call$1(t1); } } }; A.RenderOffstage.prototype = { set$offstage(value) { var _this = this; if (value === _this._offstage) return; _this._offstage = value; _this.markNeedsLayout$0(); _this.markParentNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { if (this._offstage) return 0; return this.super$RenderProxyBoxMixin$computeMinIntrinsicWidth(height); }, computeMaxIntrinsicWidth$1(height) { if (this._offstage) return 0; return this.super$RenderProxyBoxMixin$computeMaxIntrinsicWidth(height); }, computeMinIntrinsicHeight$1(width) { if (this._offstage) return 0; return this.super$RenderProxyBoxMixin$computeMinIntrinsicHeight(width); }, computeMaxIntrinsicHeight$1(width) { if (this._offstage) return 0; return this.super$RenderProxyBoxMixin$computeMaxIntrinsicHeight(width); }, computeDistanceToActualBaseline$1(baseline) { if (this._offstage) return null; return this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin$computeDistanceToActualBaseline(baseline); }, get$sizedByParent() { return this._offstage; }, computeDryLayout$1(constraints) { if (this._offstage) return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); return this.super$RenderProxyBoxMixin$computeDryLayout(constraints); }, performResize$0() { this.super$RenderBox$performResize(); }, performLayout$0() { var t1, _this = this; if (_this._offstage) { t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) t1.layout$1(0, type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this))); } else _this.super$RenderProxyBoxMixin$performLayout(); }, hitTest$2$position(result, position) { return !this._offstage && this.super$RenderBox$hitTest(result, position); }, paint$2(context, offset) { if (this._offstage) return; this.super$RenderProxyBoxMixin$paint(context, offset); }, visitChildrenForSemantics$1(visitor) { if (this._offstage) return; this.super$RenderObject$visitChildrenForSemantics(visitor); }, debugDescribeChildren$0() { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return A._setArrayType([], type$.JSArray_DiagnosticsNode); return A._setArrayType([A.DiagnosticableTreeNode$("child", this._offstage ? B.DiagnosticsTreeStyle_2 : B.DiagnosticsTreeStyle_1, t1)], type$.JSArray_DiagnosticsNode); } }; A.RenderAbsorbPointer.prototype = { set$absorbing(value) { if (this._absorbing === value) return; this._absorbing = value; this.markNeedsSemanticsUpdate$0(); }, set$ignoringSemantics(value) { return; }, hitTest$2$position(result, position) { return this._absorbing ? this._size.contains$1(0, position) : this.super$RenderBox$hitTest(result, position); }, visitChildrenForSemantics$1(visitor) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { t2 = this._absorbing; t2 = !t2; } else t2 = false; if (t2) { t1.toString; visitor.call$1(t1); } } }; A.RenderMetaData.prototype = {}; A.RenderSemanticsGestureHandler.prototype = { set$validActions(value) { if (A.setEquals(value, this._validActions)) return; this._validActions = value; this.markNeedsSemanticsUpdate$0(); }, set$onTap(value) { var t1, _this = this; if (J.$eq$(_this._onTap, value)) return; t1 = _this._onTap; _this._onTap = value; if (value != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onLongPress(value) { var t1, _this = this; if (J.$eq$(_this._onLongPress, value)) return; t1 = _this._onLongPress; _this._onLongPress = value; if (value != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onHorizontalDragUpdate(value) { var t1, _this = this; if (J.$eq$(_this._onHorizontalDragUpdate, value)) return; t1 = _this._onHorizontalDragUpdate; _this._onHorizontalDragUpdate = value; if (value != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onVerticalDragUpdate(value) { var t1, _this = this; if (J.$eq$(_this._onVerticalDragUpdate, value)) return; t1 = _this._onVerticalDragUpdate; _this._onVerticalDragUpdate = value; if (value != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, describeSemanticsConfiguration$1(config) { var t1, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); if (_this._onTap != null) { t1 = _this._validActions; t1 = t1 == null || t1.contains$1(0, B.SemanticsAction_1); } else t1 = false; if (t1) config.set$onTap(_this._onTap); if (_this._onLongPress != null) { t1 = _this._validActions; t1 = t1 == null || t1.contains$1(0, B.SemanticsAction_2); } else t1 = false; if (t1) config.set$onLongPress(_this._onLongPress); if (_this._onHorizontalDragUpdate != null) { t1 = _this._validActions; if (t1 == null || t1.contains$1(0, B.SemanticsAction_8)) config.set$onScrollRight(_this.get$_performSemanticScrollRight()); t1 = _this._validActions; if (t1 == null || t1.contains$1(0, B.SemanticsAction_4)) config.set$onScrollLeft(_this.get$_performSemanticScrollLeft()); } if (_this._onVerticalDragUpdate != null) { t1 = _this._validActions; if (t1 == null || t1.contains$1(0, B.SemanticsAction_16)) config.set$onScrollUp(_this.get$_performSemanticScrollUp()); t1 = _this._validActions; if (t1 == null || t1.contains$1(0, B.SemanticsAction_32)) config.set$onScrollDown(_this.get$_performSemanticScrollDown()); } }, _performSemanticScrollLeft$0() { var t2, primaryDelta, t1 = this._onHorizontalDragUpdate; if (t1 != null) { t2 = this._size; primaryDelta = t2._dx * -0.8; t2 = t2.center$1(B.Offset_0_0); t2 = A.MatrixUtils_transformPoint(this.getTransformTo$1(0, null), t2); t1.call$1(new A.DragUpdateDetails(null, new A.Offset(primaryDelta, 0), primaryDelta, t2, t2)); } }, _performSemanticScrollRight$0() { var t2, primaryDelta, t1 = this._onHorizontalDragUpdate; if (t1 != null) { t2 = this._size; primaryDelta = t2._dx * 0.8; t2 = t2.center$1(B.Offset_0_0); t2 = A.MatrixUtils_transformPoint(this.getTransformTo$1(0, null), t2); t1.call$1(new A.DragUpdateDetails(null, new A.Offset(primaryDelta, 0), primaryDelta, t2, t2)); } }, _performSemanticScrollUp$0() { var t2, primaryDelta, t1 = this._onVerticalDragUpdate; if (t1 != null) { t2 = this._size; primaryDelta = t2._dy * -0.8; t2 = t2.center$1(B.Offset_0_0); t2 = A.MatrixUtils_transformPoint(this.getTransformTo$1(0, null), t2); t1.call$1(new A.DragUpdateDetails(null, new A.Offset(0, primaryDelta), primaryDelta, t2, t2)); } }, _performSemanticScrollDown$0() { var t2, primaryDelta, t1 = this._onVerticalDragUpdate; if (t1 != null) { t2 = this._size; primaryDelta = t2._dy * 0.8; t2 = t2.center$1(B.Offset_0_0); t2 = A.MatrixUtils_transformPoint(this.getTransformTo$1(0, null), t2); t1.call$1(new A.DragUpdateDetails(null, new A.Offset(0, primaryDelta), primaryDelta, t2, t2)); } } }; A.RenderSemanticsAnnotations.prototype = { set$container(value) { if (this._container === value) return; this._container = value; this.markNeedsSemanticsUpdate$0(); }, set$explicitChildNodes(value) { if (this._explicitChildNodes === value) return; this._explicitChildNodes = value; this.markNeedsSemanticsUpdate$0(); }, set$excludeSemantics(value) { if (this._excludeSemantics === value) return; this._excludeSemantics = value; this.markNeedsSemanticsUpdate$0(); }, set$checked(_, value) { if (this._checked == value) return; this._checked = value; this.markNeedsSemanticsUpdate$0(); }, set$enabled(_, value) { if (this._enabled == value) return; this._enabled = value; this.markNeedsSemanticsUpdate$0(); }, set$selected(_, value) { if (this._selected == value) return; this._selected = value; this.markNeedsSemanticsUpdate$0(); }, set$button(_, value) { if (this._button == value) return; this._button = value; this.markNeedsSemanticsUpdate$0(); }, set$slider(value) { if (this._slider == value) return; this._slider = value; this.markNeedsSemanticsUpdate$0(); }, set$keyboardKey(value) { return; }, set$link(value) { return; }, set$header(value) { if (this._header == value) return; this._header = value; this.markNeedsSemanticsUpdate$0(); }, set$textField(value) { return; }, set$readOnly(_, value) { return; }, set$focusable(value) { if (this._focusable == value) return; this._focusable = value; this.markNeedsSemanticsUpdate$0(); }, set$focused(_, value) { if (this._focused == value) return; this._focused = value; this.markNeedsSemanticsUpdate$0(); }, set$inMutuallyExclusiveGroup(value) { if (this._inMutuallyExclusiveGroup == value) return; this._inMutuallyExclusiveGroup = value; this.markNeedsSemanticsUpdate$0(); }, set$obscured(value) { return; }, set$multiline(_, value) { return; }, set$scopesRoute(value) { if (this._scopesRoute == value) return; this._scopesRoute = value; this.markNeedsSemanticsUpdate$0(); }, set$namesRoute(value) { if (this._namesRoute == value) return; this._namesRoute = value; this.markNeedsSemanticsUpdate$0(); }, set$hidden(_, value) { return; }, set$image(_, value) { if (this._image == value) return; this._image = value; }, set$liveRegion(value) { if (this._liveRegion == value) return; this._liveRegion = value; this.markNeedsSemanticsUpdate$0(); }, set$maxValueLength(value) { if (this._maxValueLength == value) return; this._maxValueLength = value; this.markNeedsSemanticsUpdate$0(); }, set$currentValueLength(value) { if (this._currentValueLength == value) return; this._currentValueLength = value; this.markNeedsSemanticsUpdate$0(); }, set$toggled(value) { if (this._toggled == value) return; this._toggled = value; this.markNeedsSemanticsUpdate$0(); }, set$attributedLabel(value) { if (J.$eq$(this._attributedLabel, value)) return; this._attributedLabel = value; this.markNeedsSemanticsUpdate$0(); }, set$attributedValue(value) { if (J.$eq$(this._attributedValue, value)) return; this._attributedValue = value; this.markNeedsSemanticsUpdate$0(); }, set$attributedIncreasedValue(value) { if (J.$eq$(this._attributedIncreasedValue, value)) return; this._attributedIncreasedValue = value; this.markNeedsSemanticsUpdate$0(); }, set$attributedDecreasedValue(value) { if (J.$eq$(this._attributedDecreasedValue, value)) return; this._attributedDecreasedValue = value; this.markNeedsSemanticsUpdate$0(); }, set$attributedHint(value) { if (J.$eq$(this._attributedHint, value)) return; this._attributedHint = value; this.markNeedsSemanticsUpdate$0(); }, set$hintOverrides(value) { if (J.$eq$(this._hintOverrides, value)) return; this._hintOverrides = value; this.markNeedsSemanticsUpdate$0(); }, set$textDirection(_, value) { if (this._textDirection == value) return; this._textDirection = value; this.markNeedsSemanticsUpdate$0(); }, set$sortKey(value) { if (this._sortKey == value) return; this._sortKey = value; this.markNeedsSemanticsUpdate$0(); }, set$tagForChildren(value) { if (J.$eq$(this._tagForChildren, value)) return; this.markNeedsSemanticsUpdate$0(); this._tagForChildren = value; }, set$onTap(handler) { var t1, _this = this; if (J.$eq$(_this._onTap, handler)) return; t1 = _this._onTap; _this._onTap = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onDismiss(handler) { var t1, _this = this; if (J.$eq$(_this._onDismiss, handler)) return; t1 = _this._onDismiss; _this._onDismiss = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onLongPress(handler) { var t1, _this = this; if (J.$eq$(_this._onLongPress, handler)) return; t1 = _this._onLongPress; _this._onLongPress = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onScrollLeft(handler) { return; }, set$onScrollRight(handler) { return; }, set$onScrollUp(handler) { return; }, set$onScrollDown(handler) { return; }, set$onIncrease(handler) { var t1, _this = this; if (J.$eq$(_this._onIncrease, handler)) return; t1 = _this._onIncrease; _this._onIncrease = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onDecrease(handler) { var t1, _this = this; if (J.$eq$(_this._onDecrease, handler)) return; t1 = _this._onDecrease; _this._onDecrease = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onCopy(_, handler) { var t1, _this = this; if (J.$eq$(_this._onCopy, handler)) return; t1 = _this._onCopy; _this._onCopy = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onCut(_, handler) { var t1, _this = this; if (J.$eq$(_this._onCut, handler)) return; t1 = _this._onCut; _this._onCut = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onPaste(_, handler) { var t1, _this = this; if (J.$eq$(_this._onPaste, handler)) return; t1 = _this._onPaste; _this._onPaste = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onMoveCursorForwardByCharacter(handler) { return; }, set$onMoveCursorBackwardByCharacter(handler) { return; }, set$onMoveCursorForwardByWord(handler) { return; }, set$onMoveCursorBackwardByWord(handler) { return; }, set$onSetSelection(handler) { return; }, set$onSetText(handler) { return; }, set$onDidGainAccessibilityFocus(handler) { var t1, _this = this; if (J.$eq$(_this._onDidGainAccessibilityFocus, handler)) return; t1 = _this._onDidGainAccessibilityFocus; _this._onDidGainAccessibilityFocus = handler; if (handler != null !== (t1 != null)) _this.markNeedsSemanticsUpdate$0(); }, set$onDidLoseAccessibilityFocus(handler) { return; }, set$customSemanticsActions(value) { return; }, visitChildrenForSemantics$1(visitor) { if (this._excludeSemantics) return; this.super$RenderObject$visitChildrenForSemantics(visitor); }, describeSemanticsConfiguration$1(config) { var t1, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); config._isSemanticBoundary = _this._container; config.explicitChildNodes = _this._explicitChildNodes; t1 = _this._enabled; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_64, true); config._setFlag$2(B.SemanticsFlag_128, t1); } t1 = _this._checked; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_1, true); config._setFlag$2(B.SemanticsFlag_2, t1); } t1 = _this._toggled; if (t1 != null) { config._setFlag$2(B.SemanticsFlag_65536, true); config._setFlag$2(B.SemanticsFlag_131072, t1); } t1 = _this._selected; if (t1 != null) config._setFlag$2(B.SemanticsFlag_4, t1); t1 = _this._button; if (t1 != null) config._setFlag$2(B.SemanticsFlag_8, t1); t1 = _this._slider; if (t1 != null) config._setFlag$2(B.SemanticsFlag_8388608, t1); t1 = _this._header; if (t1 != null) config._setFlag$2(B.SemanticsFlag_512, t1); t1 = _this._focusable; if (t1 != null) config._setFlag$2(B.SemanticsFlag_2097152, t1); t1 = _this._focused; if (t1 != null) config._setFlag$2(B.SemanticsFlag_32, t1); t1 = _this._inMutuallyExclusiveGroup; if (t1 != null) config._setFlag$2(B.SemanticsFlag_256, t1); t1 = _this._image; if (t1 != null) config._setFlag$2(B.SemanticsFlag_16384, t1); t1 = _this._attributedLabel; if (t1 != null) { config._semantics$_attributedLabel = t1; config._hasBeenAnnotated = true; } t1 = _this._attributedValue; if (t1 != null) { config._semantics$_attributedValue = t1; config._hasBeenAnnotated = true; } t1 = _this._attributedIncreasedValue; if (t1 != null) { config._semantics$_attributedIncreasedValue = t1; config._hasBeenAnnotated = true; } t1 = _this._attributedDecreasedValue; if (t1 != null) { config._semantics$_attributedDecreasedValue = t1; config._hasBeenAnnotated = true; } t1 = _this._attributedHint; if (t1 != null) { config._semantics$_attributedHint = t1; config._hasBeenAnnotated = true; } _this._hintOverrides != null; t1 = _this._scopesRoute; if (t1 != null) config._setFlag$2(B.SemanticsFlag_2048, t1); t1 = _this._namesRoute; if (t1 != null) config._setFlag$2(B.SemanticsFlag_4096, t1); t1 = _this._liveRegion; if (t1 != null) config._setFlag$2(B.SemanticsFlag_32768, t1); t1 = _this._maxValueLength; if (t1 != null) config.set$maxValueLength(t1); t1 = _this._currentValueLength; if (t1 != null) config.set$currentValueLength(t1); t1 = _this._textDirection; if (t1 != null) { config._semantics$_textDirection = t1; config._hasBeenAnnotated = true; } t1 = _this._sortKey; if (t1 != null) { config._semantics$_sortKey = t1; config._hasBeenAnnotated = true; } t1 = _this._tagForChildren; if (t1 != null) config.addTagForChildren$1(t1); if (_this._onTap != null) config.set$onTap(_this.get$_performTap()); if (_this._onLongPress != null) config.set$onLongPress(_this.get$_performLongPress()); if (_this._onDismiss != null) config.set$onDismiss(_this.get$_performDismiss()); if (_this._onIncrease != null) config.set$onIncrease(_this.get$_performIncrease()); if (_this._onDecrease != null) config.set$onDecrease(_this.get$_performDecrease()); if (_this._onCopy != null) config.set$onCopy(0, _this.get$_performCopy()); if (_this._onCut != null) config.set$onCut(0, _this.get$_performCut()); if (_this._onPaste != null) config.set$onPaste(0, _this.get$_performPaste()); if (_this._onDidGainAccessibilityFocus != null) config.set$onDidGainAccessibilityFocus(_this.get$_performDidGainAccessibilityFocus()); }, _performTap$0() { var t1 = this._onTap; if (t1 != null) t1.call$0(); }, _performLongPress$0() { var t1 = this._onLongPress; if (t1 != null) t1.call$0(); }, _performDismiss$0() { var t1 = this._onDismiss; if (t1 != null) t1.call$0(); }, _performIncrease$0() { var t1 = this._onIncrease; if (t1 != null) t1.call$0(); }, _performDecrease$0() { var t1 = this._onDecrease; if (t1 != null) t1.call$0(); }, _performCopy$0() { var t1 = this._onCopy; if (t1 != null) t1.call$0(); }, _performCut$0() { var t1 = this._onCut; if (t1 != null) t1.call$0(); }, _performPaste$0() { var t1 = this._onPaste; if (t1 != null) t1.call$0(); }, _performDidGainAccessibilityFocus$0() { var t1 = this._onDidGainAccessibilityFocus; if (t1 != null) t1.call$0(); } }; A.RenderBlockSemantics.prototype = { set$blocking(value) { return; }, describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config.isBlockingSemanticsOfPreviouslyPaintedNodes = true; } }; A.RenderMergeSemantics.prototype = { describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config._hasBeenAnnotated = config._isMergingSemanticsOfDescendants = config._isSemanticBoundary = true; } }; A.RenderExcludeSemantics.prototype = { set$excluding(value) { if (value === this._excluding) return; this._excluding = value; this.markNeedsSemanticsUpdate$0(); }, visitChildrenForSemantics$1(visitor) { if (this._excluding) return; this.super$RenderObject$visitChildrenForSemantics(visitor); } }; A.RenderIndexedSemantics.prototype = { set$index(_, value) { if (value === this._proxy_box$_index) return; this._proxy_box$_index = value; this.markNeedsSemanticsUpdate$0(); }, describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config._indexInParent = this._proxy_box$_index; config._hasBeenAnnotated = true; } }; A.RenderLeaderLayer.prototype = { set$link(value) { var _this = this, t1 = _this._proxy_box$_link; if (t1 === value) return; t1.leaderSize = null; _this._proxy_box$_link = value; t1 = _this._previousLayoutSize; if (t1 != null) value.leaderSize = t1; _this.markNeedsPaint$0(); }, get$alwaysNeedsCompositing() { return true; }, performLayout$0() { var t1, _this = this; _this.super$RenderProxyBoxMixin$performLayout(); t1 = _this._size; t1.toString; _this._previousLayoutSize = t1; _this._proxy_box$_link.leaderSize = t1; }, paint$2(context, offset) { var t1 = this._layerHandle, t2 = t1._layer, t3 = this._proxy_box$_link; if (t2 == null) t1.set$layer(0, new A.LeaderLayer(t3, offset, A.LayerHandle$(type$.Layer_2))); else { type$.LeaderLayer._as(t2); t2.set$link(t3); t2.set$offset(0, offset); } t1 = t1._layer; t1.toString; context.pushLayer$3(t1, A.RenderProxyBoxMixin.prototype.get$paint.call(this), B.Offset_0_0); } }; A.RenderFollowerLayer.prototype = { set$link(value) { if (this._proxy_box$_link === value) return; this._proxy_box$_link = value; this.markNeedsPaint$0(); }, set$showWhenUnlinked(value) { if (this._showWhenUnlinked === value) return; this._showWhenUnlinked = value; this.markNeedsPaint$0(); }, set$offset(_, value) { if (this._proxy_box$_offset.$eq(0, value)) return; this._proxy_box$_offset = value; this.markNeedsPaint$0(); }, set$leaderAnchor(value) { if (this._leaderAnchor.$eq(0, value)) return; this._leaderAnchor = value; this.markNeedsPaint$0(); }, set$followerAnchor(value) { if (this._followerAnchor.$eq(0, value)) return; this._followerAnchor = value; this.markNeedsPaint$0(); }, detach$0(_) { this._layerHandle.set$layer(0, null); this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, get$alwaysNeedsCompositing() { return true; }, getCurrentTransform$0() { var t1 = type$.nullable_FollowerLayer._as(A.RenderObject.prototype.get$layer.call(this, this)); t1 = t1 == null ? null : t1.getLastTransform$0(); if (t1 == null) { t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); } return t1; }, hitTest$2$position(result, position) { if (this._proxy_box$_link._leader == null && !this._showWhenUnlinked) return false; return this.hitTestChildren$2$position(result, position); }, hitTestChildren$2$position(result, position) { return result.addWithPaintTransform$3$hitTest$position$transform(new A.RenderFollowerLayer_hitTestChildren_closure(this), position, this.getCurrentTransform$0()); }, paint$2(context, offset) { var effectiveLinkedOffset, t1, t2, t3, _this = this, leaderSize = _this._proxy_box$_link.leaderSize; if (leaderSize == null) effectiveLinkedOffset = _this._proxy_box$_offset; else { t1 = _this._leaderAnchor.alongSize$1(leaderSize); t2 = _this._followerAnchor; t3 = _this._size; t3.toString; effectiveLinkedOffset = t1.$sub(0, t2.alongSize$1(t3)).$add(0, _this._proxy_box$_offset); } t1 = type$.nullable_FollowerLayer; if (t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)) == null) _this._layerHandle.set$layer(0, new A.FollowerLayer(_this._proxy_box$_link, _this._showWhenUnlinked, offset, effectiveLinkedOffset, A.LayerHandle$(type$.Layer_2))); else { t2 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); if (t2 != null) { t3 = _this._proxy_box$_link; if (t3 !== t2._layer$_link && t2._leaderHandle != null) { t2._leaderHandle.dispose$0(0); t2._leaderHandle = t3._registerFollower$0(); } t2._layer$_link = t3; t2.showWhenUnlinked = _this._showWhenUnlinked; t2.linkedOffset = effectiveLinkedOffset; t2.unlinkedOffset = offset; } } t1 = t1._as(A.RenderObject.prototype.get$layer.call(_this, _this)); t1.toString; context.pushLayer$4$childPaintBounds(t1, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), B.Offset_0_0, B.Rect_Vy7); }, applyPaintTransform$2(child, transform) { transform.multiply$1(0, this.getCurrentTransform$0()); } }; A.RenderFollowerLayer_hitTestChildren_closure.prototype = { call$2(result, position) { return this.$this.super$RenderProxyBoxMixin$hitTestChildren(result, position); }, $signature: 15 }; A.RenderAnnotatedRegion.prototype = { get$value(_) { return this._proxy_box$_value; }, set$value(_, newValue) { if (this._proxy_box$_value.$eq(0, newValue)) return; this._proxy_box$_value = newValue; this.markNeedsPaint$0(); }, set$sized(value) { return; }, paint$2(context, offset) { var _this = this, t1 = _this._proxy_box$_value, t2 = _this._size; t2.toString; context.pushLayer$3(new A.AnnotatedRegionLayer(t1, t2, offset, A.LayerHandle$(type$.Layer_2), _this.$ti._eval$1("AnnotatedRegionLayer<1>")), A.RenderProxyBoxMixin.prototype.get$paint.call(_this), offset); }, get$alwaysNeedsCompositing() { return true; } }; A._RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin.prototype = { computeDistanceToActualBaseline$1(baseline) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1.getDistanceToActualBaseline$1(baseline); return this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin$computeDistanceToActualBaseline(baseline); } }; A._RenderAnimatedOpacity_RenderProxyBox_RenderProxyBoxMixin_RenderAnimatedOpacityMixin.prototype = { attach$1(owner) { var _this = this; _this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$attach(owner); _this.RenderAnimatedOpacityMixin__opacity.addListener$1(0, _this.get$_updateOpacity()); _this._updateOpacity$0(); }, detach$0(_) { this.RenderAnimatedOpacityMixin__opacity.removeListener$1(0, this.get$_updateOpacity()); this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, paint$2(context, offset) { var t1, t2, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this.RenderAnimatedOpacityMixin__alpha; if (t1 === 0) { _this._layerHandle.set$layer(0, null); return; } t1.toString; t2 = _this._layerHandle; t2.set$layer(0, context.pushOpacity$4$oldLayer(offset, t1, A.RenderProxyBoxMixin.prototype.get$paint.call(_this), type$.nullable_OpacityLayer._as(t2._layer))); } } }; A._RenderProxyBox_RenderBox_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A._RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin.prototype = { computeDistanceToActualBaseline$1(baseline) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1.getDistanceToActualBaseline$1(baseline); return this.super$RenderBox$computeDistanceToActualBaseline(baseline); } }; A.RenderShiftedBox.prototype = { computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); return 0; }, computeDistanceToActualBaseline$1(baseline) { var result, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { result = t1.getDistanceToActualBaseline$1(baseline); t1 = this.RenderObjectWithChildMixin__child.parentData; t1.toString; type$.BoxParentData._as(t1); if (result != null) result += t1.offset._dy; } else result = this.super$RenderBox$computeDistanceToActualBaseline(baseline); return result; }, paint$2(context, offset) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { t2 = t1.parentData; t2.toString; context.paintChild$2(t1, type$.BoxParentData._as(t2).offset.$add(0, offset)); } }, hitTestChildren$2$position(result, position) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) { t1 = t1.parentData; t1.toString; type$.BoxParentData._as(t1); return result.addWithPaintOffset$3$hitTest$offset$position(new A.RenderShiftedBox_hitTestChildren_closure(this, position, t1), t1.offset, position); } return false; } }; A.RenderShiftedBox_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, transformed); }, $signature: 15 }; A.RenderPadding.prototype = { _shifted_box$_resolve$0() { var _this = this; if (_this._shifted_box$_resolvedPadding != null) return; _this._shifted_box$_resolvedPadding = _this._shifted_box$_padding.resolve$1(_this._shifted_box$_textDirection); }, set$padding(_, value) { var _this = this; if (_this._shifted_box$_padding.$eq(0, value)) return; _this._shifted_box$_padding = value; _this._shifted_box$_resolvedPadding = null; _this.markNeedsLayout$0(); }, set$textDirection(_, value) { var _this = this; if (_this._shifted_box$_textDirection == value) return; _this._shifted_box$_textDirection = value; _this._shifted_box$_resolvedPadding = null; _this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { var t1, totalHorizontalPadding, t2, t3; this._shifted_box$_resolve$0(); t1 = this._shifted_box$_resolvedPadding; totalHorizontalPadding = t1.left + t1.right; t2 = t1.top; t1 = t1.bottom; t3 = this.RenderObjectWithChildMixin__child; if (t3 != null) return t3._computeIntrinsicDimension$3(B._IntrinsicDimension_0, Math.max(0, height - (t2 + t1)), t3.get$computeMinIntrinsicWidth()) + totalHorizontalPadding; return totalHorizontalPadding; }, computeMaxIntrinsicWidth$1(height) { var t1, totalHorizontalPadding, t2, t3; this._shifted_box$_resolve$0(); t1 = this._shifted_box$_resolvedPadding; totalHorizontalPadding = t1.left + t1.right; t2 = t1.top; t1 = t1.bottom; t3 = this.RenderObjectWithChildMixin__child; if (t3 != null) return t3._computeIntrinsicDimension$3(B._IntrinsicDimension_1, Math.max(0, height - (t2 + t1)), t3.get$computeMaxIntrinsicWidth()) + totalHorizontalPadding; return totalHorizontalPadding; }, computeMinIntrinsicHeight$1(width) { var t1, t2, t3, totalVerticalPadding; this._shifted_box$_resolve$0(); t1 = this._shifted_box$_resolvedPadding; t2 = t1.left; t3 = t1.right; totalVerticalPadding = t1.top + t1.bottom; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, Math.max(0, width - (t2 + t3)), t1.get$computeMinIntrinsicHeight()) + totalVerticalPadding; return totalVerticalPadding; }, computeMaxIntrinsicHeight$1(width) { var t1, t2, t3, totalVerticalPadding; this._shifted_box$_resolve$0(); t1 = this._shifted_box$_resolvedPadding; t2 = t1.left; t3 = t1.right; totalVerticalPadding = t1.top + t1.bottom; t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, Math.max(0, width - (t2 + t3)), t1.get$computeMaxIntrinsicHeight()) + totalVerticalPadding; return totalVerticalPadding; }, computeDryLayout$1(constraints) { var t1, innerConstraints, childSize, _this = this; _this._shifted_box$_resolve$0(); if (_this.RenderObjectWithChildMixin__child == null) { t1 = _this._shifted_box$_resolvedPadding; return constraints.constrain$1(new A.Size(t1.left + t1.right, t1.top + t1.bottom)); } t1 = _this._shifted_box$_resolvedPadding; t1.toString; innerConstraints = constraints.deflate$1(t1); childSize = _this.RenderObjectWithChildMixin__child.getDryLayout$1(innerConstraints); t1 = _this._shifted_box$_resolvedPadding; return constraints.constrain$1(new A.Size(t1.left + childSize._dx + t1.right, t1.top + childSize._dy + t1.bottom)); }, performLayout$0() { var t1, innerConstraints, t2, t3, t4, t5, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._shifted_box$_resolve$0(); if (_this.RenderObjectWithChildMixin__child == null) { t1 = _this._shifted_box$_resolvedPadding; _this._size = constraints.constrain$1(new A.Size(t1.left + t1.right, t1.top + t1.bottom)); return; } t1 = _this._shifted_box$_resolvedPadding; t1.toString; innerConstraints = constraints.deflate$1(t1); _this.RenderObjectWithChildMixin__child.layout$2$parentUsesSize(0, innerConstraints, true); t1 = _this.RenderObjectWithChildMixin__child; t2 = t1.parentData; t2.toString; type$.BoxParentData._as(t2); t3 = _this._shifted_box$_resolvedPadding; t4 = t3.left; t5 = t3.top; t2.offset = new A.Offset(t4, t5); t1 = t1._size; _this._size = constraints.constrain$1(new A.Size(t4 + t1._dx + t3.right, t5 + t1._dy + t3.bottom)); } }; A.RenderAligningShiftedBox.prototype = { _shifted_box$_resolve$0() { var _this = this; if (_this._shifted_box$_resolvedAlignment != null) return; _this._shifted_box$_resolvedAlignment = _this._shifted_box$_alignment.resolve$1(_this._shifted_box$_textDirection); }, set$alignment(value) { var _this = this; if (_this._shifted_box$_alignment.$eq(0, value)) return; _this._shifted_box$_alignment = value; _this._shifted_box$_resolvedAlignment = null; _this.markNeedsLayout$0(); }, set$textDirection(_, value) { var _this = this; if (_this._shifted_box$_textDirection == value) return; _this._shifted_box$_textDirection = value; _this._shifted_box$_resolvedAlignment = null; _this.markNeedsLayout$0(); }, alignChild$0() { var t1, t2, t3, t4, _this = this; _this._shifted_box$_resolve$0(); t1 = _this.RenderObjectWithChildMixin__child; t2 = t1.parentData; t2.toString; type$.BoxParentData._as(t2); t3 = _this._shifted_box$_resolvedAlignment; t3.toString; t4 = _this._size; t4.toString; t1 = t1._size; t1.toString; t2.offset = t3.alongOffset$1(type$.Offset._as(t4.$sub(0, t1))); } }; A.RenderPositionedBox.prototype = { set$widthFactor(value) { if (this._widthFactor == value) return; this._widthFactor = value; this.markNeedsLayout$0(); }, set$heightFactor(value) { if (this._heightFactor == value) return; this._heightFactor = value; this.markNeedsLayout$0(); }, computeDryLayout$1(constraints) { var childSize, t2, _this = this, shrinkWrapWidth = _this._widthFactor != null || constraints.maxWidth === 1 / 0, shrinkWrapHeight = _this._heightFactor != null || constraints.maxHeight === 1 / 0, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { childSize = t1.getDryLayout$1(new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight)); if (shrinkWrapWidth) { t1 = _this._widthFactor; if (t1 == null) t1 = 1; t1 = childSize._dx * t1; } else t1 = 1 / 0; if (shrinkWrapHeight) { t2 = _this._heightFactor; if (t2 == null) t2 = 1; t2 = childSize._dy * t2; } else t2 = 1 / 0; return constraints.constrain$1(new A.Size(t1, t2)); } t1 = shrinkWrapWidth ? 0 : 1 / 0; return constraints.constrain$1(new A.Size(t1, shrinkWrapHeight ? 0 : 1 / 0)); }, performLayout$0() { var t2, t3, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), shrinkWrapWidth = _this._widthFactor != null || constraints.maxWidth === 1 / 0, shrinkWrapHeight = _this._heightFactor != null || constraints.maxHeight === 1 / 0, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1.layout$2$parentUsesSize(0, new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight), true); if (shrinkWrapWidth) { t1 = _this.RenderObjectWithChildMixin__child._size._dx; t2 = _this._widthFactor; t1 *= t2 == null ? 1 : t2; } else t1 = 1 / 0; if (shrinkWrapHeight) { t2 = _this.RenderObjectWithChildMixin__child._size._dy; t3 = _this._heightFactor; t2 *= t3 == null ? 1 : t3; } else t2 = 1 / 0; _this._size = constraints.constrain$1(new A.Size(t1, t2)); _this.alignChild$0(); } else { t1 = shrinkWrapWidth ? 0 : 1 / 0; _this._size = constraints.constrain$1(new A.Size(t1, shrinkWrapHeight ? 0 : 1 / 0)); } } }; A.RenderConstraintsTransformBox.prototype = { get$constraintsTransform() { return this._constraintsTransform; }, set$constraintsTransform(value) { var t1, _this = this; if (J.$eq$(_this._constraintsTransform, value)) return; _this._constraintsTransform = value; t1 = _this._childConstraints; if (t1 == null || !t1.$eq(0, value.call$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this))))) _this.markNeedsLayout$0(); }, computeMinIntrinsicHeight$1(width) { return this.super$RenderShiftedBox$computeMinIntrinsicHeight(this.constraintsTransform$1(new A.BoxConstraints(0, width, 0, 1 / 0)).maxWidth); }, computeMaxIntrinsicHeight$1(width) { return this.super$RenderShiftedBox$computeMaxIntrinsicHeight(this.constraintsTransform$1(new A.BoxConstraints(0, width, 0, 1 / 0)).maxWidth); }, computeMinIntrinsicWidth$1(height) { return this.super$RenderShiftedBox$computeMinIntrinsicWidth(this.constraintsTransform$1(new A.BoxConstraints(0, 1 / 0, 0, height)).maxHeight); }, computeMaxIntrinsicWidth$1(height) { return this.super$RenderShiftedBox$computeMaxIntrinsicWidth(this.constraintsTransform$1(new A.BoxConstraints(0, 1 / 0, 0, height)).maxHeight); }, computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child, childSize = t1 == null ? null : t1.getDryLayout$1(this.constraintsTransform$1(constraints)); return childSize == null ? new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)) : constraints.constrain$1(childSize); }, performLayout$0() { var childConstraints, t1, t2, t3, t4, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), child = _this.RenderObjectWithChildMixin__child; if (child != null) { childConstraints = _this.constraintsTransform$1(constraints); _this._childConstraints = childConstraints; child.layout$2$parentUsesSize(0, childConstraints, true); t1 = child._size; t1.toString; _this._size = constraints.constrain$1(t1); _this.alignChild$0(); t1 = child.parentData; t1.toString; type$.BoxParentData._as(t1); t2 = _this._size; t2 = _this._overflowContainerRect = new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy); t1 = t1.offset; t3 = child._size; t3.toString; t4 = t1._dx; t1 = t1._dy; t3 = _this._overflowChildRect = new A.Rect(t4, t1, t4 + t3._dx, t1 + t3._dy); t1 = t2; t2 = t3; } else { _this._size = new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); _this._overflowChildRect = _this._overflowContainerRect = B.Rect_0_0_0_0; t1 = B.Rect_0_0_0_0; t2 = B.Rect_0_0_0_0; } t2 = A.RelativeRect_RelativeRect$fromRect(t1, t2); _this._isOverflowing = t2.left > 0 || t2.top > 0 || t2.right > 0 || t2.bottom > 0; }, paint$2(context, offset) { var t1, t2, t3, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._size; t1 = t1.get$isEmpty(t1); } else t1 = true; if (t1) return; if (!_this._isOverflowing) { _this.super$RenderShiftedBox$paint(context, offset); return; } t1 = _this._clipRectLayer; if (_this._shifted_box$_clipBehavior === B.Clip_0) { t1.set$layer(0, null); _this.super$RenderShiftedBox$paint(context, offset); } else { t2 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t1.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t2, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), A.RenderShiftedBox.prototype.get$paint.call(_this), _this._shifted_box$_clipBehavior, t1._layer)); } }, dispose$0(_) { this._clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, describeApproximatePaintClip$1(child) { var t1; if (this._isOverflowing) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, toStringShort$0() { var header = this.super$RenderObject$toStringShort(); return this._isOverflowing ? header + " OVERFLOWING" : header; }, constraintsTransform$1(arg0) { return this.get$constraintsTransform().call$1(arg0); } }; A.SingleChildLayoutDelegate.prototype = { getSize$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, getConstraintsForChild$1(constraints) { return constraints; }, getPositionForChild$2(size, childSize) { return B.Offset_0_0; } }; A.RenderCustomSingleChildLayoutBox.prototype = { set$delegate(newDelegate) { var oldDelegate, _this = this; if (_this._shifted_box$_delegate.$eq(0, newDelegate)) return; oldDelegate = _this._shifted_box$_delegate; if (A.getRuntimeType(newDelegate) !== A.getRuntimeType(oldDelegate) || newDelegate.shouldRelayout$1(oldDelegate)) _this.markNeedsLayout$0(); _this._shifted_box$_delegate = newDelegate; _this._node$_owner != null; }, attach$1(owner) { this.super$_RenderShiftedBox_RenderBox_RenderObjectWithChildMixin$attach(owner); }, detach$0(_) { this.super$_RenderShiftedBox_RenderBox_RenderObjectWithChildMixin$detach(0); }, computeMinIntrinsicWidth$1(height) { var t1 = A.BoxConstraints$tightForFinite(height, 1 / 0), width = t1.constrain$1(this._shifted_box$_delegate.getSize$1(t1))._dx; if (isFinite(width)) return width; return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = A.BoxConstraints$tightForFinite(height, 1 / 0), width = t1.constrain$1(this._shifted_box$_delegate.getSize$1(t1))._dx; if (isFinite(width)) return width; return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = A.BoxConstraints$tightForFinite(1 / 0, width), height = t1.constrain$1(this._shifted_box$_delegate.getSize$1(t1))._dy; if (isFinite(height)) return height; return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = A.BoxConstraints$tightForFinite(1 / 0, width), height = t1.constrain$1(this._shifted_box$_delegate.getSize$1(t1))._dy; if (isFinite(height)) return height; return 0; }, computeDryLayout$1(constraints) { return constraints.constrain$1(this._shifted_box$_delegate.getSize$1(constraints)); }, performLayout$0() { var childConstraints, t3, t4, t5, t6, t7, _this = this, t1 = type$.BoxConstraints, t2 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._size = t2.constrain$1(_this._shifted_box$_delegate.getSize$1(t2)); if (_this.RenderObjectWithChildMixin__child != null) { childConstraints = _this._shifted_box$_delegate.getConstraintsForChild$1(t1._as(A.RenderObject.prototype.get$constraints.call(_this))); t1 = _this.RenderObjectWithChildMixin__child; t1.toString; t2 = childConstraints.minWidth; t3 = childConstraints.maxWidth; t4 = t2 >= t3; t1.layout$2$parentUsesSize(0, childConstraints, !(t4 && childConstraints.minHeight >= childConstraints.maxHeight)); t1 = _this.RenderObjectWithChildMixin__child; t5 = t1.parentData; t5.toString; type$.BoxParentData._as(t5); t6 = _this._shifted_box$_delegate; t7 = _this._size; t7.toString; if (t4 && childConstraints.minHeight >= childConstraints.maxHeight) t1 = new A.Size(B.JSInt_methods.clamp$2(0, t2, t3), B.JSInt_methods.clamp$2(0, childConstraints.minHeight, childConstraints.maxHeight)); else { t1 = t1._size; t1.toString; } t5.offset = t6.getPositionForChild$2(t7, t1); } } }; A._RenderConstraintsTransformBox_RenderAligningShiftedBox_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A._RenderShiftedBox_RenderBox_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.GrowthDirection.prototype = { toString$0(_) { return "GrowthDirection." + this._core$_name; } }; A.SliverConstraints.prototype = { get$isTight() { return false; }, asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(crossAxisExtent, maxExtent, minExtent) { if (crossAxisExtent == null) crossAxisExtent = this.crossAxisExtent; switch (A.axisDirectionToAxis(this.axisDirection).index) { case 0: return new A.BoxConstraints(minExtent, maxExtent, crossAxisExtent, crossAxisExtent); case 1: return new A.BoxConstraints(crossAxisExtent, crossAxisExtent, minExtent, maxExtent); } }, asBoxConstraints$2$maxExtent$minExtent(maxExtent, minExtent) { return this.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(null, maxExtent, minExtent); }, asBoxConstraints$1$maxExtent(maxExtent) { return this.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(null, maxExtent, 0); }, asBoxConstraints$0() { return this.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(null, 1 / 0, 0); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (!(other instanceof A.SliverConstraints)) return false; return other.axisDirection === _this.axisDirection && other.growthDirection === _this.growthDirection && other.scrollOffset === _this.scrollOffset && other.overlap === _this.overlap && other.remainingPaintExtent === _this.remainingPaintExtent && other.crossAxisExtent === _this.crossAxisExtent && other.crossAxisDirection === _this.crossAxisDirection && other.viewportMainAxisExtent === _this.viewportMainAxisExtent && other.remainingCacheExtent === _this.remainingCacheExtent && other.cacheOrigin === _this.cacheOrigin; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.axisDirection, _this.growthDirection, _this.scrollOffset, _this.overlap, _this.remainingPaintExtent, _this.crossAxisExtent, _this.crossAxisDirection, _this.viewportMainAxisExtent, _this.remainingCacheExtent, _this.cacheOrigin, 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, B.C__HashEnd); }, toString$0(_) { var _this = this, t1 = A._setArrayType([_this.axisDirection.toString$0(0), _this.growthDirection.toString$0(0), _this.userScrollDirection.toString$0(0), "scrollOffset: " + B.JSNumber_methods.toStringAsFixed$1(_this.scrollOffset, 1), "remainingPaintExtent: " + B.JSNumber_methods.toStringAsFixed$1(_this.remainingPaintExtent, 1)], type$.JSArray_String), t2 = _this.overlap; if (t2 !== 0) t1.push("overlap: " + B.JSNumber_methods.toStringAsFixed$1(t2, 1)); t1.push("crossAxisExtent: " + B.JSNumber_methods.toStringAsFixed$1(_this.crossAxisExtent, 1)); t1.push("crossAxisDirection: " + _this.crossAxisDirection.toString$0(0)); t1.push("viewportMainAxisExtent: " + B.JSNumber_methods.toStringAsFixed$1(_this.viewportMainAxisExtent, 1)); t1.push("remainingCacheExtent: " + B.JSNumber_methods.toStringAsFixed$1(_this.remainingCacheExtent, 1)); t1.push("cacheOrigin: " + B.JSNumber_methods.toStringAsFixed$1(_this.cacheOrigin, 1)); return "SliverConstraints(" + B.JSArray_methods.join$1(t1, ", ") + ")"; } }; A.SliverGeometry.prototype = { toStringShort$0() { return "SliverGeometry"; } }; A.SliverHitTestResult.prototype = {}; A.SliverHitTestEntry.prototype = { get$target(_) { return type$.RenderSliver._as(this.target); }, toString$0(_) { var _this = this; return A.getRuntimeType(type$.RenderSliver._as(_this.target)).toString$0(0) + "@(mainAxis: " + A.S(_this.mainAxisPosition) + ", crossAxis: " + A.S(_this.crossAxisPosition) + ")"; } }; A.SliverLogicalParentData.prototype = { toString$0(_) { var t1 = this.layoutOffset; return "layoutOffset=" + (t1 == null ? "None" : B.JSNumber_methods.toStringAsFixed$1(t1, 1)); } }; A.SliverLogicalContainerParentData.prototype = {}; A.SliverPhysicalParentData.prototype = { toString$0(_) { return "paintOffset=" + A.S(this.paintOffset); } }; A.SliverPhysicalContainerParentData.prototype = {}; A.RenderSliver.prototype = { get$constraints() { return type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)); }, get$semanticBounds() { return this.get$paintBounds(); }, get$paintBounds() { var _this = this, t1 = type$.SliverConstraints; switch (A.axisDirectionToAxis(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection).index) { case 0: return new A.Rect(0, 0, 0 + _this._geometry.paintExtent, 0 + t1._as(A.RenderObject.prototype.get$constraints.call(_this)).crossAxisExtent); case 1: return new A.Rect(0, 0, 0 + t1._as(A.RenderObject.prototype.get$constraints.call(_this)).crossAxisExtent, 0 + _this._geometry.paintExtent); } }, performResize$0() { }, hitTest$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { var t1, _this = this; if (mainAxisPosition >= 0 && mainAxisPosition < _this._geometry.hitTestExtent && crossAxisPosition >= 0 && crossAxisPosition < type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)).crossAxisExtent) if (_this.hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) || false) { t1 = new A.SliverHitTestEntry(mainAxisPosition, crossAxisPosition, _this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); return true; } return false; }, hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { return false; }, calculatePaintOffset$3$from$to(constraints, from, to) { var a = constraints.scrollOffset, t1 = constraints.remainingPaintExtent, b = a + t1; return B.JSNumber_methods.clamp$2(B.JSNumber_methods.clamp$2(to, a, b) - B.JSNumber_methods.clamp$2(from, a, b), 0, t1); }, calculateCacheOffset$3$from$to(constraints, from, to) { var t1 = constraints.scrollOffset, a = t1 + constraints.cacheOrigin, t2 = constraints.remainingCacheExtent, b = t1 + t2; return B.JSNumber_methods.clamp$2(B.JSNumber_methods.clamp$2(to, a, b) - B.JSNumber_methods.clamp$2(from, a, b), 0, t2); }, childMainAxisPosition$1(child) { return 0; }, childCrossAxisPosition$1(child) { return 0; }, childScrollOffset$1(child) { return 0; }, applyPaintTransform$2(child, transform) { }, handleEvent$2($event, entry) { } }; A.RenderSliverHelpers.prototype = { _getRightWayUp$1(constraints) { var rightWayUp; switch (constraints.axisDirection.index) { case 0: case 3: rightWayUp = false; break; case 2: case 1: rightWayUp = true; break; default: rightWayUp = null; } switch (constraints.growthDirection.index) { case 0: break; case 1: rightWayUp = !rightWayUp; break; } return rightWayUp; }, hitTestBoxChild$4$crossAxisPosition$mainAxisPosition(result, child, crossAxisPosition, mainAxisPosition) { var t1, _this = this, _box_0 = {}, rightWayUp = _this._getRightWayUp$1(_this.get$constraints()), delta = _this.childMainAxisPosition$1(child), crossAxisDelta = _this.childCrossAxisPosition$1(child), absolutePosition = mainAxisPosition - delta, absoluteCrossAxisPosition = crossAxisPosition - crossAxisDelta, paintOffset = _box_0.transformedPosition = null; switch (A.axisDirectionToAxis(_this.get$constraints().axisDirection).index) { case 0: if (!rightWayUp) { t1 = child._size._dx; absolutePosition = t1 - absolutePosition; delta = _this._geometry.paintExtent - t1 - delta; } paintOffset = new A.Offset(delta, crossAxisDelta); _box_0.transformedPosition = new A.Offset(absolutePosition, absoluteCrossAxisPosition); break; case 1: if (!rightWayUp) { t1 = child._size._dy; absolutePosition = t1 - absolutePosition; delta = _this._geometry.paintExtent - t1 - delta; } paintOffset = new A.Offset(crossAxisDelta, delta); _box_0.transformedPosition = new A.Offset(absoluteCrossAxisPosition, absolutePosition); break; } return result.addWithOutOfBandPosition$2$hitTest$paintOffset(new A.RenderSliverHelpers_hitTestBoxChild_closure(_box_0, child), paintOffset); }, applyPaintTransformForBoxChild$2(child, transform) { var _this = this, rightWayUp = _this._getRightWayUp$1(_this.get$constraints()), delta = _this.childMainAxisPosition$1(child), crossAxisDelta = _this.childCrossAxisPosition$1(child); switch (A.axisDirectionToAxis(_this.get$constraints().axisDirection).index) { case 0: transform.translate$2(0, !rightWayUp ? _this._geometry.paintExtent - child._size._dx - delta : delta, crossAxisDelta); break; case 1: transform.translate$2(0, crossAxisDelta, !rightWayUp ? _this._geometry.paintExtent - child._size._dy - delta : delta); break; } } }; A.RenderSliverHelpers_hitTestBoxChild_closure.prototype = { call$1(result) { return this.child.hitTest$2$position(result, this._box_0.transformedPosition); }, $signature: 289 }; A.RenderSliverSingleBoxAdapter.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.SliverPhysicalParentData)) child.parentData = new A.SliverPhysicalParentData(B.Offset_0_0); }, setChildParentData$3(child, constraints, geometry) { var t1 = child.parentData; t1.toString; type$.SliverPhysicalParentData._as(t1); switch (A.applyGrowthDirectionToAxisDirection(constraints.axisDirection, constraints.growthDirection)) { case B.AxisDirection_0: t1.paintOffset = new A.Offset(0, -(geometry.scrollExtent - (geometry.paintExtent + constraints.scrollOffset))); break; case B.AxisDirection_1: t1.paintOffset = new A.Offset(-constraints.scrollOffset, 0); break; case B.AxisDirection_2: t1.paintOffset = new A.Offset(0, -constraints.scrollOffset); break; case B.AxisDirection_3: t1.paintOffset = new A.Offset(-(geometry.scrollExtent - (geometry.paintExtent + constraints.scrollOffset)), 0); break; } }, hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return this.hitTestBoxChild$4$crossAxisPosition$mainAxisPosition(A.BoxHitTestResult$wrap(result), t1, crossAxisPosition, mainAxisPosition); return false; }, childMainAxisPosition$1(child) { return -type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)).scrollOffset; }, applyPaintTransform$2(child, transform) { var t1 = child.parentData; t1.toString; t1 = type$.SliverPhysicalParentData._as(t1).paintOffset; transform.translate$2(0, t1._dx, t1._dy); }, paint$2(context, offset) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null && this._geometry.visible) { t2 = t1.parentData; t2.toString; context.paintChild$2(t1, offset.$add(0, type$.SliverPhysicalParentData._as(t2).paintOffset)); } } }; A._RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A._RenderSliverSingleBoxAdapter_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers.prototype = {}; A._SliverGeometry_Object_Diagnosticable.prototype = {}; A._SliverLogicalContainerParentData_SliverLogicalParentData_ContainerParentDataMixin.prototype = { detach$0(_) { this.super$ParentData$detach(0); } }; A._SliverPhysicalContainerParentData_SliverPhysicalParentData_ContainerParentDataMixin.prototype = { detach$0(_) { this.super$ParentData$detach(0); } }; A.RenderSliverFillViewport.prototype = { get$itemExtent() { return type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)).viewportMainAxisExtent * this._sliver_fill0$_viewportFraction; }, set$viewportFraction(value) { if (this._sliver_fill0$_viewportFraction === value) return; this._sliver_fill0$_viewportFraction = value; this.markNeedsLayout$0(); } }; A.RenderSliverFillRemaining.prototype = { performLayout$0() { var childExtent, paintedChildSize, t2, _this = this, _null = null, constraints = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), extent = constraints.viewportMainAxisExtent - constraints.precedingScrollExtent, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { switch (A.axisDirectionToAxis(constraints.axisDirection).index) { case 0: childExtent = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, constraints.crossAxisExtent, t1.get$computeMaxIntrinsicWidth()); break; case 1: childExtent = t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, constraints.crossAxisExtent, t1.get$computeMaxIntrinsicHeight()); break; default: childExtent = _null; } extent = Math.max(extent, A.checkNum(childExtent)); t1 = _this.RenderObjectWithChildMixin__child; t1.toString; t1.layout$1(0, constraints.asBoxConstraints$2$maxExtent$minExtent(extent, extent)); } paintedChildSize = _this.calculatePaintOffset$3$from$to(constraints, 0, extent); t1 = A.SliverGeometry$(_null, extent > constraints.remainingPaintExtent || constraints.scrollOffset > 0, _null, _null, paintedChildSize, 0, paintedChildSize, 0, extent, _null); _this._geometry = t1; t2 = _this.RenderObjectWithChildMixin__child; if (t2 != null) _this.setChildParentData$3(t2, constraints, t1); } }; A.RenderSliverFixedExtentBoxAdaptor.prototype = { getMinChildIndexForScrollOffset$2(scrollOffset, itemExtent) { var actual, round; if (itemExtent > 0) { actual = scrollOffset / itemExtent; round = B.JSNumber_methods.round$0(actual); if (Math.abs(actual - round) < 1e-10) return round; return B.JSNumber_methods.floor$0(actual); } return 0; }, getMaxChildIndexForScrollOffset$2(scrollOffset, itemExtent) { var actual, round; if (itemExtent > 0) { actual = scrollOffset / itemExtent - 1; round = B.JSNumber_methods.round$0(actual); if (Math.abs(actual - round) < 1e-10) return Math.max(0, round); return Math.max(0, B.JSNumber_methods.ceil$0(actual)); } return 0; }, _calculateLeadingGarbage$1(firstIndex) { var t3, walker = this.ContainerRenderObjectMixin__firstChild, t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), t2 = type$.SliverMultiBoxAdaptorParentData, leadingGarbage = 0; while (true) { if (walker != null) { t3 = walker.parentData; t3.toString; t3 = t2._as(t3).index; t3.toString; t3 = t3 < firstIndex; } else t3 = false; if (!t3) break; ++leadingGarbage; t3 = walker.parentData; t3.toString; walker = t1._as(t3).ContainerParentDataMixin_nextSibling; } return leadingGarbage; }, _calculateTrailingGarbage$1(targetLastIndex) { var t3, walker = this.ContainerRenderObjectMixin__lastChild, t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), t2 = type$.SliverMultiBoxAdaptorParentData, trailingGarbage = 0; while (true) { if (walker != null) { t3 = walker.parentData; t3.toString; t3 = t2._as(t3).index; t3.toString; t3 = t3 > targetLastIndex; } else t3 = false; if (!t3) break; ++trailingGarbage; t3 = walker.parentData; t3.toString; walker = t1._as(t3).ContainerParentDataMixin_previousSibling; } return trailingGarbage; }, performLayout$0() { var itemExtent, t2, scrollOffset, targetEndScrollOffset, childConstraints, firstIndex, targetLastIndex, leadingGarbage, max, t3, t4, index, trailingChildWithLayout, child, t5, estimatedMaxScrollOffset, t6, t7, leadingScrollOffset, trailingScrollOffset, paintExtent, cacheExtent, targetEndScrollOffsetForPaint, targetLastIndexForPaint, _this = this, _null = null, constraints = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this._childManager; t1._didUnderflow = false; itemExtent = _this.get$itemExtent(); t2 = constraints.scrollOffset; scrollOffset = t2 + constraints.cacheOrigin; targetEndScrollOffset = scrollOffset + constraints.remainingCacheExtent; childConstraints = constraints.asBoxConstraints$2$maxExtent$minExtent(itemExtent, itemExtent); firstIndex = _this.getMinChildIndexForScrollOffset$2(scrollOffset, itemExtent); targetLastIndex = isFinite(targetEndScrollOffset) ? _this.getMaxChildIndexForScrollOffset$2(targetEndScrollOffset, itemExtent) : _null; if (_this.ContainerRenderObjectMixin__firstChild != null) { leadingGarbage = _this._calculateLeadingGarbage$1(firstIndex); _this.collectGarbage$2(leadingGarbage, targetLastIndex != null ? _this._calculateTrailingGarbage$1(targetLastIndex) : 0); } else _this.collectGarbage$2(0, 0); if (_this.ContainerRenderObjectMixin__firstChild == null) if (!_this.addInitialChild$2$index$layoutOffset(firstIndex, itemExtent * firstIndex)) { max = firstIndex <= 0 ? 0 : t1.get$childCount() * itemExtent; _this._geometry = A.SliverGeometry$(_null, false, _null, _null, max, 0, 0, 0, max, _null); t1.didFinishLayout$0(); return; } t3 = _this.ContainerRenderObjectMixin__firstChild; t3.toString; t3 = t3.parentData; t3.toString; t4 = type$.SliverMultiBoxAdaptorParentData; t3 = t4._as(t3).index; t3.toString; index = t3 - 1; trailingChildWithLayout = _null; for (; index >= firstIndex; --index) { child = _this.insertAndLayoutLeadingChild$1(childConstraints); if (child == null) { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, 0, 0, 0, 0, 0, index * itemExtent); return; } t3 = child.parentData; t3.toString; t4._as(t3).layoutOffset = itemExtent * index; if (trailingChildWithLayout == null) trailingChildWithLayout = child; } if (trailingChildWithLayout == null) { _this.ContainerRenderObjectMixin__firstChild.layout$1(0, childConstraints); trailingChildWithLayout = _this.ContainerRenderObjectMixin__firstChild; t3 = trailingChildWithLayout.parentData; t3.toString; t4._as(t3).layoutOffset = itemExtent * firstIndex; } t3 = trailingChildWithLayout.parentData; t3.toString; t3 = t4._as(t3).index; t3.toString; index = t3 + 1; t3 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t5 = targetLastIndex != null; while (true) { if (!(!t5 || index <= targetLastIndex)) { estimatedMaxScrollOffset = 1 / 0; break; } t6 = trailingChildWithLayout.parentData; t6.toString; child = t3._as(t6).ContainerParentDataMixin_nextSibling; if (child != null) { t6 = child.parentData; t6.toString; t6 = t4._as(t6).index; t6.toString; t6 = t6 !== index; } else t6 = true; if (t6) { child = _this.insertAndLayoutChild$2$after(childConstraints, trailingChildWithLayout); if (child == null) { estimatedMaxScrollOffset = index * itemExtent; break; } } else child.layout$1(0, childConstraints); t6 = child.parentData; t6.toString; t4._as(t6); t7 = t6.index; t7.toString; t6.layoutOffset = itemExtent * t7; ++index; trailingChildWithLayout = child; } t3 = _this.ContainerRenderObjectMixin__lastChild; t3.toString; t3 = t3.parentData; t3.toString; t3 = t4._as(t3).index; t3.toString; leadingScrollOffset = itemExtent * firstIndex; trailingScrollOffset = itemExtent * (t3 + 1); estimatedMaxScrollOffset = Math.min(estimatedMaxScrollOffset, t1.estimateMaxScrollOffset$5$firstIndex$lastIndex$leadingScrollOffset$trailingScrollOffset(constraints, firstIndex, t3, leadingScrollOffset, trailingScrollOffset)); paintExtent = _this.calculatePaintOffset$3$from$to(constraints, leadingScrollOffset, trailingScrollOffset); cacheExtent = _this.calculateCacheOffset$3$from$to(constraints, leadingScrollOffset, trailingScrollOffset); targetEndScrollOffsetForPaint = t2 + constraints.remainingPaintExtent; targetLastIndexForPaint = isFinite(targetEndScrollOffsetForPaint) ? _this.getMaxChildIndexForScrollOffset$2(targetEndScrollOffsetForPaint, itemExtent) : _null; _this._geometry = A.SliverGeometry$(cacheExtent, targetLastIndexForPaint != null && t3 >= targetLastIndexForPaint || t2 > 0, _null, _null, estimatedMaxScrollOffset, 0, paintExtent, 0, estimatedMaxScrollOffset, _null); if (estimatedMaxScrollOffset === trailingScrollOffset) t1._didUnderflow = true; t1.didFinishLayout$0(); } }; A.RenderSliverFixedExtentList.prototype = { get$itemExtent() { return this._itemExtent; }, set$itemExtent(value) { if (this._itemExtent === value) return; this._itemExtent = value; this.markNeedsLayout$0(); } }; A.SliverGridGeometry.prototype = { getBoxConstraints$1(constraints) { var t1 = this.mainAxisExtent; return constraints.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(this.crossAxisExtent, t1, t1); }, toString$0(_) { var _this = this; return "SliverGridGeometry(" + B.JSArray_methods.join$1(A._setArrayType(["scrollOffset: " + A.S(_this.scrollOffset), "crossAxisOffset: " + A.S(_this.crossAxisOffset), "mainAxisExtent: " + A.S(_this.mainAxisExtent), "crossAxisExtent: " + A.S(_this.crossAxisExtent)], type$.JSArray_String), ", ") + ")"; } }; A.SliverGridLayout.prototype = {}; A.SliverGridRegularTileLayout.prototype = { getMaxChildIndexForScrollOffset$1(scrollOffset) { var t1 = this.mainAxisStride; if (t1 > 0) return Math.max(0, this.crossAxisCount * B.JSNumber_methods.ceil$0(scrollOffset / t1) - 1); return 0; }, _getOffsetFromStartInCrossAxis$1(crossAxisStart) { var t1, t2, _this = this; if (_this.reverseCrossAxis) { t1 = _this.crossAxisStride; t2 = _this.childCrossAxisExtent; return _this.crossAxisCount * t1 - crossAxisStart - t2 - (t1 - t2); } return crossAxisStart; }, getGeometryForChildIndex$1(index) { var _this = this, t1 = _this.crossAxisCount, t2 = B.JSInt_methods.$mod(index, t1); return new A.SliverGridGeometry(B.JSInt_methods.$tdiv(index, t1) * _this.mainAxisStride, _this._getOffsetFromStartInCrossAxis$1(t2 * _this.crossAxisStride), _this.childMainAxisExtent, _this.childCrossAxisExtent); }, computeMaxScrollOffset$1(childCount) { var t1 = this.mainAxisStride; return t1 * (B.JSInt_methods.$tdiv(childCount - 1, this.crossAxisCount) + 1) - (t1 - this.childMainAxisExtent); } }; A.SliverGridDelegate.prototype = {}; A.SliverGridDelegateWithFixedCrossAxisCount.prototype = { getLayout$1(constraints) { var _this = this, t1 = _this.crossAxisSpacing, t2 = _this.crossAxisCount, childCrossAxisExtent = Math.max(0, constraints.crossAxisExtent - t1 * (t2 - 1)) / t2, childMainAxisExtent = childCrossAxisExtent / _this.childAspectRatio; return new A.SliverGridRegularTileLayout(t2, childMainAxisExtent + _this.mainAxisSpacing, childCrossAxisExtent + t1, childMainAxisExtent, childCrossAxisExtent, A.axisDirectionIsReversed(constraints.crossAxisDirection)); }, shouldRelayout$1(oldDelegate) { var _this = this; return oldDelegate.crossAxisCount !== _this.crossAxisCount || oldDelegate.mainAxisSpacing !== _this.mainAxisSpacing || oldDelegate.crossAxisSpacing !== _this.crossAxisSpacing || oldDelegate.childAspectRatio !== _this.childAspectRatio || false; } }; A.SliverGridParentData.prototype = { toString$0(_) { return "crossAxisOffset=" + A.S(this.crossAxisOffset) + "; " + this.super$SliverMultiBoxAdaptorParentData$toString(0); } }; A.RenderSliverGrid.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.SliverGridParentData)) child.parentData = new A.SliverGridParentData(false, null, null); }, set$gridDelegate(value) { var _this = this; if (_this._gridDelegate === value) return; if (A.getRuntimeType(value) !== A.getRuntimeType(_this._gridDelegate) || value.shouldRelayout$1(_this._gridDelegate)) _this.markNeedsLayout$0(); _this._gridDelegate = value; }, childCrossAxisPosition$1(child) { var t1 = child.parentData; t1.toString; t1 = type$.SliverGridParentData._as(t1).crossAxisOffset; t1.toString; return t1; }, performLayout$0() { var t2, scrollOffset, targetEndScrollOffset, layout, t3, firstIndex, targetLastIndex, t4, t5, leadingGarbage, firstChildGridGeometry, leadingScrollOffset, trailingScrollOffset, max, index, trailingChildWithLayout, gridGeometry, child, t6, t7, t8, t9, estimatedTotalExtent, paintExtent, _this = this, _null = null, constraints = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this._childManager; t1._didUnderflow = false; t2 = constraints.scrollOffset; scrollOffset = t2 + constraints.cacheOrigin; targetEndScrollOffset = scrollOffset + constraints.remainingCacheExtent; layout = _this._gridDelegate.getLayout$1(constraints); t3 = layout.mainAxisStride; firstIndex = t3 > 1e-10 ? layout.crossAxisCount * B.JSNumber_methods.$tdiv(scrollOffset, t3) : 0; targetLastIndex = isFinite(targetEndScrollOffset) ? layout.getMaxChildIndexForScrollOffset$1(targetEndScrollOffset) : _null; t3 = _this.ContainerRenderObjectMixin__firstChild; if (t3 != null) { t3 = t3.parentData; t3.toString; t4 = type$.SliverMultiBoxAdaptorParentData; t3 = t4._as(t3).index; t3.toString; t5 = _this.ContainerRenderObjectMixin__lastChild; t5.toString; t5 = t5.parentData; t5.toString; t5 = t4._as(t5).index; t5.toString; leadingGarbage = B.JSInt_methods.clamp$2(firstIndex - t3, 0, _this.ContainerRenderObjectMixin__childCount); _this.collectGarbage$2(leadingGarbage, targetLastIndex == null ? 0 : B.JSInt_methods.clamp$2(t5 - targetLastIndex, 0, _this.ContainerRenderObjectMixin__childCount)); } else _this.collectGarbage$2(0, 0); firstChildGridGeometry = layout.getGeometryForChildIndex$1(firstIndex); leadingScrollOffset = firstChildGridGeometry.scrollOffset; trailingScrollOffset = leadingScrollOffset + firstChildGridGeometry.mainAxisExtent; if (_this.ContainerRenderObjectMixin__firstChild == null) if (!_this.addInitialChild$2$index$layoutOffset(firstIndex, leadingScrollOffset)) { max = layout.computeMaxScrollOffset$1(t1.get$childCount()); _this._geometry = A.SliverGeometry$(_null, false, _null, _null, max, 0, 0, 0, max, _null); t1.didFinishLayout$0(); return; } t3 = _this.ContainerRenderObjectMixin__firstChild; t3.toString; t3 = t3.parentData; t3.toString; t4 = type$.SliverMultiBoxAdaptorParentData; t3 = t4._as(t3).index; t3.toString; index = t3 - 1; t3 = type$.SliverGridParentData; trailingChildWithLayout = _null; for (; index >= firstIndex; --index) { gridGeometry = layout.getGeometryForChildIndex$1(index); t5 = gridGeometry.mainAxisExtent; child = _this.insertAndLayoutLeadingChild$1(constraints.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(gridGeometry.crossAxisExtent, t5, t5)); t6 = child.parentData; t6.toString; t3._as(t6); t7 = gridGeometry.scrollOffset; t6.layoutOffset = t7; t6.crossAxisOffset = gridGeometry.crossAxisOffset; if (trailingChildWithLayout == null) trailingChildWithLayout = child; trailingScrollOffset = Math.max(trailingScrollOffset, t7 + t5); } if (trailingChildWithLayout == null) { t5 = _this.ContainerRenderObjectMixin__firstChild; t5.toString; t5.layout$1(0, firstChildGridGeometry.getBoxConstraints$1(constraints)); trailingChildWithLayout = _this.ContainerRenderObjectMixin__firstChild; t5 = trailingChildWithLayout.parentData; t5.toString; t3._as(t5); t5.layoutOffset = leadingScrollOffset; t5.crossAxisOffset = firstChildGridGeometry.crossAxisOffset; } t5 = trailingChildWithLayout.parentData; t5.toString; t5 = t4._as(t5).index; t5.toString; index = t5 + 1; t5 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t6 = targetLastIndex != null; while (true) { if (!(!t6 || index <= targetLastIndex)) break; gridGeometry = layout.getGeometryForChildIndex$1(index); t7 = gridGeometry.mainAxisExtent; t8 = constraints.asBoxConstraints$3$crossAxisExtent$maxExtent$minExtent(gridGeometry.crossAxisExtent, t7, t7); t9 = trailingChildWithLayout.parentData; t9.toString; child = t5._as(t9).ContainerParentDataMixin_nextSibling; if (child != null) { t9 = child.parentData; t9.toString; t9 = t4._as(t9).index; t9.toString; t9 = t9 !== index; } else t9 = true; if (t9) { child = _this.insertAndLayoutChild$2$after(t8, trailingChildWithLayout); if (child == null) break; } else child.layout$1(0, t8); t8 = child.parentData; t8.toString; t3._as(t8); t9 = gridGeometry.scrollOffset; t8.layoutOffset = t9; t8.crossAxisOffset = gridGeometry.crossAxisOffset; trailingScrollOffset = Math.max(trailingScrollOffset, t9 + t7); ++index; trailingChildWithLayout = child; } t3 = _this.ContainerRenderObjectMixin__lastChild; t3.toString; t3 = t3.parentData; t3.toString; t3 = t4._as(t3).index; t3.toString; estimatedTotalExtent = t1.estimateMaxScrollOffset$5$firstIndex$lastIndex$leadingScrollOffset$trailingScrollOffset(constraints, firstIndex, t3, leadingScrollOffset, trailingScrollOffset); paintExtent = _this.calculatePaintOffset$3$from$to(constraints, Math.min(t2, leadingScrollOffset), trailingScrollOffset); _this._geometry = A.SliverGeometry$(_this.calculateCacheOffset$3$from$to(constraints, leadingScrollOffset, trailingScrollOffset), true, _null, _null, estimatedTotalExtent, 0, paintExtent, 0, estimatedTotalExtent, _null); if (estimatedTotalExtent === trailingScrollOffset) t1._didUnderflow = true; t1.didFinishLayout$0(); } }; A.RenderSliverList.prototype = { performLayout$0() { var t2, scrollOffset, targetEndScrollOffset, childConstraints, earliestUsefulChild, t3, t4, leadingChildrenWithoutLayoutOffset, t5, earliestScrollOffset, leadingChildWithLayout, firstChildScrollOffset, advance, leadingGarbage, extent, reachedEnd, trailingGarbage, child, estimatedMaxScrollOffset, t6, paintExtent, cacheExtent, _this = this, _null = null, _box_0 = {}, constraints = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this._childManager; t1._didUnderflow = false; t2 = constraints.scrollOffset; scrollOffset = t2 + constraints.cacheOrigin; targetEndScrollOffset = scrollOffset + constraints.remainingCacheExtent; childConstraints = constraints.asBoxConstraints$0(); if (_this.ContainerRenderObjectMixin__firstChild == null) if (!_this.addInitialChild$0()) { _this._geometry = B.SliverGeometry_Tbh; t1.didFinishLayout$0(); return; } _box_0.trailingChildWithLayout = null; earliestUsefulChild = _this.ContainerRenderObjectMixin__firstChild; t3 = earliestUsefulChild.parentData; t3.toString; t4 = type$.SliverMultiBoxAdaptorParentData; if (t4._as(t3).layoutOffset == null) { t3 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); leadingChildrenWithoutLayoutOffset = 0; while (true) { if (earliestUsefulChild != null) { t5 = earliestUsefulChild.parentData; t5.toString; t5 = t4._as(t5).layoutOffset == null; } else t5 = false; if (!t5) break; t5 = earliestUsefulChild.parentData; t5.toString; earliestUsefulChild = t3._as(t5).ContainerParentDataMixin_nextSibling; ++leadingChildrenWithoutLayoutOffset; } _this.collectGarbage$2(leadingChildrenWithoutLayoutOffset, 0); if (_this.ContainerRenderObjectMixin__firstChild == null) if (!_this.addInitialChild$0()) { _this._geometry = B.SliverGeometry_Tbh; t1.didFinishLayout$0(); return; } } earliestUsefulChild = _this.ContainerRenderObjectMixin__firstChild; t3 = earliestUsefulChild.parentData; t3.toString; t3 = t4._as(t3).layoutOffset; t3.toString; earliestScrollOffset = t3; leadingChildWithLayout = _null; for (; earliestScrollOffset > scrollOffset; earliestScrollOffset = firstChildScrollOffset, leadingChildWithLayout = earliestUsefulChild) { earliestUsefulChild = _this.insertAndLayoutLeadingChild$2$parentUsesSize(childConstraints, true); if (earliestUsefulChild == null) { t3 = _this.ContainerRenderObjectMixin__firstChild; t5 = t3.parentData; t5.toString; t4._as(t5).layoutOffset = 0; if (scrollOffset === 0) { t3.layout$2$parentUsesSize(0, childConstraints, true); earliestUsefulChild = _this.ContainerRenderObjectMixin__firstChild; if (_box_0.trailingChildWithLayout == null) _box_0.trailingChildWithLayout = earliestUsefulChild; leadingChildWithLayout = earliestUsefulChild; break; } else { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, 0, 0, 0, 0, 0, -scrollOffset); return; } } t3 = _this.ContainerRenderObjectMixin__firstChild; t3.toString; firstChildScrollOffset = earliestScrollOffset - _this.paintExtentOf$1(t3); if (firstChildScrollOffset < -1e-10) { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, 0, 0, 0, 0, 0, -firstChildScrollOffset); t1 = _this.ContainerRenderObjectMixin__firstChild.parentData; t1.toString; t4._as(t1).layoutOffset = 0; return; } t3 = earliestUsefulChild.parentData; t3.toString; t4._as(t3).layoutOffset = firstChildScrollOffset; if (_box_0.trailingChildWithLayout == null) _box_0.trailingChildWithLayout = earliestUsefulChild; } if (scrollOffset < 1e-10) while (true) { t3 = _this.ContainerRenderObjectMixin__firstChild; t3.toString; t3 = t3.parentData; t3.toString; t4._as(t3); t5 = t3.index; t5.toString; if (!(t5 > 0)) break; t3 = t3.layoutOffset; t3.toString; earliestUsefulChild = _this.insertAndLayoutLeadingChild$2$parentUsesSize(childConstraints, true); t5 = _this.ContainerRenderObjectMixin__firstChild; t5.toString; firstChildScrollOffset = t3 - _this.paintExtentOf$1(t5); t5 = _this.ContainerRenderObjectMixin__firstChild.parentData; t5.toString; t4._as(t5).layoutOffset = 0; if (firstChildScrollOffset < -1e-10) { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, 0, 0, 0, 0, 0, -firstChildScrollOffset); return; } } if (leadingChildWithLayout == null) { earliestUsefulChild.layout$2$parentUsesSize(0, childConstraints, true); _box_0.trailingChildWithLayout = earliestUsefulChild; } _box_0.inLayoutRange = true; _box_0.child = earliestUsefulChild; t3 = earliestUsefulChild.parentData; t3.toString; t4._as(t3); t5 = t3.index; t5.toString; _box_0.index = t5; t3 = t3.layoutOffset; t3.toString; _box_0.endScrollOffset = t3 + _this.paintExtentOf$1(earliestUsefulChild); advance = new A.RenderSliverList_performLayout_advance(_box_0, _this, childConstraints); for (leadingGarbage = 0; _box_0.endScrollOffset < scrollOffset;) { ++leadingGarbage; if (!advance.call$0()) { _this.collectGarbage$2(leadingGarbage - 1, 0); t1 = _this.ContainerRenderObjectMixin__lastChild; t2 = t1.parentData; t2.toString; t2 = t4._as(t2).layoutOffset; t2.toString; extent = t2 + _this.paintExtentOf$1(t1); _this._geometry = A.SliverGeometry$(_null, false, _null, _null, extent, 0, 0, 0, extent, _null); return; } } while (true) { if (!(_box_0.endScrollOffset < targetEndScrollOffset)) { reachedEnd = false; break; } if (!advance.call$0()) { reachedEnd = true; break; } } t3 = _box_0.child; if (t3 != null) { t3 = t3.parentData; t3.toString; t5 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); t3 = _box_0.child = t5._as(t3).ContainerParentDataMixin_nextSibling; for (trailingGarbage = 0; t3 != null; t3 = child) { ++trailingGarbage; t3 = t3.parentData; t3.toString; child = t5._as(t3).ContainerParentDataMixin_nextSibling; _box_0.child = child; } } else trailingGarbage = 0; _this.collectGarbage$2(leadingGarbage, trailingGarbage); estimatedMaxScrollOffset = _box_0.endScrollOffset; if (!reachedEnd) { t3 = _this.ContainerRenderObjectMixin__firstChild; t3.toString; t3 = t3.parentData; t3.toString; t4._as(t3); t5 = t3.index; t5.toString; t6 = _this.ContainerRenderObjectMixin__lastChild; t6.toString; t6 = t6.parentData; t6.toString; t6 = t4._as(t6).index; t6.toString; estimatedMaxScrollOffset = t1.estimateMaxScrollOffset$5$firstIndex$lastIndex$leadingScrollOffset$trailingScrollOffset(constraints, t5, t6, t3.layoutOffset, estimatedMaxScrollOffset); } t3 = _this.ContainerRenderObjectMixin__firstChild.parentData; t3.toString; t3 = t4._as(t3).layoutOffset; t3.toString; paintExtent = _this.calculatePaintOffset$3$from$to(constraints, t3, _box_0.endScrollOffset); t3 = _this.ContainerRenderObjectMixin__firstChild.parentData; t3.toString; t3 = t4._as(t3).layoutOffset; t3.toString; cacheExtent = _this.calculateCacheOffset$3$from$to(constraints, t3, _box_0.endScrollOffset); t3 = _box_0.endScrollOffset; _this._geometry = A.SliverGeometry$(cacheExtent, t3 > t2 + constraints.remainingPaintExtent || t2 > 0, _null, _null, estimatedMaxScrollOffset, 0, paintExtent, 0, estimatedMaxScrollOffset, _null); if (estimatedMaxScrollOffset === t3) t1._didUnderflow = true; t1.didFinishLayout$0(); } }; A.RenderSliverList_performLayout_advance.prototype = { call$0() { var t4, child, t5, t1 = this._box_0, t2 = t1.child, t3 = t1.trailingChildWithLayout; if (t2 == t3) t1.inLayoutRange = false; t4 = this.$this; t2 = t2.parentData; t2.toString; child = t1.child = A._instanceType(t4)._eval$1("ContainerRenderObjectMixin.1")._as(t2).ContainerParentDataMixin_nextSibling; t2 = child == null; if (t2) t1.inLayoutRange = false; t5 = ++t1.index; if (!t1.inLayoutRange) { if (!t2) { t2 = child.parentData; t2.toString; t2 = type$.SliverMultiBoxAdaptorParentData._as(t2).index; t2.toString; t5 = t2 !== t5; t2 = t5; } else t2 = true; t5 = this.childConstraints; if (t2) { child = t4.insertAndLayoutChild$3$after$parentUsesSize(t5, t3, true); t1.child = child; if (child == null) return false; } else child.layout$2$parentUsesSize(0, t5, true); t2 = t1.trailingChildWithLayout = t1.child; } else t2 = child; t3 = t2.parentData; t3.toString; type$.SliverMultiBoxAdaptorParentData._as(t3); t5 = t1.endScrollOffset; t3.layoutOffset = t5; t1.endScrollOffset = t5 + t4.paintExtentOf$1(t2); return true; }, $signature: 2 }; A.KeepAliveParentDataMixin.prototype = {}; A.RenderSliverWithKeepAliveMixin.prototype = { setupParentData$1(child) { } }; A.SliverMultiBoxAdaptorParentData.prototype = { toString$0(_) { var t1 = "index=" + A.S(this.index) + "; "; return t1 + (this.KeepAliveParentDataMixin_keepAlive ? "keepAlive; " : "") + this.super$SliverLogicalParentData$toString(0); } }; A.RenderSliverMultiBoxAdaptor.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.SliverMultiBoxAdaptorParentData)) child.parentData = new A.SliverMultiBoxAdaptorParentData(false, null, null); }, adoptChild$1(child) { var t1; this.super$RenderObject$adoptChild(child); t1 = child.parentData; t1.toString; if (!type$.SliverMultiBoxAdaptorParentData._as(t1)._keptAlive) this._childManager.didAdoptChild$1(type$.RenderBox._as(child)); }, insert$2$after(_, child, after) { this.super$ContainerRenderObjectMixin$insert(0, child, after); }, move$2$after(child, after) { var t2, _this = this, t1 = child.parentData; t1.toString; type$.SliverMultiBoxAdaptorParentData._as(t1); if (!t1._keptAlive) { _this.super$ContainerRenderObjectMixin$move(child, after); _this._childManager.didAdoptChild$1(child); _this.markNeedsLayout$0(); } else { t2 = _this._keepAliveBucket; if (t2.$index(0, t1.index) === child) t2.remove$1(0, t1.index); _this._childManager.didAdoptChild$1(child); t1 = t1.index; t1.toString; t2.$indexSet(0, t1, child); } }, remove$1(_, child) { var t1 = child.parentData; t1.toString; type$.SliverMultiBoxAdaptorParentData._as(t1); if (!t1._keptAlive) { this.super$ContainerRenderObjectMixin$remove(0, child); return; } this._keepAliveBucket.remove$1(0, t1.index); this.dropChild$1(child); }, _createOrObtainChild$2$after(index, after) { this.invokeLayoutCallback$1$1(new A.RenderSliverMultiBoxAdaptor__createOrObtainChild_closure(this, index, after), type$.SliverConstraints); }, _destroyOrCacheChild$1(child) { var t2, _this = this, t1 = child.parentData; t1.toString; type$.SliverMultiBoxAdaptorParentData._as(t1); if (t1.KeepAliveParentDataMixin_keepAlive) { _this.remove$1(0, child); t2 = t1.index; t2.toString; _this._keepAliveBucket.$indexSet(0, t2, child); child.parentData = t1; _this.super$RenderObject$adoptChild(child); t1._keptAlive = true; } else _this._childManager.removeChild$1(child); }, attach$1(owner) { var t1; this.super$_RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin$attach(owner); for (t1 = this._keepAliveBucket, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) t1.get$current(t1).attach$1(owner); }, detach$0(_) { var t1; this.super$_RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin$detach(0); for (t1 = this._keepAliveBucket, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) t1.get$current(t1).detach$0(0); }, redepthChildren$0() { this.super$ContainerRenderObjectMixin$redepthChildren(); var t1 = this._keepAliveBucket; t1.get$values(t1).forEach$1(0, this.get$redepthChild()); }, visitChildren$1(visitor) { var t1; this.super$ContainerRenderObjectMixin$visitChildren(visitor); t1 = this._keepAliveBucket; t1.get$values(t1).forEach$1(0, visitor); }, visitChildrenForSemantics$1(visitor) { this.super$ContainerRenderObjectMixin$visitChildren(visitor); }, addInitialChild$2$index$layoutOffset(index, layoutOffset) { var t1; this._createOrObtainChild$2$after(index, null); t1 = this.ContainerRenderObjectMixin__firstChild; if (t1 != null) { t1 = t1.parentData; t1.toString; type$.SliverMultiBoxAdaptorParentData._as(t1).layoutOffset = layoutOffset; return true; } this._childManager._didUnderflow = true; return false; }, addInitialChild$0() { return this.addInitialChild$2$index$layoutOffset(0, 0); }, insertAndLayoutLeadingChild$2$parentUsesSize(childConstraints, parentUsesSize) { var t2, index, t3, _this = this, t1 = _this.ContainerRenderObjectMixin__firstChild; t1.toString; t1 = t1.parentData; t1.toString; t2 = type$.SliverMultiBoxAdaptorParentData; t1 = t2._as(t1).index; t1.toString; index = t1 - 1; _this._createOrObtainChild$2$after(index, null); t1 = _this.ContainerRenderObjectMixin__firstChild; t1.toString; t3 = t1.parentData; t3.toString; t3 = t2._as(t3).index; t3.toString; if (t3 === index) { t1.layout$2$parentUsesSize(0, childConstraints, parentUsesSize); return _this.ContainerRenderObjectMixin__firstChild; } _this._childManager._didUnderflow = true; return null; }, insertAndLayoutLeadingChild$1(childConstraints) { return this.insertAndLayoutLeadingChild$2$parentUsesSize(childConstraints, false); }, insertAndLayoutChild$3$after$parentUsesSize(childConstraints, after, parentUsesSize) { var t2, index, child, t1 = after.parentData; t1.toString; t2 = type$.SliverMultiBoxAdaptorParentData; t1 = t2._as(t1).index; t1.toString; index = t1 + 1; this._createOrObtainChild$2$after(index, after); t1 = after.parentData; t1.toString; child = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1")._as(t1).ContainerParentDataMixin_nextSibling; if (child != null) { t1 = child.parentData; t1.toString; t1 = t2._as(t1).index; t1.toString; t1 = t1 === index; } else t1 = false; if (t1) { child.layout$2$parentUsesSize(0, childConstraints, parentUsesSize); return child; } this._childManager._didUnderflow = true; return null; }, insertAndLayoutChild$2$after(childConstraints, after) { return this.insertAndLayoutChild$3$after$parentUsesSize(childConstraints, after, false); }, collectGarbage$2(leadingGarbage, trailingGarbage) { var t1 = {}; t1.leadingGarbage = leadingGarbage; t1.trailingGarbage = trailingGarbage; this.invokeLayoutCallback$1$1(new A.RenderSliverMultiBoxAdaptor_collectGarbage_closure(t1, this), type$.SliverConstraints); }, paintExtentOf$1(child) { switch (A.axisDirectionToAxis(type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)).axisDirection).index) { case 0: return child._size._dx; case 1: return child._size._dy; } }, hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { var t1, t2, child = this.ContainerRenderObjectMixin__lastChild, boxResult = A.BoxHitTestResult$wrap(result); for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"); child != null;) { if (this.hitTestBoxChild$4$crossAxisPosition$mainAxisPosition(boxResult, child, crossAxisPosition, mainAxisPosition)) return true; t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_previousSibling; } return false; }, childMainAxisPosition$1(child) { var t1 = child.parentData; t1.toString; t1 = type$.SliverMultiBoxAdaptorParentData._as(t1).layoutOffset; t1.toString; return t1 - type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)).scrollOffset; }, childScrollOffset$1(child) { var t1 = child.parentData; t1.toString; return type$.SliverMultiBoxAdaptorParentData._as(t1).layoutOffset; }, applyPaintTransform$2(child, transform) { var t1 = child.parentData; t1.toString; t1 = type$.SliverMultiBoxAdaptorParentData._as(t1).index; if (t1 == null) transform.setZero$0(); else if (this._keepAliveBucket.containsKey$1(0, t1)) transform.setZero$0(); else this.applyPaintTransformForBoxChild$2(child, transform); }, paint$2(context, offset) { var t1, originOffset, mainAxisUnit, crossAxisUnit, addExtent, child, t2, t3, t4, mainAxisDelta, crossAxisDelta, t5, t6, t7, childOffset, t8, _this = this, _null = null; if (_this.ContainerRenderObjectMixin__firstChild == null) return; t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: originOffset = offset.$add(0, new A.Offset(0, _this._geometry.paintExtent)); mainAxisUnit = B.Offset_0_m1; crossAxisUnit = B.Offset_1_0; addExtent = true; break; case B.AxisDirection_1: originOffset = offset; mainAxisUnit = B.Offset_1_0; crossAxisUnit = B.Offset_0_1; addExtent = false; break; case B.AxisDirection_2: originOffset = offset; mainAxisUnit = B.Offset_0_1; crossAxisUnit = B.Offset_1_0; addExtent = false; break; case B.AxisDirection_3: originOffset = offset.$add(0, new A.Offset(_this._geometry.paintExtent, 0)); mainAxisUnit = B.Offset_m1_0; crossAxisUnit = B.Offset_0_1; addExtent = true; break; default: addExtent = _null; originOffset = addExtent; crossAxisUnit = originOffset; mainAxisUnit = crossAxisUnit; } child = _this.ContainerRenderObjectMixin__firstChild; for (t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t3 = type$.SliverMultiBoxAdaptorParentData; child != null;) { t4 = child.parentData; t4.toString; t4 = t3._as(t4).layoutOffset; t4.toString; mainAxisDelta = t4 - t1._as(A.RenderObject.prototype.get$constraints.call(_this)).scrollOffset; crossAxisDelta = _this.childCrossAxisPosition$1(child); t4 = originOffset._dx; t5 = mainAxisUnit._dx; t4 = t4 + t5 * mainAxisDelta + crossAxisUnit._dx * crossAxisDelta; t6 = originOffset._dy; t7 = mainAxisUnit._dy; t6 = t6 + t7 * mainAxisDelta + crossAxisUnit._dy * crossAxisDelta; childOffset = new A.Offset(t4, t6); if (addExtent) { t8 = _this.paintExtentOf$1(child); childOffset = new A.Offset(t4 + t5 * t8, t6 + t7 * t8); } if (mainAxisDelta < t1._as(A.RenderObject.prototype.get$constraints.call(_this)).remainingPaintExtent && mainAxisDelta + _this.paintExtentOf$1(child) > 0) context.paintChild$2(child, childOffset); t4 = child.parentData; t4.toString; child = t2._as(t4).ContainerParentDataMixin_nextSibling; } }, debugDescribeChildren$0() { var t1, t2, indices, _i, index, t3, _s17_ = "child with index ", children = A._setArrayType([], type$.JSArray_DiagnosticsNode), child = this.ContainerRenderObjectMixin__firstChild; if (child != null) for (t1 = type$.SliverMultiBoxAdaptorParentData; true;) { t2 = child.parentData; t2.toString; t1._as(t2); children.push(new A.DiagnosticableTreeNode(child, _s17_ + A.S(t2.index), true, true, null, null)); if (child == this.ContainerRenderObjectMixin__lastChild) break; child = t2.ContainerParentDataMixin_nextSibling; } t1 = this._keepAliveBucket; if (t1.get$isNotEmpty(t1)) { t2 = t1.get$keys(t1); indices = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(indices); for (t2 = indices.length, _i = 0; _i < indices.length; indices.length === t2 || (0, A.throwConcurrentModificationError)(indices), ++_i) { index = indices[_i]; t3 = t1.$index(0, index); t3.toString; children.push(new A.DiagnosticableTreeNode(t3, _s17_ + A.S(index) + " (kept alive but not laid out)", true, true, null, B.DiagnosticsTreeStyle_2)); } } return children; } }; A.RenderSliverMultiBoxAdaptor__createOrObtainChild_closure.prototype = { call$1(constraints) { var t1 = this.$this, t2 = t1._keepAliveBucket, t3 = this.index, t4 = this.after; if (t2.containsKey$1(0, t3)) { t2 = t2.remove$1(0, t3); t2.toString; t3 = t2.parentData; t3.toString; type$.SliverMultiBoxAdaptorParentData._as(t3); t1.dropChild$1(t2); t2.parentData = t3; t1.super$ContainerRenderObjectMixin$insert(0, t2, t4); t3._keptAlive = false; } else t1._childManager.createChild$2$after(t3, t4); }, $signature: 152 }; A.RenderSliverMultiBoxAdaptor_collectGarbage_closure.prototype = { call$1(constraints) { var t1, t2, t3; for (t1 = this._box_0, t2 = this.$this; t1.leadingGarbage > 0;) { t3 = t2.ContainerRenderObjectMixin__firstChild; t3.toString; t2._destroyOrCacheChild$1(t3); --t1.leadingGarbage; } for (; t1.trailingGarbage > 0;) { t3 = t2.ContainerRenderObjectMixin__lastChild; t3.toString; t2._destroyOrCacheChild$1(t3); --t1.trailingGarbage; } t1 = t2._keepAliveBucket; t1 = t1.get$values(t1); t3 = A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>"); B.JSArray_methods.forEach$1(A.List_List$of(new A.WhereIterable(t1, new A.RenderSliverMultiBoxAdaptor_collectGarbage__closure(), t3), true, t3._eval$1("Iterable.E")), t2._childManager.get$removeChild()); }, $signature: 152 }; A.RenderSliverMultiBoxAdaptor_collectGarbage__closure.prototype = { call$1(child) { var t1 = child.parentData; t1.toString; return !type$.SliverMultiBoxAdaptorParentData._as(t1).KeepAliveParentDataMixin_keepAlive; }, $signature: 580 }; A._RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.SliverMultiBoxAdaptorParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.SliverMultiBoxAdaptorParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers.prototype = {}; A._RenderSliverMultiBoxAdaptor_RenderSliver_ContainerRenderObjectMixin_RenderSliverHelpers_RenderSliverWithKeepAliveMixin.prototype = {}; A._SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin.prototype = { detach$0(_) { this.super$ParentData$detach(0); } }; A._SliverMultiBoxAdaptorParentData_SliverLogicalParentData_ContainerParentDataMixin_KeepAliveParentDataMixin.prototype = {}; A.RenderSliverEdgeInsetsPadding.prototype = { get$beforePadding() { var _this = this, t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: return _this.get$resolvedPadding().bottom; case B.AxisDirection_1: return _this.get$resolvedPadding().left; case B.AxisDirection_2: return _this.get$resolvedPadding().top; case B.AxisDirection_3: return _this.get$resolvedPadding().right; } }, get$afterPadding() { var _this = this, t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: return _this.get$resolvedPadding().top; case B.AxisDirection_1: return _this.get$resolvedPadding().right; case B.AxisDirection_2: return _this.get$resolvedPadding().bottom; case B.AxisDirection_3: return _this.get$resolvedPadding().left; } }, get$crossAxisPadding() { switch (A.axisDirectionToAxis(type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(this)).axisDirection).index) { case 0: var t1 = this.get$resolvedPadding(); return t1.get$_top(t1) + t1.get$_bottom(t1); case 1: return this.get$resolvedPadding().get$horizontal(); } }, setupParentData$1(child) { if (!(child.parentData instanceof A.SliverPhysicalParentData)) child.parentData = new A.SliverPhysicalParentData(B.Offset_0_0); }, performLayout$0() { var t2, crossAxisPadding, beforePaddingPaintExtent, overlap, t3, t4, t5, t6, t7, t8, t9, t10, t11, childLayoutGeometry, afterPaddingPaintExtent, mainAxisPaddingPaintExtent, beforePaddingCacheExtent, afterPaddingCacheExtent, paintExtent, _this = this, _null = null, t1 = type$.SliverConstraints, constraints = t1._as(A.RenderObject.prototype.get$constraints.call(_this)), beforePadding = _this.get$beforePadding(); _this.get$afterPadding(); t2 = _this.get$resolvedPadding(); t2.toString; t1 = t2.along$1(A.axisDirectionToAxis(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection)); crossAxisPadding = _this.get$crossAxisPadding(); if (_this.RenderObjectWithChildMixin__child == null) { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, t1, 0, Math.min(t1, constraints.remainingPaintExtent), 0, t1, _null); return; } beforePaddingPaintExtent = _this.calculatePaintOffset$3$from$to(constraints, 0, beforePadding); overlap = constraints.overlap; if (overlap > 0) overlap = Math.max(0, overlap - beforePaddingPaintExtent); t2 = _this.RenderObjectWithChildMixin__child; t2.toString; t3 = Math.max(0, constraints.scrollOffset - beforePadding); t4 = Math.min(0, constraints.cacheOrigin + beforePadding); t5 = constraints.remainingPaintExtent; t6 = _this.calculatePaintOffset$3$from$to(constraints, 0, beforePadding); t7 = constraints.remainingCacheExtent; t8 = _this.calculateCacheOffset$3$from$to(constraints, 0, beforePadding); t9 = Math.max(0, constraints.crossAxisExtent - crossAxisPadding); t10 = constraints.axisDirection; t11 = constraints.growthDirection; t2.layout$2$parentUsesSize(0, new A.SliverConstraints(t10, t11, constraints.userScrollDirection, t3, beforePadding + constraints.precedingScrollExtent, overlap, t5 - t6, t9, constraints.crossAxisDirection, constraints.viewportMainAxisExtent, t4, t7 - t8), true); childLayoutGeometry = _this.RenderObjectWithChildMixin__child._geometry; t2 = childLayoutGeometry.scrollOffsetCorrection; if (t2 != null) { _this._geometry = A.SliverGeometry$(_null, false, _null, _null, 0, 0, 0, 0, 0, t2); return; } t2 = childLayoutGeometry.scrollExtent; t3 = beforePadding + t2; t4 = t1 + t2; afterPaddingPaintExtent = _this.calculatePaintOffset$3$from$to(constraints, t3, t4); mainAxisPaddingPaintExtent = beforePaddingPaintExtent + afterPaddingPaintExtent; beforePaddingCacheExtent = _this.calculateCacheOffset$3$from$to(constraints, 0, beforePadding); afterPaddingCacheExtent = _this.calculateCacheOffset$3$from$to(constraints, t3, t4); t3 = childLayoutGeometry.paintExtent; t6 = childLayoutGeometry.layoutExtent; paintExtent = Math.min(beforePaddingPaintExtent + Math.max(t3, t6 + afterPaddingPaintExtent), t5); t5 = childLayoutGeometry.paintOrigin; t6 = Math.min(mainAxisPaddingPaintExtent + t6, paintExtent); t7 = Math.min(afterPaddingCacheExtent + beforePaddingCacheExtent + childLayoutGeometry.cacheExtent, t7); t8 = childLayoutGeometry.maxPaintExtent; t3 = Math.max(mainAxisPaddingPaintExtent + t3, beforePaddingPaintExtent + childLayoutGeometry.hitTestExtent); _this._geometry = A.SliverGeometry$(t7, childLayoutGeometry.hasVisualOverflow, t3, t6, t1 + t8, 0, paintExtent, t5, t4, _null); t4 = _this.RenderObjectWithChildMixin__child.parentData; t4.toString; type$.SliverPhysicalParentData._as(t4); switch (A.applyGrowthDirectionToAxisDirection(t10, t11)) { case B.AxisDirection_0: t4.paintOffset = new A.Offset(_this.get$resolvedPadding().left, _this.calculatePaintOffset$3$from$to(constraints, _this.get$resolvedPadding().bottom + t2, _this.get$resolvedPadding().bottom + t2 + _this.get$resolvedPadding().top)); break; case B.AxisDirection_1: t4.paintOffset = new A.Offset(_this.calculatePaintOffset$3$from$to(constraints, 0, _this.get$resolvedPadding().left), _this.get$resolvedPadding().top); break; case B.AxisDirection_2: t4.paintOffset = new A.Offset(_this.get$resolvedPadding().left, _this.calculatePaintOffset$3$from$to(constraints, 0, _this.get$resolvedPadding().top)); break; case B.AxisDirection_3: t4.paintOffset = new A.Offset(_this.calculatePaintOffset$3$from$to(constraints, _this.get$resolvedPadding().right + t2, _this.get$resolvedPadding().right + t2 + _this.get$resolvedPadding().left), _this.get$resolvedPadding().top); break; } }, hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { var t2, t3, t4, t5, _this = this, t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null && t1._geometry.hitTestExtent > 0) { t1 = t1.parentData; t1.toString; type$.SliverPhysicalParentData._as(t1); t2 = _this.calculatePaintOffset$3$from$to(type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), 0, _this.get$beforePadding()); t3 = _this.RenderObjectWithChildMixin__child; t3.toString; t3 = _this.childCrossAxisPosition$1(t3); t1 = t1.paintOffset; t4 = _this.RenderObjectWithChildMixin__child.get$hitTest(); t5 = t1 != null; if (t5) result._localTransforms.push(new A._OffsetTransformPart(new A.Offset(-t1._dx, -t1._dy))); t4.call$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition - t3, mainAxisPosition - t2); if (t5) result.popTransform$0(); } return false; }, childCrossAxisPosition$1(child) { var _this = this, t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: case B.AxisDirection_2: return _this.get$resolvedPadding().left; case B.AxisDirection_3: case B.AxisDirection_1: return _this.get$resolvedPadding().top; } }, childScrollOffset$1(child) { return this.get$beforePadding(); }, applyPaintTransform$2(child, transform) { var t1 = child.parentData; t1.toString; t1 = type$.SliverPhysicalParentData._as(t1).paintOffset; transform.translate$2(0, t1._dx, t1._dy); }, paint$2(context, offset) { var t2, t1 = this.RenderObjectWithChildMixin__child; if (t1 != null && t1._geometry.visible) { t2 = t1.parentData; t2.toString; context.paintChild$2(t1, offset.$add(0, type$.SliverPhysicalParentData._as(t2).paintOffset)); } } }; A.RenderSliverPadding.prototype = { get$resolvedPadding() { return this._resolvedPadding; }, _sliver_padding$_resolve$0() { if (this._resolvedPadding != null) return; this._resolvedPadding = this._sliver_padding$_padding; }, set$padding(_, value) { var _this = this; if (_this._sliver_padding$_padding.$eq(0, value)) return; _this._sliver_padding$_padding = value; _this._resolvedPadding = null; _this.markNeedsLayout$0(); }, set$textDirection(_, value) { var _this = this; if (_this._sliver_padding$_textDirection === value) return; _this._sliver_padding$_textDirection = value; _this._resolvedPadding = null; _this.markNeedsLayout$0(); }, performLayout$0() { this._sliver_padding$_resolve$0(); this.super$RenderSliverEdgeInsetsPadding$performLayout(); } }; A._RenderSliverEdgeInsetsPadding_RenderSliver_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.RenderSliverPersistentHeader.prototype = { get$childExtent() { var _this = this; if (_this.RenderObjectWithChildMixin__child == null) return 0; switch (A.axisDirectionToAxis(type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection).index) { case 1: return _this.RenderObjectWithChildMixin__child._size._dy; case 0: return _this.RenderObjectWithChildMixin__child._size._dx; } }, updateChild$2(shrinkOffset, overlapsContent) { }, markNeedsLayout$0() { this._needsUpdateChild = true; this.super$RenderObject$markNeedsLayout(); }, layoutChild$3$overlapsContent(scrollOffset, maxExtent, overlapsContent) { var t1, _this = this, shrinkOffset = Math.min(scrollOffset, maxExtent); if (_this._needsUpdateChild || _this._lastShrinkOffset !== shrinkOffset || _this._lastOverlapsContent !== overlapsContent) { _this.invokeLayoutCallback$1$1(new A.RenderSliverPersistentHeader_layoutChild_closure(_this, shrinkOffset, overlapsContent), type$.SliverConstraints); _this._lastShrinkOffset = shrinkOffset; _this._lastOverlapsContent = overlapsContent; _this._needsUpdateChild = false; } t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) t1.layout$2$parentUsesSize(0, type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)).asBoxConstraints$1$maxExtent(Math.max(_this.get$minExtent(), maxExtent - shrinkOffset) + 0), true); _this.__RenderSliverPersistentHeader__lastStretchOffset = 0; }, childMainAxisPosition$1(child) { return this.super$RenderSliver$childMainAxisPosition(child); }, hitTestChildren$3$crossAxisPosition$mainAxisPosition(result, crossAxisPosition, mainAxisPosition) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return this.hitTestBoxChild$4$crossAxisPosition$mainAxisPosition(A.BoxHitTestResult$wrap(result), t1, crossAxisPosition, mainAxisPosition); return false; }, applyPaintTransform$2(child, transform) { this.applyPaintTransformForBoxChild$2(type$.RenderBox._as(child), transform); }, paint$2(context, offset) { var t1, t2, _this = this; if (_this.RenderObjectWithChildMixin__child != null && _this._geometry.visible) { t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: t1 = _this._geometry.paintExtent; t2 = _this.RenderObjectWithChildMixin__child; t2.toString; offset = offset.$add(0, new A.Offset(0, t1 - _this.childMainAxisPosition$1(t2) - _this.get$childExtent())); break; case B.AxisDirection_2: t1 = _this.RenderObjectWithChildMixin__child; t1.toString; offset = offset.$add(0, new A.Offset(0, _this.childMainAxisPosition$1(t1))); break; case B.AxisDirection_3: t1 = _this._geometry.paintExtent; t2 = _this.RenderObjectWithChildMixin__child; t2.toString; offset = offset.$add(0, new A.Offset(t1 - _this.childMainAxisPosition$1(t2) - _this.get$childExtent(), 0)); break; case B.AxisDirection_1: t1 = _this.RenderObjectWithChildMixin__child; t1.toString; offset = offset.$add(0, new A.Offset(_this.childMainAxisPosition$1(t1), 0)); break; } t1 = _this.RenderObjectWithChildMixin__child; t1.toString; context.paintChild$2(t1, offset); } }, describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config.addTagForChildren$1(B.SemanticsTag_bQQ); } }; A.RenderSliverPersistentHeader_layoutChild_closure.prototype = { call$1(constraints) { this.$this.updateChild$2(this.shrinkOffset, this.overlapsContent); }, $signature: 152 }; A.RenderSliverPinnedPersistentHeader.prototype = { performLayout$0() { var t2, maxExtent, t3, effectiveRemainingPaintExtent, layoutExtent, t4, _this = this, constraints = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this._RenderSliverPersistentHeaderForWidgetsMixin__element; t1.toString; t2 = type$._SliverPersistentHeaderRenderObjectWidget; maxExtent = t2._as(A.RenderObjectElement.prototype.get$widget.call(t1)).delegate._utils$_size; t1 = constraints.overlap; t3 = constraints.scrollOffset; _this.layoutChild$3$overlapsContent(t3, maxExtent, t1 > 0); effectiveRemainingPaintExtent = Math.max(0, constraints.remainingPaintExtent - t1); layoutExtent = B.JSNumber_methods.clamp$2(maxExtent - t3, 0, effectiveRemainingPaintExtent); t3 = Math.min(A.checkNum(_this.get$childExtent()), effectiveRemainingPaintExtent); t4 = _this._RenderSliverPersistentHeaderForWidgetsMixin__element; t4.toString; t4 = t2._as(A.RenderObjectElement.prototype.get$widget.call(t4)); t2 = layoutExtent > 0 ? -constraints.cacheOrigin + layoutExtent : layoutExtent; _this._geometry = A.SliverGeometry$(t2, true, null, layoutExtent, maxExtent, t4.delegate._utils$_size, t3, t1, maxExtent, null); }, childMainAxisPosition$1(child) { return 0; }, showOnScreen$4$curve$descendant$duration$rect(curve, descendant, duration, rect) { var t1, localBounds, newRect, _this = this; if (descendant != null) { t1 = descendant.getTransformTo$1(0, _this); localBounds = A.MatrixUtils_transformRect(t1, rect == null ? descendant.get$paintBounds() : rect); } else localBounds = rect; t1 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(_this)).growthDirection)) { case B.AxisDirection_0: newRect = A._trim(localBounds, _this.get$childExtent(), -1 / 0, 1 / 0, -1 / 0); break; case B.AxisDirection_1: newRect = A._trim(localBounds, 1 / 0, 0, 1 / 0, -1 / 0); break; case B.AxisDirection_2: newRect = A._trim(localBounds, 1 / 0, -1 / 0, 1 / 0, 0); break; case B.AxisDirection_3: newRect = A._trim(localBounds, 1 / 0, -1 / 0, _this.get$childExtent(), -1 / 0); break; default: newRect = null; } _this.super$RenderObject$showOnScreen(curve, _this, duration, newRect); }, showOnScreen$0() { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, null); }, showOnScreen$1$rect(rect) { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, rect); }, showOnScreen$3$curve$duration$rect(curve, duration, rect) { return this.showOnScreen$4$curve$descendant$duration$rect(curve, null, duration, rect); } }; A._RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A._RenderSliverPersistentHeader_RenderSliver_RenderObjectWithChildMixin_RenderSliverHelpers.prototype = {}; A.RelativeRect.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.RelativeRect && other.left === _this.left && other.top === _this.top && other.right === _this.right && other.bottom === _this.bottom; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.left, _this.top, _this.right, _this.bottom, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "RelativeRect.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.StackParentData.prototype = { get$isPositioned() { var _this = this; return _this.top != null || _this.right != null || _this.bottom != null || _this.left != null || _this.width != null || _this.height != null; }, toString$0(_) { var _this = this, t1 = A._setArrayType([], type$.JSArray_String), t2 = _this.top; if (t2 != null) t1.push("top=" + A.debugFormatDouble(t2)); t2 = _this.right; if (t2 != null) t1.push("right=" + A.debugFormatDouble(t2)); t2 = _this.bottom; if (t2 != null) t1.push("bottom=" + A.debugFormatDouble(t2)); t2 = _this.left; if (t2 != null) t1.push("left=" + A.debugFormatDouble(t2)); t2 = _this.width; if (t2 != null) t1.push("width=" + A.debugFormatDouble(t2)); t2 = _this.height; if (t2 != null) t1.push("height=" + A.debugFormatDouble(t2)); if (t1.length === 0) t1.push("not positioned"); t1.push(_this.super$BoxParentData$toString(0)); return B.JSArray_methods.join$1(t1, "; "); }, set$width(receiver, val) { return this.width = val; }, set$height(receiver, val) { return this.height = val; } }; A.StackFit.prototype = { toString$0(_) { return "StackFit." + this._core$_name; } }; A.Overflow.prototype = { toString$0(_) { return "Overflow." + this._core$_name; } }; A.RenderStack.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.StackParentData)) child.parentData = new A.StackParentData(null, null, B.Offset_0_0); }, _stack$_resolve$0() { var _this = this; if (_this._stack$_resolvedAlignment != null) return; _this._stack$_resolvedAlignment = _this._stack$_alignment.resolve$1(_this._stack$_textDirection); }, set$alignment(value) { var _this = this; if (_this._stack$_alignment.$eq(0, value)) return; _this._stack$_alignment = value; _this._stack$_resolvedAlignment = null; _this.markNeedsLayout$0(); }, set$textDirection(_, value) { var _this = this; if (_this._stack$_textDirection == value) return; _this._stack$_textDirection = value; _this._stack$_resolvedAlignment = null; _this.markNeedsLayout$0(); }, computeMinIntrinsicWidth$1(height) { return A.RenderStack_getIntrinsicDimension(this.ContainerRenderObjectMixin__firstChild, new A.RenderStack_computeMinIntrinsicWidth_closure(height)); }, computeMaxIntrinsicWidth$1(height) { return A.RenderStack_getIntrinsicDimension(this.ContainerRenderObjectMixin__firstChild, new A.RenderStack_computeMaxIntrinsicWidth_closure(height)); }, computeMinIntrinsicHeight$1(width) { return A.RenderStack_getIntrinsicDimension(this.ContainerRenderObjectMixin__firstChild, new A.RenderStack_computeMinIntrinsicHeight_closure(width)); }, computeMaxIntrinsicHeight$1(width) { return A.RenderStack_getIntrinsicDimension(this.ContainerRenderObjectMixin__firstChild, new A.RenderStack_computeMaxIntrinsicHeight_closure(width)); }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); }, computeDryLayout$1(constraints) { return this._stack$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_dryLayoutChild$closure()); }, _stack$_computeSize$2$constraints$layoutChild(constraints, layoutChild) { var width, height, nonPositionedConstraints, child, t1, height0, width0, hasNonPositionedChildren, t2, childSize, _this = this; _this._stack$_resolve$0(); if (_this.ContainerRenderObjectMixin__childCount === 0) return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); width = constraints.minWidth; height = constraints.minHeight; switch (_this._stack$_fit.index) { case 0: nonPositionedConstraints = new A.BoxConstraints(0, constraints.maxWidth, 0, constraints.maxHeight); break; case 1: nonPositionedConstraints = A.BoxConstraints$tight(new A.Size(B.JSInt_methods.clamp$2(1 / 0, width, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, height, constraints.maxHeight))); break; case 2: nonPositionedConstraints = constraints; break; default: nonPositionedConstraints = null; } child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData, height0 = height, width0 = width, hasNonPositionedChildren = false; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); if (!t2.get$isPositioned()) { childSize = layoutChild.call$2(child, nonPositionedConstraints); width0 = Math.max(width0, childSize._dx); height0 = Math.max(height0, childSize._dy); hasNonPositionedChildren = true; } child = t2.ContainerParentDataMixin_nextSibling; } return hasNonPositionedChildren ? new A.Size(width0, height0) : new A.Size(B.JSInt_methods.clamp$2(1 / 0, width, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, height, constraints.maxHeight)); }, performLayout$0() { var child, t1, t2, t3, t4, t5, t6, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._stack$_hasVisualOverflow = false; _this._size = _this._stack$_computeSize$2$constraints$layoutChild(constraints, A.layout_helper_ChildLayoutHelper_layoutChild$closure()); child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData, t2 = type$.Offset; child != null;) { t3 = child.parentData; t3.toString; t1._as(t3); if (!t3.get$isPositioned()) { t4 = _this._stack$_resolvedAlignment; t4.toString; t5 = _this._size; t5.toString; t6 = child._size; t6.toString; t3.offset = t4.alongOffset$1(t2._as(t5.$sub(0, t6))); } else { t4 = _this._size; t4.toString; t5 = _this._stack$_resolvedAlignment; t5.toString; _this._stack$_hasVisualOverflow = A.RenderStack_layoutPositionedChild(child, t3, t4, t5) || _this._stack$_hasVisualOverflow; } child = t3.ContainerParentDataMixin_nextSibling; } }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paintStack$2(context, offset) { this.defaultPaint$2(context, offset); }, paint$2(context, offset) { var t3, _this = this, t1 = _this._stack$_clipBehavior !== B.Clip_0 && _this._stack$_hasVisualOverflow, t2 = _this._stack$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t2.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$paintStack(), _this._stack$_clipBehavior, t2._layer)); } else { t2.set$layer(0, null); _this.paintStack$2(context, offset); } }, dispose$0(_) { this._stack$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, describeApproximatePaintClip$1(child) { var t1; if (this._stack$_hasVisualOverflow) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; } }; A.RenderStack_computeMinIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, this.height, child.get$computeMinIntrinsicWidth()); }, $signature: 10 }; A.RenderStack_computeMaxIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, this.height, child.get$computeMaxIntrinsicWidth()); }, $signature: 10 }; A.RenderStack_computeMinIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, this.width, child.get$computeMinIntrinsicHeight()); }, $signature: 10 }; A.RenderStack_computeMaxIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, this.width, child.get$computeMaxIntrinsicHeight()); }, $signature: 10 }; A.RenderIndexedStack.prototype = { visitChildrenForSemantics$1(visitor) { if (this._stack$_index != null && this.ContainerRenderObjectMixin__firstChild != null) visitor.call$1(this._childAtIndex$0()); }, _childAtIndex$0() { var t3, child = this.ContainerRenderObjectMixin__firstChild, t1 = type$.StackParentData, t2 = this._stack$_index, i = 0; while (true) { if (child != null) { t2.toString; t3 = i < t2; } else t3 = false; if (!t3) break; t3 = child.parentData; t3.toString; child = t1._as(t3).ContainerParentDataMixin_nextSibling; ++i; } child.toString; return child; }, hitTestChildren$2$position(result, position) { var child, t1; if (this.ContainerRenderObjectMixin__firstChild == null || this._stack$_index == null) return false; child = this._childAtIndex$0(); t1 = child.parentData; t1.toString; type$.StackParentData._as(t1); return result.addWithPaintOffset$3$hitTest$offset$position(new A.RenderIndexedStack_hitTestChildren_closure(position, t1, child), t1.offset, position); }, paintStack$2(context, offset) { var child, t1; if (this.ContainerRenderObjectMixin__firstChild == null || this._stack$_index == null) return; child = this._childAtIndex$0(); t1 = child.parentData; t1.toString; context.paintChild$2(child, type$.StackParentData._as(t1).offset.$add(0, offset)); } }; A.RenderIndexedStack_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A._RenderStack_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderStack_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.TableCellParentData.prototype = { toString$0(_) { var t1 = this.super$BoxParentData$toString(0) + "; ", t2 = this.verticalAlignment; return t1 + (t2 == null ? "default vertical alignment" : t2.toString$0(0)); } }; A.TableColumnWidth.prototype = { flex$1(_, cells) { return null; }, toString$0(_) { return "TableColumnWidth"; } }; A.IntrinsicColumnWidth.prototype = { minIntrinsicWidth$2(cells, containerWidth) { var t1, result, t2; for (t1 = new A._SyncStarIterator(cells._outerHelper(), cells.$ti._eval$1("_SyncStarIterator<1>")), result = 0; t1.moveNext$0();) { t2 = t1.get$current(t1); result = Math.max(result, t2._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, t2.get$computeMinIntrinsicWidth())); } return result; }, maxIntrinsicWidth$2(cells, containerWidth) { var t1, result, t2; for (t1 = new A._SyncStarIterator(cells._outerHelper(), cells.$ti._eval$1("_SyncStarIterator<1>")), result = 0; t1.moveNext$0();) { t2 = t1.get$current(t1); result = Math.max(result, t2._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, t2.get$computeMaxIntrinsicWidth())); } return result; }, flex$1(_, cells) { return this._flex; }, toString$0(_) { var t1 = this._flex; return "IntrinsicColumnWidth(flex: " + A.S(t1 == null ? null : B.JSInt_methods.toStringAsFixed$1(t1, 1)) + ")"; } }; A.FixedColumnWidth.prototype = { minIntrinsicWidth$2(cells, containerWidth) { return this.value; }, maxIntrinsicWidth$2(cells, containerWidth) { return this.value; }, toString$0(_) { return "FixedColumnWidth(" + A.debugFormatDouble(this.value) + ")"; }, get$value(receiver) { return this.value; } }; A.FlexColumnWidth.prototype = { minIntrinsicWidth$2(cells, containerWidth) { return 0; }, maxIntrinsicWidth$2(cells, containerWidth) { return 0; }, flex$1(_, cells) { return 1; }, toString$0(_) { return "FlexColumnWidth(" + A.debugFormatDouble(1) + ")"; }, get$value() { return 1; } }; A.TableCellVerticalAlignment.prototype = { toString$0(_) { return "TableCellVerticalAlignment." + this._core$_name; } }; A.RenderTable.prototype = { set$columnWidths(value) { var t1 = this._columnWidths; if (t1 === value) return; if (t1.get$isEmpty(t1) && value == null) return; this._columnWidths = value == null ? A.HashMap_HashMap(null, null, null, type$.int, type$.TableColumnWidth) : value; this.markNeedsLayout$0(); }, set$defaultColumnWidth(value) { if (this._defaultColumnWidth === value) return; this._defaultColumnWidth = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._table$_textDirection === value) return; this._table$_textDirection = value; this.markNeedsLayout$0(); }, set$border(_, value) { if (J.$eq$(this._table$_border, value)) return; this._table$_border = value; this.markNeedsPaint$0(); }, set$rowDecorations(value) { var t2, _i, painter, _this = this, t1 = _this._table$_rowDecorations; if (t1 == null ? value == null : t1 === value) return; _this._table$_rowDecorations = value; t1 = _this._rowDecorationPainters; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t2; ++_i) { painter = t1[_i]; if (painter != null) painter.dispose$0(0); } t1 = _this._table$_rowDecorations; _this._rowDecorationPainters = t1 != null ? A.List_List$filled(t1.length, null, false, type$.nullable_BoxPainter) : null; }, set$configuration(value) { if (value.$eq(0, this._table$_configuration)) return; this._table$_configuration = value; this.markNeedsPaint$0(); }, set$defaultVerticalAlignment(value) { if (this._defaultVerticalAlignment === value) return; this._defaultVerticalAlignment = value; this.markNeedsLayout$0(); }, set$textBaseline(_, value) { return; }, setupParentData$1(child) { if (!(child.parentData instanceof A.TableCellParentData)) child.parentData = new A.TableCellParentData(B.Offset_0_0); }, setFlatChildren$2(columns, cells) { var t2, _i, oldChild, lostChildren, y, x, xyOld, xyNew, t3, _this = this, t1 = _this._table$_children; if (cells === t1 && columns === _this._columns) return; if (columns === 0 || cells.length === 0) { _this._columns = columns; t2 = t1.length; if (t2 === 0) return; for (_i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { oldChild = t1[_i]; if (oldChild != null) _this.dropChild$1(oldChild); } _this._rows = 0; B.JSArray_methods.set$length(_this._table$_children, 0); _this.markNeedsLayout$0(); return; } lostChildren = A.HashSet_HashSet(type$.RenderBox); for (y = 0; y < _this._rows; ++y) for (t1 = y * columns, x = 0; t2 = _this._columns, x < t2; ++x) { xyOld = x + y * t2; xyNew = x + t1; t2 = _this._table$_children[xyOld]; if (t2 != null) t2 = x >= columns || xyNew >= cells.length || !J.$eq$(t2, cells[xyNew]); else t2 = false; if (t2) { t2 = _this._table$_children[xyOld]; t2.toString; lostChildren.add$1(0, t2); } } for (y = 0; t1 = y * columns, t1 < cells.length;) { for (x = 0; x < columns; ++x) { xyNew = x + t1; t2 = _this._columns; t3 = cells[xyNew]; if (t3 != null) t2 = x >= t2 || y >= _this._rows || !J.$eq$(_this._table$_children[x + y * t2], t3); else t2 = false; if (t2) if (!lostChildren.remove$1(0, cells[xyNew])) { t2 = cells[xyNew]; t2.toString; _this.setupParentData$1(t2); _this.markNeedsLayout$0(); _this.markNeedsCompositingBitsUpdate$0(); _this.markNeedsSemanticsUpdate$0(); _this.super$AbstractNode$adoptChild(t2); } } ++y; } lostChildren.forEach$1(0, _this.get$dropChild()); _this._columns = columns; _this._rows = B.JSInt_methods.$tdiv(cells.length, columns); _this._table$_children = A.List_List$from(cells, true, type$.nullable_RenderBox); _this.markNeedsLayout$0(); }, setChild$3(x, y, value) { var _this = this, xy = x + y * _this._columns, oldChild = _this._table$_children[xy]; if (oldChild == value) return; if (oldChild != null) _this.dropChild$1(oldChild); B.JSArray_methods.$indexSet(_this._table$_children, xy, value); if (value != null) _this.adoptChild$1(value); }, attach$1(owner) { var t1, t2, _i, child; this.super$RenderObject$attach(owner); for (t1 = this._table$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child != null) child.attach$1(owner); } }, detach$0(_) { var t1, t2, _i, painter, child, _this = this; _this.super$AbstractNode$detach(0); t1 = _this._rowDecorationPainters; if (t1 != null) { for (t2 = t1.length, _i = 0; _i < t2; ++_i) { painter = t1[_i]; if (painter != null) painter.dispose$0(0); } _this._rowDecorationPainters = A.List_List$filled(_this._table$_rowDecorations.length, null, false, type$.nullable_BoxPainter); } for (t1 = _this._table$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child != null) J.detach$0$z(child); } }, visitChildren$1(visitor) { var t1, t2, _i, child; for (t1 = this._table$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child != null) visitor.call$1(child); } }, computeMinIntrinsicWidth$1(height) { var totalMinWidth, x, columnWidth, _this = this; for (totalMinWidth = 0, x = 0; x < _this._columns; ++x) { columnWidth = _this._columnWidths.$index(0, x); if (columnWidth == null) columnWidth = _this._defaultColumnWidth; totalMinWidth += columnWidth.minIntrinsicWidth$2(_this.column$1(x), 1 / 0); } return totalMinWidth; }, computeMaxIntrinsicWidth$1(height) { var totalMaxWidth, x, columnWidth, _this = this; for (totalMaxWidth = 0, x = 0; x < _this._columns; ++x) { columnWidth = _this._columnWidths.$index(0, x); if (columnWidth == null) columnWidth = _this._defaultColumnWidth; totalMaxWidth += columnWidth.maxIntrinsicWidth$2(_this.column$1(x), 1 / 0); } return totalMaxWidth; }, computeMinIntrinsicHeight$1(width) { var rowTop, y, rowHeight, x, t1, child, _this = this, widths = _this._computeColumnWidths$1(A.BoxConstraints$tightForFinite(1 / 0, width)); for (rowTop = 0, y = 0; y < _this._rows; ++y) { for (rowHeight = 0, x = 0; t1 = _this._columns, x < t1; ++x) { child = _this._table$_children[x + y * t1]; if (child != null) rowHeight = Math.max(rowHeight, child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, widths[x], child.get$computeMaxIntrinsicHeight())); } rowTop += rowHeight; } return rowTop; }, computeMaxIntrinsicHeight$1(width) { return this.computeMinIntrinsicHeight$1(width); }, computeDistanceToActualBaseline$1(baseline) { return this._baselineDistance; }, column$1(x) { return this.column$body$RenderTable(x); }, column$body$RenderTable($async$x) { var $async$self = this; return A._makeSyncStarIterable(function() { var x = $async$x; var $async$goto = 0, $async$handler = 1, $async$currentError, y, t1, child; return function $async$column$1($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 y = 0; case 2: // for condition if (!(y < $async$self._rows)) { // goto after for $async$goto = 4; break; } t1 = $async$self._columns; child = $async$self._table$_children[x + y * t1]; $async$goto = child != null ? 5 : 6; break; case 5: // then $async$goto = 7; return child; case 7: // after yield case 6: // join case 3: // for update ++y; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderBox); }, _computeColumnWidths$1(constraints) { var targetWidth, tableWidth, unflexedTableWidth, totalFlex, x, availableColumns, columnWidth, columnCells, maxIntrinsicWidth, flex, minWidthConstraint, targetWidth0, remainingWidth, flexedWidth, delta, deficit, availableColumns0, newTotalFlex, t2, newWidth, t3, newAvailableColumns, availableDelta, _this = this, t1 = type$.double, widths = A.List_List$filled(_this._columns, 0, false, t1), minWidths = A.List_List$filled(_this._columns, 0, false, t1), flexes = A.List_List$filled(_this._columns, null, false, type$.nullable_double); for (targetWidth = constraints.maxWidth, tableWidth = 0, unflexedTableWidth = 0, totalFlex = 0, x = 0; availableColumns = _this._columns, x < availableColumns; ++x) { columnWidth = _this._columnWidths.$index(0, x); if (columnWidth == null) columnWidth = _this._defaultColumnWidth; columnCells = _this.column$1(x); maxIntrinsicWidth = columnWidth.maxIntrinsicWidth$2(columnCells, targetWidth); widths[x] = maxIntrinsicWidth; tableWidth += maxIntrinsicWidth; minWidths[x] = columnWidth.minIntrinsicWidth$2(columnCells, targetWidth); flex = columnWidth.flex$1(0, columnCells); if (flex != null) { flexes[x] = flex; totalFlex += flex; } else unflexedTableWidth += maxIntrinsicWidth; } minWidthConstraint = constraints.minWidth; if (totalFlex > 0) { targetWidth0 = isFinite(targetWidth) ? targetWidth : minWidthConstraint; if (tableWidth < targetWidth0) { remainingWidth = targetWidth0 - unflexedTableWidth; for (x = 0; x < availableColumns; ++x) { t1 = flexes[x]; if (t1 != null) { flexedWidth = remainingWidth * t1 / totalFlex; t1 = widths[x]; if (t1 < flexedWidth) { tableWidth += flexedWidth - t1; widths[x] = flexedWidth; } } } } } else if (tableWidth < minWidthConstraint) { delta = (minWidthConstraint - tableWidth) / availableColumns; for (x = 0; x < availableColumns; ++x) widths[x] = widths[x] + delta; tableWidth = minWidthConstraint; } if (tableWidth > targetWidth) { deficit = tableWidth - targetWidth; availableColumns0 = availableColumns; while (true) { if (!(deficit > 1e-10 && totalFlex > 1e-10)) break; for (newTotalFlex = 0, x = 0; x < availableColumns; ++x) { t1 = flexes[x]; if (t1 != null) { t2 = widths[x]; newWidth = t2 - deficit * t1 / totalFlex; t3 = minWidths[x]; if (newWidth <= t3) { deficit -= t2 - t3; widths[x] = t3; flexes[x] = null; --availableColumns0; } else { deficit -= t2 - newWidth; widths[x] = newWidth; newTotalFlex += t1; } } } totalFlex = newTotalFlex; } while (true) { if (!(deficit > 1e-10 && availableColumns0 > 0)) break; delta = deficit / availableColumns0; for (newAvailableColumns = 0, x = 0; x < availableColumns; ++x) { t1 = widths[x]; t2 = minWidths[x]; availableDelta = t1 - t2; if (availableDelta > 0) if (availableDelta <= delta) { deficit -= availableDelta; widths[x] = t2; } else { deficit -= delta; widths[x] = t1 - delta; ++newAvailableColumns; } } availableColumns0 = newAvailableColumns; } } return widths; }, computeDryLayout$1(constraints) { var widths, tableWidth, t1, rowTop, y, rowHeight, x, t2, child, _this = this; if (_this._rows * _this._columns === 0) return constraints.constrain$1(B.Size_0_0); widths = _this._computeColumnWidths$1(constraints); tableWidth = B.JSArray_methods.fold$2(widths, 0, new A.RenderTable_computeDryLayout_closure()); for (t1 = type$.TableCellParentData, rowTop = 0, y = 0; y < _this._rows; ++y) { for (rowHeight = 0, x = 0; t2 = _this._columns, x < t2; ++x) { child = _this._table$_children[x + y * t2]; if (child != null) { t2 = child.parentData; t2.toString; t2 = t1._as(t2).verticalAlignment; switch ((t2 == null ? _this._defaultVerticalAlignment : t2).index) { case 3: return B.Size_0_0; case 0: case 1: case 2: rowHeight = Math.max(rowHeight, child.getDryLayout$1(A.BoxConstraints$tightFor(null, widths[x]))._dy); break; case 4: break; } } } rowTop += rowHeight; } return constraints.constrain$1(new A.Size(tableWidth, rowTop)); }, performLayout$0() { var widths, t1, positions, x, t2, tableWidth, t3, rowTop, y, baselines, t4, rowHeight, haveBaseline, beforeBaselineDistance, afterBaselineDistance, child, t5, t6, childBaseline, rowTop0, t7, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), rows = _this._rows, columns = _this._columns; if (rows * columns === 0) { _this._size = constraints.constrain$1(B.Size_0_0); return; } widths = _this._computeColumnWidths$1(constraints); t1 = type$.double; positions = A.List_List$filled(columns, 0, false, t1); switch (_this._table$_textDirection.index) { case 0: positions[columns - 1] = 0; for (x = columns - 2; x >= 0; --x) { t2 = x + 1; positions[x] = positions[t2] + widths[t2]; } _this._columnLefts = new A.ReversedListIterable(positions, A._arrayInstanceType(positions)._eval$1("ReversedListIterable<1>")); tableWidth = B.JSArray_methods.get$first(positions) + B.JSArray_methods.get$first(widths); break; case 1: positions[0] = 0; for (x = 1; x < columns; ++x) { t2 = x - 1; positions[x] = positions[t2] + widths[t2]; } _this._columnLefts = positions; tableWidth = B.JSArray_methods.get$last(positions) + B.JSArray_methods.get$last(widths); break; default: tableWidth = null; } t2 = _this._rowTops; B.JSArray_methods.set$length(t2, 0); _this._baselineDistance = null; for (t3 = type$.TableCellParentData, rowTop = 0, y = 0; y < rows; ++y, rowTop = rowTop0) { t2.push(rowTop); baselines = A.List_List$filled(columns, 0, false, t1); for (t4 = y * columns, rowHeight = 0, haveBaseline = false, beforeBaselineDistance = 0, afterBaselineDistance = 0, x = 0; x < columns; ++x) { child = _this._table$_children[x + t4]; if (child != null) { t5 = child.parentData; t5.toString; t3._as(t5); t5.y = y; t6 = t5.verticalAlignment; switch ((t6 == null ? _this._defaultVerticalAlignment : t6).index) { case 3: child.layout$2$parentUsesSize(0, A.BoxConstraints$tightFor(null, widths[x]), true); t6 = _this._table$_textBaseline; t6.toString; childBaseline = child.getDistanceToBaseline$2$onlyReal(t6, true); t6 = child._size; if (childBaseline != null) { beforeBaselineDistance = Math.max(beforeBaselineDistance, childBaseline); afterBaselineDistance = Math.max(afterBaselineDistance, t6._dy - childBaseline); baselines[x] = childBaseline; haveBaseline = true; } else { rowHeight = Math.max(rowHeight, t6._dy); t5.offset = new A.Offset(positions[x], rowTop); } break; case 0: case 1: case 2: child.layout$2$parentUsesSize(0, A.BoxConstraints$tightFor(null, widths[x]), true); rowHeight = Math.max(rowHeight, child._size._dy); break; case 4: break; } } } if (haveBaseline) { if (y === 0) _this._baselineDistance = beforeBaselineDistance; rowHeight = Math.max(rowHeight, beforeBaselineDistance + afterBaselineDistance); } for (rowTop0 = rowTop + rowHeight, t5 = rowTop + beforeBaselineDistance, x = 0; x < columns; ++x) { child = _this._table$_children[x + t4]; if (child != null) { t6 = child.parentData; t6.toString; t3._as(t6); t7 = t6.verticalAlignment; switch ((t7 == null ? _this._defaultVerticalAlignment : t7).index) { case 3: t6.offset = new A.Offset(positions[x], t5 - baselines[x]); break; case 0: t6.offset = new A.Offset(positions[x], rowTop); break; case 1: t6.offset = new A.Offset(positions[x], rowTop + (rowHeight - child._size._dy) / 2); break; case 2: t6.offset = new A.Offset(positions[x], rowTop0 - child._size._dy); break; case 4: child.layout$1(0, A.BoxConstraints$tightFor(rowHeight, widths[x])); t6.offset = new A.Offset(positions[x], rowTop); break; } } } } t2.push(rowTop); _this._size = constraints.constrain$1(new A.Size(tableWidth, rowTop)); }, hitTestChildren$2$position(result, position) { var index, t1, child, t2; for (index = this._table$_children.length - 1, t1 = type$.BoxParentData; index >= 0; --index) { child = this._table$_children[index]; if (child != null) { t2 = child.parentData; t2.toString; t1._as(t2); if (result.addWithPaintOffset$3$hitTest$offset$position(new A.RenderTable_hitTestChildren_closure(position, t2, child), t2.offset, position)) return true; } } return false; }, paint$2(context, offset) { var t1, t2, t3, t4, canvas, y, t5, t6, index, child, t7, rows, columns, _this = this; if (_this._rows * _this._columns === 0) { t1 = _this._table$_border; if (t1 != null) { t2 = offset._dx; t3 = offset._dy; t4 = _this._size._dx; t1.paint$4$columns$rows(context.get$canvas(context), new A.Rect(t2, t3, t2 + t4, t3 + 0), B.List_empty14, B.List_empty14); } return; } if (_this._table$_rowDecorations != null) { canvas = context.get$canvas(context); for (t1 = offset._dx, t2 = offset._dy, t3 = _this._rowTops, t4 = _this.get$markNeedsPaint(), y = 0; y < _this._rows; ++y) { t5 = _this._table$_rowDecorations; if (t5.length <= y) break; t5 = t5[y]; if (t5 != null) { t6 = _this._rowDecorationPainters; if (t6[y] == null) t6[y] = t5.createBoxPainter$1(t4); t5 = _this._rowDecorationPainters[y]; t5.toString; t6 = t3[y]; t5.paint$3(canvas, new A.Offset(t1, t2 + t6), _this._table$_configuration.copyWith$1$size(new A.Size(_this._size._dx, t3[y + 1] - t6))); } } } for (t1 = type$.BoxParentData, t2 = offset._dx, t3 = offset._dy, index = 0; t4 = _this._table$_children, index < t4.length; ++index) { child = t4[index]; if (child != null) { t4 = child.parentData; t4.toString; t4 = t1._as(t4).offset; context.paintChild$2(child, new A.Offset(t4._dx + t2, t4._dy + t3)); } } if (_this._table$_border != null) { t1 = _this._size._dx; t4 = _this._rowTops; t5 = B.JSArray_methods.get$last(t4); t6 = t4.length; t7 = t6 - 1; A.RangeError_checkValidRange(1, t7, t6, null, null); rows = A.SubListIterable$(t4, 1, t7, A._arrayInstanceType(t4)._precomputed1); t4 = _this._columnLefts; t4.toString; columns = J.skip$1$ax(t4, 1); t4 = _this._table$_border; t4.toString; t4.paint$4$columns$rows(context.get$canvas(context), new A.Rect(t2, t3, t2 + t1, t3 + t5), columns, rows); } }, debugDescribeChildren$0() { var children, t1, y, x, t2, child, $name, _this = this, _null = null; if (_this._table$_children.length === 0) return A._setArrayType([A.DiagnosticsNode_DiagnosticsNode$message("table is empty", true, B.DiagnosticsTreeStyle_8)], type$.JSArray_DiagnosticsNode); children = A._setArrayType([], type$.JSArray_DiagnosticsNode); for (t1 = type$.DiagnosticsProperty_Object, y = 0; y < _this._rows; ++y) for (x = 0; t2 = _this._columns, x < t2; ++x) { child = _this._table$_children[x + y * t2]; $name = "child (" + x + ", " + y + ")"; if (child != null) children.push(new A.DiagnosticableTreeNode(child, $name, true, true, _null, _null)); else children.push(new A.DiagnosticsProperty(_null, false, true, "is null", _null, _null, false, _null, true, B.C__NoDefaultValue, B.DiagnosticLevel_3, _null, $name, false, true, _null, B.DiagnosticsTreeStyle_8, t1)); } return children; } }; A.RenderTable_computeDryLayout_closure.prototype = { call$2(a, b) { return a + b; }, $signature: 81 }; A.RenderTable_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A.TableBorder.prototype = { get$isUniform() { var topWidth, topStyle, _this = this, t1 = _this.top, topColor = t1.color, t2 = _this.right; if (!t2.color.$eq(0, topColor) || !_this.bottom.color.$eq(0, topColor) || !_this.left.color.$eq(0, topColor) || !_this.horizontalInside.color.$eq(0, topColor) || !_this.verticalInside.color.$eq(0, topColor)) return false; topWidth = t1.width; if (t2.width !== topWidth || _this.bottom.width !== topWidth || _this.left.width !== topWidth || _this.horizontalInside.width !== topWidth || _this.verticalInside.width !== topWidth) return false; topStyle = t1.style; if (t2.style !== topStyle || _this.bottom.style !== topStyle || _this.left.style !== topStyle || _this.horizontalInside.style !== topStyle || _this.verticalInside.style !== topStyle) return false; return true; }, paint$4$columns$rows(canvas, rect, columns, rows) { var t2, paint, path, t3, t4, t5, outer, inner, _this = this, t1 = J.getInterceptor$asx(columns); if (t1.get$isNotEmpty(columns) || J.get$isNotEmpty$asx(rows)) { t2 = A._detectRenderer(); paint = t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); path = A.Path_Path(); if (t1.get$isNotEmpty(columns)) { t2 = _this.verticalInside; switch (t2.style.index) { case 1: paint.set$color(0, t2.color); paint.set$strokeWidth(t2.width); paint.set$style(0, B.PaintingStyle_1); path.reset$0(0); for (t1 = t1.get$iterator(columns), t2 = rect.left, t3 = rect.top, t4 = rect.bottom; t1.moveNext$0();) { t5 = t2 + t1.get$current(t1); path.moveTo$2(0, t5, t3); path.lineTo$2(0, t5, t4); } canvas.drawPath$2(0, path, paint); break; case 0: break; } } t1 = J.getInterceptor$asx(rows); if (t1.get$isNotEmpty(rows)) { t2 = _this.horizontalInside; switch (t2.style.index) { case 1: paint.set$color(0, t2.color); paint.set$strokeWidth(t2.width); paint.set$style(0, B.PaintingStyle_1); path.reset$0(0); for (t1 = t1.get$iterator(rows), t2 = rect.left, t3 = rect.top, t4 = rect.right; t1.moveNext$0();) { t5 = t3 + t1.get$current(t1); path.moveTo$2(0, t2, t5); path.lineTo$2(0, t4, t5); } canvas.drawPath$2(0, path, paint); break; case 0: break; } } } t1 = !_this.get$isUniform() || _this.borderRadius.$eq(0, B.BorderRadius_tLn); t2 = _this.top; if (t1) A.paintBorder(canvas, rect, _this.bottom, _this.left, _this.right, t2); else { outer = _this.borderRadius.toRRect$1(rect); inner = outer.inflate$1(-t2.width); t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, t2.color); canvas.drawDRRect$3(0, outer, inner, paint); } }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.TableBorder && other.top.$eq(0, _this.top) && other.right.$eq(0, _this.right) && other.bottom.$eq(0, _this.bottom) && other.left.$eq(0, _this.left) && other.horizontalInside.$eq(0, _this.horizontalInside) && other.verticalInside.$eq(0, _this.verticalInside) && other.borderRadius.$eq(0, _this.borderRadius); }, get$hashCode(_) { var _this = this; return A.hashValues(_this.top, _this.right, _this.bottom, _this.left, _this.horizontalInside, _this.verticalInside, _this.borderRadius, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "TableBorder(" + _this.top.toString$0(0) + ", " + _this.right.toString$0(0) + ", " + _this.bottom.toString$0(0) + ", " + _this.left.toString$0(0) + ", " + _this.horizontalInside.toString$0(0) + ", " + _this.verticalInside.toString$0(0) + ", " + _this.borderRadius.toString$0(0) + ")"; } }; A.TextureBox.prototype = { get$sizedByParent() { return true; }, get$alwaysNeedsCompositing() { return true; }, get$isRepaintBoundary() { return true; }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, hitTestSelf$1(position) { return true; }, paint$2(context, offset) { var t5, t6, t7, t1 = offset._dx, t2 = offset._dy, t3 = this._size, t4 = t3._dx; t3 = t3._dy; t5 = this._texture$_textureId; t6 = this._texture$_filterQuality; t7 = A.LayerHandle$(type$.Layer_2); context.stopRecordingIfNeeded$0(); context.appendLayer$1(new A.TextureLayer(new A.Rect(t1, t2, t1 + t4, t2 + t3), t5, false, t6, t7)); } }; A.AlignmentGeometryTween.prototype = { lerp$1(t) { return A.AlignmentGeometry_lerp(this.begin, this.end, t); } }; A.ViewConfiguration.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.ViewConfiguration && other.size.$eq(0, this.size) && other.devicePixelRatio === this.devicePixelRatio; }, get$hashCode(_) { return A.hashValues(this.size, this.devicePixelRatio, 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, 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); }, toString$0(_) { return this.size.toString$0(0) + " at " + A.debugFormatDouble(this.devicePixelRatio) + "x"; } }; A.RenderView.prototype = { set$configuration(value) { var t1, t2, t3, _this = this; if (_this._view$_configuration.$eq(0, value)) return; _this._view$_configuration = value; t1 = _this._updateMatricesAndCreateNewRootLayer$0(); t2 = _this._layerHandle; t3 = t2._layer; t3.toString; J.detach$0$z(t3); t2.set$layer(0, t1); _this.markNeedsPaint$0(); _this.markNeedsLayout$0(); }, _updateMatricesAndCreateNewRootLayer$0() { var rootLayer, t1 = this._view$_configuration.devicePixelRatio; t1 = A.Matrix4_Matrix4$diagonal3Values(t1, t1, 1); this._rootTransform = t1; rootLayer = A.TransformLayer$(t1); rootLayer.attach$1(this); return rootLayer; }, performResize$0() { }, performLayout$0() { var t2, t1 = this._view$_configuration.size; this._view$_size = t1; t2 = this.RenderObjectWithChildMixin__child; if (t2 != null) t2.layout$1(0, A.BoxConstraints$tight(t1)); }, hitTest$2$position(result, position) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.hitTest$2$position(A.BoxHitTestResult$wrap(result), position); t1 = new A.HitTestEntry(this); result._globalizeTransforms$0(); t1._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(t1); return true; }, hitTestMouseTrackers$1(position) { var result, t1 = A._setArrayType([], type$.JSArray_HitTestEntry), t2 = new A.Matrix4(new Float64Array(16)); t2.setIdentity$0(); result = new A.BoxHitTestResult(t1, A._setArrayType([t2], type$.JSArray_Matrix4_2), A._setArrayType([], type$.JSArray__TransformPart)); this.hitTest$2$position(result, position); return result; }, get$isRepaintBoundary() { return true; }, paint$2(context, offset) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); }, applyPaintTransform$2(child, transform) { var t1 = this._rootTransform; t1.toString; transform.multiply$1(0, t1); this.super$RenderObject$applyPaintTransform(child, transform); }, compositeFrame$0() { var builder, scene, t1, bounds, t2, t3, t4, upperOverlayStyle, lowerOverlayStyle, t5, t6, t7, t8, _this = this, _null = null; A.Timeline_startSync("Compositing", B.Map_9aZ6I, _null); try { builder = A.SceneBuilder_SceneBuilder(); t1 = _this._layerHandle; scene = t1._layer.buildScene$1(builder); if (_this.automaticSystemUiAdjustment) { bounds = _this.get$paintBounds(); t2 = bounds.get$center(); t3 = _this._view$_window; t3.get$viewConfiguration(); t4 = bounds.get$center(); t3.get$viewConfiguration(); t3 = type$.SystemUiOverlayStyle; upperOverlayStyle = t1._layer.find$1$1(0, new A.Offset(t2._dx, 0), t3); switch (A.defaultTargetPlatform().index) { case 0: lowerOverlayStyle = t1._layer.find$1$1(0, new A.Offset(t4._dx, bounds.bottom - 1 - 0), t3); break; case 1: case 2: case 3: case 4: case 5: lowerOverlayStyle = _null; break; default: lowerOverlayStyle = _null; } t1 = upperOverlayStyle == null; if (!t1 || lowerOverlayStyle != null) { t2 = t1 ? _null : upperOverlayStyle.statusBarBrightness; t3 = t1 ? _null : upperOverlayStyle.statusBarIconBrightness; t4 = t1 ? _null : upperOverlayStyle.statusBarColor; t1 = t1 ? _null : upperOverlayStyle.systemStatusBarContrastEnforced; t5 = lowerOverlayStyle == null; t6 = t5 ? _null : lowerOverlayStyle.systemNavigationBarColor; t7 = t5 ? _null : lowerOverlayStyle.systemNavigationBarDividerColor; t8 = t5 ? _null : lowerOverlayStyle.systemNavigationBarIconBrightness; A.SystemChrome_setSystemUIOverlayStyle(new A.SystemUiOverlayStyle(t6, t7, t8, t5 ? _null : lowerOverlayStyle.systemNavigationBarContrastEnforced, t4, t2, t3, t1)); } } t1 = _this._view$_window; t1.platformDispatcher.render$2(0, scene, t1); J.dispose$0$x(scene); } finally { A.Timeline_finishSync(); } }, get$paintBounds() { var t1 = this._view$_size.$mul(0, this._view$_configuration.devicePixelRatio); return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); }, get$semanticBounds() { var t2, t1 = this._rootTransform; t1.toString; t2 = this._view$_size; return A.MatrixUtils_transformRect(t1, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy)); } }; A._RenderView_RenderObject_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.CacheExtentStyle.prototype = { toString$0(_) { return "CacheExtentStyle." + this._core$_name; } }; A.RevealedOffset.prototype = { toString$0(_) { return "RevealedOffset(offset: " + A.S(this.offset) + ", rect: " + this.rect.toString$0(0) + ")"; } }; A.RenderViewportBase.prototype = { describeSemanticsConfiguration$1(config) { this.super$RenderObject$describeSemanticsConfiguration(config); config.addTagForChildren$1(B.SemanticsTag_FIw); }, visitChildrenForSemantics$1(visitor) { var t1 = this.get$childrenInPaintOrder(); new A.WhereIterable(t1, new A.RenderViewportBase_visitChildrenForSemantics_closure(), A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>")).forEach$1(0, visitor); }, set$axisDirection(value) { if (value === this._axisDirection) return; this._axisDirection = value; this.markNeedsLayout$0(); }, set$crossAxisDirection(value) { if (value === this._crossAxisDirection) return; this._crossAxisDirection = value; this.markNeedsLayout$0(); }, set$offset(_, value) { var _this = this, t1 = _this._viewport$_offset; if (value === t1) return; if (_this._node$_owner != null) t1.removeListener$1(0, _this.get$markNeedsLayout()); _this._viewport$_offset = value; if (_this._node$_owner != null) value.addListener$1(0, _this.get$markNeedsLayout()); _this.markNeedsLayout$0(); }, set$cacheExtent(value) { if (value == null) value = 250; if (value === this._cacheExtent) return; this._cacheExtent = value; this.markNeedsLayout$0(); }, set$cacheExtentStyle(value) { if (value === this._cacheExtentStyle) return; this._cacheExtentStyle = value; this.markNeedsLayout$0(); }, set$clipBehavior(value) { var _this = this; if (value !== _this._viewport$_clipBehavior) { _this._viewport$_clipBehavior = value; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); } }, attach$1(owner) { this.super$_RenderViewportBase_RenderBox_ContainerRenderObjectMixin$attach(owner); this._viewport$_offset.addListener$1(0, this.get$markNeedsLayout()); }, detach$0(_) { this._viewport$_offset.removeListener$1(0, this.get$markNeedsLayout()); this.super$_RenderViewportBase_RenderBox_ContainerRenderObjectMixin$detach(0); }, computeMinIntrinsicWidth$1(height) { return 0; }, computeMaxIntrinsicWidth$1(height) { return 0; }, computeMinIntrinsicHeight$1(width) { return 0; }, computeMaxIntrinsicHeight$1(width) { return 0; }, get$isRepaintBoundary() { return true; }, layoutChildSequence$11$advance$cacheOrigin$child$crossAxisExtent$growthDirection$layoutOffset$mainAxisExtent$overlap$remainingCacheExtent$remainingPaintExtent$scrollOffset(advance, cacheOrigin, child, crossAxisExtent, growthDirection, layoutOffset, mainAxisExtent, overlap, remainingCacheExtent, remainingPaintExtent, scrollOffset) { var layoutOffset0, precedingScrollExtent, sliverScrollOffset, correctedCacheOrigin, cacheExtentCorrection, childLayoutGeometry, t1, effectiveLayoutOffset, _this = this, adjustedUserScrollDirection = A.applyGrowthDirectionToScrollDirection(_this._viewport$_offset._userScrollDirection, growthDirection), maxPaintOffset = layoutOffset + overlap; for (layoutOffset0 = layoutOffset, precedingScrollExtent = 0; child != null;) { sliverScrollOffset = scrollOffset <= 0 ? 0 : scrollOffset; correctedCacheOrigin = Math.max(cacheOrigin, -sliverScrollOffset); cacheExtentCorrection = cacheOrigin - correctedCacheOrigin; child.layout$2$parentUsesSize(0, new A.SliverConstraints(_this._axisDirection, growthDirection, adjustedUserScrollDirection, sliverScrollOffset, precedingScrollExtent, maxPaintOffset - layoutOffset0, Math.max(0, remainingPaintExtent - layoutOffset0 + layoutOffset), crossAxisExtent, _this._crossAxisDirection, mainAxisExtent, correctedCacheOrigin, Math.max(0, remainingCacheExtent + cacheExtentCorrection)), true); childLayoutGeometry = child._geometry; t1 = childLayoutGeometry.scrollOffsetCorrection; if (t1 != null) return t1; effectiveLayoutOffset = layoutOffset0 + childLayoutGeometry.paintOrigin; if (childLayoutGeometry.visible || scrollOffset > 0) _this.updateChildLayoutOffset$3(child, effectiveLayoutOffset, growthDirection); else _this.updateChildLayoutOffset$3(child, -scrollOffset + layoutOffset, growthDirection); maxPaintOffset = Math.max(effectiveLayoutOffset + childLayoutGeometry.paintExtent, maxPaintOffset); t1 = childLayoutGeometry.scrollExtent; scrollOffset -= t1; precedingScrollExtent += t1; layoutOffset0 += childLayoutGeometry.layoutExtent; t1 = childLayoutGeometry.cacheExtent; if (t1 !== 0) { remainingCacheExtent -= t1 - cacheExtentCorrection; cacheOrigin = Math.min(correctedCacheOrigin + t1, 0); } _this.updateOutOfBandData$2(growthDirection, childLayoutGeometry); child = advance.call$1(child); } return 0; }, describeApproximatePaintClip$1(child) { var overlapCorrection, $top, left, t1 = this._size, right = 0 + t1._dx, bottom = 0 + t1._dy; t1 = type$.SliverConstraints; if (t1._as(A.RenderObject.prototype.get$constraints.call(child)).overlap === 0 || !isFinite(t1._as(A.RenderObject.prototype.get$constraints.call(child)).viewportMainAxisExtent)) return new A.Rect(0, 0, right, bottom); overlapCorrection = t1._as(A.RenderObject.prototype.get$constraints.call(child)).viewportMainAxisExtent - t1._as(A.RenderObject.prototype.get$constraints.call(child)).remainingPaintExtent + t1._as(A.RenderObject.prototype.get$constraints.call(child)).overlap; switch (A.applyGrowthDirectionToAxisDirection(this._axisDirection, t1._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection)) { case B.AxisDirection_2: $top = 0 + overlapCorrection; left = 0; break; case B.AxisDirection_0: bottom -= overlapCorrection; left = 0; $top = 0; break; case B.AxisDirection_1: left = 0 + overlapCorrection; $top = 0; break; case B.AxisDirection_3: right -= overlapCorrection; left = 0; $top = 0; break; default: left = 0; $top = 0; } return new A.Rect(left, $top, right, bottom); }, describeSemanticsClip$1(child) { var t2, _this = this, t1 = _this._calculatedCacheExtent; if (t1 == null) { t1 = _this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: t2 = _this._size; return new A.Rect(0, 0 - t1, 0 + t2._dx, 0 + t2._dy + t1); case 0: t2 = _this._size; return new A.Rect(0 - t1, 0, 0 + t2._dx + t1, 0 + t2._dy); } }, paint$2(context, offset) { var t1, t2, t3, _this = this; if (_this.ContainerRenderObjectMixin__firstChild == null) return; t1 = _this.get$hasVisualOverflow() && _this._viewport$_clipBehavior !== B.Clip_0; t2 = _this._viewport$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t2.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$_viewport$_paintContents(), _this._viewport$_clipBehavior, t2._layer)); } else { t2.set$layer(0, null); _this._viewport$_paintContents$2(context, offset); } }, dispose$0(_) { this._viewport$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, _viewport$_paintContents$2(context, offset) { var t1, t2, t3, t4, t5; for (t1 = this.get$childrenInPaintOrder(), t1 = new A._SyncStarIterator(t1._outerHelper(), A._instanceType(t1)._eval$1("_SyncStarIterator<1>")), t2 = offset._dx, t3 = offset._dy; t1.moveNext$0();) { t4 = t1.get$current(t1); if (t4._geometry.visible) { t5 = this.paintOffsetOf$1(t4); context.paintChild$2(t4, new A.Offset(t2 + t5._dx, t3 + t5._dy)); } } }, hitTestChildren$2$position(result, position) { var sliverResult, t1, t2, transform, _this = this, _box_0 = {}; _box_0.crossAxisPosition = _box_0.mainAxisPosition = null; switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: _box_0.mainAxisPosition = position._dy; _box_0.crossAxisPosition = position._dx; break; case 0: _box_0.mainAxisPosition = position._dx; _box_0.crossAxisPosition = position._dy; break; } sliverResult = new A.SliverHitTestResult(result._path, result._transforms, result._localTransforms); for (t1 = _this.get$childrenInHitTestOrder(), t1 = new A._SyncStarIterator(t1._outerHelper(), A._instanceType(t1)._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) { t2 = t1.get$current(t1); if (!t2._geometry.visible) continue; transform = new A.Matrix4(new Float64Array(16)); transform.setIdentity$0(); _this.applyPaintTransform$2(t2, transform); if (result.addWithOutOfBandPosition$2$hitTest$paintTransform(new A.RenderViewportBase_hitTestChildren_closure(_box_0, _this, t2, sliverResult), transform)) return true; } return false; }, getOffsetToReveal$3$rect(target, alignment, rect) { var t1, pivot, child, leadingScrollOffset, t2, t3, growthDirection, pivotExtent, rectLocal, targetMainAxisExtent, isPinned, targetRect, extentOfPinnedSlivers, mainAxisExtent, targetOffset, offsetDifference, _this = this, _null = null, onlySlivers = target instanceof A.RenderSliver; for (t1 = type$.RenderObject, pivot = _null, child = target, leadingScrollOffset = 0; child.get$parent(child) !== _this; child = t2) { t2 = child.get$parent(child); t2.toString; t1._as(t2); if (child instanceof A.RenderBox) pivot = child; if (t2 instanceof A.RenderSliver) { t3 = t2.childScrollOffset$1(child); t3.toString; leadingScrollOffset += t3; } else { leadingScrollOffset = 0; onlySlivers = false; } } if (pivot != null) { t1 = pivot.get$parent(pivot); t1.toString; type$.RenderSliver._as(t1); growthDirection = type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(t1)).growthDirection; switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 0: pivotExtent = pivot._size._dx; break; case 1: pivotExtent = pivot._size._dy; break; default: pivotExtent = _null; } if (rect == null) rect = target.get$paintBounds(); rectLocal = A.MatrixUtils_transformRect(target.getTransformTo$1(0, pivot), rect); } else { if (onlySlivers) { type$.RenderSliver._as(target); t1 = type$.SliverConstraints; growthDirection = t1._as(A.RenderObject.prototype.get$constraints.call(target)).growthDirection; pivotExtent = target._geometry.scrollExtent; if (rect == null) switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 0: rect = new A.Rect(0, 0, 0 + pivotExtent, 0 + t1._as(A.RenderObject.prototype.get$constraints.call(target)).crossAxisExtent); break; case 1: rect = new A.Rect(0, 0, 0 + t1._as(A.RenderObject.prototype.get$constraints.call(target)).crossAxisExtent, 0 + target._geometry.scrollExtent); break; } } else { t1 = _this._viewport$_offset._pixels; t1.toString; rect.toString; return new A.RevealedOffset(t1, rect); } rectLocal = rect; } type$.RenderSliver._as(child); switch (A.applyGrowthDirectionToAxisDirection(_this._axisDirection, growthDirection)) { case B.AxisDirection_0: t1 = rectLocal.bottom; leadingScrollOffset += pivotExtent - t1; targetMainAxisExtent = t1 - rectLocal.top; break; case B.AxisDirection_1: t1 = rectLocal.left; leadingScrollOffset += t1; targetMainAxisExtent = rectLocal.right - t1; break; case B.AxisDirection_2: t1 = rectLocal.top; leadingScrollOffset += t1; targetMainAxisExtent = rectLocal.bottom - t1; break; case B.AxisDirection_3: t1 = rectLocal.right; leadingScrollOffset += pivotExtent - t1; targetMainAxisExtent = t1 - rectLocal.left; break; default: targetMainAxisExtent = _null; } isPinned = child._geometry.maxScrollObstructionExtent > 0 && leadingScrollOffset >= 0; leadingScrollOffset = _this.scrollOffsetOf$2(child, leadingScrollOffset); targetRect = A.MatrixUtils_transformRect(target.getTransformTo$1(0, _this), rect); extentOfPinnedSlivers = _this.maxScrollObstructionExtentBefore$1(child); switch (type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection.index) { case 0: if (isPinned && alignment <= 0) return new A.RevealedOffset(1 / 0, targetRect); leadingScrollOffset -= extentOfPinnedSlivers; break; case 1: if (isPinned && alignment >= 1) return new A.RevealedOffset(-1 / 0, targetRect); switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: leadingScrollOffset -= targetRect.bottom - targetRect.top; break; case 0: leadingScrollOffset -= targetRect.right - targetRect.left; break; } break; } t1 = _this._axisDirection; switch (A.axisDirectionToAxis(t1).index) { case 0: mainAxisExtent = _this._size._dx - extentOfPinnedSlivers; break; case 1: mainAxisExtent = _this._size._dy - extentOfPinnedSlivers; break; default: mainAxisExtent = _null; } targetOffset = leadingScrollOffset - (mainAxisExtent - targetMainAxisExtent) * alignment; t2 = _this._viewport$_offset._pixels; t2.toString; offsetDifference = t2 - targetOffset; switch (t1.index) { case 2: targetRect = targetRect.translate$2(0, 0, offsetDifference); break; case 1: targetRect = targetRect.translate$2(0, offsetDifference, 0); break; case 0: targetRect = targetRect.translate$2(0, 0, -offsetDifference); break; case 3: targetRect = targetRect.translate$2(0, -offsetDifference, 0); break; } return new A.RevealedOffset(targetOffset, targetRect); }, computeAbsolutePaintOffset$3(child, layoutOffset, growthDirection) { switch (A.applyGrowthDirectionToAxisDirection(this._axisDirection, growthDirection)) { case B.AxisDirection_0: return new A.Offset(0, this._size._dy - (layoutOffset + child._geometry.paintExtent)); case B.AxisDirection_1: return new A.Offset(layoutOffset, 0); case B.AxisDirection_2: return new A.Offset(0, layoutOffset); case B.AxisDirection_3: return new A.Offset(this._size._dx - (layoutOffset + child._geometry.paintExtent), 0); } }, debugDescribeChildren$0() { var count, t1, t2, _this = this, children = A._setArrayType([], type$.JSArray_DiagnosticsNode), child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return children; count = _this.get$indexOfFirstChild(); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); true;) { child.toString; children.push(new A.DiagnosticableTreeNode(child, _this.labelForChild$1(count), true, true, null, null)); if (child === _this.ContainerRenderObjectMixin__lastChild) break; ++count; t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return children; }, showOnScreen$4$curve$descendant$duration$rect(curve, descendant, duration, rect) { var _this = this; if (!_this._viewport$_offset.physics.get$allowImplicitScrolling()) return _this.super$RenderObject$showOnScreen(curve, descendant, duration, rect); _this.super$RenderObject$showOnScreen(curve, null, duration, A.RenderViewportBase_showInViewport(curve, descendant, duration, _this._viewport$_offset, rect, _this)); }, showOnScreen$0() { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, null); }, showOnScreen$1$rect(rect) { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, rect); }, showOnScreen$3$curve$duration$rect(curve, duration, rect) { return this.showOnScreen$4$curve$descendant$duration$rect(curve, null, duration, rect); }, $isRenderAbstractViewport: 1 }; A.RenderViewportBase_visitChildrenForSemantics_closure.prototype = { call$1(sliver) { var t1 = sliver._geometry; return t1.visible || t1.cacheExtent > 0; }, $signature: 582 }; A.RenderViewportBase_hitTestChildren_closure.prototype = { call$1(result) { var _this = this, t1 = _this.child, t2 = _this._box_0, t3 = _this.$this.computeChildMainAxisPosition$2(t1, t2.mainAxisPosition); return t1.hitTest$3$crossAxisPosition$mainAxisPosition(_this.sliverResult, t2.crossAxisPosition, t3); }, $signature: 289 }; A.RenderViewport.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.SliverPhysicalContainerParentData)) child.parentData = new A.SliverPhysicalContainerParentData(null, null, B.Offset_0_0); }, set$anchor(value) { if (value === this._anchor) return; this._anchor = value; this.markNeedsLayout$0(); }, set$center(value) { if (value == this._center) return; this._center = value; this.markNeedsLayout$0(); }, get$sizedByParent() { return true; }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, performLayout$0() { var t1, mainAxisExtent, crossAxisExtent, t2, correction, count, _this = this; switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: _this._viewport$_offset.applyViewportDimension$1(_this._size._dy); break; case 0: _this._viewport$_offset.applyViewportDimension$1(_this._size._dx); break; } if (_this._center == null) { _this.__RenderViewport__maxScrollExtent = _this.__RenderViewport__minScrollExtent = 0; _this._viewport$_hasVisualOverflow = false; _this._viewport$_offset.applyContentDimensions$2(0, 0); return; } switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: t1 = _this._size; mainAxisExtent = t1._dy; crossAxisExtent = t1._dx; break; case 0: t1 = _this._size; mainAxisExtent = t1._dx; crossAxisExtent = t1._dy; break; default: mainAxisExtent = null; crossAxisExtent = null; } t1 = 0; do { t2 = _this._viewport$_offset._pixels; t2.toString; correction = _this._attemptLayout$3(mainAxisExtent, crossAxisExtent, t2 + 0); if (correction !== 0) _this._viewport$_offset.correctBy$1(correction); else if (_this._viewport$_offset.applyContentDimensions$2(Math.min(0, A._lateReadCheck(_this.__RenderViewport__minScrollExtent, "_minScrollExtent") + mainAxisExtent * _this._anchor), Math.max(0, A._lateReadCheck(_this.__RenderViewport__maxScrollExtent, "_maxScrollExtent") - mainAxisExtent * (1 - _this._anchor)))) break; count = t1 + 1; if (count < 10) { t1 = count; continue; } else break; } while (true); }, _attemptLayout$3(mainAxisExtent, crossAxisExtent, correctedOffset) { var centerOffset, reverseDirectionRemainingPaintExtent, t1, forwardDirectionRemainingPaintExtent, t2, fullCacheExtent, centerCacheOffset, reverseDirectionRemainingCacheExtent, forwardDirectionRemainingCacheExtent, leadingNegativeChild, t3, t4, result, t5, _this = this; _this.__RenderViewport__maxScrollExtent = _this.__RenderViewport__minScrollExtent = 0; _this._viewport$_hasVisualOverflow = false; centerOffset = mainAxisExtent * _this._anchor - correctedOffset; reverseDirectionRemainingPaintExtent = B.JSNumber_methods.clamp$2(centerOffset, 0, mainAxisExtent); t1 = mainAxisExtent - centerOffset; forwardDirectionRemainingPaintExtent = B.JSNumber_methods.clamp$2(t1, 0, mainAxisExtent); switch (_this._cacheExtentStyle.index) { case 0: _this._calculatedCacheExtent = _this._cacheExtent; break; case 1: _this._calculatedCacheExtent = mainAxisExtent * _this._cacheExtent; break; } t2 = _this._calculatedCacheExtent; t2.toString; fullCacheExtent = mainAxisExtent + 2 * t2; centerCacheOffset = centerOffset + t2; reverseDirectionRemainingCacheExtent = B.JSNumber_methods.clamp$2(centerCacheOffset, 0, fullCacheExtent); forwardDirectionRemainingCacheExtent = B.JSNumber_methods.clamp$2(fullCacheExtent - centerCacheOffset, 0, fullCacheExtent); t2 = _this._center.parentData; t2.toString; leadingNegativeChild = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1")._as(t2).ContainerParentDataMixin_previousSibling; t2 = leadingNegativeChild == null; if (!t2) { t3 = Math.max(mainAxisExtent, centerOffset); t4 = _this._calculatedCacheExtent; t4.toString; result = _this.layoutChildSequence$11$advance$cacheOrigin$child$crossAxisExtent$growthDirection$layoutOffset$mainAxisExtent$overlap$remainingCacheExtent$remainingPaintExtent$scrollOffset(_this.get$childBefore(), B.JSNumber_methods.clamp$2(t1, -t4, 0), leadingNegativeChild, crossAxisExtent, B.GrowthDirection_1, forwardDirectionRemainingPaintExtent, mainAxisExtent, 0, reverseDirectionRemainingCacheExtent, reverseDirectionRemainingPaintExtent, t3 - mainAxisExtent); if (result !== 0) return -result; } t1 = _this._center; t3 = -centerOffset; t4 = Math.max(0, t3); t2 = t2 ? Math.min(0, t3) : 0; t3 = centerOffset >= mainAxisExtent ? centerOffset : reverseDirectionRemainingPaintExtent; t5 = _this._calculatedCacheExtent; t5.toString; return _this.layoutChildSequence$11$advance$cacheOrigin$child$crossAxisExtent$growthDirection$layoutOffset$mainAxisExtent$overlap$remainingCacheExtent$remainingPaintExtent$scrollOffset(_this.get$childAfter(), B.JSNumber_methods.clamp$2(centerOffset, -t5, 0), t1, crossAxisExtent, B.GrowthDirection_0, t3, mainAxisExtent, t2, forwardDirectionRemainingCacheExtent, forwardDirectionRemainingPaintExtent, t4); }, get$hasVisualOverflow() { return this._viewport$_hasVisualOverflow; }, updateOutOfBandData$2(growthDirection, childLayoutGeometry) { var _this = this; switch (growthDirection.index) { case 0: _this.__RenderViewport__maxScrollExtent = A._lateReadCheck(_this.__RenderViewport__maxScrollExtent, "_maxScrollExtent") + childLayoutGeometry.scrollExtent; break; case 1: _this.__RenderViewport__minScrollExtent = A._lateReadCheck(_this.__RenderViewport__minScrollExtent, "_minScrollExtent") - childLayoutGeometry.scrollExtent; break; } if (childLayoutGeometry.hasVisualOverflow) _this._viewport$_hasVisualOverflow = true; }, updateChildLayoutOffset$3(child, layoutOffset, growthDirection) { var t1 = child.parentData; t1.toString; type$.SliverPhysicalParentData._as(t1).paintOffset = this.computeAbsolutePaintOffset$3(child, layoutOffset, growthDirection); }, paintOffsetOf$1(child) { var t1 = child.parentData; t1.toString; return type$.SliverPhysicalParentData._as(t1).paintOffset; }, scrollOffsetOf$2(child, scrollOffsetWithinChild) { var current, t1, scrollOffsetToChild, t2, _this = this; switch (type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection.index) { case 0: current = _this._center; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), scrollOffsetToChild = 0; current !== child;) { scrollOffsetToChild += current._geometry.scrollExtent; t2 = current.parentData; t2.toString; current = t1._as(t2).ContainerParentDataMixin_nextSibling; } return scrollOffsetToChild + scrollOffsetWithinChild; case 1: t1 = _this._center.parentData; t1.toString; t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); current = t2._as(t1).ContainerParentDataMixin_previousSibling; for (scrollOffsetToChild = 0; current !== child;) { scrollOffsetToChild -= current._geometry.scrollExtent; t1 = current.parentData; t1.toString; current = t2._as(t1).ContainerParentDataMixin_previousSibling; } return scrollOffsetToChild - scrollOffsetWithinChild; } }, maxScrollObstructionExtentBefore$1(child) { var current, t1, pinnedExtent, t2, _this = this; switch (type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection.index) { case 0: current = _this._center; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), pinnedExtent = 0; current !== child;) { pinnedExtent += current._geometry.maxScrollObstructionExtent; t2 = current.parentData; t2.toString; current = t1._as(t2).ContainerParentDataMixin_nextSibling; } return pinnedExtent; case 1: t1 = _this._center.parentData; t1.toString; t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"); current = t2._as(t1).ContainerParentDataMixin_previousSibling; for (pinnedExtent = 0; current !== child;) { pinnedExtent += current._geometry.maxScrollObstructionExtent; t1 = current.parentData; t1.toString; current = t2._as(t1).ContainerParentDataMixin_previousSibling; } return pinnedExtent; } }, applyPaintTransform$2(child, transform) { var t1 = child.parentData; t1.toString; t1 = type$.SliverPhysicalParentData._as(t1).paintOffset; transform.translate$2(0, t1._dx, t1._dy); }, computeChildMainAxisPosition$2(child, parentMainAxisPosition) { var t2, t1 = child.parentData; t1.toString; type$.SliverPhysicalParentData._as(t1); t2 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t2._as(A.RenderObject.prototype.get$constraints.call(child)).axisDirection, t2._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection)) { case B.AxisDirection_2: return parentMainAxisPosition - t1.paintOffset._dy; case B.AxisDirection_1: return parentMainAxisPosition - t1.paintOffset._dx; case B.AxisDirection_0: return child._geometry.paintExtent - (parentMainAxisPosition - t1.paintOffset._dy); case B.AxisDirection_3: return child._geometry.paintExtent - (parentMainAxisPosition - t1.paintOffset._dx); } }, get$indexOfFirstChild() { var t1, t2, count, t3, child = this._center; for (t1 = this.ContainerRenderObjectMixin__firstChild, t2 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), count = 0; child != t1;) { --count; t3 = child.parentData; t3.toString; child = t2._as(t3).ContainerParentDataMixin_previousSibling; } return count; }, labelForChild$1(index) { if (index === 0) return "center child"; return "child " + index; }, get$childrenInPaintOrder() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 2, $async$currentError, t1, t2, child; return function $async$get$childrenInPaintOrder($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 child = $async$self.ContainerRenderObjectMixin__firstChild; if (child == null) { // goto return $async$goto = 1; break; } t1 = A._instanceType($async$self)._eval$1("ContainerRenderObjectMixin.1"); case 3: // for condition if (!(child != $async$self._center)) { // goto after for $async$goto = 4; break; } child.toString; $async$goto = 5; return child; case 5: // after yield t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; // goto for condition $async$goto = 3; break; case 4: // after for child = $async$self.ContainerRenderObjectMixin__lastChild; case 6: // for condition // trivial condition child.toString; $async$goto = 8; return child; case 8: // after yield if (child === $async$self._center) { // goto return $async$goto = 1; break; } t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_previousSibling; // goto for condition $async$goto = 6; break; case 7: // after for case 1: // return return A._IterationMarker_endOfIteration(); case 2: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderSliver); }, get$childrenInHitTestOrder() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 2, $async$currentError, child, t1, t2; return function $async$get$childrenInHitTestOrder($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.ContainerRenderObjectMixin__firstChild == null) { // goto return $async$goto = 1; break; } child = $async$self._center; t1 = A._instanceType($async$self)._eval$1("ContainerRenderObjectMixin.1"); case 3: // for condition if (!(child != null)) { // goto after for $async$goto = 4; break; } $async$goto = 5; return child; case 5: // after yield t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; // goto for condition $async$goto = 3; break; case 4: // after for t2 = $async$self._center.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_previousSibling; case 6: // for condition if (!(child != null)) { // goto after for $async$goto = 7; break; } $async$goto = 8; return child; case 8: // after yield t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_previousSibling; // goto for condition $async$goto = 6; break; case 7: // after for case 1: // return return A._IterationMarker_endOfIteration(); case 2: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderSliver); } }; A.RenderShrinkWrappingViewport.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.SliverLogicalContainerParentData)) child.parentData = new A.SliverLogicalContainerParentData(null, null); }, performLayout$0() { var mainAxisExtent, crossAxisExtent, t1, t2, t3, t4, t5, effectiveExtent, t6, t7, t8, t9, t10, correction, didAcceptViewportDimension, didAcceptContentDimension, _this = this, _s17_ = "_shrinkWrapExtent", constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); if (_this.ContainerRenderObjectMixin__firstChild == null) { switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: _this._size = new A.Size(constraints.maxWidth, constraints.minHeight); break; case 0: _this._size = new A.Size(constraints.minWidth, constraints.maxHeight); break; } _this._viewport$_offset.applyViewportDimension$1(0); _this.__RenderShrinkWrappingViewport__shrinkWrapExtent = _this.__RenderShrinkWrappingViewport__maxScrollExtent = 0; _this._viewport$_hasVisualOverflow = false; _this._viewport$_offset.applyContentDimensions$2(0, 0); return; } switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: mainAxisExtent = constraints.maxHeight; crossAxisExtent = constraints.maxWidth; break; case 0: mainAxisExtent = constraints.maxWidth; crossAxisExtent = constraints.maxHeight; break; default: mainAxisExtent = null; crossAxisExtent = null; } t1 = _this.get$childAfter(); t2 = constraints.minWidth; t3 = constraints.maxWidth; t4 = constraints.minHeight; t5 = constraints.maxHeight; effectiveExtent = null; do { t6 = _this._viewport$_offset._pixels; t6.toString; _this.__RenderShrinkWrappingViewport__shrinkWrapExtent = _this.__RenderShrinkWrappingViewport__maxScrollExtent = 0; _this._viewport$_hasVisualOverflow = t6 < 0; switch (_this._cacheExtentStyle.index) { case 0: _this._calculatedCacheExtent = _this._cacheExtent; break; case 1: _this._calculatedCacheExtent = mainAxisExtent * _this._cacheExtent; break; } t7 = _this.ContainerRenderObjectMixin__firstChild; t8 = Math.max(0, t6); t9 = Math.min(0, t6); t6 = Math.max(0, -t6); t10 = _this._calculatedCacheExtent; t10.toString; correction = _this.layoutChildSequence$11$advance$cacheOrigin$child$crossAxisExtent$growthDirection$layoutOffset$mainAxisExtent$overlap$remainingCacheExtent$remainingPaintExtent$scrollOffset(t1, -t10, t7, crossAxisExtent, B.GrowthDirection_0, t6, mainAxisExtent, t9, mainAxisExtent + 2 * t10, mainAxisExtent + t9, t8); if (correction !== 0) _this._viewport$_offset.correctBy$1(correction); else { switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: effectiveExtent = B.JSNumber_methods.clamp$2(A._lateReadCheck(_this.__RenderShrinkWrappingViewport__shrinkWrapExtent, _s17_), t4, t5); break; case 0: effectiveExtent = B.JSNumber_methods.clamp$2(A._lateReadCheck(_this.__RenderShrinkWrappingViewport__shrinkWrapExtent, _s17_), t2, t3); break; } didAcceptViewportDimension = _this._viewport$_offset.applyViewportDimension$1(effectiveExtent); didAcceptContentDimension = _this._viewport$_offset.applyContentDimensions$2(0, Math.max(0, A._lateReadCheck(_this.__RenderShrinkWrappingViewport__maxScrollExtent, "_maxScrollExtent") - effectiveExtent)); if (didAcceptViewportDimension && didAcceptContentDimension) break; } } while (true); switch (A.axisDirectionToAxis(_this._axisDirection).index) { case 1: _this._size = new A.Size(B.JSNumber_methods.clamp$2(crossAxisExtent, t2, t3), B.JSNumber_methods.clamp$2(effectiveExtent, t4, t5)); break; case 0: _this._size = new A.Size(B.JSNumber_methods.clamp$2(effectiveExtent, t2, t3), B.JSNumber_methods.clamp$2(crossAxisExtent, t4, t5)); break; } }, get$hasVisualOverflow() { return this._viewport$_hasVisualOverflow; }, updateOutOfBandData$2(growthDirection, childLayoutGeometry) { var _this = this; _this.__RenderShrinkWrappingViewport__maxScrollExtent = A._lateReadCheck(_this.__RenderShrinkWrappingViewport__maxScrollExtent, "_maxScrollExtent") + childLayoutGeometry.scrollExtent; if (childLayoutGeometry.hasVisualOverflow) _this._viewport$_hasVisualOverflow = true; _this.__RenderShrinkWrappingViewport__shrinkWrapExtent = A._lateReadCheck(_this.__RenderShrinkWrappingViewport__shrinkWrapExtent, "_shrinkWrapExtent") + childLayoutGeometry.maxPaintExtent; }, updateChildLayoutOffset$3(child, layoutOffset, growthDirection) { var t1 = child.parentData; t1.toString; type$.SliverLogicalParentData._as(t1).layoutOffset = layoutOffset; }, paintOffsetOf$1(child) { var t1 = child.parentData; t1.toString; t1 = type$.SliverLogicalParentData._as(t1).layoutOffset; t1.toString; return this.computeAbsolutePaintOffset$3(child, t1, B.GrowthDirection_0); }, scrollOffsetOf$2(child, scrollOffsetWithinChild) { var t1, scrollOffsetToChild, t2, current = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), scrollOffsetToChild = 0; current !== child;) { scrollOffsetToChild += current._geometry.scrollExtent; t2 = current.parentData; t2.toString; current = t1._as(t2).ContainerParentDataMixin_nextSibling; } return scrollOffsetToChild + scrollOffsetWithinChild; }, maxScrollObstructionExtentBefore$1(child) { var t1, pinnedExtent, t2, current = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("ContainerRenderObjectMixin.1"), pinnedExtent = 0; current !== child;) { pinnedExtent += current._geometry.maxScrollObstructionExtent; t2 = current.parentData; t2.toString; current = t1._as(t2).ContainerParentDataMixin_nextSibling; } return pinnedExtent; }, applyPaintTransform$2(child, transform) { var offset = this.paintOffsetOf$1(type$.RenderSliver._as(child)); transform.translate$2(0, offset._dx, offset._dy); }, computeChildMainAxisPosition$2(child, parentMainAxisPosition) { var t2, t1 = child.parentData; t1.toString; type$.SliverLogicalParentData._as(t1); t2 = type$.SliverConstraints; switch (A.applyGrowthDirectionToAxisDirection(t2._as(A.RenderObject.prototype.get$constraints.call(child)).axisDirection, t2._as(A.RenderObject.prototype.get$constraints.call(child)).growthDirection)) { case B.AxisDirection_2: case B.AxisDirection_1: t1 = t1.layoutOffset; t1.toString; return parentMainAxisPosition - t1; case B.AxisDirection_0: t2 = this._size._dy; t1 = t1.layoutOffset; t1.toString; return t2 - parentMainAxisPosition - t1; case B.AxisDirection_3: t2 = this._size._dx; t1 = t1.layoutOffset; t1.toString; return t2 - parentMainAxisPosition - t1; } }, get$indexOfFirstChild() { return 0; }, labelForChild$1(index) { return "child " + index; }, get$childrenInPaintOrder() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, child; return function $async$get$childrenInPaintOrder($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 child = $async$self.ContainerRenderObjectMixin__lastChild; t1 = A._instanceType($async$self)._eval$1("ContainerRenderObjectMixin.1"); case 2: // for condition if (!(child != null)) { // goto after for $async$goto = 3; break; } $async$goto = 4; return child; case 4: // after yield t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_previousSibling; // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderSliver); }, get$childrenInHitTestOrder() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, child; return function $async$get$childrenInHitTestOrder($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 child = $async$self.ContainerRenderObjectMixin__firstChild; t1 = A._instanceType($async$self)._eval$1("ContainerRenderObjectMixin.1"); case 2: // for condition if (!(child != null)) { // goto after for $async$goto = 3; break; } $async$goto = 4; return child; case 4: // after yield t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.RenderSliver); } }; A._RenderViewportBase_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("_RenderViewportBase_RenderBox_ContainerRenderObjectMixin.0"); 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(this)._eval$1("_RenderViewportBase_RenderBox_ContainerRenderObjectMixin.0"); child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.ScrollDirection.prototype = { toString$0(_) { return "ScrollDirection." + this._core$_name; } }; A.ViewportOffset.prototype = { moveTo$3$curve$duration(_, to, curve, duration) { var t1 = duration._duration === B.Duration_0._duration; if (t1) { this.jumpTo$1(to); return A.Future_Future$value(null, type$.void); } else return this.animateTo$3$curve$duration(to, curve, duration); }, toString$0(_) { var _this = this, description = A._setArrayType([], type$.JSArray_String); _this.super$ScrollPosition$debugFillDescription(description); description.push(A.getRuntimeType(_this.context).toString$0(0)); description.push(_this.physics.toString$0(0)); description.push(A.S(_this._activity)); description.push(_this._userScrollDirection.toString$0(0)); return "<optimized out>#" + A.shortHash(_this) + "(" + B.JSArray_methods.join$1(description, ", ") + ")"; }, debugFillDescription$1(description) { var t1 = this._pixels; if (t1 != null) description.push("offset: " + B.JSNumber_methods.toStringAsFixed$1(t1, 1)); } }; A.WrapAlignment.prototype = { toString$0(_) { return "WrapAlignment." + this._core$_name; } }; A.WrapCrossAlignment.prototype = { toString$0(_) { return "WrapCrossAlignment." + this._core$_name; } }; A._RunMetrics.prototype = {}; A.WrapParentData.prototype = {}; A.RenderWrap.prototype = { set$direction(_, value) { if (this._wrap$_direction === value) return; this._wrap$_direction = value; this.markNeedsLayout$0(); }, set$alignment(value) { if (this._wrap$_alignment === value) return; this._wrap$_alignment = value; this.markNeedsLayout$0(); }, set$spacing(_, value) { if (this._wrap$_spacing === value) return; this._wrap$_spacing = value; this.markNeedsLayout$0(); }, set$runAlignment(value) { if (this._runAlignment === value) return; this._runAlignment = value; this.markNeedsLayout$0(); }, set$runSpacing(value) { if (this._runSpacing === value) return; this._runSpacing = value; this.markNeedsLayout$0(); }, set$crossAxisAlignment(value) { if (this._wrap$_crossAxisAlignment === value) return; this._wrap$_crossAxisAlignment = value; this.markNeedsLayout$0(); }, setupParentData$1(child) { if (!(child.parentData instanceof A.WrapParentData)) child.parentData = new A.WrapParentData(null, null, B.Offset_0_0); }, computeMinIntrinsicWidth$1(height) { var child, t1, width, t2, _this = this; switch (_this._wrap$_direction.index) { case 0: child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), width = 0; child != null;) { width = Math.max(width, child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, child.get$computeMinIntrinsicWidth())); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return width; case 1: return _this._computeDryLayout$1(new A.BoxConstraints(0, 1 / 0, 0, height))._dx; } }, computeMaxIntrinsicWidth$1(height) { var child, t1, width, t2, _this = this; switch (_this._wrap$_direction.index) { case 0: child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), width = 0; child != null;) { width += child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return width; case 1: return _this._computeDryLayout$1(new A.BoxConstraints(0, 1 / 0, 0, height))._dx; } }, computeMinIntrinsicHeight$1(width) { var child, t1, height, t2, _this = this; switch (_this._wrap$_direction.index) { case 0: return _this._computeDryLayout$1(new A.BoxConstraints(0, width, 0, 1 / 0))._dy; case 1: child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), height = 0; child != null;) { height = Math.max(height, child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, 1 / 0, child.get$computeMinIntrinsicHeight())); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height; } }, computeMaxIntrinsicHeight$1(width) { var child, t1, height, t2, _this = this; switch (_this._wrap$_direction.index) { case 0: return _this._computeDryLayout$1(new A.BoxConstraints(0, width, 0, 1 / 0))._dy; case 1: child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), height = 0; child != null;) { height += child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 1 / 0, child.get$computeMaxIntrinsicHeight()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height; } }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); }, _getMainAxisExtent$1(childSize) { switch (this._wrap$_direction.index) { case 0: return childSize._dx; case 1: return childSize._dy; } }, _getCrossAxisExtent$1(childSize) { switch (this._wrap$_direction.index) { case 0: return childSize._dy; case 1: return childSize._dx; } }, _getOffset$2(mainAxisOffset, crossAxisOffset) { switch (this._wrap$_direction.index) { case 0: return new A.Offset(mainAxisOffset, crossAxisOffset); case 1: return new A.Offset(crossAxisOffset, mainAxisOffset); } }, _getChildCrossAxisOffset$3(flipCrossAxis, runCrossAxisExtent, childCrossAxisExtent) { var freeSpace = runCrossAxisExtent - childCrossAxisExtent; switch (this._wrap$_crossAxisAlignment.index) { case 0: return flipCrossAxis ? freeSpace : 0; case 1: return flipCrossAxis ? 0 : freeSpace; case 2: return freeSpace / 2; } }, computeDryLayout$1(constraints) { return this._computeDryLayout$1(constraints); }, _computeDryLayout$1(constraints) { var mainAxisLimit, childConstraints, child, t1, mainAxisExtent, crossAxisExtent, runMainAxisExtent, runCrossAxisExtent, childCount, childSize, childMainAxisExtent, childCrossAxisExtent, t2, _this = this; switch (_this._wrap$_direction.index) { case 0: mainAxisLimit = constraints.maxWidth; childConstraints = new A.BoxConstraints(0, mainAxisLimit, 0, 1 / 0); break; case 1: mainAxisLimit = constraints.maxHeight; childConstraints = new A.BoxConstraints(0, 1 / 0, 0, mainAxisLimit); break; default: childConstraints = null; mainAxisLimit = 0; } child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), mainAxisExtent = 0, crossAxisExtent = 0, runMainAxisExtent = 0, runCrossAxisExtent = 0, childCount = 0; child != null;) { childSize = A.ChildLayoutHelper_dryLayoutChild(child, childConstraints); childMainAxisExtent = _this._getMainAxisExtent$1(childSize); childCrossAxisExtent = _this._getCrossAxisExtent$1(childSize); if (childCount > 0 && runMainAxisExtent + childMainAxisExtent + _this._wrap$_spacing > mainAxisLimit) { mainAxisExtent = Math.max(mainAxisExtent, runMainAxisExtent); crossAxisExtent += runCrossAxisExtent + _this._runSpacing; runMainAxisExtent = 0; runCrossAxisExtent = 0; childCount = 0; } runMainAxisExtent += childMainAxisExtent; runCrossAxisExtent = Math.max(runCrossAxisExtent, childCrossAxisExtent); if (childCount > 0) runMainAxisExtent += _this._wrap$_spacing; ++childCount; t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } crossAxisExtent += runCrossAxisExtent; mainAxisExtent = Math.max(mainAxisExtent, runMainAxisExtent); switch (_this._wrap$_direction.index) { case 0: return constraints.constrain$1(new A.Size(mainAxisExtent, crossAxisExtent)); case 1: return constraints.constrain$1(new A.Size(crossAxisExtent, mainAxisExtent)); } }, performLayout$0() { var child, mainAxisLimit, childConstraints, flipMainAxis, flipCrossAxis, spacing, runSpacing, runMetrics, t1, mainAxisExtent, crossAxisExtent, runMainAxisExtent, runCrossAxisExtent, childCount, t2, childMainAxisExtent, childCrossAxisExtent, runCount, containerMainAxisExtent, containerCrossAxisExtent, crossAxisFreeSpace, runLeadingSpace, runBetweenSpace, crossAxisOffset, i, metrics, mainAxisFreeSpace, childLeadingSpace, childBetweenSpace, childMainPosition, t3, childCrossAxisOffset, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._wrap$_hasVisualOverflow = false; child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) { _this._size = new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); return; } switch (_this._wrap$_direction.index) { case 0: mainAxisLimit = constraints.maxWidth; childConstraints = new A.BoxConstraints(0, mainAxisLimit, 0, 1 / 0); flipMainAxis = _this._wrap$_textDirection === B.TextDirection_0 && true; flipCrossAxis = _this._wrap$_verticalDirection === B.VerticalDirection_0 && true; break; case 1: mainAxisLimit = constraints.maxHeight; childConstraints = new A.BoxConstraints(0, 1 / 0, 0, mainAxisLimit); flipMainAxis = _this._wrap$_verticalDirection === B.VerticalDirection_0 && true; flipCrossAxis = _this._wrap$_textDirection === B.TextDirection_0 && true; break; default: childConstraints = null; mainAxisLimit = 0; flipMainAxis = false; flipCrossAxis = false; } spacing = _this._wrap$_spacing; runSpacing = _this._runSpacing; runMetrics = A._setArrayType([], type$.JSArray__RunMetrics); for (t1 = type$.WrapParentData, mainAxisExtent = 0, crossAxisExtent = 0, runMainAxisExtent = 0, runCrossAxisExtent = 0, childCount = 0; child != null;) { child.layout$2$parentUsesSize(0, childConstraints, true); t2 = child._size; t2.toString; childMainAxisExtent = _this._getMainAxisExtent$1(t2); t2 = child._size; t2.toString; childCrossAxisExtent = _this._getCrossAxisExtent$1(t2); if (childCount > 0 && runMainAxisExtent + spacing + childMainAxisExtent > mainAxisLimit) { mainAxisExtent = Math.max(mainAxisExtent, runMainAxisExtent); crossAxisExtent += runCrossAxisExtent; if (runMetrics.length !== 0) crossAxisExtent += runSpacing; runMetrics.push(new A._RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount)); runMainAxisExtent = 0; runCrossAxisExtent = 0; childCount = 0; } runMainAxisExtent += childMainAxisExtent; if (childCount > 0) runMainAxisExtent += spacing; runCrossAxisExtent = Math.max(runCrossAxisExtent, childCrossAxisExtent); ++childCount; t2 = child.parentData; t2.toString; t1._as(t2); t2._runIndex = runMetrics.length; child = t2.ContainerParentDataMixin_nextSibling; } if (childCount > 0) { mainAxisExtent = Math.max(mainAxisExtent, runMainAxisExtent); crossAxisExtent += runCrossAxisExtent; if (runMetrics.length !== 0) crossAxisExtent += runSpacing; runMetrics.push(new A._RunMetrics(runMainAxisExtent, runCrossAxisExtent, childCount)); } runCount = runMetrics.length; switch (_this._wrap$_direction.index) { case 0: t2 = _this._size = constraints.constrain$1(new A.Size(mainAxisExtent, crossAxisExtent)); containerMainAxisExtent = t2._dx; containerCrossAxisExtent = t2._dy; break; case 1: t2 = _this._size = constraints.constrain$1(new A.Size(crossAxisExtent, mainAxisExtent)); containerMainAxisExtent = t2._dy; containerCrossAxisExtent = t2._dx; break; default: containerMainAxisExtent = 0; containerCrossAxisExtent = 0; } _this._wrap$_hasVisualOverflow = containerMainAxisExtent < mainAxisExtent || containerCrossAxisExtent < crossAxisExtent; crossAxisFreeSpace = Math.max(0, containerCrossAxisExtent - crossAxisExtent); switch (_this._runAlignment.index) { case 0: runLeadingSpace = 0; runBetweenSpace = 0; break; case 1: runLeadingSpace = crossAxisFreeSpace; runBetweenSpace = 0; break; case 2: runLeadingSpace = crossAxisFreeSpace / 2; runBetweenSpace = 0; break; case 3: runBetweenSpace = runCount > 1 ? crossAxisFreeSpace / (runCount - 1) : 0; runLeadingSpace = 0; break; case 4: runBetweenSpace = crossAxisFreeSpace / runCount; runLeadingSpace = runBetweenSpace / 2; break; case 5: runBetweenSpace = crossAxisFreeSpace / (runCount + 1); runLeadingSpace = runBetweenSpace; break; default: runLeadingSpace = 0; runBetweenSpace = 0; } runBetweenSpace += runSpacing; crossAxisOffset = flipCrossAxis ? containerCrossAxisExtent - runLeadingSpace : runLeadingSpace; child = _this.ContainerRenderObjectMixin__firstChild; for (i = 0; i < runCount; ++i) { metrics = runMetrics[i]; runCrossAxisExtent = metrics.crossAxisExtent; childCount = metrics.childCount; mainAxisFreeSpace = Math.max(0, containerMainAxisExtent - metrics.mainAxisExtent); switch (_this._wrap$_alignment.index) { case 0: childLeadingSpace = 0; childBetweenSpace = 0; break; case 1: childLeadingSpace = mainAxisFreeSpace; childBetweenSpace = 0; break; case 2: childLeadingSpace = mainAxisFreeSpace / 2; childBetweenSpace = 0; break; case 3: childBetweenSpace = childCount > 1 ? mainAxisFreeSpace / (childCount - 1) : 0; childLeadingSpace = 0; break; case 4: childBetweenSpace = mainAxisFreeSpace / childCount; childLeadingSpace = childBetweenSpace / 2; break; case 5: childBetweenSpace = mainAxisFreeSpace / (childCount + 1); childLeadingSpace = childBetweenSpace; break; default: childLeadingSpace = 0; childBetweenSpace = 0; } childBetweenSpace += spacing; childMainPosition = flipMainAxis ? containerMainAxisExtent - childLeadingSpace : childLeadingSpace; if (flipCrossAxis) crossAxisOffset -= runCrossAxisExtent; for (; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); if (t2._runIndex !== i) break; t3 = child._size; t3.toString; childMainAxisExtent = _this._getMainAxisExtent$1(t3); t3 = child._size; t3.toString; childCrossAxisOffset = _this._getChildCrossAxisOffset$3(flipCrossAxis, runCrossAxisExtent, _this._getCrossAxisExtent$1(t3)); if (flipMainAxis) childMainPosition -= childMainAxisExtent; t2.offset = _this._getOffset$2(childMainPosition, crossAxisOffset + childCrossAxisOffset); childMainPosition = flipMainAxis ? childMainPosition - childBetweenSpace : childMainPosition + (childMainAxisExtent + childBetweenSpace); child = t2.ContainerParentDataMixin_nextSibling; } crossAxisOffset = flipCrossAxis ? crossAxisOffset - runBetweenSpace : crossAxisOffset + (runCrossAxisExtent + runBetweenSpace); } }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { var t3, _this = this, t1 = _this._wrap$_hasVisualOverflow && _this._wrap$_clipBehavior !== B.Clip_0, t2 = _this._wrap$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t2.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$defaultPaint(), _this._wrap$_clipBehavior, t2._layer)); } else { t2.set$layer(0, null); _this.defaultPaint$2(context, offset); } }, dispose$0(_) { this._wrap$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); } }; A._RenderWrap_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.WrapParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.WrapParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderWrap_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._TaskEntry.prototype = { run$0() { A.Timeline_timeSync("Scheduled Task", new A._TaskEntry_run_closure(this), null); } }; A._TaskEntry_run_closure.prototype = { call$0() { var t1 = this.$this; t1.completer.complete$1(0, t1.task.call$0()); }, $signature: 3 }; A._FrameCallbackEntry.prototype = {}; A.SchedulerPhase.prototype = { toString$0(_) { return "SchedulerPhase." + this._core$_name; } }; A.SchedulerBinding.prototype = { addTimingsCallback$1(callback) { var t1 = this.SchedulerBinding__timingsCallbacks; t1.push(callback); if (t1.length === 1) { t1 = $.$get$window().platformDispatcher; t1._onReportTimings = this.get$_executeTimingsCallbacks(); t1._onReportTimingsZone = $.Zone__current; } }, removeTimingsCallback$1(callback) { var t1 = this.SchedulerBinding__timingsCallbacks; B.JSArray_methods.remove$1(t1, callback); if (t1.length === 0) { t1 = $.$get$window().platformDispatcher; t1._onReportTimings = null; t1._onReportTimingsZone = $.Zone__current; } }, _executeTimingsCallbacks$1(timings) { var callback, exception, stack, t2, _i, exception0, t3, t4, t1 = this.SchedulerBinding__timingsCallbacks, clonedCallbacks = A.List_List$from(t1, true, type$.void_Function_List_FrameTiming); for (t2 = clonedCallbacks.length, _i = 0; _i < t2; ++_i) { callback = clonedCallbacks[_i]; try { if (B.JSArray_methods.contains$1(t1, callback)) callback.call$1(timings); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t3 = A.ErrorDescription$("while executing callbacks for FrameTiming"); t4 = $.$get$FlutterError_onError(); if (t4 != null) t4.call$1(new A.FlutterErrorDetails(exception, stack, "Flutter framework", t3, null, false)); } } }, handleAppLifecycleStateChanged$1(state) { this.SchedulerBinding__lifecycleState = state; switch (state.index) { case 0: case 1: this._setFramesEnabledState$1(true); break; case 2: case 3: this._setFramesEnabledState$1(false); break; } }, scheduleTask$1$2(task, priority, $T) { var t4, newCapacity, newQueue, t1 = this.SchedulerBinding__taskQueue, t2 = t1._priority_queue$_length, t3 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); ++t1._modificationCount; t4 = t1._queue.length; if (t2 === t4) { newCapacity = t4 * 2 + 1; if (newCapacity < 7) newCapacity = 7; newQueue = A.List_List$filled(newCapacity, null, false, t1.$ti._eval$1("1?")); B.JSArray_methods.setRange$3(newQueue, 0, t1._priority_queue$_length, t1._queue); t1._queue = newQueue; } t1._bubbleUp$2(new A._TaskEntry(task, priority._priority$_value, null, null, new A._AsyncCompleter(t3, $T._eval$1("_AsyncCompleter<0>")), $T._eval$1("_TaskEntry<0>")), t1._priority_queue$_length++); if (t2 === 0 && this._lockCount <= 0) this._ensureEventLoopCallback$0(); return t3; }, _ensureEventLoopCallback$0() { if (this.SchedulerBinding__hasRequestedAnEventLoopCallback) return; this.SchedulerBinding__hasRequestedAnEventLoopCallback = true; A.Timer_Timer(B.Duration_0, this.get$_runTasks()); }, _runTasks$0() { this.SchedulerBinding__hasRequestedAnEventLoopCallback = false; if (this.handleEventLoopCallback$0()) this._ensureEventLoopCallback$0(); }, handleEventLoopCallback$0() { var entry, exception, exceptionStack, t2, newLength, last, exception0, _this = this, t1 = _this.SchedulerBinding__taskQueue; if (t1._priority_queue$_length === 0 || _this._lockCount > 0) return false; entry = t1.get$first(t1); t2 = entry.priority; if (_this.SchedulerBinding_schedulingStrategy.call$2$priority$scheduler(t2, _this)) { try { if (t1._priority_queue$_length === 0) A.throwExpression(A.StateError$("No element")); ++t1._modificationCount; t1._elementAt$1(0); newLength = t1._priority_queue$_length - 1; last = t1._elementAt$1(newLength); B.JSArray_methods.$indexSet(t1._queue, newLength, null); t1._priority_queue$_length = newLength; if (newLength > 0) t1._bubbleDown$2(last, 0); entry.run$0(); } catch (exception0) { exception = A.unwrapException(exception0); exceptionStack = A.getTraceFromException(exception0); t2 = A.ErrorDescription$("during a task callback"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, exceptionStack, "scheduler library", t2, null, false)); } return t1._priority_queue$_length !== 0; } return false; }, scheduleFrameCallback$2$rescheduling(callback, rescheduling) { var t1, _this = this; _this.scheduleFrame$0(); t1 = ++_this.SchedulerBinding__nextFrameCallbackId; _this.SchedulerBinding__transientCallbacks.$indexSet(0, t1, new A._FrameCallbackEntry(callback)); return _this.SchedulerBinding__nextFrameCallbackId; }, scheduleFrameCallback$1(callback) { return this.scheduleFrameCallback$2$rescheduling(callback, false); }, get$endOfFrame() { var _this = this; if (_this.SchedulerBinding__nextFrameCompleter == null) { if (_this.SchedulerBinding__schedulerPhase === B.SchedulerPhase_0) _this.scheduleFrame$0(); _this.SchedulerBinding__nextFrameCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void); _this.SchedulerBinding__postFrameCallbacks.push(new A.SchedulerBinding_endOfFrame_closure(_this)); } return _this.SchedulerBinding__nextFrameCompleter.future; }, get$framesEnabled() { return this.SchedulerBinding__framesEnabled; }, _setFramesEnabledState$1(enabled) { if (this.SchedulerBinding__framesEnabled === enabled) return; this.SchedulerBinding__framesEnabled = enabled; if (enabled) this.scheduleFrame$0(); }, ensureVisualUpdate$0() { switch (this.SchedulerBinding__schedulerPhase.index) { case 0: case 4: this.scheduleFrame$0(); return; case 1: case 2: case 3: return; } }, scheduleFrame$0() { var t1, _this = this; if (!_this.SchedulerBinding__hasScheduledFrame) t1 = !(A.SchedulerBinding.prototype.get$framesEnabled.call(_this) && _this.WidgetsBinding__readyToProduceFrames); else t1 = true; if (t1) return; t1 = $.$get$window().platformDispatcher; if (t1._onBeginFrame == null) { t1._onBeginFrame = _this.get$_handleBeginFrame(); t1._onBeginFrameZone = $.Zone__current; } if (t1._onDrawFrame == null) { t1._onDrawFrame = _this.get$_handleDrawFrame(); t1._onDrawFrameZone = $.Zone__current; } t1.scheduleFrame$0(); _this.SchedulerBinding__hasScheduledFrame = true; }, scheduleForcedFrame$0() { var _this = this; if (!(A.SchedulerBinding.prototype.get$framesEnabled.call(_this) && _this.WidgetsBinding__readyToProduceFrames)) return; if (_this.SchedulerBinding__hasScheduledFrame) return; $.$get$window().platformDispatcher.scheduleFrame$0(); _this.SchedulerBinding__hasScheduledFrame = true; }, scheduleWarmUpFrame$0() { var timelineTask, hadScheduledFrame, _this = this; if (_this.SchedulerBinding__warmUpFrame || _this.SchedulerBinding__schedulerPhase !== B.SchedulerPhase_0) return; _this.SchedulerBinding__warmUpFrame = true; timelineTask = new A.TimelineTask(null, null, 0, A._setArrayType([], type$.JSArray_nullable__AsyncBlock)); timelineTask.start$1(0, "Warm-up frame"); hadScheduledFrame = _this.SchedulerBinding__hasScheduledFrame; A.Timer_Timer(B.Duration_0, new A.SchedulerBinding_scheduleWarmUpFrame_closure(_this)); A.Timer_Timer(B.Duration_0, new A.SchedulerBinding_scheduleWarmUpFrame_closure0(_this, hadScheduledFrame)); _this.lockEvents$1(new A.SchedulerBinding_scheduleWarmUpFrame_closure1(_this, timelineTask)); }, resetEpoch$0() { var _this = this; _this.SchedulerBinding__epochStart = _this._adjustForEpoch$1(_this.SchedulerBinding__lastRawTimeStamp); _this.SchedulerBinding__firstRawTimeStampInEpoch = null; }, _adjustForEpoch$1(rawTimeStamp) { var t1 = this.SchedulerBinding__firstRawTimeStampInEpoch, rawDurationSinceEpoch = t1 == null ? B.Duration_0 : new A.Duration(rawTimeStamp._duration - t1._duration); return A.Duration$(0, 0, B.JSNumber_methods.round$0(rawDurationSinceEpoch._duration / $._timeDilation) + this.SchedulerBinding__epochStart._duration, 0, 0); }, _handleBeginFrame$1(rawTimeStamp) { if (this.SchedulerBinding__warmUpFrame) { this.SchedulerBinding__rescheduleAfterWarmUpFrame = true; return; } this.handleBeginFrame$1(rawTimeStamp); }, _handleDrawFrame$0() { var _this = this; if (_this.SchedulerBinding__rescheduleAfterWarmUpFrame) { _this.SchedulerBinding__rescheduleAfterWarmUpFrame = false; _this.SchedulerBinding__postFrameCallbacks.push(new A.SchedulerBinding__handleDrawFrame_closure(_this)); return; } _this.handleDrawFrame$0(); }, handleBeginFrame$1(rawTimeStamp) { var callbacks, t3, _this = this, t1 = _this.SchedulerBinding__frameTimelineTask, t2 = t1 == null; if (!t2) t1.start$2$arguments(0, "Frame", B.Map_9aZ6I); if (_this.SchedulerBinding__firstRawTimeStampInEpoch == null) _this.SchedulerBinding__firstRawTimeStampInEpoch = rawTimeStamp; t3 = rawTimeStamp == null; _this.SchedulerBinding__currentFrameTimeStamp = _this._adjustForEpoch$1(t3 ? _this.SchedulerBinding__lastRawTimeStamp : rawTimeStamp); if (!t3) _this.SchedulerBinding__lastRawTimeStamp = rawTimeStamp; _this.SchedulerBinding__hasScheduledFrame = false; try { if (!t2) t1.start$2$arguments(0, "Animate", B.Map_9aZ6I); _this.SchedulerBinding__schedulerPhase = B.SchedulerPhase_1; callbacks = _this.SchedulerBinding__transientCallbacks; _this.SchedulerBinding__transientCallbacks = A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$._FrameCallbackEntry); J.forEach$1$ax(callbacks, new A.SchedulerBinding_handleBeginFrame_closure(_this)); _this.SchedulerBinding__removedIds.clear$0(0); } finally { _this.SchedulerBinding__schedulerPhase = B.SchedulerPhase_2; } }, handleDrawFrame$0() { var callback, localPostFrameCallbacks, callback0, t3, t4, _i, t5, _this = this, t1 = _this.SchedulerBinding__frameTimelineTask, t2 = t1 == null; if (!t2) t1.finish$0(0); try { _this.SchedulerBinding__schedulerPhase = B.SchedulerPhase_3; for (t3 = _this.SchedulerBinding__persistentCallbacks, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { callback = t3[_i]; t5 = _this.SchedulerBinding__currentFrameTimeStamp; t5.toString; _this._invokeFrameCallback$2(callback, t5); } _this.SchedulerBinding__schedulerPhase = B.SchedulerPhase_4; t3 = _this.SchedulerBinding__postFrameCallbacks; localPostFrameCallbacks = A.List_List$from(t3, true, type$.void_Function_Duration); B.JSArray_methods.set$length(t3, 0); for (t3 = localPostFrameCallbacks, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) { callback0 = t3[_i]; t5 = _this.SchedulerBinding__currentFrameTimeStamp; t5.toString; _this._invokeFrameCallback$2(callback0, t5); } } finally { _this.SchedulerBinding__schedulerPhase = B.SchedulerPhase_0; if (!t2) t1.finish$0(0); _this.SchedulerBinding__currentFrameTimeStamp = null; } }, _profileFramePostEvent$1(frameTiming) { var t1 = frameTiming._ui$_data, t2 = B.JSArray_methods.get$last(t1), t3 = t1[1], t4 = t1[4], t5 = A.Duration$(0, 0, t4, 0, 0), t6 = t1[0]; A.postEvent("Flutter.Frame", A.LinkedHashMap_LinkedHashMap$_literal(["number", t2, "startTime", t3, "elapsed", t5._duration - A.Duration$(0, 0, t6, 0, 0)._duration, "build", A.Duration$(0, 0, t1[2], 0, 0)._duration - A.Duration$(0, 0, t3, 0, 0)._duration, "raster", A.Duration$(0, 0, t4, 0, 0)._duration - A.Duration$(0, 0, t1[3], 0, 0)._duration, "vsyncOverhead", A.Duration$(0, 0, t3, 0, 0)._duration - A.Duration$(0, 0, t6, 0, 0)._duration], type$.String, type$.dynamic)); }, _invokeFrameCallback$3(callback, timeStamp, callbackStack) { var exception, exceptionStack, exception0, t1; try { callback.call$1(timeStamp); } catch (exception0) { exception = A.unwrapException(exception0); exceptionStack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("during a scheduler callback"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, exceptionStack, "scheduler library", t1, null, false)); } }, _invokeFrameCallback$2(callback, timeStamp) { return this._invokeFrameCallback$3(callback, timeStamp, null); } }; A.SchedulerBinding_endOfFrame_closure.prototype = { call$1(timeStamp) { var t1 = this.$this; t1.SchedulerBinding__nextFrameCompleter.complete$0(0); t1.SchedulerBinding__nextFrameCompleter = null; }, $signature: 8 }; A.SchedulerBinding_scheduleWarmUpFrame_closure.prototype = { call$0() { this.$this.handleBeginFrame$1(null); }, $signature: 0 }; A.SchedulerBinding_scheduleWarmUpFrame_closure0.prototype = { call$0() { var t1 = this.$this; t1.handleDrawFrame$0(); t1.resetEpoch$0(); t1.SchedulerBinding__warmUpFrame = false; if (this.hadScheduledFrame) t1.scheduleFrame$0(); }, $signature: 0 }; A.SchedulerBinding_scheduleWarmUpFrame_closure1.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $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$goto = 2; return A._asyncAwait($async$self.$this.get$endOfFrame(), $async$call$0); case 2: // returning from await. $async$self.timelineTask.finish$0(0); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.SchedulerBinding__handleDrawFrame_closure.prototype = { call$1(timeStamp) { var t1 = this.$this; t1.SchedulerBinding__hasScheduledFrame = false; t1.scheduleFrame$0(); }, $signature: 8 }; A.SchedulerBinding_handleBeginFrame_closure.prototype = { call$2(id, callbackEntry) { var t2, t3, t1 = this.$this; if (!t1.SchedulerBinding__removedIds.contains$1(0, id)) { t2 = callbackEntry.callback; t3 = t1.SchedulerBinding__currentFrameTimeStamp; t3.toString; t1._invokeFrameCallback$3(t2, t3, callbackEntry.debugStack); } }, $signature: 585 }; A.Priority.prototype = { get$value(_) { return this._priority$_value; }, $add(_, offset) { if (Math.abs(offset) > 10000) offset = 10000 * B.JSInt_methods.get$sign(offset); return new A.Priority(this._priority$_value + offset); }, $sub(_, offset) { return this.$add(0, -offset); } }; A.Ticker.prototype = { set$muted(_, value) { var t1, _this = this; if (value === _this._muted) return; _this._muted = value; if (value) _this.unscheduleTick$0(); else { t1 = _this._ticker$_future != null && _this._animationId == null; if (t1) _this._animationId = $.SchedulerBinding__instance.scheduleFrameCallback$2$rescheduling(_this.get$_ticker$_tick(), false); } }, get$isTicking() { if (this._ticker$_future == null) return false; if (this._muted) return false; var t1 = $.SchedulerBinding__instance; t1.toString; if (A.SchedulerBinding.prototype.get$framesEnabled.call(t1) && t1.WidgetsBinding__readyToProduceFrames) return true; if ($.SchedulerBinding__instance.SchedulerBinding__schedulerPhase !== B.SchedulerPhase_0) return true; return false; }, start$0(_) { var t1, t2, _this = this; _this._ticker$_future = new A.TickerFuture(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void)); if (!_this._muted) t1 = _this._animationId == null; else t1 = false; if (t1) _this._animationId = $.SchedulerBinding__instance.scheduleFrameCallback$2$rescheduling(_this.get$_ticker$_tick(), false); t1 = $.SchedulerBinding__instance; t2 = t1.SchedulerBinding__schedulerPhase.index; if (t2 > 0 && t2 < 4) { t1 = t1.SchedulerBinding__currentFrameTimeStamp; t1.toString; _this._startTime = t1; } t1 = _this._ticker$_future; t1.toString; return t1; }, stop$1$canceled(_, canceled) { var _this = this, t1 = _this._ticker$_future; if (t1 == null) return; _this._startTime = _this._ticker$_future = null; _this.unscheduleTick$0(); if (canceled) t1._cancel$1(_this); else t1._ticker$_complete$0(); }, stop$0($receiver) { return this.stop$1$canceled($receiver, false); }, _ticker$_tick$1(timeStamp) { var t1, _this = this; _this._animationId = null; t1 = _this._startTime; if (t1 == null) t1 = _this._startTime = timeStamp; _this._onTick.call$1(new A.Duration(timeStamp._duration - t1._duration)); if (!_this._muted && _this._ticker$_future != null && _this._animationId == null) _this._animationId = $.SchedulerBinding__instance.scheduleFrameCallback$2$rescheduling(_this.get$_ticker$_tick(), true); }, unscheduleTick$0() { var t2, t1 = this._animationId; if (t1 != null) { t2 = $.SchedulerBinding__instance; t2.SchedulerBinding__transientCallbacks.remove$1(0, t1); t2.SchedulerBinding__removedIds.add$1(0, t1); this._animationId = null; } }, dispose$0(_) { var _this = this, t1 = _this._ticker$_future; if (t1 != null) { _this._ticker$_future = null; _this.unscheduleTick$0(); t1._cancel$1(_this); } }, toString$1$debugIncludeStack(_, debugIncludeStack) { var t1; "" + "Ticker("; t1 = "" + "Ticker()"; return t1.charCodeAt(0) == 0 ? t1 : t1; }, toString$0($receiver) { return this.toString$1$debugIncludeStack($receiver, false); } }; A.TickerFuture.prototype = { _ticker$_complete$0() { this._completed = true; this._primaryCompleter.complete$0(0); var t1 = this._secondaryCompleter; if (t1 != null) t1.complete$0(0); }, _cancel$1(ticker) { var t1; this._completed = false; t1 = this._secondaryCompleter; if (t1 != null) t1.completeError$1(new A.TickerCanceled(ticker)); }, whenCompleteOrCancel$1(callback) { var t2, t3, _this = this, t1 = new A.TickerFuture_whenCompleteOrCancel_thunk(callback); if (_this._secondaryCompleter == null) { t2 = _this._secondaryCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void); t3 = _this._completed; if (t3 != null) if (t3) t2.complete$0(0); else t2.completeError$1(B.TickerCanceled_null); } _this._secondaryCompleter.future.then$1$2$onError(0, t1, t1, type$.void); }, catchError$2$test(onError, test) { return this._primaryCompleter.future.catchError$2$test(onError, test); }, catchError$1(onError) { return this.catchError$2$test(onError, null); }, then$1$2$onError(_, onValue, onError, $R) { return this._primaryCompleter.future.then$1$2$onError(0, onValue, onError, $R); }, then$1$1($receiver, onValue, $R) { return this.then$1$2$onError($receiver, onValue, null, $R); }, whenComplete$1(action) { return this._primaryCompleter.future.whenComplete$1(action); }, toString$0(_) { var t1 = "<optimized out>#" + A.shortHash(this) + "(", t2 = this._completed; if (t2 == null) t2 = "active"; else t2 = t2 ? "complete" : "canceled"; return t1 + t2 + ")"; }, $isFuture: 1 }; A.TickerFuture_whenCompleteOrCancel_thunk.prototype = { call$1(value) { this.callback.call$0(); }, $signature: 6 }; A.TickerCanceled.prototype = { toString$0(_) { var t1 = this.ticker; if (t1 != null) return "This ticker was canceled: " + t1.toString$0(0); return 'The ticker was canceled before the "orCancel" property was first used.'; }, $isException: 1 }; A.SemanticsBinding.prototype = {}; A.SemanticsTag.prototype = { toString$0(_) { return "SemanticsTag(" + this.name + ")"; }, get$name(receiver) { return this.name; } }; A.AttributedString.prototype = { $add(_, other) { var t3, newString, newAttributes, _i, attribute, t4, t1 = this.string, t2 = t1.length; if (t2 === 0) return other; t3 = other.string; if (t3.length === 0) return this; newString = t1 + t3; newAttributes = A.List_List$from(this.attributes, true, type$.StringAttribute); t1 = other.attributes; t3 = t1.length; if (t3 !== 0) for (_i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) { attribute = t1[_i]; t4 = attribute.range; newAttributes.push(J.copy$1$range$x(attribute, new A.TextRange(t4.start + t2, t4.end + t2))); } return new A.AttributedString(newString, newAttributes); }, $eq(_, other) { if (other == null) return false; return J.get$runtimeType$(other) === A.getRuntimeType(this) && other instanceof A.AttributedString && other.string === this.string && A.listEquals0(other.attributes, this.attributes); }, get$hashCode(_) { return A.hashValues(this.string, this.attributes, 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, 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); }, toString$0(_) { return "AttributedString('" + this.string + "', attributes: " + A.S(this.attributes) + ")"; } }; A.SemanticsData.prototype = { get$value(_) { return this.attributedValue.string; }, toStringShort$0() { return "SemanticsData"; }, $eq(_, other) { var _this = this; if (other == null) return false; return other instanceof A.SemanticsData && other.flags === _this.flags && other.actions === _this.actions && other.attributedLabel.$eq(0, _this.attributedLabel) && other.attributedValue.$eq(0, _this.attributedValue) && other.attributedIncreasedValue.$eq(0, _this.attributedIncreasedValue) && other.attributedDecreasedValue.$eq(0, _this.attributedDecreasedValue) && other.attributedHint.$eq(0, _this.attributedHint) && other.textDirection == _this.textDirection && other.rect.$eq(0, _this.rect) && A.setEquals(other.tags, _this.tags) && other.scrollChildCount == _this.scrollChildCount && other.scrollIndex == _this.scrollIndex && J.$eq$(other.textSelection, _this.textSelection) && other.scrollPosition == _this.scrollPosition && other.scrollExtentMax == _this.scrollExtentMax && other.scrollExtentMin == _this.scrollExtentMin && other.platformViewId == _this.platformViewId && other.maxValueLength == _this.maxValueLength && other.currentValueLength == _this.currentValueLength && J.$eq$(other.transform, _this.transform) && other.elevation === _this.elevation && other.thickness === _this.thickness && A.SemanticsData__sortedListsEqual(other.customSemanticsActionIds, _this.customSemanticsActionIds); }, get$hashCode(_) { var _this = this; return A.hashValues(A.hashValues(_this.flags, _this.actions, _this.attributedLabel, _this.attributedValue, _this.attributedIncreasedValue, _this.attributedDecreasedValue, _this.attributedHint, _this.textDirection, _this.rect, _this.tags, _this.textSelection, _this.scrollChildCount, _this.scrollIndex, _this.scrollPosition, _this.scrollExtentMax, _this.scrollExtentMin, _this.platformViewId, _this.maxValueLength, _this.currentValueLength, _this.transform), _this.elevation, _this.thickness, A.hashList(_this.customSemanticsActionIds), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A._SemanticsDiagnosticableNode.prototype = { getChildren$0() { return this.value.debugDescribeChildren$1$childOrder(this.childOrder); } }; A.SemanticsProperties.prototype = { toStringShort$0() { return "SemanticsProperties"; }, get$value(receiver) { return this.value; } }; A.SemanticsNode.prototype = { get$id(_) { return this._semantics$_id; }, set$transform(_, value) { var t1; if (!A.MatrixUtils_matrixEquals(this._semantics$_transform, value)) { t1 = A.MatrixUtils_isIdentity(value); this._semantics$_transform = t1 ? null : value; this._semantics$_markDirty$0(); } }, set$rect(_, value) { if (!this._semantics$_rect.$eq(0, value)) { this._semantics$_rect = value; this._semantics$_markDirty$0(); } }, set$isMergedIntoParent(value) { if (this._isMergedIntoParent === value) return; this._isMergedIntoParent = value; this._semantics$_markDirty$0(); }, _replaceChildren$1(newChildren) { var t2, _i, t3, sawChange, child, t4, i, _this = this, t1 = _this._semantics$_children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._dead = true; for (t1 = newChildren.length, _i = 0; _i < t1; ++_i) newChildren[_i]._dead = false; t1 = _this._semantics$_children; if (t1 != null) for (t2 = t1.length, t3 = type$.nullable_SemanticsNode, sawChange = false, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child._dead) { t4 = J.getInterceptor$x(child); if (t3._as(A.AbstractNode.prototype.get$parent.call(t4, child)) === _this) { child._node$_parent = null; if (_this._node$_owner != null) child.detach$0(0); } sawChange = true; } } else sawChange = false; for (t1 = newChildren.length, t2 = type$.nullable_SemanticsNode, _i = 0; _i < newChildren.length; newChildren.length === t1 || (0, A.throwConcurrentModificationError)(newChildren), ++_i) { child = newChildren[_i]; t3 = J.getInterceptor$x(child); if (t2._as(A.AbstractNode.prototype.get$parent.call(t3, child)) !== _this) { if (t2._as(A.AbstractNode.prototype.get$parent.call(t3, child)) != null) { t3 = t2._as(A.AbstractNode.prototype.get$parent.call(t3, child)); if (t3 != null) { child._node$_parent = null; if (t3._node$_owner != null) child.detach$0(0); } } child._node$_parent = _this; t3 = _this._node$_owner; if (t3 != null) child.attach$1(t3); t3 = child._depth; t4 = _this._depth; if (t3 <= t4) { child._depth = t4 + 1; child.redepthChildren$0(); } sawChange = true; } } if (!sawChange && _this._semantics$_children != null) for (t1 = _this._semantics$_children, t2 = t1.length, i = 0; i < t2; ++i) if (t1[i]._semantics$_id !== newChildren[i]._semantics$_id) { sawChange = true; break; } _this._semantics$_children = newChildren; if (sawChange) _this._semantics$_markDirty$0(); }, get$hasChildren() { var t1 = this._semantics$_children; t1 = t1 == null ? null : t1.length !== 0; return t1 === true; }, _visitDescendants$1(visitor) { var t2, _i, child, t1 = this._semantics$_children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (!visitor.call$1(child) || !child._visitDescendants$1(visitor)) return false; } return true; }, redepthChildren$0() { var t1 = this._semantics$_children; if (t1 != null) B.JSArray_methods.forEach$1(t1, this.get$redepthChild()); }, attach$1(owner) { var t1, t2, _i, _this = this; _this.super$AbstractNode$attach(owner); for (t1 = owner._nodes; t1.containsKey$1(0, _this._semantics$_id);) _this._semantics$_id = $.SemanticsNode__lastIdentifier = ($.SemanticsNode__lastIdentifier + 1) % 65535; t1.$indexSet(0, _this._semantics$_id, _this); owner._detachedNodes.remove$1(0, _this); if (_this._semantics$_dirty) { _this._semantics$_dirty = false; _this._semantics$_markDirty$0(); } t1 = _this._semantics$_children; if (t1 != null) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].attach$1(owner); }, detach$0(_) { var t2, t3, _i, child, t4, _this = this, t1 = type$.nullable_SemanticsOwner; t1._as(A.AbstractNode.prototype.get$owner.call(_this))._nodes.remove$1(0, _this._semantics$_id); t1._as(A.AbstractNode.prototype.get$owner.call(_this))._detachedNodes.add$1(0, _this); _this.super$AbstractNode$detach(0); t1 = _this._semantics$_children; if (t1 != null) for (t2 = t1.length, t3 = type$.nullable_SemanticsNode, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; t4 = J.getInterceptor$x(child); if (t3._as(A.AbstractNode.prototype.get$parent.call(t4, child)) === _this) t4.detach$0(child); } _this._semantics$_markDirty$0(); }, _semantics$_markDirty$0() { var _this = this; if (_this._semantics$_dirty) return; _this._semantics$_dirty = true; if (_this._node$_owner != null) type$.nullable_SemanticsOwner._as(A.AbstractNode.prototype.get$owner.call(_this))._semantics$_dirtyNodes.add$1(0, _this); }, get$value(_) { return this._semantics$_attributedValue.string; }, updateWith$2$childrenInInversePaintOrder$config(_, childrenInInversePaintOrder, config) { var _this = this; if (config == null) config = $.$get$SemanticsNode__kEmptyConfig(); if (!_this._semantics$_attributedLabel.$eq(0, config._semantics$_attributedLabel) || !_this._semantics$_attributedHint.$eq(0, config._semantics$_attributedHint) || _this._semantics$_elevation !== config._semantics$_elevation || _this._semantics$_thickness !== config._semantics$_thickness || !_this._semantics$_attributedValue.$eq(0, config._semantics$_attributedValue) || !_this._semantics$_attributedIncreasedValue.$eq(0, config._semantics$_attributedIncreasedValue) || !_this._semantics$_attributedDecreasedValue.$eq(0, config._semantics$_attributedDecreasedValue) || _this._flags !== config._flags || _this._semantics$_textDirection != config._semantics$_textDirection || _this._semantics$_sortKey != config._semantics$_sortKey || !J.$eq$(_this._textSelection, config._textSelection) || _this._scrollPosition != config._scrollPosition || _this._scrollExtentMax != config._scrollExtentMax || _this._scrollExtentMin != config._scrollExtentMin || _this._actionsAsBits !== config._actionsAsBits || _this.indexInParent != config._indexInParent || _this._platformViewId != config._platformViewId || _this._semantics$_maxValueLength != config._semantics$_maxValueLength || _this._semantics$_currentValueLength != config._semantics$_currentValueLength || _this._mergeAllDescendantsIntoThisNode !== config._isMergingSemanticsOfDescendants) _this._semantics$_markDirty$0(); _this._semantics$_attributedLabel = config._semantics$_attributedLabel; _this._semantics$_attributedValue = config._semantics$_attributedValue; _this._semantics$_attributedIncreasedValue = config._semantics$_attributedIncreasedValue; _this._semantics$_attributedDecreasedValue = config._semantics$_attributedDecreasedValue; _this._semantics$_attributedHint = config._semantics$_attributedHint; _this._semantics$_hintOverrides = config._semantics$_hintOverrides; _this._semantics$_elevation = config._semantics$_elevation; _this._semantics$_thickness = config._semantics$_thickness; _this._flags = config._flags; _this._semantics$_textDirection = config._semantics$_textDirection; _this._semantics$_sortKey = config._semantics$_sortKey; _this._actions = A.LinkedHashMap_LinkedHashMap$from(config._actions, type$.SemanticsAction, type$.void_Function_nullable_Object); _this._customSemanticsActions = A.LinkedHashMap_LinkedHashMap$from(config._customSemanticsActions, type$.CustomSemanticsAction, type$.void_Function); _this._actionsAsBits = config._actionsAsBits; _this._textSelection = config._textSelection; _this._scrollPosition = config._scrollPosition; _this._scrollExtentMax = config._scrollExtentMax; _this._scrollExtentMin = config._scrollExtentMin; _this._mergeAllDescendantsIntoThisNode = config._isMergingSemanticsOfDescendants; _this._scrollChildCount = config._scrollChildCount; _this._scrollIndex = config._scrollIndex; _this.indexInParent = config._indexInParent; _this._platformViewId = config._platformViewId; _this._semantics$_maxValueLength = config._semantics$_maxValueLength; _this._semantics$_currentValueLength = config._semantics$_currentValueLength; _this._replaceChildren$1(childrenInInversePaintOrder == null ? B.List_empty28 : childrenInInversePaintOrder); }, updateWith$1$config($receiver, config) { return this.updateWith$2$childrenInInversePaintOrder$config($receiver, null, config); }, getSemanticsData$0() { var t1, elevation, customSemanticsActionIds, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, _this = this, _box_0 = {}; _box_0.flags = _this._flags; _box_0.actions = _this._actionsAsBits; _box_0.attributedLabel = _this._semantics$_attributedLabel; _box_0.attributedValue = _this._semantics$_attributedValue; _box_0.attributedIncreasedValue = _this._semantics$_attributedIncreasedValue; _box_0.attributedDecreasedValue = _this._semantics$_attributedDecreasedValue; _box_0.attributedHint = _this._semantics$_attributedHint; _box_0.textDirection = _this._semantics$_textDirection; t1 = _this.tags; _box_0.mergedTags = t1 == null ? null : A.LinkedHashSet_LinkedHashSet$from(t1, type$.SemanticsTag); _box_0.textSelection = _this._textSelection; _box_0.scrollChildCount = _this._scrollChildCount; _box_0.scrollIndex = _this._scrollIndex; _box_0.scrollPosition = _this._scrollPosition; _box_0.scrollExtentMax = _this._scrollExtentMax; _box_0.scrollExtentMin = _this._scrollExtentMin; _box_0.platformViewId = _this._platformViewId; _box_0.maxValueLength = _this._semantics$_maxValueLength; _box_0.currentValueLength = _this._semantics$_currentValueLength; elevation = _this._semantics$_elevation; _box_0.thickness = _this._semantics$_thickness; customSemanticsActionIds = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); for (t1 = _this._customSemanticsActions, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) customSemanticsActionIds.add$1(0, A.CustomSemanticsAction_getIdentifier(t1.get$current(t1))); _this._semantics$_hintOverrides != null; if (_this._mergeAllDescendantsIntoThisNode) _this._visitDescendants$1(new A.SemanticsNode_getSemanticsData_closure(_box_0, _this, customSemanticsActionIds)); t1 = _box_0.flags; t2 = _box_0.actions; t3 = _box_0.attributedLabel; t4 = _box_0.attributedValue; t5 = _box_0.attributedIncreasedValue; t6 = _box_0.attributedDecreasedValue; t7 = _box_0.attributedHint; t8 = _box_0.textDirection; t9 = _this._semantics$_rect; t10 = _this._semantics$_transform; t11 = _box_0.thickness; t12 = _box_0.mergedTags; t13 = _box_0.textSelection; t14 = _box_0.scrollChildCount; t15 = _box_0.scrollIndex; t16 = _box_0.scrollPosition; t17 = _box_0.scrollExtentMax; t18 = _box_0.scrollExtentMin; t19 = _box_0.platformViewId; t20 = _box_0.maxValueLength; t21 = _box_0.currentValueLength; t22 = A.List_List$of(customSemanticsActionIds, true, customSemanticsActionIds.$ti._eval$1("SetMixin.E")); B.JSArray_methods.sort$0(t22); return new A.SemanticsData(t1, t2, t3, t4, t5, t6, t7, t8, t13, t14, t15, t16, t17, t18, t19, t20, t21, t9, t12, t10, elevation, t11, t22); }, _addToUpdate$2(builder, customSemanticsActionIdsUpdate) { var childrenInTraversalOrder, childrenInHitTestOrder, childCount, sortedChildren, i, t1, t2, customSemanticsActionIds, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, _this = this, data = _this.getSemanticsData$0(); if (!_this.get$hasChildren() || _this._mergeAllDescendantsIntoThisNode) { childrenInTraversalOrder = $.$get$SemanticsNode__kEmptyChildList(); childrenInHitTestOrder = childrenInTraversalOrder; } else { childCount = _this._semantics$_children.length; sortedChildren = _this._childrenInTraversalOrder$0(); childrenInTraversalOrder = new Int32Array(childCount); for (i = 0; i < childCount; ++i) childrenInTraversalOrder[i] = sortedChildren[i]._semantics$_id; childrenInHitTestOrder = new Int32Array(childCount); for (i = childCount - 1, t1 = _this._semantics$_children; i >= 0; --i) childrenInHitTestOrder[i] = t1[childCount - i - 1]._semantics$_id; } t1 = data.customSemanticsActionIds; t2 = t1.length; if (t2 !== 0) { customSemanticsActionIds = new Int32Array(t2); for (i = 0; i < t1.length; ++i) { t2 = t1[i]; customSemanticsActionIds[i] = t2; customSemanticsActionIdsUpdate.add$1(0, t2); } } else customSemanticsActionIds = null; t1 = _this._semantics$_id; t2 = data.attributedLabel; t3 = data.attributedValue; t4 = data.attributedIncreasedValue; t5 = data.attributedDecreasedValue; t6 = data.attributedHint; t7 = data.textSelection; t8 = t7 != null; t9 = t8 ? t7.baseOffset : -1; t7 = t8 ? t7.extentOffset : -1; t8 = data.scrollChildCount; if (t8 == null) t8 = 0; t10 = data.scrollIndex; if (t10 == null) t10 = 0; t11 = data.scrollPosition; if (t11 == null) t11 = 0 / 0; t12 = data.scrollExtentMax; if (t12 == null) t12 = 0 / 0; t13 = data.scrollExtentMin; if (t13 == null) t13 = 0 / 0; t14 = data.transform; t14 = t14 == null ? null : t14._m4storage; if (t14 == null) t14 = $.$get$SemanticsNode__kIdentityTransform(); t15 = customSemanticsActionIds == null ? $.$get$SemanticsNode__kEmptyCustomSemanticsActionsList() : customSemanticsActionIds; builder._nodeUpdates.push(new A.SemanticsNodeUpdate(t1, data.flags, data.actions, t9, t7, t8, t10, t11, t12, t13, data.rect, t2.string, t2.attributes, t6.string, t6.attributes, t3.string, t3.attributes, t4.string, t4.attributes, t5.string, t5.attributes, null, data.textDirection, A.toMatrix32(t14), childrenInTraversalOrder, childrenInHitTestOrder, t15, data.thickness)); _this._semantics$_dirty = false; }, _childrenInTraversalOrder$0() { var t2, childrenInDefaultOrder, everythingSorted, sortNodes, lastSortKey, position, child, sortKey, isCompatibleWithPreviousSortKey, _this = this, inheritedTextDirection = _this._semantics$_textDirection, t1 = type$.nullable_SemanticsNode, ancestor = t1._as(A.AbstractNode.prototype.get$parent.call(_this, _this)); while (true) { t2 = inheritedTextDirection == null; if (!(t2 && ancestor != null)) break; inheritedTextDirection = ancestor._semantics$_textDirection; ancestor = t1._as(A.AbstractNode.prototype.get$parent.call(ancestor, ancestor)); } childrenInDefaultOrder = _this._semantics$_children; if (!t2) { childrenInDefaultOrder.toString; childrenInDefaultOrder = A._childrenInDefaultOrder(childrenInDefaultOrder, inheritedTextDirection); } t1 = type$.JSArray__TraversalSortNode; everythingSorted = A._setArrayType([], t1); sortNodes = A._setArrayType([], t1); for (lastSortKey = null, position = 0; position < childrenInDefaultOrder.length; ++position) { child = childrenInDefaultOrder[position]; sortKey = child._semantics$_sortKey; lastSortKey = position > 0 ? childrenInDefaultOrder[position - 1]._semantics$_sortKey : null; if (position !== 0) if (J.get$runtimeType$(sortKey) === J.get$runtimeType$(lastSortKey)) { if (sortKey != null) lastSortKey.toString; isCompatibleWithPreviousSortKey = true; } else isCompatibleWithPreviousSortKey = false; else isCompatibleWithPreviousSortKey = true; if (!isCompatibleWithPreviousSortKey && sortNodes.length !== 0) { if (lastSortKey != null) { if (!!sortNodes.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); t1 = sortNodes.length - 1; if (t1 - 0 <= 32) A.Sort__insertionSort(sortNodes, 0, t1, J._interceptors_JSArray__compareAny$closure()); else A.Sort__dualPivotQuicksort(sortNodes, 0, t1, J._interceptors_JSArray__compareAny$closure()); } B.JSArray_methods.addAll$1(everythingSorted, sortNodes); B.JSArray_methods.set$length(sortNodes, 0); } sortNodes.push(new A._TraversalSortNode(child, sortKey, position)); } if (lastSortKey != null) B.JSArray_methods.sort$0(sortNodes); B.JSArray_methods.addAll$1(everythingSorted, sortNodes); t1 = type$.MappedListIterable__TraversalSortNode_SemanticsNode; return A.List_List$of(new A.MappedListIterable(everythingSorted, new A.SemanticsNode__childrenInTraversalOrder_closure(), t1), true, t1._eval$1("ListIterable.E")); }, sendEvent$1($event) { if (this._node$_owner == null) return; B.BasicMessageChannel_QXb.send$1(0, $event.toMap$1$nodeId(this._semantics$_id)); }, toStringShort$0() { return "SemanticsNode#" + this._semantics$_id; }, toStringDeep$1$childOrder(childOrder) { A._SemanticsDiagnosticableNode$(childOrder, null, B.DiagnosticsTreeStyle_1, this); return ""; }, toStringDeep$0() { return this.toStringDeep$1$childOrder(B.DebugSemanticsDumpOrder_1); }, toDiagnosticsNode$3$childOrder$name$style(childOrder, $name, style) { return new A._SemanticsDiagnosticableNode(childOrder, this, $name, true, true, null, style); }, toDiagnosticsNode$1$style(style) { return this.toDiagnosticsNode$3$childOrder$name$style(B.DebugSemanticsDumpOrder_1, null, style); }, toDiagnosticsNode$0() { return this.toDiagnosticsNode$3$childOrder$name$style(B.DebugSemanticsDumpOrder_1, null, B.DiagnosticsTreeStyle_1); }, debugDescribeChildren$1$childOrder(childOrder) { var t1 = this.debugListChildrenInOrder$1(childOrder), t2 = A.instanceType(t1)._eval$1("MappedListIterable<1,DiagnosticsNode>"); return A.List_List$of(new A.MappedListIterable(t1, new A.SemanticsNode_debugDescribeChildren_closure(childOrder), t2), true, t2._eval$1("ListIterable.E")); }, debugDescribeChildren$0() { return this.debugDescribeChildren$1$childOrder(B.DebugSemanticsDumpOrder_0); }, debugListChildrenInOrder$1(childOrder) { var t1 = this._semantics$_children; if (t1 == null) return B.List_empty28; switch (childOrder.index) { case 0: return t1; case 1: return this._childrenInTraversalOrder$0(); } }, $isDiagnosticableTree: 1 }; A.SemanticsNode_getSemanticsData_closure.prototype = { call$1(node) { var t2, t3, t1 = this._box_0; t1.flags = t1.flags | node._flags; t1.actions = t1.actions | node._actionsAsBits; if (t1.textDirection == null) t1.textDirection = node._semantics$_textDirection; if (t1.textSelection == null) t1.textSelection = node._textSelection; if (t1.scrollChildCount == null) t1.scrollChildCount = node._scrollChildCount; if (t1.scrollIndex == null) t1.scrollIndex = node._scrollIndex; if (t1.scrollPosition == null) t1.scrollPosition = node._scrollPosition; if (t1.scrollExtentMax == null) t1.scrollExtentMax = node._scrollExtentMax; if (t1.scrollExtentMin == null) t1.scrollExtentMin = node._scrollExtentMin; if (t1.platformViewId == null) t1.platformViewId = node._platformViewId; if (t1.maxValueLength == null) t1.maxValueLength = node._semantics$_maxValueLength; if (t1.currentValueLength == null) t1.currentValueLength = node._semantics$_currentValueLength; t2 = t1.attributedValue; if (t2.string === "") t1.attributedValue = node._semantics$_attributedValue; t2 = t1.attributedIncreasedValue; if (t2.string === "") t1.attributedIncreasedValue = node._semantics$_attributedIncreasedValue; t2 = t1.attributedDecreasedValue; if (t2.string === "") t1.attributedDecreasedValue = node._semantics$_attributedDecreasedValue; t2 = node.tags; if (t2 != null) { t3 = t1.mergedTags; (t3 == null ? t1.mergedTags = A.LinkedHashSet_LinkedHashSet$_empty(type$.SemanticsTag) : t3).addAll$1(0, t2); } for (t2 = this.$this._customSemanticsActions, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = this.customSemanticsActionIds; t2.moveNext$0();) t3.add$1(0, A.CustomSemanticsAction_getIdentifier(t2.get$current(t2))); node._semantics$_hintOverrides != null; t2 = t1.attributedLabel; t3 = t1.textDirection; t1.attributedLabel = A._concatAttributedString(node._semantics$_attributedLabel, node._semantics$_textDirection, t2, t3); t3 = t1.attributedHint; t2 = t1.textDirection; t1.attributedHint = A._concatAttributedString(node._semantics$_attributedHint, node._semantics$_textDirection, t3, t2); t1.thickness = Math.max(t1.thickness, node._semantics$_thickness + node._semantics$_elevation); return true; }, $signature: 170 }; A.SemanticsNode__childrenInTraversalOrder_closure.prototype = { call$1(sortNode) { return sortNode.node; }, $signature: 587 }; A.SemanticsNode_debugDescribeChildren_closure.prototype = { call$1(node) { return A._SemanticsDiagnosticableNode$(this.childOrder, null, B.DiagnosticsTreeStyle_1, node); }, $signature: 588 }; A._BoxEdge.prototype = { compareTo$1(_, other) { return B.JSNumber_methods.compareTo$1(this.offset, other.offset); }, $isComparable: 1 }; A._SemanticsSortGroup.prototype = { compareTo$1(_, other) { return B.JSNumber_methods.compareTo$1(this.startOffset, other.startOffset); }, sortedWithinVerticalGroup$0() { var t1, t2, _i, child, t3, horizontalGroups, group, depth, edge, edges = A._setArrayType([], type$.JSArray__BoxEdge); for (t1 = this.nodes, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; t3 = child._semantics$_rect; edges.push(new A._BoxEdge(true, A._pointInParentCoordinates(child, new A.Offset(t3.left - -0.1, t3.top - -0.1))._dx, child)); edges.push(new A._BoxEdge(false, A._pointInParentCoordinates(child, new A.Offset(t3.right + -0.1, t3.bottom + -0.1))._dx, child)); } B.JSArray_methods.sort$0(edges); horizontalGroups = A._setArrayType([], type$.JSArray__SemanticsSortGroup); for (t1 = edges.length, t2 = this.textDirection, t3 = 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, t2, A._setArrayType([], t3)); group.nodes.push(edge.node); } else --depth; if (depth === 0) { group.toString; horizontalGroups.push(group); group = null; } } B.JSArray_methods.sort$0(horizontalGroups); if (t2 === B.TextDirection_0) { t1 = type$.ReversedListIterable__SemanticsSortGroup; horizontalGroups = A.List_List$of(new A.ReversedListIterable(horizontalGroups, t1), true, t1._eval$1("ListIterable.E")); } t1 = A._arrayInstanceType(horizontalGroups)._eval$1("ExpandIterable<1,SemanticsNode>"); return A.List_List$of(new A.ExpandIterable(horizontalGroups, new A._SemanticsSortGroup_sortedWithinVerticalGroup_closure(), t1), true, t1._eval$1("Iterable.E")); }, sortedWithinKnot$0() { var t3, nodeMap, edges, t4, t5, t6, _i, node, t7, t8, center, _i0, t9, nextNode, t10, t11, nextCenter, direction, isLtrAndForward, isRtlAndForward, sortedIds, startNodes, t1 = this.nodes, t2 = t1.length; if (t2 <= 1) return t1; t3 = type$.int; nodeMap = A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.SemanticsNode); edges = A.LinkedHashMap_LinkedHashMap$_empty(t3, t3); for (t4 = this.textDirection, t5 = t4 === B.TextDirection_0, t4 = t4 === B.TextDirection_1, t6 = t2, _i = 0; _i < t6; t9 === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i, t6 = t9) { node = t1[_i]; nodeMap.$indexSet(0, node._semantics$_id, node); t6 = node._semantics$_rect; t7 = t6.left; t8 = t6.top; center = A._pointInParentCoordinates(node, new A.Offset(t7 + (t6.right - t7) / 2, t8 + (t6.bottom - t8) / 2)); for (t6 = t1.length, t7 = center._dx, t8 = center._dy, _i0 = 0; t9 = t1.length, _i0 < t9; t1.length === t6 || (0, A.throwConcurrentModificationError)(t1), ++_i0) { nextNode = t1[_i0]; if ((node == null ? nextNode == null : node === nextNode) || edges.$index(0, nextNode._semantics$_id) === node._semantics$_id) continue; t9 = nextNode._semantics$_rect; t10 = t9.left; t11 = t9.top; nextCenter = A._pointInParentCoordinates(nextNode, new A.Offset(t10 + (t9.right - t10) / 2, t11 + (t9.bottom - t11) / 2)); direction = Math.atan2(nextCenter._dy - t8, nextCenter._dx - t7); isLtrAndForward = t4 && -0.7853981633974483 < direction && direction < 2.356194490192345; if (t5) isRtlAndForward = direction < -2.356194490192345 || direction > 2.356194490192345; else isRtlAndForward = false; if (isLtrAndForward || isRtlAndForward) edges.$indexSet(0, node._semantics$_id, nextNode._semantics$_id); } } sortedIds = A._setArrayType([], type$.JSArray_int); startNodes = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); B.JSArray_methods.sort$1(startNodes, new A._SemanticsSortGroup_sortedWithinKnot_closure()); new A.MappedListIterable(startNodes, new A._SemanticsSortGroup_sortedWithinKnot_closure0(), A._arrayInstanceType(startNodes)._eval$1("MappedListIterable<1,int>")).forEach$1(0, new A._SemanticsSortGroup_sortedWithinKnot_search(A.LinkedHashSet_LinkedHashSet$_empty(t3), edges, sortedIds)); t1 = type$.MappedListIterable_int_SemanticsNode; t1 = A.List_List$of(new A.MappedListIterable(sortedIds, new A._SemanticsSortGroup_sortedWithinKnot_closure1(nodeMap), t1), true, t1._eval$1("ListIterable.E")); t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"); return A.List_List$of(new A.ReversedListIterable(t1, t2), true, t2._eval$1("ListIterable.E")); } }; A._SemanticsSortGroup_sortedWithinVerticalGroup_closure.prototype = { call$1(group) { return group.sortedWithinKnot$0(); }, $signature: 291 }; A._SemanticsSortGroup_sortedWithinKnot_closure.prototype = { call$2(a, b) { var bTopLeft, verticalDiff, t1 = a._semantics$_rect, aTopLeft = A._pointInParentCoordinates(a, new A.Offset(t1.left, t1.top)); t1 = b._semantics$_rect; bTopLeft = A._pointInParentCoordinates(b, new A.Offset(t1.left, t1.top)); verticalDiff = B.JSNumber_methods.compareTo$1(aTopLeft._dy, bTopLeft._dy); if (verticalDiff !== 0) return -verticalDiff; return -B.JSNumber_methods.compareTo$1(aTopLeft._dx, bTopLeft._dx); }, $signature: 150 }; A._SemanticsSortGroup_sortedWithinKnot_search.prototype = { call$1(id) { var _this = this, t1 = _this.visitedIds; if (t1.contains$1(0, id)) return; t1.add$1(0, id); t1 = _this.edges; if (t1.containsKey$1(0, id)) { t1 = t1.$index(0, id); t1.toString; _this.call$1(t1); } _this.sortedIds.push(id); }, $signature: 40 }; A._SemanticsSortGroup_sortedWithinKnot_closure0.prototype = { call$1(node) { return node._semantics$_id; }, $signature: 591 }; A._SemanticsSortGroup_sortedWithinKnot_closure1.prototype = { call$1(id) { var t1 = this.nodeMap.$index(0, id); t1.toString; return t1; }, $signature: 592 }; A._childrenInDefaultOrder_closure.prototype = { call$1(group) { return group.sortedWithinVerticalGroup$0(); }, $signature: 291 }; A._TraversalSortNode.prototype = { compareTo$1(_, other) { var t2, t1 = this.sortKey; if (t1 == null || other.sortKey == null) return this.position - other.position; t1.toString; t2 = other.sortKey; t2.toString; return t1.compareTo$1(0, t2); }, $isComparable: 1 }; A.SemanticsOwner.prototype = { dispose$0(_) { var _this = this; _this._semantics$_dirtyNodes.clear$0(0); _this._nodes.clear$0(0); _this._detachedNodes.clear$0(0); _this.super$ChangeNotifier$dispose(0); }, sendSemanticsUpdate$0() { var customSemanticsActionIds, visitedNodes, t2, t3, t4, t5, localDirtyNodes, t6, t7, _i, node, t8, builder, _this = this, t1 = _this._semantics$_dirtyNodes; if (t1._collection$_length === 0) return; customSemanticsActionIds = A.LinkedHashSet_LinkedHashSet$_empty(type$.int); visitedNodes = A._setArrayType([], type$.JSArray_SemanticsNode); for (t2 = type$.nullable_SemanticsNode, t3 = A._instanceType(t1)._eval$1("WhereIterable<SetMixin.E>"), t4 = t3._eval$1("Iterable.E"), t5 = _this._detachedNodes; t1._collection$_length !== 0;) { localDirtyNodes = A.List_List$of(new A.WhereIterable(t1, new A.SemanticsOwner_sendSemanticsUpdate_closure(_this), t3), true, t4); t1.clear$0(0); t5.clear$0(0); t6 = new A.SemanticsOwner_sendSemanticsUpdate_closure0(); if (!!localDirtyNodes.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); t7 = localDirtyNodes.length - 1; if (t7 - 0 <= 32) A.Sort__insertionSort(localDirtyNodes, 0, t7, t6); else A.Sort__dualPivotQuicksort(localDirtyNodes, 0, t7, t6); B.JSArray_methods.addAll$1(visitedNodes, localDirtyNodes); for (t6 = localDirtyNodes.length, _i = 0; _i < localDirtyNodes.length; localDirtyNodes.length === t6 || (0, A.throwConcurrentModificationError)(localDirtyNodes), ++_i) { node = localDirtyNodes[_i]; if (node._mergeAllDescendantsIntoThisNode || node._isMergedIntoParent) { t7 = J.getInterceptor$x(node); if (t2._as(A.AbstractNode.prototype.get$parent.call(t7, node)) != null) { t8 = t2._as(A.AbstractNode.prototype.get$parent.call(t7, node)); t8 = t8._mergeAllDescendantsIntoThisNode || t8._isMergedIntoParent; } else t8 = false; if (t8) { t2._as(A.AbstractNode.prototype.get$parent.call(t7, node))._semantics$_markDirty$0(); node._semantics$_dirty = false; } } } } B.JSArray_methods.sort$1(visitedNodes, new A.SemanticsOwner_sendSemanticsUpdate_closure1()); $.SemanticsBinding__instance.toString; builder = new A.SemanticsUpdateBuilder(A._setArrayType([], type$.JSArray_SemanticsNodeUpdate)); for (t2 = visitedNodes.length, _i = 0; _i < visitedNodes.length; visitedNodes.length === t2 || (0, A.throwConcurrentModificationError)(visitedNodes), ++_i) { node = visitedNodes[_i]; if (node._semantics$_dirty && node._node$_owner != null) node._addToUpdate$2(builder, customSemanticsActionIds); } t1.clear$0(0); for (t1 = A._LinkedHashSetIterator$(customSemanticsActionIds, customSemanticsActionIds._collection$_modifications, customSemanticsActionIds.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) $.CustomSemanticsAction__actions.$index(0, t2._as(t1._collection$_current)).toString; $.SemanticsBinding__instance.toString; $.$get$window(); t1 = $.EngineSemanticsOwner__instance; if (t1 == null) t1 = $.EngineSemanticsOwner__instance = A.EngineSemanticsOwner$_(); t1.updateSemantics$1(new A.SemanticsUpdate(builder._nodeUpdates)); _this.notifyListeners$0(); }, _getSemanticsActionHandlerForId$2(id, action) { var t2, t1 = {}, result = t1.result = this._nodes.$index(0, id); if (result != null) t2 = (result._mergeAllDescendantsIntoThisNode || result._isMergedIntoParent) && !result._actions.containsKey$1(0, action); else t2 = false; if (t2) result._visitDescendants$1(new A.SemanticsOwner__getSemanticsActionHandlerForId_closure(t1, action)); t2 = t1.result; if (t2 == null || !t2._actions.containsKey$1(0, action)) return null; return t1.result._actions.$index(0, action); }, performAction$3(id, action, args) { var handler = this._getSemanticsActionHandlerForId$2(id, action); if (handler != null) { handler.call$1(args); return; } if (action === B.SemanticsAction_256 && this._nodes.$index(0, id)._showOnScreen != null) this._nodes.$index(0, id)._showOnScreen.call$0(); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A.SemanticsOwner_sendSemanticsUpdate_closure.prototype = { call$1(node) { return !this.$this._detachedNodes.contains$1(0, node); }, $signature: 170 }; A.SemanticsOwner_sendSemanticsUpdate_closure0.prototype = { call$2(a, b) { return a._depth - b._depth; }, $signature: 150 }; A.SemanticsOwner_sendSemanticsUpdate_closure1.prototype = { call$2(a, b) { return a._depth - b._depth; }, $signature: 150 }; A.SemanticsOwner__getSemanticsActionHandlerForId_closure.prototype = { call$1(node) { if (node._actions.containsKey$1(0, this.action)) { this._box_0.result = node; return false; } return true; }, $signature: 170 }; A.SemanticsConfiguration.prototype = { _addAction$2(action, handler) { var _this = this; _this._actions.$indexSet(0, action, handler); _this._actionsAsBits = _this._actionsAsBits | action.index; _this._hasBeenAnnotated = true; }, _addArgumentlessAction$2(action, handler) { this._addAction$2(action, new A.SemanticsConfiguration__addArgumentlessAction_closure(handler)); }, set$onTap(value) { value.toString; this._addArgumentlessAction$2(B.SemanticsAction_1, value); this._semantics$_onTap = value; }, set$onLongPress(value) { value.toString; this._addArgumentlessAction$2(B.SemanticsAction_2, value); }, set$onScrollLeft(value) { this._addArgumentlessAction$2(B.SemanticsAction_4, value); }, set$onDismiss(value) { this._addArgumentlessAction$2(B.SemanticsAction_262144, value); }, set$onScrollRight(value) { this._addArgumentlessAction$2(B.SemanticsAction_8, value); }, set$onScrollUp(value) { this._addArgumentlessAction$2(B.SemanticsAction_16, value); }, set$onScrollDown(value) { this._addArgumentlessAction$2(B.SemanticsAction_32, value); }, set$onIncrease(value) { this._addArgumentlessAction$2(B.SemanticsAction_64, value); }, set$onDecrease(value) { this._addArgumentlessAction$2(B.SemanticsAction_128, value); }, set$onCopy(_, value) { this._addArgumentlessAction$2(B.SemanticsAction_4096, value); }, set$onCut(_, value) { this._addArgumentlessAction$2(B.SemanticsAction_8192, value); }, set$onPaste(_, value) { this._addArgumentlessAction$2(B.SemanticsAction_16384, value); }, set$onMoveCursorForwardByCharacter(value) { this._addAction$2(B.SemanticsAction_512, new A.SemanticsConfiguration_onMoveCursorForwardByCharacter_closure(value)); }, set$onMoveCursorBackwardByCharacter(value) { this._addAction$2(B.SemanticsAction_1024, new A.SemanticsConfiguration_onMoveCursorBackwardByCharacter_closure(value)); }, set$onMoveCursorForwardByWord(value) { this._addAction$2(B.SemanticsAction_524288, new A.SemanticsConfiguration_onMoveCursorForwardByWord_closure(value)); }, set$onMoveCursorBackwardByWord(value) { this._addAction$2(B.SemanticsAction_1048576, new A.SemanticsConfiguration_onMoveCursorBackwardByWord_closure(value)); }, set$onSetSelection(value) { this._addAction$2(B.SemanticsAction_2048, new A.SemanticsConfiguration_onSetSelection_closure(value)); }, set$onSetText(value) { this._addAction$2(B.SemanticsAction_2097152, new A.SemanticsConfiguration_onSetText_closure(value)); }, set$onDidGainAccessibilityFocus(value) { this._addArgumentlessAction$2(B.SemanticsAction_32768, value); }, set$onDidLoseAccessibilityFocus(value) { this._addArgumentlessAction$2(B.SemanticsAction_65536, value); }, set$scrollChildCount(value) { if (value == this._scrollChildCount) return; this._scrollChildCount = value; this._hasBeenAnnotated = true; }, set$scrollIndex(value) { if (value == this._scrollIndex) return; this._scrollIndex = value; this._hasBeenAnnotated = true; }, set$platformViewId(value) { if (value === this._platformViewId) return; this._platformViewId = value; this._hasBeenAnnotated = true; }, set$maxValueLength(value) { if (value == this._semantics$_maxValueLength) return; this._semantics$_maxValueLength = value; this._hasBeenAnnotated = true; }, set$currentValueLength(value) { if (value == this._semantics$_currentValueLength) return; this._semantics$_currentValueLength = value; this._hasBeenAnnotated = true; }, get$value(_) { return this._semantics$_attributedValue.string; }, set$elevation(_, value) { if (value === this._semantics$_elevation) return; this._semantics$_elevation = value; this._hasBeenAnnotated = true; }, addTagForChildren$1(tag) { var t1 = this._tagsForChildren; (t1 == null ? this._tagsForChildren = A.LinkedHashSet_LinkedHashSet$_empty(type$.SemanticsTag) : t1).add$1(0, tag); }, _setFlag$2(flag, value) { var _this = this, t1 = _this._flags, t2 = flag.index; if (value) _this._flags = t1 | t2; else _this._flags = t1 & ~t2; _this._hasBeenAnnotated = true; }, isCompatibleWith$1(other) { var t1, _this = this; if (other == null || !other._hasBeenAnnotated || !_this._hasBeenAnnotated) return true; if ((_this._actionsAsBits & other._actionsAsBits) !== 0) return false; if ((_this._flags & other._flags) !== 0) return false; if (_this._platformViewId != null && other._platformViewId != null) return false; if (_this._semantics$_maxValueLength != null && other._semantics$_maxValueLength != null) return false; if (_this._semantics$_currentValueLength != null && other._semantics$_currentValueLength != null) return false; if (_this._semantics$_attributedValue.string.length !== 0) t1 = other._semantics$_attributedValue.string.length !== 0; else t1 = false; if (t1) return false; return true; }, absorb$1(child) { var t1, t2, _this = this; if (!child._hasBeenAnnotated) return; _this._actions.addAll$1(0, child._actions); _this._customSemanticsActions.addAll$1(0, child._customSemanticsActions); _this._actionsAsBits = _this._actionsAsBits | child._actionsAsBits; _this._flags = _this._flags | child._flags; if (_this._textSelection == null) _this._textSelection = child._textSelection; if (_this._scrollPosition == null) _this._scrollPosition = child._scrollPosition; if (_this._scrollExtentMax == null) _this._scrollExtentMax = child._scrollExtentMax; if (_this._scrollExtentMin == null) _this._scrollExtentMin = child._scrollExtentMin; if (_this._semantics$_hintOverrides == null) _this._semantics$_hintOverrides = child._semantics$_hintOverrides; if (_this._indexInParent == null) _this._indexInParent = child._indexInParent; if (_this._scrollIndex == null) _this._scrollIndex = child._scrollIndex; if (_this._scrollChildCount == null) _this._scrollChildCount = child._scrollChildCount; if (_this._platformViewId == null) _this._platformViewId = child._platformViewId; if (_this._semantics$_maxValueLength == null) _this._semantics$_maxValueLength = child._semantics$_maxValueLength; if (_this._semantics$_currentValueLength == null) _this._semantics$_currentValueLength = child._semantics$_currentValueLength; t1 = _this._semantics$_textDirection; if (t1 == null) { t1 = _this._semantics$_textDirection = child._semantics$_textDirection; _this._hasBeenAnnotated = true; } if (_this._semantics$_sortKey == null) _this._semantics$_sortKey = child._semantics$_sortKey; t2 = _this._semantics$_attributedLabel; _this._semantics$_attributedLabel = A._concatAttributedString(child._semantics$_attributedLabel, child._semantics$_textDirection, t2, t1); t1 = _this._semantics$_attributedValue; if (t1.string === "") _this._semantics$_attributedValue = child._semantics$_attributedValue; t1 = _this._semantics$_attributedIncreasedValue; if (t1.string === "") _this._semantics$_attributedIncreasedValue = child._semantics$_attributedIncreasedValue; t1 = _this._semantics$_attributedDecreasedValue; if (t1.string === "") _this._semantics$_attributedDecreasedValue = child._semantics$_attributedDecreasedValue; t1 = _this._semantics$_attributedHint; t2 = _this._semantics$_textDirection; _this._semantics$_attributedHint = A._concatAttributedString(child._semantics$_attributedHint, child._semantics$_textDirection, t1, t2); _this._semantics$_thickness = Math.max(_this._semantics$_thickness, child._semantics$_thickness + child._semantics$_elevation); _this._hasBeenAnnotated = _this._hasBeenAnnotated || child._hasBeenAnnotated; }, copy$0(_) { var _this = this, t1 = A.SemanticsConfiguration$(); t1._isSemanticBoundary = _this._isSemanticBoundary; t1.explicitChildNodes = _this.explicitChildNodes; t1.isBlockingSemanticsOfPreviouslyPaintedNodes = _this.isBlockingSemanticsOfPreviouslyPaintedNodes; t1._hasBeenAnnotated = _this._hasBeenAnnotated; t1._isMergingSemanticsOfDescendants = _this._isMergingSemanticsOfDescendants; t1._semantics$_textDirection = _this._semantics$_textDirection; t1._semantics$_sortKey = _this._semantics$_sortKey; t1._semantics$_attributedLabel = _this._semantics$_attributedLabel; t1._semantics$_attributedIncreasedValue = _this._semantics$_attributedIncreasedValue; t1._semantics$_attributedValue = _this._semantics$_attributedValue; t1._semantics$_attributedDecreasedValue = _this._semantics$_attributedDecreasedValue; t1._semantics$_attributedHint = _this._semantics$_attributedHint; t1._semantics$_hintOverrides = _this._semantics$_hintOverrides; t1._semantics$_elevation = _this._semantics$_elevation; t1._semantics$_thickness = _this._semantics$_thickness; t1._flags = _this._flags; t1._tagsForChildren = _this._tagsForChildren; t1._textSelection = _this._textSelection; t1._scrollPosition = _this._scrollPosition; t1._scrollExtentMax = _this._scrollExtentMax; t1._scrollExtentMin = _this._scrollExtentMin; t1._actionsAsBits = _this._actionsAsBits; t1._indexInParent = _this._indexInParent; t1._scrollIndex = _this._scrollIndex; t1._scrollChildCount = _this._scrollChildCount; t1._platformViewId = _this._platformViewId; t1._semantics$_maxValueLength = _this._semantics$_maxValueLength; t1._semantics$_currentValueLength = _this._semantics$_currentValueLength; t1._actions.addAll$1(0, _this._actions); t1._customSemanticsActions.addAll$1(0, _this._customSemanticsActions); return t1; } }; A.SemanticsConfiguration__addArgumentlessAction_closure.prototype = { call$1(args) { this.handler.call$0(); }, $signature: 21 }; A.SemanticsConfiguration_onMoveCursorForwardByCharacter_closure.prototype = { call$1(args) { args.toString; this.value.call$1(A._asBool(args)); }, $signature: 21 }; A.SemanticsConfiguration_onMoveCursorBackwardByCharacter_closure.prototype = { call$1(args) { args.toString; this.value.call$1(A._asBool(args)); }, $signature: 21 }; A.SemanticsConfiguration_onMoveCursorForwardByWord_closure.prototype = { call$1(args) { args.toString; this.value.call$1(A._asBool(args)); }, $signature: 21 }; A.SemanticsConfiguration_onMoveCursorBackwardByWord_closure.prototype = { call$1(args) { args.toString; this.value.call$1(A._asBool(args)); }, $signature: 21 }; A.SemanticsConfiguration_onSetSelection_closure.prototype = { call$1(args) { var selection, t1, t2; args.toString; selection = J.cast$2$0$ax(type$.Map_dynamic_dynamic._as(args), type$.String, type$.int); t1 = selection.$index(0, "base"); t1.toString; t2 = selection.$index(0, "extent"); t2.toString; this.value.call$1(A.TextSelection$(B.TextAffinity_1, t1, t2, false)); }, $signature: 21 }; A.SemanticsConfiguration_onSetText_closure.prototype = { call$1(args) { args.toString; this.value.call$1(A._asString(args)); }, $signature: 21 }; A.DebugSemanticsDumpOrder.prototype = { toString$0(_) { return "DebugSemanticsDumpOrder." + this._core$_name; } }; A.SemanticsSortKey.prototype = { compareTo$1(_, other) { var t1 = this.doCompare$1(other); return t1; }, $isComparable: 1, get$name(receiver) { return this.name; } }; A.OrdinalSortKey.prototype = { doCompare$1(other) { var t1 = other.order === this.order; if (t1) return 0; return B.JSInt_methods.compareTo$1(this.order, other.order); } }; A._SemanticsData_Object_Diagnosticable.prototype = {}; A._SemanticsNode_AbstractNode_DiagnosticableTreeMixin.prototype = {}; A._SemanticsSortKey_Object_Diagnosticable.prototype = {}; A.SemanticsEvent.prototype = { toMap$1$nodeId(nodeId) { var $event = A.LinkedHashMap_LinkedHashMap$_literal(["type", this.type, "data", this.getDataMap$0()], type$.String, type$.dynamic); if (nodeId != null) $event.$indexSet(0, "nodeId", nodeId); return $event; }, toMap$0() { return this.toMap$1$nodeId(null); }, toString$0(_) { var t1, _i, key, pairs = A._setArrayType([], type$.JSArray_String), dataMap = this.getDataMap$0(), sortedKeys = J.toList$0$ax(dataMap.get$keys(dataMap)); B.JSArray_methods.sort$0(sortedKeys); for (t1 = sortedKeys.length, _i = 0; _i < sortedKeys.length; sortedKeys.length === t1 || (0, A.throwConcurrentModificationError)(sortedKeys), ++_i) { key = sortedKeys[_i]; pairs.push(A.S(key) + ": " + A.S(dataMap.$index(0, key))); } return "SemanticsEvent(" + B.JSArray_methods.join$1(pairs, ", ") + ")"; } }; A.AnnounceSemanticsEvent.prototype = { getDataMap$0() { return A.LinkedHashMap_LinkedHashMap$_literal(["message", this.message, "textDirection", this.textDirection.index], type$.String, type$.dynamic); } }; A.TooltipSemanticsEvent.prototype = { getDataMap$0() { return A.LinkedHashMap_LinkedHashMap$_literal(["message", this.message], type$.String, type$.dynamic); } }; A.LongPressSemanticsEvent.prototype = { getDataMap$0() { return B.Map_empty4; } }; A.TapSemanticEvent.prototype = { getDataMap$0() { return B.Map_empty4; } }; A.AssetBundle.prototype = { loadString$2$cache(key, cache) { return this.loadString$body$AssetBundle(key, true); }, loadString$body$AssetBundle(key, cache) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$self = this, data; var $async$loadString$2$cache = 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.load$1(0, key), $async$loadString$2$cache); case 3: // returning from await. data = $async$result; if (data.byteLength < 51200) { $async$returnValue = B.C_Utf8Codec.decode$1(0, A.NativeUint8List_NativeUint8List$view(data.buffer, 0, null)); // goto return $async$goto = 1; break; } $async$returnValue = A.compute(A.asset_bundle_AssetBundle__utf8decode$closure(), data, 'UTF8 decode for "' + key + '"', type$.ByteData, type$.String); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$loadString$2$cache, $async$completer); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "()"; } }; A.CachingAssetBundle.prototype = { loadString$2$cache(key, cache) { if (cache) return this._stringCache.putIfAbsent$2(0, key, new A.CachingAssetBundle_loadString_closure(this, key)); return this.super$AssetBundle$loadString(key, true); }, loadString$1(key) { return this.loadString$2$cache(key, true); }, loadStructuredData$1$2(key, parser, $T) { var t3, t1 = {}, t2 = this._structuredDataCache; if (t2.containsKey$1(0, key)) { t1 = t2.$index(0, key); t1.toString; return $T._eval$1("Future<0>")._as(t1); } t1.result = t1.completer = null; this.loadString$2$cache(key, false).then$1$1(0, parser, $T).then$1$1(0, new A.CachingAssetBundle_loadStructuredData_closure(t1, this, key, $T), type$.void); t3 = t1.result; if (t3 != null) return t3; t3 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")); t1.completer = new A._AsyncCompleter(t3, $T._eval$1("_AsyncCompleter<0>")); t2.$indexSet(0, key, t3); return t1.completer.future; } }; A.CachingAssetBundle_loadString_closure.prototype = { call$0() { return this.$this.super$AssetBundle$loadString(this.key, true); }, $signature: 112 }; A.CachingAssetBundle_loadStructuredData_closure.prototype = { call$1(value) { var _this = this, result = new A.SynchronousFuture(value, _this.T._eval$1("SynchronousFuture<0>")), t1 = _this._box_0; t1.result = result; _this.$this._structuredDataCache.$indexSet(0, _this.key, result); t1 = t1.completer; if (t1 != null) t1.complete$1(0, value); }, $signature() { return this.T._eval$1("Null(0)"); } }; A.PlatformAssetBundle.prototype = { load$1(_, key) { return this.load$body$PlatformAssetBundle(0, key); }, load$body$PlatformAssetBundle(_, key) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.ByteData), $async$returnValue, encoded, asset; var $async$load$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 encoded = B.C_Utf8Encoder.convert$1(A._Uri__Uri(null, A._Uri__uriEncode(B.List_gnE, key, B.C_Utf8Codec, false), null, null, null, null, null).path); $async$goto = 3; return A._asyncAwait(A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__defaultBinaryMessenger, "_defaultBinaryMessenger").send$2(0, "flutter/assets", A.NativeByteData_NativeByteData$view(encoded.buffer, 0, null)), $async$load$1); case 3: // returning from await. asset = $async$result; if (asset == null) throw A.wrapException(A.FlutterError_FlutterError("Unable to load asset: " + key)); $async$returnValue = asset; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$load$1, $async$completer); } }; A.AutofillConfiguration.prototype = { toJson$0() { var t1, t2, _this = this; if (_this.enabled) { t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); t1.$indexSet(0, "uniqueIdentifier", _this.uniqueIdentifier); t1.$indexSet(0, "hints", _this.autofillHints); t1.$indexSet(0, "editingValue", _this.currentEditingValue.toJSON$0()); t2 = _this.hintText; if (t2 != null) t1.$indexSet(0, "hintText", t2); } else t1 = null; return t1; } }; A.BinaryMessenger.prototype = {}; A.ServicesBinding.prototype = { handleMemoryPressure$0() { var t1 = $.$get$rootBundle(); t1._stringCache.clear$0(0); t1._structuredDataCache.clear$0(0); }, handleSystemMessage$1(systemMessage) { return this.handleSystemMessage$body$ServicesBinding(systemMessage); }, handleSystemMessage$body$ServicesBinding(systemMessage) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this; var $async$handleSystemMessage$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 switch (A._asString(J.$index$asx(type$.Map_String_dynamic._as(systemMessage), "type"))) { case "memoryPressure": $async$self.handleMemoryPressure$0(); break; } // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleSystemMessage$1, $async$completer); }, _addLicenses$0() { var $async$_addLicenses$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { switch ($async$errorCode) { case 2: $async$next = $async$nextWhenCanceled; $async$goto = $async$next.pop(); break; case 1: $async$currentError = $async$result; $async$goto = $async$handler; } while (true) switch ($async$goto) { case 0: // Function start t1 = new A._Future($.Zone__current, type$._Future_String); rawLicenses = new A._AsyncCompleter(t1, type$._AsyncCompleter_String); t2 = type$.Future_Null; $async$self.scheduleTask$1$2(new A.ServicesBinding__addLicenses_closure(rawLicenses), B.Priority_100000, t2); $async$goto = 3; return A._asyncStarHelper(t1, $async$_addLicenses$0, $async$controller); case 3: // returning from await. t1 = new A._Future($.Zone__current, type$._Future_List_LicenseEntry); $async$self.scheduleTask$1$2(new A.ServicesBinding__addLicenses_closure0(new A._AsyncCompleter(t1, type$._AsyncCompleter_List_LicenseEntry), rawLicenses), B.Priority_100000, t2); $async$goto = 4; return A._asyncStarHelper(t1, $async$_addLicenses$0, $async$controller); case 4: // returning from await. $async$temp1 = A; $async$goto = 6; return A._asyncStarHelper(t1, $async$_addLicenses$0, $async$controller); case 6: // returning from await. $async$goto = 5; $async$nextWhenCanceled = [1]; return A._asyncStarHelper(A._IterationMarker_yieldStar($async$temp1.Stream_Stream$fromIterable($async$result, type$.LicenseEntry)), $async$_addLicenses$0, $async$controller); case 5: // after yield case 1: // return return A._asyncStarHelper(null, 0, $async$controller); case 2: // rethrow return A._asyncStarHelper($async$currentError, 1, $async$controller); } }); var $async$goto = 0, $async$controller = A._makeAsyncStarStreamController($async$_addLicenses$0, type$.LicenseEntry), $async$nextWhenCanceled, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, rawLicenses, t2, $async$temp1; return A._streamOfController($async$controller); }, readInitialLifecycleStateFromNativeWindow$0() { if (this.SchedulerBinding__lifecycleState != null) return; $.$get$window(); var state = A.ServicesBinding__parseAppLifecycleMessage("AppLifecycleState.resumed"); if (state != null) this.handleAppLifecycleStateChanged$1(state); }, _handleLifecycleMessage$1(message) { return this._handleLifecycleMessage$body$ServicesBinding(message); }, _handleLifecycleMessage$body$ServicesBinding(message) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_String), $async$returnValue, $async$self = this, t1; var $async$_handleLifecycleMessage$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 message.toString; t1 = A.ServicesBinding__parseAppLifecycleMessage(message); t1.toString; $async$self.handleAppLifecycleStateChanged$1(t1); $async$returnValue = null; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_handleLifecycleMessage$1, $async$completer); }, _handlePlatformMessage$1(methodCall) { return this._handlePlatformMessage$body$ServicesBinding(methodCall); }, _handlePlatformMessage$body$ServicesBinding(methodCall) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$_handlePlatformMessage$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 type$.List_dynamic._as(methodCall.$arguments); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_handlePlatformMessage$1, $async$completer); } }; A.ServicesBinding__addLicenses_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $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 = $.$get$rootBundle().loadString$2$cache("NOTICES", false); $async$self.rawLicenses.complete$1(0, t1); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A.ServicesBinding__addLicenses_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this, $async$temp1, $async$temp2, $async$temp3; 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$temp1 = $async$self.parsedLicenses; $async$temp2 = A; $async$temp3 = A.binding0_ServicesBinding__parseLicenses$closure(); $async$goto = 2; return A._asyncAwait($async$self.rawLicenses.future, $async$call$0); case 2: // returning from await. $async$temp1.complete$1(0, $async$temp2.compute($async$temp3, $async$result, "parseLicenses", type$.String, type$.List_LicenseEntry)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 18 }; A._DefaultBinaryMessenger.prototype = { send$2(_, channel, message) { var t1 = new A._Future($.Zone__current, type$._Future_nullable_ByteData); $.$get$EnginePlatformDispatcher__instance()._sendPlatformMessage$3(channel, message, A.EnginePlatformDispatcher__zonedPlatformMessageResponseCallback(new A._DefaultBinaryMessenger_send_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_ByteData)))); return t1; }, setMessageHandler$2(channel, handler) { if (handler == null) { channel = $.$get$channelBuffers()._channels.$index(0, channel); if (channel != null) channel._channelCallbackRecord = null; } else $.$get$channelBuffers().setListener$2(channel, new A._DefaultBinaryMessenger_setMessageHandler_closure(handler)); } }; A._DefaultBinaryMessenger_send_closure.prototype = { call$1(reply) { var exception, stack, exception0, t1; try { this.completer.complete$1(0, reply); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("during a platform message response callback"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "services library", t1, null, false)); } }, $signature: 49 }; A._DefaultBinaryMessenger_setMessageHandler_closure.prototype = { call$2(data, callback) { return this.$call$body$_DefaultBinaryMessenger_setMessageHandler_closure(data, callback); }, $call$body$_DefaultBinaryMessenger_setMessageHandler_closure(data, callback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, exception, stack, exception0, t1, response, $async$exception0; 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 response = null; $async$handler = 3; $async$goto = 6; return A._asyncAwait($async$self.handler.call$1(data), $async$call$2); case 6: // returning from await. response = $async$result; $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); t1 = A.ErrorDescription$("during a platform message callback"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "services library", t1, null, false)); $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; callback.call$1(response); // goto the next finally handler $async$goto = $async$next.pop(); 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$call$2, $async$completer); }, $signature: 596 }; A.ClipboardData.prototype = { get$text(receiver) { return this.text; } }; A.KeyboardLockMode.prototype = {}; A.KeyEvent.prototype = {}; A.KeyDownEvent.prototype = {}; A.KeyUpEvent.prototype = {}; A.KeyRepeatEvent.prototype = {}; A.HardwareKeyboard.prototype = { _dispatchKeyEvent$1($event) { var handled, handler, thisResult, exception, stack, t1, _i, exception0, t2, t3; this._duringDispatch = true; handled = false; for (t1 = this._handlers, _i = 0; false; ++_i) { handler = t1[_i]; try { thisResult = handler.call$1($event); handled = handled || thisResult; } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t2 = A.ErrorDescription$("while processing a key handler"); t3 = $.$get$FlutterError_onError(); if (t3 != null) t3.call$1(new A.FlutterErrorDetails(exception, stack, "services library", t2, null, false)); } } this._duringDispatch = false; return handled; } }; A.KeyDataTransitMode.prototype = { toString$0(_) { return "KeyDataTransitMode." + this._core$_name; } }; A.KeyMessage.prototype = { toString$0(_) { return "KeyMessage(" + A.S(this.events) + ")"; } }; A.KeyEventManager.prototype = { handleKeyData$1(data) { var t1 = this._transitMode; switch ((t1 == null ? this._transitMode = B.KeyDataTransitMode_1 : t1).index) { case 0: return false; case 1: if (data.physical !== 0 && data.logical !== 0) this._keyEventsSinceLastMessage.push(A.KeyEventManager__eventFromData(data)); return false; } }, handleRawKeyMessage$1(message) { return this.handleRawKeyMessage$body$KeyEventManager(message); }, handleRawKeyMessage$body$KeyEventManager(message) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$next = [], $async$self = this, handled, message0, exception, stack, rawEvent, t1, t2, t3, t4, t5, _i, $event, physicalKey, logicalKey, lockMode, exception0; var $async$handleRawKeyMessage$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 if ($async$self._transitMode == null) { $async$self._transitMode = B.KeyDataTransitMode_0; $async$self._rawKeyboard._raw_keyboard$_listeners.push($async$self.get$_convertRawEventAndStore()); } rawEvent = A.RawKeyEvent_RawKeyEvent$fromMessage(type$.Map_String_dynamic._as(message)); handled = $async$self._rawKeyboard.handleRawKeyEvent$1(rawEvent); for (t1 = $async$self._keyEventsSinceLastMessage, t2 = t1.length, t3 = $async$self._hardwareKeyboard, t4 = t3._pressedKeys, t5 = t3._lockModes, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { $event = t1[_i]; physicalKey = $event.physicalKey; logicalKey = $event.logicalKey; if ($event instanceof A.KeyDownEvent) { t4.$indexSet(0, physicalKey, logicalKey); lockMode = $.$get$KeyboardLockMode__knownLockModes().$index(0, logicalKey.keyId); if (lockMode != null) if (t5.contains$1(0, lockMode)) t5.remove$1(0, lockMode); else t5.add$1(0, lockMode); } else if ($event instanceof A.KeyUpEvent) t4.remove$1(0, physicalKey); handled = t3._dispatchKeyEvent$1($event) || handled; } t2 = $async$self.keyMessageHandler; if (t2 != null) { message0 = new A.KeyMessage(t1, rawEvent); try { handled = t2.call$1(message0) || handled; } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t2 = A.ErrorDescription$("while processing the key message handler"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "services library", t2, null, false)); } } B.JSArray_methods.set$length(t1, 0); $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["handled", handled], type$.String, type$.dynamic); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleRawKeyMessage$1, $async$completer); }, _convertRawEventAndStore$1(rawEvent) { var t2, physicalKeysPressed, recordedLogicalMain, timeStamp, character, mainEvent, t3, t4, t5, t6, _null = null, t1 = rawEvent.data, physicalKey = t1.get$physicalKey(), logicalKey = t1.get$logicalKey(); t1 = this._hardwareKeyboard._pressedKeys; t2 = t1.get$keys(t1); physicalKeysPressed = A.LinkedHashSet_LinkedHashSet$of(t2, A._instanceType(t2)._eval$1("Iterable.E")); recordedLogicalMain = t1.$index(0, physicalKey); timeStamp = $.ServicesBinding__instance.SchedulerBinding__lastRawTimeStamp; character = rawEvent.character; if (character === "") character = _null; if (rawEvent instanceof A.RawKeyDownEvent) if (recordedLogicalMain == null) { mainEvent = new A.KeyDownEvent(physicalKey, logicalKey, character, timeStamp, false); physicalKeysPressed.add$1(0, physicalKey); } else mainEvent = new A.KeyRepeatEvent(physicalKey, recordedLogicalMain, character, timeStamp, false); else if (recordedLogicalMain == null) mainEvent = _null; else { mainEvent = new A.KeyUpEvent(physicalKey, recordedLogicalMain, _null, timeStamp, false); physicalKeysPressed.remove$1(0, physicalKey); } for (t2 = this._rawKeyboard._keysPressed, t3 = t2.get$keys(t2), t3 = physicalKeysPressed.difference$1(A.LinkedHashSet_LinkedHashSet$of(t3, A._instanceType(t3)._eval$1("Iterable.E"))), t3 = t3.get$iterator(t3), t4 = this._keyEventsSinceLastMessage; t3.moveNext$0();) { t5 = t3.get$current(t3); t6 = t1.$index(0, t5); t6.toString; t4.push(new A.KeyUpEvent(t5, t6, _null, timeStamp, true)); } for (t1 = t2.get$keys(t2), t1 = A.LinkedHashSet_LinkedHashSet$of(t1, A._instanceType(t1)._eval$1("Iterable.E")).difference$1(physicalKeysPressed), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t3 = t1.get$current(t1); t5 = t2.$index(0, t3); t5.toString; t4.push(new A.KeyDownEvent(t3, t5, _null, timeStamp, true)); } if (mainEvent != null) t4.push(mainEvent); } }; A._KeyEvent_Object_Diagnosticable.prototype = {}; A.KeyboardKey.prototype = {}; A.LogicalKeyboardKey.prototype = { get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.keyId); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.LogicalKeyboardKey && other.keyId === this.keyId; } }; A.PhysicalKeyboardKey.prototype = { get$hashCode(_) { return B.JSInt_methods.get$hashCode(this.usbHidUsage); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.PhysicalKeyboardKey && other.usbHidUsage === this.usbHidUsage; } }; A._KeyboardKey_Object_Diagnosticable.prototype = {}; A.MethodCall.prototype = { toString$0(_) { return "MethodCall(" + this.method + ", " + A.S(this.$arguments) + ")"; } }; A.PlatformException.prototype = { toString$0(_) { var _this = this; return "PlatformException(" + _this.code + ", " + A.S(_this.message) + ", " + A.S(_this.details) + ", " + A.S(_this.stacktrace) + ")"; }, $isException: 1 }; A.MissingPluginException.prototype = { toString$0(_) { return "MissingPluginException(" + A.S(this.message) + ")"; }, $isException: 1 }; A.StringCodec.prototype = { decodeMessage$1(message) { if (message == null) return null; return B.Utf8Decoder_false.convert$1(A.NativeUint8List_NativeUint8List$view(message.buffer, message.byteOffset, message.byteLength)); }, encodeMessage$1(message) { if (message == null) return null; return A.NativeByteData_NativeByteData$view(B.C_Utf8Encoder.convert$1(message).buffer, 0, null); } }; A.JSONMessageCodec0.prototype = { encodeMessage$1(message) { if (message == null) return null; return B.C_StringCodec.encodeMessage$1(B.C_JsonCodec.encode$1(message)); }, decodeMessage$1(message) { var t1; if (message == null) return message; t1 = B.C_StringCodec.decodeMessage$1(message); t1.toString; return B.C_JsonCodec.decode$1(0, t1); } }; A.JSONMethodCodec0.prototype = { encodeMethodCall$1(methodCall) { var t1 = B.C_JSONMessageCodec0.encodeMessage$1(A.LinkedHashMap_LinkedHashMap$_literal(["method", methodCall.method, "args", methodCall.$arguments], type$.String, type$.nullable_Object)); t1.toString; return t1; }, decodeMethodCall$1(methodCall) { var t1, method, $arguments, _null = null, decoded = B.C_JSONMessageCodec0.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)); }, decodeEnvelope$1(envelope) { var t1, t2, t3, _null = null, decoded = B.C_JSONMessageCodec0.decodeMessage$1(envelope); if (!type$.List_dynamic._is(decoded)) throw A.wrapException(A.FormatException$("Expected envelope List, got " + A.S(decoded), _null, _null)); t1 = J.getInterceptor$asx(decoded); if (t1.get$length(decoded) === 1) return t1.$index(decoded, 0); if (t1.get$length(decoded) === 3) if (typeof t1.$index(decoded, 0) == "string") t2 = t1.$index(decoded, 1) == null || typeof t1.$index(decoded, 1) == "string"; else t2 = false; else t2 = false; if (t2) { t2 = A._asString(t1.$index(decoded, 0)); t3 = A._asStringQ(t1.$index(decoded, 1)); throw A.wrapException(A.PlatformException$(t2, t1.$index(decoded, 2), t3, _null)); } if (t1.get$length(decoded) === 4) if (typeof t1.$index(decoded, 0) == "string") if (t1.$index(decoded, 1) == null || typeof t1.$index(decoded, 1) == "string") t2 = t1.$index(decoded, 3) == null || typeof t1.$index(decoded, 3) == "string"; else t2 = false; else t2 = false; else t2 = false; if (t2) { t2 = A._asString(t1.$index(decoded, 0)); t3 = A._asStringQ(t1.$index(decoded, 1)); throw A.wrapException(A.PlatformException$(t2, t1.$index(decoded, 2), t3, A._asStringQ(t1.$index(decoded, 3)))); } throw A.wrapException(A.FormatException$("Invalid envelope: " + A.S(decoded), _null, _null)); }, encodeSuccessEnvelope$1(result) { var t1 = B.C_JSONMessageCodec0.encodeMessage$1([result]); t1.toString; return t1; }, encodeErrorEnvelope$3$code$details$message(code, details, message) { var t1 = B.C_JSONMessageCodec0.encodeMessage$1([code, message, details]); t1.toString; return t1; }, encodeErrorEnvelope$2$code$message(code, message) { return this.encodeErrorEnvelope$3$code$details$message(code, null, message); } }; A.StandardMessageCodec0.prototype = { encodeMessage$1(message) { var buffer; if (message == null) return null; buffer = A.WriteBuffer$(); this.writeValue$2(0, buffer, message); 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._serialization$_position < message.byteLength) throw A.wrapException(B.FormatException_oCg); return result; }, writeValue$2(_, buffer, value) { var t1, t2, t3, bytes, _this = this, _s17_ = "_eightBytesAsList"; if (value == null) buffer._serialization$_buffer._typed_buffer$_add$1(0, 0); else if (A._isBool(value)) { t1 = value ? 1 : 2; buffer._serialization$_buffer._typed_buffer$_add$1(0, t1); } else if (typeof value == "number") { buffer._serialization$_buffer._typed_buffer$_add$1(0, 6); buffer._alignTo$1(8); t1 = $.$get$Endian_host(); buffer._eightBytes.setFloat64(0, value, B.C_Endian === t1); buffer._serialization$_buffer.addAll$1(0, A._lateReadCheck(buffer.__WriteBuffer__eightBytesAsList, _s17_)); } else if (A._isInt(value)) { t1 = -2147483648 <= value && value <= 2147483647; t2 = buffer._serialization$_buffer; t3 = buffer._eightBytes; if (t1) { t2._typed_buffer$_add$1(0, 3); t1 = $.$get$Endian_host(); t3.setInt32(0, value, B.C_Endian === t1); buffer._serialization$_buffer.addAll$3(0, A._lateReadCheck(buffer.__WriteBuffer__eightBytesAsList, _s17_), 0, 4); } else { t2._typed_buffer$_add$1(0, 4); t1 = $.$get$Endian_host(); B.NativeByteData_methods.setInt64$3(t3, 0, value, t1); } } else if (typeof value == "string") { buffer._serialization$_buffer._typed_buffer$_add$1(0, 7); bytes = B.C_Utf8Encoder.convert$1(value); _this.writeSize$2(buffer, bytes.length); buffer._serialization$_buffer.addAll$1(0, bytes); } else if (type$.Uint8List._is(value)) { buffer._serialization$_buffer._typed_buffer$_add$1(0, 8); _this.writeSize$2(buffer, value.length); buffer._serialization$_buffer.addAll$1(0, value); } else if (type$.Int32List._is(value)) { buffer._serialization$_buffer._typed_buffer$_add$1(0, 9); t1 = value.length; _this.writeSize$2(buffer, t1); buffer._alignTo$1(4); buffer._serialization$_buffer.addAll$1(0, A.NativeUint8List_NativeUint8List$view(value.buffer, value.byteOffset, 4 * t1)); } else if (type$.Float32List._is(value)) { buffer._serialization$_buffer._typed_buffer$_add$1(0, 14); t1 = value.length; _this.writeSize$2(buffer, t1); buffer._alignTo$1(4); buffer._serialization$_buffer.addAll$1(0, A.NativeUint8List_NativeUint8List$view(value.buffer, value.byteOffset, 4 * t1)); } else if (type$.Float64List._is(value)) { buffer._serialization$_buffer._typed_buffer$_add$1(0, 11); t1 = value.length; _this.writeSize$2(buffer, t1); buffer._alignTo$1(8); buffer._serialization$_buffer.addAll$1(0, A.NativeUint8List_NativeUint8List$view(value.buffer, value.byteOffset, 8 * t1)); } else if (type$.List_dynamic._is(value)) { buffer._serialization$_buffer._typed_buffer$_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._serialization$_buffer._typed_buffer$_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._serialization$_position >= buffer.data.byteLength) throw A.wrapException(B.FormatException_oCg); return this.readValueOfType$2(buffer.getUint8$0(0), buffer); }, readValueOfType$2(type, buffer) { var t1, t2, value, $length, list, result, i, t3, _this = this; switch (type) { case 0: return null; case 1: return true; case 2: return false; case 3: t1 = buffer._serialization$_position; t2 = $.$get$Endian_host(); value = buffer.data.getInt32(t1, B.C_Endian === t2); buffer._serialization$_position += 4; return value; case 4: return buffer.getInt64$0(0); case 6: buffer._alignTo$1(8); t1 = buffer._serialization$_position; t2 = $.$get$Endian_host(); value = buffer.data.getFloat64(t1, B.C_Endian === t2); buffer._serialization$_position += 8; return value; case 5: case 7: $length = _this.readSize$1(buffer); return B.Utf8Decoder_false.convert$1(buffer.getUint8List$1($length)); case 8: return buffer.getUint8List$1(_this.readSize$1(buffer)); case 9: $length = _this.readSize$1(buffer); buffer._alignTo$1(4); t1 = buffer.data; list = A.NativeInt32List_NativeInt32List$view(t1.buffer, t1.byteOffset + buffer._serialization$_position, $length); buffer._serialization$_position = buffer._serialization$_position + 4 * $length; return list; case 10: return buffer.getInt64List$1(_this.readSize$1(buffer)); case 14: $length = _this.readSize$1(buffer); buffer._alignTo$1(4); t1 = buffer.data; t2 = t1.buffer; t1 = t1.byteOffset + buffer._serialization$_position; A._checkViewArguments(t2, t1, $length); list = new Float32Array(t2, t1, $length); buffer._serialization$_position = buffer._serialization$_position + 4 * $length; return list; case 11: $length = _this.readSize$1(buffer); buffer._alignTo$1(8); t1 = buffer.data; list = A.NativeFloat64List_NativeFloat64List$view(t1.buffer, t1.byteOffset + buffer._serialization$_position, $length); buffer._serialization$_position = buffer._serialization$_position + 8 * $length; return list; case 12: $length = _this.readSize$1(buffer); result = A.List_List$filled($length, null, false, type$.nullable_Object); for (t1 = buffer.data, i = 0; i < $length; ++i) { t2 = buffer._serialization$_position; if (t2 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer._serialization$_position = t2 + 1; result[i] = _this.readValueOfType$2(t1.getUint8(t2), buffer); } return result; case 13: $length = _this.readSize$1(buffer); t1 = type$.nullable_Object; result = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); for (t1 = buffer.data, i = 0; i < $length; ++i) { t2 = buffer._serialization$_position; if (t2 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer._serialization$_position = t2 + 1; t2 = _this.readValueOfType$2(t1.getUint8(t2), buffer); t3 = buffer._serialization$_position; if (t3 >= t1.byteLength) A.throwExpression(B.FormatException_oCg); buffer._serialization$_position = t3 + 1; result.$indexSet(0, t2, _this.readValueOfType$2(t1.getUint8(t3), buffer)); } return result; default: throw A.wrapException(B.FormatException_oCg); } }, writeSize$2(buffer, value) { var t1, t2, _s17_ = "_eightBytesAsList"; if (value < 254) buffer._serialization$_buffer._typed_buffer$_add$1(0, value); else { t1 = buffer._serialization$_buffer; t2 = buffer._eightBytes; if (value <= 65535) { t1._typed_buffer$_add$1(0, 254); t1 = $.$get$Endian_host(); t2.setUint16(0, value, B.C_Endian === t1); buffer._serialization$_buffer.addAll$3(0, A._lateReadCheck(buffer.__WriteBuffer__eightBytesAsList, _s17_), 0, 2); } else { t1._typed_buffer$_add$1(0, 255); t1 = $.$get$Endian_host(); t2.setUint32(0, value, B.C_Endian === t1); buffer._serialization$_buffer.addAll$3(0, A._lateReadCheck(buffer.__WriteBuffer__eightBytesAsList, _s17_), 0, 4); } } }, readSize$1(buffer) { var t1, t2, value = buffer.getUint8$0(0); switch (value) { case 254: t1 = buffer._serialization$_position; t2 = $.$get$Endian_host(); value = buffer.data.getUint16(t1, B.C_Endian === t2); buffer._serialization$_position += 2; return value; case 255: t1 = buffer._serialization$_position; t2 = $.$get$Endian_host(); value = buffer.data.getUint32(t1, B.C_Endian === t2); buffer._serialization$_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: 134 }; A.StandardMethodCodec0.prototype = { encodeMethodCall$1(methodCall) { var buffer = A.WriteBuffer$(); B.C_StandardMessageCodec.writeValue$2(0, buffer, methodCall.method); B.C_StandardMessageCodec.writeValue$2(0, buffer, methodCall.$arguments); return buffer.done$0(); }, 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._serialization$_position >= methodCall.byteLength) return new A.MethodCall(method, $arguments); else throw A.wrapException(B.FormatException_Qi2); }, encodeSuccessEnvelope$1(result) { var buffer = A.WriteBuffer$(); buffer._serialization$_buffer._typed_buffer$_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$(); buffer._serialization$_buffer._typed_buffer$_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(); }, encodeErrorEnvelope$2$code$message(code, message) { return this.encodeErrorEnvelope$3$code$details$message(code, null, message); }, decodeEnvelope$1(envelope) { var buffer, errorCode, errorMessage, errorDetails, errorStacktrace, t1; if (envelope.byteLength === 0) throw A.wrapException(B.FormatException_iDw); buffer = new A.ReadBuffer(envelope); if (buffer.getUint8$0(0) === 0) return B.C_StandardMessageCodec.readValue$1(0, buffer); errorCode = B.C_StandardMessageCodec.readValue$1(0, buffer); errorMessage = B.C_StandardMessageCodec.readValue$1(0, buffer); errorDetails = B.C_StandardMessageCodec.readValue$1(0, buffer); errorStacktrace = buffer._serialization$_position < envelope.byteLength ? A._asStringQ(B.C_StandardMessageCodec.readValue$1(0, buffer)) : null; if (typeof errorCode == "string") t1 = (errorMessage == null || typeof errorMessage == "string") && buffer._serialization$_position >= envelope.byteLength; else t1 = false; if (t1) throw A.wrapException(A.PlatformException$(errorCode, errorDetails, A._asStringQ(errorMessage), errorStacktrace)); else throw A.wrapException(B.FormatException_pSr); } }; A.MouseCursorManager.prototype = { handleDeviceCursorUpdate$3(device, triggeringEvent, cursorCandidates) { var t1, lastSession, nextCursor, t2, nextSession; if (type$.PointerRemovedEvent._is(triggeringEvent)) { this._lastSession.remove$1(0, device); return; } t1 = this._lastSession; lastSession = t1.$index(0, device); nextCursor = A._DeferringMouseCursor_firstNonDeferred(cursorCandidates); if (nextCursor == null) nextCursor = this.fallbackMouseCursor; t2 = lastSession == null; if (J.$eq$(t2 ? null : lastSession.get$cursor(lastSession), nextCursor)) return; nextSession = nextCursor.createSession$1(device); t1.$indexSet(0, device, nextSession); if (!t2) lastSession.dispose$0(0); nextSession.activate$0(); } }; A.MouseCursorSession.prototype = { get$cursor(receiver) { return this.cursor; } }; A.MouseCursor0.prototype = { toString$0(_) { var debugDescription = this.get$debugDescription(); return debugDescription; } }; A._DeferringMouseCursor.prototype = { createSession$1(device) { throw A.wrapException(A.UnimplementedError$(null)); }, get$debugDescription() { return "defer"; } }; A._NoopMouseCursorSession.prototype = { activate$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$activate$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 // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$activate$0, $async$completer); }, dispose$0(_) { } }; A._NoopMouseCursor.prototype = { createSession$1(device) { return new A._NoopMouseCursorSession(this, device); }, get$debugDescription() { return "uncontrolled"; } }; A._SystemMouseCursorSession.prototype = { get$cursor(_) { return type$.SystemMouseCursor._as(this.cursor); }, activate$0() { return B.OptionalMethodChannel_4Up.invokeMethod$1$2("activateSystemCursor", A.LinkedHashMap_LinkedHashMap$_literal(["device", this.device, "kind", type$.SystemMouseCursor._as(this.cursor).kind], type$.String, type$.dynamic), type$.void); }, dispose$0(_) { } }; A.SystemMouseCursor.prototype = { get$debugDescription() { return "SystemMouseCursor(" + this.kind + ")"; }, createSession$1(device) { return new A._SystemMouseCursorSession(this, device); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.SystemMouseCursor && other.kind === this.kind; }, get$hashCode(_) { return B.JSString_methods.get$hashCode(this.kind); } }; A._MouseCursor_Object_Diagnosticable.prototype = {}; A.BasicMessageChannel.prototype = { get$binaryMessenger() { var t1 = $.ServicesBinding__instance; return A._lateReadCheck(t1.ServicesBinding___ServicesBinding__defaultBinaryMessenger, "_defaultBinaryMessenger"); }, send$1(_, message) { return this.send$body$BasicMessageChannel(0, message, this.$ti._eval$1("1?")); }, send$body$BasicMessageChannel(_, message, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, t1, $async$temp1; var $async$send$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.codec; $async$temp1 = t1; $async$goto = 3; return A._asyncAwait($async$self.get$binaryMessenger().send$2(0, $async$self.name, t1.encodeMessage$1(message)), $async$send$1); case 3: // returning from await. $async$returnValue = $async$temp1.decodeMessage$1($async$result); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$send$1, $async$completer); }, setMessageHandler$1(handler) { var _this = this, t1 = _this.name; if (handler == null) _this.get$binaryMessenger().setMessageHandler$2(t1, null); else _this.get$binaryMessenger().setMessageHandler$2(t1, new A.BasicMessageChannel_setMessageHandler_closure(_this, handler)); }, get$name(receiver) { return this.name; } }; A.BasicMessageChannel_setMessageHandler_closure.prototype = { call$1(message) { return this.$call$body$BasicMessageChannel_setMessageHandler_closure(message); }, $call$body$BasicMessageChannel_setMessageHandler_closure(message) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ByteData), $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 = $async$self.$this.codec; $async$temp1 = t1; $async$goto = 3; return A._asyncAwait($async$self.handler.call$1(t1.decodeMessage$1(message)), $async$call$1); case 3: // returning from await. $async$returnValue = $async$temp1.encodeMessage$1($async$result); // 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: 293 }; A.MethodChannel.prototype = { get$binaryMessenger() { var t1 = this._binaryMessenger; return t1 == null ? A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__defaultBinaryMessenger, "_defaultBinaryMessenger") : t1; }, _invokeMethod$1$3$arguments$missingOk(method, $arguments, missingOk, $T) { return this._invokeMethod$body$MethodChannel(method, $arguments, missingOk, $T, $T._eval$1("0?")); }, _invokeMethod$body$MethodChannel(method, $arguments, missingOk, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, t1, t2, result; var $async$_invokeMethod$1$3$arguments$missingOk = 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 = $async$self.codec; $async$goto = 3; return A._asyncAwait($async$self.get$binaryMessenger().send$2(0, t1, t2.encodeMethodCall$1(new A.MethodCall(method, $arguments))), $async$_invokeMethod$1$3$arguments$missingOk); case 3: // returning from await. result = $async$result; if (result == null) { if (missingOk) { $async$returnValue = null; // goto return $async$goto = 1; break; } throw A.wrapException(A.MissingPluginException$("No implementation found for method " + method + " on channel " + t1)); } $async$returnValue = $T._eval$1("0?")._as(t2.decodeEnvelope$1(result)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_invokeMethod$1$3$arguments$missingOk, $async$completer); }, invokeMethod$1$2(method, $arguments, $T) { return this._invokeMethod$1$3$arguments$missingOk(method, $arguments, false, $T); }, invokeListMethod$1$2(method, $arguments, $T) { return this.invokeListMethod$body$MethodChannel(method, $arguments, $T, $T._eval$1("List<0>?")); }, invokeListMethod$body$MethodChannel(method, $arguments, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, result; var $async$invokeListMethod$1$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($async$self.invokeMethod$1$2(method, $arguments, type$.List_dynamic), $async$invokeListMethod$1$2); case 3: // returning from await. result = $async$result; $async$returnValue = result == null ? null : J.cast$1$0$ax(result, $T); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$invokeListMethod$1$2, $async$completer); }, invokeMapMethod$2$1(method, $K, $V) { return this.invokeMapMethod$body$MethodChannel(method, $K, $V, $K._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>?")); }, invokeMapMethod$body$MethodChannel(method, $K, $V, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this, result; var $async$invokeMapMethod$2$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 = 3; return A._asyncAwait($async$self.invokeMethod$1$2(method, null, type$.Map_dynamic_dynamic), $async$invokeMapMethod$2$1); case 3: // returning from await. result = $async$result; $async$returnValue = result == null ? null : J.cast$2$0$ax(result, $K, $V); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$invokeMapMethod$2$1, $async$completer); }, setMethodCallHandler$1(handler) { var t1 = this.get$binaryMessenger(); t1.setMessageHandler$2(this.name, new A.MethodChannel_setMethodCallHandler_closure(this, handler)); }, _handleAsMethodCall$2(message, handler) { return this._handleAsMethodCall$body$MethodChannel(message, handler); }, _handleAsMethodCall$body$MethodChannel(message, handler) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ByteData), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, e, error, t2, exception, t3, t1, $call, $async$exception, $async$temp1; var $async$_handleAsMethodCall$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 t1 = $async$self.codec; $call = t1.decodeMethodCall$1(message); $async$handler = 4; $async$temp1 = t1; $async$goto = 7; return A._asyncAwait(handler.call$1($call), $async$_handleAsMethodCall$2); case 7: // returning from await. t2 = $async$temp1.encodeSuccessEnvelope$1($async$result); $async$returnValue = t2; // 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; t2 = A.unwrapException($async$exception); if (t2 instanceof A.PlatformException) { e = t2; t2 = e.code; t3 = e.message; $async$returnValue = t1.encodeErrorEnvelope$3$code$details$message(t2, e.details, t3); // goto return $async$goto = 1; break; } else if (t2 instanceof A.MissingPluginException) { $async$returnValue = null; // goto return $async$goto = 1; break; } else { error = t2; t1 = t1.encodeErrorEnvelope$2$code$message("error", J.toString$0$(error)); $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 case 1: // return return A._asyncReturn($async$returnValue, $async$completer); case 2: // rethrow return A._asyncRethrow($async$currentError, $async$completer); } }); return A._asyncStartSync($async$_handleAsMethodCall$2, $async$completer); }, get$name(receiver) { return this.name; } }; A.MethodChannel_setMethodCallHandler_closure.prototype = { call$1(message) { return this.$this._handleAsMethodCall$2(message, this.handler); }, $signature: 293 }; A.OptionalMethodChannel.prototype = { invokeMethod$1$2(method, $arguments, $T) { return this.invokeMethod$body$OptionalMethodChannel(method, $arguments, $T, $T._eval$1("0?")); }, invokeMethod$1$1(method, $T) { return this.invokeMethod$1$2(method, null, $T); }, invokeMethod$body$OptionalMethodChannel(method, $arguments, $T, $async$type) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter($async$type), $async$returnValue, $async$self = this; var $async$invokeMethod$1$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$returnValue = $async$self.super$MethodChannel$_invokeMethod(method, $arguments, true, $T); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$invokeMethod$1$2, $async$completer); } }; A.EventChannel.prototype = { get$binaryMessenger() { var t1 = $.ServicesBinding__instance; return A._lateReadCheck(t1.ServicesBinding___ServicesBinding__defaultBinaryMessenger, "_defaultBinaryMessenger"); }, receiveBroadcastStream$0() { var methodChannel = new A.MethodChannel(this.name, B.C_StandardMethodCodec, null), controller = A._Cell$named("controller"); controller.__late_helper$_value = A.StreamController_StreamController$broadcast(new A.EventChannel_receiveBroadcastStream_closure(this, methodChannel, null), new A.EventChannel_receiveBroadcastStream_closure0(this, controller, methodChannel, null), type$.dynamic); return J.get$stream$z(controller._readLocal$0()); }, get$name(receiver) { return this.name; } }; A.EventChannel_receiveBroadcastStream_closure0.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, exception, stack, exception0, t1, t2, $async$exception0; 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 t1 = $async$self.$this; t2 = t1.name; t1.get$binaryMessenger().setMessageHandler$2(t2, new A.EventChannel_receiveBroadcastStream__closure(t1, $async$self.controller)); $async$handler = 3; $async$goto = 6; return A._asyncAwait($async$self.methodChannel._invokeMethod$1$3$arguments$missingOk("listen", $async$self.$arguments, false, type$.void), $async$call$0); case 6: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); t1 = A.ErrorDescription$("while activating platform stream on channel " + t2); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "services library", t1, null, false)); // 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$call$0, $async$completer); }, $signature: 7 }; A.EventChannel_receiveBroadcastStream__closure.prototype = { call$1(reply) { return this.$call$body$EventChannel_receiveBroadcastStream__closure(reply); }, $call$body$EventChannel_receiveBroadcastStream__closure(reply) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$returnValue, $async$next = [], $async$self = this, e, exception, 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 if (reply == null) J.close$0$x($async$self.controller._readLocal$0()); else try { J.add$1$ax($async$self.controller._readLocal$0(), B.C_StandardMethodCodec.decodeEnvelope$1(reply)); } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.PlatformException) { e = t1; $async$self.controller._readLocal$0().addError$1(e); } else throw exception; } $async$returnValue = 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: 599 }; A.EventChannel_receiveBroadcastStream_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, exception, stack, exception0, t1, t2, $async$exception0; 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 t1 = $async$self.$this; t2 = t1.name; t1.get$binaryMessenger().setMessageHandler$2(t2, null); $async$handler = 3; $async$goto = 6; return A._asyncAwait($async$self.methodChannel._invokeMethod$1$3$arguments$missingOk("cancel", $async$self.$arguments, false, type$.void), $async$call$0); case 6: // returning from await. $async$handler = 1; // goto after finally $async$goto = 5; break; case 3: // catch $async$handler = 2; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); t1 = A.ErrorDescription$("while de-activating platform stream on channel " + t2); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "services library", t1, null, false)); // 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$call$0, $async$completer); }, $signature: 7 }; A.PlatformViewsRegistry.prototype = { getNextPlatformViewId$0() { return this._nextPlatformViewId++; } }; A.PlatformViewController.prototype = {}; A.KeyboardSide.prototype = { toString$0(_) { return "KeyboardSide." + this._core$_name; } }; A.ModifierKey.prototype = { toString$0(_) { return "ModifierKey." + this._core$_name; } }; A.RawKeyEventData.prototype = { get$modifiersPressed() { var _i, key, side, result = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifierKey, type$.KeyboardSide); for (_i = 0; _i < 9; ++_i) { key = B.List_4LR[_i]; if (this.isModifierPressed$1(key)) { side = this.getModifierSide$1(key); if (side != null) result.$indexSet(0, key, side); } } return result; }, shouldDispatchEvent$0() { return true; } }; A.RawKeyEvent.prototype = { get$data(receiver) { return this.data; } }; A.RawKeyEvent_RawKeyEvent$fromMessage__dataFromWeb.prototype = { call$0() { var t4, t5, t1 = this.message, t2 = J.getInterceptor$asx(t1), key = A._asStringQ(t2.$index(t1, "key")), t3 = key == null; if (!t3) { t4 = key.length; t4 = t4 !== 0 && t4 === 1; } else t4 = false; if (t4) this._box_0.character = key; t4 = A._asStringQ(t2.$index(t1, "code")); if (t4 == null) t4 = ""; t3 = t3 ? "" : key; t5 = A._asIntQ(t2.$index(t1, "location")); if (t5 == null) t5 = 0; t1 = A._asIntQ(t2.$index(t1, "metaState")); return new A.RawKeyEventDataWeb(t4, t3, t5, t1 == null ? 0 : t1); }, $signature: 600 }; A.RawKeyDownEvent.prototype = {}; A.RawKeyUpEvent.prototype = {}; A.RawKeyboard.prototype = { handleRawKeyEvent$1($event) { var listener, exception, stack, t1, shouldDispatch, t2, t3, _i, exception0, t4, t5, _this = this; if ($event instanceof A.RawKeyDownEvent) { t1 = $event.data; if (t1.shouldDispatchEvent$0()) { _this._keysPressed.$indexSet(0, t1.get$physicalKey(), t1.get$logicalKey()); shouldDispatch = true; } else { _this._hiddenKeysPressed.add$1(0, t1.get$physicalKey()); shouldDispatch = false; } } else if ($event instanceof A.RawKeyUpEvent) { t1 = _this._hiddenKeysPressed; t2 = $event.data; if (!t1.contains$1(0, t2.get$physicalKey())) { _this._keysPressed.remove$1(0, t2.get$physicalKey()); shouldDispatch = true; } else { t1.remove$1(0, t2.get$physicalKey()); shouldDispatch = false; } } else shouldDispatch = true; if (!shouldDispatch) return true; _this._synchronizeModifiers$1($event); for (t1 = _this._raw_keyboard$_listeners, t2 = A.List_List$from(t1, true, type$.void_Function_RawKeyEvent), t3 = t2.length, _i = 0; _i < t3; ++_i) { listener = t2[_i]; try { if (B.JSArray_methods.contains$1(t1, listener)) listener.call$1($event); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t4 = A.ErrorDescription$("while processing a raw key listener"); t5 = $.$get$FlutterError_onError(); if (t5 != null) t5.call$1(new A.FlutterErrorDetails(exception, stack, "services library", t4, null, false)); } } return false; }, _synchronizeModifiers$1($event) { var t4, t5, thisModifierKeys, mappedKeys, t6, t7, t8, t1 = $event.data, modifiersPressed = t1.get$modifiersPressed(), t2 = type$.PhysicalKeyboardKey, modifierKeys = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.LogicalKeyboardKey), anySideKeys = A.LinkedHashSet_LinkedHashSet$_empty(t2), t3 = this._keysPressed; t2 = A.LinkedHashSet_LinkedHashSet$of(t3.get$keys(t3), t2); if ($event instanceof A.RawKeyDownEvent) t2.add$1(0, t1.get$physicalKey()); for (t4 = modifiersPressed.get$keys(modifiersPressed), t4 = t4.get$iterator(t4); t4.moveNext$0();) { t5 = t4.get$current(t4); if (modifiersPressed.$index(0, t5) === B.KeyboardSide_0) { thisModifierKeys = $.RawKeyboard__modifierKeyMap.$index(0, new A._ModifierSidePair(t5, B.KeyboardSide_3)); thisModifierKeys.toString; anySideKeys.addAll$1(0, thisModifierKeys); if (thisModifierKeys.any$1(0, t2.get$contains(t2))) continue; } mappedKeys = $.RawKeyboard__modifierKeyMap.$index(0, new A._ModifierSidePair(t5, modifiersPressed.$index(0, t5))); if (mappedKeys == null) continue; for (t5 = A._instanceType(mappedKeys), t6 = new A._LinkedHashSetIterator(mappedKeys, mappedKeys._collection$_modifications, t5._eval$1("_LinkedHashSetIterator<1>")), t6._collection$_cell = mappedKeys._collection$_first, t5 = t5._precomputed1; t6.moveNext$0();) { t7 = t5._as(t6._collection$_current); t8 = $.$get$RawKeyboard__allModifiers().$index(0, t7); t8.toString; modifierKeys.$indexSet(0, t7, t8); } } t2 = $.RawKeyboard__allModifiersExceptFn.get$keys($.RawKeyboard__allModifiersExceptFn); new A.WhereIterable(t2, new A.RawKeyboard__synchronizeModifiers_closure(anySideKeys), A._instanceType(t2)._eval$1("WhereIterable<Iterable.E>")).forEach$1(0, t3.get$remove(t3)); if (!(t1 instanceof A.RawKeyEventDataFuchsia) && !(t1 instanceof A.RawKeyEventDataMacOs)) t3.remove$1(0, B.PhysicalKeyboardKey_18); t3.addAll$1(0, modifierKeys); } }; A.RawKeyboard__synchronizeModifiers_closure.prototype = { call$1(key) { return !this.anySideKeys.contains$1(0, key); }, $signature: 601 }; A._ModifierSidePair.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A._ModifierSidePair && other.modifier === this.modifier && other.side == this.side; }, get$hashCode(_) { return A.hashValues(this.modifier, this.side, 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, 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._RawKeyEvent_Object_Diagnosticable.prototype = {}; A._RawKeyEventData_Object_Diagnosticable.prototype = {}; A.RawKeyEventDataFuchsia.prototype = {}; A.RawKeyEventDataIos.prototype = {}; A.RawKeyEventDataMacOs.prototype = {}; A.RawKeyEventDataWeb.prototype = { get$physicalKey() { var t1 = this.code, t2 = B.Map_KPINK.$index(0, t1); return t2 == null ? new A.PhysicalKeyboardKey(98784247808 + B.JSString_methods.get$hashCode(t1)) : t2; }, get$logicalKey() { var newKey, t1 = this.key, t2 = B.Map_8TEJH.$index(0, t1), maybeLocationKey = t2 == null ? null : t2[this.location]; if (maybeLocationKey != null) return maybeLocationKey; t2 = this.code; newKey = B.Map_0mOHH.$index(0, t2); if (newKey != null) return newKey; if (t1.length === 1) return new A.LogicalKeyboardKey(B.JSString_methods._codeUnitAt$1(t1, 0)); return new A.LogicalKeyboardKey(B.JSString_methods.get$hashCode(t2) + 98784247808); }, isModifierPressed$1(key) { var _this = this; switch (key.index) { case 0: return (_this.metaState & 4) !== 0; case 1: return (_this.metaState & 1) !== 0; case 2: return (_this.metaState & 2) !== 0; case 3: return (_this.metaState & 8) !== 0; case 5: return (_this.metaState & 16) !== 0; case 4: return (_this.metaState & 32) !== 0; case 6: return (_this.metaState & 64) !== 0; case 7: case 8: return false; } }, getModifierSide$1(key) { return B.KeyboardSide_0; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.RawKeyEventDataWeb && other.code === _this.code && other.key === _this.key && other.location === _this.location && other.metaState === _this.metaState; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.code, _this.key, _this.location, _this.metaState, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.RestorationManager.prototype = { get$rootBucket() { var _this = this; if (_this._rootBucketIsValid) return new A.SynchronousFuture(_this._restoration$_rootBucket, type$.SynchronousFuture_nullable_RestorationBucket); if (_this._pendingRootBucket == null) { _this._pendingRootBucket = new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_nullable_RestorationBucket), type$._AsyncCompleter_nullable_RestorationBucket); _this._getRootBucketFromEngine$0(); } return _this._pendingRootBucket.future; }, _getRootBucketFromEngine$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, config; var $async$_getRootBucketFromEngine$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(B.OptionalMethodChannel_wEo.invokeMethod$1$1("get", type$.Map_of_nullable_Object_and_nullable_Object), $async$_getRootBucketFromEngine$0); case 3: // returning from await. config = $async$result; if ($async$self._pendingRootBucket == null) { // goto return $async$goto = 1; break; } $async$self._parseAndHandleRestorationUpdateFromEngine$1(config); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_getRootBucketFromEngine$0, $async$completer); }, _parseAndHandleRestorationUpdateFromEngine$1(update) { var t2, t1 = update == null; if (!t1) { t2 = J.$index$asx(update, "enabled"); t2.toString; A._asBool(t2); } else t2 = false; this.handleRestorationUpdateFromEngine$2$data$enabled(t1 ? null : type$.nullable_Uint8List._as(J.$index$asx(update, "data")), t2); }, handleRestorationUpdateFromEngine$2$data$enabled(data, enabled) { var oldRoot, t2, _this = this, t1 = _this._rootBucketIsValid && enabled; _this._isReplacing = t1; if (t1) $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.RestorationManager_handleRestorationUpdateFromEngine_closure(_this)); oldRoot = _this._restoration$_rootBucket; if (enabled) { t1 = _this._decodeRestorationData$1(data); t2 = type$.String; if (t1 == null) { t1 = type$.nullable_Object; t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); } t2 = new A.RestorationBucket(t1, _this, null, "root", A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.RestorationBucket), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_RestorationBucket)); t1 = t2; } else t1 = null; _this._restoration$_rootBucket = t1; _this._rootBucketIsValid = true; t2 = _this._pendingRootBucket; if (t2 != null) t2.complete$1(0, t1); _this._pendingRootBucket = null; if (_this._restoration$_rootBucket != oldRoot) { _this.notifyListeners$0(); if (oldRoot != null) oldRoot.dispose$0(0); } }, _methodHandler$1($call) { return this._methodHandler$body$RestorationManager($call); }, _methodHandler$body$RestorationManager($call) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object), $async$self = this, t1; var $async$_methodHandler$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 "push": $async$self._parseAndHandleRestorationUpdateFromEngine$1(type$.Map_of_nullable_Object_and_nullable_Object._as($call.$arguments)); break; default: throw A.wrapException(A.UnimplementedError$(t1 + " was invoked but isn't implemented by " + A.getRuntimeType($async$self).toString$0(0))); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_methodHandler$1, $async$completer); }, _decodeRestorationData$1(data) { if (data == null) return null; return type$.nullable_Map_of_nullable_Object_and_nullable_Object._as(B.C_StandardMessageCodec.decodeMessage$1(A.NativeByteData_NativeByteData$view(data.buffer, data.byteOffset, data.byteLength))); }, scheduleSerializationFor$1(bucket) { var _this = this; _this._bucketsNeedingSerialization.add$1(0, bucket); if (!_this._serializationScheduled) { _this._serializationScheduled = true; $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.RestorationManager_scheduleSerializationFor_closure(_this)); } }, _doSerialization$0() { var t1, t2, t3, encoded, _this = this; if (!_this._serializationScheduled) return; _this._serializationScheduled = false; for (t1 = _this._bucketsNeedingSerialization, t2 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) t3._as(t2._collection$_current)._needsSerialization = false; t1.clear$0(0); encoded = B.C_StandardMessageCodec.encodeMessage$1(_this._restoration$_rootBucket._rawData); B.OptionalMethodChannel_wEo.invokeMethod$1$2("put", A.NativeUint8List_NativeUint8List$view(encoded.buffer, encoded.byteOffset, encoded.byteLength), type$.void); }, flushData$0() { if ($.SchedulerBinding__instance.SchedulerBinding__hasScheduledFrame) return; this._doSerialization$0(); } }; A.RestorationManager_handleRestorationUpdateFromEngine_closure.prototype = { call$1(_) { this.$this._isReplacing = false; }, $signature: 8 }; A.RestorationManager_scheduleSerializationFor_closure.prototype = { call$1(_) { return this.$this._doSerialization$0(); }, $signature: 8 }; A.RestorationBucket.prototype = { get$_rawChildren() { var t1 = J.putIfAbsent$2$x(this._rawData, "c", new A.RestorationBucket__rawChildren_closure()); t1.toString; return type$.Map_of_nullable_Object_and_nullable_Object._as(t1); }, get$_rawValues() { var t1 = J.putIfAbsent$2$x(this._rawData, "v", new A.RestorationBucket__rawValues_closure()); t1.toString; return type$.Map_of_nullable_Object_and_nullable_Object._as(t1); }, remove$1$1(_, restorationId, $P) { var _this = this, needsUpdate = J.containsKey$1$x(_this.get$_rawValues(), restorationId), result = $P._eval$1("0?")._as(J.remove$1$ax(_this.get$_rawValues(), restorationId)); if (J.get$isEmpty$asx(_this.get$_rawValues())) J.remove$1$ax(_this._rawData, "v"); if (needsUpdate) _this._markNeedsSerialization$0(); return result; }, contains$1(_, restorationId) { return J.containsKey$1$x(this.get$_rawValues(), restorationId); }, claimChild$2$debugOwner(restorationId, debugOwner) { var child, t2, t3, t4, _this = this, t1 = _this._claimedChildren; if (t1.containsKey$1(0, restorationId) || !J.containsKey$1$x(_this.get$_rawChildren(), restorationId)) { t1 = type$.String; child = new A.RestorationBucket(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_Object), null, null, restorationId, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.RestorationBucket), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_RestorationBucket)); _this.adoptChild$1(child); return child; } t2 = type$.String; t3 = _this._restoration$_manager; t4 = J.$index$asx(_this.get$_rawChildren(), restorationId); t4.toString; child = new A.RestorationBucket(type$.Map_of_nullable_Object_and_nullable_Object._as(t4), t3, _this, restorationId, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.RestorationBucket), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.List_RestorationBucket)); t1.$indexSet(0, restorationId, child); return child; }, adoptChild$1(child) { var _this = this, t1 = child._restoration$_parent; if (t1 !== _this) { if (t1 != null) t1._removeChildData$1(child); child._restoration$_parent = _this; _this._addChildData$1(child); if (child._restoration$_manager != _this._restoration$_manager) _this._recursivelyUpdateManager$1(child); } }, _dropChild$1(child) { this._removeChildData$1(child); child._restoration$_parent = null; if (child._restoration$_manager != null) { child._restoration$_updateManager$1(null); child._visitChildren$1(this.get$_recursivelyUpdateManager()); } }, _markNeedsSerialization$0() { var t1, _this = this; if (!_this._needsSerialization) { _this._needsSerialization = true; t1 = _this._restoration$_manager; if (t1 != null) t1.scheduleSerializationFor$1(_this); } }, _recursivelyUpdateManager$1(bucket) { bucket._restoration$_updateManager$1(this._restoration$_manager); bucket._visitChildren$1(this.get$_recursivelyUpdateManager()); }, _restoration$_updateManager$1(newManager) { var _this = this, t1 = _this._restoration$_manager; if (t1 == newManager) return; if (_this._needsSerialization) if (t1 != null) t1._bucketsNeedingSerialization.remove$1(0, _this); _this._restoration$_manager = newManager; if (_this._needsSerialization && newManager != null) { _this._needsSerialization = false; _this._markNeedsSerialization$0(); } }, _removeChildData$1(child) { var t1, pendingChildren, t2, _this = this; if (J.$eq$(_this._claimedChildren.remove$1(0, child._restorationId), child)) { J.remove$1$ax(_this.get$_rawChildren(), child._restorationId); t1 = _this._childrenToAdd; pendingChildren = t1.$index(0, child._restorationId); if (pendingChildren != null) { t2 = J.getInterceptor$ax(pendingChildren); _this._finalizeAddChildData$1(t2.removeLast$0(pendingChildren)); if (t2.get$isEmpty(pendingChildren)) t1.remove$1(0, child._restorationId); } if (J.get$isEmpty$asx(_this.get$_rawChildren())) J.remove$1$ax(_this._rawData, "c"); _this._markNeedsSerialization$0(); return; } t1 = _this._childrenToAdd; t2 = t1.$index(0, child._restorationId); if (t2 != null) J.remove$1$ax(t2, child); t2 = t1.$index(0, child._restorationId); if ((t2 == null ? null : J.get$isEmpty$asx(t2)) === true) t1.remove$1(0, child._restorationId); }, _addChildData$1(child) { var _this = this; if (_this._claimedChildren.containsKey$1(0, child._restorationId)) { J.add$1$ax(_this._childrenToAdd.putIfAbsent$2(0, child._restorationId, new A.RestorationBucket__addChildData_closure()), child); _this._markNeedsSerialization$0(); return; } _this._finalizeAddChildData$1(child); _this._markNeedsSerialization$0(); }, _finalizeAddChildData$1(child) { this._claimedChildren.$indexSet(0, child._restorationId, child); J.$indexSet$ax(this.get$_rawChildren(), child._restorationId, child._rawData); }, _visitChildren$2$concurrentModification(visitor, concurrentModification) { var t2, children, t1 = this._claimedChildren; t1 = t1.get$values(t1); t2 = this._childrenToAdd; t2 = t2.get$values(t2); children = t1.followedBy$1(0, new A.ExpandIterable(t2, new A.RestorationBucket__visitChildren_closure(), A._instanceType(t2)._eval$1("ExpandIterable<Iterable.E,RestorationBucket>"))); J.forEach$1$ax(concurrentModification ? A.List_List$of(children, false, A._instanceType(children)._eval$1("Iterable.E")) : children, visitor); }, _visitChildren$1(visitor) { return this._visitChildren$2$concurrentModification(visitor, false); }, rename$1(newRestorationId) { var t1, _this = this; if (newRestorationId === _this._restorationId) return; t1 = _this._restoration$_parent; if (t1 != null) t1._removeChildData$1(_this); _this._restorationId = newRestorationId; t1 = _this._restoration$_parent; if (t1 != null) t1._addChildData$1(_this); }, dispose$0(_) { var t1, _this = this; _this._visitChildren$2$concurrentModification(_this.get$_dropChild(), true); _this._claimedChildren.clear$0(0); _this._childrenToAdd.clear$0(0); t1 = _this._restoration$_parent; if (t1 != null) t1._removeChildData$1(_this); _this._restoration$_parent = null; _this._restoration$_updateManager$1(null); _this._debugDisposed = true; }, toString$0(_) { return "RestorationBucket(restorationId: " + this._restorationId + ", owner: " + A.S(this._debugOwner) + ")"; } }; A.RestorationBucket__rawChildren_closure.prototype = { call$0() { var t1 = type$.nullable_Object; return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); }, $signature: 295 }; A.RestorationBucket__rawValues_closure.prototype = { call$0() { var t1 = type$.nullable_Object; return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1); }, $signature: 295 }; A.RestorationBucket__addChildData_closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_RestorationBucket); }, $signature: 605 }; A.RestorationBucket__visitChildren_closure.prototype = { call$1(buckets) { return buckets; }, $signature: 606 }; A.DeviceOrientation.prototype = { toString$0(_) { return "DeviceOrientation." + this._core$_name; } }; A.ApplicationSwitcherDescription.prototype = {}; A.SystemUiOverlay.prototype = { toString$0(_) { return "SystemUiOverlay." + this._core$_name; } }; A.SystemUiMode.prototype = { toString$0(_) { return "SystemUiMode." + this._core$_name; } }; A.SystemUiOverlayStyle.prototype = { _toMap$0() { var t2, t3, t4, _this = this, _null = null, t1 = _this.systemNavigationBarColor; t1 = t1 == null ? _null : t1.value; t2 = _this.statusBarBrightness; t2 = t2 == null ? _null : "Brightness." + t2._core$_name; t3 = _this.statusBarIconBrightness; t3 = t3 == null ? _null : "Brightness." + t3._core$_name; t4 = _this.systemNavigationBarIconBrightness; t4 = t4 == null ? _null : "Brightness." + t4._core$_name; return A.LinkedHashMap_LinkedHashMap$_literal(["systemNavigationBarColor", t1, "systemNavigationBarDividerColor", null, "systemStatusBarContrastEnforced", _this.systemStatusBarContrastEnforced, "statusBarColor", null, "statusBarBrightness", t2, "statusBarIconBrightness", t3, "systemNavigationBarIconBrightness", t4, "systemNavigationBarContrastEnforced", _this.systemNavigationBarContrastEnforced], type$.String, type$.dynamic); }, toString$0(_) { return "SystemUiOverlayStyle(" + this._toMap$0().toString$0(0) + ")"; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.systemNavigationBarColor, _this.systemNavigationBarDividerColor, _this.systemNavigationBarContrastEnforced, _this.statusBarColor, _this.statusBarBrightness, _this.statusBarIconBrightness, _this.systemStatusBarContrastEnforced, _this.systemNavigationBarIconBrightness, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.SystemUiOverlayStyle) if (J.$eq$(other.systemNavigationBarColor, _this.systemNavigationBarColor)) if (other.statusBarIconBrightness == _this.statusBarIconBrightness) if (other.statusBarBrightness == _this.statusBarBrightness) t1 = other.systemNavigationBarIconBrightness == _this.systemNavigationBarIconBrightness; else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; } }; A.SystemChrome_setSystemUIOverlayStyle_closure.prototype = { call$0() { if (!J.$eq$($.SystemChrome__pendingStyle, $.SystemChrome__latestStyle)) { B.OptionalMethodChannel_0.invokeMethod$1$2("SystemChrome.setSystemUIOverlayStyle", $.SystemChrome__pendingStyle._toMap$0(), type$.void); $.SystemChrome__latestStyle = $.SystemChrome__pendingStyle; } $.SystemChrome__pendingStyle = null; }, $signature: 0 }; A.SystemSoundType.prototype = { toString$0(_) { return "SystemSoundType." + this._core$_name; } }; A.TextSelection.prototype = { toString$0(_) { var t1, t2, _this = this, _s17_ = ", isDirectional: "; if (!_this.get$isValid()) return "TextSelection.invalid"; t1 = _this.baseOffset; t2 = _this.isDirectional; return _this.start === _this.end ? "TextSelection.collapsed(offset: " + t1 + ", affinity: " + _this.affinity.toString$0(0) + _s17_ + t2 + ")" : "TextSelection(baseOffset: " + t1 + ", extentOffset: " + _this.extentOffset + _s17_ + t2 + ")"; }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this === other) return true; if (!(other instanceof A.TextSelection)) return false; if (!_this.get$isValid()) return !other.get$isValid(); if (other.baseOffset === _this.baseOffset) if (other.extentOffset === _this.extentOffset) t1 = (_this.start !== _this.end || other.affinity === _this.affinity) && other.isDirectional === _this.isDirectional; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var affinityHash, _this = this; if (!_this.get$isValid()) return A.hashValues(-B.JSInt_methods.get$hashCode(1), -B.JSInt_methods.get$hashCode(1), A.Primitives_objectHashCode(B.TextAffinity_1), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); affinityHash = _this.start === _this.end ? A.Primitives_objectHashCode(_this.affinity) : A.Primitives_objectHashCode(B.TextAffinity_1); return A.hashValues(B.JSInt_methods.get$hashCode(_this.baseOffset), B.JSInt_methods.get$hashCode(_this.extentOffset), affinityHash, B.JSBool_methods.get$hashCode(_this.isDirectional), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, copyWith$3$affinity$baseOffset$extentOffset(affinity, baseOffset, extentOffset) { var t1 = baseOffset == null ? this.baseOffset : baseOffset, t2 = affinity == null ? this.affinity : affinity; return A.TextSelection$(t2, t1, extentOffset, this.isDirectional); }, copyWith$2$baseOffset$extentOffset(baseOffset, extentOffset) { return this.copyWith$3$affinity$baseOffset$extentOffset(null, baseOffset, extentOffset); }, copyWith$2$affinity$extentOffset(affinity, extentOffset) { return this.copyWith$3$affinity$baseOffset$extentOffset(affinity, null, extentOffset); }, copyWith$1$extentOffset(extentOffset) { return this.copyWith$3$affinity$baseOffset$extentOffset(null, null, extentOffset); }, expandTo$2(position, extentAtIndex) { var t3, t4, normalized, _this = this, t1 = position.offset, t2 = _this.start; if (t1 >= t2 && t1 <= _this.end) return _this; t3 = _this.baseOffset; t4 = _this.extentOffset; normalized = t3 <= t4; if (t1 <= t2) { if (extentAtIndex) return _this.copyWith$3$affinity$baseOffset$extentOffset(position.affinity, _this.end, t1); t2 = normalized ? t1 : t3; return _this.copyWith$2$baseOffset$extentOffset(t2, normalized ? t4 : t1); } if (extentAtIndex) return _this.copyWith$3$affinity$baseOffset$extentOffset(position.affinity, t2, t1); t2 = normalized ? t3 : t1; return _this.copyWith$2$baseOffset$extentOffset(t2, normalized ? t1 : t4); }, expandTo$1(position) { return this.expandTo$2(position, false); }, extendTo$1(position) { var _this = this; if (new A.TextPosition(_this.extentOffset, _this.affinity).$eq(0, position)) return _this; return _this.copyWith$2$affinity$extentOffset(position.affinity, position.offset); } }; A.TextEditingDelta.prototype = {}; A.TextEditingDeltaInsertion.prototype = {}; A.TextEditingDeltaDeletion.prototype = {}; A.TextEditingDeltaReplacement.prototype = {}; A.TextEditingDeltaNonTextUpdate.prototype = {}; A.MaxLengthEnforcement.prototype = { toString$0(_) { return "MaxLengthEnforcement." + this._core$_name; } }; A.TextInputFormatter.prototype = {}; A._MutableTextRange.prototype = {}; A._TextEditingValueAccumulator.prototype = {}; A.FilteringTextInputFormatter.prototype = { formatEditUpdate$2(oldValue, newValue) { var t2, formatState, matches, t3, t4, previousMatch, match, t5, selection, composingRegion, _this = this, _null = null, t1 = newValue.selection; t1 = t1.get$isValid() ? new A._MutableTextRange(t1.baseOffset, t1.extentOffset) : _null; t2 = newValue.composing; t2 = t2.get$isValid() && t2.start !== t2.end ? new A._MutableTextRange(t2.start, t2.end) : _null; formatState = new A._TextEditingValueAccumulator(newValue, new A.StringBuffer(""), t1, t2); t2 = newValue.text; matches = J.allMatches$1$s(_this.filterPattern, t2); for (t1 = matches.get$iterator(matches), t3 = _this.allow, t4 = !t3, previousMatch = _null; t1.moveNext$0(); previousMatch = match) { match = t1.get$current(t1); t5 = previousMatch == null ? _null : previousMatch.get$end(previousMatch); if (t5 == null) t5 = 0; _this._processRegion$4(t3, t5, match.get$start(match), formatState); _this._processRegion$4(t4, match.get$start(match), match.get$end(match), formatState); } t1 = previousMatch == null ? _null : previousMatch.get$end(previousMatch); if (t1 == null) t1 = 0; _this._processRegion$4(t3, t1, t2.length, formatState); t2 = formatState.debugFinalized = true; selection = formatState.selection; composingRegion = formatState.composingRegion; t1 = formatState.stringBuffer._contents; t2 = (composingRegion != null ? composingRegion.base === composingRegion.extent : t2) ? B.TextRange_m1_m1 : new A.TextRange(composingRegion.base, composingRegion.extent); if (selection == null) t3 = B.TextSelection_ke5; else { t3 = formatState.inputValue.selection; t3 = A.TextSelection$(t3.affinity, selection.base, selection.extent, t3.isDirectional); } return new A.TextEditingValue(t1.charCodeAt(0) == 0 ? t1 : t1, t3, t2); }, _processRegion$4(isBannedRegion, regionStart, regionEnd, state) { var replacementString, t1, t2, t3; if (isBannedRegion) replacementString = regionStart === regionEnd ? "" : this.replacementString; else replacementString = B.JSString_methods.substring$2(state.inputValue.text, regionStart, regionEnd); state.stringBuffer._contents += replacementString; if (replacementString.length === regionEnd - regionStart) return; t1 = new A.FilteringTextInputFormatter__processRegion_adjustIndex(regionStart, regionEnd, replacementString); t2 = state.selection; t3 = t2 == null; if (!t3) t2.base = t2.base + t1.call$1(state.inputValue.selection.baseOffset); if (!t3) t2.extent = t2.extent + t1.call$1(state.inputValue.selection.extentOffset); t2 = state.composingRegion; t3 = t2 == null; if (!t3) t2.base = t2.base + t1.call$1(state.inputValue.composing.start); if (!t3) t2.extent = t2.extent + t1.call$1(state.inputValue.composing.end); } }; A.FilteringTextInputFormatter__processRegion_adjustIndex.prototype = { call$1(originalIndex) { var _this = this, t1 = _this.regionStart, replacedLength = originalIndex <= t1 && originalIndex < _this.regionEnd ? 0 : _this.replacementString.length; return replacedLength - (B.JSInt_methods.clamp$2(originalIndex, t1, _this.regionEnd) - t1); }, $signature: 54 }; A.LengthLimitingTextInputFormatter.prototype = { formatEditUpdate$2(oldValue, newValue) { var t1, maxLength = this.maxLength; if (maxLength != null) if (maxLength !== -1) { t1 = newValue.text; t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); t1 = t1.get$length(t1) <= maxLength; } else t1 = true; else t1 = true; if (t1) return newValue; t1 = this.maxLengthEnforcement; switch (t1 == null ? A.LengthLimitingTextInputFormatter_getDefaultMaxLengthEnforcement(null) : t1) { case B.MaxLengthEnforcement_0: return newValue; case B.MaxLengthEnforcement_1: t1 = oldValue.text; t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); if (t1.get$length(t1) === maxLength) { t1 = oldValue.selection; t1 = t1.start === t1.end; } else t1 = false; if (t1) return oldValue; return A.LengthLimitingTextInputFormatter_truncate(newValue, maxLength); case B.MaxLengthEnforcement_2: t1 = oldValue.text; t1 = t1.length === 0 ? B.StringCharacters_ehH : new A.StringCharacters(t1); if (t1.get$length(t1) === maxLength && !oldValue.composing.get$isValid()) return oldValue; if (newValue.composing.get$isValid()) return newValue; return A.LengthLimitingTextInputFormatter_truncate(newValue, maxLength); } } }; A.SmartDashesType.prototype = { toString$0(_) { return "SmartDashesType." + this._core$_name; } }; A.SmartQuotesType.prototype = { toString$0(_) { return "SmartQuotesType." + this._core$_name; } }; A.TextInputType.prototype = { toJson$0() { return A.LinkedHashMap_LinkedHashMap$_literal(["name", "TextInputType." + B.List_GZw[this.index], "signed", this.signed, "decimal", this.decimal], type$.String, type$.dynamic); }, toString$0(_) { return "TextInputType(name: " + ("TextInputType." + B.List_GZw[this.index]) + ", signed: " + A.S(this.signed) + ", decimal: " + A.S(this.decimal) + ")"; }, $eq(_, other) { if (other == null) return false; return other instanceof A.TextInputType && other.index === this.index && other.signed == this.signed && other.decimal == this.decimal; }, get$hashCode(_) { return A.hashValues(this.index, this.signed, this.decimal, 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, 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.TextInputAction.prototype = { toString$0(_) { return "TextInputAction." + this._core$_name; } }; A.TextCapitalization0.prototype = { toString$0(_) { return "TextCapitalization." + this._core$_name; } }; A.TextInputConfiguration.prototype = { toJson$0() { var _this = this, autofill = _this.autofillConfiguration.toJson$0(), t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic); t1.$indexSet(0, "inputType", _this.inputType.toJson$0()); t1.$indexSet(0, "readOnly", _this.readOnly); t1.$indexSet(0, "obscureText", _this.obscureText); t1.$indexSet(0, "autocorrect", true); t1.$indexSet(0, "smartDashesType", B.JSInt_methods.toString$0(_this.smartDashesType.index)); t1.$indexSet(0, "smartQuotesType", B.JSInt_methods.toString$0(_this.smartQuotesType.index)); t1.$indexSet(0, "enableSuggestions", true); t1.$indexSet(0, "actionLabel", null); t1.$indexSet(0, "inputAction", "TextInputAction." + _this.inputAction._core$_name); t1.$indexSet(0, "textCapitalization", "TextCapitalization." + _this.textCapitalization._core$_name); t1.$indexSet(0, "keyboardAppearance", "Brightness." + _this.keyboardAppearance._core$_name); t1.$indexSet(0, "enableIMEPersonalizedLearning", true); if (autofill != null) t1.$indexSet(0, "autofill", autofill); t1.$indexSet(0, "enableDeltaModel", false); return t1; } }; A.FloatingCursorDragState.prototype = { toString$0(_) { return "FloatingCursorDragState." + this._core$_name; } }; A.TextEditingValue.prototype = { copyWith$3$composing$selection$text(composing, selection, text) { var t1 = text == null ? this.text : text, t2 = selection == null ? this.selection : selection; return new A.TextEditingValue(t1, t2, composing == null ? this.composing : composing); }, copyWith$1$composing(composing) { return this.copyWith$3$composing$selection$text(composing, null, null); }, copyWith$1$selection(selection) { return this.copyWith$3$composing$selection$text(null, selection, null); }, copyWith$2$composing$selection(composing, selection) { return this.copyWith$3$composing$selection$text(composing, selection, null); }, copyWith$1$text(text) { return this.copyWith$3$composing$selection$text(null, null, text); }, toJSON$0() { var t1 = this.selection, t2 = this.composing; return A.LinkedHashMap_LinkedHashMap$_literal(["text", this.text, "selectionBase", t1.baseOffset, "selectionExtent", t1.extentOffset, "selectionAffinity", "TextAffinity." + t1.affinity._core$_name, "selectionIsDirectional", t1.isDirectional, "composingBase", t2.start, "composingExtent", t2.end], type$.String, type$.dynamic); }, toString$0(_) { return "TextEditingValue(text: \u2524" + this.text + "\u251c, selection: " + this.selection.toString$0(0) + ", composing: " + this.composing.toString$0(0) + ")"; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return other instanceof A.TextEditingValue && other.text === _this.text && other.selection.$eq(0, _this.selection) && other.composing.$eq(0, _this.composing); }, get$hashCode(_) { var t1 = this.selection, t2 = this.composing; return A.hashValues(B.JSString_methods.get$hashCode(this.text), t1.get$hashCode(t1), A.hashValues(B.JSInt_methods.get$hashCode(t2.start), B.JSInt_methods.get$hashCode(t2.end), 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, 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), 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, get$text(receiver) { return this.text; } }; A.SelectionChangedCause.prototype = { toString$0(_) { return "SelectionChangedCause." + this._core$_name; } }; A.TextSelectionDelegate.prototype = {}; A.TextInputConnection.prototype = { setComposingRect$1(rect) { var validRect, t1, t2, t3; if (rect.$eq(0, this._cachedRect)) return; this._cachedRect = rect; validRect = rect.get$isFinite(rect) ? rect : new A.Rect(0, 0, -1, -1); t1 = $.$get$TextInput__instance(); t2 = validRect.left; t3 = validRect.top; t3 = A.LinkedHashMap_LinkedHashMap$_literal(["width", validRect.right - t2, "height", validRect.bottom - t3, "x", t2, "y", t3], type$.String, type$.dynamic); A._lateReadCheck(t1.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setMarkedTextRect", t3, type$.void); }, setCaretRect$1(rect) { var validRect, t1, t2, t3; if (rect.$eq(0, this._cachedCaretRect)) return; this._cachedCaretRect = rect; validRect = rect.get$isFinite(rect) ? rect : new A.Rect(0, 0, -1, -1); t1 = $.$get$TextInput__instance(); t2 = validRect.left; t3 = validRect.top; t3 = A.LinkedHashMap_LinkedHashMap$_literal(["width", validRect.right - t2, "height", validRect.bottom - t3, "x", t2, "y", t3], type$.String, type$.dynamic); A._lateReadCheck(t1.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setCaretRect", t3, type$.void); }, setStyle$5$fontFamily$fontSize$fontWeight$textAlign$textDirection(_, fontFamily, fontSize, fontWeight, textAlign, textDirection) { var t1 = $.$get$TextInput__instance(), t2 = fontWeight == null ? null : fontWeight.index; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["fontFamily", fontFamily, "fontSize", fontSize, "fontWeightIndex", t2, "textAlignIndex", textAlign.index, "textDirectionIndex", textDirection.index], type$.String, type$.dynamic); A._lateReadCheck(t1.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setStyle", t2, type$.void); } }; A.TextInput.prototype = { _attach$2(connection, configuration) { A._lateReadCheck(this.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setClient", [connection._id, configuration.toJson$0()], type$.void); this._currentConnection = connection; this.__TextInput__currentConfiguration = configuration; }, get$_channel() { return A._lateReadCheck(this.__TextInput__channel, "_channel"); }, _handleTextInputInvocation$1(methodCall) { return this._handleTextInputInvocation$body$TextInput(methodCall); }, _handleTextInputInvocation$body$TextInput(methodCall) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$returnValue, $async$self = this, method, t2, args, editingValue, t3, client, deltas, action, firstArg, t4, offset, t5, currentTextPosition, t6, centeredPoint, rawCursorOffset, t7, bottomBound, rightBound, deltaPosition, currentX, currentY, adjustedX, adjustedY, t8, t1; var $async$_handleTextInputInvocation$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._currentConnection; if (t1 == null) { // goto return $async$goto = 1; break; } method = methodCall.method; if (method === "TextInputClient.requestExistingInputState") { $async$self._attach$2(t1, A._lateReadCheck($async$self.__TextInput__currentConfiguration, "_currentConfiguration")); t1 = $async$self._currentConnection._client._widget.controller._change_notifier$_value; t2 = A._lateReadCheck($async$self.__TextInput__channel, "_channel"); t2.invokeMethod$1$2("TextInput.setEditingState", t1.toJSON$0(), type$.void); // goto return $async$goto = 1; break; } args = type$.List_dynamic._as(methodCall.$arguments); if (method === string$.TextIn) { t1 = type$.Map_String_dynamic; editingValue = t1._as(J.$index$asx(args, 1)); for (t2 = J.getInterceptor$x(editingValue), t3 = J.get$iterator$ax(t2.get$keys(editingValue)); t3.moveNext$0();) A.TextEditingValue_TextEditingValue$fromJSON(t1._as(t2.$index(editingValue, t3.get$current(t3)))); // goto return $async$goto = 1; break; } t1 = J.getInterceptor$asx(args); client = A._asInt(t1.$index(args, 0)); t2 = $async$self._currentConnection; if (client !== t2._id) { // goto return $async$goto = 1; break; } switch (method) { case "TextInputClient.updateEditingState": t2._client.updateEditingValue$1(A.TextEditingValue_TextEditingValue$fromJSON(type$.Map_String_dynamic._as(t1.$index(args, 1)))); break; case "TextInputClient.updateEditingStateWithDeltas": deltas = A._setArrayType([], type$.JSArray_TextEditingDelta); t2 = type$.Map_String_dynamic; for (t1 = J.get$iterator$ax(J.$index$asx(t2._as(t1.$index(args, 1)), "deltas")); t1.moveNext$0();) deltas.push(A.TextEditingDelta_TextEditingDelta$fromJSON(t2._as(t1.get$current(t1)))); type$.DeltaTextInputClient._as($async$self._currentConnection._client).updateEditingValueWithDeltas$1(deltas); break; case "TextInputClient.performAction": t2 = t2._client; action = A._toTextInputAction(A._asString(t1.$index(args, 1))); switch (action.index) { case 12: if (t2._widget.maxLines === 1) t2._finalizeEditing$2$shouldUnfocus(action, true); break; case 2: case 3: case 6: case 7: case 4: case 5: t2._finalizeEditing$2$shouldUnfocus(action, true); break; case 8: case 11: case 9: case 0: case 10: case 1: t2._finalizeEditing$2$shouldUnfocus(action, false); break; } break; case "TextInputClient.performPrivateCommand": t2 = type$.Map_String_dynamic; firstArg = t2._as(t1.$index(args, 1)); t1 = $async$self._currentConnection._client; t3 = J.getInterceptor$asx(firstArg); t4 = A._asString(t3.$index(firstArg, "action")); t3 = t2._as(t3.$index(firstArg, "data")); t1._widget.onAppPrivateCommand.call$2(t4, t3); break; case "TextInputClient.updateFloatingCursor": t2 = t2._client; t3 = A._toTextCursorAction(A._asString(t1.$index(args, 1))); t1 = type$.Map_String_dynamic._as(t1.$index(args, 2)); if (t3 === B.FloatingCursorDragState_1) { t4 = J.getInterceptor$asx(t1); offset = new A.Offset(A._asDouble(t4.$index(t1, "X")), A._asDouble(t4.$index(t1, "Y"))); } else offset = B.Offset_0_0; switch (t3.index) { case 0: t1 = t2.get$_floatingCursorResetController()._ticker; if (t1 != null && t1._ticker$_future != null) { t2.get$_floatingCursorResetController().stop$0(0); t2._onFloatingCursorResetTick$0(); } t2._pointOffsetOrigin = offset; t1 = t2._editableKey; t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t4.toString; t5 = type$.RenderEditable; currentTextPosition = new A.TextPosition(t5._as(t4)._selection.baseOffset, B.TextAffinity_1); t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t4.toString; t4 = t5._as(t4).getLocalRectForCaret$1(currentTextPosition); t2._startCaretRect = t4; t4 = t4.get$center(); t6 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t6.toString; t2._lastBoundedOffset = t4.$sub(0, new A.Offset(0, t5._as(t6)._textPainter.get$preferredLineHeight() / 2)); t2._lastTextPosition = currentTextPosition; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; t5._as(t1); t5 = t2._lastBoundedOffset; t5.toString; t2 = t2._lastTextPosition; t2.toString; t1.setFloatingCursor$3(t3, t5, t2); break; case 1: t1 = t2._pointOffsetOrigin; t1.toString; centeredPoint = offset.$sub(0, t1); t1 = t2._startCaretRect.get$center().$add(0, centeredPoint); t4 = t2._editableKey; t5 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t5.toString; t6 = type$.RenderEditable; rawCursorOffset = t1.$sub(0, new A.Offset(0, t6._as(t5)._textPainter.get$preferredLineHeight() / 2)); t5 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t5.toString; t6._as(t5); t1 = t5._textPainter; t7 = t1._paragraph; bottomBound = Math.ceil(t7.get$height(t7)) - t1.get$preferredLineHeight() + 5; rightBound = t1.get$width(t1) + 4; t1 = t5._previousOffset; deltaPosition = t1 != null ? rawCursorOffset.$sub(0, t1) : B.Offset_0_0; if (t5._resetOriginOnLeft && deltaPosition._dx > 0) { t5._relativeOrigin = new A.Offset(rawCursorOffset._dx - -4, t5._relativeOrigin._dy); t5._resetOriginOnLeft = false; } else if (t5._resetOriginOnRight && deltaPosition._dx < 0) { t5._relativeOrigin = new A.Offset(rawCursorOffset._dx - rightBound, t5._relativeOrigin._dy); t5._resetOriginOnRight = false; } if (t5._resetOriginOnTop && deltaPosition._dy > 0) { t5._relativeOrigin = new A.Offset(t5._relativeOrigin._dx, rawCursorOffset._dy - -4); t5._resetOriginOnTop = false; } else if (t5._resetOriginOnBottom && deltaPosition._dy < 0) { t5._relativeOrigin = new A.Offset(t5._relativeOrigin._dx, rawCursorOffset._dy - bottomBound); t5._resetOriginOnBottom = false; } t1 = t5._relativeOrigin; currentX = rawCursorOffset._dx - t1._dx; currentY = rawCursorOffset._dy - t1._dy; adjustedX = Math.min(Math.max(currentX, -4), rightBound); adjustedY = Math.min(Math.max(currentY, -4), bottomBound); if (currentX < -4 && deltaPosition._dx < 0) t5._resetOriginOnLeft = true; else if (currentX > rightBound && deltaPosition._dx > 0) t5._resetOriginOnRight = true; if (currentY < -4 && deltaPosition._dy < 0) t5._resetOriginOnTop = true; else if (currentY > bottomBound && deltaPosition._dy > 0) t5._resetOriginOnBottom = true; t5._previousOffset = rawCursorOffset; t2._lastBoundedOffset = new A.Offset(adjustedX, adjustedY); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t1.toString; t6._as(t1); t5 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t5.toString; t6._as(t5); t7 = t2._lastBoundedOffset; t7.toString; t8 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t8.toString; t8 = t7.$add(0, new A.Offset(0, t6._as(t8)._textPainter.get$preferredLineHeight() / 2)); t2._lastTextPosition = t1.getPositionForPoint$1(A.MatrixUtils_transformPoint(t5.getTransformTo$1(0, null), t8)); t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4).get$renderObject(); t4.toString; t6._as(t4); t6 = t2._lastBoundedOffset; t6.toString; t2 = t2._lastTextPosition; t2.toString; t4.setFloatingCursor$3(t3, t6, t2); break; case 2: if (t2._lastTextPosition != null && t2._lastBoundedOffset != null) { t2.get$_floatingCursorResetController().set$value(0, 0); t1 = t2.get$_floatingCursorResetController(); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.C__DecelerateCurve, B.Duration_125000); } break; } break; case "TextInputClient.onConnectionClosed": t1 = t2._client; if (t1.get$_hasInputConnection()) { t1._textInputConnection.toString; t1._lastKnownRemoteTextEditingValue = t1._textInputConnection = $.$get$TextInput__instance()._currentConnection = null; t1._finalizeEditing$2$shouldUnfocus(B.TextInputAction_2, true); } break; case "TextInputClient.showAutocorrectionPromptRect": t2._client.showAutocorrectionPromptRect$2(A._asInt(t1.$index(args, 1)), A._asInt(t1.$index(args, 2))); break; default: throw A.wrapException(A.MissingPluginException$(null)); } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_handleTextInputInvocation$1, $async$completer); }, _scheduleHide$0() { if (this._hidePending) return; this._hidePending = true; A.scheduleMicrotask(new A.TextInput__scheduleHide_closure(this)); }, _clearClient$0() { A._lateReadCheck(this.__TextInput__channel, "_channel").invokeMethod$1$1("TextInput.clearClient", type$.void); this._currentConnection = null; this._scheduleHide$0(); } }; A.TextInput__scheduleHide_closure.prototype = { call$0() { var t1 = this.$this; t1._hidePending = false; if (t1._currentConnection == null) A._lateReadCheck(t1.__TextInput__channel, "_channel").invokeMethod$1$1("TextInput.hide", type$.void); }, $signature: 0 }; A._getParent_closure.prototype = { call$1(ancestor) { this.parent.set$finalLocalValue(ancestor); return false; }, $signature: 37 }; A.Intent.prototype = {}; A.Action.prototype = { isEnabled$1(_, intent) { return true; }, consumesKey$1(intent) { return true; } }; A.ContextAction.prototype = {}; A.CallbackAction.prototype = { invoke$1(intent) { return this.onInvoke.call$1(intent); } }; A.ActionDispatcher.prototype = { invokeAction$3(action, intent, context) { if (action instanceof A.ContextAction) return action.invoke$2(intent, context); else return action.invoke$1(intent); } }; A.Actions.prototype = { createState$0() { return new A._ActionsState(A.LinkedHashSet_LinkedHashSet$_empty(type$.Action_Intent), new A.Object(), B._StateLifecycle_0); } }; A.Actions__findDispatcher_closure.prototype = { call$1(element) { type$._ActionsMarker._as(element.get$widget()); return false; }, $signature: 297 }; A.Actions_maybeFind_closure.prototype = { call$1(element) { var _this = this, result = A.Actions__castAction(type$._ActionsMarker._as(element.get$widget()), _this.intent, _this.T); if (result != null) { _this.context.super$Element$dependOnInheritedElement(element, null); _this._box_0.action = result; return true; } return false; }, $signature: 297 }; A._ActionsState.prototype = { initState$0() { this.super$State$initState(); this._updateActionListeners$0(); }, _handleActionChanged$1(action) { this.setState$1(new A._ActionsState__handleActionChanged_closure(this)); }, _updateActionListeners$0() { var widgetActions, removedActions, addedActions, t2, t3, value, result, _this = this, t1 = _this._widget.actions; t1 = t1.get$values(t1); widgetActions = A.LinkedHashSet_LinkedHashSet$of(t1, A._instanceType(t1)._eval$1("Iterable.E")); removedActions = _this.listenedActions.difference$1(widgetActions); t1 = _this.listenedActions; t1.toString; addedActions = widgetActions.difference$1(t1); for (t1 = removedActions.get$iterator(removedActions), t2 = _this.get$_handleActionChanged(); t1.moveNext$0();) { t3 = t1.get$current(t1)._listeners; t3._isDirty = true; value = t3.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t3.$ti._precomputed1); A._lateInitializeOnceCheck(t3.__ObserverList__set, "_set"); t3.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } B.JSArray_methods.remove$1(t3._list, t2); } for (t1 = addedActions.get$iterator(addedActions); t1.moveNext$0();) { t3 = t1.get$current(t1)._listeners; t3._isDirty = true; t3._list.push(t2); } _this.listenedActions = widgetActions; }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._updateActionListeners$0(); }, dispose$0(_) { var t1, t2, t3, t4, value, result, _this = this; _this.super$State$dispose(0); for (t1 = _this.listenedActions, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.get$_handleActionChanged(); t1.moveNext$0();) { t4 = t2._as(t1._collection$_current)._listeners; t4._isDirty = true; value = t4.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t4.$ti._precomputed1); A._lateInitializeOnceCheck(t4.__ObserverList__set, "_set"); t4.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } B.JSArray_methods.remove$1(t4._list, t3); } _this.listenedActions = null; }, build$1(_, context) { var t1 = this._widget; return new A._ActionsMarker(null, t1.actions, this.rebuildKey, t1.child, null); } }; A._ActionsState__handleActionChanged_closure.prototype = { call$0() { this.$this.rebuildKey = new A.Object(); }, $signature: 0 }; A._ActionsMarker.prototype = { updateShouldNotify$1(oldWidget) { var t1; if (this.rebuildKey === oldWidget.rebuildKey) t1 = !A.mapEquals(oldWidget.actions, this.actions); else t1 = true; return t1; } }; A.FocusableActionDetector.prototype = { createState$0() { return new A._FocusableActionDetectorState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); } }; A._FocusableActionDetectorState.prototype = { initState$0() { this.super$State$initState(); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._FocusableActionDetectorState_initState_closure(this)); $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._focus_manager$_listeners.add$1(0, this.get$_actions$_handleFocusHighlightModeChange()); }, dispose$0(_) { $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._focus_manager$_listeners.remove$1(0, this.get$_actions$_handleFocusHighlightModeChange()); this.super$State$dispose(0); }, _updateHighlightMode$1(mode) { this._mayTriggerCallback$1$task(new A._FocusableActionDetectorState__updateHighlightMode_closure(this)); }, _actions$_handleFocusHighlightModeChange$1(mode) { if (this._framework$_element == null) return; this._updateHighlightMode$1(mode); }, _actions$_handleMouseEnter$1($event) { if (!this._actions$_hovering) this._mayTriggerCallback$1$task(new A._FocusableActionDetectorState__handleMouseEnter_closure(this)); }, _actions$_handleMouseExit$1($event) { if (this._actions$_hovering) this._mayTriggerCallback$1$task(new A._FocusableActionDetectorState__handleMouseExit_closure(this)); }, _actions$_handleFocusChange$1(focused) { var t1, _this = this; if (_this._actions$_focused !== focused) { _this._mayTriggerCallback$1$task(new A._FocusableActionDetectorState__handleFocusChange_closure(_this, focused)); t1 = _this._widget.onFocusChange; if (t1 != null) t1.call$1(_this._actions$_focused); } }, _mayTriggerCallback$2$oldWidget$task(oldWidget, task) { var t3, oldTarget, didShowHoverHighlight, didShowFocusHighlight, doShowHoverHighlight, doShowFocusHighlight, _this = this, t1 = new A._FocusableActionDetectorState__mayTriggerCallback_shouldShowHoverHighlight(_this), t2 = new A._FocusableActionDetectorState__mayTriggerCallback_shouldShowFocusHighlight(_this, new A._FocusableActionDetectorState__mayTriggerCallback_canRequestFocus(_this)); if (oldWidget == null) { t3 = _this._widget; t3.toString; oldTarget = t3; } else oldTarget = oldWidget; didShowHoverHighlight = t1.call$1(oldTarget); didShowFocusHighlight = t2.call$1(oldTarget); if (task != null) task.call$0(); t3 = _this._widget; t3.toString; doShowHoverHighlight = t1.call$1(t3); t3 = _this._widget; t3.toString; doShowFocusHighlight = t2.call$1(t3); if (didShowFocusHighlight !== doShowFocusHighlight) { t1 = _this._widget.onShowFocusHighlight; if (t1 != null) t1.call$1(doShowFocusHighlight); } if (didShowHoverHighlight !== doShowHoverHighlight) { t1 = _this._widget.onShowHoverHighlight; if (t1 != null) t1.call$1(doShowHoverHighlight); } }, _mayTriggerCallback$1$task(task) { return this._mayTriggerCallback$2$oldWidget$task(null, task); }, _mayTriggerCallback$1$oldWidget(oldWidget) { return this._mayTriggerCallback$2$oldWidget$task(oldWidget, null); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); if (this._widget.enabled !== oldWidget.enabled) $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._FocusableActionDetectorState_didUpdateWidget_closure(this, oldWidget)); }, get$_actions$_canRequestFocus() { var mode, t1 = this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); mode = t1 == null ? null : t1.navigationMode; switch ((mode == null ? B.NavigationMode_0 : mode).index) { case 0: return this._widget.enabled; case 1: return true; } }, build$1(_, context) { var t3, t4, child, _this = this, _null = null, t1 = _this._widget, t2 = t1.mouseCursor; t1 = t1.focusNode; t3 = _this.get$_actions$_canRequestFocus(); t4 = _this._widget; child = A.MouseRegion$(A.Focus$(false, t3, t4.child, _null, true, t1, true, _null, _this.get$_actions$_handleFocusChange(), _null, _null, _null), t2, _this._mouseRegionKey, _this.get$_actions$_handleMouseEnter(), _this.get$_actions$_handleMouseExit(), _null); if (t4.enabled) { t1 = t4.actions; t1 = t1 != null && t1.get$isNotEmpty(t1); } else t1 = false; if (t1) { t1 = _this._widget.actions; t1.toString; child = new A.Actions(t1, child, _null); } t1 = _this._widget; if (t1.enabled) { t1 = t1.shortcuts; t1 = t1 != null && t1.get$isNotEmpty(t1); } else t1 = false; if (t1) { t1 = _this._widget.shortcuts; t1.toString; child = new A.Shortcuts(t1, child, _null, _null); } return child; } }; A._FocusableActionDetectorState_initState_closure.prototype = { call$1(duration) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._highlightMode; if (t1 == null) t1 = A.FocusManager__defaultModeForPlatform(); this.$this._updateHighlightMode$1(t1); }, $signature: 8 }; A._FocusableActionDetectorState__updateHighlightMode_closure.prototype = { call$0() { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._highlightMode; switch ((t1 == null ? A.FocusManager__defaultModeForPlatform() : t1).index) { case 0: this.$this._canShowHighlight = false; break; case 1: this.$this._canShowHighlight = true; break; } }, $signature: 0 }; A._FocusableActionDetectorState__handleMouseEnter_closure.prototype = { call$0() { this.$this._actions$_hovering = true; }, $signature: 0 }; A._FocusableActionDetectorState__handleMouseExit_closure.prototype = { call$0() { this.$this._actions$_hovering = false; }, $signature: 0 }; A._FocusableActionDetectorState__handleFocusChange_closure.prototype = { call$0() { this.$this._actions$_focused = this.focused; }, $signature: 0 }; A._FocusableActionDetectorState__mayTriggerCallback_shouldShowHoverHighlight.prototype = { call$1(target) { var t1 = this.$this; return t1._actions$_hovering && target.enabled && t1._canShowHighlight; }, $signature: 153 }; A._FocusableActionDetectorState__mayTriggerCallback_canRequestFocus.prototype = { call$1(target) { var mode, t1 = this.$this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); mode = t1 == null ? null : t1.navigationMode; switch ((mode == null ? B.NavigationMode_0 : mode).index) { case 0: return target.enabled; case 1: return true; } }, $signature: 153 }; A._FocusableActionDetectorState__mayTriggerCallback_shouldShowFocusHighlight.prototype = { call$1(target) { var t1 = this.$this; return t1._actions$_focused && t1._canShowHighlight && this.canRequestFocus.call$1(target); }, $signature: 153 }; A._FocusableActionDetectorState_didUpdateWidget_closure.prototype = { call$1(duration) { this.$this._mayTriggerCallback$1$oldWidget(this.oldWidget); }, $signature: 8 }; A.DoNothingAction.prototype = { consumesKey$1(intent) { return this._consumesKey; }, invoke$1(intent) { } }; A.ActivateIntent.prototype = {}; A.ButtonActivateIntent.prototype = {}; A.DismissIntent.prototype = {}; A.DismissAction.prototype = {}; A.PrioritizedIntents.prototype = {}; A.PrioritizedAction.prototype = { isEnabled$1(_, intent) { var t1, _i, candidateIntent, t2, candidateAction, $focus = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; if ($focus == null || $focus._context == null) return false; for (t1 = type$.Intent, _i = 0; _i < 2; ++_i) { candidateIntent = B.List_2WE[_i]; t2 = $focus._context; t2.toString; candidateAction = A.Actions_maybeFind(t2, candidateIntent, t1); if (candidateAction != null && candidateAction.isEnabled$1(0, candidateIntent)) { this.__PrioritizedAction__selectedAction = candidateAction; this.__PrioritizedAction__selectedIntent = candidateIntent; return true; } } return false; }, invoke$1(intent) { A._lateReadCheck(this.__PrioritizedAction__selectedAction, "_selectedAction").invoke$1(A._lateReadCheck(this.__PrioritizedAction__selectedIntent, "_selectedIntent")); } }; A._Action_Object_Diagnosticable.prototype = {}; A._ActionDispatcher_Object_Diagnosticable.prototype = {}; A._Intent_Object_Diagnosticable.prototype = {}; A._ChildEntry.prototype = { toString$0(_) { return "Entry#" + A.shortHash(this) + "(" + this.widgetChild.toString$0(0) + ")"; } }; A.AnimatedSwitcher.prototype = { createState$0() { return new A._AnimatedSwitcherState(A.LinkedHashSet_LinkedHashSet$_empty(type$._ChildEntry), B.List_empty12, null, B._StateLifecycle_0); }, transitionBuilder$2(arg0, arg1) { return this.transitionBuilder.call$2(arg0, arg1); }, layoutBuilder$2(arg0, arg1) { return A.animated_switcher_AnimatedSwitcher_defaultLayoutBuilder$closure().call$2(arg0, arg1); } }; A._AnimatedSwitcherState.prototype = { initState$0() { this.super$State$initState(); this._addEntryForNewChild$1$animate(false); }, didUpdateWidget$1(oldWidget) { var t1, hasNewChild, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!J.$eq$(_this._widget.transitionBuilder, oldWidget.transitionBuilder)) { _this._outgoingEntries.forEach$1(0, _this.get$_updateTransitionForEntry()); t1 = _this._currentEntry; if (t1 != null) _this._updateTransitionForEntry$1(t1); _this._outgoingWidgets = null; } t1 = _this._widget.child; hasNewChild = t1 != null; t2 = _this._currentEntry; if (hasNewChild === (t2 != null)) if (hasNewChild) { t2 = t2.widgetChild; t1 = !(A.getRuntimeType(t1) === A.getRuntimeType(t2) && J.$eq$(t1.key, t2.key)); } else t1 = false; else t1 = true; if (t1) { ++_this._childNumber; _this._addEntryForNewChild$1$animate(true); } else { t1 = _this._currentEntry; if (t1 != null) { t2 = _this._widget.child; t2.toString; t1.widgetChild = t2; _this._updateTransitionForEntry$1(t1); _this._outgoingWidgets = null; } } }, _addEntryForNewChild$1$animate(animate) { var controller, animation, t2, _this = this, t1 = _this._currentEntry; if (t1 != null) { _this._outgoingEntries.add$1(0, t1); _this._currentEntry.controller.reverse$0(0); _this._currentEntry = _this._outgoingWidgets = null; } t1 = _this._widget; if (t1.child == null) return; controller = A.AnimationController$(null, t1.duration, null, 1, null, _this); animation = A.CurvedAnimation$(_this._widget.switchInCurve, controller, B.C__Linear); t1 = _this._widget; t2 = t1.child; t2.toString; _this._currentEntry = _this._newEntry$4$animation$builder$child$controller(animation, t1.transitionBuilder, t2, controller); if (animate) controller.forward$0(0); else controller.set$value(0, 1); }, _newEntry$4$animation$builder$child$controller(animation, builder, child, controller) { var entry = new A._ChildEntry(controller, animation, A.KeyedSubtree_KeyedSubtree$wrap(builder.call$2(child, animation), this._childNumber), child); animation.parent.addStatusListener$1(new A._AnimatedSwitcherState__newEntry_closure(this, entry, controller)); return entry; }, _updateTransitionForEntry$1(entry) { var t1 = entry.transition; entry.transition = new A.KeyedSubtree(this._widget.transitionBuilder$2(entry.widgetChild, entry.animation), t1.key); }, _rebuildOutgoingWidgetsIfNeeded$0() { if (this._outgoingWidgets == null) { var t1 = this._outgoingEntries; this._outgoingWidgets = A.List_List$unmodifiable(new A.EfficientLengthMappedIterable(t1, new A._AnimatedSwitcherState__rebuildOutgoingWidgetsIfNeeded_closure(), A._instanceType(t1)._eval$1("EfficientLengthMappedIterable<SetMixin.E,Widget>")), type$.Widget); } }, dispose$0(_) { var t2, t3, t4, value, result, t1 = this._currentEntry; if (t1 != null) t1.controller.dispose$0(0); for (t1 = this._outgoingEntries, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { t3 = t2._as(t1._collection$_current).controller; t3._ticker.dispose$0(0); t3._ticker = null; t4 = t3.AnimationLocalStatusListenersMixin__statusListeners; t4._isDirty = false; B.JSArray_methods.set$length(t4._list, 0); value = t4.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t4.$ti._precomputed1); A._lateInitializeOnceCheck(t4.__ObserverList__set, "_set"); t4.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } t4 = t3.AnimationLocalListenersMixin__listeners; t4._isDirty = false; B.JSArray_methods.set$length(t4._list, 0); value = t4.__ObserverList__set; if (value === $) { result = A.HashSet_HashSet(t4.$ti._precomputed1); A._lateInitializeOnceCheck(t4.__ObserverList__set, "_set"); t4.__ObserverList__set = result; value = result; } if (value._collection$_length > 0) { value._collection$_strings = value._collection$_nums = value._collection$_rest = value._elements = null; value._collection$_length = 0; } t3.super$AnimationEagerListenerMixin$dispose(0); } this.super$__AnimatedSwitcherState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var t1, t2, t3, _this = this; _this._rebuildOutgoingWidgetsIfNeeded$0(); t1 = _this._widget; t1.toString; t2 = _this._currentEntry; t2 = t2 == null ? null : t2.transition; t3 = _this._outgoingWidgets; t3.toString; return t1.layoutBuilder$2(t2, t3); } }; A._AnimatedSwitcherState__newEntry_closure.prototype = { call$1($status) { var t1; if ($status === B.AnimationStatus_0) { t1 = this.$this; t1.setState$1(new A._AnimatedSwitcherState__newEntry__closure(t1, this.entry)); this.controller.dispose$0(0); } }, $signature: 16 }; A._AnimatedSwitcherState__newEntry__closure.prototype = { call$0() { var t1 = this.$this; t1._outgoingEntries.remove$1(0, this.entry); t1._outgoingWidgets = null; }, $signature: 0 }; A._AnimatedSwitcherState__rebuildOutgoingWidgetsIfNeeded_closure.prototype = { call$1(entry) { return entry.transition; }, $signature: 1226 }; A.__AnimatedSwitcherState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.AnnotatedRegion.prototype = { createRenderObject$1(context) { var t1 = new A.RenderAnnotatedRegion(this.value, true, null, A.LayerHandle$(type$.ContainerLayer_2), this.$ti._eval$1("RenderAnnotatedRegion<1>")); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$value(0, this.value); renderObject.set$sized(true); }, get$value(receiver) { return this.value; } }; A.WidgetsApp.prototype = { createState$0() { return new A._WidgetsAppState(B._StateLifecycle_0); } }; A._WidgetsAppState.prototype = { get$_initialRouteName() { var t1, t2; $.WidgetsBinding__instance.toString; t1 = $.$get$window().platformDispatcher; if (t1.get$defaultRouteName() !== "/") { $.WidgetsBinding__instance.toString; t1 = t1.get$defaultRouteName(); } else { this._widget.toString; t2 = $.WidgetsBinding__instance; t2.toString; t1 = t1.get$defaultRouteName(); } return t1; }, initState$0() { var _this = this; _this.super$State$initState(); _this._updateRouting$0(); $.WidgetsBinding__instance.toString; _this._app$_locale = _this._resolveLocales$2($.$get$window().platformDispatcher._configuration.locales, _this._widget.supportedLocales); $.WidgetsBinding__instance.WidgetsBinding__observers.push(_this); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._updateRouting$1$oldWidget(oldWidget); }, dispose$0(_) { var t1; B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, this); t1 = this._defaultRouteInformationProvider; if (t1 != null) t1.dispose$0(0); this.super$State$dispose(0); }, _updateRouting$1$oldWidget(oldWidget) { var t1, _this = this; _this._widget.toString; if (_this.get$_usesNavigator()) { t1 = _this._defaultRouteInformationProvider; if (t1 != null) t1.dispose$0(0); _this._defaultRouteInformationProvider = null; if (_this._navigator == null || _this._widget.navigatorKey != oldWidget.navigatorKey) { t1 = _this._widget.navigatorKey; _this._navigator = t1 == null ? new A.GlobalObjectKey(_this, type$.GlobalObjectKey_NavigatorState) : t1; } } else { _this._navigator = null; t1 = _this._defaultRouteInformationProvider; if (t1 != null) t1.dispose$0(0); _this._defaultRouteInformationProvider = null; } }, _updateRouting$0() { return this._updateRouting$1$oldWidget(null); }, get$_usesNavigator() { var t1 = this._widget; if (t1.home == null) { t1 = t1.routes; if ((t1 == null ? null : t1.get$isNotEmpty(t1)) !== true) { this._widget.toString; t1 = false; } else t1 = true; } else t1 = true; return t1; }, _onGenerateRoute$1(settings) { var _this = this, $name = settings.name, pageContentBuilder = $name === "/" && _this._widget.home != null ? new A._WidgetsAppState__onGenerateRoute_closure(_this) : _this._widget.routes.$index(0, $name); if (pageContentBuilder != null) return _this._widget.pageRouteBuilder.call$1$2(settings, pageContentBuilder, type$.dynamic); _this._widget.toString; return null; }, _onUnknownRoute$1(settings) { return this._widget.onUnknownRoute.call$1(settings); }, didPopRoute$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, t1, $navigator; var $async$didPopRoute$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._widget.toString; t1 = $async$self._navigator; $navigator = t1 == null ? null : t1.get$currentState(); if ($navigator == null) { $async$returnValue = false; // goto return $async$goto = 1; break; } $async$returnValue = $navigator.maybePop$0(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$didPopRoute$0, $async$completer); }, didPushRoute$1(route) { return this.didPushRoute$body$_WidgetsAppState(route); }, didPushRoute$body$_WidgetsAppState(route) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, t1, $navigator; var $async$didPushRoute$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$self._widget.toString; t1 = $async$self._navigator; $navigator = t1 == null ? null : t1.get$currentState(); if ($navigator == null) { $async$returnValue = false; // goto return $async$goto = 1; break; } t1 = $navigator._routeNamed$1$2$arguments(route, null, type$.nullable_Object); t1.toString; $navigator.push$1(t1); $async$returnValue = true; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$didPushRoute$1, $async$completer); }, _resolveLocales$2(preferredLocales, supportedLocales) { this._widget.toString; return A.basicLocaleListResolution(preferredLocales, supportedLocales); }, didChangeLocales$1(locales) { var _this = this, newLocale = _this._resolveLocales$2(locales, _this._widget.supportedLocales); if (!newLocale.$eq(0, _this._app$_locale)) _this.setState$1(new A._WidgetsAppState_didChangeLocales_closure(_this, newLocale)); }, get$_app$_localizationsDelegates() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$get$_app$_localizationsDelegates($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 = 2; return A._IterationMarker_yieldStar($async$self._widget.localizationsDelegates); case 2: // after yield $async$goto = 3; return B.C__WidgetsLocalizationsDelegate; case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.LocalizationsDelegate_dynamic); }, build$1(_, context) { var t2, t3, t4, result, performanceOverlay, appLocale, t5, t6, t7, t8, _this = this, _null = null, t1 = {}; t1.routing = null; _this._widget.toString; if (_this.get$_usesNavigator()) { t2 = _this._navigator; t3 = _this.get$_initialRouteName(); t4 = _this._widget; t4 = t4.navigatorObservers; t4.toString; t1.routing = new A.Navigator(t3, _this.get$_onGenerateRoute(), _this.get$_onUnknownRoute(), t4, "nav", A.navigator_Navigator_defaultGenerateInitialRoutes$closure(), true, t2); } t1.result = null; t2 = _this._widget; t2.toString; result = new A.Builder(new A._WidgetsAppState_build_closure(t1, _this), _null); t1.result = result; result = t1.result = A.DefaultTextStyle$(result, _null, _null, B.TextOverflow_0, true, t2.textStyle, _null, _null, B.TextWidthBasis_0); t2 = $.WidgetsApp_showPerformanceOverlayOverride; if (t2) performanceOverlay = new A.PerformanceOverlay(15, false, false, _null); else performanceOverlay = _null; t1 = performanceOverlay != null ? t1.result = A.Stack$(B.AlignmentDirectional_m1_m1, A._setArrayType([result, A.Positioned$(_null, performanceOverlay, _null, _null, 0, 0, 0, _null)], type$.JSArray_Widget), B.StackFit_0, _null, _null) : result; t2 = _this._widget; t3 = t2.title; t2 = t2.color; t4 = _this._app$_locale; t4.toString; appLocale = t4; t4 = _this.get$_app$_localizationsDelegates(); t4 = A.List_List$of(t4, true, t4.$ti._eval$1("Iterable.E")); A.MediaQuery_maybeOf(context); t5 = _this._widget; t5 = t5.restorationScopeId; t6 = A.WidgetsApp_defaultShortcuts(); t7 = $.$get$WidgetsApp_defaultActions(); t8 = $.$get$DefaultTextEditingActions__shortcutsActions(); return new A.RootRestorationScope(new A.SharedAppData(new A.Shortcuts(t6, new A.DefaultTextEditingShortcuts(A.DefaultTextEditingShortcuts__shortcuts(), new A.Actions(t7, new A.DefaultTextEditingActions(t8, new A.FocusTraversalGroup(new A.ReadingOrderTraversalPolicy(A.LinkedHashMap_LinkedHashMap$_empty(type$.FocusScopeNode, type$._DirectionalPolicyData)), new A._MediaQueryFromWindow(new A.Localizations(appLocale, t4, new A.Title(t3, t2, t1, _null), _null), _null), _null), _null), _null), "<Default Text Editing Shortcuts>", _null), "<Default WidgetsApp Shortcuts>", _null), _null), t5, _null); } }; A._WidgetsAppState__onGenerateRoute_closure.prototype = { call$1(context) { var t1 = this.$this._widget.home; t1.toString; return t1; }, $signature: 29 }; A._WidgetsAppState_didChangeLocales_closure.prototype = { call$0() { this.$this._app$_locale = this.newLocale; }, $signature: 0 }; A._WidgetsAppState_build_closure.prototype = { call$1(context) { return this.$this._widget.builder.call$2(context, this._box_0.routing); }, $signature: 29 }; A.__WidgetsAppState_State_WidgetsBindingObserver.prototype = {}; A.ConnectionState.prototype = { toString$0(_) { return "ConnectionState." + this._core$_name; } }; A.AsyncSnapshot.prototype = { toString$0(_) { var _this = this; return "AsyncSnapshot(" + _this.connectionState.toString$0(0) + ", " + A.S(_this.data) + ", " + A.S(_this.error) + ", " + A.S(_this.stackTrace) + ")"; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; return _this.$ti._is(other) && other.connectionState === _this.connectionState && J.$eq$(other.data, _this.data) && J.$eq$(other.error, _this.error) && other.stackTrace == _this.stackTrace; }, get$hashCode(_) { return A.hashValues(this.connectionState, this.data, this.error, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, get$data(receiver) { return this.data; } }; A.FutureBuilder.prototype = { createState$0() { return new A._FutureBuilderState(B._StateLifecycle_0, this.$ti._eval$1("_FutureBuilderState<1>")); } }; A._FutureBuilderState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); _this._widget.toString; t1 = A.AsyncSnapshot$nothing(_this.$ti._precomputed1); _this.___FutureBuilderState__snapshot = t1; _this._async0$_subscribe$0(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (oldWidget.future != _this._widget.future) { if (_this._activeCallbackIdentity != null) { _this._activeCallbackIdentity = null; t1 = A._lateReadCheck(_this.___FutureBuilderState__snapshot, "_snapshot"); _this.___FutureBuilderState__snapshot = new A.AsyncSnapshot(B.ConnectionState_0, t1.data, t1.error, t1.stackTrace, t1.$ti); } _this._async0$_subscribe$0(); } }, build$1(_, context) { var t1 = this._widget; t1.toString; return t1.builder.call$2(context, A._lateReadCheck(this.___FutureBuilderState__snapshot, "_snapshot")); }, dispose$0(_) { this._activeCallbackIdentity = null; this.super$State$dispose(0); }, _async0$_subscribe$0() { var callbackIdentity, _this = this, t1 = _this._widget.future; if (t1 != null) { callbackIdentity = _this._activeCallbackIdentity = new A.Object(); t1.then$1$2$onError(0, new A._FutureBuilderState__subscribe_closure(_this, callbackIdentity), new A._FutureBuilderState__subscribe_closure0(_this, callbackIdentity), type$.void); t1 = A._lateReadCheck(_this.___FutureBuilderState__snapshot, "_snapshot"); _this.___FutureBuilderState__snapshot = new A.AsyncSnapshot(B.ConnectionState_1, t1.data, t1.error, t1.stackTrace, t1.$ti); } } }; A._FutureBuilderState__subscribe_closure.prototype = { call$1(data) { var t1 = this.$this; if (t1._activeCallbackIdentity === this.callbackIdentity) t1.setState$1(new A._FutureBuilderState__subscribe__closure0(t1, data)); }, $signature() { return this.$this.$ti._eval$1("Null(1)"); } }; A._FutureBuilderState__subscribe__closure0.prototype = { call$0() { var t1 = this.$this; t1.___FutureBuilderState__snapshot = new A.AsyncSnapshot(B.ConnectionState_3, this.data, null, null, t1.$ti._eval$1("AsyncSnapshot<1>")); }, $signature: 0 }; A._FutureBuilderState__subscribe_closure0.prototype = { call$2(error, stackTrace) { var t1 = this.$this; if (t1._activeCallbackIdentity === this.callbackIdentity) t1.setState$1(new A._FutureBuilderState__subscribe__closure(t1, error, stackTrace)); }, $signature: 55 }; A._FutureBuilderState__subscribe__closure.prototype = { call$0() { var t1 = this.$this; t1.___FutureBuilderState__snapshot = new A.AsyncSnapshot(B.ConnectionState_3, null, this.error, this.stackTrace, t1.$ti._eval$1("AsyncSnapshot<1>")); }, $signature: 0 }; A.AutomaticKeepAlive.prototype = { createState$0() { return new A._AutomaticKeepAliveState(B._StateLifecycle_0); } }; A._AutomaticKeepAliveState.prototype = { initState$0() { this.super$State$initState(); this._updateChild$0(); }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._updateChild$0(); }, _updateChild$0() { this._automatic_keep_alive$_child = new A.NotificationListener(this._widget.child, this.get$_addClient(), null, type$.NotificationListener_KeepAliveNotification); }, dispose$0(_) { var t2, t3, t1 = this._automatic_keep_alive$_handles; if (t1 != null) for (t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); t3 = this._automatic_keep_alive$_handles.$index(0, t2); t3.toString; t2.removeListener$1(0, t3); } this.super$State$dispose(0); }, _addClient$1(notification) { var childElement, _this = this, handle = notification.handle, t1 = _this._automatic_keep_alive$_handles; if (t1 == null) t1 = _this._automatic_keep_alive$_handles = A.LinkedHashMap_LinkedHashMap$_empty(type$.Listenable, type$.void_Function); t1.$indexSet(0, handle, _this._createCallback$1(handle)); t1 = _this._automatic_keep_alive$_handles.$index(0, handle); t1.toString; handle.addListener$1(0, t1); if (!_this._keepingAlive) { _this._keepingAlive = true; childElement = _this._getChildElement$0(); if (childElement != null) _this._updateParentDataOfChild$1(childElement); else $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A._AutomaticKeepAliveState__addClient_closure(_this)); } return false; }, _getChildElement$0() { var t1 = {}, t2 = this._framework$_element; t2.toString; t1.childElement = null; t2.visitChildren$1(new A._AutomaticKeepAliveState__getChildElement_closure(t1)); return type$.nullable_ParentDataElement_KeepAliveParentDataMixin._as(t1.childElement); }, _updateParentDataOfChild$1(childElement) { var t1, t2; this._framework$_element.toString; t1 = this._keepingAlive; t2 = this._automatic_keep_alive$_child; t2.toString; childElement._applyParentData$1(type$.ParentDataWidget_KeepAliveParentDataMixin._as(A.KeepAlive$(t2, t1))); }, _createCallback$1(handle) { return new A._AutomaticKeepAliveState__createCallback_closure(this, handle); }, build$1(_, context) { var t1 = this._keepingAlive, t2 = this._automatic_keep_alive$_child; t2.toString; return new A.KeepAlive(t1, t2, null); } }; A._AutomaticKeepAliveState__addClient_closure.prototype = { call$1(timeStamp) { var childElement, t1 = this.$this; if (t1._framework$_element == null) return; childElement = t1._getChildElement$0(); childElement.toString; t1._updateParentDataOfChild$1(childElement); }, $signature: 8 }; A._AutomaticKeepAliveState__getChildElement_closure.prototype = { call$1(child) { this._box_0.childElement = child; }, $signature: 32 }; A._AutomaticKeepAliveState__createCallback_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._automatic_keep_alive$_handles.remove$1(0, this.handle); t2 = t1._automatic_keep_alive$_handles; if (t2.get$isEmpty(t2)) if ($.SchedulerBinding__instance.SchedulerBinding__schedulerPhase.index < 3) t1.setState$1(new A._AutomaticKeepAliveState__createCallback__closure(t1)); else { t1._keepingAlive = false; A.scheduleMicrotask(new A._AutomaticKeepAliveState__createCallback__closure0(t1)); } }, $signature: 0 }; A._AutomaticKeepAliveState__createCallback__closure.prototype = { call$0() { this.$this._keepingAlive = false; }, $signature: 0 }; A._AutomaticKeepAliveState__createCallback__closure0.prototype = { call$0() { var t2, t1 = this.$this; if (t1._framework$_element != null) { t2 = t1._automatic_keep_alive$_handles; t2 = t2.get$isEmpty(t2); } else t2 = false; if (t2) t1.setState$1(new A._AutomaticKeepAliveState__createCallback___closure(t1)); }, $signature: 0 }; A._AutomaticKeepAliveState__createCallback___closure.prototype = { call$0() { }, $signature: 0 }; A.KeepAliveNotification.prototype = {}; A.KeepAliveHandle.prototype = {}; A.AutomaticKeepAliveClientMixin.prototype = { _ensureKeepAlive$0() { var t2, t1 = new A.KeepAliveHandle(A.List_List$filled(0, null, false, type$.nullable_void_Function)); this.AutomaticKeepAliveClientMixin__keepAliveHandle = t1; t2 = this._framework$_element; t2.toString; new A.KeepAliveNotification(t1).dispatch$1(t2); }, updateKeepAlive$0() { var t1, _this = this; if (_this.get$wantKeepAlive()) { if (_this.AutomaticKeepAliveClientMixin__keepAliveHandle == null) _this._ensureKeepAlive$0(); } else { t1 = _this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); _this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } } }, build$1(_, context) { if (this.get$wantKeepAlive() && this.AutomaticKeepAliveClientMixin__keepAliveHandle == null) this._ensureKeepAlive$0(); return B._NullWidget_null; } }; A._NullWidget1.prototype = { build$1(_, context) { throw A.wrapException(A.FlutterError_FlutterError("Widgets that mix AutomaticKeepAliveClientMixin into their State must call super.build() but must ignore the return value of the superclass.")); } }; A.Directionality.prototype = { updateShouldNotify$1(oldWidget) { return this.textDirection !== oldWidget.textDirection; } }; A.Opacity.prototype = { createRenderObject$1(context) { var t2, t1 = this.opacity; t1 = new A.RenderOpacity(B.JSNumber_methods.round$0(B.JSNumber_methods.clamp$2(t1, 0, 1) * 255), t1, false, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t2 = t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = t2; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$opacity(0, this.opacity); renderObject.set$alwaysIncludeSemantics(false); } }; A.BackdropFilter.prototype = { createRenderObject$1(context) { var t2, t1 = new A.RenderBackdropFilter(this.filter, B.BlendMode_3, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t2 = t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = t2; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$filter(0, this.filter); renderObject.set$blendMode(B.BlendMode_3); } }; A.CustomPaint.prototype = { createRenderObject$1(context) { var t1 = new A.RenderCustomPaint(this.painter, this.foregroundPainter, this.size, false, false, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$painter(this.painter); renderObject.set$foregroundPainter(this.foregroundPainter); renderObject.set$preferredSize(this.size); renderObject.willChange = renderObject.isComplex = false; }, didUnmountRenderObject$1(renderObject) { renderObject.set$painter(null); renderObject.set$foregroundPainter(null); } }; A.ClipRect.prototype = { createRenderObject$1(context) { var t1 = new A.RenderClipRect(this.clipper, B.Clip_1, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$clipper(this.clipper); renderObject.set$clipBehavior(B.Clip_1); }, didUnmountRenderObject$1(renderObject) { renderObject.set$clipper(null); } }; A.ClipRRect.prototype = { createRenderObject$1(context) { var t1 = new A.RenderClipRRect(this.borderRadius, null, B.Clip_2, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$borderRadius(0, this.borderRadius); renderObject.set$clipBehavior(B.Clip_2); renderObject.set$clipper(null); } }; A.ClipOval.prototype = { createRenderObject$1(context) { var t1 = new A.RenderClipOval(null, B.Clip_2, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$clipper(null); renderObject.set$clipBehavior(B.Clip_2); }, didUnmountRenderObject$1(renderObject) { renderObject.set$clipper(null); } }; A.ClipPath.prototype = { createRenderObject$1(context) { var t1 = new A.RenderClipPath(this.clipper, this.clipBehavior, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$clipper(this.clipper); renderObject.set$clipBehavior(this.clipBehavior); }, didUnmountRenderObject$1(renderObject) { renderObject.set$clipper(null); } }; A.PhysicalModel.prototype = { createRenderObject$1(context) { var _this = this, t1 = new A.RenderPhysicalModel(_this.shape, _this.borderRadius, _this.elevation, _this.shadowColor, _this.color, null, _this.clipBehavior, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.set$shape(0, _this.shape); renderObject.set$clipBehavior(_this.clipBehavior); renderObject.set$borderRadius(0, _this.borderRadius); renderObject.set$elevation(0, _this.elevation); renderObject.set$color(0, _this.color); renderObject.set$shadowColor(0, _this.shadowColor); } }; A.PhysicalShape.prototype = { createRenderObject$1(context) { var _this = this, t1 = new A.RenderPhysicalShape(_this.elevation, _this.shadowColor, _this.color, _this.clipper, _this.clipBehavior, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.set$clipper(_this.clipper); renderObject.set$clipBehavior(_this.clipBehavior); renderObject.set$elevation(0, _this.elevation); renderObject.set$color(0, _this.color); renderObject.set$shadowColor(0, _this.shadowColor); } }; A.Transform.prototype = { createRenderObject$1(context) { var t3, _this = this, t1 = A.Directionality_maybeOf(context), t2 = new A.RenderTransform(_this.transformHitTests, null, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t3 = t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = t3; t2.set$child(null); t2.set$transform(0, _this.transform); t2.set$alignment(_this.alignment); t2.set$textDirection(0, t1); t2.set$filterQuality(_this.filterQuality); t2.set$origin(0, null); return t2; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.set$transform(0, _this.transform); renderObject.set$origin(0, null); renderObject.set$alignment(_this.alignment); renderObject.set$textDirection(0, A.Directionality_maybeOf(context)); renderObject.transformHitTests = _this.transformHitTests; renderObject.set$filterQuality(_this.filterQuality); } }; A.CompositedTransformTarget.prototype = { createRenderObject$1(context) { var t1 = new A.RenderLeaderLayer(this.link, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$link(this.link); } }; A.CompositedTransformFollower.prototype = { createRenderObject$1(context) { var t1 = new A.RenderFollowerLayer(this.link, this.showWhenUnlinked, this.offset, B.Alignment_m1_m1, B.Alignment_m1_m1, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$link(this.link); renderObject.set$showWhenUnlinked(this.showWhenUnlinked); renderObject.set$offset(0, this.offset); renderObject.set$leaderAnchor(B.Alignment_m1_m1); renderObject.set$followerAnchor(B.Alignment_m1_m1); } }; A.FittedBox.prototype = { createRenderObject$1(context) { var t1 = new A.RenderFittedBox(this.fit, this.alignment, A.Directionality_maybeOf(context), this.clipBehavior, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1; renderObject.set$fit(this.fit); renderObject.set$alignment(this.alignment); renderObject.set$textDirection(0, A.Directionality_maybeOf(context)); t1 = this.clipBehavior; if (t1 !== renderObject._clipBehavior) { renderObject._clipBehavior = t1; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A.FractionalTranslation.prototype = { createRenderObject$1(context) { var t1 = new A.RenderFractionalTranslation(this.translation, this.transformHitTests, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$translation(this.translation); renderObject.transformHitTests = this.transformHitTests; } }; A.Padding.prototype = { createRenderObject$1(context) { var t1 = new A.RenderPadding(this.padding, A.Directionality_maybeOf(context), null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$padding(0, this.padding); renderObject.set$textDirection(0, A.Directionality_maybeOf(context)); } }; A.Align.prototype = { createRenderObject$1(context) { var t1 = new A.RenderPositionedBox(this.widthFactor, this.heightFactor, this.alignment, A.Directionality_maybeOf(context), null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$alignment(this.alignment); renderObject.set$widthFactor(this.widthFactor); renderObject.set$heightFactor(this.heightFactor); renderObject.set$textDirection(0, A.Directionality_maybeOf(context)); } }; A.Center.prototype = {}; A.CustomSingleChildLayout.prototype = { createRenderObject$1(context) { var t1 = new A.RenderCustomSingleChildLayoutBox(this.delegate, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$delegate(this.delegate); } }; A.LayoutId.prototype = { applyParentData$1(renderObject) { var t2, targetParent, t1 = renderObject.parentData; t1.toString; type$.MultiChildLayoutParentData._as(t1); t2 = this.id; if (t1.id !== t2) { t1.id = t2; targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } }, get$id(receiver) { return this.id; } }; A.CustomMultiChildLayout.prototype = { createRenderObject$1(context) { var t1 = new A.RenderCustomMultiChildLayoutBox(this.delegate, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$delegate(this.delegate); } }; A.SizedBox.prototype = { createRenderObject$1(context) { return A.RenderConstrainedBox$(A.BoxConstraints$tightFor(this.height, this.width)); }, updateRenderObject$2(context, renderObject) { renderObject.set$additionalConstraints(A.BoxConstraints$tightFor(this.height, this.width)); }, toStringShort$0() { var type, _this = this, t1 = _this.width; if (t1 === 1 / 0 && _this.height === 1 / 0) type = "SizedBox.expand"; else type = t1 === 0 && _this.height === 0 ? "SizedBox.shrink" : "SizedBox"; t1 = _this.key; return t1 == null ? type : type + "-" + t1.toString$0(0); } }; A.ConstrainedBox.prototype = { createRenderObject$1(context) { return A.RenderConstrainedBox$(this.constraints); }, updateRenderObject$2(context, renderObject) { renderObject.set$additionalConstraints(this.constraints); } }; A.ConstraintsTransformBox.prototype = { createRenderObject$1(context) { var _null = null, t1 = A.Directionality_maybeOf(context); t1 = new A.RenderConstraintsTransformBox(this.constraintsTransform, this.clipBehavior, B.Rect_0_0_0_0, B.Rect_0_0_0_0, A.LayerHandle$(type$.ClipRectLayer), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, this.alignment, t1, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(_null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = A.Directionality_maybeOf(context); renderObject.set$textDirection(0, t1); renderObject.set$constraintsTransform(this.constraintsTransform); renderObject.set$alignment(this.alignment); t1 = this.clipBehavior; if (t1 !== renderObject._shifted_box$_clipBehavior) { renderObject._shifted_box$_clipBehavior = t1; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A.UnconstrainedBox.prototype = { _axisToTransform$1(constrainedAxis) { switch (constrainedAxis.index) { case 0: return A.basic_ConstraintsTransformBox_heightUnconstrained$closure(); case 1: return A.basic_ConstraintsTransformBox_widthUnconstrained$closure(); } }, build$1(_, context) { return new A.ConstraintsTransformBox(null, B.Alignment_0_0, this._axisToTransform$1(this.constrainedAxis), B.Clip_0, this.child, null); } }; A.LimitedBox.prototype = { createRenderObject$1(context) { var t1 = new A.RenderLimitedBox(this.maxWidth, this.maxHeight, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$maxWidth(0, this.maxWidth); renderObject.set$maxHeight(0, this.maxHeight); } }; A.Offstage.prototype = { createRenderObject$1(context) { var t1 = new A.RenderOffstage(this.offstage, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$offstage(this.offstage); }, createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A._OffstageElement(t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); } }; A._OffstageElement.prototype = { get$widget() { return type$.Offstage._as(A.SingleChildRenderObjectElement.prototype.get$widget.call(this)); } }; A.AspectRatio.prototype = { createRenderObject$1(context) { var t1 = new A.RenderAspectRatio(this.aspectRatio, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$aspectRatio(0, this.aspectRatio); } }; A.IntrinsicWidth.prototype = { createRenderObject$1(context) { var t1 = this.stepWidth; if (t1 === 0) t1 = null; return A.RenderIntrinsicWidth$(null, t1); }, updateRenderObject$2(context, renderObject) { var t1 = this.stepWidth; renderObject.set$stepWidth(t1 === 0 ? null : t1); renderObject.set$stepHeight(null); } }; A.IntrinsicHeight.prototype = { createRenderObject$1(context) { var t1 = new A.RenderIntrinsicHeight(null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; } }; A.SliverPadding.prototype = { createRenderObject$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A.RenderSliverPadding(this.padding, t1.textDirection, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1; renderObject.set$padding(0, this.padding); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, t1.textDirection); } }; A.ListBody.prototype = { createRenderObject$1(context) { var t1 = new A.RenderListBody(A.getAxisDirectionFromAxisReverseAndDirectionality(context, B.Axis_1, false), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$axisDirection(A.getAxisDirectionFromAxisReverseAndDirectionality(context, B.Axis_1, false)); } }; A.Stack.prototype = { createRenderObject$1(context) { var t1 = A.Directionality_maybeOf(context); return A.RenderStack$(this.alignment, null, B.Clip_1, this.fit, t1); }, updateRenderObject$2(context, renderObject) { var t1; renderObject.set$alignment(this.alignment); t1 = A.Directionality_maybeOf(context); renderObject.set$textDirection(0, t1); t1 = this.fit; if (renderObject._stack$_fit !== t1) { renderObject._stack$_fit = t1; renderObject.markNeedsLayout$0(); } if (B.Clip_1 !== renderObject._stack$_clipBehavior) { renderObject._stack$_clipBehavior = B.Clip_1; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A.IndexedStack.prototype = { createRenderObject$1(context) { var t1 = A.Directionality_maybeOf(context); t1 = new A.RenderIndexedStack(this.index, this.alignment, t1, B.StackFit_0, B.Clip_1, A.LayerHandle$(type$.ClipRectLayer), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.index; if (renderObject._stack$_index != t1) { renderObject._stack$_index = t1; renderObject.markNeedsLayout$0(); } renderObject.set$alignment(this.alignment); t1 = A.Directionality_maybeOf(context); renderObject.set$textDirection(0, t1); } }; A.Positioned.prototype = { applyParentData$1(renderObject) { var t2, needsLayout, t3, targetParent, _this = this, t1 = renderObject.parentData; t1.toString; type$.StackParentData._as(t1); t2 = _this.left; if (t1.left != t2) { t1.left = t2; needsLayout = true; } else needsLayout = false; t2 = _this.top; if (t1.top != t2) { t1.top = t2; needsLayout = true; } t2 = _this.right; if (t1.right != t2) { t1.right = t2; needsLayout = true; } t2 = _this.bottom; if (t1.bottom != t2) { t1.bottom = t2; needsLayout = true; } t2 = _this.width; if (t1.width != t2) { t1.width = t2; needsLayout = true; } t2 = t1.height; t3 = _this.height; if (t2 == null ? t3 != null : t2 !== t3) { t1.height = t3; needsLayout = true; } if (needsLayout) { targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A.PositionedDirectional.prototype = { build$1(_, context) { var right, left, _this = this, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; right = _this.start; switch (t1.textDirection.index) { case 0: left = _null; break; case 1: left = right; right = _null; break; default: right = _null; left = right; } return A.Positioned$(_this.bottom, _this.child, _null, _null, left, right, _this.top, _this.width); } }; A.Flex.prototype = { get$_needTextDirection() { switch (this.direction.index) { case 0: return true; case 1: var t1 = this.crossAxisAlignment; return t1 === B.CrossAxisAlignment_0 || t1 === B.CrossAxisAlignment_1; } }, getEffectiveTextDirection$1(context) { var t1 = this.textDirection; if (t1 == null) t1 = this.get$_needTextDirection() ? A.Directionality_maybeOf(context) : null; return t1; }, createRenderObject$1(context) { var _this = this; return A.RenderFlex$(null, B.Clip_0, _this.crossAxisAlignment, _this.direction, _this.mainAxisAlignment, _this.mainAxisSize, _this.textBaseline, _this.getEffectiveTextDirection$1(context), _this.verticalDirection); }, updateRenderObject$2(context, renderObject) { var _this = this, t1 = _this.direction; if (renderObject._flex$_direction !== t1) { renderObject._flex$_direction = t1; renderObject.markNeedsLayout$0(); } t1 = _this.mainAxisAlignment; if (renderObject._mainAxisAlignment !== t1) { renderObject._mainAxisAlignment = t1; renderObject.markNeedsLayout$0(); } t1 = _this.mainAxisSize; if (renderObject._mainAxisSize !== t1) { renderObject._mainAxisSize = t1; renderObject.markNeedsLayout$0(); } t1 = _this.crossAxisAlignment; if (renderObject._flex$_crossAxisAlignment !== t1) { renderObject._flex$_crossAxisAlignment = t1; renderObject.markNeedsLayout$0(); } t1 = _this.getEffectiveTextDirection$1(context); if (renderObject._flex$_textDirection != t1) { renderObject._flex$_textDirection = t1; renderObject.markNeedsLayout$0(); } t1 = _this.verticalDirection; if (renderObject._flex$_verticalDirection !== t1) { renderObject._flex$_verticalDirection = t1; renderObject.markNeedsLayout$0(); } t1 = _this.textBaseline; if (renderObject._flex$_textBaseline != t1) { renderObject._flex$_textBaseline = t1; renderObject.markNeedsLayout$0(); } if (B.Clip_0 !== renderObject._flex$_clipBehavior) { renderObject._flex$_clipBehavior = B.Clip_0; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A.Row.prototype = {}; A.Column.prototype = {}; A.Flexible.prototype = { applyParentData$1(renderObject) { var t2, needsLayout, targetParent, t1 = renderObject.parentData; t1.toString; type$.FlexParentData._as(t1); t2 = this.flex; if (t1.flex !== t2) { t1.flex = t2; needsLayout = true; } else needsLayout = false; t2 = this.fit; if (t1.fit !== t2) { t1.fit = t2; needsLayout = true; } if (needsLayout) { targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A.Expanded.prototype = {}; A.Wrap.prototype = { createRenderObject$1(context) { var _this = this, t1 = A.Directionality_maybeOf(context); t1 = new A.RenderWrap(B.Axis_0, _this.alignment, _this.spacing, _this.runAlignment, _this.runSpacing, _this.crossAxisAlignment, t1, B.VerticalDirection_1, B.Clip_0, A.LayerHandle$(type$.ClipRectLayer), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$direction(0, B.Axis_0); renderObject.set$alignment(_this.alignment); renderObject.set$spacing(0, _this.spacing); renderObject.set$runAlignment(_this.runAlignment); renderObject.set$runSpacing(_this.runSpacing); renderObject.set$crossAxisAlignment(_this.crossAxisAlignment); t1 = A.Directionality_maybeOf(context); if (renderObject._wrap$_textDirection != t1) { renderObject._wrap$_textDirection = t1; renderObject.markNeedsLayout$0(); } if (renderObject._wrap$_verticalDirection !== B.VerticalDirection_1) { renderObject._wrap$_verticalDirection = B.VerticalDirection_1; renderObject.markNeedsLayout$0(); } if (B.Clip_0 !== renderObject._wrap$_clipBehavior) { renderObject._wrap$_clipBehavior = B.Clip_0; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A.RichText.prototype = { createRenderObject$1(context) { var t3, t4, t5, _this = this, _null = null, t1 = _this.text, t2 = _this.textDirection; if (t2 == null) { t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t2 = t2.textDirection; } t3 = _this.overflow; t4 = A.Localizations_maybeLocaleOf(context); t5 = t3 === B.TextOverflow_2 ? "\u2026" : _null; t3 = new A.RenderParagraph(A.TextPainter$(t5, t4, _this.maxLines, _this.strutStyle, t1, _this.textAlign, t2, _this.textHeightBehavior, _this.textScaleFactor, _this.textWidthBasis), _this.softWrap, t3, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t3.get$isRepaintBoundary(); t3.get$alwaysNeedsCompositing(); t3.__RenderObject__needsCompositing = false; t3.addAll$1(0, _null); t3._extractPlaceholderSpans$1(t1); return t3; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$text(0, _this.text); renderObject.set$textAlign(0, _this.textAlign); t1 = _this.textDirection; if (t1 == null) { t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; } renderObject.set$textDirection(0, t1); renderObject.set$softWrap(_this.softWrap); renderObject.set$overflow(0, _this.overflow); renderObject.set$textScaleFactor(_this.textScaleFactor); renderObject.set$maxLines(0, _this.maxLines); renderObject.set$strutStyle(0, _this.strutStyle); renderObject.set$textWidthBasis(_this.textWidthBasis); renderObject.set$textHeightBehavior(0, _this.textHeightBehavior); t1 = A.Localizations_maybeLocaleOf(context); renderObject.set$locale(0, t1); }, get$text(receiver) { return this.text; } }; A.RichText__extractChildren_closure.prototype = { call$1(span) { var t1, t2, _null = null; if (span instanceof A.WidgetSpan) { t1 = this._box_0.index++; t2 = "PlaceholderSpanIndexSemanticsTag(" + t1 + ")"; this.result.push(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, new A.PlaceholderSpanIndexSemanticsTag(t1, t2), _null, _null, _null, _null), false, false, false, span.child, _null)); } return true; }, $signature: 73 }; A.RawImage.prototype = { createRenderObject$1(context) { var _this = this, t1 = _this.image; t1 = t1 == null ? null : t1.clone$0(0); t1 = new A.RenderImage(t1, _this.debugImageLabel, _this.width, _this.height, _this.scale, _this.color, _this.opacity, _this.filterQuality, _this.colorBlendMode, _this.fit, _this.alignment, _this.repeat, _this.centerSlice, _this.invertColors, false, null, false, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1._updateColorFilter$0(); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this, t1 = _this.image; renderObject.set$image(0, t1 == null ? null : t1.clone$0(0)); renderObject.debugImageLabel = _this.debugImageLabel; renderObject.set$width(0, _this.width); renderObject.set$height(0, _this.height); renderObject.set$scale(0, _this.scale); renderObject.set$color(0, _this.color); renderObject.set$opacity(0, _this.opacity); renderObject.set$colorBlendMode(_this.colorBlendMode); renderObject.set$fit(_this.fit); renderObject.set$alignment(_this.alignment); renderObject.set$repeat(0, _this.repeat); renderObject.set$centerSlice(_this.centerSlice); renderObject.set$matchTextDirection(false); renderObject.set$textDirection(0, null); renderObject.set$invertColors(_this.invertColors); renderObject.set$isAntiAlias(false); renderObject.set$filterQuality(_this.filterQuality); }, didUnmountRenderObject$1(renderObject) { renderObject.set$image(0, null); } }; A.Listener.prototype = { createRenderObject$1(context) { var _this = this, _null = null, t1 = new A.RenderPointerListener(_this.onPointerDown, _null, _this.onPointerUp, _null, _this.onPointerCancel, _this.onPointerSignal, _this.behavior, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(_null); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this; renderObject.onPointerDown = _this.onPointerDown; renderObject.onPointerMove = null; renderObject.onPointerUp = _this.onPointerUp; renderObject.onPointerHover = null; renderObject.onPointerCancel = _this.onPointerCancel; renderObject.onPointerSignal = _this.onPointerSignal; renderObject.behavior = _this.behavior; } }; A.MouseRegion.prototype = { createState$0() { return new A._MouseRegionState(B._StateLifecycle_0); } }; A._MouseRegionState.prototype = { handleExit$1($event) { var t1 = this._widget.onExit; if (t1 != null && this._framework$_element != null) t1.call$1($event); }, getHandleExit$0() { return this._widget.onExit == null ? null : this.get$handleExit(); }, build$1(_, context) { return new A._RawMouseRegion(this, this._widget.child, null); } }; A._RawMouseRegion.prototype = { createRenderObject$1(context) { var t1 = this.owner, t2 = t1._widget; t2.toString; t2 = new A.RenderMouseRegion(true, t2.onEnter, t2.onHover, t1.getHandleExit$0(), t2.cursor, null, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; t2.set$child(null); return t2; }, updateRenderObject$2(context, renderObject) { var t1 = this.owner, t2 = t1._widget; t2.toString; renderObject.onEnter = t2.onEnter; renderObject.onHover = t2.onHover; renderObject.onExit = t1.getHandleExit$0(); t2 = t2.cursor; if (!renderObject._cursor.$eq(0, t2)) { renderObject._cursor = t2; renderObject.markNeedsPaint$0(); } } }; A.RepaintBoundary.prototype = { createRenderObject$1(context) { var t1 = new A.RenderRepaintBoundary(null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; } }; A.IgnorePointer.prototype = { createRenderObject$1(context) { var t1 = new A.RenderIgnorePointer(this.ignoring, this.ignoringSemantics, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$ignoring(this.ignoring); renderObject.set$ignoringSemantics(this.ignoringSemantics); } }; A.AbsorbPointer.prototype = { createRenderObject$1(context) { var t1 = new A.RenderAbsorbPointer(this.absorbing, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$absorbing(this.absorbing); renderObject.set$ignoringSemantics(null); } }; A.MetaData.prototype = { createRenderObject$1(context) { var t1 = new A.RenderMetaData(null, this.behavior, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.metaData = null; renderObject.behavior = this.behavior; } }; A.Semantics.prototype = { get$_effectiveAttributedLabel() { var t1 = this.properties.label; t1 = t1 == null ? null : new A.AttributedString(t1, B.List_empty3); return t1; }, get$_effectiveAttributedValue() { var t1 = this.properties.value; t1 = t1 == null ? null : new A.AttributedString(t1, B.List_empty3); return t1; }, get$_effectiveAttributedIncreasedValue() { var t1 = this.properties.increasedValue; t1 = t1 == null ? null : new A.AttributedString(t1, B.List_empty3); return t1; }, get$_effectiveAttributedDecreasedValue() { var t1 = this.properties.decreasedValue; t1 = t1 == null ? null : new A.AttributedString(t1, B.List_empty3); return t1; }, get$_effectiveAttributedHint() { return null; }, createRenderObject$1(context) { var _this = this, _null = null, t1 = _this.properties; t1 = new A.RenderSemanticsAnnotations(_this.container, _this.explicitChildNodes, _this.excludeSemantics, t1.checked, t1.enabled, t1.selected, t1.button, t1.slider, t1.keyboardKey, t1.link, t1.header, t1.textField, t1.readOnly, t1.focusable, t1.focused, t1.inMutuallyExclusiveGroup, t1.obscured, t1.multiline, t1.scopesRoute, t1.namesRoute, t1.hidden, t1.image, t1.liveRegion, t1.maxValueLength, t1.currentValueLength, t1.toggled, _this.get$_effectiveAttributedLabel(), _this.get$_effectiveAttributedValue(), _this.get$_effectiveAttributedIncreasedValue(), _this.get$_effectiveAttributedDecreasedValue(), _this.get$_effectiveAttributedHint(), t1.hintOverrides, _this._getTextDirection$1(context), t1.sortKey, t1.tagForChildren, t1.onTap, t1.onDismiss, t1.onLongPress, t1.onScrollLeft, t1.onScrollRight, t1.onScrollUp, t1.onScrollDown, t1.onIncrease, t1.onDecrease, t1.onCopy, t1.onCut, t1.onPaste, t1.onMoveCursorForwardByCharacter, t1.onMoveCursorBackwardByCharacter, _null, _null, t1.onSetSelection, t1.onSetText, t1.onDidGainAccessibilityFocus, t1.onDidLoseAccessibilityFocus, t1.customSemanticsActions, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(_null); return t1; }, _getTextDirection$1(context) { var containsText, t1 = this.properties, t2 = t1.textDirection; if (t2 != null) return t2; containsText = t1.label != null || t1.value != null || false; if (!containsText) return null; return A.Directionality_maybeOf(context); }, updateRenderObject$2(context, renderObject) { var t1, t2, _this = this; renderObject.set$container(_this.container); renderObject.set$explicitChildNodes(_this.explicitChildNodes); renderObject.set$excludeSemantics(_this.excludeSemantics); t1 = _this.properties; renderObject.set$scopesRoute(t1.scopesRoute); renderObject.set$enabled(0, t1.enabled); renderObject.set$checked(0, t1.checked); renderObject.set$toggled(t1.toggled); renderObject.set$selected(0, t1.selected); renderObject.set$button(0, t1.button); renderObject.set$slider(t1.slider); renderObject.set$keyboardKey(t1.keyboardKey); renderObject.set$link(t1.link); renderObject.set$header(t1.header); renderObject.set$textField(t1.textField); renderObject.set$readOnly(0, t1.readOnly); renderObject.set$focusable(t1.focusable); renderObject.set$focused(0, t1.focused); renderObject.set$inMutuallyExclusiveGroup(t1.inMutuallyExclusiveGroup); renderObject.set$obscured(t1.obscured); renderObject.set$multiline(0, t1.multiline); renderObject.set$hidden(0, t1.hidden); renderObject.set$image(0, t1.image); renderObject.set$liveRegion(t1.liveRegion); renderObject.set$maxValueLength(t1.maxValueLength); renderObject.set$currentValueLength(t1.currentValueLength); renderObject.set$attributedLabel(_this.get$_effectiveAttributedLabel()); renderObject.set$attributedValue(_this.get$_effectiveAttributedValue()); renderObject.set$attributedIncreasedValue(_this.get$_effectiveAttributedIncreasedValue()); renderObject.set$attributedDecreasedValue(_this.get$_effectiveAttributedDecreasedValue()); renderObject.set$attributedHint(_this.get$_effectiveAttributedHint()); renderObject.set$hintOverrides(t1.hintOverrides); renderObject.set$namesRoute(t1.namesRoute); renderObject.set$textDirection(0, _this._getTextDirection$1(context)); renderObject.set$sortKey(t1.sortKey); renderObject.set$tagForChildren(t1.tagForChildren); renderObject.set$onTap(t1.onTap); renderObject.set$onLongPress(t1.onLongPress); renderObject.set$onScrollLeft(t1.onScrollLeft); renderObject.set$onScrollRight(t1.onScrollRight); renderObject.set$onScrollUp(t1.onScrollUp); renderObject.set$onScrollDown(t1.onScrollDown); renderObject.set$onIncrease(t1.onIncrease); renderObject.set$onDismiss(t1.onDismiss); renderObject.set$onDecrease(t1.onDecrease); renderObject.set$onCopy(0, t1.onCopy); renderObject.set$onCut(0, t1.onCut); renderObject.set$onPaste(0, t1.onPaste); t2 = t1.onMoveCursorForwardByCharacter; renderObject.set$onMoveCursorForwardByCharacter(t2); renderObject.set$onMoveCursorBackwardByCharacter(t2); renderObject.set$onMoveCursorForwardByWord(null); renderObject.set$onMoveCursorBackwardByWord(null); renderObject.set$onSetSelection(t1.onSetSelection); renderObject.set$onSetText(t1.onSetText); renderObject.set$onDidGainAccessibilityFocus(t1.onDidGainAccessibilityFocus); renderObject.set$onDidLoseAccessibilityFocus(t1.onDidLoseAccessibilityFocus); renderObject.set$customSemanticsActions(t1.customSemanticsActions); } }; A.MergeSemantics.prototype = { createRenderObject$1(context) { var t1 = new A.RenderMergeSemantics(null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; } }; A.BlockSemantics.prototype = { createRenderObject$1(context) { var t1 = new A.RenderBlockSemantics(true, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$blocking(true); } }; A.ExcludeSemantics.prototype = { createRenderObject$1(context) { var t1 = new A.RenderExcludeSemantics(this.excluding, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$excluding(this.excluding); } }; A.IndexedSemantics.prototype = { createRenderObject$1(context) { var t1 = new A.RenderIndexedSemantics(this.index, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$index(0, this.index); } }; A.KeyedSubtree.prototype = { build$1(_, context) { return this.child; } }; A.Builder.prototype = { build$1(_, context) { return this.builder.call$1(context); } }; A.StatefulBuilder.prototype = { createState$0() { return new A._StatefulBuilderState(B._StateLifecycle_0); }, builder$2(arg0, arg1) { return this.builder.call$2(arg0, arg1); } }; A._StatefulBuilderState.prototype = { build$1(_, context) { return this._widget.builder$2(context, this.get$setState()); } }; A.ColoredBox.prototype = { createRenderObject$1(context) { var t1 = new A._RenderColoredBox(this.color, B.HitTestBehavior_1, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { type$._RenderColoredBox._as(renderObject).set$color(0, this.color); } }; A._RenderColoredBox.prototype = { set$color(_, value) { if (value.$eq(0, this._basic$_color)) return; this._basic$_color = value; this.markNeedsPaint$0(); }, paint$2(context, offset) { var t2, t3, t4, t5, t6, _this = this, t1 = _this._size; if (t1._dx > 0 && t1._dy > 0) { t1 = context.get$canvas(context); t2 = _this._size; t3 = offset._dx; t4 = offset._dy; t5 = t2._dx; t2 = t2._dy; t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$color(0, _this._basic$_color); t1.drawRect$2(0, new A.Rect(t3, t4, t3 + t5, t4 + t2), t6); } t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure.prototype = { call$1(parameters) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3(parameters); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_Object), $async$returnValue, data, result, 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 = $.RendererBinding__instance; if (t1 == null) data = null; else { t1 = A._lateReadCheck(t1.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode; t1.toString; result = t1.super$DiagnosticableTreeMixin$toStringDeep(B.DiagnosticLevel_2, "", ""); data = result; } $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["data", data == null ? "Render tree unavailable." : data], type$.String, type$.Object); // 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: 135 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0.prototype = { call$1(parameters) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure2(parameters); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure2(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_Object), $async$returnValue, data, 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 = $.RendererBinding__instance; if (t1 == null) data = null; else { t1 = A._lateReadCheck(t1.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.get$debugSemantics(); t1 = t1 == null ? null : t1.toStringDeep$0(); data = t1; } $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["data", data == null ? "Semantics not collected." : data], type$.String, type$.Object); // 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: 135 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1.prototype = { call$1(parameters) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1(parameters); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_Object), $async$returnValue, data, 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 = $.RendererBinding__instance; if (t1 == null) data = null; else { t1 = A._lateReadCheck(t1.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.get$debugSemantics(); t1 = t1 == null ? null : t1.toStringDeep$1$childOrder(B.DebugSemanticsDumpOrder_0); data = t1; } $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["data", data == null ? "Semantics not collected." : data], type$.String, type$.Object); // 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: 135 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure2.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $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 = $.debugProfilePaintsEnabled; // 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: 117 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3.prototype = { call$1(value) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0(value); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0(value) { 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 if ($.debugProfilePaintsEnabled !== value) $.debugProfilePaintsEnabled = value; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 123 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure4.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $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 = $.debugProfileLayoutsEnabled; // 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: 117 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure5.prototype = { call$1(value) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure(value); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure(value) { 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 if ($.debugProfileLayoutsEnabled !== value) $.debugProfileLayoutsEnabled = value; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 123 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure.prototype = { call$0() { var t2, result, _this = this, t1 = _this.hitTestResult; if (t1 == null || type$.PointerMoveEvent._is(_this.event)) { t1 = A._lateReadCheck(_this.$this.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode; t1.toString; t2 = _this.event; t2 = t2.get$position(t2); result = A.BoxHitTestResult$(); t1.hitTest$2$position(result, t2); t1 = result; } return t1; }, $signature: 619 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure.prototype = { call$1(timings) { J.forEach$1$ax(timings, this.$this.get$_profileFramePostEvent()); }, $signature: 192 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.double), $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 = $._timeDilation; // 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: 620 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure0.prototype = { call$1(value) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure(value); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure(value) { 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 A.timeDilation(value); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 621 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure.prototype = { call$1(message) { return this.$this.handleSystemMessage$1(type$.Object._as(message)); }, $signature: 58 }; A.WidgetsBindingObserver.prototype = { didPopRoute$0() { return A.Future_Future$value(false, type$.bool); }, didPushRoute$1(route) { return A.Future_Future$value(false, type$.bool); }, didPushRouteInformation$1(routeInformation) { var t1 = routeInformation.location; t1.toString; return this.didPushRoute$1(t1); }, didChangeMetrics$0() { }, didChangePlatformBrightness$0() { }, didChangeLocales$1(locales) { }, didChangeAppLifecycleState$1(state) { } }; A.WidgetsBinding.prototype = { handleLocaleChanged$0() { this.dispatchLocalesChanged$1($.$get$window().platformDispatcher._configuration.locales); }, dispatchLocalesChanged$1(locales) { var t1, t2, _i; for (t1 = this.WidgetsBinding__observers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].didChangeLocales$1(locales); }, handlePopRoute$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1, t2, _i; var $async$handlePopRoute$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 = A.List_List$from($async$self.WidgetsBinding__observers, true, type$.WidgetsBindingObserver), t2 = t1.length, _i = 0; case 3: // for condition if (!(_i < t2)) { // goto after for $async$goto = 5; break; } $async$goto = 6; return A._asyncAwait(t1[_i].didPopRoute$0(), $async$handlePopRoute$0); case 6: // returning from await. if ($async$result) { // goto return $async$goto = 1; break; } case 4: // for update ++_i; // goto for condition $async$goto = 3; break; case 5: // after for A.SystemNavigator_pop(); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handlePopRoute$0, $async$completer); }, handlePushRoute$1(route) { return this.handlePushRoute$body$WidgetsBinding(route); }, handlePushRoute$body$WidgetsBinding(route) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1, t2, _i; var $async$handlePushRoute$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 = A.List_List$from($async$self.WidgetsBinding__observers, true, type$.WidgetsBindingObserver), t2 = t1.length, _i = 0; case 3: // for condition if (!(_i < t2)) { // goto after for $async$goto = 5; break; } $async$goto = 6; return A._asyncAwait(t1[_i].didPushRoute$1(route), $async$handlePushRoute$1); case 6: // returning from await. if ($async$result) { // goto return $async$goto = 1; break; } case 4: // for update ++_i; // goto for condition $async$goto = 3; break; case 5: // after for case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handlePushRoute$1, $async$completer); }, _handlePushRouteInformation$1(routeArguments) { return this._handlePushRouteInformation$body$WidgetsBinding(routeArguments); }, _handlePushRouteInformation$body$WidgetsBinding(routeArguments) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, t1, t2, t3, _i; var $async$_handlePushRouteInformation$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 = A.List_List$from($async$self.WidgetsBinding__observers, true, type$.WidgetsBindingObserver), t2 = t1.length, t3 = J.getInterceptor$asx(routeArguments), _i = 0; case 3: // for condition if (!(_i < t2)) { // goto after for $async$goto = 5; break; } $async$goto = 6; return A._asyncAwait(t1[_i].didPushRouteInformation$1(new A.RouteInformation(A._asString(t3.$index(routeArguments, "location")), t3.$index(routeArguments, "state"))), $async$_handlePushRouteInformation$1); case 6: // returning from await. if ($async$result) { // goto return $async$goto = 1; break; } case 4: // for update ++_i; // goto for condition $async$goto = 3; break; case 5: // after for case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_handlePushRouteInformation$1, $async$completer); }, _handleNavigationInvocation$1(methodCall) { switch (methodCall.method) { case "popRoute": return this.handlePopRoute$0(); case "pushRoute": return this.handlePushRoute$1(A._asString(methodCall.$arguments)); case "pushRouteInformation": return this._handlePushRouteInformation$1(type$.Map_dynamic_dynamic._as(methodCall.$arguments)); } return A.Future_Future$value(null, type$.dynamic); }, _handleBuildScheduled$0() { this.ensureVisualUpdate$0(); }, scheduleAttachRootWidget$1(rootWidget) { A.Timer_Timer(B.Duration_0, new A.WidgetsBinding_scheduleAttachRootWidget_closure(this, rootWidget)); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure.prototype = { call$1(parameters) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3(parameters); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3(parameters) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_Object), $async$returnValue, 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 = "" + (J.get$runtimeType$($.WidgetsBinding__instance).toString$0(0) + " - PROFILE MODE\n"); t2 = $.WidgetsBinding__instance.WidgetsBinding__renderViewElement; if (t2 != null) { t2.toDiagnosticsNode$0(); t1 += "\n"; } else t1 += "<no tree currently mounted>\n"; $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["data", t1.charCodeAt(0) == 0 ? t1 : t1], type$.String, type$.Object); // 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: 135 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0.prototype = { call$1(_) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2(_); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$self = this; 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 = A.LinkedHashMap_LinkedHashMap$_literal(["enabled", $async$self.$this.WidgetsBinding__needToReportFirstFrame ? "false" : "true"], 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: 94 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1.prototype = { call$1(_) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1(_); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_dynamic), $async$returnValue, $async$self = this; 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 = A.LinkedHashMap_LinkedHashMap$_literal(["enabled", ($async$self.$this.WidgetsBinding__firstFrameCompleter.future._state & 30) !== 0 ? "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: 94 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2.prototype = { call$1(params) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0(params); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0(params) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Map_String_String), $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, className; 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 className = A._asStringQ(J.$index$asx(params, "className")); A.throwExpression(A.FlutterError_FlutterError("Cannot instantiate DebugReassembleConfig in profile or release mode.")); $.BindingBase_debugReassembleConfig = new A.DebugReassembleConfig(className); $async$handler = 3; t1 = $async$self.$this; $async$goto = 6; return A._asyncAwait(t1.lockEvents$1(t1.get$performReassemble()), $async$call$1); case 6: // returning from await. $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // uncaught $async$next = [2]; case 4: // finally $async$handler = 2; $.BindingBase_debugReassembleConfig = null; // goto the next finally handler $async$goto = $async$next.pop(); break; case 5: // after finally t1 = type$.String; $async$returnValue = A.LinkedHashMap_LinkedHashMap$_literal(["type", "Success"], t1, t1); // 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$1, $async$completer); }, $signature: 622 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3.prototype = { call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $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 = $.debugProfileBuildsEnabled; // 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: 117 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure4.prototype = { call$1(value) { return this.$call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure(value); }, $call$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure(value) { 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 if ($.debugProfileBuildsEnabled !== value) $.debugProfileBuildsEnabled = value; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 123 }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_drawFrame_closure.prototype = { call$1(timings) { var t2, t3, t1 = $.$get$_FakeUserTag__defaultTag(); $.$get$_currentTag(); $._currentTag = t1; A.Timeline_instantSync("Rasterized first useful frame", null); A.postEvent("Flutter.FirstFrame", A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic)); t1 = $.SchedulerBinding__instance; t1.toString; t2 = this._box_0; t3 = t2.firstFrameCallback; t3.toString; t1.removeTimingsCallback$1(t3); t2.firstFrameCallback = null; this.$this.WidgetsBinding__firstFrameCompleter.complete$0(0); }, $signature: 192 }; A.WidgetsBinding_scheduleAttachRootWidget_closure.prototype = { call$0() { var t3, t4, t1 = this.$this, t2 = t1.WidgetsBinding__renderViewElement; t1.WidgetsBinding__readyToProduceFrames = true; t3 = A._lateReadCheck(t1.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode; t3.toString; t4 = t1.WidgetsBinding__buildOwner; t4.toString; t1.WidgetsBinding__renderViewElement = new A.RenderObjectToWidgetAdapter(this.rootWidget, t3, "[root]", new A.GlobalObjectKey(t3, type$.GlobalObjectKey_State_StatefulWidget), type$.RenderObjectToWidgetAdapter_RenderBox).attachToRenderTree$2(t4, type$.nullable_RenderObjectToWidgetElement_RenderBox._as(t1.WidgetsBinding__renderViewElement)); if (t2 == null) $.SchedulerBinding__instance.ensureVisualUpdate$0(); }, $signature: 0 }; A.RenderObjectToWidgetAdapter.prototype = { createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.RenderObjectToWidgetElement(t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2), this.$ti._eval$1("RenderObjectToWidgetElement<1>")); }, createRenderObject$1(context) { return this.container; }, updateRenderObject$2(context, renderObject) { }, attachToRenderTree$2(owner, element) { var t2, t1 = {}; t1.element = element; if (element == null) { owner.lockState$1(new A.RenderObjectToWidgetAdapter_attachToRenderTree_closure(t1, this, owner)); t2 = t1.element; t2.toString; owner.buildScope$2(t2, new A.RenderObjectToWidgetAdapter_attachToRenderTree_closure0(t1)); } else { element._newWidget = this; element.markNeedsBuild$0(); } t1 = t1.element; t1.toString; return t1; }, toStringShort$0() { return this.debugShortDescription; } }; A.RenderObjectToWidgetAdapter_attachToRenderTree_closure.prototype = { call$0() { var t1 = this.$this, element = A.RenderObjectToWidgetElement$(t1, t1.$ti._precomputed1); this._box_0.element = element; element._owner = this.owner; }, $signature: 0 }; A.RenderObjectToWidgetAdapter_attachToRenderTree_closure0.prototype = { call$0() { var t1 = this._box_0.element; t1.toString; t1.super$RootRenderObjectElement$mount(null, null); t1._rebuild$0(); }, $signature: 0 }; A.RenderObjectToWidgetElement.prototype = { get$widget() { return this.$ti._eval$1("RenderObjectToWidgetAdapter<1>")._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, visitChildren$1(visitor) { var t1 = this._child; if (t1 != null) visitor.call$1(t1); }, forgetChild$1(child) { this._child = null; this.super$Element$forgetChild(child); }, mount$2($parent, newSlot) { this.super$RootRenderObjectElement$mount($parent, newSlot); this._rebuild$0(); }, update$1(_, newWidget) { this.super$RenderObjectElement$update(0, newWidget); this._rebuild$0(); }, performRebuild$0() { var _this = this, t1 = _this._newWidget; if (t1 != null) { _this._newWidget = null; _this.super$RenderObjectElement$update(0, _this.$ti._eval$1("RenderObjectToWidgetAdapter<1>")._as(t1)); _this._rebuild$0(); } _this.super$RenderObjectElement$performRebuild(); }, _rebuild$0() { var exception, stack, details, error, exception0, t1, _this = this; try { _this._child = _this.updateChild$3(_this._child, _this.$ti._eval$1("RenderObjectToWidgetAdapter<1>")._as(A.RenderObjectElement.prototype.get$widget.call(_this)).child, B.C_Object); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("attaching to the render tree"); details = new A.FlutterErrorDetails(exception, stack, "widgets library", t1, null, false); A.FlutterError_reportError(details); error = A.ErrorWidget__defaultErrorWidgetBuilder(details); _this._child = _this.updateChild$3(null, error, B.C_Object); } }, get$renderObject() { return this.$ti._eval$1("RenderObjectWithChildMixin<1>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, insertRenderObjectChild$2(child, slot) { var t1 = this.$ti; t1._eval$1("RenderObjectWithChildMixin<1>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(t1._precomputed1._as(child)); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { this.$ti._eval$1("RenderObjectWithChildMixin<1>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(null); } }; A.WidgetsFlutterBinding.prototype = {$isHitTestTarget: 1}; A._WidgetsFlutterBinding_BindingBase_GestureBinding.prototype = { initInstances$0() { this.super$BindingBase$initInstances(); $.GestureBinding__instance = this; var t1 = $.$get$window().platformDispatcher; t1._onPointerDataPacket = this.get$_handlePointerDataPacket(); t1._onPointerDataPacketZone = $.Zone__current; }, unlocked$0() { this.super$BindingBase$unlocked(); this._flushPointerEventQueue$0(); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding.prototype = { initInstances$0() { var _this = this; _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding$initInstances(); $.SchedulerBinding__instance = _this; _this.addTimingsCallback$1(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initInstances_closure(_this)); }, initServiceExtensions$0() { this.super$BindingBase$initServiceExtensions(); this.registerNumericServiceExtension$3$getter$name$setter(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure(), "timeDilation", new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_initServiceExtensions_closure0()); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding.prototype = { initInstances$0() { var t1, t2, _this = this, _s9_ = "_keyboard", _s16_ = "_keyEventManager"; _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding$initInstances(); $.ServicesBinding__instance = _this; A._lateWriteOnceCheck(_this.ServicesBinding___ServicesBinding__defaultBinaryMessenger, "_defaultBinaryMessenger"); _this.ServicesBinding___ServicesBinding__defaultBinaryMessenger = B.C__DefaultBinaryMessenger; t1 = new A.RestorationManager(A.LinkedHashSet_LinkedHashSet$_empty(type$.RestorationBucket), A.List_List$filled(0, null, false, type$.nullable_void_Function)); B.OptionalMethodChannel_wEo.setMethodCallHandler$1(t1.get$_methodHandler()); _this.ServicesBinding___ServicesBinding__restorationManager = t1; t1 = new A.HardwareKeyboard(A.LinkedHashMap_LinkedHashMap$_empty(type$.PhysicalKeyboardKey, type$.LogicalKeyboardKey), A.LinkedHashSet_LinkedHashSet$_empty(type$.KeyboardLockMode), A._setArrayType([], type$.JSArray_of_bool_Function_KeyEvent)); A._lateWriteOnceCheck(_this.ServicesBinding___ServicesBinding__keyboard, _s9_); _this.ServicesBinding___ServicesBinding__keyboard = t1; t1 = new A.KeyEventManager(A._lateReadCheck(t1, _s9_), $.$get$RawKeyboard_instance(), A._setArrayType([], type$.JSArray_KeyEvent)); A._lateWriteOnceCheck(_this.ServicesBinding___ServicesBinding__keyEventManager, _s16_); _this.ServicesBinding___ServicesBinding__keyEventManager = t1; t2 = $.$get$window(); t1 = A._lateReadCheck(t1, _s16_).get$handleKeyData(); t2 = t2.platformDispatcher; t2._onKeyData = t1; t2._onKeyDataZone = $.Zone__current; B.BasicMessageChannel_kqo.setMessageHandler$1(A._lateReadCheck(_this.ServicesBinding___ServicesBinding__keyEventManager, _s16_).get$handleRawKeyMessage()); t1 = $.LicenseRegistry__collectors; if (t1 == null) t1 = $.LicenseRegistry__collectors = A._setArrayType([], type$.JSArray_of_Stream_LicenseEntry_Function); t1.push(_this.get$_addLicenses()); B.BasicMessageChannel_MYE.setMessageHandler$1(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_initInstances_closure(_this)); B.BasicMessageChannel_5UB.setMessageHandler$1(_this.get$_handleLifecycleMessage()); B.OptionalMethodChannel_0.setMethodCallHandler$1(_this.get$_handlePlatformMessage()); _this.readInitialLifecycleStateFromNativeWindow$0(); }, initServiceExtensions$0() { this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding$initServiceExtensions(); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding.prototype = { initInstances$0() { this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding$initInstances(); $.PaintingBinding__instance = this; var t1 = type$.Object; this.PaintingBinding__imageCache = new A.ImageCache(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._PendingImage), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._CachedImage), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._LiveImage)); }, handleMemoryPressure$0() { this.super$ServicesBinding$handleMemoryPressure(); var t1 = this.PaintingBinding__imageCache; if (t1 != null) t1.clear$0(0); }, handleSystemMessage$1(systemMessage) { return this.handleSystemMessage$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding(systemMessage); }, handleSystemMessage$body$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding(systemMessage) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this; var $async$handleSystemMessage$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 = 3; return A._asyncAwait($async$self.super$ServicesBinding$handleSystemMessage(systemMessage), $async$handleSystemMessage$1); case 3: // returning from await. switch (A._asString(J.$index$asx(type$.Map_String_dynamic._as(systemMessage), "type"))) { case "fontsChange": $async$self.PaintingBinding__systemFonts.notifyListeners$0(); break; } // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$handleSystemMessage$1, $async$completer); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding.prototype = { initInstances$0() { this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding$initInstances(); $.SemanticsBinding__instance = this; this.SemanticsBinding___SemanticsBinding__accessibilityFeatures = $.$get$window().platformDispatcher._configuration.accessibilityFeatures; } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding.prototype = { initInstances$0() { var t1, t2, t3, t4, _this = this, _s14_ = "_pipelineOwner"; _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding$initInstances(); $.RendererBinding__instance = _this; t1 = type$.JSArray_RenderObject; _this.RendererBinding___RendererBinding__pipelineOwner = new A.PipelineOwner(_this.get$ensureVisualUpdate(), _this.get$_handleSemanticsOwnerCreated(), _this.get$_handleSemanticsOwnerDisposed(), A._setArrayType([], t1), A._setArrayType([], t1), A._setArrayType([], t1), A.LinkedHashSet_LinkedHashSet$_empty(type$.RenderObject)); t1 = $.$get$window(); t2 = t1.platformDispatcher; t2._onMetricsChanged = _this.get$handleMetricsChanged(); t3 = t2._onMetricsChangedZone = $.Zone__current; t2._onPlatformBrightnessChanged = _this.get$handlePlatformBrightnessChanged(); t2._onPlatformBrightnessChangedZone = t3; t2._onSemanticsEnabledChanged = _this.get$_handleSemanticsEnabledChanged(); t2._onSemanticsEnabledChangedZone = t3; t2._onSemanticsAction = _this.get$_handleSemanticsAction(); t2._onSemanticsActionZone = t3; t1 = new A.RenderView(B.Size_0_0, _this.createViewConfiguration$0(), t1, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_).set$rootNode(t1); t1 = A._lateReadCheck(_this.RendererBinding___RendererBinding__pipelineOwner, _s14_)._rootNode; t1._relayoutBoundary = t1; t3 = type$.nullable_PipelineOwner; t3._as(A.AbstractNode.prototype.get$owner.call(t1))._nodesNeedingLayout.push(t1); t4 = t1._updateMatricesAndCreateNewRootLayer$0(); t1._layerHandle.set$layer(0, t4); t3._as(A.AbstractNode.prototype.get$owner.call(t1))._nodesNeedingPaint.push(t1); _this.setSemanticsEnabled$1(t2._configuration.semanticsEnabled); _this.SchedulerBinding__persistentCallbacks.push(_this.get$_handlePersistentFrameCallback()); t1 = type$.int; t2 = A.List_List$filled(0, null, false, type$.nullable_void_Function); _this.RendererBinding__mouseTracker = new A.MouseTracker(new A.MouseCursorManager(B.SystemMouseCursor_basic, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MouseCursorSession)), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$._MouseState), t2); _this.SchedulerBinding__postFrameCallbacks.push(_this.get$_handleWebFirstFrame()); }, initServiceExtensions$0() { var _this = this; _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding$initServiceExtensions(); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure(), "debugDumpRenderTree"); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure0(), "debugDumpSemanticsTreeInTraversalOrder"); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure1(), "debugDumpSemanticsTreeInInverseHitTestOrder"); _this.registerBoolServiceExtension$3$getter$name$setter(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure2(), "profileRenderObjectPaints", new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure3()); _this.registerBoolServiceExtension$3$getter$name$setter(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure4(), "profileRenderObjectLayouts", new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_initServiceExtensions_closure5()); }, dispatchEvent$2(_, $event, hitTestResult) { this.RendererBinding__mouseTracker.updateWithEvent$2($event, new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_dispatchEvent_closure(this, hitTestResult, $event)); this.super$GestureBinding$dispatchEvent(0, $event, hitTestResult); }, performReassemble$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$next = [], $async$self = this, t1; var $async$performReassemble$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.super$BindingBase$performReassemble(), $async$performReassemble$0); case 2: // returning from await. t1 = $.BindingBase_debugReassembleConfig; if ((t1 == null ? null : t1.widgetName) == null) { A.Timeline_startSync("Dirty Render Tree", B.Map_9aZ6I, null); try { A._lateReadCheck($async$self.RendererBinding___RendererBinding__pipelineOwner, "_pipelineOwner")._rootNode.reassemble$0(); } finally { A.Timeline_finishSync(); } } $async$self.scheduleWarmUpFrame$0(); $async$goto = 3; return A._asyncAwait($async$self.get$endOfFrame(), $async$performReassemble$0); case 3: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$performReassemble$0, $async$completer); } }; A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding.prototype = { initServiceExtensions$0() { var _this = this; _this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding$initServiceExtensions(); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure(), "debugDumpApp"); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure0(_this), "didSendFirstFrameEvent"); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure1(_this), "didSendFirstFrameRasterizedEvent"); _this.registerServiceExtension$2$callback$name(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure2(_this), "fastReassemble"); _this.registerBoolServiceExtension$3$getter$name$setter(new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure3(), "profileWidgetBuilds", new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_initServiceExtensions_closure4()); }, handleMetricsChanged$0() { var t1, t2, _i; this.super$RendererBinding$handleMetricsChanged(); for (t1 = this.WidgetsBinding__observers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].didChangeMetrics$0(); }, handlePlatformBrightnessChanged$0() { var t1, t2, _i; this.super$RendererBinding$handlePlatformBrightnessChanged(); for (t1 = this.WidgetsBinding__observers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].didChangePlatformBrightness$0(); }, handleAppLifecycleStateChanged$1(state) { var t1, t2, _i; this.super$SchedulerBinding$handleAppLifecycleStateChanged(state); for (t1 = this.WidgetsBinding__observers, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].didChangeAppLifecycleState$1(state); }, handleMemoryPressure$0() { var t1, _i; this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding$handleMemoryPressure(); for (t1 = this.WidgetsBinding__observers.length, _i = 0; _i < t1; ++_i) ; }, drawFrame$0() { var firstFrameCallback, t2, _this = this, t1 = {}; t1.firstFrameCallback = null; if (_this.WidgetsBinding__needToReportFirstFrame) { firstFrameCallback = new A._WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding_WidgetsBinding_drawFrame_closure(t1, _this); t1.firstFrameCallback = firstFrameCallback; $.SchedulerBinding__instance.addTimingsCallback$1(firstFrameCallback); } try { t2 = _this.WidgetsBinding__renderViewElement; if (t2 != null) _this.WidgetsBinding__buildOwner.buildScope$1(t2); _this.super$RendererBinding$drawFrame(); _this.WidgetsBinding__buildOwner.finalizeTree$0(); } finally { } if (_this.WidgetsBinding__needToReportFirstFrame) t2 = _this.RendererBinding__firstFrameSent || _this.RendererBinding__firstFrameDeferredCount === 0; else t2 = false; if (t2) A.Timeline_instantSync("Widgets built first useful frame", null); t2 = _this.WidgetsBinding__needToReportFirstFrame = false; t1 = t1.firstFrameCallback; if (t1 != null) t2 = !(_this.RendererBinding__firstFrameSent || _this.RendererBinding__firstFrameDeferredCount === 0); if (t2) { _this.WidgetsBinding__needToReportFirstFrame = true; t2 = $.SchedulerBinding__instance; t2.toString; t1.toString; t2.removeTimingsCallback$1(t1); } }, performReassemble$0() { var t1 = this.WidgetsBinding__renderViewElement; if (t1 != null) this.WidgetsBinding__buildOwner.reassemble$2(t1, $.BindingBase_debugReassembleConfig); return this.super$_WidgetsFlutterBinding_BindingBase_GestureBinding_SchedulerBinding_ServicesBinding_PaintingBinding_SemanticsBinding_RendererBinding$performReassemble(); } }; A.DecoratedBox.prototype = { createRenderObject$1(context) { var t1 = new A.RenderDecoratedBox(this.decoration, this.position, A.createLocalImageConfiguration(context, null), null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$decoration(0, this.decoration); renderObject.set$configuration(A.createLocalImageConfiguration(context, null)); renderObject.set$position(0, this.position); } }; A.Container.prototype = { get$_paddingIncludingDecoration() { var decorationPadding, t1 = this.decoration; if (t1 == null || t1.get$padding(t1) == null) return this.padding; decorationPadding = t1.get$padding(t1); t1 = this.padding; if (t1 == null) return decorationPadding; decorationPadding.toString; return t1.add$1(0, decorationPadding); }, build$1(_, context) { var t1, effectivePadding, t2, t3, _this = this, _null = null, current = _this.child; if (current == null) { t1 = _this.constraints; if (t1 != null) t1 = !(t1.minWidth >= t1.maxWidth && t1.minHeight >= t1.maxHeight); else t1 = true; } else t1 = false; if (t1) current = A.LimitedBox$(new A.ConstrainedBox(B.BoxConstraints_ALM, _null, _null), 0, 0); t1 = _this.alignment; if (t1 != null) current = new A.Align(t1, _null, _null, current, _null); effectivePadding = _this.get$_paddingIncludingDecoration(); if (effectivePadding != null) current = new A.Padding(effectivePadding, current, _null); t1 = _this.color; if (t1 != null) current = new A.ColoredBox(t1, current, _null); t1 = _this.clipBehavior; if (t1 !== B.Clip_0) { t2 = A.Directionality_maybeOf(context); t3 = _this.decoration; t3.toString; current = A.ClipPath$(current, t1, new A._DecorationClipper(t2 == null ? B.TextDirection_1 : t2, t3, _null)); } t1 = _this.decoration; if (t1 != null) current = A.DecoratedBox$(current, t1, B.DecorationPosition_0); t1 = _this.foregroundDecoration; if (t1 != null) current = A.DecoratedBox$(current, t1, B.DecorationPosition_1); t1 = _this.constraints; if (t1 != null) current = new A.ConstrainedBox(t1, current, _null); t1 = _this.margin; if (t1 != null) current = new A.Padding(t1, current, _null); t1 = _this.transform; if (t1 != null) current = A.Transform$(_this.transformAlignment, current, t1, true); current.toString; return current; } }; A._DecorationClipper.prototype = { getClip$1(size) { return this.decoration.getClipPath$2(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), this.textDirection); }, shouldReclip$1(oldClipper) { return !oldClipper.decoration.$eq(0, this.decoration) || oldClipper.textDirection !== this.textDirection; } }; A.DefaultTextEditingActions.prototype = {}; A._DoNothingAndStopPropagationTextAction.prototype = { consumesKey$1(intent) { return false; }, invoke$2(intent, context) { }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().delete$1(0, B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().deleteByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().deleteByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteForwardTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().deleteForward$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteForwardByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().deleteForwardByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._DeleteForwardByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().deleteForwardByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExpandSelectionLeftByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().expandSelectionLeftByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExpandSelectionRightByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().expandSelectionRightByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExpandSelectionToEndTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().expandSelectionToEnd$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExpandSelectionToStartTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().expandSelectionToStart$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionDownTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionDown$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionLeftByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionLeftByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionLeftByWordAndStopAtReversalTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionLeftByWord$3(B.SelectionChangedCause_4, false, true); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionLeftByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionLeftByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionLeftTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionLeft$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionRightByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionRightByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionRightByWordAndStopAtReversalTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionRightByWord$3(B.SelectionChangedCause_4, false, true); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionRightByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionRightByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionRightTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionRight$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._ExtendSelectionUpTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().extendSelectionUp$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionDownTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionDown$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionLeftTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionLeft$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionRightTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionRight$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionUpTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionUp$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionLeftByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionLeftByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionLeftByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionLeftByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionRightByLineTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionRightByLine$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionRightByWordTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionRightByWord$2(B.SelectionChangedCause_4, false); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionToEndTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().moveSelectionToEnd$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._MoveSelectionToStartTextAction.prototype = { invoke$2(intent, context) { var t1 = this.get$textEditingActionTarget(); t1.toString; t1.setSelection$2(A.TextSelection$fromPosition(B.TextPosition_0_TextAffinity_0), B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._SelectAllTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().selectAll$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._CopySelectionTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().copySelection$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._CutSelectionTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().cutSelection$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A._PasteTextAction.prototype = { invoke$2(intent, context) { this.get$textEditingActionTarget().pasteText$1(B.SelectionChangedCause_4); }, invoke$1(intent) { return this.invoke$2(intent, null); } }; A.DefaultTextEditingShortcuts.prototype = {}; A.DisposableBuildContext.prototype = { get$context(_) { var t1 = this._disposable_build_context$_state; if (t1 == null) return null; t1 = t1._framework$_element; t1.toString; return t1; } }; A.TextEditingController.prototype = { get$text(_) { return this._change_notifier$_value.text; }, set$text(_, newText) { this.super$ValueNotifier$value(0, this._change_notifier$_value.copyWith$3$composing$selection$text(B.TextRange_m1_m1, B.TextSelection_ke5, newText)); }, buildTextSpan$3$context$style$withComposing(context, style, withComposing) { var t3, composingStyle, _null = null, t1 = this._change_notifier$_value, t2 = t1.composing; if (t2.get$isValid()) { t3 = t2.end; t1 = t3 >= t2.start && t3 <= t1.text.length; } else t1 = false; if (!t1 || !withComposing) return A.TextSpan$(_null, _null, _null, _null, style, this._change_notifier$_value.text); composingStyle = style.merge$1(B.TextStyle_3WR); t1 = this._change_notifier$_value; t2 = t1.composing; t1 = t1.text; t3 = t2.start; t2 = t2.end; return A.TextSpan$(A._setArrayType([A.TextSpan$(_null, _null, _null, _null, _null, B.JSString_methods.substring$2(t1, 0, t3)), A.TextSpan$(_null, _null, _null, _null, composingStyle, B.JSString_methods.substring$2(t1, t3, t2)), A.TextSpan$(_null, _null, _null, _null, _null, B.JSString_methods.substring$1(t1, t2))], type$.JSArray_TextSpan), _null, _null, _null, style, _null); }, set$selection(newSelection) { var t1, t2, t3, newComposing, _this = this; if (!_this.isSelectionWithinTextBounds$1(newSelection)) throw A.wrapException(A.FlutterError_FlutterError("invalid text selection: " + newSelection.toString$0(0))); t1 = newSelection.start; t2 = newSelection.end; if (t1 === t2) { t3 = _this._change_notifier$_value.composing; t1 = t1 >= t3.start && t2 <= t3.end; } else t1 = false; newComposing = t1 ? _this._change_notifier$_value.composing : B.TextRange_m1_m1; _this.super$ValueNotifier$value(0, _this._change_notifier$_value.copyWith$2$composing$selection(newComposing, newSelection)); }, isSelectionWithinTextBounds$1(selection) { var t1 = this._change_notifier$_value.text.length; return selection.start <= t1 && selection.end <= t1; } }; A.ToolbarOptions.prototype = {}; A.EditableText.prototype = { get$strutStyle(_) { var t2, t1 = this._editable_text$_strutStyle; if (t1 == null) { t1 = this.style; t2 = t1.get$fontFamilyFallback(); return new A.StrutStyle(t1.fontFamily, t2, t1.fontSize, t1.height, t1.fontWeight, t1.fontStyle, null, true, t1.debugLabel); } return t1.inheritFromTextStyle$1(this.style); }, createState$0() { var _null = null; return new A.EditableTextState(new A.ValueNotifier(true, A.List_List$filled(0, _null, false, type$.nullable_void_Function), type$.ValueNotifier_bool), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget), new A.LayerLink(), new A.LayerLink(), new A.LayerLink(), -1, false, _null, _null, B._StateLifecycle_0); } }; A.EditableTextState.prototype = { get$_scrollController() { this._widget.toString; var t1 = this._internalScrollController; if (t1 == null) { t1 = A.ScrollController$(null, 0, true); this._internalScrollController = t1; } return t1; }, get$_cursorBlinkOpacityController() { var result, t1, _this = this, value = _this.__EditableTextState__cursorBlinkOpacityController; if (value === $) { result = A.AnimationController$(null, B.Duration_250000, null, 1, null, _this); result.didRegisterListener$0(); t1 = result.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_onCursorColorTick()); A._lateInitializeOnceCheck(_this.__EditableTextState__cursorBlinkOpacityController, "_cursorBlinkOpacityController"); _this.__EditableTextState__cursorBlinkOpacityController = result; value = result; } return value; }, get$_floatingCursorResetController() { var result, t1, _this = this, _null = null, value = _this.__EditableTextState__floatingCursorResetController; if (value === $) { result = A.AnimationController$(_null, _null, _null, 1, _null, _this); result.didRegisterListener$0(); t1 = result.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(_this.get$_onFloatingCursorResetTick()); A._lateInitializeOnceCheck(_this.__EditableTextState__floatingCursorResetController, "_floatingCursorResetController"); _this.__EditableTextState__floatingCursorResetController = result; value = result; } return value; }, get$wantKeepAlive() { return this._widget.focusNode.get$hasFocus(); }, setSelection$2(nextSelection, cause) { var textLength, _this = this; if (nextSelection.$eq(0, _this._widget.controller._change_notifier$_value.selection)) return; if (nextSelection.get$isValid()) { textLength = _this._widget.controller._change_notifier$_value.text.length; nextSelection = nextSelection.copyWith$2$baseOffset$extentOffset(Math.min(nextSelection.baseOffset, textLength), Math.min(nextSelection.extentOffset, textLength)); } _this._handleSelectionChange$2(nextSelection, cause); return _this.super$TextEditingActionTarget$setSelection(nextSelection, cause); }, setTextEditingValue$2(newValue, cause) { if (newValue.$eq(0, this._widget.controller._change_notifier$_value)) return; this.userUpdateTextEditingValue$2(newValue, cause); }, copySelection$1(cause) { var t1, _this = this; _this.super$TextEditingActionTarget$copySelection(cause); if (cause === B.SelectionChangedCause_5) { t1 = _this._widget.controller._change_notifier$_value.selection; _this.bringIntoView$1(new A.TextPosition(t1.extentOffset, t1.affinity)); _this.hideToolbar$1(false); switch (A.defaultTargetPlatform().index) { case 2: break; case 4: case 0: case 1: case 3: case 5: t1 = _this._widget.controller._change_notifier$_value; _this.userUpdateTextEditingValue$2(new A.TextEditingValue(t1.text, A.TextSelection$collapsed(B.TextAffinity_1, t1.selection.end), B.TextRange_m1_m1), B.SelectionChangedCause_5); break; } } }, cutSelection$1(cause) { var t1, _this = this; _this.super$TextEditingActionTarget$cutSelection(cause); if (cause === B.SelectionChangedCause_5) { t1 = _this._widget.controller._change_notifier$_value.selection; _this.bringIntoView$1(new A.TextPosition(t1.extentOffset, t1.affinity)); _this.hideToolbar$0(); } }, pasteText$1(cause) { return this.pasteText$body$EditableTextState(cause); }, pasteText$body$EditableTextState(cause) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t1; var $async$pasteText$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$self.super$TextEditingActionTarget$pasteText(cause); if (cause === B.SelectionChangedCause_5) { t1 = $async$self._widget.controller._change_notifier$_value.selection; $async$self.bringIntoView$1(new A.TextPosition(t1.extentOffset, t1.affinity)); $async$self.hideToolbar$0(); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$pasteText$1, $async$completer); }, selectAll$1(cause) { var t1; this.super$TextEditingActionTarget$selectAll(cause); if (cause === B.SelectionChangedCause_5) { t1 = this._widget.controller._change_notifier$_value.selection; this.bringIntoView$1(new A.TextPosition(t1.extentOffset, t1.affinity)); } }, _handleSelectionChange$2(nextSelection, cause) { var focusingEmpty = nextSelection.baseOffset === 0 && nextSelection.extentOffset === 0 && !this._widget.focusNode.get$hasFocus(); if (nextSelection.$eq(0, this._widget.controller._change_notifier$_value.selection) && cause !== B.SelectionChangedCause_4 && !focusingEmpty) return; this._widget.onSelectionChanged.call$2(nextSelection, cause); }, initState$0() { var t1, t2, _this = this; _this.super$_EditableTextState_State_AutomaticKeepAliveClientMixin$initState(); _this._widget.controller.addListener$1(0, _this.get$_didChangeTextEditingValue()); t1 = _this._widget.focusNode; t2 = _this._framework$_element; t2.toString; _this._editable_text$_focusAttachment = t1.attach$1(t2); _this._widget.focusNode.addListener$1(0, _this.get$_editable_text$_handleFocusChanged()); _this.get$_scrollController().addListener$1(0, _this.get$_updateSelectionOverlayForScroll()); _this._cursorVisibilityNotifier.set$value(0, _this._widget.showCursor); }, didChangeDependencies$0() { var t1, newTickerEnabled, _this = this; _this.super$_EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin$didChangeDependencies(); _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$._AutofillScope); if (!_this._didAutoFocus && _this._widget.autofocus) { _this._didAutoFocus = true; $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState_didChangeDependencies_closure(_this)); } t1 = _this._framework$_element; t1.toString; newTickerEnabled = A.TickerMode_of(t1); if (_this._tickersEnabled !== newTickerEnabled) { _this._tickersEnabled = newTickerEnabled; if (newTickerEnabled && _this._cursorActive) _this._startCursorTimer$0(); else if (!newTickerEnabled && _this._cursorTimer != null) { _this._cursorTimer.cancel$0(0); _this._cursorTimer = null; } } }, didUpdateWidget$1(oldWidget) { var t1, t2, t3, style, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.controller; if (_this._widget.controller !== t1) { t2 = _this.get$_didChangeTextEditingValue(); t1.removeListener$1(0, t2); _this._widget.controller.addListener$1(0, t2); _this._updateRemoteEditingValueIfNeeded$0(); } if (!_this._widget.controller._change_notifier$_value.selection.$eq(0, t1._change_notifier$_value.selection)) { t1 = _this._selectionOverlay; if (t1 != null) t1.update$1(0, _this._widget.controller._change_notifier$_value); } t1 = _this._selectionOverlay; if (t1 != null) t1.set$handlesVisible(_this._widget.showSelectionHandles); t1 = _this._widget; t1.autofillClient != oldWidget.autofillClient; t2 = oldWidget.focusNode; if (t1.focusNode !== t2) { t1 = _this.get$_editable_text$_handleFocusChanged(); t2.removeListener$1(0, t1); t2 = _this._editable_text$_focusAttachment; if (t2 != null) t2.detach$0(0); t2 = _this._widget.focusNode; t3 = _this._framework$_element; t3.toString; _this._editable_text$_focusAttachment = t2.attach$1(t3); _this._widget.focusNode.addListener$1(0, t1); _this.updateKeepAlive$0(); } t1 = _this._widget; t1.toString; if (oldWidget.readOnly && t1.focusNode.get$hasFocus()) _this._openInputConnection$0(); t1 = _this.get$_hasInputConnection(); if (t1) { t1 = _this._widget; if (oldWidget.readOnly !== t1.readOnly) { _this._textInputConnection.toString; t1 = t1.autofillClient; t1 = (t1 == null ? _this : t1).get$textInputConfiguration(); A._lateReadCheck($.$get$TextInput__instance().__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.updateConfig", t1.toJson$0(), type$.void); } } if (!_this._widget.style.$eq(0, oldWidget.style)) { style = _this._widget.style; if (_this.get$_hasInputConnection()) { t1 = _this._textInputConnection; t1.toString; t2 = _this.get$_editable_text$_textDirection(); t1.setStyle$5$fontFamily$fontSize$fontWeight$textAlign$textDirection(0, style.fontFamily, style.fontSize, style.fontWeight, _this._widget.textAlign, t2); } } t1 = _this._widget; if (t1.enableInteractiveSelection) { t2 = t1.toolbarOptions.paste; if (t2 && !t1.readOnly) { if (t1.selectionControls == null) t1 = null; else t1 = t2 && !t1.readOnly; t1 = t1 === true; } else t1 = false; } else t1 = false; t1; }, dispose$0(_) { var _this = this, t1 = _this._internalScrollController; if (t1 != null) t1.dispose$0(0); _this._widget.controller.removeListener$1(0, _this.get$_didChangeTextEditingValue()); _this.get$_floatingCursorResetController().dispose$0(0); _this._closeInputConnectionIfNeeded$0(); t1 = _this._cursorTimer; if (t1 != null) t1.cancel$0(0); _this._cursorTimer = null; _this.get$_cursorBlinkOpacityController().dispose$0(0); t1 = _this._selectionOverlay; if (t1 != null) { t1.hide$0(); A._lateReadCheck(t1.__TextSelectionOverlay__toolbarController, "_toolbarController").dispose$0(0); } _this._selectionOverlay = null; _this._editable_text$_focusAttachment.detach$0(0); _this._widget.focusNode.removeListener$1(0, _this.get$_editable_text$_handleFocusChanged()); B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, _this); _this.super$_EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin$dispose(0); }, updateEditingValue$1(value) { var t2, _this = this, t1 = _this._widget; if (t1.readOnly) value = t1.controller._change_notifier$_value.copyWith$1$selection(value.selection); _this._lastKnownRemoteTextEditingValue = value; if (value.$eq(0, _this._widget.controller._change_notifier$_value)) return; t1 = value.text; t2 = _this._widget.controller._change_notifier$_value; if (t1 === t2.text && value.composing.$eq(0, t2.composing)) _this._handleSelectionChanged$2(value.selection, B.SelectionChangedCause_4); else { _this.hideToolbar$0(); _this._currentPromptRectRange = null; if (_this.get$_hasInputConnection()) { t2 = _this._widget; if (t2.obscureText && t1.length === t2.controller._change_notifier$_value.text.length + 1) { _this._obscureShowCharTicksPending = 3; _this._obscureLatestCharIndex = t2.controller._change_notifier$_value.selection.baseOffset; } } _this._formatAndSetValue$2(value, B.SelectionChangedCause_4); } _this._scheduleShowCaretOnScreen$0(); if (_this.get$_hasInputConnection()) { _this._stopCursorTimer$1$resetCharTicks(false); _this._startCursorTimer$0(); } }, _onFloatingCursorResetTick$0() { var t3, t4, finalPosition, t5, _this = this, t1 = _this._editableKey, t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2); t4 = _this._lastTextPosition; t4.toString; t4 = t2.getLocalRectForCaret$1(t4).get$centerLeft(); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; finalPosition = t4.$sub(0, new A.Offset(0, t3._as(t2)._textPainter.get$preferredLineHeight() / 2)); t2 = _this.get$_floatingCursorResetController(); if (t2.get$status(t2) === B.AnimationStatus_3) { t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3._as(t2); t4 = _this._lastTextPosition; t4.toString; t2.setFloatingCursor$3(B.FloatingCursorDragState_2, finalPosition, t4); t2 = _this._lastTextPosition.offset; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; if (t2 !== t3._as(t1)._selection.baseOffset) _this._handleSelectionChanged$2(A.TextSelection$collapsed(B.TextAffinity_1, _this._lastTextPosition.offset), B.SelectionChangedCause_3); _this._lastBoundedOffset = _this._pointOffsetOrigin = _this._lastTextPosition = _this._startCaretRect = null; } else { t2 = A._lateReadCheck(_this.get$_floatingCursorResetController().__AnimationController__value, "_value"); t4 = _this._lastBoundedOffset; t5 = A.lerpDouble(t4._dx, finalPosition._dx, t2); t5.toString; t4 = A.lerpDouble(t4._dy, finalPosition._dy, t2); t4.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; t3._as(t1); t3 = _this._lastTextPosition; t3.toString; t1.setFloatingCursor$4$resetLerpValue(B.FloatingCursorDragState_1, new A.Offset(t5, t4), t3, t2); } }, _finalizeEditing$2$shouldUnfocus(action, shouldUnfocus) { var exception, stack, onSubmitted, exception0, stack0, exception1, _this = this, t1 = _this._widget, t2 = t1.onEditingComplete; if (t2 != null) try { t2.call$0(); } catch (exception1) { exception = A.unwrapException(exception1); stack = A.getTraceFromException(exception1); t1 = A.ErrorDescription$("while calling onEditingComplete for " + action.toString$0(0)); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "widgets", t1, null, false)); } else { t1 = t1.controller; t1.super$ValueNotifier$value(0, t1._change_notifier$_value.copyWith$1$composing(B.TextRange_m1_m1)); if (shouldUnfocus) { switch (action.index) { case 0: case 1: case 2: case 3: case 4: case 5: case 8: case 9: case 10: case 11: case 12: _this._widget.focusNode.unfocus$0(); break; case 6: t1 = _this._widget.focusNode; t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, true); break; case 7: t1 = _this._widget.focusNode; t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, false); break; } shouldUnfocus = true; } } t1 = _this._widget; onSubmitted = t1.onSubmitted; if (onSubmitted == null) return; try { onSubmitted.call$1(t1.controller._change_notifier$_value.text); } catch (exception) { exception0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); t1 = A.ErrorDescription$("while calling onSubmitted for " + action.toString$0(0)); A.FlutterError_reportError(new A.FlutterErrorDetails(exception0, stack0, "widgets", t1, null, false)); } if (shouldUnfocus) _this._scheduleRestartConnection$0(); }, _updateRemoteEditingValueIfNeeded$0() { var t1, _this = this; if (_this._batchEditDepth > 0 || !_this.get$_hasInputConnection()) return; t1 = _this._widget.controller._change_notifier$_value; if (t1.$eq(0, _this._lastKnownRemoteTextEditingValue)) return; _this._textInputConnection.toString; A._lateReadCheck($.$get$TextInput__instance().__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setEditingState", t1.toJSON$0(), type$.void); _this._lastKnownRemoteTextEditingValue = t1; }, _getOffsetToRevealCaret$1(rect) { var t1, t2, t3, additionalOffset, unitOffset, t4, expandedRect, targetOffset, _this = this; if (!B.JSArray_methods.get$single(_this.get$_scrollController()._positions).physics.get$allowImplicitScrolling()) { t1 = B.JSArray_methods.get$single(_this.get$_scrollController()._positions)._pixels; t1.toString; return new A.RevealedOffset(t1, rect); } t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t2 = t3._as(t2)._size; t2.toString; if (_this._widget.maxLines === 1) { t1 = rect.right; t3 = rect.left; t2 = t2._dx; additionalOffset = t1 - t3 >= t2 ? t2 / 2 - rect.get$center()._dx : B.JSInt_methods.clamp$2(0, t1 - t2, t3); unitOffset = B.Offset_1_0; } else { t4 = rect.get$center(); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; expandedRect = A.Rect$fromCenter(t4, Math.max(rect.bottom - rect.top, t3._as(t1)._textPainter.get$preferredLineHeight()), rect.right - rect.left); t1 = expandedRect.bottom; t3 = expandedRect.top; t2 = t2._dy; additionalOffset = t1 - t3 >= t2 ? t2 / 2 - expandedRect.get$center()._dy : B.JSInt_methods.clamp$2(0, t1 - t2, t3); unitOffset = B.Offset_0_1; } t1 = B.JSArray_methods.get$single(_this.get$_scrollController()._positions)._pixels; t1.toString; targetOffset = B.JSNumber_methods.clamp$2(additionalOffset + t1, B.JSArray_methods.get$single(_this.get$_scrollController()._positions).get$minScrollExtent(), B.JSArray_methods.get$single(_this.get$_scrollController()._positions).get$maxScrollExtent()); t1 = B.JSArray_methods.get$single(_this.get$_scrollController()._positions)._pixels; t1.toString; return new A.RevealedOffset(targetOffset, rect.shift$1(unitOffset.$mul(0, t1 - targetOffset))); }, get$_hasInputConnection() { var t1 = this._textInputConnection; t1 = t1 == null ? null : $.$get$TextInput__instance()._currentConnection === t1; return t1 === true; }, get$_needsAutofill() { var t1 = this._widget.autofillHints == null && null; return t1 !== false; }, _openInputConnection$0() { var t1, t2, connection, t3, style, t4, t5, _this = this, _s8_ = "_channel", _s14_ = "TextInput.show"; if (!_this.get$_hasInputConnection()) { t1 = _this._widget.controller._change_notifier$_value; _this.get$_needsAutofill(); t2 = _this._widget; t2 = t2.autofillClient; t2 = (t2 == null ? _this : t2).get$textInputConfiguration(); connection = A.TextInputConnection$_(_this); $.$get$TextInput__instance()._attach$2(connection, t2); t2 = connection; _this._textInputConnection = t2; t2 = $.$get$TextInput__instance(); t3 = type$.void; A._lateReadCheck(t2.__TextInput__channel, _s8_).invokeMethod$1$1(_s14_, t3); _this._updateSizeAndTransform$0(); _this._updateComposingRectIfNeeded$0(); _this._updateCaretRectIfNeeded$0(); if (_this.get$_needsAutofill()) { _this._textInputConnection.toString; A._lateReadCheck(t2.__TextInput__channel, _s8_).invokeMethod$1$1("TextInput.requestAutofill", t3); } style = _this._widget.style; t4 = _this._textInputConnection; t4.toString; t5 = _this.get$_editable_text$_textDirection(); t4.setStyle$5$fontFamily$fontSize$fontWeight$textAlign$textDirection(0, style.fontFamily, style.fontSize, style.fontWeight, _this._widget.textAlign, t5); A._lateReadCheck(t2.__TextInput__channel, _s8_).invokeMethod$1$2("TextInput.setEditingState", t1.toJSON$0(), t3); _this._lastKnownRemoteTextEditingValue = t1; } else { _this._textInputConnection.toString; A._lateReadCheck($.$get$TextInput__instance().__TextInput__channel, _s8_).invokeMethod$1$1(_s14_, type$.void); } }, _closeInputConnectionIfNeeded$0() { var t1, t2, _this = this; if (_this.get$_hasInputConnection()) { t1 = _this._textInputConnection; t1.toString; t2 = $.$get$TextInput__instance(); if (t2._currentConnection === t1) t2._clearClient$0(); _this._lastKnownRemoteTextEditingValue = _this._textInputConnection = null; } }, _scheduleRestartConnection$0() { if (this._restartConnectionScheduled) return; this._restartConnectionScheduled = true; A.scheduleMicrotask(this.get$_restartConnectionIfNeeded()); }, _restartConnectionIfNeeded$0() { var t1, t2, connection, newConnection, style, _this = this; _this._restartConnectionScheduled = false; if (_this.get$_hasInputConnection()) t1 = false; else t1 = true; if (t1) return; t1 = _this._textInputConnection; t1.toString; t2 = $.$get$TextInput__instance(); if (t2._currentConnection === t1) t2._clearClient$0(); _this._lastKnownRemoteTextEditingValue = _this._textInputConnection = null; _this.get$_needsAutofill(); t1 = _this._widget; t1 = t1.autofillClient; t1 = (t1 == null ? _this : t1).get$textInputConfiguration(); connection = A.TextInputConnection$_(_this); t2._attach$2(connection, t1); newConnection = connection; _this._textInputConnection = newConnection; style = _this._widget.style; t1 = _this.get$_editable_text$_textDirection(); newConnection.setStyle$5$fontFamily$fontSize$fontWeight$textAlign$textDirection(0, style.fontFamily, style.fontSize, style.fontWeight, _this._widget.textAlign, t1); t1 = _this._widget.controller._change_notifier$_value; A._lateReadCheck(t2.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setEditingState", t1.toJSON$0(), type$.void); _this._lastKnownRemoteTextEditingValue = _this._widget.controller._change_notifier$_value; }, requestKeyboard$0() { if (this._widget.focusNode.get$hasFocus()) this._openInputConnection$0(); else this._widget.focusNode.requestFocus$0(); }, _updateOrDisposeSelectionOverlayIfNeeded$0() { var t1, t2, _this = this; if (_this._selectionOverlay != null) { t1 = _this._widget.focusNode.get$hasFocus(); t2 = _this._selectionOverlay; if (t1) { t2.toString; t2.update$1(0, _this._widget.controller._change_notifier$_value); } else { t2.hide$0(); A._lateReadCheck(t2.__TextSelectionOverlay__toolbarController, "_toolbarController").dispose$0(0); _this._selectionOverlay = null; } } }, _updateSelectionOverlayForScroll$0() { var t1 = this._selectionOverlay; if (t1 != null) t1._text_selection$_markNeedsBuild$0(); }, _handleSelectionChanged$2(selection, cause) { var exception, stack, t1, t2, t3, t4, t5, result, exception0, _this = this, _null = null, _s18_ = "_toolbarController"; if (!_this._widget.controller.isSelectionWithinTextBounds$1(selection)) return; _this._widget.controller.set$selection(selection); _this.requestKeyboard$0(); t1 = _this._widget; if (t1.selectionControls == null) { t1 = _this._selectionOverlay; if (t1 != null) { t1.hide$0(); A._lateReadCheck(t1.__TextSelectionOverlay__toolbarController, _s18_).dispose$0(0); } _this._selectionOverlay = null; } else { t2 = _this._selectionOverlay; t3 = t1.controller._change_notifier$_value; if (t2 == null) { t2 = _this._framework$_element; t2.toString; t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t4.toString; type$.RenderEditable._as(t4); t5 = _this._widget; t3 = new A.TextSelectionOverlay(t2, t1, _this._toolbarLayerLink, _this._startHandleLayerLink, _this._endHandleLayerLink, t4, t5.selectionControls, _this, t5.dragStartBehavior, t5.onSelectionHandleTapped, _null, t3); result = t2.findRootAncestorStateOfType$1$0(type$.OverlayState); result.toString; t1 = A.AnimationController$(_null, B.Duration_150000, _null, 1, _null, result); A._lateWriteOnceCheck($, _s18_); t3.__TextSelectionOverlay__toolbarController = t1; _this._selectionOverlay = t3; } else t2.update$1(0, t3); t1 = _this._selectionOverlay; t1.toString; t1.set$handlesVisible(_this._widget.showSelectionHandles); _this._selectionOverlay.showHandles$0(); } try { _this._widget.onSelectionChanged.call$2(selection, cause); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("while calling onSelectionChanged for " + A.S(cause)); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "widgets", t1, _null, false)); } if (_this._cursorTimer != null) { _this._stopCursorTimer$1$resetCharTicks(false); _this._startCursorTimer$0(); } }, _handleCaretChanged$1(caretRect) { this._currentCaretRect = caretRect; }, _scheduleShowCaretOnScreen$0() { if (this._showCaretOnScreenScheduled) return; this._showCaretOnScreenScheduled = true; $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState__scheduleShowCaretOnScreen_closure(this)); }, didChangeMetrics$0() { var t2, _this = this, _s20_ = "_lastBottomViewInset", t1 = A._lateReadCheck(_this.__EditableTextState__lastBottomViewInset, _s20_); $.WidgetsBinding__instance.toString; t2 = $.$get$window(); if (t1 !== t2._viewInsets.bottom) { $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState_didChangeMetrics_closure(_this)); t1 = A._lateReadCheck(_this.__EditableTextState__lastBottomViewInset, _s20_); $.WidgetsBinding__instance.toString; if (t1 < t2._viewInsets.bottom) _this._scheduleShowCaretOnScreen$0(); } $.WidgetsBinding__instance.toString; _this.__EditableTextState__lastBottomViewInset = t2._viewInsets.bottom; }, _formatAndSetValue$3$userInteraction(value, cause, userInteraction) { var exception, stack, exception0, stack0, t1, t2, textChanged, value0, exception1, _this = this; value = value; t1 = _this._widget.controller._change_notifier$_value; if (t1.text === value.text) { t2 = t1.composing; if (t2.start !== t2.end) { t2 = value.composing; t2 = t2.start === t2.end; textChanged = t2; } else textChanged = false; } else textChanged = true; t1 = t1.selection.$eq(0, value.selection); if (textChanged) try { t2 = _this._widget.inputFormatters; value0 = t2 == null ? null : B.JSArray_methods.fold$2(t2, value, new A.EditableTextState__formatAndSetValue_closure(_this)); value = value0 == null ? value : value0; } catch (exception1) { exception = A.unwrapException(exception1); stack = A.getTraceFromException(exception1); t2 = A.ErrorDescription$("while applying input formatters"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "widgets", t2, null, false)); } ++_this._batchEditDepth; t2 = value; _this._widget.controller.super$ValueNotifier$value(0, t2); if (t1) if (userInteraction) t1 = cause === B.SelectionChangedCause_2 || cause === B.SelectionChangedCause_4; else t1 = false; else t1 = true; if (t1) _this._handleSelectionChanged$2(_this._widget.controller._change_notifier$_value.selection, cause); if (textChanged) try { t1 = _this._widget; t2 = t1.onChanged; if (t2 != null) t2.call$1(t1.controller._change_notifier$_value.text); } catch (exception) { exception0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); t1 = A.ErrorDescription$("while calling onChanged"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception0, stack0, "widgets", t1, null, false)); } --_this._batchEditDepth; _this._updateRemoteEditingValueIfNeeded$0(); }, _formatAndSetValue$2(value, cause) { return this._formatAndSetValue$3$userInteraction(value, cause, false); }, _onCursorColorTick$0() { var t2, _this = this, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.cursorColor; t2 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(_this.get$_cursorBlinkOpacityController().__AnimationController__value, "_value")), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); t1.get$_caretPainter().set$caretColor(t2); t1 = _this._widget.showCursor && A._lateReadCheck(_this.get$_cursorBlinkOpacityController().__AnimationController__value, "_value") > 0; _this._cursorVisibilityNotifier.set$value(0, t1); }, _cursorTick$1(timer) { var targetOpacity, _this = this, t1 = !_this._targetCursorVisibility; _this._targetCursorVisibility = t1; targetOpacity = t1 ? 1 : 0; if (_this._widget.cursorOpacityAnimates) { t1 = _this.get$_cursorBlinkOpacityController(); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(targetOpacity, B.Cubic_xDo0, null); } else _this.get$_cursorBlinkOpacityController().set$value(0, targetOpacity); if (_this._obscureShowCharTicksPending > 0) _this.setState$1(new A.EditableTextState__cursorTick_closure(_this)); }, _cursorWaitForStart$1(timer) { var t1 = this._cursorTimer; if (t1 != null) t1.cancel$0(0); this._cursorTimer = A.Timer_Timer$periodic(B.Duration_500000, this.get$_cursorTick()); }, _startCursorTimer$0() { var _this = this; _this._cursorActive = true; if (!_this._tickersEnabled) return; _this._targetCursorVisibility = true; _this.get$_cursorBlinkOpacityController().set$value(0, 1); if (_this._widget.cursorOpacityAnimates) _this._cursorTimer = A.Timer_Timer$periodic(B.Duration_150000, _this.get$_cursorWaitForStart()); else _this._cursorTimer = A.Timer_Timer$periodic(B.Duration_500000, _this.get$_cursorTick()); }, _stopCursorTimer$1$resetCharTicks(resetCharTicks) { var t1, _this = this; _this._cursorActive = false; t1 = _this._cursorTimer; if (t1 != null) t1.cancel$0(0); _this._cursorTimer = null; _this._targetCursorVisibility = false; _this.get$_cursorBlinkOpacityController().set$value(0, 0); if (resetCharTicks) _this._obscureShowCharTicksPending = 0; if (_this._widget.cursorOpacityAnimates) { _this.get$_cursorBlinkOpacityController().stop$0(0); _this.get$_cursorBlinkOpacityController().set$value(0, 0); } }, _stopCursorTimer$0() { return this._stopCursorTimer$1$resetCharTicks(true); }, _startOrStopCursorTimerIfNeeded$0() { var t1, _this = this; if (_this._cursorTimer == null) if (_this._widget.focusNode.get$hasFocus()) { t1 = _this._widget.controller._change_notifier$_value.selection; t1 = t1.start === t1.end; } else t1 = false; else t1 = false; if (t1) _this._startCursorTimer$0(); else { if (_this._cursorActive) if (_this._widget.focusNode.get$hasFocus()) { t1 = _this._widget.controller._change_notifier$_value.selection; t1 = t1.start !== t1.end; } else t1 = true; else t1 = false; if (t1) _this._stopCursorTimer$0(); } }, _didChangeTextEditingValue$0() { var _this = this; _this._updateRemoteEditingValueIfNeeded$0(); _this._startOrStopCursorTimerIfNeeded$0(); _this._updateOrDisposeSelectionOverlayIfNeeded$0(); _this.setState$1(new A.EditableTextState__didChangeTextEditingValue_closure()); }, _editable_text$_handleFocusChanged$0() { var t1, t2, _this = this; if (_this._widget.focusNode.get$hasFocus() && _this._widget.focusNode.consumeKeyboardToken$0()) _this._openInputConnection$0(); else if (!_this._widget.focusNode.get$hasFocus()) { _this._closeInputConnectionIfNeeded$0(); t1 = _this._widget.controller; t1.super$ValueNotifier$value(0, t1._change_notifier$_value.copyWith$1$composing(B.TextRange_m1_m1)); } _this._startOrStopCursorTimerIfNeeded$0(); _this._updateOrDisposeSelectionOverlayIfNeeded$0(); t1 = _this._widget.focusNode.get$hasFocus(); t2 = $.WidgetsBinding__instance; if (t1) { t2.WidgetsBinding__observers.push(_this); $.WidgetsBinding__instance.toString; _this.__EditableTextState__lastBottomViewInset = $.$get$window()._viewInsets.bottom; if (!_this._widget.readOnly) _this._scheduleShowCaretOnScreen$0(); if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) _this._handleSelectionChanged$2(A.TextSelection$collapsed(B.TextAffinity_1, _this._widget.controller._change_notifier$_value.text.length), null); } else { B.JSArray_methods.remove$1(t2.WidgetsBinding__observers, _this); _this.setState$1(new A.EditableTextState__handleFocusChanged_closure(_this)); } _this.updateKeepAlive$0(); }, _updateSizeAndTransform$0() { var t1, t2, t3, transform, _this = this; if (_this.get$_hasInputConnection()) { t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t2 = t3._as(t2)._size; t2.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; transform = t3._as(t1).getTransformTo$1(0, null); t1 = _this._textInputConnection; if (!t2.$eq(0, t1._cachedSize) || !transform.$eq(0, t1._cachedTransform)) { t1._cachedSize = t2; t1._cachedTransform = transform; t1 = $.$get$TextInput__instance(); t2 = A.LinkedHashMap_LinkedHashMap$_literal(["width", t2._dx, "height", t2._dy, "transform", transform._m4storage], type$.String, type$.dynamic); A._lateReadCheck(t1.__TextInput__channel, "_channel").invokeMethod$1$2("TextInput.setEditableSizeAndTransform", t2, type$.void); } $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState__updateSizeAndTransform_closure(_this)); } }, _updateComposingRectIfNeeded$0() { var t1, t2, t3, composingRect, offset, _this = this, composingRange = _this._widget.controller._change_notifier$_value.composing; if (_this.get$_hasInputConnection()) { t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; composingRect = t3._as(t2).getRectForComposingRange$1(composingRange); if (composingRect == null) { offset = composingRange.get$isValid() ? composingRange.start : 0; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; composingRect = t3._as(t1).getLocalRectForCaret$1(new A.TextPosition(offset, B.TextAffinity_1)); } _this._textInputConnection.setComposingRect$1(composingRect); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState__updateComposingRectIfNeeded_closure(_this)); } }, _updateCaretRectIfNeeded$0() { var t1, t2, t3, caretRect, _this = this; if (_this.get$_hasInputConnection()) { t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; if (t3._as(t2)._selection.get$isValid()) { t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t2 = t3._as(t2)._selection; t2 = t2.start === t2.end; } else t2 = false; if (t2) { t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t2 = t3._as(t2)._selection; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; caretRect = t3._as(t1).getLocalRectForCaret$1(new A.TextPosition(t2.baseOffset, B.TextAffinity_1)); _this._textInputConnection.setCaretRect$1(caretRect); } $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.EditableTextState__updateCaretRectIfNeeded_closure(_this)); } }, get$_editable_text$_textDirection() { var t1, result = this._widget.textDirection; if (result == null) { t1 = this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; result = t1.textDirection; } return result; }, userUpdateTextEditingValue$2(value, cause) { var t1 = this._widget, t2 = t1.readOnly; t1 = t1.controller._change_notifier$_value; if (t2 ? !t1.selection.$eq(0, value.selection) : !t1.$eq(0, value)) this._scheduleShowCaretOnScreen$0(); this._formatAndSetValue$3$userInteraction(value, cause, true); }, bringIntoView$1(position) { var t3, targetOffset, t1 = this._editableKey, t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; targetOffset = this._getOffsetToRevealCaret$1(t3._as(t2).getLocalRectForCaret$1(position)); this.get$_scrollController().jumpTo$1(targetOffset.offset); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; t3._as(t1).showOnScreen$1$rect(targetOffset.rect); }, showToolbar$0() { return false; }, hideToolbar$1(hideHandles) { var t1, t2, t3; if (hideHandles) { t1 = this._selectionOverlay; if (t1 != null) t1.hide$0(); } else { t1 = this._selectionOverlay; t2 = t1 == null; t3 = t2 ? null : t1._toolbar != null; if (t3 === true) if (!t2) t1.hideToolbar$0(); } }, hideToolbar$0() { return this.hideToolbar$1(true); }, toggleToolbar$0() { if (this._selectionOverlay._toolbar != null) this.hideToolbar$0(); else this.showToolbar$0(); }, get$textInputConfiguration() { var autofillHints, autofillConfiguration, t2, t3, t4, t5, t6, t7, t8, _this = this, t1 = _this._widget.autofillHints; if (t1 == null) autofillHints = null; else autofillHints = J.JSArray_JSArray$markFixed(t1.slice(0), A._arrayInstanceType(t1)._precomputed1); autofillConfiguration = autofillHints != null ? new A.AutofillConfiguration(true, "EditableText-" + A.Primitives_objectHashCode(_this), autofillHints, _this._widget.controller._change_notifier$_value, null) : B.AutofillConfiguration_lYx; t1 = _this._widget; t2 = t1.keyboardType; t3 = t1.readOnly; t4 = t1.obscureText; t5 = t1.smartDashesType; t6 = t1.smartQuotesType; t1 = t1.textInputAction; if (t1 == null) t1 = t2.$eq(0, B.TextInputType_1_null_null) ? B.TextInputAction_12 : B.TextInputAction_2; t7 = _this._widget; t8 = t7.textCapitalization; return A.TextInputConfiguration$(true, autofillConfiguration, false, true, true, t1, t2, t7.keyboardAppearance, t4, t3, t5, t6, t8); }, showAutocorrectionPromptRect$2(start, end) { this.setState$1(new A.EditableTextState_showAutocorrectionPromptRect_closure(this, start, end)); }, _semanticsOnCopy$1(controls) { var t1 = this._widget; if (t1.enableInteractiveSelection) if (t1.toolbarOptions.copy) if (t1.focusNode.get$hasFocus()) { if (controls == null) t1 = null; else { t1 = this._widget; if (t1.toolbarOptions.copy) { t1 = t1.controller._change_notifier$_value.selection; t1 = t1.start !== t1.end; } else t1 = false; } t1 = t1 === true; } else t1 = false; else t1 = false; else t1 = false; return t1 ? new A.EditableTextState__semanticsOnCopy_closure(this, controls) : null; }, _semanticsOnCut$1(controls) { var t1 = this._widget; if (t1.enableInteractiveSelection) if (t1.toolbarOptions.cut && !t1.readOnly) if (t1.focusNode.get$hasFocus()) { if (controls == null) t1 = null; else { t1 = this._widget; if (t1.toolbarOptions.cut && !t1.readOnly) { t1 = t1.controller._change_notifier$_value.selection; t1 = t1.start !== t1.end; } else t1 = false; } t1 = t1 === true; } else t1 = false; else t1 = false; else t1 = false; return t1 ? new A.EditableTextState__semanticsOnCut_closure(this, controls) : null; }, _semanticsOnPaste$1(controls) { var t1 = this._widget; if (t1.enableInteractiveSelection) if (t1.toolbarOptions.paste && !t1.readOnly) if (t1.focusNode.get$hasFocus()) { if (controls == null) t1 = null; else { t1 = this._widget; t1 = t1.toolbarOptions.paste && !t1.readOnly; } if (t1 === true) t1 = true; else t1 = false; } else t1 = false; else t1 = false; else t1 = false; return t1 ? new A.EditableTextState__semanticsOnPaste_closure(this, controls) : null; }, build$1(_, context) { var t1, controls, t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null; _this._editable_text$_focusAttachment.reparent$0(); _this.super$AutomaticKeepAliveClientMixin$build(0, context); t1 = _this._widget; controls = t1.selectionControls; t2 = t1.mouseCursor; if (t2 == null) t2 = B.SystemMouseCursor_text; t1 = t1.maxLines !== 1 ? B.AxisDirection_2 : B.AxisDirection_1; t3 = _this.get$_scrollController(); t4 = _this._widget; t5 = t4.scrollPhysics; t6 = t4.dragStartBehavior; t4 = t4.restorationId; t7 = A.ScrollConfiguration_of(context); t8 = _this._widget; t7 = t7.copyWith$2$overscroll$scrollbars(false, t8.maxLines !== 1); return A.MouseRegion$(A.Scrollable$(t1, t3, t6, true, t5, t4, t7, _null, new A.EditableTextState_build_closure(_this, controls)), t2, _null, _null, _null, _null); }, buildTextSpan$0() { var text, o, t2, t3, t4, _this = this, _null = null, t1 = _this._widget; if (t1.obscureText) { text = t1.controller._change_notifier$_value.text; text = B.JSString_methods.$mul(t1.obscuringCharacter, text.length); if (A.defaultTargetPlatform() === B.TargetPlatform_0 || A.defaultTargetPlatform() === B.TargetPlatform_2 || A.defaultTargetPlatform() === B.TargetPlatform_1) { o = _this._obscureShowCharTicksPending > 0 ? _this._obscureLatestCharIndex : _null; if (o != null && o >= 0 && o < text.length) { t1 = o + 1; text = B.JSString_methods.replaceRange$3(text, o, t1, B.JSString_methods.substring$2(_this._widget.controller._change_notifier$_value.text, o, t1)); } } return A.TextSpan$(_null, _null, _null, _null, _this._widget.style, text); } t2 = t1.controller; t3 = _this._framework$_element; t3.toString; t4 = t1.style; return t2.buildTextSpan$3$context$style$withComposing(t3, t4, !t1.readOnly && t1.focusNode.get$hasFocus()); } }; A.EditableTextState_didChangeDependencies_closure.prototype = { call$1(_) { var t2, t1 = this.$this; if (t1._framework$_element != null) { t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t2.toString; t2 = type$.RenderEditable._as(t2)._size != null; } else t2 = false; if (t2) { t2 = t1._framework$_element; t2.toString; A.FocusScope_of(t2).autofocus$1(0, t1._widget.focusNode); } }, $signature: 8 }; A.EditableTextState__scheduleShowCaretOnScreen_closure.prototype = { call$1(_) { var t2, t3, t4, bottomSpacing, t5, handleHeight, interactiveHandleHeight, caretPadding, targetOffset, t1 = this.$this; t1._showCaretOnScreenScheduled = false; if (t1._currentCaretRect == null || t1.get$_scrollController()._positions.length === 0) return; t2 = t1._editableKey; t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2).get$renderObject(); t3.toString; t4 = type$.RenderEditable; t3 = t4._as(t3)._textPainter.get$preferredLineHeight(); bottomSpacing = t1._widget.scrollPadding.bottom; t5 = t1._selectionOverlay; if ((t5 == null ? null : t5.selectionControls) != null) { handleHeight = t5.selectionControls.getHandleSize$1(t3)._dy; interactiveHandleHeight = Math.max(handleHeight, 48); bottomSpacing = Math.max(handleHeight / 2 - t1._selectionOverlay.selectionControls.getHandleAnchor$2(B.TextSelectionHandleType_2, t3)._dy + interactiveHandleHeight / 2, bottomSpacing); } caretPadding = t1._widget.scrollPadding.copyWith$1$bottom(bottomSpacing); t3 = t1._currentCaretRect; t3.toString; targetOffset = t1._getOffsetToRevealCaret$1(t3); t1.get$_scrollController().animateTo$3$curve$duration(targetOffset.offset, B.Cubic_ifx, B.Duration_100000); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2).get$renderObject(); t2.toString; t4._as(t2).showOnScreen$3$curve$duration$rect(B.Cubic_ifx, B.Duration_100000, caretPadding.inflateRect$1(targetOffset.rect)); }, $signature: 8 }; A.EditableTextState_didChangeMetrics_closure.prototype = { call$1(_) { var t1 = this.$this._selectionOverlay; if (t1 != null) t1._text_selection$_markNeedsBuild$0(); }, $signature: 8 }; A.EditableTextState__formatAndSetValue_closure.prototype = { call$2(newValue, formatter) { return formatter.formatEditUpdate$2(this.$this._widget.controller._change_notifier$_value, newValue); }, $signature: 623 }; A.EditableTextState__cursorTick_closure.prototype = { call$0() { --this.$this._obscureShowCharTicksPending; }, $signature: 0 }; A.EditableTextState__didChangeTextEditingValue_closure.prototype = { call$0() { }, $signature: 0 }; A.EditableTextState__handleFocusChanged_closure.prototype = { call$0() { this.$this._currentPromptRectRange = null; }, $signature: 0 }; A.EditableTextState__updateSizeAndTransform_closure.prototype = { call$1(_) { return this.$this._updateSizeAndTransform$0(); }, $signature: 8 }; A.EditableTextState__updateComposingRectIfNeeded_closure.prototype = { call$1(_) { return this.$this._updateComposingRectIfNeeded$0(); }, $signature: 8 }; A.EditableTextState__updateCaretRectIfNeeded_closure.prototype = { call$1(_) { return this.$this._updateCaretRectIfNeeded$0(); }, $signature: 8 }; A.EditableTextState_showAutocorrectionPromptRect_closure.prototype = { call$0() { this.$this._currentPromptRectRange = new A.TextRange(this.start, this.end); }, $signature: 0 }; A.EditableTextState__semanticsOnCopy_closure.prototype = { call$0() { return this.controls.handleCopy$2(this.$this, null); }, $signature: 0 }; A.EditableTextState__semanticsOnCut_closure.prototype = { call$0() { return this.controls.handleCut$2(this.$this, null); }, $signature: 0 }; A.EditableTextState__semanticsOnPaste_closure.prototype = { call$0() { return this.controls.handlePaste$1(this.$this); }, $signature: 0 }; A.EditableTextState_build_closure.prototype = { call$2(context, offset) { 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, t32, t33, t34, t35, t36, _null = null, t1 = this.$this, t2 = this.controls, t3 = t1._semanticsOnCopy$1(t2), t4 = t1._semanticsOnCut$1(t2); t2 = t1._semanticsOnPaste$1(t2); t5 = t1.buildTextSpan$0(); t6 = t1._widget; t7 = t6.controller._change_notifier$_value; t6 = t6.cursorColor; t6 = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * A._lateReadCheck(t1.get$_cursorBlinkOpacityController().__AnimationController__value, "_value")), t6.get$value(t6) >>> 16 & 255, t6.get$value(t6) >>> 8 & 255, t6.get$value(t6) & 255); t8 = t1._widget; t9 = t8.backgroundCursorColor; t10 = t8.forceLine; t11 = t8.readOnly; t8 = t8.focusNode.get$hasFocus(); t12 = t1._widget; t13 = t12.maxLines; t14 = t12.minLines; t15 = t12.expands; t12 = t12.get$strutStyle(t12); t16 = t1._widget; t17 = t16.selectionColor; t16 = t16.textScaleFactor; if (t16 == null) t16 = A.MediaQuery_textScaleFactorOf(context); t18 = t1._widget.textAlign; t19 = t1.get$_editable_text$_textDirection(); t1._widget.toString; t20 = A.DefaultTextHeightBehavior_of(context); t21 = t1._widget; t22 = t21.textWidthBasis; t23 = t21.obscuringCharacter; t24 = t21.obscureText; t25 = t21.cursorWidth; t26 = t21.cursorHeight; t27 = t21.cursorRadius; t28 = t21.cursorOffset; if (t28 == null) t28 = B.Offset_0_0; t29 = t21.selectionHeightStyle; t30 = t21.selectionWidthStyle; t31 = t21.paintCursorAboveText; t21 = t21.enableInteractiveSelection; t32 = t1._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t33 = t1._currentPromptRectRange; t34 = t1._widget; t35 = t34.autocorrectionTextRectColor; t34 = t34.clipBehavior; t36 = A._Editable__extractChildren(t5); return new A.CompositedTransformTarget(t1._toolbarLayerLink, 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, t3, t4, _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), false, false, false, new A._Editable(t5, t7, t6, t1._startHandleLayerLink, t1._endHandleLayerLink, t9, t1._cursorVisibilityNotifier, t10, t11, t8, t13, t14, t15, t12, t17, t16, t18, t19, _null, t23, t24, t20, t22, offset, t1.get$_handleCaretChanged(), true, t25, t26, t27, t28, t31, t29, t30, t21, t1, t32.devicePixelRatio, t33, t35, t34, t36, t1._editableKey), _null), _null); }, $signature: 624 }; A._Editable.prototype = { createRenderObject$1(context) { var t9, _this = this, _null = null, t1 = _this.inlineSpan, t2 = A.Localizations_maybeLocaleOf(context), t3 = _this.value.selection, t4 = A._TextHighlightPainter$(), t5 = A._TextHighlightPainter$(), t6 = type$.nullable_void_Function, t7 = A.List_List$filled(0, _null, false, t6), t8 = type$.ValueNotifier_bool; t6 = A.List_List$filled(0, _null, false, t6); t9 = A.LayerHandle$(type$.ClipRectLayer); t2 = A.TextPainter$(_null, t2, _null, _this.strutStyle, t1, _this.textAlign, _this.textDirection, _this.textHeightBehavior, _this.textScaleFactor, _this.textWidthBasis); t2 = new A.RenderEditable(t4, t5, _this.onCaretChanged, true, _this.devicePixelRatio, _this.obscuringCharacter, _this.obscureText, _this.textSelectionDelegate, new A.ValueNotifier(true, t7, t8), new A.ValueNotifier(true, t6, t8), t2, _this.showCursor, _this.hasFocus, _this.forceLine, _this.readOnly, _this.maxLines, _this.minLines, _this.expands, t3, _this.offset, _this.cursorWidth, _this.cursorHeight, _this.paintCursorAboveText, _this.startHandleLayerLink, _this.endHandleLayerLink, _this.enableInteractiveSelection, _this.clipBehavior, B.Offset_0_0, t9, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; t4.set$highlightColor(_this.selectionColor); t4.set$highlightedRange(t3); t4.set$selectionHeightStyle(_this.selectionHeightStyle); t4.set$selectionWidthStyle(_this.selectionWidthStyle); t5.set$highlightColor(_this.promptRectColor); t5.set$highlightedRange(_this.promptRectRange); t2.get$_caretPainter().set$caretColor(_this.cursorColor); t2.get$_caretPainter().set$cursorRadius(_this.cursorRadius); t2.get$_caretPainter().set$cursorOffset(_this.cursorOffset); t2.get$_caretPainter().set$backgroundCursorColor(_this.backgroundCursorColor); t2._updateForegroundPainter$1(_null); t2._updatePainter$1(_null); t2.addAll$1(0, _null); t2._editable$_extractPlaceholderSpans$1(t1); return t2; }, updateRenderObject$2(context, renderObject) { var t1, t2, _this = this; renderObject.set$text(0, _this.inlineSpan); renderObject.get$_caretPainter().set$caretColor(_this.cursorColor); renderObject.set$startHandleLayerLink(_this.startHandleLayerLink); renderObject.set$endHandleLayerLink(_this.endHandleLayerLink); renderObject.set$showCursor(_this.showCursor); renderObject.set$forceLine(_this.forceLine); renderObject.set$readOnly(0, _this.readOnly); renderObject.set$hasFocus(_this.hasFocus); renderObject.set$maxLines(0, _this.maxLines); renderObject.set$minLines(_this.minLines); renderObject.set$expands(_this.expands); renderObject.set$strutStyle(0, _this.strutStyle); t1 = renderObject._selectionPainter; t1.set$highlightColor(_this.selectionColor); renderObject.set$textScaleFactor(_this.textScaleFactor); renderObject.set$textAlign(0, _this.textAlign); renderObject.set$textDirection(0, _this.textDirection); t2 = A.Localizations_maybeLocaleOf(context); renderObject.set$locale(0, t2); renderObject.set$selection(_this.value.selection); renderObject.set$offset(0, _this.offset); renderObject.onCaretChanged = _this.onCaretChanged; renderObject.ignorePointer = true; renderObject.set$textHeightBehavior(0, _this.textHeightBehavior); renderObject.set$textWidthBasis(_this.textWidthBasis); renderObject.set$obscuringCharacter(_this.obscuringCharacter); renderObject.set$obscureText(_this.obscureText); renderObject.set$cursorWidth(_this.cursorWidth); renderObject.set$cursorHeight(_this.cursorHeight); renderObject.get$_caretPainter().set$cursorRadius(_this.cursorRadius); renderObject.get$_caretPainter().set$cursorOffset(_this.cursorOffset); t1.set$selectionHeightStyle(_this.selectionHeightStyle); t1.set$selectionWidthStyle(_this.selectionWidthStyle); renderObject.textSelectionDelegate = _this.textSelectionDelegate; renderObject.set$devicePixelRatio(0, _this.devicePixelRatio); renderObject.set$paintCursorAboveText(_this.paintCursorAboveText); t1 = renderObject._autocorrectHighlightPainter; t1.set$highlightColor(_this.promptRectColor); t2 = _this.clipBehavior; if (t2 !== renderObject._editable$_clipBehavior) { renderObject._editable$_clipBehavior = t2; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } t1.set$highlightedRange(_this.promptRectRange); }, get$value(receiver) { return this.value; } }; A._Editable__extractChildren_closure.prototype = { call$1(span) { if (span instanceof A.WidgetSpan) this.result.push(span.child); return true; }, $signature: 73 }; A._EditableTextState_State_AutomaticKeepAliveClientMixin.prototype = { initState$0() { this.super$State$initState(); if (this._widget.focusNode.get$hasFocus()) this._ensureKeepAlive$0(); }, deactivate$0() { var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle; if (t1 != null) { t1.notifyListeners$0(); this.AutomaticKeepAliveClientMixin__keepAliveHandle = null; } this.super$State$deactivate(); } }; A._EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver.prototype = {}; A._EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate.prototype = {}; A._EditableTextState_State_AutomaticKeepAliveClientMixin_WidgetsBindingObserver_TickerProviderStateMixin_TextSelectionDelegate_TextEditingActionTarget.prototype = {}; A.KeyEventResult.prototype = { toString$0(_) { return "KeyEventResult." + this._core$_name; } }; A._Autofocus.prototype = {}; A.FocusAttachment.prototype = { detach$0(_) { var t2, t1 = this._node; if (t1._attachment === this) { if (!t1.get$hasPrimaryFocus()) { t2 = t1._manager; t2 = t2 != null && t2._markedForFocus === t1; } else t2 = true; if (t2) t1.unfocus$1$disposition(B.UnfocusDisposition_1); t2 = t1._manager; if (t2 != null) { if (t2._primaryFocus === t1) t2._primaryFocus = null; t2._dirtyNodes.remove$1(0, t1); } t2 = t1._focus_manager$_parent; if (t2 != null) t2._removeChild$1(0, t1); t1._attachment = null; } }, reparent$0() { var t2, $parent, t1 = this._node; if (t1._attachment === this) { t2 = t1._context; t2.toString; $parent = A.Focus_maybeOf(t2, true); ($parent == null ? t1._context._owner.focusManager.rootScope : $parent)._reparent$1(t1); } } }; A.UnfocusDisposition.prototype = { toString$0(_) { return "UnfocusDisposition." + this._core$_name; } }; A.FocusNode.prototype = { set$skipTraversal(value) { var t1, _this = this; if (value !== _this._skipTraversal) { _this._skipTraversal = value; t1 = _this._manager; if (t1 != null) { t1._markNeedsUpdate$0(); t1._dirtyNodes.add$1(0, _this); } } }, get$canRequestFocus() { var scope, t1, t2, _i; if (!this._canRequestFocus) return false; scope = this.get$enclosingScope(); if (scope != null && !scope.get$canRequestFocus()) return false; for (t1 = this.get$ancestors(), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i].toString; return true; }, set$canRequestFocus(value) { var t1, _this = this; if (value !== _this._canRequestFocus) { _this._canRequestFocus = value; if (_this.get$hasFocus() && !value) _this.unfocus$1$disposition(B.UnfocusDisposition_1); t1 = _this._manager; if (t1 != null) { t1._markNeedsUpdate$0(); t1._dirtyNodes.add$1(0, _this); } } }, set$descendantsAreFocusable(value) { return; }, get$descendants() { var result, t2, _i, child, t1 = this._descendants; if (t1 == null) { result = A._setArrayType([], type$.JSArray_FocusNode); for (t1 = this._focus_manager$_children, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; B.JSArray_methods.addAll$1(result, child.get$descendants()); result.push(child); } this._descendants = result; t1 = result; } return t1; }, get$traversalDescendants() { var t1 = this.get$descendants(); return new A.WhereIterable(t1, new A.FocusNode_traversalDescendants_closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")); }, get$ancestors() { var result, $parent, t1 = this._ancestors; if (t1 == null) { result = A._setArrayType([], type$.JSArray_FocusNode); $parent = this._focus_manager$_parent; for (; $parent != null;) { result.push($parent); $parent = $parent._focus_manager$_parent; } this._ancestors = result; t1 = result; } return t1; }, get$hasFocus() { if (!this.get$hasPrimaryFocus()) { var t1 = this._manager; if (t1 == null) t1 = null; else { t1 = t1._primaryFocus; t1 = t1 == null ? null : B.JSArray_methods.contains$1(t1.get$ancestors(), this); } t1 = t1 === true; } else t1 = true; return t1; }, get$hasPrimaryFocus() { var t1 = this._manager; return (t1 == null ? null : t1._primaryFocus) === this; }, get$nearestScope() { return this.get$enclosingScope(); }, get$enclosingScope() { var t1, t2, _i, node; for (t1 = this.get$ancestors(), t2 = t1.length, _i = 0; _i < t2; ++_i) { node = t1[_i]; if (node instanceof A.FocusScopeNode) return node; } return null; }, get$rect(_) { var bottomRight, object = this._context.get$renderObject(), t1 = object.getTransformTo$1(0, null), t2 = object.get$semanticBounds(), topLeft = A.MatrixUtils_transformPoint(t1, new A.Offset(t2.left, t2.top)); t2 = object.getTransformTo$1(0, null); t1 = object.get$semanticBounds(); bottomRight = A.MatrixUtils_transformPoint(t2, new A.Offset(t1.right, t1.bottom)); return new A.Rect(topLeft._dx, topLeft._dy, bottomRight._dx, bottomRight._dy); }, unfocus$1$disposition(disposition) { var t1, scope, _this = this; if (!_this.get$hasFocus()) { t1 = _this._manager; t1 = t1 == null || t1._markedForFocus !== _this; } else t1 = false; if (t1) return; scope = _this.get$enclosingScope(); if (scope == null) return; switch (disposition.index) { case 0: if (scope.get$canRequestFocus()) B.JSArray_methods.set$length(scope._focusedChildren, 0); for (; !scope.get$canRequestFocus();) { scope = scope.get$enclosingScope(); if (scope == null) { t1 = _this._manager; scope = t1 == null ? null : t1.rootScope; } } scope._doRequestFocus$1$findFirstFocus(false); break; case 1: if (scope.get$canRequestFocus()) B.JSArray_methods.remove$1(scope._focusedChildren, _this); for (; !scope.get$canRequestFocus();) { t1 = scope.get$enclosingScope(); if (t1 != null) B.JSArray_methods.remove$1(t1._focusedChildren, scope); scope = scope.get$enclosingScope(); if (scope == null) { t1 = _this._manager; scope = t1 == null ? null : t1.rootScope; } } scope._doRequestFocus$1$findFirstFocus(true); break; } }, unfocus$0() { return this.unfocus$1$disposition(B.UnfocusDisposition_0); }, consumeKeyboardToken$0() { if (!this._hasKeyboardToken) return false; this._hasKeyboardToken = false; return true; }, _markNextFocus$1(newFocus) { var _this = this, t1 = _this._manager; if (t1 != null) { if (t1._primaryFocus === _this) t1._markedForFocus = null; else { t1._markedForFocus = _this; t1._markNeedsUpdate$0(); } return; } newFocus._setAsFocusedChildForScope$0(); newFocus._notify$0(); if (newFocus !== _this) _this._notify$0(); }, _removeChild$2$removeScopeFocus(_, node, removeScopeFocus) { var t1, t2, _i; if (removeScopeFocus) { t1 = node.get$enclosingScope(); if (t1 != null) B.JSArray_methods.remove$1(t1._focusedChildren, node); } node._focus_manager$_parent = null; B.JSArray_methods.remove$1(this._focus_manager$_children, node); for (t1 = this.get$ancestors(), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._descendants = null; this._descendants = null; }, _removeChild$1($receiver, node) { return this._removeChild$2$removeScopeFocus($receiver, node, true); }, _updateManager$1(manager) { var t1, t2, _i, descendant; this._manager = manager; for (t1 = this.get$descendants(), t2 = t1.length, _i = 0; _i < t2; ++_i) { descendant = t1[_i]; descendant._manager = manager; descendant._ancestors = null; } }, _reparent$1(child) { var oldScope, hadFocus, t1, t2, _i, inherited, _this = this; if (child._focus_manager$_parent === _this) return; oldScope = child.get$enclosingScope(); hadFocus = child.get$hasFocus(); t1 = child._focus_manager$_parent; if (t1 != null) t1._removeChild$2$removeScopeFocus(0, child, oldScope != _this.get$nearestScope()); _this._focus_manager$_children.push(child); child._focus_manager$_parent = _this; child._ancestors = null; child._updateManager$1(_this._manager); for (t1 = child.get$ancestors(), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._descendants = null; if (hadFocus) { t1 = _this._manager; if (t1 != null) { t1 = t1._primaryFocus; if (t1 != null) t1._setAsFocusedChildForScope$0(); } } if (oldScope != null && child._context != null && child.get$enclosingScope() !== oldScope) { inherited = child._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker); t1 = inherited == null ? null : inherited.policy; if (t1 != null) t1.changedScope$2$node$oldScope(child, oldScope); } if (child._requestFocusWhenReparented) { child._doRequestFocus$1$findFirstFocus(true); child._requestFocusWhenReparented = false; } }, attach$3$onKey$onKeyEvent(context, onKey, onKeyEvent) { var _this = this; _this._context = context; _this.onKey = onKey == null ? _this.onKey : onKey; return _this._attachment = new A.FocusAttachment(_this); }, attach$1(context) { return this.attach$3$onKey$onKeyEvent(context, null, null); }, dispose$0(_) { var t1 = this._attachment; if (t1 != null) t1.detach$0(0); this.super$ChangeNotifier$dispose(0); }, _notify$0() { var _this = this; if (_this._focus_manager$_parent == null) return; if (_this.get$hasPrimaryFocus()) _this._setAsFocusedChildForScope$0(); _this.notifyListeners$0(); }, requestFocus$0() { this._doRequestFocus$1$findFirstFocus(true); }, _doRequestFocus$1$findFirstFocus(findFirstFocus) { var t1, _this = this; if (!_this.get$canRequestFocus()) return; if (_this._focus_manager$_parent == null) { _this._requestFocusWhenReparented = true; return; } _this._setAsFocusedChildForScope$0(); if (_this.get$hasPrimaryFocus()) { t1 = _this._manager._markedForFocus; t1 = t1 == null || t1 === _this; } else t1 = false; if (t1) return; _this._hasKeyboardToken = true; _this._markNextFocus$1(_this); }, _setAsFocusedChildForScope$0() { var t1, t2, t3, scopeFocus, scopeFocus0, t4; for (t1 = B.JSArray_methods.get$iterator(this.get$ancestors()), t2 = new A.WhereTypeIterator(t1, type$.WhereTypeIterator_FocusScopeNode), t3 = type$.FocusScopeNode, scopeFocus = this; t2.moveNext$0(); scopeFocus = scopeFocus0) { scopeFocus0 = t3._as(t1.get$current(t1)); t4 = scopeFocus0._focusedChildren; B.JSArray_methods.remove$1(t4, scopeFocus); t4.push(scopeFocus); } }, debugDescribeChildren$0() { var t2, t3, t1 = {}; t1.count = 1; t2 = this._focus_manager$_children; t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,DiagnosticsNode>"); return A.List_List$of(new A.MappedListIterable(t2, new A.FocusNode_debugDescribeChildren_closure(t1), t3), true, t3._eval$1("ListIterable.E")); }, toStringShort$0() { var t1, extraData, _this = this; _this.get$hasFocus(); t1 = _this.get$hasFocus() && !_this.get$hasPrimaryFocus() ? "[IN FOCUS PATH]" : ""; extraData = t1 + (_this.get$hasPrimaryFocus() ? "[PRIMARY FOCUS]" : ""); t1 = "<optimized out>#" + A.shortHash(_this); return t1 + (extraData.length !== 0 ? "(" + extraData + ")" : ""); }, $isListenable: 1, $isDiagnosticableTree: 1 }; A.FocusNode_traversalDescendants_closure.prototype = { call$1(node) { return !node._skipTraversal && node.get$canRequestFocus(); }, $signature: 46 }; A.FocusNode_debugDescribeChildren_closure.prototype = { call$1(child) { return A.DiagnosticableTreeNode$("Child " + this._box_0.count++, null, child); }, $signature: 626 }; A.FocusScopeNode.prototype = { get$nearestScope() { return this; }, setFirstFocus$1(scope) { if (scope._focus_manager$_parent == null) this._reparent$1(scope); if (this.get$hasFocus()) scope._doRequestFocus$1$findFirstFocus(true); else scope._setAsFocusedChildForScope$0(); }, autofocus$1(_, node) { var t1, _this = this; if (node._focus_manager$_parent == null) _this._reparent$1(node); t1 = _this._manager; if (t1 != null) t1._pendingAutofocuses.push(new A._Autofocus(_this, node)); t1 = _this._manager; if (t1 != null) t1._markNeedsUpdate$0(); }, _doRequestFocus$1$findFirstFocus(findFirstFocus) { var t2, focusedChild, _this = this, t1 = _this._focusedChildren; while (true) { if ((t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null) != null) t2 = !(t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null).get$canRequestFocus(); else t2 = false; if (!t2) break; t1.pop(); } focusedChild = t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null; if (!findFirstFocus || focusedChild == null) { if (_this.get$canRequestFocus()) { _this._setAsFocusedChildForScope$0(); _this._markNextFocus$1(_this); } return; } focusedChild._doRequestFocus$1$findFirstFocus(true); } }; A.FocusHighlightMode.prototype = { toString$0(_) { return "FocusHighlightMode." + this._core$_name; } }; A.FocusHighlightStrategy.prototype = { toString$0(_) { return "FocusHighlightStrategy." + this._core$_name; } }; A.FocusManager.prototype = { dispose$0(_) { var _s16_ = "_keyEventManager"; if (J.$eq$(A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyEventManager, _s16_).keyMessageHandler, this.get$_handleKeyMessage())) { A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__keyEventManager, _s16_).keyMessageHandler = null; $.GestureBinding__instance.GestureBinding_pointerRouter._globalRoutes.remove$1(0, this.get$_focus_manager$_handlePointerEvent()); } this.super$ChangeNotifier$dispose(0); }, _focus_manager$_updateHighlightMode$0() { var t1, newMode, t2, _this = this; switch (0) { case 0: t1 = _this._lastInteractionWasTouch; if (t1 == null) return; newMode = t1 ? B.FocusHighlightMode_0 : B.FocusHighlightMode_1; break; } t1 = _this._highlightMode; if (t1 == null) t1 = A.FocusManager__defaultModeForPlatform(); t2 = _this._highlightMode = newMode; if (t2 !== t1) _this._notifyHighlightModeListeners$0(); }, _notifyHighlightModeListeners$0() { var listener, exception, stack, localListeners, _i, t3, exception0, rti, t4, _this = this, t1 = _this._focus_manager$_listeners, t2 = t1._observer_list$_map; if (t2.get$isEmpty(t2)) return; localListeners = A.List_List$from(t1, true, type$.void_Function_FocusHighlightMode); for (t1 = localListeners.length, _i = 0; _i < t1; ++_i) { listener = localListeners[_i]; try { if (t2.containsKey$1(0, listener)) { t3 = _this._highlightMode; if (t3 == null) t3 = A.FocusManager__defaultModeForPlatform(); listener.call$1(t3); } } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); rti = _this instanceof A.Closure ? A.closureFunctionType(_this) : null; t3 = A.ErrorDescription$("while dispatching notifications for " + A.createRuntimeType(rti == null ? A.instanceType(_this) : rti).toString$0(0)); t4 = $.$get$FlutterError_onError(); if (t4 != null) t4.call$1(new A.FlutterErrorDetails(exception, stack, "widgets library", t3, null, false)); } } }, _focus_manager$_handlePointerEvent$1($event) { var expectedMode, t1, _this = this; switch ($event.get$kind($event).index) { case 0: case 2: case 3: _this._lastInteractionWasTouch = true; expectedMode = B.FocusHighlightMode_0; break; case 1: case 4: _this._lastInteractionWasTouch = false; expectedMode = B.FocusHighlightMode_1; break; default: expectedMode = null; } t1 = _this._highlightMode; if (expectedMode !== (t1 == null ? A.FocusManager__defaultModeForPlatform() : t1)) _this._focus_manager$_updateHighlightMode$0(); }, _handleKeyMessage$1(message) { var t1, handled, t2, t3, t4, _i, node, results, t5, _this = this; _this._lastInteractionWasTouch = false; _this._focus_manager$_updateHighlightMode$0(); t1 = _this._primaryFocus; if (t1 == null) return false; t1 = A._setArrayType([t1], type$.JSArray_FocusNode); B.JSArray_methods.addAll$1(t1, _this._primaryFocus.get$ancestors()); t2 = t1.length; t3 = type$.JSArray_KeyEventResult; t4 = message.rawEvent; _i = 0; while (true) { if (!(_i < t1.length)) { handled = false; break; } c$1: { node = t1[_i]; results = A._setArrayType([], t3); t5 = node.onKey; if (t5 != null) results.push(t5.call$2(node, t4)); switch (A.combineKeyEventResults(results).index) { case 1: break c$1; case 0: handled = true; break; case 2: handled = false; break; default: handled = false; } break; } t1.length === t2 || (0, A.throwConcurrentModificationError)(t1); ++_i; } return handled; }, _markNeedsUpdate$0() { if (this._haveScheduledUpdate) return; this._haveScheduledUpdate = true; A.scheduleMicrotask(this.get$_applyFocusChange()); }, _applyFocusChange$0() { var previousFocus, t1, t2, t3, _i, autofocus, t4, t5, shouldApply, previousPath, nextPath, _this = this; _this._haveScheduledUpdate = false; previousFocus = _this._primaryFocus; for (t1 = _this._pendingAutofocuses, t2 = t1.length, t3 = _this.rootScope, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { autofocus = t1[_i]; t4 = autofocus.scope; if (t4._focus_manager$_parent != null || t4 === t3) if (t4._manager === _this) { t5 = t4._focusedChildren; t4 = (t5.length !== 0 ? B.JSArray_methods.get$last(t5) : null) == null && B.JSArray_methods.contains$1(autofocus.autofocusNode.get$ancestors(), t4); shouldApply = t4; } else shouldApply = false; else shouldApply = false; if (shouldApply) autofocus.autofocusNode._doRequestFocus$1$findFirstFocus(true); } B.JSArray_methods.set$length(t1, 0); t1 = _this._primaryFocus; if (t1 == null && _this._markedForFocus == null) _this._markedForFocus = t3; t2 = _this._markedForFocus; if (t2 != null && t2 !== t1) { if (previousFocus == null) previousPath = null; else { t1 = previousFocus.get$ancestors(); t1 = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); previousPath = t1; } if (previousPath == null) previousPath = A.LinkedHashSet_LinkedHashSet$_empty(type$.FocusNode); t1 = _this._markedForFocus.get$ancestors(); nextPath = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); t1 = _this._dirtyNodes; t1.addAll$1(0, nextPath.difference$1(previousPath)); t1.addAll$1(0, previousPath.difference$1(nextPath)); t1 = _this._primaryFocus = _this._markedForFocus; _this._markedForFocus = null; } if (previousFocus != t1) { if (previousFocus != null) _this._dirtyNodes.add$1(0, previousFocus); t1 = _this._primaryFocus; if (t1 != null) _this._dirtyNodes.add$1(0, t1); } for (t1 = _this._dirtyNodes, t2 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) t3._as(t2._collection$_current)._notify$0(); t1.clear$0(0); if (previousFocus != _this._primaryFocus) _this.notifyListeners$0(); }, debugDescribeChildren$0() { return A._setArrayType([A.DiagnosticableTreeNode$("rootScope", null, this.rootScope)], type$.JSArray_DiagnosticsNode); }, $isListenable: 1, $isDiagnosticableTree: 1 }; A._FocusManager_Object_DiagnosticableTreeMixin.prototype = {}; A._FocusManager_Object_DiagnosticableTreeMixin_ChangeNotifier.prototype = {}; A._FocusNode_Object_DiagnosticableTreeMixin.prototype = {}; A._FocusNode_Object_DiagnosticableTreeMixin_ChangeNotifier.prototype = {}; A.Focus.prototype = { get$onKeyEvent() { var t1 = this.focusNode; t1 = t1 == null ? null : t1.onKeyEvent; return t1; }, get$onKey() { var t1 = this._onKey; if (t1 == null) { t1 = this.focusNode; t1 = t1 == null ? null : t1.onKey; } return t1; }, get$canRequestFocus() { var t1 = this._focus_scope$_canRequestFocus; if (t1 == null) { t1 = this.focusNode; t1 = t1 == null ? null : t1.get$canRequestFocus(); } return t1 !== false; }, get$skipTraversal() { var t1 = this._focus_scope$_skipTraversal; if (t1 == null) { t1 = this.focusNode; t1 = t1 == null ? null : t1._skipTraversal; } return t1 === true; }, get$descendantsAreFocusable() { var t1 = this._descendantsAreFocusable; if (t1 == null) t1 = this.focusNode != null || null; return t1 !== false; }, get$debugLabel() { var t1 = this._focus_scope$_debugLabel; if (t1 == null) { t1 = this.focusNode; t1 = t1 == null ? null : t1._focus_manager$_debugLabel; } return t1; }, createState$0() { return A._FocusState$(); } }; A._FocusState.prototype = { get$focusNode(_) { var t1 = this._widget.focusNode; if (t1 == null) { t1 = this._internalNode; t1.toString; } return t1; }, initState$0() { this.super$State$initState(); this._initNode$0(); }, _initNode$0() { var t1, t2, t3, _this = this; if (_this._widget.focusNode == null) if (_this._internalNode == null) _this._internalNode = _this._createNode$0(); t1 = _this.get$focusNode(_this); _this._widget.get$descendantsAreFocusable(); t1.set$descendantsAreFocusable(true); _this._widget.get$skipTraversal(); t1 = _this.get$focusNode(_this); t2 = _this._widget; t1.set$skipTraversal(t2.get$skipTraversal()); _this._widget.get$canRequestFocus(); t1 = _this.get$focusNode(_this); t2 = _this._widget; t1.set$canRequestFocus(t2.get$canRequestFocus()); _this.___FocusState__couldRequestFocus = _this.get$focusNode(_this).get$canRequestFocus(); _this.get$focusNode(_this); _this.___FocusState__descendantsWereFocusable = true; _this.___FocusState__hadPrimaryFocus = _this.get$focusNode(_this).get$hasPrimaryFocus(); t1 = _this.get$focusNode(_this); t2 = _this._framework$_element; t2.toString; t3 = _this._widget.get$onKeyEvent(); _this._focusAttachment = t1.attach$3$onKey$onKeyEvent(t2, _this._widget.get$onKey(), t3); _this.get$focusNode(_this).addListener$1(0, _this.get$_handleFocusChanged()); }, _createNode$0() { var _this = this, t1 = _this._widget.get$debugLabel(), t2 = _this._widget.get$canRequestFocus(); _this._widget.get$descendantsAreFocusable(); return A.FocusNode$(t2, t1, true, null, null, _this._widget.get$skipTraversal()); }, dispose$0(_) { var t1, _this = this; _this.get$focusNode(_this).removeListener$1(0, _this.get$_handleFocusChanged()); _this._focusAttachment.detach$0(0); t1 = _this._internalNode; if (t1 != null) t1.dispose$0(0); _this.super$State$dispose(0); }, didChangeDependencies$0() { this.super$State$didChangeDependencies(); var t1 = this._focusAttachment; if (t1 != null) t1.reparent$0(); this._handleAutofocus$0(); }, _handleAutofocus$0() { var t1, _this = this; if (!_this._didAutofocus && _this._widget.autofocus) { t1 = _this._framework$_element; t1.toString; A.FocusScope_of(t1).autofocus$1(0, _this.get$focusNode(_this)); _this._didAutofocus = true; } }, deactivate$0() { this.super$State$deactivate(); var t1 = this._focusAttachment; if (t1 != null) t1.reparent$0(); this._didAutofocus = false; }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.focusNode; t2 = _this._widget; if (t1 == t2.focusNode) { if (!J.$eq$(t2.get$onKey(), _this.get$focusNode(_this).onKey)) _this.get$focusNode(_this).onKey = _this._widget.get$onKey(); _this._widget.get$onKeyEvent(); _this.get$focusNode(_this); _this._widget.get$skipTraversal(); t1 = _this.get$focusNode(_this); t2 = _this._widget; t1.set$skipTraversal(t2.get$skipTraversal()); _this._widget.get$canRequestFocus(); t1 = _this.get$focusNode(_this); t2 = _this._widget; t1.set$canRequestFocus(t2.get$canRequestFocus()); t1 = _this.get$focusNode(_this); _this._widget.get$descendantsAreFocusable(); t1.set$descendantsAreFocusable(true); } else { _this._focusAttachment.detach$0(0); if (t1 != null) t1.removeListener$1(0, _this.get$_handleFocusChanged()); _this._initNode$0(); } if (oldWidget.autofocus !== _this._widget.autofocus) _this._handleAutofocus$0(); }, _handleFocusChanged$0() { var t1, _this = this, hasPrimaryFocus = _this.get$focusNode(_this).get$hasPrimaryFocus(), canRequestFocus = _this.get$focusNode(_this).get$canRequestFocus(); _this.get$focusNode(_this); t1 = _this._widget.onFocusChange; if (t1 != null) t1.call$1(_this.get$focusNode(_this).get$hasFocus()); if (A._lateReadCheck(_this.___FocusState__hadPrimaryFocus, "_hadPrimaryFocus") !== hasPrimaryFocus) _this.setState$1(new A._FocusState__handleFocusChanged_closure(_this, hasPrimaryFocus)); if (A._lateReadCheck(_this.___FocusState__couldRequestFocus, "_couldRequestFocus") !== canRequestFocus) _this.setState$1(new A._FocusState__handleFocusChanged_closure0(_this, canRequestFocus)); if (!A._lateReadCheck(_this.___FocusState__descendantsWereFocusable, "_descendantsWereFocusable")) _this.setState$1(new A._FocusState__handleFocusChanged_closure1(_this, true)); }, build$1(_, context) { var t1, child, t2, t3, _this = this, _null = null; _this._focusAttachment.reparent$0(); t1 = _this._widget; child = t1.child; if (t1.includeSemantics) { t1 = A._lateReadCheck(_this.___FocusState__couldRequestFocus, "_couldRequestFocus"); t2 = A._lateReadCheck(_this.___FocusState__hadPrimaryFocus, "_hadPrimaryFocus"); t3 = _this._widget.child; child = new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, 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, _null, _null, _null, _null, _null, _null, _null), false, false, false, t3, _null); } return A._FocusMarker$(child, _this.get$focusNode(_this)); } }; A._FocusState__handleFocusChanged_closure.prototype = { call$0() { this.$this.___FocusState__hadPrimaryFocus = this.hasPrimaryFocus; }, $signature: 0 }; A._FocusState__handleFocusChanged_closure0.prototype = { call$0() { this.$this.___FocusState__couldRequestFocus = this.canRequestFocus; }, $signature: 0 }; A._FocusState__handleFocusChanged_closure1.prototype = { call$0() { this.$this.___FocusState__descendantsWereFocusable = this.descendantsAreFocusable; }, $signature: 0 }; A.FocusScope.prototype = { createState$0() { return new A._FocusScopeState(B._StateLifecycle_0); } }; A._FocusScopeState.prototype = { _createNode$0() { var t1 = this._widget.get$debugLabel(); return A.FocusScopeNode$(this._widget.get$canRequestFocus(), t1, this._widget.get$skipTraversal()); }, build$1(_, context) { var t1, _this = this, _null = null; _this._focusAttachment.reparent$0(); t1 = _this.get$focusNode(_this); t1 = A._FocusMarker$(_this._widget.child, t1); 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), false, true, false, t1, _null); } }; A._FocusMarker.prototype = {}; A._getAncestor_closure.prototype = { call$1(ancestor) { var t1 = this._box_0; if (--t1.count === 0) { t1.target = ancestor; return false; } return true; }, $signature: 37 }; A._FocusTraversalGroupInfo.prototype = {}; A.TraversalDirection.prototype = { toString$0(_) { return "TraversalDirection." + this._core$_name; } }; A.FocusTraversalPolicy.prototype = { _findInitialFocus$2$fromEnd(currentNode, fromEnd) { var sorted, scope = currentNode.get$nearestScope(), t1 = scope._focusedChildren, candidate = t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null; if (candidate == null && scope.get$descendants().length !== 0) { sorted = this._sortAllDescendants$2(scope, currentNode); if (sorted.length === 0) candidate = null; else candidate = fromEnd ? B.JSArray_methods.get$last(sorted) : B.JSArray_methods.get$first(sorted); } return candidate == null ? currentNode : candidate; }, _findInitialFocus$1(currentNode) { return this._findInitialFocus$2$fromEnd(currentNode, false); }, invalidateScopeData$1(node) { }, changedScope$2$node$oldScope(node, oldScope) { }, _getMarker$1(context) { var t1; if (context == null) t1 = null; else { t1 = context.getElementForInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker); t1 = t1 == null ? null : t1.get$widget(); } return type$.nullable__FocusTraversalGroupMarker._as(t1); }, _sortAllDescendants$2(scope, currentNode) { var groups, t2, t3, t4, t5, t6, _i, node, t7, ancestor, groupNode, parentContext, parentNode, sortedDescendants, _null = null, scopeGroupMarker = this._getMarker$1(scope._context), t1 = scopeGroupMarker == null, defaultPolicy = t1 ? _null : scopeGroupMarker.policy; if (defaultPolicy == null) defaultPolicy = new A.ReadingOrderTraversalPolicy(A.LinkedHashMap_LinkedHashMap$_empty(type$.FocusScopeNode, type$._DirectionalPolicyData)); groups = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_FocusNode, type$._FocusTraversalGroupInfo); for (t2 = scope.get$descendants(), t3 = t2.length, t4 = type$.nullable__FocusTraversalGroupMarker, t5 = type$._FocusTraversalGroupMarker, t6 = type$.JSArray_FocusNode, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { node = t2[_i]; t7 = node._context; if (t7 == null) t7 = _null; else { t7 = t7._inheritedWidgets; ancestor = t7 == null ? _null : t7.$index(0, A.createRuntimeType(t5)); t7 = ancestor == null ? _null : ancestor.get$widget(); } t4._as(t7); groupNode = t7 == null ? _null : t7.focusNode; if (J.$eq$(node, groupNode)) { t7 = groupNode._context; t7.toString; parentContext = A._getAncestor(t7, 2); if (parentContext == null) t7 = _null; else { t7 = parentContext._inheritedWidgets; ancestor = t7 == null ? _null : t7.$index(0, A.createRuntimeType(t5)); t7 = ancestor == null ? _null : ancestor.get$widget(); } t4._as(t7); parentNode = t7 == null ? _null : t7.focusNode; if (groups.$index(0, parentNode) == null) groups.$indexSet(0, parentNode, A._FocusTraversalGroupInfo$(t7, defaultPolicy, A._setArrayType([], t6))); groups.$index(0, parentNode).members.push(groupNode); continue; } if (node.get$canRequestFocus() && !node._skipTraversal) { if (groups.$index(0, groupNode) == null) groups.$indexSet(0, groupNode, A._FocusTraversalGroupInfo$(t7, defaultPolicy, A._setArrayType([], t6))); groups.$index(0, groupNode).members.push(node); } } for (t2 = groups.get$keys(groups), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = groups.$index(0, t3).policy.sortDescendants$2(groups.$index(0, t3).members, currentNode); t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4)); B.JSArray_methods.set$length(groups.$index(0, t3).members, 0); B.JSArray_methods.addAll$1(groups.$index(0, t3).members, t4); } sortedDescendants = A._setArrayType([], t6); if (groups.get$isNotEmpty(groups)) t2 = groups.containsKey$1(0, t1 ? _null : scopeGroupMarker.focusNode); else t2 = false; if (t2) { t2 = groups.$index(0, t1 ? _null : scopeGroupMarker.focusNode); t2.toString; new A.FocusTraversalPolicy__sortAllDescendants_visitGroups(groups, sortedDescendants).call$1(t2); } if (!!sortedDescendants.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(sortedDescendants, new A.FocusTraversalPolicy__sortAllDescendants_closure(), true); return sortedDescendants; }, _moveFocus$2$forward(currentNode, $forward) { var t2, focusedChild, firstFocus, sortedNodes, previousNode, previousNode0, _this = this, t1 = currentNode.get$nearestScope(); t1.toString; _this.super$FocusTraversalPolicy$invalidateScopeData(t1); _this.DirectionalFocusTraversalPolicyMixin__policyData.remove$1(0, t1); t2 = t1._focusedChildren; focusedChild = t2.length !== 0 ? B.JSArray_methods.get$last(t2) : null; if (focusedChild == null) { firstFocus = $forward ? _this._findInitialFocus$1(currentNode) : _this._findInitialFocus$2$fromEnd(currentNode, true); A._focusAndEnsureVisible(firstFocus, $forward ? B.ScrollPositionAlignmentPolicy_1 : B.ScrollPositionAlignmentPolicy_2); return true; } sortedNodes = _this._sortAllDescendants$2(t1, currentNode); if ($forward && focusedChild === B.JSArray_methods.get$last(sortedNodes)) { A._focusAndEnsureVisible(B.JSArray_methods.get$first(sortedNodes), B.ScrollPositionAlignmentPolicy_1); return true; } if (!$forward && focusedChild === B.JSArray_methods.get$first(sortedNodes)) { A._focusAndEnsureVisible(B.JSArray_methods.get$last(sortedNodes), B.ScrollPositionAlignmentPolicy_2); return true; } for (t1 = J.get$iterator$ax($forward ? sortedNodes : new A.ReversedListIterable(sortedNodes, A._arrayInstanceType(sortedNodes)._eval$1("ReversedListIterable<1>"))), previousNode = null; t1.moveNext$0(); previousNode = previousNode0) { previousNode0 = t1.get$current(t1); if (previousNode == focusedChild) { t1 = $forward ? B.ScrollPositionAlignmentPolicy_1 : B.ScrollPositionAlignmentPolicy_2; previousNode0.requestFocus$0(); t2 = previousNode0._context; t2.toString; A.Scrollable_ensureVisible(t2, 1, t1); return true; } } return false; } }; A.FocusTraversalPolicy__sortAllDescendants_visitGroups.prototype = { call$1(info) { var t1, t2, t3, t4, _i, node, t5; for (t1 = info.members, t2 = t1.length, t3 = this.sortedDescendants, t4 = this.groups, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { node = t1[_i]; if (t4.containsKey$1(0, node)) { t5 = t4.$index(0, node); t5.toString; this.call$1(t5); } else t3.push(node); } }, $signature: 628 }; A.FocusTraversalPolicy__sortAllDescendants_closure.prototype = { call$1(node) { return !node.get$canRequestFocus() || node._skipTraversal; }, $signature: 46 }; A._DirectionalPolicyDataEntry.prototype = {}; A._DirectionalPolicyData.prototype = {}; A.DirectionalFocusTraversalPolicyMixin.prototype = { findFirstFocusInDirection$2(currentNode, direction) { var _this = this; switch (direction.index) { case 0: return _this._sortAndFindInitial$3$first$vertical(currentNode, false, true); case 2: return _this._sortAndFindInitial$3$first$vertical(currentNode, true, true); case 3: return _this._sortAndFindInitial$3$first$vertical(currentNode, false, false); case 1: return _this._sortAndFindInitial$3$first$vertical(currentNode, true, false); } }, _sortAndFindInitial$3$first$vertical(currentNode, first, vertical) { var nodes = currentNode.get$nearestScope().get$traversalDescendants(), sorted = A.List_List$of(nodes, true, nodes.$ti._eval$1("Iterable.E")); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFindInitial_closure(vertical, first), type$.FocusNode); if (sorted.length !== 0) return B.JSArray_methods.get$first(sorted); return null; }, _sortAndFilterHorizontally$3(direction, target, nearestScope) { var result, nodes = nearestScope.get$traversalDescendants(), sorted = A.List_List$of(nodes, true, nodes.$ti._eval$1("Iterable.E")); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure(), type$.FocusNode); switch (direction.index) { case 3: result = new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0(target), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); break; case 1: result = new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1(target), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); break; case 0: case 2: result = null; break; default: result = null; } return result; }, _sortAndFilterVertically$3(direction, target, nodes) { var sorted = A.List_List$of(nodes, true, nodes.$ti._eval$1("Iterable.E")); A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure(), type$.FocusNode); switch (direction.index) { case 0: return new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0(target), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); case 2: return new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1(target), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); case 3: case 1: break; } return null; }, _popPolicyDataIfNeeded$3(direction, nearestScope, focusedChild) { var t3, popOrInvalidate, _this = this, t1 = _this.DirectionalFocusTraversalPolicyMixin__policyData, policyData = t1.$index(0, nearestScope), t2 = policyData != null; if (t2) { t3 = policyData.history; t3 = t3.length !== 0 && B.JSArray_methods.get$first(t3).direction !== direction; } else t3 = false; if (t3) { t3 = policyData.history; if (B.JSArray_methods.get$last(t3).node._focus_manager$_parent == null) { _this.super$FocusTraversalPolicy$invalidateScopeData(nearestScope); t1.remove$1(0, nearestScope); return false; } popOrInvalidate = new A.DirectionalFocusTraversalPolicyMixin__popPolicyDataIfNeeded_popOrInvalidate(_this, policyData, nearestScope); switch (direction.index) { case 2: case 0: switch (B.JSArray_methods.get$first(t3).direction.index) { case 3: case 1: _this.super$FocusTraversalPolicy$invalidateScopeData(nearestScope); t1.remove$1(0, nearestScope); break; case 0: case 2: if (popOrInvalidate.call$1(direction)) return true; break; } break; case 3: case 1: switch (B.JSArray_methods.get$first(t3).direction.index) { case 3: case 1: if (popOrInvalidate.call$1(direction)) return true; break; case 0: case 2: _this.super$FocusTraversalPolicy$invalidateScopeData(nearestScope); t1.remove$1(0, nearestScope); break; } break; } } if (t2 && policyData.history.length === 0) { _this.super$FocusTraversalPolicy$invalidateScopeData(nearestScope); t1.remove$1(0, nearestScope); } return false; }, inDirection$2(currentNode, direction) { var firstFocus, focusedScrollable, eligibleNodes, filteredEligibleNodes, found, sorted, t2, inBand, policyData, newEntry, _this = this, _null = null, nearestScope = currentNode.get$nearestScope(), t1 = nearestScope._focusedChildren, focusedChild = t1.length !== 0 ? B.JSArray_methods.get$last(t1) : _null; if (focusedChild == null) { firstFocus = _this.findFirstFocusInDirection$2(currentNode, direction); if (firstFocus == null) firstFocus = currentNode; switch (direction.index) { case 0: case 3: A._focusAndEnsureVisible(firstFocus, B.ScrollPositionAlignmentPolicy_2); break; case 1: case 2: A._focusAndEnsureVisible(firstFocus, B.ScrollPositionAlignmentPolicy_1); break; } return true; } if (_this._popPolicyDataIfNeeded$3(direction, nearestScope, focusedChild)) return true; t1 = focusedChild._context; t1.toString; focusedScrollable = A.Scrollable_of(t1); t1 = direction.index; switch (t1) { case 2: case 0: eligibleNodes = _this._sortAndFilterVertically$3(direction, focusedChild.get$rect(focusedChild), nearestScope.get$traversalDescendants()); if (focusedScrollable != null && !focusedScrollable._scrollable$_position.get$atEdge()) { eligibleNodes.toString; filteredEligibleNodes = new A.WhereIterable(eligibleNodes, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure(focusedScrollable), eligibleNodes.$ti._eval$1("WhereIterable<Iterable.E>")); if (!filteredEligibleNodes.get$isEmpty(filteredEligibleNodes)) eligibleNodes = filteredEligibleNodes; } if (!eligibleNodes.get$iterator(eligibleNodes).moveNext$0()) { found = _null; break; } sorted = A.List_List$of(eligibleNodes, true, A._instanceType(eligibleNodes)._eval$1("Iterable.E")); if (direction === B.TraversalDirection_0) { t2 = A._arrayInstanceType(sorted)._eval$1("ReversedListIterable<1>"); sorted = A.List_List$of(new A.ReversedListIterable(sorted, t2), true, t2._eval$1("ListIterable.E")); } inBand = new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure0(new A.Rect(focusedChild.get$rect(focusedChild).left, -1 / 0, focusedChild.get$rect(focusedChild).right, 1 / 0)), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); if (!inBand.get$isEmpty(inBand)) { found = inBand.get$first(inBand); break; } A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure1(focusedChild), type$.FocusNode); found = B.JSArray_methods.get$first(sorted); break; case 1: case 3: eligibleNodes = _this._sortAndFilterHorizontally$3(direction, focusedChild.get$rect(focusedChild), nearestScope); if (focusedScrollable != null && !focusedScrollable._scrollable$_position.get$atEdge()) { eligibleNodes.toString; filteredEligibleNodes = new A.WhereIterable(eligibleNodes, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure2(focusedScrollable), eligibleNodes.$ti._eval$1("WhereIterable<Iterable.E>")); if (!filteredEligibleNodes.get$isEmpty(filteredEligibleNodes)) eligibleNodes = filteredEligibleNodes; } if (!eligibleNodes.get$iterator(eligibleNodes).moveNext$0()) { found = _null; break; } sorted = A.List_List$of(eligibleNodes, true, A._instanceType(eligibleNodes)._eval$1("Iterable.E")); if (direction === B.TraversalDirection_3) { t2 = A._arrayInstanceType(sorted)._eval$1("ReversedListIterable<1>"); sorted = A.List_List$of(new A.ReversedListIterable(sorted, t2), true, t2._eval$1("ListIterable.E")); } inBand = new A.WhereIterable(sorted, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure3(new A.Rect(-1 / 0, focusedChild.get$rect(focusedChild).top, 1 / 0, focusedChild.get$rect(focusedChild).bottom)), A._arrayInstanceType(sorted)._eval$1("WhereIterable<1>")); if (!inBand.get$isEmpty(inBand)) { found = inBand.get$first(inBand); break; } A.mergeSort(sorted, new A.DirectionalFocusTraversalPolicyMixin_inDirection_closure4(focusedChild), type$.FocusNode); found = B.JSArray_methods.get$first(sorted); break; default: found = _null; } if (found != null) { t2 = _this.DirectionalFocusTraversalPolicyMixin__policyData; policyData = t2.$index(0, nearestScope); newEntry = new A._DirectionalPolicyDataEntry(direction, focusedChild); if (policyData != null) policyData.history.push(newEntry); else t2.$indexSet(0, nearestScope, new A._DirectionalPolicyData(A._setArrayType([newEntry], type$.JSArray__DirectionalPolicyDataEntry))); switch (t1) { case 0: case 3: A._focusAndEnsureVisible(found, B.ScrollPositionAlignmentPolicy_2); break; case 2: case 1: A._focusAndEnsureVisible(found, B.ScrollPositionAlignmentPolicy_1); break; } return true; } return false; } }; A._ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure.prototype = { call$1(entry) { return entry.node === this.node; }, $signature: 629 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFindInitial_closure.prototype = { call$2(a, b) { if (this.vertical) if (this.first) return B.JSNumber_methods.compareTo$1(a.get$rect(a).top, b.get$rect(b).top); else return B.JSNumber_methods.compareTo$1(b.get$rect(b).bottom, a.get$rect(a).bottom); else if (this.first) return B.JSNumber_methods.compareTo$1(a.get$rect(a).left, b.get$rect(b).left); else return B.JSNumber_methods.compareTo$1(b.get$rect(b).right, a.get$rect(a).right); }, $signature: 99 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure.prototype = { call$2(a, b) { return B.JSNumber_methods.compareTo$1(a.get$rect(a).get$center()._dx, b.get$rect(b).get$center()._dx); }, $signature: 99 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure0.prototype = { call$1(node) { var t1 = this.target; return !node.get$rect(node).$eq(0, t1) && node.get$rect(node).get$center()._dx <= t1.left; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterHorizontally_closure1.prototype = { call$1(node) { var t1 = this.target; return !node.get$rect(node).$eq(0, t1) && node.get$rect(node).get$center()._dx >= t1.right; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure.prototype = { call$2(a, b) { return B.JSNumber_methods.compareTo$1(a.get$rect(a).get$center()._dy, b.get$rect(b).get$center()._dy); }, $signature: 99 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure0.prototype = { call$1(node) { var t1 = this.target; return !node.get$rect(node).$eq(0, t1) && node.get$rect(node).get$center()._dy <= t1.top; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin__sortAndFilterVertically_closure1.prototype = { call$1(node) { var t1 = this.target; return !node.get$rect(node).$eq(0, t1) && node.get$rect(node).get$center()._dy >= t1.bottom; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin__popPolicyDataIfNeeded_popOrInvalidate.prototype = { call$1(direction) { var t2, alignmentPolicy, lastNode = this.policyData.history.pop().node, t1 = lastNode._context; t1.toString; t1 = A.Scrollable_of(t1); t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus._context; t2.toString; if (t1 != A.Scrollable_of(t2)) { t1 = this.$this; t2 = this.nearestScope; t1.super$FocusTraversalPolicy$invalidateScopeData(t2); t1.DirectionalFocusTraversalPolicyMixin__policyData.remove$1(0, t2); return false; } switch (direction.index) { case 0: case 3: alignmentPolicy = B.ScrollPositionAlignmentPolicy_2; break; case 1: case 2: alignmentPolicy = B.ScrollPositionAlignmentPolicy_1; break; default: alignmentPolicy = null; } A._focusAndEnsureVisible(lastNode, alignmentPolicy); return true; }, $signature: 631 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure.prototype = { call$1(node) { var t1 = node._context; t1.toString; return A.Scrollable_of(t1) === this.focusedScrollable; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure0.prototype = { call$1(node) { var t1 = node.get$rect(node).intersect$1(this.band); return !t1.get$isEmpty(t1); }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure1.prototype = { call$2(a, b) { var t1 = this.focusedChild; return B.JSNumber_methods.compareTo$1(Math.abs(a.get$rect(a).get$center()._dx - t1.get$rect(t1).get$center()._dx), Math.abs(b.get$rect(b).get$center()._dx - t1.get$rect(t1).get$center()._dx)); }, $signature: 99 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure2.prototype = { call$1(node) { var t1 = node._context; t1.toString; return A.Scrollable_of(t1) === this.focusedScrollable; }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure3.prototype = { call$1(node) { var t1 = node.get$rect(node).intersect$1(this.band); return !t1.get$isEmpty(t1); }, $signature: 46 }; A.DirectionalFocusTraversalPolicyMixin_inDirection_closure4.prototype = { call$2(a, b) { var t1 = this.focusedChild; return B.JSNumber_methods.compareTo$1(Math.abs(a.get$rect(a).get$center()._dy - t1.get$rect(t1).get$center()._dy), Math.abs(b.get$rect(b).get$center()._dy - t1.get$rect(t1).get$center()._dy)); }, $signature: 99 }; A._ReadingOrderSortData.prototype = { get$directionalAncestors() { var t1 = this._directionalAncestors; if (t1 == null) { t1 = this.node._context; t1.toString; t1 = this._directionalAncestors = new A._ReadingOrderSortData_directionalAncestors_getDirectionalityAncestors().call$1(t1); } t1.toString; return t1; } }; A._ReadingOrderSortData_commonDirectionalityOf_closure.prototype = { call$1(member) { var t1 = member.get$directionalAncestors(); return A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1); }, $signature: 632 }; A._ReadingOrderSortData_sortWithDirectionality_closure.prototype = { call$2(a, b) { switch (this.directionality.index) { case 1: return B.JSNumber_methods.compareTo$1(a.rect.left, b.rect.left); case 0: return B.JSNumber_methods.compareTo$1(b.rect.right, a.rect.right); } }, $signature: 299 }; A._ReadingOrderSortData_directionalAncestors_getDirectionalityAncestors.prototype = { call$1(context) { var t2, ancestor, result = A._setArrayType([], type$.JSArray_Directionality), t1 = type$.Directionality, directionalityElement = context.getElementForInheritedWidgetOfExactType$1$0(t1); for (; directionalityElement != null;) { result.push(t1._as(directionalityElement.get$widget())); t2 = A._getAncestor(directionalityElement, 1); if (t2 == null) directionalityElement = null; else { t2 = t2._inheritedWidgets; ancestor = t2 == null ? null : t2.$index(0, A.createRuntimeType(t1)); directionalityElement = ancestor; } } return result; }, $signature: 634 }; A._ReadingOrderDirectionalGroupData.prototype = { get$rect(_) { var t1, t2, t3, t4, _this = this; if (_this._rect == null) for (t1 = _this.members, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Rect>"), t1 = new A.MappedListIterable(t1, new A._ReadingOrderDirectionalGroupData_rect_closure(), t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); t4 = _this._rect; if (t4 == null) { _this._rect = t3; t4 = t3; } _this._rect = t4.expandToInclude$1(t3); } t1 = _this._rect; t1.toString; return t1; } }; A._ReadingOrderDirectionalGroupData_rect_closure.prototype = { call$1(data) { return data.rect; }, $signature: 635 }; A._ReadingOrderDirectionalGroupData_sortWithDirectionality_closure.prototype = { call$2(a, b) { switch (this.directionality.index) { case 1: return B.JSNumber_methods.compareTo$1(a.get$rect(a).left, b.get$rect(b).left); case 0: return B.JSNumber_methods.compareTo$1(b.get$rect(b).right, a.get$rect(a).right); } }, $signature: 636 }; A.ReadingOrderTraversalPolicy.prototype = { _collectDirectionalityGroups$1(candidates) { var t2, _i, candidate, currentDirection0, t3, currentDirection = B.JSArray_methods.get$first(candidates).directionality, t1 = type$.JSArray__ReadingOrderSortData, currentGroup = A._setArrayType([], t1), result = A._setArrayType([], type$.JSArray__ReadingOrderDirectionalGroupData); for (t2 = candidates.length, _i = 0; _i < candidates.length; candidates.length === t2 || (0, A.throwConcurrentModificationError)(candidates), ++_i) { candidate = candidates[_i]; currentDirection0 = candidate.directionality; if (currentDirection0 == currentDirection) { currentGroup.push(candidate); continue; } result.push(new A._ReadingOrderDirectionalGroupData(currentGroup)); currentGroup = A._setArrayType([candidate], t1); currentDirection = currentDirection0; } if (currentGroup.length !== 0) result.push(new A._ReadingOrderDirectionalGroupData(currentGroup)); for (t1 = result.length, _i = 0; _i < result.length; result.length === t1 || (0, A.throwConcurrentModificationError)(result), ++_i) { t2 = result[_i].members; if (t2.length === 1) continue; t3 = B.JSArray_methods.get$first(t2).directionality; t3.toString; A._ReadingOrderSortData_sortWithDirectionality(t2, t3); } return result; }, _pickNext$1(candidates) { var topmost, inBandOfTop, nearestCommonDirectionality, bandGroups; A.mergeSort(candidates, new A.ReadingOrderTraversalPolicy__pickNext_closure(), type$._ReadingOrderSortData); topmost = B.JSArray_methods.get$first(candidates); inBandOfTop = new A.ReadingOrderTraversalPolicy__pickNext_inBand().call$2(topmost, candidates); if (J.get$length$asx(inBandOfTop) <= 1) return topmost; nearestCommonDirectionality = A._ReadingOrderSortData_commonDirectionalityOf(inBandOfTop); nearestCommonDirectionality.toString; A._ReadingOrderSortData_sortWithDirectionality(inBandOfTop, nearestCommonDirectionality); bandGroups = this._collectDirectionalityGroups$1(inBandOfTop); if (bandGroups.length === 1) return B.JSArray_methods.get$first(B.JSArray_methods.get$first(bandGroups).members); A._ReadingOrderDirectionalGroupData_sortWithDirectionality(bandGroups, nearestCommonDirectionality); return B.JSArray_methods.get$first(B.JSArray_methods.get$first(bandGroups).members); }, sortDescendants$2(descendants, currentNode) { var t1, t2, t3, t4, _i, node, t5, t6, ancestor, sortedList, current, next; if (descendants.length <= 1) return descendants; t1 = A._setArrayType([], type$.JSArray__ReadingOrderSortData); for (t2 = descendants.length, t3 = type$.nullable_Directionality, t4 = type$.Directionality, _i = 0; _i < descendants.length; descendants.length === t2 || (0, A.throwConcurrentModificationError)(descendants), ++_i) { node = descendants[_i]; t5 = node.get$rect(node); t6 = node._context._inheritedWidgets; ancestor = t6 == null ? null : t6.$index(0, A.createRuntimeType(t4)); t6 = t3._as(ancestor == null ? null : ancestor.get$widget()); t1.push(new A._ReadingOrderSortData(t6 == null ? null : t6.textDirection, t5, node)); } sortedList = A._setArrayType([], type$.JSArray_FocusNode); current = this._pickNext$1(t1); sortedList.push(current.node); B.JSArray_methods.remove$1(t1, current); for (; t1.length !== 0;) { next = this._pickNext$1(t1); sortedList.push(next.node); B.JSArray_methods.remove$1(t1, next); } return sortedList; } }; A.ReadingOrderTraversalPolicy__pickNext_closure.prototype = { call$2(a, b) { return B.JSNumber_methods.compareTo$1(a.rect.top, b.rect.top); }, $signature: 299 }; A.ReadingOrderTraversalPolicy__pickNext_inBand.prototype = { call$2(current, candidates) { var t1 = current.rect, t2 = A._arrayInstanceType(candidates)._eval$1("WhereIterable<1>"); return A.List_List$of(new A.WhereIterable(candidates, new A.ReadingOrderTraversalPolicy__pickNext_inBand_closure(new A.Rect(-1 / 0, t1.top, 1 / 0, t1.bottom)), t2), true, t2._eval$1("Iterable.E")); }, $signature: 637 }; A.ReadingOrderTraversalPolicy__pickNext_inBand_closure.prototype = { call$1(item) { var t1 = item.rect.intersect$1(this.band); return !t1.get$isEmpty(t1); }, $signature: 638 }; A.FocusTraversalGroup.prototype = { createState$0() { return new A._FocusTraversalGroupState(B._StateLifecycle_0); } }; A._FocusTraversalGroupState.prototype = { initState$0() { this.super$State$initState(); this.focusNode = A.FocusNode$(false, "FocusTraversalGroup", true, null, null, true); }, dispose$0(_) { var t1 = this.focusNode; if (t1 != null) t1.dispose$0(0); this.super$State$dispose(0); }, build$1(_, context) { var _null = null, t1 = this._widget, t2 = t1.policy, t3 = this.focusNode; t3.toString; return new A._FocusTraversalGroupMarker(t2, t3, A.Focus$(false, false, t1.child, _null, true, t3, false, _null, _null, _null, _null, true), _null); } }; A._FocusTraversalGroupMarker.prototype = { updateShouldNotify$1(oldWidget) { return false; } }; A.RequestFocusAction.prototype = { invoke$1(intent) { A._focusAndEnsureVisible(intent.get$focusNode(intent), B.ScrollPositionAlignmentPolicy_0); } }; A.NextFocusIntent.prototype = {}; A.NextFocusAction.prototype = { invoke$1(intent) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, true); } }; A.PreviousFocusIntent.prototype = {}; A.PreviousFocusAction.prototype = { invoke$1(intent) { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy._moveFocus$2$forward(t1, false); } }; A.DirectionalFocusIntent.prototype = {}; A.DirectionalFocusAction.prototype = { invoke$1(intent) { var t1 = $.WidgetsBinding__instance; if (!(t1.WidgetsBinding__buildOwner.focusManager._primaryFocus._context.get$widget() instanceof A.EditableText)) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; t1._context.dependOnInheritedWidgetOfExactType$1$0(type$._FocusTraversalGroupMarker).policy.inDirection$2(t1, intent.direction); } } }; A._FocusTraversalPolicy_Object_Diagnosticable.prototype = {}; A._ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin.prototype = { changedScope$2$node$oldScope(node, oldScope) { var t1; this.super$FocusTraversalPolicy$changedScope(node, oldScope); t1 = this.DirectionalFocusTraversalPolicyMixin__policyData.$index(0, oldScope); if (t1 != null) { t1 = t1.history; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A._ReadingOrderTraversalPolicy_FocusTraversalPolicy_DirectionalFocusTraversalPolicyMixin_changedScope_closure(node), true); } } }; A.__ReadingOrderDirectionalGroupData_Object_Diagnosticable.prototype = {}; A.__ReadingOrderSortData_Object_Diagnosticable.prototype = {}; A.Form.prototype = { createState$0() { return new A.FormState(A.LinkedHashSet_LinkedHashSet$_empty(type$.FormFieldState_dynamic), B._StateLifecycle_0); } }; A.FormState.prototype = { _fieldDidChange$0() { var _this = this; _this._widget.toString; _this._hasInteractedByUser = _this._fields.any$1(0, new A.FormState__fieldDidChange_closure()); _this._forceRebuild$0(); }, _forceRebuild$0() { this.setState$1(new A.FormState__forceRebuild_closure(this)); }, build$1(_, context) { var t1, _this = this; switch (_this._widget.autovalidateMode.index) { case 1: _this._validate$0(); break; case 2: if (_this._hasInteractedByUser) _this._validate$0(); break; case 0: break; } t1 = _this._widget; return new A.WillPopScope(new A._FormScope(_this, _this._generation, t1.child, null), null, null); }, save$0(_) { var t1, t2, t3, t4, value; for (t1 = this._fields, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) { t3 = t2._as(t1._collection$_current); t4 = t3.get$widget().onSaved; if (t4 != null) { value = t3.__FormFieldState__value; t4.call$1(value === $ ? t3.__FormFieldState__value = t3.get$widget().initialValue : value); } } }, validate$0() { this._hasInteractedByUser = true; this._forceRebuild$0(); return this._validate$0(); }, _validate$0() { var t1, t2, hasError; for (t1 = this._fields, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1, hasError = false; t1.moveNext$0();) hasError = !t2._as(t1._collection$_current).validate$0() || hasError; return !hasError; } }; A.FormState__fieldDidChange_closure.prototype = { call$1(field) { var t1 = field._hasInteractedByUser; return A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value); }, $signature: 639 }; A.FormState__forceRebuild_closure.prototype = { call$0() { ++this.$this._generation; }, $signature: 0 }; A._FormScope.prototype = { updateShouldNotify$1(old) { return this._generation !== old._generation; } }; A.FormField.prototype = { createState$0() { return A.FormFieldState$(A._instanceType(this)._eval$1("FormField.T")); } }; A.FormFieldState.prototype = { get$_form$_value() { var value = this.__FormFieldState__value; return value === $ ? this.__FormFieldState__value = this.get$widget().initialValue : value; }, get$value(_) { return this.get$_form$_value(); }, validate$0() { this.setState$1(new A.FormFieldState_validate_closure(this)); var t1 = this._errorText; return A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value) == null; }, _validate$0() { var t1, _this = this; if (_this.get$widget().validator != null) { t1 = _this.get$widget().validator; t1.toString; _this._errorText.set$value(0, t1.call$1(_this.get$_form$_value())); } }, didChange$1(value) { var t1; this.setState$1(new A.FormFieldState_didChange_closure(this, value)); t1 = this._framework$_element; t1.toString; t1 = A.Form_of(t1); if (t1 != null) t1._fieldDidChange$0(); }, get$restorationId() { return this.get$widget().restorationId; }, restoreState$2(oldBucket, initialRestore) { var _this = this; _this.registerForRestoration$2(_this._errorText, "error_text"); _this.registerForRestoration$2(_this._hasInteractedByUser, "has_interacted_by_user"); }, deactivate$0() { var t1 = this._framework$_element; t1.toString; t1 = A.Form_of(t1); if (t1 != null) t1._fields.remove$1(0, this); this.super$State$deactivate(); }, build$1(_, context) { var t1, _this = this; _this.get$widget(); switch (_this.get$widget().autovalidateMode.index) { case 1: _this._validate$0(); break; case 2: t1 = _this._hasInteractedByUser; if (A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value)) _this._validate$0(); break; case 0: break; } t1 = A.Form_of(context); if (t1 != null) t1._fields.add$1(0, _this); return _this.get$widget().builder.call$1(_this); } }; A.FormFieldState_validate_closure.prototype = { call$0() { this.$this._validate$0(); }, $signature: 0 }; A.FormFieldState_didChange_closure.prototype = { call$0() { var t1 = this.$this; t1.__FormFieldState__value = this.value; t1._hasInteractedByUser.super$RestorableValue$value(0, true); }, $signature: 0 }; A.AutovalidateMode.prototype = { toString$0(_) { return "AutovalidateMode." + this._core$_name; } }; A._FormFieldState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A._FormFieldState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A._FormFieldState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.UniqueKey.prototype = { toString$0(_) { return "[#" + A.shortHash(this) + "]"; } }; A.ObjectKey.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.ObjectKey && other.value === this.value; }, get$hashCode(_) { return A.hashValues(A.getRuntimeType(this), A.objectHashCode(this.value), 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, 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); }, toString$0(_) { var _s16_ = "<optimized out>#"; if (A.getRuntimeType(this) === B.Type_ObjectKey_Gsr) return "[" + (_s16_ + A.shortHash(this.value)) + "]"; return "[ObjectKey " + (_s16_ + A.shortHash(this.value)) + "]"; }, get$value(receiver) { return this.value; } }; A.GlobalKey.prototype = { get$currentState() { var state, element = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this); if (element instanceof A.StatefulElement) { state = element.get$state(element); if (A._instanceType(this)._eval$1("GlobalKey.T")._is(state)) return state; } return null; } }; A.LabeledGlobalKey.prototype = { toString$0(_) { var _this = this, t1 = _this._debugLabel, label = t1 != null ? " " + t1 : ""; if (A.getRuntimeType(_this) === B.Type_LabeledGlobalKey_6TW) return "[GlobalKey#" + A.shortHash(_this) + label + "]"; return "[" + ("<optimized out>#" + A.shortHash(_this)) + label + "]"; } }; A.GlobalObjectKey.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return this.$ti._is(other) && other.value === this.value; }, get$hashCode(_) { return A.objectHashCode(this.value); }, toString$0(_) { var _s15_ = "GlobalObjectKey"; return "[" + (B.JSString_methods.endsWith$1(_s15_, "<State<StatefulWidget>>") ? B.JSString_methods.substring$2(_s15_, 0, -8) : _s15_) + " " + ("<optimized out>#" + A.shortHash(this.value)) + "]"; }, get$value(receiver) { return this.value; } }; A.Widget.prototype = { toStringShort$0() { var _this = this; return _this.get$key(_this) == null ? "Widget" : "Widget-" + A.S(_this.get$key(_this)); }, $eq(_, other) { if (other == null) return false; return this.super$Object$$eq(0, other); }, get$hashCode(_) { return A.Object.prototype.get$hashCode.call(this, this); }, get$key(receiver) { return this.key; } }; A.StatelessWidget.prototype = { createElement$0(_) { return A.StatelessElement$(this); } }; A.StatefulWidget.prototype = { createElement$0(_) { return A.StatefulElement$(this); } }; A._StateLifecycle.prototype = { toString$0(_) { return "_StateLifecycle." + this._core$_name; } }; A.State.prototype = { get$widget() { var t1 = this._widget; t1.toString; return t1; }, initState$0() { }, didUpdateWidget$1(oldWidget) { }, reassemble$0() { }, setState$1(fn) { fn.call$0(); this._framework$_element.markNeedsBuild$0(); }, deactivate$0() { }, activate$0() { }, dispose$0(_) { }, didChangeDependencies$0() { } }; A.ProxyWidget.prototype = {}; A.ParentDataWidget.prototype = { createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.ParentDataElement(t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2), A._instanceType(this)._eval$1("ParentDataElement<ParentDataWidget.T>")); } }; A.InheritedWidget.prototype = { createElement$0(_) { return A.InheritedElement$(this); } }; A.RenderObjectWidget.prototype = { updateRenderObject$2(context, renderObject) { }, didUnmountRenderObject$1(renderObject) { } }; A.LeafRenderObjectWidget.prototype = { createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A.LeafRenderObjectElement(t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); } }; A.SingleChildRenderObjectWidget.prototype = { createElement$0(_) { return A.SingleChildRenderObjectElement$(this); } }; A.MultiChildRenderObjectWidget.prototype = { createElement$0(_) { return A.MultiChildRenderObjectElement$(this); } }; A._ElementLifecycle.prototype = { toString$0(_) { return "_ElementLifecycle." + this._core$_name; } }; A._InactiveElements.prototype = { _unmount$1(element) { element.visitChildren$1(new A._InactiveElements__unmount_closure(this, element)); element.unmount$0(); }, _unmountAll$0() { var elements, t1, elements0, _this = this; _this._locked = true; t1 = _this._framework$_elements; elements0 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")); B.JSArray_methods.sort$1(elements0, A.framework_Element__sort$closure()); elements = elements0; t1.clear$0(0); try { t1 = elements; new A.ReversedListIterable(t1, A.instanceType(t1)._eval$1("ReversedListIterable<1>")).forEach$1(0, _this.get$_unmount()); } finally { _this._locked = false; } } }; A._InactiveElements__unmount_closure.prototype = { call$1(child) { this.$this._unmount$1(child); }, $signature: 32 }; A.BuildOwner.prototype = { scheduleBuildFor$1(element) { var _this = this; if (element._inDirtyList) { _this._dirtyElementsNeedsResorting = true; return; } if (!_this._scheduledFlushDirtyElements && _this.onBuildScheduled != null) { _this._scheduledFlushDirtyElements = true; _this.onBuildScheduled.call$0(); } _this._dirtyElements.push(element); element._inDirtyList = true; }, lockState$1(callback) { try { callback.call$0(); } finally { } }, buildScope$2(context, callback) { var e, stack, element, t2, exception, t3, t4, _i, _this = this, _box_0 = {}, t1 = callback == null; if (t1 && _this._dirtyElements.length === 0) return; A.Timeline_startSync("Build", B.Map_9aZ6I, null); try { _this._scheduledFlushDirtyElements = true; if (!t1) { _box_0.debugPreviousBuildTarget = null; _this._dirtyElementsNeedsResorting = false; try { callback.call$0(); } finally { } } t1 = _this._dirtyElements; B.JSArray_methods.sort$1(t1, A.framework_Element__sort$closure()); _this._dirtyElementsNeedsResorting = false; _box_0.dirtyCount = t1.length; _box_0.index = 0; for (t2 = 0; t2 < _box_0.dirtyCount;) { try { t1[t2].rebuild$0(); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); t2 = A.ErrorDescription$("while rebuilding dirty elements"); t3 = $.$get$FlutterError_onError(); if (t3 != null) t3.call$1(new A.FlutterErrorDetails(e, stack, "widgets library", t2, new A.BuildOwner_buildScope_closure(_box_0, _this), false)); } t2 = ++_box_0.index; t3 = _box_0.dirtyCount; t4 = t1.length; if (t3 >= t4) { t3 = _this._dirtyElementsNeedsResorting; t3.toString; } else t3 = true; if (t3) { if (!!t1.immutable$list) A.throwExpression(A.UnsupportedError$("sort")); t2 = t4 - 1; if (t2 - 0 <= 32) A.Sort__insertionSort(t1, 0, t2, A.framework_Element__sort$closure()); else A.Sort__dualPivotQuicksort(t1, 0, t2, A.framework_Element__sort$closure()); t2 = _this._dirtyElementsNeedsResorting = false; _box_0.dirtyCount = t1.length; while (true) { t3 = _box_0.index; if (!(t3 > 0 ? t1[t3 - 1]._dirty : t2)) break; _box_0.index = t3 - 1; } t2 = t3; } } } finally { for (t1 = _this._dirtyElements, t2 = t1.length, _i = 0; _i < t2; ++_i) { element = t1[_i]; element._inDirtyList = false; } B.JSArray_methods.set$length(t1, 0); _this._scheduledFlushDirtyElements = false; _this._dirtyElementsNeedsResorting = null; A.Timeline_finishSync(); } }, buildScope$1(context) { return this.buildScope$2(context, null); }, finalizeTree$0() { var e, stack, exception; A.Timeline_startSync("Finalize tree", B.Map_9aZ6I, null); try { this.lockState$1(new A.BuildOwner_finalizeTree_closure(this)); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); A._debugReportException(A.ErrorSummary$("while finalizing the widget tree"), e, stack, null); } finally { A.Timeline_finishSync(); } }, reassemble$2(root, reassembleConfig) { A.Timeline_startSync("Dirty Element Tree", null, null); try { root._debugReassembleConfig = reassembleConfig; root.reassemble$0(); } finally { A.Timeline_finishSync(); } } }; A.BuildOwner_buildScope_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3; return function $async$call$0($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._box_0; t2 = t1.index; t3 = $async$self.$this._dirtyElements; $async$goto = t2 < t3.length ? 2 : 4; break; case 2: // then $async$goto = 5; return A.DiagnosticsDebugCreator$(new A.DebugCreator(t3[t2])); case 5: // after yield t2 = t1.index; t3 = t3[t2]; $async$goto = 6; return A.DiagnosticsProperty$(string$.The_el + t2 + " of " + t1.dirtyCount, t3, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_9, null, type$.Element_2); case 6: // after yield // goto join $async$goto = 3; break; case 4: // else $async$goto = 7; return A.ErrorHint$(string$.The_el + t2 + " of " + t1.dirtyCount + ", but _dirtyElements only had " + t3.length + " entries. This suggests some confusion in the framework internals."); case 7: // after yield case 3: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.BuildOwner_finalizeTree_closure.prototype = { call$0() { this.$this._inactiveElements._unmountAll$0(); }, $signature: 0 }; A.Element.prototype = { $eq(_, other) { if (other == null) return false; return this === other; }, get$hashCode(_) { return this._cachedHash; }, get$widget() { var t1 = this._widget; t1.toString; return t1; }, reassemble$0() { var _this = this; if (A._debugShouldReassemble(_this._debugReassembleConfig, _this._widget)) { _this.markNeedsBuild$0(); _this._debugReassembleConfig = null; } _this.visitChildren$1(new A.Element_reassemble_closure(_this)); _this._debugReassembleConfig = null; }, get$renderObject() { var t1 = {}; t1.result = null; new A.Element_renderObject_visit(t1).call$1(this); return t1.result; }, describeElement$1($name) { var _null = null; return A.DiagnosticsProperty$($name, this, true, B.C__NoDefaultValue, _null, false, _null, _null, B.DiagnosticLevel_3, _null, false, true, true, B.DiagnosticsTreeStyle_9, _null, type$.Element_2); }, visitChildren$1(visitor) { }, updateChild$3(child, newWidget, newSlot) { var t1, newChild, _this = this; if (newWidget == null) { if (child != null) _this.deactivateChild$1(child); return null; } if (child != null) { t1 = child.get$widget().$eq(0, newWidget); if (t1) { if (!J.$eq$(child._slot, newSlot)) _this.updateSlotForChild$2(child, newSlot); t1 = child; } else { t1 = child.get$widget(); t1 = A.getRuntimeType(t1) === A.getRuntimeType(newWidget) && J.$eq$(t1.get$key(t1), newWidget.get$key(newWidget)); if (t1) { if (!J.$eq$(child._slot, newSlot)) _this.updateSlotForChild$2(child, newSlot); child.update$1(0, newWidget); t1 = child; } else { _this.deactivateChild$1(child); newChild = _this.inflateWidget$2(newWidget, newSlot); t1 = newChild; } } } else { newChild = _this.inflateWidget$2(newWidget, newSlot); t1 = newChild; } return t1; }, mount$2($parent, newSlot) { var t1, key, _this = this; _this._parent = $parent; _this._slot = newSlot; _this._lifecycleState = B._ElementLifecycle_1; t1 = $parent != null; _this.__Element__depth = t1 ? A._lateReadCheck($parent.__Element__depth, "_depth") + 1 : 1; if (t1) _this._owner = $parent._owner; t1 = _this.get$widget(); key = t1.get$key(t1); if (key instanceof A.GlobalKey) _this._owner._globalKeyRegistry.$indexSet(0, key, _this); _this._updateInheritance$0(); }, update$1(_, newWidget) { this._widget = newWidget; }, updateSlotForChild$2(child, newSlot) { new A.Element_updateSlotForChild_visit(newSlot).call$1(child); }, _updateSlot$1(newSlot) { this._slot = newSlot; }, _updateDepth$1(parentDepth) { var expectedDepth = parentDepth + 1; if (A._lateReadCheck(this.__Element__depth, "_depth") < expectedDepth) { this.__Element__depth = expectedDepth; this.visitChildren$1(new A.Element__updateDepth_closure(expectedDepth)); } }, detachRenderObject$0() { this.visitChildren$1(new A.Element_detachRenderObject_closure()); this._slot = null; }, attachRenderObject$1(newSlot) { this.visitChildren$1(new A.Element_attachRenderObject_closure(newSlot)); this._slot = newSlot; }, _retakeInactiveElement$2(key, newWidget) { var t1, $parent, element = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, key); if (element == null) return null; t1 = element.get$widget(); if (!(A.getRuntimeType(t1) === A.getRuntimeType(newWidget) && J.$eq$(t1.get$key(t1), newWidget.get$key(newWidget)))) return null; $parent = element._parent; if ($parent != null) { $parent.forgetChild$1(element); $parent.deactivateChild$1(element); } this._owner._inactiveElements._framework$_elements.remove$1(0, element); return element; }, inflateWidget$2(newWidget, newSlot) { var newChild, updatedChild, _this = this, key = newWidget.get$key(newWidget); if (key instanceof A.GlobalKey) { newChild = _this._retakeInactiveElement$2(key, newWidget); if (newChild != null) { newChild._parent = _this; newChild._updateDepth$1(A._lateReadCheck(_this.__Element__depth, "_depth")); newChild.activate$0(); newChild.visitChildren$1(A.framework_Element__activateRecursively$closure()); newChild.attachRenderObject$1(newSlot); updatedChild = _this.updateChild$3(newChild, newWidget, newSlot); updatedChild.toString; return updatedChild; } } newChild = newWidget.createElement$0(0); newChild.mount$2(_this, newSlot); return newChild; }, deactivateChild$1(child) { var t1; child._parent = null; child.detachRenderObject$0(); t1 = this._owner._inactiveElements; if (child._lifecycleState === B._ElementLifecycle_1) { child.deactivate$0(); child.visitChildren$1(A.framework__InactiveElements__deactivateRecursively$closure()); } t1._framework$_elements.add$1(0, child); }, forgetChild$1(child) { }, activate$0() { var _this = this, t1 = _this._dependencies, t2 = t1 == null, hadDependencies = !t2 && t1._collection$_length !== 0 || _this._hadUnsatisfiedDependencies; _this._lifecycleState = B._ElementLifecycle_1; if (!t2) t1.clear$0(0); _this._hadUnsatisfiedDependencies = false; _this._updateInheritance$0(); if (_this._dirty) _this._owner.scheduleBuildFor$1(_this); if (hadDependencies) _this.didChangeDependencies$0(); }, deactivate$0() { var t2, _this = this, t1 = _this._dependencies; if (t1 != null && t1._collection$_length !== 0) for (t2 = A._instanceType(t1), t1 = new A._HashSetIterator(t1, t1._computeElements$0(), t2._eval$1("_HashSetIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current)._dependents.remove$1(0, _this); _this._inheritedWidgets = null; _this._lifecycleState = B._ElementLifecycle_2; }, unmount$0() { var _this = this, t1 = _this._widget, key = t1.get$key(t1); if (key instanceof A.GlobalKey) { t1 = _this._owner._globalKeyRegistry; if (J.$eq$(t1.$index(0, key), _this)) t1.remove$1(0, key); } _this._dependencies = _this._widget = null; _this._lifecycleState = B._ElementLifecycle_3; }, get$size(_) { var t1, renderObject = this.get$renderObject(); if (renderObject instanceof A.RenderBox) { t1 = renderObject._size; t1.toString; return t1; } return null; }, dependOnInheritedElement$2$aspect(ancestor, aspect) { var t1 = this._dependencies; (t1 == null ? this._dependencies = A.HashSet_HashSet(type$.InheritedElement) : t1).add$1(0, ancestor); ancestor.updateDependencies$2(this, aspect); return ancestor.get$widget(); }, dependOnInheritedWidgetOfExactType$1$0($T) { var t1 = this._inheritedWidgets, ancestor = t1 == null ? null : t1.$index(0, A.createRuntimeType($T)); if (ancestor != null) return $T._as(this.dependOnInheritedElement$2$aspect(ancestor, null)); this._hadUnsatisfiedDependencies = true; return null; }, getElementForInheritedWidgetOfExactType$1$0($T) { var t1 = this._inheritedWidgets; return t1 == null ? null : t1.$index(0, A.createRuntimeType($T)); }, _updateInheritance$0() { var t1 = this._parent; this._inheritedWidgets = t1 == null ? null : t1._inheritedWidgets; }, findAncestorWidgetOfExactType$1$0($T) { var t1, t2, rti, ancestor = this._parent; while (true) { t1 = ancestor == null; if (!t1) { t2 = ancestor.get$widget(); rti = t2 instanceof A.Closure ? A.closureFunctionType(t2) : null; t2 = A.createRuntimeType(rti == null ? A.instanceType(t2) : rti) !== A.createRuntimeType($T); } else t2 = false; if (!t2) break; ancestor = ancestor._parent; } t1 = t1 ? null : ancestor.get$widget(); return $T._eval$1("0?")._as(t1); }, findAncestorStateOfType$1$0($T) { var t1, ancestor = this._parent; for (; t1 = ancestor == null, !t1;) { if (ancestor instanceof A.StatefulElement && $T._is(ancestor.get$state(ancestor))) break; ancestor = ancestor._parent; } type$.nullable_StatefulElement._as(ancestor); t1 = t1 ? null : ancestor.get$state(ancestor); return $T._eval$1("0?")._as(t1); }, findRootAncestorStateOfType$1$0($T) { var statefulAncestor, t1, ancestor = this._parent; for (statefulAncestor = null; ancestor != null;) { if (ancestor instanceof A.StatefulElement && $T._is(ancestor.get$state(ancestor))) statefulAncestor = ancestor; ancestor = ancestor._parent; } t1 = statefulAncestor == null ? null : statefulAncestor.get$state(statefulAncestor); return $T._eval$1("0?")._as(t1); }, findAncestorRenderObjectOfType$1$0($T) { var ancestor = this._parent; for (; ancestor != null;) { if (ancestor instanceof A.RenderObjectElement && $T._is(ancestor.get$renderObject())) return $T._as(ancestor.get$renderObject()); ancestor = ancestor._parent; } return null; }, visitAncestorElements$1(visitor) { var ancestor = this._parent; while (true) { if (!(ancestor != null && visitor.call$1(ancestor))) break; ancestor = ancestor._parent; } }, didChangeDependencies$0() { this.markNeedsBuild$0(); }, debugGetCreatorChain$1(limit) { var t1, chain = A._setArrayType([], type$.JSArray_String), node = this; while (true) { if (!(chain.length < limit && node != null)) break; t1 = node._widget; t1 = t1 == null ? null : t1.toStringShort$0(); chain.push(t1 == null ? "<optimized out>#" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(node.get$hashCode(node) & 1048575, 16), 5, "0") + "(DEFUNCT)" : t1); node = node._parent; } if (node != null) chain.push("\u22ef"); return B.JSArray_methods.join$1(chain, " \u2190 "); }, toStringShort$0() { var t1 = this._widget; t1 = t1 == null ? null : t1.toStringShort$0(); return t1 == null ? "<optimized out>#" + A.shortHash(this) + "(DEFUNCT)" : t1; }, toDiagnosticsNode$2$name$style($name, style) { return A._ElementDiagnosticableTreeNode$($name, false, style, this); }, toDiagnosticsNode$0() { return this.toDiagnosticsNode$2$name$style(null, null); }, debugDescribeChildren$0() { var children = A._setArrayType([], type$.JSArray_DiagnosticsNode); this.visitChildren$1(new A.Element_debugDescribeChildren_closure(children)); return children; }, markNeedsBuild$0() { var _this = this; if (_this._lifecycleState !== B._ElementLifecycle_1) return; if (_this._dirty) return; _this._dirty = true; _this._owner.scheduleBuildFor$1(_this); }, rebuild$0() { if (this._lifecycleState !== B._ElementLifecycle_1 || !this._dirty) return; this.performRebuild$0(); }, $isBuildContext: 1 }; A.Element_reassemble_closure.prototype = { call$1(child) { child._debugReassembleConfig = this.$this._debugReassembleConfig; child.reassemble$0(); }, $signature: 32 }; A.Element_renderObject_visit.prototype = { call$1(element) { if (element._lifecycleState === B._ElementLifecycle_3) return; else if (element instanceof A.RenderObjectElement) this._box_0.result = element.get$renderObject(); else element.visitChildren$1(this); }, $signature: 32 }; A.Element_updateSlotForChild_visit.prototype = { call$1(element) { element._updateSlot$1(this.newSlot); if (!(element instanceof A.RenderObjectElement)) element.visitChildren$1(this); }, $signature: 32 }; A.Element__updateDepth_closure.prototype = { call$1(child) { child._updateDepth$1(this.expectedDepth); }, $signature: 32 }; A.Element_detachRenderObject_closure.prototype = { call$1(child) { child.detachRenderObject$0(); }, $signature: 32 }; A.Element_attachRenderObject_closure.prototype = { call$1(child) { child.attachRenderObject$1(this.newSlot); }, $signature: 32 }; A.Element_debugDescribeChildren_closure.prototype = { call$1(child) { this.children.push(child.toDiagnosticsNode$0()); }, $signature: 32 }; A._ElementDiagnosticableTreeNode.prototype = {}; A.ErrorWidget.prototype = { createRenderObject$1(context) { var t1 = this.message, t2 = new A.RenderErrorBox(t1, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; t2.RenderErrorBox$1(t1); return t2; } }; A.ComponentElement.prototype = { get$debugDoingBuild() { return false; }, mount$2($parent, newSlot) { this.super$Element$mount($parent, newSlot); this._framework$_firstBuild$0(); }, _framework$_firstBuild$0() { this.rebuild$0(); }, performRebuild$0() { var built, e, stack, e0, stack0, exception, built0, _this = this, t1 = $.debugProfileBuildsEnabled; if (t1) A.Timeline_startSync(A.getRuntimeType(_this.get$widget()).toString$0(0), B.Map_9aZ6I, null); built = null; try { built = _this.build$0(0); _this.get$widget(); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); _this._debugDoingBuild = false; built0 = A.ErrorWidget__defaultErrorWidgetBuilder(A._debugReportException(A.ErrorDescription$("building " + _this.toString$0(0)), e, stack, new A.ComponentElement_performRebuild_closure(_this))); built = built0; } finally { _this._dirty = false; } try { _this._framework$_child = _this.updateChild$3(_this._framework$_child, built, _this._slot); } catch (exception) { e0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); built0 = A.ErrorWidget__defaultErrorWidgetBuilder(A._debugReportException(A.ErrorDescription$("building " + _this.toString$0(0)), e0, stack0, new A.ComponentElement_performRebuild_closure0(_this))); built = built0; _this._framework$_child = _this.updateChild$3(null, built, _this._slot); } t1 = $.debugProfileBuildsEnabled; if (t1) A.Timeline_finishSync(); }, visitChildren$1(visitor) { var t1 = this._framework$_child; if (t1 != null) visitor.call$1(t1); }, forgetChild$1(child) { this._framework$_child = null; this.super$Element$forgetChild(child); } }; A.ComponentElement_performRebuild_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsDebugCreator$(new A.DebugCreator($async$self.$this)); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.ComponentElement_performRebuild_closure0.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsDebugCreator$(new A.DebugCreator($async$self.$this)); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.StatelessElement.prototype = { get$widget() { return type$.StatelessWidget._as(A.Element.prototype.get$widget.call(this)); }, build$0(_) { return this.get$widget().build$1(0, this); }, update$1(_, newWidget) { this.super$Element$update(0, newWidget); this._dirty = true; this.rebuild$0(); } }; A.StatefulElement.prototype = { build$0(_) { return this.get$state(this).build$1(0, this); }, get$state(_) { var t1 = this._framework$_state; t1.toString; return t1; }, reassemble$0() { var _this = this; if (A._debugShouldReassemble(_this._debugReassembleConfig, _this._widget)) _this.get$state(_this).reassemble$0(); _this.super$Element$reassemble(); }, _framework$_firstBuild$0() { var debugCheckForReturnedFuture, _this = this; try { _this._debugAllowIgnoredCallsToMarkNeedsBuild = true; debugCheckForReturnedFuture = _this.get$state(_this).initState$0(); } finally { _this._debugAllowIgnoredCallsToMarkNeedsBuild = false; } _this.get$state(_this).didChangeDependencies$0(); _this.super$ComponentElement$_firstBuild(); }, performRebuild$0() { var _this = this; if (_this._didChangeDependencies) { _this.get$state(_this).didChangeDependencies$0(); _this._didChangeDependencies = false; } _this.super$ComponentElement$performRebuild(); }, update$1(_, newWidget) { var oldWidget, debugCheckForReturnedFuture, t1, _this = this; _this.super$Element$update(0, newWidget); t1 = _this.get$state(_this)._widget; t1.toString; oldWidget = t1; _this._dirty = true; _this.get$state(_this)._widget = type$.StatefulWidget._as(_this.get$widget()); try { _this._debugAllowIgnoredCallsToMarkNeedsBuild = true; debugCheckForReturnedFuture = _this.get$state(_this).didUpdateWidget$1(oldWidget); } finally { _this._debugAllowIgnoredCallsToMarkNeedsBuild = false; } _this.rebuild$0(); }, activate$0() { var _this = this; _this.super$Element$activate(); _this.get$state(_this).activate$0(); _this.markNeedsBuild$0(); }, deactivate$0() { this.get$state(this).deactivate$0(); this.super$Element$deactivate(); }, unmount$0() { var _this = this; _this.super$Element$unmount(); _this.get$state(_this).dispose$0(0); _this._framework$_state = _this.get$state(_this)._framework$_element = null; }, dependOnInheritedElement$2$aspect(ancestor, aspect) { return this.super$Element$dependOnInheritedElement(ancestor, aspect); }, didChangeDependencies$0() { this.super$Element$didChangeDependencies(); this._didChangeDependencies = true; }, toDiagnosticsNode$2$name$style($name, style) { return A._ElementDiagnosticableTreeNode$($name, true, style, this); }, toDiagnosticsNode$0() { return this.toDiagnosticsNode$2$name$style(null, null); } }; A.ProxyElement.prototype = { get$widget() { return type$.ProxyWidget._as(A.Element.prototype.get$widget.call(this)); }, build$0(_) { return this.get$widget().child; }, update$1(_, newWidget) { var _this = this, oldWidget = _this.get$widget(); _this.super$Element$update(0, newWidget); _this.updated$1(oldWidget); _this._dirty = true; _this.rebuild$0(); }, updated$1(oldWidget) { this.notifyClients$1(oldWidget); } }; A.ParentDataElement.prototype = { get$widget() { return this.$ti._eval$1("ParentDataWidget<1>")._as(A.ProxyElement.prototype.get$widget.call(this)); }, _applyParentData$1(widget) { this.visitChildren$1(new A.ParentDataElement__applyParentData_applyParentDataToChild(widget)); }, notifyClients$1(oldWidget) { this._applyParentData$1(this.$ti._eval$1("ParentDataWidget<1>")._as(A.ProxyElement.prototype.get$widget.call(this))); } }; A.ParentDataElement__applyParentData_applyParentDataToChild.prototype = { call$1(child) { if (child instanceof A.RenderObjectElement) this.widget.applyParentData$1(child.get$renderObject()); else child.visitChildren$1(this); }, $signature: 32 }; A.InheritedElement.prototype = { get$widget() { return type$.InheritedWidget._as(A.ProxyElement.prototype.get$widget.call(this)); }, _updateInheritance$0() { var t2, _this = this, _null = null, t1 = _this._parent, incomingWidgets = t1 == null ? _null : t1._inheritedWidgets; t1 = type$.Type; t2 = type$.InheritedElement; t1 = incomingWidgets != null ? _this._inheritedWidgets = A.HashMap_HashMap$from(incomingWidgets, t1, t2) : _this._inheritedWidgets = A.HashMap_HashMap(_null, _null, _null, t1, t2); t1.$indexSet(0, A.getRuntimeType(_this.get$widget()), _this); }, updateDependencies$2(dependent, aspect) { this._dependents.$indexSet(0, dependent, null); }, notifyDependent$2(oldWidget, dependent) { dependent.didChangeDependencies$0(); }, updated$1(oldWidget) { if (this.get$widget().updateShouldNotify$1(oldWidget)) this.super$ProxyElement$updated(oldWidget); }, notifyClients$1(oldWidget) { var t1, t2; for (t1 = this._dependents, t2 = A._instanceType(t1), t1 = new A._HashMapKeyIterator(t1, t1._computeKeys$0(), t2._eval$1("_HashMapKeyIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) this.notifyDependent$2(oldWidget, t2._as(t1._collection$_current)); } }; A.RenderObjectElement.prototype = { get$widget() { return type$.RenderObjectWidget._as(A.Element.prototype.get$widget.call(this)); }, get$renderObject() { var t1 = this._renderObject; t1.toString; return t1; }, get$debugDoingBuild() { return false; }, _findAncestorRenderObjectElement$0() { var ancestor = this._parent; while (true) { if (!(ancestor != null && !(ancestor instanceof A.RenderObjectElement))) break; ancestor = ancestor._parent; } return type$.nullable_RenderObjectElement._as(ancestor); }, _findAncestorParentDataElement$0() { var ancestor, _box_0 = {}, t1 = _box_0.ancestor = this._parent; _box_0.result = null; while (true) { if (!(t1 != null && !(t1 instanceof A.RenderObjectElement))) break; if (t1 instanceof A.ParentDataElement) { _box_0.result = t1; break; } ancestor = t1._parent; _box_0.ancestor = ancestor; t1 = ancestor; } return _box_0.result; }, mount$2($parent, newSlot) { var _this = this; _this.super$Element$mount($parent, newSlot); _this._renderObject = _this.get$widget().createRenderObject$1(_this); _this.attachRenderObject$1(newSlot); _this._dirty = false; }, update$1(_, newWidget) { var _this = this; _this.super$Element$update(0, newWidget); _this.get$widget().updateRenderObject$2(_this, _this.get$renderObject()); _this._dirty = false; }, performRebuild$0() { var _this = this; _this.get$widget().updateRenderObject$2(_this, _this.get$renderObject()); _this._dirty = false; }, updateChildren$4$forgottenChildren$slots(oldChildren, newWidgets, forgottenChildren, slots) { var oldChild, newWidget, t4, rti, t5, haveOldChildren, oldKeyedChildren, key, _this = this, _null = null, replaceWithNullIfForgotten = new A.RenderObjectElement_updateChildren_replaceWithNullIfForgotten(forgottenChildren), slotFor = new A.RenderObjectElement_updateChildren_slotFor(slots), t1 = J.getInterceptor$asx(newWidgets), newChildrenBottom = t1.get$length(newWidgets) - 1, t2 = J.getInterceptor$asx(oldChildren), oldChildrenBottom = t2.get$length(oldChildren) - 1, newChildren = t2.get$length(oldChildren) === t1.get$length(newWidgets) ? oldChildren : A.List_List$filled(t1.get$length(newWidgets), $.$get$_NullElement_instance(), false, type$.Element_2), t3 = J.getInterceptor$ax(newChildren), previousChild = _null, newChildrenTop = 0, oldChildrenTop = 0; while (true) { if (!(oldChildrenTop <= oldChildrenBottom && newChildrenTop <= newChildrenBottom)) break; oldChild = replaceWithNullIfForgotten.call$1(t2.$index(oldChildren, oldChildrenTop)); newWidget = t1.$index(newWidgets, newChildrenTop); if (oldChild != null) { t4 = oldChild.get$widget(); rti = t4 instanceof A.Closure ? A.closureFunctionType(t4) : _null; t5 = A.createRuntimeType(rti == null ? A.instanceType(t4) : rti); rti = newWidget instanceof A.Closure ? A.closureFunctionType(newWidget) : _null; t4 = !(t5 === A.createRuntimeType(rti == null ? A.instanceType(newWidget) : rti) && J.$eq$(t4.get$key(t4), newWidget.get$key(newWidget))); } else t4 = true; if (t4) break; t4 = _this.updateChild$3(oldChild, newWidget, slotFor.call$2(newChildrenTop, previousChild)); t4.toString; t3.$indexSet(newChildren, newChildrenTop, t4); ++newChildrenTop; ++oldChildrenTop; previousChild = t4; } while (true) { haveOldChildren = oldChildrenTop <= oldChildrenBottom; if (!(haveOldChildren && newChildrenTop <= newChildrenBottom)) break; oldChild = replaceWithNullIfForgotten.call$1(t2.$index(oldChildren, oldChildrenBottom)); newWidget = t1.$index(newWidgets, newChildrenBottom); if (oldChild != null) { t4 = oldChild.get$widget(); rti = t4 instanceof A.Closure ? A.closureFunctionType(t4) : _null; t5 = A.createRuntimeType(rti == null ? A.instanceType(t4) : rti); rti = newWidget instanceof A.Closure ? A.closureFunctionType(newWidget) : _null; t4 = !(t5 === A.createRuntimeType(rti == null ? A.instanceType(newWidget) : rti) && J.$eq$(t4.get$key(t4), newWidget.get$key(newWidget))); } else t4 = true; if (t4) break; --oldChildrenBottom; --newChildrenBottom; } if (haveOldChildren) { oldKeyedChildren = A.LinkedHashMap_LinkedHashMap$_empty(type$.Key, type$.Element_2); for (; oldChildrenTop <= oldChildrenBottom;) { oldChild = replaceWithNullIfForgotten.call$1(t2.$index(oldChildren, oldChildrenTop)); if (oldChild != null) { t4 = oldChild.get$widget(); if (t4.get$key(t4) != null) { t4 = oldChild.get$widget(); t4 = t4.get$key(t4); t4.toString; oldKeyedChildren.$indexSet(0, t4, oldChild); } else { oldChild._parent = null; oldChild.detachRenderObject$0(); t4 = _this._owner._inactiveElements; if (oldChild._lifecycleState === B._ElementLifecycle_1) { oldChild.deactivate$0(); oldChild.visitChildren$1(A.framework__InactiveElements__deactivateRecursively$closure()); } t4._framework$_elements.add$1(0, oldChild); } } ++oldChildrenTop; } haveOldChildren = true; } else oldKeyedChildren = _null; for (; newChildrenTop <= newChildrenBottom; previousChild = t4) { newWidget = t1.$index(newWidgets, newChildrenTop); if (haveOldChildren) { key = newWidget.get$key(newWidget); if (key != null) { oldChild = oldKeyedChildren.$index(0, key); if (oldChild != null) { t4 = oldChild.get$widget(); rti = t4 instanceof A.Closure ? A.closureFunctionType(t4) : _null; t5 = A.createRuntimeType(rti == null ? A.instanceType(t4) : rti); rti = newWidget instanceof A.Closure ? A.closureFunctionType(newWidget) : _null; if (t5 === A.createRuntimeType(rti == null ? A.instanceType(newWidget) : rti) && J.$eq$(t4.get$key(t4), newWidget.get$key(newWidget))) oldKeyedChildren.remove$1(0, key); else oldChild = _null; } } else oldChild = _null; } else oldChild = _null; t4 = _this.updateChild$3(oldChild, newWidget, slotFor.call$2(newChildrenTop, previousChild)); t4.toString; t3.$indexSet(newChildren, newChildrenTop, t4); ++newChildrenTop; } newChildrenBottom = t1.get$length(newWidgets) - 1; oldChildrenBottom = t2.get$length(oldChildren) - 1; while (true) { if (!(oldChildrenTop <= oldChildrenBottom && newChildrenTop <= newChildrenBottom)) break; t4 = _this.updateChild$3(t2.$index(oldChildren, oldChildrenTop), t1.$index(newWidgets, newChildrenTop), slotFor.call$2(newChildrenTop, previousChild)); t4.toString; t3.$indexSet(newChildren, newChildrenTop, t4); ++newChildrenTop; ++oldChildrenTop; previousChild = t4; } if (haveOldChildren && oldKeyedChildren.get$isNotEmpty(oldKeyedChildren)) for (t1 = oldKeyedChildren.get$values(oldKeyedChildren), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); if (!forgottenChildren.contains$1(0, t2)) { t2._parent = null; t2.detachRenderObject$0(); t3 = _this._owner._inactiveElements; if (t2._lifecycleState === B._ElementLifecycle_1) { t2.deactivate$0(); t2.visitChildren$1(A.framework__InactiveElements__deactivateRecursively$closure()); } t3._framework$_elements.add$1(0, t2); } } return newChildren; }, updateChildren$3$forgottenChildren(oldChildren, newWidgets, forgottenChildren) { return this.updateChildren$4$forgottenChildren$slots(oldChildren, newWidgets, forgottenChildren, null); }, deactivate$0() { this.super$Element$deactivate(); }, unmount$0() { var _this = this, oldWidget = _this.get$widget(); _this.super$Element$unmount(); oldWidget.didUnmountRenderObject$1(_this.get$renderObject()); _this._renderObject.dispose$0(0); _this._renderObject = null; }, _updateSlot$1(newSlot) { var t1, _this = this, oldSlot = _this._slot; _this.super$Element$_updateSlot(newSlot); t1 = _this._ancestorRenderObjectElement; t1.toString; t1.moveRenderObjectChild$3(_this.get$renderObject(), oldSlot, _this._slot); }, attachRenderObject$1(newSlot) { var t1, parentDataElement, _this = this; _this._slot = newSlot; t1 = _this._ancestorRenderObjectElement = _this._findAncestorRenderObjectElement$0(); if (t1 != null) t1.insertRenderObjectChild$2(_this.get$renderObject(), newSlot); parentDataElement = _this._findAncestorParentDataElement$0(); if (parentDataElement != null) parentDataElement.$ti._eval$1("ParentDataWidget<1>")._as(A.ProxyElement.prototype.get$widget.call(parentDataElement)).applyParentData$1(_this.get$renderObject()); }, detachRenderObject$0() { var _this = this, t1 = _this._ancestorRenderObjectElement; if (t1 != null) { t1.removeRenderObjectChild$2(_this.get$renderObject(), _this._slot); _this._ancestorRenderObjectElement = null; } _this._slot = null; }, insertRenderObjectChild$2(child, slot) { }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { } }; A.RenderObjectElement_updateChildren_replaceWithNullIfForgotten.prototype = { call$1(child) { var t1 = this.forgottenChildren.contains$1(0, child); return t1 ? null : child; }, $signature: 641 }; A.RenderObjectElement_updateChildren_slotFor.prototype = { call$2(newChildIndex, previousChild) { var t1 = this.slots; return t1 != null ? t1[newChildIndex] : new A.IndexedSlot(previousChild, newChildIndex, type$.IndexedSlot_nullable_Element); }, $signature: 642 }; A.RootRenderObjectElement.prototype = { mount$2($parent, newSlot) { this.super$RenderObjectElement$mount($parent, newSlot); } }; A.LeafRenderObjectElement.prototype = { forgetChild$1(child) { this.super$Element$forgetChild(child); }, insertRenderObjectChild$2(child, slot) { }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { }, debugDescribeChildren$0() { type$.RenderObjectWidget._as(A.Element.prototype.get$widget.call(this)); return B.List_empty0; } }; A.SingleChildRenderObjectElement.prototype = { get$widget() { return type$.SingleChildRenderObjectWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, visitChildren$1(visitor) { var t1 = this._framework$_child; if (t1 != null) visitor.call$1(t1); }, forgetChild$1(child) { this._framework$_child = null; this.super$Element$forgetChild(child); }, mount$2($parent, newSlot) { var _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); _this._framework$_child = _this.updateChild$3(_this._framework$_child, _this.get$widget().child, null); }, update$1(_, newWidget) { var _this = this; _this.super$RenderObjectElement$update(0, newWidget); _this._framework$_child = _this.updateChild$3(_this._framework$_child, _this.get$widget().child, null); }, insertRenderObjectChild$2(child, slot) { var t1 = this._renderObject; t1.toString; type$.RenderObjectWithChildMixin_RenderObject._as(t1).set$child(child); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { var t1 = this._renderObject; t1.toString; type$.RenderObjectWithChildMixin_RenderObject._as(t1).set$child(null); } }; A.MultiChildRenderObjectElement.prototype = { get$widget() { return type$.MultiChildRenderObjectWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$.ContainerRenderObjectMixin_of_RenderObject_and_ContainerParentDataMixin_RenderObject._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, get$children(_) { return J.where$1$ax(A._lateReadCheck(this.__MultiChildRenderObjectElement__children, "_children"), new A.MultiChildRenderObjectElement_children_closure(this)); }, insertRenderObjectChild$2(child, slot) { var renderObject = this.get$renderObject(), t1 = slot.value; renderObject.insert$2$after(0, child, t1 == null ? null : t1.get$renderObject()); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { var renderObject = this.get$renderObject(), t1 = newSlot.value; renderObject.move$2$after(child, t1 == null ? null : t1.get$renderObject()); }, removeRenderObjectChild$2(child, slot) { this.get$renderObject().remove$1(0, child); }, visitChildren$1(visitor) { var t1, t2, t3; for (t1 = J.get$iterator$ax(A._lateReadCheck(this.__MultiChildRenderObjectElement__children, "_children")), t2 = this._forgottenChildren; t1.moveNext$0();) { t3 = t1.get$current(t1); if (!t2.contains$1(0, t3)) visitor.call$1(t3); } }, forgetChild$1(child) { this._forgottenChildren.add$1(0, child); this.super$Element$forgetChild(child); }, inflateWidget$2(newWidget, newSlot) { return this.super$Element$inflateWidget(newWidget, newSlot); }, mount$2($parent, newSlot) { var t1, children, t2, previousChild, i, newChild, _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); t1 = J.get$length$asx(_this.get$widget().children); children = A.List_List$filled(t1, $.$get$_NullElement_instance(), false, type$.Element_2); for (t2 = type$.IndexedSlot_nullable_Element, previousChild = null, i = 0; i < t1; ++i, previousChild = newChild) { newChild = _this.super$Element$inflateWidget(J.$index$asx(_this.get$widget().children, i), new A.IndexedSlot(previousChild, i, t2)); children[i] = newChild; } _this.__MultiChildRenderObjectElement__children = children; }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = _this._forgottenChildren; _this.__MultiChildRenderObjectElement__children = _this.updateChildren$3$forgottenChildren(A._lateReadCheck(_this.__MultiChildRenderObjectElement__children, "_children"), _this.get$widget().children, t1); t1.clear$0(0); } }; A.MultiChildRenderObjectElement_children_closure.prototype = { call$1(child) { return !this.$this._forgottenChildren.contains$1(0, child); }, $signature: 37 }; A.DebugCreator.prototype = { toString$0(_) { return this.element.debugGetCreatorChain$1(12); } }; A.IndexedSlot.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.IndexedSlot && this.index === other.index && J.$eq$(this.value, other.value); }, get$hashCode(_) { return A.hashValues(this.index, this.value, 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, 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); }, get$value(receiver) { return this.value; } }; A._NullElement.prototype = { get$debugDoingBuild() { return A.throwExpression(A.UnimplementedError$(null)); }, performRebuild$0() { } }; A._NullWidget.prototype = { createElement$0(_) { return A.throwExpression(A.UnimplementedError$(null)); } }; A._State_Object_Diagnosticable.prototype = {}; A.GestureRecognizerFactory.prototype = {}; A.GestureRecognizerFactoryWithHandlers.prototype = { constructor$0(_) { return this._constructor.call$0(); }, initializer$1(instance) { return this._initializer.call$1(instance); } }; A.GestureDetector.prototype = { build$1(_, context) { var t1, _this = this, gestures = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.GestureRecognizerFactory_GestureRecognizer); if (_this.onTapDown == null) if (_this.onTapUp == null) if (_this.onTap == null) if (_this.onTapCancel == null) if (_this.onSecondaryTapDown == null) t1 = false; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) gestures.$indexSet(0, B.Type_TapGestureRecognizer_62h, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure(_this), new A.GestureDetector_build_closure0(_this), type$.GestureRecognizerFactoryWithHandlers_TapGestureRecognizer)); if (_this.onDoubleTap != null) gestures.$indexSet(0, B.Type_DoubleTapGestureRecognizer_oyU, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure1(_this), new A.GestureDetector_build_closure2(_this), type$.GestureRecognizerFactoryWithHandlers_DoubleTapGestureRecognizer)); if (_this.onLongPress == null) if (_this.onLongPressStart == null) t1 = false; else t1 = true; else t1 = true; if (t1) gestures.$indexSet(0, B.Type_LongPressGestureRecognizer_46y, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure3(_this), new A.GestureDetector_build_closure4(_this), type$.GestureRecognizerFactoryWithHandlers_LongPressGestureRecognizer)); if (_this.onVerticalDragDown != null || _this.onVerticalDragStart != null || _this.onVerticalDragUpdate != null || _this.onVerticalDragEnd != null || false) gestures.$indexSet(0, B.Type_mLh, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure5(_this), new A.GestureDetector_build_closure6(_this), type$.GestureRecognizerFactoryWithHandlers_VerticalDragGestureRecognizer)); if (_this.onHorizontalDragDown != null || _this.onHorizontalDragStart != null || _this.onHorizontalDragUpdate != null || _this.onHorizontalDragEnd != null || _this.onHorizontalDragCancel != null) gestures.$indexSet(0, B.Type_Vq1, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure7(_this), new A.GestureDetector_build_closure8(_this), type$.GestureRecognizerFactoryWithHandlers_HorizontalDragGestureRecognizer)); if (_this.onPanDown != null || _this.onPanStart != null || _this.onPanUpdate != null || _this.onPanEnd != null || false) gestures.$indexSet(0, B.Type_PanGestureRecognizer_bbH, new A.GestureRecognizerFactoryWithHandlers(new A.GestureDetector_build_closure9(_this), new A.GestureDetector_build_closure10(_this), type$.GestureRecognizerFactoryWithHandlers_PanGestureRecognizer)); return new A.RawGestureDetector(_this.child, gestures, _this.behavior, _this.excludeFromSemantics, null, null); } }; A.GestureDetector_build_closure.prototype = { call$0() { return A.TapGestureRecognizer$(this.$this); }, $signature: 300 }; A.GestureDetector_build_closure0.prototype = { call$1(instance) { var t1 = this.$this; instance.onTapDown = t1.onTapDown; instance.onTapUp = t1.onTapUp; instance.onTap = t1.onTap; instance.onTapCancel = t1.onTapCancel; instance.onSecondaryTap = null; instance.onSecondaryTapDown = t1.onSecondaryTapDown; instance.onTertiaryTapCancel = instance.onTertiaryTapUp = instance.onTertiaryTapDown = instance.onSecondaryTapCancel = instance.onSecondaryTapUp = null; }, $signature: 301 }; A.GestureDetector_build_closure1.prototype = { call$0() { return A.DoubleTapGestureRecognizer$(this.$this); }, $signature: 645 }; A.GestureDetector_build_closure2.prototype = { call$1(instance) { instance.onDoubleTapDown = null; instance.onDoubleTap = this.$this.onDoubleTap; instance.onDoubleTapCancel = null; }, $signature: 646 }; A.GestureDetector_build_closure3.prototype = { call$0() { var _null = null; return A.LongPressGestureRecognizer$(this.$this, _null, _null, _null, _null); }, $signature: 302 }; A.GestureDetector_build_closure4.prototype = { call$1(instance) { var t1; instance.onLongPressCancel = instance.onLongPressDown = null; t1 = this.$this; instance.onLongPress = t1.onLongPress; instance.onLongPressStart = t1.onLongPressStart; instance.onTertiaryLongPressEnd = instance.onTertiaryLongPressUp = instance.onTertiaryLongPressMoveUpdate = instance.onTertiaryLongPressStart = instance.onTertiaryLongPress = instance.onTertiaryLongPressCancel = instance.onTertiaryLongPressDown = instance.onSecondaryLongPressEnd = instance.onSecondaryLongPressUp = instance.onSecondaryLongPressMoveUpdate = instance.onSecondaryLongPressStart = instance.onSecondaryLongPress = instance.onSecondaryLongPressCancel = instance.onSecondaryLongPressDown = instance.onLongPressEnd = instance.onLongPressUp = instance.onLongPressMoveUpdate = null; }, $signature: 303 }; A.GestureDetector_build_closure5.prototype = { call$0() { return A.VerticalDragGestureRecognizer$(this.$this, null); }, $signature: 304 }; A.GestureDetector_build_closure6.prototype = { call$1(instance) { var t1 = this.$this; instance.onDown = t1.onVerticalDragDown; instance.onStart = t1.onVerticalDragStart; instance.onUpdate = t1.onVerticalDragUpdate; instance.onEnd = t1.onVerticalDragEnd; instance.onCancel = null; instance.dragStartBehavior = t1.dragStartBehavior; }, $signature: 305 }; A.GestureDetector_build_closure7.prototype = { call$0() { return A.HorizontalDragGestureRecognizer$(this.$this, null, null); }, $signature: 159 }; A.GestureDetector_build_closure8.prototype = { call$1(instance) { var t1 = this.$this; instance.onDown = t1.onHorizontalDragDown; instance.onStart = t1.onHorizontalDragStart; instance.onUpdate = t1.onHorizontalDragUpdate; instance.onEnd = t1.onHorizontalDragEnd; instance.onCancel = t1.onHorizontalDragCancel; instance.dragStartBehavior = t1.dragStartBehavior; }, $signature: 160 }; A.GestureDetector_build_closure9.prototype = { call$0() { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); return new A.PanGestureRecognizer(B.DragStartBehavior_1, A.monodrag_DragGestureRecognizer__defaultBuilder$closure(), B._DragState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.VelocityTracker), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, this.$this, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, $signature: 653 }; A.GestureDetector_build_closure10.prototype = { call$1(instance) { var t1 = this.$this; instance.onDown = t1.onPanDown; instance.onStart = t1.onPanStart; instance.onUpdate = t1.onPanUpdate; instance.onEnd = t1.onPanEnd; instance.onCancel = null; instance.dragStartBehavior = t1.dragStartBehavior; }, $signature: 654 }; A.RawGestureDetector.prototype = { createState$0() { return new A.RawGestureDetectorState(B.Map_empty3, B._StateLifecycle_0); } }; A.RawGestureDetectorState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = _this._widget; t2 = t1.semantics; _this._gesture_detector$_semantics = t2 == null ? new A._DefaultSemanticsGestureDelegate(_this) : t2; _this._syncAll$1(t1.gestures); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!(oldWidget.semantics == null && _this._widget.semantics == null)) { t1 = _this._widget.semantics; _this._gesture_detector$_semantics = t1 == null ? new A._DefaultSemanticsGestureDelegate(_this) : t1; } _this._syncAll$1(_this._widget.gestures); }, replaceSemanticsActions$1(actions) { if (this._widget.excludeFromSemantics) return; type$.nullable_RenderSemanticsGestureHandler._as(this._framework$_element.get$renderObject()).set$validActions(actions); }, dispose$0(_) { var t1; for (t1 = this._recognizers, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) t1.get$current(t1).dispose$0(0); this._recognizers = null; this.super$State$dispose(0); }, _syncAll$1(gestures) { var t2, t3, t4, t5, _this = this, t1 = _this._recognizers; t1.toString; _this._recognizers = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.GestureRecognizer); for (t2 = J.get$iterator$ax(gestures.get$keys(gestures)); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = _this._recognizers; t4.toString; t5 = t1.$index(0, t3); t4.$indexSet(0, t3, t5 == null ? gestures.$index(0, t3).constructor$0(0) : t5); t4 = gestures.$index(0, t3); t4.toString; t3 = _this._recognizers.$index(0, t3); t3.toString; t4.initializer$1(t3); } for (t2 = J.get$iterator$ax(t1.get$keys(t1)); t2.moveNext$0();) { t3 = t2.get$current(t2); if (!_this._recognizers.containsKey$1(0, t3)) t1.$index(0, t3).dispose$0(0); } }, _gesture_detector$_handlePointerDown$1($event) { var t1, t2; for (t1 = this._recognizers, t1 = J.get$iterator$ax(t1.get$values(t1)); t1.moveNext$0();) { t2 = t1.get$current(t1); t2._pointerToKind.$indexSet(0, $event.get$pointer(), $event.get$kind($event)); if (t2.isPointerAllowed$1($event)) t2.addAllowedPointer$1($event); else t2.handleNonAllowedPointer$1($event); } }, _updateSemanticsForRenderObject$1(renderObject) { this._gesture_detector$_semantics.assignSemantics$1(renderObject); }, build$1(_, context) { var t4, t5, result, _null = null, t1 = this._widget, t2 = t1.behavior, t3 = t2 == null; if (t3) t4 = t1.child == null ? B.HitTestBehavior_2 : B.HitTestBehavior_0; else t4 = t2; t5 = t1.child; result = A.Listener$(t4, t5, _null, this.get$_gesture_detector$_handlePointerDown(), _null, _null); if (!t1.excludeFromSemantics) { if (t3) t1 = t5 == null ? B.HitTestBehavior_2 : B.HitTestBehavior_0; else t1 = t2; result = new A._GestureSemantics(t1, this.get$_updateSemanticsForRenderObject(), result, _null); } return result; } }; A._GestureSemantics.prototype = { createRenderObject$1(context) { var renderObject = new A.RenderSemanticsGestureHandler(B.HitTestBehavior_0, null, A.LayerHandle$(type$.ContainerLayer_2)); renderObject.get$isRepaintBoundary(); renderObject.get$alwaysNeedsCompositing(); renderObject.__RenderObject__needsCompositing = false; renderObject.set$child(null); renderObject.behavior = this.behavior; this.assignSemantics.call$1(renderObject); return renderObject; }, updateRenderObject$2(context, renderObject) { renderObject.behavior = this.behavior; this.assignSemantics.call$1(renderObject); } }; A.SemanticsGestureDelegate.prototype = { toString$0(_) { return "SemanticsGestureDelegate()"; } }; A._DefaultSemanticsGestureDelegate.prototype = { assignSemantics$1(renderObject) { var _this = this, t1 = _this.detectorState._recognizers; t1.toString; renderObject.set$onTap(_this._getTapHandler$1(t1)); renderObject.set$onLongPress(_this._getLongPressHandler$1(t1)); renderObject.set$onHorizontalDragUpdate(_this._getHorizontalDragUpdateHandler$1(t1)); renderObject.set$onVerticalDragUpdate(_this._getVerticalDragUpdateHandler$1(t1)); }, _getTapHandler$1(recognizers) { var tap = type$.nullable_TapGestureRecognizer._as(recognizers.$index(0, B.Type_TapGestureRecognizer_62h)); if (tap == null) return null; return new A._DefaultSemanticsGestureDelegate__getTapHandler_closure(tap); }, _getLongPressHandler$1(recognizers) { var longPress = type$.nullable_LongPressGestureRecognizer._as(recognizers.$index(0, B.Type_LongPressGestureRecognizer_46y)); if (longPress == null) return null; return new A._DefaultSemanticsGestureDelegate__getLongPressHandler_closure(longPress); }, _getHorizontalDragUpdateHandler$1(recognizers) { var horizontal = type$.nullable_HorizontalDragGestureRecognizer._as(recognizers.$index(0, B.Type_Vq1)), pan = type$.nullable_PanGestureRecognizer._as(recognizers.$index(0, B.Type_PanGestureRecognizer_bbH)), horizontalHandler = horizontal == null ? null : new A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure(horizontal), panHandler = pan == null ? null : new A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0(pan); if (horizontalHandler == null && panHandler == null) return null; return new A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1(horizontalHandler, panHandler); }, _getVerticalDragUpdateHandler$1(recognizers) { var vertical = type$.nullable_VerticalDragGestureRecognizer._as(recognizers.$index(0, B.Type_mLh)), pan = type$.nullable_PanGestureRecognizer._as(recognizers.$index(0, B.Type_PanGestureRecognizer_bbH)), verticalHandler = vertical == null ? null : new A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure(vertical), panHandler = pan == null ? null : new A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0(pan); if (verticalHandler == null && panHandler == null) return null; return new A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1(verticalHandler, panHandler); } }; A._DefaultSemanticsGestureDelegate__getTapHandler_closure.prototype = { call$0() { var t1 = this.tap, t2 = t1.onTapDown; if (t2 != null) t2.call$1(new A.TapDownDetails(B.Offset_0_0, null, B.Offset_0_0)); t2 = t1.onTapUp; if (t2 != null) t2.call$1(new A.TapUpDetails(B.Offset_0_0, B.Offset_0_0, B.PointerDeviceKind_4)); t1 = t1.onTap; if (t1 != null) t1.call$0(); }, $signature: 0 }; A._DefaultSemanticsGestureDelegate__getLongPressHandler_closure.prototype = { call$0() { var t1 = this.longPress, t2 = t1.onLongPressStart; if (t2 != null) t2.call$1(B.LongPressStartDetails_aWR); t2 = t1.onLongPress; if (t2 != null) t2.call$0(); t1 = t1.onLongPressEnd; if (t1 != null) t1.call$1(B.LongPressEndDetails_aB0); }, $signature: 0 }; A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure.prototype = { call$1(details) { var t1 = this.horizontal, t2 = t1.onDown; if (t2 != null) t2.call$1(new A.DragDownDetails(B.Offset_0_0, B.Offset_0_0)); t2 = t1.onStart; if (t2 != null) t2.call$1(new A.DragStartDetails(null, B.Offset_0_0, null)); t2 = t1.onUpdate; if (t2 != null) t2.call$1(details); t1 = t1.onEnd; if (t1 != null) t1.call$1(new A.DragEndDetails(B.Velocity_Offset_0_0, 0)); }, $signature: 22 }; A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure0.prototype = { call$1(details) { var t1 = this.pan, t2 = t1.onDown; if (t2 != null) t2.call$1(new A.DragDownDetails(B.Offset_0_0, B.Offset_0_0)); t2 = t1.onStart; if (t2 != null) t2.call$1(new A.DragStartDetails(null, B.Offset_0_0, null)); t2 = t1.onUpdate; if (t2 != null) t2.call$1(details); t1 = t1.onEnd; if (t1 != null) t1.call$1(new A.DragEndDetails(B.Velocity_Offset_0_0, null)); }, $signature: 22 }; A._DefaultSemanticsGestureDelegate__getHorizontalDragUpdateHandler_closure1.prototype = { call$1(details) { var t1 = this.horizontalHandler; if (t1 != null) t1.call$1(details); t1 = this.panHandler; if (t1 != null) t1.call$1(details); }, $signature: 22 }; A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure.prototype = { call$1(details) { var t1 = this.vertical, t2 = t1.onDown; if (t2 != null) t2.call$1(new A.DragDownDetails(B.Offset_0_0, B.Offset_0_0)); t2 = t1.onStart; if (t2 != null) t2.call$1(new A.DragStartDetails(null, B.Offset_0_0, null)); t2 = t1.onUpdate; if (t2 != null) t2.call$1(details); t1 = t1.onEnd; if (t1 != null) t1.call$1(new A.DragEndDetails(B.Velocity_Offset_0_0, 0)); }, $signature: 22 }; A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure0.prototype = { call$1(details) { var t1 = this.pan, t2 = t1.onDown; if (t2 != null) t2.call$1(new A.DragDownDetails(B.Offset_0_0, B.Offset_0_0)); t2 = t1.onStart; if (t2 != null) t2.call$1(new A.DragStartDetails(null, B.Offset_0_0, null)); t2 = t1.onUpdate; if (t2 != null) t2.call$1(details); t1 = t1.onEnd; if (t1 != null) t1.call$1(new A.DragEndDetails(B.Velocity_Offset_0_0, null)); }, $signature: 22 }; A._DefaultSemanticsGestureDelegate__getVerticalDragUpdateHandler_closure1.prototype = { call$1(details) { var t1 = this.verticalHandler; if (t1 != null) t1.call$1(details); t1 = this.panHandler; if (t1 != null) t1.call$1(details); }, $signature: 22 }; A.HeroFlightDirection.prototype = { toString$0(_) { return "HeroFlightDirection." + this._core$_name; } }; A.Hero.prototype = { createState$0() { return new A._HeroState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); } }; A.Hero__allHeroesFor_inviteHero.prototype = { call$2(hero, tag) { var heroState; type$.Hero._as(hero.get$widget()); heroState = type$._HeroState._as(hero.get$state(hero)); if (!this.isUserGestureTransition || false) this.result.$indexSet(0, tag, heroState); else heroState.endFlight$0(); }, $signature: 656 }; A.Hero__allHeroesFor_visitor.prototype = { call$1(element) { var tag, heroRoute, _this = this, widget = element.get$widget(); if (widget instanceof A.Hero) { type$.StatefulElement._as(element); tag = widget.tag; if (A.Navigator_of(element, false) === _this.navigator) _this.inviteHero.call$2(element, tag); else { heroRoute = A.ModalRoute_of(element, type$.nullable_Object); if (heroRoute != null && heroRoute instanceof A.PageRoute && heroRoute.get$isCurrent()) _this.inviteHero.call$2(element, tag); } } element.visitChildren$1(_this); }, $signature: 32 }; A._HeroState.prototype = { startFlight$1$shouldIncludedChildInPlaceholder(shouldIncludedChildInPlaceholder) { var t1, _this = this; _this._shouldIncludeChild = shouldIncludedChildInPlaceholder; t1 = _this._framework$_element.get$renderObject(); t1.toString; _this.setState$1(new A._HeroState_startFlight_closure(_this, type$.RenderBox._as(t1))); }, startFlight$0() { return this.startFlight$1$shouldIncludedChildInPlaceholder(false); }, endFlight$1$keepPlaceholder(keepPlaceholder) { var _this = this; if (keepPlaceholder || _this._placeholderSize == null) return; _this._placeholderSize = null; if (_this._framework$_element != null) _this.setState$1(new A._HeroState_endFlight_closure()); }, endFlight$0() { return this.endFlight$1$keepPlaceholder(false); }, build$1(_, context) { var t3, _this = this, _null = null, t1 = _this._placeholderSize, t2 = t1 == null, showPlaceholder = !t2; if (showPlaceholder) _this._widget.toString; if (showPlaceholder && !_this._shouldIncludeChild) return new A.SizedBox(t1._dx, t1._dy, _null, _null); t3 = t2 ? _null : t1._dx; t1 = t2 ? _null : t1._dy; return new A.SizedBox(t3, t1, new A.Offstage(showPlaceholder, new A.TickerMode(t2, new A.KeyedSubtree(_this._widget.child, _this._heroes$_key), _null), _null), _null); } }; A._HeroState_startFlight_closure.prototype = { call$0() { var t1 = this.box._size; t1.toString; this.$this._placeholderSize = t1; }, $signature: 0 }; A._HeroState_endFlight_closure.prototype = { call$0() { }, $signature: 0 }; A._HeroFlightManifest.prototype = { get$animation(_) { var t1, _this = this; if (_this.type === B.HeroFlightDirection_0) { t1 = _this.toRoute._animationProxy; t1.toString; } else { t1 = _this.fromRoute._animationProxy; t1.toString; } return A.CurvedAnimation$(B.Cubic_ifx, t1, _this.isDiverted ? null : new A.FlippedCurve(B.Cubic_ifx)); }, createHeroRectTween$2$begin$end(begin, end) { var t1; this.toHero._widget.toString; t1 = this.createRectTween.call$2(begin, end); return t1 == null ? new A.RectTween(begin, end) : t1; }, get$fromHeroLocation() { var t1, result, _this = this, value = _this.___HeroFlightManifest_fromHeroLocation; if (value === $) { t1 = _this.fromHero._framework$_element; t1.toString; result = A._HeroFlightManifest__boundingBoxFor(t1, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this.fromRoute._subtreeKey)); A._lateInitializeOnceCheck(_this.___HeroFlightManifest_fromHeroLocation, "fromHeroLocation"); _this.___HeroFlightManifest_fromHeroLocation = result; value = result; } return value; }, get$toHeroLocation() { var t1, result, _this = this, value = _this.___HeroFlightManifest_toHeroLocation; if (value === $) { t1 = _this.toHero._framework$_element; t1.toString; result = A._HeroFlightManifest__boundingBoxFor(t1, $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this.toRoute._subtreeKey)); A._lateInitializeOnceCheck(_this.___HeroFlightManifest_toHeroLocation, "toHeroLocation"); _this.___HeroFlightManifest_toHeroLocation = result; value = result; } return value; }, get$isValid() { var t1, result, _this = this, value = _this.___HeroFlightManifest_isValid; if (value === $) { t1 = _this.get$toHeroLocation(); if (t1.get$isFinite(t1)) if (!_this.isDiverted) { t1 = _this.get$fromHeroLocation(); t1 = t1.get$isFinite(t1); result = t1; } else result = true; else result = false; A._lateInitializeOnceCheck(_this.___HeroFlightManifest_isValid, "isValid"); value = _this.___HeroFlightManifest_isValid = result; } return value; }, toString$0(_) { var _this = this, t1 = _this.fromHero; t1 = "_HeroFlightManifest(" + _this.type.toString$0(0) + " tag: " + A.S(t1._widget.tag) + " from route: " + _this.fromRoute._settings.toString$0(0) + " to route: " + _this.toRoute._settings.toString$0(0) + " with hero: " + t1.toString$0(0) + " to " + _this.toHero.toString$0(0) + ")"; return t1 + (_this.get$isValid() ? "" : ", INVALID"); } }; A._HeroFlight.prototype = { _buildOverlay$1(context) { var t1, t2, t3, t4, t5, _this = this, _s8_ = "manifest"; if (_this.shuttle == null) { t1 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_); t2 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_); t2 = t2.get$animation(t2); t3 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).type; t4 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromHero._framework$_element; t4.toString; t5 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toHero._framework$_element; t5.toString; _this.shuttle = t1.shuttleBuilder.call$5(context, t2, t3, t4, t5); } return A.AnimatedBuilder$(A._lateReadCheck(_this.___HeroFlight__proxyAnimation, "_proxyAnimation"), new A._HeroFlight__buildOverlay_closure(_this), _this.shuttle); }, _performAnimationUpdate$1($status) { var _this = this, _s15_ = "_proxyAnimation", _s8_ = "manifest", t1 = $status === B.AnimationStatus_3; if (t1 || $status === B.AnimationStatus_0) { A._lateReadCheck(_this.___HeroFlight__proxyAnimation, _s15_).set$parent(0, null); _this.overlayEntry.remove$0(0); _this.overlayEntry = null; A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromHero.endFlight$1$keepPlaceholder(t1); A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toHero.endFlight$1$keepPlaceholder($status === B.AnimationStatus_0); _this.onFlightEnded.call$1(_this); A._lateReadCheck(_this.___HeroFlight__proxyAnimation, _s15_).removeListener$1(0, _this.get$onTick()); } }, _handleAnimationUpdate$1($status) { var _this = this, _s8_ = "manifest", t1 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromRoute._navigator$_navigator; if ((t1 == null ? null : t1.userGestureInProgressNotifier._change_notifier$_value) !== true) { _this._performAnimationUpdate$1($status); return; } if (_this._scheduledPerformAnimationUpdate) return; t1 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromRoute._navigator$_navigator; t1.toString; _this._scheduledPerformAnimationUpdate = true; t1.userGestureInProgressNotifier.addListener$1(0, new A._HeroFlight__handleAnimationUpdate_delayedPerformAnimationUpdate(_this, t1)); }, onTick$0() { var t1, toHeroOrigin, t2, t3, t4, t5, t6, t7, _this = this, _s8_ = "manifest", _s13_ = "heroRectTween", _s15_ = "_proxyAnimation", toHeroBox = !_this._aborted && A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toHero._framework$_element != null ? type$.nullable_RenderBox._as(A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toHero._framework$_element.get$renderObject()) : null; if (toHeroBox != null && toHeroBox._node$_owner != null && toHeroBox._size != null) { t1 = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toRoute; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._subtreeKey); t1 = t1 == null ? null : t1.get$renderObject(); toHeroOrigin = A.MatrixUtils_transformPoint(toHeroBox.getTransformTo$1(0, type$.nullable_RenderBox._as(t1)), B.Offset_0_0); } else toHeroOrigin = null; t1 = toHeroOrigin != null; if (t1 && isFinite(toHeroOrigin._dx) && isFinite(toHeroOrigin._dy)) { t2 = A._lateReadCheck(_this.___HeroFlight_heroRectTween, _s13_).end; if (!J.$eq$(toHeroOrigin, new A.Offset(t2.left, t2.top))) { t2 = A._lateReadCheck(_this.___HeroFlight_heroRectTween, _s13_).end; t3 = t2.right; t4 = t2.left; t5 = t2.bottom; t2 = t2.top; t6 = toHeroOrigin._dx; t7 = toHeroOrigin._dy; _this.___HeroFlight_heroRectTween = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).createHeroRectTween$2$begin$end(A._lateReadCheck(_this.___HeroFlight_heroRectTween, _s13_).begin, new A.Rect(t6, t7, t6 + (t3 - t4), t7 + (t5 - t2))); } } else { t2 = _this._heroOpacity; if (t2.get$status(t2) === B.AnimationStatus_3) { t2 = A._lateReadCheck(_this.___HeroFlight__proxyAnimation, _s15_); t3 = $.$get$_HeroFlight__reverseTween(); t4 = A._lateReadCheck(_this.___HeroFlight__proxyAnimation, _s15_); t4 = t4.get$value(t4); t5 = A._instanceType(t3)._eval$1("_ChainedEvaluation<Animatable.T>"); _this._heroOpacity = new A._AnimatedEvaluation(type$.Animation_double._as(t2), new A._ChainedEvaluation(new A.CurveTween(new A.Interval(t4, 1, B.C__Linear)), t3, t5), t5._eval$1("_AnimatedEvaluation<Animatable.T>")); } } if (t1) t1 = !(isFinite(toHeroOrigin._dx) && isFinite(toHeroOrigin._dy)); else t1 = true; _this._aborted = t1; }, toString$0(_) { var _this = this, _s8_ = "manifest", from = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromRoute._settings, to = A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).toRoute._settings; return "HeroFlight(for: " + A.S(A._lateReadCheck(_this.___HeroFlight_manifest, _s8_).fromHero._widget.tag) + ", from: " + from.toString$0(0) + ", to: " + to.toString$0(0) + " " + A.S(A._lateReadCheck(_this.___HeroFlight__proxyAnimation, "_proxyAnimation")._animations$_parent) + ")"; } }; A._HeroFlight__buildOverlay_closure.prototype = { call$2(context, child) { var _null = null, t1 = this.$this, t2 = A._lateReadCheck(t1.___HeroFlight_heroRectTween, "heroRectTween"), t3 = A._lateReadCheck(t1.___HeroFlight__proxyAnimation, "_proxyAnimation"); t3 = t2.transform$1(0, t3.get$value(t3)); t3.toString; t2 = A._lateReadCheck(t1.___HeroFlight_manifest, "manifest").navigatorSize; return A.Positioned$(t2._dy - t3.bottom, new A.IgnorePointer(true, _null, new A.RepaintBoundary(A.FadeTransition$(false, child, t1._heroOpacity), _null), _null), _null, _null, t3.left, t2._dx - t3.right, t3.top, _null); }, $signature: 657 }; A._HeroFlight__handleAnimationUpdate_delayedPerformAnimationUpdate.prototype = { call$0() { var t2, t1 = this.$this; t1._scheduledPerformAnimationUpdate = false; this.navigator.userGestureInProgressNotifier.removeListener$1(0, this); t2 = A._lateReadCheck(t1.___HeroFlight__proxyAnimation, "_proxyAnimation"); t1._performAnimationUpdate$1(t2.get$status(t2)); }, $signature: 0 }; A.HeroController.prototype = { didStopUserGesture$0() { var t1, t2, invalidFlights, _i; if (this._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value) return; t1 = this._flights; t1 = t1.get$values(t1); t2 = A._instanceType(t1)._eval$1("WhereIterable<Iterable.E>"); invalidFlights = A.List_List$of(new A.WhereIterable(t1, new A.HeroController_didStopUserGesture_isInvalidFlight(), t2), false, t2._eval$1("Iterable.E")); for (t1 = invalidFlights.length, _i = 0; _i < t1; ++_i) invalidFlights[_i]._handleAnimationUpdate$1(B.AnimationStatus_0); }, _maybeStartHeroTransition$4(fromRoute, toRoute, flightType, isUserGestureTransition) { var t1, animation; if (toRoute != fromRoute && toRoute instanceof A.PageRoute && fromRoute instanceof A.PageRoute) { if (flightType === B.HeroFlightDirection_0) { t1 = toRoute._animationProxy; t1.toString; animation = t1; } else { t1 = fromRoute._animationProxy; t1.toString; animation = t1; } switch (flightType.index) { case 1: if (animation.get$value(animation) === 0) return; break; case 0: if (animation.get$value(animation) === 1) return; break; } if (isUserGestureTransition) if (flightType === B.HeroFlightDirection_1) { toRoute.get$maintainState(); t1 = true; } else t1 = false; else t1 = false; if (t1) this._startHeroTransition$5(fromRoute, toRoute, animation, flightType, isUserGestureTransition); else { t1 = toRoute._animationProxy; toRoute.set$offstage(t1.get$value(t1) === 0); $.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.HeroController__maybeStartHeroTransition_closure(this, fromRoute, toRoute, animation, flightType, isUserGestureTransition)); } } }, _startHeroTransition$5(from, to, animation, flightType, isUserGestureTransition) { var $navigator, t1, overlay, navigatorRenderObject, fromSubtreeContext, fromHeroes, toSubtreeContext, toHeroes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, tag, fromHero, toHero, existingFlight, manifest, t17, t18, t19, shouldIncludeChildInPlaceholder, _this = this, _null = null, _s8_ = "manifest", _s15_ = "_proxyAnimation", _s13_ = "heroRectTween"; to.set$offstage(false); $navigator = _this._navigator$_navigator; t1 = $navigator == null; overlay = t1 ? _null : A._lateReadCheck($navigator.__NavigatorState__overlayKey, "_overlayKey").get$currentState(); if (t1 || overlay == null) return; navigatorRenderObject = $navigator._framework$_element.get$renderObject(); if (!(navigatorRenderObject instanceof A.RenderBox)) return; fromSubtreeContext = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, from._subtreeKey); fromHeroes = fromSubtreeContext != null ? A.Hero__allHeroesFor(fromSubtreeContext, isUserGestureTransition, $navigator) : B.Map_empty2; toSubtreeContext = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, to._subtreeKey); toHeroes = toSubtreeContext != null ? A.Hero__allHeroesFor(toSubtreeContext, isUserGestureTransition, $navigator) : B.Map_empty2; for (t1 = fromHeroes.get$entries(fromHeroes), t1 = t1.get$iterator(t1), t2 = _this.get$_defaultHeroFlightShuttleBuilder(), t3 = _this.createRectTween, t4 = _this._flights, t5 = type$.LabeledGlobalKey__OverlayEntryWidgetState, t6 = type$.nullable_void_Function, t7 = _this.get$_handleFlightEnded(), t8 = type$.JSArray_of_void_Function_AnimationStatus, t9 = type$.ObserverList_of_void_Function_AnimationStatus, t10 = type$.JSArray_of_void_Function, t11 = type$.ObserverList_of_void_Function, t12 = type$.Tween_double, t13 = type$.Animation_double, t14 = t12._eval$1("_AnimatedEvaluation<Animatable.T>"), t15 = type$.ReverseTween_nullable_Rect; t1.moveNext$0();) { t16 = t1.get$current(t1); tag = t16.get$key(t16); fromHero = t16.get$value(t16); toHero = toHeroes.$index(0, tag); existingFlight = t4.$index(0, tag); if (toHero == null) manifest = _null; else { t16 = navigatorRenderObject._size; t16.toString; toHero._widget.toString; t17 = fromHero._widget; t17.toString; manifest = new A._HeroFlightManifest(flightType, overlay, t16, from, to, fromHero, toHero, t3, t2, isUserGestureTransition, existingFlight != null); } if (manifest != null && manifest.get$isValid()) { toHeroes.remove$1(0, tag); if (existingFlight != null) { if (A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).type === B.HeroFlightDirection_0 && manifest.type === B.HeroFlightDirection_1) { A._lateReadCheck(existingFlight.___HeroFlight__proxyAnimation, _s15_).set$parent(0, new A.ReverseAnimation(manifest.get$animation(manifest), new A.ObserverList(A._setArrayType([], t8), t9), 0)); t16 = A._lateReadCheck(existingFlight.___HeroFlight_heroRectTween, _s13_); existingFlight.___HeroFlight_heroRectTween = new A.ReverseTween(t16, t16.end, t16.begin, t15); } else if (A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).type === B.HeroFlightDirection_1 && manifest.type === B.HeroFlightDirection_0) { t16 = A._lateReadCheck(existingFlight.___HeroFlight__proxyAnimation, _s15_); t17 = manifest.get$animation(manifest); t18 = A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_); t18 = t18.get$animation(t18); t18 = t18.get$value(t18); t16.set$parent(0, new A._AnimatedEvaluation(t13._as(t17), new A.Tween(t18, 1, t12), t14)); t16 = A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).fromHero; t17 = manifest.toHero; t18 = existingFlight.___HeroFlight_manifest; if (t16 !== t17) { A._lateReadCheck(t18, _s8_).fromHero.endFlight$1$keepPlaceholder(true); t17.startFlight$0(); existingFlight.___HeroFlight_heroRectTween = A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).createHeroRectTween$2$begin$end(A._lateReadCheck(existingFlight.___HeroFlight_heroRectTween, _s13_).end, manifest.get$toHeroLocation()); } else existingFlight.___HeroFlight_heroRectTween = A._lateReadCheck(t18, _s8_).createHeroRectTween$2$begin$end(A._lateReadCheck(existingFlight.___HeroFlight_heroRectTween, _s13_).end, A._lateReadCheck(existingFlight.___HeroFlight_heroRectTween, _s13_).begin); } else { t16 = A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_); t17 = A._lateReadCheck(existingFlight.___HeroFlight_heroRectTween, _s13_); t18 = A._lateReadCheck(existingFlight.___HeroFlight__proxyAnimation, _s15_); existingFlight.___HeroFlight_heroRectTween = t16.createHeroRectTween$2$begin$end(t17.transform$1(0, t18.get$value(t18)), manifest.get$toHeroLocation()); existingFlight.shuttle = null; t16 = manifest.type; t17 = existingFlight.___HeroFlight__proxyAnimation; if (t16 === B.HeroFlightDirection_1) A._lateReadCheck(t17, _s15_).set$parent(0, new A.ReverseAnimation(manifest.get$animation(manifest), new A.ObserverList(A._setArrayType([], t8), t9), 0)); else A._lateReadCheck(t17, _s15_).set$parent(0, manifest.get$animation(manifest)); A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).fromHero.endFlight$1$keepPlaceholder(true); A._lateReadCheck(existingFlight.___HeroFlight_manifest, _s8_).toHero.endFlight$1$keepPlaceholder(true); manifest.fromHero.startFlight$1$shouldIncludedChildInPlaceholder(t16 === B.HeroFlightDirection_0); manifest.toHero.startFlight$0(); t16 = existingFlight.overlayEntry._overlay0$_key.get$currentState(); if (t16 != null) t16._markNeedsBuild$0(); } existingFlight.___HeroFlight_manifest = manifest; } else { t16 = new A._HeroFlight(t7, B.C__AlwaysCompleteAnimation); t17 = A._setArrayType([], t8); t18 = new A.ObserverList(t17, t9); t19 = new A.ProxyAnimation(t18, new A.ObserverList(A._setArrayType([], t10), t11), 0); t19._status = B.AnimationStatus_0; t19._animations$_value = 0; t19.didRegisterListener$0(); t18._isDirty = true; t17.push(t16.get$_handleAnimationUpdate()); t16.___HeroFlight__proxyAnimation = t19; t16.___HeroFlight_manifest = manifest; switch (A._lateReadCheck(manifest, _s8_).type.index) { case 1: t17 = A._lateReadCheck(t16.___HeroFlight__proxyAnimation, _s15_); t18 = A._lateReadCheck(t16.___HeroFlight_manifest, _s8_); t17.set$parent(0, new A.ReverseAnimation(t18.get$animation(t18), new A.ObserverList(A._setArrayType([], t8), t9), 0)); shouldIncludeChildInPlaceholder = false; break; case 0: t17 = A._lateReadCheck(t16.___HeroFlight__proxyAnimation, _s15_); t18 = A._lateReadCheck(t16.___HeroFlight_manifest, _s8_); t17.set$parent(0, t18.get$animation(t18)); shouldIncludeChildInPlaceholder = true; break; default: shouldIncludeChildInPlaceholder = _null; } t16.___HeroFlight_heroRectTween = A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).createHeroRectTween$2$begin$end(A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).get$fromHeroLocation(), A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).get$toHeroLocation()); A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).fromHero.startFlight$1$shouldIncludedChildInPlaceholder(shouldIncludeChildInPlaceholder); A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).toHero.startFlight$0(); t17 = A._lateReadCheck(t16.___HeroFlight_manifest, _s8_).overlay; t18 = new A.OverlayEntry0(t16.get$_buildOverlay(), false, new A.LabeledGlobalKey(_null, t5), A.List_List$filled(0, _null, false, t6)); t16.overlayEntry = t18; t17.insert$1(0, t18); t18 = A._lateReadCheck(t16.___HeroFlight__proxyAnimation, _s15_); t18.didRegisterListener$0(); t18 = t18.AnimationLocalListenersMixin__listeners; t18._isDirty = true; t18._list.push(t16.get$onTick()); t4.$indexSet(0, tag, t16); } } else if (existingFlight != null) existingFlight._aborted = true; } for (t1 = J.get$iterator$ax(toHeroes.get$values(toHeroes)); t1.moveNext$0();) t1.get$current(t1).endFlight$0(); }, _handleFlightEnded$1(flight) { this._flights.remove$1(0, A._lateReadCheck(flight.___HeroFlight_manifest, "manifest").fromHero._widget.tag); }, _defaultHeroFlightShuttleBuilder$5(flightContext, animation, flightDirection, fromHeroContext, toHeroContext) { return type$.Hero._as(toHeroContext.get$widget()).child; } }; A.HeroController_didStopUserGesture_isInvalidFlight.prototype = { call$1(flight) { var t1, _s8_ = "manifest"; if (A._lateReadCheck(flight.___HeroFlight_manifest, _s8_).isUserGestureTransition) if (A._lateReadCheck(flight.___HeroFlight_manifest, _s8_).type === B.HeroFlightDirection_1) { t1 = A._lateReadCheck(flight.___HeroFlight__proxyAnimation, "_proxyAnimation"); t1 = t1.get$status(t1) === B.AnimationStatus_0; } else t1 = false; else t1 = false; return t1; }, $signature: 660 }; A.HeroController__maybeStartHeroTransition_closure.prototype = { call$1(value) { var _this = this; _this.$this._startHeroTransition$5(_this.from, _this.to, _this.animation, _this.flightType, _this.isUserGestureTransition); }, $signature: 8 }; A.Icon.prototype = { build$1(_, context) { var textDirection, iconTheme, iconSize, iconOpacity, iconColor, t2, iconWidget, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; textDirection = t1.textDirection; iconTheme = A.IconTheme_of(context); iconSize = this.size; if (iconSize == null) iconSize = iconTheme.size; t1 = this.icon; if (t1 == 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), false, false, false, new A.SizedBox(iconSize, iconSize, _null, _null), _null); iconOpacity = iconTheme.get$opacity(iconTheme); if (iconOpacity == null) iconOpacity = 1; iconColor = this.color; if (iconColor == null) { t2 = iconTheme.color; t2.toString; iconColor = t2; } if (iconOpacity !== 1) iconColor = A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((iconColor.get$value(iconColor) >>> 24 & 255) / 255 * iconOpacity)), iconColor.get$value(iconColor) >>> 16 & 255, iconColor.get$value(iconColor) >>> 8 & 255, iconColor.get$value(iconColor) & 255); t2 = A.Primitives_stringFromCharCode(t1.codePoint); iconWidget = A.RichText$(_null, _null, _null, B.TextOverflow_3, true, _null, A.TextSpan$(_null, _null, _null, _null, A.TextStyle$(_null, _null, iconColor, _null, _null, _null, _null, _null, t1.fontFamily, _null, _null, iconSize, _null, _null, _null, _null, false, _null, _null, _null, _null, t1.fontPackage, _null, _null, _null), t2), B.TextAlign_4, textDirection, _null, 1, B.TextWidthBasis_0); if (t1.matchTextDirection) switch (textDirection.index) { case 0: t1 = new A.Matrix4(new Float64Array(16)); t1.setIdentity$0(); t1.scale$3(0, -1, 1, 1); iconWidget = A.Transform$(B.Alignment_0_0, iconWidget, t1, false); break; case 1: break; } t1 = A.Center$(iconWidget, _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), false, false, false, new A.ExcludeSemantics(true, new A.SizedBox(iconSize, iconSize, t1, _null), _null), _null); } }; A.IconData.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.IconData && other.codePoint === _this.codePoint && other.fontFamily === _this.fontFamily && other.fontPackage == _this.fontPackage && other.matchTextDirection === _this.matchTextDirection; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.codePoint, _this.fontFamily, _this.fontPackage, _this.matchTextDirection, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { return "IconData(U+" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(this.codePoint, 16).toUpperCase(), 5, "0") + ")"; } }; A.IconTheme.prototype = { updateShouldNotify$1(oldWidget) { return !this.data.$eq(0, oldWidget.data); }, wrap$2(_, context, child) { return A.IconTheme$(child, this.data, null); }, get$data(receiver) { return this.data; } }; A.IconTheme_merge_closure.prototype = { call$1(context) { return A.IconTheme$(this.child, A.IconTheme__getInheritedIconThemeData(context).merge$1(this.data), this.key); }, $signature: 661 }; A.IconThemeData.prototype = { copyWith$3$color$opacity$size(color, opacity, size) { var _this = this, t1 = color == null ? _this.color : color, t2 = opacity == null ? _this.get$opacity(_this) : opacity; return new A.IconThemeData(t1, t2, size == null ? _this.size : size); }, copyWith$1$color(color) { return this.copyWith$3$color$opacity$size(color, null, null); }, merge$1(other) { return this.copyWith$3$color$opacity$size(other.color, other.get$opacity(other), other.size); }, resolve$1(context) { return this; }, get$opacity(_) { var t1 = this._opacity; return t1 == null ? null : B.JSNumber_methods.clamp$2(t1, 0, 1); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.IconThemeData && J.$eq$(other.color, _this.color) && other.get$opacity(other) == _this.get$opacity(_this) && other.size == _this.size; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.color, _this.get$opacity(_this), _this.size, 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, 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._IconThemeData_Object_Diagnosticable.prototype = {}; A.precacheImage_closure.prototype = { call$2(image, sync) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.complete$0(0); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.precacheImage__closure(this._box_0, this.stream)); }, $signature: 281 }; A.precacheImage__closure.prototype = { call$1(timeStamp) { var t1 = this._box_0.listener; t1.toString; this.stream.removeListener$1(0, t1); }, $signature: 8 }; A.precacheImage_closure0.prototype = { call$2(exception, stackTrace) { var _this = this, t1 = _this.completer; if ((t1.future._state & 30) === 0) t1.complete$0(0); t1 = _this._box_0.listener; t1.toString; _this.stream.removeListener$1(0, t1); _this.onError.call$2(exception, stackTrace); }, $signature: 98 }; A.Image.prototype = { createState$0() { return new A._ImageState(B._StateLifecycle_0); } }; A._ImageState.prototype = { initState$0() { var _this = this; _this.super$State$initState(); $.WidgetsBinding__instance.WidgetsBinding__observers.push(_this); _this.___ImageState__scrollAwareContext = new A.DisposableBuildContext(_this, type$.DisposableBuildContext_State_Image); }, dispose$0(_) { var t1, _this = this; B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, _this); _this._stopListeningToStream$0(); t1 = _this._completerHandle; if (t1 != null) t1.dispose$0(0); A._lateReadCheck(_this.___ImageState__scrollAwareContext, "_scrollAwareContext")._disposable_build_context$_state = null; _this._replaceImage$1$info(null); _this.super$State$dispose(0); }, didChangeDependencies$0() { var t1, _this = this; _this._updateInvertColors$0(); _this._resolveImage$0(); t1 = _this._framework$_element; t1.toString; if (A.TickerMode_of(t1)) _this._listenToStream$0(); else _this._stopListeningToStream$1$keepStreamAlive(true); _this.super$State$didChangeDependencies(); }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._isListeningToStream) _this._widget.toString; if (!_this._widget.image.$eq(0, oldWidget.image)) _this._resolveImage$0(); }, reassemble$0() { this._resolveImage$0(); this.super$State$reassemble(); }, _updateInvertColors$0() { var t1 = this._framework$_element; t1.toString; t1 = A.MediaQuery_maybeOf(t1); t1 = t1 == null ? null : t1.invertColors; if (t1 == null) { A._lateReadCheck($.SemanticsBinding__instance.SemanticsBinding___SemanticsBinding__accessibilityFeatures, "_accessibilityFeatures"); t1 = false; } this.___ImageState__invertColors = t1; }, _resolveImage$0() { var t5, _this = this, t1 = A._lateReadCheck(_this.___ImageState__scrollAwareContext, "_scrollAwareContext"), t2 = _this._widget, t3 = t2.image, t4 = _this._framework$_element; t4.toString; t5 = t2.width; if (t5 != null && t2.height != null) { t5.toString; t2 = t2.height; t2.toString; t2 = new A.Size(t5, t2); } else t2 = null; _this._updateSourceStream$1(new A.ScrollAwareImageProvider(t1, t3, type$.ScrollAwareImageProvider_Object).resolve$1(A.createLocalImageConfiguration(t4, t2))); }, _getListener$1$recreateListener(recreateListener) { var _this = this, t1 = _this._imageStreamListener; if (t1 == null || recreateListener) { _this._lastStack = _this._lastException = null; t1 = _this._widget; t1 = t1.errorBuilder != null || false ? new A._ImageState__getListener_closure(_this) : null; t1 = _this._imageStreamListener = new A.ImageStreamListener(_this.get$_handleImageFrame(), null, t1); } t1.toString; return t1; }, _getListener$0() { return this._getListener$1$recreateListener(false); }, _handleImageFrame$2(imageInfo, synchronousCall) { this.setState$1(new A._ImageState__handleImageFrame_closure(this, imageInfo, synchronousCall)); }, _replaceImage$1$info(info) { var t1 = this._imageInfo; if (t1 != null) t1.image.dispose$0(0); this._imageInfo = info; }, _updateSourceStream$1(newStream) { var t2, t3, _this = this, t1 = _this._imageStream; if (t1 == null) t2 = null; else { t2 = t1._image_stream$_completer; if (t2 == null) t2 = t1; } t3 = newStream._image_stream$_completer; if (t2 === (t3 == null ? newStream : t3)) return; if (_this._isListeningToStream) { t1.toString; t1.removeListener$1(0, _this._getListener$0()); } _this._widget.toString; _this.setState$1(new A._ImageState__updateSourceStream_closure(_this)); _this.setState$1(new A._ImageState__updateSourceStream_closure0(_this)); _this._imageStream = newStream; if (_this._isListeningToStream) newStream.addListener$1(0, _this._getListener$0()); }, _listenToStream$0() { var t1, _this = this; if (_this._isListeningToStream) return; t1 = _this._imageStream; t1.toString; t1.addListener$1(0, _this._getListener$0()); t1 = _this._completerHandle; if (t1 != null) t1.dispose$0(0); _this._completerHandle = null; _this._isListeningToStream = true; }, _stopListeningToStream$1$keepStreamAlive(keepStreamAlive) { var t1, t2, _this = this; if (!_this._isListeningToStream) return; if (keepStreamAlive) if (_this._completerHandle == null) { t1 = _this._imageStream; t1 = (t1 == null ? null : t1._image_stream$_completer) != null; } else t1 = false; else t1 = false; if (t1) { t1 = _this._imageStream._image_stream$_completer; if (t1._image_stream$_disposed) A.throwExpression(A.StateError$(string$.Stream)); t2 = new A.ImageStreamCompleterHandle(t1); t2.ImageStreamCompleterHandle$_$1(t1); _this._completerHandle = t2; } t1 = _this._imageStream; t1.toString; t1.removeListener$1(0, _this._getListener$0()); _this._isListeningToStream = false; }, _stopListeningToStream$0() { return this._stopListeningToStream$1$keepStreamAlive(false); }, build$1(_, context) { var t2, t3, t4, t5, t6, t7, t8, t9, result, _this = this, _null = null, t1 = _this._lastException; if (t1 != null) { t2 = _this._widget.errorBuilder; if (t2 != null) return t2.call$3(context, t1, _this._lastStack); } t1 = _this._imageInfo; t2 = t1 == null; t3 = t2 ? _null : t1.image; t4 = t2 ? _null : t1.debugLabel; t5 = _this._widget; t6 = t5.width; t7 = t5.height; t1 = t2 ? _null : t1.scale; if (t1 == null) t1 = 1; t5 = t5.fit; t2 = A._lateReadCheck(_this.___ImageState__invertColors, "_invertColors"); t8 = _this._widget; t9 = t8.filterQuality; result = new A.Semantics(A.SemanticsProperties$(_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, _null, _null, _null, _null, _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, new A.RawImage(t3, t4, t6, t7, t1, _null, _null, t9, _null, t5, B.Alignment_0_0, B.ImageRepeat_3, _null, false, t2, false, _null), _null); t1 = t8.frameBuilder; if (t1 != null) result = t1.call$4(context, result, _this._frameNumber, _this._wasSynchronouslyLoaded); _this._widget.toString; return result; } }; A._ImageState__getListener_closure.prototype = { call$2(error, stackTrace) { var t1 = this.$this; t1.setState$1(new A._ImageState__getListener__closure(t1, error, stackTrace)); }, $signature: 98 }; A._ImageState__getListener__closure.prototype = { call$0() { var t1 = this.$this; t1._lastException = this.error; t1._lastStack = this.stackTrace; }, $signature: 0 }; A._ImageState__handleImageFrame_closure.prototype = { call$0() { var t2, t1 = this.$this; t1._replaceImage$1$info(this.imageInfo); t1._lastStack = t1._lastException = t1._loadingProgress = null; t2 = t1._frameNumber; t1._frameNumber = t2 == null ? 0 : t2 + 1; t1._wasSynchronouslyLoaded = B.JSBool_methods.$or(t1._wasSynchronouslyLoaded, this.synchronousCall); }, $signature: 0 }; A._ImageState__updateSourceStream_closure.prototype = { call$0() { this.$this._replaceImage$1$info(null); }, $signature: 0 }; A._ImageState__updateSourceStream_closure0.prototype = { call$0() { var t1 = this.$this; t1._frameNumber = t1._loadingProgress = null; t1._wasSynchronouslyLoaded = false; }, $signature: 0 }; A.__ImageState_State_WidgetsBindingObserver.prototype = {}; A.BoxConstraintsTween.prototype = { lerp$1(t) { var t1 = A.BoxConstraints_lerp(this.begin, this.end, t); t1.toString; return t1; } }; A.DecorationTween.prototype = { lerp$1(t) { var t1 = A.Decoration_lerp(this.begin, this.end, t); t1.toString; return t1; } }; A.EdgeInsetsGeometryTween.prototype = { lerp$1(t) { var t1 = A.EdgeInsetsGeometry_lerp(this.begin, this.end, t); t1.toString; return t1; } }; A.BorderRadiusTween.prototype = { lerp$1(t) { return A.BorderRadius_lerp(this.begin, this.end, t); } }; A.Matrix4Tween.prototype = { lerp$1(t) { var t1, lerpTranslation, t2, t3, lerpRotation, lerpScale, x, y, z, w, x2, y2, z2, xx, xy, xz, yy, yz, zz, wx, wy, wz, arg0Storage, beginTranslation = new A.Vector3(new Float64Array(3)), endTranslation = new A.Vector3(new Float64Array(3)), beginRotation = A.Quaternion_Quaternion$identity(), endRotation = A.Quaternion_Quaternion$identity(), beginScale = new A.Vector3(new Float64Array(3)), endScale = new A.Vector3(new Float64Array(3)); this.begin.decompose$3(beginTranslation, beginRotation, beginScale); this.end.decompose$3(endTranslation, endRotation, endScale); t1 = 1 - t; lerpTranslation = beginTranslation.scaled$1(t1).$add(0, endTranslation.scaled$1(t)); t2 = beginRotation.scaled$1(t1).$add(0, endRotation.scaled$1(t)); t3 = new Float64Array(4); lerpRotation = new A.Quaternion(t3); lerpRotation.setFrom$1(t2); lerpRotation.normalize$0(0); lerpScale = beginScale.scaled$1(t1).$add(0, endScale.scaled$1(t)); t1 = new Float64Array(16); t2 = new A.Matrix4(t1); x = t3[0]; y = t3[1]; z = t3[2]; w = t3[3]; x2 = x + x; y2 = y + y; z2 = z + z; xx = x * x2; xy = x * y2; xz = x * z2; yy = y * y2; yz = y * z2; zz = z * z2; wx = w * x2; wy = w * y2; wz = w * z2; arg0Storage = lerpTranslation._v3storage; t1[0] = 1 - (yy + zz); t1[1] = xy + wz; t1[2] = xz - wy; t1[3] = 0; t1[4] = xy - wz; t1[5] = 1 - (xx + zz); t1[6] = yz + wx; t1[7] = 0; t1[8] = xz + wy; t1[9] = yz - wx; t1[10] = 1 - (xx + yy); t1[11] = 0; t1[12] = arg0Storage[0]; t1[13] = arg0Storage[1]; t1[14] = arg0Storage[2]; t1[15] = 1; t2.scale$1(0, lerpScale); return t2; } }; A.TextStyleTween.prototype = { lerp$1(t) { var t1 = A.TextStyle_lerp(this.begin, this.end, t); t1.toString; return t1; } }; A.ImplicitlyAnimatedWidget.prototype = {}; A.ImplicitlyAnimatedWidgetState.prototype = { get$_implicit_animations$_controller() { var t1, result, _this = this, value = _this.__ImplicitlyAnimatedWidgetState__controller; if (value === $) { t1 = _this._widget.duration; result = A.AnimationController$(null, t1, null, 1, null, _this); A._lateInitializeOnceCheck(_this.__ImplicitlyAnimatedWidgetState__controller, "_controller"); _this.__ImplicitlyAnimatedWidgetState__controller = result; value = result; } return value; }, get$_animation() { var t1, _this = this, value = _this.__ImplicitlyAnimatedWidgetState__animation; if (value === $) { t1 = _this.get$_implicit_animations$_controller(); value = _this.__ImplicitlyAnimatedWidgetState__animation = A.CurvedAnimation$(_this._widget.curve, t1, null); } return value; }, initState$0() { var _this = this; _this.super$State$initState(); _this.get$_implicit_animations$_controller().addStatusListener$1(new A.ImplicitlyAnimatedWidgetState_initState_closure(_this)); _this._constructTweens$0(); _this.didUpdateTweens$0(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.curve !== oldWidget.curve) { _this.get$_animation().dispose$0(0); t1 = _this.get$_implicit_animations$_controller(); _this.__ImplicitlyAnimatedWidgetState__animation = A.CurvedAnimation$(_this._widget.curve, t1, null); } _this.get$_implicit_animations$_controller().duration = _this._widget.duration; if (_this._constructTweens$0()) { _this.forEachTween$1(new A.ImplicitlyAnimatedWidgetState_didUpdateWidget_closure(_this)); t1 = _this.get$_implicit_animations$_controller(); t1.set$value(0, 0); t1.forward$0(0); _this.didUpdateTweens$0(); } }, dispose$0(_) { this.get$_animation().dispose$0(0); this.get$_implicit_animations$_controller().dispose$0(0); this.super$_ImplicitlyAnimatedWidgetState_State_SingleTickerProviderStateMixin$dispose(0); }, _updateTween$2(tween, targetValue) { var t1; if (tween == null) return; t1 = this.get$_animation(); tween.set$begin(tween.transform$1(0, t1.get$value(t1))); tween.set$end(0, targetValue); }, _constructTweens$0() { var t1 = {}; t1.shouldStartAnimation = false; this.forEachTween$1(new A.ImplicitlyAnimatedWidgetState__constructTweens_closure(t1, this)); return t1.shouldStartAnimation; }, didUpdateTweens$0() { } }; A.ImplicitlyAnimatedWidgetState_initState_closure.prototype = { call$1($status) { switch ($status.index) { case 3: this.$this._widget.toString; break; case 0: case 1: case 2: break; } }, $signature: 16 }; A.ImplicitlyAnimatedWidgetState_didUpdateWidget_closure.prototype = { call$3(tween, targetValue, $constructor) { this.$this._updateTween$2(tween, targetValue); return tween; }, $signature: 306 }; A.ImplicitlyAnimatedWidgetState__constructTweens_closure.prototype = { call$3(tween, targetValue, $constructor) { var t1; if (targetValue != null) { if (tween == null) tween = $constructor.call$1(targetValue); t1 = tween.end; if (!J.$eq$(targetValue, t1 == null ? tween.begin : t1)) this._box_0.shouldStartAnimation = true; } else tween = null; return tween; }, $signature: 306 }; A.AnimatedWidgetBaseState.prototype = { initState$0() { this.super$ImplicitlyAnimatedWidgetState$initState(); var t1 = this.get$_implicit_animations$_controller(); t1.didRegisterListener$0(); t1 = t1.AnimationLocalListenersMixin__listeners; t1._isDirty = true; t1._list.push(this.get$_handleAnimationChanged()); }, _handleAnimationChanged$0() { this.setState$1(new A.AnimatedWidgetBaseState__handleAnimationChanged_closure()); } }; A.AnimatedWidgetBaseState__handleAnimationChanged_closure.prototype = { call$0() { }, $signature: 0 }; A.AnimatedContainer.prototype = { createState$0() { return new A._AnimatedContainerState(null, B._StateLifecycle_0); } }; A._AnimatedContainerState.prototype = { forEachTween$1(visitor) { var t2, t3, _this = this, t1 = type$.nullable_AlignmentGeometryTween; _this._implicit_animations$_alignment = t1._as(visitor.call$3(_this._implicit_animations$_alignment, _this._widget.alignment, new A._AnimatedContainerState_forEachTween_closure())); t2 = type$.nullable_EdgeInsetsGeometryTween; _this._implicit_animations$_padding = t2._as(visitor.call$3(_this._implicit_animations$_padding, _this._widget.padding, new A._AnimatedContainerState_forEachTween_closure0())); t3 = type$.nullable_DecorationTween; _this._implicit_animations$_decoration = t3._as(visitor.call$3(_this._implicit_animations$_decoration, _this._widget.decoration, new A._AnimatedContainerState_forEachTween_closure1())); _this._foregroundDecoration = t3._as(visitor.call$3(_this._foregroundDecoration, _this._widget.foregroundDecoration, new A._AnimatedContainerState_forEachTween_closure2())); _this._implicit_animations$_constraints = type$.nullable_BoxConstraintsTween._as(visitor.call$3(_this._implicit_animations$_constraints, _this._widget.constraints, new A._AnimatedContainerState_forEachTween_closure3())); t3 = _this._margin; _this._widget.toString; _this._margin = t2._as(visitor.call$3(t3, null, new A._AnimatedContainerState_forEachTween_closure4())); t3 = _this._implicit_animations$_transform; _this._widget.toString; _this._implicit_animations$_transform = type$.nullable_Matrix4Tween._as(visitor.call$3(t3, null, new A._AnimatedContainerState_forEachTween_closure5())); t3 = _this._transformAlignment; _this._widget.toString; _this._transformAlignment = t1._as(visitor.call$3(t3, null, new A._AnimatedContainerState_forEachTween_closure6())); }, build$1(_, context) { var t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null, animation = _this.get$_animation(), t1 = _this._implicit_animations$_alignment; t1 = t1 == null ? _null : t1.transform$1(0, animation.get$value(animation)); t2 = _this._implicit_animations$_padding; t2 = t2 == null ? _null : t2.transform$1(0, animation.get$value(animation)); t3 = _this._implicit_animations$_decoration; t3 = t3 == null ? _null : t3.transform$1(0, animation.get$value(animation)); t4 = _this._foregroundDecoration; t4 = t4 == null ? _null : t4.transform$1(0, animation.get$value(animation)); t5 = _this._implicit_animations$_constraints; t5 = t5 == null ? _null : t5.transform$1(0, animation.get$value(animation)); t6 = _this._margin; t6 = t6 == null ? _null : t6.transform$1(0, animation.get$value(animation)); t7 = _this._implicit_animations$_transform; t7 = t7 == null ? _null : t7.transform$1(0, animation.get$value(animation)); t8 = _this._transformAlignment; t8 = t8 == null ? _null : t8.transform$1(0, animation.get$value(animation)); return A.Container$(t1, _this._widget.child, B.Clip_0, _null, t5, t3, t4, _null, _null, t6, t2, t7, t8, _null); } }; A._AnimatedContainerState_forEachTween_closure.prototype = { call$1(value) { return new A.AlignmentGeometryTween(type$.AlignmentGeometry._as(value), null); }, $signature: 353 }; A._AnimatedContainerState_forEachTween_closure0.prototype = { call$1(value) { return new A.EdgeInsetsGeometryTween(type$.EdgeInsetsGeometry._as(value), null); }, $signature: 162 }; A._AnimatedContainerState_forEachTween_closure1.prototype = { call$1(value) { return new A.DecorationTween(type$.Decoration._as(value), null); }, $signature: 308 }; A._AnimatedContainerState_forEachTween_closure2.prototype = { call$1(value) { return new A.DecorationTween(type$.Decoration._as(value), null); }, $signature: 308 }; A._AnimatedContainerState_forEachTween_closure3.prototype = { call$1(value) { return new A.BoxConstraintsTween(type$.BoxConstraints._as(value), null); }, $signature: 667 }; A._AnimatedContainerState_forEachTween_closure4.prototype = { call$1(value) { return new A.EdgeInsetsGeometryTween(type$.EdgeInsetsGeometry._as(value), null); }, $signature: 162 }; A._AnimatedContainerState_forEachTween_closure5.prototype = { call$1(value) { return new A.Matrix4Tween(type$.Matrix4._as(value), null); }, $signature: 668 }; A._AnimatedContainerState_forEachTween_closure6.prototype = { call$1(value) { return new A.AlignmentGeometryTween(type$.AlignmentGeometry._as(value), null); }, $signature: 353 }; A.AnimatedPadding.prototype = { createState$0() { return new A._AnimatedPaddingState(null, B._StateLifecycle_0); } }; A._AnimatedPaddingState.prototype = { forEachTween$1(visitor) { this._implicit_animations$_padding = type$.nullable_EdgeInsetsGeometryTween._as(visitor.call$3(this._implicit_animations$_padding, this._widget.padding, new A._AnimatedPaddingState_forEachTween_closure())); }, build$1(_, context) { var t2, t1 = this._implicit_animations$_padding; t1.toString; t2 = this.get$_animation(); return new A.Padding(J.clamp$2$n(t1.transform$1(0, t2.get$value(t2)), B.EdgeInsets_0_0_0_0, B._MixedEdgeInsets_QWq), this._widget.child, null); } }; A._AnimatedPaddingState_forEachTween_closure.prototype = { call$1(value) { return new A.EdgeInsetsGeometryTween(type$.EdgeInsetsGeometry._as(value), null); }, $signature: 162 }; A.AnimatedOpacity.prototype = { createState$0() { return new A._AnimatedOpacityState(null, B._StateLifecycle_0); } }; A._AnimatedOpacityState.prototype = { forEachTween$1(visitor) { this._implicit_animations$_opacity = type$.nullable_Tween_double._as(visitor.call$3(this._implicit_animations$_opacity, this._widget.opacity, new A._AnimatedOpacityState_forEachTween_closure())); }, didUpdateTweens$0() { var t1 = this.get$_animation(), t2 = this._implicit_animations$_opacity; t2.toString; this.___AnimatedOpacityState__opacityAnimation = new A._AnimatedEvaluation(type$.Animation_double._as(t1), t2, A._instanceType(t2)._eval$1("_AnimatedEvaluation<Animatable.T>")); }, build$1(_, context) { var t1 = A._lateReadCheck(this.___AnimatedOpacityState__opacityAnimation, "_opacityAnimation"), t2 = this._widget; return A.FadeTransition$(t2.alwaysIncludeSemantics, t2.child, t1); } }; A._AnimatedOpacityState_forEachTween_closure.prototype = { call$1(value) { return new A.Tween(A._asDouble(value), null, type$.Tween_double); }, $signature: 155 }; A.AnimatedDefaultTextStyle.prototype = { createState$0() { return new A._AnimatedDefaultTextStyleState(null, B._StateLifecycle_0); } }; A._AnimatedDefaultTextStyleState.prototype = { forEachTween$1(visitor) { this._implicit_animations$_style = type$.nullable_TextStyleTween._as(visitor.call$3(this._implicit_animations$_style, this._widget.style, new A._AnimatedDefaultTextStyleState_forEachTween_closure())); }, build$1(_, context) { var t2, t3, _null = null, t1 = this._implicit_animations$_style; t1.toString; t2 = this.get$_animation(); t2 = t1.transform$1(0, t2.get$value(t2)); t1 = this._widget; t3 = t1.softWrap; return A.DefaultTextStyle$(t1.child, _null, _null, B.TextOverflow_0, t3, t2, _null, _null, B.TextWidthBasis_0); } }; A._AnimatedDefaultTextStyleState_forEachTween_closure.prototype = { call$1(value) { return new A.TextStyleTween(type$.TextStyle._as(value), null); }, $signature: 669 }; A.AnimatedPhysicalModel.prototype = { createState$0() { return new A._AnimatedPhysicalModelState(null, B._StateLifecycle_0); } }; A._AnimatedPhysicalModelState.prototype = { forEachTween$1(visitor) { var _this = this, t1 = _this._borderRadius; _this._widget.toString; _this._borderRadius = type$.nullable_BorderRadiusTween._as(visitor.call$3(t1, B.BorderRadius_tLn, new A._AnimatedPhysicalModelState_forEachTween_closure())); _this._implicit_animations$_elevation = type$.nullable_Tween_double._as(visitor.call$3(_this._implicit_animations$_elevation, _this._widget.elevation, new A._AnimatedPhysicalModelState_forEachTween_closure0())); t1 = type$.nullable_ColorTween; _this._implicit_animations$_color = t1._as(visitor.call$3(_this._implicit_animations$_color, _this._widget.color, new A._AnimatedPhysicalModelState_forEachTween_closure1())); _this._implicit_animations$_shadowColor = t1._as(visitor.call$3(_this._implicit_animations$_shadowColor, _this._widget.shadowColor, new A._AnimatedPhysicalModelState_forEachTween_closure2())); }, build$1(_, context) { var t3, t4, t5, t6, t7, _this = this, t1 = _this._widget, t2 = t1.shape; t1 = t1.clipBehavior; t3 = _this._borderRadius; t3.toString; t4 = _this.get$_animation(); t4 = t3.transform$1(0, t4.get$value(t4)); t3 = _this._implicit_animations$_elevation; t3.toString; t5 = _this.get$_animation(); t5 = t3.transform$1(0, t5.get$value(t5)); t3 = _this._widget.color; t6 = _this._implicit_animations$_shadowColor; t6.toString; t7 = _this.get$_animation(); t7 = t6.transform$1(0, t7.get$value(t7)); t7.toString; t6 = t7; return A.PhysicalModel$(t4, _this._widget.child, t1, t3, t5, t6, t2); } }; A._AnimatedPhysicalModelState_forEachTween_closure.prototype = { call$1(value) { return new A.BorderRadiusTween(type$.BorderRadius._as(value), null); }, $signature: 670 }; A._AnimatedPhysicalModelState_forEachTween_closure0.prototype = { call$1(value) { return new A.Tween(A._asDouble(value), null, type$.Tween_double); }, $signature: 155 }; A._AnimatedPhysicalModelState_forEachTween_closure1.prototype = { call$1(value) { return new A.ColorTween(type$.Color._as(value), null); }, $signature: 154 }; A._AnimatedPhysicalModelState_forEachTween_closure2.prototype = { call$1(value) { return new A.ColorTween(type$.Color._as(value), null); }, $signature: 154 }; A._ImplicitlyAnimatedWidgetState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.InheritedModel.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = A.HashMap_HashMap(null, null, null, t1, type$.nullable_Object), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A.InheritedModelElement(t2, t3, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1), A._instanceType(this)._eval$1("InheritedModelElement<InheritedModel.T>")); } }; A.InheritedModelElement.prototype = { get$widget() { return this.$ti._eval$1("InheritedModel<1>")._as(A.InheritedElement.prototype.get$widget.call(this)); }, updateDependencies$2(dependent, aspect) { var t1 = this._dependents, t2 = this.$ti, dependencies = t2._eval$1("Set<1>?")._as(t1.$index(0, dependent)); if (dependencies != null && dependencies.get$isEmpty(dependencies)) return; t1.$indexSet(0, dependent, A.HashSet_HashSet(t2._precomputed1)); }, notifyDependent$2(oldWidget, dependent) { var t1 = this.$ti, dependencies = t1._eval$1("Set<1>?")._as(this._dependents.$index(0, dependent)); if (dependencies == null) return; if (dependencies.get$isEmpty(dependencies) || t1._eval$1("InheritedModel<1>")._as(A.InheritedElement.prototype.get$widget.call(this)).updateShouldNotifyDependent$2(oldWidget, dependencies)) dependent.didChangeDependencies$0(); } }; A.InheritedNotifier.prototype = { updateShouldNotify$1(oldWidget) { return oldWidget.notifier !== this.notifier; }, createElement$0(_) { var t1 = type$.Element_2, t2 = A.HashMap_HashMap(null, null, null, t1, type$.nullable_Object), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; t1 = new A._InheritedNotifierElement(t2, t3, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1), A._instanceType(this)._eval$1("_InheritedNotifierElement<InheritedNotifier.T>")); this.notifier.addListener$1(0, t1.get$_handleUpdate()); return t1; } }; A._InheritedNotifierElement.prototype = { get$widget() { return this.$ti._eval$1("InheritedNotifier<1>")._as(A.InheritedElement.prototype.get$widget.call(this)); }, update$1(_, newWidget) { var t1, _this = this, oldNotifier = _this.$ti._eval$1("InheritedNotifier<1>")._as(A.InheritedElement.prototype.get$widget.call(_this)).notifier, newNotifier = newWidget.notifier; if (oldNotifier !== newNotifier) { t1 = _this.get$_handleUpdate(); oldNotifier.removeListener$1(0, t1); newNotifier.addListener$1(0, t1); } _this.super$ProxyElement$update(0, newWidget); }, build$0(_) { var _this = this; if (_this._inherited_notifier$_dirty) { _this.super$InheritedElement$notifyClients(_this.$ti._eval$1("InheritedNotifier<1>")._as(A.InheritedElement.prototype.get$widget.call(_this))); _this._inherited_notifier$_dirty = false; } return _this.super$ProxyElement$build(0); }, _handleUpdate$0() { this._inherited_notifier$_dirty = true; this.markNeedsBuild$0(); }, notifyClients$1(oldWidget) { this.super$InheritedElement$notifyClients(oldWidget); this._inherited_notifier$_dirty = false; }, unmount$0() { var _this = this; _this.$ti._eval$1("InheritedNotifier<1>")._as(A.InheritedElement.prototype.get$widget.call(_this)).notifier.removeListener$1(0, _this.get$_handleUpdate()); _this.super$Element$unmount(); } }; A.InheritedTheme.prototype = {}; A.InheritedTheme_capture_closure.prototype = { call$1(ancestor) { var theme, themeType, t1; if (ancestor === this.to) return false; if (ancestor instanceof A.InheritedElement && ancestor.get$widget() instanceof A.InheritedTheme) { theme = type$.InheritedTheme._as(ancestor.get$widget()); themeType = A.getRuntimeType(theme); t1 = this.themeTypes; if (!t1.contains$1(0, themeType)) { t1.add$1(0, themeType); this.themes.push(theme); } } return true; }, $signature: 37 }; A.CapturedThemes.prototype = {}; A._CaptureAll.prototype = { build$1(_, context) { var t1, t2, _i, wrappedChild = this.child; for (t1 = this.themes, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) wrappedChild = t1[_i].wrap$2(0, context, wrappedChild); return wrappedChild; } }; A.ConstrainedLayoutBuilder.prototype = { createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A._LayoutBuilderElement(t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2), A._instanceType(this)._eval$1("_LayoutBuilderElement<ConstrainedLayoutBuilder.0>")); }, get$builder() { return this.builder; } }; A._LayoutBuilderElement.prototype = { get$widget() { return this.$ti._eval$1("ConstrainedLayoutBuilder<1>")._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, visitChildren$1(visitor) { var t1 = this._layout_builder$_child; if (t1 != null) visitor.call$1(t1); }, forgetChild$1(child) { this._layout_builder$_child = null; this.super$Element$forgetChild(child); }, mount$2($parent, newSlot) { var _this = this; _this.super$RenderObjectElement$mount($parent, newSlot); _this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)).updateCallback$1(_this.get$_layout()); }, update$1(_, newWidget) { var t1, _this = this; _this.super$RenderObjectElement$update(0, newWidget); t1 = _this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>"); t1._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)).updateCallback$1(_this.get$_layout()); t1 = t1._as(A.RenderObjectElement.prototype.get$renderObject.call(_this)); t1.RenderConstrainedLayoutBuilder__needsBuild = true; t1.markNeedsLayout$0(); }, performRebuild$0() { var t1 = this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); t1.RenderConstrainedLayoutBuilder__needsBuild = true; t1.markNeedsLayout$0(); this.super$RenderObjectElement$performRebuild(); }, unmount$0() { this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).updateCallback$1(null); this.super$RenderObjectElement$unmount(); }, _layout$1(constraints) { this._owner.buildScope$2(this, new A._LayoutBuilderElement__layout_layoutCallback(this, constraints)); }, insertRenderObjectChild$2(child, slot) { this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(child); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { this.$ti._eval$1("RenderConstrainedLayoutBuilder<1,RenderObject>")._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(null); } }; A._LayoutBuilderElement__layout_layoutCallback.prototype = { call$0() { var e, stack, e0, stack0, t1, t2, exception, built0, _this = this, built = null; try { t1 = _this.$this; t2 = t1.$ti._eval$1("ConstrainedLayoutBuilder<1>"); built = t2._as(A.RenderObjectElement.prototype.get$widget.call(t1)).get$builder().call$2(t1, _this.constraints); t2._as(A.RenderObjectElement.prototype.get$widget.call(t1)); } catch (exception) { e = A.unwrapException(exception); stack = A.getTraceFromException(exception); t1 = _this.$this; built0 = A.ErrorWidget__defaultErrorWidgetBuilder(A._debugReportException0(A.ErrorDescription$("building " + t1.$ti._eval$1("ConstrainedLayoutBuilder<1>")._as(A.RenderObjectElement.prototype.get$widget.call(t1)).toString$0(0)), e, stack, new A._LayoutBuilderElement__layout_layoutCallback_closure(t1))); built = built0; } try { t1 = _this.$this; t1._layout_builder$_child = t1.updateChild$3(t1._layout_builder$_child, built, null); } catch (exception) { e0 = A.unwrapException(exception); stack0 = A.getTraceFromException(exception); t1 = _this.$this; built0 = A.ErrorWidget__defaultErrorWidgetBuilder(A._debugReportException0(A.ErrorDescription$("building " + t1.$ti._eval$1("ConstrainedLayoutBuilder<1>")._as(A.RenderObjectElement.prototype.get$widget.call(t1)).toString$0(0)), e0, stack0, new A._LayoutBuilderElement__layout_layoutCallback_closure0(t1))); built = built0; t1._layout_builder$_child = t1.updateChild$3(null, built, t1._slot); } }, $signature: 0 }; A._LayoutBuilderElement__layout_layoutCallback_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsDebugCreator$(new A.DebugCreator($async$self.$this)); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A._LayoutBuilderElement__layout_layoutCallback_closure0.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsDebugCreator$(new A.DebugCreator($async$self.$this)); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.RenderConstrainedLayoutBuilder.prototype = { updateCallback$1(value) { if (J.$eq$(value, this.RenderConstrainedLayoutBuilder__callback)) return; this.RenderConstrainedLayoutBuilder__callback = value; this.markNeedsLayout$0(); }, rebuildIfNecessary$0() { var t1, _this = this; if (_this.RenderConstrainedLayoutBuilder__needsBuild || !_this.get$constraints().$eq(0, _this.RenderConstrainedLayoutBuilder__previousConstraints)) { _this.RenderConstrainedLayoutBuilder__previousConstraints = _this.get$constraints(); _this.RenderConstrainedLayoutBuilder__needsBuild = false; t1 = _this.RenderConstrainedLayoutBuilder__callback; t1.toString; _this.invokeLayoutCallback$1$1(t1, A._instanceType(_this)._eval$1("RenderConstrainedLayoutBuilder.0")); } } }; A.LayoutBuilder.prototype = { get$builder() { return this.builder; }, createRenderObject$1(context) { var t1 = new A._RenderLayoutBuilder(null, true, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; } }; A._RenderLayoutBuilder.prototype = { computeMinIntrinsicWidth$1(height) { return 0; }, computeMaxIntrinsicWidth$1(height) { return 0; }, computeMinIntrinsicHeight$1(width) { return 0; }, computeMaxIntrinsicHeight$1(width) { return 0; }, computeDryLayout$1(constraints) { return B.Size_0_0; }, performLayout$0() { var t1, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this.rebuildIfNecessary$0(); t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1.layout$2$parentUsesSize(0, constraints, true); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; _this._size = constraints.constrain$1(t1); } else _this._size = new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, computeDistanceToActualBaseline$1(baseline) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1.getDistanceToActualBaseline$1(baseline); return this.super$RenderBox$computeDistanceToActualBaseline(baseline); }, hitTestChildren$2$position(result, position) { var t1 = this.RenderObjectWithChildMixin__child; t1 = t1 == null ? null : t1.hitTest$2$position(result, position); return t1 === true; }, paint$2(context, offset) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); } }; A.__RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.__RenderLayoutBuilder_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder.prototype = {}; A._Pending.prototype = {}; A._loadAll_closure.prototype = { call$1(value) { return this._box_0.completedValue = value; }, $signature: 44 }; A._loadAll_closure0.prototype = { call$1(p) { return p.futureValue; }, $signature: 671 }; A._loadAll_closure1.prototype = { call$1(values) { var t1, t2, t3, i; for (t1 = J.getInterceptor$asx(values), t2 = this._box_1, t3 = this.output, i = 0; i < t1.get$length(values); ++i) t3.$indexSet(0, A.createRuntimeType(A._instanceType(t2.pendingList[i].delegate)._eval$1("LocalizationsDelegate.T")), t1.$index(values, i)); return t3; }, $signature: 672 }; A.LocalizationsDelegate.prototype = { toString$0(_) { return "LocalizationsDelegate[" + A.createRuntimeType(A._instanceType(this)._eval$1("LocalizationsDelegate.T")).toString$0(0) + "]"; } }; A._WidgetsLocalizationsDelegate.prototype = { isSupported$1(locale) { return true; }, load$1(_, locale) { return new A.SynchronousFuture(B.C_DefaultWidgetsLocalizations, type$.SynchronousFuture_WidgetsLocalizations); }, shouldReload$1(old) { return false; }, toString$0(_) { return "DefaultWidgetsLocalizations.delegate(en_US)"; } }; A.DefaultWidgetsLocalizations.prototype = {$isWidgetsLocalizations: 1}; A._LocalizationsScope.prototype = { updateShouldNotify$1(old) { return this.typeToResources !== old.typeToResources; } }; A.Localizations.prototype = { createState$0() { return new A._LocalizationsState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.dynamic), B._StateLifecycle_0); } }; A._LocalizationsState.prototype = { initState$0() { this.super$State$initState(); this.load$1(0, this._widget.locale); }, _anyDelegatesShouldReload$1(old) { var delegates, oldDelegates, i, delegate, oldDelegate, rti, t1 = this._widget.delegates, t2 = old.delegates; if (t1.length !== t2.length) return true; delegates = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1)); oldDelegates = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2)); for (i = 0; i < delegates.length; ++i) { delegate = delegates[i]; oldDelegate = oldDelegates[i]; rti = delegate instanceof A.Closure ? A.closureFunctionType(delegate) : null; t1 = A.createRuntimeType(rti == null ? A.instanceType(delegate) : rti); rti = oldDelegate instanceof A.Closure ? A.closureFunctionType(oldDelegate) : null; if (t1 === A.createRuntimeType(rti == null ? A.instanceType(oldDelegate) : rti)) { delegate.shouldReload$1(oldDelegate); t1 = false; } else t1 = true; if (t1) return true; } return false; }, didUpdateWidget$1(old) { var t1, _this = this; _this.super$State$didUpdateWidget(old); if (_this._widget.locale.$eq(0, old.locale)) { _this._widget.toString; t1 = _this._anyDelegatesShouldReload$1(old); } else t1 = true; if (t1) _this.load$1(0, _this._widget.locale); }, load$1(_, locale) { var typeToResourcesFuture, _this = this, t1 = {}, delegates = _this._widget.delegates, t2 = delegates.length; if (t2 === 0) { _this._localizations$_locale = locale; return; } t1.typeToResources = null; typeToResourcesFuture = A._loadAll(locale, delegates).then$1$1(0, new A._LocalizationsState_load_closure(t1), type$.Map_Type_dynamic); t1 = t1.typeToResources; if (t1 != null) { _this._typeToResources = t1; _this._localizations$_locale = locale; } else { ++$.RendererBinding__instance.RendererBinding__firstFrameDeferredCount; typeToResourcesFuture.then$1$1(0, new A._LocalizationsState_load_closure0(_this, locale), type$.void); } }, get$_localizations$_textDirection() { type$.WidgetsLocalizations._as(J.$index$asx(this._typeToResources, B.Type_WidgetsLocalizations_43h)); return B.TextDirection_1; }, build$1(_, context) { var t1, t2, t3, _this = this, _null = null; if (_this._localizations$_locale == null) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t1 = _this.get$_localizations$_textDirection(); _this._localizations$_locale.toString; t2 = _this._typeToResources; t3 = _this.get$_localizations$_textDirection(); t3 = A.Directionality$(_this._widget.child, t3); 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, t1, _null, _null, _null), false, false, false, new A._LocalizationsScope(_this, t2, t3, _this._localizedResourcesScopeKey), _null); } }; A._LocalizationsState_load_closure.prototype = { call$1(value) { return this._box_0.typeToResources = value; }, $signature: 673 }; A._LocalizationsState_load_closure0.prototype = { call$1(value) { var t1 = this.$this; if (t1._framework$_element != null) t1.setState$1(new A._LocalizationsState_load__closure(t1, value, this.locale)); $.RendererBinding__instance.allowFirstFrame$0(); }, $signature: 674 }; A._LocalizationsState_load__closure.prototype = { call$0() { var t1 = this.$this; t1._typeToResources = this.value; t1._localizations$_locale = this.locale; }, $signature: 0 }; A.Orientation.prototype = { toString$0(_) { return "Orientation." + this._core$_name; } }; A.MediaQueryData.prototype = { get$orientation(_) { var t1 = this.size; return t1._dx > t1._dy ? B.Orientation_1 : B.Orientation_0; }, copyWith$7$devicePixelRatio$padding$platformBrightness$size$textScaleFactor$viewInsets$viewPadding(devicePixelRatio, padding, platformBrightness, size, textScaleFactor, viewInsets, viewPadding) { var _this = this, t1 = size == null ? _this.size : size, t2 = devicePixelRatio == null ? _this.devicePixelRatio : devicePixelRatio, t3 = textScaleFactor == null ? _this.textScaleFactor : textScaleFactor, t4 = padding == null ? _this.padding : padding, t5 = viewPadding == null ? _this.viewPadding : viewPadding, t6 = viewInsets == null ? _this.viewInsets : viewInsets; return A.MediaQueryData$(_this.accessibleNavigation, false, _this.boldText, t2, _this.disableAnimations, _this.gestureSettings, _this.highContrast, _this.invertColors, _this.navigationMode, t4, _this.platformBrightness, t1, _this.systemGestureInsets, t3, t6, t5); }, copyWith$1$platformBrightness(platformBrightness) { return this.copyWith$7$devicePixelRatio$padding$platformBrightness$size$textScaleFactor$viewInsets$viewPadding(null, null, platformBrightness, null, null, null, null); }, copyWith$1$padding(padding) { return this.copyWith$7$devicePixelRatio$padding$platformBrightness$size$textScaleFactor$viewInsets$viewPadding(null, padding, null, null, null, null, null); }, copyWith$5$devicePixelRatio$padding$size$viewInsets$viewPadding(devicePixelRatio, padding, size, viewInsets, viewPadding) { return this.copyWith$7$devicePixelRatio$padding$platformBrightness$size$textScaleFactor$viewInsets$viewPadding(devicePixelRatio, padding, null, size, null, viewInsets, viewPadding); }, copyWith$1$textScaleFactor(textScaleFactor) { return this.copyWith$7$devicePixelRatio$padding$platformBrightness$size$textScaleFactor$viewInsets$viewPadding(null, null, null, null, textScaleFactor, null, null); }, removePadding$4$removeBottom$removeLeft$removeRight$removeTop(removeBottom, removeLeft, removeRight, removeTop) { var t1, t2, t3, t4, t5, t6, _this = this, _null = null; if (!(removeLeft || removeTop || removeRight || removeBottom)) return _this; t1 = _this.padding; t2 = removeLeft ? 0 : _null; t3 = removeTop ? 0 : _null; t4 = removeRight ? 0 : _null; t2 = t1.copyWith$4$bottom$left$right$top(removeBottom ? 0 : _null, t2, t4, t3); t3 = _this.viewPadding; t4 = removeLeft ? Math.max(0, t3.left - t1.left) : _null; t5 = removeTop ? Math.max(0, t3.top - t1.top) : _null; t6 = removeRight ? Math.max(0, t3.right - t1.right) : _null; return A.MediaQueryData$(_this.accessibleNavigation, false, _this.boldText, _this.devicePixelRatio, _this.disableAnimations, _this.gestureSettings, _this.highContrast, _this.invertColors, B.NavigationMode_0, t2, _this.platformBrightness, _this.size, B.EdgeInsets_0_0_0_0, _this.textScaleFactor, _this.viewInsets, t3.copyWith$4$bottom$left$right$top(removeBottom ? Math.max(0, t3.bottom - t1.bottom) : _null, t4, t6, t5)); }, removeViewInsets$4$removeBottom$removeLeft$removeRight$removeTop(removeBottom, removeLeft, removeRight, removeTop) { var t1, t2, t3, t4, t5, t6, _this = this, _null = null; if (!removeLeft) !removeTop; t1 = _this.viewPadding; t2 = removeLeft ? Math.max(0, t1.left - _this.viewInsets.left) : _null; t3 = removeTop ? Math.max(0, t1.top - _this.viewInsets.top) : _null; t4 = removeRight ? Math.max(0, t1.right - _this.viewInsets.right) : _null; t5 = _this.viewInsets; t6 = Math.max(0, t1.bottom - t5.bottom); t1 = t1.copyWith$4$bottom$left$right$top(t6, t2, t4, t3); t2 = removeLeft ? 0 : _null; t3 = removeTop ? 0 : _null; t4 = removeRight ? 0 : _null; return A.MediaQueryData$(_this.accessibleNavigation, false, _this.boldText, _this.devicePixelRatio, _this.disableAnimations, _this.gestureSettings, _this.highContrast, _this.invertColors, B.NavigationMode_0, _this.padding, _this.platformBrightness, _this.size, B.EdgeInsets_0_0_0_0, _this.textScaleFactor, t5.copyWith$4$bottom$left$right$top(0, t2, t4, t3), t1); }, removeViewInsets$1$removeBottom(removeBottom) { return this.removeViewInsets$4$removeBottom$removeLeft$removeRight$removeTop(removeBottom, false, false, false); }, $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.MediaQueryData) if (other.size.$eq(0, _this.size)) if (other.devicePixelRatio === _this.devicePixelRatio) if (other.textScaleFactor === _this.textScaleFactor) if (other.platformBrightness === _this.platformBrightness) if (other.padding.$eq(0, _this.padding)) if (other.viewPadding.$eq(0, _this.viewPadding)) if (other.viewInsets.$eq(0, _this.viewInsets)) t1 = other.highContrast === _this.highContrast && other.disableAnimations === _this.disableAnimations && other.invertColors === _this.invertColors && other.accessibleNavigation === _this.accessibleNavigation && other.boldText === _this.boldText && other.navigationMode === _this.navigationMode && other.gestureSettings.$eq(0, _this.gestureSettings); 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.size, _this.devicePixelRatio, _this.textScaleFactor, _this.platformBrightness, _this.padding, _this.viewPadding, _this.viewInsets, false, _this.highContrast, _this.disableAnimations, _this.invertColors, _this.accessibleNavigation, _this.boldText, _this.navigationMode, _this.gestureSettings, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return "MediaQueryData(" + B.JSArray_methods.join$1(A._setArrayType(["size: " + _this.size.toString$0(0), "devicePixelRatio: " + B.JSNumber_methods.toStringAsFixed$1(_this.devicePixelRatio, 1), "textScaleFactor: " + B.JSNumber_methods.toStringAsFixed$1(_this.textScaleFactor, 1), "platformBrightness: " + _this.platformBrightness.toString$0(0), "padding: " + _this.padding.toString$0(0), "viewPadding: " + _this.viewPadding.toString$0(0), "viewInsets: " + _this.viewInsets.toString$0(0), "alwaysUse24HourFormat: false", "accessibleNavigation: " + _this.accessibleNavigation, "highContrast: " + _this.highContrast, "disableAnimations: " + _this.disableAnimations, "invertColors: " + _this.invertColors, "boldText: " + _this.boldText, "navigationMode: " + A.describeEnum(_this.navigationMode), "gestureSettings: " + _this.gestureSettings.toString$0(0)], type$.JSArray_String), ", ") + ")"; } }; A.MediaQuery.prototype = { updateShouldNotify$1(oldWidget) { return !this.data.$eq(0, oldWidget.data); }, get$data(receiver) { return this.data; } }; A.NavigationMode.prototype = { toString$0(_) { return "NavigationMode." + this._core$_name; } }; A._MediaQueryFromWindow.prototype = { createState$0() { return new A._MediaQueryFromWindowState(B._StateLifecycle_0); } }; A._MediaQueryFromWindowState.prototype = { initState$0() { this.super$State$initState(); $.WidgetsBinding__instance.WidgetsBinding__observers.push(this); }, didChangeMetrics$0() { this.setState$1(new A._MediaQueryFromWindowState_didChangeMetrics_closure()); }, didChangePlatformBrightness$0() { this.setState$1(new A._MediaQueryFromWindowState_didChangePlatformBrightness_closure()); }, build$1(_, context) { var data; $.WidgetsBinding__instance.toString; data = A.MediaQueryData$fromWindow($.$get$window()).copyWith$1$platformBrightness($.debugBrightnessOverride); return new A.MediaQuery(data, this._widget.child, null); }, dispose$0(_) { B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, this); this.super$State$dispose(0); } }; A._MediaQueryFromWindowState_didChangeMetrics_closure.prototype = { call$0() { }, $signature: 0 }; A._MediaQueryFromWindowState_didChangePlatformBrightness_closure.prototype = { call$0() { }, $signature: 0 }; A.__MediaQueryFromWindowState_State_WidgetsBindingObserver.prototype = {}; A.ModalBarrier.prototype = { build$1(_, context) { var platformSupportsDismissingBarrier, semanticsDismissible, t1, t2, t3, t4, t5, t6, _this = this, _null = null; switch (A.defaultTargetPlatform().index) { case 0: case 1: case 3: case 5: platformSupportsDismissingBarrier = false; break; case 2: case 4: platformSupportsDismissingBarrier = true; break; default: platformSupportsDismissingBarrier = _null; } semanticsDismissible = _this.dismissible && platformSupportsDismissingBarrier; t1 = new A.ModalBarrier_build_handleDismiss(context); t2 = !semanticsDismissible || !_this.barrierSemanticsDismissible; t3 = semanticsDismissible ? _this.semanticsLabel : _null; t4 = semanticsDismissible ? t1 : _null; if (semanticsDismissible && _this.semanticsLabel != null) { t5 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t5.toString; t5 = t5.textDirection; } else t5 = _null; t6 = _this.color; t6 = A.MouseRegion$(new A.ConstrainedBox(B.BoxConstraints_ALM, t6 == null ? _null : new A.ColoredBox(t6, _null, _null), _null), B.SystemMouseCursor_basic, _null, _null, _null, _null); return A.BlockSemantics$(new A.ExcludeSemantics(t2, new A._ModalBarrierGestureDetector(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, t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t5, _null, _null, _null), false, false, false, t6, _null), new A.ModalBarrier_build_closure(_this, t1), _null), _null)); } }; A.ModalBarrier_build_handleDismiss.prototype = { call$0() { A.Navigator_maybePop(this.context); }, $signature: 0 }; A.ModalBarrier_build_closure.prototype = { call$0() { if (this.$this.dismissible) this.handleDismiss.call$0(); else A.SystemSound_play(B.SystemSoundType_1); }, $signature: 0 }; A.AnimatedModalBarrier.prototype = { build$1(_, context) { var _this = this, t1 = type$.Animation_nullable_Color._as(_this.listenable); return new A.ModalBarrier(t1.get$value(t1), _this.dismissible, _this.barrierSemanticsDismissible, _this.semanticsLabel, null); } }; A._AnyTapGestureRecognizer.prototype = { isPointerAllowed$1($event) { if (this.onAnyTapUp == null) return false; return this.super$GestureRecognizer$isPointerAllowed($event); }, handleTapDown$1$down(down) { }, handleTapUp$2$down$up(down, up) { var t1 = this.onAnyTapUp; if (t1 != null) t1.call$0(); }, handleTapCancel$3$cancel$down$reason(cancel, down, reason) { } }; A._ModalBarrierSemanticsDelegate.prototype = { assignSemantics$1(renderObject) { renderObject.set$onTap(this.onDismiss); } }; A._AnyTapGestureRecognizerFactory.prototype = { constructor$0(_) { var t1 = type$.int, t2 = A.HashSet_HashSet(t1); return new A._AnyTapGestureRecognizer(B.Duration_100000, 18, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.GestureArenaEntry), t2, null, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind)); }, initializer$1(instance) { instance.onAnyTapUp = this.onAnyTapUp; } }; A._ModalBarrierGestureDetector.prototype = { build$1(_, context) { var t1 = this.onDismiss; return new A.RawGestureDetector(this.child, A.LinkedHashMap_LinkedHashMap$_literal([B.Type__AnyTapGestureRecognizer_5RQ, new A._AnyTapGestureRecognizerFactory(t1)], type$.Type, type$.GestureRecognizerFactory_GestureRecognizer), B.HitTestBehavior_1, false, new A._ModalBarrierSemanticsDelegate(t1), null); } }; A.NavigationToolbar.prototype = { build$1(_, context) { var t2, t3, _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t2 = A._setArrayType([], type$.JSArray_Widget); t3 = _this.leading; if (t3 != null) t2.push(A.LayoutId$(t3, B._ToolbarSlot_0)); t3 = _this.middle; if (t3 != null) t2.push(A.LayoutId$(t3, B._ToolbarSlot_1)); t3 = _this.trailing; if (t3 != null) t2.push(A.LayoutId$(t3, B._ToolbarSlot_2)); return new A.CustomMultiChildLayout(new A._ToolbarLayout(_this.centerMiddle, _this.middleSpacing, t1.textDirection), t2, null); } }; A._ToolbarSlot.prototype = { toString$0(_) { return "_ToolbarSlot." + this._core$_name; } }; A._ToolbarLayout.prototype = { performLayout$1(size) { var t1, t2, leadingWidth, leadingX, trailingSize, trailingX, trailingWidth, maxWidth, middleSize, middleStartMargin, middleStart, t3, middleX, _this = this; if (_this._idToChild.$index(0, B._ToolbarSlot_0) != null) { t1 = size._dx; t2 = size._dy; leadingWidth = _this.layoutChild$2(B._ToolbarSlot_0, new A.BoxConstraints(0, t1 / 3, t2, t2))._dx; switch (_this.textDirection.index) { case 0: leadingX = t1 - leadingWidth; break; case 1: leadingX = 0; break; default: leadingX = null; } _this.positionChild$2(B._ToolbarSlot_0, new A.Offset(leadingX, 0)); } else leadingWidth = 0; if (_this._idToChild.$index(0, B._ToolbarSlot_2) != null) { trailingSize = _this.layoutChild$2(B._ToolbarSlot_2, A.BoxConstraints$loose(size)); switch (_this.textDirection.index) { case 0: trailingX = 0; break; case 1: trailingX = size._dx - trailingSize._dx; break; default: trailingX = null; } trailingWidth = trailingSize._dx; _this.positionChild$2(B._ToolbarSlot_2, new A.Offset(trailingX, (size._dy - trailingSize._dy) / 2)); } else trailingWidth = 0; if (_this._idToChild.$index(0, B._ToolbarSlot_1) != null) { t1 = size._dx; t2 = _this.middleSpacing; maxWidth = Math.max(t1 - leadingWidth - trailingWidth - t2 * 2, 0); middleSize = _this.layoutChild$2(B._ToolbarSlot_1, A.BoxConstraints$loose(size).copyWith$1$maxWidth(maxWidth)); middleStartMargin = leadingWidth + t2; if (_this.centerMiddle) { t2 = middleSize._dx; middleStart = (t1 - t2) / 2; t3 = t1 - trailingWidth; if (middleStart + t2 > t3) middleStart = t3 - t2; else if (middleStart < middleStartMargin) middleStart = middleStartMargin; } else middleStart = middleStartMargin; switch (_this.textDirection.index) { case 0: middleX = t1 - middleSize._dx - middleStart; break; case 1: middleX = middleStart; break; default: middleX = null; } _this.positionChild$2(B._ToolbarSlot_1, new A.Offset(middleX, (size._dy - middleSize._dy) / 2)); } }, shouldRelayout$1(oldDelegate) { return oldDelegate.centerMiddle !== this.centerMiddle || oldDelegate.middleSpacing !== this.middleSpacing || oldDelegate.textDirection !== this.textDirection; } }; A.RoutePopDisposition.prototype = { toString$0(_) { return "RoutePopDisposition." + this._core$_name; } }; A.Route.prototype = { get$overlayEntries() { return B.List_empty7; }, install$0() { }, didPush$0() { var t1 = A.TickerFuture$complete(); t1.then$1$1(0, new A.Route_didPush_closure(this), type$.void); return t1; }, didAdd$0() { var t1 = this._navigator$_navigator; if (t1 == null) t1 = null; else { t1._widget.toString; t1 = true; } if (t1 === true) A.TickerFuture$complete().then$1$1(0, new A.Route_didAdd_closure(this), type$.void); }, didReplace$1(oldRoute) { }, willPop$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.RoutePopDisposition), $async$returnValue, $async$self = this; var $async$willPop$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$isFirst() ? B.RoutePopDisposition_2 : B.RoutePopDisposition_0; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$willPop$0, $async$completer); }, get$willHandlePopInternally() { return false; }, didPop$1(result) { this.didComplete$1(result); return true; }, didComplete$1(result) { var t1 = result == null ? null : result; this._popCompleter.complete$1(0, t1); }, didPopNext$1(nextRoute) { }, didChangeNext$1(nextRoute) { }, didChangePrevious$1(previousRoute) { }, changedInternalState$0() { }, changedExternalState$0() { }, dispose$0(_) { this._navigator$_navigator = null; }, get$isCurrent() { var currentRouteEntry, t1 = this._navigator$_navigator; if (t1 == null) return false; t1 = t1._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); currentRouteEntry = t1.lastWhere$2$orElse(t1, new A.Route_isCurrent_closure(), new A.Route_isCurrent_closure0()); if (currentRouteEntry == null) return false; return currentRouteEntry.route === this; }, get$isFirst() { var currentRouteEntry, t1 = this._navigator$_navigator; if (t1 == null) return false; t1 = t1._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); currentRouteEntry = t1.firstWhere$2$orElse(t1, new A.Route_isFirst_closure(), new A.Route_isFirst_closure0()); if (currentRouteEntry == null) return false; return currentRouteEntry.route === this; }, get$hasActiveRouteBelow() { var t2, _i, entry, t3, t1 = this._navigator$_navigator; if (t1 == null) return false; for (t1 = t1._history, t2 = t1.length, _i = 0; _i < t2; ++_i) { entry = t1[_i]; if (entry.route === this) return false; t3 = entry.currentState.index; if (t3 <= 9 && t3 >= 1) return true; } return false; }, get$isActive() { var t1 = this._navigator$_navigator; if (t1 == null) return false; t1 = t1._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); t1 = t1.firstWhere$2$orElse(t1, new A.Route_isActive_closure(this), new A.Route_isActive_closure0()); return (t1 == null ? null : t1.get$isPresent()) === true; } }; A.Route_didPush_closure.prototype = { call$1(_) { var t2, t1 = this.$this._navigator$_navigator; if (t1 == null) t2 = null; else { t1._widget.toString; t2 = true; } if (t2 === true) t1.focusScopeNode.requestFocus$0(); }, $signature: 27 }; A.Route_didAdd_closure.prototype = { call$1(_) { var t1 = this.$this._navigator$_navigator; if (t1 != null) t1.focusScopeNode.requestFocus$0(); }, $signature: 27 }; A.Route_isCurrent_closure.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.Route_isCurrent_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.Route_isFirst_closure.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.Route_isFirst_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.Route_isActive_closure.prototype = { call$1(e) { return e != null && A._RouteEntry_isRoutePredicate(this.$this).call$1(e); }, $signature: 67 }; A.Route_isActive_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.RouteSettings.prototype = { toString$0(_) { return 'RouteSettings("' + A.S(this.name) + '", ' + A.S(this.$arguments) + ")"; }, get$name(receiver) { return this.name; } }; A.NavigatorObserver.prototype = {}; A.HeroControllerScope.prototype = { updateShouldNotify$1(oldWidget) { return oldWidget.controller != this.controller; } }; A.RouteTransitionRecord.prototype = {}; A.TransitionDelegate.prototype = {}; A.DefaultTransitionDelegate.prototype = {}; A.Navigator.prototype = { createState$0() { var _null = null, t1 = type$.nullable_void_Function, t2 = type$._NavigatorObservation; return new A.NavigatorState(A._setArrayType([], type$.JSArray__RouteEntry), new A._HistoryProperty(A.List_List$filled(0, _null, false, t1)), A.ListQueue$(_null, t2), A.ListQueue$(_null, t2), A.FocusScopeNode$(true, "Navigator Scope", false), new A.RestorableNum(0, A.List_List$filled(0, _null, false, t1), type$.RestorableNum_int), new A.ValueNotifier(false, A.List_List$filled(0, _null, false, t1), type$.ValueNotifier_bool), A.LinkedHashSet_LinkedHashSet$_empty(type$.int), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, _null, B._StateLifecycle_0); }, onGenerateInitialRoutes$2(arg0, arg1) { return this.onGenerateInitialRoutes.call$2(arg0, arg1); } }; A.Navigator_defaultGenerateInitialRoutes_closure.prototype = { call$1(route) { return route == null; }, $signature: 676 }; A._RouteLifecycle.prototype = { toString$0(_) { return "_RouteLifecycle." + this._core$_name; } }; A._NotAnnounced.prototype = {}; A._RouteEntry.prototype = { get$restorationId() { var t1 = this.restorationInformation; if (t1 != null) return "r+" + t1.get$restorationScopeId(); return null; }, handlePush$4$isNewFirst$navigator$previous$previousPresent(isNewFirst, $navigator, previous, previousPresent) { var t2, routeFuture, t3, _this = this, previousState = _this.currentState, t1 = _this.route; t1._navigator$_navigator = $navigator; t1.install$0(); t2 = _this.currentState; if (t2 === B._RouteLifecycle_3 || t2 === B._RouteLifecycle_4) { routeFuture = t1.didPush$0(); _this.currentState = B._RouteLifecycle_5; routeFuture.whenCompleteOrCancel$1(new A._RouteEntry_handlePush_closure(_this, $navigator)); } else { t1.didReplace$1(previous); _this.currentState = B._RouteLifecycle_7; } if (isNewFirst) t1.didChangeNext$1(null); t2 = previousState === B._RouteLifecycle_6 || previousState === B._RouteLifecycle_4; t3 = $navigator._observedRouteAdditions; if (t2) t3._add$1(0, new A._NavigatorReplaceObservation(t1, previousPresent)); else t3._add$1(0, new A._NavigatorPushObservation(t1, previousPresent)); }, pop$1$1(_, result) { var _this = this; _this.doingPop = true; if (_this.route.didPop$1(result) && _this.doingPop) _this.currentState = B._RouteLifecycle_8; _this.doingPop = false; }, pop$1($receiver, result) { return this.pop$1$1($receiver, result, type$.dynamic); }, remove$0(_) { if (this.currentState.index >= 9) return; this._reportRemovalToObserver = true; this.currentState = B._RouteLifecycle_9; }, complete$1$2$isReplaced(_, result, isReplaced) { var _this = this; if (_this.currentState.index >= 9) return; _this._reportRemovalToObserver = !isReplaced; _this.route.didComplete$1(result); _this.currentState = B._RouteLifecycle_9; }, complete$2$isReplaced($receiver, result, isReplaced) { return this.complete$1$2$isReplaced($receiver, result, isReplaced, type$.dynamic); }, dispose$0(_) { var t1, t2, t3, t4, mountedEntries, listener, _box_0 = {}; this.currentState = B._RouteLifecycle_13; t1 = this.route; t2 = t1.get$overlayEntries(); t3 = new A._RouteEntry_dispose_closure(); t4 = A._arrayInstanceType(t2); mountedEntries = new A.WhereIterable(t2, t3, t4._eval$1("WhereIterable<1>")); if (!mountedEntries.get$iterator(mountedEntries).moveNext$0()) t1.dispose$0(0); else { _box_0.mounted = mountedEntries.get$length(mountedEntries); for (t1 = B.JSArray_methods.get$iterator(t2), t4 = new A.WhereIterator(t1, t3, t4._eval$1("WhereIterator<1>")); t4.moveNext$0();) { t2 = t1.get$current(t1); listener = A._Cell$named("listener"); t3 = new A._RouteEntry_dispose_closure0(_box_0, this, t2, listener); listener.__late_helper$_value = t3; t2.addListener$1(0, t3); } } }, get$isPresent() { var t1 = this.currentState.index; return t1 <= 9 && t1 >= 1; } }; A._RouteEntry_handlePush_closure.prototype = { call$0() { var t1 = this.$this; if (t1.currentState === B._RouteLifecycle_5) { t1.currentState = B._RouteLifecycle_7; this.navigator._flushHistoryUpdates$0(); } }, $signature: 0 }; A._RouteEntry_dispose_closure.prototype = { call$1(e) { return e._mounted; }, $signature: 677 }; A._RouteEntry_dispose_closure0.prototype = { call$0() { var _this = this, t1 = _this._box_0; --t1.mounted; _this.entry.removeListener$1(0, _this.listener._readLocal$0()); if (t1.mounted === 0) _this.$this.route.dispose$0(0); }, $signature: 0 }; A._RouteEntry_isRoutePredicate_closure.prototype = { call$1(entry) { return entry.route === this.route; }, $signature: 120 }; A._NavigatorObservation.prototype = {}; A._NavigatorPushObservation.prototype = { notify$1(observer) { observer._maybeStartHeroTransition$4(this.secondaryRoute, this.primaryRoute, B.HeroFlightDirection_0, false); } }; A._NavigatorPopObservation.prototype = { notify$1(observer) { if (!observer._navigator$_navigator.userGestureInProgressNotifier._change_notifier$_value) observer._maybeStartHeroTransition$4(this.primaryRoute, this.secondaryRoute, B.HeroFlightDirection_1, false); } }; A._NavigatorRemoveObservation.prototype = { notify$1(observer) { } }; A._NavigatorReplaceObservation.prototype = { notify$1(observer) { var t1 = this.primaryRoute, t2 = t1.get$isCurrent(); if (t2) observer._maybeStartHeroTransition$4(this.secondaryRoute, t1, B.HeroFlightDirection_0, false); } }; A.NavigatorState.prototype = { initState$0() { var t1, _i, _this = this; _this.super$State$initState(); for (t1 = _this._widget.observers, _i = 0; false; ++_i) t1[_i]._navigator$_navigator = _this; _this.__NavigatorState__effectiveObservers = _this._widget.observers; t1 = _this._framework$_element.getElementForInheritedWidgetOfExactType$1$0(type$.HeroControllerScope); t1 = t1 == null ? null : t1.get$widget(); type$.nullable_HeroControllerScope._as(t1); _this._updateHeroController$1(t1 == null ? null : t1.controller); _this._widget.toString; B.OptionalMethodChannel_qNA.invokeMethod$1$1("selectSingleEntryHistory", type$.void); }, restoreState$2(oldBucket, initialRestore) { var t1, t2, _i, page, t3, entry, initialRoute, _this = this; _this.registerForRestoration$2(_this._rawNextPagelessRestorationScopeId, "id"); t1 = _this._serializableHistory; _this.registerForRestoration$2(t1, "history"); for (; t2 = _this._history, t2.length !== 0;) J.dispose$0$x(t2.pop()); _this.__NavigatorState__overlayKey = new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_OverlayState); B.JSArray_methods.addAll$1(t2, t1.restoreEntriesForPage$2(null, _this)); _this._widget.toString; _i = 0; for (; false; ++_i) { page = B.List_empty5[_i]; t2 = _this._framework$_element; t2.toString; t2 = page.createRoute$1(t2); t3 = $.$get$_RouteEntry_notAnnounced(); entry = new A._RouteEntry(t2, null, B._RouteLifecycle_1, t3, t3, t3); _this._history.push(entry); B.JSArray_methods.addAll$1(_this._history, t1.restoreEntriesForPage$2(entry, _this)); } if (t1._pageToPagelessRoutes == null) { t1 = _this._widget; initialRoute = t1.initialRoute; t2 = _this._history; B.JSArray_methods.addAll$1(t2, J.map$1$1$ax(t1.onGenerateInitialRoutes$2(_this, initialRoute), new A.NavigatorState_restoreState_closure(_this), type$._RouteEntry)); } _this._flushHistoryUpdates$0(); }, didToggleBucket$1(oldBucket) { var t1, _this = this; _this.super$RestorationMixin$didToggleBucket(oldBucket); t1 = _this._serializableHistory; if (_this.RestorationMixin__bucket != null) t1.update$1(0, _this._history); else t1.clear$0(0); }, get$restorationId() { return this._widget.restorationScopeId; }, didChangeDependencies$0() { var host, t1, t2, _i, _this = this; _this.super$_NavigatorState_State_TickerProviderStateMixin_RestorationMixin$didChangeDependencies(); host = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.HeroControllerScope); _this._updateHeroController$1(host == null ? null : host.controller); for (t1 = _this._history, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].route.changedExternalState$0(); }, _updateHeroController$1(newHeroController) { var t2, _this = this, t1 = _this._heroControllerFromScope; if (t1 != newHeroController) { if (newHeroController != null) newHeroController._navigator$_navigator = _this; t2 = t1 == null; if ((t2 ? null : t1._navigator$_navigator) === _this) if (!t2) t1._navigator$_navigator = null; _this._heroControllerFromScope = newHeroController; _this._updateEffectiveObservers$0(); } }, _updateEffectiveObservers$0() { var _this = this, t1 = _this._heroControllerFromScope, t2 = _this._widget; if (t1 != null) _this.__NavigatorState__effectiveObservers = B.JSArray_methods.$add(t2.observers, A._setArrayType([t1], type$.JSArray_NavigatorObserver)); else _this.__NavigatorState__effectiveObservers = t2.observers; }, didUpdateWidget$1(oldWidget) { var t1, _i, t2, _this = this; _this.super$_NavigatorState_State_TickerProviderStateMixin_RestorationMixin$didUpdateWidget(oldWidget); t1 = oldWidget.observers; if (t1 !== _this._widget.observers) { for (_i = 0; false; ++_i) t1[_i]._navigator$_navigator = null; for (t1 = _this._widget.observers, _i = 0; false; ++_i) t1[_i]._navigator$_navigator = _this; _this._updateEffectiveObservers$0(); } _this._widget.toString; for (t1 = _this._history, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].route.changedExternalState$0(); }, deactivate$0() { var t1, t2, _i; for (t1 = A._lateReadCheck(this.__NavigatorState__effectiveObservers, "_effectiveObservers"), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._navigator$_navigator = null; this.super$State$deactivate(); }, activate$0() { var t1, t2, _i; this.super$State$activate(); for (t1 = A._lateReadCheck(this.__NavigatorState__effectiveObservers, "_effectiveObservers"), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i]._navigator$_navigator = this; }, dispose$0(_) { var t1, t2, _i, _this = this; _this._updateHeroController$1(null); _this.focusScopeNode.dispose$0(0); for (t1 = _this._history, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) J.dispose$0$x(t1[_i]); _this.super$_NavigatorState_State_TickerProviderStateMixin_RestorationMixin$dispose(0); }, get$_allRouteOverlayEntries() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i; return function $async$get$_allRouteOverlayEntries($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._history, t2 = t1.length, _i = 0; case 2: // for condition if (!(_i < t1.length)) { // goto after for $async$goto = 4; break; } $async$goto = 5; return A._IterationMarker_yieldStar(t1[_i].route.get$overlayEntries()); case 5: // after yield case 3: // for update t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.OverlayEntry); }, _flushHistoryUpdates$1$rearrangeOverlay(rearrangeOverlay) { var t2, poppedRoute, next, canRemoveOrAdd, seenTopActiveRoute, index0, t3, t4, previous0, lastEntry, routeName, _i, _i0, _this = this, _null = null, t1 = _this._history, index = t1.length - 1, entry = t1[index], previous = index > 0 ? t1[index - 1] : _null, toBeDisposed = A._setArrayType([], type$.JSArray__RouteEntry); for (t1 = _this._observedRouteDeletions, t2 = _this._observedRouteAdditions, poppedRoute = _null, next = poppedRoute, canRemoveOrAdd = false, seenTopActiveRoute = false; index >= 0;) { switch (entry.currentState.index) { case 1: index0 = _this._getIndexBefore$2(index - 1, A.navigator__RouteEntry_isPresentPredicate$closure()); t3 = index0 >= 0 ? _this._history[index0] : _null; t3 = t3 == null ? _null : t3.route; t4 = entry.route; t4._navigator$_navigator = _this; t4.install$0(); entry.currentState = B._RouteLifecycle_2; t2._add$1(0, new A._NavigatorPushObservation(t4, t3)); continue; case 2: if (canRemoveOrAdd || next == null) { t3 = entry.route; t3.didAdd$0(); entry.currentState = B._RouteLifecycle_7; if (next == null) t3.didChangeNext$1(_null); continue; } break; case 3: case 4: case 6: t3 = previous == null ? _null : previous.route; index0 = _this._getIndexBefore$2(index - 1, A.navigator__RouteEntry_isPresentPredicate$closure()); t4 = index0 >= 0 ? _this._history[index0] : _null; t4 = t4 == null ? _null : t4.route; entry.handlePush$4$isNewFirst$navigator$previous$previousPresent(next == null, _this, t3, t4); if (entry.currentState === B._RouteLifecycle_7) continue; break; case 5: if (!seenTopActiveRoute && poppedRoute != null) { entry.route.didPopNext$1(poppedRoute); entry.lastAnnouncedPoppedNextRoute = poppedRoute; } seenTopActiveRoute = true; break; case 7: if (!seenTopActiveRoute && poppedRoute != null) { entry.route.didPopNext$1(poppedRoute); entry.lastAnnouncedPoppedNextRoute = poppedRoute; } canRemoveOrAdd = true; seenTopActiveRoute = true; break; case 8: if (!seenTopActiveRoute) { if (poppedRoute != null) { entry.route.didPopNext$1(poppedRoute); entry.lastAnnouncedPoppedNextRoute = poppedRoute; } poppedRoute = entry.route; } index0 = _this._getIndexBefore$2(index, A.navigator__RouteEntry_willBePresentPredicate$closure()); t3 = index0 >= 0 ? _this._history[index0] : _null; t3 = t3 == null ? _null : t3.route; entry.currentState = B._RouteLifecycle_10; t1._add$1(0, new A._NavigatorPopObservation(entry.route, t3)); canRemoveOrAdd = true; break; case 10: break; case 9: if (!seenTopActiveRoute) { if (poppedRoute != null) entry.route.didPopNext$1(poppedRoute); poppedRoute = _null; } index0 = _this._getIndexBefore$2(index, A.navigator__RouteEntry_willBePresentPredicate$closure()); t3 = index0 >= 0 ? _this._history[index0] : _null; t3 = t3 == null ? _null : t3.route; entry.currentState = B._RouteLifecycle_11; if (entry._reportRemovalToObserver) t1._add$1(0, new A._NavigatorRemoveObservation(entry.route, t3)); continue; case 11: if (!canRemoveOrAdd && next != null) break; entry.currentState = B._RouteLifecycle_12; continue; case 12: toBeDisposed.push(B.JSArray_methods.removeAt$1(_this._history, index)); entry = next; break; case 13: case 0: break; } --index; previous0 = index > 0 ? _this._history[index - 1] : _null; next = entry; entry = previous; previous = previous0; } _this._flushObserverNotifications$0(); _this._flushRouteAnnouncement$0(); _this._widget.toString; t1 = _this._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); lastEntry = t1.lastWhere$2$orElse(t1, new A.NavigatorState__flushHistoryUpdates_closure(), new A.NavigatorState__flushHistoryUpdates_closure0()); routeName = lastEntry == null ? _null : lastEntry.route._settings.name; if (routeName != null && routeName !== _this._lastAnnouncedRouteName) { A.SystemNavigator_routeInformationUpdated(routeName, false, _null); _this._lastAnnouncedRouteName = routeName; } for (t1 = toBeDisposed.length, _i = 0; _i < toBeDisposed.length; toBeDisposed.length === t1 || (0, A.throwConcurrentModificationError)(toBeDisposed), ++_i) { entry = toBeDisposed[_i]; for (t2 = entry.route.get$overlayEntries(), t3 = t2.length, _i0 = 0; _i0 < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i0) J.remove$0$ax(t2[_i0]); entry.dispose$0(0); } if (rearrangeOverlay) { t1 = A._lateReadCheck(_this.__NavigatorState__overlayKey, "_overlayKey").get$currentState(); if (t1 != null) t1.rearrange$1(_this.get$_allRouteOverlayEntries()); } if (_this.RestorationMixin__bucket != null) _this._serializableHistory.update$1(0, _this._history); }, _flushHistoryUpdates$0() { return this._flushHistoryUpdates$1$rearrangeOverlay(true); }, _flushObserverNotifications$0() { var t1, observation, _this = this, _s19_ = "_effectiveObservers"; if (J.get$length$asx(A._lateReadCheck(_this.__NavigatorState__effectiveObservers, _s19_)) === 0) { _this._observedRouteDeletions.clear$0(0); _this._observedRouteAdditions.clear$0(0); return; } for (t1 = _this._observedRouteAdditions; !t1.get$isEmpty(t1);) { observation = t1.removeLast$0(0); J.forEach$1$ax(A._lateReadCheck(_this.__NavigatorState__effectiveObservers, _s19_), observation.get$notify()); } for (t1 = _this._observedRouteDeletions; !t1.get$isEmpty(t1);) { observation = t1.removeFirst$0(); J.forEach$1$ax(A._lateReadCheck(_this.__NavigatorState__effectiveObservers, _s19_), observation.get$notify()); } }, _flushRouteAnnouncement$0() { var entry, t1, next, t2, t3, index0, _this = this, _null = null, index = _this._history.length - 1; for (; index >= 0;) { entry = _this._history[index]; t1 = entry.currentState.index; if (!(t1 <= 11 && t1 >= 3)) { --index; continue; } next = _this._getRouteAfter$2(index + 1, A.navigator__RouteEntry_suitableForTransitionAnimationPredicate$closure()); t1 = next == null; t2 = t1 ? _null : next.route; t3 = entry.lastAnnouncedNextRoute; if (t2 != t3) { if ((t1 ? _null : next.route) == null) { t2 = entry.lastAnnouncedPoppedNextRoute; t2 = t2 != null && t2 === t3; } else t2 = false; if (!t2) { t2 = entry.route; t2.didChangeNext$1(t1 ? _null : next.route); } entry.lastAnnouncedNextRoute = t1 ? _null : next.route; } --index; index0 = _this._getIndexBefore$2(index, A.navigator__RouteEntry_suitableForTransitionAnimationPredicate$closure()); t1 = index0 >= 0 ? _this._history[index0] : _null; t2 = t1 == null; t3 = t2 ? _null : t1.route; if (t3 != entry.lastAnnouncedPreviousRoute) { t3 = entry.route; t3.didChangePrevious$1(t2 ? _null : t1.route); entry.lastAnnouncedPreviousRoute = t2 ? _null : t1.route; } } }, _getRouteBefore$2(index, predicate) { index = this._getIndexBefore$2(index, predicate); return index >= 0 ? this._history[index] : null; }, _getIndexBefore$2(index, predicate) { while (true) { if (!(index >= 0 && !predicate.call$1(this._history[index]))) break; --index; } return index; }, _getRouteAfter$2(index, predicate) { var t1; while (true) { t1 = this._history; if (!(index < t1.length && !predicate.call$1(t1[index]))) break; ++index; } t1 = this._history; return index < t1.length ? t1[index] : null; }, _routeNamed$1$3$allowNull$arguments($name, allowNull, $arguments, $T) { var settings, t1, route; if (allowNull) this._widget.toString; settings = new A.RouteSettings($name, $arguments); t1 = $T._eval$1("Route<0>?"); route = t1._as(this._widget.onGenerateRoute.call$1(settings)); return route == null && !allowNull ? t1._as(this._widget.onUnknownRoute.call$1(settings)) : route; }, _routeNamed$1$2$arguments($name, $arguments, $T) { return this._routeNamed$1$3$allowNull$arguments($name, false, $arguments, $T); }, push$1$1(route) { var t1 = A._RouteEntry$(route, B._RouteLifecycle_3, null); this._history.push(t1); this._flushHistoryUpdates$0(); this._afterNavigation$1(t1.route); return route._popCompleter.future; }, push$1(route) { return this.push$1$1(route, type$.nullable_Object); }, _afterNavigation$1(route) { var t1, t2, routeJsonable, settings, settingsJsonable; if (route != null) { t1 = type$.String; t2 = type$.dynamic; routeJsonable = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); routeJsonable.$indexSet(0, "description", route instanceof A.TransitionRoute ? route.get$debugLabel() : route.toString$0(0)); settings = route._settings; settingsJsonable = A.LinkedHashMap_LinkedHashMap$_literal(["name", settings.name], t1, t2); t1 = settings.$arguments; if (t1 != null) settingsJsonable.$indexSet(0, "arguments", B.C_JsonCodec.encode$2$toEncodable(t1, new A.NavigatorState__afterNavigation_closure())); routeJsonable.$indexSet(0, "settings", settingsJsonable); } else routeJsonable = null; A.postEvent("Flutter.Navigation", A.LinkedHashMap_LinkedHashMap$_literal(["route", routeJsonable], type$.String, type$.dynamic)); this._cancelActivePointers$0(); }, pushReplacement$2$2$result(newRoute, result) { var _this = this, t1 = A._RouteEntry$(newRoute, B._RouteLifecycle_4, null); J.complete$2$isReplaced$z(B.JSArray_methods.lastWhere$1(_this._history, A.navigator__RouteEntry_isPresentPredicate$closure()), result, true); _this._history.push(t1); _this._flushHistoryUpdates$0(); _this._afterNavigation$1(t1.route); return newRoute._popCompleter.future; }, pushReplacement$1(newRoute) { return this.pushReplacement$2$2$result(newRoute, null, type$.nullable_Object, type$.nullable_Object); }, pushReplacement$2$result(newRoute, result) { return this.pushReplacement$2$2$result(newRoute, result, type$.nullable_Object, type$.nullable_Object); }, _pushEntryAndRemoveUntil$2(entry, predicate) { var t2, _this = this, t1 = _this._history, index = t1.length - 1; t1.push(entry); while (true) { if (!(index >= 0 && !predicate.call$1(_this._history[index].route))) break; t1 = _this._history[index]; t2 = t1.currentState.index; if (t2 <= 9 && t2 >= 1) J.remove$0$ax(t1); --index; } _this._flushHistoryUpdates$0(); _this._afterNavigation$1(entry.route); }, maybePop$1$1(result) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, lastEntry, disposition, t1; var $async$maybePop$1$1 = 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 t1 = $async$self._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); lastEntry = t1.lastWhere$2$orElse(t1, new A.NavigatorState_maybePop_closure(), new A.NavigatorState_maybePop_closure0()); if (lastEntry == null) { $async$returnValue = false; // goto return $async$goto = 1; break; } $async$goto = 3; return A._asyncAwait(lastEntry.route.willPop$0(), $async$maybePop$1$1); case 3: // returning from await. disposition = $async$result; if ($async$self._framework$_element == null) { $async$returnValue = true; // goto return $async$goto = 1; break; } t1 = $async$self._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); if (lastEntry !== t1.lastWhere$2$orElse(t1, new A.NavigatorState_maybePop_closure1(), new A.NavigatorState_maybePop_closure2())) { $async$returnValue = true; // goto return $async$goto = 1; break; } switch (disposition.index) { case 2: $async$returnValue = false; // goto return $async$goto = 1; break $async$outer; case 0: $async$self.pop$1(0, result); $async$returnValue = true; // goto return $async$goto = 1; break $async$outer; case 1: $async$returnValue = true; // goto return $async$goto = 1; break $async$outer; } case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$maybePop$1$1, $async$completer); }, maybePop$0() { return this.maybePop$1$1(null, type$.nullable_Object); }, maybePop$1(result) { return this.maybePop$1$1(result, type$.nullable_Object); }, pop$1$1(_, result) { var entry = B.JSArray_methods.lastWhere$1(this._history, A.navigator__RouteEntry_isPresentPredicate$closure()); entry.pop$1(0, result); if (entry.currentState === B._RouteLifecycle_8) this._flushHistoryUpdates$1$rearrangeOverlay(false); this._afterNavigation$1(entry.route); }, pop$0($receiver) { return this.pop$1$1($receiver, null, type$.nullable_Object); }, pop$1($receiver, result) { return this.pop$1$1($receiver, result, type$.nullable_Object); }, removeRoute$1(route) { var t1, _this = this, wasCurrent = route.get$isCurrent(); B.JSArray_methods.firstWhere$1(_this._history, A._RouteEntry_isRoutePredicate(route)).remove$0(0); _this._flushHistoryUpdates$1$rearrangeOverlay(false); if (wasCurrent) { t1 = _this._history; t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,_RouteEntry?>")); t1 = t1.lastWhere$2$orElse(t1, new A.NavigatorState_removeRoute_closure(), new A.NavigatorState_removeRoute_closure0()); _this._afterNavigation$1(t1 == null ? null : t1.route); } }, finalizeRoute$1(route) { var entry = B.JSArray_methods.firstWhere$1(this._history, A._RouteEntry_isRoutePredicate(route)); if (entry.doingPop) { entry.currentState = B._RouteLifecycle_8; this._flushHistoryUpdates$1$rearrangeOverlay(false); } entry.currentState = B._RouteLifecycle_12; this._flushHistoryUpdates$1$rearrangeOverlay(false); }, set$_userGesturesInProgress(value) { this._userGesturesInProgressCount = value; this.userGestureInProgressNotifier.set$value(0, value > 0); }, didStartUserGesture$0() { var routeIndex, route, previousRoute, t1, t2, _i, _this = this; _this.set$_userGesturesInProgress(_this._userGesturesInProgressCount + 1); if (_this._userGesturesInProgressCount === 1) { routeIndex = _this._getIndexBefore$2(_this._history.length - 1, A.navigator__RouteEntry_willBePresentPredicate$closure()); route = _this._history[routeIndex].route; previousRoute = !route.get$willHandlePopInternally() && routeIndex > 0 ? _this._getRouteBefore$2(routeIndex - 1, A.navigator__RouteEntry_willBePresentPredicate$closure()).route : null; for (t1 = A._lateReadCheck(_this.__NavigatorState__effectiveObservers, "_effectiveObservers"), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i]._maybeStartHeroTransition$4(route, previousRoute, B.HeroFlightDirection_1, true); } }, didStopUserGesture$0() { var t1, t2, _i, _this = this; _this.set$_userGesturesInProgress(_this._userGesturesInProgressCount - 1); if (_this._userGesturesInProgressCount === 0) for (t1 = A._lateReadCheck(_this.__NavigatorState__effectiveObservers, "_effectiveObservers"), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].didStopUserGesture$0(); }, _handlePointerDown$1($event) { this._activePointers.add$1(0, $event.get$pointer()); }, _handlePointerUpOrCancel$1($event) { this._activePointers.remove$1(0, $event.get$pointer()); }, _cancelActivePointers$0() { if ($.SchedulerBinding__instance.SchedulerBinding__schedulerPhase === B.SchedulerPhase_0) { var t1 = A._lateReadCheck(this.__NavigatorState__overlayKey, "_overlayKey"); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); this.setState$1(new A.NavigatorState__cancelActivePointers_closure(t1 == null ? null : t1.findAncestorRenderObjectOfType$1$0(type$.RenderAbsorbPointer))); } t1 = this._activePointers; B.JSArray_methods.forEach$1(A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetMixin.E")), $.WidgetsBinding__instance.get$cancelPointer()); }, build$1(_, context) { var t4, _this = this, _null = null, _s11_ = "_overlayKey", t1 = _this.get$_handlePointerUpOrCancel(), t2 = _this.RestorationMixin__bucket, t3 = A._lateReadCheck(_this.__NavigatorState__overlayKey, _s11_); if (A._lateReadCheck(_this.__NavigatorState__overlayKey, _s11_).get$currentState() == null) { t4 = _this.get$_allRouteOverlayEntries(); t4 = A.List_List$of(t4, false, t4.$ti._eval$1("Iterable.E")); } else t4 = B.List_empty7; return new A.HeroControllerScope(_null, A.Listener$(B.HitTestBehavior_0, A.AbsorbPointer$(false, A.FocusScope$(true, A.UnmanagedRestorationScope$(t2, new A.Overlay0(t4, t3)), _null, _this.focusScopeNode)), t1, _this.get$_handlePointerDown(), _null, t1), _null); } }; A.NavigatorState_restoreState_closure.prototype = { call$1(route) { var t2, t3, t1 = route._settings.name; if (t1 != null) { t2 = this.$this._rawNextPagelessRestorationScopeId; t3 = t2.$ti._eval$1("RestorableValue.T")._as(t2._restoration_properties$_value); t2.super$RestorableValue$value(0, t3 + 1); t1 = new A._NamedRestorationInformation(t3, t1, null, B._RouteRestorationType_0); } else t1 = null; return A._RouteEntry$(route, B._RouteLifecycle_1, t1); }, $signature: 680 }; A.NavigatorState__flushHistoryUpdates_closure.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.NavigatorState__flushHistoryUpdates_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.NavigatorState__afterNavigation_closure.prototype = { call$1(object) { return A.S(object); }, $signature: 681 }; A.NavigatorState_maybePop_closure.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.NavigatorState_maybePop_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.NavigatorState_maybePop_closure1.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.NavigatorState_maybePop_closure2.prototype = { call$0() { return null; }, $signature: 3 }; A.NavigatorState_removeRoute_closure.prototype = { call$1(e) { return e != null && e.get$isPresent(); }, $signature: 67 }; A.NavigatorState_removeRoute_closure0.prototype = { call$0() { return null; }, $signature: 3 }; A.NavigatorState__cancelActivePointers_closure.prototype = { call$0() { var t1 = this.absorber; if (t1 != null) t1.set$absorbing(true); }, $signature: 0 }; A._RouteRestorationType.prototype = { toString$0(_) { return "_RouteRestorationType." + this._core$_name; } }; A._RestorationInformation.prototype = { get$isRestorable() { return true; }, computeSerializableData$0() { return A._setArrayType([this.type.index], type$.JSArray_Object); } }; A._NamedRestorationInformation.prototype = { computeSerializableData$0() { var _this = this, t1 = _this.super$_RestorationInformation$computeSerializableData(), t2 = A._setArrayType([_this.restorationScopeId, _this.name], type$.JSArray_Object), t3 = _this.$arguments; if (t3 != null) t2.push(t3); B.JSArray_methods.addAll$1(t1, t2); return t1; }, createRoute$1($navigator) { var t1 = $navigator._routeNamed$1$3$allowNull$arguments(this.name, false, this.$arguments, type$.dynamic); t1.toString; return t1; }, get$restorationScopeId() { return this.restorationScopeId; }, get$name(receiver) { return this.name; } }; A._AnonymousRestorationInformation.prototype = { get$isRestorable() { return false; }, computeSerializableData$0() { A.PluginUtilities_getCallbackHandle(this.routeBuilder); }, createRoute$1($navigator) { var t1 = $navigator._framework$_element; t1.toString; return this.routeBuilder.call$2(t1, this.$arguments); }, get$restorationScopeId() { return this.restorationScopeId; } }; A._HistoryProperty.prototype = { update$1(_, $history) { var newRoutesForCurrentPage, t1, oldRoutesForCurrentPage, newMap, removedPages, currentPage, needsSerialization, restorationEnabled, _i, entry, t2, t3, t4, t5, _this = this, _null = null, wasUninitialized = _this._pageToPagelessRoutes == null; if (wasUninitialized) _this._pageToPagelessRoutes = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_Object); newRoutesForCurrentPage = A._setArrayType([], type$.JSArray_Object); t1 = _this._pageToPagelessRoutes; t1.toString; oldRoutesForCurrentPage = J.$index$asx(t1, null); if (oldRoutesForCurrentPage == null) oldRoutesForCurrentPage = B.List_empty6; newMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.nullable_String, type$.List_Object); t1 = _this._pageToPagelessRoutes; t1.toString; removedPages = J.toSet$0$ax(J.get$keys$x(t1)); for (t1 = $history.length, currentPage = _null, needsSerialization = wasUninitialized, restorationEnabled = true, _i = 0; _i < $history.length; $history.length === t1 || (0, A.throwConcurrentModificationError)($history), ++_i) { entry = $history[_i]; if (entry.currentState.index > 7) { t2 = entry.route; t2._restorationScopeId.set$value(0, _null); continue; } if (restorationEnabled) { t2 = entry.restorationInformation; restorationEnabled = (t2 == null ? _null : t2.get$isRestorable()) === true; } else restorationEnabled = false; t2 = entry.route; t3 = restorationEnabled ? entry.get$restorationId() : _null; t2._restorationScopeId.set$value(0, t3); if (restorationEnabled) { t2 = entry.restorationInformation; t3 = t2._serializableData; t2 = t3 == null ? t2._serializableData = t2.computeSerializableData$0() : t3; if (!needsSerialization) { t3 = J.getInterceptor$asx(oldRoutesForCurrentPage); t4 = t3.get$length(oldRoutesForCurrentPage); t5 = newRoutesForCurrentPage.length; needsSerialization = t4 <= t5 || !J.$eq$(t3.$index(oldRoutesForCurrentPage, t5), t2); } else needsSerialization = true; newRoutesForCurrentPage.push(t2); } } needsSerialization = needsSerialization || newRoutesForCurrentPage.length !== J.get$length$asx(oldRoutesForCurrentPage); _this._finalizePage$4(newRoutesForCurrentPage, currentPage, newMap, removedPages); if (needsSerialization || removedPages.get$isNotEmpty(removedPages)) { _this._pageToPagelessRoutes = newMap; _this.notifyListeners$0(); } }, _finalizePage$4(routes, page, pageToRoutes, pagesToRemove) { var restorationId, t1 = routes.length; if (t1 !== 0) { restorationId = page == null ? null : page.get$restorationId(); pageToRoutes.$indexSet(0, restorationId, routes); pagesToRemove.remove$1(0, restorationId); } }, clear$0(_) { if (this._pageToPagelessRoutes == null) return; this._pageToPagelessRoutes = null; this.notifyListeners$0(); }, restoreEntriesForPage$2(page, $navigator) { var t1, serializedData, t2, route, t3, result = A._setArrayType([], type$.JSArray__RouteEntry); if (this._pageToPagelessRoutes != null) t1 = page != null && page.get$restorationId() == null; else t1 = true; if (t1) return result; t1 = this._pageToPagelessRoutes; t1.toString; serializedData = J.$index$asx(t1, page == null ? null : page.get$restorationId()); if (serializedData == null) return result; for (t1 = J.get$iterator$ax(serializedData); t1.moveNext$0();) { t2 = A._RestorationInformation__RestorationInformation$fromSerializableData(t1.get$current(t1)); route = t2.createRoute$1($navigator); t3 = $.$get$_RouteEntry_notAnnounced(); result.push(new A._RouteEntry(route, t2, B._RouteLifecycle_1, t3, t3, t3)); } return result; }, createDefaultValue$0() { return null; }, fromPrimitives$1(data) { data.toString; return J.map$2$1$ax(type$.Map_dynamic_dynamic._as(data), new A._HistoryProperty_fromPrimitives_closure(), type$.nullable_String, type$.List_Object); }, initWithValue$1(value) { this._pageToPagelessRoutes = value; }, toPrimitives$0() { return this._pageToPagelessRoutes; }, get$enabled(_) { return this._pageToPagelessRoutes != null; } }; A._HistoryProperty_fromPrimitives_closure.prototype = { call$2(key, value) { return new A.MapEntry(A._asStringQ(key), A.List_List$from(type$.List_dynamic._as(value), true, type$.Object), type$.MapEntry_of_nullable_String_and_List_Object); }, $signature: 682 }; A._NavigatorState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A._NavigatorState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._NavigatorState_State_TickerProviderStateMixin_RestorationMixin.prototype = { didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this.didUpdateRestorationId$0(); }, didChangeDependencies$0() { var oldBucket, needsRestore, t1, didReplaceBucket, _this = this; _this.super$_NavigatorState_State_TickerProviderStateMixin$didChangeDependencies(); oldBucket = _this.RestorationMixin__bucket; needsRestore = _this.get$restorePending(); t1 = _this._framework$_element; t1.toString; t1 = A.RestorationScope_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A._NavigatorState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$_NavigatorState_State_TickerProviderStateMixin$dispose(0); } }; A.Notification0.prototype = { visitAncestor$1(element) { var widget; if (element instanceof A.StatelessElement) { widget = element.get$widget(); if (widget instanceof A.NotificationListener) if (widget._notification_listener$_dispatch$2(this, element)) return false; } return true; }, dispatch$1(target) { if (target != null) target.visitAncestorElements$1(this.get$visitAncestor()); }, toString$0(_) { var description = A._setArrayType([], type$.JSArray_String); this.debugFillDescription$1(description); return "Notification(" + B.JSArray_methods.join$1(description, ", ") + ")"; }, debugFillDescription$1(description) { } }; A.NotificationListener.prototype = { _notification_listener$_dispatch$2(notification, element) { if (this.$ti._precomputed1._is(notification)) return this.onNotification.call$1(notification); return false; }, build$1(_, context) { return this.child; } }; A.LayoutChangedNotification.prototype = {}; A.OverflowBarAlignment.prototype = { toString$0(_) { return "OverflowBarAlignment." + this._core$_name; } }; A.OverflowBar.prototype = { createRenderObject$1(context) { var _this = this, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; t1 = new A._RenderOverflowBar(_this.spacing, _this.alignment, _this.overflowSpacing, _this.overflowAlignment, _this.overflowDirection, t1, B.Clip_0, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; type$._RenderOverflowBar._as(renderObject); renderObject.set$spacing(0, _this.spacing); renderObject.set$alignment(_this.alignment); renderObject.set$overflowSpacing(_this.overflowSpacing); renderObject.set$overflowAlignment(_this.overflowAlignment); renderObject.set$overflowDirection(_this.overflowDirection); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; renderObject.set$textDirection(0, t1); renderObject.set$clipBehavior(B.Clip_0); } }; A._OverflowBarParentData.prototype = {}; A._RenderOverflowBar.prototype = { set$spacing(_, value) { if (this._spacing === value) return; this._spacing = value; this.markNeedsLayout$0(); }, set$alignment(value) { if (this._overflow_bar$_alignment == value) return; this._overflow_bar$_alignment = value; this.markNeedsLayout$0(); }, set$overflowSpacing(value) { if (this._overflowSpacing === value) return; this._overflowSpacing = value; this.markNeedsLayout$0(); }, set$overflowAlignment(value) { if (this._overflowAlignment === value) return; this._overflowAlignment = value; this.markNeedsLayout$0(); }, set$overflowDirection(value) { if (this._overflowDirection === value) return; this._overflowDirection = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._overflow_bar$_textDirection === value) return; this._overflow_bar$_textDirection = value; this.markNeedsLayout$0(); }, set$clipBehavior(value) { var _this = this; if (value === _this._overflow_bar$_clipBehavior) return; _this._overflow_bar$_clipBehavior = value; _this.markNeedsPaint$0(); _this.markNeedsSemanticsUpdate$0(); }, setupParentData$1(child) { if (!(child.parentData instanceof A._OverflowBarParentData)) child.parentData = new A._OverflowBarParentData(null, null, B.Offset_0_0); }, computeMinIntrinsicHeight$1(width) { var t1, barWidth, t2, t3, height, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return 0; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), barWidth = 0; child != null;) { barWidth += child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, child.get$computeMinIntrinsicWidth()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } t2 = _this._spacing; t3 = _this.ContainerRenderObjectMixin__childCount; child = _this.ContainerRenderObjectMixin__firstChild; if (barWidth + t2 * (t3 - 1) > width) { for (height = 0; child != null;) { height += child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, child.get$computeMinIntrinsicHeight()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height + _this._overflowSpacing * (_this.ContainerRenderObjectMixin__childCount - 1); } else { for (height = 0; child != null;) { height = Math.max(height, child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, child.get$computeMinIntrinsicHeight())); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height; } }, computeMaxIntrinsicHeight$1(width) { var t1, barWidth, t2, t3, height, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return 0; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), barWidth = 0; child != null;) { barWidth += child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, child.get$computeMinIntrinsicWidth()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } t2 = _this._spacing; t3 = _this.ContainerRenderObjectMixin__childCount; child = _this.ContainerRenderObjectMixin__firstChild; if (barWidth + t2 * (t3 - 1) > width) { for (height = 0; child != null;) { height += child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, child.get$computeMaxIntrinsicHeight()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height + _this._overflowSpacing * (_this.ContainerRenderObjectMixin__childCount - 1); } else { for (height = 0; child != null;) { height = Math.max(height, child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, child.get$computeMaxIntrinsicHeight())); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return height; } }, computeMinIntrinsicWidth$1(height) { var t1, width, t2, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return 0; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), width = 0; child != null;) { width += child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, 1 / 0, child.get$computeMinIntrinsicWidth()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return width + _this._spacing * (_this.ContainerRenderObjectMixin__childCount - 1); }, computeMaxIntrinsicWidth$1(height) { var t1, width, t2, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return 0; for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), width = 0; child != null;) { width += child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return width + _this._spacing * (_this.ContainerRenderObjectMixin__childCount - 1); }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); }, computeDryLayout$1(constraints) { var overallWidth, childConstraints, t1, childrenWidth, maxChildHeight, y, childSize, t2, actualWidth, _this = this, child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); overallWidth = constraints.maxWidth; childConstraints = new A.BoxConstraints(0, overallWidth, 0, constraints.maxHeight); for (t1 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), childrenWidth = 0, maxChildHeight = 0, y = 0; child != null;) { childSize = child.getDryLayout$1(childConstraints); childrenWidth += childSize._dx; t2 = childSize._dy; maxChildHeight = Math.max(maxChildHeight, t2); y += t2 + _this._overflowSpacing; t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } actualWidth = childrenWidth + _this._spacing * (_this.ContainerRenderObjectMixin__childCount - 1); if (actualWidth > overallWidth) return constraints.constrain$1(new A.Size(overallWidth, y - _this._overflowSpacing)); else return constraints.constrain$1(new A.Size(_this._overflow_bar$_alignment == null ? actualWidth : overallWidth, maxChildHeight)); }, performLayout$0() { var t1, t2, childConstraints, t3, childrenWidth, maxChildHeight, maxChildWidth, t4, t5, rtl, actualWidth, nextChild, y, x, firstChildWidth, overallWidth, layoutSpacing, halfRemainingWidth, t6, t7, _this = this, _box_0 = {}, child = _box_0.child = _this.ContainerRenderObjectMixin__firstChild; if (child == null) { t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this._size = new A.Size(B.JSInt_methods.clamp$2(0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(0, t1.minHeight, t1.maxHeight)); return; } t1 = type$.BoxConstraints; t2 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); childConstraints = new A.BoxConstraints(0, t2.maxWidth, 0, t2.maxHeight); for (t2 = A._instanceType(_this)._eval$1("ContainerRenderObjectMixin.1"), t3 = child, childrenWidth = 0, maxChildHeight = 0, maxChildWidth = 0; t3 != null; t3 = child) { t3.layout$2$parentUsesSize(0, childConstraints, true); t3 = _box_0.child; t4 = t3._size; t5 = t4._dx; childrenWidth += t5; maxChildHeight = Math.max(maxChildHeight, t4._dy); maxChildWidth = Math.max(maxChildWidth, t5); t3 = t3.parentData; t3.toString; child = t2._as(t3).ContainerParentDataMixin_nextSibling; _box_0.child = child; } rtl = _this._overflow_bar$_textDirection === B.TextDirection_0; actualWidth = childrenWidth + _this._spacing * (_this.ContainerRenderObjectMixin__childCount - 1); if (actualWidth > t1._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth) { child = _this._overflowDirection === B.VerticalDirection_1 ? _this.ContainerRenderObjectMixin__firstChild : _this.ContainerRenderObjectMixin__lastChild; _box_0.child = child; nextChild = new A._RenderOverflowBar_performLayout_nextChild(_box_0, _this); for (t2 = type$._OverflowBarParentData, t3 = child, y = 0; t3 != null; t3 = child) { t4 = t3.parentData; t4.toString; t2._as(t4); switch (_this._overflowAlignment.index) { case 0: if (rtl) { t3 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t5 = _box_0.child; x = t3.maxWidth - t5._size._dx; t3 = t5; } else x = 0; break; case 2: t3 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t5 = _box_0.child; x = (t3.maxWidth - t5._size._dx) / 2; t3 = t5; break; case 1: if (rtl) x = 0; else { t3 = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); t5 = _box_0.child; x = t3.maxWidth - t5._size._dx; t3 = t5; } break; default: x = 0; } t4.offset = new A.Offset(x, y); y += t3._size._dy + _this._overflowSpacing; child = nextChild.call$0(); _box_0.child = child; } _this._size = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(new A.Size(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth, y - _this._overflowSpacing)); } else { child = _this.ContainerRenderObjectMixin__firstChild; _box_0.child = child; firstChildWidth = child._size._dx; overallWidth = _this._overflow_bar$_alignment == null ? actualWidth : t1._as(A.RenderObject.prototype.get$constraints.call(_this)).maxWidth; _this._size = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).constrain$1(new A.Size(overallWidth, maxChildHeight)); x = A._Cell$named("x"); layoutSpacing = _this._spacing; switch (_this._overflow_bar$_alignment) { case null: x.__late_helper$_value = rtl ? _this._size._dx - firstChildWidth : 0; break; case B.MainAxisAlignment_0: x.__late_helper$_value = rtl ? _this._size._dx - firstChildWidth : 0; break; case B.MainAxisAlignment_2: t1 = _this._size._dx; halfRemainingWidth = (t1 - actualWidth) / 2; x.__late_helper$_value = rtl ? t1 - halfRemainingWidth - firstChildWidth : halfRemainingWidth; break; case B.MainAxisAlignment_1: x.__late_helper$_value = rtl ? actualWidth - firstChildWidth : _this._size._dx - actualWidth; break; case B.MainAxisAlignment_3: t1 = _this._size._dx; layoutSpacing = (t1 - childrenWidth) / (_this.ContainerRenderObjectMixin__childCount - 1); x.__late_helper$_value = rtl ? t1 - firstChildWidth : 0; break; case B.MainAxisAlignment_4: t1 = _this.ContainerRenderObjectMixin__childCount; layoutSpacing = t1 > 0 ? (_this._size._dx - childrenWidth) / t1 : 0; t1 = layoutSpacing / 2; x.__late_helper$_value = rtl ? _this._size._dx - t1 - firstChildWidth : t1; break; case B.MainAxisAlignment_5: t1 = _this._size._dx; layoutSpacing = (t1 - childrenWidth) / (_this.ContainerRenderObjectMixin__childCount + 1); x.__late_helper$_value = rtl ? t1 - layoutSpacing - firstChildWidth : layoutSpacing; break; } for (t1 = !rtl, t3 = type$._OverflowBarParentData, t4 = x.__late_helper$_name; t5 = _box_0.child, t5 != null;) { t6 = t5.parentData; t6.toString; t3._as(t6); t7 = x.__late_helper$_value; if (t7 === x) A.throwExpression(A.LateError$localNI(t4)); t5 = t5._size; t6.offset = new A.Offset(t7, (maxChildHeight - t5._dy) / 2); if (t1) t5 = x.__late_helper$_value = t7 + (t5._dx + layoutSpacing); else t5 = t7; child = _box_0.child = t2._as(t6).ContainerParentDataMixin_nextSibling; if (rtl && child != null) x.__late_helper$_value = t5 - (child._size._dx + layoutSpacing); } } }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { this.defaultPaint$2(context, offset); } }; A._RenderOverflowBar_performLayout_nextChild.prototype = { call$0() { var t1 = this.$this, t2 = t1._overflowDirection, t3 = this._box_0.child; t1 = A._instanceType(t1)._eval$1("ContainerRenderObjectMixin.1"); if (t2 === B.VerticalDirection_1) { t2 = t3.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_nextSibling; t1 = t2; } else { t2 = t3.parentData; t2.toString; t2 = t1._as(t2).ContainerParentDataMixin_previousSibling; t1 = t2; } return t1; }, $signature: 683 }; A.__RenderOverflowBar_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$._OverflowBarParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$._OverflowBarParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.__RenderOverflowBar_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.OverlayEntry0.prototype = { set$opaque(value) { var t1; if (this._opaque === value) return; this._opaque = value; t1 = this._overlay; if (t1 != null) t1._didChangeEntryOpacity$0(); }, set$maintainState(value) { if (this._maintainState) return; this._maintainState = true; this._overlay._didChangeEntryOpacity$0(); }, _updateMounted$1(value) { if (value === this._mounted) return; this._mounted = value; this.notifyListeners$0(); }, remove$0(_) { var t2, t1 = this._overlay; t1.toString; this._overlay = null; if (t1._framework$_element == null) return; B.JSArray_methods.remove$1(t1._overlay0$_entries, this); t2 = $.SchedulerBinding__instance; if (t2.SchedulerBinding__schedulerPhase === B.SchedulerPhase_3) t2.SchedulerBinding__postFrameCallbacks.push(new A.OverlayEntry_remove_closure(t1)); else t1._markDirty$0(); }, markNeedsBuild$0() { var t1 = this._overlay0$_key.get$currentState(); if (t1 != null) t1._markNeedsBuild$0(); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(opaque: " + this._opaque + "; maintainState: " + this._maintainState + ")"; } }; A.OverlayEntry_remove_closure.prototype = { call$1(duration) { this.overlay._markDirty$0(); }, $signature: 8 }; A._OverlayEntryWidget0.prototype = { createState$0() { return new A._OverlayEntryWidgetState0(B._StateLifecycle_0); } }; A._OverlayEntryWidgetState0.prototype = { initState$0() { this.super$State$initState(); this._widget.entry._updateMounted$1(true); }, dispose$0(_) { this._widget.entry._updateMounted$1(false); this.super$State$dispose(0); }, build$1(_, context) { var t1 = this._widget; return new A.TickerMode(t1.tickerEnabled, t1.entry.builder.call$1(context), null); }, _markNeedsBuild$0() { this.setState$1(new A._OverlayEntryWidgetState__markNeedsBuild_closure()); } }; A._OverlayEntryWidgetState__markNeedsBuild_closure.prototype = { call$0() { }, $signature: 0 }; A.Overlay0.prototype = { createState$0() { return new A.OverlayState0(A._setArrayType([], type$.JSArray_OverlayEntry), null, B._StateLifecycle_0); } }; A.OverlayState0.prototype = { initState$0() { this.super$State$initState(); this.insertAll$1(0, this._widget.initialEntries); }, _insertionIndex$2(below, above) { return this._overlay0$_entries.length; }, insert$1(_, entry) { entry._overlay = this; this.setState$1(new A.OverlayState_insert_closure(this, null, null, entry)); }, insertAll$1(_, entries) { var _i, t1 = entries.length; if (t1 === 0) return; for (_i = 0; _i < t1; ++_i) entries[_i]._overlay = this; this.setState$1(new A.OverlayState_insertAll_closure(this, null, null, entries)); }, rearrange$1(newEntries) { var t1, old, _i, entry, _this = this, newEntriesList = A.List_List$of(newEntries, false, newEntries.$ti._eval$1("Iterable.E")); if (newEntriesList.length === 0) return; t1 = _this._overlay0$_entries; if (A.listEquals0(t1, newEntriesList)) return; old = A.LinkedHashSet_LinkedHashSet$from(t1, type$.OverlayEntry); for (t1 = newEntriesList.length, _i = 0; _i < t1; ++_i) { entry = newEntriesList[_i]; if (entry._overlay == null) entry._overlay = _this; } _this.setState$1(new A.OverlayState_rearrange_closure(_this, newEntriesList, old, null, null)); }, _markDirty$0() { if (this._framework$_element != null) this.setState$1(new A.OverlayState__markDirty_closure()); }, _didChangeEntryOpacity$0() { this.setState$1(new A.OverlayState__didChangeEntryOpacity_closure()); }, build$1(_, context) { var t1, i, onstage, onstageCount, entry, t2, children = A._setArrayType([], type$.JSArray_Widget); for (t1 = this._overlay0$_entries, i = t1.length - 1, onstage = true, onstageCount = 0; i >= 0; --i) { entry = t1[i]; if (onstage) { ++onstageCount; children.push(new A._OverlayEntryWidget0(entry, true, entry._overlay0$_key)); onstage = !entry._opaque || false; } else if (entry._maintainState) children.push(new A._OverlayEntryWidget0(entry, false, entry._overlay0$_key)); } t1 = children.length; this._widget.toString; t2 = type$.ReversedListIterable_Widget; return new A._Theatre0(t1 - onstageCount, B.Clip_1, A.List_List$of(new A.ReversedListIterable(children, t2), false, t2._eval$1("ListIterable.E")), null); } }; A.OverlayState_insert_closure.prototype = { call$0() { var _this = this, t1 = _this.$this; B.JSArray_methods.insert$2(t1._overlay0$_entries, t1._insertionIndex$2(_this.below, _this.above), _this.entry); }, $signature: 0 }; A.OverlayState_insertAll_closure.prototype = { call$0() { var _this = this, t1 = _this.$this; B.JSArray_methods.insertAll$2(t1._overlay0$_entries, t1._insertionIndex$2(_this.below, _this.above), _this.entries); }, $signature: 0 }; A.OverlayState_rearrange_closure.prototype = { call$0() { var t3, t4, _this = this, t1 = _this.$this, t2 = t1._overlay0$_entries; B.JSArray_methods.set$length(t2, 0); t3 = _this.newEntriesList; B.JSArray_methods.addAll$1(t2, t3); t4 = _this.old; t4.removeAll$1(t3); B.JSArray_methods.insertAll$2(t2, t1._insertionIndex$2(_this.below, _this.above), t4); }, $signature: 0 }; A.OverlayState__markDirty_closure.prototype = { call$0() { }, $signature: 0 }; A.OverlayState__didChangeEntryOpacity_closure.prototype = { call$0() { }, $signature: 0 }; A._Theatre0.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = A.HashSet_HashSet(t1), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A._TheatreElement0(t2, t3, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, createRenderObject$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = new A._RenderTheatre0(t1.textDirection, this.skipCount, this.clipBehavior, A.LayerHandle$(type$.ClipRectLayer), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.skipCount; if (renderObject._overlay0$_skipCount !== t1) { renderObject._overlay0$_skipCount = t1; renderObject.markNeedsLayout$0(); } t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; renderObject.set$textDirection(0, t1.textDirection); t1 = this.clipBehavior; if (t1 !== renderObject._overlay0$_clipBehavior) { renderObject._overlay0$_clipBehavior = t1; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A._TheatreElement0.prototype = { get$widget() { return type$._Theatre._as(A.MultiChildRenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderTheatre._as(A.MultiChildRenderObjectElement.prototype.get$renderObject.call(this)); } }; A._RenderTheatre0.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.StackParentData)) child.parentData = new A.StackParentData(null, null, B.Offset_0_0); }, _overlay0$_resolve$0() { if (this._overlay0$_resolvedAlignment != null) return; this._overlay0$_resolvedAlignment = B.AlignmentDirectional_m1_m1.resolve$1(this._overlay0$_textDirection); }, set$textDirection(_, value) { var _this = this; if (_this._overlay0$_textDirection === value) return; _this._overlay0$_textDirection = value; _this._overlay0$_resolvedAlignment = null; _this.markNeedsLayout$0(); }, get$_overlay0$_firstOnstageChild() { var child, toSkip, t1, t2, _this = this; if (_this._overlay0$_skipCount === A.ContainerRenderObjectMixin.prototype.get$childCount.call(_this)) return null; child = A.ContainerRenderObjectMixin.prototype.get$firstChild.call(_this, _this); for (toSkip = _this._overlay0$_skipCount, t1 = type$.StackParentData; toSkip > 0; --toSkip) { t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } return child; }, computeMinIntrinsicWidth$1(height) { return A.RenderStack_getIntrinsicDimension(this.get$_overlay0$_firstOnstageChild(), new A._RenderTheatre_computeMinIntrinsicWidth_closure(height)); }, computeMaxIntrinsicWidth$1(height) { return A.RenderStack_getIntrinsicDimension(this.get$_overlay0$_firstOnstageChild(), new A._RenderTheatre_computeMaxIntrinsicWidth_closure(height)); }, computeMinIntrinsicHeight$1(width) { return A.RenderStack_getIntrinsicDimension(this.get$_overlay0$_firstOnstageChild(), new A._RenderTheatre_computeMinIntrinsicHeight_closure(width)); }, computeMaxIntrinsicHeight$1(width) { return A.RenderStack_getIntrinsicDimension(this.get$_overlay0$_firstOnstageChild(), new A._RenderTheatre_computeMaxIntrinsicHeight_closure(width)); }, computeDistanceToActualBaseline$1(baseline) { var t1, result, t2, candidate, child = this.get$_overlay0$_firstOnstageChild(); for (t1 = type$.StackParentData, result = null; child != null;) { t2 = child.parentData; t2.toString; t1._as(t2); candidate = child.getDistanceToActualBaseline$1(baseline); if (candidate != null) { candidate += t2.offset._dy; result = result != null ? Math.min(result, candidate) : candidate; } child = t2.ContainerParentDataMixin_nextSibling; } return result; }, get$sizedByParent() { return true; }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, performLayout$0() { var t1, nonPositionedConstraints, child, t2, t3, t4, t5, t6, _this = this; _this._overlay0$_hasVisualOverflow = false; if (_this.ContainerRenderObjectMixin__childCount - _this._overlay0$_skipCount === 0) return; _this._overlay0$_resolve$0(); t1 = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); nonPositionedConstraints = A.BoxConstraints$tight(new A.Size(B.JSInt_methods.clamp$2(1 / 0, t1.minWidth, t1.maxWidth), B.JSInt_methods.clamp$2(1 / 0, t1.minHeight, t1.maxHeight))); child = _this.get$_overlay0$_firstOnstageChild(); for (t1 = type$.StackParentData, t2 = type$.Offset; child != null;) { t3 = child.parentData; t3.toString; t1._as(t3); if (!t3.get$isPositioned()) { child.layout$2$parentUsesSize(0, nonPositionedConstraints, true); t4 = _this._overlay0$_resolvedAlignment; t4.toString; t5 = _this._size; t5.toString; t6 = child._size; t6.toString; t3.offset = t4.alongOffset$1(t2._as(t5.$sub(0, t6))); } else { t4 = _this._size; t4.toString; t5 = _this._overlay0$_resolvedAlignment; t5.toString; _this._overlay0$_hasVisualOverflow = A.RenderStack_layoutPositionedChild(child, t3, t4, t5) || _this._overlay0$_hasVisualOverflow; } child = t3.ContainerParentDataMixin_nextSibling; } }, hitTestChildren$2$position(result, position) { var t2, i, child, _this = this, _box_0 = {}, t1 = _box_0.child = _this._overlay0$_skipCount === A.ContainerRenderObjectMixin.prototype.get$childCount.call(_this) ? null : _this.ContainerRenderObjectMixin__lastChild; for (t2 = type$.StackParentData, i = 0; i < _this.ContainerRenderObjectMixin__childCount - _this._overlay0$_skipCount; ++i, t1 = child) { t1 = t1.parentData; t1.toString; t2._as(t1); if (result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderTheatre_hitTestChildren_closure0(_box_0, position, t1), t1.offset, position)) return true; child = t1.ContainerParentDataMixin_previousSibling; _box_0.child = child; } return false; }, paintStack$2(context, offset) { var t1, t2, t3, t4, t5, child = this.get$_overlay0$_firstOnstageChild(); for (t1 = type$.StackParentData, t2 = offset._dx, t3 = offset._dy; child != null;) { t4 = child.parentData; t4.toString; t1._as(t4); t5 = t4.offset; context.paintChild$2(child, new A.Offset(t5._dx + t2, t5._dy + t3)); child = t4.ContainerParentDataMixin_nextSibling; } }, paint$2(context, offset) { var t3, _this = this, t1 = _this._overlay0$_hasVisualOverflow && _this._overlay0$_clipBehavior !== B.Clip_0, t2 = _this._overlay0$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t3 = _this._size; t2.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), _this.get$paintStack(), _this._overlay0$_clipBehavior, t2._layer)); } else { t2.set$layer(0, null); _this.paintStack$2(context, offset); } }, dispose$0(_) { this._overlay0$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, visitChildrenForSemantics$1(visitor) { var t1, t2, child = this.get$_overlay0$_firstOnstageChild(); for (t1 = type$.StackParentData; child != null;) { visitor.call$1(child); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } }, describeApproximatePaintClip$1(child) { var t1; if (this._overlay0$_hasVisualOverflow) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, debugDescribeChildren$0() { var count, onstage, t2, t1 = type$.JSArray_DiagnosticsNode, offstageChildren = A._setArrayType([], t1), onstageChildren = A._setArrayType([], t1), child = this.ContainerRenderObjectMixin__firstChild, firstOnstageChild = this.get$_overlay0$_firstOnstageChild(); for (t1 = type$.StackParentData, count = 1, onstage = false; child != null;) { if (child === firstOnstageChild) { count = 1; onstage = true; } if (onstage) onstageChildren.push(new A.DiagnosticableTreeNode(child, "onstage " + count, true, true, null, null)); else offstageChildren.push(new A.DiagnosticableTreeNode(child, "offstage " + count, true, true, null, B.DiagnosticsTreeStyle_2)); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; ++count; } t1 = A.List_List$of(onstageChildren, true, type$.DiagnosticsNode); if (offstageChildren.length !== 0) B.JSArray_methods.addAll$1(t1, offstageChildren); else t1.push(A.DiagnosticsNode_DiagnosticsNode$message("no offstage children", true, B.DiagnosticsTreeStyle_2)); return t1; } }; A._RenderTheatre_computeMinIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, this.height, child.get$computeMinIntrinsicWidth()); }, $signature: 10 }; A._RenderTheatre_computeMaxIntrinsicWidth_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, this.height, child.get$computeMaxIntrinsicWidth()); }, $signature: 10 }; A._RenderTheatre_computeMinIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, this.width, child.get$computeMinIntrinsicHeight()); }, $signature: 10 }; A._RenderTheatre_computeMaxIntrinsicHeight_closure.prototype = { call$1(child) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, this.width, child.get$computeMaxIntrinsicHeight()); }, $signature: 10 }; A._RenderTheatre_hitTestChildren_closure0.prototype = { call$2(result, transformed) { return this._box_0.child.hitTest$2$position(result, transformed); }, $signature: 15 }; A._OverlayState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__RenderTheatre_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.StackParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A.GlowingOverscrollIndicator.prototype = { createState$0() { var t1 = type$.bool; return new A._GlowingOverscrollIndicatorState(A.LinkedHashMap_LinkedHashMap$_literal([false, true, true, true], t1, t1), null, B._StateLifecycle_0); }, notificationPredicate$1(arg0) { return A.scroll_notification__defaultScrollNotificationPredicate$closure().call$1(arg0); } }; A._GlowingOverscrollIndicatorState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = _this._widget; t2 = t1.color; _this._leadingController = A._GlowController$(A.axisDirectionToAxis(t1.axisDirection), t2, _this); t2 = _this._widget; t1 = t2.color; t1 = A._GlowController$(A.axisDirectionToAxis(t2.axisDirection), t1, _this); _this._trailingController = t1; t2 = _this._leadingController; t2.toString; _this._leadingAndTrailingListener = new A._MergingListenable(A._setArrayType([t2, t1], type$.JSArray_Listenable)); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!oldWidget.color.$eq(0, _this._widget.color) || A.axisDirectionToAxis(oldWidget.axisDirection) !== A.axisDirectionToAxis(_this._widget.axisDirection)) { t1 = _this._leadingController; t1.toString; t1.set$color(0, _this._widget.color); t1 = _this._leadingController; t1.toString; t1.set$axis(A.axisDirectionToAxis(_this._widget.axisDirection)); t1 = _this._trailingController; t1.toString; t1.set$color(0, _this._widget.color); t1 = _this._trailingController; t1.toString; t1.set$axis(A.axisDirectionToAxis(_this._widget.axisDirection)); } }, _overscroll_indicator$_handleScrollNotification$1(notification) { var t1, t2, t3, t4, t5, controller, isLeading, velocity, position, _this = this, _s15_ = "_glowController"; if (!_this._widget.notificationPredicate$1(notification)) return false; t1 = _this._leadingController; t1.toString; t2 = notification.metrics; t3 = t2._scroll_metrics$_pixels; t3.toString; t4 = t2._minScrollExtent; t4.toString; t1._paintOffsetScrollPixels = -Math.min(t3 - t4, t1._overscroll_indicator$_paintOffset); t4 = _this._trailingController; t4.toString; t5 = t2._maxScrollExtent; t5.toString; t4._paintOffsetScrollPixels = -Math.min(t5 - t3, t4._overscroll_indicator$_paintOffset); if (notification instanceof A.OverscrollNotification) { t3 = notification.overscroll; if (t3 < 0) controller = t1; else if (t3 > 0) controller = t4; else controller = null; isLeading = controller === t1; t1 = _this._framework$_element; t1.toString; new A.OverscrollIndicatorNotification(isLeading, 0).dispatch$1(t1); t1 = _this._accepted; t1.$indexSet(0, isLeading, true); t1.$index(0, isLeading).toString; controller._overscroll_indicator$_paintOffset = 0; _this._accepted.$index(0, isLeading).toString; t1 = notification.velocity; if (t1 !== 0) { t2 = controller._pullRecedeTimer; if (t2 != null) t2.cancel$0(0); controller._pullRecedeTimer = null; velocity = B.JSNumber_methods.clamp$2(Math.abs(t1), 100, 10000); t1 = controller._glowOpacityTween; if (controller._overscroll_indicator$_state === B._GlowState_0) t2 = 0.3; else { t2 = A._lateReadCheck(controller.___GlowController__glowOpacity, "_glowOpacity"); t3 = t2._evaluatable; t2 = t2.parent; t2 = t3.transform$1(0, t2.get$value(t2)); } t1.begin = t2; t2.toString; t1.end = B.JSNumber_methods.clamp$2(velocity * 0.00006, t2, 0.5); t2 = controller._glowSizeTween; t1 = A._lateReadCheck(controller.___GlowController__glowSize, "_glowSize"); t3 = t1._evaluatable; t1 = t1.parent; t2.begin = t3.transform$1(0, t1.get$value(t1)); t2.end = Math.min(0.025 + 75e-8 * velocity * velocity, 1); A._lateReadCheck(controller.___GlowController__glowController, _s15_).duration = A.Duration$(0, 0, 0, B.JSNumber_methods.round$0(0.15 + velocity * 0.02), 0); A._lateReadCheck(controller.___GlowController__glowController, _s15_).forward$1$from(0, 0); controller._displacement = 0.5; controller._overscroll_indicator$_state = B._GlowState_1; } else { t1 = notification.dragDetails; if (t1 != null) { t4 = notification.context.get$renderObject(); t4.toString; type$.RenderBox._as(t4); t5 = t4._size; t5.toString; position = t4.globalToLocal$1(t1.globalPosition); switch (A.axisDirectionToAxis(t2.axisDirection).index) { case 0: controller.toString; t1 = t5._dy; controller.pull$4(0, Math.abs(t3), t5._dx, B.JSNumber_methods.clamp$2(position._dy, 0, t1), t1); break; case 1: controller.toString; t1 = t5._dx; controller.pull$4(0, Math.abs(t3), t5._dy, B.JSNumber_methods.clamp$2(position._dx, 0, t1), t1); break; } } } } else if (notification instanceof A.ScrollEndNotification || notification instanceof A.ScrollUpdateNotification) if (notification.get$dragDetails() != null) { t1 = _this._leadingController; if (t1._overscroll_indicator$_state === B._GlowState_2) t1._recede$1(B.Duration_600000); t1 = _this._trailingController; if (t1._overscroll_indicator$_state === B._GlowState_2) t1._recede$1(B.Duration_600000); } _this._lastNotificationType = A.getRuntimeType(notification); return false; }, dispose$0(_) { this._leadingController.dispose$0(0); this._trailingController.dispose$0(0); this.super$__GlowingOverscrollIndicatorState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var _this = this, _null = null, t1 = _this._widget, t2 = _this._leadingController, t3 = _this._trailingController, t4 = t1.axisDirection, t5 = _this._leadingAndTrailingListener; return new A.NotificationListener(new A.RepaintBoundary(A.CustomPaint$(new A.RepaintBoundary(t1.child, _null), new A._GlowingOverscrollIndicatorPainter(t2, t3, t4, t5), _null, _null, B.Size_0_0), _null), _this.get$_overscroll_indicator$_handleScrollNotification(), _null, type$.NotificationListener_ScrollNotification); } }; A._GlowState.prototype = { toString$0(_) { return "_GlowState." + this._core$_name; } }; A._GlowController.prototype = { set$color(_, value) { if (this._overscroll_indicator$_color.$eq(0, value)) return; this._overscroll_indicator$_color = value; this.notifyListeners$0(); }, set$axis(value) { if (this._axis === value) return; this._axis = value; this.notifyListeners$0(); }, dispose$0(_) { var t1, _this = this; A._lateReadCheck(_this.___GlowController__glowController, "_glowController").dispose$0(0); t1 = A._lateReadCheck(_this.___GlowController__displacementTicker, "_displacementTicker"); t1._creator.TickerProviderStateMixin__tickers.remove$1(0, t1); t1.super$Ticker$dispose(0); t1 = _this._pullRecedeTimer; if (t1 != null) t1.cancel$0(0); _this.super$ChangeNotifier$dispose(0); }, pull$4(_, overscroll, extent, crossAxisOffset, crossExtent) { var t2, t3, height, t4, _this = this, _s12_ = "_glowOpacity", _s9_ = "_glowSize", _s19_ = "_displacementTicker", _s15_ = "_glowController", t1 = _this._pullRecedeTimer; if (t1 != null) t1.cancel$0(0); _this._pullDistance = _this._pullDistance + overscroll / 200; t1 = _this._glowOpacityTween; t2 = A._lateReadCheck(_this.___GlowController__glowOpacity, _s12_); t3 = t2._evaluatable; t2 = t2.parent; t1.begin = t3.transform$1(0, t2.get$value(t2)); t2 = A._lateReadCheck(_this.___GlowController__glowOpacity, _s12_); t3 = t2._evaluatable; t2 = t2.parent; t1.end = Math.min(t3.transform$1(0, t2.get$value(t2)) + overscroll / extent * 0.8, 0.5); height = Math.min(extent, crossExtent * 0.20096189432249995); t2 = _this._glowSizeTween; t3 = A._lateReadCheck(_this.___GlowController__glowSize, _s9_); t1 = t3._evaluatable; t3 = t3.parent; t2.begin = t1.transform$1(0, t3.get$value(t3)); t3 = Math.sqrt(_this._pullDistance * height); t1 = A._lateReadCheck(_this.___GlowController__glowSize, _s9_); t4 = t1._evaluatable; t1 = t1.parent; t2.end = Math.max(1 - 1 / (0.7 * t3), A.checkNum(t4.transform$1(0, t1.get$value(t1)))); t1 = crossAxisOffset / crossExtent; _this._displacementTarget = t1; if (t1 !== _this._displacement) { if (!A._lateReadCheck(_this.___GlowController__displacementTicker, _s19_).get$isTicking()) A._lateReadCheck(_this.___GlowController__displacementTicker, _s19_).start$0(0); } else { A._lateReadCheck(_this.___GlowController__displacementTicker, _s19_).stop$0(0); _this._displacementTickerLastElapsed = null; } A._lateReadCheck(_this.___GlowController__glowController, _s15_).duration = B.Duration_167000; if (_this._overscroll_indicator$_state !== B._GlowState_2) { A._lateReadCheck(_this.___GlowController__glowController, _s15_).forward$1$from(0, 0); _this._overscroll_indicator$_state = B._GlowState_2; } else { t1 = A._lateReadCheck(_this.___GlowController__glowController, _s15_)._ticker; if (!(t1 != null && t1._ticker$_future != null)) _this.notifyListeners$0(); } _this._pullRecedeTimer = A.Timer_Timer(B.Duration_167000, new A._GlowController_pull_closure(_this)); }, _changePhase$1($status) { var _this = this; if ($status !== B.AnimationStatus_3) return; switch (_this._overscroll_indicator$_state.index) { case 1: _this._recede$1(B.Duration_600000); break; case 3: _this._overscroll_indicator$_state = B._GlowState_0; _this._pullDistance = 0; break; case 2: case 0: break; } }, _recede$1(duration) { var t2, t3, _this = this, _s15_ = "_glowController", t1 = _this._overscroll_indicator$_state; if (t1 === B._GlowState_3 || t1 === B._GlowState_0) return; t1 = _this._pullRecedeTimer; if (t1 != null) t1.cancel$0(0); _this._pullRecedeTimer = null; t1 = _this._glowOpacityTween; t2 = A._lateReadCheck(_this.___GlowController__glowOpacity, "_glowOpacity"); t3 = t2._evaluatable; t2 = t2.parent; t1.begin = t3.transform$1(0, t2.get$value(t2)); t1.end = 0; t1 = _this._glowSizeTween; t2 = A._lateReadCheck(_this.___GlowController__glowSize, "_glowSize"); t3 = t2._evaluatable; t2 = t2.parent; t1.begin = t3.transform$1(0, t2.get$value(t2)); t1.end = 0; A._lateReadCheck(_this.___GlowController__glowController, _s15_).duration = duration; A._lateReadCheck(_this.___GlowController__glowController, _s15_).forward$1$from(0, 0); _this._overscroll_indicator$_state = B._GlowState_3; }, _tickDisplacement$1(elapsed) { var t2, _this = this, t1 = _this._displacementTickerLastElapsed; if (t1 != null) { t1 = t1._duration; t2 = _this._displacementTarget; _this._displacement = t2 - (t2 - _this._displacement) * Math.pow(2, -(elapsed._duration - t1) / $.$get$_GlowController__crossAxisHalfTime()._duration); _this.notifyListeners$0(); } if (A.nearEqual(_this._displacementTarget, _this._displacement, 0.001)) { A._lateReadCheck(_this.___GlowController__displacementTicker, "_displacementTicker").stop$0(0); _this._displacementTickerLastElapsed = null; } else _this._displacementTickerLastElapsed = elapsed; }, paint$2(canvas, size) { var baseGlowScale, radius, height, t3, t4, paint, t5, t6, _this = this, _s12_ = "_glowOpacity", t1 = A._lateReadCheck(_this.___GlowController__glowOpacity, _s12_), t2 = t1._evaluatable; t1 = t1.parent; if (J.$eq$(t2.transform$1(0, t1.get$value(t1)), 0)) return; t1 = size._dx; t2 = size._dy; baseGlowScale = t1 > t2 ? t2 / t1 : 1; radius = t1 * 3 / 2; height = Math.min(t2, t1 * 0.20096189432249995); t2 = A._lateReadCheck(_this.___GlowController__glowSize, "_glowSize"); t3 = t2._evaluatable; t2 = t2.parent; t2 = t3.transform$1(0, t2.get$value(t2)); t3 = _this._displacement; t4 = A._detectRenderer(); paint = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4 = _this._overscroll_indicator$_color; t5 = A._lateReadCheck(_this.___GlowController__glowOpacity, _s12_); t6 = t5._evaluatable; t5 = t5.parent; paint.set$color(0, A.Color$fromARGB(B.JSNumber_methods.round$0(255 * t6.transform$1(0, t5.get$value(t5))), t4.get$value(t4) >>> 16 & 255, t4.get$value(t4) >>> 8 & 255, t4.get$value(t4) & 255)); canvas.save$0(0); canvas.translate$2(0, 0, _this._overscroll_indicator$_paintOffset + _this._paintOffsetScrollPixels); canvas.scale$2(0, 1, t2 * baseGlowScale); canvas.clipRect$1(0, new A.Rect(0, 0, 0 + t1, 0 + height)); canvas.drawCircle$3(0, new A.Offset(t1 / 2 * (0.5 + t3), height - radius), radius, paint); canvas.restore$0(0); } }; A._GlowController_pull_closure.prototype = { call$0() { return this.$this._recede$1(B.Duration_2000000); }, $signature: 0 }; A._GlowingOverscrollIndicatorPainter.prototype = { _paintSide$5(canvas, size, controller, axisDirection, growthDirection) { var t1; if (controller == null) return; switch (A.applyGrowthDirectionToAxisDirection(axisDirection, growthDirection)) { case B.AxisDirection_0: controller.paint$2(canvas, size); break; case B.AxisDirection_2: canvas.save$0(0); canvas.translate$2(0, 0, size._dy); canvas.scale$2(0, 1, -1); controller.paint$2(canvas, size); canvas.restore$0(0); break; case B.AxisDirection_3: canvas.save$0(0); canvas.rotate$1(0, 1.5707963267948966); canvas.scale$2(0, 1, -1); controller.paint$2(canvas, new A.Size(size._dy, size._dx)); canvas.restore$0(0); break; case B.AxisDirection_1: canvas.save$0(0); t1 = size._dx; canvas.translate$2(0, t1, 0); canvas.rotate$1(0, 1.5707963267948966); controller.paint$2(canvas, new A.Size(size._dy, t1)); canvas.restore$0(0); break; } }, paint$2(canvas, size) { var _this = this, t1 = _this.axisDirection; _this._paintSide$5(canvas, size, _this.leadingController, t1, B.GrowthDirection_1); _this._paintSide$5(canvas, size, _this.trailingController, t1, B.GrowthDirection_0); }, shouldRepaint$1(oldDelegate) { return oldDelegate.leadingController != this.leadingController || oldDelegate.trailingController != this.trailingController; } }; A.StretchingOverscrollIndicator.prototype = { createState$0() { return new A._StretchingOverscrollIndicatorState(null, B._StateLifecycle_0); }, notificationPredicate$1(arg0) { return A.scroll_notification__defaultScrollNotificationPredicate$closure().call$1(arg0); } }; A._StretchingOverscrollIndicatorState.prototype = { get$_stretchController() { var t1, t2, result, t3, decelerator, _this = this, _null = null, _s18_ = "_stretchController", value = _this.___StretchingOverscrollIndicatorState__stretchController; if (value === $) { t1 = type$.Tween_double; t2 = new A.Tween(0, 0, t1); result = new A._StretchController(t2, B._StretchState_0, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); t3 = A.AnimationController$(_null, _null, _null, 1, _null, _this); t3.addStatusListener$1(result.get$_changePhase()); A._lateWriteOnceCheck(result.___StretchController__stretchController, _s18_); result.___StretchController__stretchController = t3; decelerator = A.CurvedAnimation$(B.C__DecelerateCurve, A._lateReadCheck(t3, _s18_), _null); decelerator.parent.addListener$1(0, result.get$notifyListeners()); type$.Animation_double._as(decelerator); A._lateWriteOnceCheck(result.___StretchController__stretchSize, "_stretchSize"); result.___StretchController__stretchSize = new A._AnimatedEvaluation(decelerator, t2, t1._eval$1("_AnimatedEvaluation<Animatable.T>")); A._lateInitializeOnceCheck(_this.___StretchingOverscrollIndicatorState__stretchController, _s18_); _this.___StretchingOverscrollIndicatorState__stretchController = result; value = result; } return value; }, _overscroll_indicator$_handleScrollNotification$1(notification) { var t1, t2, velocity, t3, t4, _this = this, _s12_ = "_stretchSize", _s18_ = "_stretchController"; if (!_this._widget.notificationPredicate$1(notification)) return false; if (notification instanceof A.OverscrollNotification) { _this._lastOverscrollNotification = notification; J.get$runtimeType$(_this._lastNotification); t1 = notification.overscroll; t2 = _this._framework$_element; t2.toString; new A.OverscrollIndicatorNotification(t1 < 0, 0).dispatch$1(t2); _this._accepted = true; t2 = notification.velocity; if (t2 !== 0) { t1 = _this.get$_stretchController(); velocity = B.JSNumber_methods.clamp$2(Math.abs(t2), 1, 10000); t2 = t1._stretchSizeTween; t3 = A._lateReadCheck(t1.___StretchController__stretchSize, _s12_); t4 = t3._evaluatable; t3 = t3.parent; t2.begin = t4.transform$1(0, t3.get$value(t3)); t2.end = Math.min(0.016 + 1.01 / velocity, 1); A._lateReadCheck(t1.___StretchController__stretchController, _s18_).duration = A.Duration$(0, 0, 0, B.JSNumber_methods.round$0(velocity * 0.02), 0); A._lateReadCheck(t1.___StretchController__stretchController, _s18_).forward$1$from(0, 0); t1._overscroll_indicator$_state = B._StretchState_1; } else if (notification.dragDetails != null) { t2 = _this.get$_stretchController(); t3 = notification.metrics._scroll_metrics$_viewportDimension; t3.toString; t2._pullDistance = Math.abs(t1) / t3 + t2._pullDistance; t3 = t2._stretchSizeTween; t1 = A._lateReadCheck(t2.___StretchController__stretchSize, _s12_); t4 = t1._evaluatable; t1 = t1.parent; t3.begin = t4.transform$1(0, t1.get$value(t1)); t1 = t2._pullDistance; t3.end = 0.016 * t1 + 0.016 * (1 - Math.exp(-t1 * 8.237217661997105)); A._lateReadCheck(t2.___StretchController__stretchController, _s18_).duration = B.Duration_400000; if (t2._overscroll_indicator$_state !== B._StretchState_2) { A._lateReadCheck(t2.___StretchController__stretchController, _s18_).forward$1$from(0, 0); t2._overscroll_indicator$_state = B._StretchState_2; } else { t1 = A._lateReadCheck(t2.___StretchController__stretchController, _s18_)._ticker; if (!(t1 != null && t1._ticker$_future != null)) t2.notifyListeners$0(); } } } else if (notification instanceof A.ScrollEndNotification || notification instanceof A.ScrollUpdateNotification) { t1 = _this.get$_stretchController(); if (t1._overscroll_indicator$_state === B._StretchState_2) t1._recede$1(B.Duration_400000); } _this._lastNotification = notification; return false; }, _getAlignmentForAxisDirection$1(overscroll) { switch (this._widget.axisDirection.index) { case 0: return overscroll > 0 ? B.AlignmentDirectional_0_m1 : B.AlignmentDirectional_0_1; case 1: return overscroll > 0 ? B.AlignmentDirectional_1_0 : B.AlignmentDirectional_m1_0; case 2: return overscroll > 0 ? B.AlignmentDirectional_0_1 : B.AlignmentDirectional_0_m1; case 3: return overscroll > 0 ? B.AlignmentDirectional_m1_0 : B.AlignmentDirectional_1_0; } }, dispose$0(_) { var t1 = this.get$_stretchController(); A._lateReadCheck(t1.___StretchController__stretchController, "_stretchController").dispose$0(0); t1.super$ChangeNotifier$dispose(0); this.super$__StretchingOverscrollIndicatorState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var t1 = {}, t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; t1.mainAxisSize = null; return new A.NotificationListener(A.AnimatedBuilder$(this.get$_stretchController(), new A._StretchingOverscrollIndicatorState_build_closure(t1, this, t2.size), null), this.get$_overscroll_indicator$_handleScrollNotification(), null, type$.NotificationListener_ScrollNotification); } }; A._StretchingOverscrollIndicatorState_build_closure.prototype = { call$2(context, child) { var x, y, alignment, viewportDimension, transform, _this = this, t1 = _this.$this, t2 = A._lateReadCheck(t1.get$_stretchController().___StretchController__stretchSize, "_stretchSize"), t3 = t2._evaluatable; t2 = t2.parent; t2 = t3.transform$1(0, t2.get$value(t2)); switch (A.axisDirectionToAxis(t1._widget.axisDirection).index) { case 0: x = 1 + t2; _this._box_0.mainAxisSize = _this.size._dx; y = 1; break; case 1: y = 1 + t2; _this._box_0.mainAxisSize = _this.size._dy; x = 1; break; default: x = 1; y = 1; } t3 = t1._lastOverscrollNotification; t3 = t3 == null ? null : t3.overscroll; alignment = t1._getAlignmentForAxisDirection$1(t3 == null ? 0 : t3); t3 = t1._lastOverscrollNotification; if (t3 == null) viewportDimension = null; else { t3 = t3.metrics._scroll_metrics$_viewportDimension; t3.toString; viewportDimension = t3; } if (viewportDimension == null) viewportDimension = _this._box_0.mainAxisSize; t3 = A.Matrix4_Matrix4$diagonal3Values(x, y, 1); transform = A.Transform$(alignment, t1._widget.child, t3, true); if (t2 !== 0 && viewportDimension !== _this._box_0.mainAxisSize) return A.ClipRect$(transform, null); return transform; }, $signature: 53 }; A._StretchState.prototype = { toString$0(_) { return "_StretchState." + this._core$_name; } }; A._StretchController.prototype = { get$value(_) { var t1 = A._lateReadCheck(this.___StretchController__stretchSize, "_stretchSize"), t2 = t1._evaluatable; t1 = t1.parent; return t2.transform$1(0, t1.get$value(t1)); }, _changePhase$1($status) { var _this = this; if ($status !== B.AnimationStatus_3) return; switch (_this._overscroll_indicator$_state.index) { case 1: _this._recede$1(B.Duration_400000); break; case 3: _this._overscroll_indicator$_state = B._StretchState_0; _this._pullDistance = 0; break; case 2: case 0: break; } }, _recede$1(duration) { var t2, t3, _this = this, _s18_ = "_stretchController", t1 = _this._overscroll_indicator$_state; if (t1 === B._StretchState_3 || t1 === B._StretchState_0) return; t1 = _this._stretchSizeTween; t2 = A._lateReadCheck(_this.___StretchController__stretchSize, "_stretchSize"); t3 = t2._evaluatable; t2 = t2.parent; t1.begin = t3.transform$1(0, t2.get$value(t2)); t1.end = 0; A._lateReadCheck(_this.___StretchController__stretchController, _s18_).duration = duration; A._lateReadCheck(_this.___StretchController__stretchController, _s18_).forward$1$from(0, 0); _this._overscroll_indicator$_state = B._StretchState_3; }, dispose$0(_) { A._lateReadCheck(this.___StretchController__stretchController, "_stretchController").dispose$0(0); this.super$ChangeNotifier$dispose(0); } }; A.OverscrollIndicatorNotification.prototype = { debugFillDescription$1(description) { this.super$_OverscrollIndicatorNotification_Notification_ViewportNotificationMixin$debugFillDescription(description); description.push("side: " + (this.leading ? "leading edge" : "trailing edge")); } }; A._OverscrollIndicatorNotification_Notification_ViewportNotificationMixin.prototype = { visitAncestor$1(element) { if (element instanceof A.RenderObjectElement && type$.RenderAbstractViewport._is(element.get$renderObject())) ++this.ViewportNotificationMixin__depth; return this.super$Notification$visitAncestor(element); }, debugFillDescription$1(description) { var t1; this.super$Notification$debugFillDescription(description); t1 = "depth: " + this.ViewportNotificationMixin__depth + " ("; description.push(t1 + (this.ViewportNotificationMixin__depth === 0 ? "local" : "remote") + ")"); } }; A.__GlowingOverscrollIndicatorState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.__StretchingOverscrollIndicatorState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._StorageEntryIdentifier.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A._StorageEntryIdentifier && A.listEquals0(other.keys, this.keys); }, get$hashCode(_) { return A.hashList(this.keys); }, toString$0(_) { return "StorageEntryIdentifier(" + B.JSArray_methods.join$1(this.keys, ":") + ")"; } }; A.PageStorageBucket.prototype = { _allKeys$1(context) { var keys = A._setArrayType([], type$.JSArray_PageStorageKey_dynamic); if (A.PageStorageBucket__maybeAddKey(context, keys)) context.visitAncestorElements$1(new A.PageStorageBucket__allKeys_closure(keys)); return keys; }, writeState$2(context, data) { var t1, _this = this; if (_this._storage == null) _this._storage = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.dynamic); t1 = _this._allKeys$1(context); if (t1.length !== 0) _this._storage.$indexSet(0, new A._StorageEntryIdentifier(t1), data); }, readState$1(context) { var t1; if (this._storage == null) return null; t1 = this._allKeys$1(context); return t1.length !== 0 ? this._storage.$index(0, new A._StorageEntryIdentifier(t1)) : null; } }; A.PageStorageBucket__allKeys_closure.prototype = { call$1(element) { return A.PageStorageBucket__maybeAddKey(element, this.keys); }, $signature: 37 }; A.PageStorage.prototype = { build$1(_, context) { return this.child; } }; A.PageController.prototype = { animateToPage$3$curve$duration(page, curve, duration) { var position = type$._PagePosition._as(B.JSArray_methods.get$single(this._positions)); if (position._cachedPage != null) { position._cachedPage = page; return A.Future_Future$value(null, type$.void); } return position.animateTo$3$curve$duration(position.getPixelsFromPage$1(page), curve, duration); }, jumpToPage$1(page) { var position = type$._PagePosition._as(B.JSArray_methods.get$single(this._positions)); if (position._cachedPage != null) { position._cachedPage = page; return; } position.jumpTo$1(position.getPixelsFromPage$1(page)); }, createScrollPosition$3(physics, context, oldPosition) { var _null = null, t1 = type$.nullable_void_Function; t1 = new A._PagePosition(this.initialPage, this.viewportFraction, B.ScrollDirection_0, physics, context, true, _null, new A.ValueNotifier(false, A.List_List$filled(0, _null, false, t1), type$.ValueNotifier_bool), A.List_List$filled(0, _null, false, t1)); t1.ScrollPosition$5$context$debugLabel$keepScrollOffset$oldPosition$physics(context, _null, true, oldPosition, physics); t1.ScrollPositionWithSingleContext$6$context$debugLabel$initialPixels$keepScrollOffset$oldPosition$physics(context, _null, _null, true, oldPosition, physics); return t1; }, attach$1(position) { this.super$ScrollController$attach(position); type$._PagePosition._as(position).set$viewportFraction(this.viewportFraction); } }; A.PageMetrics.prototype = {}; A._PagePosition.prototype = { ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(object, alignment, alignmentPolicy, curve, duration, targetRenderObject) { return this.super$ScrollPosition$ensureVisible(object, alignment, alignmentPolicy, curve, duration, null); }, ensureVisible$3$curve$duration(object, curve, duration) { return this.ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(object, 0, B.ScrollPositionAlignmentPolicy_0, curve, duration, null); }, set$viewportFraction(value) { var oldPage, _this = this; if (_this._viewportFraction === value) return; oldPage = _this.get$page(_this); _this._viewportFraction = value; if (oldPage != null) _this.forcePixels$1(_this.getPixelsFromPage$1(oldPage)); }, get$_initialPageOffset() { var t1 = this._viewportDimension; t1.toString; return Math.max(0, t1 * (this._viewportFraction - 1) / 2); }, getPageFromPixels$2(pixels, viewportDimension) { var actual = Math.max(0, pixels - this.get$_initialPageOffset()) / (viewportDimension * this._viewportFraction), round = B.JSNumber_methods.roundToDouble$0(actual); if (Math.abs(actual - round) < 1e-10) return round; return actual; }, getPixelsFromPage$1(page) { var t1 = this._viewportDimension; t1.toString; return page * t1 * this._viewportFraction + this.get$_initialPageOffset(); }, get$page(_) { var t2, t3, _this = this, t1 = _this._pixels; if (t1 != null) t2 = !(_this._scroll_position$_minScrollExtent != null && _this._scroll_position$_maxScrollExtent != null); else t2 = true; if (t2) t1 = null; else { t2 = _this._cachedPage; if (t2 == null) { t1.toString; t2 = _this._scroll_position$_minScrollExtent; t2.toString; t3 = _this._scroll_position$_maxScrollExtent; t3.toString; t3 = B.JSNumber_methods.clamp$2(t1, t2, t3); t2 = _this._viewportDimension; t2.toString; t2 = _this.getPageFromPixels$2(t3, t2); t1 = t2; } else t1 = t2; } return t1; }, saveScrollOffset$0() { var t3, t4, _this = this, t1 = _this.context, t2 = t1._framework$_element; t2.toString; t2 = A.PageStorage_of(t2); if (t2 != null) { t1 = t1._framework$_element; t1.toString; t3 = _this._cachedPage; if (t3 == null) { t3 = _this._pixels; t3.toString; t4 = _this._viewportDimension; t4.toString; t4 = _this.getPageFromPixels$2(t3, t4); t3 = t4; } t2.writeState$2(t1, t3); } }, restoreScrollOffset$0() { var t1, t2; if (this._pixels == null) { t1 = this.context; t2 = t1._framework$_element; t2.toString; t2 = A.PageStorage_of(t2); if (t2 == null) t1 = null; else { t1 = t1._framework$_element; t1.toString; t1 = t2.readState$1(t1); } A._asDoubleQ(t1); if (t1 != null) this._pageToUseOnStartup = t1; } }, saveOffset$0() { var t2, _this = this, t1 = _this._cachedPage; if (t1 == null) { t1 = _this._pixels; t1.toString; t2 = _this._viewportDimension; t2.toString; t2 = _this.getPageFromPixels$2(t1, t2); t1 = t2; } _this.context._persistedScrollOffset.set$value(0, t1); A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").flushData$0(); }, restoreOffset$2$initialRestore(offset, initialRestore) { if (initialRestore) this._pageToUseOnStartup = offset; else this.jumpTo$1(this.getPixelsFromPage$1(offset)); }, applyViewportDimension$1(viewportDimension) { var oldPixels, page, t1, newPixels, _this = this, oldViewportDimensions = _this._viewportDimension; oldViewportDimensions = oldViewportDimensions != null ? oldViewportDimensions : null; if (viewportDimension === oldViewportDimensions) return true; _this.super$ScrollPosition$applyViewportDimension(viewportDimension); oldPixels = _this._pixels; oldPixels = oldPixels != null ? oldPixels : null; if (oldPixels == null) page = _this._pageToUseOnStartup; else if (oldViewportDimensions === 0) { t1 = _this._cachedPage; t1.toString; page = t1; } else { oldViewportDimensions.toString; page = _this.getPageFromPixels$2(oldPixels, oldViewportDimensions); } newPixels = _this.getPixelsFromPage$1(page); _this._cachedPage = viewportDimension === 0 ? page : null; if (newPixels !== oldPixels) { _this._pixels = newPixels; return false; } return true; }, applyContentDimensions$2(minScrollExtent, maxScrollExtent) { var newMinScrollExtent = minScrollExtent + this.get$_initialPageOffset(); return this.super$ScrollPosition$applyContentDimensions(newMinScrollExtent, Math.max(newMinScrollExtent, maxScrollExtent - this.get$_initialPageOffset())); }, copyWith$0() { var t2, t3, t4, t5, t6, _this = this, _null = null, t1 = _this._scroll_position$_minScrollExtent; if (t1 != null && _this._scroll_position$_maxScrollExtent != null) t1.toString; else t1 = _null; if (_this._scroll_position$_minScrollExtent != null && _this._scroll_position$_maxScrollExtent != null) { t2 = _this._scroll_position$_maxScrollExtent; t2.toString; } else t2 = _null; t3 = _this._pixels; t3 = t3 != null ? t3 : _null; t4 = _this._viewportDimension; t4 = t4 != null ? t4 : _null; t5 = _this.context._widget; t5 = t5.axisDirection; t6 = _this._viewportFraction; return new A.PageMetrics(t6, t1, t2, t3, t4, t5); }, $isPageMetrics: 1 }; A._ForceImplicitScrollPhysics.prototype = { applyTo$1(ancestor) { return new A._ForceImplicitScrollPhysics(false, this.buildParent$1(ancestor)); }, get$allowImplicitScrolling() { return this.allowImplicitScrolling; } }; A.PageScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.PageScrollPhysics(this.buildParent$1(ancestor)); }, _getPage$1(position) { var t1, t2; if (position instanceof A._PagePosition) { t1 = position.get$page(position); t1.toString; return t1; } t1 = position._pixels; t1.toString; t2 = position._viewportDimension; t2.toString; return t1 / t2; }, _getPixels$2(position, page) { var t1; if (position instanceof A._PagePosition) return position.getPixelsFromPage$1(page); t1 = position._viewportDimension; t1.toString; return page * t1; }, createBallisticSimulation$2(position, velocity) { var t1, tolerance, page, target, t2, _this = this; if (velocity <= 0) { t1 = position._pixels; t1.toString; t1 = t1 <= position.get$minScrollExtent(); } else t1 = false; if (!t1) if (velocity >= 0) { t1 = position._pixels; t1.toString; t1 = t1 >= position.get$maxScrollExtent(); } else t1 = false; else t1 = true; if (t1) return _this.super$ScrollPhysics$createBallisticSimulation(position, velocity); tolerance = _this.get$tolerance(); page = _this._getPage$1(position); t1 = tolerance.velocity; if (velocity < -t1) page -= 0.5; else if (velocity > t1) page += 0.5; target = _this._getPixels$2(position, B.JSNumber_methods.roundToDouble$0(page)); t1 = position._pixels; t1.toString; if (target !== t1) { t1 = _this.get$spring(); t2 = position._pixels; t2.toString; return new A.ScrollSpringSimulation(target, A._SpringSolution__SpringSolution(t1, t2 - target, velocity), tolerance); } return null; }, get$allowImplicitScrolling() { return false; } }; A.PageView.prototype = { createState$0() { return new A._PageViewState(B._StateLifecycle_0); } }; A._PageViewState.prototype = { initState$0() { this.super$State$initState(); this._lastReportedPage = this._widget.controller.initialPage; }, _getDirection$1(context) { var t1, axisDirection; switch (this._widget.scrollDirection.index) { case 0: t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; axisDirection = A.textDirectionToAxisDirection(t1.textDirection); this._widget.toString; return axisDirection; case 1: return B.AxisDirection_2; } }, build$1(_, context) { var t2, t3, t4, _this = this, _null = null, axisDirection = _this._getDirection$1(context), t1 = _this._widget.physics; if (t1 == null) t1 = _null; t1 = new A.PageScrollPhysics(B.PageScrollPhysics_null.buildParent$1(t1)); t1 = new A._ForceImplicitScrollPhysics(false, _null).buildParent$1(t1); t2 = _this._widget; t3 = t2.dragStartBehavior; t2 = t2.controller; t4 = A.ScrollConfiguration_of(context).copyWith$1$scrollbars(false); return new A.NotificationListener(A.Scrollable$(axisDirection, t2, t3, false, new A._ForceImplicitScrollPhysics(false, t1), _null, t4, _null, new A._PageViewState_build_closure(_this, axisDirection)), new A._PageViewState_build_closure0(_this), _null, type$.NotificationListener_ScrollNotification); } }; A._PageViewState_build_closure0.prototype = { call$1(notification) { var metrics, t1, t2, t3, currentPage; if (notification.ViewportNotificationMixin__depth === 0 && this.$this._widget.onPageChanged != null && notification instanceof A.ScrollUpdateNotification) { metrics = type$.PageMetrics._as(notification.metrics); t1 = metrics._scroll_metrics$_pixels; t1.toString; t2 = metrics._minScrollExtent; t2.toString; t3 = metrics._maxScrollExtent; t3.toString; t3 = Math.max(0, B.JSNumber_methods.clamp$2(t1, t2, t3)); t2 = metrics._scroll_metrics$_viewportDimension; t2.toString; currentPage = B.JSNumber_methods.round$0(t3 / Math.max(1, t2 * metrics.viewportFraction)); t1 = this.$this; if (currentPage !== t1._lastReportedPage) { t1._lastReportedPage = currentPage; t1._widget.onPageChanged.call$1(currentPage); } } return false; }, $signature: 72 }; A._PageViewState_build_closure.prototype = { call$2(context, position) { var t1 = this.$this._widget; return A.Viewport$(0, this.axisDirection, 0, B.CacheExtentStyle_1, null, B.Clip_1, position, A._setArrayType([new A.SliverFillViewport(t1.controller.viewportFraction, true, t1.childrenDelegate, null)], type$.JSArray_Widget)); }, $signature: 684 }; A.PageRoute.prototype = { get$opaque() { return true; }, get$barrierDismissible() { return false; }, canTransitionTo$1(nextRoute) { return nextRoute instanceof A.PageRoute; }, canTransitionFrom$1(previousRoute) { return previousRoute instanceof A.PageRoute; } }; A.PageRouteBuilder.prototype = { buildPage$3(context, animation, secondaryAnimation) { return this.pageBuilder.call$3(context, animation, secondaryAnimation); }, buildTransitions$4(context, animation, secondaryAnimation, child) { return A._defaultTransitionsBuilder(context, animation, secondaryAnimation, child); }, get$transitionDuration() { return B.Duration_300000; }, get$reverseTransitionDuration() { return B.Duration_300000; }, get$opaque() { return true; }, get$barrierDismissible() { return false; }, get$barrierColor() { return null; }, get$barrierLabel() { return null; }, get$maintainState() { return true; } }; A.PerformanceOverlay.prototype = { createRenderObject$1(context) { var t1 = new A.RenderPerformanceOverlay(this.optionsMask, 0, false, false, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = true; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$optionsMask(this.optionsMask); renderObject.set$rasterizerThreshold(0); } }; A.HtmlElementView.prototype = { build$1(_, context) { return new A.PlatformViewLink(new A.HtmlElementView_build_closure(), this.get$_createHtmlElementView(), this.viewType, null); }, _createHtmlElementView$1(params) { var controller = new A._HtmlElementViewController(params.id, this.viewType); controller._platform_view$_initialize$0().then$1$1(0, new A.HtmlElementView__createHtmlElementView_closure(this, params), type$.Null); return controller; } }; A.HtmlElementView_build_closure.prototype = { call$2(context, controller) { return new A.PlatformViewSurface(controller, B.Set_empty, B.PlatformViewHitTestBehavior_0, null); }, $signature: 686 }; A.HtmlElementView__createHtmlElementView_closure.prototype = { call$1(_) { var t1 = this.params, t2 = t1.id; t1.onPlatformViewCreated.call$1(t2); t1 = this.$this.onPlatformViewCreated; if (t1 != null) t1.call$1(t2); }, $signature: 27 }; A._HtmlElementViewController.prototype = { _platform_view$_initialize$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$_platform_view$_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 $async$goto = 2; return A._asyncAwait(B.MethodChannel_qdG._invokeMethod$1$3$arguments$missingOk("create", A.LinkedHashMap_LinkedHashMap$_literal(["id", $async$self.viewId, "viewType", $async$self.viewType], type$.String, type$.dynamic), false, type$.void), $async$_platform_view$_initialize$0); case 2: // returning from await. $async$self._initialized = true; // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_platform_view$_initialize$0, $async$completer); }, clearFocus$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$clearFocus$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 // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$clearFocus$0, $async$completer); }, dispatchPointerEvent$1($event) { return this.dispatchPointerEvent$body$_HtmlElementViewController($event); }, dispatchPointerEvent$body$_HtmlElementViewController($event) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$dispatchPointerEvent$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 // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$dispatchPointerEvent$1, $async$completer); }, dispose$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this; var $async$dispose$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._initialized ? 2 : 3; break; case 2: // then $async$goto = 4; return A._asyncAwait(B.MethodChannel_qdG._invokeMethod$1$3$arguments$missingOk("dispose", $async$self.viewId, false, type$.void), $async$dispose$0); case 4: // returning from await. case 3: // join // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$dispose$0, $async$completer); }, get$viewId() { return this.viewId; } }; A.PlatformViewCreationParams.prototype = { get$id(receiver) { return this.id; } }; A.PlatformViewLink.prototype = { createState$0() { return new A._PlatformViewLinkState(B._StateLifecycle_0); }, _surfaceFactory$2(arg0, arg1) { return this._surfaceFactory.call$2(arg0, arg1); }, _onCreatePlatformView$1(arg0) { return this._onCreatePlatformView.call$1(arg0); } }; A._PlatformViewLinkState.prototype = { build$1(_, context) { var t1, t2, _this = this, _null = null; if (!_this._platformViewCreated) return B.SizedBox_yzX; t1 = _this._surface; if (t1 == null) { t1 = _this._widget; t1.toString; t2 = _this._platform_view$_controller; t2.toString; t2 = _this._surface = t1._surfaceFactory$2(context, t2); t1 = t2; } t2 = _this._focusNode; t1.toString; return A.Focus$(false, _null, t1, _null, _null, t2, true, _null, _this.get$_handleFrameworkFocusChanged(), _null, _null, _null); }, initState$0() { var _this = this; _this._focusNode = A.FocusNode$(true, "PlatformView(id: " + A.S(_this._platform_view$_id) + ")", true, null, null, false); _this._platform_view$_initialize$0(); _this.super$State$initState(); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.viewType !== oldWidget.viewType) { t1 = _this._platform_view$_controller; if (t1 != null) t1.dispose$0(0); _this._surface = null; _this._platformViewCreated = false; _this._platform_view$_initialize$0(); } }, _platform_view$_initialize$0() { var _this = this, t1 = $.$get$platformViewsRegistry().getNextPlatformViewId$0(); _this._platform_view$_id = t1; _this._platform_view$_controller = _this._widget._onCreatePlatformView$1(new A.PlatformViewCreationParams(t1, _this.get$_onPlatformViewCreated())); }, _onPlatformViewCreated$1(id) { this.setState$1(new A._PlatformViewLinkState__onPlatformViewCreated_closure(this)); }, _handleFrameworkFocusChanged$1(isFocused) { var t1; if (!isFocused) { t1 = this._platform_view$_controller; if (t1 != null) t1.clearFocus$0(); } B.OptionalMethodChannel_L9J.invokeMethod$1$2("TextInput.setPlatformViewClient", A.LinkedHashMap_LinkedHashMap$_literal(["platformViewId", this._platform_view$_id], type$.String, type$.dynamic), type$.void); }, dispose$0(_) { var t1 = this._platform_view$_controller; if (t1 != null) t1.dispose$0(0); this._platform_view$_controller = null; this.super$State$dispose(0); } }; A._PlatformViewLinkState__onPlatformViewCreated_closure.prototype = { call$0() { this.$this._platformViewCreated = true; }, $signature: 0 }; A.PlatformViewSurface.prototype = { createRenderObject$1(context) { var t1 = new A.PlatformViewRenderBox(this.controller, null, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.set$hitTestBehavior(this.hitTestBehavior); t1._updateGestureRecognizersWithCallBack$2(this.gestureRecognizers, t1._platform_view0$_controller.get$dispatchPointerEvent()); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$controller(0, this.controller); renderObject.set$hitTestBehavior(this.hitTestBehavior); renderObject._updateGestureRecognizersWithCallBack$2(this.gestureRecognizers, renderObject._platform_view0$_controller.get$dispatchPointerEvent()); } }; A.PrimaryScrollController.prototype = { updateShouldNotify$1(oldWidget) { return this.controller != oldWidget.controller; } }; A.RawKeyboardListener.prototype = { createState$0() { return new A._RawKeyboardListenerState(B._StateLifecycle_0); } }; A._RawKeyboardListenerState.prototype = { initState$0() { this.super$State$initState(); this._widget.focusNode.addListener$1(0, this.get$_raw_keyboard_listener$_handleFocusChanged()); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.focusNode; if (_this._widget.focusNode !== t1) { t2 = _this.get$_raw_keyboard_listener$_handleFocusChanged(); t1.removeListener$1(0, t2); _this._widget.focusNode.addListener$1(0, t2); } }, dispose$0(_) { var _this = this; _this._widget.focusNode.removeListener$1(0, _this.get$_raw_keyboard_listener$_handleFocusChanged()); _this._detachKeyboardIfAttached$0(); _this.super$State$dispose(0); }, _raw_keyboard_listener$_handleFocusChanged$0() { if (this._widget.focusNode.get$hasFocus()) this._attachKeyboardIfDetached$0(); else this._detachKeyboardIfAttached$0(); }, _attachKeyboardIfDetached$0() { if (this._listening) return; $.$get$RawKeyboard_instance()._raw_keyboard$_listeners.push(this.get$_handleRawKeyEvent()); this._listening = true; }, _detachKeyboardIfAttached$0() { if (!this._listening) return; B.JSArray_methods.remove$1($.$get$RawKeyboard_instance()._raw_keyboard$_listeners, this.get$_handleRawKeyEvent()); this._listening = false; }, _handleRawKeyEvent$1($event) { this._widget.onKey.call$1($event); }, build$1(_, context) { var _null = null, t1 = this._widget, t2 = t1.focusNode; return A.Focus$(true, _null, t1.child, _null, _null, t2, true, _null, _null, _null, _null, _null); } }; A.RestorationScope.prototype = { createState$0() { return new A._RestorationScopeState(null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), null, true, null, B._StateLifecycle_0); } }; A._RestorationScopeState.prototype = { get$restorationId() { return this._widget.restorationId; }, restoreState$2(oldBucket, initialRestore) { }, build$1(_, context) { return A.UnmanagedRestorationScope$(this.RestorationMixin__bucket, this._widget.child); } }; A.UnmanagedRestorationScope.prototype = { updateShouldNotify$1(oldWidget) { return oldWidget.bucket != this.bucket; } }; A.RootRestorationScope.prototype = { createState$0() { return new A._RootRestorationScopeState(B._StateLifecycle_0); } }; A._RootRestorationScopeState.prototype = { didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); t1 = _this._framework$_element; t1.toString; _this._ancestorBucket = A.RestorationScope_of(t1); _this._loadRootBucketIfNecessary$0(); if (_this._okToRenderBlankContainer == null) { _this._widget.toString; _this._okToRenderBlankContainer = false; } }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._loadRootBucketIfNecessary$0(); }, get$_isWaitingForRootBucket() { this._widget.toString; return false; }, _loadRootBucketIfNecessary$0() { var _this = this; if (_this.get$_isWaitingForRootBucket() && !_this._isLoadingRootBucket) { _this._isLoadingRootBucket = true; ++$.RendererBinding__instance.RendererBinding__firstFrameDeferredCount; A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").get$rootBucket().then$1$1(0, new A._RootRestorationScopeState__loadRootBucketIfNecessary_closure(_this), type$.Null); } }, _replaceRootBucket$0() { var _this = this; _this._rootBucketValid = false; _this._rootBucket = null; A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").removeListener$1(0, _this.get$_replaceRootBucket()); _this._loadRootBucketIfNecessary$0(); }, dispose$0(_) { if (this._rootBucketValid) A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").removeListener$1(0, this.get$_replaceRootBucket()); this.super$State$dispose(0); }, build$1(_, context) { var t2, t3, _this = this, t1 = _this._okToRenderBlankContainer; t1.toString; if (t1 && _this.get$_isWaitingForRootBucket()) return B.SizedBox_0_0_null_null; t1 = _this._ancestorBucket; if (t1 == null) t1 = _this._rootBucket; t2 = _this._widget; t3 = t2.restorationId; return A.UnmanagedRestorationScope$(t1, new A.RestorationScope(t2.child, t3, null)); } }; A._RootRestorationScopeState__loadRootBucketIfNecessary_closure.prototype = { call$1(bucket) { var t1 = this.$this; t1._isLoadingRootBucket = false; if (t1._framework$_element != null) { A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").addListener$1(0, t1.get$_replaceRootBucket()); t1.setState$1(new A._RootRestorationScopeState__loadRootBucketIfNecessary__closure(t1, bucket)); } $.RendererBinding__instance.allowFirstFrame$0(); }, $signature: 688 }; A._RootRestorationScopeState__loadRootBucketIfNecessary__closure.prototype = { call$0() { var t1 = this.$this; t1._rootBucket = this.bucket; t1._rootBucketValid = true; t1._okToRenderBlankContainer = false; }, $signature: 0 }; A.RestorableProperty.prototype = { get$enabled(_) { return true; }, dispose$0(_) { var _this = this, t1 = _this._restoration0$_owner; if (t1 != null) t1._unregister$1(_this); _this.super$ChangeNotifier$dispose(0); _this._restoration0$_disposed = true; } }; A.RestorationMixin.prototype = { didToggleBucket$1(oldBucket) { }, registerForRestoration$2(property, restorationId) { var _this = this, t1 = _this.RestorationMixin__bucket, hasSerializedValue = (t1 == null ? null : J.containsKey$1$x(t1.get$_rawValues(), restorationId)) === true, initialValue = hasSerializedValue ? property.fromPrimitives$1(J.$index$asx(_this.RestorationMixin__bucket.get$_rawValues(), restorationId)) : property.createDefaultValue$0(); if (property._restoration0$_restorationId == null) { property._restoration0$_restorationId = restorationId; property._restoration0$_owner = _this; t1 = new A.RestorationMixin_registerForRestoration_listener(_this, property); property.addListener$1(0, t1); _this.RestorationMixin__properties.$indexSet(0, property, t1); } property.initWithValue$1(initialValue); if (!hasSerializedValue && property.get$enabled(property) && _this.RestorationMixin__bucket != null) _this._updateProperty$1(property); }, unregisterFromRestoration$1(property) { var t2, t1 = this.RestorationMixin__bucket; if (t1 != null) { t2 = property._restoration0$_restorationId; t2.toString; t1.remove$1$1(0, t2, type$.nullable_Object); } this._unregister$1(property); }, didUpdateRestorationId$0() { var t1, oldBucket, _this = this; if (_this.RestorationMixin__currentParent != null) { t1 = _this.RestorationMixin__bucket; t1 = t1 == null ? null : t1._restorationId; t1 = t1 == _this.get$restorationId() || _this.get$restorePending(); } else t1 = true; if (t1) return; oldBucket = _this.RestorationMixin__bucket; if (_this._updateBucketIfNecessary$2$parent$restorePending(_this.RestorationMixin__currentParent, false)) if (oldBucket != null) oldBucket.dispose$0(0); }, get$restorePending() { var t1, potentialNewParent, _this = this; if (_this.RestorationMixin__firstRestorePending) return true; if (_this.get$restorationId() == null) return false; t1 = _this._framework$_element; t1.toString; potentialNewParent = A.RestorationScope_of(t1); if (potentialNewParent != _this.RestorationMixin__currentParent) { if (potentialNewParent == null) t1 = null; else { t1 = potentialNewParent._restoration$_manager; t1 = t1 == null ? null : t1._isReplacing; t1 = t1 === true; } t1 = t1 === true; } else t1 = false; return t1; }, _updateBucketIfNecessary$2$parent$restorePending($parent, restorePending) { var t1, t2, _this = this; if (_this.get$restorationId() == null || $parent == null) return _this._setNewBucketIfNecessary$2$newBucket$restorePending(null, restorePending); if (restorePending || _this.RestorationMixin__bucket == null) { t1 = _this.get$restorationId(); t1.toString; return _this._setNewBucketIfNecessary$2$newBucket$restorePending($parent.claimChild$2$debugOwner(t1, _this), restorePending); } t1 = _this.RestorationMixin__bucket; t1.toString; t2 = _this.get$restorationId(); t2.toString; t1.rename$1(t2); t2 = _this.RestorationMixin__bucket; t2.toString; $parent.adoptChild$1(t2); return false; }, _setNewBucketIfNecessary$2$newBucket$restorePending(newBucket, restorePending) { var t2, _this = this, t1 = _this.RestorationMixin__bucket; if (newBucket == t1) return false; _this.RestorationMixin__bucket = newBucket; if (!restorePending) { if (newBucket != null) { t2 = _this.RestorationMixin__properties; t2.get$keys(t2).forEach$1(0, _this.get$_updateProperty()); } _this.didToggleBucket$1(t1); } return true; }, _updateProperty$1(property) { var t3, t1 = property.get$enabled(property), t2 = this.RestorationMixin__bucket; if (t1) { if (t2 != null) { t1 = property._restoration0$_restorationId; t1.toString; t3 = property.toPrimitives$0(); if (!J.$eq$(J.$index$asx(t2.get$_rawValues(), t1), t3) || !J.containsKey$1$x(t2.get$_rawValues(), t1)) { J.$indexSet$ax(t2.get$_rawValues(), t1, t3); t2._markNeedsSerialization$0(); } } } else if (t2 != null) { t1 = property._restoration0$_restorationId; t1.toString; t2.remove$1$1(0, t1, type$.Object); } }, _unregister$1(property) { var t1 = this.RestorationMixin__properties.remove$1(0, property); t1.toString; property.removeListener$1(0, t1); property._restoration0$_owner = property._restoration0$_restorationId = null; } }; A.RestorationMixin_registerForRestoration_listener.prototype = { call$0() { var t1 = this.$this; if (t1.RestorationMixin__bucket == null) return; t1._updateProperty$1(this.property); }, $signature: 0 }; A.__RestorationScopeState_State_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.__RestorationScopeState_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_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A.__RestorationScopeState_State_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$State$dispose(0); } }; A.RestorableValue.prototype = { get$value(_) { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value); }, set$value(_, newValue) { var oldValue, _this = this; if (!J.$eq$(newValue, _this._restoration_properties$_value)) { oldValue = _this._restoration_properties$_value; _this._restoration_properties$_value = newValue; _this.didUpdateValue$1(oldValue); } }, initWithValue$1(value) { this._restoration_properties$_value = value; } }; A._RestorablePrimitiveValueN.prototype = { createDefaultValue$0() { return this._defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(serialized) { return A._instanceType(this)._eval$1("_RestorablePrimitiveValueN.T")._as(serialized); }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value); } }; A._RestorablePrimitiveValue.prototype = { fromPrimitives$1(serialized) { return this.super$_RestorablePrimitiveValueN$fromPrimitives(serialized); }, toPrimitives$0() { var t1 = this.super$_RestorablePrimitiveValueN$toPrimitives(); t1.toString; return t1; } }; A.RestorableNum.prototype = {}; A.RestorableBool.prototype = {}; A.RestorableBoolN.prototype = {}; A.RestorableStringN.prototype = {}; A.RestorableDateTime.prototype = { createDefaultValue$0() { return this._defaultValue; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return A.DateTime$fromMillisecondsSinceEpoch(A._asInt(data), false); }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value)._value; } }; A.RestorableListenable.prototype = { get$value(_) { var t1 = this._restoration_properties$_value; t1.toString; return t1; }, initWithValue$1(value) { var _this = this, t1 = _this._restoration_properties$_value; if (t1 != null) t1.removeListener$1(0, _this.get$notifyListeners()); _this._restoration_properties$_value = value; value.toString; J.addListener$1$x(value, _this.get$notifyListeners()); }, dispose$0(_) { var t1; this.super$RestorableProperty$dispose(0); t1 = this._restoration_properties$_value; if (t1 != null) t1.removeListener$1(0, this.get$notifyListeners()); } }; A.RestorableChangeNotifier.prototype = { initWithValue$1(value) { this._disposeOldValue$0(); this.super$RestorableListenable$initWithValue(value); }, dispose$0(_) { this._disposeOldValue$0(); this.super$RestorableListenable$dispose(0); }, _disposeOldValue$0() { var t1 = this._restoration_properties$_value; if (t1 != null) A.scheduleMicrotask(t1.get$dispose(t1)); } }; A.RestorableTextEditingController.prototype = { createDefaultValue$0() { return new A.TextEditingController(this._initialValue, A.List_List$filled(0, null, false, type$.nullable_void_Function)); }, fromPrimitives$1(data) { data.toString; return A.TextEditingController$(A._asString(data)); }, toPrimitives$0() { return this._restoration_properties$_value._change_notifier$_value.text; } }; A.RouteInformation.prototype = {}; A.RouteInformationProvider.prototype = {}; A.PlatformRouteInformationProvider.prototype = { get$value(_) { return this._router$_value; }, _platformReportsNewRouteInformation$1(routeInformation) { var _this = this; if (_this._router$_value === routeInformation) return; _this._valueInEngine = _this._router$_value = routeInformation; _this.notifyListeners$0(); }, addListener$1(_, listener) { if (this.ChangeNotifier__count <= 0) $.WidgetsBinding__instance.WidgetsBinding__observers.push(this); this.super$ChangeNotifier$addListener(0, listener); }, removeListener$1(_, listener) { this.super$ChangeNotifier$removeListener(0, listener); if (this.ChangeNotifier__count <= 0) B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, this); }, dispose$0(_) { if (this.ChangeNotifier__count > 0) B.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, this); this.super$ChangeNotifier$dispose(0); }, didPushRouteInformation$1(routeInformation) { return this.didPushRouteInformation$body$PlatformRouteInformationProvider(routeInformation); }, didPushRouteInformation$body$PlatformRouteInformationProvider(routeInformation) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this; var $async$didPushRouteInformation$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$self._platformReportsNewRouteInformation$1(routeInformation); $async$returnValue = true; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$didPushRouteInformation$1, $async$completer); }, didPushRoute$1(route) { return this.didPushRoute$body$PlatformRouteInformationProvider(route); }, didPushRoute$body$PlatformRouteInformationProvider(route) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this; var $async$didPushRoute$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$self._platformReportsNewRouteInformation$1(new A.RouteInformation(route, null)); $async$returnValue = true; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$didPushRoute$1, $async$completer); } }; A._PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver.prototype = {}; A._PlatformRouteInformationProvider_RouteInformationProvider_WidgetsBindingObserver_ChangeNotifier.prototype = {}; A.OverlayRoute.prototype = { get$overlayEntries() { return this._overlayEntries; }, install$0() { B.JSArray_methods.addAll$1(this._overlayEntries, this.createOverlayEntries$0()); this.super$Route$install(); }, didPop$1(result) { var _this = this; _this.super$Route$didPop(result); if (A._lateReadCheck(_this._routes$_controller.__AnimationController__status, "_status") === B.AnimationStatus_0) _this._navigator$_navigator.finalizeRoute$1(_this); return true; }, dispose$0(_) { B.JSArray_methods.set$length(this._overlayEntries, 0); this.super$Route$dispose(0); } }; A.TransitionRoute.prototype = { get$reverseTransitionDuration() { return this.get$transitionDuration(this); }, get$animation(_) { return this._routes$_animation; }, get$secondaryAnimation() { return this._secondaryAnimation; }, createAnimationController$0() { var _this = this, duration = _this.get$transitionDuration(_this), reverseDuration = _this.get$reverseTransitionDuration(), t1 = _this.get$debugLabel(), t2 = _this._navigator$_navigator; t2.toString; return A.AnimationController$(t1, duration, reverseDuration, 1, null, t2); }, createAnimation$0() { var t1 = this._routes$_controller; t1.toString; return t1; }, _handleStatusChanged$1($status) { var t1, _this = this; switch ($status.index) { case 3: t1 = _this._overlayEntries; if (t1.length !== 0) B.JSArray_methods.get$first(t1).set$opaque(_this.get$opaque()); break; case 1: case 2: t1 = _this._overlayEntries; if (t1.length !== 0) B.JSArray_methods.get$first(t1).set$opaque(false); break; case 0: if (!_this.get$isActive()) _this._navigator$_navigator.finalizeRoute$1(_this); break; } }, install$0() { var t1, _this = this; _this._routes$_controller = _this.createAnimationController$0(); t1 = _this.createAnimation$0(); t1.addStatusListener$1(_this.get$_handleStatusChanged()); _this._routes$_animation = t1; _this.super$OverlayRoute$install(); t1 = _this._routes$_animation; if (t1.get$status(t1) === B.AnimationStatus_3 && _this._overlayEntries.length !== 0) B.JSArray_methods.get$first(_this._overlayEntries).set$opaque(_this.get$opaque()); }, didPush$0() { this.super$Route$didPush(); return this._routes$_controller.forward$0(0); }, didAdd$0() { this.super$Route$didAdd(); var t1 = this._routes$_controller; t1.set$value(0, t1.upperBound); }, didReplace$1(oldRoute) { var t1; if (oldRoute instanceof A.TransitionRoute) { t1 = this._routes$_controller; t1.toString; t1.set$value(0, A._lateReadCheck(oldRoute._routes$_controller.__AnimationController__value, "_value")); } this.super$Route$didReplace(oldRoute); }, didPop$1(result) { this._result = result; this._routes$_controller.reverse$0(0); this.super$OverlayRoute$didPop(result); return true; }, didPopNext$1(nextRoute) { this._updateSecondaryAnimation$1(nextRoute); this.super$Route$didPopNext(nextRoute); }, didChangeNext$1(nextRoute) { this._updateSecondaryAnimation$1(nextRoute); this.super$Route$didChangeNext(nextRoute); }, _updateSecondaryAnimation$1(nextRoute) { var current, t2, t3, t4, t5, newAnimation, _this = this, t1 = {}, previousTrainHoppingListenerRemover = _this._trainHoppingListenerRemover; _this._trainHoppingListenerRemover = null; if (nextRoute instanceof A.TransitionRoute && _this.canTransitionTo$1(nextRoute) && nextRoute.canTransitionFrom$1(_this)) { current = _this._secondaryAnimation._animations$_parent; if (current != null) { t2 = current instanceof A.TrainHoppingAnimation ? current._currentTrain : current; t2.toString; t3 = nextRoute._routes$_animation; t3.toString; t4 = J.$eq$(t2.get$value(t2), t3.get$value(t3)) || t3.get$status(t3) === B.AnimationStatus_3 || t3.get$status(t3) === B.AnimationStatus_0; t5 = nextRoute._transitionCompleter.future; if (t4) _this._setSecondaryAnimation$2(t3, t5); else { t1.newAnimation = null; t4 = new A.TransitionRoute__updateSecondaryAnimation__jumpOnAnimationEnd(_this, t3, nextRoute); _this._trainHoppingListenerRemover = new A.TransitionRoute__updateSecondaryAnimation_closure(t1, t3, t4); t3.addStatusListener$1(t4); newAnimation = A.TrainHoppingAnimation$(t2, t3, new A.TransitionRoute__updateSecondaryAnimation_closure0(t1, _this, nextRoute)); t1.newAnimation = newAnimation; _this._setSecondaryAnimation$2(newAnimation, t5); } } else _this._setSecondaryAnimation$2(nextRoute._routes$_animation, nextRoute._transitionCompleter.future); } else _this._setSecondaryAnimation$1(B.C__AlwaysDismissedAnimation); if (previousTrainHoppingListenerRemover != null) previousTrainHoppingListenerRemover.call$0(); }, _setSecondaryAnimation$2(animation, disposed) { this._secondaryAnimation.set$parent(0, animation); if (disposed != null) disposed.then$1$1(0, new A.TransitionRoute__setSecondaryAnimation_closure(this, animation), type$.Null); }, _setSecondaryAnimation$1(animation) { return this._setSecondaryAnimation$2(animation, null); }, canTransitionTo$1(nextRoute) { return true; }, canTransitionFrom$1(previousRoute) { return true; }, dispose$0(_) { var _this = this, t1 = _this._routes$_animation; if (t1 != null) t1.removeStatusListener$1(_this.get$_handleStatusChanged()); if (_this.willDisposeAnimationController) { t1 = _this._routes$_controller; if (t1 != null) t1.dispose$0(0); } _this._transitionCompleter.complete$1(0, _this._result); _this.super$OverlayRoute$dispose(0); }, get$debugLabel() { return "TransitionRoute"; }, toString$0(_) { return "TransitionRoute(animation: " + A.S(this._routes$_controller) + ")"; } }; A.TransitionRoute__updateSecondaryAnimation__jumpOnAnimationEnd.prototype = { call$1($status) { var t1, t2; switch ($status.index) { case 3: case 0: t1 = this.$this; t1._setSecondaryAnimation$2(this.nextTrain, this.nextRoute._transitionCompleter.future); t2 = t1._trainHoppingListenerRemover; if (t2 != null) { t2.call$0(); t1._trainHoppingListenerRemover = null; } break; case 1: case 2: break; } }, $signature: 16 }; A.TransitionRoute__updateSecondaryAnimation_closure.prototype = { call$0() { this.nextTrain.removeStatusListener$1(this._jumpOnAnimationEnd); var t1 = this._box_0.newAnimation; if (t1 != null) t1.dispose$0(0); }, $signature: 0 }; A.TransitionRoute__updateSecondaryAnimation_closure0.prototype = { call$0() { var t2, t1 = this.$this; t1._setSecondaryAnimation$2(this._box_0.newAnimation._currentTrain, this.nextRoute._transitionCompleter.future); t2 = t1._trainHoppingListenerRemover; if (t2 != null) { t2.call$0(); t1._trainHoppingListenerRemover = null; } }, $signature: 0 }; A.TransitionRoute__setSecondaryAnimation_closure.prototype = { call$1(_) { var t1 = this.$this._secondaryAnimation, t2 = this.animation; if (t1._animations$_parent == t2) { t1.set$parent(0, B.C__AlwaysDismissedAnimation); if (t2 instanceof A.TrainHoppingAnimation) t2.dispose$0(0); } }, $signature: 5 }; A.LocalHistoryEntry.prototype = { remove$0(_) { var t1 = this._routes$_owner; if (t1 != null) t1.removeLocalHistoryEntry$1(this); }, _notifyRemoved$0() { this.onRemove.call$0(); } }; A.LocalHistoryRoute.prototype = { addLocalHistoryEntry$1(entry) { var t1, t2, _this = this; entry._routes$_owner = _this; t1 = _this.LocalHistoryRoute__localHistory; if (t1 == null) t1 = _this.LocalHistoryRoute__localHistory = A._setArrayType([], type$.JSArray_LocalHistoryEntry); t2 = t1.length; t1.push(entry); if (t2 === 0) _this.changedInternalState$0(); }, removeLocalHistoryEntry$1(entry) { var _this = this, t1 = _this.LocalHistoryRoute__localHistory; t1.toString; B.JSArray_methods.remove$1(t1, entry); entry._routes$_owner = null; entry._notifyRemoved$0(); if (_this.LocalHistoryRoute__localHistory.length === 0) { t1 = $.SchedulerBinding__instance; if (t1.SchedulerBinding__schedulerPhase === B.SchedulerPhase_3) t1.SchedulerBinding__postFrameCallbacks.push(new A.LocalHistoryRoute_removeLocalHistoryEntry_closure(_this)); else _this.changedInternalState$0(); } }, get$willHandlePopInternally() { var t1 = this.LocalHistoryRoute__localHistory; return t1 != null && t1.length !== 0; } }; A.LocalHistoryRoute_removeLocalHistoryEntry_closure.prototype = { call$1(duration) { this.$this.changedInternalState$0(); }, $signature: 8 }; A._DismissModalAction.prototype = { isEnabled$1(_, intent) { return A.ModalRoute_of(this.context, type$.dynamic).get$barrierDismissible(); }, invoke$1(intent) { return A.Navigator_of(this.context, false).maybePop$0(); } }; A._ModalScopeStatus.prototype = { updateShouldNotify$1(old) { return this.isCurrent !== old.isCurrent || this.canPop !== old.canPop || this.route !== old.route; } }; A._ModalScope.prototype = { createState$0() { return new A._ModalScopeState(A.FocusScopeNode$(true, B.Type__ModalScopeState_Yap.toString$0(0) + " Focus Scope", false), A.ScrollController$(null, 0, true), B._StateLifecycle_0, this.$ti._eval$1("_ModalScopeState<1>")); } }; A._ModalScopeState.prototype = { initState$0() { var t1, t2, _this = this; _this.super$State$initState(); t1 = A._setArrayType([], type$.JSArray_Listenable); t2 = _this._widget.route._animationProxy; if (t2 != null) t1.push(t2); t2 = _this._widget.route._secondaryAnimationProxy; if (t2 != null) t1.push(t2); _this.___ModalScopeState__listenable = new A._MergingListenable(t1); if (_this._widget.route.get$isCurrent()) { _this._widget.route._navigator$_navigator._widget.toString; t1 = true; } else t1 = false; if (t1) _this._widget.route._navigator$_navigator.focusScopeNode.setFirstFocus$1(_this.focusScopeNode); }, didUpdateWidget$1(oldWidget) { var t1, _this = this; _this.super$State$didUpdateWidget(oldWidget); if (_this._widget.route.get$isCurrent()) { _this._widget.route._navigator$_navigator._widget.toString; t1 = true; } else t1 = false; if (t1) _this._widget.route._navigator$_navigator.focusScopeNode.setFirstFocus$1(_this.focusScopeNode); }, didChangeDependencies$0() { this.super$State$didChangeDependencies(); this._page = null; }, _forceRebuildPage$0() { this.setState$1(new A._ModalScopeState__forceRebuildPage_closure(this)); }, dispose$0(_) { this.focusScopeNode.dispose$0(0); this.super$State$dispose(0); }, get$_shouldIgnoreFocusRequest() { var t1 = this._widget.route._animationProxy; if ((t1 == null ? null : t1.get$status(t1)) !== B.AnimationStatus_2) { t1 = this._widget.route._navigator$_navigator; t1 = t1 == null ? null : t1.userGestureInProgressNotifier._change_notifier$_value; t1 = t1 === true; } else t1 = true; return t1; }, build$1(_, context) { var t4, _this = this, _null = null, t1 = _this._widget.route, t2 = t1.get$isCurrent(), t3 = _this._widget.route; if (!t3.get$hasActiveRouteBelow()) { t3 = t3.LocalHistoryRoute__localHistory; t3 = t3 != null && t3.length !== 0; } else t3 = true; t4 = _this._widget.route; return A.AnimatedBuilder$(t1._restorationScopeId, new A._ModalScopeState_build_closure(_this), new A._ModalScopeStatus(t2, t3, t1, new A.Offstage(t4._routes$_offstage, new A.PageStorage(new A.Builder(new A._ModalScopeState_build_closure0(_this), _null), t4._storageBucket, _null), _null), _null)); } }; A._ModalScopeState__forceRebuildPage_closure.prototype = { call$0() { this.$this._page = null; }, $signature: 0 }; A._ModalScopeState_build_closure.prototype = { call$2(context, child) { var t1 = this.$this._widget.route._restorationScopeId._change_notifier$_value; child.toString; return new A.RestorationScope(child, t1, null); }, $signature: 690 }; A._ModalScopeState_build_closure0.prototype = { call$1(context) { var _null = null, t1 = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_DismissIntent_Fb0, new A._DismissModalAction(context, new A.ObserverList(A._setArrayType([], type$.JSArray_of_void_Function_Action_Intent), type$.ObserverList_of_void_Function_Action_Intent))], type$.Type, type$.Action_Intent), t2 = this.$this, t3 = t2.focusScopeNode, t4 = A._lateReadCheck(t2.___ModalScopeState__listenable, "_listenable"), t5 = t2._page; if (t5 == null) t5 = t2._page = new A.RepaintBoundary(new A.Builder(new A._ModalScopeState_build__closure(t2), _null), t2._widget.route._subtreeKey); return new A.Actions(t1, A.PrimaryScrollController$(A.FocusScope$(false, new A.FocusTrap(t3, new A.RepaintBoundary(A.AnimatedBuilder$(t4, new A._ModalScopeState_build__closure0(t2), t5), _null), _null), _null, t3), t2.primaryScrollController), _null); }, $signature: 691 }; A._ModalScopeState_build__closure0.prototype = { call$2(context, child) { var t4, t5, t1 = this.$this, t2 = t1._widget.route, t3 = t2._animationProxy; t3.toString; t4 = t2._secondaryAnimationProxy; t4.toString; t5 = t2._navigator$_navigator; t5 = t5 == null ? null : t5.userGestureInProgressNotifier; if (t5 == null) t5 = new A.ValueNotifier(false, A.List_List$filled(0, null, false, type$.nullable_void_Function), type$.ValueNotifier_bool); return t2.buildTransitions$4(context, t3, t4, A.AnimatedBuilder$(t5, new A._ModalScopeState_build___closure(t1), child)); }, $signature: 53 }; A._ModalScopeState_build___closure.prototype = { call$2(context, child) { var t1 = this.$this, ignoreEvents = t1.get$_shouldIgnoreFocusRequest(); t1.focusScopeNode.set$canRequestFocus(!ignoreEvents); return new A.IgnorePointer(ignoreEvents, null, child, null); }, $signature: 692 }; A._ModalScopeState_build__closure.prototype = { call$1(context) { var t3, t1 = this.$this._widget.route, t2 = t1._animationProxy; t2.toString; t3 = t1._secondaryAnimationProxy; t3.toString; return t1.buildPage$3(context, t2, t3); }, $signature: 29 }; A.ModalRoute.prototype = { setState$1(fn) { var t2, t1 = this._scopeKey; if (t1.get$currentState() != null) { t1 = t1.get$currentState(); if (t1._widget.route.get$isCurrent()) if (!t1.get$_shouldIgnoreFocusRequest()) { t1._widget.route._navigator$_navigator._widget.toString; t2 = true; } else t2 = false; else t2 = false; if (t2) t1._widget.route._navigator$_navigator.focusScopeNode.setFirstFocus$1(t1.focusScopeNode); t1.setState$1(fn); } else fn.call$0(); }, buildTransitions$4(context, animation, secondaryAnimation, child) { return child; }, install$0() { var _this = this; _this.super$TransitionRoute$install(); _this._animationProxy = A.ProxyAnimation$(A.TransitionRoute.prototype.get$animation.call(_this, _this)); _this._secondaryAnimationProxy = A.ProxyAnimation$(A.TransitionRoute.prototype.get$secondaryAnimation.call(_this)); }, didPush$0() { var t2, _this = this, t1 = _this._scopeKey; if (t1.get$currentState() != null) { _this._navigator$_navigator._widget.toString; t2 = true; } else t2 = false; if (t2) _this._navigator$_navigator.focusScopeNode.setFirstFocus$1(t1.get$currentState().focusScopeNode); return _this.super$TransitionRoute$didPush(); }, didAdd$0() { var t2, _this = this, t1 = _this._scopeKey; if (t1.get$currentState() != null) { _this._navigator$_navigator._widget.toString; t2 = true; } else t2 = false; if (t2) _this._navigator$_navigator.focusScopeNode.setFirstFocus$1(t1.get$currentState().focusScopeNode); _this.super$TransitionRoute$didAdd(); }, get$semanticsDismissible() { return true; }, set$offstage(value) { var t1, _this = this; if (_this._routes$_offstage === value) return; _this.setState$1(new A.ModalRoute_offstage_closure(_this, value)); t1 = _this._animationProxy; t1.toString; t1.set$parent(0, _this._routes$_offstage ? B.C__AlwaysCompleteAnimation : A.TransitionRoute.prototype.get$animation.call(_this, _this)); t1 = _this._secondaryAnimationProxy; t1.toString; t1.set$parent(0, _this._routes$_offstage ? B.C__AlwaysDismissedAnimation : A.TransitionRoute.prototype.get$secondaryAnimation.call(_this)); _this.changedInternalState$0(); }, willPop$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.RoutePopDisposition), $async$returnValue, $async$self = this, t1, t2, _i, $async$temp1; var $async$willPop$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._scopeKey.get$currentState(); t1 = A.List_List$from($async$self._willPopCallbacks, true, type$.Future_bool_Function), t2 = t1.length, _i = 0; case 3: // for condition if (!(_i < t2)) { // goto after for $async$goto = 5; break; } $async$temp1 = J; $async$goto = 6; return A._asyncAwait(t1[_i].call$0(), $async$willPop$0); case 6: // returning from await. if (!$async$temp1.$eq$($async$result, true)) { $async$returnValue = B.RoutePopDisposition_1; // goto return $async$goto = 1; break; } case 4: // for update ++_i; // goto for condition $async$goto = 3; break; case 5: // after for $async$returnValue = $async$self.super$_ModalRoute_TransitionRoute_LocalHistoryRoute$willPop(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$willPop$0, $async$completer); }, didChangePrevious$1(previousRoute) { this.super$Route$didChangePrevious(previousRoute); this.changedInternalState$0(); }, changedInternalState$0() { var t1, _this = this; _this.super$Route$changedInternalState(); _this.setState$1(new A.ModalRoute_changedInternalState_closure()); A._lateReadCheck(_this.__ModalRoute__modalBarrier, "_modalBarrier").markNeedsBuild$0(); t1 = A._lateReadCheck(_this.__ModalRoute__modalScope, "_modalScope"); _this.get$maintainState(); t1.set$maintainState(true); }, changedExternalState$0() { this.super$Route$changedExternalState(); A._lateReadCheck(this.__ModalRoute__modalBarrier, "_modalBarrier").markNeedsBuild$0(); var t1 = this._scopeKey; if (t1.get$currentState() != null) t1.get$currentState()._forceRebuildPage$0(); }, _buildModalBarrier$1(context) { var t1, t2, t3, t4, barrier, _this = this, _null = null; if (_this.get$barrierColor() != null) { t1 = _this.get$barrierColor(); t1 = (t1.get$value(t1) >>> 24 & 255) !== 0 && !_this._routes$_offstage; } else t1 = false; if (t1) { t1 = _this._animationProxy; t1.toString; t2 = _this.get$barrierColor(); t2 = A.Color$fromARGB(0, t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255); t3 = _this.get$barrierColor(); t4 = type$.ColorTween._eval$1("_ChainedEvaluation<Animatable.T>"); type$.Animation_double._as(t1); barrier = new A.AnimatedModalBarrier(_this.get$barrierDismissible(), _this.get$barrierLabel(), _this.get$semanticsDismissible(), new A._AnimatedEvaluation(t1, new A._ChainedEvaluation(new A.CurveTween(B.Cubic_JUR0), new A.ColorTween(t2, t3), t4), t4._eval$1("_AnimatedEvaluation<Animatable.T>")), _null); } else { t1 = _this.get$barrierDismissible(); t2 = _this.get$barrierLabel(); barrier = new A.ModalBarrier(_null, t1, _this.get$semanticsDismissible(), t2, _null); } t1 = _this._animationProxy; if (t1.get$status(t1) !== B.AnimationStatus_2) { t1 = _this._animationProxy; t1 = t1.get$status(t1) === B.AnimationStatus_0; } else t1 = true; barrier = new A.IgnorePointer(t1, _null, barrier, _null); if (_this.get$semanticsDismissible() && _this.get$barrierDismissible()) barrier = 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, B.OrdinalSortKey_1_null, _null, _null, _null, _null, _null), false, false, false, barrier, _null); return barrier; }, _buildModalScope$1(context) { var _this = this, _null = null, t1 = _this._modalScopeCache; if (t1 == null) t1 = _this._modalScopeCache = 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, B.OrdinalSortKey_0_null, _null, _null, _null, _null, _null), false, false, false, new A._ModalScope(_this, _this._scopeKey, A._instanceType(_this)._eval$1("_ModalScope<ModalRoute.T>")), _null); return t1; }, createOverlayEntries$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$createOverlayEntries$0($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 = A.OverlayEntry$0($async$self.get$_buildModalBarrier(), false); $async$self.__ModalRoute__modalBarrier = t1; $async$goto = 2; return t1; case 2: // after yield $async$self.get$maintainState(); t1 = A.OverlayEntry$0($async$self.get$_buildModalScope(), true); $async$self.__ModalRoute__modalScope = t1; $async$goto = 3; return t1; case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.OverlayEntry); }, toString$0(_) { return "ModalRoute(" + this._settings.toString$0(0) + ", animation: " + A.S(this._routes$_animation) + ")"; } }; A.ModalRoute_offstage_closure.prototype = { call$0() { this.$this._routes$_offstage = this.value; }, $signature: 0 }; A.ModalRoute_changedInternalState_closure.prototype = { call$0() { }, $signature: 0 }; A.PopupRoute.prototype = { get$opaque() { return false; }, get$maintainState() { return true; } }; A.RawDialogRoute.prototype = { get$barrierDismissible() { return true; }, get$barrierLabel() { return this._barrierLabel; }, get$barrierColor() { return this._barrierColor; }, get$transitionDuration(_) { return this._transitionDuration; }, buildPage$3(context, animation, secondaryAnimation) { var _null = null, t1 = this._pageBuilder.call$3(context, animation, secondaryAnimation); 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, true, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, t1, _null); }, buildTransitions$4(context, animation, secondaryAnimation, child) { return this._transitionBuilder.call$4(context, animation, secondaryAnimation, child); } }; A.FocusTrap.prototype = { createRenderObject$1(context) { var t1 = new A._RenderFocusTrap(new A.Expando(new WeakMap(), type$.Expando_BoxHitTestResult), this.focusScopeNode, B.HitTestBehavior_0, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { if (renderObject instanceof A._RenderFocusTrap) renderObject.set$focusScopeNode(this.focusScopeNode); } }; A.FocusTrapArea.prototype = { createRenderObject$1(context) { var t1 = new A._RenderFocusTrapArea(this.focusNode, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { if (renderObject instanceof A._RenderFocusTrapArea) renderObject.focusNode = this.focusNode; } }; A._RenderFocusTrapArea.prototype = {}; A._RenderFocusTrap.prototype = { set$focusScopeNode(value) { if (this._focusScopeNode === value) return; this._focusScopeNode = value; }, hitTest$2$position(result, position) { var hitTarget, entry, _this = this; if (_this._size.contains$1(0, position)) { hitTarget = _this.hitTestChildren$2$position(result, position) || _this.behavior === B.HitTestBehavior_1; if (hitTarget) { entry = new A.BoxHitTestEntry(position, _this); _this.cachedResults._jsWeakMap.set(entry, result); result._globalizeTransforms$0(); entry._transform = B.JSArray_methods.get$last(result._transforms); result._path.push(entry); } } else hitTarget = false; return hitTarget; }, get$_shouldIgnoreEvents() { switch (A.defaultTargetPlatform().index) { case 0: case 2: return false; case 3: case 4: case 5: case 1: return false; } }, handleEvent$2($event, entry) { var t1, result, focusNode, renderObject, hitCurrentFocus, t2, _i, target, _this = this; if (type$.PointerDownEvent._is($event)) if ($event.get$buttons($event) === 1) if ($event.get$kind($event) === B.PointerDeviceKind_1) if (!_this.get$_shouldIgnoreEvents()) { t1 = _this._focusScopeNode._focusedChildren; t1 = (t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null) == null; } else t1 = true; else t1 = true; else t1 = true; else t1 = true; if (t1) return; A.Expando__checkType(entry); result = _this.cachedResults._jsWeakMap.get(entry); t1 = _this._focusScopeNode._focusedChildren; focusNode = t1.length !== 0 ? B.JSArray_methods.get$last(t1) : null; if (focusNode == null || result == null) return; t1 = focusNode._context; renderObject = t1 == null ? null : t1.get$renderObject(); if (renderObject == null) return; t1 = result._path; t2 = t1.length; _i = 0; while (true) { if (!(_i < t1.length)) { hitCurrentFocus = false; break; } entry = t1[_i]; target = entry.get$target(entry); if (target.$eq(0, renderObject)) { hitCurrentFocus = true; break; } if (target instanceof A._RenderFocusTrapArea && target.focusNode === focusNode) { hitCurrentFocus = true; break; } t1.length === t2 || (0, A.throwConcurrentModificationError)(t1); ++_i; } if (!hitCurrentFocus) focusNode.unfocus$0(); } }; A._ModalRoute_TransitionRoute_LocalHistoryRoute.prototype = { willPop$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.RoutePopDisposition), $async$returnValue, $async$self = this, t1; var $async$willPop$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.LocalHistoryRoute__localHistory; if (t1 != null && t1.length !== 0) { $async$returnValue = B.RoutePopDisposition_0; // goto return $async$goto = 1; break; } $async$returnValue = $async$self.super$Route$willPop(); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$willPop$0, $async$completer); }, didPop$1(result) { var entry, _this = this, t1 = _this.LocalHistoryRoute__localHistory; if (t1 != null && t1.length !== 0) { entry = t1.pop(); entry._routes$_owner = null; entry._notifyRemoved$0(); if (_this.LocalHistoryRoute__localHistory.length === 0) _this.changedInternalState$0(); return false; } _this.super$TransitionRoute$didPop(result); return true; } }; A.SafeArea.prototype = { build$1(_, context) { var t2, t3, t4, t5, t6, t7, _this = this, padding = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.padding, t1 = padding.bottom; t1 === 0; t2 = _this.minimum; t3 = Math.max(padding.left, t2.left); t4 = _this.top; t5 = t4 ? padding.top : 0; t5 = Math.max(t5, t2.top); t6 = Math.max(padding.right, t2.right); t7 = _this.bottom; t1 = t7 ? t1 : 0; return new A.Padding(new A.EdgeInsets(t3, t5, t6, Math.max(t1, t2.bottom)), A.MediaQuery_MediaQuery$removePadding(_this.child, context, t7, true, true, t4), null); } }; A.ScrollActivity.prototype = { resetActivity$0() { }, dispatchScrollStartNotification$2(metrics, context) { new A.ScrollStartNotification(null, metrics, context, 0).dispatch$1(context); }, dispatchScrollUpdateNotification$3(metrics, context, scrollDelta) { A.ScrollUpdateNotification$(context, null, null, metrics, scrollDelta).dispatch$1(context); }, dispatchOverscrollNotification$3(metrics, context, overscroll) { new A.OverscrollNotification(null, overscroll, 0, metrics, context, 0).dispatch$1(context); }, dispatchScrollEndNotification$2(metrics, context) { new A.ScrollEndNotification(null, metrics, context, 0).dispatch$1(context); }, applyNewDimensions$0() { }, dispose$0(_) { }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A.IdleScrollActivity.prototype = { applyNewDimensions$0() { this._scroll_activity$_delegate.goBallistic$1(0); }, get$shouldIgnorePointer() { return false; }, get$isScrolling() { return false; }, get$velocity() { return 0; } }; A.HoldScrollActivity.prototype = { get$shouldIgnorePointer() { return false; }, get$isScrolling() { return false; }, get$velocity() { return 0; }, dispose$0(_) { this.onHoldCanceled.call$0(); this.super$ScrollActivity$dispose(0); } }; A.ScrollDragController.prototype = { _adjustForScrollStartThreshold$2(offset, timestamp) { var t1, t2, _this = this; if (timestamp == null) return offset; if (offset === 0) { if (_this.motionStartDistanceThreshold != null) if (_this._offsetSinceLastStop == null) { t1 = _this._lastNonStationaryTimestamp; t1 = timestamp._duration - t1._duration > 50000; } else t1 = false; else t1 = false; if (t1) _this._offsetSinceLastStop = 0; return 0; } else { t1 = _this._offsetSinceLastStop; if (t1 == null) return offset; else { t1 += offset; _this._offsetSinceLastStop = t1; t2 = _this.motionStartDistanceThreshold; t2.toString; if (Math.abs(t1) > t2) { _this._offsetSinceLastStop = null; t1 = Math.abs(offset); if (t1 > 24) return offset; else return Math.min(t2 / 3, t1) * J.get$sign$in(offset); } else return 0; } } }, update$1(_, details) { var t1, t2, t3, offset, _this = this; _this._lastDetails = details; t1 = details.primaryDelta; t1.toString; t2 = t1 === 0; if (!t2) _this._lastNonStationaryTimestamp = details.sourceTimeStamp; t3 = details.sourceTimeStamp; if (_this._retainMomentum) if (t2) if (t3 != null) { t2 = _this._lastNonStationaryTimestamp; t2 = t3._duration - t2._duration > 20000; } else t2 = true; else t2 = false; else t2 = false; if (t2) _this._retainMomentum = false; offset = _this._adjustForScrollStartThreshold$2(t1, t3); if (offset === 0) return; t1 = _this._scroll_activity$_delegate; if (A.axisDirectionIsReversed(t1.context._widget.axisDirection)) offset = -offset; t1.updateUserScrollDirection$1(offset > 0 ? B.ScrollDirection_1 : B.ScrollDirection_2); t2 = t1._pixels; t2.toString; t1.super$ScrollPosition$setPixels(t2 - t1.physics.applyPhysicsToUserOffset$2(t1, offset)); }, dispose$0(_) { this._lastDetails = null; this.onDragCanceled.call$0(); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this); } }; A.DragScrollActivity.prototype = { dispatchScrollStartNotification$2(metrics, context) { new A.ScrollStartNotification(type$.DragStartDetails._as(this._scroll_activity$_controller._lastDetails), metrics, context, 0).dispatch$1(context); }, dispatchScrollUpdateNotification$3(metrics, context, scrollDelta) { A.ScrollUpdateNotification$(context, null, type$.DragUpdateDetails._as(this._scroll_activity$_controller._lastDetails), metrics, scrollDelta).dispatch$1(context); }, dispatchOverscrollNotification$3(metrics, context, overscroll) { new A.OverscrollNotification(type$.DragUpdateDetails._as(this._scroll_activity$_controller._lastDetails), overscroll, 0, metrics, context, 0).dispatch$1(context); }, dispatchScrollEndNotification$2(metrics, context) { var lastDetails = this._scroll_activity$_controller._lastDetails; new A.ScrollEndNotification(lastDetails instanceof A.DragEndDetails ? lastDetails : null, metrics, context, 0).dispatch$1(context); }, get$shouldIgnorePointer() { return true; }, get$isScrolling() { return true; }, get$velocity() { return 0; }, dispose$0(_) { this._scroll_activity$_controller = null; this.super$ScrollActivity$dispose(0); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A.S(this._scroll_activity$_controller) + ")"; } }; A.BallisticScrollActivity.prototype = { resetActivity$0() { this._scroll_activity$_delegate.goBallistic$1(A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").get$velocity()); }, applyNewDimensions$0() { this._scroll_activity$_delegate.goBallistic$1(A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").get$velocity()); }, _scroll_activity$_tick$0() { var t1 = A._lateReadCheck(A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").__AnimationController__value, "_value"); if (!(Math.abs(this._scroll_activity$_delegate.super$ScrollPosition$setPixels(t1)) < 1e-10)) { t1 = this._scroll_activity$_delegate; t1.beginActivity$1(new A.IdleScrollActivity(t1)); } }, _scroll_activity$_end$0() { this._scroll_activity$_delegate.goBallistic$1(0); }, dispatchOverscrollNotification$3(metrics, context, overscroll) { new A.OverscrollNotification(null, overscroll, A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").get$velocity(), metrics, context, 0).dispatch$1(context); }, get$shouldIgnorePointer() { return true; }, get$isScrolling() { return true; }, get$velocity() { return A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").get$velocity(); }, dispose$0(_) { A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").dispose$0(0); this.super$ScrollActivity$dispose(0); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A._lateReadCheck(this.__BallisticScrollActivity__controller, "_controller").toString$0(0) + ")"; } }; A.DrivenScrollActivity.prototype = { _scroll_activity$_tick$0() { if (this._scroll_activity$_delegate.super$ScrollPosition$setPixels(A._lateReadCheck(A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").__AnimationController__value, "_value")) !== 0) { var t1 = this._scroll_activity$_delegate; t1.beginActivity$1(new A.IdleScrollActivity(t1)); } }, _scroll_activity$_end$0() { this._scroll_activity$_delegate.goBallistic$1(A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").get$velocity()); }, dispatchOverscrollNotification$3(metrics, context, overscroll) { new A.OverscrollNotification(null, overscroll, A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").get$velocity(), metrics, context, 0).dispatch$1(context); }, get$shouldIgnorePointer() { return true; }, get$isScrolling() { return true; }, get$velocity() { return A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").get$velocity(); }, dispose$0(_) { A._lateReadCheck(this.__DrivenScrollActivity__completer, "_completer").complete$0(0); A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").dispose$0(0); this.super$ScrollActivity$dispose(0); }, toString$0(_) { return "<optimized out>#" + A.shortHash(this) + "(" + A._lateReadCheck(this.__DrivenScrollActivity__controller, "_controller").toString$0(0) + ")"; } }; A.ScrollAwareImageProvider.prototype = { resolveStreamForKey$4(configuration, stream, key, handleError) { var t1, _this = this; if (stream._image_stream$_completer != null || $.PaintingBinding__instance.PaintingBinding__imageCache.containsKey$1(0, key)) { _this.imageProvider.resolveStreamForKey$4(configuration, stream, key, handleError); return; } t1 = _this.context; if (t1.get$context(t1) == null) return; t1 = t1.get$context(t1); t1.toString; if (A.Scrollable_recommendDeferredLoadingForContext(t1)) { $.SchedulerBinding__instance.scheduleFrameCallback$1(new A.ScrollAwareImageProvider_resolveStreamForKey_closure(_this, configuration, stream, key, handleError)); return; } _this.imageProvider.resolveStreamForKey$4(configuration, stream, key, handleError); }, load$2(_, key, decode) { return this.imageProvider.load$2(0, key, decode); }, obtainKey$1(configuration) { return this.imageProvider.obtainKey$1(configuration); } }; A.ScrollAwareImageProvider_resolveStreamForKey_closure.prototype = { call$1(_) { var _this = this; A.scheduleMicrotask(new A.ScrollAwareImageProvider_resolveStreamForKey__closure(_this.$this, _this.configuration, _this.stream, _this.key, _this.handleError)); }, $signature: 8 }; A.ScrollAwareImageProvider_resolveStreamForKey__closure.prototype = { call$0() { var _this = this; return _this.$this.resolveStreamForKey$4(_this.configuration, _this.stream, _this.key, _this.handleError); }, $signature: 0 }; A.AndroidOverscrollIndicator.prototype = { toString$0(_) { return "AndroidOverscrollIndicator." + this._core$_name; } }; A.ScrollBehavior.prototype = { copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(androidOverscrollIndicator, dragDevices, overscroll, physics, platform, $scrollbars) { return new A._WrappedScrollBehavior(this, $scrollbars !== false, overscroll !== false, physics, platform, dragDevices, androidOverscrollIndicator); }, copyWith$3$overscroll$physics$platform(overscroll, physics, platform) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, physics, platform, null); }, copyWith$2$overscroll$scrollbars(overscroll, $scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, null, null, $scrollbars); }, copyWith$1$scrollbars($scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, null, null, null, $scrollbars); }, copyWith$4$overscroll$physics$platform$scrollbars(overscroll, physics, platform, $scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, physics, platform, $scrollbars); }, getPlatform$1(context) { return A.defaultTargetPlatform(); }, get$dragDevices() { return B.Set_23h; }, buildViewportChrome$3(context, child, axisDirection) { var target; switch (this.getPlatform$1(context)) { case B.TargetPlatform_2: case B.TargetPlatform_3: case B.TargetPlatform_4: case B.TargetPlatform_5: target = 1; break; case B.TargetPlatform_0: target = 2; break; case B.TargetPlatform_1: target = 3; break; default: target = null; break; } if (target) c$0: for (; true;) switch (target) { case 1: return child; case 2: switch (1) { case 1: break; } if (2) c$1: for (; true;) switch (2) { case 1: return new A.StretchingOverscrollIndicator(axisDirection, child, null); case 2: target = 3; continue c$0; } break c$0; case 3: return new A.GlowingOverscrollIndicator(axisDirection, B.Color_4294967295, child, null); } }, buildScrollbar$3(context, child, details) { var _null = null; switch (this.getPlatform$1(context)) { case B.TargetPlatform_3: case B.TargetPlatform_4: case B.TargetPlatform_5: return A.RawScrollbar$(child, details.controller, B.Duration_300000, _null, _null, _null, A.scroll_notification__defaultScrollNotificationPredicate$closure(), B.Duration_0, _null, _null, _null, B.Duration_600000); case B.TargetPlatform_0: case B.TargetPlatform_1: case B.TargetPlatform_2: return child; } }, buildOverscrollIndicator$3(context, child, details) { return this.buildViewportChrome$3(context, child, details.direction); }, velocityTrackerBuilder$1(context) { switch (this.getPlatform$1(context)) { case B.TargetPlatform_2: case B.TargetPlatform_4: return new A.ScrollBehavior_velocityTrackerBuilder_closure(); case B.TargetPlatform_0: case B.TargetPlatform_1: case B.TargetPlatform_3: case B.TargetPlatform_5: return new A.ScrollBehavior_velocityTrackerBuilder_closure0(); } }, getScrollPhysics$1(context) { switch (this.getPlatform$1(context)) { case B.TargetPlatform_2: case B.TargetPlatform_4: return B.BouncingScrollPhysics_MuS; case B.TargetPlatform_0: case B.TargetPlatform_1: case B.TargetPlatform_3: case B.TargetPlatform_5: return B.ClampingScrollPhysics_KYr; } }, shouldNotify$1(oldDelegate) { return false; }, toString$0(_) { return "ScrollBehavior"; } }; A.ScrollBehavior_velocityTrackerBuilder_closure.prototype = { call$1($event) { var t1 = $event.get$kind($event), t2 = type$.nullable__PointAtTime; return new A.IOSScrollViewFlingVelocityTracker(A.List_List$filled(20, null, false, t2), t1, A.List_List$filled(20, null, false, t2)); }, $signature: 693 }; A.ScrollBehavior_velocityTrackerBuilder_closure0.prototype = { call$1($event) { return new A.VelocityTracker($event.get$kind($event), A.List_List$filled(20, null, false, type$.nullable__PointAtTime)); }, $signature: 309 }; A._WrappedScrollBehavior.prototype = { get$dragDevices() { var t1 = this._dragDevices; return t1 == null ? B.Set_23h : t1; }, buildOverscrollIndicator$3(context, child, details) { if (this.overscroll) return this.delegate.buildOverscrollIndicator$3(context, child, details); return child; }, buildScrollbar$3(context, child, details) { if (this.scrollbars) return this.delegate.buildScrollbar$3(context, child, details); return child; }, copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(androidOverscrollIndicator, dragDevices, overscroll, physics, platform, $scrollbars) { var _this = this, t1 = $scrollbars == null ? _this.scrollbars : $scrollbars, t2 = overscroll == null ? _this.overscroll : overscroll, t3 = physics == null ? _this.physics : physics, t4 = platform == null ? _this.platform : platform, t5 = _this.get$dragDevices(), t6 = _this._androidOverscrollIndicator; if (t6 == null) t6 = B.AndroidOverscrollIndicator_1; return _this.delegate.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(t6, t5, t2, t3, t4, t1); }, copyWith$3$overscroll$physics$platform(overscroll, physics, platform) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, physics, platform, null); }, copyWith$2$overscroll$scrollbars(overscroll, $scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, null, null, $scrollbars); }, copyWith$1$scrollbars($scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, null, null, null, $scrollbars); }, copyWith$4$overscroll$physics$platform$scrollbars(overscroll, physics, platform, $scrollbars) { return this.copyWith$6$androidOverscrollIndicator$dragDevices$overscroll$physics$platform$scrollbars(null, null, overscroll, physics, platform, $scrollbars); }, getPlatform$1(context) { var t1 = this.platform; return t1 == null ? this.delegate.getPlatform$1(context) : t1; }, getScrollPhysics$1(context) { var t1 = this.physics; return t1 == null ? this.delegate.getScrollPhysics$1(context) : t1; }, shouldNotify$1(oldDelegate) { var _this = this; return A.getRuntimeType(oldDelegate.delegate) !== A.getRuntimeType(_this.delegate) || oldDelegate.scrollbars !== _this.scrollbars || oldDelegate.overscroll !== _this.overscroll || oldDelegate.physics != _this.physics || oldDelegate.platform != _this.platform || A.setEquals(oldDelegate.get$dragDevices(), _this.get$dragDevices()) || false; }, velocityTrackerBuilder$1(context) { return this.delegate.velocityTrackerBuilder$1(context); }, toString$0(_) { return "_WrappedScrollBehavior"; } }; A.ScrollConfiguration.prototype = { updateShouldNotify$1(oldWidget) { var t1 = this.behavior, t2 = oldWidget.behavior; if (A.getRuntimeType(t1) === A.getRuntimeType(t2)) t1 = t1 !== t2 && t1.shouldNotify$1(t2); else t1 = true; return t1; } }; A.ScrollController.prototype = { animateTo$3$curve$duration(offset, curve, duration) { return this.animateTo$body$ScrollController(offset, curve, duration); }, animateTo$body$ScrollController(offset, curve, duration) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, t2, i, t1; var $async$animateTo$3$curve$duration = 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._setArrayType([], type$.JSArray_Future_void); for (t2 = $async$self._positions, i = 0; i < t2.length; ++i) t1.push(t2[i].animateTo$3$curve$duration(offset, curve, duration)); $async$goto = 2; return A._asyncAwait(A.Future_wait(t1, false, type$.void), $async$animateTo$3$curve$duration); case 2: // returning from await. // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$animateTo$3$curve$duration, $async$completer); }, jumpTo$1(value) { var t1, t2, _i; for (t1 = A.List_List$from(this._positions, true, type$.ScrollPosition), t2 = t1.length, _i = 0; _i < t2; ++_i) t1[_i].jumpTo$1(value); }, attach$1(position) { this._positions.push(position); position.addListener$1(0, this.get$notifyListeners()); }, detach$1(_, position) { position.removeListener$1(0, this.get$notifyListeners()); B.JSArray_methods.remove$1(this._positions, position); }, dispose$0(_) { var t1, t2, t3, _i; for (t1 = this._positions, t2 = t1.length, t3 = this.get$notifyListeners(), _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].removeListener$1(0, t3); this.super$ChangeNotifier$dispose(0); }, createScrollPosition$3(physics, context, oldPosition) { return A.ScrollPositionWithSingleContext$(context, this.debugLabel, this._initialScrollOffset, true, oldPosition, physics); }, toString$0(_) { var t2, description = A._setArrayType([], type$.JSArray_String), t1 = this._initialScrollOffset; if (t1 !== 0) description.push("initialScrollOffset: " + B.JSNumber_methods.toStringAsFixed$1(t1, 1) + ", "); t1 = this._positions; t2 = t1.length; if (t2 === 0) description.push("no clients"); else if (t2 === 1) { t1 = B.JSArray_methods.get$single(t1)._pixels; t1.toString; description.push("one client, offset " + B.JSNumber_methods.toStringAsFixed$1(t1, 1)); } else description.push("" + t2 + " clients"); return "<optimized out>#" + A.shortHash(this) + "(" + B.JSArray_methods.join$1(description, ", ") + ")"; } }; A.ScrollMetrics.prototype = { copyWith$0() { var _this = this, _null = null, t1 = _this.get$hasContentDimensions() ? _this.get$minScrollExtent() : _null, t2 = _this.get$hasContentDimensions() ? _this.get$maxScrollExtent() : _null, t3 = _this.get$hasPixels() ? _this.get$pixels() : _null, t4 = _this.get$hasViewportDimension() ? _this.get$viewportDimension() : _null, t5 = _this.get$axisDirection(); return new A.FixedScrollMetrics(t1, t2, t3, t4, t5); }, get$outOfRange() { var _this = this; return _this.get$pixels() < _this.get$minScrollExtent() || _this.get$pixels() > _this.get$maxScrollExtent(); }, get$atEdge() { var _this = this; return _this.get$pixels() === _this.get$minScrollExtent() || _this.get$pixels() === _this.get$maxScrollExtent(); }, get$extentInside() { var _this = this; return _this.get$viewportDimension() - B.JSNumber_methods.clamp$2(_this.get$minScrollExtent() - _this.get$pixels(), 0, _this.get$viewportDimension()) - B.JSNumber_methods.clamp$2(_this.get$pixels() - _this.get$maxScrollExtent(), 0, _this.get$viewportDimension()); } }; A.FixedScrollMetrics.prototype = { get$minScrollExtent() { var t1 = this._minScrollExtent; t1.toString; return t1; }, get$maxScrollExtent() { var t1 = this._maxScrollExtent; t1.toString; return t1; }, get$hasContentDimensions() { return this._minScrollExtent != null && this._maxScrollExtent != null; }, get$pixels() { var t1 = this._scroll_metrics$_pixels; t1.toString; return t1; }, get$hasPixels() { return this._scroll_metrics$_pixels != null; }, get$viewportDimension() { var t1 = this._scroll_metrics$_viewportDimension; t1.toString; return t1; }, get$hasViewportDimension() { return this._scroll_metrics$_viewportDimension != null; }, toString$0(_) { var _this = this; return "FixedScrollMetrics(" + B.JSNumber_methods.toStringAsFixed$1(Math.max(_this.get$pixels() - _this.get$minScrollExtent(), 0), 1) + "..[" + B.JSNumber_methods.toStringAsFixed$1(_this.get$extentInside(), 1) + "].." + B.JSNumber_methods.toStringAsFixed$1(Math.max(_this.get$maxScrollExtent() - _this.get$pixels(), 0), 1) + ")"; }, get$axisDirection() { return this.axisDirection; } }; A._FixedScrollMetrics_Object_ScrollMetrics.prototype = {}; A.ViewportNotificationMixin.prototype = {}; A.ScrollNotification.prototype = { debugFillDescription$1(description) { this.super$_ScrollNotification_LayoutChangedNotification_ViewportNotificationMixin$debugFillDescription(description); description.push(this.metrics.toString$0(0)); } }; A.ScrollStartNotification.prototype = { debugFillDescription$1(description) { var t1; this.super$ScrollNotification$debugFillDescription(description); t1 = this.dragDetails; if (t1 != null) description.push(t1.toString$0(0)); } }; A.ScrollUpdateNotification.prototype = { debugFillDescription$1(description) { var t1; this.super$ScrollNotification$debugFillDescription(description); description.push("scrollDelta: " + A.S(this.scrollDelta)); t1 = this.dragDetails; if (t1 != null) description.push(t1.toString$0(0)); }, get$dragDetails() { return this.dragDetails; } }; A.OverscrollNotification.prototype = { debugFillDescription$1(description) { var t1, _this = this; _this.super$ScrollNotification$debugFillDescription(description); description.push("overscroll: " + B.JSNumber_methods.toStringAsFixed$1(_this.overscroll, 1)); description.push("velocity: " + B.JSNumber_methods.toStringAsFixed$1(_this.velocity, 1)); t1 = _this.dragDetails; if (t1 != null) description.push(t1.toString$0(0)); } }; A.ScrollEndNotification.prototype = { debugFillDescription$1(description) { var t1; this.super$ScrollNotification$debugFillDescription(description); t1 = this.dragDetails; if (t1 != null) description.push(t1.toString$0(0)); }, get$dragDetails() { return this.dragDetails; } }; A.UserScrollNotification.prototype = { debugFillDescription$1(description) { this.super$ScrollNotification$debugFillDescription(description); description.push("direction: " + this.direction.toString$0(0)); } }; A._ScrollNotification_LayoutChangedNotification_ViewportNotificationMixin.prototype = { visitAncestor$1(element) { if (element instanceof A.RenderObjectElement && type$.RenderAbstractViewport._is(element.get$renderObject())) ++this.ViewportNotificationMixin__depth; return this.super$Notification$visitAncestor(element); }, debugFillDescription$1(description) { var t1; this.super$Notification$debugFillDescription(description); t1 = "depth: " + this.ViewportNotificationMixin__depth + " ("; description.push(t1 + (this.ViewportNotificationMixin__depth === 0 ? "local" : "remote") + ")"); } }; A._ScrollNotificationObserverScope.prototype = { updateShouldNotify$1(old) { return this._scrollNotificationObserverState !== old._scrollNotificationObserverState; } }; A._ListenerEntry.prototype = { listener$1($receiver, arg0) { return this.listener.call$1(arg0); } }; A.ScrollNotificationObserver.prototype = { createState$0() { return new A.ScrollNotificationObserverState(new A.LinkedList(type$.LinkedList__ListenerEntry), B._StateLifecycle_0); } }; A.ScrollNotificationObserverState.prototype = { removeListener$1(_, listener) { var t2, entry, t3, t1 = this._scroll_notification_observer$_listeners; t1.toString; t1 = A._LinkedListIterator$(t1, t1.$ti._precomputed1); t2 = t1.$ti._precomputed1; for (; t1.moveNext$0();) { entry = t2._as(t1._collection$_current); if (J.$eq$(entry.listener, listener)) { t1 = entry._collection$_list; t1.toString; A._instanceType(entry)._eval$1("LinkedListEntry.E")._as(entry); ++t1._collection$_modificationCount; t2 = entry._collection$_next; t2._collection$_previous = entry._collection$_previous; entry._collection$_previous._collection$_next = t2; t3 = --t1._collection$_length; entry._collection$_list = entry._collection$_next = entry._collection$_previous = null; if (t3 === 0) t1._collection$_first = null; else if (entry === t1._collection$_first) t1._collection$_first = t2; return; } } }, _notifyListeners$1(notification) { var entry, exception, stack, localListeners, _i, exception0, rti, t2, t3, _this = this, t1 = _this._scroll_notification_observer$_listeners; if (t1._collection$_length === 0) return; localListeners = A.List_List$from(t1, true, type$._ListenerEntry); for (t1 = localListeners.length, _i = 0; _i < t1; ++_i) { entry = localListeners[_i]; try { if (entry._collection$_list != null) J.listener$1$z(entry, notification); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); rti = _this instanceof A.Closure ? A.closureFunctionType(_this) : null; t2 = A.ErrorDescription$("while dispatching notifications for " + A.createRuntimeType(rti == null ? A.instanceType(_this) : rti).toString$0(0)); t3 = $.$get$FlutterError_onError(); if (t3 != null) t3.call$1(new A.FlutterErrorDetails(exception, stack, "widget library", t2, new A.ScrollNotificationObserverState__notifyListeners_closure(_this), false)); } } }, build$1(_, context) { return new A.NotificationListener(new A._ScrollNotificationObserverScope(this, this._widget.child, null), new A.ScrollNotificationObserverState_build_closure(this), null, type$.NotificationListener_ScrollNotification); }, dispose$0(_) { this._scroll_notification_observer$_listeners = null; this.super$State$dispose(0); } }; A.ScrollNotificationObserverState__notifyListeners_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$call$0($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.$this; $async$goto = 2; return A.DiagnosticsProperty$("The " + A.getRuntimeType(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$.ScrollNotificationObserverState); case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.ScrollNotificationObserverState_build_closure.prototype = { call$1(notification) { this.$this._notifyListeners$1(notification); return false; }, $signature: 72 }; A.ScrollPhysics.prototype = { buildParent$1(ancestor) { var t1 = this.parent; t1 = t1 == null ? null : t1.applyTo$1(ancestor); return t1 == null ? ancestor : t1; }, applyTo$1(ancestor) { return new A.ScrollPhysics(this.buildParent$1(ancestor)); }, applyPhysicsToUserOffset$2(position, offset) { var t1 = this.parent; if (t1 == null) return offset; return t1.applyPhysicsToUserOffset$2(position, offset); }, shouldAcceptUserOffset$1(position) { var t1 = this.parent; if (t1 == null) { t1 = position._pixels; t1.toString; return t1 !== 0 || position.get$minScrollExtent() !== position.get$maxScrollExtent(); } return t1.shouldAcceptUserOffset$1(position); }, recommendDeferredLoading$3(velocity, metrics, context) { var t1 = this.parent; if (t1 == null) { $.WidgetsBinding__instance.toString; t1 = $.$get$window().get$physicalSize(); return Math.abs(velocity) > Math.max(Math.abs(t1._dx), Math.abs(t1._dy)); } return t1.recommendDeferredLoading$3(velocity, metrics, context); }, applyBoundaryConditions$2(position, value) { var t1 = this.parent; if (t1 == null) return 0; return t1.applyBoundaryConditions$2(position, value); }, adjustPositionForNewDimensions$4$isScrolling$newPosition$oldPosition$velocity(isScrolling, newPosition, oldPosition, velocity) { var t1 = this.parent; if (t1 == null) { t1 = newPosition._scroll_metrics$_pixels; t1.toString; return t1; } return t1.adjustPositionForNewDimensions$4$isScrolling$newPosition$oldPosition$velocity(isScrolling, newPosition, oldPosition, velocity); }, createBallisticSimulation$2(position, velocity) { var t1 = this.parent; if (t1 == null) return null; return t1.createBallisticSimulation$2(position, velocity); }, get$spring() { var t1 = this.parent; t1 = t1 == null ? null : t1.get$spring(); return t1 == null ? $.$get$ScrollPhysics__kDefaultSpring() : t1; }, get$tolerance() { var t1 = this.parent; t1 = t1 == null ? null : t1.get$tolerance(); return t1 == null ? $.$get$ScrollPhysics__kDefaultTolerance() : t1; }, get$minFlingDistance() { var t1 = this.parent; t1 = t1 == null ? null : t1.get$minFlingDistance(); return t1 == null ? 18 : t1; }, get$minFlingVelocity() { var t1 = this.parent; t1 = t1 == null ? null : t1.get$minFlingVelocity(); return t1 == null ? 50 : t1; }, get$maxFlingVelocity() { var t1 = this.parent; t1 = t1 == null ? null : t1.get$maxFlingVelocity(); return t1 == null ? 8000 : t1; }, carriedMomentum$1(existingVelocity) { var t1 = this.parent; if (t1 == null) return 0; return t1.carriedMomentum$1(existingVelocity); }, get$dragStartDistanceMotionThreshold() { var t1 = this.parent; return t1 == null ? null : t1.get$dragStartDistanceMotionThreshold(); }, get$allowImplicitScrolling() { return true; }, toString$0(_) { var t1 = this.parent; if (t1 == null) return "ScrollPhysics"; return "ScrollPhysics -> " + t1.toString$0(0); } }; A.RangeMaintainingScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.RangeMaintainingScrollPhysics(this.buildParent$1(ancestor)); }, adjustPositionForNewDimensions$4$isScrolling$newPosition$oldPosition$velocity(isScrolling, newPosition, oldPosition, velocity) { var maintainOverscroll, enforceBoundary, t1, t2, t3, t4, t5, result; if (velocity !== 0) { maintainOverscroll = false; enforceBoundary = false; } else { maintainOverscroll = true; enforceBoundary = true; } t1 = oldPosition._minScrollExtent; t1.toString; t2 = newPosition._minScrollExtent; t2.toString; if (t1 === t2) { t3 = oldPosition._maxScrollExtent; t3.toString; t4 = newPosition._maxScrollExtent; t4.toString; t4 = t3 === t4; t3 = t4; } else t3 = false; if (t3) maintainOverscroll = false; t3 = oldPosition._scroll_metrics$_pixels; t3.toString; t4 = newPosition._scroll_metrics$_pixels; t4.toString; if (t3 !== t4) { if (isFinite(t1)) { t4 = oldPosition._maxScrollExtent; t4.toString; if (isFinite(t4)) if (isFinite(t2)) { t4 = newPosition._maxScrollExtent; t4.toString; t4 = isFinite(t4); } else t4 = false; else t4 = false; } else t4 = false; if (t4) enforceBoundary = false; maintainOverscroll = false; } t4 = t3 < t1; if (!t4) { t5 = oldPosition._maxScrollExtent; t5.toString; t5 = t3 > t5; } else t5 = true; if (t5) enforceBoundary = false; if (maintainOverscroll) { if (t4) return t2 - (t1 - t3); t1 = oldPosition._maxScrollExtent; t1.toString; if (t3 > t1) { t2 = newPosition._maxScrollExtent; t2.toString; return t2 + (t3 - t1); } } result = this.super$ScrollPhysics$adjustPositionForNewDimensions(isScrolling, newPosition, oldPosition, velocity); if (enforceBoundary) { t1 = newPosition._maxScrollExtent; t1.toString; result = B.JSNumber_methods.clamp$2(result, t2, t1); } return result; } }; A.BouncingScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.BouncingScrollPhysics(this.buildParent$1(ancestor)); }, applyPhysicsToUserOffset$2(position, offset) { var t1, t2, overscrollPastStart, overscrollPastEnd, overscrollPast, easing, friction; if (!position.get$outOfRange()) return offset; t1 = position.get$minScrollExtent(); t2 = position._pixels; t2.toString; overscrollPastStart = Math.max(t1 - t2, 0); overscrollPastEnd = Math.max(t2 - position.get$maxScrollExtent(), 0); overscrollPast = Math.max(overscrollPastStart, overscrollPastEnd); if (!(overscrollPastStart > 0 && offset < 0)) easing = overscrollPastEnd > 0 && offset > 0; else easing = true; t1 = position._viewportDimension; if (easing) { t1.toString; friction = 0.52 * Math.pow(1 - (overscrollPast - Math.abs(offset)) / t1, 2); } else { t1.toString; friction = 0.52 * Math.pow(1 - overscrollPast / t1, 2); } return J.get$sign$in(offset) * A.BouncingScrollPhysics__applyFriction(overscrollPast, Math.abs(offset), friction); }, applyBoundaryConditions$2(position, value) { return 0; }, createBallisticSimulation$2(position, velocity) { var t1, t2, t3, t4, t5, finalX, _s19_ = "_frictionSimulation", _s11_ = "_springTime", tolerance = this.get$tolerance(); if (Math.abs(velocity) >= tolerance.velocity || position.get$outOfRange()) { t1 = this.get$spring(); t2 = position._pixels; t2.toString; t3 = position.get$minScrollExtent(); t4 = position.get$maxScrollExtent(); t5 = new A.BouncingScrollSimulation(t3, t4, t1, tolerance); if (t2 < t3) { t5.__BouncingScrollSimulation__springSimulation = new A.ScrollSpringSimulation(t3, A._SpringSolution__SpringSolution(t1, t2 - t3, velocity), B.Tolerance_Gdw); t5.__BouncingScrollSimulation__springTime = -1 / 0; } else if (t2 > t4) { t5.__BouncingScrollSimulation__springSimulation = new A.ScrollSpringSimulation(t4, A._SpringSolution__SpringSolution(t1, t2 - t4, velocity), B.Tolerance_Gdw); t5.__BouncingScrollSimulation__springTime = -1 / 0; } else { t2 = t5.__BouncingScrollSimulation__frictionSimulation = new A.FrictionSimulation(0.135, Math.log(0.135), t2, velocity, B.Tolerance_Gdw); finalX = A._lateReadCheck(t2, _s19_).get$finalX(); if (velocity > 0 && finalX > t4) { t3 = A._lateReadCheck(t2, _s19_).timeAtX$1(t4); t5.__BouncingScrollSimulation__springTime = t3; t2 = A._lateReadCheck(t2, _s19_); t3 = A._lateReadCheck(t3, _s11_); t5.__BouncingScrollSimulation__springSimulation = new A.ScrollSpringSimulation(t4, A._SpringSolution__SpringSolution(t1, t4 - t4, Math.min(t2._v * Math.pow(t2._drag, t3), 5000)), B.Tolerance_Gdw); } else if (velocity < 0 && finalX < t3) { t4 = A._lateReadCheck(t2, _s19_).timeAtX$1(t3); t5.__BouncingScrollSimulation__springTime = t4; t2 = A._lateReadCheck(t2, _s19_); t4 = A._lateReadCheck(t4, _s11_); t5.__BouncingScrollSimulation__springSimulation = new A.ScrollSpringSimulation(t3, A._SpringSolution__SpringSolution(t1, t3 - t3, Math.min(t2._v * Math.pow(t2._drag, t4), 5000)), B.Tolerance_Gdw); } else t5.__BouncingScrollSimulation__springTime = 1 / 0; } return t5; } return null; }, get$minFlingVelocity() { return 100; }, carriedMomentum$1(existingVelocity) { return J.get$sign$in(existingVelocity) * Math.min(0.000816 * Math.pow(Math.abs(existingVelocity), 1.967), 40000); }, get$dragStartDistanceMotionThreshold() { return 3.5; } }; A.ClampingScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.ClampingScrollPhysics(this.buildParent$1(ancestor)); }, applyBoundaryConditions$2(position, value) { var t2, t1 = position._pixels; t1.toString; if (value < t1 && t1 <= position.get$minScrollExtent()) { t1 = position._pixels; t1.toString; return value - t1; } t1 = position.get$maxScrollExtent(); t2 = position._pixels; t2.toString; if (t1 <= t2 && t2 < value) return value - t2; if (value < position.get$minScrollExtent()) { t1 = position.get$minScrollExtent(); t2 = position._pixels; t2.toString; t2 = t1 < t2; t1 = t2; } else t1 = false; if (t1) return value - position.get$minScrollExtent(); t1 = position._pixels; t1.toString; if (t1 < position.get$maxScrollExtent() && position.get$maxScrollExtent() < value) return value - position.get$maxScrollExtent(); return 0; }, createBallisticSimulation$2(position, velocity) { var t1, end, t2, _null = null, tolerance = this.get$tolerance(); if (position.get$outOfRange()) { t1 = position._pixels; t1.toString; end = t1 > position.get$maxScrollExtent() ? position.get$maxScrollExtent() : _null; t1 = position._pixels; t1.toString; if (t1 < position.get$minScrollExtent()) end = position.get$minScrollExtent(); t1 = this.get$spring(); t2 = position._pixels; t2.toString; end.toString; return new A.ScrollSpringSimulation(end, A._SpringSolution__SpringSolution(t1, t2 - end, Math.min(0, velocity)), tolerance); } t1 = Math.abs(velocity); if (t1 < tolerance.velocity) return _null; if (velocity > 0) { t2 = position._pixels; t2.toString; t2 = t2 >= position.get$maxScrollExtent(); } else t2 = false; if (t2) return _null; if (velocity < 0) { t2 = position._pixels; t2.toString; t2 = t2 <= position.get$minScrollExtent(); } else t2 = false; if (t2) return _null; t2 = position._pixels; t2.toString; t2 = new A.ClampingScrollSimulation(t2, velocity, tolerance); t1 = Math.exp(Math.log(0.35 * t1 / 778.3530259679999) / ($.$get$ClampingScrollSimulation__kDecelerationRate() - 1)); t2.__ClampingScrollSimulation__duration = t1; t2.__ClampingScrollSimulation__distance = Math.abs(velocity * A._lateReadCheck(t1, "_duration") / 3.065); return t2; } }; A.AlwaysScrollableScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.AlwaysScrollableScrollPhysics(this.buildParent$1(ancestor)); }, shouldAcceptUserOffset$1(position) { return true; } }; A.NeverScrollableScrollPhysics.prototype = { applyTo$1(ancestor) { return new A.NeverScrollableScrollPhysics(this.buildParent$1(ancestor)); }, shouldAcceptUserOffset$1(position) { return false; }, get$allowImplicitScrolling() { return false; } }; A.ScrollPositionAlignmentPolicy.prototype = { toString$0(_) { return "ScrollPositionAlignmentPolicy." + this._core$_name; } }; A.ScrollPosition.prototype = { ScrollPosition$5$context$debugLabel$keepScrollOffset$oldPosition$physics(context, debugLabel, keepScrollOffset, oldPosition, physics) { if (oldPosition != null) this.absorb$1(oldPosition); this.restoreScrollOffset$0(); }, get$minScrollExtent() { var t1 = this._scroll_position$_minScrollExtent; t1.toString; return t1; }, get$maxScrollExtent() { var t1 = this._scroll_position$_maxScrollExtent; t1.toString; return t1; }, get$hasContentDimensions() { return this._scroll_position$_minScrollExtent != null && this._scroll_position$_maxScrollExtent != null; }, get$pixels() { var t1 = this._pixels; t1.toString; return t1; }, get$hasPixels() { return this._pixels != null; }, get$viewportDimension() { var t1 = this._viewportDimension; t1.toString; return t1; }, get$hasViewportDimension() { return this._viewportDimension != null; }, absorb$1(other) { var t1, _this = this; if (other._scroll_position$_minScrollExtent != null && other._scroll_position$_maxScrollExtent != null) { _this._scroll_position$_minScrollExtent = other.get$minScrollExtent(); _this._scroll_position$_maxScrollExtent = other.get$maxScrollExtent(); } t1 = other._pixels; if (t1 != null) _this._pixels = t1; t1 = other._viewportDimension; if (t1 != null) _this._viewportDimension = t1; _this._activity = other._activity; other._activity = null; if (A.getRuntimeType(other) !== A.getRuntimeType(_this)) _this._activity.resetActivity$0(); _this.context.setIgnorePointer$1(_this._activity.get$shouldIgnorePointer()); _this.isScrollingNotifier.set$value(0, _this._activity.get$isScrolling()); }, setPixels$1(newPixels) { var result, t2, t3, _this = this, t1 = _this._pixels; t1.toString; if (newPixels !== t1) { result = _this.physics.applyBoundaryConditions$2(_this, newPixels); t1 = _this._pixels; t1.toString; t2 = newPixels - result; _this._pixels = t2; if (t2 !== t1) { _this._updateSemanticActions$0(); _this.super$ChangeNotifier$notifyListeners(); t2 = _this._pixels; t2.toString; _this.didUpdateScrollPositionBy$1(t2 - t1); } if (result !== 0) { t1 = _this._activity; t1.toString; t2 = _this.copyWith$0(); t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this.context._gestureDetectorKey); t3.toString; t1.dispatchOverscrollNotification$3(t2, t3, result); return result; } } return 0; }, correctBy$1(correction) { var t1 = this._pixels; t1.toString; this._pixels = t1 + correction; this._didChangeViewportDimensionOrReceiveCorrection = true; }, forcePixels$1(value) { var _this = this, t1 = _this._pixels; t1.toString; _this._impliedVelocity = value - t1; _this._pixels = value; _this._updateSemanticActions$0(); _this.super$ChangeNotifier$notifyListeners(); $.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new A.ScrollPosition_forcePixels_closure(_this)); }, saveScrollOffset$0() { var t3, t1 = this.context, t2 = t1._framework$_element; t2.toString; t2 = A.PageStorage_of(t2); if (t2 != null) { t1 = t1._framework$_element; t1.toString; t3 = this._pixels; t3.toString; t2.writeState$2(t1, t3); } }, restoreScrollOffset$0() { var t1, t2; if (this._pixels == null) { t1 = this.context; t2 = t1._framework$_element; t2.toString; t2 = A.PageStorage_of(t2); if (t2 == null) t1 = null; else { t1 = t1._framework$_element; t1.toString; t1 = t2.readState$1(t1); } A._asDoubleQ(t1); if (t1 != null) this._pixels = t1; } }, restoreOffset$2$initialRestore(offset, initialRestore) { if (initialRestore) this._pixels = offset; else this.jumpTo$1(offset); }, saveOffset$0() { var t1 = this._pixels; t1.toString; this.context._persistedScrollOffset.set$value(0, t1); A._lateReadCheck($.ServicesBinding__instance.ServicesBinding___ServicesBinding__restorationManager, "_restorationManager").flushData$0(); }, applyViewportDimension$1(viewportDimension) { if (this._viewportDimension !== viewportDimension) { this._viewportDimension = viewportDimension; this._didChangeViewportDimensionOrReceiveCorrection = true; } return true; }, applyContentDimensions$2(minScrollExtent, maxScrollExtent) { var currentMetrics, t1, t2, _this = this; if (!A.nearEqual(_this._scroll_position$_minScrollExtent, minScrollExtent, 0.001) || !A.nearEqual(_this._scroll_position$_maxScrollExtent, maxScrollExtent, 0.001) || _this._didChangeViewportDimensionOrReceiveCorrection || _this._lastAxis !== A.axisDirectionToAxis(_this.get$axisDirection())) { _this._scroll_position$_minScrollExtent = minScrollExtent; _this._scroll_position$_maxScrollExtent = maxScrollExtent; _this._lastAxis = A.axisDirectionToAxis(_this.get$axisDirection()); currentMetrics = _this._haveDimensions ? _this.copyWith$0() : null; _this._didChangeViewportDimensionOrReceiveCorrection = false; _this._pendingDimensions = true; if (_this._haveDimensions) { t1 = _this._scroll_position$_lastMetrics; t1.toString; currentMetrics.toString; t1 = !_this.correctForNewDimensions$2(t1, currentMetrics); } else t1 = false; if (t1) return false; _this._haveDimensions = true; } if (_this._pendingDimensions) { _this.super$ScrollPosition$applyNewDimensions(); _this.context.setCanDrag$1(_this.physics.shouldAcceptUserOffset$1(_this)); _this._pendingDimensions = false; } currentMetrics = _this.copyWith$0(); if (_this._scroll_position$_lastMetrics != null) { t1 = Math.max(currentMetrics.get$pixels() - currentMetrics.get$minScrollExtent(), 0); t2 = _this._scroll_position$_lastMetrics; if (t1 === Math.max(t2.get$pixels() - t2.get$minScrollExtent(), 0)) if (currentMetrics.get$extentInside() === _this._scroll_position$_lastMetrics.get$extentInside()) { t1 = Math.max(currentMetrics.get$maxScrollExtent() - currentMetrics.get$pixels(), 0); t2 = _this._scroll_position$_lastMetrics; t1 = t1 === Math.max(t2.get$maxScrollExtent() - t2.get$pixels(), 0) && currentMetrics.axisDirection === _this._scroll_position$_lastMetrics.axisDirection; } else t1 = false; else t1 = false; t1 = !t1; } else t1 = true; if (t1) { if (!_this._haveScheduledUpdateNotification) { A.scheduleMicrotask(_this.get$didUpdateScrollMetrics()); _this._haveScheduledUpdateNotification = true; } _this._scroll_position$_lastMetrics = _this.copyWith$0(); } return true; }, correctForNewDimensions$2(oldPosition, newPosition) { var _this = this, newPixels = _this.physics.adjustPositionForNewDimensions$4$isScrolling$newPosition$oldPosition$velocity(_this._activity.get$isScrolling(), newPosition, oldPosition, _this._activity.get$velocity()), t1 = _this._pixels; t1.toString; if (newPixels !== t1) { _this._pixels = newPixels; return false; } return true; }, applyNewDimensions$0() { this._activity.applyNewDimensions$0(); this._updateSemanticActions$0(); }, _updateSemanticActions$0() { var $forward, backward, actions, t2, _this = this, t1 = _this.context; switch (t1._widget.axisDirection.index) { case 0: $forward = B.SemanticsAction_32; backward = B.SemanticsAction_16; break; case 1: $forward = B.SemanticsAction_4; backward = B.SemanticsAction_8; break; case 2: $forward = B.SemanticsAction_16; backward = B.SemanticsAction_32; break; case 3: $forward = B.SemanticsAction_8; backward = B.SemanticsAction_4; break; default: $forward = null; backward = null; } actions = A.LinkedHashSet_LinkedHashSet$_empty(type$.SemanticsAction); t2 = _this._pixels; t2.toString; if (t2 > _this.get$minScrollExtent()) actions.add$1(0, backward); t2 = _this._pixels; t2.toString; if (t2 < _this.get$maxScrollExtent()) actions.add$1(0, $forward); if (A.setEquals(actions, _this._semanticActions)) return; _this._semanticActions = actions; t1 = t1._gestureDetectorKey; if (t1.get$currentState() != null) t1.get$currentState().replaceSemanticsActions$1(actions); }, ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(object, alignment, alignmentPolicy, curve, duration, targetRenderObject) { var targetRect, target, _this = this, _null = null, t1 = A.RenderAbstractViewport_of(object); t1.toString; targetRect = targetRenderObject != null && targetRenderObject !== object ? A.MatrixUtils_transformRect(targetRenderObject.getTransformTo$1(0, object), object.get$paintBounds().intersect$1(targetRenderObject.get$paintBounds())) : _null; switch (alignmentPolicy.index) { case 0: target = B.JSNumber_methods.clamp$2(t1.getOffsetToReveal$3$rect(object, alignment, targetRect).offset, _this.get$minScrollExtent(), _this.get$maxScrollExtent()); break; case 1: target = B.JSNumber_methods.clamp$2(t1.getOffsetToReveal$3$rect(object, 1, targetRect).offset, _this.get$minScrollExtent(), _this.get$maxScrollExtent()); t1 = _this._pixels; t1.toString; if (target < t1) target = t1; break; case 2: target = B.JSNumber_methods.clamp$2(t1.getOffsetToReveal$3$rect(object, 0, targetRect).offset, _this.get$minScrollExtent(), _this.get$maxScrollExtent()); t1 = _this._pixels; t1.toString; if (target > t1) target = t1; break; default: target = _null; } t1 = _this._pixels; t1.toString; if (target === t1) return A.Future_Future$value(_null, type$.void); if (duration._duration === B.Duration_0._duration) { _this.jumpTo$1(target); return A.Future_Future$value(_null, type$.void); } return _this.animateTo$3$curve$duration(target, curve, duration); }, ensureVisible$3$curve$duration(object, curve, duration) { return this.ensureVisible$6$alignment$alignmentPolicy$curve$duration$targetRenderObject(object, 0, B.ScrollPositionAlignmentPolicy_0, curve, duration, null); }, moveTo$3$curve$duration(_, to, curve, duration) { to = B.JSNumber_methods.clamp$2(to, this.get$minScrollExtent(), this.get$maxScrollExtent()); return this.super$ViewportOffset$moveTo(0, to, curve, duration); }, beginActivity$1(newActivity) { var oldIgnorePointer, wasScrolling, _this = this, t1 = _this._activity; if (t1 != null) { oldIgnorePointer = t1.get$shouldIgnorePointer(); wasScrolling = _this._activity.get$isScrolling(); if (wasScrolling && !newActivity.get$isScrolling()) _this.didEndScroll$0(); _this._activity.dispose$0(0); } else { wasScrolling = false; oldIgnorePointer = false; } _this._activity = newActivity; if (oldIgnorePointer !== newActivity.get$shouldIgnorePointer()) _this.context.setIgnorePointer$1(_this._activity.get$shouldIgnorePointer()); _this.isScrollingNotifier.set$value(0, _this._activity.get$isScrolling()); if (!wasScrolling && _this._activity.get$isScrolling()) _this.didStartScroll$0(); }, didStartScroll$0() { var t1 = this._activity; t1.toString; t1.dispatchScrollStartNotification$2(this.copyWith$0(), $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this.context._gestureDetectorKey)); }, didUpdateScrollPositionBy$1(delta) { var t2, t3, t1 = this._activity; t1.toString; t2 = this.copyWith$0(); t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this.context._gestureDetectorKey); t3.toString; t1.dispatchScrollUpdateNotification$3(t2, t3, delta); }, didEndScroll$0() { var t2, t3, _this = this, t1 = _this._activity; t1.toString; t2 = _this.copyWith$0(); t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this.context._gestureDetectorKey); t3.toString; t1.dispatchScrollEndNotification$2(t2, t3); _this.saveOffset$0(); _this.saveScrollOffset$0(); }, didUpdateScrollMetrics$0() { var t1, t2, t3; this._haveScheduledUpdateNotification = false; t1 = this.context._gestureDetectorKey; if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1) != null) { t2 = this.copyWith$0(); t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); t3.toString; new A.ScrollMetricsNotification(t2, t3, 0).dispatch$1($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1)); } }, dispose$0(_) { var t1 = this._activity; if (t1 != null) t1.dispose$0(0); this._activity = null; this.super$ChangeNotifier$dispose(0); }, debugFillDescription$1(description) { var t1, t2, _this = this; _this.super$ViewportOffset$debugFillDescription(description); t1 = _this._scroll_position$_minScrollExtent; t1 = "range: " + A.S(t1 == null ? null : B.JSNumber_methods.toStringAsFixed$1(t1, 1)) + ".."; t2 = _this._scroll_position$_maxScrollExtent; description.push(t1 + A.S(t2 == null ? null : B.JSNumber_methods.toStringAsFixed$1(t2, 1))); t1 = _this._viewportDimension; description.push("viewport: " + A.S(t1 == null ? null : B.JSNumber_methods.toStringAsFixed$1(t1, 1))); } }; A.ScrollPosition_forcePixels_closure.prototype = { call$1(timeStamp) { this.$this._impliedVelocity = 0; }, $signature: 8 }; A.ScrollMetricsNotification.prototype = { debugFillDescription$1(description) { this.super$_ScrollMetricsNotification_Notification_ViewportNotificationMixin$debugFillDescription(description); description.push(this.metrics.toString$0(0)); } }; A._ScrollMetricsNotification_Notification_ViewportNotificationMixin.prototype = { visitAncestor$1(element) { if (element instanceof A.RenderObjectElement && type$.RenderAbstractViewport._is(element.get$renderObject())) ++this.ViewportNotificationMixin__depth; return this.super$Notification$visitAncestor(element); }, debugFillDescription$1(description) { var t1; this.super$Notification$debugFillDescription(description); t1 = "depth: " + this.ViewportNotificationMixin__depth + " ("; description.push(t1 + (this.ViewportNotificationMixin__depth === 0 ? "local" : "remote") + ")"); } }; A._ScrollPosition_ViewportOffset_ScrollMetrics.prototype = {}; A.ScrollPositionWithSingleContext.prototype = { ScrollPositionWithSingleContext$6$context$debugLabel$initialPixels$keepScrollOffset$oldPosition$physics(context, debugLabel, initialPixels, keepScrollOffset, oldPosition, physics) { var _this = this; if (_this._pixels == null && initialPixels != null) _this._pixels = initialPixels; if (_this._activity == null) _this.beginActivity$1(new A.IdleScrollActivity(_this)); }, get$axisDirection() { return this.context._widget.axisDirection; }, absorb$1(other) { var t1, _this = this; _this.super$ScrollPosition$absorb(other); _this._activity._scroll_activity$_delegate = _this; _this._userScrollDirection = other._userScrollDirection; t1 = other._currentDrag; if (t1 != null) { _this._currentDrag = t1; t1._scroll_activity$_delegate = _this; other._currentDrag = null; } }, beginActivity$1(newActivity) { var t1, _this = this; _this._heldPreviousVelocity = 0; _this.super$ScrollPosition$beginActivity(newActivity); t1 = _this._currentDrag; if (t1 != null) t1.dispose$0(0); _this._currentDrag = null; if (!_this._activity.get$isScrolling()) _this.updateUserScrollDirection$1(B.ScrollDirection_0); }, goBallistic$1(velocity) { var t1, t2, t3, _this = this, simulation = _this.physics.createBallisticSimulation$2(_this, velocity); if (simulation != null) { t1 = new A.BallisticScrollActivity(_this); t2 = A.AnimationController$unbounded(null, 0, _this.context); t2.didRegisterListener$0(); t3 = t2.AnimationLocalListenersMixin__listeners; t3._isDirty = true; t3._list.push(t1.get$_scroll_activity$_tick()); t2.animateWith$1(simulation)._primaryCompleter.future.whenComplete$1(t1.get$_scroll_activity$_end()); t1.__BallisticScrollActivity__controller = t2; _this.beginActivity$1(t1); } else _this.beginActivity$1(new A.IdleScrollActivity(_this)); }, updateUserScrollDirection$1(value) { var t1, t2, t3, _this = this; if (_this._userScrollDirection === value) return; _this._userScrollDirection = value; t1 = _this.copyWith$0(); t2 = _this.context._gestureDetectorKey; t3 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2); t3.toString; new A.UserScrollNotification(value, t1, t3, 0).dispatch$1($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2)); }, animateTo$3$curve$duration(to, curve, duration) { var activity, t2, _this = this, _s10_ = "_completer", t1 = _this._pixels; t1.toString; if (A.nearEqual(to, t1, _this.physics.get$tolerance().distance)) { _this.jumpTo$1(to); return A.Future_Future$value(null, type$.void); } t1 = _this._pixels; t1.toString; activity = new A.DrivenScrollActivity(_this); t2 = $.Zone__current; A._lateWriteOnceCheck($, _s10_); activity.__DrivenScrollActivity__completer = new A._AsyncCompleter(new A._Future(t2, type$._Future_void), type$._AsyncCompleter_void); t1 = A.AnimationController$unbounded("DrivenScrollActivity", t1, _this.context); t1.didRegisterListener$0(); t2 = t1.AnimationLocalListenersMixin__listeners; t2._isDirty = true; t2._list.push(activity.get$_scroll_activity$_tick()); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(to, curve, duration)._primaryCompleter.future.whenComplete$1(activity.get$_scroll_activity$_end()); A._lateWriteOnceCheck(activity.__DrivenScrollActivity__controller, "_controller"); activity.__DrivenScrollActivity__controller = t1; _this.beginActivity$1(activity); return A._lateReadCheck(activity.__DrivenScrollActivity__completer, _s10_).future; }, jumpTo$1(value) { var t1, t2, _this = this; _this.beginActivity$1(new A.IdleScrollActivity(_this)); t1 = _this._pixels; t1.toString; if (t1 !== value) { _this.forcePixels$1(value); _this.didStartScroll$0(); t2 = _this._pixels; t2.toString; _this.didUpdateScrollPositionBy$1(t2 - t1); _this.didEndScroll$0(); } _this.goBallistic$1(0); }, dispose$0(_) { var t1 = this._currentDrag; if (t1 != null) t1.dispose$0(0); this._currentDrag = null; this.super$ScrollPosition$dispose(0); } }; A.BouncingScrollSimulation.prototype = { _scroll_simulation$_simulation$1(time) { var simulation, _this = this, _s11_ = "_springTime"; if (time > A._lateReadCheck(_this.__BouncingScrollSimulation__springTime, _s11_)) { _this._timeOffset = isFinite(A._lateReadCheck(_this.__BouncingScrollSimulation__springTime, _s11_)) ? A._lateReadCheck(_this.__BouncingScrollSimulation__springTime, _s11_) : 0; simulation = A._lateReadCheck(_this.__BouncingScrollSimulation__springSimulation, "_springSimulation"); } else { _this._timeOffset = 0; simulation = A._lateReadCheck(_this.__BouncingScrollSimulation__frictionSimulation, "_frictionSimulation"); } simulation.tolerance = _this.tolerance; return simulation; }, x$1(_, time) { return this._scroll_simulation$_simulation$1(time).x$1(0, time - this._timeOffset); }, dx$1(_, time) { return this._scroll_simulation$_simulation$1(time).dx$1(0, time - this._timeOffset); }, isDone$1(time) { return this._scroll_simulation$_simulation$1(time).isDone$1(time - this._timeOffset); }, toString$0(_) { return "BouncingScrollSimulation(leadingExtent: " + A.S(this.leadingExtent) + ", trailingExtent: " + A.S(this.trailingExtent) + ")"; } }; A.ClampingScrollSimulation.prototype = { x$1(_, time) { var _this = this, t = B.JSNumber_methods.clamp$2(time / A._lateReadCheck(_this.__ClampingScrollSimulation__duration, "_duration"), 0, 1); return _this.position + A._lateReadCheck(_this.__ClampingScrollSimulation__distance, "_distance") * (1.2 * t * t * t - 3.27 * t * t + 3.065 * t) * J.get$sign$in(_this.velocity); }, dx$1(_, time) { var _this = this, _s9_ = "_duration", t = B.JSNumber_methods.clamp$2(time / A._lateReadCheck(_this.__ClampingScrollSimulation__duration, _s9_), 0, 1); return A._lateReadCheck(_this.__ClampingScrollSimulation__distance, "_distance") * (3.6 * t * t - 6.54 * t + 3.065) * J.get$sign$in(_this.velocity) / A._lateReadCheck(_this.__ClampingScrollSimulation__duration, _s9_); }, isDone$1(time) { return time >= A._lateReadCheck(this.__ClampingScrollSimulation__duration, "_duration"); } }; A.ScrollViewKeyboardDismissBehavior.prototype = { toString$0(_) { return "ScrollViewKeyboardDismissBehavior." + this._core$_name; } }; A.ScrollView.prototype = { buildViewport$4(context, offset, axisDirection, slivers) { var _this = this; if (_this.shrinkWrap) return new A.ShrinkWrappingViewport(axisDirection, offset, _this.clipBehavior, slivers, null); return A.Viewport$(_this.anchor, axisDirection, _this.cacheExtent, B.CacheExtentStyle_0, _this.center, _this.clipBehavior, offset, slivers); }, build$1(_, context) { var _this = this, slivers = _this.buildSlivers$1(context), t1 = A.getAxisDirectionFromAxisReverseAndDirectionality(context, _this.scrollDirection, false), t2 = _this.primary, scrollController = t2 ? A.PrimaryScrollController_of(context) : _this.controller, scrollable = A.Scrollable$(t1, scrollController, _this.dragStartBehavior, false, _this.physics, _this.restorationId, _this.scrollBehavior, _this.semanticChildCount, new A.ScrollView_build_closure(_this, t1, slivers)), scrollableResult = t2 && scrollController != null ? A.PrimaryScrollController$none(scrollable) : scrollable; if (_this.keyboardDismissBehavior === B.ScrollViewKeyboardDismissBehavior_1) return new A.NotificationListener(scrollableResult, new A.ScrollView_build_closure0(context), null, type$.NotificationListener_ScrollUpdateNotification); else return scrollableResult; } }; A.ScrollView_build_closure.prototype = { call$2(context, offset) { return this.$this.buildViewport$4(context, offset, this.axisDirection, this.slivers); }, $signature: 695 }; A.ScrollView_build_closure0.prototype = { call$1(notification) { var focusScope = A.FocusScope_of(this.context); if (notification.dragDetails != null && focusScope.get$hasFocus()) focusScope.unfocus$0(); return false; }, $signature: 696 }; A.CustomScrollView.prototype = { buildSlivers$1(context) { return this.slivers; } }; A.BoxScrollView.prototype = { buildSlivers$1(context) { var mediaQuery, t1, mediaQueryHorizontalPadding, mediaQueryVerticalPadding, sliver = this.buildChildLayout$1(context), effectivePadding = this.padding; if (effectivePadding == null) { mediaQuery = A.MediaQuery_maybeOf(context); if (mediaQuery != null) { t1 = mediaQuery.padding; mediaQueryHorizontalPadding = t1.copyWith$2$bottom$top(0, 0); mediaQueryVerticalPadding = t1.copyWith$2$left$right(0, 0); t1 = this.scrollDirection === B.Axis_1; effectivePadding = t1 ? mediaQueryVerticalPadding : mediaQueryHorizontalPadding; sliver = new A.MediaQuery(mediaQuery.copyWith$1$padding(t1 ? mediaQueryHorizontalPadding : mediaQueryVerticalPadding), sliver, null); } } return A._setArrayType([effectivePadding != null ? new A.SliverPadding(effectivePadding, sliver, null) : sliver], type$.JSArray_Widget); } }; A.ListView.prototype = { buildChildLayout$1(context) { var t1 = this.itemExtent; if (t1 != null) return A.SliverFixedExtentList$(this.childrenDelegate, t1); return A.SliverList$(this.childrenDelegate); } }; A.GridView.prototype = { buildChildLayout$1(context) { return new A.SliverGrid(this.gridDelegate, this.childrenDelegate, null); } }; A._ScrollableState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure.prototype = { call$2(property, listener) { if (!property._restoration0$_disposed) property.removeListener$1(0, listener); }, $signature: 47 }; A.Scrollable.prototype = { createState$0() { var _null = null, t1 = type$.LabeledGlobalKey_State_StatefulWidget; return new A.ScrollableState(new A._RestorableScrollOffset(A.List_List$filled(0, _null, false, type$.nullable_void_Function)), new A.LabeledGlobalKey(_null, t1), new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_RawGestureDetectorState), new A.LabeledGlobalKey(_null, t1), B.Map_empty5, _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, _null, B._StateLifecycle_0); }, viewportBuilder$2(arg0, arg1) { return this.viewportBuilder.call$2(arg0, arg1); } }; A.Scrollable_ensureVisible_closure.prototype = { call$1(_) { return null; }, $signature: 697 }; A._ScrollableScope.prototype = { updateShouldNotify$1(old) { return this.position !== old.position; } }; A.ScrollableState.prototype = { get$_effectiveScrollController() { var t1 = this._widget.controller; if (t1 == null) { t1 = this._fallbackScrollController; t1.toString; } return t1; }, _updatePosition$0() { var t2, t3, oldPosition, _this = this, t1 = _this._widget.scrollBehavior; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.ScrollConfiguration_of(t1); } _this.__ScrollableState__configuration = t1; t1 = A._lateReadCheck(t1, "_configuration"); t2 = _this._framework$_element; t2.toString; t2 = t1.getScrollPhysics$1(t2); _this._physics = t2; t1 = _this._widget; t3 = t1.physics; if (t3 != null) _this._physics = t3.applyTo$1(t2); else { t1 = t1.scrollBehavior; if (t1 != null) { t2 = _this._framework$_element; t2.toString; _this._physics = t1.getScrollPhysics$1(t2).applyTo$1(_this._physics); } } oldPosition = _this._scrollable$_position; if (oldPosition != null) { _this.get$_effectiveScrollController().detach$1(0, oldPosition); A.scheduleMicrotask(oldPosition.get$dispose(oldPosition)); } t1 = _this.get$_effectiveScrollController(); t2 = _this._physics; t2.toString; _this._scrollable$_position = t1.createScrollPosition$3(t2, _this, oldPosition); t2 = _this.get$_effectiveScrollController(); t1 = _this._scrollable$_position; t1.toString; t2.attach$1(t1); }, restoreState$2(oldBucket, initialRestore) { var t1 = this._persistedScrollOffset; this.registerForRestoration$2(t1, "offset"); t1 = A._instanceType(t1)._eval$1("RestorableValue.T")._as(t1._restoration_properties$_value); if (t1 != null) this._scrollable$_position.restoreOffset$2$initialRestore(t1, initialRestore); }, initState$0() { if (this._widget.controller == null) this._fallbackScrollController = A.ScrollController$(null, 0, true); this.super$State$initState(); }, didChangeDependencies$0() { this._updatePosition$0(); this.super$_ScrollableState_State_TickerProviderStateMixin_RestorationMixin$didChangeDependencies(); }, _shouldUpdatePosition$1(oldWidget) { var t2, oldPhysics, t3, _this = this, _null = null, t1 = _this._widget, newPhysics = t1.physics; if (newPhysics == null) { t1 = t1.scrollBehavior; if (t1 == null) newPhysics = _null; else { t2 = _this._framework$_element; t2.toString; t2 = t1.getScrollPhysics$1(t2); newPhysics = t2; } } oldPhysics = oldWidget.physics; if (oldPhysics == null) { t1 = oldWidget.scrollBehavior; if (t1 == null) oldPhysics = _null; else { t2 = _this._framework$_element; t2.toString; t2 = t1.getScrollPhysics$1(t2); oldPhysics = t2; } } do { t1 = newPhysics == null; t2 = t1 ? _null : A.getRuntimeType(newPhysics); t3 = oldPhysics == null; if (t2 != (t3 ? _null : A.getRuntimeType(oldPhysics))) return true; newPhysics = t1 ? _null : newPhysics.parent; oldPhysics = t3 ? _null : oldPhysics.parent; } while (newPhysics != null || oldPhysics != null); t1 = _this._widget.controller; t1 = t1 == null ? _null : A.getRuntimeType(t1); t2 = oldWidget.controller; return t1 != (t2 == null ? _null : A.getRuntimeType(t2)); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$_ScrollableState_State_TickerProviderStateMixin_RestorationMixin$didUpdateWidget(oldWidget); t1 = oldWidget.controller; if (_this._widget.controller != t1) { if (t1 == null) { t1 = _this._fallbackScrollController; t1.toString; t2 = _this._scrollable$_position; t2.toString; t1.detach$1(0, t2); _this._fallbackScrollController.dispose$0(0); _this._fallbackScrollController = null; } else { t2 = _this._scrollable$_position; t2.toString; t1.detach$1(0, t2); if (_this._widget.controller == null) _this._fallbackScrollController = A.ScrollController$(null, 0, true); } t1 = _this.get$_effectiveScrollController(); t2 = _this._scrollable$_position; t2.toString; t1.attach$1(t2); } if (_this._shouldUpdatePosition$1(oldWidget)) _this._updatePosition$0(); }, dispose$0(_) { var t2, _this = this, t1 = _this._widget.controller; if (t1 != null) { t2 = _this._scrollable$_position; t2.toString; t1.detach$1(0, t2); } else { t1 = _this._fallbackScrollController; if (t1 != null) { t2 = _this._scrollable$_position; t2.toString; t1.detach$1(0, t2); } t1 = _this._fallbackScrollController; if (t1 != null) t1.dispose$0(0); } _this._scrollable$_position.dispose$0(0); _this._persistedScrollOffset.dispose$0(0); _this.super$_ScrollableState_State_TickerProviderStateMixin_RestorationMixin$dispose(0); }, setCanDrag$1(value) { var t1, t2, _this = this; if (value === _this._lastCanDrag) t1 = !value || A.axisDirectionToAxis(_this._widget.axisDirection) === _this._scrollable$_lastAxisDirection; else t1 = false; if (t1) return; if (!value) { _this._gestureRecognizers = B.Map_empty5; _this._scrollable$_handleDragCancel$0(); } else { switch (A.axisDirectionToAxis(_this._widget.axisDirection).index) { case 1: _this._gestureRecognizers = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_mLh, new A.GestureRecognizerFactoryWithHandlers(new A.ScrollableState_setCanDrag_closure(_this), new A.ScrollableState_setCanDrag_closure0(_this), type$.GestureRecognizerFactoryWithHandlers_VerticalDragGestureRecognizer)], type$.Type, type$.GestureRecognizerFactory_GestureRecognizer); break; case 0: _this._gestureRecognizers = A.LinkedHashMap_LinkedHashMap$_literal([B.Type_Vq1, new A.GestureRecognizerFactoryWithHandlers(new A.ScrollableState_setCanDrag_closure1(_this), new A.ScrollableState_setCanDrag_closure2(_this), type$.GestureRecognizerFactoryWithHandlers_HorizontalDragGestureRecognizer)], type$.Type, type$.GestureRecognizerFactory_GestureRecognizer); break; } value = true; } _this._lastCanDrag = value; _this._scrollable$_lastAxisDirection = A.axisDirectionToAxis(_this._widget.axisDirection); t1 = _this._gestureDetectorKey; if (t1.get$currentState() != null) { t1 = t1.get$currentState(); t1._syncAll$1(_this._gestureRecognizers); if (!t1._widget.excludeFromSemantics) { t2 = t1._framework$_element.get$renderObject(); t2.toString; type$.RenderSemanticsGestureHandler._as(t2); t1._gesture_detector$_semantics.assignSemantics$1(t2); } } }, setIgnorePointer$1(value) { var t1, _this = this; if (_this._shouldIgnorePointer === value) return; _this._shouldIgnorePointer = value; t1 = _this._ignorePointerKey; if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1) != null) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; type$.RenderIgnorePointer._as(t1).set$ignoring(_this._shouldIgnorePointer); } }, _scrollable$_handleDragDown$1(details) { var t1 = this._scrollable$_position, previousVelocity = t1._activity.get$velocity(), holdActivity = new A.HoldScrollActivity(this.get$_disposeHold(), t1); t1.beginActivity$1(holdActivity); t1._heldPreviousVelocity = previousVelocity; this._hold = holdActivity; }, _scrollable$_handleDragStart$1(details) { var t4, drag, t1 = this._scrollable$_position, t2 = t1.physics, t3 = t2.carriedMomentum$1(t1._heldPreviousVelocity); t2 = t2.get$dragStartDistanceMotionThreshold(); t4 = t2 == null ? null : 0; drag = new A.ScrollDragController(t1, this.get$_disposeDrag(), t3, t2, details.sourceTimeStamp, t3 !== 0, t4, details); t1.beginActivity$1(new A.DragScrollActivity(drag, t1)); this._scrollable$_drag = t1._currentDrag = drag; }, _scrollable$_handleDragUpdate$1(details) { var t1 = this._scrollable$_drag; if (t1 != null) t1.update$1(0, details); }, _scrollable$_handleDragEnd$1(details) { var t2, velocity, t3, isVelocityNotSubstantiallyLessThanCarriedMomentum, t1 = this._scrollable$_drag; if (t1 != null) { t2 = details.primaryVelocity; t2.toString; velocity = -t2; if (A.axisDirectionIsReversed(t1._scroll_activity$_delegate.context._widget.axisDirection)) velocity = -velocity; t1._lastDetails = details; if (t1._retainMomentum) { t2 = J.get$sign$in(velocity); t3 = t1.carriedVelocity; isVelocityNotSubstantiallyLessThanCarriedMomentum = Math.abs(velocity) > Math.abs(t3) * 0.5; if (t2 === J.get$sign$in(t3) && isVelocityNotSubstantiallyLessThanCarriedMomentum) velocity += t3; } t1._scroll_activity$_delegate.goBallistic$1(velocity); } }, _scrollable$_handleDragCancel$0() { var t1 = this._hold; if (t1 != null) t1._scroll_activity$_delegate.goBallistic$1(0); t1 = this._scrollable$_drag; if (t1 != null) t1._scroll_activity$_delegate.goBallistic$1(0); }, _disposeHold$0() { this._hold = null; }, _disposeDrag$0() { this._scrollable$_drag = null; }, _targetScrollOffsetForPointerScroll$1(delta) { var t1 = this._scrollable$_position, t2 = t1._pixels; t2.toString; return Math.min(Math.max(t2 + delta, t1.get$minScrollExtent()), this._scrollable$_position.get$maxScrollExtent()); }, _pointerSignalEventDelta$1($event) { var delta = A.axisDirectionToAxis(this._widget.axisDirection) === B.Axis_0 ? $event.get$scrollDelta()._dx : $event.get$scrollDelta()._dy; return A.axisDirectionIsReversed(this._widget.axisDirection) ? delta * -1 : delta; }, _receivedPointerSignal$1($event) { var t1, t2, delta, targetScrollOffset, _this = this; if (type$.PointerScrollEvent._is($event) && _this._scrollable$_position != null) { t1 = _this._physics; if (t1 != null) { t2 = _this._scrollable$_position; t2.toString; t2 = !t1.shouldAcceptUserOffset$1(t2); t1 = t2; } else t1 = false; if (t1) return; delta = _this._pointerSignalEventDelta$1($event); targetScrollOffset = _this._targetScrollOffsetForPointerScroll$1(delta); if (delta !== 0) { t1 = _this._scrollable$_position._pixels; t1.toString; t1 = targetScrollOffset !== t1; } else t1 = false; if (t1) $.GestureBinding__instance.GestureBinding_pointerSignalResolver.register$2(0, $event, _this.get$_handlePointerScroll()); } }, _handlePointerScroll$1($event) { var t1, t2, targetPixels, t3, _this = this, delta = _this._pointerSignalEventDelta$1($event), targetScrollOffset = _this._targetScrollOffsetForPointerScroll$1(delta); if (delta !== 0) { t1 = _this._scrollable$_position._pixels; t1.toString; t1 = targetScrollOffset !== t1; } else t1 = false; if (t1) { t1 = _this._scrollable$_position; t2 = t1._pixels; t2.toString; targetPixels = Math.min(Math.max(t2 + delta, t1.get$minScrollExtent()), t1.get$maxScrollExtent()); t2 = t1._pixels; t2.toString; if (targetPixels !== t2) { t1.beginActivity$1(new A.IdleScrollActivity(t1)); t1.updateUserScrollDirection$1(-delta > 0 ? B.ScrollDirection_1 : B.ScrollDirection_2); t2 = t1._pixels; t2.toString; t1.forcePixels$1(targetPixels); t1.isScrollingNotifier.set$value(0, true); t1.didStartScroll$0(); t3 = t1._pixels; t3.toString; t1.didUpdateScrollPositionBy$1(t3 - t2); t1.didEndScroll$0(); t1.goBallistic$1(0); } } }, _handleScrollMetricsNotification$1(notification) { var t1, scrollSemanticsRenderObject; if (notification.ViewportNotificationMixin__depth === 0) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._scrollSemanticsKey); scrollSemanticsRenderObject = t1 == null ? null : t1.get$renderObject(); if (scrollSemanticsRenderObject != null) scrollSemanticsRenderObject.markNeedsSemanticsUpdate$0(); } return false; }, build$1(_, context) { var t2, t3, t4, t5, result, details, _this = this, _null = null, _s14_ = "_configuration", t1 = _this._scrollable$_position; t1.toString; t2 = _this._gestureRecognizers; t3 = _this._widget; t4 = t3.excludeFromSemantics; t5 = _this._shouldIgnorePointer; t3 = t3.viewportBuilder$2(context, t1); result = new A._ScrollableScope(_this, t1, A.Listener$(B.HitTestBehavior_0, new A.RawGestureDetector(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), false, !t4, false, new A.IgnorePointer(t5, false, t3, _this._ignorePointerKey), _null), t2, B.HitTestBehavior_1, t4, _null, _this._gestureDetectorKey), _null, _null, _this.get$_receivedPointerSignal(), _null), _null); t1 = _this._widget; if (!t1.excludeFromSemantics) { t1 = _this._scrollable$_position; t1.toString; t2 = _this._physics.get$allowImplicitScrolling(); t3 = _this._widget; result = new A.NotificationListener(new A._ScrollSemantics(t1, t2, t3.semanticChildCount, result, _this._scrollSemanticsKey), _this.get$_handleScrollMetricsNotification(), _null, type$.NotificationListener_ScrollMetricsNotification); t1 = t3; } details = new A.ScrollableDetails(t1.axisDirection, _this.get$_effectiveScrollController()); return A._lateReadCheck(_this.__ScrollableState__configuration, _s14_).buildScrollbar$3(context, A._lateReadCheck(_this.__ScrollableState__configuration, _s14_).buildOverscrollIndicator$3(context, result, details), details); }, get$restorationId() { return this._widget.restorationId; } }; A.ScrollableState_setCanDrag_closure.prototype = { call$0() { return A.VerticalDragGestureRecognizer$(null, A._lateReadCheck(this.$this.__ScrollableState__configuration, "_configuration").get$dragDevices()); }, $signature: 304 }; A.ScrollableState_setCanDrag_closure0.prototype = { call$1(instance) { var t2, t3, t1 = this.$this; instance.onDown = t1.get$_scrollable$_handleDragDown(); instance.onStart = t1.get$_scrollable$_handleDragStart(); instance.onUpdate = t1.get$_scrollable$_handleDragUpdate(); instance.onEnd = t1.get$_scrollable$_handleDragEnd(); instance.onCancel = t1.get$_scrollable$_handleDragCancel(); t2 = t1._physics; instance.minFlingDistance = t2 == null ? null : t2.get$minFlingDistance(); t2 = t1._physics; instance.minFlingVelocity = t2 == null ? null : t2.get$minFlingVelocity(); t2 = t1._physics; instance.maxFlingVelocity = t2 == null ? null : t2.get$maxFlingVelocity(); t2 = A._lateReadCheck(t1.__ScrollableState__configuration, "_configuration"); t3 = t1._framework$_element; t3.toString; instance.velocityTrackerBuilder = t2.velocityTrackerBuilder$1(t3); instance.dragStartBehavior = t1._widget.dragStartBehavior; }, $signature: 305 }; A.ScrollableState_setCanDrag_closure1.prototype = { call$0() { return A.HorizontalDragGestureRecognizer$(null, null, A._lateReadCheck(this.$this.__ScrollableState__configuration, "_configuration").get$dragDevices()); }, $signature: 159 }; A.ScrollableState_setCanDrag_closure2.prototype = { call$1(instance) { var t2, t3, t1 = this.$this; instance.onDown = t1.get$_scrollable$_handleDragDown(); instance.onStart = t1.get$_scrollable$_handleDragStart(); instance.onUpdate = t1.get$_scrollable$_handleDragUpdate(); instance.onEnd = t1.get$_scrollable$_handleDragEnd(); instance.onCancel = t1.get$_scrollable$_handleDragCancel(); t2 = t1._physics; instance.minFlingDistance = t2 == null ? null : t2.get$minFlingDistance(); t2 = t1._physics; instance.minFlingVelocity = t2 == null ? null : t2.get$minFlingVelocity(); t2 = t1._physics; instance.maxFlingVelocity = t2 == null ? null : t2.get$maxFlingVelocity(); t2 = A._lateReadCheck(t1.__ScrollableState__configuration, "_configuration"); t3 = t1._framework$_element; t3.toString; instance.velocityTrackerBuilder = t2.velocityTrackerBuilder$1(t3); instance.dragStartBehavior = t1._widget.dragStartBehavior; }, $signature: 160 }; A.ScrollableDetails.prototype = {}; A._ScrollSemantics.prototype = { createRenderObject$1(context) { var t1 = this.position, t2 = new A._RenderScrollSemantics(t1, this.allowImplicitScrolling, this.semanticChildCount, null, A.LayerHandle$(type$.ContainerLayer_2)); t2.get$isRepaintBoundary(); t2.get$alwaysNeedsCompositing(); t2.__RenderObject__needsCompositing = false; t2.set$child(null); t1.addListener$1(0, t2.get$markNeedsSemanticsUpdate()); return t2; }, updateRenderObject$2(context, renderObject) { renderObject.set$allowImplicitScrolling(this.allowImplicitScrolling); renderObject.set$position(0, this.position); renderObject.set$semanticChildCount(this.semanticChildCount); } }; A._RenderScrollSemantics.prototype = { set$position(_, value) { var t2, _this = this, t1 = _this._scrollable$_position; if (value === t1) return; t2 = _this.get$markNeedsSemanticsUpdate(); t1.removeListener$1(0, t2); _this._scrollable$_position = value; value.addListener$1(0, t2); _this.markNeedsSemanticsUpdate$0(); }, set$allowImplicitScrolling(value) { if (value === this._allowImplicitScrolling) return; this._allowImplicitScrolling = value; this.markNeedsSemanticsUpdate$0(); }, set$semanticChildCount(value) { if (value == this._semanticChildCount) return; this._semanticChildCount = value; this.markNeedsSemanticsUpdate$0(); }, describeSemanticsConfiguration$1(config) { var t1, t2, _this = this; _this.super$RenderObject$describeSemanticsConfiguration(config); config._isSemanticBoundary = true; if (_this._scrollable$_position._haveDimensions) { config._setFlag$2(B.SemanticsFlag_262144, _this._allowImplicitScrolling); t1 = _this._scrollable$_position; t2 = t1._pixels; t2.toString; config._scrollPosition = t2; config._hasBeenAnnotated = true; config._scrollExtentMax = t1.get$maxScrollExtent(); config._hasBeenAnnotated = true; config._scrollExtentMin = _this._scrollable$_position.get$minScrollExtent(); config._hasBeenAnnotated = true; config.set$scrollChildCount(_this._semanticChildCount); } }, assembleSemanticsNode$3(node, config, children) { var t1, t2, excluded, included, firstVisibleIndex, _i, child, _this = this; if (children.length !== 0) { t1 = B.JSArray_methods.get$first(children).tags; t1 = !(t1 != null && t1.contains$1(0, B.SemanticsTag_FIw)); } else t1 = true; if (t1) { _this.super$RenderObject$assembleSemanticsNode(node, config, children); return; } t1 = _this._innerNode; if (t1 == null) t1 = _this._innerNode = A.SemanticsNode$(null, _this.get$showOnScreen()); t1.set$isMergedIntoParent(node._mergeAllDescendantsIntoThisNode || node._isMergedIntoParent); t1.set$rect(0, node._semantics$_rect); t1 = _this._innerNode; t1.toString; t2 = type$.JSArray_SemanticsNode; excluded = A._setArrayType([t1], t2); included = A._setArrayType([], t2); for (t1 = children.length, firstVisibleIndex = null, _i = 0; _i < children.length; children.length === t1 || (0, A.throwConcurrentModificationError)(children), ++_i) { child = children[_i]; t2 = child.tags; if (t2 != null && t2.contains$1(0, B.SemanticsTag_bQQ)) excluded.push(child); else { if ((child._flags & 8192) === 0) firstVisibleIndex = firstVisibleIndex == null ? child.indexInParent : firstVisibleIndex; included.push(child); } } config.set$scrollIndex(firstVisibleIndex); node.updateWith$2$childrenInInversePaintOrder$config(0, excluded, null); _this._innerNode.updateWith$2$childrenInInversePaintOrder$config(0, included, config); }, clearSemantics$0() { this.super$RenderObject$clearSemantics(); this._innerNode = null; } }; A.ScrollIncrementType.prototype = { toString$0(_) { return "ScrollIncrementType." + this._core$_name; } }; A.ScrollIntent.prototype = {}; A.ScrollAction.prototype = { isEnabled$1(_, intent) { var t1, primaryScrollController, t2, $focus = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; if ($focus != null && $focus._context != null) { t1 = $focus._context; t1.toString; if (A.Scrollable_of(t1) != null) return true; t1 = $focus._context; t1.toString; if (A.PrimaryScrollController_of(t1) != null) { t1 = $focus._context; t1.toString; primaryScrollController = A.PrimaryScrollController_of(t1); if (primaryScrollController != null) { t1 = primaryScrollController._positions; if (t1.length !== 0) { t2 = B.JSArray_methods.get$single(t1); if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2.context._gestureDetectorKey) != null) { t1 = B.JSArray_methods.get$single(t1); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1.context._gestureDetectorKey); t1.toString; t1 = A.Scrollable_of(t1) != null; } else t1 = false; } else t1 = false; } else t1 = false; return t1; } } return false; }, _calculateScrollIncrement$2$type(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; } }, _getIncrement$2(state, intent) { var increment = this._calculateScrollIncrement$2$type(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; } }, invoke$1(intent) { var state, t2, increment, t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus._context; t1.toString; state = A.Scrollable_of(t1); if (state == null) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus._context; t1.toString; t1 = B.JSArray_methods.get$single(A.PrimaryScrollController_of(t1)._positions); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1.context._gestureDetectorKey); t1.toString; state = A.Scrollable_of(t1); } t1 = state._physics; if (t1 != null) { t2 = state._scrollable$_position; t2.toString; t2 = !t1.shouldAcceptUserOffset$1(t2); t1 = t2; } else t1 = false; if (t1) return; increment = this._getIncrement$2(state, intent); if (increment === 0) return; t1 = state._scrollable$_position; t2 = t1._pixels; t2.toString; t1.moveTo$3$curve$duration(0, t2 + increment, B.Cubic_xDo, B.Duration_100000); } }; A._RestorableScrollOffset.prototype = { createDefaultValue$0() { return null; }, didUpdateValue$1(oldValue) { this.notifyListeners$0(); }, fromPrimitives$1(data) { data.toString; return A._asDouble(data); }, toPrimitives$0() { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value); }, get$enabled(_) { return A._instanceType(this)._eval$1("RestorableValue.T")._as(this._restoration_properties$_value) != null; } }; A._ScrollableState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A._ScrollableState_State_TickerProviderStateMixin_RestorationMixin.prototype = { didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this.didUpdateRestorationId$0(); }, didChangeDependencies$0() { var oldBucket, needsRestore, t1, didReplaceBucket, _this = this; _this.super$_ScrollableState_State_TickerProviderStateMixin$didChangeDependencies(); oldBucket = _this.RestorationMixin__bucket; needsRestore = _this.get$restorePending(); t1 = _this._framework$_element; t1.toString; t1 = A.RestorationScope_of(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(0); }, dispose$0(_) { var t1, _this = this; _this.RestorationMixin__properties.forEach$1(0, new A._ScrollableState_State_TickerProviderStateMixin_RestorationMixin_dispose_closure()); t1 = _this.RestorationMixin__bucket; if (t1 != null) t1.dispose$0(0); _this.RestorationMixin__bucket = null; _this.super$_ScrollableState_State_TickerProviderStateMixin$dispose(0); } }; A.ScrollbarOrientation.prototype = { toString$0(_) { return "ScrollbarOrientation." + this._core$_name; } }; A.ScrollbarPainter.prototype = { set$color(_, value) { if (this._scrollbar$_color.$eq(0, value)) return; this._scrollbar$_color = value; this.notifyListeners$0(); }, set$trackColor(value) { if (this._scrollbar$_trackColor.$eq(0, value)) return; this._scrollbar$_trackColor = value; this.notifyListeners$0(); }, set$trackBorderColor(value) { if (this._scrollbar$_trackBorderColor.$eq(0, value)) return; this._scrollbar$_trackBorderColor = value; this.notifyListeners$0(); }, set$textDirection(_, value) { if (this._scrollbar$_textDirection === value) return; this._scrollbar$_textDirection = value; this.notifyListeners$0(); }, set$thickness(value) { if (this._thickness === value) return; this._thickness = value; this.notifyListeners$0(); }, set$mainAxisMargin(value) { if (this._mainAxisMargin === value) return; this._mainAxisMargin = value; this.notifyListeners$0(); }, set$crossAxisMargin(value) { if (this._crossAxisMargin === value) return; this._crossAxisMargin = value; this.notifyListeners$0(); }, set$radius(value) { if (J.$eq$(this._radius, value)) return; this._radius = value; this.notifyListeners$0(); }, set$shape(_, value) { return; }, set$padding(_, value) { if (this._scrollbar$_padding.$eq(0, value)) return; this._scrollbar$_padding = value; this.notifyListeners$0(); }, set$minLength(_, value) { if (this._minLength === value) return; this._minLength = value; this.notifyListeners$0(); }, set$minOverscrollLength(value) { if (this._minOverscrollLength === value) return; this._minOverscrollLength = value; this.notifyListeners$0(); }, set$scrollbarOrientation(value) { return; }, update$2(_, metrics, axisDirection) { var oldMetrics, _this = this, t1 = _this._lastMetrics; if (t1 != null) if (Math.max(t1.get$pixels() - t1.get$minScrollExtent(), 0) === Math.max(metrics.get$pixels() - metrics.get$minScrollExtent(), 0)) if (_this._lastMetrics.get$extentInside() === metrics.get$extentInside()) { t1 = _this._lastMetrics; t1 = Math.max(t1.get$maxScrollExtent() - t1.get$pixels(), 0) === Math.max(metrics.get$maxScrollExtent() - metrics.get$pixels(), 0) && _this._lastAxisDirection === axisDirection; } else t1 = false; else t1 = false; else t1 = false; if (t1) return; oldMetrics = _this._lastMetrics; _this._lastMetrics = metrics; _this._lastAxisDirection = axisDirection; t1 = new A.ScrollbarPainter_update__needPaint(); if (!t1.call$1(oldMetrics) && !t1.call$1(metrics)) return; _this.notifyListeners$0(); }, get$_scrollbar$_paintThumb() { var t2, t3, t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = this._scrollbar$_color; t3 = this.fadeoutOpacityAnimation; t1.set$color(0, A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((t2.get$value(t2) >>> 24 & 255) / 255 * t3.get$value(t3))), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255)); return t1; }, _paintTrack$1$isBorder(isBorder) { var t1, t2, t3, _this = this; if (isBorder) { t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = _this._scrollbar$_trackBorderColor; t3 = _this.fadeoutOpacityAnimation; t1.set$color(0, A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((t2.get$value(t2) >>> 24 & 255) / 255 * t3.get$value(t3))), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255)); t1.set$style(0, B.PaintingStyle_1); t1.set$strokeWidth(1); return t1; } t1 = A._detectRenderer(); t1 = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t2 = _this._scrollbar$_trackColor; t3 = _this.fadeoutOpacityAnimation; t1.set$color(0, A.Color$fromARGB(B.JSNumber_methods.round$0(255 * ((t2.get$value(t2) >>> 24 & 255) / 255 * t3.get$value(t3))), t2.get$value(t2) >>> 16 & 255, t2.get$value(t2) >>> 8 & 255, t2.get$value(t2) & 255)); return t1; }, _paintTrack$0() { return this._paintTrack$1$isBorder(false); }, _paintScrollbar$4(canvas, size, thumbExtent, direction) { var resolvedOrientation, thumbSize, trackSize, x, y, t2, t3, trackOffset, borderStart, borderEnd, _this = this, _null = null, _s12_ = "_thumbOffset", t1 = _this._lastAxisDirection; if (t1 === B.AxisDirection_2 || t1 === B.AxisDirection_0) resolvedOrientation = _this._scrollbar$_textDirection === B.TextDirection_1 ? B.ScrollbarOrientation_1 : B.ScrollbarOrientation_0; else resolvedOrientation = B.ScrollbarOrientation_3; switch (resolvedOrientation.index) { case 0: t1 = _this._thickness; thumbSize = new A.Size(t1, thumbExtent); t1 += 2 * _this._crossAxisMargin; trackSize = new A.Size(t1, _this.get$_trackExtent()); x = _this._crossAxisMargin + _this._scrollbar$_padding.left; y = A._lateReadCheck(_this.__ScrollbarPainter__thumbOffset, _s12_); t2 = x - _this._crossAxisMargin; t3 = _this._mainAxisMargin; trackOffset = new A.Offset(t2, t3); borderStart = trackOffset.$add(0, new A.Offset(t1, 0)); borderEnd = new A.Offset(t2 + t1, t3 + _this.get$_trackExtent()); break; case 1: t1 = _this._thickness; thumbSize = new A.Size(t1, thumbExtent); trackSize = new A.Size(t1 + 2 * _this._crossAxisMargin, _this.get$_trackExtent()); x = size._dx - _this._thickness - _this._crossAxisMargin - _this._scrollbar$_padding.right; y = A._lateReadCheck(_this.__ScrollbarPainter__thumbOffset, _s12_); t1 = x - _this._crossAxisMargin; t2 = _this._mainAxisMargin; trackOffset = new A.Offset(t1, t2); borderEnd = new A.Offset(t1, t2 + _this.get$_trackExtent()); borderStart = trackOffset; break; case 2: thumbSize = new A.Size(thumbExtent, _this._thickness); t1 = _this.get$_trackExtent(); t2 = _this._thickness + 2 * _this._crossAxisMargin; trackSize = new A.Size(t1, t2); x = A._lateReadCheck(_this.__ScrollbarPainter__thumbOffset, _s12_); t1 = _this._crossAxisMargin; y = t1 + _this._scrollbar$_padding.top; t3 = _this._mainAxisMargin; t1 = y - t1; trackOffset = new A.Offset(t3, t1); borderStart = trackOffset.$add(0, new A.Offset(0, t2)); borderEnd = new A.Offset(t3 + _this.get$_trackExtent(), t1 + t2); break; case 3: thumbSize = new A.Size(thumbExtent, _this._thickness); trackSize = new A.Size(_this.get$_trackExtent(), _this._thickness + 2 * _this._crossAxisMargin); x = A._lateReadCheck(_this.__ScrollbarPainter__thumbOffset, _s12_); t1 = _this._thickness; t2 = _this._crossAxisMargin; y = size._dy - t1 - t2 - _this._scrollbar$_padding.bottom; t1 = _this._mainAxisMargin; t2 = y - t2; trackOffset = new A.Offset(t1, t2); borderEnd = new A.Offset(t1 + _this.get$_trackExtent(), t2); borderStart = trackOffset; break; default: borderEnd = _null; borderStart = borderEnd; trackOffset = borderStart; trackSize = trackOffset; thumbSize = trackSize; y = thumbSize; x = y; } t1 = trackOffset._dx; t2 = trackOffset._dy; _this._trackRect = new A.Rect(t1, t2, t1 + trackSize._dx, t2 + trackSize._dy); _this._thumbRect = new A.Rect(x, y, x + thumbSize._dx, y + thumbSize._dy); t1 = _this.fadeoutOpacityAnimation; if (t1.get$value(t1) !== 0) { t1 = _this._trackRect; t1.toString; canvas.drawRect$2(0, t1, _this._paintTrack$0()); canvas.drawLine$3(0, borderStart, borderEnd, _this._paintTrack$1$isBorder(true)); t1 = _this._radius; if (t1 != null) { t2 = _this._thumbRect; t2.toString; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(t2, t1), _this.get$_scrollbar$_paintThumb()); return; } t1 = _this._thumbRect; t1.toString; canvas.drawRect$2(0, t1, _this.get$_scrollbar$_paintThumb()); return; } }, _thumbExtent$0() { var t3, t4, t5, t6, t7, fractionVisible, thumbExtent, safeMinLength, newMinLength, _this = this, t1 = _this._lastMetrics.get$extentInside(), t2 = _this._lastAxisDirection; t2 = t2 === B.AxisDirection_2 || t2 === B.AxisDirection_0; t3 = _this._scrollbar$_padding; t2 = t2 ? t3.get$_top(t3) + t3.get$_bottom(t3) : t3.get$horizontal(); t3 = _this._lastMetrics; t4 = t3._maxScrollExtent; t4.toString; t5 = t3._minScrollExtent; t5.toString; t3 = t3._scroll_metrics$_viewportDimension; t3.toString; t6 = _this._lastAxisDirection; t6 = t6 === B.AxisDirection_2 || t6 === B.AxisDirection_0; t7 = _this._scrollbar$_padding; t6 = t6 ? t7.get$_top(t7) + t7.get$_bottom(t7) : t7.get$horizontal(); fractionVisible = B.JSNumber_methods.clamp$2((t1 - t2) / (t4 - t5 + t3 - t6), 0, 1); thumbExtent = Math.max(Math.min(_this.get$_trackExtent(), _this._minOverscrollLength), _this.get$_trackExtent() * fractionVisible); t6 = _this._lastMetrics.get$extentInside(); t3 = _this._lastMetrics._scroll_metrics$_viewportDimension; t3.toString; safeMinLength = Math.min(_this._minLength, _this.get$_trackExtent()); t1 = _this._lastAxisDirection; t1 = t1 === B.AxisDirection_0 || t1 === B.AxisDirection_3; t2 = _this._lastMetrics; if ((t1 ? Math.max(t2.get$maxScrollExtent() - t2.get$pixels(), 0) : Math.max(t2.get$pixels() - t2.get$minScrollExtent(), 0)) > 0) { t1 = _this._lastAxisDirection; t1 = t1 === B.AxisDirection_0 || t1 === B.AxisDirection_3; t2 = _this._lastMetrics; t2 = (t1 ? Math.max(t2.get$pixels() - t2.get$minScrollExtent(), 0) : Math.max(t2.get$maxScrollExtent() - t2.get$pixels(), 0)) > 0; t1 = t2; } else t1 = false; newMinLength = t1 ? safeMinLength : safeMinLength * (1 - B.JSNumber_methods.clamp$2(1 - t6 / t3, 0, 0.2) / 0.2); return B.JSNumber_methods.clamp$2(thumbExtent, newMinLength, _this.get$_trackExtent()); }, dispose$0(_) { this.fadeoutOpacityAnimation.parent.removeListener$1(0, this.get$notifyListeners()); this.super$ChangeNotifier$dispose(0); }, get$_trackExtent() { var t2, t3, t4, _this = this, t1 = _this._lastMetrics._scroll_metrics$_viewportDimension; t1.toString; t2 = _this._mainAxisMargin; t3 = _this._lastAxisDirection; t3 = t3 === B.AxisDirection_2 || t3 === B.AxisDirection_0; t4 = _this._scrollbar$_padding; t3 = t3 ? t4.get$_top(t4) + t4.get$_bottom(t4) : t4.get$horizontal(); return t1 - 2 * t2 - t3; }, paint$2(canvas, size) { var t2, t3, beforePadding, thumbExtent, scrollableExtent, fractionPast, _this = this, t1 = _this._lastAxisDirection; if (t1 != null) { t2 = _this._lastMetrics; if (t2 != null) { t3 = t2._maxScrollExtent; t3.toString; t2 = t2._minScrollExtent; t2.toString; t2 = t3 <= t2; } else t2 = true; } else t2 = true; if (t2) return; t2 = _this._lastMetrics._scroll_metrics$_viewportDimension; t2.toString; t1 = t1 === B.AxisDirection_2 || t1 === B.AxisDirection_0; t3 = _this._scrollbar$_padding; if (t2 <= (t1 ? t3.get$_top(t3) + t3.get$_bottom(t3) : t3.get$horizontal()) || _this.get$_trackExtent() <= 0) return; t1 = _this._lastAxisDirection; t1 = t1 === B.AxisDirection_2 || t1 === B.AxisDirection_0; t2 = _this._scrollbar$_padding; beforePadding = t1 ? t2.top : t2.left; thumbExtent = _this._thumbExtent$0(); t1 = _this._lastMetrics; t2 = t1._maxScrollExtent; t2.toString; t3 = t1._minScrollExtent; t3.toString; scrollableExtent = t2 - t3; if (scrollableExtent > 0) { t1 = t1._scroll_metrics$_pixels; t1.toString; fractionPast = B.JSNumber_methods.clamp$2((t1 - t3) / scrollableExtent, 0, 1); } else fractionPast = 0; t1 = _this._lastAxisDirection; t1 = t1 === B.AxisDirection_0 || t1 === B.AxisDirection_3 ? 1 - fractionPast : fractionPast; _this.__ScrollbarPainter__thumbOffset = t1 * (_this.get$_trackExtent() - thumbExtent) + _this._mainAxisMargin + beforePadding; t1 = _this._lastMetrics._maxScrollExtent; t1.toString; if (t1 == 1 / 0 || t1 == -1 / 0) return; t1 = _this._lastAxisDirection; t1.toString; return _this._paintScrollbar$4(canvas, size, thumbExtent, t1); }, hitTestInteractive$3$forHover(position, kind, forHover) { var interactiveRect0, paddedRect, t1, interactiveRect = this._thumbRect; if (interactiveRect == null) return false; interactiveRect0 = this._trackRect; if (interactiveRect0 == null) interactiveRect0 = interactiveRect; paddedRect = interactiveRect0.expandToInclude$1(A.Rect$fromCircle(interactiveRect.get$center(), 24)); t1 = this.fadeoutOpacityAnimation; if (t1.get$value(t1) === 0) { if (forHover && kind === B.PointerDeviceKind_1) return paddedRect.contains$1(0, position); return false; } switch (kind.index) { case 0: return paddedRect.contains$1(0, position); case 1: case 2: case 3: case 4: return interactiveRect0.contains$1(0, position); } }, hitTestInteractive$2(position, kind) { return this.hitTestInteractive$3$forHover(position, kind, false); }, hitTestOnlyThumbInteractive$2(position, kind) { var t1, _this = this; if (_this._thumbRect == null) return false; t1 = _this.fadeoutOpacityAnimation; if (t1.get$value(t1) === 0) return false; switch (kind.index) { case 0: t1 = _this._thumbRect; return t1.expandToInclude$1(A.Rect$fromCircle(t1.get$center(), 24)).contains$1(0, position); case 1: case 2: case 3: case 4: return _this._thumbRect.contains$1(0, position); } }, hitTest$1(position) { var t1; if (this._thumbRect == null) return null; t1 = this.fadeoutOpacityAnimation; if (t1.get$value(t1) === 0) return false; return this._thumbRect.contains$1(0, position); }, shouldRepaint$1(oldDelegate) { var t1, _this = this; if (_this._scrollbar$_color.$eq(0, oldDelegate._scrollbar$_color)) if (_this._scrollbar$_trackColor.$eq(0, oldDelegate._scrollbar$_trackColor)) if (_this._scrollbar$_trackBorderColor.$eq(0, oldDelegate._scrollbar$_trackBorderColor)) if (_this._scrollbar$_textDirection == oldDelegate._scrollbar$_textDirection) if (_this._thickness === oldDelegate._thickness) if (_this.fadeoutOpacityAnimation === oldDelegate.fadeoutOpacityAnimation) if (_this._mainAxisMargin === oldDelegate._mainAxisMargin) if (_this._crossAxisMargin === oldDelegate._crossAxisMargin) if (J.$eq$(_this._radius, oldDelegate._radius)) t1 = !_this._scrollbar$_padding.$eq(0, oldDelegate._scrollbar$_padding) || _this._minLength !== oldDelegate._minLength || _this._minOverscrollLength !== oldDelegate._minOverscrollLength || false; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; else t1 = true; return t1; }, shouldRebuildSemantics$1(oldDelegate) { return false; }, get$semanticsBuilder() { return null; } }; A.ScrollbarPainter_update__needPaint.prototype = { call$1(metrics) { var t1, t2; if (metrics != null) { t1 = metrics._maxScrollExtent; t1.toString; t2 = metrics._minScrollExtent; t2.toString; t2 = t1 > t2; t1 = t2; } else t1 = false; return t1; }, $signature: 700 }; A.RawScrollbar.prototype = { createState$0() { return A.RawScrollbarState$(type$.RawScrollbar); }, notificationPredicate$1(arg0) { return this.notificationPredicate.call$1(arg0); } }; A.RawScrollbarState.prototype = { get$showScrollbar() { var t1 = this._widget.isAlwaysShown; return t1 === true; }, get$enableGestures() { this._widget.toString; return true; }, initState$0() { var t1, t2, t3, _this = this, _null = null; _this.super$State$initState(); t1 = A.AnimationController$(_null, _this._widget.fadeDuration, _null, 1, _null, _this); t1.addStatusListener$1(_this.get$_validateInteractions()); _this.__RawScrollbarState__fadeoutAnimationController = t1; t1 = A.CurvedAnimation$(B.Cubic_ifx, A._lateReadCheck(t1, "_fadeoutAnimationController"), _null); _this.__RawScrollbarState__fadeoutOpacityAnimation = t1; t2 = _this._widget; t2 = t2.thickness; if (t2 == null) t2 = 6; t1 = A._lateReadCheck(t1, "_fadeoutOpacityAnimation"); t3 = _this._widget.scrollbarOrientation; t2 = new A.ScrollbarPainter(B.Color_1723645116, B.Color_0, B.Color_0, t2, t1, 0, 0, _null, B.EdgeInsets_0_0_0_0, 18, 18, t3, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); t1.parent.addListener$1(0, t2.get$notifyListeners()); A._lateWriteOnceCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); _this.__RawScrollbarState_scrollbarPainter = t2; }, didChangeDependencies$0() { this.super$_RawScrollbarState_State_TickerProviderStateMixin$didChangeDependencies(); }, _validateInteractions$1($status) { var t1, scrollController = this._widget.controller; if (scrollController == null) { t1 = this._framework$_element; t1.toString; scrollController = A.PrimaryScrollController_of(t1); } if ($status !== B.AnimationStatus_0) if (scrollController != null) this.get$enableGestures(); }, updateScrollbarPainter$0() { var t2, _this = this, t1 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); _this._widget.toString; t1.set$color(0, B.Color_1723645116); t2 = _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t2.toString; t1.set$textDirection(0, t2.textDirection); t2 = _this._widget.thickness; t1.set$thickness(t2 == null ? 6 : t2); t1.set$radius(_this._widget.radius); t1.set$padding(0, _this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.padding); t1.set$scrollbarOrientation(_this._widget.scrollbarOrientation); _this._widget.toString; t1.set$mainAxisMargin(0); _this._widget.toString; t1.set$shape(0, null); _this._widget.toString; t1.set$crossAxisMargin(0); _this._widget.toString; t1.set$minLength(0, 18); _this._widget.toString; t1.set$minOverscrollLength(18); }, didUpdateWidget$1(oldWidget) { var t1, _this = this, _s27_ = "_fadeoutAnimationController"; _this.super$State$didUpdateWidget(oldWidget); t1 = _this._widget.isAlwaysShown; if (t1 != oldWidget.isAlwaysShown) if (t1 === true) { t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); t1 = A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_); t1._direction = B._AnimationDirection_0; t1._animateToInternal$3$curve$duration(1, B.C__Linear, null); } else A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).reverse$0(0); }, _maybeStartFadeoutTimer$0() { var t1, _this = this; if (!_this.get$showScrollbar()) { t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); _this._fadeoutTimer = A.Timer_Timer(_this._widget.timeToFade, new A.RawScrollbarState__maybeStartFadeoutTimer_closure(_this)); } }, getScrollbarDirection$0() { var t1 = this._currentController._positions; if (t1.length !== 0) return A.axisDirectionToAxis(B.JSArray_methods.get$single(t1).get$axisDirection()); return null; }, handleThumbPress$0() { if (this.getScrollbarDirection$0() == null) return; var t1 = this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); }, handleThumbPressStart$1(localPosition) { var _this = this, t1 = _this._widget.controller; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.PrimaryScrollController_of(t1); } _this._currentController = t1; if (_this.getScrollbarDirection$0() == null) return; t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, "_fadeoutAnimationController").forward$0(0); _this._dragScrollbarAxisOffset = localPosition; }, handleThumbPressUpdate$1(localPosition) { var position, primaryDelta, t1, t2, t3, t4, t5, t6, scrollOffsetGlobal, newPosition, _this = this; if (_this.getScrollbarDirection$0() == null) return; position = B.JSArray_methods.get$single(_this._currentController._positions); primaryDelta = A._Cell$named("primaryDelta"); switch (position.context._widget.axisDirection.index) { case 0: primaryDelta.__late_helper$_value = _this._dragScrollbarAxisOffset._dy - localPosition._dy; break; case 1: primaryDelta.__late_helper$_value = localPosition._dx - _this._dragScrollbarAxisOffset._dx; break; case 2: primaryDelta.__late_helper$_value = localPosition._dy - _this._dragScrollbarAxisOffset._dy; break; case 3: primaryDelta.__late_helper$_value = _this._dragScrollbarAxisOffset._dx - localPosition._dx; break; } t1 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); t2 = primaryDelta._readLocal$0(); t3 = t1._lastMetrics; t4 = t3._maxScrollExtent; t4.toString; t3 = t3._minScrollExtent; t3.toString; t5 = t1.get$_trackExtent(); t1 = t1._thumbExtent$0(); t6 = position._pixels; t6.toString; scrollOffsetGlobal = (t4 - t3) * t2 / (t5 - t1) + t6; if (scrollOffsetGlobal !== t6) { newPosition = scrollOffsetGlobal - position.physics.applyBoundaryConditions$2(position, scrollOffsetGlobal); t1 = _this._framework$_element; t1.toString; t1 = A.ScrollConfiguration_of(t1); t2 = _this._framework$_element; t2.toString; switch (t1.getPlatform$1(t2)) { case B.TargetPlatform_1: case B.TargetPlatform_3: case B.TargetPlatform_4: case B.TargetPlatform_5: newPosition = B.JSNumber_methods.clamp$2(newPosition, 0, position.get$maxScrollExtent()); break; case B.TargetPlatform_2: case B.TargetPlatform_0: break; } position.jumpTo$1(newPosition); } _this._dragScrollbarAxisOffset = localPosition; }, handleThumbPressEnd$2(localPosition, velocity) { var _this = this; if (_this.getScrollbarDirection$0() == null) return; _this._maybeStartFadeoutTimer$0(); _this._currentController = _this._dragScrollbarAxisOffset = null; }, _handleTrackTapDown$1(details) { var scrollIncrement, t2, _this = this, _s16_ = "scrollbarPainter", _s12_ = "_thumbOffset", t1 = _this._widget.controller; if (t1 == null) { t1 = _this._framework$_element; t1.toString; t1 = A.PrimaryScrollController_of(t1); } _this._currentController = t1; t1 = B.JSArray_methods.get$single(t1._positions); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1.context._gestureDetectorKey); t1.toString; t1 = A.Scrollable_of(t1); if (t1 != null) t1._widget.toString; t1 = _this._currentController; t1 = B.JSArray_methods.get$single(t1._positions)._viewportDimension; t1.toString; scrollIncrement = 0.8 * t1; switch (B.JSArray_methods.get$single(_this._currentController._positions).context._widget.axisDirection.index) { case 0: if (details.localPosition._dy > A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).__ScrollbarPainter__thumbOffset, _s12_)) scrollIncrement = -scrollIncrement; break; case 2: if (details.localPosition._dy < A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).__ScrollbarPainter__thumbOffset, _s12_)) scrollIncrement = -scrollIncrement; break; case 1: if (details.localPosition._dx < A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).__ScrollbarPainter__thumbOffset, _s12_)) scrollIncrement = -scrollIncrement; break; case 3: if (details.localPosition._dx > A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).__ScrollbarPainter__thumbOffset, _s12_)) scrollIncrement = -scrollIncrement; break; } t1 = B.JSArray_methods.get$single(_this._currentController._positions); t2 = B.JSArray_methods.get$single(_this._currentController._positions)._pixels; t2.toString; t1.moveTo$3$curve$duration(0, t2 + scrollIncrement, B.Cubic_xDo, B.Duration_100000); }, _shouldUpdatePainter$1(notificationAxis) { var t1, t2, scrollController = this._widget.controller; if (scrollController == null) { t1 = this._framework$_element; t1.toString; scrollController = A.PrimaryScrollController_of(t1); } if (scrollController == null) return true; t1 = scrollController._positions; t2 = t1.length; if (t2 > 1) return false; return t2 === 0 || A.axisDirectionToAxis(B.JSArray_methods.get$single(t1).get$axisDirection()) === notificationAxis; }, _scrollbar$_handleScrollMetricsNotification$1(notification) { var t2, _this = this, _s27_ = "_fadeoutAnimationController", t1 = _this._widget; t1.toString; t2 = notification.metrics; if (!t1.notificationPredicate$1(A.ScrollUpdateNotification$(notification.context, notification.ViewportNotificationMixin__depth, null, t2, null))) return false; if (_this.get$showScrollbar()) if (A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, "_status") !== B.AnimationStatus_1 && A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, "_status") !== B.AnimationStatus_3) A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).forward$0(0); t1 = t2.axisDirection; if (_this._shouldUpdatePainter$1(A.axisDirectionToAxis(t1))) A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter").update$2(0, t2, t1); return false; }, _handleScrollNotification$1(notification) { var metrics, t1, t2, _this = this, _s27_ = "_fadeoutAnimationController", _s7_ = "_status", _s16_ = "scrollbarPainter"; if (!_this._widget.notificationPredicate$1(notification)) return false; metrics = notification.metrics; t1 = metrics._maxScrollExtent; t1.toString; t2 = metrics._minScrollExtent; t2.toString; if (t1 <= t2) { if (A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, _s7_) !== B.AnimationStatus_0 && A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, _s7_) !== B.AnimationStatus_2) A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).reverse$0(0); t1 = metrics.axisDirection; if (_this._shouldUpdatePainter$1(A.axisDirectionToAxis(t1))) A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).update$2(0, metrics, t1); return false; } if (notification instanceof A.ScrollUpdateNotification || notification instanceof A.OverscrollNotification) { if (A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, _s7_) !== B.AnimationStatus_1 && A._lateReadCheck(A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).__AnimationController__status, _s7_) !== B.AnimationStatus_3) A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, _s27_).forward$0(0); t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); t1 = metrics.axisDirection; if (_this._shouldUpdatePainter$1(A.axisDirectionToAxis(t1))) A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, _s16_).update$2(0, metrics, t1); } else if (notification instanceof A.ScrollEndNotification) if (_this._dragScrollbarAxisOffset == null) _this._maybeStartFadeoutTimer$0(); return false; }, get$_gestures() { var t1, _this = this, gestures = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.GestureRecognizerFactory_GestureRecognizer), controller = _this._widget.controller; if (controller == null) { t1 = _this._framework$_element; t1.toString; controller = A.PrimaryScrollController_of(t1); } if (controller == null || !_this.get$enableGestures()) return gestures; gestures.$indexSet(0, B.Type__ThumbPressGestureRecognizer_KUi, new A.GestureRecognizerFactoryWithHandlers(new A.RawScrollbarState__gestures_closure(_this), new A.RawScrollbarState__gestures_closure0(_this), type$.GestureRecognizerFactoryWithHandlers__ThumbPressGestureRecognizer)); gestures.$indexSet(0, B.Type__TrackTapGestureRecognizer_LjJ, new A.GestureRecognizerFactoryWithHandlers(new A.RawScrollbarState__gestures_closure1(_this), new A.RawScrollbarState__gestures_closure2(_this), type$.GestureRecognizerFactoryWithHandlers__TrackTapGestureRecognizer)); return gestures; }, isPointerOverScrollbar$3$forHover(position, kind, forHover) { var localOffset, t1 = this._scrollbarPainterKey; if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1) == null) return false; localOffset = A._getLocalOffset(t1, position); return A._lateReadCheck(this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter").hitTestInteractive$3$forHover(localOffset, kind, true); }, handleHover$1($event) { var t1, _this = this; if (_this.isPointerOverScrollbar$3$forHover($event.get$position($event), $event.get$kind($event), true)) { _this._hoverIsActive = true; A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, "_fadeoutAnimationController").forward$0(0); t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); } else if (_this._hoverIsActive) { _this._hoverIsActive = false; _this._maybeStartFadeoutTimer$0(); } }, handleHoverExit$1($event) { this._hoverIsActive = false; this._maybeStartFadeoutTimer$0(); }, dispose$0(_) { var t1, _this = this; A._lateReadCheck(_this.__RawScrollbarState__fadeoutAnimationController, "_fadeoutAnimationController").dispose$0(0); t1 = _this._fadeoutTimer; if (t1 != null) t1.cancel$0(0); t1 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); t1.fadeoutOpacityAnimation.parent.removeListener$1(0, t1.get$notifyListeners()); t1.super$ChangeNotifier$dispose(0); _this.super$_RawScrollbarState_State_TickerProviderStateMixin$dispose(0); }, build$1(_, context) { var t1, t2, _this = this, _null = null; _this.updateScrollbarPainter$0(); t1 = _this.get$_gestures(); t2 = A._lateReadCheck(_this.__RawScrollbarState_scrollbarPainter, "scrollbarPainter"); return new A.NotificationListener(new A.NotificationListener(new A.RepaintBoundary(new A.RawGestureDetector(A.MouseRegion$(A.CustomPaint$(new A.RepaintBoundary(_this._widget.child, _null), t2, _this._scrollbarPainterKey, _null, B.Size_0_0), B.C__DeferringMouseCursor, _null, _null, new A.RawScrollbarState_build_closure(_this), new A.RawScrollbarState_build_closure0(_this)), t1, _null, false, _null, _null), _null), _this.get$_handleScrollNotification(), _null, type$.NotificationListener_ScrollNotification), _this.get$_scrollbar$_handleScrollMetricsNotification(), _null, type$.NotificationListener_ScrollMetricsNotification); } }; A.RawScrollbarState__maybeStartFadeoutTimer_closure.prototype = { call$0() { var t1 = this.$this; A._lateReadCheck(t1.__RawScrollbarState__fadeoutAnimationController, "_fadeoutAnimationController").reverse$0(0); t1._fadeoutTimer = null; }, $signature: 0 }; A.RawScrollbarState__gestures_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1._widget.pressDuration, t3 = type$.int, t4 = A.HashSet_HashSet(t3); return new A._ThumbPressGestureRecognizer(t1._scrollbarPainterKey, t2, null, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.GestureArenaEntry), t4, t1, null, A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.PointerDeviceKind)); }, $signature: 701 }; A.RawScrollbarState__gestures_closure0.prototype = { call$1(instance) { var t1 = this.$this; instance.onLongPress = t1.get$handleThumbPress(); instance.onLongPressStart = new A.RawScrollbarState__gestures__closure(t1); instance.onLongPressMoveUpdate = new A.RawScrollbarState__gestures__closure0(t1); instance.onLongPressEnd = new A.RawScrollbarState__gestures__closure1(t1); }, $signature: 702 }; A.RawScrollbarState__gestures__closure.prototype = { call$1(details) { return this.$this.handleThumbPressStart$1(details.localPosition); }, $signature: 104 }; A.RawScrollbarState__gestures__closure0.prototype = { call$1(details) { return this.$this.handleThumbPressUpdate$1(details.localPosition); }, $signature: 103 }; A.RawScrollbarState__gestures__closure1.prototype = { call$1(details) { return this.$this.handleThumbPressEnd$2(details.localPosition, details.velocity); }, $signature: 166 }; A.RawScrollbarState__gestures_closure1.prototype = { call$0() { var t1 = this.$this, t2 = type$.int, t3 = A.HashSet_HashSet(t2); return new A._TrackTapGestureRecognizer(t1._scrollbarPainterKey, B.Duration_100000, 18, B.GestureRecognizerState_0, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.GestureArenaEntry), t3, t1, null, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.PointerDeviceKind)); }, $signature: 704 }; A.RawScrollbarState__gestures_closure2.prototype = { call$1(instance) { instance.onTapDown = this.$this.get$_handleTrackTapDown(); }, $signature: 705 }; A.RawScrollbarState_build_closure.prototype = { call$1($event) { var t1; switch ($event.get$kind($event).index) { case 1: t1 = this.$this; if (t1.get$enableGestures()) t1.handleHoverExit$1($event); break; case 2: case 3: case 4: case 0: break; } }, $signature: 70 }; A.RawScrollbarState_build_closure0.prototype = { call$1($event) { var t1; switch ($event.get$kind($event).index) { case 1: t1 = this.$this; if (t1.get$enableGestures()) t1.handleHover$1($event); break; case 2: case 3: case 4: case 0: break; } }, $signature: 199 }; A._ThumbPressGestureRecognizer.prototype = { isPointerAllowed$1($event) { if (!this._hitTestInteractive$3(this._customPaintKey, $event.get$position($event), $event.get$kind($event))) return false; return this.super$LongPressGestureRecognizer$isPointerAllowed($event); }, _hitTestInteractive$3(customPaintKey, offset, kind) { var t1; if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, customPaintKey) == null) return false; t1 = type$.CustomPaint._as($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, customPaintKey).get$widget()).foregroundPainter; t1.toString; return type$.ScrollbarPainter._as(t1).hitTestOnlyThumbInteractive$2(A._getLocalOffset(customPaintKey, offset), kind); } }; A._TrackTapGestureRecognizer.prototype = { isPointerAllowed$1($event) { if (!this._hitTestInteractive$3(this._customPaintKey, $event.get$position($event), $event.get$kind($event))) return false; return this.super$TapGestureRecognizer$isPointerAllowed($event); }, _hitTestInteractive$3(customPaintKey, offset, kind) { var t1, localOffset; if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, customPaintKey) == null) return false; t1 = type$.CustomPaint._as($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, customPaintKey).get$widget()).foregroundPainter; t1.toString; type$.ScrollbarPainter._as(t1); localOffset = A._getLocalOffset(customPaintKey, offset); return t1.hitTestInteractive$2(localOffset, kind) && !t1.hitTestOnlyThumbInteractive$2(localOffset, kind); } }; A._RawScrollbarState_State_TickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var muted, t2, t1 = this._framework$_element; t1.toString; muted = !A.TickerMode_of(t1); t1 = this.TickerProviderStateMixin__tickers; if (t1 != null) for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) t2._as(t1._collection$_current).set$muted(0, muted); this.super$State$didChangeDependencies(); } }; A.SharedAppData.prototype = { createState$0() { return new A._SharedAppDataState(B._StateLifecycle_0); } }; A._SharedAppDataState.prototype = { get$data(_) { var value = this.___SharedAppDataState_data; return value === $ ? this.___SharedAppDataState_data = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object) : value; }, build$1(_, context) { var t1 = this._widget.child; return new A._SharedAppModel(this.get$data(this), t1, null); } }; A._SharedAppModel.prototype = { updateShouldNotify$1(old) { return this.data !== old.data; }, updateShouldNotifyDependent$2(old, keys) { var t1, t2, t3, t4; for (t1 = keys.get$iterator(keys), t2 = this.data, t3 = old.data; t1.moveNext$0();) { t4 = t1.get$current(t1); if (!J.$eq$(t2.$index(0, t4), t3.$index(0, t4))) return true; } return false; }, get$data(receiver) { return this.data; } }; A.KeySet.prototype = { KeySet$4(key1, key2, key3, key4, _box_0, $T) { _box_0.count = 1; }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return A._instanceType(this)._eval$1("KeySet<KeySet.T>")._is(other) && A.setEquals(other._shortcuts$_keys, this._shortcuts$_keys); }, get$hashCode(_) { var result, _this = this, value = _this.__KeySet_hashCode; if (value === $) { result = A.KeySet__computeHashCode(_this._shortcuts$_keys); A._lateInitializeOnceCheck(_this.__KeySet_hashCode, "hashCode"); _this.__KeySet_hashCode = result; value = result; } return value; } }; A.LogicalKeySet.prototype = { get$triggers() { return this.get$_triggers(); }, get$_triggers() { var t1, t2, result, _this = this, value = _this.__LogicalKeySet__triggers; if (value === $) { t1 = _this._shortcuts$_keys.toSet$0(0); t2 = A._instanceType(t1)._eval$1("ExpandIterable<SetMixin.E,LogicalKeyboardKey>"); result = A.LinkedHashSet_LinkedHashSet$of(new A.ExpandIterable(t1, new A.LogicalKeySet__triggers_closure(), t2), t2._eval$1("Iterable.E")); A._lateInitializeOnceCheck(_this.__LogicalKeySet__triggers, "_triggers"); _this.__LogicalKeySet__triggers = result; value = result; } return value; }, accepts$2($event, state) { var collapsedRequired, t1, collapsedPressed; if (!($event instanceof A.RawKeyDownEvent)) return false; collapsedRequired = A.LogicalKeyboardKey_collapseSynonyms(this._shortcuts$_keys.toSet$0(0)); t1 = state._keysPressed; t1 = t1.get$values(t1); collapsedPressed = A.LogicalKeyboardKey_collapseSynonyms(A.LinkedHashSet_LinkedHashSet$of(t1, A._instanceType(t1)._eval$1("Iterable.E"))); t1 = collapsedRequired.difference$1(collapsedPressed); return t1.get$isEmpty(t1) && collapsedRequired._collection$_length === collapsedPressed._collection$_length; }, $isShortcutActivator: 1 }; A.LogicalKeySet__triggers_closure.prototype = { call$1(key) { var t1 = $.LogicalKeySet__unmapSynonyms.$index(0, key); return t1 == null ? A._setArrayType([key], type$.JSArray_LogicalKeyboardKey) : t1; }, $signature: 706 }; A.SingleActivator.prototype = { get$triggers() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$get$triggers($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 = 2; return $async$self.trigger; case 2: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.LogicalKeyboardKey); }, accepts$2($event, state) { var pressed, _this = this, t1 = state._keysPressed; t1 = t1.get$values(t1); pressed = A.LinkedHashSet_LinkedHashSet$of(t1, A._instanceType(t1)._eval$1("Iterable.E")); if ($event instanceof A.RawKeyDownEvent) { t1 = pressed.contains$1(0, B.LogicalKeyboardKey_8589934848) || pressed.contains$1(0, B.LogicalKeyboardKey_8589934849); if (_this.control === t1) { t1 = pressed.contains$1(0, B.LogicalKeyboardKey_8589934850) || pressed.contains$1(0, B.LogicalKeyboardKey_8589934851); if (_this.shift === t1) { t1 = pressed.contains$1(0, B.LogicalKeyboardKey_8589934852) || pressed.contains$1(0, B.LogicalKeyboardKey_8589934853); if (_this.alt === t1) { t1 = pressed.contains$1(0, B.LogicalKeyboardKey_8589934854) || pressed.contains$1(0, B.LogicalKeyboardKey_8589934855); t1 = _this.meta === t1; } else t1 = false; } else t1 = false; } else t1 = false; } else t1 = false; return t1; }, $isShortcutActivator: 1 }; A._ActivatorIntentPair.prototype = {}; A.ShortcutManager.prototype = { set$shortcuts(value) { var _this = this; if (!A.mapEquals(_this._shortcuts, value)) { _this._shortcuts = value; _this._indexedShortcutsCache = null; _this.notifyListeners$0(); } }, get$_indexedShortcuts() { var t1 = this._indexedShortcutsCache; return t1 == null ? this._indexedShortcutsCache = A.ShortcutManager__indexShortcuts(this._shortcuts) : t1; }, _find$2($event, state) { var t2, _i, activatorIntent, candidatesByKey = this.get$_indexedShortcuts().$index(0, $event.data.get$logicalKey()), candidatesByNull = this.get$_indexedShortcuts().$index(0, null), t1 = A._setArrayType([], type$.JSArray__ActivatorIntentPair); if (candidatesByKey != null) B.JSArray_methods.addAll$1(t1, candidatesByKey); if (candidatesByNull != null) B.JSArray_methods.addAll$1(t1, candidatesByNull); for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { activatorIntent = t1[_i]; if (activatorIntent.activator.accepts$2($event, state)) return activatorIntent.intent; } return null; }, handleKeypress$2(context, $event) { var t1, primaryContext, action, matchedIntent = this._find$2($event, $.$get$RawKeyboard_instance()); if (matchedIntent != null) { t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; primaryContext = t1 == null ? null : t1._context; if (primaryContext != null) { action = A.Actions_maybeFind(primaryContext, matchedIntent, type$.Intent); if (action != null && action.isEnabled$1(0, matchedIntent)) { primaryContext.dependOnInheritedWidgetOfExactType$1$0(type$._ActionsMarker); t1 = A.Actions__findDispatcher(primaryContext); t1.invokeAction$3(action, matchedIntent, primaryContext); return action.consumesKey$1(matchedIntent) ? B.KeyEventResult_0 : B.KeyEventResult_2; } } } return B.KeyEventResult_1; } }; A.ShortcutManager__indexShortcuts_closure.prototype = { call$2(activator, intent) { var nullableTriggers = activator.get$triggers(), t1 = nullableTriggers.get$iterator(nullableTriggers), t2 = this.result; for (; t1.moveNext$0();) J.add$1$ax(t2.putIfAbsent$2(0, t1.get$current(t1), new A.ShortcutManager__indexShortcuts__closure()), new A._ActivatorIntentPair(activator, intent)); }, $signature: 707 }; A.ShortcutManager__indexShortcuts__closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray__ActivatorIntentPair); }, $signature: 708 }; A.Shortcuts.prototype = { createState$0() { return new A._ShortcutsState(B._StateLifecycle_0); } }; A._ShortcutsState.prototype = { get$manager() { this._widget.toString; var t1 = this._internalManager; t1.toString; return t1; }, dispose$0(_) { this.super$State$dispose(0); }, initState$0() { var _this = this; _this.super$State$initState(); _this._widget.toString; _this._internalManager = A.ShortcutManager$(); _this.get$manager().set$shortcuts(_this._widget.shortcuts); }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); _this._widget.toString; _this.get$manager().set$shortcuts(_this._widget.shortcuts); }, _handleOnKey$2(node, $event) { var t1, t2; if (node._context == null) return B.KeyEventResult_1; t1 = this.get$manager(); t2 = node._context; t2.toString; return t1.handleKeypress$2(t2, $event); }, build$1(_, context) { var _null = null, t1 = B.Type_Shortcuts_6TW.toString$0(0); return A.Focus$(false, false, new A._ShortcutsMarker(this.get$manager(), this._widget.child, _null), t1, _null, _null, true, _null, _null, this.get$_handleOnKey(), _null, _null); } }; A._ShortcutsMarker.prototype = {}; A._LogicalKeySet_KeySet_Diagnosticable.prototype = {}; A._ShortcutManager_ChangeNotifier_Diagnosticable.prototype = {}; A._SingleActivator_Object_Diagnosticable.prototype = {}; A.__ActivatorIntentPair_Object_Diagnosticable.prototype = {}; A.SingleChildScrollView.prototype = { build$1(_, context) { var t3, scrollController, scrollable, _this = this, t1 = {}, t2 = A.getAxisDirectionFromAxisReverseAndDirectionality(context, _this.scrollDirection, false), contents = _this.child; t1.contents = contents; t3 = _this.padding; if (t3 != null) t1.contents = new A.Padding(t3, contents, null); t3 = _this.primary; scrollController = t3 ? A.PrimaryScrollController_of(context) : _this.controller; scrollable = A.Scrollable$(t2, scrollController, _this.dragStartBehavior, false, _this.physics, _this.restorationId, null, null, new A.SingleChildScrollView_build_closure(t1, _this, t2)); return t3 && scrollController != null ? A.PrimaryScrollController$none(scrollable) : scrollable; } }; A.SingleChildScrollView_build_closure.prototype = { call$2(context, offset) { return new A._SingleChildViewport(this.axisDirection, offset, B.Clip_1, this._box_0.contents, null); }, $signature: 709 }; A._SingleChildViewport.prototype = { createRenderObject$1(context) { var t1 = new A._RenderSingleChildViewport(this.axisDirection, this.offset, this.clipBehavior, A.LayerHandle$(type$.ClipRectLayer), null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1; renderObject.set$axisDirection(this.axisDirection); renderObject.set$offset(0, this.offset); t1 = this.clipBehavior; if (t1 !== renderObject._single_child_scroll_view$_clipBehavior) { renderObject._single_child_scroll_view$_clipBehavior = t1; renderObject.markNeedsPaint$0(); renderObject.markNeedsSemanticsUpdate$0(); } } }; A._RenderSingleChildViewport.prototype = { set$axisDirection(value) { if (value === this._single_child_scroll_view$_axisDirection) return; this._single_child_scroll_view$_axisDirection = value; this.markNeedsLayout$0(); }, set$offset(_, value) { var _this = this, t1 = _this._single_child_scroll_view$_offset; if (value === t1) return; if (_this._node$_owner != null) t1.removeListener$1(0, _this.get$_hasScrolled()); _this._single_child_scroll_view$_offset = value; if (_this._node$_owner != null) value.addListener$1(0, _this.get$_hasScrolled()); _this.markNeedsLayout$0(); }, _hasScrolled$0() { this.markNeedsPaint$0(); this.markNeedsSemanticsUpdate$0(); }, setupParentData$1(child) { if (!(child.parentData instanceof A.ParentData)) child.parentData = new A.ParentData(); }, attach$1(owner) { this.super$__RenderSingleChildViewport_RenderBox_RenderObjectWithChildMixin$attach(owner); this._single_child_scroll_view$_offset.addListener$1(0, this.get$_hasScrolled()); }, detach$0(_) { this._single_child_scroll_view$_offset.removeListener$1(0, this.get$_hasScrolled()); this.super$__RenderSingleChildViewport_RenderBox_RenderObjectWithChildMixin$detach(0); }, get$isRepaintBoundary() { return true; }, get$_single_child_scroll_view$_viewportExtent() { switch (A.axisDirectionToAxis(this._single_child_scroll_view$_axisDirection).index) { case 0: return this._size._dx; case 1: return this._size._dy; } }, get$_single_child_scroll_view$_maxScrollExtent() { var _this = this, t1 = _this.RenderObjectWithChildMixin__child; if (t1 == null) return 0; switch (A.axisDirectionToAxis(_this._single_child_scroll_view$_axisDirection).index) { case 0: return Math.max(0, t1._size._dx - _this._size._dx); case 1: return Math.max(0, t1._size._dy - _this._size._dy); } }, _getInnerConstraints$1(constraints) { switch (A.axisDirectionToAxis(this._single_child_scroll_view$_axisDirection).index) { case 0: return new A.BoxConstraints(0, 1 / 0, constraints.minHeight, constraints.maxHeight); case 1: return new A.BoxConstraints(constraints.minWidth, constraints.maxWidth, 0, 1 / 0); } }, computeMinIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_0, height, t1.get$computeMinIntrinsicWidth()); return 0; }, computeMaxIntrinsicWidth$1(height) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_1, height, t1.get$computeMaxIntrinsicWidth()); return 0; }, computeMinIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_2, width, t1.get$computeMinIntrinsicHeight()); return 0; }, computeMaxIntrinsicHeight$1(width) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) return t1._computeIntrinsicDimension$3(B._IntrinsicDimension_3, width, t1.get$computeMaxIntrinsicHeight()); return 0; }, computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 == null) return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); return constraints.constrain$1(t1.getDryLayout$1(this._getInnerConstraints$1(constraints))); }, performLayout$0() { var _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)), t1 = _this.RenderObjectWithChildMixin__child; if (t1 == null) _this._size = new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); else { t1.layout$2$parentUsesSize(0, _this._getInnerConstraints$1(constraints), true); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; _this._size = constraints.constrain$1(t1); } _this._single_child_scroll_view$_offset.applyViewportDimension$1(_this.get$_single_child_scroll_view$_viewportExtent()); _this._single_child_scroll_view$_offset.applyContentDimensions$2(0, _this.get$_single_child_scroll_view$_maxScrollExtent()); }, _paintOffsetForPosition$1(position) { var _this = this; switch (_this._single_child_scroll_view$_axisDirection.index) { case 0: return new A.Offset(0, position - _this.RenderObjectWithChildMixin__child._size._dy + _this._size._dy); case 2: return new A.Offset(0, -position); case 3: return new A.Offset(position - _this.RenderObjectWithChildMixin__child._size._dx + _this._size._dx, 0); case 1: return new A.Offset(-position, 0); } }, _shouldClipAtPaintOffset$1(paintOffset) { var t2, t3, t4, t5, t1 = paintOffset._dx; if (!(t1 < 0)) { t2 = paintOffset._dy; if (!(t2 < 0)) { t3 = this.RenderObjectWithChildMixin__child._size; t4 = t3._dx; t5 = this._size; t1 = t1 + t4 > t5._dx || t2 + t3._dy > t5._dy; } else t1 = true; } else t1 = true; return t1; }, paint$2(context, offset) { var t1, t2, t3, t4, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._single_child_scroll_view$_offset._pixels; t1.toString; t1 = _this._paintOffsetForPosition$1(t1); t2 = new A._RenderSingleChildViewport_paint_paintContents(_this, t1); t1 = _this._shouldClipAtPaintOffset$1(t1) && _this._single_child_scroll_view$_clipBehavior !== B.Clip_0; t3 = _this._single_child_scroll_view$_clipRectLayer; if (t1) { t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t4 = _this._size; t3.set$layer(0, context.pushClipRect$6$clipBehavior$oldLayer(t1, offset, new A.Rect(0, 0, 0 + t4._dx, 0 + t4._dy), t2, _this._single_child_scroll_view$_clipBehavior, t3._layer)); } else { t3.set$layer(0, null); t2.call$2(context, offset); } } }, dispose$0(_) { this._single_child_scroll_view$_clipRectLayer.set$layer(0, null); this.super$RenderObject$dispose(0); }, applyPaintTransform$2(child, transform) { var t1 = this._single_child_scroll_view$_offset._pixels; t1.toString; t1 = this._paintOffsetForPosition$1(t1); transform.translate$2(0, t1._dx, t1._dy); }, describeApproximatePaintClip$1(child) { var _this = this, t1 = _this._single_child_scroll_view$_offset._pixels; t1.toString; t1 = _this._shouldClipAtPaintOffset$1(_this._paintOffsetForPosition$1(t1)); if (t1) { t1 = _this._size; return new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } return null; }, hitTestChildren$2$position(result, position) { var t1, _this = this; if (_this.RenderObjectWithChildMixin__child != null) { t1 = _this._single_child_scroll_view$_offset._pixels; t1.toString; return result.addWithPaintOffset$3$hitTest$offset$position(new A._RenderSingleChildViewport_hitTestChildren_closure(_this, position), _this._paintOffsetForPosition$1(t1), position); } return false; }, getOffsetToReveal$3$rect(target, alignment, rect) { var t1, bounds, mainAxisExtent, t2, leadingScrollOffset, targetMainAxisExtent, targetOffset, _this = this; if (rect == null) rect = target.get$paintBounds(); if (!(target instanceof A.RenderBox)) { t1 = _this._single_child_scroll_view$_offset._pixels; t1.toString; return new A.RevealedOffset(t1, rect); } bounds = A.MatrixUtils_transformRect(target.getTransformTo$1(0, _this.RenderObjectWithChildMixin__child), rect); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; switch (_this._single_child_scroll_view$_axisDirection.index) { case 0: mainAxisExtent = _this._size._dy; t2 = bounds.bottom; leadingScrollOffset = t1._dy - t2; targetMainAxisExtent = t2 - bounds.top; break; case 1: mainAxisExtent = _this._size._dx; leadingScrollOffset = bounds.left; targetMainAxisExtent = bounds.right - leadingScrollOffset; break; case 2: mainAxisExtent = _this._size._dy; leadingScrollOffset = bounds.top; targetMainAxisExtent = bounds.bottom - leadingScrollOffset; break; case 3: mainAxisExtent = _this._size._dx; t2 = bounds.right; leadingScrollOffset = t1._dx - t2; targetMainAxisExtent = t2 - bounds.left; break; default: leadingScrollOffset = null; targetMainAxisExtent = null; mainAxisExtent = null; } targetOffset = leadingScrollOffset - (mainAxisExtent - targetMainAxisExtent) * alignment; return new A.RevealedOffset(targetOffset, bounds.shift$1(_this._paintOffsetForPosition$1(targetOffset))); }, showOnScreen$4$curve$descendant$duration$rect(curve, descendant, duration, rect) { var _this = this; if (!_this._single_child_scroll_view$_offset.physics.get$allowImplicitScrolling()) return _this.super$RenderObject$showOnScreen(curve, descendant, duration, rect); _this.super$RenderObject$showOnScreen(curve, null, duration, A.RenderViewportBase_showInViewport(curve, descendant, duration, _this._single_child_scroll_view$_offset, rect, _this)); }, showOnScreen$0() { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, null); }, showOnScreen$1$rect(rect) { return this.showOnScreen$4$curve$descendant$duration$rect(B.Cubic_JUR0, null, B.Duration_0, rect); }, showOnScreen$3$curve$duration$rect(curve, duration, rect) { return this.showOnScreen$4$curve$descendant$duration$rect(curve, null, duration, rect); }, describeSemanticsClip$1(child) { var t1; switch (A.axisDirectionToAxis(this._single_child_scroll_view$_axisDirection).index) { case 1: t1 = this._size; return new A.Rect(0, -250, 0 + t1._dx, 0 + t1._dy + 250); case 0: t1 = this._size; return new A.Rect(-250, 0, 0 + t1._dx + 250, 0 + t1._dy); } }, $isRenderAbstractViewport: 1 }; A._RenderSingleChildViewport_paint_paintContents.prototype = { call$2(context, offset) { var t1 = this.$this.RenderObjectWithChildMixin__child; t1.toString; context.paintChild$2(t1, offset.$add(0, this.paintOffset)); }, $signature: 28 }; A._RenderSingleChildViewport_hitTestChildren_closure.prototype = { call$2(result, transformed) { return this.$this.RenderObjectWithChildMixin__child.hitTest$2$position(result, transformed); }, $signature: 15 }; A.__RenderSingleChildViewport_RenderBox_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.SliverChildDelegate.prototype = { get$estimatedChildCount() { return null; }, toString$0(_) { var description = A._setArrayType([], type$.JSArray_String); this.debugFillDescription$1(description); return "<optimized out>#" + A.shortHash(this) + "(" + B.JSArray_methods.join$1(description, ", ") + ")"; }, debugFillDescription$1(description) { var children, e, exception; try { children = this.get$estimatedChildCount(); if (children != null) description.push("estimated child count: " + A.S(children)); } catch (exception) { e = A.unwrapException(exception); description.push("estimated child count: EXCEPTION (" + J.get$runtimeType$(e).toString$0(0) + ")"); } } }; A._SaltedValueKey.prototype = {}; A.SliverChildBuilderDelegate.prototype = { findIndexByKey$1(key) { return null; }, build$2(_, context, index) { var child, exception, stackTrace, t1, exception0, details, key, semanticIndex, _null = null; if (index >= 0) { t1 = this.childCount; t1 = t1 != null && index >= t1; } else t1 = true; if (t1) return _null; child = null; try { child = this.builder.call$2(context, index); } catch (exception0) { exception = A.unwrapException(exception0); stackTrace = A.getTraceFromException(exception0); details = new A.FlutterErrorDetails(exception, stackTrace, "widgets library", A.ErrorDescription$("building"), _null, false); A.FlutterError_reportError(details); child = A.ErrorWidget__defaultErrorWidgetBuilder(details); } if (child == null) return _null; if (J.get$key$x(child) != null) { t1 = J.get$key$x(child); t1.toString; key = new A._SaltedValueKey(t1); } else key = _null; t1 = child; child = new A.RepaintBoundary(t1, _null); semanticIndex = A._kDefaultSemanticIndexCallback(child, index); if (semanticIndex != null) child = new A.IndexedSemantics(semanticIndex, child, _null); t1 = child; child = new A.AutomaticKeepAlive(t1, _null); return new A.KeyedSubtree(child, key); }, get$estimatedChildCount() { return this.childCount; }, shouldRebuild$1(oldDelegate) { return true; } }; A.SliverChildListDelegate.prototype = { _findChildIndex$1(key) { var t2, t3, index, child, _null = null, t1 = this._keyToIndex; if (!t1.containsKey$1(0, key)) { t2 = t1.$index(0, _null); t2.toString; for (t3 = this.children, index = t2; index < t3.length;) { child = t3[index]; if (child.get$key(child) != null) t1.$indexSet(0, child.get$key(child), index); if (J.$eq$(child.get$key(child), key)) { t1.$indexSet(0, _null, index + 1); return index; } ++index; } t1.$indexSet(0, _null, index); } else return t1.$index(0, key); return _null; }, findIndexByKey$1(key) { return this._findChildIndex$1(key instanceof A._SaltedValueKey ? key.value : key); }, build$2(_, context, index) { var child, t1, key, semanticIndex, _this = this, _null = null; if (index < 0 || index >= _this.children.length) return _null; child = _this.children[index]; if (child.get$key(child) != null) { t1 = child.get$key(child); t1.toString; key = new A._SaltedValueKey(t1); } else key = _null; if (_this.addRepaintBoundaries) child = new A.RepaintBoundary(child, _null); semanticIndex = A._kDefaultSemanticIndexCallback(child, index); if (semanticIndex != null) child = new A.IndexedSemantics(semanticIndex, child, _null); return new A.KeyedSubtree(_this.addAutomaticKeepAlives ? new A.AutomaticKeepAlive(child, _null) : child, key); }, get$estimatedChildCount() { return this.children.length; }, shouldRebuild$1(oldDelegate) { return this.children !== oldDelegate.children; } }; A.SliverWithKeepAliveWidget.prototype = {}; A.SliverMultiBoxAdaptorWidget.prototype = { createElement$0(_) { return A.SliverMultiBoxAdaptorElement$(this, false); }, estimateMaxScrollOffset$5(constraints, firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset) { return null; } }; A.SliverList.prototype = { createElement$0(_) { return A.SliverMultiBoxAdaptorElement$(this, true); }, createRenderObject$1(context) { var t1 = new A.RenderSliverList(type$.SliverMultiBoxAdaptorElement._as(context), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.RenderBox), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; } }; A.SliverFixedExtentList.prototype = { createRenderObject$1(context) { var t1 = new A.RenderSliverFixedExtentList(this.itemExtent, type$.SliverMultiBoxAdaptorElement._as(context), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.RenderBox), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$itemExtent(this.itemExtent); } }; A.SliverGrid.prototype = { createRenderObject$1(context) { var t1 = new A.RenderSliverGrid(this.gridDelegate, type$.SliverMultiBoxAdaptorElement._as(context), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.RenderBox), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$gridDelegate(this.gridDelegate); }, estimateMaxScrollOffset$5(constraints, firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset) { var t1, t2; this.super$SliverMultiBoxAdaptorWidget$estimateMaxScrollOffset(constraints, firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset); t1 = this.gridDelegate.getLayout$1(constraints); t2 = this.delegate.get$estimatedChildCount(); t2.toString; t1 = t1.computeMaxScrollOffset$1(t2); return t1; } }; A.SliverMultiBoxAdaptorElement.prototype = { get$widget() { return type$.SliverMultiBoxAdaptorWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$.RenderSliverMultiBoxAdaptor._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, update$1(_, newWidget) { var newDelegate, oldDelegate, t1, oldWidget = this.get$widget(); this.super$RenderObjectElement$update(0, newWidget); newDelegate = newWidget.delegate; oldDelegate = oldWidget.delegate; if (newDelegate !== oldDelegate) t1 = A.getRuntimeType(newDelegate) !== A.getRuntimeType(oldDelegate) || newDelegate.shouldRebuild$1(oldDelegate); else t1 = false; if (t1) this.performRebuild$0(); }, performRebuild$0() { var newChildren, indexToLayoutOffset, processElement, index, key, newIndex, childParentData, lastKey, rightBoundary, t1, t2, t3, t4, t5, _i, t6, lastKey0, _this = this, _null = null, _box_0 = {}; _this.super$RenderObjectElement$performRebuild(); _this._currentBeforeChild = null; _box_0.childrenUpdated = false; try { t1 = type$.int; newChildren = A.SplayTreeMap$(t1, type$.nullable_Element); indexToLayoutOffset = A.HashMap_HashMap(_null, _null, _null, t1, type$.double); processElement = new A.SliverMultiBoxAdaptorElement_performRebuild_processElement(_box_0, _this, newChildren, indexToLayoutOffset); for (t1 = _this._childElements, t2 = t1.$ti, t2 = t2._eval$1("@<1>")._bind$1(t2._eval$1("_SplayTreeMapNode<1,2>"))._eval$1("_SplayTreeKeyIterable<1,2>"), t2 = A.List_List$of(new A._SplayTreeKeyIterable(t1, t2), true, t2._eval$1("Iterable.E")), t3 = t2.length, t4 = type$.nullable_SliverMultiBoxAdaptorParentData, t5 = _this._replaceMovedChildren, _i = 0; _i < t3; ++_i) { index = t2[_i]; t6 = t1.$index(0, index).get$widget(); key = t6.get$key(t6); newIndex = key == null ? _null : _this.get$widget().delegate.findIndexByKey$1(key); t6 = t1.$index(0, index).get$renderObject(); childParentData = t4._as(t6 == null ? _null : t6.parentData); if (childParentData != null && childParentData.layoutOffset != null) { t6 = childParentData.layoutOffset; t6.toString; J.$indexSet$ax(indexToLayoutOffset, index, t6); } if (newIndex != null && !J.$eq$(newIndex, index)) { if (childParentData != null) childParentData.layoutOffset = null; J.$indexSet$ax(newChildren, newIndex, t1.$index(0, index)); if (t5) J.putIfAbsent$2$x(newChildren, index, new A.SliverMultiBoxAdaptorElement_performRebuild_closure()); t1.remove$1(0, index); } else J.putIfAbsent$2$x(newChildren, index, new A.SliverMultiBoxAdaptorElement_performRebuild_closure0(_this, index)); } _this.get$renderObject(); t2 = newChildren; t3 = A.instanceType(t2); new A._SplayTreeKeyIterable(t2, t3._eval$1("@<1>")._bind$1(t3._eval$1("_SplayTreeMapNode<1,2>"))._eval$1("_SplayTreeKeyIterable<1,2>")).forEach$1(0, processElement); if (!_box_0.childrenUpdated && _this._didUnderflow) { lastKey0 = t1.lastKey$0(); lastKey = lastKey0 == null ? -1 : lastKey0; rightBoundary = lastKey + 1; J.$indexSet$ax(newChildren, rightBoundary, t1.$index(0, rightBoundary)); processElement.call$1(rightBoundary); } } finally { _this._currentlyUpdatingChildIndex = null; _this.get$renderObject(); } }, createChild$2$after(index, after) { this._owner.buildScope$2(this, new A.SliverMultiBoxAdaptorElement_createChild_closure(this, after, index)); }, updateChild$3(child, newWidget, newSlot) { var t1, t2, newChild, t3, _null = null; if (child == null) t1 = _null; else { t1 = child.get$renderObject(); t1 = t1 == null ? _null : t1.parentData; } t2 = type$.nullable_SliverMultiBoxAdaptorParentData; t2._as(t1); newChild = this.super$Element$updateChild(child, newWidget, newSlot); if (newChild == null) t3 = _null; else { t3 = newChild.get$renderObject(); t3 = t3 == null ? _null : t3.parentData; } t2._as(t3); if (t1 != t3 && t1 != null && t3 != null) t3.layoutOffset = t1.layoutOffset; return newChild; }, forgetChild$1(child) { this._childElements.remove$1(0, child._slot); this.super$Element$forgetChild(child); }, removeChild$1(child) { var t1, _this = this; _this.get$renderObject(); t1 = child.parentData; t1.toString; t1 = type$.SliverMultiBoxAdaptorParentData._as(t1).index; t1.toString; _this._owner.buildScope$2(_this, new A.SliverMultiBoxAdaptorElement_removeChild_closure(_this, t1)); }, estimateMaxScrollOffset$5$firstIndex$lastIndex$leadingScrollOffset$trailingScrollOffset(constraints, firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset) { var t1, childCount = this.get$widget().delegate.get$estimatedChildCount(); if (childCount == null) return 1 / 0; t1 = this.get$widget(); leadingScrollOffset.toString; t1 = t1.estimateMaxScrollOffset$5(constraints, firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset); return t1 == null ? A.SliverMultiBoxAdaptorElement__extrapolateMaxScrollOffset(firstIndex, lastIndex, leadingScrollOffset, trailingScrollOffset, childCount) : t1; }, get$childCount() { var lo, hi, lo0, t1, mid, _this = this, result = _this.get$widget().delegate.get$estimatedChildCount(); if (result == null) { for (lo = 0, hi = 1; lo0 = hi - 1, _this.get$widget().delegate.build$2(0, _this, lo0) != null; lo = lo0) if (hi < 4503599627370496) hi *= 2; else { if (hi >= 9007199254740992) throw A.wrapException(A.FlutterError_FlutterError("Could not find the number of children in " + _this.get$widget().delegate.toString$0(0) + ".\nThe childCount getter was called (implying that the delegate's builder returned null for a positive index), but even building the child with index " + hi + " (the maximum possible integer) did not return null. Consider implementing childCount to avoid the cost of searching for the final child.")); hi = 9007199254740992; } for (; t1 = hi - lo, t1 > 1;) { mid = B.JSInt_methods._tdivFast$1(t1, 2) + lo; if (_this.get$widget().delegate.build$2(0, _this, mid - 1) == null) hi = mid; else lo = mid; } result = lo; } return result; }, didFinishLayout$0() { var t1 = this._childElements; t1.firstKey$0(); t1.lastKey$0(); this.get$widget(); }, didAdoptChild$1(child) { var t1 = child.parentData; t1.toString; type$.SliverMultiBoxAdaptorParentData._as(t1).index = this._currentlyUpdatingChildIndex; }, insertRenderObjectChild$2(child, slot) { this.get$renderObject().super$ContainerRenderObjectMixin$insert(0, type$.RenderBox._as(child), this._currentBeforeChild); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { this.get$renderObject().move$2$after(type$.RenderBox._as(child), this._currentBeforeChild); }, removeRenderObjectChild$2(child, slot) { this.get$renderObject().remove$1(0, type$.RenderBox._as(child)); }, visitChildren$1(visitor) { var t1 = this._childElements, t2 = t1.$ti; t2 = t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("_SplayTreeValueIterable<1,2>"); t2 = A.CastIterable_CastIterable(new A._SplayTreeValueIterable(t1, t2), t2._eval$1("Iterable.E"), type$.Element_2); B.JSArray_methods.forEach$1(A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E")), visitor); } }; A.SliverMultiBoxAdaptorElement_performRebuild_processElement.prototype = { call$1(index) { var newChild, parentData, t2, t3, _this = this, t1 = _this.$this; t1._currentlyUpdatingChildIndex = index; t2 = t1._childElements; if (t2.$index(0, index) != null && !J.$eq$(t2.$index(0, index), _this.newChildren.$index(0, index))) { t2.$indexSet(0, index, t1.updateChild$3(t2.$index(0, index), null, index)); _this._box_0.childrenUpdated = true; } newChild = t1.updateChild$3(_this.newChildren.$index(0, index), t1.get$widget().delegate.build$2(0, t1, index), index); if (newChild != null) { t3 = _this._box_0; t3.childrenUpdated = t3.childrenUpdated || !J.$eq$(t2.$index(0, index), newChild); t2.$indexSet(0, index, newChild); t2 = newChild.get$renderObject().parentData; t2.toString; parentData = type$.SliverMultiBoxAdaptorParentData._as(t2); if (index === 0) parentData.layoutOffset = 0; else { t2 = _this.indexToLayoutOffset; if (t2.containsKey$1(0, index)) parentData.layoutOffset = t2.$index(0, index); } if (!parentData._keptAlive) t1._currentBeforeChild = type$.nullable_RenderBox._as(newChild.get$renderObject()); } else { _this._box_0.childrenUpdated = true; t2.remove$1(0, index); } }, $signature: 40 }; A.SliverMultiBoxAdaptorElement_performRebuild_closure.prototype = { call$0() { return null; }, $signature: 3 }; A.SliverMultiBoxAdaptorElement_performRebuild_closure0.prototype = { call$0() { return this.$this._childElements.$index(0, this.index); }, $signature: 711 }; A.SliverMultiBoxAdaptorElement_createChild_closure.prototype = { call$0() { var newChild, t2, _this = this, t1 = _this.$this; t1._currentBeforeChild = _this.after == null ? null : type$.nullable_RenderBox._as(t1._childElements.$index(0, _this.index - 1).get$renderObject()); newChild = null; try { t2 = t1._currentlyUpdatingChildIndex = _this.index; newChild = t1.updateChild$3(t1._childElements.$index(0, t2), t1.get$widget().delegate.build$2(0, t1, t2), t2); } finally { t1._currentlyUpdatingChildIndex = null; } t2 = _this.index; t1 = t1._childElements; if (newChild != null) t1.$indexSet(0, t2, newChild); else t1.remove$1(0, t2); }, $signature: 0 }; A.SliverMultiBoxAdaptorElement_removeChild_closure.prototype = { call$0() { var result, t1, t2, _this = this; try { t1 = _this.$this; t2 = t1._currentlyUpdatingChildIndex = _this.index; result = t1.updateChild$3(t1._childElements.$index(0, t2), null, t2); } finally { _this.$this._currentlyUpdatingChildIndex = null; } _this.$this._childElements.remove$1(0, _this.index); }, $signature: 0 }; A.KeepAlive.prototype = { applyParentData$1(renderObject) { var t2, targetParent, t1 = renderObject.parentData; t1.toString; type$.KeepAliveParentDataMixin._as(t1); t2 = this.keepAlive; if (t1.KeepAliveParentDataMixin_keepAlive !== t2) { t1.KeepAliveParentDataMixin_keepAlive = t2; targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject && !t2) targetParent.markNeedsLayout$0(); } } }; A.SliverFillViewport.prototype = { build$1(_, context) { var t1 = this.viewportFraction, t2 = B.JSInt_methods.clamp$2(1 - t1, 0, 1); return new A._SliverFractionalPadding(t2 / 2, new A._SliverFillViewportRenderObjectWidget(t1, this.delegate, null), null); } }; A._SliverFillViewportRenderObjectWidget.prototype = { createRenderObject$1(context) { var t1 = new A.RenderSliverFillViewport(this.viewportFraction, type$.SliverMultiBoxAdaptorElement._as(context), A.LinkedHashMap_LinkedHashMap$_empty(type$.int, type$.RenderBox), 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$viewportFraction(this.viewportFraction); } }; A._SliverFractionalPadding.prototype = { createRenderObject$1(context) { var t1 = new A._RenderSliverFractionalPadding(this.viewportFraction, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$viewportFraction(this.viewportFraction); } }; A._RenderSliverFractionalPadding.prototype = { set$viewportFraction(newValue) { var _this = this; if (_this._sliver_fill$_viewportFraction === newValue) return; _this._sliver_fill$_viewportFraction = newValue; _this._sliver_fill$_resolvedPadding = null; _this.markNeedsLayout$0(); }, get$resolvedPadding() { return this._sliver_fill$_resolvedPadding; }, _sliver_fill$_resolve$0() { var t1, paddingValue, _this = this; if (_this._sliver_fill$_resolvedPadding != null && J.$eq$(_this._lastResolvedConstraints, type$.SliverConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)))) return; t1 = type$.SliverConstraints; paddingValue = t1._as(A.RenderObject.prototype.get$constraints.call(_this)).viewportMainAxisExtent * _this._sliver_fill$_viewportFraction; _this._lastResolvedConstraints = t1._as(A.RenderObject.prototype.get$constraints.call(_this)); switch (A.axisDirectionToAxis(t1._as(A.RenderObject.prototype.get$constraints.call(_this)).axisDirection).index) { case 0: _this._sliver_fill$_resolvedPadding = new A.EdgeInsets(paddingValue, 0, paddingValue, 0); break; case 1: _this._sliver_fill$_resolvedPadding = new A.EdgeInsets(0, paddingValue, 0, paddingValue); break; } return; }, performLayout$0() { this._sliver_fill$_resolve$0(); this.super$RenderSliverEdgeInsetsPadding$performLayout(); } }; A.SliverFillRemaining.prototype = { build$1(_, context) { return new A._SliverFillRemainingWithoutScrollable(this.child, null); } }; A._SliverFillRemainingWithoutScrollable.prototype = { createRenderObject$1(context) { var t1 = new A.RenderSliverFillRemaining(null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; } }; A.SliverPersistentHeaderDelegate.prototype = {}; A.SliverPersistentHeader.prototype = { build$1(_, context) { return new A._SliverPinnedPersistentHeader(this.delegate, false, null); } }; A._FloatingHeader.prototype = { createState$0() { return new A._FloatingHeaderState(B._StateLifecycle_0); } }; A._FloatingHeaderState.prototype = { didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); t1 = _this._sliver_persistent_header$_position; if (t1 != null) t1.isScrollingNotifier.removeListener$1(0, _this.get$_isScrollingListener()); t1 = _this._framework$_element; t1.toString; t1 = A.Scrollable_of(t1); if (t1 == null) t1 = null; else { t1 = t1._scrollable$_position; t1.toString; } _this._sliver_persistent_header$_position = t1; if (t1 != null) t1.isScrollingNotifier.addListener$1(0, _this.get$_isScrollingListener()); }, dispose$0(_) { var t1 = this._sliver_persistent_header$_position; if (t1 != null) t1.isScrollingNotifier.removeListener$1(0, this.get$_isScrollingListener()); this.super$State$dispose(0); }, _isScrollingListener$0() { var t3, t1 = this._framework$_element.findAncestorRenderObjectOfType$1$0(type$.RenderSliverFloatingPersistentHeader), t2 = this._sliver_persistent_header$_position; if (t2.isScrollingNotifier._change_notifier$_value) { t3 = t1 == null; if (!t3) t1._lastStartedScrollDirection = t2._userScrollDirection; if (!t3) { t1 = t1._sliver_persistent_header0$_controller; if (t1 != null) t1.stop$0(0); } } else if (t1 != null) t1.maybeStartSnapAnimation$1(t2._userScrollDirection); }, build$1(_, context) { return this._widget.child; } }; A._SliverPersistentHeaderElement.prototype = { get$widget() { return type$._SliverPersistentHeaderRenderObjectWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, mount$2($parent, newSlot) { this.super$RenderObjectElement$mount($parent, newSlot); type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this))._RenderSliverPersistentHeaderForWidgetsMixin__element = this; }, unmount$0() { type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this))._RenderSliverPersistentHeaderForWidgetsMixin__element = null; this.super$RenderObjectElement$unmount(); }, update$1(_, newWidget) { var newDelegate, oldDelegate, t1, oldWidget = type$._SliverPersistentHeaderRenderObjectWidget._as(A.RenderObjectElement.prototype.get$widget.call(this)); this.super$RenderObjectElement$update(0, newWidget); newDelegate = newWidget.delegate; oldDelegate = oldWidget.delegate; if (newDelegate !== oldDelegate) { A.getRuntimeType(newDelegate); A.getRuntimeType(oldDelegate); t1 = true; } else t1 = false; if (t1) type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).markNeedsLayout$0(); }, performRebuild$0() { this.super$RenderObjectElement$performRebuild(); type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).markNeedsLayout$0(); }, _sliver_persistent_header$_build$2(shrinkOffset, overlapsContent) { this._owner.buildScope$2(this, new A._SliverPersistentHeaderElement__build_closure(this, shrinkOffset, overlapsContent)); }, forgetChild$1(child) { this.child = null; this.super$Element$forgetChild(child); }, insertRenderObjectChild$2(child, slot) { type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(child); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { type$._RenderSliverPersistentHeaderForWidgetsMixin._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).set$child(null); }, visitChildren$1(visitor) { var t1 = this.child; if (t1 != null) visitor.call$1(t1); } }; A._SliverPersistentHeaderElement__build_closure.prototype = { call$0() { var t1 = this.$this, t2 = t1.child, t3 = type$._SliverPersistentHeaderRenderObjectWidget, t4 = this.shrinkOffset, t5 = this.overlapsContent; t1.child = t1.updateChild$3(t2, t1.floating ? new A._FloatingHeader(t3._as(A.RenderObjectElement.prototype.get$widget.call(t1)).delegate.build$3(0, t1, t4, t5), null) : t3._as(A.RenderObjectElement.prototype.get$widget.call(t1)).delegate.build$3(0, t1, t4, t5), null); }, $signature: 0 }; A._SliverPersistentHeaderRenderObjectWidget.prototype = { createElement$0(_) { var t1 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t1; return new A._SliverPersistentHeaderElement(this.floating, t1, this, B._ElementLifecycle_0, A.HashSet_HashSet(type$.Element_2)); } }; A._RenderSliverPersistentHeaderForWidgetsMixin.prototype = { get$minExtent() { var t1 = this._RenderSliverPersistentHeaderForWidgetsMixin__element; t1.toString; return type$._SliverPersistentHeaderRenderObjectWidget._as(A.RenderObjectElement.prototype.get$widget.call(t1)).delegate._utils$_size; }, updateChild$2(shrinkOffset, overlapsContent) { this._RenderSliverPersistentHeaderForWidgetsMixin__element._sliver_persistent_header$_build$2(shrinkOffset, overlapsContent); } }; A._SliverPinnedPersistentHeader.prototype = { createRenderObject$1(context) { var _null = null, t1 = new A._RenderSliverPinnedPersistentHeaderForWidgets(_null, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(_null); return t1; } }; A._RenderSliverPinnedPersistentHeaderForWidgets.prototype = {}; A.__RenderSliverPinnedPersistentHeaderForWidgets_RenderSliverPinnedPersistentHeader__RenderSliverPersistentHeaderForWidgetsMixin.prototype = {}; A.Spacer.prototype = { build$1(_, context) { return A.Expanded$(B.SizedBox_0_0_null_null, 1); } }; A.TableRow.prototype = { toString$0(_) { var t1 = "" + "TableRow(", t2 = this.key; if (t2 != null) t1 += t2.toString$0(0) + ", "; t2 = this.decoration; if (t2 != null) t1 += t2.toString$0(0) + ", "; t2 = this.children; t1 = t2.length === 0 ? t1 + "no children" : t1 + A.S(t2); t1 += ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A._TableElementRow.prototype = {}; A.Table.prototype = { createElement$0(_) { var t1 = type$.Element_2, t2 = A.HashSet_HashSet(t1), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A._TableElement(B.List_empty26, t2, t3, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); }, createRenderObject$1(context) { var t3, t4, t5, t6, _this = this, _null = null, t1 = _this.children, t2 = t1.length; t1 = t2 !== 0 ? t1[0].children.length : 0; t3 = _this.columnWidths; t4 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t4.toString; t4 = t4.textDirection; t5 = A.createLocalImageConfiguration(context, _null); t6 = A._setArrayType([], type$.JSArray_double); if (t3 == null) t3 = A.HashMap_HashMap(_null, _null, _null, type$.int, type$.TableColumnWidth); t6 = new A.RenderTable(B.List_empty25, t1, t2, t3, _this.defaultColumnWidth, t4, _this.border, t5, _this.defaultVerticalAlignment, _null, t6, A.LayerHandle$(type$.ContainerLayer_2)); t6.get$isRepaintBoundary(); t6.get$alwaysNeedsCompositing(); t6.__RenderObject__needsCompositing = false; t1 = A._setArrayType([], type$.JSArray_nullable_RenderBox); B.JSArray_methods.set$length(t1, t6._columns * t6._rows); t6._table$_children = t1; t6.set$rowDecorations(_this._rowDecorations); return t6; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$columnWidths(_this.columnWidths); renderObject.set$defaultColumnWidth(_this.defaultColumnWidth); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; renderObject.set$textDirection(0, t1); renderObject.set$border(0, _this.border); renderObject.set$rowDecorations(_this._rowDecorations); renderObject.set$configuration(A.createLocalImageConfiguration(context, null)); renderObject.set$defaultVerticalAlignment(_this.defaultVerticalAlignment); renderObject.set$textBaseline(0, null); } }; A.Table_closure.prototype = { call$1(row) { return row.decoration != null; }, $signature: 712 }; A.Table_closure0.prototype = { call$1(row) { return row.decoration; }, $signature: 713 }; A._TableElement.prototype = { get$widget() { return type$.Table._as(A.RenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$.RenderTable._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); }, mount$2($parent, newSlot) { var t2, t3, _this = this, t1 = {}; _this._doingMountOrUpdate = true; _this.super$RenderObjectElement$mount($parent, newSlot); t1.rowIndex = -1; t2 = type$.Table._as(A.RenderObjectElement.prototype.get$widget.call(_this)).children; t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,_TableElementRow>"); _this._table0$_children = A.List_List$of(new A.MappedListIterable(t2, new A._TableElement_mount_closure(t1, _this), t3), false, t3._eval$1("ListIterable.E")); _this._updateRenderObjectChildren$0(); _this._doingMountOrUpdate = false; }, insertRenderObjectChild$2(child, slot) { var t1 = type$.RenderTable; t1._as(A.RenderObjectElement.prototype.get$renderObject.call(this)); if (!(child.parentData instanceof A.TableCellParentData)) child.parentData = new A.TableCellParentData(B.Offset_0_0); if (!this._doingMountOrUpdate) t1._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).setChild$3(slot.column, slot.row, child); }, moveRenderObjectChild$3(child, oldSlot, newSlot) { }, removeRenderObjectChild$2(child, slot) { type$.RenderTable._as(A.RenderObjectElement.prototype.get$renderObject.call(this)).setChild$3(slot.column, slot.row, null); }, update$1(_, newWidget) { var t1, oldKeyedRows, t2, t3, _i, row, t4, oldUnkeyedRows, newChildren, taken, rowIndex, t5, t6, oldChildren, _length, slots, columnIndex, _this = this; _this._doingMountOrUpdate = true; t1 = type$.List_Element; oldKeyedRows = A.LinkedHashMap_LinkedHashMap$_empty(type$.LocalKey, t1); for (t2 = _this._table0$_children, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { row = t2[_i]; t4 = row.key; if (t4 != null) oldKeyedRows.$indexSet(0, t4, row.children); } t2 = _this._table0$_children; t3 = B.JSArray_methods.get$iterator(t2); oldUnkeyedRows = new A.WhereIterator(t3, new A._TableElement_update_closure(), A._arrayInstanceType(t2)._eval$1("WhereIterator<1>")); newChildren = A._setArrayType([], type$.JSArray__TableElementRow); taken = A.LinkedHashSet_LinkedHashSet$_empty(t1); for (t1 = newWidget.children, t2 = _this._table0$_forgottenChildren, t4 = type$.JSArray__TableSlot, rowIndex = 0; rowIndex < t1.length; ++rowIndex) { row = t1[rowIndex]; t5 = row.key; t6 = t5 == null; if (!t6 && oldKeyedRows.containsKey$1(0, t5)) { t6 = oldKeyedRows.$index(0, t5); t6.toString; taken.add$1(0, t6); oldChildren = t6; } else oldChildren = t6 && oldUnkeyedRows.moveNext$0() ? t3.get$current(t3).children : B.List_empty27; t6 = row.children; _length = t6.length; slots = A._setArrayType(new Array(_length), t4); for (columnIndex = 0; columnIndex < _length; ++columnIndex) slots[columnIndex] = new A._TableSlot(columnIndex, rowIndex); newChildren.push(new A._TableElementRow(t5, _this.updateChildren$4$forgottenChildren$slots(oldChildren, t6, t2, slots))); } for (; oldUnkeyedRows.moveNext$0();) _this.updateChildren$3$forgottenChildren(t3.get$current(t3).children, B.List_empty12, t2); for (t1 = oldKeyedRows.get$values(oldKeyedRows), t3 = t1.get$iterator(t1), t1 = new A.WhereIterator(t3, new A._TableElement_update_closure0(taken), A._instanceType(t1)._eval$1("WhereIterator<Iterable.E>")); t1.moveNext$0();) _this.updateChildren$3$forgottenChildren(t3.get$current(t3), B.List_empty12, t2); _this._table0$_children = newChildren; _this._updateRenderObjectChildren$0(); t2.clear$0(0); _this.super$RenderObjectElement$update(0, newWidget); _this._doingMountOrUpdate = false; }, _updateRenderObjectChildren$0() { var t3, t4, t1 = type$.RenderTable._as(A.RenderObjectElement.prototype.get$renderObject.call(this)), t2 = this._table0$_children; t2 = t2.length !== 0 ? J.get$length$asx(t2[0].children) : 0; t3 = this._table0$_children; t4 = A._arrayInstanceType(t3)._eval$1("ExpandIterable<1,RenderBox>"); t1.setFlatChildren$2(t2, A.List_List$of(new A.ExpandIterable(t3, new A._TableElement__updateRenderObjectChildren_closure(), t4), true, t4._eval$1("Iterable.E"))); }, visitChildren$1(visitor) { var t1, t2, t3, t4; for (t1 = this._table0$_children, t2 = A._arrayInstanceType(t1), t2 = t2._eval$1("@<1>")._bind$1(t2._eval$1("Element")), t1 = new A.ExpandIterator(B.JSArray_methods.get$iterator(t1), new A._TableElement_visitChildren_closure(), B.C_EmptyIterator, t2._eval$1("ExpandIterator<1,2>")), t3 = this._table0$_forgottenChildren, t2 = t2._rest[1]; t1.moveNext$0();) { t4 = t2._as(t1.__internal$_current); if (!t3.contains$1(0, t4)) visitor.call$1(t4); } }, forgetChild$1(child) { this._table0$_forgottenChildren.add$1(0, child); this.super$Element$forgetChild(child); return true; } }; A._TableElement_mount_closure.prototype = { call$1(row) { var t2, t3, t4, t5, t1 = {}; t1.columnIndex = 0; t2 = this._box_1; ++t2.rowIndex; t3 = row.key; t4 = row.children; t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Element>"); return new A._TableElementRow(t3, A.List_List$of(new A.MappedListIterable(t4, new A._TableElement_mount__closure(t1, t2, this.$this), t5), false, t5._eval$1("ListIterable.E"))); }, $signature: 714 }; A._TableElement_mount__closure.prototype = { call$1(child) { return this.$this.inflateWidget$2(child, new A._TableSlot(this._box_0.columnIndex++, this._box_1.rowIndex)); }, $signature: 715 }; A._TableElement_update_closure.prototype = { call$1(row) { return row.key == null; }, $signature: 716 }; A._TableElement_update_closure0.prototype = { call$1(list) { return !this.taken.contains$1(0, list); }, $signature: 717 }; A._TableElement__updateRenderObjectChildren_closure.prototype = { call$1(row) { return J.map$1$1$ax(row.children, new A._TableElement__updateRenderObjectChildren__closure(), type$.RenderBox); }, $signature: 718 }; A._TableElement__updateRenderObjectChildren__closure.prototype = { call$1(child) { var t1 = child.get$renderObject(); t1.toString; return type$.RenderBox._as(t1); }, $signature: 719 }; A._TableElement_visitChildren_closure.prototype = { call$1(row) { return row.children; }, $signature: 720 }; A.TableCell.prototype = { applyParentData$1(renderObject) { var t2, targetParent, t1 = renderObject.parentData; t1.toString; type$.TableCellParentData._as(t1); t2 = this.verticalAlignment; if (t1.verticalAlignment != t2) { t1.verticalAlignment = t2; targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A._TableSlot.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A._TableSlot && this.column === other.column && this.row === other.row; }, get$hashCode(_) { return A.hashValues(this.column, this.row, 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, 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.__TableSlot_Object_Diagnosticable.prototype = {}; A.DefaultTextStyle.prototype = { updateShouldNotify$1(oldWidget) { var _this = this; return !_this.style.$eq(0, oldWidget.style) || _this.textAlign != oldWidget.textAlign || _this.softWrap !== oldWidget.softWrap || _this.overflow !== oldWidget.overflow || _this.maxLines != oldWidget.maxLines || _this.textWidthBasis !== oldWidget.textWidthBasis || false; }, wrap$2(_, context, child) { var _this = this; return A.DefaultTextStyle$(child, null, _this.maxLines, _this.overflow, _this.softWrap, _this.style, _this.textAlign, _this.textHeightBehavior, _this.textWidthBasis); } }; A.DefaultTextStyle_merge_closure.prototype = { call$1(context) { var t2, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); if (t1 == null) t1 = B.DefaultTextStyle_40S; t2 = t1.style.merge$1(this.style); return A.DefaultTextStyle$(this.child, this.key, t1.maxLines, t1.overflow, t1.softWrap, t2, t1.textAlign, null, t1.textWidthBasis); }, $signature: 721 }; A._NullWidget2.prototype = { build$1(_, context) { throw A.wrapException(A.FlutterError_FlutterError("A DefaultTextStyle constructed with DefaultTextStyle.fallback cannot be incorporated into the widget tree, it is meant only to provide a fallback value returned by DefaultTextStyle.of() when no enclosing default text style is present in a BuildContext.")); } }; A.Text.prototype = { build$1(_, context) { var effectiveTextStyle, t2, t3, t4, t5, t6, t7, t8, t9, result, _this = this, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); if (t1 == null) t1 = B.DefaultTextStyle_40S; effectiveTextStyle = _this.style; if (effectiveTextStyle == null || effectiveTextStyle.inherit) effectiveTextStyle = t1.style.merge$1(effectiveTextStyle); if (A.MediaQuery_boldTextOverride(context)) effectiveTextStyle = effectiveTextStyle.merge$1(B.TextStyle_oqK); t2 = _this.textAlign; if (t2 == null) t2 = t1.textAlign; if (t2 == null) t2 = B.TextAlign_4; t3 = _this.textDirection; t4 = _this.softWrap; if (t4 == null) t4 = t1.softWrap; t5 = _this.overflow; if (t5 == null) t5 = effectiveTextStyle == null ? _null : effectiveTextStyle.overflow; if (t5 == null) t5 = t1.overflow; t6 = _this.textScaleFactor; if (t6 == null) t6 = A.MediaQuery_textScaleFactorOf(context); t7 = _this.maxLines; if (t7 == null) t7 = t1.maxLines; t8 = A.DefaultTextHeightBehavior_of(context); t9 = _this.textSpan; t9 = t9 != null ? A._setArrayType([t9], type$.JSArray_InlineSpan) : _null; result = A.RichText$(_null, _null, t7, t5, t4, _null, A.TextSpan$(t9, _null, _null, _null, effectiveTextStyle, _this.data), t2, t3, t8, t6, t1.textWidthBasis); t1 = _this.semanticsLabel; if (t1 != null) result = 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, 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, t3, _null, _null, _null), false, false, false, new A.ExcludeSemantics(true, result, _null), _null); return result; }, get$data(receiver) { return this.data; } }; A.TextEditingAction.prototype = { get$textEditingActionTarget() { var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus; if ((t1 == null ? null : t1._context) != null) { t1 = t1._context; t1 = !type$.TextEditingActionTarget._is(t1.get$state(t1)); } else t1 = true; if (t1) return null; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus._context; return type$.TextEditingActionTarget._as(t1.get$state(t1)); }, isEnabled$1(_, intent) { return this.get$textEditingActionTarget() != null; } }; A.TextEditingActionTarget.prototype = { setSelection$2(nextSelection, cause) { if (nextSelection.$eq(0, this._widget.controller._change_notifier$_value.selection)) return; this.setTextEditingValue$2(this._widget.controller._change_notifier$_value.copyWith$1$selection(nextSelection), cause); }, _extendSelectionToEnd$1(cause) { var t1 = this._widget.controller._change_notifier$_value, t2 = t1.selection; t1 = t1.text.length; if (t2.extentOffset === t1) return; return this.setSelection$2(t2.copyWith$1$extentOffset(t1), cause); }, _extendSelectionToStart$1(cause) { var t1 = this._widget; if (!t1.enableInteractiveSelection) { this.setSelection$2(A.TextSelection$fromPosition(B.TextPosition_0_TextAffinity_0), cause); return null; } this.setSelection$2(t1.controller._change_notifier$_value.selection.extendTo$1(B.TextPosition_0_TextAffinity_0), cause); }, _getLeftByWord$2(offset, includeWhitespace) { var startPoint, t1, t2; if (offset <= 0) return offset; if (offset === 1) return 0; startPoint = A.TextEditingActionTarget_previousCharacter(offset, this._widget.controller._change_notifier$_value.text, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = this._widget.controller._change_notifier$_value.selection; return t1._textPainter._paragraph.getWordBoundary$1(0, new A.TextPosition(startPoint, t2.affinity)).start; }, _getRightByWord$2(offset, includeWhitespace) { var startPoint, t1 = this._widget.controller._change_notifier$_value.text, t2 = t1.length; if (offset === t2) return offset; if (offset === t2 - 1 || false) return t2; t2 = A.TextLayoutMetrics_isWhitespace(B.JSString_methods.codeUnitAt$1(t1, offset)); startPoint = !t2 ? offset : A.TextEditingActionTarget_nextCharacter(offset, t1, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = this._widget.controller._change_notifier$_value.selection; return t1._textPainter._paragraph.getWordBoundary$1(0, new A.TextPosition(startPoint, t2.affinity)).end; }, _deleteTo$1(position) { var t1, t2, t3, t4, t5, textBefore, textAfter, newSelection, newComposingRange, charactersDeletedBeforeComposingStart, charactersDeletedBeforeComposingEnd, nextComposingRange, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return _this._widget.controller._change_notifier$_value; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; t3 = t2.start; t4 = t2.end; if (t3 !== t4) { t5 = t1.text; textBefore = B.JSString_methods.substring$2(t5, 0, t3); textAfter = B.JSString_methods.substring$1(t5, t4); newSelection = A.TextSelection$collapsed(t2.affinity, t3); if (t1.composing.get$isValid()) { t1 = _this._widget.controller._change_notifier$_value.composing; t1 = t1.start === t1.end; } else t1 = true; if (t1) newComposingRange = B.TextRange_m1_m1; else { t1 = _this._widget.controller._change_notifier$_value; t2 = t1.composing.start; t1 = t1.selection; t3 = t1.start; t3 = B.JSInt_methods.clamp$2(t2 - t3, 0, t1.end - t3); t1 = _this._widget.controller._change_notifier$_value; t4 = t1.composing.end; t1 = t1.selection; t5 = t1.start; newComposingRange = new A.TextRange(t2 - t3, t4 - B.JSInt_methods.clamp$2(t4 - t5, 0, t1.end - t5)); } return new A.TextEditingValue(textBefore + textAfter, newSelection, newComposingRange); } t3 = position.offset; t2 = t2.extentOffset; if (t3 === t2) return t1; t4 = Math.min(t3, t2); t2 = Math.max(t3, t2); t3 = B.JSString_methods.substring$2(t1.text, t4, t2).length; if (t3 === 0) return t1; charactersDeletedBeforeComposingStart = B.JSInt_methods.clamp$2(t1.composing.start - t4, 0, t3); charactersDeletedBeforeComposingEnd = B.JSInt_methods.clamp$2(_this._widget.controller._change_notifier$_value.composing.end - t4, 0, t3); if (_this._widget.controller._change_notifier$_value.composing.get$isValid()) { t1 = _this._widget.controller._change_notifier$_value.composing; t1 = t1.start === t1.end; } else t1 = true; if (t1) nextComposingRange = B.TextRange_m1_m1; else { t1 = _this._widget.controller._change_notifier$_value.composing; nextComposingRange = new A.TextRange(t1.start - charactersDeletedBeforeComposingStart, t1.end - charactersDeletedBeforeComposingEnd); } t1 = _this._widget.controller._change_notifier$_value.text; return new A.TextEditingValue(B.JSString_methods.substring$2(t1, 0, t4) + B.JSString_methods.substring$1(t1, t2), A.TextSelection$collapsed(position.affinity, t4), nextComposingRange); }, delete$1(_, cause) { var t2, textBefore, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; textBefore = B.JSString_methods.substring$2(t1.text, 0, t2.start); _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(A.TextEditingActionTarget_previousCharacter(textBefore.length, textBefore, true), B.TextAffinity_1)), cause); }, deleteByWord$2(cause, includeWhitespace) { var t2, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (t1.obscureText) return _this.deleteToStart$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection; _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(_this._getLeftByWord$2(B.JSString_methods.substring$2(t1.text, 0, t2.start).length, false), B.TextAffinity_1)), cause); }, deleteByLine$1(cause) { var t2, t3, textBefore, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; t2 = t1.controller._change_notifier$_value; t3 = t2.selection; textBefore = B.JSString_methods.substring$2(t2.text, 0, t3.start); t3 = textBefore.length - 1; if (B.JSString_methods.codeUnitAt$1(textBefore, t3) === 10) return; if (t1.obscureText) return _this.deleteToStart$1(cause); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(type$.RenderEditable._as(t1).getLineAtOffset$1(new A.TextPosition(t3, B.TextAffinity_1)).start, B.TextAffinity_1)), cause); }, deleteForward$1(cause) { var t2, characterBoundary, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; characterBoundary = A.TextEditingActionTarget_nextCharacter(0, B.JSString_methods.substring$1(t1.text, t2.end), true); _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(_this._widget.controller._change_notifier$_value.selection.end + characterBoundary, B.TextAffinity_1)), cause); }, deleteForwardByWord$2(cause, includeWhitespace) { var t2, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (t1.obscureText) return _this.deleteToEnd$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection; _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(_this._getRightByWord$2(B.JSString_methods.substring$2(t1.text, 0, t2.start).length, false), B.TextAffinity_1)), cause); }, deleteForwardByLine$1(cause) { var t2, textBefore, _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (t1.obscureText) return _this.deleteToEnd$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection; t1 = t1.text; if (B.JSString_methods._codeUnitAt$1(B.JSString_methods.substring$1(t1, t2.end), 0) === 10) return; textBefore = B.JSString_methods.substring$2(t1, 0, t2.start); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(type$.RenderEditable._as(t1).getLineAtOffset$1(new A.TextPosition(textBefore.length, B.TextAffinity_1)).end, B.TextAffinity_1)), cause); }, deleteToEnd$1(cause) { var _this = this, t1 = _this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; _this.setTextEditingValue$2(_this._deleteTo$1(new A.TextPosition(_this._widget.controller._change_notifier$_value.text.length, B.TextAffinity_1)), cause); }, deleteToStart$1(cause) { var t1 = this._widget; if (t1.readOnly) return; if (!t1.controller._change_notifier$_value.selection.get$isValid()) return; this.setTextEditingValue$2(this._deleteTo$1(B.TextPosition_0_TextAffinity_1), cause); }, expandSelectionToEnd$1(cause) { var t1, t2, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionToEnd$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.text; _this.setSelection$2(t1.selection.expandTo$2(new A.TextPosition(t2.length, B.TextAffinity_1), true), cause); }, expandSelectionToStart$1(cause) { var t1, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) { _this.setSelection$2(A.TextSelection$fromPosition(B.TextPosition_0_TextAffinity_0), cause); return null; } _this.setSelection$2(t1.controller._change_notifier$_value.selection.expandTo$2(B.TextPosition_0_TextAffinity_0, true), cause); }, expandSelectionLeftByLine$1(cause) { var t1, t2, t3, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; if (!_this._widget.enableInteractiveSelection) return _this.moveSelectionLeftByLine$1(cause); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; t3 = t2.start; t1 = t1.getLineAtOffset$1(new A.TextPosition(t3, t3 === t2.end ? t2.affinity : B.TextAffinity_1)).baseOffset; t2 = _this._widget.controller._change_notifier$_value.selection; if (t1 === t2.start) return; _this.setSelection$2(t2.expandTo$1(new A.TextPosition(t1, t2.affinity)), cause); }, expandSelectionRightByLine$1(cause) { var t1, t2, t3, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; if (!_this._widget.enableInteractiveSelection) return _this.moveSelectionRightByLine$1(cause); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; t3 = t2.end; t1 = t1.getLineAtOffset$1(new A.TextPosition(t3, t2.start === t3 ? t2.affinity : B.TextAffinity_0)).extentOffset; t2 = _this._widget.controller._change_notifier$_value.selection; if (t1 === t2.end) return; _this.setSelection$2(t2.expandTo$1(new A.TextPosition(t1, B.TextAffinity_0)), cause); }, extendSelectionDown$1(cause) { var t1, t2, index, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionDown$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection; if (t2.start === t2.end && t2.extentOffset >= t1.text.length) return; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; index = t1.getTextPositionBelow$1(new A.TextPosition(t2.extentOffset, t2.affinity)).offset; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; if (index === t2.extentOffset) { index = t1.text.length; _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = true; } else if (_this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard) { index = _this.TextEditingActionTarget__cursorResetLocation; _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = false; } else _this.TextEditingActionTarget__cursorResetLocation = index; _this.setSelection$2(t2.extendTo$1(new A.TextPosition(index, t2.affinity)), cause); }, extendSelectionLeft$1(cause) { var t1, t2, previousExtent, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionLeft$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection.extentOffset; if (t2 <= 0) return; previousExtent = A.TextEditingActionTarget_previousCharacter(t2, t1.text, true); t1 = _this._widget.controller._change_notifier$_value.selection; _this.TextEditingActionTarget__cursorResetLocation -= t1.extentOffset - previousExtent; _this.setSelection$2(t1.extendTo$1(new A.TextPosition(previousExtent, t1.affinity)), cause); }, extendSelectionLeftByLine$1(cause) { var t1, startPoint, selectedLine, nextSelection, t2, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionLeftByLine$1(cause); t1 = t1.controller._change_notifier$_value; startPoint = A.TextEditingActionTarget_previousCharacter(t1.selection.extentOffset, t1.text, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; selectedLine = type$.RenderEditable._as(t1).getLineAtOffset$1(new A.TextPosition(startPoint, B.TextAffinity_1)); nextSelection = A._Cell$named("nextSelection"); t1 = _this._widget.controller._change_notifier$_value.selection; t2 = t1.baseOffset; if (t1.extentOffset > t2) nextSelection.set$finalLocalValue(t1.copyWith$1$extentOffset(t2)); else nextSelection.set$finalLocalValue(t1.extendTo$1(new A.TextPosition(selectedLine.baseOffset, B.TextAffinity_1))); _this.setSelection$2(nextSelection._readLocal$0(), cause); }, extendSelectionRight$1(cause) { var t1, t2, nextExtent, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionRight$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection.extentOffset; t1 = t1.text; if (t2 >= t1.length) return; nextExtent = A.TextEditingActionTarget_nextCharacter(t2, t1, true); t1 = _this._widget.controller._change_notifier$_value.selection; _this.TextEditingActionTarget__cursorResetLocation += nextExtent - t1.extentOffset; _this.setSelection$2(t1.extendTo$1(new A.TextPosition(nextExtent, t1.affinity)), cause); }, extendSelectionRightByLine$1(cause) { var t1, startPoint, selectedLine, nextSelection, t2, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionRightByLine$1(cause); t1 = t1.controller._change_notifier$_value; startPoint = A.TextEditingActionTarget_nextCharacter(t1.selection.extentOffset, t1.text, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; selectedLine = type$.RenderEditable._as(t1).getLineAtOffset$1(new A.TextPosition(startPoint, B.TextAffinity_1)); nextSelection = A._Cell$named("nextSelection"); t1 = _this._widget.controller._change_notifier$_value.selection; t2 = t1.baseOffset; if (t1.extentOffset < t2) nextSelection.set$finalLocalValue(t1.copyWith$1$extentOffset(t2)); else nextSelection.set$finalLocalValue(t1.extendTo$1(new A.TextPosition(selectedLine.extentOffset, B.TextAffinity_0))); _this.setSelection$2(nextSelection._readLocal$0(), cause); }, extendSelectionLeftByWord$3(cause, includeWhitespace, stopAtReversal) { var t1, leftOffset, nextSelection, t2, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; if (_this._widget.obscureText) return _this._extendSelectionToStart$1(cause); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t1 = _this._widget.controller._change_notifier$_value.selection; if (t1.start === t1.end && t1.extentOffset <= 0) return; leftOffset = _this._getLeftByWord$2(t1.extentOffset, false); nextSelection = A._Cell$named("nextSelection"); if (stopAtReversal) { t1 = _this._widget.controller._change_notifier$_value.selection; t2 = t1.baseOffset; t1 = t1.extentOffset > t2 && leftOffset < t2; } else t1 = false; t2 = _this._widget; if (t1) { t1 = t2.controller._change_notifier$_value.selection; nextSelection.set$finalLocalValue(t1.extendTo$1(new A.TextPosition(t1.baseOffset, B.TextAffinity_1))); } else { t1 = t2.controller._change_notifier$_value.selection; nextSelection.set$finalLocalValue(t1.extendTo$1(new A.TextPosition(leftOffset, t1.affinity))); } if (J.$eq$(nextSelection._readLocal$0(), _this._widget.controller._change_notifier$_value.selection)) return; _this.setSelection$2(nextSelection._readLocal$0(), cause); }, extendSelectionLeftByWord$2(cause, includeWhitespace) { return this.extendSelectionLeftByWord$3(cause, includeWhitespace, false); }, extendSelectionRightByWord$3(cause, includeWhitespace, stopAtReversal) { var t1, t2, rightOffset, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t1 = _this._widget; if (t1.obscureText) return _this._extendSelectionToEnd$1(cause); t1 = t1.controller._change_notifier$_value; t2 = t1.selection; if (t2.start === t2.end && t2.extentOffset === t1.text.length) return; rightOffset = _this._getRightByWord$2(t2.extentOffset, false); nextSelection = A._Cell$named("nextSelection"); if (stopAtReversal) { t1 = _this._widget.controller._change_notifier$_value.selection; t2 = t1.baseOffset; t1 = t2 > t1.extentOffset && rightOffset > t2; } else t1 = false; t2 = _this._widget; if (t1) nextSelection.set$finalLocalValue(A.TextSelection$fromPosition(new A.TextPosition(t2.controller._change_notifier$_value.selection.baseOffset, B.TextAffinity_1))); else { t1 = t2.controller._change_notifier$_value.selection; nextSelection.set$finalLocalValue(t1.extendTo$1(new A.TextPosition(rightOffset, t1.affinity))); } if (J.$eq$(nextSelection._readLocal$0(), _this._widget.controller._change_notifier$_value.selection)) return; _this.setSelection$2(nextSelection._readLocal$0(), cause); }, extendSelectionRightByWord$2(cause, includeWhitespace) { return this.extendSelectionRightByWord$3(cause, includeWhitespace, false); }, extendSelectionUp$1(cause) { var t1, t2, positionAbove, nextSelection, t3, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget; if (!t1.enableInteractiveSelection) return _this.moveSelectionUp$1(cause); t1 = t1.controller._change_notifier$_value.selection; if (t1.start === t1.end && t1.extentOffset <= 0) return; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; positionAbove = t1.getTextPositionAbove$1(new A.TextPosition(t2.extentOffset, t2.affinity)); nextSelection = A._Cell$named("nextSelection"); t1 = positionAbove.offset; t2 = _this._widget.controller._change_notifier$_value.selection; if (t1 === t2.extentOffset) { nextSelection.set$finalLocalValue(t2.copyWith$2$affinity$extentOffset(B.TextAffinity_0, 0)); _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = true; } else { t3 = t2.baseOffset; if (_this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard) { nextSelection.set$finalLocalValue(t2.copyWith$2$baseOffset$extentOffset(t3, _this.TextEditingActionTarget__cursorResetLocation)); _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = false; } else { nextSelection.set$finalLocalValue(t2.copyWith$3$affinity$baseOffset$extentOffset(positionAbove.affinity, t3, t1)); _this.TextEditingActionTarget__cursorResetLocation = nextSelection._readLocal$0().extentOffset; } } _this.setSelection$2(nextSelection._readLocal$0(), cause); }, moveSelectionLeftByLine$1(cause) { var t1, t2, t3, t4, currentLine, startPoint, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2); t4 = _this._widget.controller._change_notifier$_value.selection; currentLine = t2.getLineAtOffset$1(new A.TextPosition(t4.extentOffset, t4.affinity)); t2 = _this._widget.controller._change_notifier$_value; t4 = t2.selection.extentOffset; if (currentLine.baseOffset === t4) return; startPoint = A.TextEditingActionTarget_previousCharacter(t4, t2.text, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; _this.setSelection$2(A.TextSelection$fromPosition(new A.TextPosition(t3._as(t1).getLineAtOffset$1(new A.TextPosition(startPoint, B.TextAffinity_1)).baseOffset, B.TextAffinity_1)), cause); }, moveSelectionDown$1(cause) { var t1, t2, positionBelow, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; if (t2.start === t2.end && t2.extentOffset >= t1.text.length) return; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; positionBelow = t1.getTextPositionBelow$1(new A.TextPosition(t2.extentOffset, t2.affinity)); nextSelection = A._Cell$named("nextSelection"); t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; if (positionBelow.offset === t2.extentOffset) { t1 = t1.text.length; nextSelection.set$finalLocalValue(t2.copyWith$2$baseOffset$extentOffset(t1, t1)); } else nextSelection.set$finalLocalValue(A.TextSelection$fromPosition(positionBelow)); t1 = _this._widget.controller._change_notifier$_value; if (t1.selection.extentOffset === t1.text.length) _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = false; else _this.TextEditingActionTarget__cursorResetLocation = nextSelection._readLocal$0().extentOffset; _this.setSelection$2(nextSelection._readLocal$0(), cause); }, moveSelectionLeft$1(cause) { var t1, t2, previousExtent, t3, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; previousExtent = t2.start; t3 = previousExtent === t2.end; if (t3 && t2.extentOffset <= 0) return; previousExtent = !t3 ? previousExtent : A.TextEditingActionTarget_previousCharacter(t2.extentOffset, t1.text, true); t1 = _this._widget.controller._change_notifier$_value.selection; nextSelection = A.TextSelection$fromPosition(new A.TextPosition(previousExtent, t1.affinity)); if (nextSelection.$eq(0, t1)) return; _this.TextEditingActionTarget__cursorResetLocation = _this.TextEditingActionTarget__cursorResetLocation - (_this._widget.controller._change_notifier$_value.selection.extentOffset - nextSelection.extentOffset); _this.setSelection$2(nextSelection, cause); }, moveSelectionLeftByWord$2(cause, includeWhitespace) { var t1, leftOffset, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; if (_this._widget.obscureText) { _this.setSelection$2(A.TextSelection$fromPosition(B.TextPosition_0_TextAffinity_0), cause); return null; } t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t1 = _this._widget.controller._change_notifier$_value.selection; if (t1.start === t1.end && t1.extentOffset <= 0) return; leftOffset = _this._getLeftByWord$2(t1.extentOffset, false); t1 = _this._widget.controller._change_notifier$_value.selection; nextSelection = A.TextSelection$fromPosition(new A.TextPosition(leftOffset, t1.affinity)); if (nextSelection.$eq(0, t1)) return; _this.setSelection$2(nextSelection, cause); }, moveSelectionRight$1(cause) { var t1, t2, nextExtent, t3, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; nextExtent = t2.end; t3 = t2.start === nextExtent; if (t3 && t2.extentOffset >= t1.text.length) return; nextSelection = A.TextSelection$fromPosition(new A.TextPosition(!t3 ? nextExtent : A.TextEditingActionTarget_nextCharacter(t2.extentOffset, t1.text, true), B.TextAffinity_1)); if (nextSelection.$eq(0, _this._widget.controller._change_notifier$_value.selection)) return; _this.setSelection$2(nextSelection, cause); }, moveSelectionRightByLine$1(cause) { var t1, t2, t3, t4, currentLine, startPoint, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = _this._editableKey; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2); t4 = _this._widget.controller._change_notifier$_value.selection; currentLine = t2.getLineAtOffset$1(new A.TextPosition(t4.extentOffset, t4.affinity)); t2 = _this._widget.controller._change_notifier$_value; t4 = t2.selection.extentOffset; if (currentLine.extentOffset === t4) return; startPoint = A.TextEditingActionTarget_nextCharacter(t4, t2.text, false); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject(); t1.toString; _this.setSelection$2(A.TextSelection$fromPosition(new A.TextPosition(t3._as(t1).getLineAtOffset$1(new A.TextPosition(startPoint, B.TextAffinity_0)).extentOffset, B.TextAffinity_0)), cause); }, moveSelectionRightByWord$2(cause, includeWhitespace) { var t1, t2, rightOffset, nextSelection, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; if (_this._widget.obscureText) return _this.moveSelectionToEnd$1(cause); t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t1 = _this._widget.controller._change_notifier$_value; t2 = t1.selection; if (t2.start === t2.end && t2.extentOffset === t1.text.length) return; rightOffset = _this._getRightByWord$2(t2.extentOffset, false); t1 = _this._widget.controller._change_notifier$_value.selection; nextSelection = A.TextSelection$fromPosition(new A.TextPosition(rightOffset, t1.affinity)); if (nextSelection.$eq(0, t1)) return; _this.setSelection$2(nextSelection, cause); }, moveSelectionToEnd$1(cause) { this.setSelection$2(A.TextSelection$fromPosition(new A.TextPosition(this._widget.controller._change_notifier$_value.text.length, B.TextAffinity_1)), cause); }, moveSelectionUp$1(cause) { var t1, t2, nextIndex, _this = this; if (!_this._widget.controller._change_notifier$_value.selection.get$isValid()) return; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, _this._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t2 = _this._widget.controller._change_notifier$_value.selection; nextIndex = t1.getTextPositionAbove$1(new A.TextPosition(t2.extentOffset, t2.affinity)).offset; t1 = _this._widget.controller._change_notifier$_value.selection; if (nextIndex === t1.extentOffset) { _this.TextEditingActionTarget__wasSelectingVerticallyWithKeyboard = false; _this.setSelection$2(A.TextSelection$fromPosition(B.TextPosition_0_TextAffinity_0), cause); return null; } _this.TextEditingActionTarget__cursorResetLocation = nextIndex; _this.setSelection$2(A.TextSelection$fromPosition(new A.TextPosition(nextIndex, t1.affinity)), cause); }, selectAll$1(cause) { var t1 = this._widget.controller._change_notifier$_value; this.setSelection$2(t1.selection.copyWith$2$baseOffset$extentOffset(0, t1.text.length), cause); }, copySelection$1(cause) { var t2, t1 = this._widget.controller._change_notifier$_value, selection = t1.selection, text = t1.text; t1 = selection.start; t2 = selection.end; if (t1 === t2 || !selection.get$isValid()) return; A.Clipboard_setData(new A.ClipboardData(B.JSString_methods.substring$2(text, t1, t2))); }, cutSelection$1(cause) { var text, t2, t1 = this._widget, selection = t1.controller._change_notifier$_value.selection; if (t1.readOnly || !selection.get$isValid()) return; text = this._widget.controller._change_notifier$_value.text; t1 = selection.start; t2 = selection.end; if (t1 === t2) return; A.Clipboard_setData(new A.ClipboardData(B.JSString_methods.substring$2(text, t1, t2))); this.setTextEditingValue$2(new A.TextEditingValue(B.JSString_methods.substring$2(text, 0, t1) + B.JSString_methods.substring$1(text, t2), A.TextSelection$collapsed(selection.affinity, Math.min(t1, t2)), B.TextRange_m1_m1), cause); }, pasteText$1(cause) { return this.pasteText$body$TextEditingActionTarget(cause); }, pasteText$body$TextEditingActionTarget(cause) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$returnValue, $async$self = this, text, data, t2, t3, t4, t1, selection; var $async$pasteText$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._widget; selection = t1.controller._change_notifier$_value.selection; if (t1.readOnly || !selection.get$isValid()) { // goto return $async$goto = 1; break; } text = $async$self._widget.controller._change_notifier$_value.text; if (!selection.get$isValid()) { // goto return $async$goto = 1; break; } $async$goto = 3; return A._asyncAwait(A.Clipboard_getData("text/plain"), $async$pasteText$1); case 3: // returning from await. data = $async$result; if (data == null) { // goto return $async$goto = 1; break; } t1 = selection.start; t2 = B.JSString_methods.substring$2(text, 0, t1); t3 = data.text; t3.toString; t4 = selection.end; $async$self.setTextEditingValue$2(new A.TextEditingValue(t2 + t3 + B.JSString_methods.substring$1(text, t4), A.TextSelection$collapsed(selection.affinity, Math.min(t1, t4) + t3.length), B.TextRange_m1_m1), cause); case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$pasteText$1, $async$completer); } }; A.TextEditingActionTarget_nextCharacter_closure.prototype = { call$1(character) { return A.TextLayoutMetrics_isWhitespace(B.JSString_methods._codeUnitAt$1(character, 0)); }, $signature: 17 }; A.DoNothingAndStopPropagationTextIntent.prototype = {}; A.TextSelectionHandleType.prototype = { toString$0(_) { return "TextSelectionHandleType." + this._core$_name; } }; A._TextSelectionHandlePosition.prototype = { toString$0(_) { return "_TextSelectionHandlePosition." + this._core$_name; } }; A.TextSelectionControls.prototype = { handleCut$2(delegate, clipboardStatus) { delegate.cutSelection$1(B.SelectionChangedCause_5); }, handleCopy$2(delegate, clipboardStatus) { delegate.copySelection$1(B.SelectionChangedCause_5); }, handlePaste$1(delegate) { return this.handlePaste$body$TextSelectionControls(delegate); }, handlePaste$body$TextSelectionControls(delegate) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void); var $async$handlePaste$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 delegate.pasteText$1(B.SelectionChangedCause_5); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$handlePaste$1, $async$completer); } }; A.TextSelectionOverlay.prototype = { get$value(_) { return this._text_selection$_value; }, set$handlesVisible(visible) { var t1, _this = this; if (_this._handlesVisible === visible) return; _this._handlesVisible = visible; t1 = $.SchedulerBinding__instance; if (t1.SchedulerBinding__schedulerPhase === B.SchedulerPhase_3) t1.SchedulerBinding__postFrameCallbacks.push(_this.get$_text_selection$_markNeedsBuild()); else _this._text_selection$_markNeedsBuild$0(); }, showHandles$0() { var result, t1, _this = this; if (_this._handles != null) return; _this._handles = A._setArrayType([A.OverlayEntry$0(new A.TextSelectionOverlay_showHandles_closure(_this), false), A.OverlayEntry$0(new A.TextSelectionOverlay_showHandles_closure0(_this), false)], type$.JSArray_OverlayEntry); result = _this.context.findRootAncestorStateOfType$1$0(type$.OverlayState); result.toString; t1 = _this._handles; t1.toString; result.insertAll$1(0, t1); }, update$1(_, newValue) { var t1, _this = this; if (_this._text_selection$_value.$eq(0, newValue)) return; _this._text_selection$_value = newValue; t1 = $.SchedulerBinding__instance; if (t1.SchedulerBinding__schedulerPhase === B.SchedulerPhase_3) t1.SchedulerBinding__postFrameCallbacks.push(_this.get$_text_selection$_markNeedsBuild()); else _this._text_selection$_markNeedsBuild$0(); }, _text_selection$_markNeedsBuild$1(duration) { var t1 = this._handles; if (t1 != null) { t1[0].markNeedsBuild$0(); this._handles[1].markNeedsBuild$0(); } t1 = this._toolbar; if (t1 != null) t1.markNeedsBuild$0(); }, _text_selection$_markNeedsBuild$0() { return this._text_selection$_markNeedsBuild$1(null); }, hide$0() { var _this = this, t1 = _this._handles; if (t1 != null) { t1[0].remove$0(0); _this._handles[1].remove$0(0); _this._handles = null; } if (_this._toolbar != null) _this.hideToolbar$0(); }, hideToolbar$0() { A._lateReadCheck(this.__TextSelectionOverlay__toolbarController, "_toolbarController").stop$0(0); var t1 = this._toolbar; if (t1 != null) t1.remove$0(0); this._toolbar = null; }, _buildHandle$2(context, position) { var _this = this, _null = null, selectionControls = _this.selectionControls, t1 = _this._text_selection$_value.selection; return new A.ExcludeSemantics(true, t1.start === t1.end && position === B._TextSelectionHandlePosition_1 || selectionControls == null ? A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null) : A.Visibility$(new A._TextSelectionHandleOverlay(t1, position, _this.startHandleLayerLink, _this.endHandleLayerLink, _this.renderObject, new A.TextSelectionOverlay__buildHandle_closure(_this, position), _this.onSelectionHandleTapped, selectionControls, _this.dragStartBehavior, _this.selectionDelegate, _null), false, false, false, false, false, B.SizedBox_0_0_null_null, _this._handlesVisible), _null); } }; A.TextSelectionOverlay_showHandles_closure.prototype = { call$1(context) { return this.$this._buildHandle$2(context, B._TextSelectionHandlePosition_0); }, $signature: 29 }; A.TextSelectionOverlay_showHandles_closure0.prototype = { call$1(context) { return this.$this._buildHandle$2(context, B._TextSelectionHandlePosition_1); }, $signature: 29 }; A.TextSelectionOverlay__buildHandle_closure.prototype = { call$1(newSelection) { var textPosition, t2, t1 = this.$this; switch (this.position.index) { case 0: textPosition = new A.TextPosition(newSelection.baseOffset, newSelection.affinity); break; case 1: textPosition = new A.TextPosition(newSelection.extentOffset, newSelection.affinity); break; default: textPosition = null; } t2 = t1.selectionDelegate; t2.userUpdateTextEditingValue$2(t1._text_selection$_value.copyWith$1$selection(newSelection), B.SelectionChangedCause_6); t2.bringIntoView$1(textPosition); }, $signature: 286 }; A._TextSelectionHandleOverlay.prototype = { createState$0() { return new A._TextSelectionHandleOverlayState(null, B._StateLifecycle_0); }, get$_visibility(_) { switch (this.position.index) { case 0: return this.renderObject._selectionStartInViewport; case 1: return this.renderObject._selectionEndInViewport; } }, onSelectionHandleChanged$1(arg0) { return this.onSelectionHandleChanged.call$1(arg0); } }; A._TextSelectionHandleOverlayState.prototype = { initState$0() { var t1, _this = this; _this.super$State$initState(); _this.___TextSelectionHandleOverlayState__controller = A.AnimationController$(null, B.Duration_150000, null, 1, null, _this); _this._handleVisibilityChanged$0(); t1 = _this._widget; t1.get$_visibility(t1).addListener$1(0, _this.get$_handleVisibilityChanged()); }, _handleVisibilityChanged$0() { var t2, _s11_ = "_controller", t1 = this._widget; t1 = t1.get$_visibility(t1)._change_notifier$_value; t2 = this.___TextSelectionHandleOverlayState__controller; if (t1) A._lateReadCheck(t2, _s11_).forward$0(0); else A._lateReadCheck(t2, _s11_).reverse$0(0); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = _this.get$_handleVisibilityChanged(); oldWidget.get$_visibility(oldWidget).removeListener$1(0, t1); _this._handleVisibilityChanged$0(); t2 = _this._widget; t2.get$_visibility(t2).addListener$1(0, t1); }, dispose$0(_) { var _this = this, t1 = _this._widget; t1.get$_visibility(t1).removeListener$1(0, _this.get$_handleVisibilityChanged()); A._lateReadCheck(_this.___TextSelectionHandleOverlayState__controller, "_controller").dispose$0(0); _this.super$__TextSelectionHandleOverlayState_State_SingleTickerProviderStateMixin$dispose(0); }, _handleDragStart$1(details) { var t1 = this._widget; this.___TextSelectionHandleOverlayState__dragPosition = details.globalPosition.$add(0, new A.Offset(0, -t1.selectionControls.getHandleSize$1(t1.renderObject._textPainter.get$preferredLineHeight())._dy)); }, _handleDragUpdate$1(details) { var position, t2, newSelection, _this = this, _s13_ = "_dragPosition", t1 = A._lateReadCheck(_this.___TextSelectionHandleOverlayState__dragPosition, _s13_).$add(0, details.delta); _this.___TextSelectionHandleOverlayState__dragPosition = t1; position = _this._widget.renderObject.getPositionForPoint$1(A._lateReadCheck(t1, _s13_)); t1 = _this._widget; t2 = t1.selection; if (t2.start === t2.end) { t1.onSelectionHandleChanged$1(A.TextSelection$fromPosition(position)); return; } switch (t1.position.index) { case 0: newSelection = A.TextSelection$(B.TextAffinity_1, position.offset, t2.extentOffset, false); break; case 1: newSelection = A.TextSelection$(B.TextAffinity_1, t2.baseOffset, position.offset, false); break; default: newSelection = null; } if (newSelection.baseOffset >= newSelection.extentOffset) return; t1.onSelectionHandleChanged$1(newSelection); }, build$1(_, context) { var layerLink, type, prevText, currText, selection, t2, selectedGraphemes, t3, t4, startHandleRect, endHandleRect, t5, t6, handleAnchor, handleSize, handleRect, interactiveRect, t7, t8, t9, t10, t11, t12, t13, t14, _this = this, _null = null, t1 = _this._widget; switch (t1.position.index) { case 0: layerLink = t1.startHandleLayerLink; t1 = t1.renderObject._textPainter._text_painter$_textDirection; t1.toString; type = _this._chooseType$3(t1, B.TextSelectionHandleType_0, B.TextSelectionHandleType_1); break; case 1: layerLink = t1.endHandleLayerLink; t1 = t1.renderObject._textPainter._text_painter$_textDirection; t1.toString; type = _this._chooseType$3(t1, B.TextSelectionHandleType_1, B.TextSelectionHandleType_0); break; default: type = _null; layerLink = type; } prevText = _this._widget.renderObject._textPainter._text_painter$_text.toPlainText$0(); t1 = _this._widget; currText = t1.selectionDelegate._widget.controller._change_notifier$_value.text; selection = t1.selection; if (prevText === currText) t1 = selection.get$isValid() && selection.start !== selection.end; else t1 = false; if (t1) { t1 = selection.start; t2 = selection.end; selectedGraphemes = B.JSString_methods.substring$2(currText, t1, t2); t3 = selectedGraphemes.length === 0; t4 = t3 ? B.StringCharacters_ehH : new A.StringCharacters(selectedGraphemes); t4 = t4.get$first(t4); t3 = t3 ? B.StringCharacters_ehH : new A.StringCharacters(selectedGraphemes); t3 = t3.get$last(t3); startHandleRect = _this._widget.renderObject.getRectForComposingRange$1(new A.TextRange(t1, t1 + t4.length)); endHandleRect = _this._widget.renderObject.getRectForComposingRange$1(new A.TextRange(t2 - t3.length, t2)); } else { endHandleRect = _null; startHandleRect = endHandleRect; } t1 = _this._widget; t2 = t1.selectionControls; t1 = t1.renderObject._textPainter.get$preferredLineHeight(); t3 = startHandleRect == null; t4 = t3 ? _null : startHandleRect.bottom - startHandleRect.top; if (t4 == null) t4 = _this._widget.renderObject._textPainter.get$preferredLineHeight(); t5 = endHandleRect == null; t6 = t5 ? _null : endHandleRect.bottom - endHandleRect.top; handleAnchor = t2.getHandleAnchor$4(type, t1, t4, t6 == null ? _this._widget.renderObject._textPainter.get$preferredLineHeight() : t6); t1 = _this._widget; handleSize = t1.selectionControls.getHandleSize$1(t1.renderObject._textPainter.get$preferredLineHeight()); t1 = -handleAnchor._dx; t2 = -handleAnchor._dy; t4 = t1 + handleSize._dx; t6 = t2 + handleSize._dy; handleRect = new A.Rect(t1, t2, t4, t6); interactiveRect = handleRect.expandToInclude$1(A.Rect$fromCircle(handleRect.get$center(), 24)); t7 = interactiveRect.left; t8 = interactiveRect.right - t7; t1 = Math.max((t8 - (t4 - t1)) / 2, 0); t4 = interactiveRect.top; t9 = interactiveRect.bottom - t4; t2 = Math.max((t9 - (t6 - t2)) / 2, 0); t6 = A._lateReadCheck(_this.___TextSelectionHandleOverlayState__controller, "_controller"); t10 = _this._widget; t11 = t10.dragStartBehavior; t12 = t10.selectionControls; t10 = t10.renderObject._textPainter.get$preferredLineHeight(); t13 = _this._widget; t14 = t13.onSelectionHandleTapped; t3 = t3 ? _null : startHandleRect.bottom - startHandleRect.top; if (t3 == null) t3 = t13.renderObject._textPainter.get$preferredLineHeight(); t5 = t5 ? _null : endHandleRect.bottom - endHandleRect.top; return A.CompositedTransformFollower$(A.FadeTransition$(false, A.Container$(B.Alignment_m1_m1, A.GestureDetector$(B.HitTestBehavior_2, new A.Padding(new A.EdgeInsets(t1, t2, t1, t2), t12.buildHandle$6(context, type, t10, t14, t3, t5 == null ? _this._widget.renderObject._textPainter.get$preferredLineHeight() : t5), _null), t11, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.get$_handleDragStart(), _this.get$_handleDragUpdate(), _null, _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, t9, _null, _null, _null, _null, _null, t8), t6), layerLink, new A.Offset(t7, t4), false); }, _chooseType$3(textDirection, ltrType, rtlType) { var t1 = this._widget.selection; if (t1.start === t1.end) return B.TextSelectionHandleType_2; switch (textDirection.index) { case 1: return ltrType; case 0: return rtlType; } } }; A.TextSelectionGestureDetectorBuilder.prototype = { get$_lastSecondaryTapWasOnSelection() { var t3, t4, textPosition, t1 = this.delegate, t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2); t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t3._as(t2); t4 = t1.get$editableTextKey().get$currentState(); t4.toString; t4 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t4._editableKey).get$renderObject(); t4.toString; t4 = t3._as(t4)._lastSecondaryTapDownPosition; t4.toString; textPosition = t2.getPositionForPoint$1(t4); t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t4 = textPosition.offset; if (t3._as(t2)._selection.start <= t4) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; t4 = t3._as(t1)._selection.end >= t4; t1 = t4; } else t1 = false; return t1; }, onTapDown$1(details) { var kind, t1 = this.delegate.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1)._lastTapDownPosition = details.globalPosition; kind = details.kind; this._shouldShowSelectionToolbar = kind == null || kind === B.PointerDeviceKind_0 || kind === B.PointerDeviceKind_2; }, onForcePressStart$1(details) { var t1; this._shouldShowSelectionToolbar = true; t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectWordsInRange$2$cause$from(B.SelectionChangedCause_3, details.globalPosition); } }, onForcePressEnd$1(details) { var t1 = this.delegate, t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; type$.RenderEditable._as(t2).selectWordsInRange$2$cause$from(B.SelectionChangedCause_3, details.globalPosition); if (this._shouldShowSelectionToolbar) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } }, onSingleTapUp$1(details) { var t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectWordEdge$1$cause(B.SelectionChangedCause_0); } }, onSingleTapCancel$0() { }, onSingleLongTapStart$1(details) { var t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectPositionAt$2$cause$from(B.SelectionChangedCause_2, details.globalPosition); } }, onSingleLongTapMoveUpdate$1(details) { var t1 = this.delegate; if (t1.get$selectionEnabled()) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1).selectPositionAt$2$cause$from(B.SelectionChangedCause_2, details.globalPosition); } }, onSingleLongTapEnd$1(details) { var t1; if (this._shouldShowSelectionToolbar) { t1 = this.delegate.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } }, onSecondaryTap$0() { var t2, t3, t1 = this.delegate; if (t1.get$selectionEnabled()) { if (!this.get$_lastSecondaryTapWasOnSelection()) { t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; type$.RenderEditable._as(t2); t3 = t2._lastTapDownPosition; t3.toString; t2.selectWordsInRange$2$cause$from(B.SelectionChangedCause_0, t3); } if (this._shouldShowSelectionToolbar) { t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2.hideToolbar$0(); t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } } }, onSecondaryTapDown$1(details) { var t1 = this.delegate.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; type$.RenderEditable._as(t1); t1._lastSecondaryTapDownPosition = t1._lastTapDownPosition = details.globalPosition; this._shouldShowSelectionToolbar = true; }, onDoubleTapDown$1(details) { var t2, t3, t1 = this.delegate; if (t1.get$selectionEnabled()) { t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; type$.RenderEditable._as(t2); t3 = t2._lastTapDownPosition; t3.toString; t2.selectWordsInRange$2$cause$from(B.SelectionChangedCause_0, t3); if (this._shouldShowSelectionToolbar) { t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1.showToolbar$0(); } } }, onDragSelectionStart$1(details) { var kind, t2, t3, t1 = this.delegate; if (!t1.get$selectionEnabled()) return; kind = details.kind; this._shouldShowSelectionToolbar = kind == null || kind === B.PointerDeviceKind_0 || kind === B.PointerDeviceKind_2; t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t3 = type$.RenderEditable; t3._as(t2).selectPositionAt$2$cause$from(B.SelectionChangedCause_6, details.globalPosition); t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; t1 = t3._as(t1)._editable$_offset._pixels; t1.toString; this._dragStartViewportOffset = t1; }, onDragSelectionUpdate$2(startDetails, updateDetails) { var t2, t3, startOffset, t1 = this.delegate; if (!t1.get$selectionEnabled()) return; t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t3 = type$.RenderEditable; if (t3._as(t2)._editable$_maxLines === 1) { t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t2 = t3._as(t2)._editable$_offset._pixels; t2.toString; startOffset = new A.Offset(t2 - this._dragStartViewportOffset, 0); } else { t2 = t1.get$editableTextKey().get$currentState(); t2.toString; t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t2._editableKey).get$renderObject(); t2.toString; t2 = t3._as(t2)._editable$_offset._pixels; t2.toString; startOffset = new A.Offset(0, t2 - this._dragStartViewportOffset); } t1 = t1.get$editableTextKey().get$currentState(); t1.toString; t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1._editableKey).get$renderObject(); t1.toString; t3._as(t1).selectPositionAt$3$cause$from$to(B.SelectionChangedCause_6, startDetails.globalPosition.$sub(0, startOffset), updateDetails.globalPosition); }, onDragSelectionEnd$1(details) { }, buildGestureDetector$2$behavior$child(behavior, child) { var _this = this, t1 = _this.delegate, t2 = t1.get$forcePressEnabled() ? _this.get$onForcePressStart() : null; t1 = t1.get$forcePressEnabled() ? _this.get$onForcePressEnd() : null; return new A.TextSelectionGestureDetector(_this.get$onTapDown(), t2, t1, _this.get$onSecondaryTap(), _this.get$onSecondaryTapDown(), _this.get$onSingleTapUp(), _this.get$onSingleTapCancel(), _this.get$onSingleLongTapStart(), _this.get$onSingleLongTapMoveUpdate(), _this.get$onSingleLongTapEnd(), _this.get$onDoubleTapDown(), _this.get$onDragSelectionStart(), _this.get$onDragSelectionUpdate(), _this.get$onDragSelectionEnd(), behavior, child, null); } }; A.TextSelectionGestureDetector.prototype = { createState$0() { return new A._TextSelectionGestureDetectorState(B._StateLifecycle_0); } }; A._TextSelectionGestureDetectorState.prototype = { dispose$0(_) { var t1 = this._text_selection$_doubleTapTimer; if (t1 != null) t1.cancel$0(0); t1 = this._dragUpdateThrottleTimer; if (t1 != null) t1.cancel$0(0); this.super$State$dispose(0); }, _text_selection$_handleTapDown$1(details) { var _this = this; _this._widget.onTapDown.call$1(details); if (_this._text_selection$_doubleTapTimer != null && _this._isWithinDoubleTapTolerance$1(details.globalPosition)) { _this._widget.onDoubleTapDown.call$1(details); _this._text_selection$_doubleTapTimer.cancel$0(0); _this._lastTapOffset = _this._text_selection$_doubleTapTimer = null; _this._isDoubleTap = true; } }, _handleTapUp$1(details) { var _this = this; if (!_this._isDoubleTap) { _this._widget.onSingleTapUp.call$1(details); _this._lastTapOffset = details.globalPosition; _this._text_selection$_doubleTapTimer = A.Timer_Timer(B.Duration_300000, _this.get$_doubleTapTimeout()); } _this._isDoubleTap = false; }, _text_selection$_handleTapCancel$0() { this._widget.onSingleTapCancel.call$0(); }, _handleDragStart$1(details) { this._lastDragStartDetails = details; this._widget.onDragSelectionStart.call$1(details); }, _handleDragUpdate$1(details) { var _this = this; _this._lastDragUpdateDetails = details; if (_this._dragUpdateThrottleTimer == null) _this._dragUpdateThrottleTimer = A.Timer_Timer(B.Duration_50000, _this.get$_handleDragUpdateThrottled()); }, _handleDragUpdateThrottled$0() { var t3, _this = this, t1 = _this._widget.onDragSelectionUpdate, t2 = _this._lastDragStartDetails; t2.toString; t3 = _this._lastDragUpdateDetails; t3.toString; t1.call$2(t2, t3); _this._lastDragUpdateDetails = _this._dragUpdateThrottleTimer = null; }, _handleDragEnd$1(details) { var _this = this, t1 = _this._dragUpdateThrottleTimer; if (t1 != null) { t1.cancel$0(0); _this._handleDragUpdateThrottled$0(); } _this._widget.onDragSelectionEnd.call$1(details); _this._lastDragUpdateDetails = _this._lastDragStartDetails = _this._dragUpdateThrottleTimer = null; }, _forcePressStarted$1(details) { var t1 = this._text_selection$_doubleTapTimer; if (t1 != null) t1.cancel$0(0); this._text_selection$_doubleTapTimer = null; t1 = this._widget.onForcePressStart; if (t1 != null) t1.call$1(details); }, _forcePressEnded$1(details) { var t1 = this._widget.onForcePressEnd; if (t1 != null) t1.call$1(details); }, _handleLongPressStart$1(details) { var t1; if (!this._isDoubleTap) { this._widget.toString; t1 = true; } else t1 = false; if (t1) this._widget.onSingleLongTapStart.call$1(details); }, _handleLongPressMoveUpdate$1(details) { var t1; if (!this._isDoubleTap) { this._widget.toString; t1 = true; } else t1 = false; if (t1) this._widget.onSingleLongTapMoveUpdate.call$1(details); }, _handleLongPressEnd$1(details) { var t1, _this = this; if (!_this._isDoubleTap) { _this._widget.toString; t1 = true; } else t1 = false; if (t1) _this._widget.onSingleLongTapEnd.call$1(details); _this._isDoubleTap = false; }, _doubleTapTimeout$0() { this._lastTapOffset = this._text_selection$_doubleTapTimer = null; }, _isWithinDoubleTapTolerance$1(secondTapOffset) { var t1 = this._lastTapOffset; if (t1 == null) return false; return secondTapOffset.$sub(0, t1).get$distance() <= 100; }, build$1(_, context) { var t1, t2, _this = this, gestures = A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.GestureRecognizerFactory_GestureRecognizer); gestures.$indexSet(0, B.Type_TapGestureRecognizer_62h, new A.GestureRecognizerFactoryWithHandlers(new A._TextSelectionGestureDetectorState_build_closure(_this), new A._TextSelectionGestureDetectorState_build_closure0(_this), type$.GestureRecognizerFactoryWithHandlers_TapGestureRecognizer)); _this._widget.toString; gestures.$indexSet(0, B.Type_LongPressGestureRecognizer_46y, new A.GestureRecognizerFactoryWithHandlers(new A._TextSelectionGestureDetectorState_build_closure1(_this), new A._TextSelectionGestureDetectorState_build_closure2(_this), type$.GestureRecognizerFactoryWithHandlers_LongPressGestureRecognizer)); _this._widget.toString; gestures.$indexSet(0, B.Type_Vq1, new A.GestureRecognizerFactoryWithHandlers(new A._TextSelectionGestureDetectorState_build_closure3(_this), new A._TextSelectionGestureDetectorState_build_closure4(_this), type$.GestureRecognizerFactoryWithHandlers_HorizontalDragGestureRecognizer)); t1 = _this._widget; if (t1.onForcePressStart != null || t1.onForcePressEnd != null) gestures.$indexSet(0, B.Type_ForcePressGestureRecognizer_TN2, new A.GestureRecognizerFactoryWithHandlers(new A._TextSelectionGestureDetectorState_build_closure5(_this), new A._TextSelectionGestureDetectorState_build_closure6(_this), type$.GestureRecognizerFactoryWithHandlers_ForcePressGestureRecognizer)); t1 = _this._widget; t2 = t1.behavior; return new A.RawGestureDetector(t1.child, gestures, t2, true, null, null); } }; A._TextSelectionGestureDetectorState_build_closure.prototype = { call$0() { return A.TapGestureRecognizer$(this.$this); }, $signature: 300 }; A._TextSelectionGestureDetectorState_build_closure0.prototype = { call$1(instance) { var t1 = this.$this, t2 = t1._widget; instance.onSecondaryTap = t2.onSecondaryTap; instance.onSecondaryTapDown = t2.onSecondaryTapDown; instance.onTapDown = t1.get$_text_selection$_handleTapDown(); instance.onTapUp = t1.get$_handleTapUp(); instance.onTapCancel = t1.get$_text_selection$_handleTapCancel(); }, $signature: 301 }; A._TextSelectionGestureDetectorState_build_closure1.prototype = { call$0() { return A.LongPressGestureRecognizer$(this.$this, null, B.PointerDeviceKind_0, null, null); }, $signature: 302 }; A._TextSelectionGestureDetectorState_build_closure2.prototype = { call$1(instance) { var t1 = this.$this; instance.onLongPressStart = t1.get$_handleLongPressStart(); instance.onLongPressMoveUpdate = t1.get$_handleLongPressMoveUpdate(); instance.onLongPressEnd = t1.get$_handleLongPressEnd(); }, $signature: 303 }; A._TextSelectionGestureDetectorState_build_closure3.prototype = { call$0() { return A.HorizontalDragGestureRecognizer$(this.$this, B.PointerDeviceKind_1, null); }, $signature: 159 }; A._TextSelectionGestureDetectorState_build_closure4.prototype = { call$1(instance) { var t1; instance.dragStartBehavior = B.DragStartBehavior_0; t1 = this.$this; instance.onStart = t1.get$_handleDragStart(); instance.onUpdate = t1.get$_handleDragUpdate(); instance.onEnd = t1.get$_handleDragEnd(); }, $signature: 160 }; A._TextSelectionGestureDetectorState_build_closure5.prototype = { call$0() { return A.ForcePressGestureRecognizer$(this.$this); }, $signature: 724 }; A._TextSelectionGestureDetectorState_build_closure6.prototype = { call$1(instance) { var t1 = this.$this, t2 = t1._widget; instance.onStart = t2.onForcePressStart != null ? t1.get$_forcePressStarted() : null; instance.onEnd = t2.onForcePressEnd != null ? t1.get$_forcePressEnded() : null; }, $signature: 725 }; A.__TextSelectionHandleOverlayState_State_SingleTickerProviderStateMixin.prototype = { dispose$0(_) { this.super$State$dispose(0); }, didChangeDependencies$0() { var t2, t1 = this.SingleTickerProviderStateMixin__ticker; if (t1 != null) { t2 = this._framework$_element; t2.toString; t1.set$muted(0, !A.TickerMode_of(t2)); } this.super$State$didChangeDependencies(); } }; A.Texture.prototype = { createRenderObject$1(context) { var t1 = new A.TextureBox(this.textureId, false, B.FilterQuality_1, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.textureId; if (t1 !== renderObject._texture$_textureId) { renderObject._texture$_textureId = t1; renderObject.markNeedsPaint$0(); } if (B.FilterQuality_1 !== renderObject._texture$_filterQuality) { renderObject._texture$_filterQuality = B.FilterQuality_1; renderObject.markNeedsPaint$0(); } } }; A.TickerMode.prototype = { build$1(_, context) { var t1 = this.enabled && A.TickerMode_of(context); return new A._EffectiveTickerMode(t1, this.child, null); } }; A._EffectiveTickerMode.prototype = { updateShouldNotify$1(oldWidget) { return this.enabled !== oldWidget.enabled; } }; A.SingleTickerProviderStateMixin.prototype = { createTicker$1(onTick) { return this.SingleTickerProviderStateMixin__ticker = new A.Ticker(onTick, null); } }; A.TickerProviderStateMixin.prototype = { createTicker$1(onTick) { var result, t1 = this.TickerProviderStateMixin__tickers; if (t1 == null) t1 = this.TickerProviderStateMixin__tickers = A.LinkedHashSet_LinkedHashSet$_empty(type$._WidgetTicker); result = new A._WidgetTicker(this, onTick, null); t1.add$1(0, result); return result; } }; A._WidgetTicker.prototype = { dispose$0(_) { this._creator.TickerProviderStateMixin__tickers.remove$1(0, this); this.super$Ticker$dispose(0); } }; A.Title.prototype = { build$1(_, context) { var t1 = this.color; A.SystemChrome_setApplicationSwitcherDescription(new A.ApplicationSwitcherDescription(this.title, t1.get$value(t1))); return this.child; } }; A.AnimatedWidget.prototype = { createState$0() { return new A._AnimatedState(B._StateLifecycle_0); } }; A._AnimatedState.prototype = { initState$0() { this.super$State$initState(); this._widget.listenable.addListener$1(0, this.get$_handleChange()); }, didUpdateWidget$1(oldWidget) { var t1, t2, _this = this; _this.super$State$didUpdateWidget(oldWidget); t1 = oldWidget.listenable; if (!_this._widget.listenable.$eq(0, t1)) { t2 = _this.get$_handleChange(); t1.removeListener$1(0, t2); _this._widget.listenable.addListener$1(0, t2); } }, dispose$0(_) { this._widget.listenable.removeListener$1(0, this.get$_handleChange()); this.super$State$dispose(0); }, _handleChange$0() { this.setState$1(new A._AnimatedState__handleChange_closure()); }, build$1(_, context) { return this._widget.build$1(0, context); } }; A._AnimatedState__handleChange_closure.prototype = { call$0() { }, $signature: 0 }; A.SlideTransition.prototype = { build$1(_, context) { var _this = this, t1 = type$.Animation_Offset._as(_this.listenable), offset = t1.get$value(t1); if (_this.textDirection === B.TextDirection_0) offset = new A.Offset(-offset._dx, offset._dy); return A.FractionalTranslation$(_this.child, _this.transformHitTests, offset); } }; A.ScaleTransition.prototype = { build$1(_, context) { var t1 = type$.Animation_double._as(this.listenable); t1 = t1.get$value(t1); return new A.Transform(A.Matrix4_Matrix4$diagonal3Values(t1, t1, 1), B.Alignment_0_0, true, null, this.child, null); } }; A.RotationTransition.prototype = { build$1(_, context) { var t1 = type$.Animation_double._as(this.listenable); return A.Transform$rotate(B.Alignment_0_0, t1.get$value(t1) * 3.141592653589793 * 2, this.child, null); } }; A.FadeTransition.prototype = { createRenderObject$1(context) { var t2, _null = null, t1 = new A.RenderAnimatedOpacity(_null, _null, _null, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t2 = t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = t2; t1.set$child(_null); t1.set$opacity(0, this.opacity); t1.set$alwaysIncludeSemantics(this.alwaysIncludeSemantics); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$opacity(0, this.opacity); renderObject.set$alwaysIncludeSemantics(this.alwaysIncludeSemantics); } }; A.DecoratedBoxTransition.prototype = { build$1(_, context) { var t1 = this.decoration, t2 = t1.parent; return A.DecoratedBox$(this.child, t1._evaluatable.transform$1(0, t2.get$value(t2)), B.DecorationPosition_0); } }; A.AnimatedBuilder.prototype = { build$1(_, context) { return this.builder.call$2(context, this.child); } }; A.Viewport.prototype = { createRenderObject$1(context) { var _this = this, t1 = _this.axisDirection, t2 = A.Viewport_getDefaultCrossAxisDirection(context, t1), t3 = _this.cacheExtent, t4 = A.LayerHandle$(type$.ClipRectLayer); if (t3 == null) t3 = 250; t4 = new A.RenderViewport(_this.anchor, t1, t2, _this.offset, t3, _this.cacheExtentStyle, _this.clipBehavior, t4, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t4.get$isRepaintBoundary(); t4.__RenderObject__needsCompositing = true; t4.addAll$1(0, null); t1 = t4.ContainerRenderObjectMixin__firstChild; if (t1 != null) t4._center = t1; return t4; }, updateRenderObject$2(context, renderObject) { var _this = this, t1 = _this.axisDirection; renderObject.set$axisDirection(t1); t1 = A.Viewport_getDefaultCrossAxisDirection(context, t1); renderObject.set$crossAxisDirection(t1); renderObject.set$anchor(_this.anchor); renderObject.set$offset(0, _this.offset); renderObject.set$cacheExtent(_this.cacheExtent); renderObject.set$cacheExtentStyle(_this.cacheExtentStyle); renderObject.set$clipBehavior(_this.clipBehavior); }, createElement$0(_) { var t1 = type$.Element_2, t2 = A.HashSet_HashSet(t1), t3 = ($.Element__nextHashCode + 1) % 16777215; $.Element__nextHashCode = t3; return new A._ViewportElement(t2, t3, this, B._ElementLifecycle_0, A.HashSet_HashSet(t1)); } }; A._ViewportElement.prototype = { get$widget() { return type$.Viewport._as(A.MultiChildRenderObjectElement.prototype.get$widget.call(this)); }, get$renderObject() { return type$.RenderViewport._as(A.MultiChildRenderObjectElement.prototype.get$renderObject.call(this)); }, mount$2($parent, newSlot) { this.super$MultiChildRenderObjectElement$mount($parent, newSlot); this._updateCenter$0(); }, update$1(_, newWidget) { this.super$MultiChildRenderObjectElement$update(0, newWidget); this._updateCenter$0(); }, _updateCenter$0() { var t1, t2, _this = this; type$.Viewport._as(A.MultiChildRenderObjectElement.prototype.get$widget.call(_this)); t1 = _this.get$children(_this); t2 = type$.RenderViewport; if (!t1.get$isEmpty(t1)) { t1 = t2._as(A.MultiChildRenderObjectElement.prototype.get$renderObject.call(_this)); t2 = _this.get$children(_this); t1.set$center(type$.nullable_RenderSliver._as(t2.get$first(t2).get$renderObject())); } else t2._as(A.MultiChildRenderObjectElement.prototype.get$renderObject.call(_this)).set$center(null); } }; A.ShrinkWrappingViewport.prototype = { createRenderObject$1(context) { var t1 = this.axisDirection, t2 = A.Viewport_getDefaultCrossAxisDirection(context, t1), t3 = A.LayerHandle$(type$.ClipRectLayer); t1 = new A.RenderShrinkWrappingViewport(t1, t2, this.offset, 250, B.CacheExtentStyle_0, this.clipBehavior, t3, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.__RenderObject__needsCompositing = true; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.axisDirection; renderObject.set$axisDirection(t1); t1 = A.Viewport_getDefaultCrossAxisDirection(context, t1); renderObject.set$crossAxisDirection(t1); renderObject.set$offset(0, this.offset); renderObject.set$clipBehavior(this.clipBehavior); } }; A.Visibility.prototype = { build$1(_, context) { return this.visible ? this.child : this.replacement; } }; A.WidgetSpan.prototype = { build$3$dimensions$textScaleFactor(_, builder, dimensions, textScaleFactor) { var currentDimensions, t1 = this.style, hasStyle = t1 != null; if (hasStyle) builder.pushStyle$1(0, t1.getTextStyle$1$textScaleFactor(textScaleFactor)); dimensions.toString; currentDimensions = dimensions[builder.get$placeholderCount()]; t1 = currentDimensions.size; builder.addPlaceholder$6$baseline$baselineOffset$scale(0, t1._dx, t1._dy, this.alignment, currentDimensions.baseline, currentDimensions.baselineOffset, textScaleFactor); if (hasStyle) builder.pop$0(0); }, visitChildren$1(visitor) { return visitor.call$1(this); }, getSpanForPositionVisitor$2(position, offset) { var t1 = offset._inline_span$_value; if (position.offset === t1) return this; offset._inline_span$_value = t1 + 1; return null; }, codeUnitAtVisitor$2(index, offset) { return null; }, compareTo$1(_, other) { var t1, t2, t3, candidate, result, _this = this; if (_this === other) return B.RenderComparison_0; if (A.getRuntimeType(other) !== A.getRuntimeType(_this)) return B.RenderComparison_3; t1 = _this.style; t2 = t1 == null; t3 = other.style; if (t2 !== (t3 == null)) return B.RenderComparison_3; type$.WidgetSpan._as(other); if (!_this.child.super$Object$$eq(0, other.child) || _this.alignment !== other.alignment) return B.RenderComparison_3; if (!t2) { t3.toString; candidate = t1.compareTo$1(0, t3); result = candidate.index > 0 ? candidate : B.RenderComparison_0; if (result === B.RenderComparison_3) return result; } else result = B.RenderComparison_0; return result; }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (!_this.super$InlineSpan$$eq(0, other)) return false; return other instanceof A.WidgetSpan && other.child.super$Object$$eq(0, _this.child) && other.alignment === _this.alignment && other.baseline == _this.baseline; }, get$hashCode(_) { var _this = this; return A.hashValues(A.InlineSpan.prototype.get$hashCode.call(_this, _this), _this.child, _this.alignment, _this.baseline, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); } }; A.WillPopScope.prototype = { createState$0() { return new A._WillPopScopeState(B._StateLifecycle_0); } }; A._WillPopScopeState.prototype = { didChangeDependencies$0() { var t1, _this = this; _this.super$State$didChangeDependencies(); _this._widget.toString; t1 = _this._framework$_element; t1.toString; _this._route = A.ModalRoute_of(t1, type$.nullable_Object); _this._widget.toString; }, didUpdateWidget$1(oldWidget) { this.super$State$didUpdateWidget(oldWidget); this._widget.toString; }, dispose$0(_) { this._widget.toString; this.super$State$dispose(0); }, build$1(_, context) { return this._widget.child; } }; A.DropzoneView.prototype = { createState$0() { return new A._DropzoneViewState(new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_DropzoneViewController), type$._AsyncCompleter_DropzoneViewController), B._StateLifecycle_0); } }; A._DropzoneViewState.prototype = { build$1(_, context) { var t1 = this._widget, params = A.LinkedHashMap_LinkedHashMap$_literal(["operation", t1.operation, "cursor", t1.cursor, "mime", null], type$.String, type$.dynamic); t1 = $.$get$FlutterDropzonePlatform__instance(); this._widget.toString; return t1.buildView$3(params, null, new A._DropzoneViewState_build_closure(this, params)); } }; A._DropzoneViewState_build_closure.prototype = { call$1(viewId) { var ctrl, t1 = this.$this, t2 = t1._widget; t2.toString; ctrl = A.DropzoneViewController$_create(viewId, t2); t1._dropzone_view$_controller.complete$1(0, ctrl); t1._widget.onCreated.call$1(ctrl); $.$get$FlutterDropzonePlatform__instance().init$2$viewId(this.params, viewId); }, $signature: 40 }; A.DropzoneViewController.prototype = { DropzoneViewController$_create$2(viewId, widget) { var _this = this, t1 = $.$get$FlutterDropzonePlatform__instance(); t1.onLoaded$1$viewId(_this.viewId).listen$1(new A.DropzoneViewController$_create_closure(_this)); t1 = $.$get$FlutterDropzonePlatform__instance(); t1.onError$1$viewId(0, _this.viewId).listen$1(new A.DropzoneViewController$_create_closure0(_this)); $.$get$FlutterDropzonePlatform__instance().onDrop$1$viewId(0, _this.viewId).listen$1(new A.DropzoneViewController$_create_closure1(_this)); } }; A.DropzoneViewController$_create_closure.prototype = { call$1(_) { return this.$this.widget.onLoaded.call$0(); }, $signature: 726 }; A.DropzoneViewController$_create_closure0.prototype = { call$1(msg) { return this.$this.widget.onError.call$1(msg.value); }, $signature: 727 }; A.DropzoneViewController$_create_closure1.prototype = { call$1(msg) { return this.$this.widget.onDrop.call$1(msg.value); }, $signature: 728 }; A.DragOperation.prototype = { toString$0(_) { return "DragOperation." + this._core$_name; } }; A.CursorType.prototype = { toString$0(_) { return "CursorType." + this._core$_name; } }; A.FlutterDropzonePlatform.prototype = { onLoaded$1$viewId(viewId) { var t1 = this.events, t2 = A._instanceType(t1)._eval$1("_BroadcastStream<1>"), t3 = t2._eval$1("_WhereStream<Stream.T>"); return new A.CastStream(new A._WhereStream(new A.FlutterDropzonePlatform_onLoaded_closure(viewId), new A._BroadcastStream(t1, t2), t3), t3._eval$1("CastStream<Stream.T,DropzoneLoadedEvent>")); }, onError$1$viewId(_, viewId) { var t1 = this.events, t2 = A._instanceType(t1)._eval$1("_BroadcastStream<1>"), t3 = t2._eval$1("_WhereStream<Stream.T>"); return new A.CastStream(new A._WhereStream(new A.FlutterDropzonePlatform_onError_closure(viewId), new A._BroadcastStream(t1, t2), t3), t3._eval$1("CastStream<Stream.T,DropzoneErrorEvent>")); }, onDrop$1$viewId(_, viewId) { var t1 = this.events, t2 = A._instanceType(t1)._eval$1("_BroadcastStream<1>"), t3 = t2._eval$1("_WhereStream<Stream.T>"); return new A.CastStream(new A._WhereStream(new A.FlutterDropzonePlatform_onDrop_closure(viewId), new A._BroadcastStream(t1, t2), t3), t3._eval$1("CastStream<Stream.T,DropzoneDropEvent>")); } }; A.FlutterDropzonePlatform_onLoaded_closure.prototype = { call$1($event) { return $event.viewId === this.viewId && $event instanceof A.DropzoneLoadedEvent; }, $signature: 167 }; A.FlutterDropzonePlatform_onError_closure.prototype = { call$1($event) { return $event.viewId === this.viewId && $event instanceof A.DropzoneErrorEvent; }, $signature: 167 }; A.FlutterDropzonePlatform_onDrop_closure.prototype = { call$1($event) { return $event.viewId === this.viewId && $event instanceof A.DropzoneDropEvent; }, $signature: 167 }; A.DropzoneEvent.prototype = { get$value(receiver) { return this.value; } }; A.DropzoneLoadedEvent.prototype = {}; A.DropzoneErrorEvent.prototype = {}; A.DropzoneHoverEvent.prototype = {}; A.DropzoneDropEvent.prototype = {}; A.DropzoneLeaveEvent.prototype = {}; A.MethodChannelFlutterDropzone.prototype = { init$2$viewId(params, viewId) { throw A.wrapException(A.UnsupportedError$("DropzoneView: " + A.defaultTargetPlatform().toString$0(0) + " is not supported")); }, getFileSize$2$viewId(htmlFile, viewId) { return this.getFileSize$body$MethodChannelFlutterDropzone(htmlFile, viewId); }, getFileSize$body$MethodChannelFlutterDropzone(htmlFile, viewId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.int); var $async$getFileSize$2$viewId = 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.UnsupportedError$("DropzoneView: " + A.defaultTargetPlatform().toString$0(0) + " is not supported")); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getFileSize$2$viewId, $async$completer); }, getFileData$2$viewId(htmlFile, viewId) { return this.getFileData$body$MethodChannelFlutterDropzone(htmlFile, viewId); }, getFileData$body$MethodChannelFlutterDropzone(htmlFile, viewId) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List); var $async$getFileData$2$viewId = 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.UnsupportedError$("DropzoneView: " + A.defaultTargetPlatform().toString$0(0) + " is not supported")); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$getFileData$2$viewId, $async$completer); }, buildView$3(creationParams, gestureRecognizers, onPlatformViewCreated) { var _null = null; return A.Text$("DropzoneView: " + A.defaultTargetPlatform().toString$0(0) + " is not supported", _null, _null, _null, _null, _null, _null, _null, _null); } }; A.FlutterDropzonePlugin.prototype = { init$2$viewId(params, viewId) { var t1 = $.FlutterDropzonePlugin__views.$index(0, viewId); t1.toString; t1.mime = params.$index(0, "mime"); t1.operation = params.$index(0, "operation"); t1.cursor = params.$index(0, "cursor"); }, getFileSize$2$viewId(htmlFile, viewId) { return $.FlutterDropzonePlugin__views.$index(0, viewId).getFileSize$1(htmlFile); }, getFileData$2$viewId(htmlFile, viewId) { return $.FlutterDropzonePlugin__views.$index(0, viewId).getFileData$1(htmlFile); }, buildView$3(creationParams, gestureRecognizers, onPlatformViewCreated) { return A.FutureBuilder$(new A.FlutterDropzonePlugin_buildView_closure(onPlatformViewCreated), $.FlutterDropzonePlugin____isReady._readField$0(), type$.bool); } }; A.FlutterDropzonePlugin_registerWith_closure.prototype = { call$1(_) { var t1 = $.$get$FlutterDropzonePlugin__readyCompleter(); if ((t1.future._state & 30) === 0) t1.complete$1(0, true); }, $signature: 25 }; A.FlutterDropzonePlugin_registerWith_closure0.prototype = { call$1(viewId) { var view = A.FlutterDropzoneView$(viewId); $.FlutterDropzonePlugin__views.$indexSet(0, viewId, view); return A._lateReadCheck(view.__FlutterDropzoneView_container, "container"); }, $signature: 312 }; A.FlutterDropzonePlugin_buildView_closure.prototype = { call$2(context, snapshot) { if (snapshot.data != null) return new A.HtmlElementView("com.creativephotocloud.plugins/dropzone", this.onPlatformViewCreated, null); else if (snapshot.error != null) return B.Center_wK9; else return B.Center_mtF; }, $signature: 731 }; A.FlutterDropzoneView.prototype = { FlutterDropzoneView$1(viewId) { var t3, _this = this, id = "dropzone-container-" + _this.viewId, t1 = document, t2 = t1.createElement("div"); t2.id = id; t3 = t2.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t3, B.CssStyleDeclaration_methods._browserPropertyName$1(t3, "pointer-events"), "auto", ""); t3 = t2.style; t3.border = "none"; t1 = t1.createElement("style"); t1.innerText = "@keyframes " + id + "-animation {from { clip: rect(1px, auto, auto, auto); } to { clip: rect(0px, auto, auto, auto); }}"; t2.appendChild(t1); t1 = t2.style; t3 = id + "-animation"; B.CssStyleDeclaration_methods._setPropertyHelper$3(t1, B.CssStyleDeclaration_methods._browserPropertyName$1(t1, "animation-name"), t3, ""); t3 = t2.style; B.CssStyleDeclaration_methods._setPropertyHelper$3(t3, B.CssStyleDeclaration_methods._browserPropertyName$1(t3, "animation-duration"), "0.001s", ""); t3 = t2.style; t3.width = "100%"; t1 = t2.style; t1.height = "100%"; B.DivElement_methods.addEventListener$2(t2, "animationstart", new A.FlutterDropzoneView_closure(_this)); A._lateWriteOnceCheck(_this.__FlutterDropzoneView_container, "container"); _this.__FlutterDropzoneView_container = t2; }, setOperation$1(operation) { return this.setOperation$body$FlutterDropzoneView(operation); }, setOperation$body$FlutterDropzoneView(operation) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this; var $async$setOperation$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 = flutter_dropzone_web.setOperation(A._lateReadCheck($async$self.__FlutterDropzoneView_container, "container"), A.describeEnum(operation)); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$setOperation$1, $async$completer); }, setCursor$1(cursor) { return this.setCursor$body$FlutterDropzoneView(cursor); }, setCursor$body$FlutterDropzoneView(cursor) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.bool), $async$returnValue, $async$self = this, t1, t2; var $async$setCursor$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 = A._lateReadCheck($async$self.__FlutterDropzoneView_container, "container"); t2 = A.describeEnum(cursor); $async$returnValue = flutter_dropzone_web.setCursor(t1, A.stringReplaceAllUnchecked(t2.toLowerCase(), "_", "-")); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$setCursor$1, $async$completer); }, getFileSize$1(file) { return this.getFileSize$body$FlutterDropzoneView(file); }, getFileSize$body$FlutterDropzoneView(file) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.int), $async$returnValue; var $async$getFileSize$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 = file.size; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getFileSize$1, $async$completer); }, getFileData$1(file) { return this.getFileData$body$FlutterDropzoneView(file); }, getFileData$body$FlutterDropzoneView(file) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Uint8List), $async$returnValue, t1, reader; var $async$getFileData$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 = new A._Future($.Zone__current, type$._Future_Uint8List); reader = new FileReader(); reader.readAsArrayBuffer(file); A._EventStreamSubscription$(reader, "load", new A.FlutterDropzoneView_getFileData_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_Uint8List), reader), false, type$.ProgressEvent); $async$returnValue = t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getFileData$1, $async$completer); }, _onLoaded$0() { return $.$get$FlutterDropzonePlatform__instance().events.add$1(0, new A.DropzoneLoadedEvent(this.viewId, null)); }, _flutter_dropzone_web$_onError$1(error) { return $.$get$FlutterDropzonePlatform__instance().events.add$1(0, new A.DropzoneErrorEvent(this.viewId, error)); }, _onHover$1($event) { return $.$get$FlutterDropzonePlatform__instance().events.add$1(0, new A.DropzoneHoverEvent(this.viewId, null)); }, _onDrop$2($event, data) { return $.$get$FlutterDropzonePlatform__instance().events.add$1(0, new A.DropzoneDropEvent(this.viewId, data)); }, _onLeave$1($event) { return $.$get$FlutterDropzonePlatform__instance().events.add$1(0, new A.DropzoneLeaveEvent(this.viewId, null)); } }; A.FlutterDropzoneView_closure.prototype = { call$1($event) { var t2, t1 = this.$this; flutter_dropzone_web.create(A._lateReadCheck(t1.__FlutterDropzoneView_container, "container"), A.allowInterop(t1.get$_onLoaded()), A.allowInterop(t1.get$_flutter_dropzone_web$_onError()), A.allowInterop(t1.get$_onHover()), A.allowInterop(t1.get$_onDrop()), A.allowInterop(t1.get$_onLeave())); t2 = t1.operation; if (t2 != null) t1.setOperation$1(t2); t2 = t1.cursor; if (t2 != null) t1.setCursor$1(t2); }, $signature: 25 }; A.FlutterDropzoneView_getFileData_closure.prototype = { call$1(_) { return this.completer.complete$1(0, type$.Uint8List._as(B.FileReader_methods.get$result(this.reader))); }, $signature: 62 }; A.Html.prototype = { build$1(_, context) { var doc, width, t2, t3, t4, _this = this, _null = null, t1 = _this.data; if (t1 != null) doc = A.parse(t1); else { null.toString; doc = null; } t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery); width = t1.data.size._dx; t1 = _this._anchorKey; t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.bool_Function_2_Map_String_String_and_nullable_Element, type$.nullable_Widget_Function_3_RenderContext_and_Map_String_String_and_nullable_Element); t2.addAll$1(0, B.Map_empty7); t2.addAll$1(0, $.$get$defaultImageRenders()); t3 = A.List_List$from(B.List_KXO, true, type$.String); B.JSArray_methods.addAll$1(t3, B.List_a); B.JSArray_methods.addAll$1(t3, B.List_HTJ); B.JSArray_methods.addAll$1(t3, B.List_oyU); B.JSArray_methods.addAll$1(t3, B.List_th_td); B.JSArray_methods.addAll$1(t3, B.List_col_colgroup); t4 = A.HtmlParser__handleAnchorTap(t1, _this.onLinkTap); return A.Container$(_null, new A.HtmlParser0(t1, doc, _null, _null, _null, _null, false, false, _this.style, B.Map_empty8, t2, t3, _null, t4, t1), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, width); }, get$data(receiver) { return this.data; } }; A.HtmlParser0.prototype = { build$1(_, context) { var tree, parsedTree, _this = this, t1 = _this.htmlData, t2 = _this.onCssParseError, declarations = A.HtmlParser__getExternalCssDeclarations(A.querySelectorAll(t1, "style"), t2), t3 = _this.customRender, lexedTree = A.HtmlParser_lexDomTree(t1, J.toList$0$ax(t3.get$keys(t3)), _this.tagsList, _this.navigationDelegateForIframe, context), externalCssStyledTree = declarations.get$isNotEmpty(declarations) ? A.HtmlParser__applyExternalCss(declarations, lexedTree) : null; t1 = _this.style; tree = A.HtmlParser__processFontSize(A.HtmlParser__collapseMargins(A.HtmlParser__processBeforesAndAfters(A.HtmlParser__processListCharactersRecursive(A.HtmlParser__removeEmptyElements(A.HtmlParser__processInlineWhitespaceRecursive(A.HtmlParser__processInternalWhitespace(A.HtmlParser__cascadeStyles(t1, A.HtmlParser__applyCustomStyles(t1, A.HtmlParser__applyInlineStyles(externalCssStyledTree == null ? lexedTree : externalCssStyledTree, t2)))), new A.Context1(false, type$.Context_bool))), A.ListQueue$(null, type$.Context_dynamic))))); parsedTree = _this.parseTree$2(new A.RenderContext(context, _this, tree.style), tree); t1 = tree.style; t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data; return A.StyledText$(new A.RenderContext(context, _this, tree.style), t1, t2.textScaleFactor, parsedTree); }, parseTree$2(context, tree) { var t4, t5, t6, render, t7, t8, t9, verticalOffset, _this = this, _null = null, t1 = context.style.copyOnlyInherited$1(tree.style), newContext = new A.RenderContext(context.buildContext, _this, t1), t2 = _this.customRender, t3 = tree.name; if (t2.containsKey$1(0, t3)) { t2 = t2.$index(0, t3); t2.toString; t3 = A.AnchorKey_of(_this.HtmlParser_key, tree); t4 = tree.style; t5 = tree.children; t6 = A._arrayInstanceType(t5)._eval$1("MappedListIterable<1,InlineSpan>"); render = t2.call$2(newContext, A.ContainerSpan$(_null, A.List_List$of(new A.MappedListIterable(t5, new A.HtmlParser_parseTree_closure(_this, newContext), t6), true, t6._eval$1("ListIterable.E")), t3, newContext, false, t4)); return render; } if (tree.style.display === B.Display_0) if (tree.children.length === 0) { t2 = tree.get$element(); t2 = (t2 == null ? _null : t2.localName) === "hr"; } else t2 = true; else t2 = false; if (t2) { t1 = A.AnchorKey_of(_this.HtmlParser_key, tree); t2 = tree.style; t3 = A.ListExtensions_expandIndexed(tree.children, new A.HtmlParser_parseTree_closure0(_this, tree, newContext), type$.StyledElement, type$.InlineSpan); return new A.WidgetSpan(A.ContainerSpan$(_null, A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")), t1, newContext, false, t2), B.PlaceholderAlignment_4, _null, _null); } else { t2 = tree.style; if (t2.display === B.Display_3) { t2 = A.AnchorKey_of(_this.HtmlParser_key, tree); t3 = tree.style; t4 = t3.direction; if (t3.listStylePosition === B.ListStylePosition_0) { t5 = t3.padding; if (t5 == null) { t5 = t4 === B.TextDirection_0; t6 = !t5 ? 10 : 0; t6 = new A.EdgeInsets(t6, 0, t5 ? 10 : 0, 0); t5 = t6; } t5 = new A.Padding(t5, A.Text$(A.S(t1.markerContent), _null, _null, _null, _null, t1.generateTextStyle$0(), B.TextAlign_1, _null, _null), _null); } else t5 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, 0); t6 = A.Text$("\t", _null, _null, _null, _null, _null, B.TextAlign_1, _null, _null); t7 = tree.style; t8 = t7.listStylePosition === B.ListStylePosition_1; if (t8) { t7 = t7.direction === B.TextDirection_0; t9 = !t7 ? 10 : 0; t9 = new A.EdgeInsets(t9, 0, t7 ? 10 : 0, 0); t7 = t9; } else t7 = B.EdgeInsets_0_0_0_0; t8 = t8 ? A.S(t1.markerContent) : _null; return new A.WidgetSpan(A.ContainerSpan$(A.Row$(A._setArrayType([t5, t6, A.Expanded$(new A.Padding(t7, A.StyledText$(context, t1, 1, A.TextSpan$(new A.HtmlParser_parseTree_getChildren(_this, newContext).call$1(tree), _null, _null, _null, t1.generateTextStyle$0(), t8)), _null), 1)], type$.JSArray_Widget), B.CrossAxisAlignment_0, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, _null, t4), _null, t2, newContext, false, t3), B.PlaceholderAlignment_4, _null, _null); } else if (tree instanceof A.ReplacedElement) if (tree instanceof A.TextContentElement) return A.TextSpan$(_null, _null, _null, _null, _null, tree.text); else { t1 = tree.toWidget$1(context); t1.toString; return new A.WidgetSpan(t1, tree.alignment, B.TextBaseline_0, _null); } else if (tree instanceof A.InteractableElement) { t1 = tree.children; t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InlineSpan>"); t3 = t2._eval$1("MappedListIterable<ListIterable.E,InlineSpan>"); return A.TextSpan$(A.List_List$of(new A.MappedListIterable(new A.MappedListIterable(t1, new A.HtmlParser_parseTree_closure1(_this, newContext), t2), new A.HtmlParser_parseTree_closure2(new A.HtmlParser_parseTree_addTaps(_this, newContext, tree, context), newContext), t3), true, t3._eval$1("ListIterable.E")), B.SystemMouseCursor_click, _null, _null, _null, _null); } else if (tree instanceof A.LayoutElement) { t1 = tree.toWidget$1(context); t1.toString; return new A.WidgetSpan(t1, B.PlaceholderAlignment_4, _null, _null); } else { t2 = t2.verticalAlign; if (t2 != null && t2 !== B.VerticalAlign_0) { verticalOffset = A._Cell$named("verticalOffset"); t2 = tree.style; switch (t2.verticalAlign) { case B.VerticalAlign_1: t2 = t2.fontSize.size; t2.toString; verticalOffset.__late_helper$_value = t2 / 2.5; break; case B.VerticalAlign_2: t2 = t2.fontSize.size; t2.toString; verticalOffset.__late_helper$_value = t2 / -2.5; break; default: break; } t2 = A.AnchorKey_of(_this.HtmlParser_key, tree); t3 = verticalOffset._readLocal$0(); t4 = t1.generateTextStyle$0(); t5 = tree.children; t6 = A._arrayInstanceType(t5)._eval$1("MappedListIterable<1,InlineSpan>"); return new A.WidgetSpan(A.Transform$translate(A.StyledText$(newContext, t1, 1, A.TextSpan$(A.List_List$of(new A.MappedListIterable(t5, new A.HtmlParser_parseTree_closure3(_this, newContext), t6), true, t6._eval$1("ListIterable.E")), _null, _null, _null, t4, _null)), t2, new A.Offset(0, t3)), B.PlaceholderAlignment_4, _null, _null); } else { t1 = t1.generateTextStyle$0(); t2 = tree.children; t3 = A._arrayInstanceType(t2)._eval$1("ExpandIterable<1,InlineSpan>"); return A.TextSpan$(A.List_List$of(new A.ExpandIterable(t2, new A.HtmlParser_parseTree_closure4(_this, newContext), t3), true, t3._eval$1("Iterable.E")), _null, _null, _null, t1, _null); } } } }, get$key(receiver) { return this.HtmlParser_key; } }; A.HtmlParser_lexDomTree_closure.prototype = { call$1(node) { var _this = this; _this.tree.children.push(A.HtmlParser__recursiveLexer(node, _this.customRenderTags, _this.tagsList, _this.navigationDelegateForIframe)); }, $signature: 114 }; A.HtmlParser__recursiveLexer_closure.prototype = { call$1(childNode) { var _this = this; _this.children.push(A.HtmlParser__recursiveLexer(childNode, _this.customRenderTags, _this.tagsList, _this.navigationDelegateForIframe)); }, $signature: 114 }; A.HtmlParser__applyExternalCss_closure.prototype = { call$2(key, style) { var t1, t2, t3, t4, exception; try { t1 = this.tree; t2 = t1._styled_element$_node; if (t2 != null) { t3 = new A.SelectorEvaluator(); t4 = A._parseSelectorList(key); t3._query_selector$_element = t2; t3 = B.JSArray_methods.any$1(t4.selectors, t3.get$visitSelector()); t2 = t3; } else t2 = false; if (t2) t1.style = t1.style.merge$1(A.declarationsToStyle(style)); } catch (exception) { } }, $signature: 734 }; A.HtmlParser__applyExternalCss_closure0.prototype = { call$1(e) { return A.HtmlParser__applyExternalCss(this.declarations, e); }, $signature: 56 }; A.HtmlParser__applyInlineStyles_closure.prototype = { call$1(e) { return A.HtmlParser__applyInlineStyles(e, this.errorHandler); }, $signature: 56 }; A.HtmlParser__applyCustomStyles_closure.prototype = { call$2(key, style) { var t1, t2, t3, t4, exception; try { t1 = this.tree; t2 = t1._styled_element$_node; if (t2 != null) { t3 = new A.SelectorEvaluator(); t4 = A._parseSelectorList(key); t3._query_selector$_element = t2; t3 = B.JSArray_methods.any$1(t4.selectors, t3.get$visitSelector()); t2 = t3; } else t2 = false; if (t2) t1.style = t1.style.merge$1(style); } catch (exception) { } }, $signature: 736 }; A.HtmlParser__applyCustomStyles_closure0.prototype = { call$1(e) { return A.HtmlParser__applyCustomStyles(this.style, e); }, $signature: 56 }; A.HtmlParser__cascadeStyles_closure.prototype = { call$1(child) { child.style = this.tree.style.copyOnlyInherited$1(child.style); A.HtmlParser__cascadeStyles(this.style, child); }, $signature: 56 }; A.HtmlParser_parseTree_closure.prototype = { call$1(tree) { return this.$this.parseTree$2(this.newContext, tree); }, $signature: 93 }; A.HtmlParser_parseTree_closure0.prototype = { call$2(i, childTree) { var t1 = A._setArrayType([], type$.JSArray_InlineSpan); t1.push(this.$this.parseTree$2(this.newContext, childTree)); return t1; }, $signature: 738 }; A.HtmlParser_parseTree_getChildren.prototype = { call$1(tree) { var _null = null, t1 = A.Text$("\t", _null, _null, _null, _null, _null, B.TextAlign_1, _null, _null), t2 = tree.children, t3 = A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,InlineSpan>"), children = A.List_List$of(new A.MappedListIterable(t2, new A.HtmlParser_parseTree_getChildren_closure(this.$this, this.newContext), t3), true, t3._eval$1("ListIterable.E")); if (tree.style.listStylePosition === B.ListStylePosition_1) B.JSArray_methods.insert$2(children, 0, new A.WidgetSpan(t1, B.PlaceholderAlignment_4, _null, _null)); return children; }, $signature: 313 }; A.HtmlParser_parseTree_getChildren_closure.prototype = { call$1(tree) { return this.$this.parseTree$2(this.newContext, tree); }, $signature: 93 }; A.HtmlParser_parseTree_addTaps.prototype = { call$2(childSpan, childStyle) { var t1, t2, t3, t4, t5, t6, _this = this, _null = null; if (childSpan instanceof A.TextSpan) { t1 = childSpan.children; if (t1 == null) t1 = _null; else { t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InlineSpan>"); t2 = A.List_List$of(new A.MappedListIterable(t1, new A.HtmlParser_parseTree_addTaps_closure(_this, childStyle, childSpan), t2), true, t2._eval$1("ListIterable.E")); t1 = t2; } t2 = _this.newContext.style.generateTextStyle$0(); t3 = childSpan.style; t2 = t2.merge$1(t3 == null ? childStyle : childStyle.merge$1(t3)); t3 = A.TapGestureRecognizer$(_null); t4 = _this.$this; t3.onTap = t4._onAnchorTap != null ? new A.HtmlParser_parseTree_addTaps_closure0(t4, _this.tree, _this.context) : _null; return A.TextSpan$(t1, B.SystemMouseCursor_click, t3, childSpan.semanticsLabel, t2, childSpan.text); } else { t1 = _this.$this; t2 = t1.HtmlParser_key; t3 = _this.tree; t4 = A.AnchorKey_of(t2, t3); t5 = t1._onAnchorTap != null; t6 = t5 ? new A.HtmlParser_parseTree_addTaps_closure1(t1, t3, _this.context) : _null; t2 = A.AnchorKey_of(t2, t3); t1 = t5 ? new A.HtmlParser_parseTree_addTaps_closure2(t1, t3, _this.context) : _null; return new A.WidgetSpan(A.MouseRegion$(new A.MultipleTapGestureDetector(t6, A.GestureDetector$(_null, type$.WidgetSpan._as(childSpan).child, B.DragStartBehavior_1, false, t2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null), _null), B.SystemMouseCursor_click, t4, _null, _null, _null), B.PlaceholderAlignment_4, _null, _null); } }, $signature: 740 }; A.HtmlParser_parseTree_addTaps_closure.prototype = { call$1(e) { return this.addTaps.call$2(e, this.childStyle.merge$1(this.childSpan.style)); }, $signature: 314 }; A.HtmlParser_parseTree_addTaps_closure0.prototype = { call$0() { var t2, t1 = this.$this._onAnchorTap; t1.toString; t2 = this.tree; return t1.call$4(t2.href, this.context, t2.get$attributes(t2), t2._styled_element$_node); }, $signature: 0 }; A.HtmlParser_parseTree_addTaps_closure1.prototype = { call$0() { var t2, t1 = this.$this._onAnchorTap; t1.toString; t2 = this.tree; return t1.call$4(t2.href, this.context, t2.get$attributes(t2), t2._styled_element$_node); }, $signature: 0 }; A.HtmlParser_parseTree_addTaps_closure2.prototype = { call$0() { var t2, t1 = this.$this._onAnchorTap; t1.toString; t2 = this.tree; return t1.call$4(t2.href, this.context, t2.get$attributes(t2), t2._styled_element$_node); }, $signature: 0 }; A.HtmlParser_parseTree_closure1.prototype = { call$1(tree) { return this.$this.parseTree$2(this.newContext, tree); }, $signature: 93 }; A.HtmlParser_parseTree_closure2.prototype = { call$1(childSpan) { return this.addTaps.call$2(childSpan, this.newContext.style.generateTextStyle$0().merge$1(childSpan.style)); }, $signature: 314 }; A.HtmlParser_parseTree_closure3.prototype = { call$1(tree) { return this.$this.parseTree$2(this.newContext, tree); }, $signature: 93 }; A.HtmlParser_parseTree_closure4.prototype = { call$1(tree) { var t2, _null = null, t1 = A._setArrayType([this.$this.parseTree$2(this.newContext, tree)], type$.JSArray_InlineSpan); if (tree.style.display === B.Display_0) { t2 = tree.get$element(); if ((t2 == null ? _null : t2.localName) !== "html") { t2 = tree.get$element(); t2 = (t2 == null ? _null : t2.localName) !== "body"; } else t2 = false; } else t2 = false; if (t2) t1.push(A.TextSpan$(_null, _null, _null, _null, _null, "\n")); return t1; }, $signature: 313 }; A.HtmlParser__handleAnchorTap_closure.prototype = { call$4(url, context, attributes, element) { var t1, anchorContext; if ((url == null ? null : B.JSString_methods.startsWith$1(url, "#")) === true) { url.toString; t1 = A.AnchorKey_forId(this.key, B.JSString_methods.substring$1(url, 1)); anchorContext = t1 == null ? null : $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1); if (anchorContext != null) A.Scrollable_ensureVisible(anchorContext, 0, B.ScrollPositionAlignmentPolicy_0); return; } t1 = this.onLinkTap; if (t1 != null) t1.call$4(url, context, attributes, element); }, $signature: 742 }; A.HtmlParser__processInlineWhitespaceRecursive_closure.prototype = { call$1(element) { return element === this.tree.node; }, $signature: 140 }; A.HtmlParser__processInlineWhitespaceRecursive_closure0.prototype = { call$1(element) { return element === this.tree._styled_element$_node; }, $signature: 140 }; A.HtmlParser__processInlineWhitespaceRecursive_closure1.prototype = { call$1(e) { return A.HtmlParser__processInlineWhitespaceRecursive(e, this.keepLeadingSpace); }, $signature: 56 }; A.HtmlParser__processListCharactersRecursive_closure.prototype = { call$1(e) { return A.HtmlParser__processListCharactersRecursive(e, this.olStack); }, $signature: 56 }; A.HtmlParser__removeEmptyElements_closure.prototype = { call$1(child) { var t1, t2, lastChildBlock, _this = this; if (child instanceof A.EmptyContentElement || child instanceof A.EmptyLayoutElement) _this.toRemove.push(child); else { t1 = child instanceof A.TextContentElement; if (t1) if (_this.tree.name === "body") { t2 = child.text; t2.toString; t2 = A.stringReplaceAllUnchecked(t2, " ", "").length === 0; } else t2 = false; else t2 = false; if (t2) _this.toRemove.push(child); else if (t1 && child.text.length === 0 && child.style.whiteSpace !== B.WhiteSpace_1) _this.toRemove.push(child); else if (t1 && child.style.whiteSpace !== B.WhiteSpace_1 && _this.tree.style.display === B.Display_0 && child.text.length === 0 && _this._box_0.lastChildBlock) _this.toRemove.push(child); else if (child.style.display === B.Display_4) _this.toRemove.push(child); else A.HtmlParser__removeEmptyElements(child); } t1 = child.style.display; if (t1 !== B.Display_0) if (t1 !== B.Display_3) { t1 = child instanceof A.TextContentElement && child.text === "\n"; lastChildBlock = t1; } else lastChildBlock = true; else lastChildBlock = true; _this._box_0.lastChildBlock = lastChildBlock; }, $signature: 56 }; A.HtmlParser__removeEmptyElements_closure0.prototype = { call$1(element) { return B.JSArray_methods.contains$1(this.toRemove, element); }, $signature: 315 }; A.HtmlParser__processFontSize_closure.prototype = { call$1(child) { var t1 = child.style, t2 = t1.fontSize, t3 = t2 == null ? null : t2.size; if (t3 == null) t3 = this.parentFontSize; t3.toString; if (t3 < 0) { t3 = this.parentFontSize; t3.toString; t2 = t2.size; t2.toString; t1.fontSize = new A.FontSize(t3 * -t2, ""); } A.HtmlParser__processFontSize(child); }, $signature: 56 }; A.RenderContext.prototype = {}; A.ContainerSpan.prototype = { build$1(_, _0) { var t8, t9, _this = this, _null = null, t1 = _this.style, t2 = t1.border, t3 = t1.backgroundColor, t4 = t1.height, t5 = t1.width, t6 = t1.padding, t7 = t1.margin; t1 = t1.alignment; t8 = _this.child; if (t8 == null) { t8 = _this.newContext; t9 = t8.style; t9 = A.StyledText$(t8, t9, 1, A.TextSpan$(_this.children, _null, _null, _null, t9.generateTextStyle$0(), _null)); t8 = t9; } return A.Container$(t1, t8, B.Clip_0, _null, _null, new A.BoxDecoration(t3, _null, t2, _null, _null, _null, B.BoxShape_0), _null, t4, _null, t7, t6, _null, _null, t5); }, get$key(receiver) { return this.ContainerSpan_key; } }; A.StyledText.prototype = { build$1(_, context) { var t1, _this = this, _null = null; if (_this._selectable) { t1 = _this.style; return A.SelectableText$rich(type$.TextSpan._as(_this.textSpan), _null, t1.maxLines, _null, _this.selectionControls, t1.generateTextStyle$0(), t1.textAlign, t1.direction, _this.textScaleFactor); } t1 = _this.style; return new A.SizedBox(_this.consumeExpandedBlock$2(t1.display, _this.renderContext), _null, A.Text$rich(_this.textSpan, t1.maxLines, t1.textOverflow, t1.generateTextStyle$0(), t1.textAlign, t1.direction, _this.textScaleFactor), _null); }, consumeExpandedBlock$2(display, context) { if ((display === B.Display_0 || display === B.Display_3) && true) return 1 / 0; return null; }, get$key() { return null; } }; A.dataUriMatcher_closure.prototype = { call$2(attributes, element) { var t2, dataUri, t1 = J.getInterceptor$asx(attributes); if (t1.$index(attributes, "src") == null) return false; t2 = $.$get$_dataUriFormat(); t1 = t1.$index(attributes, "src"); t1.toString; dataUri = t2.firstMatch$1(t1); if (dataUri != null) { t1 = this.mime; if (t1 == null || dataUri.namedGroup$1("mime") === t1) { t1 = this.encoding; t1 = t1 == null || dataUri.namedGroup$1("encoding") === ";" + t1; } else t1 = false; } else t1 = false; return t1; }, $signature: 172 }; A.networkSourceMatcher_closure.prototype = { call$2(attributes, element) { var src, exception, t1 = J.getInterceptor$asx(attributes); if (t1.$index(attributes, "src") == null) return false; try { t1 = t1.$index(attributes, "src"); t1.toString; src = A.Uri_parse(t1, 0, null); if (B.JSArray_methods.contains$1(this.schemas, src.get$scheme())) { t1 = this.extension; t1 = t1 == null || B.JSString_methods.endsWith$1(J.get$path$x(src), "." + t1); } else t1 = false; return t1; } catch (exception) { return false; } }, $signature: 172 }; A.assetUriMatcher_closure.prototype = { call$2(attributes, element) { var t1 = J.getInterceptor$asx(attributes); if (t1.$index(attributes, "src") != null) { t1 = t1.$index(attributes, "src"); t1.toString; t1 = B.JSString_methods.startsWith$1(t1, "asset:"); } else t1 = false; return t1; }, $signature: 172 }; A.base64ImageRender_closure.prototype = { call$3(context, attributes, element) { var decodedImage = B.C_Base64Decoder.convert$1(J.trim$0$s(J.$index$asx(attributes, "src").split("base64,")[1])); A.precacheImage(new A.MemoryImage(decodedImage, 1), context.buildContext, new A.base64ImageRender__closure(context)); return A.Image$memory(decodedImage, new A.base64ImageRender__closure0(attributes, context), null, null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 746 }; A.base64ImageRender__closure.prototype = { call$2(exception, stackTrace) { }, $signature: 98 }; A.base64ImageRender__closure0.prototype = { call$4(ctx, child, frame, _) { var t1, _null = null; if (frame == null) { t1 = J.$index$asx(this.attributes, "alt"); if (t1 == null) t1 = ""; return A.Text$(t1, _null, _null, _null, _null, this.context.style.generateTextStyle$0(), _null, _null, _null); } return child; }, "call*": "call$4", $requiredArgCount: 4, $signature: 136 }; A.assetImageRender_closure.prototype = { call$3(context, attributes, element) { var assetPath, t1 = J.getInterceptor$asx(attributes), t2 = t1.$index(attributes, "src"); t2.toString; assetPath = B.JSString_methods.replaceFirst$2(t2, "asset:", ""); t1 = t1.$index(attributes, "src"); t1.toString; if (B.JSString_methods.endsWith$1(t1, ".svg")) { t1 = A._width(attributes); t2 = A._height(attributes); return A.SvgPicture$asset(assetPath, null, t2, t1); } else { t1 = A._width(attributes); t2 = A._height(attributes); return A.Image$asset(assetPath, null, new A.assetImageRender__closure(attributes, context), t2, t1); } }, "call*": "call$3", $requiredArgCount: 3, $signature: 748 }; A.assetImageRender__closure.prototype = { call$4(ctx, child, frame, _) { var t1, _null = null; if (frame == null) { t1 = J.$index$asx(this.attributes, "alt"); if (t1 == null) t1 = ""; return A.Text$(t1, _null, _null, _null, _null, this.context.style.generateTextStyle$0(), _null, _null, _null); } return child; }, "call*": "call$4", $requiredArgCount: 4, $signature: 136 }; A.networkImageRender_closure.prototype = { call$3(context, attributes, element) { var src, completer, image, listener, _this = this, _null = null, t1 = J.$index$asx(attributes, "src"); t1.toString; src = t1; A.precacheImage(new A.NetworkImage(src, 1), context.buildContext, new A.networkImageRender__closure(context)); t1 = new A._Future($.Zone__current, type$._Future_Size); completer = new A._AsyncCompleter(t1, type$._AsyncCompleter_Size); image = A.Image$network(src, _null, _null, new A.networkImageRender__closure0(completer), _null, _null, _null); listener = new A.ImageStreamListener(new A.networkImageRender__closure1(completer), _null, new A.networkImageRender__closure2(completer)); image.image.resolve$1(new A.ImageConfiguration(_null, _null, _null, _null, _null, _null)).addListener$1(0, listener); return A.FutureBuilder$(new A.networkImageRender__closure3(completer, image, listener, _this.width, attributes, src, _this.headers, _this.height, _this.altWidget, context, _this.loadingWidget), t1, type$.Size); }, "call*": "call$3", $requiredArgCount: 3, $signature: 749 }; A.networkImageRender__closure.prototype = { call$2(exception, stackTrace) { }, $signature: 98 }; A.networkImageRender__closure0.prototype = { call$4(ctx, child, frame, _) { var t1; if (frame == null) { t1 = this.completer; if ((t1.future._state & 30) === 0) t1.completeError$1("error"); return child; } else return child; }, "call*": "call$4", $requiredArgCount: 4, $signature: 136 }; A.networkImageRender__closure1.prototype = { call$2(image, synchronousCall) { var myImage = image.image, t1 = myImage.get$width(myImage), t2 = myImage.get$height(myImage), t3 = this.completer; if ((t3.future._state & 30) === 0) t3.complete$1(0, new A.Size(t1, t2)); }, $signature: 141 }; A.networkImageRender__closure2.prototype = { call$2(object, stacktrace) { var t1 = this.completer; if ((t1.future._state & 30) === 0) t1.completeError$1(object); }, $signature: 98 }; A.networkImageRender__closure3.prototype = { call$2(buildContext, snapshot) { var t1, t2, t3, t4, t5, t6, t7, _this = this, _null = null; if ((_this.completer.future._state & 30) !== 0) _this.image.image.resolve$1(new A.ImageConfiguration(_null, _null, _null, _null, _null, _null)).removeListener$1(0, _this.listener); t1 = snapshot.data; if (t1 != null) { t2 = _this.attributes; t3 = A._width(t2); if (t3 == null) t3 = t1._dx; t4 = A._width(t2); if (t4 == null) t4 = t1._dx; t5 = A._aspectRatio(t2, snapshot); t6 = A._aspectRatio(t2, snapshot); t7 = A._width(t2); t1 = t7 == null ? t1._dx : t7; t7 = A._height(t2); return A.Container$(_null, new A.AspectRatio(t6, A.Image$network(_this.src, _null, _null, new A.networkImageRender___closure(_this.altWidget, t2, _this.context), _this.headers, t7, t1), _null), B.Clip_0, _null, new A.BoxConstraints(0, t3, 0, t4 / t5), _null, _null, _null, _null, _null, _null, _null, _null, _null); } else if (snapshot.error != null) { t1 = J.$index$asx(_this.attributes, "alt"); if (t1 == null) t1 = ""; t1 = A.Text$(t1, _null, _null, _null, _null, _this.context.style.generateTextStyle$0(), _null, _null, _null); return t1; } else return B.CircularProgressIndicator_MQk; }, $signature: 750 }; A.networkImageRender___closure.prototype = { call$4(ctx, child, frame, _) { var t1, _null = null; if (frame == null) { t1 = J.$index$asx(this.attributes, "alt"); if (t1 == null) t1 = ""; t1 = A.Text$(t1, _null, _null, _null, _null, this.context.style.generateTextStyle$0(), _null, _null, _null); return t1; } return child; }, "call*": "call$4", $requiredArgCount: 4, $signature: 136 }; A.svgDataImageRender_closure.prototype = { call$3(context, attributes, element) { var dataUri, data, decodedImage, t3, t4, _null = null, t1 = $.$get$_dataUriFormat(), t2 = J.$index$asx(attributes, "src"); t2.toString; dataUri = t1.firstMatch$1(t2); t1 = dataUri == null; data = t1 ? _null : dataUri.namedGroup$1("data"); if (data == null) return _null; if ((t1 ? _null : dataUri.namedGroup$1("encoding")) === ";base64") { decodedImage = B.C_Base64Decoder.convert$1(B.JSString_methods.trim$0(data)); t1 = A._width(attributes); t2 = A._height(attributes); t3 = $.$get$SvgPicture_svgByteDecoderBuilder(); $.$get$svg().toString; t4 = t3.call$1(_null); return new A.SvgPicture(t1, t2, B.BoxFit_1, B.Alignment_0_0, new A.MemoryPicture(t3, t4, decodedImage, _null), _null, _null); } return A.SvgPicture$string(A._Uri__uriDecode(data, 0, data.length, B.C_Utf8Codec, false), B.Alignment_0_0, B.BoxFit_1, _null, _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 751 }; A.svgNetworkImageRender_closure.prototype = { call$3(context, attributes, element) { var t2, t3, t4, t5, _null = null, t1 = J.$index$asx(attributes, "src"); t1.toString; t2 = A._width(attributes); t3 = A._height(attributes); t4 = $.$get$SvgPicture_svgByteDecoderBuilder(); $.$get$svg().toString; t5 = t4.call$1(_null); return new A.SvgPicture(t2, t3, B.BoxFit_1, B.Alignment_0_0, new A.NetworkPicture(t4, t5, t1, _null, _null), _null, _null); }, "call*": "call$3", $requiredArgCount: 3, $signature: 752 }; A.AnchorKey.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (_this !== other) t1 = other instanceof A.AnchorKey && A.getRuntimeType(_this) === A.getRuntimeType(other) && _this.parentKey === other.parentKey && _this.id === other.id; else t1 = true; return t1; }, get$hashCode(_) { return (A.Primitives_objectHashCode(this.parentKey) ^ B.JSString_methods.get$hashCode(this.id)) >>> 0; }, toString$0(_) { return "AnchorKey{parentKey: " + this.parentKey.toString$0(0) + ", id: #" + this.id + "}"; }, get$id(receiver) { return this.id; } }; A.declarationsToStyle_closure.prototype = { call$2(property, value) { var t2, t3, borderWidths, borderColors, potentialStyles, possibleBorderValues, t4, t0, t5, t6, t7, t8, t9, t10, t11, t12, borderWidth, borderColor, marginLengths, margin, paddingLengths, padding, textDecorationList, textDecorationColor, textDecorationStyle, _this = this, _null = null, _s11_ = "removeWhere", t1 = J.getInterceptor$asx(value); if (t1.get$isNotEmpty(value)) switch (property) { case "background-color": t2 = _this.style; t1 = A.ExpressionMapping_expressionToColor(t1.get$first(value)); t2.backgroundColor = t1 == null ? t2.backgroundColor : t1; break; case "border": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); borderWidths = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!borderWidths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(borderWidths, new A.declarationsToStyle__closure(), true); t3 = t1.where$1(value, new A.declarationsToStyle__closure0()); borderColors = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); t2 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")); possibleBorderValues = A._setArrayType(["dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], type$.JSArray_String); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure1(possibleBorderValues), true); t1 = borderWidths.length; if (t1 !== 0) { t1 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$first(borderWidths)); if (borderWidths.length === 4) { t2 = A.ExpressionMapping_expressionToBorderWidth(borderWidths[1]); t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidths[2]); t4 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$last(borderWidths)); t0 = t4; t4 = t3; t3 = t2; t2 = t0; } else { t2 = 1; t3 = 1; t4 = 1; } if (borderWidths.length === 3) { t2 = A.ExpressionMapping_expressionToBorderWidth(borderWidths[1]); t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidths[1]); t4 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$last(borderWidths)); } if (borderWidths.length === 2) { t2 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$first(borderWidths)); t3 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$last(borderWidths)); t4 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$last(borderWidths)); t0 = t4; t4 = t2; t2 = t3; t3 = t0; } if (borderWidths.length === 1) { t2 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$first(borderWidths)); t3 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$first(borderWidths)); t4 = A.ExpressionMapping_expressionToBorderWidth(B.JSArray_methods.get$first(borderWidths)); t0 = t4; t4 = t2; t2 = t3; t3 = t0; } t0 = t2; t2 = t1; t1 = t0; } else { t1 = 1; t2 = 1; t3 = 1; t4 = 1; } t5 = potentialStyles.length; if (t5 !== 0) { t5 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$first(potentialStyles)); if (potentialStyles.length === 4) { t6 = A.ExpressionMapping_expressionToBorderStyle(potentialStyles[1]); t7 = A.ExpressionMapping_expressionToBorderStyle(potentialStyles[2]); t8 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$last(potentialStyles)); t0 = t8; t8 = t7; t7 = t6; t6 = t0; } else { t6 = B.BorderStyle_0; t7 = B.BorderStyle_0; t8 = B.BorderStyle_0; } if (potentialStyles.length === 3) { t6 = potentialStyles[1]; t7 = A.ExpressionMapping_expressionToBorderStyle(t6); t6 = A.ExpressionMapping_expressionToBorderStyle(t6); t8 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$last(potentialStyles)); t0 = t7; t7 = t6; t6 = t0; } if (potentialStyles.length === 2) { t6 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$first(potentialStyles)); t7 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$last(potentialStyles)); t8 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$last(potentialStyles)); t0 = t8; t8 = t6; t6 = t7; t7 = t0; } if (potentialStyles.length === 1) { t6 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$first(potentialStyles)); t7 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$first(potentialStyles)); t8 = A.ExpressionMapping_expressionToBorderStyle(B.JSArray_methods.get$first(potentialStyles)); t0 = t8; t8 = t6; t6 = t7; t7 = t0; } t0 = t6; t6 = t5; t5 = t0; } else { t5 = B.BorderStyle_0; t6 = B.BorderStyle_0; t7 = B.BorderStyle_0; t8 = B.BorderStyle_0; } t9 = borderColors.length; if (t9 !== 0) { t9 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$first(borderColors)); if (borderColors.length === 4) { t10 = A.ExpressionMapping_expressionToColor(borderColors[1]); t11 = A.ExpressionMapping_expressionToColor(borderColors[2]); t12 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$last(borderColors)); t0 = t12; t12 = t11; t11 = t10; t10 = t0; } else { t10 = B.Color_4278190080; t11 = B.Color_4278190080; t12 = B.Color_4278190080; } if (borderColors.length === 3) { t10 = A.ExpressionMapping_expressionToColor(borderColors[1]); t11 = A.ExpressionMapping_expressionToColor(borderColors[1]); t12 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$last(borderColors)); } if (borderColors.length === 2) { t10 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$first(borderColors)); t11 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$last(borderColors)); t12 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$last(borderColors)); t0 = t12; t12 = t10; t10 = t11; t11 = t0; } if (borderColors.length === 1) { t10 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$first(borderColors)); t11 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$first(borderColors)); t12 = A.ExpressionMapping_expressionToColor(B.JSArray_methods.get$first(borderColors)); t0 = t12; t12 = t10; t10 = t11; t11 = t0; } t0 = t10; t10 = t9; t9 = t0; } else { t9 = B.Color_4278190080; t10 = B.Color_4278190080; t11 = B.Color_4278190080; t12 = B.Color_4278190080; } if (t10 == null) t10 = B.Color_4278190080; if (t11 == null) t11 = B.Color_4278190080; if (t12 == null) t12 = B.Color_4278190080; if (t9 == null) t9 = B.Color_4278190080; _this.style.border = new A.Border(new A.BorderSide(t10, t2, t6), new A.BorderSide(t11, t3, t7), new A.BorderSide(t12, t4, t8), new A.BorderSide(t9, t1, t5)); break; case "border-left": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); borderWidths = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!borderWidths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(borderWidths, new A.declarationsToStyle__closure2(), true); borderWidth = A.IterableExtension_firstWhereOrNull(borderWidths, new A.declarationsToStyle__closure3()); borderColor = A.IterableExtension_firstWhereOrNull(value, new A.declarationsToStyle__closure4()); t1 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); possibleBorderValues = A._setArrayType(["dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], type$.JSArray_String); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure5(possibleBorderValues), true); t1 = B.JSArray_methods.get$first(potentialStyles); t1.toString; t2 = _this.style; t3 = t2.border; if (t3 == null) t3 = _null; else { t3 = t3.left; t4 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t5 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = t3.copyWith$3$color$style$width(A.ExpressionMapping_expressionToColor(borderColor), t5, t4); t3 = t4; } if (t3 == null) { t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t1 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = A.ExpressionMapping_expressionToColor(borderColor); t1 = new A.BorderSide(t4 == null ? B.Color_4278190080 : t4, t3, t1); } else t1 = t3; t3 = t2.border; t4 = t3 == null; t5 = t4 ? _null : t3.right; if (t5 == null) t5 = B.BorderSide_0CF; t6 = t4 ? _null : t3.top; if (t6 == null) t6 = B.BorderSide_0CF; t3 = t4 ? _null : t3.bottom; t2.border = new A.Border(t6, t5, t3 == null ? B.BorderSide_0CF : t3, t1); break; case "border-right": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); borderWidths = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!borderWidths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(borderWidths, new A.declarationsToStyle__closure6(), true); borderWidth = A.IterableExtension_firstWhereOrNull(borderWidths, new A.declarationsToStyle__closure7()); borderColor = A.IterableExtension_firstWhereOrNull(value, new A.declarationsToStyle__closure8()); t1 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); possibleBorderValues = A._setArrayType(["dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], type$.JSArray_String); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure9(possibleBorderValues), true); t1 = B.JSArray_methods.get$first(potentialStyles); t1.toString; t2 = _this.style; t3 = t2.border; t4 = t3 == null; t5 = t4 ? _null : t3.left; if (t5 == null) t5 = B.BorderSide_0CF; if (t4) t3 = _null; else { t3 = t3.right; t4 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t6 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = t3.copyWith$3$color$style$width(A.ExpressionMapping_expressionToColor(borderColor), t6, t4); t3 = t4; } if (t3 == null) { t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t1 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = A.ExpressionMapping_expressionToColor(borderColor); t1 = new A.BorderSide(t4 == null ? B.Color_4278190080 : t4, t3, t1); } else t1 = t3; t3 = t2.border; t4 = t3 == null; t6 = t4 ? _null : t3.top; if (t6 == null) t6 = B.BorderSide_0CF; t3 = t4 ? _null : t3.bottom; t2.border = new A.Border(t6, t1, t3 == null ? B.BorderSide_0CF : t3, t5); break; case "border-top": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); borderWidths = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!borderWidths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(borderWidths, new A.declarationsToStyle__closure10(), true); borderWidth = A.IterableExtension_firstWhereOrNull(borderWidths, new A.declarationsToStyle__closure11()); borderColor = A.IterableExtension_firstWhereOrNull(value, new A.declarationsToStyle__closure12()); t1 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); possibleBorderValues = A._setArrayType(["dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], type$.JSArray_String); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure13(possibleBorderValues), true); t1 = B.JSArray_methods.get$first(potentialStyles); t1.toString; t2 = _this.style; t3 = t2.border; t4 = t3 == null; t5 = t4 ? _null : t3.left; if (t5 == null) t5 = B.BorderSide_0CF; t6 = t4 ? _null : t3.right; if (t6 == null) t6 = B.BorderSide_0CF; if (t4) t3 = _null; else { t3 = t3.top; t4 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t7 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = t3.copyWith$3$color$style$width(A.ExpressionMapping_expressionToColor(borderColor), t7, t4); t3 = t4; } if (t3 == null) { t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t1 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = A.ExpressionMapping_expressionToColor(borderColor); t1 = new A.BorderSide(t4 == null ? B.Color_4278190080 : t4, t3, t1); } else t1 = t3; t3 = t2.border; t3 = t3 == null ? _null : t3.bottom; t2.border = new A.Border(t1, t6, t3 == null ? B.BorderSide_0CF : t3, t5); break; case "border-bottom": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); borderWidths = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!borderWidths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(borderWidths, new A.declarationsToStyle__closure14(), true); borderWidth = A.IterableExtension_firstWhereOrNull(borderWidths, new A.declarationsToStyle__closure15()); borderColor = A.IterableExtension_firstWhereOrNull(value, new A.declarationsToStyle__closure16()); t1 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); possibleBorderValues = A._setArrayType(["dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "none", "hidden"], type$.JSArray_String); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure17(possibleBorderValues), true); t1 = B.JSArray_methods.get$first(potentialStyles); t1.toString; t2 = _this.style; t3 = t2.border; t4 = t3 == null; t5 = t4 ? _null : t3.left; if (t5 == null) t5 = B.BorderSide_0CF; t6 = t4 ? _null : t3.right; if (t6 == null) t6 = B.BorderSide_0CF; t7 = t4 ? _null : t3.top; if (t7 == null) t7 = B.BorderSide_0CF; if (t4) t3 = _null; else { t3 = t3.bottom; t4 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t8 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = t3.copyWith$3$color$style$width(A.ExpressionMapping_expressionToColor(borderColor), t8, t4); t3 = t4; } if (t3 == null) { t3 = A.ExpressionMapping_expressionToBorderWidth(borderWidth); t1 = A.ExpressionMapping_expressionToBorderStyle(t1); t4 = A.ExpressionMapping_expressionToColor(borderColor); t1 = new A.BorderSide(t4 == null ? B.Color_4278190080 : t4, t3, t1); } else t1 = t3; t2.border = new A.Border(t7, t6, t1, t5); break; case "color": t2 = _this.style; t1 = A.ExpressionMapping_expressionToColor(t1.get$first(value)); t2.color = t1 == null ? t2.color : t1; break; case "direction": _this.style.direction = A.ExpressionMapping_expressionToDirection(t1.get$first(value)); break; case "display": _this.style.display = A.ExpressionMapping_expressionToDisplay(t1.get$first(value)); break; case "line-height": _this.style.lineHeight = A.ExpressionMapping_expressionToLineHeight(t1.get$first(value)); break; case "font-family": t2 = _this.style; t1 = A.ExpressionMapping_expressionToFontFamily(t1.get$first(value)); t2.fontFamily = t1 == null ? t2.fontFamily : t1; break; case "font-feature-settings": _this.style.fontFeatureSettings = A.ExpressionMapping_expressionToFontFeatureSettings(value); break; case "font-size": t2 = _this.style; t1 = A.ExpressionMapping_expressionToFontSize(t1.get$first(value)); t2.fontSize = t1 == null ? t2.fontSize : t1; break; case "font-style": _this.style.fontStyle = A.ExpressionMapping_expressionToFontStyle(t1.get$first(value)); break; case "font-weight": _this.style.fontWeight = A.ExpressionMapping_expressionToFontWeight(t1.get$first(value)); break; case "list-style-type": if (t1.get$first(value) instanceof A.LiteralTerm) { t2 = _this.style; t1 = A.ExpressionMapping_expressionToListStyleType(type$.LiteralTerm._as(t1.get$first(value))); t2.listStyleType = t1 == null ? t2.listStyleType : t1; } break; case "margin": t1 = t1.whereType$1$0(value, type$.LiteralTerm); marginLengths = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); if (!!marginLengths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(marginLengths, new A.declarationsToStyle__closure18(), true); margin = A.ExpressionMapping_expressionToPadding(marginLengths); t1 = _this.style; t2 = t1.margin; if (t2 == null) t2 = B.EdgeInsets_0_0_0_0; t3 = margin[0]; t4 = margin[1]; t5 = margin[2]; t1.margin = t2.copyWith$4$bottom$left$right$top(margin[3], t3, t4, t5); break; case "margin-left": t2 = _this.style; t3 = t2.margin; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.margin = t3.copyWith$1$left(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "margin-right": t2 = _this.style; t3 = t2.margin; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.margin = t3.copyWith$1$right(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "margin-top": t2 = _this.style; t3 = t2.margin; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.margin = t3.copyWith$1$top(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "margin-bottom": t2 = _this.style; t3 = t2.margin; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.margin = t3.copyWith$1$bottom(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "padding": t1 = t1.whereType$1$0(value, type$.LiteralTerm); paddingLengths = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); if (!!paddingLengths.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(paddingLengths, new A.declarationsToStyle__closure19(), true); padding = A.ExpressionMapping_expressionToPadding(paddingLengths); t1 = _this.style; t2 = t1.padding; if (t2 == null) t2 = B.EdgeInsets_0_0_0_0; t3 = padding[0]; t4 = padding[1]; t5 = padding[2]; t1.padding = t2.copyWith$4$bottom$left$right$top(padding[3], t3, t4, t5); break; case "padding-left": t2 = _this.style; t3 = t2.padding; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.padding = t3.copyWith$1$left(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "padding-right": t2 = _this.style; t3 = t2.padding; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.padding = t3.copyWith$1$right(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "padding-top": t2 = _this.style; t3 = t2.padding; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.padding = t3.copyWith$1$top(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "padding-bottom": t2 = _this.style; t3 = t2.padding; if (t3 == null) t3 = B.EdgeInsets_0_0_0_0; t2.padding = t3.copyWith$1$bottom(A.ExpressionMapping_expressionToPaddingLength(t1.get$first(value))); break; case "text-align": _this.style.textAlign = A.ExpressionMapping_expressionToTextAlign(t1.get$first(value)); break; case "text-decoration": t2 = type$.LiteralTerm; t3 = t1.whereType$1$0(value, t2); textDecorationList = A.List_List$of(t3, true, t3.$ti._eval$1("Iterable.E")); if (!!textDecorationList.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(textDecorationList, new A.declarationsToStyle__closure20(), true); textDecorationColor = A.IterableExtension_firstWhereOrNull(value, new A.declarationsToStyle__closure21()); t1 = t1.whereType$1$0(value, t2); potentialStyles = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); if (!!potentialStyles.fixed$length) A.throwExpression(A.UnsupportedError$(_s11_)); B.JSArray_methods._removeWhere$2(potentialStyles, new A.declarationsToStyle__closure22(), true); textDecorationStyle = potentialStyles.length !== 0 ? B.JSArray_methods.get$last(potentialStyles) : _null; t1 = _this.style; t1.textDecoration = A.ExpressionMapping_expressionToTextDecorationLine(textDecorationList); if (textDecorationColor != null) { t2 = A.ExpressionMapping_expressionToColor(textDecorationColor); t1.textDecorationColor = t2 == null ? t1.textDecorationColor : t2; } if (textDecorationStyle != null) t1.textDecorationStyle = A.ExpressionMapping_expressionToTextDecorationStyle(textDecorationStyle); break; case "text-decoration-color": t2 = _this.style; t1 = A.ExpressionMapping_expressionToColor(t1.get$first(value)); t2.textDecorationColor = t1 == null ? t2.textDecorationColor : t1; break; case "text-decoration-line": t1 = t1.whereType$1$0(value, type$.LiteralTerm); _this.style.textDecoration = A.ExpressionMapping_expressionToTextDecorationLine(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"))); break; case "text-decoration-style": _this.style.textDecorationStyle = A.ExpressionMapping_expressionToTextDecorationStyle(type$.LiteralTerm._as(t1.get$first(value))); break; case "text-shadow": _this.style.textShadow = A.ExpressionMapping_expressionToTextShadow(value); break; } }, $signature: 316 }; A.declarationsToStyle__closure.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "thin" && t1 !== "medium" && t1 !== "thick" && !(element instanceof A.LengthTerm) && !(element instanceof A.PercentageTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure0.prototype = { call$1(element) { return A.ExpressionMapping_expressionToColor(element) != null; }, $signature: 89 }; A.declarationsToStyle__closure1.prototype = { call$1(element) { return element == null || !B.JSArray_methods.contains$1(this.possibleBorderValues, element.text); }, $signature: 30 }; A.declarationsToStyle__closure2.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "thin" && t1 !== "medium" && t1 !== "thick" && !(element instanceof A.LengthTerm) && !(element instanceof A.PercentageTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure3.prototype = { call$1(element) { return element != null; }, $signature: 30 }; A.declarationsToStyle__closure4.prototype = { call$1(element) { return A.ExpressionMapping_expressionToColor(element) != null; }, $signature: 89 }; A.declarationsToStyle__closure5.prototype = { call$1(element) { return element == null || !B.JSArray_methods.contains$1(this.possibleBorderValues, element.text); }, $signature: 30 }; A.declarationsToStyle__closure6.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "thin" && t1 !== "medium" && t1 !== "thick" && !(element instanceof A.LengthTerm) && !(element instanceof A.PercentageTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure7.prototype = { call$1(element) { return element != null; }, $signature: 30 }; A.declarationsToStyle__closure8.prototype = { call$1(element) { return A.ExpressionMapping_expressionToColor(element) != null; }, $signature: 89 }; A.declarationsToStyle__closure9.prototype = { call$1(element) { return element == null || !B.JSArray_methods.contains$1(this.possibleBorderValues, element.text); }, $signature: 30 }; A.declarationsToStyle__closure10.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "thin" && t1 !== "medium" && t1 !== "thick" && !(element instanceof A.LengthTerm) && !(element instanceof A.PercentageTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure11.prototype = { call$1(element) { return element != null; }, $signature: 30 }; A.declarationsToStyle__closure12.prototype = { call$1(element) { return A.ExpressionMapping_expressionToColor(element) != null; }, $signature: 89 }; A.declarationsToStyle__closure13.prototype = { call$1(element) { return element == null || !B.JSArray_methods.contains$1(this.possibleBorderValues, element.text); }, $signature: 30 }; A.declarationsToStyle__closure14.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "thin" && t1 !== "medium" && t1 !== "thick" && !(element instanceof A.LengthTerm) && !(element instanceof A.PercentageTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure15.prototype = { call$1(element) { return element != null; }, $signature: 30 }; A.declarationsToStyle__closure16.prototype = { call$1(element) { return A.ExpressionMapping_expressionToColor(element) != null; }, $signature: 89 }; A.declarationsToStyle__closure17.prototype = { call$1(element) { return element == null || !B.JSArray_methods.contains$1(this.possibleBorderValues, element.text); }, $signature: 30 }; A.declarationsToStyle__closure18.prototype = { call$1(element) { return !(element instanceof A.LengthTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); }, $signature: 318 }; A.declarationsToStyle__closure19.prototype = { call$1(element) { return !(element instanceof A.LengthTerm) && !(element instanceof A.EmTerm) && !(element instanceof A.RemTerm) && !(element instanceof A.NumberTerm); }, $signature: 318 }; A.declarationsToStyle__closure20.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "none" && t1 !== "overline" && t1 !== "underline" && t1 !== "line-through"; } else t1 = true; return t1; }, $signature: 30 }; A.declarationsToStyle__closure21.prototype = { call$1(element) { return element instanceof A.HexColorTerm || element instanceof A.FunctionTerm; }, $signature: 757 }; A.declarationsToStyle__closure22.prototype = { call$1(element) { var t1; if (element != null) { t1 = element.text; t1 = t1 !== "solid" && t1 !== "double" && t1 !== "dashed" && t1 !== "dotted" && t1 !== "wavy"; } else t1 = true; return t1; }, $signature: 30 }; A.DeclarationVisitor.prototype = { getDeclarations$1(sheet) { B.JSArray_methods.forEach$1(sheet.topLevels, new A.DeclarationVisitor_getDeclarations_closure(this)); return this._css_parser$_result; }, visitDeclaration$1(node) { var t1 = node._property; t1 = node.isIE7 ? "*" + t1.name : t1.name; this.__DeclarationVisitor__currentProperty = t1; this._css_parser$_properties.$indexSet(0, A._lateReadCheck(t1, "_currentProperty"), A._setArrayType([], type$.JSArray_Expression)); t1 = node.expression; t1.toString; this.visitExpressions$1(t1); }, visitExpressions$1(node) { var _s16_ = "_currentProperty", t1 = this._css_parser$_properties, t2 = t1.$index(0, A._lateReadCheck(this.__DeclarationVisitor__currentProperty, _s16_)), t3 = this.__DeclarationVisitor__currentProperty, t4 = node.expressions; if (t2 != null) { t1 = t1.$index(0, A._lateReadCheck(t3, _s16_)); t1.toString; B.JSArray_methods.addAll$1(t1, t4); } else t1.$indexSet(0, A._lateReadCheck(t3, _s16_), t4); } }; A.DeclarationVisitor_getDeclarations_closure.prototype = { call$1(element) { var t1, t2, t3, _s9_ = "_selector"; element.get$span(element); t1 = this.$this; t2 = element.get$span(element); t1.__DeclarationVisitor__selector = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._file$_end), 0, null); element.visit$1(t1); t2 = t1._css_parser$_result; t3 = t1._css_parser$_properties; if (t2.$index(0, A._lateReadCheck(t1.__DeclarationVisitor__selector, _s9_)) != null) t3.forEach$1(0, new A.DeclarationVisitor_getDeclarations__closure(t1)); else t2.$indexSet(0, A._lateReadCheck(t1.__DeclarationVisitor__selector, _s9_), A.LinkedHashMap_LinkedHashMap$from(t3, type$.String, type$.List_Expression)); t3.clear$0(0); }, $signature: 311 }; A.DeclarationVisitor_getDeclarations__closure.prototype = { call$2(key, value) { var _s9_ = "_selector", t1 = this.$this, t2 = t1._css_parser$_result, t3 = t2.$index(0, A._lateReadCheck(t1.__DeclarationVisitor__selector, _s9_)).$index(0, key), t4 = type$.Expression; t1 = t1.__DeclarationVisitor__selector; if (t3 != null) { t1 = t2.$index(0, A._lateReadCheck(t1, _s9_)).$index(0, key); t1.toString; J.addAll$1$ax(t1, A.List_List$from(value, true, t4)); } else { t1 = t2.$index(0, A._lateReadCheck(t1, _s9_)); t1.toString; t1.$indexSet(0, key, A.List_List$from(value, true, t4)); } }, $signature: 316 }; A.ExpressionMapping_expressionToTextShadow_closure.prototype = { call$1(element) { var t1, t2, expressionIndex; if (element instanceof A.HexColorTerm) this._box_0.color = element; else { t1 = this._box_0; t2 = t1.expressionIndex; if (t2 === 0) { t1.offsetX = element; t1.expressionIndex = t2 + 1; } else { expressionIndex = t2 + 1; t1.expressionIndex = expressionIndex; if (t2 === 1) { t1.offsetY = element; t1.expressionIndex = expressionIndex + 1; } else t1.blurRadius = element; } } }, $signature: 758 }; A.ExpressionMapping_stringToColor_closure.prototype = { call$1(match) { return A.S(match.group$1(0)) + A.S(match.group$1(0)); }, $signature: 23 }; A.ExpressionMapping_rgbOrRgbaToColor_closure.prototype = { call$1(value) { return A.double_parse(value); }, $signature: 319 }; A.ExpressionMapping_hslToRgbToColor_closure.prototype = { call$1(element) { var t1, t2; if (B.JSString_methods.contains$1(element, "%")) t1 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(element, "%", "")) != null; else t1 = false; if (t1) { t1 = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(element, "%", "")); t1.toString; this.parsedHsl.push(t1 * 0.01); } else { if (element !== B.JSArray_methods.get$first(this.hslValues)) if (A.Primitives_parseDouble(element) != null) { t1 = A.Primitives_parseDouble(element); t1.toString; t1 = t1 > 1; } else t1 = true; else t1 = false; t2 = this.parsedHsl; if (t1) t2.push(null); else t2.push(A.Primitives_parseDouble(element)); } }, $signature: 11 }; A.ExpressionMapping_namedColorToColor_closure.prototype = { call$1(element) { return element.toLowerCase() === this.text.toLowerCase(); }, $signature: 17 }; A.ExpressionMapping_namedColorToColor_closure0.prototype = { call$0() { return ""; }, $signature: 36 }; A.InteractableElement.prototype = {}; A.LayoutElement.prototype = {}; A.TableLayoutElement.prototype = { toWidget$1(context) { var _null = null, t1 = A.AnchorKey_of(context.parser.HtmlParser_key, this), t2 = this.style, t3 = t2.margin, t4 = t2.padding, t5 = t2.backgroundColor, t6 = t2.border, t7 = t2.width; return A.Container$(_null, new A.LayoutBuilder(new A.TableLayoutElement_toWidget_closure(this, context), _null), B.Clip_0, _null, _null, new A.BoxDecoration(t5, _null, t6, _null, _null, _null, B.BoxShape_0), _null, t2.height, t1, t3, t4, _null, _null, t7); }, _layoutCells$2(context, constraints) { var t1, t2, t3, _i, child, t4, t5, t6, t7, _length, rowSizes, columnMax, cells, columnRowOffset, rowi, row, columni, _i0, t8, t9, t10, finalColumnSizes, _list, _null = null, rows = A._setArrayType([], type$.JSArray_TableRowLayoutElement), columnSizes = A._setArrayType([], type$.JSArray_TrackSize); for (t1 = this.children, t2 = t1.length, t3 = type$.WhereTypeIterable_TableRowLayoutElement, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; if (child instanceof A.TableStyleElement) { t4 = child.children; t5 = A._arrayInstanceType(t4); t6 = t5._eval$1("MappedIterable<1,List<TrackSize>>"); t7 = t6._eval$1("ExpandIterable<Iterable.E,TrackSize>"); columnSizes = A.List_List$of(new A.ExpandIterable(new A.MappedIterable(new A.WhereIterable(t4, new A.TableLayoutElement__layoutCells_closure(), t5._eval$1("WhereIterable<1>")), new A.TableLayoutElement__layoutCells_closure0(constraints), t6), new A.TableLayoutElement__layoutCells_closure1(), t7), false, t7._eval$1("Iterable.E")); } else if (child instanceof A.TableSectionLayoutElement) B.JSArray_methods.addAll$1(rows, new A.WhereTypeIterable(child.children, t3)); else if (child instanceof A.TableRowLayoutElement) rows.push(child); } _length = rows.length; rowSizes = J.JSArray_JSArray$allocateGrowable(_length, type$.IntrinsicContentTrackSize); for (_i = 0; _i < _length; ++_i) rowSizes[_i] = new A.IntrinsicContentTrackSize(_null); columnMax = new A.MappedListIterable(rows, new A.TableLayoutElement__layoutCells_closure2(), type$.MappedListIterable_TableRowLayoutElement_int).fold$2(0, 0, B.CONSTANT); cells = A._setArrayType([], type$.JSArray_GridPlacement); t1 = type$.int; columnRowOffset = J.JSArray_JSArray$allocateGrowable(columnMax, t1); for (_i = 0; _i < columnMax; ++_i) columnRowOffset[_i] = 0; for (t2 = rows.length, t3 = columnMax - 1, t4 = context.parser, rowi = 0, _i = 0; _i < rows.length; rows.length === t2 || (0, A.throwConcurrentModificationError)(rows), ++_i) { row = rows[_i]; for (t5 = row.children, t6 = t5.length, columni = 0, _i0 = 0; _i0 < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i0) { child = t5[_i0]; if (columni > t3) break; for (; t7 = columnRowOffset[columni], t7 > 0;) { columnRowOffset[columni] = t7 - 1; ++columni; } if (child instanceof A.TableCellElement) { t7 = child.style; t8 = t7.padding; if (t8 == null) t8 = row.style.padding; t9 = t7.backgroundColor; if (t9 == null) t9 = row.style.backgroundColor; t10 = t7.border; if (t10 == null) t10 = row.style.border; t7 = t7.alignment; if (t7 == null) t7 = this.style.alignment; if (t7 == null) t7 = B.Alignment_m1_0; t8 = A.Container$(_null, new A.SizedBox(1 / 0, 1 / 0, A.Container$(t7, new A.StyledText(t4.parseTree$2(context, child), child.style, 1, context, false, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), B.Clip_0, _null, _null, new A.BoxDecoration(t9, _null, t10, _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, t8, _null, _null, 1 / 0); cells.push(new A.GridPlacement(columni, Math.min(child.colspan, columnMax - columni), rowi, Math.min(child.rowspan, rows.length - rowi), t8, _null)); columnRowOffset[columni] = child.rowspan - 1; columni += child.colspan; } } for (t5 = columnRowOffset.length; columni < t5;) { columnRowOffset[columni] = columnRowOffset[columni] - 1; ++columni; } ++rowi; } finalColumnSizes = A.SubListIterable$(columnSizes, 0, A.checkNotNullable(columnMax, "count", t1), A._arrayInstanceType(columnSizes)._precomputed1).toList$0(0); _length = Math.max(0, columnMax - finalColumnSizes.length); _list = J.JSArray_JSArray$allocateGrowable(_length, type$.TrackSize); for (_i = 0; _i < _length; ++_i) _list[_i] = new A.IntrinsicContentTrackSize(_null); finalColumnSizes = B.JSArray_methods.$add(finalColumnSizes, _list); return new A.LayoutGrid(B.GridFit_1, finalColumnSizes, rowSizes, 0, 0, cells, _null); } }; A.TableLayoutElement_toWidget_closure.prototype = { call$2(_, constraints) { return this.$this._layoutCells$2(this.context, constraints); }, $signature: 86 }; A.TableLayoutElement__layoutCells_closure.prototype = { call$1(c) { return c.name === "col"; }, $signature: 315 }; A.TableLayoutElement__layoutCells_closure0.prototype = { call$1(c) { var t1 = c.get$attributes(c).$index(0, "span"), span = A.Primitives_parseInt(t1 == null ? "1" : t1, null); if (span == null) span = 1; return A.List_List$generate(span, new A.TableLayoutElement__layoutCells__closure0(c.get$attributes(c).$index(0, "width"), this.constraints), true, type$.TrackSize); }, $signature: 762 }; A.TableLayoutElement__layoutCells__closure0.prototype = { call$1(index) { var percentageSize, fixedPxSize, _null = null, t1 = this.colWidth, t2 = t1 != null; if (t2 && B.JSString_methods.endsWith$1(t1, "%")) { if (!(this.constraints.maxWidth < 1 / 0)) return new A.IntrinsicContentTrackSize(_null); percentageSize = A.Primitives_parseDouble(J.substring$2$s(t1, 0, t1.length - 1)); return percentageSize != null && !isNaN(percentageSize) ? new A.FlexibleTrackSize(percentageSize * 0.01, _null) : new A.IntrinsicContentTrackSize(_null); } else if (t2) { fixedPxSize = A.Primitives_parseDouble(t1); return fixedPxSize != null ? new A.FixedTrackSize(fixedPxSize, _null) : new A.IntrinsicContentTrackSize(_null); } else return new A.IntrinsicContentTrackSize(_null); }, $signature: 763 }; A.TableLayoutElement__layoutCells_closure1.prototype = { call$1(element) { return element; }, $signature: 764 }; A.TableLayoutElement__layoutCells_closure2.prototype = { call$1(row) { return new A.WhereTypeIterable(row.children, type$.WhereTypeIterable_TableCellElement).fold$2(0, 0, new A.TableLayoutElement__layoutCells__closure()); }, $signature: 765 }; A.TableLayoutElement__layoutCells__closure.prototype = { call$2(value, child) { return value + child.colspan; }, $signature: 766 }; A.TableSectionLayoutElement.prototype = { toWidget$1(context) { var _null = null; return A.Container$(_null, A.Text$("TABLE SECTION", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.TableRowLayoutElement.prototype = { toWidget$1(context) { var _null = null; return A.Container$(_null, A.Text$("TABLE ROW", _null, _null, _null, _null, _null, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); } }; A.TableCellElement.prototype = {}; A.TableStyleElement.prototype = {}; A.DetailsContentElement.prototype = { toWidget$1(context) { var toRemove, _i, child, t3, firstChild, t4, t5, _this = this, _null = null, t1 = _this.children, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,InlineSpan>"), childrenList = A.List_List$of(new A.MappedListIterable(t1, new A.DetailsContentElement_toWidget_closure(context), t2), true, t2._eval$1("ListIterable.E")); t2 = type$.JSArray_InlineSpan; toRemove = A._setArrayType([], t2); for (t1 = childrenList.length, _i = 0; _i < childrenList.length; childrenList.length === t1 || (0, A.throwConcurrentModificationError)(childrenList), ++_i) { child = childrenList[_i]; if (child instanceof A.TextSpan) { t3 = child.text; t3 = t3 != null && B.JSString_methods.trim$0(t3).length === 0; } else t3 = false; if (t3) toRemove.push(child); } for (t1 = toRemove.length, _i = 0; _i < toRemove.length; toRemove.length === t1 || (0, A.throwConcurrentModificationError)(toRemove), ++_i) B.JSArray_methods.remove$1(childrenList, toRemove[_i]); firstChild = childrenList.length !== 0 ? B.JSArray_methods.get$first(childrenList) : _null; t1 = A.AnchorKey_of(context.parser.HtmlParser_key, _this); t3 = _this.elementList; if (!t3.get$isEmpty(t3)) { t4 = type$.WhereTypeIterable_Element; t4 = B.JSArray_methods.get$first(A.List_List$of(new A.WhereTypeIterable(t3._childNodes, t4), true, t4._eval$1("Iterable.E"))).localName === "summary"; } else t4 = false; if (t4) { t4 = _this.style.generateTextStyle$0(); t2 = A.TextSpan$(firstChild == null ? A._setArrayType([], t2) : A._setArrayType([firstChild], t2), _null, _null, _null, t4, _null); t2 = A.StyledText$(context, _this.style, 1, t2); } else t2 = A.Text$("Details", _null, _null, _null, _null, _null, _null, _null, _null); t4 = _this.style.generateTextStyle$0(); if (!t3.get$isEmpty(t3)) { t5 = type$.WhereTypeIterable_Element; t5 = B.JSArray_methods.get$first(A.List_List$of(new A.WhereTypeIterable(t3._childNodes, t5), true, t5._eval$1("Iterable.E"))).localName === "summary"; t3 = t5; } else t3 = false; if ((t3 ? firstChild : _null) != null) B.JSArray_methods.removeAt$1(childrenList, 0); t3 = A.TextSpan$(childrenList, _null, _null, _null, t4, _null); return A.ExpansionTile$(A._setArrayType([A.StyledText$(context, _this.style, 1, t3)], type$.JSArray_Widget), _null, B.Alignment_m1_0, _null, _null, t1, _null, _null, _null, t2, _null); } }; A.DetailsContentElement_toWidget_closure.prototype = { call$1(tree) { var t1 = this.context; return t1.parser.parseTree$2(t1, tree); }, $signature: 93 }; A.EmptyLayoutElement.prototype = { toWidget$1(_) { return null; } }; A.ReplacedElement.prototype = {}; A.ReplacedElement_parseMediaSources_closure.prototype = { call$1(element) { return element.localName === "source"; }, $signature: 767 }; A.ReplacedElement_parseMediaSources_closure0.prototype = { call$1(element) { return element.attributes.$index(0, "src"); }, $signature: 768 }; A.TextContentElement.prototype = { toString$0(_) { var t1 = this.text; t1.toString; return '"' + A.stringReplaceAllUnchecked(t1, "\n", "\\n") + '"'; }, toWidget$1(_) { return null; }, get$text(receiver) { return this.text; } }; A.ImageContentElement.prototype = { toWidget$1(context) { var t1, t2, t3, _this = this; for (t1 = context.parser.imageRenders, t1 = t1.get$entries(t1), t1 = t1.get$iterator(t1), t2 = _this._styled_element$_node; t1.moveNext$0();) { t3 = t1.get$current(t1); if (t3.get$key(t3).call$2(_this.get$attributes(_this), t2)) return new A.Builder(new A.ImageContentElement_toWidget_closure(_this, context, t3.get$value(t3).call$3(context, _this.get$attributes(_this), t2)), null); } return new A.SizedBox(0, 0, null, null); } }; A.ImageContentElement_toWidget_closure.prototype = { call$1(buildContext) { var _null = null, t1 = this.context, t2 = this.$this; return A.GestureDetector$(_null, this.widget, B.DragStartBehavior_1, false, A.AnchorKey_of(t1.parser.HtmlParser_key, t2), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new A.ImageContentElement_toWidget__closure(t2, buildContext, t1), _null, _null, _null, _null, _null, _null, _null); }, $signature: 769 }; A.ImageContentElement_toWidget__closure.prototype = { call$0() { var t1 = this.buildContext, t2 = type$.MultipleTapGestureDetector; if (t1.dependOnInheritedWidgetOfExactType$1$0(t2) != null) { t1 = t1.dependOnInheritedWidgetOfExactType$1$0(t2).onTap; if (t1 != null) t1.call$0(); } }, $signature: 0 }; A.AudioContentElement.prototype = { toWidget$1(context) { var t3, t4, _this = this, _null = null, t1 = A.AnchorKey_of(context.parser.HtmlParser_key, _this), t2 = context.style.width; if (t2 == null) t2 = 300; t3 = A.Theme_of(context.buildContext).platform === B.TargetPlatform_0 ? 48 : 75; t4 = B.JSArray_methods.get$first(_this.src); t4 = new A.ChewieAudioController(A.VideoPlayerController$network(t4 == null ? "" : t4), true, _this.autoplay, _this.loop, _this.showControls, A.List_List$filled(0, _null, false, type$.nullable_void_Function)); t4._chewie_player0$_initialize$0(); return A.Container$(_null, new A.ChewieAudio(t4, _null), B.Clip_0, _null, _null, _null, _null, t3, t1, _null, _null, _null, _null, t2); } }; A.VideoContentElement.prototype = { toWidget$1(context) { var t2, _width0, _height, t3, t4, _this = this, _null = null, _width = _this.width, t1 = _width == null; if (t1) { t2 = _this.height; _width0 = (t2 == null ? 150 : t2) * 2; } else _width0 = _width; _height = _this.height; if (_height == null) _height = (t1 ? 300 : _width) / 2; t1 = _width0 / _height; t2 = A.AnchorKey_of(context.parser.HtmlParser_key, _this); t3 = B.JSArray_methods.get$first(_this.src); t3 = A.VideoPlayerController$network(t3 == null ? "" : t3); t4 = _this.poster; t4 = t4 != null ? A.Image$network(t4, _null, _null, _null, _null, _null, _null) : A.Container$(_null, _null, B.Clip_0, B.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); return new A.AspectRatio(t1, A.Container$(_null, new A.Chewie(A.ChewieController$(true, true, t1, true, _this.autoplay, _this.loop, t4, _this.showControls, t3), _null), B.Clip_0, _null, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null), _null); } }; A.SvgContentElement.prototype = { toWidget$1(context) { var _this = this; return A.SvgPicture$string(_this.data, B.Alignment_0_0, B.BoxFit_1, _this.height, A.AnchorKey_of(context.parser.HtmlParser_key, _this), _this.width); }, get$data(receiver) { return this.data; } }; A.EmptyContentElement.prototype = { toWidget$1(_) { return null; } }; A.RubyElement.prototype = { toWidget$1(context) { var widgets, t2, rubySize, t1 = {}; t1.textNode = null; widgets = A._setArrayType([], type$.JSArray_Widget); t2 = context.style.fontSize.size; t2.toString; rubySize = Math.max(9, t2 / 2); t2 = this.element; t2 = t2.get$nodes(t2); t2.forEach$1(t2, new A.RubyElement_toWidget_closure(t1, rubySize + rubySize / 2, context, rubySize, widgets)); return A.Row$(widgets, B.CrossAxisAlignment_1, A.AnchorKey_of(context.parser.HtmlParser_key, this), B.MainAxisAlignment_0, B.MainAxisSize_0, B.TextBaseline_0, null); }, get$element() { return this.element; } }; A.RubyElement_toWidget_closure.prototype = { call$1(c) { var t1, t2, t3, _this = this, _null = null; if (c.get$nodeType(c) === 3) _this._box_0.textNode = c; if (c instanceof A.Element0) if (c.localName === "rt" && _this._box_0.textNode != null) { t1 = A.Matrix4_Matrix4$translationValues(0, -_this.rubyYPos, 0); t2 = _this.context.style; t1 = A.Container$(B.Alignment_0_1, A.Center$(A.Transform$(_null, A.Text$(c.get$_innerHtml(c), _null, _null, _null, _null, t2.generateTextStyle$0().copyWith$1$fontSize(_this.rubySize), _null, _null, _null), t1, true), _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t3 = _this._box_0.textNode; t3 = t3.get$text(t3); t3.toString; _this.widgets.push(A.Stack$(B.Alignment_0_0, A._setArrayType([t1, A.Container$(_null, A.Text$(B.JSString_methods.trim$0(t3), _null, _null, _null, _null, t2.generateTextStyle$0(), _null, _null, _null), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], type$.JSArray_Widget), B.StackFit_0, _null, _null)); } }, $signature: 114 }; A.MathElement.prototype = { toWidget$1(context) { var t1, t2, _this = this, _null = null; _this.texStr = _this.parseMathRecursive$2(_this.element, ""); t1 = context.buildContext.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery); t1 = t1.data.size._dx; t2 = _this.texStr; if (t2 == null) t2 = ""; return A.Container$(_null, A.Math_Math$tex(t2, B.MathStyle_0, new A.MathElement_toWidget_closure(_this, context), context.style.generateTextStyle$0()), B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1); }, parseMathRecursive$2(node, parsed) { var t2, nodeList, t3, t4, _this = this, t1 = {}; t1.parsed = parsed; t2 = type$.WhereTypeIterable_Element; nodeList = A.List_List$of(new A.WhereTypeIterable(node.get$nodes(node), t2), true, t2._eval$1("Iterable.E")); t2 = node.localName; if (t2 === "math" || t2 === "mrow") B.JSArray_methods.forEach$1(nodeList, new A.MathElement_parseMathRecursive_closure(t1, _this)); t3 = t2 !== "msup"; if ((!t3 || t2 === "msub" || t2 === "munder" || t2 === "mover") && nodeList.length === 2) { parsed = _this.parseMathRecursive$2(nodeList[0], t1.parsed); t1.parsed = parsed; t4 = nodeList[1]; t1.parsed = _this.parseMathRecursive$2(t4, parsed + ((!t3 || t2 === "mover" ? "^" : "_") + "{")) + "}"; } if ((t2 === "msubsup" || t2 === "munderover") && nodeList.length === 3) { parsed = _this.parseMathRecursive$2(nodeList[0], t1.parsed); t1.parsed = parsed; parsed = _this.parseMathRecursive$2(nodeList[1], parsed + "_{") + "}"; t1.parsed = parsed; t1.parsed = _this.parseMathRecursive$2(nodeList[2], parsed + "^{") + "}"; } if (t2 === "mfrac" && nodeList.length === 2) { parsed = _this.parseMathRecursive$2(nodeList[0], t1.parsed + "\\frac{") + "}"; t1.parsed = parsed; t1.parsed = _this.parseMathRecursive$2(nodeList[1], parsed + "{") + "}"; } if (t2 === "mlongdiv" && nodeList.length === 4) { parsed = _this.parseMathRecursive$2(nodeList[0], t1.parsed); t1.parsed = parsed; t1.parsed = _this.parseMathRecursive$2(nodeList[2], parsed + "\\overline{)") + "}"; } if (t2 === "msqrt" && nodeList.length === 1) t1.parsed = _this.parseMathRecursive$2(nodeList[0], t1.parsed + "\\sqrt{") + "}"; if (t2 === "mroot" && nodeList.length === 2) { parsed = _this.parseMathRecursive$2(nodeList[1], t1.parsed + "\\sqrt[") + "]"; t1.parsed = parsed; t1.parsed = _this.parseMathRecursive$2(nodeList[0], parsed + "{") + "}"; } if (t2 === "mi" || t2 === "mn" || t2 === "mo") { t2 = $.mathML2Tex; if (t2.get$keys(t2).contains$1(0, B.JSString_methods.trim$0(A._getText(node)))) { t2 = t1.parsed; t3 = $.mathML2Tex; t3 = t3.$index(0, t3.get$keys(t3).firstWhere$1(0, new A.MathElement_parseMathRecursive_closure0(node))); t3.toString; t1.parsed = t2 + t3; } else { t2 = B.JSString_methods.startsWith$1(A._getText(node), "&") && B.JSString_methods.endsWith$1(A._getText(node), ";"); t3 = t1.parsed; if (t2) t1.parsed = t3 + B.JSString_methods.substring$2(B.JSString_methods.replaceFirst$2(B.JSString_methods.trim$0(A._getText(node)), "&", "\\"), 0, B.JSString_methods.trim$0(A._getText(node)).length - 1); else t1.parsed = t3 + B.JSString_methods.trim$0(A._getText(node)); } } return t1.parsed; }, get$element() { return this.element; } }; A.MathElement_toWidget_closure.prototype = { call$1(e) { var _null = null, t1 = A.Text$(e.get$message(e), _null, _null, _null, _null, _null, _null, _null, _null); return t1; }, $signature: 320 }; A.MathElement_parseMathRecursive_closure.prototype = { call$1(element) { var t1 = this._box_0; t1.parsed = this.$this.parseMathRecursive$2(element, t1.parsed); }, $signature: 321 }; A.MathElement_parseMathRecursive_closure0.prototype = { call$1(e) { return e === B.JSString_methods.trim$0(A._getText(this.node)); }, $signature: 17 }; A.StyledElement.prototype = { get$attributes(_) { var t2, t1 = this._styled_element$_node; if (t1 == null) t1 = null; else { t1 = t1.attributes; t2 = type$.String; t2 = t1.map$2$1(t1, new A.StyledElement_attributes_closure(), t2, t2); t1 = t2; } if (t1 == null) t1 = new A.JsLinkedHashMap(type$.JsLinkedHashMap_String_String); return t1; }, get$element() { return this._styled_element$_node; }, toString$0(_) { var _this = this, t1 = {}, t2 = _this.children, t3 = "[" + _this.name + "] " + t2.length + " ", t4 = _this.elementClasses; t3 += t4.length !== 0 ? "C:" + A.IterableBase_iterableToFullString(t4, "[", "]") : ""; t4 = _this.elementId; t1.selfData = t3 + (t4.length !== 0 ? "ID: " + t4 : ""); B.JSArray_methods.forEach$1(t2, new A.StyledElement_toString_closure(t1)); return t1.selfData; }, get$name(receiver) { return this.name; } }; A.StyledElement_attributes_closure.prototype = { call$2(key, value) { return new A.MapEntry(J.toString$0$(key), value, type$.MapEntry_String_String); }, $signature: 772 }; A.StyledElement_toString_closure.prototype = { call$1(child) { var t1 = this._box_0, t2 = t1.selfData, t3 = "\n" + child.toString$0(0), t4 = A.RegExp_RegExp("^", true, true); t1.selfData = t2 + A.stringReplaceAllUnchecked(t3, t4, "-"); }, $signature: 56 }; A.Context1.prototype = { get$data(receiver) { return this.data; } }; A.MultipleTapGestureDetector.prototype = { updateShouldNotify$1(oldWidget) { return false; } }; A.IframeContentElement.prototype = { toWidget$1(context) { var t3, t4, t5, t6, _this = this, _null = null, iframe = document.createElement("iframe"), t1 = _this.width, t2 = t1 == null; if (t2) { t3 = _this.height; t3 = (t3 == null ? 150 : t3) * 2; } else t3 = t1; iframe.width = B.JSNumber_methods.toString$0(t3); t3 = _this.height; t4 = t3 == null; if (t4) t5 = (t2 ? 300 : t1) / 2; else t5 = t3; iframe.height = B.JSNumber_methods.toString$0(t5); iframe.src = _this.src; t5 = iframe.style; t5.border = "none"; $.$get$platformViewRegistry(); t5 = _this.createdViewId; $.$get$platformViewManager().registerFactory$2(t5, new A.IframeContentElement_toWidget_closure(iframe)); if (t2) t6 = (t4 ? 150 : t3) * 2; else t6 = t1; if (t4) t1 = (t2 ? 300 : t1) / 2; else t1 = t3; return A.Container$(_null, A.Directionality$(new A.HtmlElementView(t5, _null, _null), B.TextDirection_1), B.Clip_0, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, t6); } }; A.IframeContentElement_toWidget_closure.prototype = { call$1(viewId) { return this.iframe; }, $signature: 178 }; A.Style.prototype = { generateTextStyle$0() { var t10, t11, t12, t13, t14, t15, _this = this, _null = null, t1 = _this.backgroundColor, t2 = _this.color, t3 = _this.textDecoration, t4 = _this.textDecorationColor, t5 = _this.textDecorationStyle, t6 = _this.textDecorationThickness, t7 = _this.fontFamily, t8 = _this.fontFeatureSettings, t9 = _this.fontSize; t9 = t9 == null ? _null : t9.size; t10 = _this.fontStyle; t11 = _this.fontWeight; t12 = _this.letterSpacing; t13 = _this.textShadow; t14 = _this.wordSpacing; t15 = _this.lineHeight; t15 = t15 == null ? _null : t15.size; return A.TextStyle$(_null, t1, t2, _null, t3, t4, t5, t6, t7, _null, t8, t9, t10, t11, _null, t15 == null ? 1 : t15, true, _null, t12, _null, _null, _null, t13, _null, t14); }, toString$0(_) { return "Style"; }, merge$1(other) { var t1 = other.backgroundColor, t2 = other.color, t3 = other.direction, t4 = other.display, t5 = other.fontFamily, t6 = other.fontFeatureSettings, t7 = other.fontSize, t8 = other.fontStyle, t9 = other.fontWeight, t10 = other.height, t11 = other.lineHeight, t12 = other.letterSpacing, t13 = other.listStyleType, t14 = other.padding, t15 = other.margin, t16 = other.textAlign, t17 = other.textDecoration, t18 = other.textDecorationColor, t19 = other.textDecorationStyle, t20 = other.textDecorationThickness, t21 = other.textShadow, t22 = other.width, t23 = other.wordSpacing, t24 = other.border; return this.copyWith$33$after$alignment$backgroundColor$before$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(other.after, other.alignment, t1, other.before, t24, t2, t3, t4, t5, t6, t7, t8, t9, t10, t12, t11, other.listStylePosition, t13, t15, other.markerContent, other.maxLines, t14, t16, t17, t18, t19, t20, other.textOverflow, t21, other.verticalAlign, other.whiteSpace, t22, t23); }, copyOnlyInherited$1(child) { var t2, t3, finalFontSize, finalLineHeight, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _this = this, t1 = child.fontSize; if (t1 != null) { t2 = _this.fontSize; if (t2 != null) { t3 = t1.units; t3 = t3 === "em"; } else t3 = false; if (t3) { t1 = t1.size; t1.toString; t2 = t2.size; t2.toString; t2 = new A.FontSize(t1 * t2, ""); finalFontSize = t2; } else finalFontSize = t1; } else { t1 = _this.fontSize; if (t1 != null) { t2 = t1.size; t2.toString; t2 = t2 < 0; } else t2 = false; finalFontSize = t2 ? new A.FontSize(-1, "%") : t1; } t1 = child.lineHeight; if (t1 != null) { t2 = t1.units; if (t2 === "length") { t1 = t1.size; t1.toString; if (finalFontSize == null) t2 = 14; else { t2 = finalFontSize.size; t2.toString; } t2 = new A.LineHeight(t1 / t2 * 1.2, ""); finalLineHeight = t2; } else finalLineHeight = t1; } else finalLineHeight = _this.lineHeight; t1 = !J.$eq$(child.backgroundColor, B.Color_0) ? child.backgroundColor : _this.backgroundColor; t2 = child.color; if (t2 == null) t2 = _this.color; t3 = child.direction; if (t3 == null) t3 = _this.direction; t4 = _this.display; t4 = t4 === B.Display_4 ? t4 : child.display; t5 = child.fontFamily; if (t5 == null) t5 = _this.fontFamily; t6 = child.fontFeatureSettings; if (t6 == null) t6 = _this.fontFeatureSettings; t7 = child.fontStyle; if (t7 == null) t7 = _this.fontStyle; t8 = child.fontWeight; if (t8 == null) t8 = _this.fontWeight; t9 = child.letterSpacing; if (t9 == null) t9 = _this.letterSpacing; t10 = child.listStyleType; if (t10 == null) t10 = _this.listStyleType; t11 = child.listStylePosition; if (t11 == null) t11 = _this.listStylePosition; t12 = child.textAlign; if (t12 == null) t12 = _this.textAlign; t13 = child.textDecoration; if (t13 == null) t13 = B.TextDecoration_0; t14 = _this.textDecoration; t13 = A.TextDecoration_TextDecoration$combine(A._setArrayType([t13, t14 == null ? B.TextDecoration_0 : t14], type$.JSArray_TextDecoration)); t14 = child.textShadow; if (t14 == null) t14 = _this.textShadow; t15 = child.whiteSpace; if (t15 == null) t15 = _this.whiteSpace; t16 = child.wordSpacing; if (t16 == null) t16 = _this.wordSpacing; return child.copyWith$20$backgroundColor$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$letterSpacing$lineHeight$listStylePosition$listStyleType$maxLines$textAlign$textDecoration$textOverflow$textShadow$whiteSpace$wordSpacing(t1, t2, t3, t4, t5, t6, finalFontSize, t7, t8, t9, finalLineHeight, t11, t10, _this.maxLines, t12, t13, _this.textOverflow, t14, t15, t16); }, copyWith$34$after$alignment$backgroundColor$before$beforeAfterNull$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(after, alignment, backgroundColor, before, beforeAfterNull, border, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, height, letterSpacing, lineHeight, listStylePosition, listStyleType, margin, markerContent, maxLines, padding, textAlign, textDecoration, textDecorationColor, textDecorationStyle, textDecorationThickness, textOverflow, textShadow, verticalAlign, whiteSpace, width, wordSpacing) { var t28, t29, t30, t31, _this = this, t1 = backgroundColor == null ? _this.backgroundColor : backgroundColor, t2 = color == null ? _this.color : color, t3 = direction == null ? _this.direction : direction, t4 = display == null ? _this.display : display, t5 = fontFamily == null ? _this.fontFamily : fontFamily, t6 = fontFeatureSettings == null ? _this.fontFeatureSettings : fontFeatureSettings, t7 = fontSize == null ? _this.fontSize : fontSize, t8 = fontStyle == null ? _this.fontStyle : fontStyle, t9 = fontWeight == null ? _this.fontWeight : fontWeight, t10 = height == null ? _this.height : height, t11 = lineHeight == null ? _this.lineHeight : lineHeight, t12 = letterSpacing == null ? _this.letterSpacing : letterSpacing, t13 = listStyleType == null ? _this.listStyleType : listStyleType, t14 = listStylePosition == null ? _this.listStylePosition : listStylePosition, t15 = padding == null ? _this.padding : padding, t16 = margin == null ? _this.margin : margin, t17 = textAlign == null ? _this.textAlign : textAlign, t18 = textDecoration == null ? _this.textDecoration : textDecoration, t19 = textDecorationColor == null ? _this.textDecorationColor : textDecorationColor, t20 = textDecorationStyle == null ? _this.textDecorationStyle : textDecorationStyle, t21 = textDecorationThickness == null ? _this.textDecorationThickness : textDecorationThickness, t22 = textShadow == null ? _this.textShadow : textShadow, t23 = verticalAlign == null ? _this.verticalAlign : verticalAlign, t24 = whiteSpace == null ? _this.whiteSpace : whiteSpace, t25 = width == null ? _this.width : width, t26 = wordSpacing == null ? _this.wordSpacing : wordSpacing, t27 = beforeAfterNull === true; if (t27) t28 = null; else t28 = before == null ? _this.before : before; if (t27) t27 = null; else t27 = after == null ? _this.after : after; t29 = border == null ? _this.border : border; t30 = alignment == null ? _this.alignment : alignment; t31 = markerContent == null ? _this.markerContent : markerContent; return A.Style$(t27, t30, t1, t28, t29, t2, t3, t4, t5, t6, t7, t8, t9, t10, t12, t11, t14, t13, t16, t31, _this.maxLines, t15, t17, t18, t19, t20, t21, _this.textOverflow, t22, t23, t24, t25, t26); }, copyWith$20$backgroundColor$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$letterSpacing$lineHeight$listStylePosition$listStyleType$maxLines$textAlign$textDecoration$textOverflow$textShadow$whiteSpace$wordSpacing(backgroundColor, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, listStylePosition, listStyleType, maxLines, textAlign, textDecoration, textOverflow, textShadow, whiteSpace, wordSpacing) { return this.copyWith$34$after$alignment$backgroundColor$before$beforeAfterNull$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(null, null, backgroundColor, null, null, null, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, null, letterSpacing, lineHeight, listStylePosition, listStyleType, null, null, maxLines, null, textAlign, textDecoration, null, null, null, textOverflow, textShadow, null, whiteSpace, null, wordSpacing); }, copyWith$2$beforeAfterNull$display(beforeAfterNull, display) { return this.copyWith$34$after$alignment$backgroundColor$before$beforeAfterNull$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(null, null, null, null, beforeAfterNull, null, null, null, display, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); }, copyWith$33$after$alignment$backgroundColor$before$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(after, alignment, backgroundColor, before, border, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, height, letterSpacing, lineHeight, listStylePosition, listStyleType, margin, markerContent, maxLines, padding, textAlign, textDecoration, textDecorationColor, textDecorationStyle, textDecorationThickness, textOverflow, textShadow, verticalAlign, whiteSpace, width, wordSpacing) { return this.copyWith$34$after$alignment$backgroundColor$before$beforeAfterNull$border$color$direction$display$fontFamily$fontFeatureSettings$fontSize$fontStyle$fontWeight$height$letterSpacing$lineHeight$listStylePosition$listStyleType$margin$markerContent$maxLines$padding$textAlign$textDecoration$textDecorationColor$textDecorationStyle$textDecorationThickness$textOverflow$textShadow$verticalAlign$whiteSpace$width$wordSpacing(after, alignment, backgroundColor, before, null, border, color, direction, display, fontFamily, fontFeatureSettings, fontSize, fontStyle, fontWeight, height, letterSpacing, lineHeight, listStylePosition, listStyleType, margin, markerContent, maxLines, padding, textAlign, textDecoration, textDecorationColor, textDecorationStyle, textDecorationThickness, textOverflow, textShadow, verticalAlign, whiteSpace, width, wordSpacing); }, set$height(receiver, val) { return this.height = val; }, set$width(receiver, val) { return this.width = val; } }; A.Display.prototype = { toString$0(_) { return "Display." + this._core$_name; } }; A.FontSize.prototype = {}; A.LineHeight.prototype = {}; A.ListStyleType.prototype = { toString$0(_) { return "ListStyleType." + this._core$_name; } }; A.ListStylePosition.prototype = { toString$0(_) { return "ListStylePosition." + this._core$_name; } }; A.VerticalAlign.prototype = { toString$0(_) { return "VerticalAlign." + this._core$_name; } }; A.WhiteSpace.prototype = { toString$0(_) { return "WhiteSpace." + this._core$_name; } }; A.FlutterKeyboardVisibilityPlatform.prototype = {}; A.FlutterKeyboardVisibilityPlugin.prototype = {}; A.sum_closure.prototype = { call$2(acc, number) { return this.T._as(acc + number); }, $signature() { return this.T._eval$1("0(0,0)"); } }; A._WhereBuilderIterable.prototype = { get$iterator(_) { var t1 = this._collections$_iterable, t2 = t1.$ti; return new A._WhereIterator(new A.ExpandIterator(J.get$iterator$ax(t1.__internal$_iterable), t1._f, B.C_EmptyIterator, t2._eval$1("@<1>")._bind$1(t2._rest[1])._eval$1("ExpandIterator<1,2>")), this._predicateBuilder.call$0(), this.$ti._eval$1("_WhereIterator<1>")); } }; A._WhereIterator.prototype = { moveNext$0() { var t1, t2, t3; for (t1 = this._collections$_iterator, t2 = t1.$ti._rest[1], t3 = this._collections$_f; t1.moveNext$0();) if (t3.call$1(t2._as(t1.__internal$_current))) return true; return false; }, get$current(_) { var t1 = this._collections$_iterator; return t1.$ti._rest[1]._as(t1.__internal$_current); } }; A.GridArea.prototype = { get$hashCode(_) { var _this = this; return A.hashObjects([_this.name, _this.columnStart, _this.columnEnd, _this.rowStart, _this.rowEnd]); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other === _this) return true; return other instanceof A.GridArea && other.name == _this.name && other.columnStart === _this.columnStart && other.columnEnd === _this.columnEnd && other.rowStart === _this.rowStart && other.rowEnd === _this.rowEnd; }, toString$0(_) { var _this = this, t1 = _this.name; return "GridArea(" + (t1 != null ? "name=" + t1 + ", " : "") + ("columnSpan=[" + _this.columnStart + "\u2013" + _this.columnEnd + "], rowSpan=[" + _this.rowStart + "\u2013" + _this.rowEnd + "])"); }, get$name(receiver) { return this.name; } }; A.GridParentData.prototype = { toString$0(_) { var _this = this, t1 = A._setArrayType([], type$.JSArray_String), t2 = _this.columnStart; if (t2 != null) t1.push("columnStart=" + A.S(t2)); t2 = _this.columnSpan; if (t2 != null) t1.push("columnSpan=" + A.S(t2)); t2 = _this.rowStart; if (t2 != null) t1.push("rowStart=" + A.S(t2)); t2 = _this.rowSpan; if (t2 != null) t1.push("rowSpan=" + A.S(t2)); t1.push(_this.super$BoxParentData$toString(0)); return B.JSArray_methods.join$1(t1, "; "); } }; A.RenderLayoutGrid.prototype = { set$autoPlacement(value) { var _this = this; if (_this._autoPlacementMode === value) return; _this._autoPlacementMode = value; _this.needsPlacement = true; _this.markNeedsLayout$0(); }, set$gridFit(value) { if (this._gridFit === value) return; this._gridFit = value; this.markNeedsLayout$0(); }, set$areasSpec(value) { return; }, set$columnSizes(value) { var _this = this; if (A.trackSizeListsEqual(_this._columnSizes, value)) return; if (value.length !== _this._columnSizes.length) _this.needsPlacement = true; _this.markNeedsLayout$0(); _this._columnSizes = value; }, set$rowSizes(value) { var _this = this; if (A.trackSizeListsEqual(_this._rowSizes, value)) return; if (value.length !== _this._rowSizes.length) _this.needsPlacement = true; _this.markNeedsLayout$0(); _this._rowSizes = value; }, set$columnGap(_, value) { if (this._columnGap === value) return; this._columnGap = value; this.markNeedsLayout$0(); }, set$rowGap(value) { if (this._rowGap === value) return; this._rowGap = value; this.markNeedsLayout$0(); }, set$textDirection(_, value) { if (this._layout_grid$_textDirection === value) return; this._layout_grid$_textDirection = value; this.markNeedsLayout$0(); }, setupParentData$1(child) { if (!(child.parentData instanceof A.GridParentData)) child.parentData = new A.GridParentData(null, null, B.Offset_0_0); }, computeMinIntrinsicWidth$1(height) { return this.computeGridSize$1(A.BoxConstraints$tightFor(height, null)).minWidthOfTracks; }, computeMaxIntrinsicWidth$1(height) { return this.computeGridSize$1(new A.BoxConstraints(0, 1 / 0, height, 1 / 0)).maxTracksWidth; }, computeMinIntrinsicHeight$1(width) { return this.computeGridSize$1(A.BoxConstraints$tightFor(null, width)).minHeightOfTracks; }, computeMaxIntrinsicHeight$1(width) { return this.computeGridSize$1(new A.BoxConstraints(width, 1 / 0, 0, 1 / 0)).maxTracksHeight; }, computeDistanceToActualBaseline$1(baseline) { return this.defaultComputeDistanceToHighestActualBaseline$1(baseline); }, getChildrenInTrack$2(trackType, trackIndex) { var t1 = A._lateReadCheck(this.__RenderLayoutGrid__placementGrid, "_placementGrid").getCellsInTrack$2(trackIndex, trackType), t2 = type$._WhereBuilderIterable_RenderBox; return A.List_List$of(new A._WhereBuilderIterable(new A.ExpandIterable(t1, new A.RenderLayoutGrid_getChildrenInTrack_closure(), t1.$ti._eval$1("ExpandIterable<Iterable.E,RenderBox>")), A.instantiate1(A.collections___removeDuplicatesPredicate$closure(), type$.RenderBox), t2), false, t2._eval$1("Iterable.E")); }, performLayout$0() { var child, parentData, t2, t3, t4, t5, _this = this, _box_0 = {}, gridSizing = _this.__RenderLayoutGrid_lastGridSizing = _this.computeGridSize$1(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this))), t1 = gridSizing.gridSize; t1.toString; _this._size = t1; _box_0.shouldComputeChildRect = false; child = _this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.GridParentData; child != null;) { parentData = t1._as(child.parentData); if (!(parentData.columnStart == null && parentData.columnSpan == null && parentData.rowStart == null && parentData.rowSpan == null)) { t2 = A._lateReadCheck(_this.__RenderLayoutGrid__placementGrid, "_placementGrid").itemAreas.$index(0, child); t2.toString; t3 = gridSizing.offsetForArea$1(t2); t4 = gridSizing.sizeForAreaOnAxis$2(t2, B.Axis_0); t2 = gridSizing.sizeForAreaOnAxis$2(t2, B.Axis_1); t5 = t3._dx; t3 = t3._dy; parentData.offset = new A.Offset(t5, t3); child.layout$2$parentUsesSize(0, new A.BoxConstraints(0, t5 + t4 - t5, 0, t3 + t2 - t3), _box_0.shouldComputeChildRect); } child = parentData.ContainerParentDataMixin_nextSibling; } }, computeDryLayout$1(constraints) { var t1 = this.computeGridSize$1(constraints).gridSize; t1.toString; return t1; }, computeGridSize$1(gridConstraints) { var t1, t2, t3, t4, gridSizing, _this = this, childConstraints = A.LayoutGridExtensionsForBoxConstraints_constraintsForGridFit(gridConstraints, _this._gridFit); if (_this.needsPlacement) { _this.needsPlacement = false; _this.__RenderLayoutGrid__placementGrid = A.computeItemPlacement(_this); } t1 = _this._columnSizes; t2 = _this._rowSizes; t3 = _this._layout_grid$_textDirection; t4 = type$.UnmodifiableListView_GridTrack; gridSizing = new A.GridSizingInfo(_this._columnGap, _this._rowGap, new A.UnmodifiableListView(A._sizesToTracks(t1), t4), new A.UnmodifiableListView(A._sizesToTracks(t2), t4), t3); _this._performTrackSizing$3$constraints(B.TrackType_0, gridSizing, childConstraints); _this._performTrackSizing$3$constraints(B.TrackType_1, gridSizing, childConstraints); _this._stretchIntrinsicTracks$3$constraints(B.TrackType_0, gridSizing, childConstraints); _this._stretchIntrinsicTracks$3$constraints(B.TrackType_1, gridSizing, childConstraints); gridSizing.gridSize = gridConstraints.constrain$1(gridSizing.get$internalGridSize()); return gridSizing; }, _performTrackSizing$3$constraints(typeBeingSized, gridSizing, constraints) { var tracks = this._performTrackSizingInternal$3$constraints(typeBeingSized, gridSizing, constraints); if (typeBeingSized === B.TrackType_0) gridSizing.hasColumnSizing = true; else gridSizing.hasRowSizing = true; return tracks; }, _performTrackSizingInternal$3$constraints(typeBeingSized, gridSizing, constraints) { var t3, t4, t5, t6, t7, initialFreeSpace, i, track, fixedSize, axisMinSize, axisMaxSize, freeSpace, flexFraction, _i, t1 = typeBeingSized === B.TrackType_0, sizingAxis = t1 ? B.Axis_0 : B.Axis_1, t2 = type$.JSArray_GridTrack, intrinsicTracks = A._setArrayType([], t2), flexibleTracks = A._setArrayType([], t2), tracks = t1 ? gridSizing.columnTracks : gridSizing.rowTracks, bounds = A.constraintBoundsForType(constraints, typeBeingSized); t1 = sizingAxis === B.Axis_0 ? gridSizing.columnGap : gridSizing.rowGap; t3 = tracks._collection$_source; t4 = J.getInterceptor$asx(t3); t5 = t4.get$length(t3); t6 = bounds.max; t7 = isFinite(t6); initialFreeSpace = t7 ? t6 - t1 * (t5 - 1) : 0; for (t1 = type$.JSArray_RenderBox, i = 0; i < t4.get$length(t3); ++i) { track = t4.elementAt$1(t3, i); t5 = track.sizeFunction; constraints.toString; if (t5.isFixedForConstraints$2(typeBeingSized, constraints)) { fixedSize = track._growthLimit = t5.minIntrinsicSize$2(typeBeingSized, A._setArrayType([], t1)); t5 = fixedSize !== 1 / 0 && fixedSize < track._baseSize ? track._growthLimit = track._baseSize : fixedSize; track._baseSize = fixedSize; if (t5 !== 1 / 0 && t5 < fixedSize) track._growthLimit = fixedSize; } else if (t5.get$isFlexible()) { track._growthLimit = 0; t5 = track._baseSize; if (0 < t5) track._growthLimit = t5; else t5 = 0; track._baseSize = 0; if (t5 !== 1 / 0 && t5 < 0) track._growthLimit = 0; flexibleTracks.push(track); } else { track._baseSize = 0; t5 = track._growthLimit; if (t5 !== 1 / 0 && t5 < 0) track._growthLimit = 0; track._growthLimit = 1 / 0; intrinsicTracks.push(track); } t5 = track._growthLimit; t6 = track._baseSize; t5 = track._growthLimit = Math.max(t5, t6); if (t5 !== 1 / 0 && t5 < t6) track._growthLimit = t6; } this._resolveIntrinsicTrackSizes$6(typeBeingSized, sizingAxis, tracks, intrinsicTracks, gridSizing, constraints); for (t1 = tracks.$ti, t3 = t1._eval$1("ListIterator<ListMixin.E>"), t4 = new A.ListIterator(tracks, tracks.get$length(tracks), t3), t1 = t1._eval$1("ListMixin.E"), axisMinSize = 0, axisMaxSize = 0; t4.moveNext$0();) { t5 = t1._as(t4.__internal$_current); axisMinSize += t5._baseSize; axisMaxSize += t5._growthLimit; } freeSpace = initialFreeSpace - axisMinSize; gridSizing.setMinMaxTrackSizesForAxis$3(axisMinSize, axisMaxSize, sizingAxis); if (t7 && freeSpace < 0) return tracks; if (t7 && axisMaxSize > axisMinSize) freeSpace = this._distributeFreeSpace$4(freeSpace, tracks, A._setArrayType([], t2), B._IntrinsicDimension_00); else for (t2 = new A.ListIterator(tracks, tracks.get$length(tracks), t3); t2.moveNext$0();) { t3 = t1._as(t2.__internal$_current); t4 = t3._growthLimit; freeSpace -= t4 - t3._baseSize; t3._baseSize = t4; t4 !== 1 / 0; } if (flexibleTracks.length === 0 || freeSpace <= 0) return tracks; flexFraction = this._findFlexFactorUnitSize$3(tracks, flexibleTracks, initialFreeSpace); for (t1 = flexibleTracks.length, _i = 0; _i < flexibleTracks.length; flexibleTracks.length === t1 || (0, A.throwConcurrentModificationError)(flexibleTracks), ++_i) { track = flexibleTracks[_i]; t2 = track.sizeFunction; t2 = t2.get$flex(t2); t2.toString; t2 = track._baseSize = flexFraction * t2; t3 = track._growthLimit; if (t3 !== 1 / 0 && t3 < t2) track._growthLimit = t2; freeSpace -= t2; axisMinSize += t2; axisMaxSize += t2; } gridSizing.setMinMaxTrackSizesForAxis$3(axisMinSize, axisMaxSize, sizingAxis); return tracks; }, _resolveIntrinsicTrackSizes$6(type, sizingAxis, tracks, intrinsicTracks, gridSizing, constraints) { var t4, t5, _i, span, t6, spanItemsByTrack, t7, t8, spannedTracks, spanItemsInTrack, intrinsicTrack, crossAxis, crossAxisSizeForItem, minSpanSize, track, _this = this, t1 = type$.RenderBox, t2 = type$.int, itemsBySpan = A.groupBy(new A._WhereBuilderIterable(new A.ExpandIterable(intrinsicTracks, new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure(_this, type), A._arrayInstanceType(intrinsicTracks)._eval$1("ExpandIterable<1,RenderBox>")), A.instantiate1(A.collections___removeDuplicatesPredicate$closure(), t1), type$._WhereBuilderIterable_RenderBox), new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure0(_this, sizingAxis), t1, t2), t3 = itemsBySpan.get$keys(itemsBySpan), sortedSpans = A.List_List$of(t3, true, A._instanceType(t3)._eval$1("Iterable.E")); B.JSArray_methods.sort$0(sortedSpans); for (t3 = sortedSpans.length, t4 = tracks.$ti, t5 = t4._eval$1("ListMixin.E"), t4 = t4._eval$1("SubListIterable<ListMixin.E>"), _i = 0; _i < sortedSpans.length; sortedSpans.length === t3 || (0, A.throwConcurrentModificationError)(sortedSpans), ++_i) { span = sortedSpans[_i]; t6 = itemsBySpan.$index(0, span); t6.toString; spanItemsByTrack = A.groupBy(t6, new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure1(_this, sizingAxis), t1, t2); for (t6 = spanItemsByTrack.get$keys(spanItemsByTrack), t6 = t6.get$iterator(t6); t6.moveNext$0();) { t7 = t6.get$current(t6); t8 = t7 + span; A.RangeError_checkValidRange(t7, t8, tracks.get$length(tracks), null, null); spannedTracks = new A.SubListIterable(tracks, t7, t8, t4); spannedTracks.SubListIterable$3(tracks, t7, t8, t5); spanItemsInTrack = spanItemsByTrack.$index(0, t7); intrinsicTrack = A.IterableExtension_firstWhereOrNull(spannedTracks, new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure2()); if (intrinsicTrack == null || spannedTracks.any$1(0, new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure3())) continue; crossAxis = A.flipAxis(sizingAxis); crossAxisSizeForItem = (crossAxis === B.Axis_0 ? gridSizing.hasColumnSizing : gridSizing.hasRowSizing) ? new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure4(_this, gridSizing, crossAxis) : new A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure5(); t7 = intrinsicTrack.sizeFunction; spanItemsInTrack.toString; minSpanSize = t7.minIntrinsicSize$3$crossAxisSizeForItem(type, spanItemsInTrack, crossAxisSizeForItem); _this._distributeCalculatedSpaceToSpannedTracks$4(minSpanSize, type, spannedTracks, B._IntrinsicDimension_00); _this._distributeCalculatedSpaceToSpannedTracks$4(t7.maxIntrinsicSize$3$crossAxisSizeForItem(type, spanItemsInTrack, crossAxisSizeForItem), type, spannedTracks, B._IntrinsicDimension_10); } } for (t1 = intrinsicTracks.length, _i = 0; _i < t1; ++_i) { track = intrinsicTracks[_i]; if (track._growthLimit === 1 / 0) { t2 = track._growthLimit = track._baseSize; t2 !== 1 / 0; } } }, _distributeCalculatedSpaceToSpannedTracks$4(calculatedSpace, type, spannedTracks, dimension) { var t1, t2, t3, t4, freeSpace, t5, t6, intrinsicTracks; for (t1 = spannedTracks.$ti, t2 = t1._eval$1("ListIterator<ListIterable.E>"), t3 = new A.ListIterator(spannedTracks, spannedTracks.get$length(spannedTracks), t2), t4 = dimension === B._IntrinsicDimension_00, t1 = t1._eval$1("ListIterable.E"), freeSpace = calculatedSpace; t3.moveNext$0();) { t5 = t1._as(t3.__internal$_current); if (t4) t5 = t5._baseSize; else { t6 = t5._growthLimit; t5 = t6 === 1 / 0 ? t5._baseSize : t6; } freeSpace -= t5; } if (freeSpace <= 0) { for (t2 = new A.ListIterator(spannedTracks, spannedTracks.get$length(spannedTracks), t2); t2.moveNext$0();) { t3 = t1._as(t2.__internal$_current); if (t3._growthLimit === 1 / 0) { t3 = t3._growthLimit = t3._baseSize; t3 !== 1 / 0; } } return; } t1 = spannedTracks.super$Iterable$where(0, new A.RenderLayoutGrid__distributeCalculatedSpaceToSpannedTracks_closure()); intrinsicTracks = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); if (intrinsicTracks.length !== 0) this._distributeFreeSpace$4(freeSpace, intrinsicTracks, intrinsicTracks, dimension); }, _distributeFreeSpace$4(freeSpace, tracks, growableAboveMaxTracks, dimension) { var distribute, t1, t2, _i, track, t3, t4, _box_0 = {}; _box_0.freeSpace = freeSpace; tracks = J.toList$0$ax(tracks); distribute = new A.RenderLayoutGrid__distributeFreeSpace_distribute(_box_0); for (t1 = tracks.length, t2 = dimension === B._IntrinsicDimension_00, _i = 0; _i < t1; ++_i) { track = tracks[_i]; if (t2) t3 = track._baseSize; else { t3 = track._growthLimit; if (t3 === 1 / 0) t3 = track._baseSize; } track.sizeDuringDistribution = t3; } B.JSArray_methods.sort$1(tracks, A.layout_grid___sortByGrowthPotential$closure()); distribute.call$2(tracks, new A.RenderLayoutGrid__distributeFreeSpace_closure()); if (_box_0.freeSpace > 0 && growableAboveMaxTracks.length !== 0) distribute.call$2(growableAboveMaxTracks, new A.RenderLayoutGrid__distributeFreeSpace_closure0()); for (t1 = tracks.length, _i = 0; _i < t1; ++_i) { track = tracks[_i]; if (t2) { t3 = track._baseSize = Math.max(track._baseSize, track.sizeDuringDistribution); t4 = track._growthLimit; if (t4 !== 1 / 0 && t4 < t3) track._growthLimit = t3; } else { t3 = track._growthLimit; t4 = track.sizeDuringDistribution; t3 = t3 === 1 / 0 ? t4 : Math.max(t3, t4); track._growthLimit = t3; if (t3 !== 1 / 0 && t3 < track._baseSize) track._growthLimit = track._baseSize; } } return _box_0.freeSpace; }, _findFlexFactorUnitSize$3(tracks, flexibleTracks, freeSpace) { var t1, t2, flexSum, t3, t4; for (t1 = tracks.$ti, t2 = new A.ListIterator(tracks, tracks.get$length(tracks), t1._eval$1("ListIterator<ListMixin.E>")), t1 = t1._eval$1("ListMixin.E"), flexSum = 0; t2.moveNext$0();) { t3 = t1._as(t2.__internal$_current); t4 = t3.sizeFunction; if (!t4.get$isFlexible()) freeSpace -= t3._baseSize; else { t3 = t4.get$flex(t4); t3.toString; flexSum += t3; } } return freeSpace / flexSum; }, _stretchIntrinsicTracks$3$constraints(type, gridSizing, constraints) { var tracks, intrinsicTracks, shareForTrack, t6, t1 = A.constraintBoundsForType(constraints, type), t2 = A.sum(gridSizing.baseSizesForType$1(type), type$.double), t3 = type === B.TrackType_0, t4 = J.get$length$asx((t3 ? gridSizing.columnTracks : gridSizing.rowTracks)._collection$_source), t5 = (t3 ? B.Axis_0 : B.Axis_1) === B.Axis_0 ? gridSizing.columnGap : gridSizing.rowGap, freeSpace = t1.min - t2 - (t4 - 1) * t5; if (freeSpace <= 0) return; tracks = t3 ? gridSizing.columnTracks : gridSizing.rowTracks; t1 = new A.RenderLayoutGrid__stretchIntrinsicTracks_closure(); t2 = tracks.$ti; intrinsicTracks = new A.WhereIterable(tracks, t1, t2._eval$1("WhereIterable<ListMixin.E>")); if (!intrinsicTracks.get$iterator(intrinsicTracks).moveNext$0()) return; shareForTrack = freeSpace / intrinsicTracks.get$length(intrinsicTracks); for (t4 = tracks.get$iterator(tracks), t2 = new A.WhereIterator(t4, t1, t2._eval$1("WhereIterator<ListMixin.E>")); t2.moveNext$0();) { t1 = t4.get$current(t4); t5 = t1._baseSize += shareForTrack; t6 = t1._growthLimit; if (t6 !== 1 / 0 && t6 < t5) t1._growthLimit = t5; } if (t3) gridSizing._ltrColumnStarts = null; else gridSizing._rowStarts = null; }, adoptChild$1(child) { this.super$RenderObject$adoptChild(child); this.markNeedsPlacementIfRequired$1(child); }, dropChild$1(child) { this.super$RenderObject$dropChild(child); this.markNeedsPlacementIfRequired$1(child); }, markNeedsPlacementIfRequired$1(child) { var parentData, t1; if (this.needsPlacement) return; parentData = type$.nullable_GridParentData._as(child.parentData); if (parentData != null) t1 = !(parentData.columnStart != null && parentData.rowStart != null); else t1 = false; if (t1) this.needsPlacement = true; }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, visitChildrenForSemantics$1(visitor) { var t1, childParentData, child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.GridParentData; child != null;) { childParentData = t1._as(child.parentData); if (!(childParentData.columnStart == null && childParentData.columnSpan == null && childParentData.rowStart == null && childParentData.rowSpan == null)) visitor.call$1(child); child = childParentData.ContainerParentDataMixin_nextSibling; } }, paint$2(context, offset) { this.visitChildrenForSemantics$1(new A.RenderLayoutGrid_paint_closure(context, offset)); } }; A.RenderLayoutGrid_getChildrenInTrack_closure.prototype = { call$1(cell) { return cell.occupants; }, $signature: 774 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure.prototype = { call$1(t) { return this.$this.getChildrenInTrack$2(this.type, t.index); }, $signature: 775 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure0.prototype = { call$1(item) { var t2, t3, t1 = A._lateReadCheck(this.$this.__RenderLayoutGrid__placementGrid, "_placementGrid").itemAreas.$index(0, type$.RenderBox._as(item)); t1.toString; t2 = this.sizingAxis === B.Axis_0; t3 = t2 ? t1.columnEnd : t1.rowEnd; return t3 - (t2 ? t1.columnStart : t1.rowStart); }, $signature: 776 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure1.prototype = { call$1(item) { var t1 = A._lateReadCheck(this.$this.__RenderLayoutGrid__placementGrid, "_placementGrid").itemAreas.$index(0, item); t1.toString; return this.sizingAxis === B.Axis_0 ? t1.columnStart : t1.rowStart; }, $signature: 777 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure2.prototype = { call$1(t) { return t.sizeFunction.get$isIntrinsic(); }, $signature: 143 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure3.prototype = { call$1(t) { return t.sizeFunction.get$isFlexible(); }, $signature: 143 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure4.prototype = { call$1(item) { var t1 = A._lateReadCheck(this.$this.__RenderLayoutGrid__placementGrid, "_placementGrid").itemAreas.$index(0, item); t1.toString; return this.gridSizing.sizeForAreaOnAxis$2(t1, this.crossAxis); }, $signature: 10 }; A.RenderLayoutGrid__resolveIntrinsicTrackSizes_closure5.prototype = { call$1(_) { return 1 / 0; }, $signature: 10 }; A.RenderLayoutGrid__distributeCalculatedSpaceToSpannedTracks_closure.prototype = { call$1(track) { return track.sizeFunction.get$isIntrinsic(); }, $signature: 143 }; A.RenderLayoutGrid__distributeFreeSpace_distribute.prototype = { call$2(tracks, getShareForTrack) { var t1, i, track, shareForTrack, trackCount = tracks.length; for (t1 = this._box_0, i = 0; i < trackCount; ++i) { track = tracks[i]; shareForTrack = getShareForTrack.call$2(track, t1.freeSpace / (trackCount - i)); track.sizeDuringDistribution += shareForTrack; t1.freeSpace -= shareForTrack; } }, $signature: 779 }; A.RenderLayoutGrid__distributeFreeSpace_closure.prototype = { call$2(track, availableShare) { var t1 = track._growthLimit; return t1 === 1 / 0 ? availableShare : Math.min(availableShare, t1 - track.sizeDuringDistribution); }, $signature: 322 }; A.RenderLayoutGrid__distributeFreeSpace_closure0.prototype = { call$2(track, availableShare) { return availableShare; }, $signature: 322 }; A.RenderLayoutGrid__stretchIntrinsicTracks_closure.prototype = { call$1(t) { return t.sizeFunction.get$isIntrinsic(); }, $signature: 143 }; A.RenderLayoutGrid_paint_closure.prototype = { call$1(child) { this.context.paintChild$2(child, type$.GridParentData._as(child.parentData).offset.$add(0, this.offset)); }, $signature: 74 }; A._IntrinsicDimension0.prototype = { toString$0(_) { return "_IntrinsicDimension." + this._core$_name; } }; A.GridTrack.prototype = { toString$0(_) { return "GridTrack(baseSize=" + A.S(this._baseSize) + ", growthLimit=" + A.S(this._growthLimit) + ", sizeFunction=" + this.sizeFunction.toString$0(0) + ")"; } }; A._sizesToTracks_closure.prototype = { call$1(s) { return new A.GridTrack(s.index, s.value); }, $signature: 781 }; A.GridSizingInfo.prototype = { get$columnStartsWithoutGaps() { var t1 = this._ltrColumnStarts; if (t1 == null) { t1 = this.columnTracks; t1 = A.cumulativeSum(new A.MappedListIterable(t1, new A.GridSizingInfo_columnStartsWithoutGaps_closure(), t1.$ti._eval$1("MappedListIterable<ListMixin.E,double>")), false, type$.double); t1 = this._ltrColumnStarts = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); } return t1; }, get$rowStartsWithoutGaps() { var t1 = this._rowStarts; if (t1 == null) { t1 = this.rowTracks; t1 = A.cumulativeSum(new A.MappedListIterable(t1, new A.GridSizingInfo_rowStartsWithoutGaps_closure(), t1.$ti._eval$1("MappedListIterable<ListMixin.E,double>")), false, type$.double); t1 = this._rowStarts = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); } return t1; }, get$internalGridSize() { var _this = this, t1 = _this.columnTracks, t2 = type$.double, t3 = _this.rowTracks; return new A.Size(A.sum(new A.MappedListIterable(t1, new A.GridSizingInfo_internalGridSize_closure(), t1.$ti._eval$1("MappedListIterable<ListMixin.E,double>")), t2) + _this.columnGap * (J.get$length$asx(t1._collection$_source) - 1), A.sum(new A.MappedListIterable(t3, new A.GridSizingInfo_internalGridSize_closure0(), t3.$ti._eval$1("MappedListIterable<ListMixin.E,double>")), t2) + _this.rowGap * (J.get$length$asx(t3._collection$_source) - 1)); }, offsetForArea$1(area) { var _this = this, t1 = area.columnStart, t2 = _this.columnGap * t1; t1 = _this.textDirection === B.TextDirection_1 ? _this.get$columnStartsWithoutGaps()[t1] + t2 : _this.gridSize._dx - _this.get$columnStartsWithoutGaps()[t1] - _this.sizeForAreaOnAxis$2(area, B.Axis_0) - t2; t2 = area.rowStart; return new A.Offset(t1, _this.get$rowStartsWithoutGaps()[t2] + _this.rowGap * t2); }, baseSizesForType$1(type) { var t1 = type === B.TrackType_0 ? this.columnTracks : this.rowTracks, t2 = t1.$ti._eval$1("MappedListIterable<ListMixin.E,double>"); return A.List_List$of(new A.MappedListIterable(t1, new A.GridSizingInfo_baseSizesForType_closure(), t2), true, t2._eval$1("ListIterable.E")); }, setMinMaxTrackSizesForAxis$3(min, max, axis) { var _this = this; if (axis === B.Axis_0) { _this.minWidthOfTracks = min; _this.maxTracksWidth = max; } else { _this.minHeightOfTracks = min; _this.maxTracksHeight = max; } }, sizeForAreaOnAxis$2(area, axis) { var _this = this, t1 = axis === B.Axis_0, t2 = t1 ? _this.columnTracks : _this.rowTracks, t3 = t1 ? area.columnStart : area.rowStart, t4 = t1 ? area.columnEnd : area.rowEnd; A.RangeError_checkValidRange(t3, t4, t2.get$length(t2), null, null); t2 = A.SubListIterable$(t2, t3, t4, t2.$ti._eval$1("ListMixin.E")); t3 = t1 ? area.columnEnd : area.rowEnd; t4 = t1 ? area.columnStart : area.rowStart; t1 = t1 ? _this.columnGap : _this.rowGap; return Math.max(0, A.sum(new A.MappedListIterable(t2, new A.GridSizingInfo_sizeForAreaOnAxis_closure(), t2.$ti._eval$1("MappedListIterable<ListIterable.E,double>")), type$.double) + (t3 - t4 - 1) * t1); } }; A.GridSizingInfo_columnStartsWithoutGaps_closure.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.GridSizingInfo_rowStartsWithoutGaps_closure.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.GridSizingInfo_internalGridSize_closure.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.GridSizingInfo_internalGridSize_closure0.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.GridSizingInfo_baseSizesForType_closure.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.GridSizingInfo_sizeForAreaOnAxis_closure.prototype = { call$1(t) { return t._baseSize; }, $signature: 84 }; A.MinMax.prototype = { toString$0(_) { var t1 = this.min, t2 = this.max, t3 = B.JSNumber_methods.toStringAsFixed$1(t1, 1) + "->" + B.JSNumber_methods.toStringAsFixed$1(t2, 1); return t3 + (t1 === t2 ? " (same)" : ""); } }; A._RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.GridParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.GridParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderLayoutGrid_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A.PlacementGrid.prototype = { PlacementGrid$1$grid(grid) { var t1, i, _this = this, _length = _this.explicitColumnCount * _this.explicitRowCount, _list = J.JSArray_JSArray$allocateGrowable(_length, type$.GridCell); for (t1 = type$.RenderBox, i = 0; i < _length; ++i) _list[i] = new A.GridCell(_this, i, A.LinkedHashSet_LinkedHashSet$_empty(t1)); _this.__PlacementGrid__cells = _list; }, getCellsInTrack$2(trackIndex, trackType) { return this.getCellsInTrack$body$PlacementGrid(trackIndex, trackType); }, getCellsInTrack$body$PlacementGrid($async$trackIndex, $async$trackType) { var $async$self = this; return A._makeSyncStarIterable(function() { var trackIndex = $async$trackIndex, trackType = $async$trackType; var $async$goto = 0, $async$handler = 1, $async$currentError, trackMainAxis, firstCellIndex, cell; return function $async$getCellsInTrack$2($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 trackMainAxis = trackType === B.TrackType_0 ? B.Axis_1 : B.Axis_0; firstCellIndex = trackMainAxis === B.Axis_1 ? trackIndex : trackIndex * $async$self.explicitColumnCount; cell = J.get$length$asx(A._lateReadCheck($async$self.__PlacementGrid__cells, "_cells")) > firstCellIndex ? J.$index$asx(A._lateReadCheck($async$self.__PlacementGrid__cells, "_cells"), firstCellIndex) : null; $async$goto = cell != null ? 2 : 3; break; case 2: // then $async$goto = 4; return A._IterationMarker_yieldStar(A.FollowedByIterable_FollowedByIterable$firstEfficient(A._setArrayType([cell], type$.JSArray_GridCell), cell.nextCellsAlongAxis$1(trackMainAxis), type$.GridCell)); case 4: // after yield case 3: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.GridCell); }, getCellsInArea$1(area) { return this.getCellsInArea$body$PlacementGrid(area); }, getCellsInArea$body$PlacementGrid($async$area) { var $async$self = this; return A._makeSyncStarIterable(function() { var area = $async$area; var $async$goto = 0, $async$handler = 1, $async$currentError, x, t1, y, t2, t3, y0; return function $async$getCellsInArea$1($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 x = area.columnStart, t1 = area.columnEnd, y = area.rowStart, t2 = area.rowEnd, t3 = $async$self.explicitColumnCount; case 2: // for condition if (!(x < t1)) { // goto after for $async$goto = 4; break; } y0 = y; case 5: // for condition if (!(y0 < t2)) { // goto after for $async$goto = 7; break; } $async$goto = 8; return J.$index$asx(A._lateReadCheck($async$self.__PlacementGrid__cells, "_cells"), y0 * t3 + x); case 8: // after yield case 6: // for update ++y0; // goto for condition $async$goto = 5; break; case 7: // after for case 3: // for update ++x; // goto for condition $async$goto = 2; break; case 4: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.GridCell); }, checkIsVacant$1(area) { return this.getCellsInArea$1(area).every$1(0, new A.PlacementGrid_checkIsVacant_closure()); }, addItemToArea$2(item, area) { var t1, _this = this, _s8_ = "gridItem"; if (area.columnEnd > _this.explicitColumnCount) throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("GridPlacement.columnEnd cannot exceed column count\n"), _this.grid.toDiagnosticsNode$1$name("grid"), item.toDiagnosticsNode$1$name(_s8_)], type$.JSArray_DiagnosticsNode))); if (area.rowEnd > _this.explicitRowCount) throw A.wrapException(A.FlutterError$fromParts(A._setArrayType([A.ErrorSummary$("GridPlacement.rowEnd cannot exceed row count\n"), _this.grid.toDiagnosticsNode$1$name("grid"), item.toDiagnosticsNode$1$name(_s8_)], type$.JSArray_DiagnosticsNode))); for (t1 = _this.getCellsInArea$1(area), t1 = new A._SyncStarIterator(t1._outerHelper(), t1.$ti._eval$1("_SyncStarIterator<1>")); t1.moveNext$0();) t1.get$current(t1).occupants.add$1(0, item); _this.itemAreas.$indexSet(0, item, area); }, toString$0(_) { var rows, t1 = this.explicitColumnCount, cap = "\u253c" + B.JSString_methods.$mul("-", t1 * 2 - 1) + "\u253c", t2 = A._lateReadCheck(this.__PlacementGrid__cells, "_cells"); t2 = new A.MappedListIterable(t2, new A.PlacementGrid_toString_closure(), A.instanceType(t2)._eval$1("MappedListIterable<1,String>")); if (t2.get$length(t2) === 0) t1 = A._setArrayType([], type$.JSArray_List_String); else { t2 = new A._Partition(t2, t1, type$._Partition_String); if (t1 <= 0) A.throwExpression(A.ArgumentError$(t1, null)); t1 = t2; } rows = J.map$1$1$ax(t1, new A.PlacementGrid_toString_closure0(), type$.String); return cap + "\n|" + rows.join$1(0, "|\n|") + "|\n" + cap; } }; A.PlacementGrid_checkIsVacant_closure.prototype = { call$1(c) { return c.occupants._collection$_length === 0; }, $signature: 784 }; A.PlacementGrid_toString_closure.prototype = { call$1(c) { var t1 = c.occupants; if (t1._collection$_length !== 0) { t1 = t1.get$first(t1); type$.GridParentData._as(t1.parentData); t1 = "x"; } else t1 = " "; return t1; }, $signature: 785 }; A.PlacementGrid_toString_closure0.prototype = { call$1(row) { return J.join$1$ax(row, ","); }, $signature: 786 }; A.PlacementGridCursor.prototype = { moveToNextEmptyArea$2(columnSpan, rowSpan) { var moveFn, _this = this; if (_this.fixedAxis != null) moveFn = _this.get$_moveFixedToNext(); else { if (_this.autoPlacementMode.packing === B.AutoPlacementPacking_1) _this.currentRow = _this.currentColumn = -1; moveFn = _this.get$_moveAutoToNext(); } return J.firstWhere$1$ax(moveFn.call$2(columnSpan, rowSpan), _this.grid.get$checkIsVacant()); }, _moveFixedToNext$2(columnSpan, rowSpan) { return this._moveFixedToNext$body$PlacementGridCursor(columnSpan, rowSpan); }, _moveFixedToNext$body$PlacementGridCursor($async$columnSpan, $async$rowSpan) { var $async$self = this; return A._makeSyncStarIterable(function() { var columnSpan = $async$columnSpan, rowSpan = $async$rowSpan; var $async$goto = 0, $async$handler = 1, $async$currentError, traversalAxis, traversalAxisIndex, t2, t3, t1; return function $async$_moveFixedToNext$2($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.fixedAxis; t1.toString; traversalAxis = A.flipAxis(t1); traversalAxisIndex = new A.PlacementGridCursor__moveFixedToNext_closure($async$self, traversalAxis); t2 = t1 === B.Axis_0 ? $async$self.currentColumn : $async$self.currentRow; t2 = t2 != $async$self.fixedTrackIndex; $async$goto = t2 ? 2 : 3; break; case 2: // then t2 = $async$self.currentColumn; if (t2 === -1 && $async$self.currentRow === -1) if (traversalAxis === B.Axis_1) $async$self.currentRow = 0; else $async$self.currentColumn = 0; else { t1 = t1 === B.Axis_0 ? t2 : $async$self.currentRow; t1.toString; t2 = $async$self.fixedTrackIndex; t2.toString; if (t2 < t1) { t1 = traversalAxisIndex.call$0(); t1.toString; ++t1; if (traversalAxis === B.Axis_1) $async$self.currentRow = t1; else $async$self.currentColumn = t1; } } t1 = $async$self.fixedTrackIndex; if ($async$self.fixedAxis === B.Axis_1) $async$self.currentRow = t1; else $async$self.currentColumn = t1; columnSpan.toString; rowSpan.toString; $async$goto = 4; return $async$self._currentAreaForSpans$2(columnSpan, rowSpan); case 4: // after yield case 3: // join t1 = traversalAxis === B.Axis_1; case 5: // for condition // trivial condition t2 = traversalAxisIndex.call$0(); t2.toString; ++t2; if (t1) $async$self.currentRow = t2; else $async$self.currentColumn = t2; columnSpan.toString; rowSpan.toString; t2 = $async$self.currentColumn; t2.toString; t3 = $async$self.currentRow; t3.toString; $async$goto = 7; return new A.GridArea(null, t2, t3, t2 + columnSpan, t3 + rowSpan); case 7: // after yield // goto for condition $async$goto = 5; break; case 6: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.GridArea); }, _moveAutoToNext$2(columnSpan, rowSpan) { return this._moveAutoToNext$body$PlacementGridCursor(columnSpan, rowSpan); }, _moveAutoToNext$body$PlacementGridCursor($async$columnSpan, $async$rowSpan) { var $async$self = this; return A._makeSyncStarIterable(function() { var columnSpan = $async$columnSpan, rowSpan = $async$rowSpan; var $async$goto = 0, $async$handler = 1, $async$currentError, t2, t3, t4, t5, t6, t7, t1, fixedAxis, fixedAxisIndex, growthAxis, growthAxisIndex; return function $async$_moveAutoToNext$2($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.autoPlacementMode.trackType === B.TrackType_1; fixedAxis = t1 ? B.Axis_0 : B.Axis_1; fixedAxisIndex = new A.PlacementGridCursor__moveAutoToNext_closure($async$self, fixedAxis); growthAxis = A.flipAxis(t1 ? B.Axis_0 : B.Axis_1); growthAxisIndex = new A.PlacementGridCursor__moveAutoToNext_closure0($async$self, growthAxis); t1 = fixedAxis === B.Axis_1, t2 = $async$self.grid, t3 = t2.explicitRowCount, t4 = fixedAxis === B.Axis_0, t2 = t2.explicitColumnCount, t5 = growthAxis === B.Axis_1; case 2: // for condition // trivial condition if ($async$self.currentColumn === -1 && $async$self.currentRow === -1) $async$self.currentColumn = $async$self.currentRow = 0; else { t6 = fixedAxisIndex.call$0(); t6.toString; t7 = t4 ? t2 : t3; if (t6 + 1 === t7) { if (t1) $async$self.currentRow = 0; else $async$self.currentColumn = 0; t6 = growthAxisIndex.call$0(); t6.toString; ++t6; if (t5) $async$self.currentRow = t6; else $async$self.currentColumn = t6; } else { t6 = fixedAxisIndex.call$0(); t6.toString; ++t6; if (t1) $async$self.currentRow = t6; else $async$self.currentColumn = t6; } } columnSpan.toString; rowSpan.toString; t6 = $async$self.currentColumn; t6.toString; t7 = $async$self.currentRow; t7.toString; $async$goto = 4; return new A.GridArea(null, t6, t7, t6 + columnSpan, t7 + rowSpan); case 4: // after yield // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.GridArea); }, _currentAreaForSpans$2(columnSpan, rowSpan) { var t2, t1 = this.currentColumn; t1.toString; t2 = this.currentRow; t2.toString; return new A.GridArea(null, t1, t2, t1 + columnSpan, t2 + rowSpan); } }; A.PlacementGridCursor__moveFixedToNext_closure.prototype = { call$0() { var t1 = this.$this; return this.traversalAxis === B.Axis_0 ? t1.currentColumn : t1.currentRow; }, $signature: 181 }; A.PlacementGridCursor__moveAutoToNext_closure.prototype = { call$0() { var t1 = this.$this; return this.fixedAxis === B.Axis_0 ? t1.currentColumn : t1.currentRow; }, $signature: 181 }; A.PlacementGridCursor__moveAutoToNext_closure0.prototype = { call$0() { var t1 = this.$this; return this.growthAxis === B.Axis_0 ? t1.currentColumn : t1.currentRow; }, $signature: 181 }; A.GridCell.prototype = { nextCellsAlongAxis$1(axis) { return this.nextCellsAlongAxis$body$GridCell(axis); }, nextCellsAlongAxis$body$GridCell($async$axis) { var $async$self = this; return A._makeSyncStarIterable(function() { var axis = $async$axis; var $async$goto = 0, $async$handler = 1, $async$currentError, next, i, t1, t2, t3; return function $async$nextCellsAlongAxis$1($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.index; t2 = $async$self.grid; t3 = t2.explicitColumnCount; if (axis === B.Axis_0) { ++t1; next = t1 % t3 === 0 ? null : J.$index$asx(A._lateReadCheck(t2.__PlacementGrid__cells, "_cells"), t1); } else { i = t1 + t3; next = i >= J.get$length$asx(A._lateReadCheck(t2.__PlacementGrid__cells, "_cells")) ? null : J.$index$asx(A._lateReadCheck(t2.__PlacementGrid__cells, "_cells"), i); } $async$goto = next != null ? 2 : 3; break; case 2: // then $async$goto = 4; return next; case 4: // after yield $async$goto = 5; return A._IterationMarker_yieldStar(next.nextCellsAlongAxis$1(axis)); case 5: // after yield case 3: // join // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.GridCell); }, toString$0(_) { var t1 = this.index, t2 = this.grid.explicitColumnCount; return "GridCell(" + B.JSInt_methods.$mod(t1, t2) + ", " + B.JSInt_methods.$tdiv(t1, t2) + ", isOccupied=" + (this.occupants._collection$_length !== 0) + ")"; } }; A.TrackType.prototype = { toString$0(_) { return "TrackType." + this._core$_name; } }; A.TrackSize.prototype = { isFixedForConstraints$2(type, gridConstraints) { return false; }, get$isIntrinsic() { return false; }, get$isFlexible() { return false; }, get$flex(_) { return null; } }; A.FixedTrackSize.prototype = { isFixedForConstraints$2(type, constraints) { return true; }, minIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { return this.sizeInPx; }, minIntrinsicSize$2(type, items) { return this.minIntrinsicSize$3$crossAxisSizeForItem(type, items, null); }, maxIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { return this.sizeInPx; }, get$hashCode(_) { return A.hashValues(this.sizeInPx, this.debugLabel, 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, 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); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.FixedTrackSize && other.sizeInPx === this.sizeInPx; } }; A.FlexibleTrackSize.prototype = { get$isFlexible() { return true; }, minIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { return 0; }, minIntrinsicSize$2(type, items) { return this.minIntrinsicSize$3$crossAxisSizeForItem(type, items, null); }, maxIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { return 0; }, get$flex(_) { return this.flexFactor; }, get$hashCode(_) { return A.hashValues(this.flexFactor, this.debugLabel, 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, 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); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.FlexibleTrackSize && other.flexFactor === this.flexFactor; } }; A.IntrinsicContentTrackSize.prototype = { get$isIntrinsic() { return true; }, minIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { var t1 = {}; t1.crossAxisSizeForItem = crossAxisSizeForItem; if (crossAxisSizeForItem == null) t1.crossAxisSizeForItem = new A.IntrinsicContentTrackSize_minIntrinsicSize_closure(); t1 = A.max(new A.MappedListIterable(items, new A.IntrinsicContentTrackSize_minIntrinsicSize_closure0(t1, this, type), A._arrayInstanceType(items)._eval$1("MappedListIterable<1,double>")), type$.double); t1.toString; return t1; }, minIntrinsicSize$2(type, items) { return this.minIntrinsicSize$3$crossAxisSizeForItem(type, items, null); }, maxIntrinsicSize$3$crossAxisSizeForItem(type, items, crossAxisSizeForItem) { var t1 = A.max(new A.MappedListIterable(items, new A.IntrinsicContentTrackSize_maxIntrinsicSize_closure(this, type, crossAxisSizeForItem), A._arrayInstanceType(items)._eval$1("MappedListIterable<1,double>")), type$.double); t1.toString; return t1; }, get$hashCode(_) { return B.JSNull_methods.get$hashCode(this.debugLabel); }, $eq(_, other) { if (other == null) return false; if (this === other) return true; return J.get$runtimeType$(other) === A.getRuntimeType(this); } }; A.IntrinsicContentTrackSize_minIntrinsicSize_closure.prototype = { call$1(_) { return 1 / 0; }, $signature: 10 }; A.IntrinsicContentTrackSize_minIntrinsicSize_closure0.prototype = { call$1(item) { var t1 = this.type === B.TrackType_0 ? B.Axis_0 : B.Axis_1, t2 = this._box_0.crossAxisSizeForItem.call$1(item); return t1 === B.Axis_0 ? item._computeIntrinsicDimension$3(B._IntrinsicDimension_0, t2, item.get$computeMinIntrinsicWidth()) : item._computeIntrinsicDimension$3(B._IntrinsicDimension_2, t2, item.get$computeMinIntrinsicHeight()); }, $signature: 10 }; A.IntrinsicContentTrackSize_maxIntrinsicSize_closure.prototype = { call$1(item) { var t1 = this.type === B.TrackType_0 ? B.Axis_0 : B.Axis_1, t2 = this.crossAxisSizeForItem.call$1(item); return t1 === B.Axis_0 ? item._computeIntrinsicDimension$3(B._IntrinsicDimension_1, t2, item.get$computeMaxIntrinsicWidth()) : item._computeIntrinsicDimension$3(B._IntrinsicDimension_3, t2, item.get$computeMaxIntrinsicHeight()); }, $signature: 10 }; A.trackSizeListsEqual_closure.prototype = { call$1(pair) { var t1 = J.getInterceptor$asx(pair); return J.$eq$(t1.$index(pair, 0), t1.$index(pair, 1)); }, $signature: 789 }; A._TrackSize_Object_Diagnosticable.prototype = {}; A.AutoPlacement.prototype = { toString$0(_) { switch (this) { case B.AutoPlacement_TrackType_1_AutoPlacementPacking_0: return "AutoPlacement.rowSparse"; case B.AutoPlacement_TrackType_1_AutoPlacementPacking_1: return "AutoPlacement.rowDense"; case B.AutoPlacement_TrackType_0_AutoPlacementPacking_0: return "AutoPlacement.columnSparse"; case B.AutoPlacement_TrackType_0_AutoPlacementPacking_1: return "AutoPlacement.columnDense"; } throw A.wrapException(A.StateError$("toString() called on unknown AutoPlacement")); } }; A.GridFit.prototype = { toString$0(_) { return "GridFit." + this._core$_name; } }; A.LayoutGrid.prototype = { createRenderObject$1(context) { var _this = this, _null = null, t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; t1 = new A.RenderLayoutGrid(B.AutoPlacement_TrackType_1_AutoPlacementPacking_0, _this.gridFit, _null, _null, _this.columnSizes, _this.rowSizes, _this.columnGap, _this.rowGap, t1, A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, _null); return t1; }, updateRenderObject$2(context, renderObject) { var t1, _this = this; renderObject.set$autoPlacement(B.AutoPlacement_TrackType_1_AutoPlacementPacking_0); renderObject.set$gridFit(_this.gridFit); renderObject.set$areasSpec(null); renderObject.set$columnSizes(_this.columnSizes); renderObject.set$rowSizes(_this.rowSizes); renderObject.set$columnGap(0, _this.columnGap); renderObject.set$rowGap(_this.rowGap); t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; renderObject.set$textDirection(0, t1); } }; A.AutoPlacementPacking.prototype = { toString$0(_) { return "AutoPlacementPacking." + this._core$_name; } }; A.GridPlacement.prototype = { applyParentData$1(renderObject) { var needsLayout, targetParent, _this = this, parentData = type$.GridParentData._as(renderObject.parentData), t1 = _this.columnStart; if (parentData.columnStart !== t1) { parentData.columnStart = t1; needsLayout = true; } else needsLayout = false; t1 = _this.columnSpan; if (parentData.columnSpan !== t1) { parentData.columnSpan = t1; needsLayout = true; } t1 = _this.rowStart; if (parentData.rowStart !== t1) { parentData.rowStart = t1; needsLayout = true; } t1 = _this.rowSpan; if (parentData.rowSpan !== t1) { parentData.rowSpan = t1; needsLayout = true; } if (needsLayout) { targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderLayoutGrid) targetParent.needsPlacement = true; if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A.kFallbackStyle_closure.prototype = { call$2(context, baseTheme) { var result; switch (baseTheme) { case B.MarkdownStyleSheetBaseTheme_2: result = B.JSString_methods.contains$1(window.navigator.userAgent, "Mac OS X") ? A.MarkdownStyleSheet_MarkdownStyleSheet$fromCupertinoTheme(A.CupertinoTheme_of(context)) : A.MarkdownStyleSheet_MarkdownStyleSheet$fromTheme(A.Theme_of(context)); break; case B.MarkdownStyleSheetBaseTheme_1: result = A.MarkdownStyleSheet_MarkdownStyleSheet$fromCupertinoTheme(A.CupertinoTheme_of(context)); break; case B.MarkdownStyleSheetBaseTheme_0: default: result = A.MarkdownStyleSheet_MarkdownStyleSheet$fromTheme(A.Theme_of(context)); } return result.copyWith$1$textScaleFactor(A.MediaQuery_textScaleFactorOf(context)); }, $signature: 790 }; A._BlockElement.prototype = {}; A._TableElement0.prototype = {}; A._InlineElement.prototype = {}; A.MarkdownBuilder.prototype = { build$1(_, nodes) { var t1, t2, _i, _this = this; B.JSArray_methods.set$length(_this._listIndents, 0); t1 = _this._builder$_blocks; B.JSArray_methods.set$length(t1, 0); B.JSArray_methods.set$length(_this._tables, 0); B.JSArray_methods.set$length(_this._inlines, 0); B.JSArray_methods.set$length(_this._linkHandlers, 0); _this._isInBlockquote = false; t1.push(new A._BlockElement(null, A._setArrayType([], type$.JSArray_Widget))); for (t2 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t2 || (0, A.throwConcurrentModificationError)(nodes), ++_i) J.accept$1$x(nodes[_i], _this); return B.JSArray_methods.get$single(t1).children; }, visitElementBefore$1(element) { var t1, start, $length, decoration, bElement, text, destination, title, t2, _this = this, _null = null, tag = element.tag; if (_this._currentBlockTag == null) _this._currentBlockTag = tag; t1 = _this.builders; if (t1.containsKey$1(0, tag)) t1.$index(0, tag).visitElementBefore$1(element); t1 = _this.paddingBuilders; if (t1.containsKey$1(0, tag)) t1.$index(0, tag).visitElementBefore$1(element); if (B.JSArray_methods.contains$1(B.List_atK, tag)) { _this._addAnonymousBlockIfNeeded$0(); if (B.JSArray_methods.contains$1(B.List_ul_ol, tag)) { _this._listIndents.push(tag); t1 = element.attributes; if (t1.$index(0, "start") != null) { t1 = t1.$index(0, "start"); t1.toString; start = A.int_parse(t1, _null) - 1; } else start = _null; } else { if (tag === "blockquote") _this._isInBlockquote = true; else if (tag === "table") _this._tables.push(new A._TableElement0(A._setArrayType([], type$.JSArray_TableRow))); else if (tag === "tr") { t1 = _this._tables; $length = B.JSArray_methods.get$single(t1).rows.length; decoration = _this.styleSheet.tableCellsDecoration; if ($length === 0 || ($length & 1) === 1) decoration = _null; B.JSArray_methods.get$single(t1).rows.push(new A.TableRow(_null, decoration, A._setArrayType([], type$.JSArray_Widget))); } start = _null; } bElement = new A._BlockElement(tag, A._setArrayType([], type$.JSArray_Widget)); if (start != null) bElement.nextListIndex = start; _this._builder$_blocks.push(bElement); } else { if (tag === "a") { text = _this.extractTextFromElement$1(element); if (text == null) return false; t1 = element.attributes; destination = t1.$index(0, "href"); title = t1.$index(0, "title"); if (title == null) title = ""; _this._linkHandlers.push(_this.delegate.createLink$3(text, destination, title)); } _this._addParentInlineIfNeeded$1(B.JSArray_methods.get$last(_this._builder$_blocks).tag); if (tag === "td") { t1 = element.children; t1 = t1 != null && J.get$isEmpty$asx(t1); } else t1 = false; if (t1) { t1 = element.children; t1.toString; J.add$1$ax(t1, new A.Text1("")); } t1 = _this._inlines; t2 = B.JSArray_methods.get$last(t1).style; t2.toString; t1.push(new A._InlineElement(t2.merge$1(J.$index$asx(_this.styleSheet._styles, tag)), A._setArrayType([], type$.JSArray_Widget))); } return true; }, extractTextFromElement$1(element) { var t2, t1 = element instanceof A.Element1; if (t1) { t2 = element.children; t2 = t2 == null ? null : J.get$isNotEmpty$asx(t2); t2 = t2 === true; } else t2 = false; if (t2) { t1 = element.children; t1.toString; t1 = J.map$1$1$ax(t1, new A.MarkdownBuilder_extractTextFromElement_closure(this), type$.nullable_String).join$1(0, ""); } else { if (t1) { t1 = element.attributes; t1 = t1.get$isNotEmpty(t1); } else t1 = false; t1 = t1 ? element.attributes.$index(0, "alt") : ""; } return t1; }, visitText$1(text) { var t2, child, t3, _this = this, _null = null, t1 = _this._builder$_blocks; if (B.JSArray_methods.get$last(t1).tag == null) return; _this._addParentInlineIfNeeded$1(B.JSArray_methods.get$last(t1).tag); if (t1.length !== 0 && _this.builders.containsKey$1(0, B.JSArray_methods.get$last(t1).tag)) { t2 = B.JSArray_methods.get$last(t1).tag; t2.toString; t2 = _this.builders.$index(0, t2); t2.toString; t1 = B.JSArray_methods.get$last(t1).tag; t1.toString; child = t2.visitText$2(text, J.$index$asx(_this.styleSheet._styles, t1)); } else if (B.JSArray_methods.get$last(t1).tag === "pre") { t1 = _this.styleSheet; child = A.Scrollbar$(A.SingleChildScrollView$(_this._buildRichText$1(_this.delegate.formatText$2(t1, text.text)), _null, B.DragStartBehavior_1, _null, t1.codeblockPadding, _null, _null, B.Axis_0), _null, _null); } else { t1 = _this._inlines; if (_this._isInBlockquote) { t2 = _this.styleSheet.blockquote; t2.toString; t1 = t2.merge$1(B.JSArray_methods.get$last(t1).style); } else t1 = B.JSArray_methods.get$last(t1).style; t2 = text.text; t2 = _this._isInBlockquote ? t2 : new A.MarkdownBuilder_visitText_trimText(_this).call$1(t2); t3 = _this._linkHandlers; child = _this._buildRichText$3$selectionControls$textAlign(A.TextSpan$(_null, _null, t3.length !== 0 ? B.JSArray_methods.get$last(t3) : _null, _null, t1, t2), _this.selectionControls, _this._textAlignForBlockTag$1(_this._currentBlockTag)); } B.JSArray_methods.get$last(_this._inlines).children.push(child); }, _buildImage$3(src, title, alt) { var path, dimensions, child, t1, _null = null, parts = src.split("#"); if (parts.length === 0) return B.SizedBox_null_null_null_null; path = B.JSArray_methods.get$first(parts); if (parts.length === 2) { dimensions = J.split$1$s(B.JSArray_methods.get$last(parts), "x"); if (dimensions.length === 2) { A.double_parse(dimensions[0]); A.double_parse(dimensions[1]); } } child = this.imageBuilder.call$3(A.Uri_parse(path, 0, _null), title, alt); child = child; t1 = this._linkHandlers; if (t1.length !== 0) return A.GestureDetector$(_null, child, B.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.JSArray_methods.get$last(t1).onTap, _null, _null, _null, _null, _null, _null, _null); else return child; }, _buildCheckbox$1(checked) { var t1 = this.styleSheet, t2 = checked ? B.IconData_57687_MaterialIcons_null_false : B.IconData_57688_MaterialIcons_null_false, t3 = t1.checkbox; return new A.Padding(t1.listBulletPadding, A.Icon$(t2, t3.color, t3.fontSize), null); }, _buildBullet$1(listTag) { var t1, _null = null, index = B.JSArray_methods.get$last(this._builder$_blocks).nextListIndex; if (listTag === "ul") { t1 = this.styleSheet; return new A.Padding(t1.listBulletPadding, A.Text$("\u2022", _null, _null, _null, _null, t1.listBullet, B.TextAlign_2, _null, _null), _null); } t1 = this.styleSheet; return new A.Padding(t1.listBulletPadding, A.Text$("" + (index + 1) + ".", _null, _null, _null, _null, t1.listBullet, B.TextAlign_1, _null, _null), _null); }, _buildPadding$2(padding, child) { if (padding.$eq(0, B.EdgeInsets_0_0_0_0)) return child; return new A.Padding(padding, child, null); }, _addParentInlineIfNeeded$1(tag) { var t1 = this._inlines; if (t1.length === 0) { tag.toString; t1.push(new A._InlineElement(J.$index$asx(this.styleSheet._styles, tag), A._setArrayType([], type$.JSArray_Widget))); } }, _addBlockChild$1(child) { var $parent = B.JSArray_methods.get$last(this._builder$_blocks), t1 = $parent.children; if (t1.length !== 0) t1.push(new A.SizedBox(null, this.styleSheet.blockSpacing, null, null)); t1.push(child); ++$parent.nextListIndex; }, _addAnonymousBlockIfNeeded$0() { var blockAlignment, textAlign, textPadding, t2, wrap, _this = this, t1 = _this._inlines; if (t1.length === 0) return; if (B.JSArray_methods.contains$1(B.List_atK, _this._currentBlockTag)) { blockAlignment = _this._wrapAlignmentForBlockTag$1(_this._currentBlockTag); textAlign = _this._textAlignForBlockTag$1(_this._currentBlockTag); textPadding = _this._textPaddingForBlockTag$1(_this._currentBlockTag); t2 = _this.paddingBuilders; if (t2.containsKey$1(0, _this._currentBlockTag)) textPadding = t2.$index(0, _this._currentBlockTag).getPadding$0(); } else { blockAlignment = B.WrapAlignment_0; textAlign = B.TextAlign_4; textPadding = B.EdgeInsets_0_0_0_0; } t2 = B.JSArray_methods.get$single(t1).children; if (t2.length !== 0) { wrap = A.Wrap$(blockAlignment, _this._mergeInlineChildren$2(t2, textAlign), B.WrapCrossAlignment_2, B.WrapAlignment_0, 0, 0); if (textPadding.$eq(0, B.EdgeInsets_0_0_0_0)) _this._addBlockChild$1(wrap); else _this._addBlockChild$1(new A.Padding(textPadding, wrap, null)); B.JSArray_methods.set$length(t1, 0); } }, _mergeInlineChildren$2(children, textAlign) { var t1, t2, t3, t4, t5, t6, _i, child, previousTextSpan, t7, t8, children0, _this = this, mergedTexts = A._setArrayType([], type$.JSArray_Widget); for (t1 = children.length, t2 = _this.selectionControls, t3 = type$.JSArray_TextSpan, t4 = type$.SelectableText, t5 = type$.TextSpan, t6 = type$.RichText, _i = 0; _i < children.length; children.length === t1 || (0, A.throwConcurrentModificationError)(children), ++_i) { child = children[_i]; if (mergedTexts.length !== 0 && B.JSArray_methods.get$last(mergedTexts) instanceof A.RichText && child instanceof A.RichText) { previousTextSpan = t6._as(mergedTexts.pop()).text; t7 = previousTextSpan.children; if (t7 != null) { t8 = A._arrayInstanceType(t7)._eval$1("MappedListIterable<1,TextSpan>"); children0 = A.List_List$of(new A.MappedListIterable(t7, new A.MarkdownBuilder__mergeInlineChildren_closure(), t8), true, t8._eval$1("ListIterable.E")); } else children0 = A._setArrayType([previousTextSpan], t3); B.JSArray_methods.add$1(children0, child.text); mergedTexts.push(_this._buildRichText$3$selectionControls$textAlign(_this._mergeSimilarTextSpans$1(children0), t2, textAlign)); } else if (mergedTexts.length !== 0 && B.JSArray_methods.get$last(mergedTexts) instanceof A.SelectableText && child instanceof A.SelectableText) { previousTextSpan = t4._as(mergedTexts.pop()).textSpan; t7 = previousTextSpan.children; children0 = t7 != null ? A.List_List$from(t7, true, t5) : A._setArrayType([previousTextSpan], t3); t7 = child.textSpan; if (t7 != null) children0.push(t7); mergedTexts.push(_this._buildRichText$3$selectionControls$textAlign(_this._mergeSimilarTextSpans$1(children0), t2, textAlign)); } else mergedTexts.push(child); } return mergedTexts; }, _textAlignForBlockTag$1(blockTag) { switch (this._wrapAlignmentForBlockTag$1(blockTag).index) { case 0: return B.TextAlign_4; case 2: return B.TextAlign_2; case 1: return B.TextAlign_5; case 4: return B.TextAlign_3; case 3: return B.TextAlign_3; case 5: return B.TextAlign_3; } }, _wrapAlignmentForBlockTag$1(blockTag) { var _this = this; switch (blockTag) { case "p": return _this.styleSheet.textAlign; case "h1": return _this.styleSheet.h1Align; case "h2": return _this.styleSheet.h2Align; case "h3": return _this.styleSheet.h3Align; case "h4": return _this.styleSheet.h4Align; case "h5": return _this.styleSheet.h5Align; case "h6": return _this.styleSheet.h6Align; case "ul": return _this.styleSheet.unorderedListAlign; case "ol": return _this.styleSheet.orderedListAlign; case "blockquote": return _this.styleSheet.blockquoteAlign; case "pre": return _this.styleSheet.codeblockAlign; case "hr": A.print("Markdown did not handle hr for alignment"); break; case "li": A.print("Markdown did not handle li for alignment"); break; } return B.WrapAlignment_0; }, _textPaddingForBlockTag$1(blockTag) { var _this = this; switch (blockTag) { case "p": return _this.styleSheet.pPadding; case "h1": return _this.styleSheet.h1Padding; case "h2": return _this.styleSheet.h2Padding; case "h3": return _this.styleSheet.h3Padding; case "h4": return _this.styleSheet.h4Padding; case "h5": return _this.styleSheet.h5Padding; case "h6": return _this.styleSheet.h6Padding; } return B.EdgeInsets_0_0_0_0; }, _mergeSimilarTextSpans$1(textSpans) { var mergedSpans, index, nextChild, previous, buffer, t2, t3, _null = null, t1 = textSpans.length; if (t1 < 2) return A.TextSpan$(textSpans, _null, _null, _null, _null, _null); mergedSpans = A._setArrayType([B.JSArray_methods.get$first(textSpans)], type$.JSArray_TextSpan); for (index = 1; index < textSpans.length; ++index) { nextChild = textSpans[index]; if (nextChild.recognizer == B.JSArray_methods.get$last(mergedSpans).recognizer) { B.JSArray_methods.get$last(mergedSpans); t1 = J.$eq$(nextChild.style, B.JSArray_methods.get$last(mergedSpans).style); } else t1 = false; if (t1) { previous = mergedSpans.pop(); buffer = new A.StringBuffer(""); previous.computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, true, true); t1 = buffer._contents; buffer = new A.StringBuffer(""); nextChild.computeToPlainText$3$includePlaceholders$includeSemanticsLabels(buffer, true, true); t2 = buffer._contents; t2 = (t1.charCodeAt(0) == 0 ? t1 : t1) + (t2.charCodeAt(0) == 0 ? t2 : t2); t1 = previous.recognizer; t3 = t1 == null ? B.C__DeferringMouseCursor : B.SystemMouseCursor_click; mergedSpans.push(new A.TextSpan(t2, _null, t1, t3, previous.semanticsLabel, previous.style)); } else mergedSpans.push(nextChild); } return mergedSpans.length === 1 ? B.JSArray_methods.get$first(mergedSpans) : A.TextSpan$(mergedSpans, _null, _null, _null, _null, _null); }, _buildRichText$3$selectionControls$textAlign(text, selectionControls, textAlign) { var t2, _null = null, k = new A.UniqueKey(), t1 = this.styleSheet.textScaleFactor; if (this.selectable) { t2 = textAlign == null ? B.TextAlign_4 : textAlign; return A.SelectableText$rich(text, k, _null, this.onTapText, selectionControls, _null, t2, _null, t1); } else { t1.toString; return A.RichText$(k, _null, _null, B.TextOverflow_0, true, _null, text, textAlign == null ? B.TextAlign_4 : textAlign, _null, _null, t1, B.TextWidthBasis_0); } }, _buildRichText$1(text) { return this._buildRichText$3$selectionControls$textAlign(text, null, null); } }; A.MarkdownBuilder_extractTextFromElement_closure.prototype = { call$1(e) { return e instanceof A.Text1 ? e.text : this.$this.extractTextFromElement$1(e); }, $signature: 791 }; A.MarkdownBuilder_visitText_trimText.prototype = { call$1(text) { var _leadingSpacesPattern = A.RegExp_RegExp("^ *", true, false), _softLineBreak = A.RegExp_RegExp(" ?\\n *", true, false); if (this.$this._lastTag === "br") text = A.stringReplaceAllUnchecked(text, _leadingSpacesPattern, ""); return A.stringReplaceAllUnchecked(text, _softLineBreak, " "); }, $signature: 35 }; A.MarkdownBuilder__mergeInlineChildren_closure.prototype = { call$1(span) { var _null = null; return !(span instanceof A.TextSpan) ? A.TextSpan$(A._setArrayType([span], type$.JSArray_InlineSpan), _null, _null, _null, _null, _null) : span; }, $signature: 792 }; A.MarkdownStyleSheet.prototype = { copyWith$50$a$blockSpacing$blockquote$blockquoteAlign$blockquoteDecoration$blockquotePadding$checkbox$code$codeblockAlign$codeblockDecoration$codeblockPadding$del$em$h1$h1Align$h1Padding$h2$h2Align$h2Padding$h3$h3Align$h3Padding$h4$h4Align$h4Padding$h5$h5Align$h5Padding$h6$h6Align$h6Padding$horizontalRuleDecoration$img$listBullet$listBulletPadding$listIndent$orderedListAlign$p$pPadding$strong$tableBody$tableBorder$tableCellsDecoration$tableCellsPadding$tableColumnWidth$tableHead$tableHeadAlign$textAlign$textScaleFactor$unorderedListAlign(a, blockSpacing, blockquote, blockquoteAlign, blockquoteDecoration, blockquotePadding, checkbox, code, codeblockAlign, codeblockDecoration, codeblockPadding, del, em, h1, h1Align, h1Padding, h2, h2Align, h2Padding, h3, h3Align, h3Padding, h4, h4Align, h4Padding, h5, h5Align, h5Padding, h6, h6Align, h6Padding, horizontalRuleDecoration, img, listBullet, listBulletPadding, listIndent, orderedListAlign, p, pPadding, strong, tableBody, tableBorder, tableCellsDecoration, tableCellsPadding, tableColumnWidth, tableHead, tableHeadAlign, textAlign, textScaleFactor, unorderedListAlign) { var _this = this, t1 = a == null ? _this.a : a, t2 = p == null ? _this.p : p, t3 = pPadding == null ? _this.pPadding : pPadding, t4 = code == null ? _this.code : code, t5 = h1 == null ? _this.h1 : h1, t6 = h1Padding == null ? _this.h1Padding : h1Padding, t7 = h2 == null ? _this.h2 : h2, t8 = h2Padding == null ? _this.h2Padding : h2Padding, t9 = h3 == null ? _this.h3 : h3, t10 = h3Padding == null ? _this.h3Padding : h3Padding, t11 = h4 == null ? _this.h4 : h4, t12 = h4Padding == null ? _this.h4Padding : h4Padding, t13 = h5 == null ? _this.h5 : h5, t14 = h5Padding == null ? _this.h5Padding : h5Padding, t15 = h6 == null ? _this.h6 : h6, t16 = h6Padding == null ? _this.h6Padding : h6Padding, t17 = em == null ? _this.em : em, t18 = strong == null ? _this.strong : strong, t19 = del == null ? _this.del : del, t20 = blockquote == null ? _this.blockquote : blockquote, t21 = img == null ? _this.img : img, t22 = checkbox == null ? _this.checkbox : checkbox, t23 = blockSpacing == null ? _this.blockSpacing : blockSpacing, t24 = listIndent == null ? _this.listIndent : listIndent, t25 = listBullet == null ? _this.listBullet : listBullet, t26 = listBulletPadding == null ? _this.listBulletPadding : listBulletPadding, t27 = tableHead == null ? _this.tableHead : tableHead, t28 = tableBody == null ? _this.tableBody : tableBody, t29 = tableHeadAlign == null ? _this.tableHeadAlign : tableHeadAlign, t30 = tableBorder == null ? _this.tableBorder : tableBorder, t31 = tableColumnWidth == null ? _this.tableColumnWidth : tableColumnWidth, t32 = tableCellsPadding == null ? _this.tableCellsPadding : tableCellsPadding, t33 = tableCellsDecoration == null ? _this.tableCellsDecoration : tableCellsDecoration, t34 = blockquotePadding == null ? _this.blockquotePadding : blockquotePadding, t35 = blockquoteDecoration == null ? _this.blockquoteDecoration : blockquoteDecoration, t36 = codeblockPadding == null ? _this.codeblockPadding : codeblockPadding, t37 = codeblockDecoration == null ? _this.codeblockDecoration : codeblockDecoration, t38 = horizontalRuleDecoration == null ? _this.horizontalRuleDecoration : horizontalRuleDecoration, t39 = textAlign == null ? _this.textAlign : textAlign, t40 = h1Align == null ? _this.h1Align : h1Align, t41 = h2Align == null ? _this.h2Align : h2Align, t42 = h3Align == null ? _this.h3Align : h3Align, t43 = h4Align == null ? _this.h4Align : h4Align, t44 = h5Align == null ? _this.h5Align : h5Align, t45 = h6Align == null ? _this.h6Align : h6Align, t46 = unorderedListAlign == null ? _this.unorderedListAlign : unorderedListAlign, t47 = orderedListAlign == null ? _this.orderedListAlign : orderedListAlign, t48 = blockquoteAlign == null ? _this.blockquoteAlign : blockquoteAlign, t49 = codeblockAlign == null ? _this.codeblockAlign : codeblockAlign; return A.MarkdownStyleSheet$(t1, t23, t20, t48, t35, t34, t22, t4, t49, t37, t36, t19, t17, t5, t40, t6, t7, t41, t8, t9, t42, t10, t11, t43, t12, t13, t44, t14, t15, t45, t16, t38, t21, t25, t26, t24, t47, t2, t3, t18, t28, t30, t33, t32, t31, t27, t29, t39, textScaleFactor == null ? _this.textScaleFactor : textScaleFactor, t46); }, copyWith$1$textScaleFactor(textScaleFactor) { return this.copyWith$50$a$blockSpacing$blockquote$blockquoteAlign$blockquoteDecoration$blockquotePadding$checkbox$code$codeblockAlign$codeblockDecoration$codeblockPadding$del$em$h1$h1Align$h1Padding$h2$h2Align$h2Padding$h3$h3Align$h3Padding$h4$h4Align$h4Padding$h5$h5Align$h5Padding$h6$h6Align$h6Padding$horizontalRuleDecoration$img$listBullet$listBulletPadding$listIndent$orderedListAlign$p$pPadding$strong$tableBody$tableBorder$tableCellsDecoration$tableCellsPadding$tableColumnWidth$tableHead$tableHeadAlign$textAlign$textScaleFactor$unorderedListAlign(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, textScaleFactor, null); }, merge$1(other) { var _this = this, t1 = _this.a.merge$1(other.a), t2 = _this.p.merge$1(other.p), t3 = _this.code.merge$1(other.code), t4 = _this.h1.merge$1(other.h1), t5 = _this.h2.merge$1(other.h2), t6 = _this.h3.merge$1(other.h3), t7 = _this.h4.merge$1(other.h4), t8 = _this.h5.merge$1(other.h5), t9 = _this.h6.merge$1(other.h6), t10 = _this.em.merge$1(other.em), t11 = _this.strong.merge$1(other.strong), t12 = _this.del.merge$1(other.del), t13 = _this.blockquote.merge$1(other.blockquote), t14 = _this.img.merge$1(other.img), t15 = _this.checkbox.merge$1(other.checkbox), t16 = _this.listBullet.merge$1(other.listBullet), t17 = _this.tableHead.merge$1(other.tableHead); return _this.copyWith$50$a$blockSpacing$blockquote$blockquoteAlign$blockquoteDecoration$blockquotePadding$checkbox$code$codeblockAlign$codeblockDecoration$codeblockPadding$del$em$h1$h1Align$h1Padding$h2$h2Align$h2Padding$h3$h3Align$h3Padding$h4$h4Align$h4Padding$h5$h5Align$h5Padding$h6$h6Align$h6Padding$horizontalRuleDecoration$img$listBullet$listBulletPadding$listIndent$orderedListAlign$p$pPadding$strong$tableBody$tableBorder$tableCellsDecoration$tableCellsPadding$tableColumnWidth$tableHead$tableHeadAlign$textAlign$textScaleFactor$unorderedListAlign(t1, other.blockSpacing, t13, other.blockquoteAlign, other.blockquoteDecoration, other.blockquotePadding, t15, t3, other.codeblockAlign, other.codeblockDecoration, other.codeblockPadding, t12, t10, t4, other.h1Align, other.h1Padding, t5, other.h2Align, other.h2Padding, t6, other.h3Align, other.h3Padding, t7, other.h4Align, other.h4Padding, t8, other.h5Align, other.h5Padding, t9, other.h6Align, other.h6Padding, other.horizontalRuleDecoration, t14, t16, other.listBulletPadding, other.listIndent, other.orderedListAlign, t2, other.pPadding, t11, _this.tableBody.merge$1(other.tableBody), other.tableBorder, other.tableCellsDecoration, other.tableCellsPadding, other.tableColumnWidth, t17, other.tableHeadAlign, other.textAlign, other.textScaleFactor, other.unorderedListAlign); }, $eq(_, other) { var _this = this; if (other == null) return false; if (_this === other) return true; if (J.get$runtimeType$(other) !== B.Type_MarkdownStyleSheet_Auo) return false; return other.a.$eq(0, _this.a) && J.$eq$(other.p, _this.p) && other.pPadding.$eq(0, _this.pPadding) && other.code.$eq(0, _this.code) && J.$eq$(other.h1, _this.h1) && other.h1Padding.$eq(0, _this.h1Padding) && J.$eq$(other.h2, _this.h2) && other.h2Padding.$eq(0, _this.h2Padding) && J.$eq$(other.h3, _this.h3) && other.h3Padding.$eq(0, _this.h3Padding) && J.$eq$(other.h4, _this.h4) && other.h4Padding.$eq(0, _this.h4Padding) && J.$eq$(other.h5, _this.h5) && other.h5Padding.$eq(0, _this.h5Padding) && J.$eq$(other.h6, _this.h6) && other.h6Padding.$eq(0, _this.h6Padding) && other.em.$eq(0, _this.em) && other.strong.$eq(0, _this.strong) && other.del.$eq(0, _this.del) && J.$eq$(other.blockquote, _this.blockquote) && J.$eq$(other.img, _this.img) && other.checkbox.$eq(0, _this.checkbox) && other.blockSpacing === _this.blockSpacing && other.listIndent === _this.listIndent && J.$eq$(other.listBullet, _this.listBullet) && other.listBulletPadding.$eq(0, _this.listBulletPadding) && other.tableHead.$eq(0, _this.tableHead) && J.$eq$(other.tableBody, _this.tableBody) && other.tableHeadAlign === _this.tableHeadAlign && other.tableBorder.$eq(0, _this.tableBorder) && other.tableColumnWidth === _this.tableColumnWidth && other.tableCellsPadding.$eq(0, _this.tableCellsPadding) && other.tableCellsDecoration.$eq(0, _this.tableCellsDecoration) && other.blockquotePadding.$eq(0, _this.blockquotePadding) && other.blockquoteDecoration.$eq(0, _this.blockquoteDecoration) && other.codeblockPadding.$eq(0, _this.codeblockPadding) && other.codeblockDecoration.$eq(0, _this.codeblockDecoration) && other.horizontalRuleDecoration.$eq(0, _this.horizontalRuleDecoration) && other.textAlign === _this.textAlign && other.h1Align === _this.h1Align && other.h2Align === _this.h2Align && other.h3Align === _this.h3Align && other.h4Align === _this.h4Align && other.h5Align === _this.h5Align && other.h6Align === _this.h6Align && other.unorderedListAlign === _this.unorderedListAlign && other.orderedListAlign === _this.orderedListAlign && other.blockquoteAlign === _this.blockquoteAlign && other.codeblockAlign === _this.codeblockAlign && other.textScaleFactor == _this.textScaleFactor; }, get$hashCode(_) { var _this = this; return A.hashList([_this.a, _this.p, _this.pPadding, _this.code, _this.h1, _this.h1Padding, _this.h2, _this.h2Padding, _this.h3, _this.h3Padding, _this.h4, _this.h4Padding, _this.h5, _this.h5Padding, _this.h6, _this.h6Padding, _this.em, _this.strong, _this.del, _this.blockquote, _this.img, _this.checkbox, _this.blockSpacing, _this.listIndent, _this.listBullet, _this.listBulletPadding, _this.tableHead, _this.tableBody, _this.tableHeadAlign, _this.tableBorder, _this.tableColumnWidth, _this.tableCellsPadding, _this.tableCellsDecoration, _this.blockquotePadding, _this.blockquoteDecoration, _this.codeblockPadding, _this.codeblockDecoration, _this.horizontalRuleDecoration, _this.textAlign, _this.h1Align, _this.h2Align, _this.h3Align, _this.h4Align, _this.h5Align, _this.h6Align, _this.unorderedListAlign, _this.orderedListAlign, _this.blockquoteAlign, _this.codeblockAlign, _this.textScaleFactor]); } }; A.MarkdownStyleSheetBaseTheme.prototype = { toString$0(_) { return "MarkdownStyleSheetBaseTheme." + this._core$_name; } }; A.MarkdownListItemCrossAxisAlignment.prototype = { toString$0(_) { return "MarkdownListItemCrossAxisAlignment." + this._core$_name; } }; A.MarkdownWidget.prototype = { createState$0() { return new A._MarkdownWidgetState(A._setArrayType([], type$.JSArray_GestureRecognizer), B._StateLifecycle_0); }, get$data(receiver) { return this.data; } }; A._MarkdownWidgetState.prototype = { didChangeDependencies$0() { this._parseMarkdown$0(); this.super$State$didChangeDependencies(); }, didUpdateWidget$1(oldWidget) { var t1; this.super$State$didUpdateWidget(oldWidget); t1 = this._widget; if (t1.data !== oldWidget.data || !t1.styleSheet.$eq(0, oldWidget.styleSheet)) this._parseMarkdown$0(); }, dispose$0(_) { this._disposeRecognizers$0(); this.super$State$dispose(0); }, _parseMarkdown$0() { var styleSheet, t3, t4, $document, t5, nodes, t6, t7, t8, t9, t10, _this = this, t1 = $.$get$kFallbackStyle(), t2 = _this._framework$_element; t2.toString; styleSheet = t1.call$2(t2, _this._widget.styleSheetTheme).merge$1(_this._widget.styleSheet); _this._disposeRecognizers$0(); _this._widget.toString; t1 = A._setArrayType([], type$.JSArray_InlineSyntax); t1.push(new A.TaskListSyntax(A.RegExp_RegExp("^ *\\[([ xX])\\] +", true, true), null)); _this._widget.toString; t2 = $.$get$ExtensionSet_gitHubFlavored(); t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.BlockSyntax); t4 = A.LinkedHashSet_LinkedHashSet$_empty(type$.InlineSyntax); if (t2 == null) t2 = $.$get$ExtensionSet_commonMark(); $document = new A.Document1(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.LinkReference), t2, false, t3, t4); t5 = A._setArrayType([], type$.JSArray_BlockSyntax); t3.addAll$1(0, t5); t3.addAll$1(0, t2.blockSyntaxes); t4.addAll$1(0, t1); t4.addAll$1(0, t2.inlineSyntaxes); nodes = A.BlockParser$(B.C_LineSplitter.convert$1(_this._widget.data), $document).parseLines$0(); $document._parseInlineContent$1(nodes); t1 = _this._widget; t2 = t1.selectable; t3 = t1.imageDirectory; t4 = t1.imageBuilder; t5 = t1.checkboxBuilder; t6 = t1.bulletBuilder; t7 = t1.builders; t8 = t1.paddingBuilders; t9 = t1.listItemCrossAxisAlignment; t10 = t1.onTapText; _this._widget$_children = new A.MarkdownBuilder(_this, t1.selectionControls, t2, styleSheet, t3, t4, t5, t6, t7, t8, true, t9, t10, false, A._setArrayType([], type$.JSArray_String), A._setArrayType([], type$.JSArray__BlockElement), A._setArrayType([], type$.JSArray__TableElement), A._setArrayType([], type$.JSArray__InlineElement), A._setArrayType([], type$.JSArray_GestureRecognizer)).build$1(0, nodes); }, _disposeRecognizers$0() { var localRecognizers, _i, t1 = this._widget$_recognizers; if (t1.length === 0) return; localRecognizers = A.List_List$from(t1, true, type$.GestureRecognizer); B.JSArray_methods.set$length(t1, 0); for (t1 = localRecognizers.length, _i = 0; _i < t1; ++_i) J.dispose$0$x(localRecognizers[_i]); }, createLink$3(text, href, title) { var recognizer = A.TapGestureRecognizer$(null); recognizer.onTap = new A._MarkdownWidgetState_createLink_closure(this, text, href, title); this._widget$_recognizers.push(recognizer); return recognizer; }, formatText$2(styleSheet, code) { var _null = null, t1 = A.RegExp_RegExp("\\n$", true, false); code = A.stringReplaceAllUnchecked(code, t1, ""); this._widget.toString; return A.TextSpan$(_null, _null, _null, _null, styleSheet.code, code); }, build$1(_, context) { return this._widget.build$2(0, context, this._widget$_children); } }; A._MarkdownWidgetState_createLink_closure.prototype = { call$0() { this.$this._widget.toString; }, $signature: 0 }; A.MarkdownBody.prototype = { build$2(_, context, children) { if (children.length === 1) return B.JSArray_methods.get$single(children); return A.Column$(children, B.CrossAxisAlignment_0, B.MainAxisAlignment_0, B.MainAxisSize_0, B.VerticalDirection_1); } }; A.TaskListSyntax.prototype = { onMatch$2(parser, match) { var t3, t1 = A._setArrayType([], type$.JSArray_Node_2), t2 = type$.String; t2 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); t2.$indexSet(0, "type", "checkbox"); t2.$indexSet(0, "disabled", "true"); t3 = match._match[1]; t3.toString; t2.$indexSet(0, "checked", "" + (B.JSString_methods.trim$0(t3).length !== 0)); parser._inline_parser$_tree.push(new A.Element1("input", t1, t2)); return true; } }; A.AccentRenderConfig.prototype = {}; A.FontMetrics.prototype = {}; A.AccentNode.prototype = { buildWidget$2(options, childBuildResults) { var skew, t3, accentRenderConfig, accentWidget, _this = this, _null = null, t1 = {}, t2 = childBuildResults[0]; t2.toString; skew = _this.isShifty ? t2.skew : 0; if (!_this.isStretchy) { t1.accentSymbolWidget = null; t3 = _this.label; if (t3 === "\u2192") t1.accentSymbolWidget = A.staticSvg("vec", options, true); else { accentRenderConfig = B.Map_69wEo.$index(0, t3); if (accentRenderConfig == null || accentRenderConfig.overChar == null) t1.accentSymbolWidget = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); else { t3 = accentRenderConfig.overChar; t3.toString; t1.accentSymbolWidget = A.makeBaseSymbol(B.AtomType_0, B.Mode_1, options, _null, t3, false).widget; } } accentWidget = new A.LayoutBuilder(new A.AccentNode_buildWidget_closure(t1, options), _null); } else accentWidget = new A.LayoutBuilder(new A.AccentNode_buildWidget_closure0(_this, options), _null); return new A.BuildResult(A.VList$(1, A._setArrayType([A.VListElement$(accentWidget, new A.AccentNode_buildWidget_closure1(skew), skew, 0), A.MinDimension$(0, t2.widget, 0, new A.Measurement(options.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(options), 0)], type$.JSArray_Widget)), options, t2.italic, t2.skew, _null); }, computeChildOptions$1(options) { return A._setArrayType([options.havingCrampedStyle$0()], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var _this = this, t1 = _this.super$GreenNode$toJson(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["base", _this.base.toJson$0(), "label", A.unicodeLiteral(_this.label), "isStretchy", _this.isStretchy, "isShifty", _this.isShifty], type$.String, type$.nullable_Object)); return t1; } }; A.AccentNode_buildWidget_closure.prototype = { call$2(context, constraints) { var t1 = this.options; t1 = new A.Measurement(t1.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(t1); return A.ResetDimension$(A.ShiftBaseline$(this._box_0.accentSymbolWidget, -t1, 1), 0, null, B.CrossAxisAlignment_2, constraints.minWidth); }, $signature: 793 }; A.AccentNode_buildWidget_closure0.prototype = { call$2(context, constraints) { var defaultRuleThickness, accentRenderConfig, t2, t3, svgWidget, _null = null, t1 = this.$this.label; if (t1 === "\xaf") { t1 = this.options; defaultRuleThickness = new A.Measurement(t1.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(t1); return new A.Padding(new A.EdgeInsets(0, 0, 0, 3 * defaultRuleThickness), A.Container$(_null, _null, B.Clip_0, t1.color, _null, _null, _null, defaultRuleThickness, _null, _null, _null, _null, _null, constraints.minWidth), _null); } else { accentRenderConfig = B.Map_69wEo.$index(0, t1); if (accentRenderConfig == null || accentRenderConfig.overImageName == null) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t2 = accentRenderConfig.overImageName; t2.toString; t3 = this.options; svgWidget = A.strechySvgSpan(t2, constraints.minWidth, t3); if (t1 === "\u23de") return new A.Padding(new A.EdgeInsets(0, 0, 0, new A.Measurement(0.1, B.Unit_16).toLpUnder$1(t3)), svgWidget, _null); else return svgWidget; } }, $signature: 86 }; A.AccentNode_buildWidget_closure1.prototype = { call$1(width) { return new A.BoxConstraints(width - 2 * this.skew, 1 / 0, 0, 1 / 0); }, $signature: 182 }; A.AccentUnderNode.prototype = { buildWidget$2(options, childBuildResults) { var baseResult = childBuildResults[0], t1 = baseResult.italic, t2 = baseResult.skew, t3 = this.label === "~" ? new A.Measurement(0.12, B.Unit_16).toLpUnder$1(options) : 0; return new A.BuildResult(A.VList$(0, A._setArrayType([A.VListElement$(baseResult.widget, null, 0, t3), A.VListElement$(new A.LayoutBuilder(new A.AccentUnderNode_buildWidget_closure(this, options), null), new A.AccentUnderNode_buildWidget_closure0(), 0, 0)], type$.JSArray_Widget)), options, t1, t2, null); }, computeChildOptions$1(options) { return A._setArrayType([options.havingCrampedStyle$0()], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["base", this.base.toJson$0(), "label", A.unicodeLiteral(this.label)], type$.String, type$.nullable_Object)); return t1; } }; A.AccentUnderNode_buildWidget_closure0.prototype = { call$1(width) { return new A.BoxConstraints(width, 1 / 0, 0, 1 / 0); }, $signature: 182 }; A.AccentUnderNode_buildWidget_closure.prototype = { call$2(context, constraints) { var defaultRuleThickness, accentRenderConfig, _null = null, t1 = this.$this.label; if (t1 === "\xaf") { t1 = this.options; defaultRuleThickness = new A.Measurement(t1.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(t1); return new A.Padding(new A.EdgeInsets(0, 3 * defaultRuleThickness, 0, 0), A.Container$(_null, _null, B.Clip_0, t1.color, _null, _null, _null, defaultRuleThickness, _null, _null, _null, _null, _null, constraints.minWidth), _null); } else { accentRenderConfig = B.Map_69wEo.$index(0, t1); if (accentRenderConfig == null || accentRenderConfig.underImageName == null) return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); t1 = accentRenderConfig.underImageName; t1.toString; return A.strechySvgSpan(t1, constraints.minWidth, this.options); } }, $signature: 86 }; A.EnclosureNode.prototype = { buildWidget$2(options, childBuildResults) { var t1, t2, side, t3, widget, t4, _this = this, _null = null, horizontalPadding = _this.horizontalPadding.toLpUnder$1(options), verticalPadding = _this.verticalPadding.toLpUnder$1(options); if (_this.hasBorder) { t1 = new A.Measurement(options.get$fontMetrics().fboxrule, B.Unit_16).toLpUnder$1(options); t2 = _this.bordercolor; side = new A.BorderSide(t2 == null ? options.color : t2, t1, B.BorderStyle_1); t1 = new A.BoxDecoration(_this.backgroundcolor, _null, new A.Border(side, side, side, side), _null, _null, _null, B.BoxShape_0); } else t1 = _null; t2 = type$.JSArray_Widget; t1 = A._setArrayType([A.Container$(_null, new A.Padding(new A.EdgeInsets(horizontalPadding, verticalPadding, horizontalPadding, verticalPadding), childBuildResults[0].widget, _null), B.Clip_0, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, _null)], t2); t3 = _this.notation; if (B.JSArray_methods.contains$1(t3, "updiagonalstrike")) t1.push(A.Positioned$(0, new A.LayoutBuilder(new A.EnclosureNode_buildWidget_closure(_this, options), _null), _null, _null, 0, 0, 0, _null)); if (B.JSArray_methods.contains$1(t3, "downdiagnoalstrike")) t1.push(A.Positioned$(0, new A.LayoutBuilder(new A.EnclosureNode_buildWidget_closure0(_this, options), _null), _null, _null, 0, 0, 0, _null)); widget = A.Stack$(B.AlignmentDirectional_m1_m1, t1, B.StackFit_0, _null, _null); if (B.JSArray_methods.contains$1(t3, "horizontalstrike")) { t1 = new A.Measurement(options.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(options); t3 = new A.Measurement(options.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(options); t4 = _this.bordercolor; if (t4 == null) t4 = options.color; widget = new A.CustomLayout(new A.HorizontalStrikeDelegate(t3, t1 / 2, t4), A._setArrayType([A.CustomLayoutId$(widget, 0, type$.int)], t2), _null, type$.CustomLayout_int); } return new A.BuildResult(widget, options, 0, 0, _null); }, computeChildOptions$1(options) { return A._setArrayType([options], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t3, t4, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "base", _this.base.toJson$0()); t2.$indexSet(0, "hasBorder", _this.hasBorder); t3 = _this.bordercolor; if (t3 != null) t2.$indexSet(0, "bordercolor", t3); t3 = _this.backgroundcolor; if (t3 != null) t2.$indexSet(0, "backgroundcolor", t3); t3 = _this.notation; if (t3.length !== 0) t2.$indexSet(0, "notation", t3); t3 = _this.horizontalPadding; if (t3 !== B.Measurement_0_Unit_0) { t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t2.$indexSet(0, "horizontalPadding", t4 + t3); } t3 = _this.verticalPadding; if (t3 !== B.Measurement_0_Unit_0) { t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t2.$indexSet(0, "verticalPadding", t4 + t3); } t1.addAll$1(0, t2); return t1; } }; A.EnclosureNode_buildWidget_closure.prototype = { call$2(context, constraints) { var _null = null, t1 = B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), t2 = B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight), t3 = this.options, t4 = new A.Measurement(0.046, B.Unit_16).toLpUnder$1(t3), t5 = this.$this.bordercolor; return A.CustomPaint$(_null, _null, _null, new A.LinePainter(0, 1, 1, 0, t4, t5 == null ? t3.color : t5, _null), new A.Size(t1, t2)); }, $signature: 324 }; A.EnclosureNode_buildWidget_closure0.prototype = { call$2(context, constraints) { var _null = null, t1 = B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), t2 = B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight), t3 = this.options, t4 = new A.Measurement(0.046, B.Unit_16).toLpUnder$1(t3), t5 = this.$this.bordercolor; return A.CustomPaint$(_null, _null, _null, new A.LinePainter(0, 0, 1, 1, t4, t5 == null ? t3.color : t5, _null), new A.Size(t1, t2)); }, $signature: 324 }; A.LinePainter.prototype = { paint$2(canvas, size) { var _this = this, t1 = size._dx, t2 = size._dy, t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$strokeWidth(_this.lineWidth); t3.set$color(0, _this.color); canvas.drawLine$3(0, new A.Offset(_this.startRelativeX * t1, _this.startRelativeY * t2), new A.Offset(_this.endRelativeX * t1, _this.endRelativeY * t2), t3); }, shouldRepaint$1(oldDelegate) { return this !== oldDelegate; } }; A.HorizontalStrikeDelegate.prototype = { computeDistanceToActualBaseline$2(baseline, childrenTable) { return this.height; }, getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(childSize, childrenTable, extent, max, sizingDirection) { var t1 = childrenTable.$index(0, 0); t1.toString; return childSize.call$2(t1, 1 / 0); }, computeLayout$3$dry(constraints, childrenTable, dry) { var t2, t1 = childrenTable.$index(0, 0); t1.toString; if (dry) return t1.getDryLayout$1(constraints); t1.layout$2$parentUsesSize(0, constraints, true); t2 = t1.getDistanceToBaseline$1(B.TextBaseline_0); t2.toString; this.height = t2; t1 = t1._size; this.width = t1._dx; return t1; }, additionalPaint$2(context, offset) { var _this = this, t1 = context.get$canvas(context), t2 = offset._dx, t3 = offset._dy + _this.height - _this.vShift, t4 = _this.width, t5 = A._detectRenderer(); t5 = t5 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t5.set$strokeWidth(_this.ruleThickness); t5.set$color(0, _this.color); t1.drawLine$3(0, new A.Offset(t2, t3), new A.Offset(t2 + t4, t3), t5); }, set$height(receiver, val) { return this.height = val; }, set$width(receiver, val) { return this.width = val; } }; A.EquationArrayNode.prototype = { buildWidget$2(options, childBuildResults) { var _this = this, t1 = new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options), t2 = new A.Measurement(options.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(options), t3 = _this.addJot ? new A.Measurement(3, B.Unit_0).toLpUnder$1(options) : 0, t4 = A._arrayInstanceType(childBuildResults)._eval$1("MappedListIterable<1,Widget>"); return new A.BuildResult(A.ShiftBaseline$(new A.EqnArray(t2, t3, new A.Measurement(12, B.Unit_0).toLpUnder$1(options) * _this.arrayStretch, _this.hlines, J.map$1$1$ax(_this.rowSpacings, new A.EquationArrayNode_buildWidget_closure(options), type$.double).toList$1$growable(0, false), A.List_List$of(new A.MappedListIterable(childBuildResults, new A.EquationArrayNode_buildWidget_closure0(), t4), false, t4._eval$1("ListIterable.E")), null), t1, 0.5), options, 0, 0, null); }, computeChildOptions$1(options) { return A.List_List$filled(this.body.length, options, false, type$.MathOptions); }, computeChildren$0() { return this.body; }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t4, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = type$.String, t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Object); if (_this.addJot) t3.$indexSet(0, "addJot", true); t4 = _this.body; t3.$indexSet(0, "body", new A.MappedListIterable(t4, new A.EquationArrayNode_toJson_closure(), A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,Map<String,Object?>>"))); t4 = _this.arrayStretch; if (t4 !== 1) t3.$indexSet(0, "arrayStretch", t4); t3.$indexSet(0, "hlines", J.map$1$1$ax(_this.hlines, new A.EquationArrayNode_toJson_closure0(), t2)); t3.$indexSet(0, "rowSpacings", J.map$1$1$ax(_this.rowSpacings, new A.EquationArrayNode_toJson_closure1(), t2)); t1.addAll$1(0, t3); return t1; } }; A.EquationArrayNode_buildWidget_closure.prototype = { call$1(e) { return e.toLpUnder$1(this.options); }, $signature: 325 }; A.EquationArrayNode_buildWidget_closure0.prototype = { call$1(e) { return e.widget; }, $signature: 797 }; A.EquationArrayNode_toJson_closure.prototype = { call$1(e) { return e.toJson$0(); }, $signature: 326 }; A.EquationArrayNode_toJson_closure0.prototype = { call$1(e) { return "MatrixSeparatorStyle." + e._core$_name; }, $signature: 183 }; A.EquationArrayNode_toJson_closure1.prototype = { call$1(e) { var t1 = A.S(e.value), t2 = B.Map_YD46S.$index(0, e.unit); t2.toString; return t1 + t2; }, $signature: 327 }; A.FracNode.prototype = { computeChildren$0() { return A._setArrayType([this.numerator, this.denominator], type$.JSArray_EquationRowNode); }, buildWidget$2(options, childBuildResults) { var t1 = type$._FracPos; return new A.BuildResult(new A.CustomLayout(new A.FracLayoutDelegate(this.barSize, options), A._setArrayType([A.CustomLayoutId$(childBuildResults[0].widget, B._FracPos_0, t1), A.CustomLayoutId$(childBuildResults[1].widget, B._FracPos_1, t1)], type$.JSArray_Widget), null, type$.CustomLayout__FracPos), options, 0, 0, null); }, computeChildOptions$1(options) { var t1 = options.style; return A._setArrayType([options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_2)), options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_3))], type$.JSArray_MathOptions); }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, toJson$0() { var t3, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "numerator", _this.numerator.toJson$0()); t2.$indexSet(0, "denominator", _this.denominator.toJson$0()); t3 = _this.barSize; if (t3 != null) t2.$indexSet(0, "barSize", t3.toString$0(0)); if (_this.continued) t2.$indexSet(0, "continued", true); t1.addAll$1(0, t2); return t1; } }; A._FracPos.prototype = { toString$0(_) { return "_FracPos." + this._core$_name; } }; A.FracLayoutDelegate.prototype = { computeDistanceToActualBaseline$2(baseline, childrenTable) { return this.height; }, performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, isComputingIntrinsics) { var t2, barLength, width, t1 = childrenWidths.$index(0, B._FracPos_0); t1.toString; t2 = childrenWidths.$index(0, B._FracPos_1); t2.toString; barLength = Math.max(t1, t2); width = barLength + 2 * new A.Measurement(0.12, B.Unit_16).toLpUnder$1(this.options); if (!isComputingIntrinsics) { this.barLength = barLength; this.width = width; } return new A.AxisConfiguration(width, A.LinkedHashMap_LinkedHashMap$_literal([B._FracPos_0, 0.5 * (width - t1), B._FracPos_1, 0.5 * (width - t2)], type$._FracPos, type$.double), type$.AxisConfiguration__FracPos); }, performHorizontalIntrinsicLayout$1$childrenWidths(childrenWidths) { return this.performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, false); }, performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, isComputingIntrinsics) { var t2, t3, t4, t5, metrics, xi8, t6, theta, t7, u, v, a, dx, phi, psi, height, _this = this, t1 = childrenHeights.$index(0, B._FracPos_0); t1.toString; t2 = childrenHeights.$index(0, B._FracPos_1); t2.toString; t3 = childrenBaselines.$index(0, B._FracPos_0); t3.toString; t4 = childrenBaselines.$index(0, B._FracPos_1); t4.toString; t5 = _this.options; metrics = t5.get$fontMetrics(); xi8 = new A.Measurement(metrics.defaultRuleThickness, B.Unit_16).toLpUnder$1(t5); t6 = _this.barSize; theta = t6 == null ? null : t6.toLpUnder$1(t5); if (theta == null) theta = xi8; t6 = t5.style.index < 2; if (t6) t7 = metrics.num1; else t7 = theta !== 0 ? metrics.num2 : metrics.num3; u = new A.Measurement(t7, B.Unit_16).toLpUnder$1(t5); v = new A.Measurement(t6 ? metrics.denom1 : metrics.denom2, B.Unit_16).toLpUnder$1(t5); a = new A.Measurement(metrics.axisHeight, B.Unit_16).toLpUnder$1(t5); dx = t1 - t3; if (theta === 0) { phi = t6 ? 7 * xi8 : 3 * xi8; psi = u - dx - (t4 - v); if (psi < phi) { t1 = 0.5 * (phi - psi); u += t1; v += t1; } } else { phi = t6 ? 3 * theta : theta; t1 = 0.5 * theta; if (u - dx - a - t1 < phi) u = phi + dx + a + t1; if (a - t1 - t4 + v < phi) v = phi + t4 - a + t1; } height = t3 + u; if (!isComputingIntrinsics) { _this.height = height; _this.theta = theta; _this.a = a; } return new A.AxisConfiguration(height + (t2 - t4 + v), A.LinkedHashMap_LinkedHashMap$_literal([B._FracPos_0, height - u - t3, B._FracPos_1, height + v - t4], type$._FracPos, type$.double), type$.AxisConfiguration__FracPos); }, performVerticalIntrinsicLayout$2$childrenBaselines$childrenHeights(childrenBaselines, childrenHeights) { return this.performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, false); }, additionalPaint$2(context, offset) { var t1, paint, _this = this; if (_this.theta !== 0) { t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$color(0, _this.options.color); paint.set$strokeWidth(_this.theta); context.get$canvas(context).drawLine$3(0, new A.Offset(0.5 * (_this.width - _this.barLength), _this.height - _this.a).$add(0, offset), new A.Offset(0.5 * (_this.width + _this.barLength), _this.height - _this.a).$add(0, offset), paint); } }, set$height(receiver, val) { return this.height = val; }, set$width(receiver, val) { return this.width = val; } }; A.FunctionNode.prototype = { buildWidget$2(options, childBuildResults) { var _null = null, t1 = this.argument.overrideType; if (t1 == null) t1 = B.AtomType_0; t1 = A.getSpacingSize(B.AtomType_1, t1, options.style).toLpUnder$1(options); return new A.BuildResult(A.Line$(A._setArrayType([A.LineElement$(false, false, childBuildResults[0].widget, _null, t1), A.LineElement$(false, false, childBuildResults[1].widget, _null, 0)], type$.JSArray_Widget), _null), options, 0, 0, _null); }, computeChildOptions$1(options) { return A.List_List$filled(2, options, false, type$.MathOptions); }, computeChildren$0() { return A._setArrayType([this.functionName, this.argument], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_1; }, get$rightType() { var t1 = this.argument.overrideType; return t1 == null ? B.AtomType_0 : t1; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["functionName", this.functionName.toJson$0(), "argument", this.argument.toJson$0()], type$.String, type$.nullable_Object)); return t1; } }; A.LeftRightNode.prototype = { buildWidget$2(options, childBuildResults) { var numElements = 2 + this.body.length + this.middle.length; return new A.BuildResult(A.Line$(A.List_List$generate(numElements, new A.LeftRightNode_buildWidget_closure(this, new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options), options, numElements, childBuildResults), false, type$.LineElement), null), options, 0, 0, null); }, computeChildOptions$1(options) { return A.List_List$filled(this.body.length, options, false, type$.MathOptions); }, computeChildren$0() { return this.body; }, get$leftType() { return B.AtomType_4; }, get$rightType() { return B.AtomType_5; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object), t3 = _this.body; t2.$indexSet(0, "body", new A.MappedListIterable(t3, new A.LeftRightNode_toJson_closure(), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,Map<String,Object?>>"))); t2.$indexSet(0, "leftDelim", _this.leftDelim); t2.$indexSet(0, "rightDelim", _this.rightDelim); t3 = _this.middle; if (t3.length !== 0) t2.$indexSet(0, "middle", t3); t1.addAll$1(0, t2); return t1; } }; A.LeftRightNode_buildWidget_closure.prototype = { call$1(index) { var t1, t2, t3, t4, _this = this; if (B.JSInt_methods.$mod(index, 2) === 0) { t1 = _this.options; t2 = _this.numElements; if (index === t2 - 1) t3 = 0; else { t3 = index === 0 ? B.AtomType_4 : B.AtomType_3; t4 = _this.$this.body[B.JSInt_methods._tdivFast$1(index + 1, 2)].overrideType; if (t4 == null) t4 = B.AtomType_0; t4 = A.getSpacingSize(t3, t4, t1.style).toLpUnder$1(t1); t3 = t4; } return A.LineElement$(false, false, new A.LayoutBuilderPreserveBaseline(new A.LeftRightNode_buildWidget__closure(_this.$this, index, t2, t1), null), new A.LeftRightNode_buildWidget__closure0(_this.a, t1), t3); } else { t1 = B.JSInt_methods._tdivFast$1(index, 2); t2 = _this.$this.body[t1].overrideType; if (t2 == null) t2 = B.AtomType_0; t3 = index === _this.numElements - 2 ? B.AtomType_5 : B.AtomType_3; t4 = _this.options; t4 = A.getSpacingSize(t2, t3, t4.style).toLpUnder$1(t4); return A.LineElement$(false, false, _this.childBuildResults[t1].widget, null, t4); } }, $signature: 801 }; A.LeftRightNode_buildWidget__closure0.prototype = { call$2(height, depth) { var t1 = this.a, delta = Math.max(height - t1, depth + t1); return new A.BoxConstraints(0, 1 / 0, Math.max(delta / 500 * 901, 2 * delta - B.Measurement_5_Unit_0.toLpUnder$1(this.options)), 1 / 0); }, $signature: 802 }; A.LeftRightNode_buildWidget__closure.prototype = { call$2(context, constraints) { var t2, _this = this, t1 = _this.index; if (t1 === 0) t1 = _this.$this.leftDelim; else { t2 = _this.$this; t1 = t1 === _this.numElements - 1 ? t2.rightDelim : t2.middle[B.JSInt_methods._tdivFast$1(t1, 2) - 1]; } return A.buildCustomSizedDelimWidget(t1, constraints.minHeight, _this.options); }, $signature: 86 }; A.LeftRightNode_toJson_closure.prototype = { call$1(e) { return e.toJson$0(); }, $signature: 326 }; A.buildCustomSizedDelimWidget_closure.prototype = { call$1(element) { return A.getHeightForDelim(this.delim, element.font.get$fontName(), this.options, element.style) > this.minDelimiterHeight; }, $signature: 184 }; A.StackDelimiterConf.prototype = {}; A.MatrixSeparatorStyle.prototype = { toString$0(_) { return "MatrixSeparatorStyle." + this._core$_name; } }; A.MatrixColumnAlign.prototype = { toString$0(_) { return "MatrixColumnAlign." + this._core$_name; } }; A.MatrixNode.prototype = { buildWidget$2(options, childBuildResults) { var t10, _this = this, t1 = new A.Measurement(options.get$fontMetrics().axisHeight, B.Unit_16).toLpUnder$1(options), t2 = _this.rows, t3 = _this.cols, t4 = new A.Measurement(options.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(options), t5 = new A.Measurement(12, B.Unit_0).toLpUnder$1(options), t6 = type$.double, t7 = J.map$1$1$ax(_this.rowSpacings, new A.MatrixNode_buildWidget_closure(options), t6).toList$1$growable(0, false), t8 = _this.isSmall ? new A.Measurement(0.2777777777777778, B.Unit_16).toLpUnder$1(options.havingStyle$1(B.MathStyle_4)) : new A.Measurement(5, B.Unit_0).toLpUnder$1(options), t9 = A.List_List$filled(t3 + 1, 0, false, t6); t6 = A.List_List$filled(t2 + 1, 0, false, t6); t10 = A.IterableNullableExtension_whereNotNull(A.ListExtensions_mapIndexed(childBuildResults, new A.MatrixNode_buildWidget_closure0(), type$.nullable_BuildResult, type$.nullable_CustomLayoutId_int), type$.CustomLayoutId_int); return new A.BuildResult(A.ShiftBaseline$(new A.CustomLayout(new A.MatrixLayoutDelegate(t2, t3, t4, _this.arrayStretch * t5, t7, _this.hLines, _this.hskipBeforeAndAfter, t8, _this.vLines, _this.columnAligns, t6, t9), A.List_List$of(t10, false, t10.$ti._eval$1("Iterable.E")), null, type$.CustomLayout_int), t1, 0.5), options, 0, 0, null); }, computeChildOptions$1(options) { return A.List_List$filled(this.rows * this.cols, options, false, type$.MathOptions); }, computeChildren$0() { var t1 = J.expand$1$1$ax(this.body, new A.MatrixNode_computeChildren_closure(), type$.nullable_EquationRowNode); return A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t4, t5, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = type$.String, t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Object); t3.$indexSet(0, "cols", _this.cols); t4 = _this.arrayStretch; if (t4 !== 1) t3.$indexSet(0, "arrayStretch", t4); if (_this.hskipBeforeAndAfter) t3.$indexSet(0, "hskipBeforeAndAfter", true); if (_this.isSmall) t3.$indexSet(0, "isSmall", true); t3.$indexSet(0, "columnAligns", J.map$1$1$ax(_this.columnAligns, new A.MatrixNode_toJson_closure(), t2)); t3.$indexSet(0, "vLines", J.map$1$1$ax(_this.vLines, new A.MatrixNode_toJson_closure0(), t2)); t4 = _this.rowSpacings; t5 = J.getInterceptor$ax(t4); if (!t5.every$1(t4, new A.MatrixNode_toJson_closure1())) t3.$indexSet(0, "rowSpacings", t5.map$1$1(t4, new A.MatrixNode_toJson_closure2(), t2)); t4 = _this.hLines; t5 = J.getInterceptor$ax(t4); if (!t5.every$1(t4, new A.MatrixNode_toJson_closure3())) t3.$indexSet(0, "hLines", t5.map$1$1(t4, new A.MatrixNode_toJson_closure4(), t2)); t3.$indexSet(0, "body", J.map$1$1$ax(_this.body, new A.MatrixNode_toJson_closure5(), type$.Iterable_nullable_Map_of_String_and_nullable_Object)); t1.addAll$1(0, t3); return t1; } }; A.MatrixNode_MatrixNode_closure.prototype = { call$1(row) { return J.get$length$asx(row); }, $signature: 804 }; A.MatrixNode_MatrixNode_closure0.prototype = { call$1(row) { return A.ListExtension_extendToByFill(row, this.cols, null, type$.nullable_EquationRowNode); }, $signature: 328 }; A.MatrixNode_buildWidget_closure.prototype = { call$1(e) { return e.toLpUnder$1(this.options); }, $signature: 325 }; A.MatrixNode_buildWidget_closure0.prototype = { call$2(index, result) { return result == null ? null : A.CustomLayoutId$(result.widget, index, type$.int); }, $signature: 806 }; A.MatrixNode_computeChildren_closure.prototype = { call$1(row) { return row; }, $signature: 328 }; A.MatrixNode_toJson_closure.prototype = { call$1(e) { return "MatrixColumnAlign." + e._core$_name; }, $signature: 807 }; A.MatrixNode_toJson_closure0.prototype = { call$1(e) { return "MatrixSeparatorStyle." + e._core$_name; }, $signature: 183 }; A.MatrixNode_toJson_closure1.prototype = { call$1(element) { return element.value === 0; }, $signature: 808 }; A.MatrixNode_toJson_closure2.prototype = { call$1(e) { var t1 = A.S(e.value), t2 = B.Map_YD46S.$index(0, e.unit); t2.toString; return t1 + t2; }, $signature: 327 }; A.MatrixNode_toJson_closure3.prototype = { call$1(element) { return element === B.MatrixSeparatorStyle_2; }, $signature: 809 }; A.MatrixNode_toJson_closure4.prototype = { call$1(e) { return "MatrixSeparatorStyle." + e._core$_name; }, $signature: 183 }; A.MatrixNode_toJson_closure5.prototype = { call$1(e) { return J.map$1$1$ax(e, new A.MatrixNode_toJson__closure(), type$.nullable_Map_of_String_and_nullable_Object); }, $signature: 810 }; A.MatrixNode_toJson__closure.prototype = { call$1(e) { return e == null ? null : e.toJson$0(); }, $signature: 811 }; A.MatrixLayoutDelegate.prototype = { computeDistanceToActualBaseline$2(baseline, childrenTable) { return null; }, performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, isComputingIntrinsics) { var index, t4, colWidths, i, j, colPos, vLinePos, t5, t6, t7, t8, pos, t9, childPos, _this = this, t1 = _this.cols, t2 = _this.rows, _length = t1 * t2, t3 = type$.double, childWidths = J.JSArray_JSArray$allocateFixed(_length, t3); for (index = 0; index < _length; ++index) { t4 = childrenWidths.$index(0, index); childWidths[index] = t4 == null ? 0 : t4; } colWidths = A.List_List$filled(t1, 0, false, t3); for (i = 0; i < t1; ++i) for (j = 0; j < t2; ++j) colWidths[i] = Math.max(colWidths[i], childWidths[j * t1 + i]); colPos = A.List_List$filled(t1, 0, false, t3); vLinePos = A.List_List$filled(t1 + 1, 0, false, t3); vLinePos[0] = 0; t4 = _this.vLines; t5 = J.getInterceptor$asx(t4); t6 = t5.$index(t4, 0) !== B.MatrixSeparatorStyle_2 ? _this.ruleThickness : 0; t7 = _this.hskipBeforeAndAfter; t8 = t7 ? _this.arraycolsep : 0; pos = 0 + t6 + t8; for (t6 = t1 - 1, t8 = _this.arraycolsep, t9 = _this.ruleThickness, i = 0; i < t6;) { colPos[i] = pos; pos += colWidths[i] + t8; ++i; vLinePos[i] = pos; pos = pos + (t5.$index(t4, i) !== B.MatrixSeparatorStyle_2 ? t9 : 0) + t8; } colPos[t6] = pos; t6 = colWidths[t6]; t7 = t7 ? t8 : 0; pos = pos + t6 + t7; vLinePos[t1] = pos; _this.width = pos + (t5.$index(t4, t1) !== B.MatrixSeparatorStyle_2 ? t9 : 0); childPos = A.List_List$generate(t2 * t1, new A.MatrixLayoutDelegate_performHorizontalIntrinsicLayout_closure(_this, colPos, colWidths, childWidths), false, t3); if (!isComputingIntrinsics) _this.vLinePos = vLinePos; return new A.AxisConfiguration(_this.width, new A.ListMapView(childPos, A._arrayInstanceType(childPos)._eval$1("ListMapView<1>")), type$.AxisConfiguration_int); }, performHorizontalIntrinsicLayout$1$childrenWidths(childrenWidths) { return this.performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, false); }, performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, isComputingIntrinsics) { var index, t4, childDepth, rowHeights, rowDepth, i, j, t5, rowBaselinePos, hLinePos, t6, t7, t8, pos, t9, t10, childPos, _this = this, t1 = _this.cols, t2 = _this.rows, _length = t1 * t2, t3 = type$.double, childHeights = J.JSArray_JSArray$allocateFixed(_length, t3); for (index = 0; index < _length; ++index) { t4 = childrenBaselines.$index(0, index); childHeights[index] = t4 == null ? 0 : t4; } childDepth = A.List_List$generate(_length, new A.MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure(childrenBaselines, childrenHeights), false, t3); t4 = _this.arrayskip; rowHeights = A.List_List$filled(t2, 0.7 * t4, false, t3); rowDepth = A.List_List$filled(t2, 0.3 * t4, false, t3); for (i = 0; i < t2; ++i) for (t4 = i * t1, j = 0; j < t1; ++j) { t5 = t4 + j; rowHeights[i] = Math.max(rowHeights[i], childHeights[t5]); rowDepth[i] = Math.max(rowDepth[i], childDepth[t5]); } rowBaselinePos = A.List_List$filled(t2, 0, false, t3); hLinePos = A.List_List$filled(t2 + 1, 0, false, t3); for (t4 = t2 - 1, t5 = _this.hLines, t6 = J.getInterceptor$asx(t5), t7 = _this.ruleThickness, t8 = _this.rowSpacings, pos = 0, i = 0; i < t2; ++i) { hLinePos[i] = pos; t9 = t6.$index(t5, i) !== B.MatrixSeparatorStyle_2 ? t7 : 0; pos = pos + t9 + rowHeights[i]; rowBaselinePos[i] = pos; t9 = rowDepth[i]; t10 = i < t4 ? t8[i] : 0; pos = pos + t9 + t10; } hLinePos[t2] = pos; _this.totalHeight = pos + (t6.$index(t5, t2) !== B.MatrixSeparatorStyle_2 ? t7 : 0); childPos = A.List_List$generate(t2 * t1, new A.MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure0(_this, rowBaselinePos, childHeights), false, t3); if (!isComputingIntrinsics) _this.hLinePos = hLinePos; return new A.AxisConfiguration(_this.totalHeight, new A.ListMapView(childPos, A._arrayInstanceType(childPos)._eval$1("ListMapView<1>")), type$.AxisConfiguration_int); }, performVerticalIntrinsicLayout$2$childrenBaselines$childrenHeights(childrenBaselines, childrenHeights) { return this.performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, false); }, additionalPaint$2(context, offset) { var t2, t3, t4, t5, i, t6, t7, dx, dy, _this = this, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this.ruleThickness; paint.set$strokeWidth(t1); for (t2 = _this.hLines, t3 = J.getInterceptor$asx(t2), t4 = offset._dx, t5 = offset._dy, t1 /= 2, i = 0; i < t3.get$length(t2); ++i) switch (t3.$index(t2, i)) { case B.MatrixSeparatorStyle_0: t6 = context.get$canvas(context); t7 = t5 + _this.hLinePos[i] + t1; t6.drawLine$3(0, new A.Offset(t4, t7), new A.Offset(t4 + _this.width, t7), paint); break; case B.MatrixSeparatorStyle_1: for (dx = 0; dx < _this.width; dx += 4) { t6 = context.get$canvas(context); t7 = t5 + _this.hLinePos[i] + t1; t6.drawLine$3(0, new A.Offset(t4 + dx, t7), new A.Offset(t4 + Math.min(dx + 2, _this.width), t7), paint); } break; } for (t2 = _this.vLines, t3 = J.getInterceptor$asx(t2), i = 0; i < t3.get$length(t2); ++i) switch (t3.$index(t2, i)) { case B.MatrixSeparatorStyle_0: t6 = context.get$canvas(context); t7 = t4 + _this.vLinePos[i] + t1; t6.drawLine$3(0, new A.Offset(t7, t5), new A.Offset(t7, t5 + _this.totalHeight), paint); break; case B.MatrixSeparatorStyle_1: for (dy = 0; dy < _this.totalHeight; dy += 4) { t6 = context.get$canvas(context); t7 = t4 + _this.vLinePos[i] + t1; t6.drawLine$3(0, new A.Offset(t7, t5 + dy), new A.Offset(t7, t5 + Math.min(dy + 2, _this.totalHeight)), paint); } break; } }, set$width(receiver, val) { return this.width = val; } }; A.MatrixLayoutDelegate_performHorizontalIntrinsicLayout_closure.prototype = { call$1(index) { var _this = this, t1 = _this.$this, col = B.JSInt_methods.$mod(index, t1.cols); switch (J.$index$asx(t1.columnAligns, col)) { case B.MatrixColumnAlign_0: return _this.colPos[col]; case B.MatrixColumnAlign_2: return _this.colPos[col] + _this.colWidths[col] - _this.childWidths[index]; case B.MatrixColumnAlign_1: default: return _this.colPos[col] + (_this.colWidths[col] - _this.childWidths[index]) / 2; } }, $signature: 110 }; A.MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure.prototype = { call$1(index) { var t1, height = this.childrenBaselines.$index(0, index); if (height != null) { t1 = this.childrenHeights.$index(0, index); t1.toString; t1 -= height; } else t1 = 0; return t1; }, $signature: 110 }; A.MatrixLayoutDelegate_performVerticalIntrinsicLayout_closure0.prototype = { call$1(index) { return this.rowBaselinePos[B.JSInt_methods.$tdiv(index, this.$this.cols)] - this.childHeights[index]; }, $signature: 110 }; A.MultiscriptsNode.prototype = { buildWidget$2(options, childBuildResults) { var t2, t3, t4, t1 = this.base; t1 = t1.get$flattenedChildList().length === 1 && t1.get$flattenedChildList()[0] instanceof A.SymbolNode; t2 = childBuildResults[0]; t2.toString; t3 = childBuildResults[1]; t4 = childBuildResults[2]; return new A.BuildResult(A.Multiscripts$(false, t2, t1, childBuildResults[3], childBuildResults[4], t3, t4), options, 0, 0, null); }, computeChildOptions$1(options) { var t1 = options.style, subOptions = options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_0)), supOptions = options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_1)); return A._setArrayType([options, subOptions, supOptions, subOptions, supOptions], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base, this.sub, this.sup, null, null], type$.JSArray_nullable_EquationRowNode); }, get$leftType() { var t1 = this.base.overrideType; if (t1 == null) t1 = B.AtomType_0; return t1; }, get$rightType() { if (this.sub == null && this.sup == null) { var t1 = this.base.overrideType; if (t1 == null) t1 = B.AtomType_0; } else t1 = B.AtomType_0; return t1; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t3, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "base", _this.base.toJson$0()); t3 = _this.sub; if (t3 != null) t2.$indexSet(0, "sub", t3.toJson$0()); t3 = _this.sup; if (t3 != null) t2.$indexSet(0, "sup", t3.toJson$0()); t1.addAll$1(0, t2); return t1; } }; A.NaryOperatorNode.prototype = { buildWidget$2(options, childBuildResults) { var lookupResult, operatorWidget, symbolMetrics, symbolWidget, t2, t3, baseSymbolWidget, oval, shouldLimits, italic, spacing, t4, t5, t6, _this = this, _null = null, large = _this.allowLargeOp && (options.style.index / 2 | 0) === 0, font = large ? new A.FontOptions("Size2", B.FontWeight_3, B.FontStyle_0, B.List_empty16) : new A.FontOptions("Size1", B.FontWeight_3, B.FontStyle_0, B.List_empty16), t1 = _this.operator; if (!B.Map_EuEfF.containsKey$1(0, t1)) { lookupResult = A.getCharacterMetrics(t1, font.get$fontName(), B.Mode_0); if (lookupResult == null) { operatorWidget = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null); symbolMetrics = B.CharacterMetrics_0_0_0_0; } else { symbolWidget = A.makeChar(t1, font, lookupResult, options, true); symbolMetrics = lookupResult; operatorWidget = symbolWidget; } } else { t2 = B.Map_EuEfF.$index(0, t1); t2.toString; t3 = A.getCharacterMetrics(t2, font.get$fontName(), B.Mode_0); t3.toString; baseSymbolWidget = A.makeChar(t2, font, t3, options, true); t2 = (t1 === "\u222f" ? "oiint" : "oiiint") + "Size"; oval = A.staticSvg(t2 + (large ? "2" : "1"), options, false); operatorWidget = A.Row$(A._setArrayType([A.ResetDimension$(A.ShiftBaseline$(oval, large ? new A.Measurement(0.08, B.Unit_16).toLpUnder$1(options) : 0, _null), _null, _null, B.CrossAxisAlignment_0, 0), baseSymbolWidget], type$.JSArray_Widget), B.CrossAxisAlignment_4, _null, B.MainAxisAlignment_0, B.MainAxisSize_0, B.TextBaseline_0, _null); symbolMetrics = t3; } t2 = _this.lowerLimit == null; if (!t2 || _this.upperLimit != null) { shouldLimits = _this.limits; if (shouldLimits == null) shouldLimits = J.containsKey$1$x(B.Set_MEg2._collection$_map, t1) && (options.style.index / 2 | 0) === 0; italic = new A.Measurement(symbolMetrics.italic, B.Unit_16).toLpUnder$1(options); if (!shouldLimits) operatorWidget = A.Multiscripts$(false, new A.BuildResult(operatorWidget, options, italic, 0, _null), false, _null, _null, childBuildResults[0], childBuildResults[1]); else { spacing = new A.Measurement(options.get$fontMetrics().bigOpSpacing5, B.Unit_16).toLpUnder$1(options); t1 = _this.upperLimit != null; t3 = t1 ? spacing : 0; t2 = !t2; t4 = t2 ? spacing : 0; t5 = t1 ? 1 : 0; t6 = A._setArrayType([], type$.JSArray_Widget); if (t1) { t1 = new A.Measurement(options.get$fontMetrics().bigOpSpacing3, B.Unit_16).toLpUnder$1(options); t6.push(A.VListElement$(A.MinDimension$(new A.Measurement(options.get$fontMetrics().bigOpSpacing1, B.Unit_16).toLpUnder$1(options), childBuildResults[1].widget, t1, 0, 0), _null, 0.5 * italic, 0)); } t6.push(operatorWidget); if (t2) { t1 = new A.Measurement(options.get$fontMetrics().bigOpSpacing4, B.Unit_16).toLpUnder$1(options); t2 = new A.Measurement(options.get$fontMetrics().bigOpSpacing2, B.Unit_16).toLpUnder$1(options); t6.push(A.VListElement$(A.MinDimension$(0, childBuildResults[0].widget, 0, t1, t2), _null, -0.5 * italic, 0)); } operatorWidget = new A.Padding(new A.EdgeInsets(0, t3, 0, t4), A.VList$(t5, t6), _null); } } t1 = _this.naryand.overrideType; if (t1 == null) t1 = B.AtomType_0; return new A.BuildResult(A.Line$(A._setArrayType([A.LineElement$(false, false, operatorWidget, _null, A.getSpacingSize(B.AtomType_1, t1, options.style).toLpUnder$1(options)), A.LineElement$(false, false, childBuildResults[2].widget, _null, 0)], type$.JSArray_Widget), _null), options, childBuildResults[2].italic, 0, _null); }, computeChildOptions$1(options) { var t1 = options.style; return A._setArrayType([options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_0)), options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_1)), options], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.lowerLimit, this.upperLimit, this.naryand], type$.JSArray_nullable_EquationRowNode); }, get$leftType() { return B.AtomType_1; }, get$rightType() { var t1 = this.naryand.overrideType; return t1 == null ? B.AtomType_0 : t1; }, shouldRebuildWidget$2(oldOptions, newOptions) { return oldOptions.get$sizeMultiplier() !== newOptions.get$sizeMultiplier(); }, toJson$0() { var t3, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "operator", A.unicodeLiteral(_this.operator)); t3 = _this.upperLimit; if (t3 != null) t2.$indexSet(0, "upperLimit", t3.toJson$0()); t3 = _this.lowerLimit; if (t3 != null) t2.$indexSet(0, "lowerLimit", t3.toJson$0()); t2.$indexSet(0, "naryand", _this.naryand.toJson$0()); t3 = _this.limits; if (t3 != null) t2.$indexSet(0, "limits", t3); if (!_this.allowLargeOp) t2.$indexSet(0, "allowLargeOp", false); t1.addAll$1(0, t2); return t1; } }; A.OverNode.prototype = { buildWidget$2(options, childBuildResults) { var spacing = new A.Measurement(options.get$fontMetrics().bigOpSpacing5, B.Unit_16).toLpUnder$1(options), t1 = new A.Measurement(options.get$fontMetrics().bigOpSpacing3, B.Unit_16).toLpUnder$1(options); return new A.BuildResult(new A.Padding(new A.EdgeInsets(0, spacing, 0, 0), A.VList$(1, A._setArrayType([A.MinDimension$(new A.Measurement(options.get$fontMetrics().bigOpSpacing1, B.Unit_16).toLpUnder$1(options), childBuildResults[1].widget, t1, 0, 0), childBuildResults[0].widget], type$.JSArray_Widget)), null), options, 0, 0, null); }, computeChildOptions$1(options) { return A._setArrayType([options, options.havingStyle$1(A.MathStyleExt_reduce(options.style, B.MathStyleDiff_1))], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base, this.above], type$.JSArray_EquationRowNode); }, get$leftType() { return this.stackRel ? B.AtomType_3 : B.AtomType_0; }, get$rightType() { return this.stackRel ? B.AtomType_3 : B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "base", _this.base.toJson$0()); t2.$indexSet(0, "above", _this.above.toJson$0()); if (_this.stackRel) t2.$indexSet(0, "stackRel", true); t1.addAll$1(0, t2); return t1; } }; A.PhantomNode.prototype = { buildWidget$2(options, childBuildResults) { var _this = this, _null = null, phantomResult = A.SyntaxNode$(_null, 0, _this.phantomChild).buildWidget$1(options), widget = A.Opacity$(false, phantomResult.widget, 0), t1 = _this.zeroWidth ? 0 : _null, t2 = _this.zeroHeight ? 0 : _null; return new A.BuildResult(A.ResetDimension$(widget, _this.zeroDepth ? 0 : _null, t2, B.CrossAxisAlignment_2, t1), options, phantomResult.italic, 0, _null); }, get$leftType() { var t1 = this.phantomChild.overrideType; return t1 == null ? B.AtomType_0 : t1; }, get$rightType() { var t1 = this.phantomChild.overrideType; return t1 == null ? B.AtomType_0 : t1; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "phantomChild", _this.phantomChild.toJson$0()); if (_this.zeroWidth) t2.$indexSet(0, "zeroWidth", true); if (_this.zeroHeight) t2.$indexSet(0, "zeroHeight", true); t1.addAll$1(0, t2); return t1; } }; A.RaiseBoxNode.prototype = { buildWidget$2(options, childBuildResults) { var t1 = this.dy.toLpUnder$1(options); return new A.BuildResult(A.ShiftBaseline$(childBuildResults[0].widget, t1, null), options, 0, 0, null); }, computeChildOptions$1(options) { return A._setArrayType([options], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.body], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(), t2 = this.body.toJson$0(), t3 = this.dy, t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["body", t2, "dy", t4 + t3], type$.String, type$.nullable_Object)); return t1; } }; A.SpaceNode.prototype = { buildWidget$2(options, childBuildResults) { var height, depth, width, shift, t1, topMost, t2, _this = this, _null = null; if (_this.alignerOrSpacer) return new A.BuildResult(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, _null), options, 0, 0, _null); height = _this.height.toLpUnder$1(options); depth = B.Measurement_0_Unit_0.toLpUnder$1(options); width = _this.width.toLpUnder$1(options); shift = _this.shift.toLpUnder$1(options); t1 = -depth; topMost = Math.max(height, t1) + shift; t1 = Math.min(height, t1); t2 = _this.fill ? options.color : _null; return new A.BuildResult(new A.ResetBaseline(topMost, A.Container$(_null, _null, B.Clip_0, t2, _null, _null, _null, topMost - (t1 + shift), _null, _null, _null, _null, _null, Math.max(0, width)), _null), options, 0, 0, _null); }, get$leftType() { return B.AtomType_8; }, get$rightType() { return B.AtomType_8; }, shouldRebuildWidget$2(oldOptions, newOptions) { return oldOptions.get$sizeMultiplier() !== newOptions.get$sizeMultiplier(); }, toJson$0() { var t3, t4, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "mode", "Mode." + _this.mode._core$_name); t3 = _this.height; t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t2.$indexSet(0, "height", t4 + t3); t3 = _this.width; t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t2.$indexSet(0, "width", t4 + t3); t3 = _this.shift; if (t3 !== B.Measurement_0_Unit_0) { t4 = A.S(t3.value); t3 = B.Map_YD46S.$index(0, t3.unit); t3.toString; t2.$indexSet(0, "shift", t4 + t3); } t3 = _this.breakPenalty; if (t3 != null) t2.$indexSet(0, "breakPenalty", t3); if (_this.fill) t2.$indexSet(0, "fill", true); if (_this.alignerOrSpacer) t2.$indexSet(0, "alignerOrSpacer", true); t1.addAll$1(0, t2); return t1; } }; A.SqrtNode.prototype = { buildWidget$2(options, childBuildResults) { var baseResult = childBuildResults[1], indexResult = childBuildResults[0], t1 = baseResult.options, t2 = new A.Measurement(options.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(options), t3 = type$._SqrtPos; t2 = A._setArrayType([A.CustomLayoutId$(A.MinDimension$(0, baseResult.widget, 0, t2, 0), B._SqrtPos_0, t3), A.CustomLayoutId$(new A.LayoutBuilderPreserveBaseline(new A.SqrtNode_buildWidget_closure(options), null), B._SqrtPos_2, t3)], type$.JSArray_Widget); if (this.index != null) t2.push(A.CustomLayoutId$(indexResult.widget, B._SqrtPos_1, t3)); return new A.BuildResult(new A.CustomLayout(new A.SqrtLayoutDelegate(options, t1), t2, null, type$.CustomLayout__SqrtPos), options, 0, 0, null); }, computeChildOptions$1(options) { return A._setArrayType([options.havingStyle$1(B.MathStyle_6), options.havingStyle$1(A.MathStyleExt_reduce(options.style, B.MathStyleDiff_4))], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.index, this.base], type$.JSArray_nullable_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(), t2 = this.index; t2 = t2 == null ? null : t2.toJson$0(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["index", t2, "base", this.base.toJson$0()], type$.String, type$.nullable_Object)); return t1; } }; A.SqrtNode_buildWidget_closure.prototype = { call$2(context, constraints) { return A.sqrtSvg(constraints.minWidth, constraints.minHeight, this.options); }, $signature: 86 }; A._SqrtPos.prototype = { toString$0(_) { return "_SqrtPos." + this._core$_name; } }; A.SqrtLayoutDelegate.prototype = { computeDistanceToActualBaseline$2(baseline, childrenTable) { return this.heightAboveBaseline; }, getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(childSize, childrenTable, extent, max, sizingDirection) { return 0; }, computeLayout$3$dry(constraints, childrenTable, dry) { var index, t2, baseSize, t3, indexSize, baseHeight, t4, baseWidth, indexHeight, indexWidth, theta, psi, t5, minSqrtHeight, surdSize, t6, advanceWidth, indexRightPadding, sqrtHorizontalPos, ruleWidth, t7, t8, delimDepth, bodyHeight, indexShift, sqrtVerticalPos, t1 = childrenTable.$index(0, B._SqrtPos_0); t1.toString; index = childrenTable.$index(0, B._SqrtPos_1); t2 = childrenTable.$index(0, B._SqrtPos_2); t2.toString; baseSize = A.RenderBoxLayout_getLayoutSize(t1, B.BoxConstraints_mlX3, dry); t3 = index == null; indexSize = t3 ? null : A.RenderBoxLayout_getLayoutSize(index, B.BoxConstraints_mlX3, dry); if (indexSize == null) indexSize = B.Size_0_0; if (dry) baseHeight = 0; else { t4 = t1.getDistanceToBaseline$1(B.TextBaseline_0); t4.toString; baseHeight = t4; } baseWidth = baseSize._dx; if (dry) indexHeight = 0; else { if (t3) t4 = null; else { t4 = index.getDistanceToBaseline$1(B.TextBaseline_0); t4.toString; } indexHeight = t4 == null ? 0 : t4; } indexWidth = indexSize._dx; t4 = this.baseOptions; theta = new A.Measurement(t4.get$fontMetrics().defaultRuleThickness, B.Unit_16).toLpUnder$1(t4); psi = theta + 0.25 * Math.abs(t4.style.index < 2 ? new A.Measurement(t4.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(t4) : theta); t4 = baseSize._dy; t5 = t4 + psi; minSqrtHeight = t5 + theta; surdSize = A.RenderBoxLayout_getLayoutSize(t2, new A.BoxConstraints(baseWidth, 1 / 0, minSqrtHeight, 1 / 0), dry); t6 = this.options; advanceWidth = A.getSqrtAdvanceWidth(minSqrtHeight, baseWidth, t6); indexRightPadding = -new A.Measurement(10, B.Unit_14).toLpUnder$1(t6); sqrtHorizontalPos = Math.max(0, new A.Measurement(0.5, B.Unit_0).toLpUnder$1(t6) + indexWidth + indexRightPadding); if (dry) ruleWidth = 0; else { t6 = t2.getDistanceToBaseline$1(B.TextBaseline_0); t6.toString; ruleWidth = t6; } t6 = !dry; if (t6) { t7 = t2._size; t7 = t7._dy; t8 = t2.getDistanceToBaseline$1(B.TextBaseline_0); t8.toString; delimDepth = t7 - t8; if (delimDepth > t5) psi += 0.5 * (delimDepth - t4 - psi); } bodyHeight = baseHeight + psi + ruleWidth; t4 = surdSize._dy; indexShift = 0.6 * (bodyHeight - (t4 - bodyHeight)); sqrtVerticalPos = Math.max(0, indexHeight + indexShift - baseHeight - psi - ruleWidth); if (t6) { t5 = this.heightAboveBaseline = bodyHeight + sqrtVerticalPos; t6 = type$.BoxParentData; t6._as(t1.parentData).offset = new A.Offset(sqrtHorizontalPos + advanceWidth, t5 - baseHeight); if (!t3) t6._as(index.parentData).offset = new A.Offset(sqrtHorizontalPos - indexRightPadding - indexWidth, t5 - indexShift - indexHeight); t6._as(t2.parentData).offset = new A.Offset(sqrtHorizontalPos, sqrtVerticalPos); } return new A.Size(sqrtHorizontalPos + surdSize._dx, sqrtVerticalPos + t4); } }; A.getSqrtAdvanceWidth_closure.prototype = { call$1(element) { return A.getHeightForDelim("\u221a", element.font.get$fontName(), this.options, element.style) > this.minDelimiterHeight; }, $signature: 184 }; A.sqrtSvg_closure.prototype = { call$1(element) { return A.getHeightForDelim("\u221a", element.font.get$fontName(), this.options, element.style) > this.minDelimiterHeight; }, $signature: 184 }; A.StretchyOpNode.prototype = { buildWidget$2(options, childBuildResults) { var _null = null, verticalPadding = new A.Measurement(2, B.Unit_14).toLpUnder$1(options), t1 = A._setArrayType([], type$.JSArray_Widget), t2 = childBuildResults[0]; t1.push(new A.Padding(new A.EdgeInsets(0, 0, 0, verticalPadding), t2.widget, _null)); t1.push(A.VListElement$(new A.LayoutBuilderPreserveBaseline(new A.StretchyOpNode_buildWidget_closure(this, options), _null), new A.StretchyOpNode_buildWidget_closure0(options), 0, 0)); if (this.below != null) t1.push(new A.Padding(new A.EdgeInsets(0, verticalPadding, 0, 0), childBuildResults[1].widget, _null)); return new A.BuildResult(A.VList$(1, t1), options, 0, 0, _null); }, computeChildOptions$1(options) { var t1 = options.style; return A._setArrayType([options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_1)), options.havingStyle$1(A.MathStyleExt_reduce(t1, B.MathStyleDiff_0))], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.above, this.below], type$.JSArray_nullable_EquationRowNode); }, get$leftType() { return B.AtomType_3; }, get$rightType() { return B.AtomType_3; }, shouldRebuildWidget$2(oldOptions, newOptions) { return oldOptions.get$sizeMultiplier() !== newOptions.get$sizeMultiplier(); }, toJson$0() { var t3, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "symbol", A.unicodeLiteral(_this.symbol)); t2.$indexSet(0, "above", _this.above.toJson$0()); t3 = _this.below; if (t3 != null) t2.$indexSet(0, "below", t3.toJson$0()); t1.addAll$1(0, t2); return t1; } }; A.StretchyOpNode_buildWidget_closure0.prototype = { call$1(width) { return new A.BoxConstraints(width + new A.Measurement(1, B.Unit_16).toLpUnder$1(this.options), 1 / 0, 0, 1 / 0); }, $signature: 182 }; A.StretchyOpNode_buildWidget_closure.prototype = { call$2(context, constraints) { var t1 = this.options, t2 = new A.Measurement(t1.get$fontMetrics().xHeight, B.Unit_16).toLpUnder$1(t1), t3 = this.$this.symbol, t4 = B.Map_PZgg4.$index(0, t3); t3 = t4 == null ? t3 : t4; return A.ShiftBaseline$(A.strechySvgSpan(t3, constraints.minWidth, t1), t2, 0.5); }, $signature: 812 }; A.StyleNode.prototype = { computeChildOptions$1(options) { var t4, t1 = J.get$length$asx(this.children), t2 = this.optionsDiff, t3 = t2.size, res = t3 != null ? options.havingSize$1(t3) : options; t3 = t2.style; if (t3 != null) res = res.havingStyle$1(t3); t3 = t2.color; if (t3 != null) res = res.withColor$1(t3); t3 = t2.textFontOptions; if (t3 != null) { t4 = res.textFontOptions; res = res.copyWith$2$mathFontOptions$textFontOptions(null, (t4 == null ? new A.FontOptions("Main", B.FontWeight_3, B.FontStyle_0, B.List_empty16) : t4).mergeWith$1(t3)); } t2 = t2.mathFontOptions; if (t2 != null) res = res.withMathFont$1(t2); return A.List_List$filled(t1, res, false, type$.MathOptions); }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["children", J.map$1$1$ax(this.children, new A.StyleNode_toJson_closure(), type$.Map_of_String_and_nullable_Object).toList$1$growable(0, false), "optionsDiff", "Instance of '" + A.Primitives_objectTypeName(this.optionsDiff) + "'"], type$.String, type$.nullable_Object)); return t1; }, get$children(receiver) { return this.children; } }; A.StyleNode_toJson_closure.prototype = { call$1(e) { return e.toJson$0(); }, $signature: 329 }; A.SymbolNode.prototype = { get$atomType() { var result, _this = this, value = _this.__SymbolNode_atomType; if (value === $) { result = _this.overrideAtomType; if (result == null) result = A.getDefaultAtomTypeForSymbol(_this.symbol, _this.mode, _this.variantForm); A._lateInitializeOnceCheck(_this.__SymbolNode_atomType, "atomType"); value = _this.__SymbolNode_atomType = result; } return value; }, buildWidget$2(options, childBuildResults) { var code, t2, res, accent, _this = this, _null = null, t1 = type$.Runes._eval$1("ExpandIterable<Iterable.E,String>"), expanded = A.List_List$of(new A.ExpandIterable(new A.Runes(_this.symbol), new A.SymbolNode_buildWidget_closure(), t1), false, t1._eval$1("Iterable.E")); t1 = expanded.length; if (t1 === 1) { t1 = expanded[0]; return A.makeBaseSymbol(_this.get$atomType(), _this.mode, options, _this.overrideFont, t1, _this.variantForm); } else if (t1 > 1) { code = B.JSString_methods._codeUnitAt$1(expanded[1], 0); if (code >= 768 && code <= 879) { t1 = expanded[0]; t2 = J.getInterceptor$(t1); if (t2.$eq(t1, "i")) expanded[0] = "\u0131"; else if (t2.$eq(t1, "j")) expanded[0] = "\u0237"; } res = _this.withSymbol$1(expanded[0]); for (t1 = A.SubListIterable$(expanded, 1, _null, A._arrayInstanceType(expanded)._precomputed1), t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { accent = B.Map_UZZCm.$index(0, t2._as(t1.__internal$_current)); if (accent == null) break; else res = new A.AccentNode(A.GreenNodeWrappingExt_wrapWithEquationRow(res), accent, false, true); } return A.SyntaxNode$(_null, 0, res).buildWidget$1(options); } else return new A.BuildResult(A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, 0), options, 0, 0, _null); }, shouldRebuildWidget$2(oldOptions, newOptions) { return !J.$eq$(oldOptions.mathFontOptions, newOptions.mathFontOptions) || !J.$eq$(oldOptions.textFontOptions, newOptions.textFontOptions) || oldOptions.get$sizeMultiplier() !== newOptions.get$sizeMultiplier(); }, get$leftType() { return this.get$atomType(); }, get$rightType() { return this.get$atomType(); }, toJson$0() { var t3, _this = this, t1 = _this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "mode", "Mode." + _this.mode._core$_name); t2.$indexSet(0, "symbol", A.unicodeLiteral(_this.symbol)); if (_this.variantForm) t2.$indexSet(0, "variantForm", true); t3 = _this.overrideAtomType; if (t3 != null) t2.$indexSet(0, "atomType", t3.toString$0(0)); t1.addAll$1(0, t2); return t1; }, withSymbol$1(symbol) { var _this = this; if (symbol === _this.symbol) return _this; return new A.SymbolNode(symbol, _this.variantForm, _this.overrideAtomType, _this.overrideFont, _this.mode); } }; A.SymbolNode_buildWidget_closure.prototype = { call$1(code) { var ch = A.Primitives_stringFromCharCode(code), t1 = B.Map_kjmLk.$index(0, ch); t1 = t1 == null ? null : A._setArrayType(t1.split(""), type$.JSArray_String); return t1 == null ? A._setArrayType([ch], type$.JSArray_String) : t1; }, $signature: 814 }; A.stringToNode_closure.prototype = { call$1(ch) { return new A.SymbolNode(ch, false, null, null, this.mode); }, $signature: 185 }; A.UnderNode.prototype = { buildWidget$2(options, childBuildResults) { var spacing = new A.Measurement(options.get$fontMetrics().bigOpSpacing5, B.Unit_16).toLpUnder$1(options), t1 = childBuildResults[0].widget, t2 = new A.Measurement(options.get$fontMetrics().bigOpSpacing4, B.Unit_16).toLpUnder$1(options), t3 = new A.Measurement(options.get$fontMetrics().bigOpSpacing2, B.Unit_16).toLpUnder$1(options); return new A.BuildResult(new A.Padding(new A.EdgeInsets(0, 0, 0, spacing), A.VList$(0, A._setArrayType([t1, A.MinDimension$(0, childBuildResults[1].widget, 0, t2, t3)], type$.JSArray_Widget)), null), options, 0, 0, null); }, computeChildOptions$1(options) { return A._setArrayType([options, options.havingStyle$1(A.MathStyleExt_reduce(options.style, B.MathStyleDiff_0))], type$.JSArray_MathOptions); }, computeChildren$0() { return A._setArrayType([this.base, this.below], type$.JSArray_EquationRowNode); }, get$leftType() { return B.AtomType_0; }, get$rightType() { return B.AtomType_0; }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, toJson$0() { var t1 = this.super$GreenNode$toJson(); t1.addAll$1(0, A.LinkedHashMap_LinkedHashMap$_literal(["base", this.base.toJson$0(), "below", this.below.toJson$0()], type$.String, type$.nullable_Object)); return t1; } }; A.MathOptions.prototype = { get$size(_) { var result, _this = this, value = _this.__MathOptions_size; if (value === $) { result = A.MathStyleExtOnSize_underStyle(_this.sizeUnderTextStyle, _this.style); A._lateInitializeOnceCheck(_this.__MathOptions_size, "size"); _this.__MathOptions_size = result; value = result; } return value; }, get$sizeMultiplier() { var result, _this = this, value = _this.__MathOptions_sizeMultiplier; if (value === $) { result = B.List_kGu[_this.get$size(_this).index]; A._lateInitializeOnceCheck(_this.__MathOptions_sizeMultiplier, "sizeMultiplier"); _this.__MathOptions_sizeMultiplier = result; value = result; } return value; }, get$fontMetrics() { var result, _this = this, value = _this.__MathOptions_fontMetrics; if (value === $) { result = A.getGlobalMetrics(_this.get$size(_this)); A._lateInitializeOnceCheck(_this.__MathOptions_fontMetrics, "fontMetrics"); _this.__MathOptions_fontMetrics = result; value = result; } return value; }, havingStyle$1(style) { if (this.style === style) return this; return this.copyWith$1$style(style); }, havingCrampedStyle$0() { var t1 = this.style; if ((t1.index & 1) === 0) return this; return this.copyWith$1$style(A.MathStyleExt_reduce(t1, B.MathStyleDiff_4)); }, havingSize$1(size) { var _this = this; if (_this.get$size(_this) === size && _this.sizeUnderTextStyle === size) return _this; return _this.copyWith$2$sizeUnderTextStyle$style(size, A.MathStyleExt_reduce(_this.style, B.MathStyleDiff_5)); }, withColor$1(color) { if (this.color.$eq(0, color)) return this; return this.copyWith$1$color(color); }, withMathFont$1(font) { if (font.$eq(0, this.mathFontOptions)) return this; return this.copyWith$1$mathFontOptions(font); }, copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(color, mathFontOptions, sizeUnderTextStyle, style, textFontOptions) { var _this = this, t1 = style == null ? _this.style : style, t2 = color == null ? _this.color : color, t3 = sizeUnderTextStyle == null ? _this.sizeUnderTextStyle : sizeUnderTextStyle, t4 = textFontOptions == null ? _this.textFontOptions : textFontOptions, t5 = mathFontOptions == null ? _this.mathFontOptions : mathFontOptions; return A.MathOptions$_(t2, _this.fontSize, _this.logicalPpi, t5, t3, t1, t4); }, copyWith$1$color(color) { return this.copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(color, null, null, null, null); }, copyWith$1$style(style) { return this.copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(null, null, null, style, null); }, copyWith$2$mathFontOptions$textFontOptions(mathFontOptions, textFontOptions) { return this.copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(null, mathFontOptions, null, null, textFontOptions); }, copyWith$1$mathFontOptions(mathFontOptions) { return this.copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(null, mathFontOptions, null, null, null); }, copyWith$2$sizeUnderTextStyle$style(sizeUnderTextStyle, style) { return this.copyWith$5$color$mathFontOptions$sizeUnderTextStyle$style$textFontOptions(null, null, sizeUnderTextStyle, style, null); } }; A.OptionsDiff.prototype = {}; A.FontOptions.prototype = { get$fontName() { var t1 = this.fontWeight === B.FontWeight_6 ? "Bold" : "", postfix = t1 + (this.fontShape === B.FontStyle_1 ? "Italic" : ""); t1 = this.fontFamily + "-"; return t1 + (postfix.length === 0 ? "Regular" : postfix); }, mergeWith$1(value) { var _this = this, t1 = value.fontFamily, t2 = value.fontWeight, t3 = value.fontShape; if (t1 == null) t1 = _this.fontFamily; if (t2 == null) t2 = _this.fontWeight; if (t3 == null) t3 = _this.fontShape; return new A.FontOptions(t1, t2, t3, _this.fallback); }, $eq(_, o) { var _this = this; if (o == null) return false; if (_this === o) return true; return o instanceof A.FontOptions && o.fontFamily === _this.fontFamily && o.fontWeight === _this.fontWeight && o.fontShape === _this.fontShape && A.listEquals0(o.fallback, _this.fallback); }, get$hashCode(_) { return A.hashValues(B.JSString_methods.get$hashCode(this.fontFamily), A.Primitives_objectHashCode(this.fontWeight), A.Primitives_objectHashCode(this.fontShape), 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, 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.PartialFontOptions.prototype = { $eq(_, o) { var _this = this; if (o == null) return false; if (_this === o) return true; return o instanceof A.PartialFontOptions && o.fontFamily == _this.fontFamily && o.fontWeight == _this.fontWeight && o.fontShape == _this.fontShape; }, get$hashCode(_) { return A.hashValues(J.get$hashCode$(this.fontFamily), J.get$hashCode$(this.fontWeight), J.get$hashCode$(this.fontShape), 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, 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.Unit.prototype = { toString$0(_) { return "Unit." + this._core$_name; } }; A.Measurement.prototype = { toLpUnder$1(options) { var t2, _this = this, t1 = _this.unit; if (t1 === B.Unit_15) return _this.value; if (B.Map_YDBhu.$index(0, t1) != null) { t1 = B.Map_YDBhu.$index(0, t1); t1.toString; t2 = B.Map_YDBhu.$index(0, B.Unit_3); t2.toString; return _this.value * t1 / t2 * options.logicalPpi; } switch (t1.index) { case 16: return _this.value * options.fontSize * options.get$sizeMultiplier(); case 14: return _this.value * options.fontSize * (options.get$fontMetrics().quad / 18) * options.get$sizeMultiplier(); case 12: return _this.value * options.fontSize * options.get$fontMetrics().xHeight * options.havingStyle$1(A.MathStyleExt_reduce(options.style, B.MathStyleDiff_5)).get$sizeMultiplier(); case 13: return _this.value * options.fontSize * options.get$fontMetrics().quad * options.havingStyle$1(A.MathStyleExt_reduce(options.style, B.MathStyleDiff_5)).get$sizeMultiplier(); default: throw A.wrapException(A.ArgumentError$("Invalid unit: '" + t1.toString$0(0) + "'", null)); } }, toString$0(_) { var t1 = A.S(this.value), t2 = B.Map_YD46S.$index(0, this.unit); t2.toString; return t1 + t2; }, get$value(receiver) { return this.value; } }; A.MathSize.prototype = { toString$0(_) { return "MathSize." + this._core$_name; } }; A.MathStyle.prototype = { toString$0(_) { return "MathStyle." + this._core$_name; } }; A.MathStyleDiff.prototype = { toString$0(_) { return "MathStyleDiff." + this._core$_name; } }; A.SymbolRenderConfig.prototype = { get$text(receiver) { return this.text; } }; A.RenderConfig.prototype = {}; A.SyntaxTree.prototype = {}; A.SyntaxNode.prototype = { get$children(_) { var t1, _length, _list, t2, index, t3, _this = this, value = _this.__SyntaxNode_children; if (value === $) { t1 = _this.value; _length = J.get$length$asx(t1.get$children(t1)); _list = J.JSArray_JSArray$allocateFixed(_length, type$.nullable_SyntaxNode); for (t2 = _this.pos, index = 0; index < _length; ++index) { if (J.$index$asx(t1.get$children(t1), index) != null) { t3 = J.$index$asx(t1.get$children(t1), index); t3.toString; t3 = new A.SyntaxNode(_this, t3, t2 + t1.get$childPositions()[index]); } else t3 = null; _list[index] = t3; } A._lateInitializeOnceCheck(_this.__SyntaxNode_children, "children"); _this.__SyntaxNode_children = _list; value = _list; } return value; }, buildWidget$1(options) { var newChildBuildResults, bypassRebuild, t1 = this.value, t2 = type$.PositionDependentMixin_GreenNode; if (t2._is(t1)) { t2._as(t1); t2 = this.pos; t1.PositionDependentMixin_range = new A.TextRange(t2 + 1, t2 + (t1.get$editingWidth() - 1)); } t2 = t1._oldOptions; if (t2 != null && options === t2) { t1 = t1._oldBuildResult; t1.toString; return t1; } newChildBuildResults = this._buildChildWidgets$1(t1.computeChildOptions$1(options)); t2 = t1._oldOptions; bypassRebuild = t2 != null && !t1.shouldRebuildWidget$2(t2, options) && A.listEquals0(newChildBuildResults, t1._oldChildBuildResults); t1._oldOptions = options; t1._oldChildBuildResults = newChildBuildResults; if (bypassRebuild) { t1 = t1._oldBuildResult; t1.toString; } else t1 = t1._oldBuildResult = t1.buildWidget$2(options, newChildBuildResults); return t1; }, _buildChildWidgets$1(childOptions) { var _length, _list, index, t1, _this = this; if (_this.get$children(_this).length === 0) return B.List_empty17; _length = _this.get$children(_this).length; _list = J.JSArray_JSArray$allocateFixed(_length, type$.nullable_BuildResult); for (index = 0; index < _length; ++index) { t1 = _this.get$children(_this)[index]; _list[index] = t1 == null ? null : t1.buildWidget$1(childOptions[index]); } return _list; }, get$value(receiver) { return this.value; } }; A.GreenNode.prototype = { toJson$0() { return A.LinkedHashMap_LinkedHashMap$_literal(["type", A._rtiToString(A.getRuntimeType(this)._rti, null)], type$.String, type$.nullable_Object); } }; A.ParentableNode.prototype = { get$editingWidth() { var result, _this = this, value = _this.__ParentableNode_editingWidth; if (value === $) { result = _this.computeWidth$0(); A._lateInitializeOnceCheck(_this.__ParentableNode_editingWidth, "editingWidth"); _this.__ParentableNode_editingWidth = result; value = result; } return value; }, get$childPositions() { var result, _this = this, value = _this.__ParentableNode_childPositions; if (value === $) { result = _this.computeChildPositions$0(); A._lateInitializeOnceCheck(_this.__ParentableNode_childPositions, "childPositions"); _this.__ParentableNode_childPositions = result; value = result; } return value; } }; A.PositionDependentMixin.prototype = {}; A.SlotableNode.prototype = { get$children(_) { var result, _this = this, value = _this.__SlotableNode_children; if (value === $) { result = _this.computeChildren$0(); A._lateInitializeOnceCheck(_this.__SlotableNode_children, "children"); _this.__SlotableNode_children = result; value = result; } return value; }, computeWidth$0() { var t1 = this.get$children(this); return A.IterableIntegerExtension_get_sum(new A.MappedListIterable(t1, new A.SlotableNode_computeWidth_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>"))) + 1; }, computeChildPositions$0() { var t1, t2, curPos, _i, child, t3, result = A._setArrayType([], type$.JSArray_int); for (t1 = this.get$children(this), t2 = t1.length, curPos = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { child = t1[_i]; result.push(curPos); t3 = child == null ? null : child.get$editingWidth() - 1; curPos += t3 == null ? 0 : t3; } return result; } }; A.SlotableNode_computeWidth_closure.prototype = { call$1(child) { var t1 = child == null ? null : child.get$editingWidth() - 1; return t1 == null ? 0 : t1; }, $signature() { return A._instanceType(this.$this)._eval$1("int(SlotableNode.T)"); } }; A.TransparentNode.prototype = { computeWidth$0() { return A.IterableIntegerExtension_get_sum(J.map$1$1$ax(this.children, new A.TransparentNode_computeWidth_closure(), type$.int)); }, computeChildPositions$0() { var t1 = {}; t1.curPos = 0; return A.List_List$generate(J.get$length$asx(this.children) + 1, new A.TransparentNode_computeChildPositions_closure(t1, this), false, type$.int); }, buildWidget$2(options, childBuildResults) { var t1 = A._arrayInstanceType(childBuildResults)._eval$1("ExpandIterable<1,BuildResult>"); return new A.BuildResult(B.Text_i4A, options, 0, 0, A.List_List$of(new A.ExpandIterable(childBuildResults, new A.TransparentNode_buildWidget_closure(), t1), false, t1._eval$1("Iterable.E"))); }, get$flattenedChildList() { var t1, result, _this = this, value = _this.__TransparentNode_flattenedChildList; if (value === $) { t1 = J.expand$1$1$ax(_this.children, new A.TransparentNode_flattenedChildList_closure(), type$.GreenNode); result = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); A._lateInitializeOnceCheck(_this.__TransparentNode_flattenedChildList, "flattenedChildList"); _this.__TransparentNode_flattenedChildList = result; value = result; } return value; }, get$leftType() { var result, _this = this, value = _this.__TransparentNode_leftType; if (value === $) { result = J.$index$asx(_this.children, 0).get$leftType(); A._lateInitializeOnceCheck(_this.__TransparentNode_leftType, "leftType"); _this.__TransparentNode_leftType = result; value = result; } return value; }, get$rightType() { var result, _this = this, value = _this.__TransparentNode_rightType; if (value === $) { result = J.get$last$ax(_this.children).get$rightType(); A._lateInitializeOnceCheck(_this.__TransparentNode_rightType, "rightType"); _this.__TransparentNode_rightType = result; value = result; } return value; } }; A.TransparentNode_computeWidth_closure.prototype = { call$1(child) { return child.get$editingWidth(); }, $signature: 330 }; A.TransparentNode_computeChildPositions_closure.prototype = { call$1(index) { var t1; if (index === 0) return this._box_0.curPos; t1 = this._box_0; return t1.curPos = t1.curPos + J.$index$asx(this.$this.children, index - 1).get$editingWidth(); }, $signature: 54 }; A.TransparentNode_buildWidget_closure.prototype = { call$1(result) { var t1 = result.results; return t1 == null ? A._setArrayType([result], type$.JSArray_BuildResult) : t1; }, $signature: 215 }; A.TransparentNode_flattenedChildList_closure.prototype = { call$1(child) { return child instanceof A.TransparentNode ? child.get$flattenedChildList() : A._setArrayType([child], type$.JSArray_GreenNode); }, $signature: 331 }; A.EquationRowNode.prototype = { computeWidth$0() { return A.IterableIntegerExtension_get_sum(J.map$1$1$ax(this.children, new A.EquationRowNode_computeWidth_closure(), type$.int)) + 2; }, computeChildPositions$0() { var t1 = {}; t1.curPos = 1; return A.List_List$generate(J.get$length$asx(this.children) + 1, new A.EquationRowNode_computeChildPositions_closure(t1, this), false, type$.int); }, get$flattenedChildList() { var t1, result, _this = this, value = _this.__EquationRowNode_flattenedChildList; if (value === $) { t1 = J.expand$1$1$ax(_this.children, new A.EquationRowNode_flattenedChildList_closure(), type$.GreenNode); result = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); A._lateInitializeOnceCheck(_this.__EquationRowNode_flattenedChildList, "flattenedChildList"); _this.__EquationRowNode_flattenedChildList = result; value = result; } return value; }, get$caretPositions() { var result, _this = this, value = _this.__EquationRowNode_caretPositions; if (value === $) { result = _this.computeCaretPositions$0(); A._lateInitializeOnceCheck(_this.__EquationRowNode_caretPositions, "caretPositions"); _this.__EquationRowNode_caretPositions = result; value = result; } return value; }, computeCaretPositions$0() { var t1 = {}; t1.curPos = 1; return A.List_List$generate(this.get$flattenedChildList().length + 1, new A.EquationRowNode_computeCaretPositions_closure(t1, this), false, type$.int); }, buildWidget$2(options, childBuildResults) { var flattenedChildOptions, childSpacingConfs, _length, lineChildren, index, t2, t3, widget, _this = this, _null = null, t1 = A._arrayInstanceType(childBuildResults)._eval$1("ExpandIterable<1,BuildResult>"), flattenedBuildResults = A.List_List$of(new A.ExpandIterable(childBuildResults, new A.EquationRowNode_buildWidget_closure(), t1), false, t1._eval$1("Iterable.E")); t1 = A._arrayInstanceType(flattenedBuildResults)._eval$1("MappedListIterable<1,MathOptions>"); flattenedChildOptions = A.List_List$of(new A.MappedListIterable(flattenedBuildResults, new A.EquationRowNode_buildWidget_closure0(), t1), false, t1._eval$1("ListIterable.E")); childSpacingConfs = A.List_List$generate(_this.get$flattenedChildList().length, new A.EquationRowNode_buildWidget_closure1(_this, flattenedChildOptions), false, type$._NodeSpacingConf); A._traverseNonSpaceNodes(childSpacingConfs, new A.EquationRowNode_buildWidget_closure2()); A._traverseNonSpaceNodes(childSpacingConfs, new A.EquationRowNode_buildWidget_closure3()); _this._syntax_tree$_key = new A.LabeledGlobalKey(_null, type$.LabeledGlobalKey_State_StatefulWidget); _length = flattenedBuildResults.length; lineChildren = J.JSArray_JSArray$allocateFixed(_length, type$.LineElement); for (t1 = type$.SpaceNode, index = 0; index < _length; ++index) { t2 = flattenedBuildResults[index].widget; t3 = _this.get$flattenedChildList()[index] instanceof A.SpaceNode && t1._as(_this.get$flattenedChildList()[index]).alignerOrSpacer; lineChildren[index] = new A.LineElement(false, _null, childSpacingConfs[index].spacingAfter, t3, t2, _null); } widget = A.Consumer$(new A.EquationRowNode_buildWidget_closure4(_this, lineChildren, options), type$.FlutterMathMode); t1 = A.IterableExtension_get_lastOrNull(flattenedBuildResults); t1 = t1 == null ? _null : t1.italic; if (t1 == null) t1 = 0; return new A.BuildResult(widget, options, t1, flattenedBuildResults.length === 1 ? B.JSArray_methods.get$first(flattenedBuildResults).italic : 0, _null); }, computeChildOptions$1(options) { return A.List_List$filled(J.get$length$asx(this.children), options, false, type$.MathOptions); }, shouldRebuildWidget$2(oldOptions, newOptions) { return false; }, get$leftType() { var t1 = this.overrideType; return t1 == null ? B.AtomType_0 : t1; }, get$rightType() { var t1 = this.overrideType; return t1 == null ? B.AtomType_0 : t1; }, toJson$0() { var t3, t1 = this.super$GreenNode$toJson(), t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object); t2.$indexSet(0, "children", J.map$1$1$ax(this.children, new A.EquationRowNode_toJson_closure(), type$.Map_of_String_and_nullable_Object).toList$0(0)); t3 = this.overrideType; if (t3 != null) t2.$indexSet(0, "overrideType", t3); t1.addAll$1(0, t2); return t1; }, get$children(receiver) { return this.children; } }; A.EquationRowNode_computeWidth_closure.prototype = { call$1(child) { return child.get$editingWidth(); }, $signature: 330 }; A.EquationRowNode_computeChildPositions_closure.prototype = { call$1(index) { var t1; if (index === 0) return this._box_0.curPos; t1 = this._box_0; return t1.curPos = t1.curPos + J.$index$asx(this.$this.children, index - 1).get$editingWidth(); }, $signature: 54 }; A.EquationRowNode_flattenedChildList_closure.prototype = { call$1(child) { return child instanceof A.TransparentNode ? child.get$flattenedChildList() : A._setArrayType([child], type$.JSArray_GreenNode); }, $signature: 331 }; A.EquationRowNode_computeCaretPositions_closure.prototype = { call$1(index) { var t1; if (index === 0) return this._box_0.curPos; t1 = this._box_0; return t1.curPos = t1.curPos + this.$this.get$flattenedChildList()[index - 1].get$editingWidth(); }, $signature: 54 }; A.EquationRowNode_buildWidget_closure.prototype = { call$1(result) { var t1 = result.results; return t1 == null ? A._setArrayType([result], type$.JSArray_BuildResult) : t1; }, $signature: 215 }; A.EquationRowNode_buildWidget_closure0.prototype = { call$1(e) { return e.options; }, $signature: 819 }; A.EquationRowNode_buildWidget_closure1.prototype = { call$1(index) { var e = this.$this.get$flattenedChildList()[index]; return new A._NodeSpacingConf(e.get$leftType(), e.get$rightType(), this.flattenedChildOptions[index], 0); }, $signature: 820 }; A.EquationRowNode_buildWidget_closure2.prototype = { call$2(prev, curr) { var t2, _null = null, t1 = prev == null; if ((t1 ? _null : prev.rightType) === B.AtomType_2) { t2 = curr == null ? _null : curr.leftType; t2 = J.containsKey$1$x(B.Set_UOWB._collection$_map, t2); } else t2 = false; if (t2) { prev.rightType = B.AtomType_0; if (prev.leftType === B.AtomType_2) prev.leftType = B.AtomType_0; } else { if ((curr == null ? _null : curr.leftType) === B.AtomType_2) { t1 = t1 ? _null : prev.rightType; t1 = J.containsKey$1$x(B.Set_1kOo6._collection$_map, t1); } else t1 = false; if (t1) { curr.leftType = B.AtomType_0; if (curr.rightType === B.AtomType_2) curr.rightType = B.AtomType_0; } } }, $signature: 332 }; A.EquationRowNode_buildWidget_closure3.prototype = { call$2(prev, curr) { var t1, t2, t3; if (prev != null && curr != null) { t1 = prev.rightType; t2 = curr.leftType; t3 = curr.options; prev.spacingAfter = A.getSpacingSize(t1, t2, t3.style).toLpUnder$1(t3); } }, $signature: 332 }; A.EquationRowNode_buildWidget_closure4.prototype = { call$3(context, mode, child) { var t1, t2, _this = this; if (mode === B.FlutterMathMode_2) { t1 = _this.$this._syntax_tree$_key; t1.toString; return A.Line$(_this.lineChildren, t1); } t1 = _this.$this; t2 = type$.TextSelection; return A.ProxyProvider$(A.Selector2$(new A.EquationRowNode_buildWidget__closure(t1, _this.lineChildren, _this.options), new A.EquationRowNode_buildWidget__closure0(t1), t2, type$.Tuple2_LayerLink_LayerLink, type$.Tuple3_of_TextSelection_and_nullable_LayerLink_and_nullable_LayerLink), new A.EquationRowNode_buildWidget__closure1(), new A.EquationRowNode_buildWidget__closure2(t1), t2, t2); }, "call*": "call$3", $requiredArgCount: 3, $signature: 822 }; A.EquationRowNode_buildWidget__closure1.prototype = { call$1(_) { return B.TextSelection_ke5; }, $signature: 823 }; A.EquationRowNode_buildWidget__closure2.prototype = { call$3(context, selection, _) { var t1 = selection.baseOffset, t2 = this.$this.PositionDependentMixin_range, t3 = t2.start - 1; t2 = t2.end + 1; return selection.copyWith$2$baseOffset$extentOffset(A.IntExt_clampInt(t1, t3, t2), A.IntExt_clampInt(selection.extentOffset, t3, t2)); }, $signature: 824 }; A.EquationRowNode_buildWidget__closure0.prototype = { call$3(context, selection, handleLayerLinks) { var caretSelection, startHandleLayerLink, endHandleLayerLink, t1 = selection.start, t2 = this.$this, t3 = t2.PositionDependentMixin_range.start - 1, start = t1 - t3, end = selection.end - t3, caretStart = B.JSNumber_methods.ceil$0(A.NumListSearchExt_slotFor(t2.get$caretPositions(), start)), caretEnd = B.JSNumber_methods.floor$0(A.NumListSearchExt_slotFor(t2.get$caretPositions(), end)); if (caretStart <= caretEnd) caretSelection = selection.baseOffset <= selection.extentOffset ? A.TextSelection$(B.TextAffinity_1, caretStart, caretEnd, false) : A.TextSelection$(B.TextAffinity_1, caretEnd, caretStart, false); else caretSelection = B.TextSelection_ke5; startHandleLayerLink = B.JSArray_methods.contains$1(t2.get$caretPositions(), start) ? handleLayerLinks.item1 : null; endHandleLayerLink = B.JSArray_methods.contains$1(t2.get$caretPositions(), end) ? handleLayerLinks.item2 : null; return new A.Tuple3(caretSelection, startHandleLayerLink, endHandleLayerLink, type$.Tuple3_of_TextSelection_and_nullable_LayerLink_and_nullable_LayerLink); }, $signature: 825 }; A.EquationRowNode_buildWidget__closure.prototype = { call$3(context, conf, _) { var value = A.Provider_of(context, true, type$.SelectionStyle), t1 = this.$this, t2 = t1._syntax_tree$_key, t3 = context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data, t4 = J.get$value$x(A.Provider_of(context, true, type$.Wrapper_AnimationController)), t5 = conf.item1, t6 = conf.item2, t7 = conf.item3; return new A.EditableLine(t4, value.get$cursorColor(), value.get$cursorOffset(), value.get$cursorRadius(), value.get$cursorWidth(), value.get$cursorHeight(), t3.devicePixelRatio, value.get$hintingColor(), t1, value.get$paintCursorAboveText(), this.options.fontSize, t5, value.get$selectionColor(), value.get$showCursor(), t6, t7, this.lineChildren, t2); }, $signature: 826 }; A.EquationRowNode_toJson_closure.prototype = { call$1(child) { return child.toJson$0(); }, $signature: 329 }; A._ClipChildrenMixin.prototype = {}; A.LeafNode.prototype = { get$children(_) { return B.List_empty20; }, computeChildOptions$1(options) { return B.List_empty19; }, get$childPositions() { return B.List_empty18; }, get$editingWidth() { return 1; } }; A.AtomType.prototype = { toString$0(_) { return "AtomType." + this._core$_name; } }; A.TemporaryNode.prototype = { buildWidget$2(options, childBuildResults) { return A.throwExpression(A.UnsupportedError$("Temporary node " + A.getRuntimeType(this).toString$0(0) + " encountered.")); }, get$leftType() { return A.throwExpression(A.UnsupportedError$("Temporary node " + A.getRuntimeType(this).toString$0(0) + " encountered.")); }, get$rightType() { return A.throwExpression(A.UnsupportedError$("Temporary node " + A.getRuntimeType(this).toString$0(0) + " encountered.")); }, shouldRebuildWidget$2(oldOptions, newOptions) { return A.throwExpression(A.UnsupportedError$("Temporary node " + A.getRuntimeType(this).toString$0(0) + " encountered.")); }, get$editingWidth() { return A.throwExpression(A.UnsupportedError$("Temporary node " + A.getRuntimeType(this).toString$0(0) + " encountered.")); } }; A.BuildResult.prototype = {}; A._NodeSpacingConf.prototype = {}; A._EquationRowNode_ParentableNode_PositionDependentMixin.prototype = {}; A._EquationRowNode_ParentableNode_PositionDependentMixin__ClipChildrenMixin.prototype = {}; A._TransparentNode_ParentableNode__ClipChildrenMixin.prototype = {}; A.Mode.prototype = { toString$0(_) { return "Mode." + this._core$_name; } }; A.textFontMetrics_closure.prototype = { call$2(key, value) { return new A.MapEntry(key, J.$index$asx(value, 0), type$.MapEntry_String_double); }, $signature: 186 }; A.scriptFontMetrics_closure.prototype = { call$2(key, value) { return new A.MapEntry(key, J.$index$asx(value, 1), type$.MapEntry_String_double); }, $signature: 186 }; A.scriptscriptFontMetrics_closure.prototype = { call$2(key, value) { return new A.MapEntry(key, J.$index$asx(value, 2), type$.MapEntry_String_double); }, $signature: 186 }; A.CharacterMetrics.prototype = {}; A.allBlocks_closure.prototype = { call$1(entry) { return entry.get$value(entry); }, $signature: 828 }; A.supportedCodepoint_closure.prototype = { call$1(block) { var t1 = this.codepoint, t2 = J.getInterceptor$asx(block); return t1 >= t2.$index(block, 0) && t1 <= t2.$index(block, 1); }, $signature: 829 }; A.EnvContext.prototype = {}; A.EnvSpec.prototype = {}; A.environments_closure.prototype = { call$2(key, value) { var t1; for (t1 = J.get$iterator$ax(key); t1.moveNext$0();) $._environments.$indexSet(0, t1.get$current(t1), value); }, $signature: 830 }; A._casesHandler_closure.prototype = { call$1(cells) { var i, _null = null, t1 = type$.JSArray_GreenNode, t2 = A._setArrayType([A.SpaceNode$alignerOrSpacer()], t1), t3 = J.getInterceptor$asx(cells); if (t3.get$length(cells) >= 1) B.JSArray_methods.addAll$1(t2, t3.$index(cells, 0).children); if (t3.get$length(cells) > 1) t2.push(A.SpaceNode$alignerOrSpacer()); if (t3.get$length(cells) > 1) t2.push(A.SpaceNode$(_null, false, B.Measurement_0_Unit_0, B.Mode_0, B.Measurement_0_Unit_0, new A.Measurement(1, B.Unit_13))); for (i = 1; i < t3.get$length(cells); ++i) { t2.push(new A.SpaceNode(B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, _null, true, B.Mode_0, true)); B.JSArray_methods.addAll$1(t2, t3.$index(cells, i).children); t2.push(new A.SpaceNode(B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, B.Measurement_0_Unit_0, _null, true, B.Mode_0, true)); } t3 = this.context.envName; if (t3 === "dcases" || t3 === "drcases") return A.EquationRowNode$(A._setArrayType([A.StyleNode$(t2, new A.OptionsDiff(B.MathStyle_0, _null, _null, _null, _null))], t1), _null); else return A.EquationRowNode$(t2, _null); }, $signature: 187 }; A._alignedHandler_closure.prototype = { call$1(cells) { var t1 = J.expand$1$1$ax(cells, new A._alignedHandler__closure(), type$.GreenNode); return A.EquationRowNode$(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), null); }, $signature: 187 }; A._alignedHandler__closure.prototype = { call$1(cell) { var t1 = A.List_List$of(cell.children, true, type$.GreenNode); t1.push(A.SpaceNode$alignerOrSpacer()); return t1; }, $signature: 333 }; A._alignedAtHandler_closure.prototype = { call$1(e) { return A.assertNodeType(e, type$.SymbolNode).symbol; }, $signature: 334 }; A._alignedAtHandler_closure0.prototype = { call$1(cells) { var t1 = J.getInterceptor$asx(cells), t2 = 2 * this.cols; if (t1.get$length(cells) > t2) throw A.wrapException(A.ParseException$("Too many math in a row: expected " + t2 + ", but got " + t1.get$length(cells), null)); t1 = t1.expand$1$1(cells, new A._alignedAtHandler__closure(), type$.GreenNode); return A.EquationRowNode$(A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")), null); }, $signature: 187 }; A._alignedAtHandler__closure.prototype = { call$1(cell) { var t1 = A.List_List$of(cell.children, true, type$.GreenNode); t1.push(A.SpaceNode$alignerOrSpacer()); return t1; }, $signature: 333 }; A.FunctionContext.prototype = {}; A.FunctionSpec.prototype = { handler$2(arg0, arg1) { return this.handler.call$2(arg0, arg1); } }; A.RegisterFunctionExt_registerFunctions_closure.prototype = { call$2(key, value) { var t1, t2; for (t1 = J.get$iterator$ax(key), t2 = this._this; t1.moveNext$0();) t2.$indexSet(0, t1.get$current(t1), value); }, $signature: 834 }; A._charHandler_closure.prototype = { call$1(child) { return A.assertNodeType(child, type$.SymbolNode).symbol; }, $signature: 334 }; A.CrNode.prototype = {}; A._delimiterSymbols_closure.prototype = { call$1(command) { var t1 = B.Map_SPp4G.$index(0, B.Mode_0).$index(0, command); t1.toString; return t1; }, $signature: 835 }; A._checkDelimiter_closure.prototype = { call$1(symbol) { var t1 = this.delim; return symbol.symbol === t1.symbol && symbol.variantForm === t1.variantForm; }, $signature: 836 }; A._LeftRightRightNode.prototype = {}; A._leftHandler_closure.prototype = { call$1(part) { return A.GreenNodeListWrappingExt_wrapWithEquationRow(part); }, $signature: 837 }; A._MiddleNode.prototype = {}; A._enviromentHandler_closure.prototype = { call$1(element) { return !(element instanceof A.SymbolNode); }, $signature: 838 }; A._enviromentHandler_closure0.prototype = { call$1(node) { return type$.SymbolNode._as(node).symbol; }, $signature: 839 }; A._EndEnvironmentNode.prototype = { get$name(receiver) { return this.name; } }; A.Lexer.prototype = { lex$0() { var t4, match, t5, t6, t7, text, nlIndex, controlMatch, _this = this, _s23_ = "Unexpected character: '", t1 = _this.pos, t2 = _this.input, t3 = t2.length; if (t1 === t3) return new A.Token1("EOF", new A.SourceLocation0(_this, t1, t1)); t1 = _this.it; if (!t1.moveNext$0()) { t1 = _this.pos; t2 = t2[t1]; throw A.wrapException(A.ParseException$(_s23_ + t2 + "'", A.Token$(t2, A.SourceLocation$0(_this, t1, t1 + 1)))); } t4 = type$.RegExpMatch; match = t4._as(t1.__js_helper$_current); t5 = match._match; t6 = t5.index; t7 = _this.pos; if (t6 !== t7) { t1 = t2[t7]; throw A.wrapException(A.ParseException$(_s23_ + t1 + "'", A.Token$(t1, A.SourceLocation$0(_this, t7, t7 + 1)))); } _this.pos = match.get$end(match); text = t5[2]; if (text == null) text = " "; if (text === "%") { t5 = t4._as(t1.__js_helper$_current); nlIndex = B.JSString_methods.indexOf$2(t2, "\n", t5.get$end(t5)); if (nlIndex === -1) { _this.pos = t3; for (; t1.moveNext$0();) { t2 = t4._as(t1.__js_helper$_current)._match; _this.pos = t2.index + t2[0].length; } _this.settings.reportNonstrict$2("commentAtEnd", "% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)"); } else for (t2 = nlIndex + 1; t3 = t4._as(t1.__js_helper$_current)._match, t3.index + t3[0].length < t2;) if (t1.moveNext$0()) { t3 = t4._as(t1.__js_helper$_current)._match; _this.pos = t3.index + t3[0].length; } else break; return _this.lex$0(); } controlMatch = $.$get$controlWordWhitespaceRegex().firstMatch$1(text); if (controlMatch != null) { t1 = controlMatch._match[1]; t1.toString; text = t1; } return new A.Token1(text, new A.SourceLocation0(_this, t6, match.get$end(match))); } }; A.MacroExpander.prototype = { expandNextToken$0() { var t1, expanded; for (t1 = this.stack; true;) { expanded = this.expandOnce$0(); if (expanded != null) if (expanded.text === "\\relax") t1.pop(); else return t1.pop(); } }, expandOnce$1(expandableOnly) { var tokens, args, i, tok, t1, t2, $name, expansion, t3, t4, exception, _this = this, _null = null; _this.future$0(); t1 = _this.stack; t2 = t1.pop(); $name = t2.text; expansion = !t2.noexpand ? _this._getExpansion$1($name) : _null; t3 = expansion == null; if (!t3) t4 = false; else t4 = true; if (t4) { if (expandableOnly && t3 && $name[0] === "\\" && _this.isDefined$1($name)) throw A.wrapException(A.ParseException$("Undefined control sequence: " + $name, _null)); t1.push(t2); return t2; } if (++_this.expansionCount > 1000) throw A.wrapException(A.ParseException$("Too many expansions: infinite loop or need to increase maxExpand setting", _null)); tokens = expansion.tokens; t2 = expansion.numArgs; if (t2 !== 0) { args = _this.consumeArgs$1(t2); t2 = tokens; t2 = A._setArrayType(t2.slice(0), A.instanceType(t2)._eval$1("JSArray<1>")); tokens = t2; for (i = J.get$length$asx(tokens) - 1; i >= 0; --i) { tok = J.$index$asx(tokens, i); if (tok.text === "#") { if (J.$eq$(i, 0)) throw A.wrapException(A.ParseException$("Incomplete placeholder at end of macro body", tok)); --i; tok = J.$index$asx(tokens, i); if (tok.text === "#") J.removeAt$1$ax(tokens, i + 1); else try { J.replaceRange$3$asx(tokens, i, i + 2, J.$index$asx(args, A.int_parse(tok.text, _null) - 1)); } catch (exception) { if (type$.FormatException._is(A.unwrapException(exception))) throw A.wrapException(A.ParseException$("Not a valid argument number", tok)); else throw exception; } } } } B.JSArray_methods.addAll$1(t1, tokens); return _null; }, expandOnce$0() { return this.expandOnce$1(false); }, future$0() { var t1 = this.stack; if (t1.length === 0) t1.push(this.lexer.lex$0()); return B.JSArray_methods.get$last(t1); }, _getExpansion$1($name) { var definition = this.macros.$get$1(0, $name); if (definition == null) return null; return definition.expand.call$1(this); }, consumeArgs$1(numArgs) { return A.List_List$generate(numArgs, new A.MacroExpander_consumeArgs_closure(this), true, type$.List_Token); }, consumeSpaces$0() { var t1, t2; for (t1 = this.stack, t2 = this.lexer; true;) { if (t1.length === 0) t1.push(t2.lex$0()); if (B.JSArray_methods.get$last(t1).text === " ") t1.pop(); else break; } }, isDefined$1($name) { var t1 = this.macros; return t1.current.containsKey$1(0, $name) || t1.builtins.containsKey$1(0, $name) || B.Map_SPp4G.$index(0, B.Mode_0).containsKey$1(0, $name) || B.Map_SPp4G.$index(0, B.Mode_1).containsKey$1(0, $name) || $.$get$functions().containsKey$1(0, $name) || J.containsKey$1$x(B.Set_EOZp1._collection$_map, $name); }, expandMacroAsText$1($name) { var tokens = this.expandMacro$1($name); if (tokens != null) return new A.MappedListIterable(tokens, new A.MacroExpander_expandMacroAsText_closure(), A._arrayInstanceType(tokens)._eval$1("MappedListIterable<1,String>")).join$1(0, ""); return null; }, expandMacro$1($name) { var output, t1, oldStackLength; if (this.macros.$get$1(0, $name) == null) return null; output = A._setArrayType([], type$.JSArray_Token); t1 = this.stack; oldStackLength = t1.length; t1.push(new A.Token1($name, null)); for (; t1.length > oldStackLength;) if (this.expandOnce$0() != null) output.push(t1.pop()); return output; }, $isMacroContext: 1 }; A.MacroExpander_consumeArgs_closure.prototype = { call$1(i) { var t2, t3, t4, arg, depth, t1 = this.$this; t1.consumeSpaces$0(); t1.future$0(); t2 = t1.stack; t3 = t2.pop(); t4 = t3.text; if (t4 === "{") { arg = A._setArrayType([], type$.JSArray_Token); for (t1 = t1.lexer, depth = 1; depth !== 0;) { if (t2.length === 0) t2.push(t1.lex$0()); B.JSArray_methods.get$last(t2); t4 = t2.pop(); arg.push(t4); switch (t4.text) { case "{": ++depth; break; case "}": --depth; break; case "EOF": throw A.wrapException(A.ParseException$("End of input in macro argument", t3)); } } arg.pop(); t1 = type$.ReversedListIterable_Token; return A.List_List$of(new A.ReversedListIterable(arg, t1), true, t1._eval$1("ListIterable.E")); } else if (t4 === "EOF") throw A.wrapException(A.ParseException$("End of input expecting macro argument", null)); else return A._setArrayType([t3], type$.JSArray_Token); }, $signature: 840 }; A.MacroExpander_expandMacroAsText_closure.prototype = { call$1(token) { return token.text; }, $signature: 188 }; A.MacroDefinition.prototype = {}; A.MacroDefinition$fromString_closure.prototype = { call$1(context) { return A.MacroExpansion_fromString(this.output, context); }, $signature: 50 }; A.MacroDefinition$fromCtxString_closure.prototype = { call$1(context) { return A.MacroExpansion_fromString(this.expand.call$1(context), context); }, $signature: 50 }; A.MacroDefinition$fromMacroExpansion_closure.prototype = { call$1(_) { return this.output; }, $signature: 50 }; A.MacroExpansion.prototype = {}; A.builtinMacros_closure.prototype = { call$1(context) { var t1, t2, t3; context.future$0(); t1 = context.stack.pop(); t2 = t1.text; t3 = context.macros.$get$1(0, t2) != null || null; if (t3 == null ? $.$get$functions().containsKey$1(0, t2) : t3) t1.noexpand = true; return new A.MacroExpansion(A._setArrayType([t1], type$.JSArray_Token), 0); }, $signature: 50 }; A.builtinMacros_closure0.prototype = { call$1(context) { var t1; context.future$0(); t1 = context.stack.pop(); context.expandOnce$1(true); return new A.MacroExpansion(A._setArrayType([t1], type$.JSArray_Token), 0); }, $signature: 50 }; A.builtinMacros_closure1.prototype = { call$1(context) { return new A.MacroExpansion(context.consumeArgs$1(2)[0], 0); }, $signature: 50 }; A.builtinMacros_closure2.prototype = { call$1(context) { return new A.MacroExpansion(context.consumeArgs$1(2)[1], 0); }, $signature: 50 }; A.builtinMacros_closure3.prototype = { call$1(context) { var nextToken, t1, args = context.consumeArgs$1(3); context.consumeSpaces$0(); nextToken = context.future$0(); t1 = args[0]; if (t1.length === 1 && t1[0].text === nextToken.text) return new A.MacroExpansion(args[1], 0); else return new A.MacroExpansion(args[2], 0); }, $signature: 50 }; A.builtinMacros_closure4.prototype = { call$1(context) { var args = context.consumeArgs$1(2); if (context.mode === B.Mode_1) return new A.MacroExpansion(args[0], 0); else return new A.MacroExpansion(args[1], 0); }, $signature: 50 }; A.builtinMacros_closure5.prototype = { call$1(context) { var t1, token, t2, number, base, digit, _null = null; context.future$0(); t1 = context.stack; token = t1.pop(); t2 = token.text; if (t2 === "'") { context.future$0(); token = t1.pop(); number = _null; base = 8; } else if (t2 === '"') { context.future$0(); token = t1.pop(); number = _null; base = 16; } else if (t2 === "`") { context.future$0(); token = t1.pop(); t2 = token.text; if (t2[0] === "\\") number = B.JSString_methods._codeUnitAt$1(t2, 1); else if (t2 === "EOF") throw A.wrapException(A.ParseException$("\\char` missing argument", _null)); else number = B.JSString_methods._codeUnitAt$1(t2, 0); base = _null; } else { number = _null; base = 10; } if (base != null) { t2 = token.text; number = B.Map_IW6Co.$index(0, t2); if (number == null || number >= base) throw A.wrapException(A.ParseException$("Invalid base-" + A.S(base) + " digit " + t2, _null)); t2 = context.lexer; while (true) { if (t1.length === 0) t1.push(t2.lex$0()); digit = B.Map_IW6Co.$index(0, B.JSArray_methods.get$last(t1).text); if (!(digit != null && digit < base)) break; number.toString; number = number * base + digit; if (t1.length === 0) t1.push(t2.lex$0()); B.JSArray_methods.get$last(t1); t1.pop(); } } return "\\@char{" + A.S(number) + "}"; }, $signature: 51 }; A.builtinMacros_closure6.prototype = { call$1(context) { return A.newcommand(context, false, true); }, $signature: 51 }; A.builtinMacros_closure7.prototype = { call$1(context) { return A.newcommand(context, true, false); }, $signature: 51 }; A.builtinMacros_closure8.prototype = { call$1(context) { return A.newcommand(context, true, true); }, $signature: 51 }; A.builtinMacros_closure9.prototype = { call$1(context) { var arg = context.consumeArgs$1(1)[0], t1 = A._arrayInstanceType(arg)._eval$1("ReversedListIterable<1>"); new A.MappedListIterable(new A.ReversedListIterable(arg, t1), new A.builtinMacros__closure0(), t1._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ""); return ""; }, $signature: 51 }; A.builtinMacros__closure0.prototype = { call$1(token) { return token.text; }, $signature: 188 }; A.builtinMacros_closure10.prototype = { call$1(context) { var arg = context.consumeArgs$1(1)[0], t1 = A._arrayInstanceType(arg)._eval$1("ReversedListIterable<1>"); new A.MappedListIterable(new A.ReversedListIterable(arg, t1), new A.builtinMacros__closure(), t1._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ""); return ""; }, $signature: 51 }; A.builtinMacros__closure.prototype = { call$1(token) { return token.text; }, $signature: 188 }; A.builtinMacros_closure11.prototype = { call$1(context) { var t1, $name; context.future$0(); t1 = context.stack.pop(); $name = t1.text; t1.toString$0(0); A.S(context.macros.$get$1(0, $name)); A.S($.$get$functions().$index(0, $name)); A.S(B.Map_SPp4G.$index(0, B.Mode_0).$index(0, $name)); A.S(B.Map_SPp4G.$index(0, B.Mode_1).$index(0, $name)); return ""; }, $signature: 51 }; A.builtinMacros_closure12.prototype = { call$1(context) { var next, t1, thedots; context.expandOnce$0(); next = context.future$0().text; if (B.Map_Jiej4.containsKey$1(0, next)) { t1 = B.Map_Jiej4.$index(0, next); t1.toString; thedots = t1; } else if (next.length >= 4 && B.JSString_methods.substring$2(next, 0, 4) === "\\not") thedots = "\\dotsb"; else if (B.Map_SPp4G.$index(0, B.Mode_0).containsKey$1(0, next)) { t1 = B.Map_SPp4G.$index(0, B.Mode_0).$index(0, next).type; thedots = t1 === B.AtomType_2 || t1 === B.AtomType_3 ? "\\dotsb" : "\\dotso"; } else thedots = "\\dotso"; return thedots; }, $signature: 51 }; A.builtinMacros_closure13.prototype = { call$1(context) { if (context.macros.$get$1(0, "\\df@tag") != null) throw A.wrapException(A.ParseException$("Multiple \\tag", null)); return "\\gdef\\df@tag{\\text{#1}}"; }, $signature: 51 }; A.Namespace.prototype = { $get$1(_, $name) { var currentRes = this.current.$index(0, $name); if (currentRes != null) return currentRes; return this.builtins.$index(0, $name); }, $set$2(_, $name, value) { var t1 = this.undefStack; if (t1.length !== 0) B.JSArray_methods.get$last(t1).$indexSet(0, $name, this.current.$index(0, $name)); this.current.$indexSet(0, $name, value); }, endGroup$0() { var t1 = this.undefStack; if (t1.length === 0) throw A.wrapException(A.ParseException$("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug", null)); t1.pop().forEach$1(0, new A.Namespace_endGroup_closure(this)); } }; A.Namespace_endGroup_closure.prototype = { call$2(key, value) { var t1 = this.$this.current; if (value == null) t1.remove$1(0, key); else t1.$indexSet(0, key, value); }, $signature() { return this.$this.$ti._eval$1("~(String,1?)"); } }; A.ParseException.prototype = { ParseException$2(message, token) { var input, start, end, t2, t1 = this.token, loc = t1 == null ? null : t1.loc; if (loc != null && loc.start <= loc.end) { input = loc.lexer.input; start = loc.start; end = loc.end; t1 = input.length; start === t1; A.stringReplaceAllFuncUnchecked(B.JSString_methods.substring$2(input, start, end), A.RegExp_RegExp("[^]", true, false), new A.ParseException_closure(), null); if (start > 15) B.JSString_methods.substring$2(input, start - 15, start); else B.JSString_methods.substring$2(input, 0, start); t2 = end + 15; if (t2 < t1) B.JSString_methods.substring$2(input, end, t2); else B.JSString_methods.substring$1(input, end); } }, $isException: 1, $isFlutterMathException: 1, get$message(receiver) { return this.message; } }; A.ParseException_closure.prototype = { call$1(match) { return A.S(match.$index(0, 0)) + "\u0332"; }, $signature: 23 }; A.TexParser.prototype = { parseExpression$3$breakOnInfix$breakOnTokenText$infixArgumentMode(breakOnInfix, breakOnTokenText, infixArgumentMode) { var lex, funcData, atom, t1, t2, t3, t4, t5, atom0, _this = this, body = A._setArrayType([], type$.JSArray_GreenNode); for (t1 = breakOnTokenText != null, t2 = B.Set_aN3Ei._collection$_map, t3 = J.getInterceptor$x(t2), t4 = _this.argParsingContexts, t5 = type$.GreenNode; true;) { if (_this.mode === B.Mode_0) _this.consumeSpaces$0(); lex = _this.fetch$0(0); if (t3.containsKey$1(t2, lex.text)) break; if (t1 && lex.text === breakOnTokenText) break; funcData = $.$get$functions().$index(0, lex.text); if (funcData != null && funcData.infix) { if (infixArgumentMode) throw A.wrapException(A.ParseException$("only one infix operator per group", lex)); if (breakOnInfix) break; _this.nextToken = null; t4._add$1(0, new A.ArgumentParsingContext(lex.text, funcData)); try { atom = funcData.handler$2(_this, new A.FunctionContext(lex.text, breakOnTokenText, A.List_List$of(body, false, t5))); J.set$length$asx(body, 0); J.add$1$ax(body, atom); } finally { lex.toString; t4.removeLast$0(0); } } else { atom0 = _this.parseAtom$1(breakOnTokenText); if (atom0 == null) break; J.add$1$ax(body, atom0); } } return body; }, parseExpression$1$breakOnInfix(breakOnInfix) { return this.parseExpression$3$breakOnInfix$breakOnTokenText$infixArgumentMode(breakOnInfix, null, false); }, parseExpression$2$breakOnInfix$breakOnTokenText(breakOnInfix, breakOnTokenText) { return this.parseExpression$3$breakOnInfix$breakOnTokenText$infixArgumentMode(breakOnInfix, breakOnTokenText, false); }, parseExpression$2$breakOnTokenText$infixArgumentMode(breakOnTokenText, infixArgumentMode) { return this.parseExpression$3$breakOnInfix$breakOnTokenText$infixArgumentMode(false, breakOnTokenText, infixArgumentMode); }, expect$2$consume(text, consume) { var _this = this; if (_this.fetch$0(0).text !== text) throw A.wrapException(A.ParseException$("Expected '" + text + "', got '" + _this.fetch$0(0).text + "'", _this.fetch$0(0))); if (consume) _this.nextToken = null; }, expect$1(text) { return this.expect$2$consume(text, true); }, consumeSpaces$0() { for (; this.fetch$0(0).text === " ";) this.nextToken = null; }, parseAtom$1(breakOnTokenText) { var scriptsResult, t1, t2, t3, t4, res, _null = null, base = this.parseGroup$4$breakOnTokenText$greediness$optional("atom", breakOnTokenText, _null, false); if (this.mode === B.Mode_1) return base; scriptsResult = this.parseScripts$1$allowLimits(base instanceof A.EquationRowNode && base.overrideType === B.AtomType_1); t1 = scriptsResult.subscript; t2 = t1 == null; if (!(t2 && scriptsResult.superscript == null)) if (scriptsResult.limits !== true) { t2 = base == null ? _null : A.GreenNodeWrappingExt_wrapWithEquationRow(base); if (t2 == null) t2 = A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), _null); return A.MultiscriptsNode$(t2, t1, scriptsResult.superscript); } else { t3 = scriptsResult.superscript; if (t3 != null) { t4 = base == null ? _null : A.GreenNodeWrappingExt_wrapWithEquationRow(base); res = A.OverNode$(t3, t4 == null ? A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), _null) : t4, false); } else res = base; if (!t2) { t2 = res == null ? _null : A.GreenNodeWrappingExt_wrapWithEquationRow(res); res = A.UnderNode$(t2 == null ? A.EquationRowNode$(A._setArrayType([], type$.JSArray_GreenNode), _null) : t2, t1); } return res; } else return base; }, parseScripts$1$allowLimits(allowLimits) { var t1, t2, limits, superscript, subscript, lex, t3, primeCommand, t4, t5, t6, superscriptList, _this = this, _null = null, _s18_ = "Double superscript"; $label0$1: for (t1 = type$.JSArray_GreenNode, t2 = !allowLimits, limits = _null, superscript = limits, subscript = superscript; true;) { _this.consumeSpaces$0(); lex = _this.fetch$0(0); t3 = lex.text; switch (t3) { case "\\limits": case "\\nolimits": if (t2) throw A.wrapException(A.ParseException$("Limit controls must follow a math operator", lex)); limits = t3 === "\\limits"; _this.nextToken = null; break; case "^": if (superscript != null) throw A.wrapException(A.ParseException$(_s18_, lex)); superscript = A.GreenNodeWrappingExt_wrapWithEquationRow(_this._handleScript$0()); break; case "_": if (subscript != null) throw A.wrapException(A.ParseException$("Double subscript", lex)); subscript = A.GreenNodeWrappingExt_wrapWithEquationRow(_this._handleScript$0()); break; case "'": if (superscript != null) throw A.wrapException(A.ParseException$(_s18_, lex)); primeCommand = B.Map_SPp4G.$index(0, B.Mode_0).$index(0, "\\prime"); t3 = _this.mode; t4 = primeCommand.symbol; t5 = primeCommand.variantForm; t6 = primeCommand.type; superscriptList = A._setArrayType([new A.SymbolNode(t4, t5, t6, _null, t3)], t1); _this.nextToken = null; for (; _this.fetch$0(0).text === "'";) { superscriptList.push(new A.SymbolNode(t4, t5, t6, _null, _this.mode)); _this.nextToken = null; } if (_this.fetch$0(0).text === "^") B.JSArray_methods.addAll$1(superscriptList, A.GreenNodeWrappingExt_expandEquationRow(_this._handleScript$0())); superscript = A.GreenNodeListWrappingExt_wrapWithEquationRow(superscriptList); break; default: break $label0$1; } } return new A.ScriptsParsingResults(subscript, superscript, limits); }, parseScripts$0() { return this.parseScripts$1$allowLimits(false); }, _handleScript$0() { var group, symbolToken = this.fetch$0(0), symbol = symbolToken.text; this.nextToken = null; group = this.parseGroup$4$consumeSpaces$greediness$optional(symbol === "_" ? "subscript" : "superscript", true, 1, false); if (group == null) throw A.wrapException(A.ParseException$("Expected group after '" + symbol + "'", symbolToken)); return group; }, fetch$0(_) { var nextToken = this.nextToken; if (nextToken == null) return this.nextToken = this.macroExpander.expandNextToken$0(); return nextToken; }, parseGroup$6$breakOnTokenText$consumeSpaces$greediness$mode$optional($name, breakOnTokenText, consumeSpaces, greediness, mode, optional) { var firstToken, text, t2, t3, expression, result, _this = this, outerMode = _this.mode, t1 = mode != null; if (t1) { _this.mode = mode; _this.macroExpander.mode = mode; } if (consumeSpaces) _this.consumeSpaces$0(); firstToken = _this.fetch$0(0); text = firstToken.text; if (optional) t2 = text === "["; else t2 = text === "{" || text === "\\begingroup"; if (t2) { _this.nextToken = null; t2 = B.Map_e3izW.$index(0, text); t2.toString; t3 = _this.macroExpander.macros; t3.undefStack.push(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, t3.$ti._eval$1("1?"))); expression = _this.parseExpression$2$breakOnInfix$breakOnTokenText(false, t2); _this.expect$1(t2); t3.endGroup$0(); result = A.GreenNodeListWrappingExt_wrapWithEquationRow(expression); } else if (optional) result = null; else { result = _this.parseFunction$3(breakOnTokenText, $name, greediness); if (result == null) result = _this._parseSymbol$0(); if (result == null && text[0] === "\\" && !J.containsKey$1$x(B.Set_EOZp1._collection$_map, text)) { t2 = A.ParseException$("Undefined control sequence: " + text, firstToken); throw A.wrapException(t2); } } if (t1) { _this.mode = outerMode; _this.macroExpander.mode = outerMode; } return result; }, parseGroup$5$consumeSpaces$greediness$mode$optional($name, consumeSpaces, greediness, mode, optional) { return this.parseGroup$6$breakOnTokenText$consumeSpaces$greediness$mode$optional($name, null, consumeSpaces, greediness, mode, optional); }, parseGroup$4$consumeSpaces$greediness$optional($name, consumeSpaces, greediness, optional) { return this.parseGroup$6$breakOnTokenText$consumeSpaces$greediness$mode$optional($name, null, consumeSpaces, greediness, null, optional); }, parseGroup$4$breakOnTokenText$greediness$optional($name, breakOnTokenText, greediness, optional) { return this.parseGroup$6$breakOnTokenText$consumeSpaces$greediness$mode$optional($name, breakOnTokenText, false, greediness, null, optional); }, parseFunction$3(breakOnTokenText, $name, greediness) { var context, t1, t2, _this = this, _s20_ = "Can't use function '", token = _this.fetch$0(0), func = token.text, funcData = $.$get$functions().$index(0, func); if (funcData == null) return null; _this.nextToken = null; if (greediness != null && funcData.greediness <= greediness) { t1 = "Got function '" + A.S(func) + "' with no arguments "; throw A.wrapException(A.ParseException$(t1 + ($name != null ? " as " + $name : ""), token)); } else { t1 = _this.mode; if (t1 === B.Mode_1 && !funcData.allowedInText) throw A.wrapException(A.ParseException$(_s20_ + A.S(func) + "' in text mode", token)); else if (t1 === B.Mode_0 && !funcData.allowedInMath) throw A.wrapException(A.ParseException$(_s20_ + A.S(func) + "' in math mode", token)); } context = new A.FunctionContext(func, breakOnTokenText, B.List_empty20); t1 = _this.argParsingContexts; t1._add$1(0, new A.ArgumentParsingContext(func, funcData)); try { t2 = funcData.handler$2(_this, context); return t2; } finally { t1.removeLast$0(0); } }, get$currArgParsingContext() { var t1 = this.argParsingContexts; return t1.get$last(t1); }, _assertOptionalBeforeReturn$2$optional(value, optional) { if (!optional && value == null) throw A.wrapException(A.ParseException$("Expected group after " + this.get$currArgParsingContext().funcName, this.fetch$0(0))); }, parseArgColor$1$optional(optional) { var i, consumeSpaces, res, t2, match3, color, match2, t3, match1, _this = this, t1 = _this.argParsingContexts; t1.get$last(t1).newArgument$1$optional(false); i = t1.get$last(t1).currArgNum; if (!(i > 0 && true)) if (i === 0) { t1 = _this.mode === B.Mode_0; consumeSpaces = t1; } else consumeSpaces = false; else consumeSpaces = true; if (consumeSpaces) _this.consumeSpaces$0(); res = _this._parseStringGroup$2$optional("color", false); if (res == null) { _this._assertOptionalBeforeReturn$2$optional(null, false); return null; } t1 = $.$get$TexParser__parseColorRegex3(); t2 = res.text; match3 = t1.firstMatch$1(t2); if (match3 != null) { color = B.Map_MPCxz.$index(0, match3._match[0].toLowerCase()); if (color != null) return color; } match2 = $.$get$TexParser__parseColorRegex2().firstMatch$1(t2); if (match2 != null) { t1 = match2._match; t2 = t1[1]; t2.toString; t2 = A.int_parse(t2, 16); t3 = t1[2]; t3.toString; t3 = A.int_parse(t3, 16); t1 = t1[3]; t1.toString; return A.Color$fromARGB(255, t2, t3, A.int_parse(t1, 16)); } match1 = $.$get$TexParser__parseColorRegex1().firstMatch$1(t2); if (match1 != null) { t1 = match1._match; t2 = t1[1]; t2.toString; t2 = A.int_parse(B.JSString_methods.$mul(t2, 2), 16); t3 = t1[2]; t3.toString; t3 = A.int_parse(B.JSString_methods.$mul(t3, 2), 16); t1 = t1[3]; t1.toString; return A.Color$fromARGB(255, t2, t3, A.int_parse(B.JSString_methods.$mul(t1, 2), 16)); } throw A.wrapException(A.ParseException$("Invalid color: '" + t2 + "'", null)); }, parseArgSize$1$optional(optional) { var i, consumeSpaces, res, t2, match, unit, _this = this, t1 = _this.argParsingContexts; t1.get$last(t1).newArgument$1$optional(optional); i = t1.get$last(t1).currArgNum; if (!(i > 0 && !optional)) consumeSpaces = i === 0 && !optional && _this.mode === B.Mode_0; else consumeSpaces = true; if (consumeSpaces) _this.consumeSpaces$0(); t1 = !optional; res = t1 && _this.fetch$0(0).text !== "{" ? _this._parseRegexGroup$2($.$get$TexParser__parseSizeRegex(), "size") : _this._parseStringGroup$2$optional("size", optional); if (res == null) { _this._assertOptionalBeforeReturn$2$optional(null, optional); return null; } if (t1 && res.text.length === 0) return null; t1 = $.$get$TexParser__parseMeasurementRegex(); t2 = res.text; match = t1.firstMatch$1(t2); if (match == null) throw A.wrapException(A.ParseException$("Invalid size: '" + t2 + "'", res)); t1 = match._match; t2 = t1[3]; t2.toString; unit = B.Map_7w4CA.$index(0, t2); if (unit == null) throw A.wrapException(A.ParseException$("Invalid unit: '" + A.S(match.group$1(3)) + "'", res)); t2 = t1[1]; t2.toString; t1 = t1[2]; t1.toString; return new A.Measurement(A.double_parse(t2 + t1), unit); }, parseArgNode$2$mode$optional(mode, optional) { var i, consumeSpaces, res, _this = this, t1 = _this.argParsingContexts; t1.get$last(t1).newArgument$1$optional(optional); i = t1.get$last(t1).currArgNum; if (!(i > 0 && !optional)) consumeSpaces = i === 0 && !optional && _this.mode === B.Mode_0; else consumeSpaces = true; res = _this.parseGroup$5$consumeSpaces$greediness$mode$optional("argument to " + t1.get$last(t1).funcName, consumeSpaces, t1.get$last(t1).funcData.greediness, mode, optional); _this._assertOptionalBeforeReturn$2$optional(res, optional); return res; }, parseArgHbox$1$optional(optional) { var t1, _null = null, res = this.parseArgNode$2$mode$optional(B.Mode_1, false); if (res instanceof A.EquationRowNode) return A.EquationRowNode$(A._setArrayType([A.StyleNode$(res.children, new A.OptionsDiff(B.MathStyle_2, _null, _null, _null, _null))], type$.JSArray_GreenNode), _null); else { if (res == null) t1 = _null; else { t1 = A.IterableNullableExtension_whereNotNull(res.get$children(res), type$.GreenNode); t1 = A.List_List$of(t1, false, t1.$ti._eval$1("Iterable.E")); } if (t1 == null) t1 = A._setArrayType([], type$.JSArray_GreenNode); return A.StyleNode$(t1, new A.OptionsDiff(B.MathStyle_2, _null, _null, _null, _null)); } }, _parseStringGroup$2$optional(modeName, optional) { var outerMode, firstToken, lastToken, str, nested, nextToken, t1, t2, t3, _this = this, groupBegin = optional ? "[" : "{", groupEnd = optional ? "]" : "}", beginToken = _this.fetch$0(0); if (beginToken.text !== groupBegin) if (optional) return null; outerMode = _this.mode; _this.mode = B.Mode_1; _this.expect$1(groupBegin); firstToken = _this.fetch$0(0); lastToken = firstToken; str = ""; nested = 0; while (true) { nextToken = _this.fetch$0(0); t1 = nextToken.text; t2 = t1 === groupEnd; if (t2) t3 = false; else t3 = true; if (!t3) break; if (t1 === "EOF") throw A.wrapException(A.ParseException$("Unexpected end of input in " + modeName, A.Token_range(firstToken, lastToken, str))); else if (t1 === groupBegin) ++nested; else if (t2) --nested; str += t1; _this.nextToken = null; lastToken = nextToken; } _this.expect$1(groupEnd); _this.mode = outerMode; return new A.Token1(str, A.SourceLocation_range(firstToken, lastToken)); }, _parseRegexGroup$2(regex, modeName) { var firstToken, t1, lastToken, str, nextToken, t2, t3, _this = this, outerMode = _this.mode; _this.mode = B.Mode_1; firstToken = _this.fetch$0(0); t1 = regex._nativeRegExp; lastToken = firstToken; str = ""; while (true) { nextToken = _this.fetch$0(0); t2 = nextToken.text; if (t2 !== "EOF") { t3 = str + t2; t3 = t1.test(t3); } else t3 = false; if (!t3) break; str += t2; _this.nextToken = null; lastToken = nextToken; } if (str.length === 0) throw A.wrapException(A.ParseException$("Invalid " + modeName + ": '" + firstToken.text + "'", firstToken)); _this.mode = outerMode; return new A.Token1(str, A.SourceLocation_range(firstToken, lastToken)); }, _parseSymbol$0() { var arg, t2, match, i, accent, combiningMarks, symbolCommandConfig, symbol, _this = this, _null = null, _s21_ = "unicodeTextInMathMode", _s19_ = '" used in math mode', nucleus = _this.fetch$0(0), text = nucleus.text, t1 = $.$get$TexParser__parseVerbRegex()._nativeRegExp; if (t1.test(text)) { _this.nextToken = null; arg = B.JSString_methods.substring$1(text, 5); if (arg[0] === "*") arg = B.JSString_methods.substring$1(arg, 1); t1 = arg.length; if (t1 < 2 || arg[0] !== arg[t1 - 1]) throw A.wrapException(A.ParseException$("\\verb assertion failed --\n please report what input caused this bug", _null)); t2 = type$.MappedListIterable_String_SymbolNode; return A.EquationRowNode$(A.List_List$of(new A.MappedListIterable(A._setArrayType(B.JSString_methods.substring$2(arg, 1, t1 - 1).split(""), type$.JSArray_String), new A.TexParser__parseSymbol_closure(), t2), false, t2._eval$1("ListIterable.E")), _null); } if (B.Map_kjmLk.containsKey$1(0, text[0]) && !B.Map_SPp4G.$index(0, _this.mode).containsKey$1(0, text[0])) if (_this.mode === B.Mode_0) _this.settings.reportNonstrict$3(_s21_, 'Accented Unicode text character "' + text[0] + _s19_, nucleus); match = $.$get$combiningDiacriticalMarksEndRegex().firstMatch$1(text); if (match != null) { t1 = match._match; text = B.JSString_methods.substring$2(text, 0, t1.index); for (i = 0; t2 = t1[0], i < t2.length; ++i) { accent = t2[i]; if (!B.Map_UZ6Vn.containsKey$1(0, accent)) throw A.wrapException(A.ParseException$("Unknown accent ' " + accent + "'", nucleus)); if (B.Map_UZ6Vn.$index(0, accent).$index(0, _this.mode) == null) throw A.wrapException(A.ParseException$("Accent " + accent + " unsupported in " + _this.mode.toString$0(0) + " mode", nucleus)); } t1 = t2; t1.toString; combiningMarks = t1; } else combiningMarks = ""; symbolCommandConfig = B.Map_SPp4G.$index(0, _this.mode).$index(0, text); if (symbolCommandConfig != null) { if (_this.mode === B.Mode_0 && J.containsKey$1$x(B.Set_PTBz._collection$_map, text)) _this.settings.reportNonstrict$3(_s21_, 'Latin-1/Unicode text character "' + text[0] + _s19_, nucleus); t1 = _this.mode; symbol = new A.SymbolNode(symbolCommandConfig.symbol + combiningMarks, symbolCommandConfig.variantForm, symbolCommandConfig.type, _null, t1); } else if (text.length !== 0 && B.JSString_methods._codeUnitAt$1(text, 0) >= 128) { t1 = B.JSString_methods._codeUnitAt$1(text, 0); if (!A.supportedCodepoint(t1)) _this.settings.reportNonstrict$3("unknownSymbol", 'Unrecognized Unicode character "' + text[0] + '" (' + t1 + ")", nucleus); else if (_this.mode === B.Mode_0) _this.settings.reportNonstrict$3(_s21_, 'Unicode text character "' + text[0] + ' used in math mode"', nucleus); symbol = new A.SymbolNode(text + combiningMarks, false, B.AtomType_0, _null, _this.mode); } else return _null; _this.nextToken = null; return symbol; } }; A.TexParser__parseSymbol_closure.prototype = { call$1(char) { return new A.SymbolNode(char, false, null, B.FontOptions_WFo, B.Mode_1); }, $signature: 185 }; A.ArgumentParsingContext.prototype = { get$name(_) { return "argument to " + this.funcName; }, newArgument$1$optional(optional) { ++this.currArgNum; this._optional = optional; } }; A.ScriptsParsingResults.prototype = {}; A.Strict.prototype = { toString$0(_) { return "Strict." + this._core$_name; } }; A.TexParserSettings.prototype = { reportNonstrict$3(errorCode, errorMsg, token) { switch (1) { case 1: break; } }, reportNonstrict$2(errorCode, errorMsg) { return this.reportNonstrict$3(errorCode, errorMsg, null); } }; A.SourceLocation0.prototype = {}; A.TexSymbolConfig.prototype = {}; A.Token1.prototype = { get$text(receiver) { return this.text; } }; A.CustomLayoutDelegate.prototype = { additionalPaint$2(context, offset) { } }; A.CustomLayoutParentData.prototype = { toString$0(_) { return this.super$BoxParentData$toString(0) + "; id=" + A.S(this.id); }, get$id(receiver) { return this.id; } }; A.CustomLayoutId.prototype = { applyParentData$1(renderObject) { var targetParent, parentData = type$.CustomLayoutParentData_dynamic._as(renderObject.parentData), t1 = this.id; if (parentData.id !== t1) { parentData.id = t1; targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } }, get$id(receiver) { return this.id; } }; A.CustomLayout.prototype = { createRenderObject$1(context) { var t1 = new A.RenderCustomLayout(this.delegate, 0, null, null, A.LayerHandle$(type$.ContainerLayer_2), this.$ti._eval$1("RenderCustomLayout<1>")); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.delegate; if (renderObject._custom_layout$_delegate !== t1) renderObject.markNeedsLayout$0(); renderObject._custom_layout$_delegate = t1; } }; A.RenderCustomLayout.prototype = { setupParentData$1(child) { var t1 = this.$ti._eval$1("CustomLayoutParentData<1>"); if (!t1._is(child.parentData)) child.parentData = new A.CustomLayoutParentData(null, null, B.Offset_0_0, t1); }, get$childrenTable() { var t2, childParentData, t3, t1 = this.$ti, res = A.LinkedHashMap_LinkedHashMap$_empty(t1._precomputed1, type$.RenderBox), child = this.ContainerRenderObjectMixin__firstChild; for (t1 = t1._eval$1("CustomLayoutParentData<1>"), t2 = child; t2 != null; t2 = child) { childParentData = t1._as(t2.parentData); t3 = childParentData.id; t3.toString; res.$indexSet(0, t3, t2); child = childParentData.ContainerParentDataMixin_nextSibling; } return res; }, computeMinIntrinsicWidth$1(height) { return this._custom_layout$_delegate.getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(new A.RenderCustomLayout_computeMinIntrinsicWidth_closure(), this.get$childrenTable(), height, false, B.Axis_0); }, computeMaxIntrinsicWidth$1(height) { return this._custom_layout$_delegate.getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(new A.RenderCustomLayout_computeMaxIntrinsicWidth_closure(), this.get$childrenTable(), height, true, B.Axis_0); }, computeMinIntrinsicHeight$1(width) { return this._custom_layout$_delegate.getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(new A.RenderCustomLayout_computeMinIntrinsicHeight_closure(), this.get$childrenTable(), width, false, B.Axis_1); }, computeMaxIntrinsicHeight$1(width) { return this._custom_layout$_delegate.getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(new A.RenderCustomLayout_computeMaxIntrinsicHeight_closure(), this.get$childrenTable(), width, true, B.Axis_1); }, computeDistanceToActualBaseline$1(baseline) { return this._custom_layout$_delegate.computeDistanceToActualBaseline$2(baseline, this.get$childrenTable()); }, performLayout$0() { this._size = this._custom_layout$_computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, computeDryLayout$1(constraints) { return this._custom_layout$_computeLayout$1(constraints); }, _custom_layout$_computeLayout$2$dry(constraints, dry) { return constraints.constrain$1(this._custom_layout$_delegate.computeLayout$3$dry(constraints, this.get$childrenTable(), dry)); }, _custom_layout$_computeLayout$1(constraints) { return this._custom_layout$_computeLayout$2$dry(constraints, true); }, paint$2(context, offset) { this.defaultPaint$2(context, offset); this._custom_layout$_delegate.additionalPaint$2(context, offset); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); } }; A.RenderCustomLayout_computeMinIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, extent, child.get$computeMinIntrinsicWidth()); }, $signature: 24 }; A.RenderCustomLayout_computeMaxIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, extent, child.get$computeMaxIntrinsicWidth()); }, $signature: 24 }; A.RenderCustomLayout_computeMinIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, extent, child.get$computeMinIntrinsicHeight()); }, $signature: 24 }; A.RenderCustomLayout_computeMaxIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, extent, child.get$computeMaxIntrinsicHeight()); }, $signature: 24 }; A.AxisConfiguration.prototype = {}; A.IntrinsicLayoutDelegate.prototype = { getIntrinsicSize$5$childSize$childrenTable$extent$max$sizingDirection(childSize, childrenTable, extent, max, sizingDirection) { var childrenHeights, _this = this, t1 = type$.double, t2 = A._instanceType(_this)._eval$1("IntrinsicLayoutDelegate.T"); if (sizingDirection === B.Axis_0) return _this.performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenTable.map$2$1(childrenTable, new A.IntrinsicLayoutDelegate_getIntrinsicSize_closure(_this, childSize), t2, t1), true).size; else { childrenHeights = childrenTable.map$2$1(childrenTable, new A.IntrinsicLayoutDelegate_getIntrinsicSize_closure0(_this, childSize), t2, t1); return _this.performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenHeights, childrenHeights, true).size; } }, computeLayout$3$dry(constraints, childrenTable, dry) { var t2, t3, t4, boxSize, hconf, vconf, _this = this, t1 = A._instanceType(_this)._eval$1("IntrinsicLayoutDelegate.T"), sizeMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Size); for (t2 = childrenTable.get$entries(childrenTable), t2 = t2.get$iterator(t2); t2.moveNext$0();) { t3 = t2.get$current(t2); t4 = t3.get$key(t3); t3 = t3.get$value(t3); if (dry) boxSize = t3.getDryLayout$1(B.BoxConstraints_mlX3); else { t3.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); t3 = t3._size; t3.toString; boxSize = t3; } sizeMap.$indexSet(0, t4, boxSize); } t2 = type$.double; hconf = _this.performHorizontalIntrinsicLayout$1$childrenWidths(sizeMap.map$2$1(sizeMap, new A.IntrinsicLayoutDelegate_computeLayout_closure(_this), t1, t2)); t3 = sizeMap.map$2$1(sizeMap, new A.IntrinsicLayoutDelegate_computeLayout_closure0(_this), t1, t2); vconf = _this.performVerticalIntrinsicLayout$2$childrenBaselines$childrenHeights(childrenTable.map$2$1(childrenTable, new A.IntrinsicLayoutDelegate_computeLayout_closure1(_this, dry), t1, t2), t3); if (!dry) childrenTable.forEach$1(0, new A.IntrinsicLayoutDelegate_computeLayout_closure2(_this, hconf, vconf)); return new A.Size(hconf.size, vconf.size); } }; A.IntrinsicLayoutDelegate_getIntrinsicSize_closure.prototype = { call$2(key, value) { return new A.MapEntry(key, this.childSize.call$2(value, 1 / 0), A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>(IntrinsicLayoutDelegate.T,RenderBox)"); } }; A.IntrinsicLayoutDelegate_getIntrinsicSize_closure0.prototype = { call$2(key, value) { return new A.MapEntry(key, this.childSize.call$2(value, 1 / 0), A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>(IntrinsicLayoutDelegate.T,RenderBox)"); } }; A.IntrinsicLayoutDelegate_computeLayout_closure.prototype = { call$2(key, value) { return new A.MapEntry(key, value._dx, A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>(IntrinsicLayoutDelegate.T,Size)"); } }; A.IntrinsicLayoutDelegate_computeLayout_closure0.prototype = { call$2(key, value) { return new A.MapEntry(key, value._dy, A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>(IntrinsicLayoutDelegate.T,Size)"); } }; A.IntrinsicLayoutDelegate_computeLayout_closure1.prototype = { call$2(key, value) { var t1; if (this.dry) t1 = 0; else { t1 = value.getDistanceToBaseline$2$onlyReal(B.TextBaseline_0, true); t1.toString; } return new A.MapEntry(key, t1, A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>")); }, $signature() { return A._instanceType(this.$this)._eval$1("MapEntry<IntrinsicLayoutDelegate.T,double>(IntrinsicLayoutDelegate.T,RenderBox)"); } }; A.IntrinsicLayoutDelegate_computeLayout_closure2.prototype = { call$2(id, child) { var t2, t1 = this.hconf.offsetTable.$index(0, id); t1.toString; t2 = this.vconf.offsetTable.$index(0, id); t2.toString; return type$.BoxParentData._as(child.parentData).offset = new A.Offset(t1, t2); }, $signature() { return A._instanceType(this.$this)._eval$1("~(IntrinsicLayoutDelegate.T,RenderBox)"); } }; A._RenderCustomLayout_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.CustomLayoutParentData_dynamic; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.CustomLayoutParentData_dynamic; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderCustomLayout_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A.EqnArrayParentData.prototype = {}; A.EqnArray.prototype = { createRenderObject$1(context) { var _this = this, _null = null, t1 = new A.RenderEqnArray(_this.ruleThickness, _this.jotSize, _this.arrayskip, _this.hlines, _this.rowSpacings, A._setArrayType([], type$.JSArray_double), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, _null); return t1; } }; A.RenderEqnArray.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.EqnArrayParentData)) child.parentData = new A.EqnArrayParentData(null, null, B.Offset_0_0); }, computeDryLayout$1(constraints) { return this._computeLayout$1(constraints); }, performLayout$0() { this._size = this._computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, _computeLayout$2$dry(constraints, dry) { var t1, boxSize, t2, childColWidth, i, childSize, nonAligningChildrenWidth, aligningChildrenWidth, width, t3, t4, t5, t6, t7, t8, t9, t10, t11, index, vPos, childParentData, hPos, layoutHeight, t12, layoutDepth, t13, _this = this, nonAligningSizes = A._setArrayType([], type$.JSArray_Size), child = _this.ContainerRenderObjectMixin__firstChild, colWidths = A._setArrayType([], type$.JSArray_double), sizeMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.RenderBox, type$.Size); for (t1 = type$.EqnArrayParentData; child != null;) { if (child instanceof A.RenderLine) { child.alignColWidth = null; if (dry) boxSize = child.getDryLayout$1(B.BoxConstraints_mlX3); else { child.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); t2 = child._size; t2.toString; boxSize = t2; } childColWidth = child.alignColWidth; if (childColWidth != null) for (i = 0; i < childColWidth.length; ++i) if (i >= colWidths.length) colWidths.push(childColWidth[i]); else colWidths[i] = Math.max(colWidths[i], A.checkNum(childColWidth[i])); else nonAligningSizes.push(boxSize); childSize = boxSize; } else { if (dry) boxSize = child.getDryLayout$1(B.BoxConstraints_mlX3); else { child.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); t2 = child._size; t2.toString; boxSize = t2; } colWidths[0] = Math.max(colWidths[0], boxSize._dx); childSize = boxSize; } sizeMap.$indexSet(0, child, childSize); child = t1._as(child.parentData).ContainerParentDataMixin_nextSibling; } nonAligningChildrenWidth = A.NumIterableExtension_get_maxOrNull(new A.MappedListIterable(nonAligningSizes, new A.RenderEqnArray__computeLayout_closure(), type$.MappedListIterable_Size_double)); if (nonAligningChildrenWidth == null) nonAligningChildrenWidth = 0; aligningChildrenWidth = A.IterableDoubleExtension_get_sum(colWidths); width = Math.max(nonAligningChildrenWidth, aligningChildrenWidth); t2 = !dry; if (t2) _this.hlinePos.push(0); child = _this.ContainerRenderObjectMixin__firstChild; for (t3 = _this._hlines, t4 = J.getInterceptor$asx(t3), t5 = _this._arrayskip, t6 = 0.3 * t5, t7 = _this._jotSize, t8 = _this._rowSpacings, t5 = 0.7 * t5, t9 = (width - aligningChildrenWidth) / 2, t10 = _this.hlinePos, t11 = _this._ruleThickness, index = 1, vPos = 0; child != null;) { childParentData = t1._as(child.parentData); childSize = sizeMap.$index(0, child); if (childSize == null) childSize = B.Size_0_0; if (child instanceof A.RenderLine && child.alignColWidth != null) { child.alignColWidth = colWidths; child.layout$2$parentUsesSize(0, new A.BoxConstraints(0, aligningChildrenWidth, 0, 1 / 0), true); hPos = t9 + colWidths[0] - child.alignColWidth[0]; } else hPos = (width - childSize._dx) / 2; if (dry) layoutHeight = 0; else { t12 = child.getDistanceToBaseline$1(B.TextBaseline_0); t12.toString; layoutHeight = t12; } if (dry) layoutDepth = childSize._dy; else { t12 = child._size._dy; t13 = child.getDistanceToBaseline$1(B.TextBaseline_0); t13.toString; layoutDepth = t12 - t13; } vPos += Math.max(layoutHeight, t5); if (t2) { t12 = child.getDistanceToBaseline$1(B.TextBaseline_0); t12.toString; childParentData.offset = new A.Offset(hPos, vPos - t12); } vPos += Math.max(layoutDepth, t6) + t7 + t8[index - 1]; if (t2) t10.push(vPos); vPos += t4.$index(t3, index) !== B.MatrixSeparatorStyle_2 ? t11 : 0; ++index; child = childParentData.ContainerParentDataMixin_nextSibling; } if (t2) _this.width = width; return new A.Size(width, vPos); }, _computeLayout$1(constraints) { return this._computeLayout$2$dry(constraints, true); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { var t1, t2, t3, t4, t5, i, t6, t7, t8, t9, _this = this; _this.defaultPaint$2(context, offset); for (t1 = _this._hlines, t2 = J.getInterceptor$asx(t1), t3 = _this._ruleThickness, t4 = _this.hlinePos, t5 = t3 / 2, i = 0; i < t2.get$length(t1); ++i) if (t2.$index(t1, i) !== B.MatrixSeparatorStyle_2) { t6 = context.get$canvas(context); t7 = t4[i] + t5; t8 = _this.width; t9 = A._detectRenderer(); t9 = t9 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t9.set$strokeWidth(t3); t6.drawLine$3(0, new A.Offset(0, t7), new A.Offset(t8, t7), t9); } }, set$width(receiver, val) { return this.width = val; } }; A.RenderEqnArray__computeLayout_closure.prototype = { call$1(size) { return size._dx; }, $signature: 844 }; A._RenderEqnArray_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.EqnArrayParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.EqnArrayParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderEqnArray_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A.LayoutBuilderPreserveBaseline.prototype = { get$builder() { return this.builder; }, createRenderObject$1(context) { var t1 = new A._RenderLayoutBuilderPreserveBaseline(null, true, null, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; } }; A._RenderLayoutBuilderPreserveBaseline.prototype = { computeDistanceToActualBaseline$1(baseline) { var t1 = this.RenderObjectWithChildMixin__child; return t1 == null ? null : t1.getDistanceToActualBaseline$1(baseline); }, computeMinIntrinsicWidth$1(height) { return 0; }, computeMaxIntrinsicWidth$1(height) { return 0; }, computeMinIntrinsicHeight$1(width) { return 0; }, computeMaxIntrinsicHeight$1(width) { return 0; }, computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child; t1 = t1 == null ? null : t1.getDryLayout$1(constraints); return t1 == null ? B.Size_0_0 : t1; }, performLayout$0() { var t1, _this = this, constraints = type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(_this)); _this.rebuildIfNecessary$0(); t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { t1.layout$2$parentUsesSize(0, constraints, true); t1 = _this.RenderObjectWithChildMixin__child._size; t1.toString; _this._size = constraints.constrain$1(t1); } else _this._size = new A.Size(B.JSInt_methods.clamp$2(1 / 0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(1 / 0, constraints.minHeight, constraints.maxHeight)); }, hitTestChildren$2$position(result, position) { var t1 = this.RenderObjectWithChildMixin__child; t1 = t1 == null ? null : t1.hitTest$2$position(result, position); return t1 === true; }, paint$2(context, offset) { var t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); } }; A.__RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin.prototype = { attach$1(owner) { var t1; this.super$RenderObject$attach(owner); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.attach$1(owner); }, detach$0(_) { var t1; this.super$AbstractNode$detach(0); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) t1.detach$0(0); } }; A.__RenderLayoutBuilderPreserveBaseline_RenderBox_RenderObjectWithChildMixin_RenderConstrainedLayoutBuilder.prototype = {}; A.LineParentData.prototype = { toString$0(_) { var _this = this; return _this.super$BoxParentData$toString(0) + "; canBreakBefore = false; customSize = " + (_this.customCrossSize != null) + "; trailingMargin = " + A.S(_this.trailingMargin) + "; alignerOrSpacer = " + _this.alignerOrSpacer; } }; A.LineElement.prototype = { applyParentData$1(renderObject) { var needsLayout, targetParent, parentData = type$.LineParentData._as(renderObject.parentData), t1 = this.customCrossSize; if (!J.$eq$(parentData.customCrossSize, t1)) { parentData.customCrossSize = t1; needsLayout = true; } else needsLayout = false; t1 = this.trailingMargin; if (parentData.trailingMargin !== t1) { parentData.trailingMargin = t1; needsLayout = true; } t1 = this.alignerOrSpacer; if (parentData.alignerOrSpacer !== t1) { parentData.alignerOrSpacer = t1; needsLayout = true; } if (needsLayout) { targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A.Line.prototype = { getEffectiveTextDirection$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; return t1; }, createRenderObject$1(context) { return A.RenderLine$(null, B.CrossAxisAlignment_4, 0, 0, B.TextBaseline_0, this.getEffectiveTextDirection$1(context)); }, updateRenderObject$2(context, renderObject) { renderObject.set$crossAxisAlignment(B.CrossAxisAlignment_4); renderObject.set$minDepth(0); renderObject.set$minHeight(0, 0); renderObject.set$textBaseline(0, B.TextBaseline_0); renderObject.set$textDirection(0, this.getEffectiveTextDirection$1(context)); return renderObject; } }; A.RenderLine.prototype = { set$crossAxisAlignment(value) { if (this._crossAxisAlignment !== value) { this._crossAxisAlignment = value; this.markNeedsLayout$0(); } }, set$minDepth(value) { if (this._minDepth !== value) { this._minDepth = value; this.markNeedsLayout$0(); } }, set$minHeight(_, value) { if (this._minHeight !== value) { this._minHeight = value; this.markNeedsLayout$0(); } }, set$textBaseline(_, value) { if (this._line$_textBaseline !== value) { this._line$_textBaseline = value; this.markNeedsLayout$0(); } }, set$textDirection(_, value) { if (this._line$_textDirection != value) { this._line$_textDirection = value; this.markNeedsLayout$0(); } }, setupParentData$1(child) { if (!(child.parentData instanceof A.LineParentData)) child.parentData = new A.LineParentData(null, null, B.Offset_0_0); }, _getIntrinsicSize$3$childSize$extent$sizingDirection(childSize, extent, sizingDirection) { var t1, inflexibleSpace, maxCrossSize, child = this.ContainerRenderObjectMixin__firstChild; if (sizingDirection === B.Axis_0) { for (t1 = type$.LineParentData, inflexibleSpace = 0; child != null;) { inflexibleSpace += childSize.call$2(child, extent); child = t1._as(child.parentData).ContainerParentDataMixin_nextSibling; } return inflexibleSpace; } else { for (t1 = type$.LineParentData, maxCrossSize = 0; child != null;) { maxCrossSize = Math.max(maxCrossSize, childSize.call$2(child, child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, 1 / 0, child.get$computeMaxIntrinsicWidth()))); child = t1._as(child.parentData).ContainerParentDataMixin_nextSibling; } return maxCrossSize; } }, computeMinIntrinsicWidth$1(height) { return this._getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderLine_computeMinIntrinsicWidth_closure(), height, B.Axis_0); }, computeMaxIntrinsicWidth$1(height) { return this._getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderLine_computeMaxIntrinsicWidth_closure(), height, B.Axis_0); }, computeMinIntrinsicHeight$1(width) { return this._getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderLine_computeMinIntrinsicHeight_closure(), width, B.Axis_1); }, computeMaxIntrinsicHeight$1(width) { return this._getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderLine_computeMaxIntrinsicHeight_closure(), width, B.Axis_1); }, computeDistanceToActualBaseline$1(baseline) { return this.maxHeightAboveBaseline; }, computeDryLayout$1(constraints) { return this._line$_computeLayout$1(constraints); }, performLayout$0() { this._size = this._line$_computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, _line$_computeLayout$2$dry(constraints, dry) { var maxHeightAboveBaseline, maxDepthBelowBaseline, childParentData, boxSize, t2, distance, _i, childConstraints, t3, colWidths, caretOffsets, mainPos, lastColPosition, childSize, size, alignColWidth, t4, aligner, index, alignerOrSpacer, t5, t6, t7, t8, _this = this, _s12_ = "caretOffsets", child = _this.ContainerRenderObjectMixin__firstChild, t1 = type$.JSArray_RenderBox, relativeChildren = A._setArrayType([], t1), alignerAndSpacers = A._setArrayType([], t1), sizeMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.RenderBox, type$.Size); for (t1 = type$.LineParentData, maxHeightAboveBaseline = 0, maxDepthBelowBaseline = 0; child != null;) { childParentData = t1._as(child.parentData); if (childParentData.customCrossSize != null) relativeChildren.push(child); else if (childParentData.alignerOrSpacer) alignerAndSpacers.push(child); else { if (dry) boxSize = child.getDryLayout$1(B.BoxConstraints_mlX3); else { child.layout$2$parentUsesSize(0, B.BoxConstraints_mlX3, true); t2 = child._size; t2.toString; boxSize = t2; } sizeMap.$indexSet(0, child, boxSize); if (dry) distance = 0; else { t2 = child.getDistanceToBaseline$1(_this._line$_textBaseline); t2.toString; distance = t2; } maxHeightAboveBaseline = Math.max(maxHeightAboveBaseline, distance); maxDepthBelowBaseline = Math.max(maxDepthBelowBaseline, boxSize._dy - distance); } child = childParentData.ContainerParentDataMixin_nextSibling; } for (t2 = relativeChildren.length, _i = 0; _i < relativeChildren.length; relativeChildren.length === t2 || (0, A.throwConcurrentModificationError)(relativeChildren), ++_i) { child = relativeChildren[_i]; childConstraints = t1._as(child.parentData).customCrossSize.call$2(maxHeightAboveBaseline, maxDepthBelowBaseline); if (dry) boxSize = child.getDryLayout$1(childConstraints); else { child.layout$2$parentUsesSize(0, childConstraints, true); t3 = child._size; t3.toString; boxSize = t3; } sizeMap.$indexSet(0, child, boxSize); if (dry) distance = 0; else { t3 = child.getDistanceToBaseline$1(_this._line$_textBaseline); t3.toString; distance = t3; } maxHeightAboveBaseline = Math.max(maxHeightAboveBaseline, distance); maxDepthBelowBaseline = Math.max(maxDepthBelowBaseline, boxSize._dy - distance); } maxHeightAboveBaseline = Math.max(maxHeightAboveBaseline, _this._minHeight); maxDepthBelowBaseline = Math.max(maxDepthBelowBaseline, _this._minDepth); child = _this.ContainerRenderObjectMixin__firstChild; t2 = type$.JSArray_double; colWidths = A._setArrayType([], t2); caretOffsets = A._setArrayType([0], t2); for (t2 = !dry, mainPos = 0, lastColPosition = 0; child != null;) { childParentData = t1._as(child.parentData); childSize = sizeMap.$index(0, child); if (childSize == null) childSize = B.Size_0_0; if (childParentData.alignerOrSpacer) { childConstraints = A.BoxConstraints$tightFor(null, 0); if (dry) boxSize = child.getDryLayout$1(childConstraints); else { child.layout$2$parentUsesSize(0, childConstraints, true); t3 = child._size; t3.toString; boxSize = t3; } colWidths.push(mainPos - lastColPosition); childSize = boxSize; lastColPosition = mainPos; } if (t2) { t3 = child.getDistanceToBaseline$1(B.TextBaseline_0); t3.toString; childParentData.offset = new A.Offset(mainPos, maxHeightAboveBaseline - t3); } mainPos += childSize._dx + childParentData.trailingMargin; caretOffsets.push(mainPos); child = childParentData.ContainerParentDataMixin_nextSibling; } colWidths.push(mainPos - lastColPosition); t3 = maxHeightAboveBaseline + maxDepthBelowBaseline; size = constraints.constrain$1(new A.Size(mainPos, t3)); if (t2) { _this.__RenderLine_caretOffsets = caretOffsets; _this._line$_overflow = mainPos - size._dx; _this.maxHeightAboveBaseline = maxHeightAboveBaseline; } else return size; if (alignerAndSpacers.length === 0) return size; t2 = _this.alignColWidth; if (t2 == null) { _this.alignColWidth = colWidths; return size; } alignColWidth = A.List_List$of(t2, false, type$.double); alignColWidth[0] = B.JSArray_methods.get$first(colWidths); _this.alignColWidth = alignColWidth; for (t2 = alignerAndSpacers.length, t4 = alignColWidth.length - 1, aligner = true, index = 0, _i = 0; _i < alignerAndSpacers.length; alignerAndSpacers.length === t2 || (0, A.throwConcurrentModificationError)(alignerAndSpacers), ++_i) { alignerOrSpacer = alignerAndSpacers[_i]; if (aligner) alignerOrSpacer.layout$2$parentUsesSize(0, A.BoxConstraints$tightFor(null, 0), true); else { t5 = alignColWidth[index]; t6 = index + 1; t7 = t6 < t4 ? alignColWidth[t6] : 0; t8 = colWidths[index]; t6 = t6 < colWidths.length - 1 ? colWidths[t6] : 0; alignerOrSpacer.layout$2$parentUsesSize(0, A.BoxConstraints$tightFor(null, t5 + t7 - t8 - t6), true); } aligner = !aligner; ++index; } child = _this.ContainerRenderObjectMixin__firstChild; t2 = A._lateReadCheck(_this.__RenderLine_caretOffsets, _s12_); t4 = J.getInterceptor$asx(t2); t4.set$length(t2, 0); t4.add$1(t2, 0); for (mainPos = 0; child != null;) { childParentData = t1._as(child.parentData); t2 = child.getDistanceToBaseline$1(B.TextBaseline_0); t2.toString; childParentData.offset = new A.Offset(mainPos, maxHeightAboveBaseline - t2); mainPos += child._size._dx + childParentData.trailingMargin; J.add$1$ax(A._lateReadCheck(_this.__RenderLine_caretOffsets, _s12_), mainPos); child = childParentData.ContainerParentDataMixin_nextSibling; } size = constraints.constrain$1(new A.Size(mainPos, t3)); _this._line$_overflow = mainPos - size._dx; return size; }, _line$_computeLayout$1(constraints) { return this._line$_computeLayout$2$dry(constraints, true); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { var t2, _this = this, t1 = _this._line$_overflow; t1.toString; if (!(t1 > 1e-10)) { _this.defaultPaint$2(context, offset); return; } t1 = _this._size; if (t1.get$isEmpty(t1)) return; t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = _this._size; context.pushClipRect$4(t1, offset, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy), _this.get$defaultPaint()); }, describeApproximatePaintClip$1(child) { var t1 = this._line$_overflow; t1.toString; if (t1 > 1e-10) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, toStringShort$0() { var header = this.super$RenderObject$toStringShort(), t1 = this._line$_overflow; return t1 != null && t1 > 1e-10 ? header + " OVERFLOWING" : header; } }; A.RenderLine_computeMinIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, extent, child.get$computeMinIntrinsicWidth()); }, $signature: 24 }; A.RenderLine_computeMaxIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, extent, child.get$computeMaxIntrinsicWidth()); }, $signature: 24 }; A.RenderLine_computeMinIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, extent, child.get$computeMinIntrinsicHeight()); }, $signature: 24 }; A.RenderLine_computeMaxIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, extent, child.get$computeMaxIntrinsicHeight()); }, $signature: 24 }; A._RenderLine_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.LineParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.LineParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderLine_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A.EditableLine.prototype = { getEffectiveTextDirection$1(context) { var t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality); t1.toString; t1 = t1.textDirection; return t1; }, createRenderObject$1(context) { var _this = this, _null = null, t1 = new A.RenderEditableLine(_this.cursorBlinkOpacityController, _this.cursorColor, _this.cursorOffset, _this.cursorRadius, _this.cursorWidth, _this.cursorHeight, _this.devicePixelRatio, _this.hintingColor, _this.paintCursorAboveText, _this.preferredLineHeight, _this.selection, _this.selectionColor, _this.showCursor, _this.startHandleLayerLink, _this.endHandleLayerLink, B.CrossAxisAlignment_4, 0, 0, B.TextBaseline_0, _this.getEffectiveTextDirection$1(context), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, _null); return t1; }, updateRenderObject$2(context, renderObject) { var t1, t2, t3, _this = this; renderObject.set$crossAxisAlignment(B.CrossAxisAlignment_4); t1 = _this.cursorBlinkOpacityController; t2 = renderObject._line_editable$_cursorBlinkOpacityController; t3 = renderObject.get$onCursorOpacityChanged(); t2.removeListener$1(0, t3); renderObject._line_editable$_cursorBlinkOpacityController = t1; t1.addListener$1(0, t3); renderObject.markNeedsPaint$0(); renderObject._cursorColor = _this.cursorColor; renderObject.markNeedsPaint$0(); renderObject._line_editable$_cursorOffset = _this.cursorOffset; renderObject.markNeedsPaint$0(); renderObject._line_editable$_cursorRadius = _this.cursorRadius; renderObject.markNeedsPaint$0(); renderObject._line_editable$_cursorWidth = _this.cursorWidth; renderObject.markNeedsPaint$0(); renderObject._cursorHeight = _this.cursorHeight; renderObject.markNeedsPaint$0(); t1 = _this.devicePixelRatio; if (renderObject._line_editable$_devicePixelRatio !== t1) { renderObject._line_editable$_devicePixelRatio = t1; renderObject.markNeedsPaint$0(); } renderObject._hintingColor = _this.hintingColor; renderObject.markNeedsPaint$0(); renderObject.set$minDepth(0); renderObject.set$minHeight(0, 0); renderObject._paintCursorAboveText = _this.paintCursorAboveText; renderObject.markNeedsPaint$0(); renderObject.preferredLineHeight = _this.preferredLineHeight; t1 = _this.selection; if (!renderObject._line_editable$_selection.$eq(0, t1)) { renderObject._line_editable$_selection = t1; renderObject.markNeedsPaint$0(); } renderObject._selectionColor = _this.selectionColor; renderObject.markNeedsPaint$0(); renderObject._line_editable$_showCursor = _this.showCursor; renderObject.markNeedsPaint$0(); renderObject.set$textBaseline(0, B.TextBaseline_0); renderObject.set$textDirection(0, _this.getEffectiveTextDirection$1(context)); return renderObject; } }; A.RenderEditableLine.prototype = { onCursorOpacityChanged$0() { var t1, _this = this; if (_this.get$showCursor()) { t1 = _this._line_editable$_selection; t1 = t1.start === t1.end && _this.get$isSelectionInRange(); } else t1 = false; if (t1) _this.markNeedsPaint$0(); }, get$showCursor() { return this._line_editable$_showCursor; }, get$isSelectionInRange() { var t1 = this._line_editable$_selection; return t1.end >= 0 && t1.start <= this.ContainerRenderObjectMixin__childCount; }, hitTestSelf$1(position) { return true; }, paint$2(context, offset) { var startOffset, endOffset, t1, t2, t3, t4, t5, t6, cursorOffset, canvas, baselineOffset, paint, _caretPrototype, caretRect, caretPosition, pixelMultiple, pixelPerfectOffsetX, _this = this, _s12_ = "caretOffsets"; if (_this.get$isSelectionInRange()) { startOffset = J.$index$asx(A._lateReadCheck(_this.__RenderLine_caretOffsets, _s12_), Math.max(0, _this._line_editable$_selection.start)); endOffset = J.$index$asx(A._lateReadCheck(_this.__RenderLine_caretOffsets, _s12_), Math.min(_this.ContainerRenderObjectMixin__childCount, _this._line_editable$_selection.end)); t1 = _this._line_editable$_selection; if (t1.start === t1.end) { t1 = context.get$canvas(context); t2 = _this._size; t3 = offset._dx; t4 = offset._dy; t5 = t2._dx; t2 = t2._dy; t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$style(0, B.PaintingStyle_0); t6.set$color(0, _this._hintingColor); t1.drawRect$2(0, new A.Rect(t3, t4, t3 + t5, t4 + t2), t6); } else { t1 = context.get$canvas(context); t2 = _this._size; t2 = new A.Rect(startOffset, 0, endOffset, t2._dy).shift$1(offset); t3 = A._detectRenderer(); t3 = t3 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t3.set$style(0, B.PaintingStyle_0); t3.set$color(0, _this._selectionColor); t1.drawRect$2(0, t2, t3); } } if (_this._paintCursorAboveText) _this.super$RenderLine$paint(context, offset); if (_this.get$showCursor()) { t1 = _this._line_editable$_selection; t1 = t1.start === t1.end && _this.get$isSelectionInRange(); } else t1 = false; if (t1) { cursorOffset = J.$index$asx(A._lateReadCheck(_this.__RenderLine_caretOffsets, _s12_), _this._line_editable$_selection.baseOffset); canvas = context.get$canvas(context); baselineOffset = new A.Offset(cursorOffset, _this._size._dy).$add(0, offset); t1 = A._detectRenderer(); paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this._cursorColor; t2 = _this._line_editable$_cursorBlinkOpacityController; t2.get$value(t2); paint.set$color(0, t1.withOpacity$1(0)); switch (A.defaultTargetPlatform().index) { case 2: case 4: t1 = _this._line_editable$_cursorWidth; t2 = _this._cursorHeight; _caretPrototype = new A.Rect(0, 0, B.JSInt_methods.$add(0, t1), 0 + (t2 + 2)); break; case 0: case 1: case 3: case 5: t1 = _this._line_editable$_cursorWidth; t2 = _this._cursorHeight; _caretPrototype = new A.Rect(0, 0, B.JSInt_methods.$add(0, t1), 0 + t2); break; default: _caretPrototype = null; } t1 = _caretPrototype.shift$1(baselineOffset); t2 = _this._cursorHeight; caretRect = t1.shift$1(new A.Offset(0, -0.9 * t2)).shift$1(_this._line_editable$_cursorOffset); caretPosition = A.MatrixUtils_transformPoint(_this.getTransformTo$1(0, null), new A.Offset(caretRect.left, caretRect.top)); pixelMultiple = 1 / _this._line_editable$_devicePixelRatio; t1 = caretPosition._dx; pixelPerfectOffsetX = isFinite(t1) ? B.JSNumber_methods.round$0(t1 / pixelMultiple) * pixelMultiple - t1 : 0; t1 = caretPosition._dy; canvas.drawRRect$2(0, A.RRect$fromRectAndRadius(caretRect.shift$1(new A.Offset(pixelPerfectOffsetX, isFinite(t1) ? B.JSNumber_methods.round$0(t1 / pixelMultiple) * pixelMultiple - t1 : 0)), _this._line_editable$_cursorRadius), paint); } if (!_this._paintCursorAboveText) _this.super$RenderLine$paint(context, offset); return; } }; A.MinDimension.prototype = { createRenderObject$1(context) { var _this = this, t1 = new A.RenderMinDimension(_this.minHeight, _this.minDepth, _this.topPadding, _this.bottomPadding, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this, t1 = _this.minHeight; if (renderObject._min_dimension$_minHeight !== t1) { renderObject._min_dimension$_minHeight = t1; renderObject.markNeedsLayout$0(); } t1 = _this.minDepth; if (renderObject._min_dimension$_minDepth !== t1) { renderObject._min_dimension$_minDepth = t1; renderObject.markNeedsLayout$0(); } t1 = _this.topPadding; if (renderObject._topPadding !== t1) { renderObject._topPadding = t1; renderObject.markNeedsLayout$0(); } t1 = _this.bottomPadding; if (renderObject._bottomPadding !== t1) { renderObject._bottomPadding = t1; renderObject.markNeedsLayout$0(); } return renderObject; } }; A.RenderMinDimension.prototype = { computeMinIntrinsicHeight$1(width) { var _this = this; return Math.max(_this._min_dimension$_minHeight + _this._min_dimension$_minDepth, _this.super$RenderShiftedBox$computeMinIntrinsicHeight(width) + _this._topPadding + _this._bottomPadding); }, computeMaxIntrinsicHeight$1(width) { var _this = this; return Math.max(_this._min_dimension$_minHeight + _this._min_dimension$_minDepth, _this.super$RenderShiftedBox$computeMaxIntrinsicHeight(width) + _this._topPadding + _this._bottomPadding); }, computeDistanceToActualBaseline$1(baseline) { return this.distanceToBaseline; }, computeDryLayout$1(constraints) { return this._min_dimension$_computeLayout$1(constraints); }, performLayout$0() { this._size = this._min_dimension$_computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, _min_dimension$_computeLayout$2$dry(constraints, dry) { var childSize, childHeight, t2, height, depth, _this = this, t1 = _this.RenderObjectWithChildMixin__child; t1.toString; childSize = A.RenderBoxLayout_getLayoutSize(t1, constraints, dry); if (dry) childHeight = 0; else { t2 = t1.getDistanceToBaseline$1(B.TextBaseline_0); t2.toString; childHeight = t2; } height = Math.max(_this._min_dimension$_minHeight, childHeight + _this._topPadding); depth = Math.max(_this._min_dimension$_minDepth, childSize._dy - childHeight + _this._bottomPadding); if (!dry) { type$.BoxParentData._as(t1.parentData).offset = new A.Offset(0, height - childHeight); _this.distanceToBaseline = height; } return constraints.constrain$1(new A.Size(childSize._dx, height + depth)); }, _min_dimension$_computeLayout$1(constraints) { return this._min_dimension$_computeLayout$2$dry(constraints, true); } }; A._ScriptPos.prototype = { toString$0(_) { return "_ScriptPos." + this._core$_name; } }; A.Multiscripts.prototype = { build$1(_, context) { var _this = this, _null = null, t1 = _this.baseResult, t2 = _this.subResult, t3 = t2 == null, t4 = t3 ? _null : t2.options, t5 = _this.supResult, t6 = t5 == null, t7 = t6 ? _null : t5.options, t8 = _this.presubResult, t9 = t8 == null, t10 = t9 ? _null : t8.options, t11 = _this.presupResult, t12 = t11 == null, t13 = t12 ? _null : t11.options, t14 = type$._ScriptPos, t15 = A._setArrayType([A.CustomLayoutId$(t1.widget, B._ScriptPos_0, t14)], type$.JSArray_Widget); if (!t3) t15.push(A.CustomLayoutId$(t2.widget, B._ScriptPos_1, t14)); if (!t6) t15.push(A.CustomLayoutId$(t5.widget, B._ScriptPos_2, t14)); if (!t9) t15.push(A.CustomLayoutId$(t8.widget, B._ScriptPos_3, t14)); if (!t12) t15.push(A.CustomLayoutId$(t11.widget, B._ScriptPos_4, t14)); return new A.CustomLayout(new A.MultiscriptsLayoutDelegate(false, t1.italic, _this.isBaseCharacterBox, t1.options, t4, t7, t10, t13), t15, _null, type$.CustomLayout__ScriptPos); } }; A.MultiscriptsLayoutDelegate.prototype = { computeDistanceToActualBaseline$2(baseline, childrenTable) { return this.baselineDistance; }, performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, isComputingIntrinsics) { var subSize, supSize, presubSize, presupSize, scriptSpace, extendedSubSize, extendedSupSize, t2, extendedPresubSize, t3, extendedPresupSize, t4, postscriptWidth, prescriptWidth, t5, t6, t1 = childrenWidths.$index(0, B._ScriptPos_0); t1.toString; subSize = childrenWidths.$index(0, B._ScriptPos_1); supSize = childrenWidths.$index(0, B._ScriptPos_2); presubSize = childrenWidths.$index(0, B._ScriptPos_3); presupSize = childrenWidths.$index(0, B._ScriptPos_4); scriptSpace = new A.Measurement(0.5, B.Unit_0).toLpUnder$1(this.baseOptions); extendedSubSize = subSize != null ? subSize + scriptSpace : 0; extendedSupSize = supSize != null ? supSize + scriptSpace : 0; t2 = presubSize != null; extendedPresubSize = t2 ? presubSize + scriptSpace : 0; t3 = presupSize != null; extendedPresupSize = t3 ? presupSize + scriptSpace : 0; t4 = this.italic; postscriptWidth = Math.max(extendedSupSize, -t4 + extendedSubSize); prescriptWidth = Math.max(extendedPresubSize, extendedPresupSize); t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$._ScriptPos, type$.double); t5.$indexSet(0, B._ScriptPos_0, prescriptWidth); t6 = prescriptWidth + t1; t5.$indexSet(0, B._ScriptPos_1, t6 - t4); t5.$indexSet(0, B._ScriptPos_2, t6); if (t2) t5.$indexSet(0, B._ScriptPos_3, prescriptWidth - presubSize); if (t3) t5.$indexSet(0, B._ScriptPos_4, prescriptWidth - presupSize); return new A.AxisConfiguration(postscriptWidth + prescriptWidth + t1, t5, type$.AxisConfiguration__ScriptPos); }, performHorizontalIntrinsicLayout$1$childrenWidths(childrenWidths) { return this.performHorizontalIntrinsicLayout$2$childrenWidths$isComputingIntrinsics(childrenWidths, false); }, performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, isComputingIntrinsics) { var subSize, supSize, presubSize, presupSize, t2, subHeight, supHeight, presubHeight, presupHeight, t3, t4, t5, t6, postscriptRes, prescriptRes, subShift, supShift, presubShift, presupShift, t7, t8, height, depth, _this = this, _null = null, t1 = childrenHeights.$index(0, B._ScriptPos_0); t1.toString; subSize = childrenHeights.$index(0, B._ScriptPos_1); supSize = childrenHeights.$index(0, B._ScriptPos_2); presubSize = childrenHeights.$index(0, B._ScriptPos_3); presupSize = childrenHeights.$index(0, B._ScriptPos_4); t2 = childrenBaselines.$index(0, B._ScriptPos_0); t2.toString; subHeight = childrenBaselines.$index(0, B._ScriptPos_1); supHeight = childrenBaselines.$index(0, B._ScriptPos_2); presubHeight = childrenBaselines.$index(0, B._ScriptPos_3); presupHeight = childrenBaselines.$index(0, B._ScriptPos_4); t3 = _this.baseOptions; if (subSize != null) { subHeight.toString; t4 = _this.subOptions; t4.toString; t4 = new A._ScriptUvConf(subSize, subHeight, t4); } else t4 = _null; if (supSize != null) { supHeight.toString; t5 = _this.supOptions; t5.toString; t5 = new A._ScriptUvConf(supSize, supHeight, t5); } else t5 = _null; t6 = _this.isBaseCharacterBox; postscriptRes = A.calculateUV(new A._ScriptUvConf(t1, t2, t3), t6, t4, t5); if (presubSize != null) { presubHeight.toString; t4 = _this.presubOptions; t4.toString; t4 = new A._ScriptUvConf(presubSize, presubHeight, t4); } else t4 = _null; if (presupSize != null) { presupHeight.toString; t5 = _this.presupOptions; t5.toString; t5 = new A._ScriptUvConf(presupSize, presupHeight, t5); } else t5 = _null; prescriptRes = A.calculateUV(new A._ScriptUvConf(t1, t2, t3), t6, t4, t5); subShift = postscriptRes.item2; supShift = postscriptRes.item1; presubShift = prescriptRes.item2; presupShift = prescriptRes.item1; t5 = type$.JSArray_double; t4 = A._setArrayType([t2], t5); t3 = subHeight != null; if (t3) t4.push(subHeight - subShift); t6 = supHeight != null; if (t6) t4.push(supHeight + supShift); t7 = presubHeight != null; if (t7) t4.push(presubHeight - presubShift); t8 = presupHeight != null; if (t8) t4.push(presupHeight + presupShift); height = A.NumIterableExtension_get_max(t4); t1 = A._setArrayType([t1 - t2], t5); if (t3) { subSize.toString; t1.push(subSize - subHeight + subShift); } if (t6) { supSize.toString; t1.push(supSize - supHeight - supShift); } if (t7) { presubSize.toString; t1.push(presubSize - presubHeight + presubShift); } if (t8) { presupSize.toString; t1.push(presupSize - presupHeight - presupShift); } depth = A.NumIterableExtension_get_max(t1); if (!isComputingIntrinsics) _this.baselineDistance = height; t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$._ScriptPos, type$.double); t1.$indexSet(0, B._ScriptPos_0, height - t2); if (t3) t1.$indexSet(0, B._ScriptPos_1, height + subShift - subHeight); if (t6) t1.$indexSet(0, B._ScriptPos_2, height - supShift - supHeight); if (t7) t1.$indexSet(0, B._ScriptPos_3, height + presubShift - presubHeight); if (t8) t1.$indexSet(0, B._ScriptPos_4, height - presupShift - presupHeight); return new A.AxisConfiguration(height + depth, t1, type$.AxisConfiguration__ScriptPos); }, performVerticalIntrinsicLayout$2$childrenBaselines$childrenHeights(childrenBaselines, childrenHeights) { return this.performVerticalIntrinsicLayout$3$childrenBaselines$childrenHeights$isComputingIntrinsics(childrenBaselines, childrenHeights, false); } }; A._ScriptUvConf.prototype = {}; A.ResetBaseline.prototype = { createRenderObject$1(context) { var t1 = new A.RenderResetBaseline(this.height, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$height(0, this.height); return renderObject; } }; A.RenderResetBaseline.prototype = { set$height(_, value) { if (this._reset_baseline$_height !== value) { this._reset_baseline$_height = value; this.markNeedsLayout$0(); } }, computeDistanceToActualBaseline$1(baseline) { return this._reset_baseline$_height; } }; A.ResetDimension.prototype = { createRenderObject$1(context) { var _this = this, t1 = new A.RenderResetDimension(_this.height, _this.depth, _this.width, _this.horizontalAlignment, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var _this = this, t1 = _this.height; if (renderObject._layoutHeight != t1) { renderObject._layoutHeight = t1; renderObject.markNeedsLayout$0(); } t1 = _this.depth; if (renderObject._layoutDepth != t1) { renderObject._layoutDepth = t1; renderObject.markNeedsLayout$0(); } t1 = _this.width; if (renderObject._layoutWidth != t1) { renderObject._layoutWidth = t1; renderObject.markNeedsLayout$0(); } t1 = _this.horizontalAlignment; if (renderObject._horizontalAlignment !== t1) { renderObject._horizontalAlignment = t1; renderObject.markNeedsLayout$0(); } return renderObject; } }; A.RenderResetDimension.prototype = { computeMinIntrinsicWidth$1(height) { var t1 = this._layoutWidth; return t1 == null ? this.super$RenderShiftedBox$computeMinIntrinsicWidth(height) : t1; }, computeMaxIntrinsicWidth$1(height) { var t1 = this._layoutWidth; return t1 == null ? this.super$RenderShiftedBox$computeMaxIntrinsicWidth(height) : t1; }, computeMinIntrinsicHeight$1(width) { var _this = this, t1 = _this._layoutHeight, t2 = t1 == null; if (t2 && _this._layoutDepth == null) return _this.super$RenderShiftedBox$computeMinIntrinsicHeight(width); if (!t2 && _this._layoutDepth != null) { t1.toString; t2 = _this._layoutDepth; t2.toString; return t1 + t2; } return 0; }, computeMaxIntrinsicHeight$1(width) { var _this = this, t1 = _this._layoutHeight, t2 = t1 == null; if (t2 && _this._layoutDepth == null) return _this.super$RenderShiftedBox$computeMaxIntrinsicHeight(width); if (!t2 && _this._layoutDepth != null) { t1.toString; t2 = _this._layoutDepth; t2.toString; return t1 + t2; } return 0; }, computeDistanceToActualBaseline$1(baseline) { var t1 = this._layoutHeight; return t1 == null ? this.super$RenderShiftedBox$computeDistanceToActualBaseline(baseline) : t1; }, computeDryLayout$1(constraints) { return this._reset_dimension$_computeLayout$1(constraints); }, performLayout$0() { this._size = this._reset_dimension$_computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, _reset_dimension$_computeLayout$2$dry(constraints, dry) { var childSize, childHeight, t2, childDepth, childWidth, height, depth, width, dx, _this = this, t1 = _this.RenderObjectWithChildMixin__child; t1.toString; childSize = A.RenderBoxLayout_getLayoutSize(t1, constraints, dry); if (dry) childHeight = 0; else { t2 = t1.getDistanceToBaseline$1(B.TextBaseline_0); t2.toString; childHeight = t2; } childDepth = childSize._dy - childHeight; childWidth = childSize._dx; height = _this._layoutHeight; if (height == null) height = childHeight; depth = _this._layoutDepth; if (depth == null) depth = childDepth; width = _this._layoutWidth; if (width == null) width = childWidth; switch (_this._horizontalAlignment.index) { case 0: case 3: case 4: dx = 0; break; case 1: dx = width - childWidth; break; case 2: default: dx = (width - childWidth) / 2; break; } if (!dry) type$.BoxParentData._as(t1.parentData).offset = new A.Offset(dx, height - childHeight); return new A.Size(width, height + depth); }, _reset_dimension$_computeLayout$1(constraints) { return this._reset_dimension$_computeLayout$2$dry(constraints, true); } }; A.ShiftBaseline.prototype = { createRenderObject$1(context) { var t1 = new A.RenderShiftBaseline(this.relativePos, this.offset, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { var t1 = this.relativePos; if (renderObject._relativePos != t1) { renderObject._relativePos = t1; renderObject.markNeedsLayout$0(); } t1 = this.offset; if (renderObject._shift_baseline$_offset !== t1) { renderObject._shift_baseline$_offset = t1; renderObject.markNeedsLayout$0(); } } }; A.RenderShiftBaseline.prototype = { computeDryLayout$1(constraints) { var t1 = this.RenderObjectWithChildMixin__child; t1 = t1 == null ? null : t1.getDryLayout$1(constraints); return t1 == null ? B.Size_0_0 : t1; }, computeDistanceToActualBaseline$1(baseline) { var childBaselineDistance, _this = this, t1 = _this._relativePos; if (t1 != null) return t1 * _this._shift_baseline$_height + _this._shift_baseline$_offset; t1 = _this.RenderObjectWithChildMixin__child; if (t1 != null) { childBaselineDistance = t1.getDistanceToActualBaseline$1(baseline); if (childBaselineDistance == null) childBaselineDistance = _this._shift_baseline$_height; return childBaselineDistance + _this._shift_baseline$_offset; } else return _this.super$_RenderProxyBox_RenderBox_RenderObjectWithChildMixin_RenderProxyBoxMixin$computeDistanceToActualBaseline(baseline); }, performLayout$0() { this.super$RenderProxyBoxMixin$performLayout(); this._shift_baseline$_height = this._size._dy; } }; A.VListParentData.prototype = { toString$0(_) { var _this = this; return _this.super$BoxParentData$toString(0) + "; customCrossSize=" + (_this.customCrossSize != null) + "; trailingMargin=" + A.S(_this.trailingMargin) + "; horizontalShift=" + A.S(_this.hShift); } }; A.VListElement.prototype = { applyParentData$1(renderObject) { var needsLayout, targetParent, parentData = type$.VListParentData._as(renderObject.parentData), t1 = this.customCrossSize; if (!J.$eq$(parentData.customCrossSize, t1)) { parentData.customCrossSize = t1; needsLayout = true; } else needsLayout = false; t1 = this.trailingMargin; if (parentData.trailingMargin !== t1) { parentData.trailingMargin = t1; needsLayout = true; } t1 = this.hShift; if (parentData.hShift !== t1) { parentData.hShift = t1; needsLayout = true; } if (needsLayout) { targetParent = renderObject.get$parent(renderObject); if (targetParent instanceof A.RenderObject) targetParent.markNeedsLayout$0(); } } }; A.VList.prototype = { getEffectiveTextDirection$1(context) { return null; }, createRenderObject$1(context) { var _null = null, t1 = new A.RenderRelativeWidthColumn(B.TextBaseline_0, this.baselineReferenceWidgetIndex, B.CrossAxisAlignment_2, this.getEffectiveTextDirection$1(context), A.List_List$filled(4, A.TextPainter$(_null, _null, _null, _null, _null, B.TextAlign_4, B.TextDirection_1, _null, 1, B.TextWidthBasis_0), false, type$.TextPainter), true, 0, _null, _null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.addAll$1(0, _null); return t1; }, updateRenderObject$2(context, renderObject) { var t1; if (renderObject._vlist$_textBaseline !== B.TextBaseline_0) { renderObject._vlist$_textBaseline = B.TextBaseline_0; renderObject.markNeedsLayout$0(); } t1 = this.baselineReferenceWidgetIndex; if (renderObject._baselineReferenceWidgetIndex !== t1) { renderObject._baselineReferenceWidgetIndex = t1; renderObject.markNeedsLayout$0(); } if (renderObject._vlist$_crossAxisAlignment !== B.CrossAxisAlignment_2) { renderObject._vlist$_crossAxisAlignment = B.CrossAxisAlignment_2; renderObject.markNeedsLayout$0(); } t1 = this.getEffectiveTextDirection$1(context); if (renderObject._vlist$_textDirection != t1) { renderObject._vlist$_textDirection = t1; renderObject.markNeedsLayout$0(); } } }; A.RenderRelativeWidthColumn.prototype = { setupParentData$1(child) { if (!(child.parentData instanceof A.VListParentData)) child.parentData = new A.VListParentData(null, null, B.Offset_0_0); }, _vlist$_getIntrinsicSize$3$childSize$extent$sizingDirection(childSize, extent, sizingDirection) { var t1, inflexibleSpace, maxCrossSize, child = this.ContainerRenderObjectMixin__firstChild; if (sizingDirection === B.Axis_1) { for (t1 = type$.VListParentData, inflexibleSpace = 0; child != null;) { inflexibleSpace += childSize.call$2(child, extent); child = t1._as(child.parentData).ContainerParentDataMixin_nextSibling; } return inflexibleSpace; } else { for (t1 = type$.VListParentData, maxCrossSize = 0; child != null;) { maxCrossSize = Math.max(maxCrossSize, childSize.call$2(child, child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, 1 / 0, child.get$computeMaxIntrinsicHeight()))); child = t1._as(child.parentData).ContainerParentDataMixin_nextSibling; } return maxCrossSize; } }, computeMinIntrinsicWidth$1(height) { return this._vlist$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderRelativeWidthColumn_computeMinIntrinsicWidth_closure(), height, B.Axis_0); }, computeMaxIntrinsicWidth$1(height) { return this._vlist$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderRelativeWidthColumn_computeMaxIntrinsicWidth_closure(), height, B.Axis_0); }, computeMinIntrinsicHeight$1(width) { return this._vlist$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderRelativeWidthColumn_computeMinIntrinsicHeight_closure(), width, B.Axis_1); }, computeMaxIntrinsicHeight$1(width) { return this._vlist$_getIntrinsicSize$3$childSize$extent$sizingDirection(new A.RenderRelativeWidthColumn_computeMaxIntrinsicHeight_closure(), width, B.Axis_1); }, computeDistanceToActualBaseline$1(baseline) { return this.distanceToBaseline; }, getRightMost$2(crossAxisAlignment, width) { switch (crossAxisAlignment.index) { case 2: return width / 2; case 1: return 0; case 0: case 4: case 3: default: return width; } }, computeDryLayout$1(constraints) { return this._vlist$_computeLayout$1(constraints); }, performLayout$0() { this._size = this._vlist$_computeLayout$2$dry(type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(this)), false); }, _vlist$_computeLayout$2$dry(constraints, dry) { var child, relativeChildren, t1, t2, rightMost, allocatedSize, leftMost, childParentData, innerConstraints, boxSize, t3, width, right, fixedChildrenCrossSize, _i, childConstraints, size, crossSize, index, childMainPosition, childCrossPosition, _this = this; if (!dry) _this.distanceToBaseline = null; child = _this.ContainerRenderObjectMixin__firstChild; relativeChildren = A._setArrayType([], type$.JSArray_RenderBox); for (t1 = constraints.maxWidth, t2 = type$.VListParentData, rightMost = 0, allocatedSize = 0, leftMost = 0; child != null;) { childParentData = t2._as(child.parentData); if (childParentData.customCrossSize != null) relativeChildren.push(child); else { innerConstraints = new A.BoxConstraints(0, t1, 0, 1 / 0); if (dry) boxSize = child.getDryLayout$1(innerConstraints); else { child.layout$2$parentUsesSize(0, innerConstraints, true); t3 = child._size; t3.toString; boxSize = t3; } width = boxSize._dx; right = _this.getRightMost$2(_this._vlist$_crossAxisAlignment, width); leftMost = Math.min(leftMost, right - width); rightMost = Math.max(rightMost, right); allocatedSize += boxSize._dy + childParentData.trailingMargin; } child = childParentData.ContainerParentDataMixin_nextSibling; } fixedChildrenCrossSize = rightMost - leftMost; for (t1 = relativeChildren.length, _i = 0; _i < relativeChildren.length; relativeChildren.length === t1 || (0, A.throwConcurrentModificationError)(relativeChildren), ++_i) { child = relativeChildren[_i]; childParentData = t2._as(child.parentData); childConstraints = childParentData.customCrossSize.call$1(fixedChildrenCrossSize); if (dry) boxSize = child.getDryLayout$1(childConstraints); else { child.layout$2$parentUsesSize(0, childConstraints, true); t3 = child._size; t3.toString; boxSize = t3; } width = boxSize._dx; right = _this.getRightMost$2(_this._vlist$_crossAxisAlignment, width); leftMost = Math.min(leftMost, right - width); rightMost = Math.max(rightMost, right); allocatedSize += boxSize._dy + childParentData.trailingMargin; } size = constraints.constrain$1(new A.Size(rightMost - leftMost, allocatedSize)); if (dry) return size; crossSize = size._dx; _this._vlist$_overflow = Math.max(0, -(size._dy - allocatedSize)); child = _this.ContainerRenderObjectMixin__firstChild; for (index = 0, childMainPosition = 0; child != null;) { childParentData = t2._as(child.parentData); switch (_this._vlist$_crossAxisAlignment.index) { case 0: childCrossPosition = _this._vlist$_textDirection === B.TextDirection_1 ? childParentData.hShift - leftMost : rightMost - child._size._dx + crossSize; break; case 1: childCrossPosition = _this._vlist$_textDirection === B.TextDirection_0 ? childParentData.hShift - leftMost : rightMost - child._size._dx + crossSize; break; case 2: childCrossPosition = -child._size._dx / 2 - leftMost; break; case 3: case 4: childCrossPosition = 0; break; default: childCrossPosition = 0; } childParentData.offset = new A.Offset(childCrossPosition + childParentData.hShift, childMainPosition); if (index === _this._baselineReferenceWidgetIndex) { t1 = child.getDistanceToBaseline$1(_this._vlist$_textBaseline); t1.toString; _this.distanceToBaseline = childMainPosition + t1; } childMainPosition += child._size._dy + childParentData.trailingMargin; child = childParentData.ContainerParentDataMixin_nextSibling; ++index; } return size; }, _vlist$_computeLayout$1(constraints) { return this._vlist$_computeLayout$2$dry(constraints, true); }, hitTestChildren$2$position(result, position) { return this.defaultHitTestChildren$2$position(result, position); }, paint$2(context, offset) { var t2, _this = this, t1 = _this._vlist$_overflow; t1.toString; if (!(t1 > 1e-10)) { _this.defaultPaint$2(context, offset); return; } t1 = _this._size; if (t1.get$isEmpty(t1)) return; t1 = A._lateReadCheck(_this.__RenderObject__needsCompositing, "_needsCompositing"); t2 = _this._size; context.pushClipRect$4(t1, offset, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy), _this.get$defaultPaint()); }, describeApproximatePaintClip$1(child) { var t1 = this._vlist$_overflow; t1.toString; if (t1 > 1e-10) { t1 = this._size; t1 = new A.Rect(0, 0, 0 + t1._dx, 0 + t1._dy); } else t1 = null; return t1; }, toStringShort$0() { var header = this.super$RenderObject$toStringShort(), t1 = this._vlist$_overflow; return typeof t1 == "number" && t1 > 1e-10 ? header + " OVERFLOWING" : header; } }; A.RenderRelativeWidthColumn_computeMinIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_0, extent, child.get$computeMinIntrinsicWidth()); }, $signature: 24 }; A.RenderRelativeWidthColumn_computeMaxIntrinsicWidth_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_1, extent, child.get$computeMaxIntrinsicWidth()); }, $signature: 24 }; A.RenderRelativeWidthColumn_computeMinIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_2, extent, child.get$computeMinIntrinsicHeight()); }, $signature: 24 }; A.RenderRelativeWidthColumn_computeMaxIntrinsicHeight_closure.prototype = { call$2(child, extent) { return child._computeIntrinsicDimension$3(B._IntrinsicDimension_3, extent, child.get$computeMaxIntrinsicHeight()); }, $signature: 24 }; A._RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin.prototype = { attach$1(owner) { var child, t1, t2; this.super$RenderObject$attach(owner); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.VListParentData; 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$AbstractNode$detach(0); child = this.ContainerRenderObjectMixin__firstChild; for (t1 = type$.VListParentData; child != null;) { child.detach$0(0); t2 = child.parentData; t2.toString; child = t1._as(t2).ContainerParentDataMixin_nextSibling; } } }; A._RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin.prototype = {}; A._RenderRelativeWidthColumn_RenderBox_ContainerRenderObjectMixin_RenderBoxContainerDefaultsMixin_DebugOverflowIndicatorMixin.prototype = { reassemble$0() { this.super$RenderObject$reassemble(); } }; A.DelimiterConf.prototype = {}; A._KatexImagesData.prototype = {}; A.makeDecoratedEqualSymbol_closure.prototype = { call$1(symbol) { return new A.SymbolNode(symbol, false, null, null, this.mode); }, $signature: 185 }; A.makeBaseSymbol_closure.prototype = { call$1(e) { var t1 = this._box_0.font; return A.makeChar(e, t1, A.getCharacterMetrics(e, t1.get$fontName(), this.mode), this.options, false); }, $signature: 845 }; A.unicodeLiteral_closure.prototype = { call$1(e) { var t1 = B.JSString_methods._codeUnitAt$1(e, 0); if (t1 > 126 || t1 < 32) return "\\u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(t1, 16).toUpperCase(), 4, "0"); else return e; }, $signature: 35 }; A.BuildException.prototype = {$isException: 1, $isFlutterMathException: 1, get$message(receiver) { return this.message; } }; A.Math.prototype = { build$1(_, context) { var options, child, e, e0, effectiveTextStyle, textScaleFactor, effectiveFontSize, t2, t3, effectiveLogicalPPI, value, result, exception, _this = this, _null = null, t1 = _this.parseError; if (t1 != null) return _this.onErrorFallback.call$1(t1); options = _this.options; if (options == null) { effectiveTextStyle = _this.textStyle; if (effectiveTextStyle.inherit) { t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultTextStyle); effectiveTextStyle = (t1 == null ? B.DefaultTextStyle_40S : t1).style.merge$1(effectiveTextStyle); } if (A.MediaQuery_boldTextOverride(context)) effectiveTextStyle = effectiveTextStyle.merge$1(B.TextStyle_oqK); textScaleFactor = A.MediaQuery_textScaleFactorOf(context); t1 = effectiveTextStyle.fontSize; t1.toString; effectiveFontSize = t1 * textScaleFactor; t1 = effectiveTextStyle.fontWeight; if (t1 !== B.FontWeight_3) { t1.toString; t1 = new A.FontOptions("Main", t1, B.FontStyle_0, B.List_empty16); } else t1 = _null; t2 = effectiveTextStyle.color; t2.toString; t3 = B.Map_YDBhu.$index(0, B.Unit_3); t3.toString; effectiveLogicalPPI = effectiveFontSize * t3 / 10; options = A.MathOptions$_(t2, effectiveFontSize, effectiveLogicalPPI, t1, B.MathSize_5, _this.mathStyle, _null); } child = null; try { t1 = _this.ast; t2 = options; value = t1.__SyntaxTree_root; if (value === $) { result = A.SyntaxNode$(_null, -1, t1.greenRoot); A._lateInitializeOnceCheck(value, "root"); t1.__SyntaxTree_root = result; value = result; } child = value.buildWidget$1(t2).widget; } catch (exception) { t1 = A.unwrapException(exception); if (t1 instanceof A.BuildException) { e = t1; return _this.onErrorFallback.call$1(e); } else { e0 = t1; t1 = _this.onErrorFallback.call$1(new A.BuildException("Unsanitized build exception detected: " + A.S(e0) + string$.x2ePleas)); return t1; } } return new A.Provider(new A._ValueInheritedProvider(B.FlutterMathMode_2, _null, _null, type$._ValueInheritedProvider_FlutterMathMode), _null, _null, child, _null, type$.Provider_FlutterMathMode); } }; A.FlutterMathMode.prototype = { toString$0(_) { return "FlutterMathMode." + this._core$_name; } }; A.SvgParser.prototype = { parse$3$key$theme(_, str, key, theme) { return this.parse$body$SvgParser(0, str, key, theme); }, parse$body$SvgParser(_, str, key, theme) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.DrawableRoot), $async$returnValue, t1, t2; var $async$parse$3$key$theme = 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 = A.ListQueue$(10, type$._SvgGroupTuple); $async$goto = 3; return A._asyncAwait(new A.SvgParserState(theme, A.XmlEventIterator$(str, B.C_XmlDefaultEntityMapping), key, false, new A.DrawableDefinitionServer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.DrawableGradient), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Path), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.DrawableStyleable)), t2).parse$0(0), $async$parse$3$key$theme); 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$parse$3$key$theme, $async$completer); } }; A.PictureCache.prototype = {}; A.PictureConfiguration.prototype = { $eq(_, other) { var t1, _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; if (other instanceof A.PictureConfiguration) if (other.bundle == _this.bundle) if (J.$eq$(other.locale, _this.locale)) if (other.textDirection == _this.textDirection) t1 = other.platform == _this.platform && J.$eq$(other.colorFilter, _this.colorFilter); else t1 = false; else t1 = false; else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { var _this = this; return A.hashValues(_this.bundle, _this.locale, _this.viewBox, _this.platform, _this.colorFilter, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var hasArguments, _this = this, t1 = "" + "PictureConfiguration(", t2 = _this.bundle; if (t2 != null) { t1 += "bundle: " + t2.toString$0(0); hasArguments = true; } else hasArguments = false; t2 = _this.locale; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("locale: " + t2.toString$0(0)); t1 = t2; hasArguments = true; } t2 = _this.textDirection; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("textDirection: " + t2.toString$0(0)); t1 = t2; hasArguments = true; } t2 = _this.platform; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("platform: " + A.describeEnum(t2)); t1 = t2; hasArguments = true; } t2 = _this.colorFilter; if (t2 != null) { if (hasArguments) t1 += ", "; t2 = t1 + ("colorFilter: " + t2.toString$0(0)); t1 = t2; } t1 += ")"; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A.PictureProvider.prototype = { resolve$1(picture) { var t1 = {}, stream = new A.PictureStream(); t1.obtainedKey = null; this.obtainKey$1(picture).then$1$1(0, new A.PictureProvider_resolve_closure(t1, this, stream, null), type$.void).catchError$1(new A.PictureProvider_resolve_closure0(t1, this, null)); return stream; }, toString$0(_) { return A.getRuntimeType(this).toString$0(0) + "()"; } }; A.PictureProvider_resolve_closure.prototype = { call$1(key) { var t1, result, t2, _this = this; _this._box_0.obtainedKey = key; t1 = $.$get$PictureProvider_cache(); key.toString; t1 = t1._picture_cache$_cache; result = t1.$index(0, key); if (result != null) t1.remove$1(0, key); else { if (t1.get$length(t1) === 1000 && true) { t2 = t1.get$keys(t1); t1.remove$1(0, t2.get$first(t2)); } result = new A.PictureProvider_resolve__closure0(_this.$this, key, _this.onError).call$0(); } t1.$indexSet(0, key, result); _this.stream.setCompleter$1(result); }, $signature() { return A._instanceType(this.$this)._eval$1("Null(PictureProvider.T)"); } }; A.PictureProvider_resolve__closure0.prototype = { call$0() { return this.$this.load$2$onError(0, this.key, this.onError); }, $signature: 846 }; A.PictureProvider_resolve_closure0.prototype = { call$2(exception, stack) { return this.$call$body$PictureProvider_resolve_closure(exception, stack); }, $call$body$PictureProvider_resolve_closure(exception, stack) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), $async$self = this; var $async$call$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.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "SVG", A.ErrorDescription$("while resolving a picture"), new A.PictureProvider_resolve__closure($async$self._box_0, $async$self.$this), true)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$2, $async$completer); }, $signature: 847 }; A.PictureProvider_resolve__closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError, t1; return function $async$call$0($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.$this; $async$goto = 2; return A.DiagnosticsProperty$("Picture provider", t1, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.PictureProvider_dynamic); case 2: // after yield $async$goto = 3; return A.DiagnosticsProperty$("Picture key", $async$self._box_0.obtainedKey, true, null, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, A._instanceType(t1)._eval$1("PictureProvider.T")); case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.AssetBundlePictureKey.prototype = { $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.AssetBundlePictureKey && _this.bundle === other.bundle && _this.name === other.name && J.$eq$(_this.colorFilter, other.colorFilter); }, get$hashCode(_) { return A.hashValues(this.bundle, this.name, this.colorFilter, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return A.getRuntimeType(_this).toString$0(0) + "(bundle: " + _this.bundle.toString$0(0) + ', name: "' + _this.name + '", colorFilter: ' + A.S(_this.colorFilter) + ")"; }, get$name(receiver) { return this.name; } }; A.AssetBundlePictureProvider.prototype = { set$currentColor(color) { this._currentColor = color; this.decoder = this.decoderBuilder.call$1(color); }, load$2$onError(_, key, onError) { return A.OneFramePictureStreamCompleter$(this._picture_provider$_loadAsync$2(key, onError), new A.AssetBundlePictureProvider_load_closure(this, key)); }, _picture_provider$_loadAsync$2(key, onError) { return this._loadAsync$body$AssetBundlePictureProvider(key, onError); }, _loadAsync$body$AssetBundlePictureProvider(key, onError) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PictureInfo), $async$returnValue, $async$self = this, data, t1; var $async$_picture_provider$_loadAsync$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(key.bundle.loadString$1(key.name), $async$_picture_provider$_loadAsync$2); case 3: // returning from await. data = $async$result; t1 = key.toString$0(0); $async$returnValue = $async$self.decoder.call$3(data, key.colorFilter, t1); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_picture_provider$_loadAsync$2, $async$completer); } }; A.AssetBundlePictureProvider_load_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsProperty$("Picture provider", $async$self.$this, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.PictureProvider_dynamic); case 2: // after yield $async$goto = 3; return A.DiagnosticsProperty$("Picture key", $async$self.key, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.AssetBundlePictureKey); case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.NetworkPicture.prototype = { set$currentColor(color) { this._currentColor = color; this.decoder = this.decoderBuilder.call$1(color); }, obtainKey$1(picture) { return new A.SynchronousFuture(this, type$.SynchronousFuture_NetworkPicture); }, load$2$onError(_, key, onError) { return A.OneFramePictureStreamCompleter$(this._picture_provider$_loadAsync$2$onError(key, onError), new A.NetworkPicture_load_closure(this, key)); }, _picture_provider$_loadAsync$2$onError(key, onError) { return this._loadAsync$body$NetworkPicture(key, onError); }, _loadAsync$body$NetworkPicture(key, onError) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PictureInfo), $async$returnValue, $async$self = this, bytes, t1; var $async$_picture_provider$_loadAsync$2$onError = 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.httpGet($async$self.url, $async$self.headers), $async$_picture_provider$_loadAsync$2$onError); case 3: // returning from await. bytes = $async$result; t1 = key.toString$0(0); $async$returnValue = $async$self.decoder.call$3(bytes, $async$self.colorFilter, t1); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_picture_provider$_loadAsync$2$onError, $async$completer); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.NetworkPicture && this.url === other.url && J.$eq$(this.colorFilter, other.colorFilter); }, get$hashCode(_) { return A.hashValues(B.JSString_methods.get$hashCode(this.url), this.colorFilter, 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, 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); }, toString$0(_) { var _this = this; return A.getRuntimeType(_this).toString$0(0) + '("' + _this.url + '", headers: ' + A.S(_this.headers) + ", colorFilter: " + A.S(_this.colorFilter) + ")"; } }; A.NetworkPicture_load_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.DiagnosticsProperty$("Picture provider", $async$self.$this, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.PictureProvider_dynamic); case 2: // after yield $async$goto = 3; return A.DiagnosticsProperty$("Picture key", $async$self.key, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.NetworkPicture); case 3: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A.MemoryPicture.prototype = { set$currentColor(color) { this._currentColor = color; this.decoder = this.decoderBuilder.call$1(color); }, obtainKey$1(picture) { return new A.SynchronousFuture(this, type$.SynchronousFuture_MemoryPicture); }, load$2$onError(_, key, onError) { return A.OneFramePictureStreamCompleter$(this._picture_provider$_loadAsync$2$onError(key, onError), null); }, _picture_provider$_loadAsync$2$onError(key, onError) { return this._loadAsync$body$MemoryPicture(key, onError); }, _loadAsync$body$MemoryPicture(key, onError) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PictureInfo), $async$returnValue, $async$self = this, t1; var $async$_picture_provider$_loadAsync$2$onError = 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.getRuntimeType(key).toString$0(0) + "(" + ("<optimized out>#" + A.shortHash(key.bytes)) + ")"; $async$returnValue = $async$self.decoder.call$3($async$self.bytes, $async$self.colorFilter, t1); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$_picture_provider$_loadAsync$2$onError, $async$completer); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.MemoryPicture && this.bytes === other.bytes && J.$eq$(this.colorFilter, other.colorFilter); }, get$hashCode(_) { return A.hashValues(A.Primitives_objectHashCode(this.bytes), this.colorFilter, 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, 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); }, toString$0(_) { return A.getRuntimeType(this).toString$0(0) + "(" + ("<optimized out>#" + A.shortHash(this.bytes)) + ")"; } }; A.StringPicture.prototype = { set$currentColor(color) { this._currentColor = color; this.decoder = this.decoderBuilder.call$1(color); }, obtainKey$1(picture) { return new A.SynchronousFuture(this, type$.SynchronousFuture_StringPicture); }, load$2$onError(_, key, onError) { return A.OneFramePictureStreamCompleter$(this._picture_provider$_loadAsync$2$onError(key, onError), null); }, _picture_provider$_loadAsync$2$onError(key, onError) { var t1 = key.toString$0(0); return this.decoder.call$3(this.string, this.colorFilter, t1); }, $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.StringPicture && this.string === other.string && J.$eq$(this.colorFilter, other.colorFilter); }, get$hashCode(_) { return A.hashValues(B.JSString_methods.get$hashCode(this.string), this.colorFilter, 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, 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); }, toString$0(_) { return A.getRuntimeType(this).toString$0(0) + "(" + ("<optimized out>#" + A.shortHash(this.string)) + ", colorFilter: " + A.S(this.colorFilter) + ")"; } }; A.ExactAssetPicture.prototype = { get$keyName() { return this.assetName; }, obtainKey$1(picture) { var t1 = picture.bundle; if (t1 == null) t1 = $.$get$rootBundle(); return new A.SynchronousFuture(new A.AssetBundlePictureKey(t1, this.get$keyName(), this.colorFilter), type$.SynchronousFuture_AssetBundlePictureKey); }, $eq(_, other) { var t1; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; if (other instanceof A.ExactAssetPicture) if (this.get$keyName() === other.get$keyName()) t1 = J.$eq$(this.colorFilter, other.colorFilter); else t1 = false; else t1 = false; return t1; }, get$hashCode(_) { return A.hashValues(this.get$keyName(), this.bundle, this.colorFilter, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, toString$0(_) { var _this = this; return A.getRuntimeType(_this).toString$0(0) + '(name: "' + _this.get$keyName() + '", bundle: ' + A.S(_this.bundle) + ", colorFilter: " + A.S(_this.colorFilter) + ")"; } }; A._PictureListenerPair.prototype = { listener$2($receiver, arg0, arg1) { return this.listener.call$2(arg0, arg1); } }; A.PictureInfo.prototype = { get$hashCode(_) { return A.hashValues(this.picture, this.viewport, this.size, 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, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd, B.C__HashEnd); }, $eq(_, other) { var _this = this; if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(_this)) return false; return other instanceof A.PictureInfo && other.picture === _this.picture && other.viewport.$eq(0, _this.viewport) && other.size.$eq(0, _this.size); } }; A.PictureStream.prototype = { setCompleter$1(value) { var t1, t2, _i, pair, t3, _this = this; _this._picture_stream$_completer = value; t1 = _this._picture_stream$_listeners; if (t1 != null) { _this._picture_stream$_listeners = null; for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { pair = t1[_i]; t3 = _this._picture_stream$_completer; t3.toString; t3.addListener$2$onError(0, pair.listener, pair.errorListener); } } }, addListener$1(_, listener) { var t1 = this._picture_stream$_completer; if (t1 != null) return t1.addListener$2$onError(0, listener, null); t1 = this._picture_stream$_listeners; if (t1 == null) t1 = this._picture_stream$_listeners = A._setArrayType([], type$.JSArray__PictureListenerPair); t1.push(new A._PictureListenerPair(listener, null)); }, removeListener$1(_, listener) { var t1 = this._picture_stream$_completer; if (t1 != null) return t1.removeListener$1(0, listener); t1 = this._picture_stream$_listeners; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.PictureStream_removeListener_closure(listener), true); } }; A.PictureStream_removeListener_closure.prototype = { call$1(pair) { return J.$eq$(pair.listener, this.listener); }, $signature: 335 }; A.PictureStreamCompleter.prototype = { addListener$2$onError(_, listener, onError) { var exception, stack, t1, exception0; this._picture_stream$_listeners.push(new A._PictureListenerPair(listener, onError)); t1 = this._picture_stream$_current; if (t1 != null) try { listener.call$2(t1, true); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("by a synchronously-called image listener"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, type$.StackTrace._as(stack), "SVG", t1, null, false)); } }, removeListener$1(_, listener) { var t1 = this._picture_stream$_listeners; if (!!t1.fixed$length) A.throwExpression(A.UnsupportedError$("removeWhere")); B.JSArray_methods._removeWhere$2(t1, new A.PictureStreamCompleter_removeListener_closure(listener), true); }, setPicture$1(picture) { var listenerPair, exception, stack, t1, localListeners, t2, _i, exception0, t3, t4, t5; this._picture_stream$_current = picture; t1 = this._picture_stream$_listeners; if (t1.length === 0) return; localListeners = A.List_List$from(t1, true, type$._PictureListenerPair); for (t1 = localListeners.length, t2 = type$.StackTrace, _i = 0; _i < t1; ++_i) { listenerPair = localListeners[_i]; try { J.listener$2$z(listenerPair, picture, false); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); listenerPair.toString; t3 = A.ErrorDescription$("by a picture listener"); t4 = t2._as(stack); t5 = $.$get$FlutterError_onError(); if (t5 != null) t5.call$1(new A.FlutterErrorDetails(exception, t4, "SVG", t3, null, false)); } } } }; A.PictureStreamCompleter_removeListener_closure.prototype = { call$1(pair) { return J.$eq$(pair.listener, this.listener); }, $signature: 335 }; A.OneFramePictureStreamCompleter.prototype = { OneFramePictureStreamCompleter$2$informationCollector(picture, informationCollector) { picture.then$1$2$onError(0, this.get$setPicture(), new A.OneFramePictureStreamCompleter_closure(informationCollector), type$.void); } }; A.OneFramePictureStreamCompleter_closure.prototype = { call$2(error, stack) { A.FlutterError_reportError(new A.FlutterErrorDetails(error, stack, "SVG", A.ErrorDescription$("resolving a single-frame picture stream"), this.informationCollector, true)); }, $signature: 55 }; A._PictureStream_Object_Diagnosticable.prototype = {}; A._PictureStreamCompleter_Object_Diagnosticable.prototype = {}; A.RawPicture.prototype = { createRenderObject$1(context) { var t1 = new A.RenderPicture(false, null, this.picture, false, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$picture(this.picture); renderObject.set$matchTextDirection(false); renderObject.set$allowDrawingOutsideViewBox(false); renderObject.set$textDirection(0, null); } }; A.RenderPicture.prototype = { set$matchTextDirection(value) { return; }, set$textDirection(_, value) { if (this._render_picture$_textDirection == value) return; this._render_picture$_textDirection = value; this.markNeedsPaint$0(); }, set$picture(val) { if (J.$eq$(val, this._render_picture$_picture)) return; this._render_picture$_picture = val; this.markNeedsPaint$0(); }, set$allowDrawingOutsideViewBox(val) { return; }, hitTestSelf$1(position) { return true; }, get$sizedByParent() { return true; }, computeDryLayout$1(constraints) { return new A.Size(B.JSInt_methods.clamp$2(0, constraints.minWidth, constraints.maxWidth), B.JSInt_methods.clamp$2(0, constraints.minHeight, constraints.maxHeight)); }, paint$2(context, offset) { var t1, t2, t3, _this = this; if (_this._render_picture$_picture == null || _this._size.$eq(0, B.Size_0_0)) return; context.get$canvas(context).save$0(0); context.get$canvas(context).translate$2(0, offset._dx, offset._dy); t1 = context.get$canvas(context); t2 = _this._size; t2.toString; t3 = _this._render_picture$_picture; A.scaleCanvasToViewBox(t1, t2, t3.viewport, t3.size); t3 = _this._render_picture$_picture.viewport; context.get$canvas(context).clipRect$1(0, new A.Rect(0, 0, 0 + (t3.right - t3.left), 0 + (t3.bottom - t3.top))); context.get$canvas(context).drawPicture$1(0, _this._render_picture$_picture.picture); context.get$canvas(context).restore$0(0); } }; A.parseColor_closure.prototype = { call$1(rawColor) { return B.JSString_methods.trim$0(rawColor); }, $signature: 35 }; A.parseColor_closure0.prototype = { call$1(rawColor) { return A.int_parse(rawColor, null); }, $signature: 100 }; A.parseColor_closure1.prototype = { call$1(rawColor) { var t1; rawColor = B.JSString_methods.trim$0(rawColor); if (B.JSString_methods.endsWith$1(rawColor, "%")) rawColor = B.JSString_methods.substring$2(rawColor, 0, rawColor.length - 1); if (B.JSString_methods.contains$1(rawColor, ".")) { t1 = A.parseDouble(rawColor, false); t1.toString; return B.JSNumber_methods.round$0(t1 * 2.55); } return A.int_parse(rawColor, null); }, $signature: 100 }; A.parseColor_closure2.prototype = { call$1(val) { return val + (1 - this.saturation) * (0.5 - val); }, $signature: 1 }; A.parseColor_closure3.prototype = { call$1(val) { return this.luminance * 2 * val; }, $signature: 1 }; A.parseColor_closure4.prototype = { call$1(val) { return this.luminance * 2 * (1 - val) + 2 * val - 1; }, $signature: 1 }; A.parseColor_closure5.prototype = { call$1(val) { return val * 255; }, $signature: 1 }; A.parseColor_closure6.prototype = { call$1(rawColor) { var t1; rawColor = B.JSString_methods.trim$0(rawColor); if (B.JSString_methods.endsWith$1(rawColor, "%")) { t1 = A.parseDouble(B.JSString_methods.substring$2(rawColor, 0, rawColor.length - 1), false); t1.toString; return B.JSNumber_methods.round$0(t1 * 2.55); } return A.int_parse(rawColor, null); }, $signature: 100 }; A._TextInfo.prototype = { toString$0(_) { var _this = this; return A.getRuntimeType(_this).toString$0(0) + "{" + _this.offset.toString$0(0) + ", " + _this.style.toString$0(0) + ", " + A.S(_this.transform) + "}"; } }; A._Elements_svg_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.ErrorDescription$("The root <svg> element contained an unsupported nested SVG element."); case 2: // after yield $async$goto = 3; return A.ErrorDescription$(""); case 3: // after yield $async$goto = 4; return A.DiagnosticsProperty$("Picture key", $async$self.parserState._parser_state$_key, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.String); case 4: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A._Elements_clipPath_extractPathsFromDrawable.prototype = { call$1(target) { if (target instanceof A.DrawableShape) this.paths.push(target.path); else if (target instanceof A.DrawableGroup) B.JSArray_methods.forEach$1(target.children, this); }, $signature: 850 }; A._Elements_clipPath_closure.prototype = { call$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 1, $async$currentError; return function $async$call$0($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 = 2; return A.ErrorDescription$("The <clipPath> element contained an unsupported child " + $async$self.event.name); case 2: // after yield $async$goto = 3; return A.ErrorDescription$(""); case 3: // after yield $async$goto = 4; return A.DiagnosticsProperty$("Picture key", $async$self.parserState._parser_state$_key, true, B.C__NoDefaultValue, null, false, null, null, B.DiagnosticLevel_3, null, false, true, true, B.DiagnosticsTreeStyle_8, null, type$.String); case 4: // after yield // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.DiagnosticsNode); }, $signature: 34 }; A._Elements_text__processText.prototype = { call$1(value) { var t1, lastTextInfo, fill, t2, stroke, t3, t4, t5; if (value.length === 0) return; t1 = this.textInfos; lastTextInfo = t1.get$last(t1); t1 = lastTextInfo.style; fill = A.createParagraph(value, t1, t1.fill); t2 = t1.stroke; stroke = A.createParagraph(value, t1, t2 == null || t2 === B.DrawablePaint_aZ8 ? B.DrawablePaint_GBe : t2); t2 = this.parserState; t3 = t2._parentDrawables; t3 = t3.get$last(t3).drawable; t3 = t3.get$children(t3); t2 = A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, "_currentAttributes"), "id", ""); t4 = lastTextInfo.offset; t1 = t1.textStyle.anchor; if (t1 == null) t1 = B.DrawableTextAnchorPosition_0; t5 = lastTextInfo.transform; B.JSArray_methods.add$1(t3, new A.DrawableText(t2, t4, t1, fill, stroke, t5 == null ? null : t5._m4storage)); this._box_0.lastTextWidth = fill.get$maxIntrinsicWidth(); }, $signature: 11 }; A._Elements_text__processStartElement.prototype = { call$1($event) { var t4, x, y, t5, t6, transform, t7, _null = null, _s18_ = "_currentAttributes", t1 = this.textInfos, lastTextInfo = !t1.get$isEmpty(t1) ? t1.get$last(t1) : _null, t2 = this.parserState, t3 = lastTextInfo == null; if (t3) t4 = _null; else { t4 = lastTextInfo.offset; t4 = new A.Offset(t4._dx + this._box_0.lastTextWidth, t4._dy + 0); } x = A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_), "x", _null); y = A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_), "y", _null); if (x != null) { t5 = A.parseDouble(x, false); t5.toString; } else { t5 = A.parseDouble(A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_), "dx", "0"), false); t5.toString; t6 = t4 == null ? _null : t4._dx; t5 += t6 == null ? 0 : t6; } if (y != null) { t4 = A.parseDouble(y, false); t4.toString; } else { t6 = A.parseDouble(A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_), "dy", "0"), false); t6.toString; t4 = t4 == null ? _null : t4._dy; t4 = t6 + (t4 == null ? 0 : t4); } transform = A.parseTransform(A.getAttribute(A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_), "transform", _null)); if ((t3 ? _null : lastTextInfo.transform) != null) transform = transform == null ? lastTextInfo.transform : lastTextInfo.transform.multiplied$1(transform); t6 = A._lateReadCheck(t2.__SvgParserState__currentAttributes, _s18_); t7 = t2._parser_state$_root.viewport.viewBox; t3 = t3 ? _null : lastTextInfo.style; if (t3 == null) { t3 = t2._parentDrawables; t3 = t3.get$last(t3).drawable; t3 = t3.get$style(t3); } t1._add$1(0, new A._TextInfo(A.parseStyle(t2._parser_state$_key, t6, t2._definitions, new A.Rect(0, 0, 0 + t7._dx, 0 + t7._dy), t3, _null, _null), new A.Offset(t5, t4), transform)); if ($event.isSelfClosing) t1.removeLast$0(0); }, $signature: 851 }; A._SvgGroupTuple.prototype = { get$name(receiver) { return this.name; } }; A.SvgParserState.prototype = { _discardSubtree$0() { var t1, t2, t3, _this = this, subtreeStartDepth = _this.depth; for (t1 = _this._eventIterator, t2 = type$.String; t1.moveNext$0();) { t3 = A._lateReadCheck(t1.__XmlEventIterator__current, "_current"); if (t3 instanceof A.XmlStartElementEvent && !t3.isSelfClosing) ++_this.depth; else if (t3 instanceof A.XmlEndElementEvent) --_this.depth; _this.__SvgParserState__currentAttributes = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); _this._currentStartElement = null; if (_this.depth < subtreeStartDepth) return; } }, _readSubtree$0() { var $async$self = this; return A._makeSyncStarIterable(function() { var $async$goto = 0, $async$handler = 2, $async$currentError, t1, t2, t3, attributeMap, line, toZone, isSelfClosing, subtreeStartDepth; return function $async$_readSubtree$0($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 subtreeStartDepth = $async$self.depth; t1 = $async$self._eventIterator, t2 = type$.String; case 3: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 4; break; } t3 = A._lateReadCheck(t1.__XmlEventIterator__current, "_current"); if (t3 instanceof A.XmlStartElementEvent) { attributeMap = A.AttributeMapXmlEventAttributeExtension_toAttributeMap(t3.attributes); if (A.getAttribute(attributeMap, "display", "") === "none" || A.getAttribute(attributeMap, "visibility", "") === "hidden") { line = "SVG Warning: Discarding:\n\n " + t3.toString$0(0) + "\n\nand any children it has since it is not visible.\nIf that element is meant to be visible, the `display` or `visibility` attributes should be removed.\nIf that element is not meant to be visible, it would be better to remove it from the SVG file."; toZone = $.printToZone; if (toZone == null) A.printString(line); else toZone.call$1(line); if (!t3.isSelfClosing) { ++$async$self.depth; $async$self._discardSubtree$0(); } // goto for condition $async$goto = 3; break; } $async$self.__SvgParserState__currentAttributes = attributeMap; $async$self._currentStartElement = t3; ++$async$self.depth; isSelfClosing = t3.isSelfClosing; } else isSelfClosing = false; $async$goto = 5; return t3; case 5: // after yield if (isSelfClosing || t3 instanceof A.XmlEndElementEvent) { --$async$self.depth; $async$self.__SvgParserState__currentAttributes = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2); $async$self._currentStartElement = null; } if ($async$self.depth < subtreeStartDepth) { // goto return $async$goto = 1; break; } // goto for condition $async$goto = 3; break; case 4: // after for case 1: // return return A._IterationMarker_endOfIteration(); case 2: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.XmlEvent); }, parse$0(_) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.DrawableRoot), $async$returnValue, $async$self = this, t1, t2, t3, parseFunc, t4; var $async$parse$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._readSubtree$0(), t1 = new A._SyncStarIterator(t1._outerHelper(), A._instanceType(t1)._eval$1("_SyncStarIterator<1>")), t2 = $async$self._parentDrawables; case 3: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 4; break; } t3 = t1.get$current(t1); $async$goto = t3 instanceof A.XmlStartElementEvent ? 5 : 7; break; case 5: // then if ($async$self.startElement$1(t3)) { // goto for condition $async$goto = 3; break; } parseFunc = B.Map_Rsi7r.$index(0, t3.name); t4 = parseFunc == null; $async$goto = 8; return A._asyncAwait(t4 ? null : parseFunc.call$2($async$self, false), $async$parse$0); case 8: // returning from await. if (t4) if (!t3.isSelfClosing) $async$self._discardSubtree$0(); // goto join $async$goto = 6; break; case 7: // else if (t3 instanceof A.XmlEndElementEvent) { t3 = t3.name; if (t3 === t2.get$last(t2).name) t2.removeLast$0(0); if (t3 === "defs") $async$self._inDefs = false; } case 6: // join // goto for condition $async$goto = 3; break; case 4: // after for t1 = $async$self._parser_state$_root; if (t1 == null) throw A.wrapException(A.StateError$("Invalid SVG data")); $async$returnValue = t1; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$parse$0, $async$completer); }, checkForIri$1(drawable) { var iri = "url(#" + A.S(A.getAttribute(A._lateReadCheck(this.__SvgParserState__currentAttributes, "_currentAttributes"), "id", "")) + ")"; if (iri !== "url(#)") { drawable.toString; this._definitions._drawables.$indexSet(0, iri, drawable); return true; } return false; }, addGroup$2($event, drawable) { this._parentDrawables._add$1(0, new A._SvgGroupTuple($event.name, drawable)); this.checkForIri$1(drawable); }, addShape$1($event) { var t1, $parent, parentStyle, t2, t3, t4, drawable, isIri, _this = this, _s18_ = "_currentAttributes", pathFunc = B.Map_0MYu.$index(0, $event.name); if (pathFunc == null) return false; t1 = _this._parentDrawables; $parent = t1.get$last(t1).drawable; parentStyle = $parent.get$style($parent); t1 = pathFunc.call$1(A._lateReadCheck(_this.__SvgParserState__currentAttributes, _s18_)); t1.toString; t2 = A.getAttribute(A._lateReadCheck(_this.__SvgParserState__currentAttributes, _s18_), "id", ""); t3 = A.parseStyle(_this._parser_state$_key, A._lateReadCheck(_this.__SvgParserState__currentAttributes, _s18_), _this._definitions, t1.getBounds$0(0), parentStyle, $parent.get$color($parent), B.Color_4278190080); t4 = A.parseTransform(A.getAttribute(A._lateReadCheck(_this.__SvgParserState__currentAttributes, _s18_), "transform", "")); drawable = new A.DrawableShape(t2, t4 == null ? null : t4._m4storage, t3, t1); isIri = _this.checkForIri$1(drawable); if (!_this._inDefs || !isIri) B.JSArray_methods.add$1($parent.get$children($parent), drawable); return true; }, startElement$1($event) { if ($event.name === "defs") { this._inDefs = !$event.isSelfClosing; return true; } return this.addShape$1($event); } }; A.resolveImage_closure.prototype = { call$1(bytes) { return this.$call$body$resolveImage_closure(bytes); }, $call$body$resolveImage_closure(bytes) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Image), $async$returnValue, frame; 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 = 4; return A._asyncAwait(A.instantiateImageCodec(bytes, true, null, null), $async$call$1); case 4: // returning from await. $async$goto = 3; return A._asyncAwait($async$result.getNextFrame$0(), $async$call$1); case 3: // returning from await. frame = $async$result; $async$returnValue = frame.get$image(frame); // 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: 852 }; A.SvgTheme.prototype = { $eq(_, other) { if (other == null) return false; if (J.get$runtimeType$(other) !== A.getRuntimeType(this)) return false; return other instanceof A.SvgTheme && true; }, get$hashCode(_) { return B.JSNull_methods.get$hashCode(this.currentColor); } }; A.parseDashArray_closure.prototype = { call$1(part) { var t1 = A.parseDouble(part, false); t1.toString; return t1; }, $signature: 319 }; A.parseStroke_closure.prototype = { call$1(sc) { return "StrokeCap." + sc._core$_name === "StrokeCap." + A.S(this.rawStrokeCap); }, $signature: 853 }; A.parseStroke_closure0.prototype = { call$0() { return B.StrokeCap_0; }, $signature: 854 }; A.parseStroke_closure1.prototype = { call$1(sj) { return "StrokeJoin." + sj._core$_name === "StrokeJoin." + A.S(this.rawLineJoin); }, $signature: 855 }; A.parseStroke_closure2.prototype = { call$0() { return B.StrokeJoin_0; }, $signature: 856 }; A.UnboundedColorFiltered.prototype = { createRenderObject$1(context) { var t1 = new A._UnboundedColorFilteredRenderBox(this.colorFilter, null, A.LayerHandle$(type$.ContainerLayer_2)); t1.get$isRepaintBoundary(); t1.get$alwaysNeedsCompositing(); t1.__RenderObject__needsCompositing = false; t1.set$child(null); return t1; }, updateRenderObject$2(context, renderObject) { renderObject.set$colorFilter(this.colorFilter); } }; A._UnboundedColorFilteredRenderBox.prototype = { set$colorFilter(value) { if (J.$eq$(value, this._unbounded_color_filtered$_colorFilter)) return; this._unbounded_color_filtered$_colorFilter = value; this.markNeedsPaint$0(); }, paint$2(context, offset) { var t2, t3, t4, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); paint.set$colorFilter(this._unbounded_color_filtered$_colorFilter); t1 = context.get$canvas(context); t2 = this._size; t3 = offset._dx; t4 = offset._dy; t1.saveLayer$2(0, new A.Rect(t3, t4, t3 + t2._dx, t4 + t2._dy), paint); t1 = this.RenderObjectWithChildMixin__child; if (t1 != null) context.paintChild$2(t1, offset); context.get$canvas(context).restore$0(0); } }; A.getAttribute_closure.prototype = { call$1(str) { return B.JSString_methods.startsWith$1(B.JSString_methods.trimLeft$0(str), this.name + ":"); }, $signature: 17 }; A.getAttribute_closure0.prototype = { call$0() { return ""; }, $signature: 36 }; A.DrawableStyle.prototype = { toString$0(_) { var _this = this; return "DrawableStyle{" + A.S(_this.stroke) + "," + A.S(_this.dashArray) + "," + A.S(_this.dashOffset) + "," + A.S(_this.fill) + "," + _this.textStyle.toString$0(0) + "," + A.S(_this.pathFillType) + "," + A.S(_this.groupOpacity) + "," + A.S(_this.clipPath) + "," + A.S(_this.mask) + "}"; } }; A.DrawablePaint.prototype = { toFlutterPaint$0() { var _this = this, t1 = A._detectRenderer(), paint = t1 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t1 = _this.color; if (t1 != null) paint.set$color(0, t1); t1 = _this.shader; if (t1 != null) paint.set$shader(t1); t1 = _this.strokeCap; if (t1 != null) paint.set$strokeCap(t1); t1 = _this.strokeJoin; if (t1 != null) paint.set$strokeJoin(t1); t1 = _this.strokeMiterLimit; if (t1 != null) paint.set$strokeMiterLimit(t1); t1 = _this.strokeWidth; if (t1 != null) paint.set$strokeWidth(t1); t1 = _this.style; if (t1 != null) paint.set$style(0, t1); return paint; }, toString$0(_) { var _this = this; return "DrawablePaint{" + A.S(_this.style) + ", color: " + A.S(_this.color) + ", shader: " + A.S(_this.shader) + ", blendMode: " + A.S(_this.blendMode) + ", colorFilter: " + A.S(_this.colorFilter) + ", isAntiAlias: " + A.S(_this.isAntiAlias) + ", filterQuality: " + A.S(_this.filterQuality) + ", maskFilter: " + A.S(_this.maskFilter) + ", strokeCap: " + A.S(_this.strokeCap) + ", strokeJoin: " + A.S(_this.strokeJoin) + ", strokeMiterLimit: " + A.S(_this.strokeMiterLimit) + ", strokeWidth: " + A.S(_this.strokeWidth) + "}"; } }; A.DrawableTextStyle.prototype = { toString$0(_) { var _this = this; return "DrawableTextStyle{" + A.S(_this.decoration) + "," + A.S(_this.decorationColor) + "," + A.S(_this.decorationStyle) + "," + A.S(_this.fontWeight) + "," + A.S(_this.fontFamily) + "," + A.S(_this.fontSize) + "," + A.S(_this.fontStyle) + "," + A.S(_this.foreground) + "," + A.S(_this.background) + "," + A.S(_this.letterSpacing) + "," + A.S(_this.wordSpacing) + "," + A.S(_this.height) + "," + A.S(_this.locale) + "," + A.S(_this.textBaseline) + "," + A.S(_this.anchor) + "}"; } }; A.DrawableTextAnchorPosition.prototype = { toString$0(_) { return "DrawableTextAnchorPosition." + this._core$_name; } }; A.DrawableText.prototype = { draw$2(canvas, bounds) { var t3, t4, t5, _this = this, t1 = _this.fill, t2 = t1.get$width(t1); if (t2 == null) t2 = 0; t3 = _this.stroke; t4 = t3.get$width(t3); if (!(t2 + (t4 == null ? 0 : t4) > 0)) return; t2 = _this.transform; t4 = t2 != null; if (t4) { canvas.save$0(0); canvas.transform$1(0, t2); } t2 = _this.anchor; t5 = _this.offset; canvas.drawParagraph$2(0, t1, A.DrawableText_resolveOffset(t1, t2, t5)); canvas.drawParagraph$2(0, t3, A.DrawableText_resolveOffset(t3, t2, t5)); if (t4) canvas.restore$0(0); }, $isDrawable: 1, get$id(receiver) { return this.id; } }; A.DrawableDefinitionServer.prototype = { getDrawable$1(id) { var t1 = this._drawables, value = t1.$index(0, id); if (value == null && true) throw A.wrapException(A.StateError$("Expected to find Drawable with id " + id + ".\nHave ids: " + t1.get$keys(t1).toString$0(0))); return value; } }; A.GradientUnitMode.prototype = { toString$0(_) { return "GradientUnitMode." + this._core$_name; } }; A.DrawableGradient.prototype = {}; A.DrawableLinearGradient.prototype = { createShader$1(_, bounds) { var m4transform, t2, scale, translate, m4transform0, v3from, _this = this, t1 = _this.transform; if (t1 == null) { m4transform = new A.Matrix4(new Float64Array(16)); m4transform.setIdentity$0(); } else m4transform = new A.Matrix4(t1); if (_this.unitMode === B.GradientUnitMode_0) { t1 = bounds.left; t2 = bounds.top; scale = new A.Matrix4(new Float64Array(16)); scale.setValues$16(bounds.right - t1, 0, 0, 0, 0, bounds.bottom - t2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); translate = new A.Matrix4(new Float64Array(16)); translate.setValues$16(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, t1, t2, 0, 1); m4transform0 = translate.multiplied$1(scale); m4transform0.multiply$1(0, m4transform); m4transform = m4transform0; } t1 = _this.from; t2 = new A.Vector3(new Float64Array(3)); t2.setValues$3(t1._dx, t1._dy, 0); v3from = m4transform.transform3$1(t2); t2 = _this.to; t1 = new A.Vector3(new Float64Array(3)); t1.setValues$3(t2._dx, t2._dy, 0); t2 = v3from._v3storage; t1 = m4transform.transform3$1(t1)._v3storage; return A.Gradient_Gradient$linear(new A.Offset(t2[0], t2[1]), new A.Offset(t1[0], t1[1]), _this.colors, _this.offsets, _this.spreadMethod, null); } }; A.DrawableRadialGradient.prototype = { createShader$1(_, bounds) { var m4transform, t2, scale, translate, m4transform0, _this = this, t1 = _this.transform; if (t1 == null) { m4transform = new A.Matrix4(new Float64Array(16)); m4transform.setIdentity$0(); } else m4transform = new A.Matrix4(t1); if (_this.unitMode === B.GradientUnitMode_0) { t1 = bounds.left; t2 = bounds.top; scale = new A.Matrix4(new Float64Array(16)); scale.setValues$16(bounds.right - t1, 0, 0, 0, 0, bounds.bottom - t2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); translate = new A.Matrix4(new Float64Array(16)); translate.setValues$16(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, t1, t2, 0, 1); m4transform0 = translate.multiplied$1(scale); m4transform0.multiply$1(0, m4transform); m4transform = m4transform0; } return A.Gradient_Gradient$radial(_this.center, _this.radius, _this.colors, _this.offsets, _this.spreadMethod, m4transform._m4storage, _this.focal, 0); } }; A.DrawableViewport.prototype = { toString$0(_) { return "DrawableViewport{" + this.size.toString$0(0) + ", viewBox: " + this.viewBox.toString$0(0) + ", viewBoxOffset: " + this.viewBoxOffset.toString$0(0) + "}"; } }; A.DrawableRoot.prototype = { draw$2(canvas, bounds) { var t2, t3, t4, t5, _i, t1 = this.children; if (t1.length !== 0) { t2 = this.viewport.viewBox; t2 = !t2.get$isEmpty(t2); } else t2 = false; if (!t2) return; t2 = this.viewport; t3 = t2.viewBoxOffset; if (!t3.$eq(0, B.Offset_0_0)) canvas.translate$2(0, t3._dx, t3._dy); for (t4 = t1.length, t2 = t2.viewBox, t5 = 0 + t2._dx, t2 = 0 + t2._dy, _i = 0; _i < t1.length; t1.length === t4 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].draw$2(canvas, new A.Rect(0, 0, t5, t2)); if (!t3.$eq(0, B.Offset_0_0)) canvas.restore$0(0); }, toPicture$3$clipToViewBox$colorFilter$size(clipToViewBox, colorFilter, size) { var recorder, canvas, t4, t1 = this.viewport, t2 = t1.viewBox, t3 = t2._dx; if (t3 === 0) throw A.wrapException(A.StateError$("Cannot convert to picture with " + t1.toString$0(0))); recorder = A.PictureRecorder_PictureRecorder(); t3 = 0 + t3; t2 = 0 + t2._dy; canvas = A.Canvas_Canvas(recorder, new A.Rect(0, 0, t3, t2)); if (colorFilter != null) { t4 = A._detectRenderer(); t4 = t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t4.set$colorFilter(colorFilter); canvas.saveLayer$2(0, null, t4); } else canvas.save$0(0); if (size != null) A.scaleCanvasToViewBox(canvas, size, new A.Rect(0, 0, t3, t2), t1.size); if (clipToViewBox) canvas.clipRect$1(0, new A.Rect(0, 0, t3, t2)); this.draw$2(canvas, new A.Rect(0, 0, t3, t2)); canvas.restore$0(0); return recorder.endRecording$0(); }, toPicture$2$clipToViewBox$colorFilter(clipToViewBox, colorFilter) { return this.toPicture$3$clipToViewBox$colorFilter$size(clipToViewBox, colorFilter, null); }, mergeStyle$1(newStyle) { var _this = this, mergedStyle = A.DrawableStyle_mergeAndBlend(_this.style, null, newStyle.clipPath, newStyle.dashArray, newStyle.dashOffset, newStyle.fill, null, newStyle.mask, newStyle.pathFillType, newStyle.stroke, newStyle.textStyle), t1 = _this.children, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Drawable>"); return new A.DrawableRoot(_this.viewport, _this.id, _this.transform, null, A.List_List$of(new A.MappedListIterable(t1, new A.DrawableRoot_mergeStyle_closure(mergedStyle), t2), true, t2._eval$1("ListIterable.E")), _this.definitions, mergedStyle); }, $isDrawable: 1, $isDrawableStyleable: 1, get$id(receiver) { return this.id; }, get$color(receiver) { return this.color; }, get$children(receiver) { return this.children; }, get$style(receiver) { return this.style; } }; A.DrawableRoot_mergeStyle_closure.prototype = { call$1(child) { if (type$.DrawableStyleable._is(child)) return child.mergeStyle$1(this.mergedStyle); return child; }, $signature: 336 }; A.DrawableGroup.prototype = { draw$2(canvas, bounds) { var innerDraw, t3, _i, clipPath, t4, t1 = this.children, t2 = t1.length; if (t2 === 0) return; innerDraw = new A.DrawableGroup_draw_closure(this, canvas, bounds); t2 = this.style.clipPath; t3 = t2 == null ? null : t2.length !== 0; if (t3 === true) for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { clipPath = t2[_i]; canvas.save$0(0); canvas.clipPath$1(0, clipPath); if (t1.length > 1) { t4 = A._detectRenderer(); canvas.saveLayer$2(0, null, t4 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData())); } innerDraw.call$0(); if (t1.length > 1) canvas.restore$0(0); canvas.restore$0(0); } else innerDraw.call$0(); }, mergeStyle$1(newStyle) { var _this = this, _null = null, mergedStyle = A.DrawableStyle_mergeAndBlend(_this.style, _null, newStyle.clipPath, newStyle.dashArray, newStyle.dashOffset, newStyle.fill, _null, _null, newStyle.pathFillType, newStyle.stroke, newStyle.textStyle), t1 = _this.children, t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Drawable>"); return new A.DrawableGroup(_this.id, A.List_List$of(new A.MappedListIterable(t1, new A.DrawableGroup_mergeStyle_closure(mergedStyle), t2), true, t2._eval$1("ListIterable.E")), mergedStyle, _this.transform, _null); }, $isDrawable: 1, $isDrawableStyleable: 1, get$id(receiver) { return this.id; }, get$children(receiver) { return this.children; }, get$style(receiver) { return this.style; }, get$color(receiver) { return this.color; } }; A.DrawableGroup_draw_closure.prototype = { call$0() { var t4, t5, t6, needsSaveLayer, blendingPaint, needsSaveLayer0, _i, _this = this, t1 = _this.$this, t2 = t1.style, t3 = t2.groupOpacity; if (t3 === 0) return; t4 = t1.transform; t5 = t4 != null; if (t5) { t6 = _this.canvas; t6.save$0(0); t6.transform$1(0, t4); } t4 = t2.mask; needsSaveLayer = t4 != null; t6 = A._detectRenderer(); blendingPaint = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); if (t3 != null && t3 !== 1) { t3.toString; blendingPaint.set$color(0, A.Color$fromRGBO(0, 0, 0, t3)); needsSaveLayer0 = true; } else needsSaveLayer0 = needsSaveLayer; t2 = t2.blendMode; if (t2 != null) { blendingPaint.set$blendMode(t2); needsSaveLayer0 = true; } if (needsSaveLayer0) _this.canvas.saveLayer$2(0, null, blendingPaint); for (t1 = t1.children, t2 = t1.length, t3 = _this.canvas, t6 = _this.bounds, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) t1[_i].draw$2(t3, t6); if (needsSaveLayer) { t3.saveLayer$2(0, null, $.$get$_grayscaleDstInPaint()); t4.draw$2(t3, t6); t3.restore$0(0); } if (needsSaveLayer0) t3.restore$0(0); if (t5) t3.restore$0(0); }, $signature: 3 }; A.DrawableGroup_mergeStyle_closure.prototype = { call$1(child) { if (type$.DrawableStyleable._is(child)) return child.mergeStyle$1(this.mergedStyle); return child; }, $signature: 336 }; A.DrawableRasterImage.prototype = { draw$2(canvas, bounds) { var halfDesiredSize, scaledHalfImageSize, _this = this, t1 = _this.image, t2 = t1.get$width(t1), t3 = t1.get$height(t1), desiredSize = _this.size, t4 = t1.get$width(t1), scale = Math.min(desiredSize._dx / t4, desiredSize._dy / t1.get$height(t1)); t4 = scale === 1; if (!t4 || !_this.offset.$eq(0, B.Offset_0_0) || _this.transform != null) { halfDesiredSize = desiredSize.$div(0, 2); scaledHalfImageSize = new A.Size(t2, t3).$mul(0, scale).$div(0, 2); canvas.save$0(0); t2 = _this.offset; canvas.translate$2(0, t2._dx + (halfDesiredSize._dx - scaledHalfImageSize._dx), t2._dy + (halfDesiredSize._dy - scaledHalfImageSize._dy)); canvas.scale$2(0, scale, scale); t2 = _this.transform; if (t2 != null) canvas.transform$1(0, t2); } t2 = A._detectRenderer(); canvas.drawImage$3(0, t1, B.Offset_0_0, t2 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData())); if (!t4 || !_this.offset.$eq(0, B.Offset_0_0) || _this.transform != null) canvas.restore$0(0); }, mergeStyle$1(newStyle) { var _this = this; return new A.DrawableRasterImage(_this.id, _this.image, _this.offset, _this.size, _this.transform, A.DrawableStyle_mergeAndBlend(_this.style, null, newStyle.clipPath, newStyle.dashArray, newStyle.dashOffset, newStyle.fill, null, newStyle.mask, newStyle.pathFillType, newStyle.stroke, newStyle.textStyle)); }, $isDrawable: 1, $isDrawableStyleable: 1, get$id(receiver) { return this.id; } }; A.DrawableShape.prototype = { draw$2(canvas, bounds) { var innerDraw, _i, clip, t1 = this.path, t2 = t1.getBounds$0(0), t3 = t1.getBounds$0(0); if (!(t2.right - t2.left + (t3.bottom - t3.top) > 0)) return; t2 = this.style; t3 = t2.pathFillType; t1.set$fillType(t3 == null ? B.PathFillType_0 : t3); innerDraw = new A.DrawableShape_draw_closure(this, canvas, bounds); t1 = t2.clipPath; if ((t1 == null ? null : t1.length !== 0) === true) for (t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) { clip = t1[_i]; canvas.save$0(0); canvas.clipPath$1(0, clip); innerDraw.call$0(); canvas.restore$0(0); } else innerDraw.call$0(); }, mergeStyle$1(newStyle) { var _this = this; return new A.DrawableShape(_this.id, _this.transform, A.DrawableStyle_mergeAndBlend(_this.style, null, newStyle.clipPath, newStyle.dashArray, newStyle.dashOffset, newStyle.fill, null, newStyle.mask, newStyle.pathFillType, newStyle.stroke, newStyle.textStyle), _this.path); }, $isDrawable: 1, $isDrawableStyleable: 1, get$id(receiver) { return this.id; } }; A.DrawableShape_draw_closure.prototype = { call$0() { var t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null, t1 = _this.$this, t2 = t1.transform, t3 = t2 != null; if (t3) { t4 = _this.canvas; t4.save$0(0); t4.transform$1(0, t2); } t2 = t1.style; t4 = t2.blendMode; t5 = t4 != null; if (t5) { t6 = A._detectRenderer(); t6 = t6 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); t6.set$blendMode(t4); _this.canvas.saveLayer$2(0, _null, t6); } t4 = t2.mask; t6 = t4 != null; if (t6) { t7 = A._detectRenderer(); t7 = t7 ? A.CkPaint$() : new A.SurfacePaint(new A.SurfacePaintData()); _this.canvas.saveLayer$2(0, _null, t7); } t7 = t2.fill; if ((t7 == null ? _null : t7.style) != null) _this.canvas.drawPath$2(0, t1.path, t7.toFlutterPaint$0()); t7 = t2.stroke; if ((t7 == null ? _null : t7.style) != null) { t8 = t2.dashArray; t9 = t8 != null && t8 !== $.$get$DrawableStyle_emptyDashArray(); t10 = _this.canvas; t1 = t1.path; if (t9) { t8.toString; t10.drawPath$2(0, A.dashPath(t1, t8, t2.dashOffset), t7.toFlutterPaint$0()); } else t10.drawPath$2(0, t1, t7.toFlutterPaint$0()); } if (t6) { t1 = _this.canvas; t1.saveLayer$2(0, _null, $.$get$_grayscaleDstInPaint()); t4.draw$2(t1, _this.bounds); t1.restore$0(0); t1.restore$0(0); } if (t5) _this.canvas.restore$0(0); if (t3) _this.canvas.restore$0(0); }, $signature: 3 }; A.Svg.prototype = { svgPictureDecoder$5$theme(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme) { return this.svgPictureDecoder$body$Svg(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme); }, svgPictureDecoder$body$Svg(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PictureInfo), $async$returnValue, $async$self = this, svgRoot, pic, t1, t2; var $async$svgPictureDecoder$5$theme = 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.fromSvgBytes$3$theme(raw, key, theme), $async$svgPictureDecoder$5$theme); case 3: // returning from await. svgRoot = $async$result; pic = svgRoot.toPicture$2$clipToViewBox$colorFilter(!allowDrawingOutsideOfViewBox || false, colorFilter); t1 = svgRoot.viewport; t2 = t1.viewBox; $async$returnValue = new A.PictureInfo(pic, new A.Rect(0, 0, 0 + t2._dx, 0 + t2._dy), t1.size); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$svgPictureDecoder$5$theme, $async$completer); }, svgPictureStringDecoder$5$theme(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme) { return this.svgPictureStringDecoder$body$Svg(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme); }, svgPictureStringDecoder$body$Svg(raw, allowDrawingOutsideOfViewBox, colorFilter, key, theme) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.PictureInfo), $async$returnValue, $async$self = this, svg, t1, t2, t3; var $async$svgPictureStringDecoder$5$theme = 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.fromSvgString$3$theme(raw, key, theme), $async$svgPictureStringDecoder$5$theme); case 3: // returning from await. svg = $async$result; t1 = !allowDrawingOutsideOfViewBox || false; t2 = svg.viewport; t3 = t2.viewBox; $async$returnValue = new A.PictureInfo(svg.toPicture$3$clipToViewBox$colorFilter$size(t1, colorFilter, t3), new A.Rect(0, 0, 0 + t3._dx, 0 + t3._dy), t2.size); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$svgPictureStringDecoder$5$theme, $async$completer); }, fromSvgBytes$3$theme(raw, key, theme) { return this.fromSvgBytes$body$Svg(raw, key, theme); }, fromSvgBytes$body$Svg(raw, key, theme) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.DrawableRoot), $async$returnValue, $async$self = this; var $async$fromSvgBytes$3$theme = 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.fromSvgString$3$theme(B.C_Utf8Codec.decode$1(0, raw), key, theme); // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$fromSvgBytes$3$theme, $async$completer); }, fromSvgString$3$theme(rawSvg, key, theme) { return this.fromSvgString$body$Svg(rawSvg, key, theme); }, fromSvgString$body$Svg(rawSvg, key, theme) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.DrawableRoot), $async$returnValue; var $async$fromSvgString$3$theme = 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(new A.SvgParser().parse$3$key$theme(0, rawSvg, key, theme), $async$fromSvgString$3$theme); 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$fromSvgString$3$theme, $async$completer); } }; A.SvgPicture.prototype = { createState$0() { return new A._SvgPictureState(B._StateLifecycle_0); } }; A.SvgPicture_defaultPlaceholderBuilder_closure.prototype = { call$1(ctx) { return B.LimitedBox_0; }, $signature: 858 }; A.SvgPicture_svgByteDecoderBuilder_closure.prototype = { call$1(currentColor) { return new A.SvgPicture_svgByteDecoderBuilder__closure(currentColor); }, $signature: 859 }; A.SvgPicture_svgByteDecoderBuilder__closure.prototype = { call$3(bytes, colorFilter, key) { return $.$get$svg().svgPictureDecoder$5$theme(bytes, false, colorFilter, key, new A.SvgTheme(this.currentColor)); }, "call*": "call$3", $requiredArgCount: 3, $signature: 860 }; A.SvgPicture_svgStringDecoderBuilder_closure.prototype = { call$1(currentColor) { return new A.SvgPicture_svgStringDecoderBuilder__closure(currentColor); }, $signature: 861 }; A.SvgPicture_svgStringDecoderBuilder__closure.prototype = { call$3(data, colorFilter, key) { return $.$get$svg().svgPictureStringDecoder$5$theme(data, false, colorFilter, key, new A.SvgTheme(this.currentColor)); }, "call*": "call$3", $requiredArgCount: 3, $signature: 862 }; A._SvgPictureState.prototype = { didChangeDependencies$0() { var t1, _this = this; _this._updatePictureProvider$0(); _this._svg$_resolveImage$0(); t1 = _this._framework$_element; t1.toString; if (A.TickerMode_of(t1)) _this._svg$_listenToStream$0(); else _this._svg$_stopListeningToStream$0(); _this.super$State$didChangeDependencies(); }, didUpdateWidget$1(oldWidget) { var _this = this; _this.super$State$didUpdateWidget(oldWidget); if (!_this._widget.pictureProvider.$eq(0, oldWidget.pictureProvider)) { _this._updatePictureProvider$0(); _this._svg$_resolveImage$0(); } }, reassemble$0() { this._updatePictureProvider$0(); this._svg$_resolveImage$0(); this.super$State$reassemble(); }, _updatePictureProvider$0() { this._framework$_element.dependOnInheritedWidgetOfExactType$1$0(type$.DefaultSvgTheme); var t1 = this._widget; t1.pictureProvider.set$currentColor(null); }, _svg$_resolveImage$0() { var t3, t4, t1 = this._widget.pictureProvider, t2 = this._framework$_element; t2.toString; t3 = A.DefaultAssetBundle_of(t2); t4 = A.Localizations_maybeLocaleOf(t2); t2 = A.Directionality_maybeOf(t2); this._svg$_updateSourceStream$1(t1.resolve$1(new A.PictureConfiguration(t3, t4, t2, null, A.defaultTargetPlatform(), null))); }, _handleImageChanged$2(imageInfo, synchronousCall) { this.setState$1(new A._SvgPictureState__handleImageChanged_closure(this, imageInfo)); }, _svg$_updateSourceStream$1(newStream) { var t2, t3, _this = this, t1 = _this._pictureStream; if (t1 == null) t2 = null; else { t2 = t1._picture_stream$_completer; t2 = t2 != null ? t2 : t1; } t3 = newStream._picture_stream$_completer; if (t2 === (t3 != null ? t3 : newStream)) return; if (_this._svg$_isListeningToStream) t1.removeListener$1(0, _this.get$_handleImageChanged()); _this._pictureStream = newStream; if (_this._svg$_isListeningToStream) newStream.addListener$1(0, _this.get$_handleImageChanged()); }, _svg$_listenToStream$0() { var _this = this; if (_this._svg$_isListeningToStream) return; _this._pictureStream.addListener$1(0, _this.get$_handleImageChanged()); _this._svg$_isListeningToStream = true; }, _svg$_stopListeningToStream$0() { var _this = this; if (!_this._svg$_isListeningToStream) return; _this._pictureStream.removeListener$1(0, _this.get$_handleImageChanged()); _this._svg$_isListeningToStream = false; }, dispose$0(_) { this._svg$_stopListeningToStream$0(); this.super$State$dispose(0); }, build$1(_, context) { var t2, t3, t4, width, height, t5, _this = this, _null = null, child = A._Cell$named("child"), t1 = _this._picture; if (t1 != null) { t2 = t1.viewport; t3 = 0 + (t2.right - t2.left); t2 = 0 + (t2.bottom - t2.top); t4 = _this._widget; width = t4.width; height = t4.height; t5 = width == null; if (t5 && height == null) { width = t3 - 0; height = t2 - 0; } else if (height != null) width = height / (t2 - 0) * (t3 - 0); else if (!t5) height = width / (t3 - 0) * (t2 - 0); t5 = t4.fit; child.__late_helper$_value = new A.SizedBox(width, height, A.FittedBox$(t4.alignment, A.SizedBox$fromSize(new A.RawPicture(t1, false, false, _null), new A.Size(t3 - 0, t2 - 0)), B.Clip_1, t5), _null); if (t4.pictureProvider.colorFilter == null && t4.colorFilter != null) child.__late_helper$_value = new A.UnboundedColorFiltered(t4.colorFilter, child._readLocal$0(), _null); } else { t1 = _this._widget; t1 = _this._getDefaultPlaceholder$3(context, t1.width, t1.height); child.__late_helper$_value = t1; } _this._widget.toString; t1 = child._readLocal$0(); child.__late_helper$_value = new A.Semantics(A.SemanticsProperties$(_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, _null, _null, _null, _null, _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, t1, _null); return child._readLocal$0(); }, _getDefaultPlaceholder$3(context, width, height) { if (width != null || height != null) return new A.SizedBox(width, height, null, null); return $.$get$SvgPicture_defaultPlaceholderBuilder().call$1(context); } }; A._SvgPictureState__handleImageChanged_closure.prototype = { call$0() { this.$this._picture = this.imageInfo; }, $signature: 0 }; A.JsUrlStrategy0.prototype = {}; A.Registrar.prototype = { handleFrameworkMessage$3(channel, data, callback) { return this.handleFrameworkMessage$body$Registrar(channel, data, callback); }, handleFrameworkMessage$body$Registrar(channel, data, callback) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, handler, exception, stack, exception0, t1, response, $async$exception0; var $async$handleFrameworkMessage$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 response = null; $async$handler = 3; handler = $async$self._plugin_registry$_handlers.$index(0, channel); $async$goto = handler != null ? 6 : 7; break; case 6: // then $async$goto = 8; return A._asyncAwait(handler.call$1(data), $async$handleFrameworkMessage$3); case 8: // returning from await. response = $async$result; case 7: // join $async$next.push(5); // goto finally $async$goto = 4; break; case 3: // catch $async$handler = 2; $async$exception0 = $async$currentError; exception = A.unwrapException($async$exception0); stack = A.getTraceFromException($async$exception0); t1 = A.ErrorDescription$("during a framework-to-plugin message"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "flutter web plugins", t1, null, false)); $async$next.push(5); // goto finally $async$goto = 4; break; case 2: // uncaught $async$next = [1]; case 4: // finally $async$handler = 1; if (callback != null) callback.call$1(response); // goto the next finally handler $async$goto = $async$next.pop(); 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$handleFrameworkMessage$3, $async$completer); }, send$2(_, channel, message) { var t1 = new A._Future($.Zone__current, type$._Future_nullable_ByteData); $.$get$channelBuffers().push$3(channel, message, new A.Registrar_send_closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_ByteData))); return t1; }, setMessageHandler$2(channel, handler) { var t1 = this._plugin_registry$_handlers; if (handler == null) t1.remove$1(0, channel); else t1.$indexSet(0, channel, handler); } }; A.Registrar_send_closure.prototype = { call$1(reply) { var exception, stack, exception0, t1; try { this.completer.complete$1(0, reply); } catch (exception0) { exception = A.unwrapException(exception0); stack = A.getTraceFromException(exception0); t1 = A.ErrorDescription$("during a plugin-to-framework message"); A.FlutterError_reportError(new A.FlutterErrorDetails(exception, stack, "flutter web plugins", t1, null, false)); } }, $signature: 49 }; A.PluginRegistry.prototype = {}; A._ServiceFactoryType.prototype = { toString$0(_) { return "_ServiceFactoryType." + this._core$_name; } }; A._ServiceFactory.prototype = { getObject$2(_, param1, param2) { var factoryThatWouldbeShadowed, objectThatWouldbeShadowed, s, t1, exception, _this = this; try { switch (_this.factoryType.index) { case 0: t1 = _this.creationFunction.call$0(); return t1; case 1: t1 = _this.$ti._precomputed1._as(_this.instance); return t1; case 2: if (_this.instance == null) { _this.instance = _this.creationFunction.call$0(); B.JSArray_methods.set$length(_this.objectsWaiting, 0); t1 = _this.$ti._precomputed1; A._lateReadCheck(_this.___ServiceFactory__readyCompleter, "_readyCompleter").complete$1(0, t1._as(_this.instance)); factoryThatWouldbeShadowed = _this._getItInstance._findFirstFactoryByNameAndTypeOrNull$1$3$lookInScopeBelow$type(_this.instanceName, true, A.createRuntimeType(t1), type$.Object); t1 = factoryThatWouldbeShadowed; objectThatWouldbeShadowed = t1 == null ? null : t1.instance; } t1 = _this.$ti._precomputed1._as(_this.instance); return t1; default: t1 = A.StateError$("Impossible factoryType"); throw A.wrapException(t1); } } catch (exception) { s = A.getTraceFromException(exception); A.print("Error while creating " + A._rtiToString(A.createRuntimeType(_this.$ti._precomputed1)._rti, null)); A.print("Stack trace:\n " + A.S(s)); throw exception; } } }; A._Scope.prototype = { get$name(receiver) { return this.name; } }; A._GetItImplementation.prototype = { _findFirstFactoryByNameAndTypeOrNull$1$3$lookInScopeBelow$type(instanceName, lookInScopeBelow, type, $T) { var factoryByTypes, scopeLevel = 1 - (lookInScopeBelow ? 2 : 1), t1 = type == null, t2 = this._scopes, t3 = $T._eval$1("_ServiceFactory<0,@,@>?"), instanceFactory = null; while (true) { if (!(instanceFactory == null && scopeLevel >= 0)) break; factoryByTypes = t2[scopeLevel].factoriesByName.$index(0, instanceName); if (t1) instanceFactory = factoryByTypes != null ? t3._as(J.$index$asx(factoryByTypes, A.createRuntimeType($T))) : null; else instanceFactory = factoryByTypes != null ? t3._as(J.$index$asx(factoryByTypes, type)) : null; --scopeLevel; } return instanceFactory; }, _findFirstFactoryByNameAndTypeOrNull$1$2$type(instanceName, type, $T) { return this._findFirstFactoryByNameAndTypeOrNull$1$3$lookInScopeBelow$type(instanceName, false, type, $T); }, $get$1$3$instanceName$param1$param2(_, instanceName, param1, param2, $T) { var instance, instanceFactory = this._findFirstFactoryByNameAndTypeOrNull$1$2$type(instanceName, null, $T), t1 = instanceFactory.pendingResult; if (t1 != null) { t1 = instanceFactory.instance; t1.toString; instance = t1; } else instance = instanceFactory.getObject$2(0, param1, param2); return $T._as(instance); }, call$1$0($T) { var instance, _null = null, instanceFactory = this._findFirstFactoryByNameAndTypeOrNull$1$2$type(_null, _null, $T), t1 = instanceFactory.pendingResult; if (t1 != null) { t1 = instanceFactory.instance; t1.toString; instance = t1; } else instance = instanceFactory.getObject$2(0, _null, _null); return $T._as(instance); }, call$0() { return this.call$1$0(type$.Object); }, registerLazySingleton$1$1(factoryFunc, $T) { var t1 = type$.void; this._register$3$6$disposeFunc$factoryFunc$instanceName$isAsync$shouldSignalReady$type(null, factoryFunc, null, false, false, B._ServiceFactoryType_2, $T, t1, t1); }, _register$3$6$disposeFunc$factoryFunc$instanceName$isAsync$shouldSignalReady$type(disposeFunc, factoryFunc, instanceName, isAsync, shouldSignalReady, type, $T, P1, P2) { var factoriesByName, t1, t2, serviceFactory, _null = null; if ($T._is(B.C_Object)) A.throwExpression("GetIt: You have to provide type. Did you accidentally do `var sl=GetIt.instance();` instead of var sl=GetIt.instance;"); factoriesByName = B.JSArray_methods.get$last(this._scopes).factoriesByName; if (factoriesByName.containsKey$1(0, instanceName)) { t1 = factoriesByName.$index(0, instanceName); t1.toString; t1 = J.containsKey$1$x(t1, A.createRuntimeType($T)) && true; } else t1 = false; t2 = "Object/factory with type " + A._rtiToString(A.createRuntimeType($T)._rti, _null) + " is already registered inside GetIt. "; if (t1) A.throwExpression(new A.ArgumentError(false, _null, _null, t2)); serviceFactory = new A._ServiceFactory(type, this, factoryFunc, _null, disposeFunc, instanceName, false, _null, A._setArrayType([], type$.JSArray_Type), false, $T._eval$1("@<0>")._bind$1(P1)._bind$1(P2)._eval$1("_ServiceFactory<1,2,3>")); t1 = A.createRuntimeType($T); A._lateWriteOnceCheck($, "registrationType"); serviceFactory.___ServiceFactory_registrationType = t1; t1 = A.createRuntimeType(P1); A._lateWriteOnceCheck($, "param1Type"); serviceFactory.___ServiceFactory_param1Type = t1; t1 = A.createRuntimeType(P2); A._lateWriteOnceCheck($, "param2Type"); serviceFactory.___ServiceFactory_param2Type = t1; serviceFactory.___ServiceFactory__readyCompleter = new A._AsyncCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncCompleter<0>")); factoriesByName.putIfAbsent$2(0, instanceName, new A._GetItImplementation__register_closure()); t1 = factoriesByName.$index(0, instanceName); t1.toString; J.$indexSet$ax(t1, A.createRuntimeType($T), serviceFactory); if (type === B._ServiceFactoryType_1) t1 = true; else t1 = false; if (t1) return; } }; A._GetItImplementation__register_closure.prototype = { call$0() { return A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$._ServiceFactory_Object_dynamic_dynamic); }, $signature: 865 }; A.AttributeName.prototype = { toString$0(_) { var t1 = this.prefix, t2 = this.name; return t1 != null ? t1 + ":" + t2 : t2; }, get$hashCode(_) { return 37 * (37 * (J.get$hashCode$(this.prefix) & 2097151) + B.JSString_methods.get$hashCode(this.name) & 2097151) + B.JSString_methods.get$hashCode(this.namespace) & 1073741823; }, compareTo$1(_, other) { var t1, t2, cmp; if (!(other instanceof A.AttributeName)) return 1; t1 = this.prefix; if (t1 == null) t1 = ""; t2 = other.prefix; cmp = B.JSString_methods.compareTo$1(t1, t2 == null ? "" : t2); if (cmp !== 0) return cmp; cmp = B.JSString_methods.compareTo$1(this.name, other.name); if (cmp !== 0) return cmp; return B.JSString_methods.compareTo$1(this.namespace, other.namespace); }, $eq(_, x) { if (x == null) return false; if (!(x instanceof A.AttributeName)) return false; return this.prefix == x.prefix && this.name === x.name && this.namespace === x.namespace; }, $isComparable: 1, get$name(receiver) { return this.name; } }; A._ParentNode.prototype = {}; A._NonElementParentNode.prototype = {}; A._ElementAndDocument.prototype = {}; A.Node.prototype = { get$nodes(_) { var t1, _this = this, value = _this.__Node_nodes; if (value === $) { t1 = A._setArrayType([], type$.JSArray_Node_3); A._lateInitializeOnceCheck(_this.__Node_nodes, "nodes"); value = _this.__Node_nodes = new A.NodeList(_this, t1); } return value; }, get$children(_) { var _this = this, t1 = _this._dom$_elements; return t1 == null ? _this._dom$_elements = new A.FilteredElementList(_this.get$nodes(_this)) : t1; }, get$_innerHtml(_) { var t1, str = new A.StringBuffer(""); this._addInnerHtml$1(str); t1 = str._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, get$text(_) { return null; }, _addInnerHtml$1(str) { var t1, t2; for (t1 = this.get$nodes(this)._list_proxy$_list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) t2._as(t1.__interceptors$_current)._addOuterHtml$1(str); }, remove$0(_) { var t1 = this.parentNode; if (t1 != null) B.JSArray_methods.remove$1(t1.get$nodes(t1)._list_proxy$_list, this); return this; }, insertBefore$2(_, node, refNode) { var t1, t2, _this = this; if (refNode == null) _this.get$nodes(_this).add$1(0, node); else { t1 = _this.get$nodes(_this); t2 = _this.get$nodes(_this); t1.insert$2(0, t2.indexOf$1(t2, refNode), node); } }, contains$1(_, node) { var t1 = this.get$nodes(this); return t1.contains$1(t1, node); }, _dom$_clone$1$2(shallowClone, deep) { var t1, t2, t3, t4, value, t5, value0, t6; if (deep) for (t1 = this.get$nodes(this)._list_proxy$_list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1, t3 = type$.JSArray_Node_3; t1.moveNext$0();) { t4 = t2._as(t1.__interceptors$_current).clone$1(0, true); value = shallowClone.__Node_nodes; if (value === $) { t5 = A._setArrayType([], t3); A._lateInitializeOnceCheck(shallowClone.__Node_nodes, "nodes"); value = shallowClone.__Node_nodes = new A.NodeList(shallowClone, t5); } t5 = t4.parentNode; if (t5 != null) { value0 = t5.__Node_nodes; if (value0 === $) { t6 = A._setArrayType([], t3); A._lateInitializeOnceCheck(t5.__Node_nodes, "nodes"); value0 = t5.__Node_nodes = new A.NodeList(t5, t6); } B.JSArray_methods.remove$1(value0._list_proxy$_list, t4); } t4.parentNode = value._dom$_parent; value.super$ListProxy$add(0, t4); } return shallowClone; }, _dom$_clone$2(shallowClone, deep) { return this._dom$_clone$1$2(shallowClone, deep, type$.Node); } }; A.Document0.prototype = { get$nodeType(_) { return 9; }, get$body(_) { var t1 = new A.SelectorEvaluator().querySelector$2(0, this, A._parseSelectorList("html")); return t1 == null ? null : new A.SelectorEvaluator().querySelector$2(0, t1, A._parseSelectorList("body")); }, toString$0(_) { return "#document"; }, _addOuterHtml$1(str) { return this._addInnerHtml$1(str); }, clone$1(_, deep) { return this._dom$_clone$2(A.Document$(), true); }, createElement$1(_, tag) { return new A.Element0("http://www.w3.org/1999/xhtml", tag, A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); } }; A.DocumentType.prototype = { get$nodeType(_) { return 10; }, toString$0(_) { var sid, _this = this, pid = _this.publicId, t1 = pid == null; if (!t1 || _this.systemId != null) { if (t1) pid = ""; sid = _this.systemId; if (sid == null) sid = ""; return "<!DOCTYPE " + A.S(_this.name) + ' "' + pid + '" "' + sid + '">'; } else return "<!DOCTYPE " + A.S(_this.name) + ">"; }, _addOuterHtml$1(str) { str._contents += this.toString$0(0); }, clone$1(_, deep) { return A.DocumentType$(this.name, this.publicId, this.systemId); }, get$name(receiver) { return this.name; } }; A.Text0.prototype = { get$nodeType(_) { return 3; }, get$data(_) { return this._dom$_data = J.toString$0$(this._dom$_data); }, toString$0(_) { var t1 = J.toString$0$(this._dom$_data); this._dom$_data = t1; return '"' + t1 + '"'; }, _addOuterHtml$1(str) { return A.writeTextNodeAsHtml(str, this); }, clone$1(_, deep) { var t1 = J.toString$0$(this._dom$_data); this._dom$_data = t1; return A.Text$0(t1); }, appendData$1(_, data) { var sb = this._dom$_data; (!(sb instanceof A.StringBuffer) ? this._dom$_data = new A.StringBuffer(A.S(sb)) : sb)._contents += data; }, get$text(_) { return this._dom$_data = J.toString$0$(this._dom$_data); } }; A.Element0.prototype = { get$nodeType(_) { return 1; }, get$previousElementSibling(_) { var siblings, i, s, t1 = this.parentNode; if (t1 == null) return null; siblings = t1.get$nodes(t1); for (i = siblings.indexOf$1(siblings, this) - 1, t1 = siblings._list_proxy$_list; i >= 0; --i) { s = t1[i]; if (s instanceof A.Element0) return s; } return null; }, get$nextElementSibling(_) { var siblings, i, t1, t2, s, parentNode = this.parentNode; if (parentNode == null) return null; siblings = parentNode.get$nodes(parentNode); for (i = siblings.indexOf$1(siblings, this) + 1, t1 = siblings._list_proxy$_list, t2 = t1.length; i < t2; ++i) { s = t1[i]; if (s instanceof A.Element0) return s; } return null; }, toString$0(_) { var prefix = A.Namespaces_getPrefix(this.namespaceUri); return "<" + (prefix == null ? "" : prefix + " ") + A.S(this.localName) + ">"; }, get$text(_) { var t1 = new A.StringBuffer(""); new A._ConcatTextVisitor(t1).visit$1(this); t1 = t1._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; }, _addOuterHtml$1(str) { var t1, t2, first, _this = this; str._contents += "<"; str._contents += A.Element__getSerializationPrefix(_this.namespaceUri); t1 = _this.localName; str._contents += A.S(t1); t2 = _this.attributes; if (t2.get$isNotEmpty(t2)) _this.attributes.forEach$1(0, new A.Element__addOuterHtml_closure(str)); str._contents += ">"; t2 = _this.get$nodes(_this); if (!t2.get$isEmpty(t2)) { if (t1 === "pre" || t1 === "textarea" || t1 === "listing") { first = _this.get$nodes(_this)._list_proxy$_list[0]; if (first instanceof A.Text0) { t2 = J.toString$0$(first._dom$_data); first._dom$_data = t2; t2 = B.JSString_methods.startsWith$1(t2, "\n"); } else t2 = false; if (t2) str._contents += "\n"; } _this._addInnerHtml$1(str); } if (!A.isVoidElement(t1)) str._contents += "</" + A.S(t1) + ">"; }, clone$1(_, deep) { var _this = this, result = A.Element$_(_this.localName, _this.namespaceUri); result.attributes = A.LinkedHashMap_LinkedHashMap$from(_this.attributes, type$.Object, type$.String); return _this._dom$_clone$2(result, deep); }, get$id(_) { var result = this.attributes.$index(0, "id"); return result == null ? "" : result; }, get$className(_) { var result = this.attributes.$index(0, "class"); return result == null ? "" : result; } }; A.Element__addOuterHtml_closure.prototype = { call$2(key, v) { var t2, t1 = this.str; t1._contents += " "; t2 = t1._contents += A.S(key); t1._contents = t2 + '="'; t2 = t1._contents += A.htmlSerializeEscape(v, true); t1._contents = t2 + '"'; }, $signature: 191 }; A.Comment.prototype = { get$nodeType(_) { return 8; }, toString$0(_) { return "<!-- " + this.data + " -->"; }, _addOuterHtml$1(str) { str._contents += "<!--" + this.data + "-->"; }, clone$1(_, deep) { return new A.Comment(this.data, A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); }, get$text(_) { return this.data; }, get$data(receiver) { return this.data; } }; A.NodeList.prototype = { add$1(_, value) { value.remove$0(0); value.parentNode = this._dom$_parent; this.super$ListProxy$add(0, value); }, addAll$1(_, collection) { var t1, t2, t3, t4, t5, t6, value, t7, list = this._flattenDocFragments$1(collection); for (t1 = A._arrayInstanceType(list)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(list, t1), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator<ListIterable.E>")), t3 = this._dom$_parent, t1 = t1._eval$1("ListIterable.E"), t4 = type$.JSArray_Node_3; t2.moveNext$0();) { t5 = t1._as(t2.__internal$_current); t6 = t5.parentNode; if (t6 != null) { value = t6.__Node_nodes; if (value === $) { t7 = A._setArrayType([], t4); A._lateInitializeOnceCheck(t6.__Node_nodes, "nodes"); value = t6.__Node_nodes = new A.NodeList(t6, t7); } B.JSArray_methods.remove$1(value._list_proxy$_list, t5); } t5.parentNode = t3; } this.super$ListProxy$addAll(0, list); }, insert$2(_, index, value) { value.remove$0(0); value.parentNode = this._dom$_parent; this.super$ListProxy$insert(0, index, value); }, removeLast$0(_) { var t1 = this.super$ListMixin$removeLast(this); t1.parentNode = null; return t1; }, removeAt$1(_, i) { var t1 = this.super$ListProxy$removeAt(0, i); t1.parentNode = null; return t1; }, clear$0(_) { var t1, t2; for (t1 = this._list_proxy$_list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; t1.moveNext$0();) t2._as(t1.__interceptors$_current).parentNode = null; this.super$ListMixin$clear(this); }, $indexSet(_, index, value) { this._list_proxy$_list[index].parentNode = null; value.remove$0(0); value.parentNode = this._dom$_parent; this.super$ListProxy$$indexSet(0, index, value); }, setRange$4(_, start, rangeLength, from, startFrom) { var fromVar, i, t1; type$.List_Node._as(from); fromVar = from instanceof A.NodeList ? from.sublist$2(from, startFrom, startFrom + rangeLength) : from; for (i = rangeLength - 1, t1 = J.getInterceptor$asx(fromVar); i >= 0; --i) this.$indexSet(0, start + i, t1.$index(fromVar, startFrom + i)); }, setRange$3($receiver, start, rangeLength, from) { return this.setRange$4($receiver, start, rangeLength, from, 0); }, removeRange$2(_, start, rangeLength) { var t1, i; for (t1 = this._list_proxy$_list, i = start; i < rangeLength; ++i) t1[i].parentNode = null; this.super$ListProxy$removeRange(0, start, rangeLength); }, insertAll$2(_, index, collection) { var t1, t2, t3, t4, t5, t6, value, t7, list = this._flattenDocFragments$1(collection); for (t1 = A._arrayInstanceType(list)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(list, t1), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator<ListIterable.E>")), t3 = this._dom$_parent, t1 = t1._eval$1("ListIterable.E"), t4 = type$.JSArray_Node_3; t2.moveNext$0();) { t5 = t1._as(t2.__internal$_current); t6 = t5.parentNode; if (t6 != null) { value = t6.__Node_nodes; if (value === $) { t7 = A._setArrayType([], t4); A._lateInitializeOnceCheck(t6.__Node_nodes, "nodes"); value = t6.__Node_nodes = new A.NodeList(t6, t7); } B.JSArray_methods.remove$1(value._list_proxy$_list, t5); } t5.parentNode = t3; } this.super$ListProxy$insertAll(0, index, list); }, _flattenDocFragments$1(collection) { var t1, result = A._setArrayType([], type$.JSArray_Node_3); for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) result.push(t1.get$current(t1)); return result; } }; A.FilteredElementList.prototype = { forEach$1(_, f) { var t1 = type$.WhereTypeIterable_Element; B.JSArray_methods.forEach$1(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), f); }, $indexSet(_, index, value) { var t2, t3, t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))[index]; t2 = t1.parentNode; if (t2 == null) A.throwExpression(A.UnsupportedError$("Node must have a parent to replace it.")); t2 = t2.get$nodes(t2); t3 = t1.parentNode; t3 = t3.get$nodes(t3); t2.$indexSet(0, t3.indexOf$1(t3, t1), value); }, set$length(_, newLength) { var t1 = type$.WhereTypeIterable_Element, len = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")).length; if (newLength >= len) return; else if (newLength < 0) throw A.wrapException(A.ArgumentError$("Invalid list length", null)); this.removeRange$2(0, newLength, len); }, join$1(_, separator) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.join$1(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), separator); }, join$0($receiver) { return this.join$1($receiver, ""); }, add$1(_, value) { this._childNodes.add$1(0, value); }, addAll$1(_, iterable) { var t1, t2, t3, t4, t5, value, t6; for (t1 = J.get$iterator$ax(iterable), t2 = this._childNodes, t3 = type$.JSArray_Node_3; t1.moveNext$0();) { t4 = t1.get$current(t1); t5 = t4.parentNode; if (t5 != null) { value = t5.__Node_nodes; if (value === $) { t6 = A._setArrayType([], t3); A._lateInitializeOnceCheck(t5.__Node_nodes, "nodes"); value = t5.__Node_nodes = new A.NodeList(t5, t6); } B.JSArray_methods.remove$1(value._list_proxy$_list, t4); } t4.parentNode = t2._dom$_parent; t2.super$ListProxy$add(0, t4); } }, contains$1(_, element) { var t1; if (element instanceof A.Element0) { t1 = this._childNodes; t1 = t1.contains$1(t1, element); } else t1 = false; return t1; }, sort$1(_, compare) { throw A.wrapException(A.UnsupportedError$("TODO(jacobr): should we impl?")); }, setRange$4(_, start, end, iterable, skipCount) { throw A.wrapException(A.UnimplementedError$(null)); }, setRange$3($receiver, start, end, iterable) { return this.setRange$4($receiver, start, end, iterable, 0); }, removeRange$2(_, start, end) { var t1 = type$.WhereTypeIterable_Element; B.JSArray_methods.forEach$1(B.JSArray_methods.sublist$2(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), start, end), new A.FilteredElementList_removeRange_closure()); }, clear$0(_) { this._childNodes.clear$0(0); }, removeLast$0(_) { var t1 = type$.WhereTypeIterable_Element; t1 = B.JSArray_methods.get$last(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))); t1.remove$0(0); return t1; }, map$1$1(_, f, $T) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")); return new A.MappedListIterable(t1, f, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>")); }, map$1($receiver, f) { return this.map$1$1($receiver, f, type$.dynamic); }, where$1(_, f) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")); return new A.WhereIterable(t1, f, A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")); }, expand$1$1(_, f, $T) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")); return new A.ExpandIterable(t1, f, A._arrayInstanceType(t1)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>")); }, insertAll$2(_, index, iterable) { this._childNodes.insertAll$2(0, index, iterable); }, removeAt$1(_, index) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))[index]; t1.remove$0(0); return t1; }, remove$1(_, element) { return false; }, every$1(_, f) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.every$1(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), f); }, any$1(_, f) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.any$1(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), f); }, toList$1$growable(_, growable) { return A.List_List$from(this, growable, type$.Element_3); }, toList$0($receiver) { return this.toList$1$growable($receiver, true); }, toSet$0(_) { return A.LinkedHashSet_LinkedHashSet$from(this, type$.Element_3); }, firstWhere$2$orElse(_, test, orElse) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.firstWhere$2$orElse(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), test, orElse); }, firstWhere$1($receiver, test) { return this.firstWhere$2$orElse($receiver, test, null); }, elementAt$1(_, index) { var t1 = type$.WhereTypeIterable_Element; return A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))[index]; }, get$isEmpty(_) { var t1 = type$.WhereTypeIterable_Element; return A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")).length === 0; }, get$length(_) { var t1 = type$.WhereTypeIterable_Element; return A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")).length; }, $index(_, index) { var t1 = type$.WhereTypeIterable_Element; return A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))[index]; }, get$iterator(_) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")); return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, sublist$2(_, start, end) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.sublist$2(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), start, end); }, sublist$1($receiver, start) { return this.sublist$2($receiver, start, null); }, getRange$2(_, start, end) { var t1 = type$.WhereTypeIterable_Element; t1 = A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")); A.RangeError_checkValidRange(start, end, t1.length, null, null); return A.SubListIterable$(t1, start, end, A._arrayInstanceType(t1)._precomputed1); }, indexOf$2(_, element, start) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.indexOf$2(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E")), type$.Element_3._as(element), start); }, indexOf$1($receiver, element) { return this.indexOf$2($receiver, element, 0); }, get$first(_) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.get$first(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))); }, get$last(_) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.get$last(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))); }, get$single(_) { var t1 = type$.WhereTypeIterable_Element; return B.JSArray_methods.get$single(A.List_List$of(new A.WhereTypeIterable(this._childNodes, t1), true, t1._eval$1("Iterable.E"))); }, $isEfficientLengthIterable: 1, $isList: 1 }; A.FilteredElementList_removeRange_closure.prototype = { call$1(el) { return el.remove$0(0); }, $signature: 321 }; A._ConcatTextVisitor.prototype = { toString$0(_) { var t1 = this._str._contents; return t1.charCodeAt(0) == 0 ? t1 : t1; } }; A._Document_Node__ParentNode.prototype = {}; A._Document_Node__ParentNode__NonElementParentNode.prototype = {}; A._Document_Node__ParentNode__NonElementParentNode__ElementAndDocument.prototype = {}; A._Element_Node__ParentNode.prototype = {}; A._Element_Node__ParentNode__ElementAndDocument.prototype = {}; A._FilteredElementList_IterableBase_ListMixin.prototype = {}; A.TreeVisitor.prototype = { visit$1(node) { var t1, _this = this; switch (node.get$nodeType(node)) { case 1: return _this.visitChildren$1(type$.Element_3._as(node)); case 3: type$.Text._as(node); t1 = J.toString$0$(node._dom$_data); node._dom$_data = t1; _this._str._contents += t1; return null; case 8: return _this.visitChildren$1(type$.Comment._as(node)); case 11: return _this.visitChildren$1(type$.DocumentFragment._as(node)); case 9: return _this.visitChildren$1(type$.Document._as(node)); case 10: return _this.visitChildren$1(type$.DocumentType._as(node)); default: throw A.wrapException(A.UnsupportedError$("DOM node type " + node.get$nodeType(node))); } }, visitChildren$1(node) { var t1, t2, _i; for (t1 = node.get$nodes(node), t1 = t1.toList$0(t1), t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) this.visit$1(t1[_i]); } }; A.HtmlParser.prototype = { get$phase() { var value = this.__HtmlParser_phase; return value === $ ? this.__HtmlParser_phase = this.get$_initialPhase() : value; }, get$_initialPhase() { var _this = this, value = _this.__HtmlParser__initialPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_initialPhase"); value = _this.__HtmlParser__initialPhase = new A.InitialPhase(_this, _this.tree); } return value; }, get$_beforeHtmlPhase() { var _this = this, value = _this.__HtmlParser__beforeHtmlPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_beforeHtmlPhase"); value = _this.__HtmlParser__beforeHtmlPhase = new A.BeforeHtmlPhase(_this, _this.tree); } return value; }, get$_beforeHeadPhase() { var _this = this, value = _this.__HtmlParser__beforeHeadPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_beforeHeadPhase"); value = _this.__HtmlParser__beforeHeadPhase = new A.BeforeHeadPhase(_this, _this.tree); } return value; }, get$_inHeadPhase() { var _this = this, value = _this.__HtmlParser__inHeadPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inHeadPhase"); value = _this.__HtmlParser__inHeadPhase = new A.InHeadPhase(_this, _this.tree); } return value; }, get$_inBodyPhase() { var _this = this, value = _this.__HtmlParser__inBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inBodyPhase"); value = _this.__HtmlParser__inBodyPhase = new A.InBodyPhase(_this, _this.tree); } return value; }, get$_textPhase() { var _this = this, value = _this.__HtmlParser__textPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_textPhase"); value = _this.__HtmlParser__textPhase = new A.TextPhase(_this, _this.tree); } return value; }, get$_inTablePhase() { var _this = this, value = _this.__HtmlParser__inTablePhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inTablePhase"); value = _this.__HtmlParser__inTablePhase = new A.InTablePhase(_this, _this.tree); } return value; }, get$_inTableTextPhase() { var t1, _this = this, value = _this.__HtmlParser__inTableTextPhase; if (value === $) { t1 = A._setArrayType([], type$.JSArray_StringToken); A._lateInitializeOnceCheck(_this.__HtmlParser__inTableTextPhase, "_inTableTextPhase"); value = _this.__HtmlParser__inTableTextPhase = new A.InTableTextPhase(t1, _this, _this.tree); } return value; }, get$_inCaptionPhase() { var _this = this, value = _this.__HtmlParser__inCaptionPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inCaptionPhase"); value = _this.__HtmlParser__inCaptionPhase = new A.InCaptionPhase(_this, _this.tree); } return value; }, get$_inColumnGroupPhase() { var _this = this, value = _this.__HtmlParser__inColumnGroupPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inColumnGroupPhase"); value = _this.__HtmlParser__inColumnGroupPhase = new A.InColumnGroupPhase(_this, _this.tree); } return value; }, get$_inTableBodyPhase() { var _this = this, value = _this.__HtmlParser__inTableBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inTableBodyPhase"); value = _this.__HtmlParser__inTableBodyPhase = new A.InTableBodyPhase(_this, _this.tree); } return value; }, get$_inRowPhase() { var _this = this, value = _this.__HtmlParser__inRowPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inRowPhase"); value = _this.__HtmlParser__inRowPhase = new A.InRowPhase(_this, _this.tree); } return value; }, get$_inCellPhase() { var _this = this, value = _this.__HtmlParser__inCellPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inCellPhase"); value = _this.__HtmlParser__inCellPhase = new A.InCellPhase(_this, _this.tree); } return value; }, get$_inSelectPhase() { var _this = this, value = _this.__HtmlParser__inSelectPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inSelectPhase"); value = _this.__HtmlParser__inSelectPhase = new A.InSelectPhase(_this, _this.tree); } return value; }, get$_inFramesetPhase() { var _this = this, value = _this.__HtmlParser__inFramesetPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inFramesetPhase"); value = _this.__HtmlParser__inFramesetPhase = new A.InFramesetPhase(_this, _this.tree); } return value; }, _parse$0() { var exception; this.reset$0(0); for (; true;) try { this.mainLoop$0(); break; } catch (exception) { if (A.unwrapException(exception) instanceof A.ReparseException) this.reset$0(0); else throw exception; } }, reset$0(_) { var _this = this; _this.tokenizer.reset$0(0); _this.tree.reset$0(0); _this.firstStartTag = false; B.JSArray_methods.set$length(_this.errors, 0); _this.compatMode = "no quirks"; _this.__HtmlParser_phase = _this.get$_initialPhase(); _this.framesetOK = true; }, isHTMLIntegrationPoint$1(element) { var enc, t1 = element.localName; if (t1 === "annotation-xml" && element.namespaceUri === "http://www.w3.org/1998/Math/MathML") { t1 = element.attributes.$index(0, "encoding"); enc = t1 == null ? null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t1), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, null); return enc === "text/html" || enc === "application/xhtml+xml"; } else return B.JSArray_methods.contains$1(B.List_mzi, new A.Pair(element.namespaceUri, t1, type$.Pair_of_nullable_String_and_nullable_String)); }, inForeignContent$2(token, type) { var node, t1 = this.tree, t2 = t1.openElements; if (t2.length === 0) return false; node = B.JSArray_methods.get$last(t2); t2 = node.namespaceUri; if (t2 == t1.defaultNamespace) return false; t1 = node.localName; if (B.JSArray_methods.contains$1(B.List_cjm, new A.Pair(t2, t1, type$.Pair_of_nullable_String_and_nullable_String))) { if (type === 2) { t2 = type$.StartTagToken._as(token).name; t2 = t2 !== "mglyph" && t2 !== "malignmark"; } else t2 = false; if (t2) return false; if (type === 1 || type === 0) return false; } if (t1 === "annotation-xml" && type === 2 && type$.StartTagToken._as(token).name === "svg") return false; if (this.isHTMLIntegrationPoint$1(node)) if (type === 2 || type === 1 || type === 0) return false; return true; }, mainLoop$0() { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, newToken, type, span, t14, t15, t16, value, result, localPhase, reprocessPhases, reprocess, _this = this, _s13_ = "_initialPhase"; for (t1 = _this.tokenizer, t2 = _this.tree, t3 = type$.DoctypeToken, t4 = type$.CommentToken, t5 = type$.EndTagToken, t6 = type$.StartTagToken, t7 = type$.SpaceCharactersToken, t8 = type$.CharactersToken, t9 = _this.errors, t10 = type$.ParseErrorToken, t11 = t1.stream, t12 = type$.dynamic; t1.moveNext$0();) { t13 = t1._tokenizer$_current; t13.toString; for (newToken = t13; newToken != null;) { type = newToken.get$kind(newToken); if (type === 6) { t10._as(newToken); span = newToken.span; t14 = newToken._token$_string; if (t14 == null) { t14 = newToken._token$_string = J.toString$0$(newToken._token$_buffer); newToken._token$_buffer = null; } if (span == null) { t15 = t11.fileInfo; if (t15 == null) span = null; else { t16 = t11._html_input_stream$_offset; new A.FileLocation(t15, t16).FileLocation$_$2(t15, t16); span = new A._FileSpan(t15, t16, t16); span._FileSpan$3(t15, t16, t16); } } t9.push(new A.ParseError(t14, span, newToken.messageParams)); newToken = null; } else { value = _this.__HtmlParser_phase; if (value === $) { value = _this.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(_this, t2); A._lateInitializeOnceCheck(value, _s13_); _this.__HtmlParser__initialPhase = result; value = result; } _this.__HtmlParser_phase = value; } if (_this.inForeignContent$2(t13, type)) { value = _this.__HtmlParser__inForeignContentPhase; if (value === $) { result = new A.InForeignContentPhase(_this, t2); A._lateInitializeOnceCheck(value, "_inForeignContentPhase"); _this.__HtmlParser__inForeignContentPhase = result; value = result; } localPhase = value; } else localPhase = value; switch (type) { case 1: newToken = localPhase.processCharacters$1(t8._as(newToken)); break; case 0: newToken = localPhase.processSpaceCharacters$1(t7._as(newToken)); break; case 2: newToken = localPhase.processStartTag$1(t6._as(newToken)); break; case 3: newToken = localPhase.processEndTag$1(t5._as(newToken)); break; case 4: newToken = localPhase.processComment$1(t4._as(newToken)); break; case 5: newToken = localPhase.processDoctype$1(t3._as(newToken)); break; } } } if (t13 instanceof A.StartTagToken) if (t13.selfClosing && !t13.selfClosingAcknowledged) { span = t13.span; t13 = A.LinkedHashMap_LinkedHashMap$_literal(["name", t13.name], t12, t12); if (span == null) { t14 = t11.fileInfo; if (t14 == null) span = null; else { t15 = t11._html_input_stream$_offset; new A.FileLocation(t14, t15).FileLocation$_$2(t14, t15); span = new A._FileSpan(t14, t15, t15); span._FileSpan$3(t14, t15, t15); } } t9.push(new A.ParseError("non-void-element-with-trailing-solidus", span, t13)); } } reprocessPhases = []; for (reprocess = true; reprocess;) { value = _this.__HtmlParser_phase; if (value === $) { value = _this.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(_this, t2); A._lateInitializeOnceCheck(value, _s13_); _this.__HtmlParser__initialPhase = result; value = result; } value = _this.__HtmlParser_phase = value; } reprocessPhases.push(value); value = _this.__HtmlParser_phase; if (value === $) { value = _this.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(_this, t2); A._lateInitializeOnceCheck(value, _s13_); _this.__HtmlParser__initialPhase = result; value = result; } value = _this.__HtmlParser_phase = value; } reprocess = value.processEOF$0(); } }, get$_lastSpan() { var t1 = this.tokenizer.stream, t2 = t1.fileInfo; if (t2 == null) t1 = null; else { t1 = A.FileLocation$_(t2, t1._html_input_stream$_offset); t2 = t1.offset; t2 = A._FileSpan$(t1.file, t2, t2); t1 = t2; } return t1; }, parseError$3(span, errorcode, datavars) { var err = new A.ParseError(errorcode, span == null ? this.get$_lastSpan() : span, datavars); this.errors.push(err); }, parseError$2(span, errorcode) { return this.parseError$3(span, errorcode, B.Map_empty0); }, adjustMathMLAttributes$1(token) { var orig = token.data.remove$1(0, "definitionurl"); if (orig != null) token.data.$indexSet(0, "definitionURL", orig); }, adjustSVGAttributes$1(token) { var t1, t2, _i, t3, svgName, t4; for (t1 = token.data, t1 = t1.get$keys(t1), t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")), t2 = t1.length, _i = 0; _i < t2; ++_i) { t3 = A._asString(t1[_i]); svgName = B.Map_fbSNt.$index(0, t3); if (svgName != null) { t4 = token.data; t3 = t4.remove$1(0, t3); t3.toString; t4.$indexSet(0, svgName, t3); } } }, adjustForeignAttributes$1(token) { var t1, t2, _i, t3, foreignName, t4; for (t1 = token.data, t1 = t1.get$keys(t1), t1 = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")), t2 = t1.length, _i = 0; _i < t2; ++_i) { t3 = A._asString(t1[_i]); foreignName = B.Map_VIbiD.$index(0, t3); if (foreignName != null) { t4 = token.data; t3 = t4.remove$1(0, t3); t3.toString; t4.$indexSet(0, foreignName, t3); } } }, resetInsertionMode$0() { var t1, t2, t3, t4, t5, t6, nodeName, last, value, _this = this, _s12_ = "_inCellPhase", _s17_ = "_inTableBodyPhase", _s12_0 = "_inBodyPhase"; for (t1 = _this.tree, t2 = t1.openElements, t3 = A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>"), t4 = new A.ReversedListIterable(t2, t3), t4 = new A.ListIterator(t4, t4.get$length(t4), t3._eval$1("ListIterator<ListIterable.E>")), t3 = t3._eval$1("ListIterable.E"), t5 = t1.defaultNamespace; t4.moveNext$0();) { t6 = t3._as(t4.__internal$_current); nodeName = t6.localName; last = t6 === t2[0]; if (last) nodeName = _this.innerHTML; switch (nodeName) { case "select": case "colgroup": case "head": case "html": break; } if (!last && t6.namespaceUri != t5) continue; switch (nodeName) { case "select": value = _this.__HtmlParser__inSelectPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inSelectPhase"); value = _this.__HtmlParser__inSelectPhase = new A.InSelectPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "td": value = _this.__HtmlParser__inCellPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s12_); value = _this.__HtmlParser__inCellPhase = new A.InCellPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "th": value = _this.__HtmlParser__inCellPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s12_); value = _this.__HtmlParser__inCellPhase = new A.InCellPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "tr": value = _this.__HtmlParser__inRowPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inRowPhase"); value = _this.__HtmlParser__inRowPhase = new A.InRowPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "tbody": value = _this.__HtmlParser__inTableBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s17_); value = _this.__HtmlParser__inTableBodyPhase = new A.InTableBodyPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "thead": value = _this.__HtmlParser__inTableBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s17_); value = _this.__HtmlParser__inTableBodyPhase = new A.InTableBodyPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "tfoot": value = _this.__HtmlParser__inTableBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s17_); value = _this.__HtmlParser__inTableBodyPhase = new A.InTableBodyPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "caption": value = _this.__HtmlParser__inCaptionPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inCaptionPhase"); value = _this.__HtmlParser__inCaptionPhase = new A.InCaptionPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "colgroup": value = _this.__HtmlParser__inColumnGroupPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inColumnGroupPhase"); value = _this.__HtmlParser__inColumnGroupPhase = new A.InColumnGroupPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "table": value = _this.__HtmlParser__inTablePhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inTablePhase"); value = _this.__HtmlParser__inTablePhase = new A.InTablePhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "head": value = _this.__HtmlParser__inBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s12_0); value = _this.__HtmlParser__inBodyPhase = new A.InBodyPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "body": value = _this.__HtmlParser__inBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, _s12_0); value = _this.__HtmlParser__inBodyPhase = new A.InBodyPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "frameset": value = _this.__HtmlParser__inFramesetPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inFramesetPhase"); value = _this.__HtmlParser__inFramesetPhase = new A.InFramesetPhase(_this, t1); } _this.__HtmlParser_phase = value; return; case "html": value = _this.__HtmlParser__beforeHeadPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_beforeHeadPhase"); value = _this.__HtmlParser__beforeHeadPhase = new A.BeforeHeadPhase(_this, t1); } _this.__HtmlParser_phase = value; return; } } _this.__HtmlParser_phase = _this.get$_inBodyPhase(); }, parseRCDataRawtext$2(token, contentType) { var t1, _this = this; _this.tree.insertElement$1(token); t1 = _this.tokenizer; if (contentType === "RAWTEXT") t1.__HtmlTokenizer_state = t1.get$rawtextState(); else t1.__HtmlTokenizer_state = t1.get$rcdataState(); _this.originalPhase = _this.get$phase(); _this.__HtmlParser_phase = _this.get$_textPhase(); } }; A.Phase.prototype = { processEOF$0() { throw A.wrapException(A.UnimplementedError$(null)); }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, B.JSArray_methods.get$last(t1.openElements)); return null; }, processDoctype$1(token) { this.parser.parseError$2(token.span, "unexpected-doctype"); return null; }, processCharacters$1(token) { this.tree.insertText$2(token.get$data(token), token.span); return null; }, processSpaceCharacters$1(token) { this.tree.insertText$2(token.get$data(token), token.span); return null; }, processStartTag$1(token) { throw A.wrapException(A.UnimplementedError$(null)); }, startTagHtml$1(token) { var t1 = this.parser; if (!t1.firstStartTag && token.name === "html") t1.parseError$2(token.span, "non-html-root"); this.tree.openElements[0].sourceSpan = token.span; token.data.forEach$1(0, new A.Phase_startTagHtml_closure(this)); t1.firstStartTag = false; return null; }, processEndTag$1(token) { throw A.wrapException(A.UnimplementedError$(null)); }, popOpenElementsUntil$1(token) { var $name = token.name, t1 = this.tree.openElements, node = t1.pop(); for (; node.localName != $name;) node = t1.pop(); } }; A.Phase_startTagHtml_closure.prototype = { call$2(attr, value) { this.$this.tree.openElements[0].attributes.putIfAbsent$2(0, attr, new A.Phase_startTagHtml__closure(value)); }, $signature: 191 }; A.Phase_startTagHtml__closure.prototype = { call$0() { return this.value; }, $signature: 36 }; A.InitialPhase.prototype = { processSpaceCharacters$1(token) { return null; }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, A._lateReadCheck(t1.__TreeBuilder_document, "document")); return null; }, processDoctype$1(token) { var doctype, _this = this, $name = token.name, t1 = token.publicId, publicId = t1 == null ? null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t1), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, null), systemId = token.systemId, correct = token.correct; if ($name === "html") if (publicId == null) t1 = systemId != null && systemId !== "about:legacy-compat"; else t1 = true; else t1 = true; if (t1) _this.parser.parseError$2(token.span, "unknown-doctype"); if (publicId == null) publicId = ""; doctype = A.DocumentType$(token.name, token.publicId, token.systemId); doctype.sourceSpan = token.span; t1 = A._lateReadCheck(_this.tree.__TreeBuilder_document, "document"); t1.get$nodes(t1).add$1(0, doctype); if (correct) if (token.name === "html") { t1 = B.JSString_methods.get$startsWith(publicId); if (!B.JSArray_methods.any$1(B.List_E7S, t1)) if (!B.JSArray_methods.contains$1(B.List_ijq, publicId)) if (!(B.JSArray_methods.any$1(B.List_WxT, t1) && systemId == null)) t1 = systemId != null && systemId.toLowerCase() === "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"; else t1 = true; else t1 = true; else t1 = true; } else t1 = true; else t1 = true; if (t1) _this.parser.compatMode = "quirks"; else { t1 = B.JSString_methods.get$startsWith(publicId); if (!B.JSArray_methods.any$1(B.List_omi, t1)) t1 = B.JSArray_methods.any$1(B.List_WxT, t1) && systemId != null; else t1 = true; if (t1) _this.parser.compatMode = "limited quirks"; } t1 = _this.parser; t1.__HtmlParser_phase = t1.get$_beforeHtmlPhase(); return null; }, anythingElse$0() { var t1 = this.parser; t1.compatMode = "quirks"; t1.__HtmlParser_phase = t1.get$_beforeHtmlPhase(); }, processCharacters$1(token) { this.parser.parseError$2(token.span, "expected-doctype-but-got-chars"); this.anythingElse$0(); return token; }, processStartTag$1(token) { var t1 = type$.dynamic; this.parser.parseError$3(token.span, "expected-doctype-but-got-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t1, t1)); this.anythingElse$0(); return token; }, processEndTag$1(token) { var t1 = type$.dynamic; this.parser.parseError$3(token.span, "expected-doctype-but-got-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t1, t1)); this.anythingElse$0(); return token; }, processEOF$0() { var t1 = this.parser; t1.parseError$2(t1.get$_lastSpan(), "expected-doctype-but-got-eof"); this.anythingElse$0(); return true; } }; A.BeforeHtmlPhase.prototype = { insertHtmlElement$0() { var _null = null, t1 = this.tree, element = t1.createElement$1(0, A.StartTagToken$("html", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); t1.openElements.push(element); t1 = A._lateReadCheck(t1.__TreeBuilder_document, "document"); t1.get$nodes(t1).add$1(0, element); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_beforeHeadPhase(); }, processEOF$0() { this.insertHtmlElement$0(); return true; }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, A._lateReadCheck(t1.__TreeBuilder_document, "document")); return null; }, processSpaceCharacters$1(token) { return null; }, processCharacters$1(token) { this.insertHtmlElement$0(); return token; }, processStartTag$1(token) { if (token.name === "html") this.parser.firstStartTag = true; this.insertHtmlElement$0(); return token; }, processEndTag$1(token) { var t2, t1 = token.name; switch (t1) { case "head": case "body": case "html": case "br": this.insertHtmlElement$0(); return token; default: t2 = type$.dynamic; this.parser.parseError$3(token.span, "unexpected-end-tag-before-html", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } } }; A.BeforeHeadPhase.prototype = { processStartTag$1(token) { var _null = null; switch (token.name) { case "html": return this.parser.get$_inBodyPhase().processStartTag$1(token); case "head": this.startTagHead$1(token); return _null; default: this.startTagHead$1(A.StartTagToken$("head", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; } }, processEndTag$1(token) { var t2, _null = null, t1 = token.name; switch (t1) { case "head": case "body": case "html": case "br": this.startTagHead$1(A.StartTagToken$("head", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; default: t2 = type$.dynamic; this.parser.parseError$3(token.span, "end-tag-after-implied-root", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return _null; } }, processEOF$0() { var _null = null; this.startTagHead$1(A.StartTagToken$("head", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return true; }, processSpaceCharacters$1(token) { return null; }, processCharacters$1(token) { var _null = null; this.startTagHead$1(A.StartTagToken$("head", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; }, startTagHead$1(token) { var t1 = this.tree; t1.insertElement$1(token); t1.headPointer = B.JSArray_methods.get$last(t1.openElements); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_inHeadPhase(); } }; A.InHeadPhase.prototype = { processStartTag$1(token) { var t1, t2, attributes, charset, $content, _this = this, _null = null; switch (token.name) { case "html": return _this.parser.get$_inBodyPhase().processStartTag$1(token); case "title": _this.parser.parseRCDataRawtext$2(token, "RCDATA"); return _null; case "noscript": case "noframes": case "style": _this.parser.parseRCDataRawtext$2(token, "RAWTEXT"); return _null; case "script": _this.tree.insertElement$1(token); t1 = _this.parser; t2 = t1.tokenizer; t2.__HtmlTokenizer_state = t2.get$scriptDataState(); t1.originalPhase = t1.get$phase(); t1.__HtmlParser_phase = t1.get$_textPhase(); return _null; case "base": case "basefont": case "bgsound": case "command": case "link": t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); token.selfClosingAcknowledged = true; return _null; case "meta": t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); token.selfClosingAcknowledged = true; attributes = token.data; t1 = _this.parser.tokenizer.stream; if (!t1.charEncodingCertain) { charset = attributes.$index(0, "charset"); $content = attributes.$index(0, "content"); if (charset != null) t1.changeEncoding$1(charset); else if ($content != null) t1.changeEncoding$1(new A.ContentAttrParser(new A.EncodingBytes($content)).parse$0(0)); } return _null; case "head": _this.parser.parseError$2(token.span, "two-heads-are-not-better-than-one"); return _null; default: _this.endTagHead$1(new A.EndTagToken("head", false)); return token; } }, processEndTag$1(token) { var t2, t1 = token.name; switch (t1) { case "head": this.endTagHead$1(token); return null; case "br": case "html": case "body": this.endTagHead$1(new A.EndTagToken("head", false)); return token; default: t2 = type$.dynamic; this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } }, processEOF$0() { this.endTagHead$1(new A.EndTagToken("head", false)); return true; }, processCharacters$1(token) { this.endTagHead$1(new A.EndTagToken("head", false)); return token; }, endTagHead$1(token) { var value, t1 = this.parser, t2 = t1.tree; t2.openElements.pop(); value = t1.__HtmlParser__afterHeadPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_afterHeadPhase"); value = t1.__HtmlParser__afterHeadPhase = new A.AfterHeadPhase(t1, t2); } t1.__HtmlParser_phase = value; } }; A.AfterHeadPhase.prototype = { processStartTag$1(token) { var t2, _this = this, _null = null, t1 = token.name; switch (t1) { case "html": return _this.parser.get$_inBodyPhase().processStartTag$1(token); case "body": t1 = _this.parser; t1.framesetOK = false; _this.tree.insertElement$1(token); t1.__HtmlParser_phase = t1.get$_inBodyPhase(); return _null; case "frameset": _this.tree.insertElement$1(token); t1 = _this.parser; t1.__HtmlParser_phase = t1.get$_inFramesetPhase(); return _null; case "base": case "basefont": case "bgsound": case "link": case "meta": case "noframes": case "script": case "style": case "title": _this.startTagFromHead$1(token); return _null; case "head": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return _null; default: _this.anythingElse$0(); return token; } }, processEndTag$1(token) { var t2, t1 = token.name; switch (t1) { case "body": case "html": case "br": this.anythingElse$0(); return token; default: t2 = type$.dynamic; this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } }, processEOF$0() { this.anythingElse$0(); return true; }, processCharacters$1(token) { this.anythingElse$0(); return token; }, startTagFromHead$1(token) { var t3, t4, t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, "unexpected-start-tag-out-of-my-head", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t2, t2)); t2 = this.tree; t3 = t2.openElements; t3.push(type$.Element_3._as(t2.headPointer)); t1.get$_inHeadPhase().processStartTag$1(token); for (t1 = A._arrayInstanceType(t3)._eval$1("ReversedListIterable<1>"), t2 = new A.ReversedListIterable(t3, t1), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator<ListIterable.E>")), t1 = t1._eval$1("ListIterable.E"); t2.moveNext$0();) { t4 = t1._as(t2.__internal$_current); if (t4.localName === "head") { B.JSArray_methods.remove$1(t3, t4); break; } } }, anythingElse$0() { var t1, _null = null; this.tree.insertElement$1(A.StartTagToken$("body", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_inBodyPhase(); t1.framesetOK = true; } }; A.InBodyPhase.prototype = { processStartTag$1(token) { var t2, t3, afeAElement, savedFramesetOK, value, last, _this = this, _null = null, _s1_ = "p", _s6_ = "button", _s20_ = "unexpected-start-tag", _s36_ = "unexpected-start-tag-implies-end-tag", _s7_ = "RAWTEXT", t1 = token.name; switch (t1) { case "html": return _this.startTagHtml$1(token); case "base": case "basefont": case "bgsound": case "command": case "link": case "meta": case "noframes": case "script": case "style": case "title": return _this.parser.get$_inHeadPhase().processStartTag$1(token); case "body": _this.startTagBody$1(token); return _null; case "frameset": _this.startTagFrameset$1(token); return _null; case "address": case "article": case "aside": case "blockquote": case "center": case "details": case "dir": case "div": case "dl": case "fieldset": case "figcaption": case "figure": case "footer": case "header": case "hgroup": case "menu": case "nav": case "ol": case "p": case "section": case "summary": case "ul": _this.startTagCloseP$1(token); return _null; case "h1": case "h2": case "h3": case "h4": case "h5": case "h6": t1 = _this.tree; if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t2 = t1.openElements; if (B.JSArray_methods.contains$1(B.List_8eb, B.JSArray_methods.get$last(t2).localName)) { t3 = type$.dynamic; _this.parser.parseError$3(token.span, _s20_, A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t3, t3)); t2.pop(); } t1.insertElement$1(token); return _null; case "pre": case "listing": t1 = _this.tree; if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t1.insertElement$1(token); _this.parser.framesetOK = false; _this.dropNewline = true; return _null; case "form": t1 = _this.tree; if (t1.formPointer != null) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s20_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "form"], t1, t1)); } else { if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t1.insertElement$1(token); t1.formPointer = B.JSArray_methods.get$last(t1.openElements); } return _null; case "li": case "dd": case "dt": _this.startTagListItem$1(token); return _null; case "plaintext": t1 = _this.tree; if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t1.insertElement$1(token); t1 = _this.parser.tokenizer; t1.__HtmlTokenizer_state = t1.get$plaintextState(); return _null; case "a": t1 = _this.tree; afeAElement = t1.elementInActiveFormattingElements$1("a"); if (afeAElement != null) { t2 = type$.dynamic; _this.parser.parseError$3(token.span, _s36_, A.LinkedHashMap_LinkedHashMap$_literal(["startName", "a", "endName", "a"], t2, t2)); _this.endTagFormatting$1(new A.EndTagToken("a", false)); B.JSArray_methods.remove$1(t1.openElements, afeAElement); B.JSArray_methods.remove$1(t1.activeFormattingElements._list_proxy$_list, afeAElement); } t1.reconstructActiveFormattingElements$0(); _this.addFormattingElement$1(token); return _null; case "b": case "big": case "code": case "em": case "font": case "i": case "s": case "small": case "strike": case "strong": case "tt": case "u": _this.tree.reconstructActiveFormattingElements$0(); _this.addFormattingElement$1(token); return _null; case "nobr": t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); if (t1.elementInScope$1("nobr")) { t2 = type$.dynamic; _this.parser.parseError$3(token.span, _s36_, A.LinkedHashMap_LinkedHashMap$_literal(["startName", "nobr", "endName", "nobr"], t2, t2)); _this.processEndTag$1(new A.EndTagToken("nobr", false)); t1.reconstructActiveFormattingElements$0(); } _this.addFormattingElement$1(token); return _null; case "button": return _this.startTagButton$1(token); case "applet": case "marquee": case "object": t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(token); t1.activeFormattingElements.add$1(0, _null); _this.parser.framesetOK = false; return _null; case "xmp": t1 = _this.tree; if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t1.reconstructActiveFormattingElements$0(); t1 = _this.parser; t1.framesetOK = false; t1.parseRCDataRawtext$2(token, _s7_); return _null; case "table": t1 = _this.parser; if (t1.compatMode !== "quirks") if (_this.tree.elementInScope$2$variant(_s1_, _s6_)) _this.processEndTag$1(new A.EndTagToken(_s1_, false)); _this.tree.insertElement$1(token); t1.framesetOK = false; t1.__HtmlParser_phase = t1.get$_inTablePhase(); return _null; case "area": case "br": case "embed": case "img": case "keygen": case "wbr": _this.startTagVoidFormatting$1(token); return _null; case "param": case "source": case "track": t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); token.selfClosingAcknowledged = true; return _null; case "input": t1 = _this.parser; savedFramesetOK = t1.framesetOK; _this.startTagVoidFormatting$1(token); t2 = token.data.$index(0, "type"); if ((t2 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t2), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null)) === "hidden") t1.framesetOK = savedFramesetOK; return _null; case "hr": t1 = _this.tree; if (t1.elementInScope$2$variant(_s1_, _s6_)) _this.endTagP$1(new A.EndTagToken(_s1_, false)); t1.insertElement$1(token); t1.openElements.pop(); token.selfClosingAcknowledged = true; _this.parser.framesetOK = false; return _null; case "image": t1 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-start-tag-treated-as", A.LinkedHashMap_LinkedHashMap$_literal(["originalName", "image", "newName", "img"], t1, t1)); _this.processStartTag$1(A.StartTagToken$("img", token.data, _null, token.selfClosing)); return _null; case "isindex": _this.startTagIsIndex$1(token); return _null; case "textarea": _this.tree.insertElement$1(token); t1 = _this.parser; t2 = t1.tokenizer; t2.__HtmlTokenizer_state = t2.get$rcdataState(); _this.dropNewline = true; t1.framesetOK = false; return _null; case "iframe": t1 = _this.parser; t1.framesetOK = false; t1.parseRCDataRawtext$2(token, _s7_); return _null; case "noembed": case "noscript": _this.parser.parseRCDataRawtext$2(token, _s7_); return _null; case "select": t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(token); t1 = _this.parser; t1.framesetOK = false; if (t1.get$_inTablePhase() === t1.get$phase() || t1.get$_inCaptionPhase() === t1.get$phase() || t1.get$_inColumnGroupPhase() === t1.get$phase() || t1.get$_inTableBodyPhase() === t1.get$phase() || t1.get$_inRowPhase() === t1.get$phase() || t1.get$_inCellPhase() === t1.get$phase()) { value = t1.__HtmlParser__inSelectInTablePhase; if (value === $) { A._lateInitializeOnceCheck(value, "_inSelectInTablePhase"); value = t1.__HtmlParser__inSelectInTablePhase = new A.InSelectInTablePhase(t1, t1.tree); } t1.__HtmlParser_phase = value; } else t1.__HtmlParser_phase = t1.get$_inSelectPhase(); return _null; case "rp": case "rt": t1 = _this.tree; if (t1.elementInScope$1("ruby")) { t1.generateImpliedEndTags$0(); last = B.JSArray_methods.get$last(t1.openElements); if (last.localName !== "ruby") _this.parser.parseError$2(last.sourceSpan, "undefined-error"); } t1.insertElement$1(token); return _null; case "option": case "optgroup": t1 = _this.tree; if (B.JSArray_methods.get$last(t1.openElements).localName === "option") _this.parser.get$phase().processEndTag$1(new A.EndTagToken("option", false)); t1.reconstructActiveFormattingElements$0(); _this.parser.tree.insertElement$1(token); return _null; case "math": t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t2 = _this.parser; t2.adjustMathMLAttributes$1(token); t2.adjustForeignAttributes$1(token); token.namespace = "http://www.w3.org/1998/Math/MathML"; t1.insertElement$1(token); if (token.selfClosing) { t1.openElements.pop(); token.selfClosingAcknowledged = true; } return _null; case "svg": t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t2 = _this.parser; t2.adjustSVGAttributes$1(token); t2.adjustForeignAttributes$1(token); token.namespace = "http://www.w3.org/2000/svg"; t1.insertElement$1(token); if (token.selfClosing) { t1.openElements.pop(); token.selfClosingAcknowledged = true; } return _null; case "caption": case "col": case "colgroup": case "frame": case "head": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-start-tag-ignored", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return _null; default: t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(token); return _null; } }, processEndTag$1(token) { var t2, inScope, node, variant, t3, _this = this, _null = null, _s17_ = "end-tag-too-early", _s18_ = "unexpected-end-tag", t1 = token.name; switch (t1) { case "body": _this.endTagBody$1(token); return _null; case "html": return _this.endTagHtml$1(token); case "address": case "article": case "aside": case "blockquote": case "button": case "center": case "details": case "dir": case "div": case "dl": case "fieldset": case "figcaption": case "figure": case "footer": case "header": case "hgroup": case "listing": case "menu": case "nav": case "ol": case "pre": case "section": case "summary": case "ul": if (t1 === "pre") _this.dropNewline = false; t2 = _this.tree; inScope = t2.elementInScope$1(t1); if (inScope) t2.generateImpliedEndTags$0(); t1 = B.JSArray_methods.get$last(t2.openElements).localName; t2 = token.name; if (t1 != t2) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s17_, A.LinkedHashMap_LinkedHashMap$_literal(["name", t2], t1, t1)); } if (inScope) _this.popOpenElementsUntil$1(token); return _null; case "form": t1 = _this.tree; node = t1.formPointer; t1.formPointer = null; if (node == null || !t1.elementInScope$1(node)) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s18_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "form"], t1, t1)); } else { t1.generateImpliedEndTags$0(); t1 = t1.openElements; if (!J.$eq$(B.JSArray_methods.get$last(t1), node)) { t2 = type$.dynamic; _this.parser.parseError$3(token.span, "end-tag-too-early-ignored", A.LinkedHashMap_LinkedHashMap$_literal(["name", "form"], t2, t2)); } B.JSArray_methods.remove$1(t1, node); } return _null; case "p": _this.endTagP$1(token); return _null; case "dd": case "dt": case "li": variant = t1 === "li" ? "list" : _null; t2 = _this.tree; t1 = t2.elementInScope$2$variant(t1, variant); t3 = token.name; if (!t1) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s18_, A.LinkedHashMap_LinkedHashMap$_literal(["name", t3], t1, t1)); } else { t2.generateImpliedEndTags$1(t3); t1 = B.JSArray_methods.get$last(t2.openElements).localName; t2 = token.name; if (t1 != t2) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s17_, A.LinkedHashMap_LinkedHashMap$_literal(["name", t2], t1, t1)); } _this.popOpenElementsUntil$1(token); } return _null; case "h1": case "h2": case "h3": case "h4": case "h5": case "h6": _this.endTagHeading$1(token); return _null; case "a": case "b": case "big": case "code": case "em": case "font": case "i": case "nobr": case "s": case "small": case "strike": case "strong": case "tt": case "u": _this.endTagFormatting$1(token); return _null; case "applet": case "marquee": case "object": t2 = _this.tree; if (t2.elementInScope$1(t1)) t2.generateImpliedEndTags$0(); t1 = B.JSArray_methods.get$last(t2.openElements).localName; t3 = token.name; if (t1 != t3) { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s17_, A.LinkedHashMap_LinkedHashMap$_literal(["name", t3], t1, t1)); } if (t2.elementInScope$1(token.name)) { _this.popOpenElementsUntil$1(token); t2.clearActiveFormattingElements$0(); } return _null; case "br": t1 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag-treated-as", A.LinkedHashMap_LinkedHashMap$_literal(["originalName", "br", "newName", "br element"], t1, t1)); t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(A.StartTagToken$("br", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); t1.openElements.pop(); return _null; default: _this.endTagOther$1(token); return _null; } }, isMatchingFormattingElement$2(node1, node2) { var t1, t2; if (node1.localName != node2.localName || node1.namespaceUri != node2.namespaceUri) return false; else { t1 = node1.attributes; t1 = t1.get$length(t1); t2 = node2.attributes; if (t1 !== t2.get$length(t2)) return false; else for (t1 = node1.attributes, t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) { t2 = t1.get$current(t1); if (!J.$eq$(node1.attributes.$index(0, t2), node2.attributes.$index(0, t2))) return false; } } return true; }, addFormattingElement$1(token) { var element, matchingElements, t2, t3, t4, t5, t1 = this.tree; t1.insertElement$1(token); element = B.JSArray_methods.get$last(t1.openElements); matchingElements = []; for (t1 = t1.activeFormattingElements, t2 = A._instanceType(t1)._eval$1("ReversedListIterable<ListMixin.E>"), t3 = new A.ReversedListIterable(t1, t2), t3 = new A.ListIterator(t3, t3.get$length(t3), t2._eval$1("ListIterator<ListIterable.E>")), t4 = type$.Element_3, t2 = t2._eval$1("ListIterable.E"); t3.moveNext$0();) { t5 = t2._as(t3.__internal$_current); if (t5 == null) break; else { t4._as(t5); if (this.isMatchingFormattingElement$2(t5, element)) matchingElements.push(t5); } } if (matchingElements.length === 3) B.JSArray_methods.remove$1(t1._list_proxy$_list, B.JSArray_methods.get$last(matchingElements)); t1.add$1(0, element); }, processEOF$0() { var t1, t2, t3, span; for (t1 = this.tree.openElements, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); switch (t3.localName) { case "dd": case "dt": case "li": case "p": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": case "body": case "html": continue; } t1 = this.parser; span = t3.sourceSpan; if (span == null) { t2 = t1.tokenizer.stream; t3 = t2.fileInfo; if (t3 == null) span = null; else { t2 = t2._html_input_stream$_offset; new A.FileLocation(t3, t2).FileLocation$_$2(t3, t2); span = new A._FileSpan(t3, t2, t2); span._FileSpan$3(t3, t2, t2); } } t1.errors.push(new A.ParseError("expected-closing-tag-but-got-eof", span, B.Map_empty0)); break; } return false; }, processCharacters$1(token) { var t1; if (token.get$data(token) === "\x00") return null; t1 = this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertText$2(token.get$data(token), token.span); t1 = this.parser; if (t1.framesetOK && !A.allWhitespace(token.get$data(token))) t1.framesetOK = false; return null; }, processSpaceCharacters$1(token) { var data, t1, lastOpen, _this = this; if (_this.dropNewline) { data = token.get$data(token); t1 = _this.dropNewline = false; if (B.JSString_methods.startsWith$1(data, "\n")) { lastOpen = B.JSArray_methods.get$last(_this.tree.openElements); if (B.JSArray_methods.contains$1(B.List_pre_listing_textarea, lastOpen.localName)) { t1 = lastOpen.get$nodes(lastOpen); t1 = t1.get$isEmpty(t1); } if (t1) data = B.JSString_methods.substring$1(data, 1); } if (data.length !== 0) { t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertText$2(data, token.span); } } else { t1 = _this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertText$2(token.get$data(token), token.span); } return null; }, startTagBody$1(token) { var t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, "unexpected-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", "body"], t2, t2)); t2 = this.tree.openElements; if (!(t2.length === 1 || t2[1].localName !== "body")) { t1.framesetOK = false; token.data.forEach$1(0, new A.InBodyPhase_startTagBody_closure(this)); } }, startTagFrameset$1(token) { var t3, t4, t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, "unexpected-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", "frameset"], t2, t2)); t2 = this.tree; t3 = t2.openElements; if (!(t3.length === 1 || t3[1].localName !== "body")) if (t1.framesetOK) { t4 = t3[1].parentNode; if (t4 != null) B.JSArray_methods.remove$1(t4.get$nodes(t4)._list_proxy$_list, t3[1]); for (; B.JSArray_methods.get$last(t3).localName !== "html";) t3.pop(); t2.insertElement$1(token); t1.__HtmlParser_phase = t1.get$_inFramesetPhase(); } }, startTagCloseP$1(token) { var t1 = this.tree; if (t1.elementInScope$2$variant("p", "button")) this.endTagP$1(new A.EndTagToken("p", false)); t1.insertElement$1(token); }, startTagListItem$1(token) { var t2, t3, t4, t5, t6, t7, t8, value, result, ns, t1 = this.parser; t1.framesetOK = false; t2 = token.name; t2.toString; t2 = B.Map_q1wwi.$index(0, t2); t2.toString; for (t3 = this.tree, t4 = t3.openElements, t5 = A._arrayInstanceType(t4)._eval$1("ReversedListIterable<1>"), t4 = new A.ReversedListIterable(t4, t5), t4 = new A.ListIterator(t4, t4.get$length(t4), t5._eval$1("ListIterator<ListIterable.E>")), t6 = type$.Pair_of_String_and_nullable_String, t5 = t5._eval$1("ListIterable.E"); t4.moveNext$0();) { t7 = t5._as(t4.__internal$_current); t8 = t7.localName; if (B.JSArray_methods.contains$1(t2, t8)) { value = t1.__HtmlParser_phase; if (value === $) { value = t1.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(t1, t1.tree); A._lateInitializeOnceCheck(value, "_initialPhase"); t1.__HtmlParser__initialPhase = result; value = result; } value = t1.__HtmlParser_phase = value; } value.processEndTag$1(new A.EndTagToken(t8, false)); break; } ns = t7.namespaceUri; if (B.JSArray_methods.contains$1(B.List_yTE, new A.Pair(ns == null ? "http://www.w3.org/1999/xhtml" : ns, t8, t6)) && !B.JSArray_methods.contains$1(B.List_address_div_p, t8)) break; } if (t3.elementInScope$2$variant("p", "button")) t1.get$phase().processEndTag$1(new A.EndTagToken("p", false)); t3.insertElement$1(token); }, startTagButton$1(token) { var t1 = this.tree, t2 = this.parser; if (t1.elementInScope$1("button")) { t1 = type$.dynamic; t2.parseError$3(token.span, "unexpected-start-tag-implies-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["startName", "button", "endName", "button"], t1, t1)); this.processEndTag$1(new A.EndTagToken("button", false)); return token; } else { t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(token); t2.framesetOK = false; } return null; }, startTagVoidFormatting$1(token) { var t1 = this.tree; t1.reconstructActiveFormattingElements$0(); t1.insertElement$1(token); t1.openElements.pop(); token.selfClosingAcknowledged = true; this.parser.framesetOK = false; }, startTagIsIndex$1(token) { var t2, formAttrs, dataAction, $prompt, attributes, _this = this, _null = null, _s6_ = "action", t1 = type$.dynamic; _this.parser.parseError$3(token.span, "deprecated-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", "isindex"], t1, t1)); if (_this.tree.formPointer != null) return; t1 = type$.Object; t2 = type$.String; formAttrs = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t1, t2); dataAction = token.data.$index(0, _s6_); if (dataAction != null) formAttrs.$indexSet(0, _s6_, dataAction); _this.processStartTag$1(A.StartTagToken$("form", formAttrs, _null, false)); _this.processStartTag$1(A.StartTagToken$("hr", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t1, t2), _null, false)); _this.processStartTag$1(A.StartTagToken$("label", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t1, t2), _null, false)); $prompt = token.data.$index(0, "prompt"); if ($prompt == null) $prompt = "This is a searchable index. Enter search keywords: "; _this.processCharacters$1(new A.CharactersToken(_null, $prompt)); attributes = A.LinkedHashMap_LinkedHashMap$from(token.data, t1, t2); attributes.remove$1(0, _s6_); attributes.remove$1(0, "prompt"); attributes.$indexSet(0, "name", "isindex"); _this.processStartTag$1(A.StartTagToken$("input", attributes, _null, token.selfClosing)); _this.processEndTag$1(new A.EndTagToken("label", false)); _this.processStartTag$1(A.StartTagToken$("hr", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t1, t2), _null, false)); _this.processEndTag$1(new A.EndTagToken("form", false)); }, endTagP$1(token) { var _this = this, _null = null, _s18_ = "unexpected-end-tag", t1 = _this.tree; if (!t1.elementInScope$2$variant("p", "button")) { _this.startTagCloseP$1(A.StartTagToken$("p", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s18_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "p"], t1, t1)); _this.endTagP$1(new A.EndTagToken("p", false)); } else { t1.generateImpliedEndTags$1("p"); if (B.JSArray_methods.get$last(t1.openElements).localName !== "p") { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s18_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "p"], t1, t1)); } _this.popOpenElementsUntil$1(token); } }, endTagBody$1(token) { var t2, _i, t3, span, t4, value, _this = this, t1 = _this.tree; if (!t1.elementInScope$1("body")) { _this.parser.parseError$2(token.span, "undefined-error"); return; } else { t1 = t1.openElements; if (B.JSArray_methods.get$last(t1).localName === "body") B.JSArray_methods.get$last(t1); else for (t1 = A.slice(t1, 2, null), t2 = t1.length, _i = 0; _i < t2; ++_i) { t3 = t1[_i].localName; switch (t3) { case "dd": case "dt": case "li": case "optgroup": case "option": case "p": case "rp": case "rt": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": case "body": case "html": continue; } t1 = _this.parser; span = token.span; t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["gotName", "body", "expectedName", t3], t2, t2); if (span == null) { t3 = t1.tokenizer.stream; t4 = t3.fileInfo; if (t4 == null) span = null; else { t3 = t3._html_input_stream$_offset; new A.FileLocation(t4, t3).FileLocation$_$2(t4, t3); span = new A._FileSpan(t4, t3, t3); span._FileSpan$3(t4, t3, t3); } } t1.errors.push(new A.ParseError("expected-one-end-tag-but-got-another", span, t2)); break; } } t1 = _this.parser; value = t1.__HtmlParser__afterBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_afterBodyPhase"); value = t1.__HtmlParser__afterBodyPhase = new A.AfterBodyPhase(t1, t1.tree); } t1.__HtmlParser_phase = value; }, endTagHtml$1(token) { if (this.tree.elementInScope$1("body")) { this.endTagBody$1(new A.EndTagToken("body", false)); return token; } return null; }, endTagHeading$1(token) { var t1, _i, t2, $name, t3, t4, node; for (t1 = this.tree, _i = 0; _i < 6; ++_i) if (t1.elementInScope$1(B.List_8eb[_i])) { t2 = t1.openElements; $name = B.JSArray_methods.get$last(t2).localName; if ($name != null && B.JSArray_methods.contains$1(B.List_8oN, $name)) { t2.pop(); t1.generateImpliedEndTags$1(null); } break; } t2 = t1.openElements; t3 = B.JSArray_methods.get$last(t2).localName; t4 = token.name; if (t3 != t4) { t3 = type$.dynamic; this.parser.parseError$3(token.span, "end-tag-too-early", A.LinkedHashMap_LinkedHashMap$_literal(["name", t4], t3, t3)); } for (_i = 0; _i < 6; ++_i) if (t1.elementInScope$1(B.List_8eb[_i])) { node = t2.pop(); for (; !B.JSArray_methods.contains$1(B.List_8eb, node.localName);) node = t2.pop(); break; } }, endTagFormatting$1(token) { var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, outerLoopCounter, formattingElement, t12, span, t13, t14, afeIndex, furthestBlock, _i, element, ns, commonAncestor, bookmark, index, lastNode, innerLoopCounter, node, result, lastNode0, value, value0, nodePos, _null = null, _s5_ = "nodes"; for (t1 = this.tree, t2 = t1.activeFormattingElements, t3 = t2._list_proxy$_list, t4 = t1.openElements, t5 = type$.Object, t6 = type$.String, t7 = type$.JSArray_Node_3, t8 = type$.Pair_of_String_and_nullable_String, t9 = this.parser, t10 = type$.dynamic, t11 = t9.tokenizer.stream, t9 = t9.errors, outerLoopCounter = 0; outerLoopCounter < 8;) { ++outerLoopCounter; formattingElement = t1.elementInActiveFormattingElements$1(token.name); if (formattingElement != null) t12 = B.JSArray_methods.contains$1(t4, formattingElement) && !t1.elementInScope$1(formattingElement.localName); else t12 = true; if (t12) { span = token.span; t1 = A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t10, t10); if (span == null) { t2 = t11.fileInfo; if (t2 == null) span = _null; else { t3 = t11._html_input_stream$_offset; new A.FileLocation(t2, t3).FileLocation$_$2(t2, t3); span = new A._FileSpan(t2, t3, t3); span._FileSpan$3(t2, t3, t3); } } t9.push(new A.ParseError("adoption-agency-1.1", span, t1)); return; } else if (!B.JSArray_methods.contains$1(t4, formattingElement)) { span = token.span; t1 = A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t10, t10); if (span == null) { t2 = t11.fileInfo; if (t2 == null) span = _null; else { t4 = t11._html_input_stream$_offset; new A.FileLocation(t2, t4).FileLocation$_$2(t2, t4); span = new A._FileSpan(t2, t4, t4); span._FileSpan$3(t2, t4, t4); } } t9.push(new A.ParseError("adoption-agency-1.2", span, t1)); B.JSArray_methods.remove$1(t3, formattingElement); return; } t12 = B.JSArray_methods.get$last(t4); if (formattingElement == null ? t12 != null : formattingElement !== t12) { span = token.span; t12 = A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t10, t10); if (span == null) { t13 = t11.fileInfo; if (t13 == null) span = _null; else { t14 = t11._html_input_stream$_offset; new A.FileLocation(t13, t14).FileLocation$_$2(t13, t14); span = new A._FileSpan(t13, t14, t14); span._FileSpan$3(t13, t14, t14); } } t9.push(new A.ParseError("adoption-agency-1.3", span, t12)); } afeIndex = B.JSArray_methods.indexOf$1(t4, formattingElement); t12 = A.slice(t4, afeIndex, _null); t13 = t12.length; _i = 0; while (true) { if (!(_i < t12.length)) { furthestBlock = _null; break; } element = t12[_i]; ns = element.namespaceUri; if (ns == null) ns = "http://www.w3.org/1999/xhtml"; if (B.JSArray_methods.contains$1(B.List_yTE, new A.Pair(ns, element.localName, t8))) { furthestBlock = element; break; } t12.length === t13 || (0, A.throwConcurrentModificationError)(t12); ++_i; } if (furthestBlock == null) { element = t4.pop(); for (; element !== formattingElement;) element = t4.pop(); B.JSArray_methods.remove$1(t3, element); return; } commonAncestor = t4[afeIndex - 1]; bookmark = t2.indexOf$1(t2, formattingElement); index = B.JSArray_methods.indexOf$1(t4, furthestBlock); for (lastNode = furthestBlock, innerLoopCounter = 0; innerLoopCounter < 3;) { ++innerLoopCounter; --index; node = t4[index]; if (!t2.contains$1(t2, node)) { B.JSArray_methods.remove$1(t4, node); continue; } if (node === formattingElement) break; if (lastNode === furthestBlock) bookmark = t2.indexOf$1(t2, node) + 1; t12 = node.localName; result = new A.Element0(node.namespaceUri, t12, A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6)); result.attributes = A.LinkedHashMap_LinkedHashMap$from(node.attributes, t5, t6); lastNode0 = node._dom$_clone$2(result, false); t3[t2.indexOf$1(t2, node)] = lastNode0; t4[B.JSArray_methods.indexOf$1(t4, node)] = lastNode0; t12 = lastNode.parentNode; if (t12 != null) { value = t12.__Node_nodes; if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value = t12.__Node_nodes = new A.NodeList(t12, t13); } B.JSArray_methods.remove$1(value._list_proxy$_list, lastNode); } value = lastNode0.__Node_nodes; if (value === $) { t12 = A._setArrayType([], t7); A._lateInitializeOnceCheck(lastNode0.__Node_nodes, _s5_); value = lastNode0.__Node_nodes = new A.NodeList(lastNode0, t12); } t12 = lastNode.parentNode; if (t12 != null) { value0 = t12.__Node_nodes; if (value0 === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value0 = t12.__Node_nodes = new A.NodeList(t12, t13); } B.JSArray_methods.remove$1(value0._list_proxy$_list, lastNode); } lastNode.parentNode = value._dom$_parent; value.super$ListProxy$add(0, lastNode); lastNode = lastNode0; } t12 = lastNode.parentNode; if (t12 != null) { value = t12.__Node_nodes; if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value = t12.__Node_nodes = new A.NodeList(t12, t13); } B.JSArray_methods.remove$1(value._list_proxy$_list, lastNode); } if (B.JSArray_methods.contains$1(B.List_QcX, commonAncestor.localName)) { nodePos = t1.getTableMisnestedNodePosition$0(); t12 = nodePos[0]; t13 = nodePos[1]; value = t12.__Node_nodes; if (t13 == null) { if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value = t12.__Node_nodes = new A.NodeList(t12, t13); } t12 = lastNode.parentNode; if (t12 != null) { value0 = t12.__Node_nodes; if (value0 === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value0 = t12.__Node_nodes = new A.NodeList(t12, t13); } B.JSArray_methods.remove$1(value0._list_proxy$_list, lastNode); } lastNode.parentNode = value._dom$_parent; value.super$ListProxy$add(0, lastNode); } else { if (value === $) { t14 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); result = t12.__Node_nodes = new A.NodeList(t12, t14); value0 = result; value = value0; } else value0 = value; if (value0 === $) { t14 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value0 = t12.__Node_nodes = new A.NodeList(t12, t14); } t12 = value0.indexOf$1(value0, t13); t13 = lastNode.parentNode; if (t13 != null) { value0 = t13.__Node_nodes; if (value0 === $) { t14 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t13.__Node_nodes, _s5_); value0 = t13.__Node_nodes = new A.NodeList(t13, t14); } B.JSArray_methods.remove$1(value0._list_proxy$_list, lastNode); } lastNode.parentNode = value._dom$_parent; value.super$ListProxy$insert(0, t12, lastNode); } } else { value = commonAncestor.__Node_nodes; if (value === $) { t12 = A._setArrayType([], t7); A._lateInitializeOnceCheck(commonAncestor.__Node_nodes, _s5_); value = commonAncestor.__Node_nodes = new A.NodeList(commonAncestor, t12); } t12 = lastNode.parentNode; if (t12 != null) { value0 = t12.__Node_nodes; if (value0 === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value0 = t12.__Node_nodes = new A.NodeList(t12, t13); } B.JSArray_methods.remove$1(value0._list_proxy$_list, lastNode); } lastNode.parentNode = value._dom$_parent; value.super$ListProxy$add(0, lastNode); } t12 = formattingElement.localName; result = new A.Element0(formattingElement.namespaceUri, t12, A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6)); result.attributes = A.LinkedHashMap_LinkedHashMap$from(formattingElement.attributes, t5, t6); t12 = formattingElement._dom$_clone$2(result, false); value = t12.__Node_nodes; if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t12.__Node_nodes, _s5_); value = t12.__Node_nodes = new A.NodeList(t12, t13); } value0 = furthestBlock.__Node_nodes; if (value0 === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(furthestBlock.__Node_nodes, _s5_); value0 = furthestBlock.__Node_nodes = new A.NodeList(furthestBlock, t13); } value.addAll$1(0, value0); value = furthestBlock.__Node_nodes; if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(furthestBlock.__Node_nodes, _s5_); value = furthestBlock.__Node_nodes = new A.NodeList(furthestBlock, t13); } value.clear$0(0); value = furthestBlock.__Node_nodes; if (value === $) { t13 = A._setArrayType([], t7); A._lateInitializeOnceCheck(furthestBlock.__Node_nodes, _s5_); value = furthestBlock.__Node_nodes = new A.NodeList(furthestBlock, t13); } t13 = t12.parentNode; if (t13 != null) { value0 = t13.__Node_nodes; if (value0 === $) { t14 = A._setArrayType([], t7); A._lateInitializeOnceCheck(t13.__Node_nodes, _s5_); value0 = t13.__Node_nodes = new A.NodeList(t13, t14); } B.JSArray_methods.remove$1(value0._list_proxy$_list, t12); } t12.parentNode = value._dom$_parent; value.super$ListProxy$add(0, t12); B.JSArray_methods.remove$1(t3, formattingElement); B.JSArray_methods.insert$2(t3, Math.min(bookmark, t3.length), t12); B.JSArray_methods.remove$1(t4, formattingElement); B.JSArray_methods.insert$2(t4, B.JSArray_methods.indexOf$1(t4, furthestBlock) + 1, t12); } }, endTagOther$1(token) { var t1, t2, t3, t4, t5, t6, t7, t8, $name, span, ns, _s18_ = "unexpected-end-tag"; for (t1 = this.tree, t2 = t1.openElements, t3 = A._arrayInstanceType(t2)._eval$1("ReversedListIterable<1>"), t4 = new A.ReversedListIterable(t2, t3), t4 = new A.ListIterator(t4, t4.get$length(t4), t3._eval$1("ListIterator<ListIterable.E>")), t5 = type$.Pair_of_String_and_nullable_String, t3 = t3._eval$1("ListIterable.E"); t4.moveNext$0();) { t6 = t3._as(t4.__internal$_current); t7 = t6.localName; t8 = token.name; if (t7 == t8) { $name = B.JSArray_methods.get$last(t2).localName; if ($name != t8 && B.JSArray_methods.contains$1(B.List_8oN, $name)) { t2.pop(); t1.generateImpliedEndTags$1(t8); } t1 = B.JSArray_methods.get$last(t2).localName; t3 = token.name; if (t1 != t3) { t1 = this.parser; span = token.span; t4 = type$.dynamic; t4 = A.LinkedHashMap_LinkedHashMap$_literal(["name", t3], t4, t4); if (span == null) { t3 = t1.tokenizer.stream; t5 = t3.fileInfo; if (t5 == null) span = null; else { t3 = t3._html_input_stream$_offset; new A.FileLocation(t5, t3).FileLocation$_$2(t5, t3); span = new A._FileSpan(t5, t3, t3); span._FileSpan$3(t5, t3, t3); } } t1.errors.push(new A.ParseError(_s18_, span, t4)); } for (; !J.$eq$(t2.pop(), t6);) ; break; } else { ns = t6.namespaceUri; if (B.JSArray_methods.contains$1(B.List_yTE, new A.Pair(ns == null ? "http://www.w3.org/1999/xhtml" : ns, t7, t5))) { t1 = this.parser; span = token.span; t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t2, t2); if (span == null) { t3 = t1.tokenizer.stream; t4 = t3.fileInfo; if (t4 == null) span = null; else { t3 = t3._html_input_stream$_offset; new A.FileLocation(t4, t3).FileLocation$_$2(t4, t3); span = new A._FileSpan(t4, t3, t3); span._FileSpan$3(t4, t3, t3); } } t1.errors.push(new A.ParseError(_s18_, span, t2)); break; } } } } }; A.InBodyPhase_startTagBody_closure.prototype = { call$2(attr, value) { this.$this.tree.openElements[1].attributes.putIfAbsent$2(0, attr, new A.InBodyPhase_startTagBody__closure(value)); }, $signature: 191 }; A.InBodyPhase_startTagBody__closure.prototype = { call$0() { return this.value; }, $signature: 36 }; A.TextPhase.prototype = { processStartTag$1(token) { throw A.wrapException(A.StateError$("Cannot process start stag in text phase")); }, processEndTag$1(token) { var t1, t2, _this = this; if (token.name === "script") { _this.tree.openElements.pop(); t1 = _this.parser; t2 = t1.originalPhase; t2.toString; t1.__HtmlParser_phase = t2; return null; } _this.tree.openElements.pop(); t1 = _this.parser; t2 = t1.originalPhase; t2.toString; t1.__HtmlParser_phase = t2; return null; }, processCharacters$1(token) { this.tree.insertText$2(token.get$data(token), token.span); return null; }, processEOF$0() { var t1 = this.tree.openElements, last = B.JSArray_methods.get$last(t1), t2 = this.parser, t3 = type$.dynamic; t2.parseError$3(last.sourceSpan, "expected-named-closing-tag-but-got-eof", A.LinkedHashMap_LinkedHashMap$_literal(["name", last.localName], t3, t3)); t1.pop(); t1 = t2.originalPhase; t1.toString; t2.__HtmlParser_phase = t1; return true; } }; A.InTablePhase.prototype = { processStartTag$1(token) { var t1, t2, _this = this, _null = null; switch (token.name) { case "html": return _this.startTagHtml$1(token); case "caption": _this.clearStackToTableContext$0(); t1 = _this.tree; t1.activeFormattingElements.add$1(0, _null); t1.insertElement$1(token); t1 = _this.parser; t1.__HtmlParser_phase = t1.get$_inCaptionPhase(); return _null; case "colgroup": _this.startTagColgroup$1(token); return _null; case "col": _this.startTagColgroup$1(A.StartTagToken$("colgroup", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; case "tbody": case "tfoot": case "thead": _this.startTagRowGroup$1(token); return _null; case "td": case "th": case "tr": _this.startTagRowGroup$1(A.StartTagToken$("tbody", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; case "table": return _this.startTagTable$1(token); case "style": case "script": return _this.parser.get$_inHeadPhase().processStartTag$1(token); case "input": t1 = token.data.$index(0, "type"); if ((t1 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t1), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null)) === "hidden") { _this.parser.parseError$2(token.span, "unexpected-hidden-input-in-table"); t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); } else _this.startTagOther$1(token); return _null; case "form": _this.parser.parseError$2(token.span, "unexpected-form-in-table"); t1 = _this.tree; if (t1.formPointer == null) { t1.insertElement$1(token); t2 = t1.openElements; t1.formPointer = B.JSArray_methods.get$last(t2); t2.pop(); } return _null; default: _this.startTagOther$1(token); return _null; } }, processEndTag$1(token) { var t2, t3, _this = this, t1 = token.name; switch (t1) { case "table": _this.endTagTable$1(token); return null; case "body": case "caption": case "col": case "colgroup": case "html": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; default: t2 = _this.parser; t3 = type$.dynamic; t2.parseError$3(token.span, "unexpected-end-tag-implies-table-voodoo", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); t3 = _this.tree; t3.insertFromTable = true; t2.get$_inBodyPhase().processEndTag$1(token); t3.insertFromTable = false; return null; } }, clearStackToTableContext$0() { var t1 = this.tree.openElements; while (true) { if (!(B.JSArray_methods.get$last(t1).localName !== "table" && B.JSArray_methods.get$last(t1).localName !== "html")) break; t1.pop(); } }, processEOF$0() { var last = B.JSArray_methods.get$last(this.tree.openElements); if (last.localName !== "html") this.parser.parseError$2(last.sourceSpan, "eof-in-table"); return false; }, processSpaceCharacters$1(token) { var t1 = this.parser, originalPhase = t1.get$phase(); t1.__HtmlParser_phase = t1.get$_inTableTextPhase(); t1.get$_inTableTextPhase().originalPhase = originalPhase; t1.get$phase().processSpaceCharacters$1(token); return null; }, processCharacters$1(token) { var t1 = this.parser, originalPhase = t1.get$phase(); t1.__HtmlParser_phase = t1.get$_inTableTextPhase(); t1.get$_inTableTextPhase().originalPhase = originalPhase; t1.get$phase().processCharacters$1(token); return null; }, startTagColgroup$1(token) { var t1; this.clearStackToTableContext$0(); this.tree.insertElement$1(token); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_inColumnGroupPhase(); }, startTagRowGroup$1(token) { var t1; this.clearStackToTableContext$0(); this.tree.insertElement$1(token); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_inTableBodyPhase(); }, startTagTable$1(token) { var t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, "unexpected-start-tag-implies-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["startName", "table", "endName", "table"], t2, t2)); t1.get$phase().processEndTag$1(new A.EndTagToken("table", false)); return token; }, startTagOther$1(token) { var t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, string$.x75nexpes, A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t2, t2)); t2 = this.tree; t2.insertFromTable = true; t1.get$_inBodyPhase().processStartTag$1(token); t2.insertFromTable = false; }, endTagTable$1(token) { var t2, t3, _this = this, t1 = _this.tree; if (t1.elementInScope$2$variant("table", "table")) { t1.generateImpliedEndTags$0(); t1 = t1.openElements; t2 = B.JSArray_methods.get$last(t1).localName; if (t2 !== "table") { t3 = type$.dynamic; _this.parser.parseError$3(token.span, "end-tag-too-early-named", A.LinkedHashMap_LinkedHashMap$_literal(["gotName", "table", "expectedName", t2], t3, t3)); } for (; B.JSArray_methods.get$last(t1).localName !== "table";) t1.pop(); t1.pop(); _this.parser.resetInsertionMode$0(); } else _this.parser.parseError$2(token.span, "undefined-error"); } }; A.InTableTextPhase.prototype = { flushCharacters$0() { var data, t2, _this = this, t1 = _this.characterTokens; if (t1.length === 0) return; data = new A.MappedListIterable(t1, new A.InTableTextPhase_flushCharacters_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$1(0, ""); if (!A.allWhitespace(data)) { t1 = _this.parser.get$_inTablePhase(); t2 = t1.tree; t2.insertFromTable = true; t1.parser.get$_inBodyPhase().processCharacters$1(new A.CharactersToken(null, data)); t2.insertFromTable = false; } else if (data.length !== 0) _this.tree.insertText$2(data, null); _this.characterTokens = A._setArrayType([], type$.JSArray_StringToken); }, processComment$1(token) { var t1; this.flushCharacters$0(); t1 = this.originalPhase; t1.toString; this.parser.__HtmlParser_phase = t1; return token; }, processEOF$0() { this.flushCharacters$0(); var t1 = this.originalPhase; t1.toString; this.parser.__HtmlParser_phase = t1; return true; }, processCharacters$1(token) { if (token.get$data(token) === "\x00") return null; this.characterTokens.push(token); return null; }, processSpaceCharacters$1(token) { this.characterTokens.push(token); return null; }, processStartTag$1(token) { var t1; this.flushCharacters$0(); t1 = this.originalPhase; t1.toString; this.parser.__HtmlParser_phase = t1; return token; }, processEndTag$1(token) { var t1; this.flushCharacters$0(); t1 = this.originalPhase; t1.toString; this.parser.__HtmlParser_phase = t1; return token; } }; A.InTableTextPhase_flushCharacters_closure.prototype = { call$1(t) { return t.get$data(t); }, $signature: 867 }; A.InCaptionPhase.prototype = { processStartTag$1(token) { switch (token.name) { case "html": return this.startTagHtml$1(token); case "caption": case "col": case "colgroup": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": return this.startTagTableElement$1(token); default: return this.parser.get$_inBodyPhase().processStartTag$1(token); } }, processEndTag$1(token) { var t2, _this = this, t1 = token.name; switch (t1) { case "caption": _this.endTagCaption$1(token); return null; case "table": return _this.endTagTable$1(token); case "body": case "col": case "colgroup": case "html": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; default: return _this.parser.get$_inBodyPhase().processEndTag$1(token); } }, processEOF$0() { this.parser.get$_inBodyPhase().processEOF$0(); return false; }, processCharacters$1(token) { return this.parser.get$_inBodyPhase().processCharacters$1(token); }, startTagTableElement$1(token) { var t2, t1 = this.parser; t1.parseError$2(token.span, "undefined-error"); t2 = this.tree.elementInScope$2$variant("caption", "table"); t1.get$phase().processEndTag$1(new A.EndTagToken("caption", false)); if (t2) return token; return null; }, endTagCaption$1(token) { var t2, t3, _this = this, t1 = _this.tree; if (t1.elementInScope$2$variant("caption", "table")) { t1.generateImpliedEndTags$0(); t2 = t1.openElements; if (B.JSArray_methods.get$last(t2).localName !== "caption") { t3 = type$.dynamic; _this.parser.parseError$3(token.span, "expected-one-end-tag-but-got-another", A.LinkedHashMap_LinkedHashMap$_literal(["gotName", "caption", "expectedName", B.JSArray_methods.get$last(t2).localName], t3, t3)); } for (; B.JSArray_methods.get$last(t2).localName !== "caption";) t2.pop(); t2.pop(); t1.clearActiveFormattingElements$0(); t1 = _this.parser; t1.__HtmlParser_phase = t1.get$_inTablePhase(); } else _this.parser.parseError$2(token.span, "undefined-error"); }, endTagTable$1(token) { var t2, t1 = this.parser; t1.parseError$2(token.span, "undefined-error"); t2 = this.tree.elementInScope$2$variant("caption", "table"); t1.get$phase().processEndTag$1(new A.EndTagToken("caption", false)); if (t2) return token; return null; } }; A.InColumnGroupPhase.prototype = { processStartTag$1(token) { var t1, _this = this; switch (token.name) { case "html": return _this.startTagHtml$1(token); case "col": t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); return null; default: t1 = B.JSArray_methods.get$last(_this.tree.openElements).localName; _this.endTagColgroup$1(new A.EndTagToken("colgroup", false)); return t1 === "html" ? null : token; } }, processEndTag$1(token) { var t1, _this = this; switch (token.name) { case "colgroup": _this.endTagColgroup$1(token); return null; case "col": t1 = type$.dynamic; _this.parser.parseError$3(token.span, "no-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", "col"], t1, t1)); return null; default: t1 = B.JSArray_methods.get$last(_this.tree.openElements).localName; _this.endTagColgroup$1(new A.EndTagToken("colgroup", false)); return t1 === "html" ? null : token; } }, processEOF$0() { if (B.JSArray_methods.get$last(this.tree.openElements).localName === "html") return false; else { this.endTagColgroup$1(new A.EndTagToken("colgroup", false)); return true; } }, processCharacters$1(token) { var t1 = B.JSArray_methods.get$last(this.tree.openElements).localName; this.endTagColgroup$1(new A.EndTagToken("colgroup", false)); return t1 === "html" ? null : token; }, endTagColgroup$1(token) { var t1 = this.tree.openElements, t2 = this.parser; if (B.JSArray_methods.get$last(t1).localName === "html") t2.parseError$2(token.span, "undefined-error"); else { t1.pop(); t2.__HtmlParser_phase = t2.get$_inTablePhase(); } } }; A.InTableBodyPhase.prototype = { processStartTag$1(token) { var t2, _this = this, _null = null, t1 = token.name; switch (t1) { case "html": return _this.startTagHtml$1(token); case "tr": _this.startTagTr$1(token); return _null; case "td": case "th": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-cell-in-table-body", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); _this.startTagTr$1(A.StartTagToken$("tr", A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String), _null, false)); return token; case "caption": case "col": case "colgroup": case "tbody": case "tfoot": case "thead": return _this.endTagTable$1(token); default: return _this.parser.get$_inTablePhase().processStartTag$1(token); } }, processEndTag$1(token) { var t2, _this = this, t1 = token.name; switch (t1) { case "tbody": case "tfoot": case "thead": _this.endTagTableRowGroup$1(token); return null; case "table": return _this.endTagTable$1(token); case "body": case "caption": case "col": case "colgroup": case "html": case "td": case "th": case "tr": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag-in-table-body", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; default: return _this.parser.get$_inTablePhase().processEndTag$1(token); } }, clearStackToTableBodyContext$0() { for (var t1 = this.tree.openElements; !B.JSArray_methods.contains$1(B.List_tbody_tfoot_thead_html, B.JSArray_methods.get$last(t1).localName);) t1.pop(); B.JSArray_methods.get$last(t1).toString; }, processEOF$0() { this.parser.get$_inTablePhase().processEOF$0(); return false; }, processSpaceCharacters$1(token) { return this.parser.get$_inTablePhase().processSpaceCharacters$1(token); }, processCharacters$1(token) { return this.parser.get$_inTablePhase().processCharacters$1(token); }, startTagTr$1(token) { var t1; this.clearStackToTableBodyContext$0(); this.tree.insertElement$1(token); t1 = this.parser; t1.__HtmlParser_phase = t1.get$_inRowPhase(); }, endTagTableRowGroup$1(token) { var t1 = this.tree, t2 = this.parser; if (t1.elementInScope$2$variant(token.name, "table")) { this.clearStackToTableBodyContext$0(); t1.openElements.pop(); t2.__HtmlParser_phase = t2.get$_inTablePhase(); } else { t1 = type$.dynamic; t2.parseError$3(token.span, "unexpected-end-tag-in-table-body", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t1, t1)); } }, endTagTable$1(token) { var _this = this, _s5_ = "table", t1 = _this.tree; if (t1.elementInScope$2$variant("tbody", _s5_) || t1.elementInScope$2$variant("thead", _s5_) || t1.elementInScope$2$variant("tfoot", _s5_)) { _this.clearStackToTableBodyContext$0(); _this.endTagTableRowGroup$1(new A.EndTagToken(B.JSArray_methods.get$last(t1.openElements).localName, false)); return token; } else _this.parser.parseError$2(token.span, "undefined-error"); return null; } }; A.InRowPhase.prototype = { processStartTag$1(token) { var t1, t2, _this = this; switch (token.name) { case "html": return _this.startTagHtml$1(token); case "td": case "th": _this.clearStackToTableRowContext$0(); t1 = _this.tree; t1.insertElement$1(token); t2 = _this.parser; t2.__HtmlParser_phase = t2.get$_inCellPhase(); t1.activeFormattingElements.add$1(0, null); return null; case "caption": case "col": case "colgroup": case "tbody": case "tfoot": case "thead": case "tr": t1 = _this.tree.elementInScope$2$variant("tr", "table"); _this.endTagTr$1(new A.EndTagToken("tr", false)); return !t1 ? null : token; default: return _this.parser.get$_inTablePhase().processStartTag$1(token); } }, processEndTag$1(token) { var t2, _this = this, t1 = token.name; switch (t1) { case "tr": _this.endTagTr$1(token); return null; case "table": t1 = _this.tree.elementInScope$2$variant("tr", "table"); _this.endTagTr$1(new A.EndTagToken("tr", false)); return !t1 ? null : token; case "tbody": case "tfoot": case "thead": return _this.endTagTableRowGroup$1(token); case "body": case "caption": case "col": case "colgroup": case "html": case "td": case "th": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag-in-table-row", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; default: return _this.parser.get$_inTablePhase().processEndTag$1(token); } }, clearStackToTableRowContext$0() { var t1, t2, t3, t4, last, t5, span, t6, t7; for (t1 = this.tree.openElements, t2 = this.parser, t3 = type$.dynamic, t4 = t2.tokenizer.stream; true;) { last = B.JSArray_methods.get$last(t1); t5 = last.localName; if (t5 === "tr" || t5 === "html") break; span = last.sourceSpan; t5 = A.LinkedHashMap_LinkedHashMap$_literal(["name", B.JSArray_methods.get$last(t1).localName], t3, t3); if (span == null) { t6 = t4.fileInfo; if (t6 == null) span = null; else { t7 = t4._html_input_stream$_offset; new A.FileLocation(t6, t7).FileLocation$_$2(t6, t7); span = new A._FileSpan(t6, t7, t7); span._FileSpan$3(t6, t7, t7); } } t2.errors.push(new A.ParseError("unexpected-implied-end-tag-in-table-row", span, t5)); t1.pop(); } }, processEOF$0() { this.parser.get$_inTablePhase().processEOF$0(); return false; }, processSpaceCharacters$1(token) { return this.parser.get$_inTablePhase().processSpaceCharacters$1(token); }, processCharacters$1(token) { return this.parser.get$_inTablePhase().processCharacters$1(token); }, endTagTr$1(token) { var t1 = this.tree, t2 = this.parser; if (t1.elementInScope$2$variant("tr", "table")) { this.clearStackToTableRowContext$0(); t1.openElements.pop(); t2.__HtmlParser_phase = t2.get$_inTableBodyPhase(); } else t2.parseError$2(token.span, "undefined-error"); }, endTagTableRowGroup$1(token) { if (this.tree.elementInScope$2$variant(token.name, "table")) { this.endTagTr$1(new A.EndTagToken("tr", false)); return token; } else { this.parser.parseError$2(token.span, "undefined-error"); return null; } } }; A.InCellPhase.prototype = { processStartTag$1(token) { switch (token.name) { case "html": return this.startTagHtml$1(token); case "caption": case "col": case "colgroup": case "tbody": case "td": case "tfoot": case "th": case "thead": case "tr": return this.startTagTableOther$1(token); default: return this.parser.get$_inBodyPhase().processStartTag$1(token); } }, processEndTag$1(token) { var t2, _this = this, t1 = token.name; switch (t1) { case "td": case "th": _this.endTagTableCell$1(token); return null; case "body": case "caption": case "col": case "colgroup": case "html": t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; case "table": case "tbody": case "tfoot": case "thead": case "tr": return _this.endTagImply$1(token); default: return _this.parser.get$_inBodyPhase().processEndTag$1(token); } }, closeCell$0() { var t1 = this.tree; if (t1.elementInScope$2$variant("td", "table")) this.endTagTableCell$1(new A.EndTagToken("td", false)); else if (t1.elementInScope$2$variant("th", "table")) this.endTagTableCell$1(new A.EndTagToken("th", false)); }, processEOF$0() { this.parser.get$_inBodyPhase().processEOF$0(); return false; }, processCharacters$1(token) { return this.parser.get$_inBodyPhase().processCharacters$1(token); }, startTagTableOther$1(token) { var t1 = this.tree; if (t1.elementInScope$2$variant("td", "table") || t1.elementInScope$2$variant("th", "table")) { this.closeCell$0(); return token; } else { this.parser.parseError$2(token.span, "undefined-error"); return null; } }, endTagTableCell$1(token) { var t4, _this = this, t1 = _this.tree, t2 = t1.elementInScope$2$variant(token.name, "table"), t3 = token.name; if (t2) { t1.generateImpliedEndTags$1(t3); t2 = t1.openElements; t3 = B.JSArray_methods.get$last(t2).localName; t4 = token.name; if (t3 != t4) { t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-cell-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t4], t2, t2)); _this.popOpenElementsUntil$1(token); } else t2.pop(); t1.clearActiveFormattingElements$0(); t1 = _this.parser; t1.__HtmlParser_phase = t1.get$_inRowPhase(); } else { t1 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t3], t1, t1)); } }, endTagImply$1(token) { if (this.tree.elementInScope$2$variant(token.name, "table")) { this.closeCell$0(); return token; } else this.parser.parseError$2(token.span, "undefined-error"); return null; } }; A.InSelectPhase.prototype = { processStartTag$1(token) { var t2, _this = this, _null = null, t1 = token.name; switch (t1) { case "html": return _this.startTagHtml$1(token); case "option": t1 = _this.tree; t2 = t1.openElements; if (B.JSArray_methods.get$last(t2).localName === "option") t2.pop(); t1.insertElement$1(token); return _null; case "optgroup": t1 = _this.tree; t2 = t1.openElements; if (B.JSArray_methods.get$last(t2).localName === "option") t2.pop(); if (B.JSArray_methods.get$last(t2).localName === "optgroup") t2.pop(); t1.insertElement$1(token); return _null; case "select": _this.parser.parseError$2(token.span, "unexpected-select-in-select"); _this.endTagSelect$1(new A.EndTagToken("select", false)); return _null; case "input": case "keygen": case "textarea": return _this.startTagInput$1(token); case "script": return _this.parser.get$_inHeadPhase().processStartTag$1(token); default: t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-start-tag-in-select", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return _null; } }, processEndTag$1(token) { var t2, _this = this, _null = null, _s28_ = "unexpected-end-tag-in-select", t1 = token.name; switch (t1) { case "option": t1 = _this.tree.openElements; if (B.JSArray_methods.get$last(t1).localName === "option") t1.pop(); else { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s28_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "option"], t1, t1)); } return _null; case "optgroup": t1 = _this.tree.openElements; if (B.JSArray_methods.get$last(t1).localName === "option" && t1[t1.length - 2].localName === "optgroup") t1.pop(); if (B.JSArray_methods.get$last(t1).localName === "optgroup") t1.pop(); else { t1 = type$.dynamic; _this.parser.parseError$3(token.span, _s28_, A.LinkedHashMap_LinkedHashMap$_literal(["name", "optgroup"], t1, t1)); } return _null; case "select": _this.endTagSelect$1(token); return _null; default: t2 = type$.dynamic; _this.parser.parseError$3(token.span, _s28_, A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return _null; } }, processEOF$0() { var last = B.JSArray_methods.get$last(this.tree.openElements); if (last.localName !== "html") this.parser.parseError$2(last.sourceSpan, "eof-in-select"); return false; }, processCharacters$1(token) { if (token.get$data(token) === "\x00") return null; this.tree.insertText$2(token.get$data(token), token.span); return null; }, startTagInput$1(token) { var _s6_ = "select"; this.parser.parseError$2(token.span, "unexpected-input-in-select"); if (this.tree.elementInScope$2$variant(_s6_, _s6_)) { this.endTagSelect$1(new A.EndTagToken(_s6_, false)); return token; } return null; }, endTagSelect$1(token) { var t1 = this.parser; if (this.tree.elementInScope$2$variant("select", "select")) { this.popOpenElementsUntil$1(token); t1.resetInsertionMode$0(); } else t1.parseError$2(token.span, "undefined-error"); } }; A.InSelectInTablePhase.prototype = { processStartTag$1(token) { var t2, t3, t1 = token.name; switch (t1) { case "caption": case "table": case "tbody": case "tfoot": case "thead": case "tr": case "td": case "th": t2 = this.parser; t3 = type$.dynamic; t2.parseError$3(token.span, string$.x75nexpets, A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); t2.get$_inSelectPhase().processEndTag$1(new A.EndTagToken("select", false)); return token; default: return this.parser.get$_inSelectPhase().processStartTag$1(token); } }, processEndTag$1(token) { switch (token.name) { case "caption": case "table": case "tbody": case "tfoot": case "thead": case "tr": case "td": case "th": return this.endTagTable$1(token); default: return this.parser.get$_inSelectPhase().processEndTag$1(token); } }, processEOF$0() { this.parser.get$_inSelectPhase().processEOF$0(); return false; }, processCharacters$1(token) { return this.parser.get$_inSelectPhase().processCharacters$1(token); }, endTagTable$1(token) { var t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, string$.x75nexpete, A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t2, t2)); if (this.tree.elementInScope$2$variant(token.name, "table")) { t1.get$_inSelectPhase().processEndTag$1(new A.EndTagToken("select", false)); return token; } return null; } }; A.InForeignContentPhase.prototype = { processCharacters$1(token) { var t1; if (token.get$data(token) === "\x00") { token._token$_string = "\ufffd"; token._token$_buffer = null; } else { t1 = this.parser; if (t1.framesetOK && !A.allWhitespace(token.get$data(token))) t1.framesetOK = false; } return this.super$Phase$processCharacters(token); }, processStartTag$1(token) { var t3, t4, t5, replace, _this = this, t1 = _this.tree, t2 = t1.openElements, currentNode = B.JSArray_methods.get$last(t2); if (!B.JSArray_methods.contains$1(B.List_4md, token.name)) if (token.name === "font") t3 = token.data.containsKey$1(0, "color") || token.data.containsKey$1(0, "face") || token.data.containsKey$1(0, "size"); else t3 = false; else t3 = true; if (t3) { t3 = _this.parser; t4 = type$.dynamic; t3.parseError$3(token.span, string$.x75nexpeh, A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t4, t4)); t1 = t1.defaultNamespace; t4 = type$.Pair_of_nullable_String_and_nullable_String; while (true) { if (B.JSArray_methods.get$last(t2).namespaceUri != t1) if (!t3.isHTMLIntegrationPoint$1(B.JSArray_methods.get$last(t2))) { t5 = B.JSArray_methods.get$last(t2); t5 = !B.JSArray_methods.contains$1(B.List_cjm, new A.Pair(t5.namespaceUri, t5.localName, t4)); } else t5 = false; else t5 = false; if (!t5) break; t2.pop(); } return token; } else { t3 = currentNode.namespaceUri; if (t3 === "http://www.w3.org/1998/Math/MathML") _this.parser.adjustMathMLAttributes$1(token); else if (t3 === "http://www.w3.org/2000/svg") { replace = B.Map_D1Fp5.$index(0, token.name); if (replace != null) token.name = replace; _this.parser.adjustSVGAttributes$1(token); } _this.parser.adjustForeignAttributes$1(token); token.namespace = t3; t1.insertElement$1(token); if (token.selfClosing) { t2.pop(); token.selfClosingAcknowledged = true; } return null; } }, processEndTag$1(token) { var t4, newToken, value, result, value0, _this = this, _null = null, _s13_ = "_initialPhase", t1 = _this.tree, t2 = t1.openElements, nodeIndex = t2.length - 1, node = B.JSArray_methods.get$last(t2), t3 = node.localName; t3 = t3 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t3), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); t4 = token.name; if (t3 != t4) { t3 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t4], t3, t3)); } t1 = t1.defaultNamespace; t3 = type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>"); while (true) { if (!true) { newToken = _null; break; } c$0: { t4 = node.localName; t4 = t4 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t4), A.constants__AsciiUpperToLower__asciiToLower$closure(), t3), 0, _null); if (t4 == token.name) { t1 = _this.parser; value = t1.__HtmlParser_phase; if (value === $) { value = t1.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(t1, t1.tree); A._lateInitializeOnceCheck(value, _s13_); t1.__HtmlParser__initialPhase = result; value = result; } value = t1.__HtmlParser_phase = value; } value0 = t1.__HtmlParser__inTableTextPhase; if (value0 === $) { t3 = A._setArrayType([], type$.JSArray_StringToken); A._lateInitializeOnceCheck(t1.__HtmlParser__inTableTextPhase, "_inTableTextPhase"); value0 = t1.__HtmlParser__inTableTextPhase = new A.InTableTextPhase(t3, t1, t1.tree); } if (value === value0) { value = t1.__HtmlParser_phase; if (value === $) { value = t1.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(t1, t1.tree); A._lateInitializeOnceCheck(value, _s13_); t1.__HtmlParser__initialPhase = result; value = result; } value = t1.__HtmlParser_phase = value; } type$.InTableTextPhase._as(value); value.flushCharacters$0(); t3 = value.originalPhase; t3.toString; t1.__HtmlParser_phase = t3; } for (; !J.$eq$(t2.pop(), node);) ; newToken = _null; break; } --nodeIndex; node = t2[nodeIndex]; if (node.namespaceUri != t1) break c$0; else { t1 = _this.parser; value = t1.__HtmlParser_phase; if (value === $) { value = t1.__HtmlParser__initialPhase; if (value === $) { result = new A.InitialPhase(t1, t1.tree); A._lateInitializeOnceCheck(value, _s13_); t1.__HtmlParser__initialPhase = result; value = result; } value = t1.__HtmlParser_phase = value; } newToken = value.processEndTag$1(token); break; } } } return newToken; } }; A.AfterBodyPhase.prototype = { processStartTag$1(token) { var t2, t3, t1 = token.name; if (t1 === "html") return this.parser.get$_inBodyPhase().processStartTag$1(token); t2 = this.parser; t3 = type$.dynamic; t2.parseError$3(token.span, "unexpected-start-tag-after-body", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); t2.__HtmlParser_phase = t2.get$_inBodyPhase(); return token; }, processEndTag$1(token) { var t2, t3, t1 = token.name; if (t1 === "html") { this.endTagHtml$1(token); return null; } t2 = this.parser; t3 = type$.dynamic; t2.parseError$3(token.span, "unexpected-end-tag-after-body", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); t2.__HtmlParser_phase = t2.get$_inBodyPhase(); return token; }, processEOF$0() { return false; }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, t1.openElements[0]); return null; }, processCharacters$1(token) { var t1 = this.parser; t1.parseError$2(token.span, "unexpected-char-after-body"); t1.__HtmlParser_phase = t1.get$_inBodyPhase(); return token; }, endTagHtml$1(token) { var t1, t2, value; for (t1 = this.tree.openElements, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) if (t2._as(t1.__internal$_current).localName === "html") break; t1 = this.parser; value = t1.__HtmlParser__afterAfterBodyPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_afterAfterBodyPhase"); value = t1.__HtmlParser__afterAfterBodyPhase = new A.AfterAfterBodyPhase(t1, t1.tree); } t1.__HtmlParser_phase = value; } }; A.InFramesetPhase.prototype = { processStartTag$1(token) { var t2, _this = this, t1 = token.name; switch (t1) { case "html": return _this.startTagHtml$1(token); case "frameset": _this.tree.insertElement$1(token); return null; case "frame": t1 = _this.tree; t1.insertElement$1(token); t1.openElements.pop(); return null; case "noframes": return _this.parser.get$_inBodyPhase().processStartTag$1(token); default: t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-start-tag-in-frameset", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } }, processEndTag$1(token) { var value, t2, _this = this, t1 = token.name; switch (t1) { case "frameset": t1 = _this.tree.openElements; if (B.JSArray_methods.get$last(t1).localName === "html") _this.parser.parseError$2(token.span, string$.x75nexpef); else t1.pop(); t1 = B.JSArray_methods.get$last(t1); if (t1.localName !== "frameset") { t1 = _this.parser; value = t1.__HtmlParser__afterFramesetPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_afterFramesetPhase"); value = t1.__HtmlParser__afterFramesetPhase = new A.AfterFramesetPhase(t1, t1.tree); } t1.__HtmlParser_phase = value; } return null; default: t2 = type$.dynamic; _this.parser.parseError$3(token.span, "unexpected-end-tag-in-frameset", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } }, processEOF$0() { var last = B.JSArray_methods.get$last(this.tree.openElements); if (last.localName !== "html") this.parser.parseError$2(last.sourceSpan, "eof-in-frameset"); return false; }, processCharacters$1(token) { this.parser.parseError$2(token.span, "unexpected-char-in-frameset"); return null; } }; A.AfterFramesetPhase.prototype = { processStartTag$1(token) { var t2, t1 = token.name; switch (t1) { case "html": return this.startTagHtml$1(token); case "noframes": return this.parser.get$_inHeadPhase().processStartTag$1(token); default: t2 = type$.dynamic; this.parser.parseError$3(token.span, "unexpected-start-tag-after-frameset", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t2, t2)); return null; } }, processEndTag$1(token) { var value, t3, t1 = token.name, t2 = this.parser; switch (t1) { case "html": value = t2.__HtmlParser__afterAfterFramesetPhase; if (value === $) { A._lateInitializeOnceCheck(value, "_afterAfterFramesetPhase"); value = t2.__HtmlParser__afterAfterFramesetPhase = new A.AfterAfterFramesetPhase(t2, t2.tree); } t2.__HtmlParser_phase = value; return null; default: t3 = type$.dynamic; t2.parseError$3(token.span, "unexpected-end-tag-after-frameset", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); return null; } }, processEOF$0() { return false; }, processCharacters$1(token) { this.parser.parseError$2(token.span, "unexpected-char-after-frameset"); return null; } }; A.AfterAfterBodyPhase.prototype = { processStartTag$1(token) { var t2, t3, t1 = token.name; if (t1 === "html") return this.parser.get$_inBodyPhase().processStartTag$1(token); t2 = this.parser; t3 = type$.dynamic; t2.parseError$3(token.span, "expected-eof-but-got-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); t2.__HtmlParser_phase = t2.get$_inBodyPhase(); return token; }, processEOF$0() { return false; }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, A._lateReadCheck(t1.__TreeBuilder_document, "document")); return null; }, processSpaceCharacters$1(token) { return this.parser.get$_inBodyPhase().processSpaceCharacters$1(token); }, processCharacters$1(token) { var t1 = this.parser; t1.parseError$2(token.span, "expected-eof-but-got-char"); t1.__HtmlParser_phase = t1.get$_inBodyPhase(); return token; }, processEndTag$1(token) { var t1 = this.parser, t2 = type$.dynamic; t1.parseError$3(token.span, "expected-eof-but-got-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t2, t2)); t1.__HtmlParser_phase = t1.get$_inBodyPhase(); return token; } }; A.AfterAfterFramesetPhase.prototype = { processStartTag$1(token) { var t3, t1 = token.name, t2 = this.parser; switch (t1) { case "html": return t2.get$_inBodyPhase().processStartTag$1(token); case "noframes": return t2.get$_inHeadPhase().processStartTag$1(token); default: t3 = type$.dynamic; t2.parseError$3(token.span, "expected-eof-but-got-start-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", t1], t3, t3)); return null; } }, processEOF$0() { return false; }, processComment$1(token) { var t1 = this.tree; t1.insertComment$2(token, A._lateReadCheck(t1.__TreeBuilder_document, "document")); return null; }, processSpaceCharacters$1(token) { return this.parser.get$_inBodyPhase().processSpaceCharacters$1(token); }, processCharacters$1(token) { this.parser.parseError$2(token.span, "expected-eof-but-got-char"); return null; }, processEndTag$1(token) { var t1 = type$.dynamic; this.parser.parseError$3(token.span, "expected-eof-but-got-end-tag", A.LinkedHashMap_LinkedHashMap$_literal(["name", token.name], t1, t1)); return null; } }; A.ParseError.prototype = { toString$0(_) { var t2, res, t1 = this.span; t1.toString; t2 = B.Map_ARy3D.$index(0, this.errorCode); t2.toString; res = t1.message$2$color(0, A.formatStr(t2, this.data), null); return t1.file.url == null ? "ParserError on " + res : "On " + res; }, $isException: 1, get$data(receiver) { return this.data; } }; A.ReparseException.prototype = {}; A.ElementCssClassSet.prototype = { readClasses$0() { var t2, _i, trimmed, s = A.LinkedHashSet_LinkedHashSet(type$.String), t1 = this._css_class_set$_element; for (t1 = t1.get$className(t1).split(" "), t2 = t1.length, _i = 0; _i < t2; ++_i) { trimmed = J.trim$0$s(t1[_i]); if (trimmed.length !== 0) s.add$1(0, trimmed); } return s; } }; A._CssClassSetImpl.prototype = { toString$0(_) { return this.readClasses$0().join$1(0, " "); }, get$iterator(_) { var t1 = this.readClasses$0(); return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1); }, get$length(_) { return this.readClasses$0()._collection$_length; }, contains$1(_, value) { return this.readClasses$0().contains$1(0, value); }, toSet$0(_) { return this.readClasses$0().toSet$0(0); }, add$1(_, value) { var s = this.readClasses$0(), ret = new A._CssClassSetImpl_add_closure(value).call$1(s), t1 = s.join$1(0, " "); this._css_class_set$_element.attributes.$indexSet(0, "class", t1); return ret; }, remove$1(_, value) { var s, result, t1; if (typeof value != "string") return false; s = this.readClasses$0(); result = s.remove$1(0, value); t1 = s.join$1(0, " "); this._css_class_set$_element.attributes.$indexSet(0, "class", t1); return result; } }; A._CssClassSetImpl_add_closure.prototype = { call$1(s) { return s.add$1(0, this.value); }, $signature: 868 }; A.EncodingBytes.prototype = { set$_encoding_parser$_position(_, value) { if (this.__position >= this._encoding_parser$_bytes.length) throw A.wrapException(A.StateError$("No more elements")); this.__position = value; }, get$_encoding_parser$_position(_) { var t1 = this.__position; if (t1 >= this._encoding_parser$_bytes.length) throw A.wrapException(A.StateError$("No more elements")); if (t1 >= 0) return t1; else return 0; }, _skipChars$1(skipChars) { var p, t1, t2, c, _this = this; if (skipChars == null) skipChars = A.constants__isWhitespace$closure(); p = _this.get$_encoding_parser$_position(_this); for (t1 = _this._encoding_parser$_bytes, t2 = t1.length; p < t2;) { c = t1[p]; if (!skipChars.call$1(c)) { _this.__position = p; return c; } ++p; } _this.__position = p; return null; }, _skipChars$0() { return this._skipChars$1(null); }, _skipUntil$1(untilChars) { var t1, t2, c, _this = this, p = _this.get$_encoding_parser$_position(_this); for (t1 = _this._encoding_parser$_bytes, t2 = t1.length; p < t2;) { c = t1[p]; if (untilChars.call$1(c)) { _this.__position = p; return c; } ++p; } return null; }, _jumpTo$1(bytes) { var _this = this, newPosition = B.JSString_methods.indexOf$2(_this._encoding_parser$_bytes, bytes, _this.get$_encoding_parser$_position(_this)); if (newPosition >= 0) { _this.__position = newPosition + bytes.length - 1; return true; } else throw A.wrapException(A.StateError$("No more elements")); }, _slice$2(start, end) { if (end == null) end = this._encoding_parser$_bytes.length; if (end < 0) end += this._encoding_parser$_bytes.length; return B.JSString_methods.substring$2(this._encoding_parser$_bytes, start, end); }, _slice$1(start) { return this._slice$2(start, null); } }; A.ContentAttrParser.prototype = { parse$0(_) { var quoteMark, oldPosition, oldPosition0, t1, t2, exception; try { t1 = this.data; t1._jumpTo$1("charset"); t1.set$_encoding_parser$_position(0, t1.get$_encoding_parser$_position(t1) + 1); t1._skipChars$0(); t2 = t1._encoding_parser$_bytes; if (t2[t1.get$_encoding_parser$_position(t1)] !== "=") return null; t1.set$_encoding_parser$_position(0, t1.get$_encoding_parser$_position(t1) + 1); t1._skipChars$0(); if (t2[t1.get$_encoding_parser$_position(t1)] === '"' || t2[t1.get$_encoding_parser$_position(t1)] === "'") { quoteMark = t2[t1.get$_encoding_parser$_position(t1)]; t1.set$_encoding_parser$_position(0, t1.get$_encoding_parser$_position(t1) + 1); oldPosition = t1.get$_encoding_parser$_position(t1); t1._jumpTo$1(quoteMark); t1 = t1._slice$2(oldPosition, t1.get$_encoding_parser$_position(t1)); return t1; } else { oldPosition0 = t1.get$_encoding_parser$_position(t1); try { t1._skipUntil$1(A.constants__isWhitespace$closure()); t2 = t1._slice$2(oldPosition0, t1.get$_encoding_parser$_position(t1)); return t2; } catch (exception) { if (A.unwrapException(exception) instanceof A.StateError) { t1 = t1._slice$1(oldPosition0); return t1; } else throw exception; } } } catch (exception) { if (A.unwrapException(exception) instanceof A.StateError) return null; else throw exception; } }, get$data(receiver) { return this.data; } }; A.HtmlInputStream.prototype = { reset$0(_) { var i, rawChars, t1, t2, skipNewline, wasSurrogatePair, c, t3, isSurrogatePair, _this = this; _this.errors = A.ListQueue$(null, type$.String); i = _this._html_input_stream$_offset = 0; _this._chars = A._setArrayType([], type$.JSArray_int); rawChars = _this._rawChars; if (rawChars == null) { t1 = _this.charEncodingName; t1.toString; t2 = _this._rawBytes; t2.toString; rawChars = _this._rawChars = A._decodeBytes(t1, t2); } for (t1 = rawChars.__internal$_string, t2 = t1.length, skipNewline = false, wasSurrogatePair = false; i < t2; ++i) { c = B.JSString_methods._codeUnitAt$1(t1, i); if (skipNewline) { if (c === 10) { skipNewline = false; continue; } skipNewline = false; } t3 = i + 1; isSurrogatePair = t3 < rawChars.get$length(rawChars) && (rawChars.$index(0, i) & 64512) === 55296 && (rawChars.$index(0, t3) & 64512) === 56320; if (!isSurrogatePair && !wasSurrogatePair) if (A._invalidUnicode(c)) { _this.errors._add$1(0, "invalid-codepoint"); if (55296 <= c && c <= 57343) c = 65533; } if (c === 13) { skipNewline = true; c = 10; } _this._chars.push(c); wasSurrogatePair = isSurrogatePair; } _this.fileInfo = A.SourceFile$decoded(_this._chars, _this.sourceUrl); }, changeEncoding$1(newEncoding) { var t1 = A.StateError$("cannot change encoding when parsing a String."); throw A.wrapException(t1); }, char$0() { var t3, t4, _this = this, t1 = _this._html_input_stream$_offset, t2 = _this._chars; if (t1 >= t2.length) return null; t1 = _this._isSurrogatePair$2(t2, t1); t2 = _this._chars; t3 = _this._html_input_stream$_offset; t4 = t3 + 1; if (t1) { _this._html_input_stream$_offset = t4; t1 = t2[t3]; _this._html_input_stream$_offset = t4 + 1; t4 = A.String_String$fromCharCodes(A._setArrayType([t1, t2[t4]], type$.JSArray_int), 0, null); t1 = t4; } else { _this._html_input_stream$_offset = t4; t1 = A.Primitives_stringFromCharCode(t2[t3]); } return t1; }, peekChar$0() { var t3, _this = this, t1 = _this._html_input_stream$_offset, t2 = _this._chars; if (t1 >= t2.length) return null; t1 = _this._isSurrogatePair$2(t2, t1); t2 = _this._chars; t3 = _this._html_input_stream$_offset; return t1 ? A.String_String$fromCharCodes(A._setArrayType([t2[t3], t2[t3 + 1]], type$.JSArray_int), 0, null) : A.Primitives_stringFromCharCode(t2[t3]); }, _isSurrogatePair$2(chars, i) { var t1 = i + 1, t2 = J.getInterceptor$asx(chars); return t1 < t2.get$length(chars) && (t2.$index(chars, i) & 64512) === 55296 && (t2.$index(chars, t1) & 64512) === 56320; }, charsUntil$2(characters, opposite) { var c, t1, _this = this, start = _this._html_input_stream$_offset; while (true) { c = _this.peekChar$0(); if (c != null) t1 = A.stringContainsUnchecked(characters, c, 0) === opposite; else t1 = false; if (!t1) break; _this._html_input_stream$_offset = _this._html_input_stream$_offset + c.length; } return A.String_String$fromCharCodes(B.JSArray_methods.sublist$2(_this._chars, start, _this._html_input_stream$_offset), 0, null); }, charsUntil$1(characters) { return this.charsUntil$2(characters, false); }, unget$1(ch) { if (ch != null) this._html_input_stream$_offset = this._html_input_stream$_offset - ch.length; } }; A.ListProxy.prototype = { remove$1(_, item) { return B.JSArray_methods.remove$1(this._list_proxy$_list, item); }, get$length(_) { return this._list_proxy$_list.length; }, get$iterator(_) { var t1 = this._list_proxy$_list; return new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>")); }, $index(_, index) { return this._list_proxy$_list[index]; }, $indexSet(_, index, value) { this._list_proxy$_list[index] = value; }, set$length(_, value) { B.JSArray_methods.set$length(this._list_proxy$_list, value); }, add$1(_, value) { this._list_proxy$_list.push(value); }, insert$2(_, index, item) { return B.JSArray_methods.insert$2(this._list_proxy$_list, index, item); }, addAll$1(_, collection) { B.JSArray_methods.addAll$1(this._list_proxy$_list, collection); }, insertAll$2(_, index, iterable) { B.JSArray_methods.insertAll$2(this._list_proxy$_list, index, iterable); }, removeAt$1(_, index) { return B.JSArray_methods.removeAt$1(this._list_proxy$_list, index); }, removeRange$2(_, start, $length) { B.JSArray_methods.removeRange$2(this._list_proxy$_list, start, $length); } }; A.SelectorEvaluator.prototype = { querySelector$2(_, root, selector) { var t1, t2, t3, t4, t5, t6, result; for (t1 = root.get$nodes(root), t1 = t1.get$iterator(t1), t2 = new A.WhereTypeIterator(t1, type$.WhereTypeIterator_Element), t3 = selector.selectors, t4 = this.get$visitSelector(), t5 = type$.Element_3; t2.moveNext$0();) { t6 = t5._as(t1.get$current(t1)); this._query_selector$_element = t6; if (B.JSArray_methods.any$1(t3, t4)) return t6; result = this.querySelector$2(0, t6, selector); if (result != null) return result; } return null; }, querySelectorAll$3(_, root, selector, results) { var t1, t2, t3, t4, t5, t6; for (t1 = root.get$nodes(root), t1 = t1.get$iterator(t1), t2 = new A.WhereTypeIterator(t1, type$.WhereTypeIterator_Element), t3 = selector.selectors, t4 = this.get$visitSelector(), t5 = type$.Element_3; t2.moveNext$0();) { t6 = t5._as(t1.get$current(t1)); this._query_selector$_element = t6; if (B.JSArray_methods.any$1(t3, t4)) results.push(t6); this.querySelectorAll$3(0, t6, selector, results); } }, visitSelectorGroup$1(group) { return B.JSArray_methods.any$1(group.selectors, this.get$visitSelector()); }, visitSelector$1(selector) { var t1, t2, result, combinator, t3, t4, parentNode, t5, combinator0, _this = this, old = _this._query_selector$_element; for (t1 = selector.simpleSelectorSequences, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"), result = true, combinator = null; t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); if (combinator == null) result = A._asBool(t3.simpleSelector.visit$1(_this)); else if (combinator === 514) { t4 = t3.simpleSelector; do { parentNode = _this._query_selector$_element.parentNode; t5 = parentNode instanceof A.Element0 ? parentNode : null; _this._query_selector$_element = t5; } while (t5 != null && !A._asBool(t4.visit$1(_this))); if (_this._query_selector$_element == null) result = false; } else if (combinator === 517) { t4 = t3.simpleSelector; do { t5 = _this._query_selector$_element; t5 = t5.get$previousElementSibling(t5); _this._query_selector$_element = t5; } while (t5 != null && !A._asBool(t4.visit$1(_this))); if (_this._query_selector$_element == null) result = false; } if (!result) break; combinator0 = t3.combinator; switch (combinator0) { case 515: t3 = _this._query_selector$_element; _this._query_selector$_element = t3.get$previousElementSibling(t3); break; case 516: parentNode = _this._query_selector$_element.parentNode; _this._query_selector$_element = parentNode instanceof A.Element0 ? parentNode : null; break; case 514: case 517: combinator = combinator0; break; case 513: break; default: throw A.wrapException(_this._unsupported$1(selector)); } if (_this._query_selector$_element == null) { result = false; break; } } _this._query_selector$_element = old; return result; }, _unimplemented$1(selector) { return new A.UnimplementedError("'" + selector.toString$0(0) + "' selector of type " + A.getRuntimeType(selector).toString$0(0) + " is not implemented"); }, _unsupported$1(selector) { return new A.FormatException("'" + selector.toString$0(0) + "' is not a valid selector", null, null); }, visitPseudoClassSelector$1(selector) { var _this = this, t1 = selector._visitor$_name; switch (A._asString(t1.get$name(t1))) { case "root": t1 = _this._query_selector$_element; return t1.localName === "html" && t1.parentNode == null; case "empty": t1 = _this._query_selector$_element; t1 = t1.get$nodes(t1); return t1.any$1(t1, new A.SelectorEvaluator_visitPseudoClassSelector_closure()); case "blank": t1 = _this._query_selector$_element; t1 = t1.get$nodes(t1); return t1.any$1(t1, new A.SelectorEvaluator_visitPseudoClassSelector_closure0()); case "first-child": t1 = _this._query_selector$_element; return t1.get$previousElementSibling(t1) == null; case "last-child": t1 = _this._query_selector$_element; return t1.get$nextElementSibling(t1) == null; case "only-child": t1 = _this._query_selector$_element; if (t1.get$previousElementSibling(t1) == null) { t1 = _this._query_selector$_element; t1 = t1.get$nextElementSibling(t1) == null; } else t1 = false; return t1; case "link": return _this._query_selector$_element.attributes.$index(0, "href") != null; case "visited": return false; } if (A.SelectorEvaluator__isLegacyPsuedoClass(A._asString(t1.get$name(t1)))) return false; throw A.wrapException(_this._unimplemented$1(selector)); }, visitPseudoElementSelector$1(selector) { var t1 = selector._visitor$_name; if (A.SelectorEvaluator__isLegacyPsuedoClass(A._asString(t1.get$name(t1)))) return false; throw A.wrapException(this._unimplemented$1(selector)); }, visitPseudoElementFunctionSelector$1(s) { return A.throwExpression(this._unimplemented$1(s)); }, visitPseudoClassFunctionSelector$1(selector) { var exprs, literal, $parent, t2, toMatch, lang, _this = this, t1 = selector._visitor$_name; switch (A._asString(t1.get$name(t1))) { case "nth-child": exprs = type$.SelectorExpression._as(selector.argument).expressions; if (exprs.length === 1 && exprs[0] instanceof A.LiteralTerm) { literal = type$.LiteralTerm._as(exprs[0]); $parent = _this._query_selector$_element.parentNode; if ($parent != null) { t1 = A._asNum(literal.value); if (t1 > 0) { t2 = $parent.get$nodes($parent); t1 = t2.indexOf$1(t2, _this._query_selector$_element) === t1; } else t1 = false; } else t1 = false; return t1; } break; case "lang": t1 = type$.SelectorExpression._as(selector.argument); t1 = t1.span; t1.toString; toMatch = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._file$_end), 0, null); lang = A.SelectorEvaluator__getInheritedLanguage(_this._query_selector$_element); return lang != null && B.JSString_methods.startsWith$1(lang, toMatch); } throw A.wrapException(_this._unimplemented$1(selector)); }, visitNamespaceSelector$1(selector) { if (!A._asBool(type$.nullable_SimpleSelector._as(selector._visitor$_name).visit$1(this))) return false; if (selector._namespace instanceof A.Wildcard) return true; if (selector.get$namespace() === "") return this._query_selector$_element.namespaceUri == null; throw A.wrapException(this._unimplemented$1(selector)); }, visitElementSelector$1(selector) { var t1 = selector._visitor$_name; return t1 instanceof A.Wildcard || this._query_selector$_element.localName === A._asString(t1.get$name(t1)).toLowerCase(); }, visitIdSelector$1(selector) { var t1 = this._query_selector$_element, t2 = selector._visitor$_name; return t1.get$id(t1) === A._asString(t2.get$name(t2)); }, visitClassSelector$1(selector) { var t2, t1 = this._query_selector$_element; t1.toString; t2 = selector._visitor$_name; t2 = A._asString(t2.get$name(t2)); return new A.ElementCssClassSet(t1).readClasses$0().contains$1(0, t2); }, visitNegationSelector$1(selector) { return !A._asBool(selector.negationArg.visit$1(this)); }, visitAttributeSelector$1(selector) { var select, t1 = selector._visitor$_name, value = this._query_selector$_element.attributes.$index(0, A._asString(t1.get$name(t1)).toLowerCase()); if (value == null) return false; t1 = selector._op; if (t1 === 535) return true; select = A.S(selector.value); switch (t1) { case 28: return value === select; case 530: return B.JSArray_methods.any$1(A._setArrayType(value.split(" "), type$.JSArray_String), new A.SelectorEvaluator_visitAttributeSelector_closure(select)); case 531: if (B.JSString_methods.startsWith$1(value, select)) { t1 = select.length; t1 = value.length === t1 || value[t1] === "-"; } else t1 = false; return t1; case 532: return B.JSString_methods.startsWith$1(value, select); case 533: return B.JSString_methods.endsWith$1(value, select); case 534: return B.JSString_methods.contains$1(value, select); default: throw A.wrapException(this._unsupported$1(selector)); } } }; A.SelectorEvaluator_visitPseudoClassSelector_closure.prototype = { call$1(n) { var t1; if (!(n instanceof A.Element0)) if (n instanceof A.Text0) { t1 = J.toString$0$(n._dom$_data); n._dom$_data = t1; t1 = t1.length !== 0; } else t1 = false; else t1 = true; return !t1; }, $signature: 140 }; A.SelectorEvaluator_visitPseudoClassSelector_closure0.prototype = { call$1(n) { var t1; if (!(n instanceof A.Element0)) if (n instanceof A.Text0) { t1 = J.toString$0$(n._dom$_data); n._dom$_data = t1; t1 = new A.Runes(t1).any$1(0, new A.SelectorEvaluator_visitPseudoClassSelector__closure()); } else t1 = false; else t1 = true; return !t1; }, $signature: 140 }; A.SelectorEvaluator_visitPseudoClassSelector__closure.prototype = { call$1(r) { return !A.isWhitespaceCC(r); }, $signature: 129 }; A.SelectorEvaluator_visitAttributeSelector_closure.prototype = { call$1(v) { return v.length !== 0 && v === this.select; }, $signature: 17 }; A.Token2.prototype = {}; A.TagToken.prototype = { get$name(receiver) { return this.name; } }; A.StartTagToken.prototype = { get$kind(_) { return 2; }, get$data(receiver) { return this.data; } }; A.EndTagToken.prototype = { get$kind(_) { return 3; } }; A.StringToken.prototype = { get$data(_) { var _this = this, t1 = _this._token$_string; if (t1 == null) { t1 = _this._token$_string = J.toString$0$(_this._token$_buffer); _this._token$_buffer = null; } return t1; } }; A.ParseErrorToken.prototype = { get$kind(_) { return 6; } }; A.CharactersToken.prototype = { get$kind(_) { return 1; } }; A.SpaceCharactersToken.prototype = { get$kind(_) { return 0; } }; A.CommentToken.prototype = { get$kind(_) { return 4; } }; A.DoctypeToken.prototype = { get$kind(_) { return 5; }, get$name(receiver) { return this.name; } }; A.TagAttribute.prototype = { get$value(_) { return A._lateReadCheck(this.__TagAttribute_value, "value"); }, get$name(receiver) { return this.name; } }; A.entitiesByFirstChar_closure.prototype = { call$0() { var t1, t2, result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.List_String); for (t1 = J.get$iterator$ax(B.Map_0uQj.get$keys(B.Map_0uQj)); t1.moveNext$0();) { t2 = t1.get$current(t1); J.add$1$ax(result.putIfAbsent$2(0, t2[0], new A.entitiesByFirstChar__closure()), t2); } return result; }, $signature: 870 }; A.entitiesByFirstChar__closure.prototype = { call$0() { return A._setArrayType([], type$.JSArray_String); }, $signature: 871 }; A.HtmlTokenizer.prototype = { get$state(_) { return A._lateReadCheck(this.__HtmlTokenizer_state, "state"); }, get$current(_) { var t1 = this._tokenizer$_current; t1.toString; return t1; }, _markAttributeEnd$1(offset) { var t1 = this._attributes; t1.toString; B.JSArray_methods.get$last(t1).__TagAttribute_value = this._attributeValue.toString$0(0); }, _markAttributeValueStart$1(offset) { }, _markAttributeValueEnd$1(offset) { this._markAttributeEnd$1(offset); }, _addAttribute$1($name) { var t2, _this = this, t1 = _this._attributes; if (t1 == null) t1 = _this._attributes = A._setArrayType([], type$.JSArray_TagAttribute); t2 = _this._attributeName; t2._contents = ""; t2._contents = $name; _this._attributeValue._contents = ""; t1.push(new A.TagAttribute()); }, moveNext$0() { var t3, _this = this, t1 = _this.stream, t2 = _this.tokenQueue; while (true) { t3 = t1.errors; if (!(t3._head === t3._tail && t2._head === t2._tail)) break; if (!_this.state$0(0)) { _this._tokenizer$_current = null; return false; } } if (!t3.get$isEmpty(t3)) { t1 = t1.errors.removeFirst$0(); _this._tokenizer$_current = new A.ParseErrorToken(null, null, t1); } else _this._tokenizer$_current = t2.removeFirst$0(); return true; }, reset$0(_) { var _this = this; _this.__HtmlTokenizer__lastOffset = 0; _this.tokenQueue.clear$0(0); _this.currentToken = null; _this._tokenizer$_buffer._contents = ""; _this._attributeNames = _this._attributes = null; _this.__HtmlTokenizer_state = _this.get$dataState(); }, _addToken$1(token) { this.tokenQueue._add$1(0, token); }, consumeNumberEntity$1(isHex) { var allowed, radix, charStack, t1, c, charAsInt, char, t2, _this = this, _null = null, _s36_ = "illegal-codepoint-for-numeric-entity"; if (isHex) { allowed = A.constants__isHexDigit$closure(); radix = 16; } else { allowed = A.constants__isDigit$closure(); radix = 10; } charStack = []; t1 = _this.stream; c = t1.char$0(); while (true) { if (!(allowed.call$1(c) && c != null)) break; charStack.push(c); c = t1.char$0(); } charAsInt = A.int_parse(B.JSArray_methods.join$0(charStack), radix); char = B.Map_DmM2k.$index(0, charAsInt); if (char != null) { t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["charAsInt", charAsInt], t2, t2); _this._addToken$1(new A.ParseErrorToken(t2, _null, _s36_)); } else if (55296 <= charAsInt && charAsInt <= 57343 || charAsInt > 1114111) { t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["charAsInt", charAsInt], t2, t2); _this._addToken$1(new A.ParseErrorToken(t2, _null, _s36_)); char = "\ufffd"; } else { if (!(1 <= charAsInt && charAsInt <= 8)) if (!(14 <= charAsInt && charAsInt <= 31)) if (!(127 <= charAsInt && charAsInt <= 159)) t2 = 64976 <= charAsInt && charAsInt <= 65007 || B.JSArray_methods.contains$1(B.List_QLF, charAsInt); else t2 = true; else t2 = true; else t2 = true; if (t2) { t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["charAsInt", charAsInt], t2, t2); _this._addToken$1(new A.ParseErrorToken(t2, _null, _s36_)); } char = A.String_String$fromCharCodes(A._setArrayType([charAsInt], type$.JSArray_int), 0, _null); } if (c !== ";") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "numeric-entity-without-semicolon")); t1.unget$1(c); } return char; }, consumeEntity$2$allowedChar$fromAttribute(allowedChar, fromAttribute) { var t2, output, hex, t3, filteredEntityList, entityName, entityLen, possibleEntityName, token, _this = this, _null = null, t1 = _this.stream, charStack = A._setArrayType([t1.char$0()], type$.JSArray_nullable_String); if (!A.isWhitespace(charStack[0])) { t2 = charStack[0]; t2 = t2 === "<" || t2 === "&" || t2 == null || allowedChar === t2; } else t2 = true; if (t2) { t1.unget$1(charStack[0]); output = "&"; } else { t2 = charStack[0]; if (t2 === "#") { charStack.push(t1.char$0()); if (B.JSArray_methods.get$last(charStack) === "x" || B.JSArray_methods.get$last(charStack) === "X") { charStack.push(t1.char$0()); hex = true; } else hex = false; if (!(hex && A.isHexDigit(B.JSArray_methods.get$last(charStack)))) t2 = !hex && A.isDigit(B.JSArray_methods.get$last(charStack)); else t2 = true; if (t2) { t1.unget$1(B.JSArray_methods.get$last(charStack)); output = _this.consumeNumberEntity$1(hex); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-numeric-entity")); t1.unget$1(charStack.pop()); output = "&" + B.JSArray_methods.join$0(charStack); } } else { t3 = $.$get$entitiesByFirstChar(); t2.toString; filteredEntityList = J.$index$asx(t3, t2); if (filteredEntityList == null) filteredEntityList = B.List_empty1; for (; B.JSArray_methods.get$last(charStack) != null;) { t2 = J.where$1$ax(filteredEntityList, new A.HtmlTokenizer_consumeEntity_closure(B.JSArray_methods.join$0(charStack))); filteredEntityList = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E")); if (filteredEntityList.length === 0) break; charStack.push(t1.char$0()); } entityLen = charStack.length - 1; while (true) { if (!(entityLen > 1)) { entityName = _null; break; } possibleEntityName = B.JSArray_methods.join$0(B.JSArray_methods.sublist$2(charStack, 0, entityLen)); if (B.Map_0uQj.containsKey$1(0, possibleEntityName)) { entityName = possibleEntityName; break; } --entityLen; } if (entityName != null) { t2 = entityName[entityName.length - 1] !== ";"; if (t2) _this._addToken$1(new A.ParseErrorToken(_null, _null, "named-entity-without-semicolon")); if (t2) if (fromAttribute) { t2 = charStack[entityLen]; t2 = A.isLetter(t2) || A.isDigit(t2) || charStack[entityLen] === "="; } else t2 = false; else t2 = false; if (t2) { t1.unget$1(charStack.pop()); output = "&" + B.JSArray_methods.join$0(charStack); } else { output = B.Map_0uQj.$index(0, entityName); t1.unget$1(charStack.pop()); output = A.S(output) + B.JSArray_methods.join$0(A.slice(charStack, entityLen, _null)); } } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-named-entity")); t1.unget$1(charStack.pop()); output = "&" + B.JSArray_methods.join$0(charStack); } } } if (fromAttribute) _this._attributeValue._contents += output; else { if (A.isWhitespace(output)) token = new A.SpaceCharactersToken(_null, output); else token = new A.CharactersToken(_null, output); _this._addToken$1(token); } }, consumeEntity$0() { return this.consumeEntity$2$allowedChar$fromAttribute(null, false); }, emitCurrentToken$0() { var t2, token, t3, _i, attr, t4, t5, _this = this, _null = null, t1 = _this.currentToken; t1.toString; if (t1 instanceof A.TagToken) { t2 = t1.name; t1.name = t2 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t2), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); if (t1 instanceof A.EndTagToken) { if (_this._attributes != null) _this._addToken$1(new A.ParseErrorToken(_null, _null, "attributes-in-end-tag")); if (t1.selfClosing) _this._addToken$1(new A.ParseErrorToken(_null, _null, "this-closing-flag-on-end-tag")); token = t1; } else if (t1 instanceof A.StartTagToken) { t1.data = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, type$.Object, type$.String); t2 = _this._attributes; if (t2 != null) for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) { attr = t2[_i]; t4 = t1.data; t5 = attr.name; t5.toString; t4.putIfAbsent$2(0, t5, new A.HtmlTokenizer_emitCurrentToken_closure(attr)); } token = t1; } else token = t1; _this._attributeNames = _this._attributes = null; } else token = t1; _this._addToken$1(token); _this.__HtmlTokenizer_state = _this.get$dataState(); }, dataState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "&") _this.__HtmlTokenizer_state = _this.get$entityDataState(); else if (data === "<") _this.__HtmlTokenizer_state = _this.get$tagOpenState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\x00")); } else if (data == null) return false; else if (A.isWhitespace(data)) { t1 = data + t1.charsUntil$2(" \n\r\t\f", true); _this._addToken$1(new A.SpaceCharactersToken(_null, t1)); } else { t1 = data + t1.charsUntil$1("&<\x00"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, entityDataState$0() { this.consumeEntity$0(); this.__HtmlTokenizer_state = this.get$dataState(); return true; }, rcdataState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "&") _this.__HtmlTokenizer_state = _this.get$characterReferenceInRcdata(); else if (data === "<") _this.__HtmlTokenizer_state = _this.get$rcdataLessThanSignState(); else if (data == null) return false; else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else if (A.isWhitespace(data)) { t1 = data + t1.charsUntil$2(" \n\r\t\f", true); _this._addToken$1(new A.SpaceCharactersToken(_null, t1)); } else { t1 = data + t1.charsUntil$1("&<"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, characterReferenceInRcdata$0() { this.consumeEntity$0(); this.__HtmlTokenizer_state = this.get$rcdataState(); return true; }, rawtextState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "<") _this.__HtmlTokenizer_state = _this.get$rawtextLessThanSignState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else if (data == null) return false; else { t1 = data + t1.charsUntil$1("<\x00"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, scriptDataState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "<") _this.__HtmlTokenizer_state = _this.get$scriptDataLessThanSignState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else if (data == null) return false; else { t1 = data + t1.charsUntil$1("<\x00"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, plaintextState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data == null) return false; else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else { t1 = data + t1.charsUntil$1("\x00"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, tagOpenState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "!") _this.__HtmlTokenizer_state = _this.get$markupDeclarationOpenState(); else if (data === "/") _this.__HtmlTokenizer_state = _this.get$closeTagOpenState(); else if (A.isLetter(data)) { _this.currentToken = A.StartTagToken$(data, _null, _null, false); _this.__HtmlTokenizer_state = _this.get$tagNameState(); } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-tag-name-but-got-right-bracket")); _this._addToken$1(new A.CharactersToken(_null, "<>")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "?") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-tag-name-but-got-question-mark")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$bogusCommentState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-tag-name")); _this._addToken$1(new A.CharactersToken(_null, "<")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$dataState(); } return true; }, closeTagOpenState$0() { var t2, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isLetter(data)) { _this.currentToken = new A.EndTagToken(data, false); _this.__HtmlTokenizer_state = _this.get$tagNameState(); } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.expectc)); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-closing-tag-but-got-eof")); _this._addToken$1(new A.CharactersToken(_null, "</")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = type$.dynamic; t2 = A.LinkedHashMap_LinkedHashMap$_literal(["data", data], t2, t2); _this._addToken$1(new A.ParseErrorToken(t2, _null, "expected-closing-tag-but-got-char")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$bogusCommentState(); } return true; }, tagNameState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); else if (data === ">") _this.emitCurrentToken$0(); else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-tag-name")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "/") _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.TagToken._as(_this.currentToken); t1.name = A.S(t1.name) + "\ufffd"; } else { t1 = type$.TagToken._as(_this.currentToken); t1.name = A.S(t1.name) + data; } return true; }, rcdataLessThanSignState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "/") { _this._tokenizer$_buffer._contents = ""; _this.__HtmlTokenizer_state = _this.get$rcdataEndTagOpenState(); } else { _this._addToken$1(new A.CharactersToken(null, "<")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rcdataState(); } return true; }, rcdataEndTagOpenState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isLetter(data)) { _this._tokenizer$_buffer._contents += A.S(data); _this.__HtmlTokenizer_state = _this.get$rcdataEndTagNameState(); } else { _this._addToken$1(new A.CharactersToken(null, "</")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rcdataState(); } return true; }, _tokenIsAppropriate$0() { var t1 = this.currentToken; return t1 instanceof A.TagToken && t1.name.toLowerCase() === this._tokenizer$_buffer.toString$0(0).toLowerCase(); }, rcdataEndTagNameState$0() { var t2, _this = this, appropriate = _this._tokenIsAppropriate$0(), t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } else if (data === "/" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); } else if (data === ">" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.emitCurrentToken$0(); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._tokenizer$_buffer; if (A.isLetter(data)) t2._contents += A.S(data); else { t2 = "</" + t2.toString$0(0); _this._addToken$1(new A.CharactersToken(null, t2)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rcdataState(); } } return true; }, rawtextLessThanSignState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "/") { _this._tokenizer$_buffer._contents = ""; _this.__HtmlTokenizer_state = _this.get$rawtextEndTagOpenState(); } else { _this._addToken$1(new A.CharactersToken(null, "<")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rawtextState(); } return true; }, rawtextEndTagOpenState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isLetter(data)) { _this._tokenizer$_buffer._contents += A.S(data); _this.__HtmlTokenizer_state = _this.get$rawtextEndTagNameState(); } else { _this._addToken$1(new A.CharactersToken(null, "</")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rawtextState(); } return true; }, rawtextEndTagNameState$0() { var t2, _this = this, appropriate = _this._tokenIsAppropriate$0(), t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } else if (data === "/" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); } else if (data === ">" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.emitCurrentToken$0(); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._tokenizer$_buffer; if (A.isLetter(data)) t2._contents += A.S(data); else { t2 = "</" + t2.toString$0(0); _this._addToken$1(new A.CharactersToken(null, t2)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$rawtextState(); } } return true; }, scriptDataLessThanSignState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "/") { _this._tokenizer$_buffer._contents = ""; _this.__HtmlTokenizer_state = _this.get$scriptDataEndTagOpenState(); } else if (data === "!") { _this._addToken$1(new A.CharactersToken(null, "<!")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapeStartState(); } else { _this._addToken$1(new A.CharactersToken(null, "<")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } return true; }, scriptDataEndTagOpenState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isLetter(data)) { _this._tokenizer$_buffer._contents += A.S(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEndTagNameState(); } else { _this._addToken$1(new A.CharactersToken(null, "</")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } return true; }, scriptDataEndTagNameState$0() { var t2, _this = this, appropriate = _this._tokenIsAppropriate$0(), t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } else if (data === "/" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); } else if (data === ">" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.emitCurrentToken$0(); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._tokenizer$_buffer; if (A.isLetter(data)) t2._contents += A.S(data); else { t2 = "</" + t2.toString$0(0); _this._addToken$1(new A.CharactersToken(null, t2)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } } return true; }, scriptDataEscapeStartState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapeStartDashState(); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } return true; }, scriptDataEscapeStartDashState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedDashDashState(); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } return true; }, scriptDataEscapedState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(_null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedDashState(); } else if (data === "<") _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedLessThanSignState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else if (data == null) _this.__HtmlTokenizer_state = _this.get$dataState(); else { t1 = data + t1.charsUntil$1("<-\x00"); _this._addToken$1(new A.CharactersToken(_null, t1)); } return true; }, scriptDataEscapedDashState$0() { var _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(_null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedDashDashState(); } else if (data === "<") _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedLessThanSignState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } else if (data == null) _this.__HtmlTokenizer_state = _this.get$dataState(); else { _this._addToken$1(new A.CharactersToken(_null, data)); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } return true; }, scriptDataEscapedDashDashState$0() { var _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") _this._addToken$1(new A.CharactersToken(_null, "-")); else if (data === "<") _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedLessThanSignState(); else if (data === ">") { _this._addToken$1(new A.CharactersToken(_null, ">")); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } else if (data == null) _this.__HtmlTokenizer_state = _this.get$dataState(); else { _this._addToken$1(new A.CharactersToken(_null, data)); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } return true; }, scriptDataEscapedLessThanSignState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "/") { _this._tokenizer$_buffer._contents = ""; _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedEndTagOpenState(); } else if (A.isLetter(data)) { t1 = "<" + A.S(data); _this._addToken$1(new A.CharactersToken(null, t1)); t1 = _this._tokenizer$_buffer; t1._contents = ""; t1._contents += A.S(data); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapeStartState(); } else { _this._addToken$1(new A.CharactersToken(null, "<")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } return true; }, scriptDataEscapedEndTagOpenState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isLetter(data)) { t1 = _this._tokenizer$_buffer; t1._contents = ""; t1._contents += A.S(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedEndTagNameState(); } else { _this._addToken$1(new A.CharactersToken(null, "</")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } return true; }, scriptDataEscapedEndTagNameState$0() { var t2, _this = this, appropriate = _this._tokenIsAppropriate$0(), t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } else if (data === "/" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); } else if (data === ">" && appropriate) { _this.currentToken = new A.EndTagToken(_this._tokenizer$_buffer.toString$0(0), false); _this.emitCurrentToken$0(); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._tokenizer$_buffer; if (A.isLetter(data)) t2._contents += A.S(data); else { t2 = "</" + t2.toString$0(0); _this._addToken$1(new A.CharactersToken(null, t2)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } } return true; }, scriptDataDoubleEscapeStartState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) || data === "/" || data === ">") { _this._addToken$1(new A.CharactersToken(data == null ? new A.StringBuffer("") : null, data)); if (_this._tokenizer$_buffer.toString$0(0).toLowerCase() === "script") _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); else _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } else if (A.isLetter(data)) { _this._addToken$1(new A.CharactersToken(data == null ? new A.StringBuffer("") : null, data)); _this._tokenizer$_buffer._contents += A.S(data); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); } return true; }, scriptDataDoubleEscapedState$0() { var _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(_null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedDashState(); } else if (data === "<") { _this._addToken$1(new A.CharactersToken(_null, "<")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedLessThanSignState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-script-in-script")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else _this._addToken$1(new A.CharactersToken(_null, data)); return true; }, scriptDataDoubleEscapedDashState$0() { var _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") { _this._addToken$1(new A.CharactersToken(_null, "-")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedDashDashState(); } else if (data === "<") { _this._addToken$1(new A.CharactersToken(_null, "<")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedLessThanSignState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-script-in-script")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.CharactersToken(_null, data)); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } return true; }, scriptDataDoubleEscapedDashDashState$0() { var _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") _this._addToken$1(new A.CharactersToken(_null, "-")); else if (data === "<") { _this._addToken$1(new A.CharactersToken(_null, "<")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedLessThanSignState(); } else if (data === ">") { _this._addToken$1(new A.CharactersToken(_null, ">")); _this.__HtmlTokenizer_state = _this.get$scriptDataState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addToken$1(new A.CharactersToken(_null, "\ufffd")); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-script-in-script")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.CharactersToken(_null, data)); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } return true; }, scriptDataDoubleEscapedLessThanSignState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === "/") { _this._addToken$1(new A.CharactersToken(null, "/")); _this._tokenizer$_buffer._contents = ""; _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapeEndState(); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } return true; }, scriptDataDoubleEscapeEndState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data) || data === "/" || data === ">") { _this._addToken$1(new A.CharactersToken(data == null ? new A.StringBuffer("") : null, data)); if (_this._tokenizer$_buffer.toString$0(0).toLowerCase() === "script") _this.__HtmlTokenizer_state = _this.get$scriptDataEscapedState(); else _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } else if (A.isLetter(data)) { _this._addToken$1(new A.CharactersToken(data == null ? new A.StringBuffer("") : null, data)); _this._tokenizer$_buffer._contents += A.S(data); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$scriptDataDoubleEscapedState(); } return true; }, beforeAttributeNameState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) t1.charsUntil$2(" \n\r\t\f", true); else { t1 = data == null; if (!t1 && A.isLetter(data)) { _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else if (data === ">") _this.emitCurrentToken$0(); else if (data === "/") _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); else if (t1) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-attribute-name-but-got-eof")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (B.JSString_methods.contains$1("'\"=<", data)) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-character-in-attribute-name")); _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addAttribute$1("\ufffd"); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else { _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } } return true; }, attributeNameState$0() { var leavingThisState, emitToken, t2, attrName, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "=") { _this.__HtmlTokenizer_state = _this.get$beforeAttributeValueState(); leavingThisState = true; emitToken = false; } else if (A.isLetter(data)) { t2 = _this._attributeName; t2._contents += A.S(data); t2._contents += t1.charsUntil$2("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", true); leavingThisState = false; emitToken = false; } else if (data === ">") { leavingThisState = true; emitToken = true; } else { if (A.isWhitespace(data)) { _this.__HtmlTokenizer_state = _this.get$afterAttributeNameState(); leavingThisState = true; } else if (data === "/") { _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); leavingThisState = true; } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._attributeName._contents += "\ufffd"; leavingThisState = false; } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-attribute-name")); _this.__HtmlTokenizer_state = _this.get$dataState(); leavingThisState = true; } else { if (B.JSString_methods.contains$1("'\"<", data)) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-character-in-attribute-name")); _this._attributeName._contents += data; } else _this._attributeName._contents += data; leavingThisState = false; } emitToken = false; } if (leavingThisState) { _this._markAttributeEnd$1(-1); t1 = _this._attributeName._contents; attrName = A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t1.charCodeAt(0) == 0 ? t1 : t1), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); t1 = _this._attributes; t1.toString; B.JSArray_methods.get$last(t1).name = attrName; t1 = _this._attributeNames; if ((t1 == null ? _this._attributeNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String) : t1).contains$1(0, attrName)) _this._addToken$1(new A.ParseErrorToken(_null, _null, "duplicate-attribute")); _this._attributeNames.add$1(0, attrName); if (emitToken) _this.emitCurrentToken$0(); } return true; }, afterAttributeNameState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) t1.charsUntil$2(" \n\r\t\f", true); else if (data === "=") _this.__HtmlTokenizer_state = _this.get$beforeAttributeValueState(); else if (data === ">") _this.emitCurrentToken$0(); else { t1 = data == null; if (!t1 && A.isLetter(data)) { _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else if (data === "/") _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._addAttribute$1("\ufffd"); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else if (t1) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-end-of-tag-but-got-eof")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (B.JSString_methods.contains$1("'\"<", data)) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-character-after-attribute-name")); _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } else { _this._addAttribute$1(data); _this.__HtmlTokenizer_state = _this.get$attributeNameState(); } } return true; }, beforeAttributeValueState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) t1.charsUntil$2(" \n\r\t\f", true); else if (data === '"') { _this._markAttributeValueStart$1(0); _this.__HtmlTokenizer_state = _this.get$attributeValueDoubleQuotedState(); } else if (data === "&") { _this.__HtmlTokenizer_state = _this.get$attributeValueUnQuotedState(); t1.unget$1(data); _this._markAttributeValueStart$1(0); } else if (data === "'") { _this._markAttributeValueStart$1(0); _this.__HtmlTokenizer_state = _this.get$attributeValueSingleQuotedState(); } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.expecta)); _this.emitCurrentToken$0(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._markAttributeValueStart$1(-1); _this._attributeValue._contents += "\ufffd"; _this.__HtmlTokenizer_state = _this.get$attributeValueUnQuotedState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-attribute-value-but-got-eof")); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (B.JSString_methods.contains$1("=<`", data)) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "equals-in-unquoted-attribute-value")); _this._markAttributeValueStart$1(-1); _this._attributeValue._contents += data; _this.__HtmlTokenizer_state = _this.get$attributeValueUnQuotedState(); } else { _this._markAttributeValueStart$1(-1); _this._attributeValue._contents += data; _this.__HtmlTokenizer_state = _this.get$attributeValueUnQuotedState(); } return true; }, attributeValueDoubleQuotedState$0() { var t2, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === '"') { _this._markAttributeValueEnd$1(-1); _this._markAttributeEnd$1(0); _this.__HtmlTokenizer_state = _this.get$afterAttributeValueState(); } else if (data === "&") _this.consumeEntity$2$allowedChar$fromAttribute('"', true); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._attributeValue._contents += "\ufffd"; } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-attribute-value-double-quote")); _this._markAttributeValueEnd$1(-1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._attributeValue; t2._contents += data; t2._contents += t1.charsUntil$1('"&'); } return true; }, attributeValueSingleQuotedState$0() { var t2, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "'") { _this._markAttributeValueEnd$1(-1); _this._markAttributeEnd$1(0); _this.__HtmlTokenizer_state = _this.get$afterAttributeValueState(); } else if (data === "&") _this.consumeEntity$2$allowedChar$fromAttribute("'", true); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._attributeValue._contents += "\ufffd"; } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-attribute-value-single-quote")); _this._markAttributeValueEnd$1(-1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = _this._attributeValue; t2._contents += data; t2._contents += t1.charsUntil$1("'&"); } return true; }, attributeValueUnQuotedState$0() { var t2, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) { _this._markAttributeValueEnd$1(-1); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } else if (data === "&") _this.consumeEntity$2$allowedChar$fromAttribute(">", true); else if (data === ">") { _this._markAttributeValueEnd$1(-1); _this.emitCurrentToken$0(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-attribute-value-no-quotes")); _this._markAttributeValueEnd$1(-1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (B.JSString_methods.contains$1("\"'=<`", data)) { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.x75nexpeci)); _this._attributeValue._contents += data; } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); _this._attributeValue._contents += "\ufffd"; } else { t2 = _this._attributeValue; t2._contents += data; t2._contents += t1.charsUntil$1("&>\"'=<` \n\r\t\f"); } return true; }, afterAttributeValueState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); else if (data === ">") _this.emitCurrentToken$0(); else if (data === "/") _this.__HtmlTokenizer_state = _this.get$selfClosingStartTagState(); else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-EOF-after-attribute-value")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.x75nexpecaa)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } return true; }, selfClosingStartTagState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === ">") { type$.TagToken._as(_this.currentToken).selfClosing = true; _this.emitCurrentToken$0(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-EOF-after-solidus-in-tag")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.x75nexpecas)); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeAttributeNameState(); } return true; }, bogusCommentState$0() { var _this = this, t1 = _this.stream, data = t1.charsUntil$1(">"); data = A.stringReplaceAllUnchecked(data, "\x00", "\ufffd"); _this._addToken$1(new A.CommentToken(null, data)); t1.char$0(); _this.__HtmlTokenizer_state = _this.get$dataState(); return true; }, markupDeclarationOpenState$0() { var matched, _i, expected, char, t2, _this = this, t1 = _this.stream, charStack = A._setArrayType([t1.char$0()], type$.JSArray_nullable_String); if (B.JSArray_methods.get$last(charStack) === "-") { charStack.push(t1.char$0()); if (B.JSArray_methods.get$last(charStack) === "-") { _this.currentToken = new A.CommentToken(new A.StringBuffer(""), null); _this.__HtmlTokenizer_state = _this.get$commentStartState(); return true; } } else if (B.JSArray_methods.get$last(charStack) === "d" || B.JSArray_methods.get$last(charStack) === "D") { _i = 0; while (true) { if (!(_i < 6)) { matched = true; break; } expected = B.List_hbB[_i]; char = t1.char$0(); charStack.push(char); if (char != null) t2 = !A.stringContainsUnchecked(expected, char, 0); else t2 = true; if (t2) { matched = false; break; } ++_i; } if (matched) { _this.currentToken = new A.DoctypeToken(true); _this.__HtmlTokenizer_state = _this.get$doctypeState(); return true; } } else { if (B.JSArray_methods.get$last(charStack) === "[") { t2 = _this.parser; if (t2 != null) { t2 = t2.tree.openElements; t2 = t2.length !== 0 && B.JSArray_methods.get$last(t2).namespaceUri != _this.parser.tree.defaultNamespace; } else t2 = false; } else t2 = false; if (t2) { _i = 0; while (true) { if (!(_i < 6)) { matched = true; break; } expected = B.List_sDr[_i]; charStack.push(t1.char$0()); if (B.JSArray_methods.get$last(charStack) !== expected) { matched = false; break; } ++_i; } if (matched) { _this.__HtmlTokenizer_state = _this.get$cdataSectionState(); return true; } } } _this._addToken$1(new A.ParseErrorToken(null, null, "expected-dashes-or-doctype")); for (; charStack.length !== 0;) { t2 = charStack.pop(); if (t2 != null) t1._html_input_stream$_offset = t1._html_input_stream$_offset - t2.length; } _this.__HtmlTokenizer_state = _this.get$bogusCommentState(); return true; }, commentStartState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") _this.__HtmlTokenizer_state = _this.get$commentStartDashState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "incorrect-comment")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { type$.StringToken._as(_this.currentToken)._token$_buffer._contents += data; _this.__HtmlTokenizer_state = _this.get$commentState(); } return true; }, commentStartDashState$0() { var t1, t2, _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") _this.__HtmlTokenizer_state = _this.get$commentEndState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "-\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "incorrect-comment")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.StringToken._as(_this.currentToken)._token$_buffer; t2 = t1._contents += "-"; t1._contents = t2 + data; _this.__HtmlTokenizer_state = _this.get$commentState(); } return true; }, commentState$0() { var t2, _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (data === "-") _this.__HtmlTokenizer_state = _this.get$commentEndDashState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "\ufffd"; } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t2 = type$.StringToken._as(_this.currentToken); t2._token$_buffer._contents += data; t1 = t1.charsUntil$1("-\x00"); t2._token$_buffer._contents += t1; } return true; }, commentEndDashState$0() { var t1, t2, _this = this, _null = null, data = _this.stream.char$0(); if (data === "-") _this.__HtmlTokenizer_state = _this.get$commentEndState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "-\ufffd"; _this.__HtmlTokenizer_state = _this.get$commentState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment-end-dash")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.StringToken._as(_this.currentToken)._token$_buffer; t2 = t1._contents += "-"; t1._contents = t2 + data; _this.__HtmlTokenizer_state = _this.get$commentState(); } return true; }, commentEndState$0() { var t1, t2, _this = this, _null = null, data = _this.stream.char$0(); if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "--\ufffd"; _this.__HtmlTokenizer_state = _this.get$commentState(); } else if (data === "!") { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.x75nexpeb)); _this.__HtmlTokenizer_state = _this.get$commentEndBangState(); } else if (data === "-") { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.x75nexped)); t1 = type$.StringToken._as(_this.currentToken); data.toString; t1._token$_buffer._contents += data; } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment-double-dash")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-comment")); t1 = type$.StringToken._as(_this.currentToken)._token$_buffer; t2 = t1._contents += "--"; t1._contents = t2 + data; _this.__HtmlTokenizer_state = _this.get$commentState(); } return true; }, commentEndBangState$0() { var t1, t2, _this = this, _null = null, data = _this.stream.char$0(); if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "-") { type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "--!"; _this.__HtmlTokenizer_state = _this.get$commentEndDashState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.StringToken._as(_this.currentToken)._token$_buffer._contents += "--!\ufffd"; _this.__HtmlTokenizer_state = _this.get$commentState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-comment-end-bang-state")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.StringToken._as(_this.currentToken)._token$_buffer; t2 = t1._contents += "--!"; t1._contents = t2 + data; _this.__HtmlTokenizer_state = _this.get$commentState(); } return true; }, doctypeState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$beforeDoctypeNameState(); else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-doctype-name-but-got-eof")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "need-space-after-doctype")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeDoctypeNameState(); } return true; }, beforeDoctypeNameState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) return true; else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, string$.expectd)); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); type$.DoctypeToken._as(_this.currentToken).name = "\ufffd"; _this.__HtmlTokenizer_state = _this.get$doctypeNameState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "expected-doctype-name-but-got-eof")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { type$.DoctypeToken._as(_this.currentToken).name = data; _this.__HtmlTokenizer_state = _this.get$doctypeNameState(); } return true; }, doctypeNameState$0() { var t1, t2, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) { t1 = type$.DoctypeToken._as(_this.currentToken); t2 = t1.name; t1.name = t2 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t2), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); _this.__HtmlTokenizer_state = _this.get$afterDoctypeNameState(); } else if (data === ">") { t1 = type$.DoctypeToken._as(_this.currentToken); t2 = t1.name; t1.name = t2 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t2), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.name = A.S(t1.name) + "\ufffd"; _this.__HtmlTokenizer_state = _this.get$doctypeNameState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype-name")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; t2 = t1.name; t1.name = t2 == null ? _null : A.String_String$fromCharCodes(new A.MappedListIterable(new A.CodeUnits(t2), A.constants__AsciiUpperToLower__asciiToLower$closure(), type$.CodeUnits._eval$1("MappedListIterable<ListMixin.E,int>")), 0, _null); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.DoctypeToken._as(_this.currentToken); t1.name = A.S(t1.name) + data; } return true; }, afterDoctypeNameState$0() { var matched, _i, expected, t2, _this = this, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) return true; else if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { type$.DoctypeToken._as(_this.currentToken).correct = false; t1.unget$1(data); _this._addToken$1(new A.ParseErrorToken(null, null, "eof-in-doctype")); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { if (data === "p" || data === "P") { _i = 0; while (true) { if (!(_i < 5)) { matched = true; break; } expected = B.List_Ka6[_i]; data = t1.char$0(); if (data != null) t2 = !A.stringContainsUnchecked(expected, data, 0); else t2 = true; if (t2) { matched = false; break; } ++_i; } if (matched) { _this.__HtmlTokenizer_state = _this.get$afterDoctypePublicKeywordState(); return true; } } else if (data === "s" || data === "S") { _i = 0; while (true) { if (!(_i < 5)) { matched = true; break; } expected = B.List_kaS[_i]; data = t1.char$0(); if (data != null) t2 = !A.stringContainsUnchecked(expected, data, 0); else t2 = true; if (t2) { matched = false; break; } ++_i; } if (matched) { _this.__HtmlTokenizer_state = _this.get$afterDoctypeSystemKeywordState(); return true; } } t1.unget$1(data); t1 = type$.dynamic; t1 = A.LinkedHashMap_LinkedHashMap$_literal(["data", data], t1, t1); _this._addToken$1(new A.ParseErrorToken(t1, null, string$.expects)); type$.DoctypeToken._as(_this.currentToken).correct = false; _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, afterDoctypePublicKeywordState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$beforeDoctypePublicIdentifierState(); else if (data === "'" || data === '"') { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-doctype")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeDoctypePublicIdentifierState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeDoctypePublicIdentifierState(); } return true; }, beforeDoctypePublicIdentifierState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) return true; else if (data === '"') { type$.DoctypeToken._as(_this.currentToken).publicId = ""; _this.__HtmlTokenizer_state = _this.get$doctypePublicIdentifierDoubleQuotedState(); } else if (data === "'") { type$.DoctypeToken._as(_this.currentToken).publicId = ""; _this.__HtmlTokenizer_state = _this.get$doctypePublicIdentifierSingleQuotedState(); } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-end-of-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-doctype")); type$.DoctypeToken._as(_this.currentToken).correct = false; _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, doctypePublicIdentifierDoubleQuotedState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (data === '"') _this.__HtmlTokenizer_state = _this.get$afterDoctypePublicIdentifierState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.publicId = A.S(t1.publicId) + "\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-end-of-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.DoctypeToken._as(_this.currentToken); t1.publicId = A.S(t1.publicId) + data; } return true; }, doctypePublicIdentifierSingleQuotedState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (data === "'") _this.__HtmlTokenizer_state = _this.get$afterDoctypePublicIdentifierState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.publicId = A.S(t1.publicId) + "\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-end-of-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.DoctypeToken._as(_this.currentToken); t1.publicId = A.S(t1.publicId) + data; } return true; }, afterDoctypePublicIdentifierState$0() { var t1, _this = this, _null = null, _s26_ = "unexpected-char-in-doctype", data = _this.stream.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$betweenDoctypePublicAndSystemIdentifiersState(); else if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === '"') { _this._addToken$1(new A.ParseErrorToken(_null, _null, _s26_)); type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierDoubleQuotedState(); } else if (data === "'") { _this._addToken$1(new A.ParseErrorToken(_null, _null, _s26_)); type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierSingleQuotedState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, _s26_)); type$.DoctypeToken._as(_this.currentToken).correct = false; _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, betweenDoctypePublicAndSystemIdentifiersState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) return true; else if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data === '"') { type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierDoubleQuotedState(); } else if (data === "'") { type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierSingleQuotedState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-doctype")); type$.DoctypeToken._as(_this.currentToken).correct = false; _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, afterDoctypeSystemKeywordState$0() { var _this = this, _null = null, t1 = _this.stream, data = t1.char$0(); if (A.isWhitespace(data)) _this.__HtmlTokenizer_state = _this.get$beforeDoctypeSystemIdentifierState(); else if (data === "'" || data === '"') { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-doctype")); t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeDoctypeSystemIdentifierState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1.unget$1(data); _this.__HtmlTokenizer_state = _this.get$beforeDoctypeSystemIdentifierState(); } return true; }, beforeDoctypeSystemIdentifierState$0() { var t1, _this = this, _null = null, _s26_ = "unexpected-char-in-doctype", data = _this.stream.char$0(); if (A.isWhitespace(data)) return true; else if (data === '"') { type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierDoubleQuotedState(); } else if (data === "'") { type$.DoctypeToken._as(_this.currentToken).systemId = ""; _this.__HtmlTokenizer_state = _this.get$doctypeSystemIdentifierSingleQuotedState(); } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, _s26_)); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, _s26_)); type$.DoctypeToken._as(_this.currentToken).correct = false; _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, doctypeSystemIdentifierDoubleQuotedState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (data === '"') _this.__HtmlTokenizer_state = _this.get$afterDoctypeSystemIdentifierState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.systemId = A.S(t1.systemId) + "\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-end-of-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.DoctypeToken._as(_this.currentToken); t1.systemId = A.S(t1.systemId) + data; } return true; }, doctypeSystemIdentifierSingleQuotedState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (data === "'") _this.__HtmlTokenizer_state = _this.get$afterDoctypeSystemIdentifierState(); else if (data === "\x00") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "invalid-codepoint")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.systemId = A.S(t1.systemId) + "\ufffd"; } else if (data === ">") { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-end-of-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { t1 = type$.DoctypeToken._as(_this.currentToken); t1.systemId = A.S(t1.systemId) + data; } return true; }, afterDoctypeSystemIdentifierState$0() { var t1, _this = this, _null = null, data = _this.stream.char$0(); if (A.isWhitespace(data)) return true; else if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { _this._addToken$1(new A.ParseErrorToken(_null, _null, "eof-in-doctype")); t1 = type$.DoctypeToken._as(_this.currentToken); t1.correct = false; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else { _this._addToken$1(new A.ParseErrorToken(_null, _null, "unexpected-char-in-doctype")); _this.__HtmlTokenizer_state = _this.get$bogusDoctypeState(); } return true; }, bogusDoctypeState$0() { var _this = this, t1 = _this.stream, data = t1.char$0(); if (data === ">") { t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } else if (data == null) { t1.unget$1(data); t1 = _this.currentToken; t1.toString; _this._addToken$1(t1); _this.__HtmlTokenizer_state = _this.get$dataState(); } return true; }, cdataSectionState$0() { var t1, matchedEnd, ch, _this = this, data = A._setArrayType([], type$.JSArray_String); for (t1 = _this.stream, matchedEnd = 0; true;) { ch = t1.char$0(); if (ch == null) break; if (ch === "\x00") { _this._addToken$1(new A.ParseErrorToken(null, null, "invalid-codepoint")); ch = "\ufffd"; } data.push(ch); if (ch === "]" && matchedEnd < 2) ++matchedEnd; else { if (ch === ">" && matchedEnd === 2) { data.pop(); data.pop(); data.pop(); break; } matchedEnd = 0; } } if (data.length !== 0) { t1 = B.JSArray_methods.join$0(data); _this._addToken$1(new A.CharactersToken(null, t1)); } _this.__HtmlTokenizer_state = _this.get$dataState(); return true; }, $isIterator: 1, state$0($receiver) { return this.get$state(this).call$0(); } }; A.HtmlTokenizer_consumeEntity_closure.prototype = { call$1(e) { return B.JSString_methods.startsWith$1(e, this.name); }, $signature: 17 }; A.HtmlTokenizer_emitCurrentToken_closure.prototype = { call$0() { return A._lateReadCheck(this.attr.__TagAttribute_value, "value"); }, $signature: 36 }; A.ActiveFormattingElements.prototype = { add$1(_, node) { var t1, t2, t3, ns, equalCount, t4, ns0, t5, ns1, _this = this, _s28_ = "http://www.w3.org/1999/xhtml"; if (node != null) for (t1 = A._instanceType(_this)._eval$1("ReversedListIterable<ListMixin.E>"), t2 = new A.ReversedListIterable(_this, t1), t2 = new A.ListIterator(t2, t2.get$length(t2), t1._eval$1("ListIterator<ListIterable.E>")), t3 = node.localName, ns = node.namespaceUri, t1 = t1._eval$1("ListIterable.E"), equalCount = 0; t2.moveNext$0();) { t4 = t1._as(t2.__internal$_current); if (t4 == null) break; ns0 = t4.namespaceUri; if (ns0 == null) ns0 = _s28_; t5 = t4.localName; ns1 = ns == null ? _s28_ : ns; t5 = ns1 === ns0 && t3 == t5; if (t5 && A._mapEquals(t4.attributes, node.attributes)) ++equalCount; if (equalCount === 3) { B.JSArray_methods.remove$1(_this._list_proxy$_list, t4); break; } } _this.super$ListProxy$add(0, node); } }; A.TreeBuilder.prototype = { reset$0(_) { var _this = this; B.JSArray_methods.set$length(_this.openElements, 0); _this.activeFormattingElements.set$length(0, 0); _this.formPointer = _this.headPointer = null; _this.insertFromTable = false; _this.__TreeBuilder_document = A.Document$(); }, elementInScope$2$variant(target, variant) { var listElements1, listElements2, invert, t1, t2, t3, t4, t5, t6, ns, ns0, _s32_ = "We should never reach this point", _s28_ = "http://www.w3.org/1999/xhtml", exactNode = target instanceof A.Node; if (variant != null) switch (variant) { case "button": listElements1 = B.List_46y; listElements2 = B.List_4CA; invert = false; break; case "list": listElements1 = B.List_46y; listElements2 = B.List_RXb; invert = false; break; case "table": listElements1 = B.List_wwd; listElements2 = B.List_empty; invert = false; break; case "select": listElements1 = B.List_sEs; listElements2 = B.List_empty; invert = true; break; default: throw A.wrapException(A.StateError$(_s32_)); } else { listElements1 = B.List_46y; listElements2 = B.List_empty; invert = false; } for (t1 = this.openElements, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t3 = type$.Pair_of_String_and_nullable_String, t4 = !exactNode, t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t5 = t2._as(t1.__internal$_current); if (t4) { t6 = t5.localName; t6 = t6 == null ? target == null : t6 === target; } else t6 = false; if (!t6) t6 = exactNode && t5 === target; else t6 = true; if (t6) return true; else { ns = t5.namespaceUri; t6 = ns == null; ns0 = t6 ? _s28_ : ns; t5 = t5.localName; if (!B.JSArray_methods.contains$1(listElements1, new A.Pair(ns0, t5, t3))) t5 = B.JSArray_methods.contains$1(listElements2, new A.Pair(t6 ? _s28_ : ns, t5, t3)); else t5 = true; if (invert !== t5) return false; } } throw A.wrapException(A.StateError$(_s32_)); }, elementInScope$1(target) { return this.elementInScope$2$variant(target, null); }, reconstructActiveFormattingElements$0() { var t2, i, entry, t3, t4, t5, t6, t7, cloneToken, element, _this = this, t1 = _this.activeFormattingElements; if (t1.get$length(t1) === 0) return; t2 = t1._list_proxy$_list; i = t2.length - 1; entry = t2[i]; if (entry == null || B.JSArray_methods.contains$1(_this.openElements, entry)) return; t3 = _this.openElements; while (true) { if (!(entry != null && !B.JSArray_methods.contains$1(t3, entry))) break; if (i === 0) { i = -1; break; } --i; entry = t2[i]; } for (t3 = type$.Object, t4 = type$.String; true;) { ++i; entry = t2[i]; t5 = entry.localName; t6 = entry.namespaceUri; t7 = A.LinkedHashMap_LinkedHashMap$from(entry.attributes, t3, t4); cloneToken = new A.StartTagToken(t7, t6, t5, false); cloneToken.span = entry.sourceSpan; element = _this.insertElement$1(cloneToken); t2[i] = element; if (t1.get$length(t1) === 0) A.throwExpression(A.IterableElementError_noElement()); if (element === t1.$index(0, t1.get$length(t1) - 1)) break; } }, clearActiveFormattingElements$0() { var t1 = this.activeFormattingElements, entry = t1.removeLast$0(t1); while (true) { if (!(!t1.get$isEmpty(t1) && entry != null)) break; entry = t1.removeLast$0(t1); } }, elementInActiveFormattingElements$1($name) { var t1, t2, t3; for (t1 = this.activeFormattingElements, t2 = A._instanceType(t1)._eval$1("ReversedListIterable<ListMixin.E>"), t1 = new A.ReversedListIterable(t1, t2), t1 = new A.ListIterator(t1, t1.get$length(t1), t2._eval$1("ListIterator<ListIterable.E>")), t2 = t2._eval$1("ListIterable.E"); t1.moveNext$0();) { t3 = t2._as(t1.__internal$_current); if (t3 == null) break; else if (t3.localName == $name) return t3; } return null; }, insertComment$2(token, $parent) { var t1 = $parent.get$nodes($parent), t2 = new A.Comment(token.get$data(token), A.LinkedHashMap_LinkedHashMap(null, null, null, type$.Object, type$.String)); t2.sourceSpan = token.span; t1.add$1(0, t2); }, createElement$1(_, token) { var element, $name = token.name, namespace = token.namespace; if (namespace == null) namespace = this.defaultNamespace; A._lateReadCheck(this.__TreeBuilder_document, "document"); element = A.Element$_($name, namespace === "" ? null : namespace); element.attributes = token.data; element.sourceSpan = token.span; return element; }, insertElement$1(token) { if (this.insertFromTable) return this.insertElementTable$1(token); return this.insertElementNormal$1(token); }, insertElementNormal$1(token) { var element, t1, $name = token.name, namespace = token.namespace; if (namespace == null) namespace = this.defaultNamespace; A._lateReadCheck(this.__TreeBuilder_document, "document"); element = A.Element$_($name, namespace === "" ? null : namespace); element.attributes = token.data; element.sourceSpan = token.span; t1 = this.openElements; J.get$nodes$x(B.JSArray_methods.get$last(t1)).add$1(0, element); t1.push(element); return element; }, insertElementTable$1(token) { var nodePos, t2, _this = this, element = _this.createElement$1(0, token), t1 = _this.openElements; if (!B.JSArray_methods.contains$1(B.List_QcX, B.JSArray_methods.get$last(t1).localName)) return _this.insertElementNormal$1(token); else { nodePos = _this.getTableMisnestedNodePosition$0(); t2 = nodePos[1]; if (t2 == null) { t2 = nodePos[0]; t2.get$nodes(t2).add$1(0, element); } else nodePos[0].insertBefore$2(0, element, t2); t1.push(element); } return element; }, insertText$2(data, span) { var nodePos, t1 = this.openElements, $parent = B.JSArray_methods.get$last(t1); if (this.insertFromTable) { t1 = B.JSArray_methods.get$last(t1); t1 = !B.JSArray_methods.contains$1(B.List_QcX, t1.localName); } else t1 = true; if (t1) A.TreeBuilder__insertText($parent, data, span, null); else { nodePos = this.getTableMisnestedNodePosition$0(); t1 = nodePos[0]; t1.toString; A.TreeBuilder__insertText(t1, data, span, type$.nullable_Element_2._as(nodePos[1])); } }, getTableMisnestedNodePosition$0() { var lastTable, fosterParent, insertBefore, t1 = this.openElements, t2 = A._arrayInstanceType(t1)._eval$1("ReversedListIterable<1>"), t3 = new A.ReversedListIterable(t1, t2); t3 = new A.ListIterator(t3, t3.get$length(t3), t2._eval$1("ListIterator<ListIterable.E>")); t2 = t2._eval$1("ListIterable.E"); while (true) { if (!t3.moveNext$0()) { lastTable = null; break; } lastTable = t2._as(t3.__internal$_current); if (lastTable.localName === "table") break; } if (lastTable != null) { fosterParent = lastTable.parentNode; if (fosterParent != null) insertBefore = lastTable; else { fosterParent = t1[B.JSArray_methods.indexOf$1(t1, lastTable) - 1]; insertBefore = null; } } else { fosterParent = t1[0]; insertBefore = null; } return A._setArrayType([fosterParent, insertBefore], type$.JSArray_nullable_Node); }, generateImpliedEndTags$1(exclude) { var t1 = this.openElements, $name = B.JSArray_methods.get$last(t1).localName; if ($name != exclude && B.JSArray_methods.contains$1(B.List_8oN, $name)) { t1.pop(); this.generateImpliedEndTags$1(exclude); } }, generateImpliedEndTags$0() { return this.generateImpliedEndTags$1(null); } }; A.Pair.prototype = { get$hashCode(_) { return 37 * J.get$hashCode$(this.first) + J.get$hashCode$(this.second); }, $eq(_, other) { if (other == null) return false; return other instanceof A.Pair && other.first == this.first && other.second == this.second; }, get$first(receiver) { return this.first; } }; A.formatStr_closure.prototype = { call$2(key, value) { var t1, t2, t3, last, t4, t5, match, digits, numberSize, result = new A.StringBuffer(""), search = "%(" + A.S(key) + ")"; for (t1 = this._box_0, t2 = search.length, t3 = J.getInterceptor$(value), last = 0, t4 = ""; t5 = t1.format, match = B.JSString_methods.indexOf$2(t5, search, last), match >= 0;) { result._contents = t4 + B.JSString_methods.substring$2(t5, last, match); match += t2; for (digits = match; A.isDigit(t1.format[digits]);) ++digits; if (digits > match) { numberSize = A.int_parse(B.JSString_methods.substring$2(t1.format, match, digits), null); match = digits; } else numberSize = 0; t4 = t1.format[match]; switch (t4) { case "s": t4 = result._contents += A.S(value); break; case "d": t4 = result._contents += A.padWithZeros(t3.toString$0(value), numberSize); break; case "x": t4 = result._contents += A.padWithZeros(B.JSInt_methods.toRadixString$1(A._asInt(value), 16), numberSize); break; default: throw A.wrapException(A.UnsupportedError$("formatStr does not support format character " + t4)); } last = match + 1; } t2 = result._contents = t4 + B.JSString_methods.substring$2(t5, last, t5.length); t1.format = t2.charCodeAt(0) == 0 ? t2 : t2; }, $signature: 60 }; A._escape_closure.prototype = { call$1(match) { return "\\\\" + A.S(match.$index(0, 1)); }, $signature: 23 }; A._escape_closure0.prototype = { call$1(match) { return "\\" + A.S(match.$index(0, 1)); }, $signature: 23 }; A._escape_closure1.prototype = { call$1(match) { var t2, t1 = match.$index(0, 0); t1.toString; t2 = match.$index(0, 1); t2.toString; return B.JSArray_methods.join$1(A._setArrayType(t1.split(t2), type$.JSArray_String), "\\" + A.S(match.$index(0, 1))); }, $signature: 23 }; A._escape_closure2.prototype = { call$1(match) { return A.S(match.$index(0, 1)) + A.S(match.$index(0, 2)) + "\\. "; }, $signature: 23 }; A._escape_closure3.prototype = { call$1(match) { var t1 = match.$index(0, 0); t1.toString; return A.stringReplaceAllFuncUnchecked(t1, A.RegExp_RegExp("([*+-])", true, false), new A._escape__closure(), null); }, $signature: 23 }; A._escape__closure.prototype = { call$1(match) { return "\\" + A.S(match.$index(0, 1)); }, $signature: 23 }; A._escape_closure4.prototype = { call$1(match) { return A.S(match.$index(0, 1)) + "\\> "; }, $signature: 23 }; A._escape_closure5.prototype = { call$1(match) { var t2, t1 = match.$index(0, 0); t1.toString; t2 = A.RegExp_RegExp("\\*", true, false); return A.stringReplaceAllUnchecked(t1, t2, "\\*"); }, $signature: 23 }; A._escape_closure6.prototype = { call$1(match) { var t2, t1 = match.$index(0, 0); t1.toString; t2 = A.RegExp_RegExp("_", true, false); return A.stringReplaceAllUnchecked(t1, t2, "\\_"); }, $signature: 23 }; A._escape_closure7.prototype = { call$1(match) { var t2, t1 = match.$index(0, 0); t1.toString; t2 = A.RegExp_RegExp("`", true, false); return A.stringReplaceAllUnchecked(t1, t2, "\\`"); }, $signature: 23 }; A._escape_closure8.prototype = { call$1(match) { return "\\" + A.S(match.$index(0, 0)); }, $signature: 23 }; A._postProcess_closure.prototype = { call$1(rule) { var t1 = this._box_0; t1.input = A._join(t1.input, rule.append.call$0()); }, $signature: 872 }; A._separatingNewlines_closure.prototype = { call$2(a, b) { a.toString; b.toString; return B.JSString_methods.compareTo$1(a, b); }, $signature: 873 }; A.Node0.prototype = { Node$1(domNode) { this._node0$_node = domNode; if (domNode instanceof A.Element0) this._el = domNode; if (domNode instanceof A.Text0) this._node0$_text = domNode; }, get$firstChild(_) { var t2, t1 = this._el; if (t1 != null) { t2 = t1.get$nodes(t1); t1 = (!t2.get$isEmpty(t2) ? t1.get$nodes(t1)._list_proxy$_list[0] : null) != null; } else t1 = false; if (t1) { t1 = this._el; t2 = t1.get$nodes(t1); t1 = !t2.get$isEmpty(t2) ? t1.get$nodes(t1)._list_proxy$_list[0] : null; t2 = new A.Node0(); t2.Node$1(t1); return t2; } return null; }, get$isCode() { var parentNode, t2, t1 = this._el; if (t1 == null) return false; if (t1.localName.toLowerCase() !== "code") { parentNode = t1.parentNode; t1 = parentNode instanceof A.Element0; if ((t1 ? parentNode : null) != null) { t2 = (t1 ? parentNode : null).localName.toLowerCase() === "code"; t1 = t2; } else t1 = false; } else t1 = true; return t1; }, get$isParentFirstChild() { var parentNode = this._node0$_node.parentNode, t1 = parentNode instanceof A.Element0 ? parentNode : null, t2 = type$.WhereTypeIterable_Element; return B.JSArray_methods.get$first(A.List_List$of(new A.WhereTypeIterable(t1.get$children(t1)._childNodes, t2), true, t2._eval$1("Iterable.E"))) === this._el; }, get$isParentLastChild() { var parentNode = this._node0$_node.parentNode, t1 = parentNode instanceof A.Element0 ? parentNode : null, t2 = type$.WhereTypeIterable_Element; return B.JSArray_methods.get$last(A.List_List$of(new A.WhereTypeIterable(t1.get$children(t1)._childNodes, t2), true, t2._eval$1("Iterable.E"))) === this._el; }, get$nodeName(_) { var t1 = this._el; return t1 != null ? t1.localName.toLowerCase() : ""; }, get$parentChildIndex() { var t2, t3, parentNode = this._node0$_node.parentNode, t1 = parentNode instanceof A.Element0; if ((t1 ? parentNode : null) != null) { t1 = t1 ? parentNode : null; t1 = t1.get$children(t1); t2 = this._el; t2.toString; t3 = type$.WhereTypeIterable_Element; t2 = B.JSArray_methods.indexOf$2(A.List_List$of(new A.WhereTypeIterable(t1._childNodes, t3), true, t3._eval$1("Iterable.E")), t2, 0); t1 = t2; } else t1 = -1; return t1; }, get$parentElName() { var parentNode, t2, t1 = this._el; if (t1 != null) { parentNode = t1.parentNode; t2 = (parentNode instanceof A.Element0 ? parentNode : null) != null; } else t2 = false; if (t2) { parentNode = t1.parentNode; t1 = (parentNode instanceof A.Element0 ? parentNode : null).localName.toLowerCase(); } else t1 = ""; return t1; }, get$textContent() { var t2, t1 = this._node0$_text; if (t1 == null) t1 = null; else { t2 = J.toString$0$(t1._dom$_data); t1._dom$_data = t2; t1 = t2; } if (t1 == null) { t1 = this._el; t1 = t1 == null ? null : A._getText(t1); } return t1 == null ? "" : t1; }, childNodes$0($async$_) { var $async$self = this; return A._makeSyncStarIterable(function() { var _ = $async$_; var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, t3, t4; return function $async$childNodes$0($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._el, t1 = t1.get$nodes(t1)._list_proxy$_list, t2 = A._arrayInstanceType(t1), t1 = new J.ArrayIterator(t1, t1.length, t2._eval$1("ArrayIterator<1>")), t2 = t2._precomputed1; case 2: // for condition if (!t1.moveNext$0()) { // goto after for $async$goto = 3; break; } t3 = t2._as(t1.__interceptors$_current); t4 = new A.Node0(); t4._node0$_node = t3; if (t3 instanceof A.Element0) t4._el = t3; if (t3 instanceof A.Text0) t4._node0$_text = t3; $async$goto = 4; return t4; case 4: // after yield // goto for condition $async$goto = 2; break; case 3: // after for // implicit return return A._IterationMarker_endOfIteration(); case 1: // rethrow return A._IterationMarker_uncaughtError($async$currentError); } }; }, type$.Node_2); } }; A._StyleOption.prototype = {}; A.Rule.prototype = { get$hashCode(_) { return 629 + B.JSString_methods.get$hashCode(this.name); }, $eq(_, other) { if (other == null) return false; if (!(other instanceof A.Rule)) return false; return other.name === this.name; }, get$name(receiver) { return this.name; } }; A.Rule_findRule_closure.prototype = { call$1(rule) { var t1 = rule._realFilterFn; return t1 == null ? false : t1.call$1(this.node); }, $signature: 337 }; A.Rule_findRule_closure0.prototype = { call$1(rule) { var t1 = rule._realFilterFn; return t1 == null ? false : t1.call$1(this.node); }, $signature: 337 }; A.Rule_findRule_closure1.prototype = { call$0() { return $.$get$_BaseRules_defaultRule(); }, $signature: 875 }; A.Rule__buildFilterFn_closure.prototype = { call$1(node) { return B.JSArray_methods.contains$1(this.filters, node.get$nodeName(node).toLowerCase()); }, $signature: 82 }; A._BaseRules_blankRule_closure.prototype = { call$2($content, node) { return A.isBlock(node._el) ? "\n\n" : ""; }, $signature: 12 }; A._BaseRules_defaultRule_closure.prototype = { call$2($content, node) { return A.isBlock(node._el) ? "\n\n" + $content + "\n\n" : $content; }, $signature: 12 }; A._CommonRules_paragraph_closure.prototype = { call$2($content, node) { return "\n\n" + $content + "\n\n"; }, $signature: 12 }; A._CommonRules_lineBreak_closure.prototype = { call$2($content, node) { return A.getStyleOption("br") + "\n"; }, $signature: 12 }; A._CommonRules_heading_closure.prototype = { call$2($content, node) { var t1, underline, hLevel = A.int_parse(B.JSString_methods.substring$2(node.get$nodeName(node), 1, 2), null); if (A.getStyleOption("headingStyle") === "setext" && hLevel < 3) { t1 = hLevel === 1 ? "=" : "-"; underline = B.JSArray_methods.join$0(A.List_List$filled($content.length, t1, false, type$.String)); return "\n\n" + $content + "\n" + underline + "\n\n"; } else return "\n\n" + B.JSArray_methods.join$0(A.List_List$filled(hLevel, "#", false, type$.String)) + " " + $content + "\n\n"; }, $signature: 12 }; A._CommonRules_blockquote_closure.prototype = { call$2($content, node) { var t2, t1 = A.RegExp_RegExp("^\\n+|\\n+$", true, false); t1 = A.stringReplaceAllUnchecked($content, t1, ""); t2 = A.RegExp_RegExp("^", true, true); return "\n\n" + A.stringReplaceAllUnchecked(t1, t2, "> ") + "\n\n"; }, $signature: 12 }; A._CommonRules_list_closure.prototype = { call$2($content, node) { if (node.get$parentElName() === "li" && node.get$isParentLastChild()) return "\n" + $content; else return "\n\n" + $content + "\n\n"; }, $signature: 12 }; A._CommonRules_listItem_closure.prototype = { call$2($content, node) { var start, startAttr, e, t2, convertContent, prefix, parentNode, exception, postfix, t1 = A.RegExp_RegExp("^\\n+", true, false); t1 = A.stringReplaceAllUnchecked($content, t1, ""); t2 = A.RegExp_RegExp("\\n+$", true, false); t1 = A.stringReplaceAllUnchecked(t1, t2, "\n"); t2 = A.RegExp_RegExp("\n", true, true); convertContent = A.stringReplaceAllUnchecked(t1, t2, "\n "); prefix = A.getStyleOption("bulletListMarker") + " "; if (node.get$parentElName() === "ol") { start = -1; parentNode = node._el.parentNode; startAttr = (parentNode instanceof A.Element0 ? parentNode : null).attributes.$index(0, "start"); if (startAttr != null && J.get$length$asx(startAttr) !== 0) try { start = A.int_parse(startAttr, null); } catch (exception) { e = A.unwrapException(exception); A.print("listItem parse start error " + A.S(e)); } prefix = A.S(start > -1 ? start + node.get$parentChildIndex() : node.get$parentChildIndex() + 1) + ". "; } t1 = node._node0$_node; t1.toString; if (A.nextSibling(t1) != null) { t1 = A.RegExp_RegExp("\\n$", true, false); t1 = !t1._nativeRegExp.test(convertContent); } else t1 = false; postfix = t1 ? "\n" : ""; return prefix + convertContent + postfix; }, $signature: 12 }; A._CommonRules_indentedCodeBlock_closure.prototype = { call$1(node) { var t1; if (A.getStyleOption("codeBlockStyle") === "indented") if (node.get$nodeName(node) === "pre") if (node.get$firstChild(node) != null) { t1 = node.get$firstChild(node); t1 = t1.get$nodeName(t1) === "code"; } else t1 = false; else t1 = false; else t1 = false; return t1; }, $signature: 82 }; A._CommonRules_indentedCodeBlock_closure0.prototype = { call$2($content, node) { var t2, result, _i, child, text, t1 = node.childNodes$0(0), children = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); t1 = children.length; if (t1 === 1) { t1 = B.JSArray_methods.get$first(children).get$textContent(); t2 = A.RegExp_RegExp("\\n", true, false); return "\n\n " + A.stringReplaceAllUnchecked(t1, t2, "\n ") + "\n\n"; } else { for (result = "\n\n ", _i = 0; _i < children.length; children.length === t1 || (0, A.throwConcurrentModificationError)(children), ++_i) { child = children[_i]; text = child.get$textContent(); if (!J.$eq$(child, B.JSArray_methods.get$last(children))) { t2 = A.RegExp_RegExp("\\n", true, false); text = A.stringReplaceAllUnchecked(text, t2, "\n "); } result += text; } return result + "\n\n"; } }, $signature: 12 }; A._CommonRules_fencedCodeBlock_closure.prototype = { call$1(node) { var t1; if (A.getStyleOption("codeBlockStyle") === "fenced") if (node.get$nodeName(node) === "pre") if (node.get$firstChild(node) != null) { t1 = node.get$firstChild(node); t1 = t1.get$nodeName(t1) === "code"; } else t1 = false; else t1 = false; else t1 = false; return t1; }, $signature: 82 }; A._CommonRules_fencedCodeBlock_closure0.prototype = { call$2($content, node) { var languageMatched, language, t1 = node.get$firstChild(node)._el, className = t1 == null ? null : t1.get$className(t1); if (className == null) className = ""; languageMatched = A.RegExp_RegExp("language-(\\S+)", true, false).firstMatch$1(className); if (languageMatched != null) { t1 = languageMatched._match[1]; t1.toString; language = t1; } else language = className; return "\n\n" + A.getStyleOption("fence") + language + "\n" + node.get$firstChild(node).get$textContent() + "\n" + A.getStyleOption("fence") + "\n\n"; }, $signature: 12 }; A._CommonRules_horizontalRule_closure.prototype = { call$2($content, node) { return A.getStyleOption("hr") + "\n"; }, $signature: 12 }; A._CommonRules_inlineLink_closure.prototype = { call$1(node) { return A.getStyleOption("linkStyle") === "inlined" && node.get$nodeName(node) === "a" && node._el.attributes.$index(0, "href") != null; }, $signature: 82 }; A._CommonRules_inlineLink_closure0.prototype = { call$2($content, node) { var title, renderedTitle, t1 = node._el.attributes.$index(0, "href"); t1.toString; title = node._el.attributes.$index(0, "title"); if (title == null) title = ""; renderedTitle = title.length === 0 ? title : ' "' + title + '"'; return "[" + $content + "](" + t1 + renderedTitle + ")"; }, $signature: 12 }; A._CommonRules_referenceLink_closure0.prototype = { call$1(node) { return A.getStyleOption("linkStyle") === "referenced" && node.get$nodeName(node) === "a" && node._el.attributes.$index(0, "href") != null; }, $signature: 82 }; A._CommonRules_referenceLink_closure1.prototype = { call$2($content, node) { var renderedTitle, result, t2, reference, id, t1 = node._el.attributes.$index(0, "href"), title = node._el.attributes.$index(0, "title"); if (title == null) title = ""; renderedTitle = title.length === 0 ? title : ' "' + title + '"'; switch (A.getStyleOption("linkReferenceStyle")) { case "collapsed": result = "[" + $content + "][]"; t2 = "[" + $content + "]: "; t1.toString; reference = t2 + t1 + renderedTitle; break; case "shortcut": result = "[" + $content + "]"; t2 = "[" + $content + "]: "; t1.toString; reference = t2 + t1 + renderedTitle; break; default: id = $._linkReferences.length + 1; result = "[" + $content + "][" + B.JSInt_methods.toString$0(id) + "]"; t2 = "[" + B.JSInt_methods.toString$0(id) + "]: "; t1.toString; reference = t2 + t1 + renderedTitle; } $._linkReferences.push(reference); return result; }, $signature: 12 }; A._CommonRules_referenceLink_closure.prototype = { call$0() { if ($._linkReferences.length !== 0) { var result = "\n\n" + B.JSArray_methods.join$1($._linkReferences, "\n") + "\n\n"; B.JSArray_methods.set$length($._linkReferences, 0); } else result = ""; return result; }, $signature: 36 }; A._CommonRules_emphasis_closure.prototype = { call$2($content, node) { var _s11_ = "emDelimiter"; if (B.JSString_methods.trim$0($content).length === 0) return ""; return A.getStyleOption(_s11_) + $content + A.getStyleOption(_s11_); }, $signature: 12 }; A._CommonRules_strong_closure.prototype = { call$2($content, node) { var _s15_ = "strongDelimiter"; if (B.JSString_methods.trim$0($content).length === 0) return ""; return A.getStyleOption(_s15_) + $content + A.getStyleOption(_s15_); }, $signature: 12 }; A._CommonRules_strike_closure.prototype = { call$2($content, node) { if (B.JSString_methods.trim$0($content).length === 0) return ""; return "~~" + $content + "~~"; }, $signature: 12 }; A._CommonRules_code_closure.prototype = { call$1(node) { var t1, isCodeBlock; if (node.get$nodeName(node) === "pre") { t1 = node._node0$_node; t1.toString; if (A.nextSibling(t1) == null) { t1 = node._node0$_node; t1.toString; t1 = A.previousSibling(t1) != null; } else t1 = true; isCodeBlock = !t1; } else isCodeBlock = false; return node.get$nodeName(node) === "code" && !isCodeBlock; }, $signature: 82 }; A._CommonRules_code_closure0.prototype = { call$2($content, node) { var t1, matches, leadingSpace, trailingSpace, delimiter; if (B.JSString_methods.trim$0($content).length === 0) return ""; t1 = A.RegExp_RegExp("`+", true, false).allMatches$1(0, $content); t1 = A.MappedIterable_MappedIterable(t1, new A._CommonRules_code__closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.nullable_String); matches = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E")); if (matches.length !== 0) { t1 = A.RegExp_RegExp("^`", true, false); leadingSpace = t1._nativeRegExp.test($content) ? " " : ""; t1 = A.RegExp_RegExp("`$", true, false); trailingSpace = t1._nativeRegExp.test($content) ? " " : ""; for (delimiter = "`"; B.JSArray_methods.contains$1(matches, delimiter);) delimiter += "`"; } else { delimiter = "`"; leadingSpace = ""; trailingSpace = ""; } return delimiter + leadingSpace + $content + trailingSpace + delimiter; }, $signature: 12 }; A._CommonRules_code__closure.prototype = { call$1(match) { return match._match[0]; }, $signature: 878 }; A._CommonRules_image_closure.prototype = { call$2($content, node) { var src, title, titlePart, alt = node._el.attributes.$index(0, "alt"); if (alt == null) alt = ""; src = node._el.attributes.$index(0, "src"); if (src == null) src = ""; title = node._el.attributes.$index(0, "title"); if (title == null) title = ""; titlePart = title.length !== 0 ? ' "' + title + '"' : ""; return src.length !== 0 ? "" : ""; }, $signature: 12 }; A._TableRules_table_closure.prototype = { call$2($content, node) { return "\n" + $content + "\n"; }, $signature: 12 }; A._TableRules_tr_closure.prototype = { call$2($content, node) { return $content + "\n"; }, $signature: 12 }; A._TableRules_tHeadBody_closure.prototype = { call$2($content, node) { return $content; }, $signature: 12 }; A._TableRules_th_closure.prototype = { call$2($content, node) { var i, t1, t2, result = " " + $content + " |"; if (node.get$isParentFirstChild()) result = "| " + $content + " |"; if (node.get$isParentLastChild()) { i = 0; t1 = "|"; while (true) { t2 = node._node0$_node; t2.toString; if (!(i < A.countSiblingEl(t2))) break; t1 += " ----- |"; ++i; } result = result + "\n" + (t1.charCodeAt(0) == 0 ? t1 : t1); } return result; }, $signature: 12 }; A._TableRules_td_closure.prototype = { call$2($content, node) { var result = " " + $content + " |"; return node.get$isParentFirstChild() ? "| " + $content + " |" : result; }, $signature: 12 }; A.countSiblingEl_closure.prototype = { call$1(node) { if (node instanceof A.Element0) ++this._box_0.count; }, $signature: 114 }; A.ToolbarType.prototype = { toString$0(_) { return "ToolbarType." + this._core$_name; } }; A.ToolbarPosition.prototype = { toString$0(_) { return "ToolbarPosition." + this._core$_name; } }; A.DropdownMenuDirection.prototype = { toString$0(_) { return "DropdownMenuDirection." + this._core$_name; } }; A.HtmlInputType.prototype = { toString$0(_) { return "HtmlInputType." + this._core$_name; } }; A.HtmlEditorController0.prototype = {}; A.HtmlEditorController.prototype = { getText$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.String), $async$returnValue, $async$self = this, text, t1, $async$temp1, $async$temp2, $async$temp3; var $async$getText$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._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: getText"], type$.String, type$.nullable_Object)); $async$temp1 = J; $async$temp2 = B.C_JsonCodec; $async$temp3 = new A._AcceptStructuredCloneDart2Js([], []); $async$goto = 3; return A._asyncAwait(new A._EventStream(window, "message", false, type$._EventStream_MessageEvent).firstWhere$1(0, new A.HtmlEditorController_getText_closure()), $async$getText$0); case 3: // returning from await. text = $async$temp1.$index$asx($async$temp2.decode$1(0, $async$temp3.convertNativeToDart_AcceptStructuredClone$2$mustCopy($async$result.data, true)), "text"); t1 = text.length === 0 || text === "<p></p>" || text === "<p><br></p>" || text === "<p><br/></p>"; $async$returnValue = t1 ? "" : text; // goto return $async$goto = 1; break; case 1: // return return A._asyncReturn($async$returnValue, $async$completer); } }); return A._asyncStartSync($async$getText$0, $async$completer); }, insertHtml$1(html) { this._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: insertHtml", "html", this._processHtml$1$html(html)], type$.String, type$.nullable_Object)); }, execCommand$2$argument(_, command, argument) { this._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: execCommand", "command", command, "argument", argument], type$.String, type$.nullable_Object)); }, execCommand$1($receiver, command) { return this.execCommand$2$argument($receiver, command, null); }, _processHtml$1$html(html) { var t1 = A.stringReplaceAllUnchecked(html, "\r", ""); html = A.stringReplaceAllUnchecked(t1, "\r\n", ""); t1 = A.stringReplaceAllUnchecked(html, "\n", ""); html = A.stringReplaceAllUnchecked(t1, "\n\n", ""); return html; }, _evaluateJavascriptWeb$1$data(data) { return this._evaluateJavascriptWeb$body$HtmlEditorController(data); }, _evaluateJavascriptWeb$body$HtmlEditorController(data) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, json; var $async$_evaluateJavascriptWeb$1$data = 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 data.$indexSet(0, "view", $async$self._viewId); json = A._JsonStringStringifier_stringify(data, null, null); B.Window_methods.postMessage$2(window, json, "*"); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$_evaluateJavascriptWeb$1$data, $async$completer); } }; A.HtmlEditorController_getText_closure.prototype = { call$1(element) { return J.$eq$(J.$index$asx(B.C_JsonCodec.decode$1(0, new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy(element.data, true)), "type"), "toDart: getText"); }, $signature: 879 }; A.HtmlEditor.prototype = { build$1(_, context) { var _this = this; return new A.HtmlEditorWidget(_this.controller, null, B.List_empty11, _this.htmlEditorOptions, _this.htmlToolbarOptions, _this.otherOptions, context, _this.key); } }; A.HtmlEditorWidget.prototype = { createState$0() { return new A._HtmlEditorWidgetWebState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), B._StateLifecycle_0); } }; A._HtmlEditorWidgetWebState.prototype = { initState$0() { var t1, _this = this; _this.___HtmlEditorWidgetWebState_actualHeight = _this._widget.otherOptions.height; t1 = A.getRandString(10); _this.___HtmlEditorWidgetWebState_createdViewId = t1; _this._widget.controller._viewId = A._lateReadCheck(t1, "createdViewId"); _this.initSummernote$0(); _this.super$State$initState(); }, initSummernote$0() { return this.initSummernote$body$_HtmlEditorWidgetWebState(); }, initSummernote$body$_HtmlEditorWidgetWebState() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $async$self = this, summernoteCallbacks, t1, t2, headString, _i, p, t3, t4, darkCSS, summernoteScripts, htmlString, iframe, $async$temp1, $async$temp2, $async$temp3, $async$temp4, $async$temp5, $async$temp6; var $async$initSummernote$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._widget.toString; summernoteCallbacks = 'callbacks: {\n onKeydown: function(e) {\n var chars = $(".note-editable").text();\n var totalChars = chars.length;\n \n window.parent.postMessage(JSON.stringify({"view": "' + A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId") + '", "type": "toDart: characterCount", "totalChars": totalChars}), "*");\n },\n '; for (t1 = $async$self._widget.plugins, t2 = type$.MessageEvent, headString = "", _i = 0; false; ++_i) { p = t1[_i]; headString = B.JSString_methods.$add(headString, p.getHeadString$0()) + "\n"; t3 = " \nsummernoteAtMention: {\n getSuggestions: (value) => {\n const mentions = " + A.S(p.getMentionsWeb$0()) + ';\n return mentions.filter((mention) => {\n return mention.includes(value);\n });\n },\n onSelect: (value) => {\n window.parent.postMessage(JSON.stringify({"view": "'; t4 = A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId"); summernoteCallbacks += t3 + t4 + '", "type": "toDart: onSelectMention", "value": value}), "*");\n },\n },\n '; p.get$onSelect(p); A._EventStreamSubscription$(window, "message", new A._HtmlEditorWidgetWebState_initSummernote_closure($async$self, p), false, t2); } t1 = $async$self._widget; summernoteCallbacks += "}"; if (A.Theme_of(t1.initBC).colorScheme.brightness !== B.Brightness_0) { $async$self._widget.toString; t1 = false; } else t1 = true; if (t1) { $async$self._widget.toString; t1 = true; } else t1 = false; darkCSS = t1 ? '<link href="assets/packages/html_editor_enhanced/assets/summernote-lite-dark.css" rel="stylesheet">' : ""; t1 = $async$self._widget; t1 = ' <script type="text/javascript">\n $(document).ready(function () {\n $(\'#summernote-2\').summernote({\n placeholder: "' + A.S(t1.htmlEditorOptions.hint) + '",\n tabsize: 2,\n height: ' + $async$self._widget.otherOptions.height; $async$self._widget.toString; t1 = t1 + ",\n disableGrammar: false,\n spellCheck: false,\n maximumFileSize: 10485760,\n \n " + summernoteCallbacks + "\n });\n \n $('#summernote-2').on('summernote.change', function(_, contents, $editable) {\n window.parent.postMessage(JSON.stringify({\"view\": \"" + A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId") + '", "type": "toDart: onChangeContent", "contents": contents}), "*");\n });\n });\n \n window.parent.addEventListener(\'message\', handleMessage, false);\n document.onselectionchange = onSelectionChange;\n console.log(\'done\');\n \n function handleMessage(e) {\n if (e && e.data && e.data.includes("toIframe:")) {\n var data = JSON.parse(e.data);\n if (data["view"].includes("' + A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId") + '")) {\n if (data["type"].includes("getText")) {\n var str = $(\'#summernote-2\').summernote(\'code\');\n window.parent.postMessage(JSON.stringify({"type": "toDart: getText", "text": str}), "*");\n }\n if (data["type"].includes("getHeight")) {\n var height = document.body.scrollHeight;\n window.parent.postMessage(JSON.stringify({"view": "' + A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId") + '", "type": "toDart: htmlHeight", "height": height}), "*");\n }\n if (data["type"].includes("setInputType")) {\n document.getElementsByClassName(\'note-editable\')[0].setAttribute(\'inputmode\', \''; $async$self._widget.toString; summernoteScripts = t1 + A.describeEnum(B.HtmlInputType_5) + '\');\n }\n if (data["type"].includes("setText")) {\n $(\'#summernote-2\').summernote(\'code\', data["text"]);\n }\n if (data["type"].includes("setFullScreen")) {\n $("#summernote-2").summernote("fullscreen.toggle");\n }\n if (data["type"].includes("setFocus")) {\n $(\'#summernote-2\').summernote(\'focus\');\n }\n if (data["type"].includes("clear")) {\n $(\'#summernote-2\').summernote(\'reset\');\n }\n if (data["type"].includes("setHint")) {\n $(".note-placeholder").html(data["text"]);\n }\n if (data["type"].includes("toggleCodeview")) {\n $(\'#summernote-2\').summernote(\'codeview.toggle\');\n }\n if (data["type"].includes("disable")) {\n $(\'#summernote-2\').summernote(\'disable\');\n }\n if (data["type"].includes("enable")) {\n $(\'#summernote-2\').summernote(\'enable\');\n }\n if (data["type"].includes("undo")) {\n $(\'#summernote-2\').summernote(\'undo\');\n }\n if (data["type"].includes("redo")) {\n $(\'#summernote-2\').summernote(\'redo\');\n }\n if (data["type"].includes("insertText")) {\n $(\'#summernote-2\').summernote(\'insertText\', data["text"]);\n }\n if (data["type"].includes("insertHtml")) {\n $(\'#summernote-2\').summernote(\'pasteHTML\', data["html"]);\n }\n if (data["type"].includes("insertNetworkImage")) {\n $(\'#summernote-2\').summernote(\'insertImage\', data["url"], data["filename"]);\n }\n if (data["type"].includes("insertLink")) {\n $(\'#summernote-2\').summernote(\'createLink\', {\n text: data["text"],\n url: data["url"],\n isNewWindow: data["isNewWindow"]\n });\n }\n if (data["type"].includes("reload")) {\n window.location.reload();\n }\n if (data["type"].includes("addNotification")) {\n if (data["alertType"] === null) {\n $(\'.note-status-output\').html(\n data["html"]\n );\n } else {\n $(\'.note-status-output\').html(\n \'<div class="\' + data["alertType"] + \'">\' +\n data["html"] +\n \'</div>\'\n );\n }\n }\n if (data["type"].includes("removeNotification")) {\n $(\'.note-status-output\').empty();\n }\n if (data["type"].includes("execCommand")) {\n if (data["argument"] === null) {\n document.execCommand(data["command"], false);\n } else {\n document.execCommand(data["command"], false, data["argument"]);\n }\n }\n if (data["type"].includes("changeListStyle")) {\n var $focusNode = $(window.getSelection().focusNode);\n var $parentList = $focusNode.closest("div.note-editable ol, div.note-editable ul");\n $parentList.css("list-style-type", data["changed"]);\n }\n if (data["type"].includes("changeLineHeight")) {\n $(\'#summernote-2\').summernote(\'lineHeight\', data["changed"]);\n }\n if (data["type"].includes("changeTextDirection")) {\n var s=document.getSelection();\t\t\t\n if(s==\'\'){\n document.execCommand("insertHTML", false, "<p dir=\'"+data[\'direction\']+"\'></p>");\n }else{\n document.execCommand("insertHTML", false, "<div dir=\'"+data[\'direction\']+"\'>"+ document.getSelection()+"</div>");\n }\n }\n if (data["type"].includes("changeCase")) {\n var selected = $(\'#summernote-2\').summernote(\'createRange\');\n if(selected.toString()){\n var texto;\n var count = 0;\n var value = data["case"];\n console.log(value);\n var nodes = selected.nodes();\n for (var i=0; i< nodes.length; ++i) {\n if (nodes[i].nodeName == "#text") {\n count++;\n texto = nodes[i].nodeValue.toLowerCase();\n nodes[i].nodeValue = texto;\n if (value == \'upper\') {\n nodes[i].nodeValue = texto.toUpperCase();\n }\n else if (value == \'sentence\' && count==1) {\n nodes[i].nodeValue = texto.charAt(0).toUpperCase() + texto.slice(1).toLowerCase();\n } else if (value == \'title\') {\n var sentence = texto.split(" ");\n for(var j = 0; j< sentence.length; j++){\n sentence[j] = sentence[j][0].toUpperCase() + sentence[j].slice(1);\n }\n nodes[i].nodeValue = sentence.join(" ");\n }\n }\n }\n }\n }\n if (data["type"].includes("insertTable")) {\n $(\'#summernote-2\').summernote(\'insertTable\', data["dimensions"]);\n }\n if (data["type"].includes("getSelectedTextHtml")) {\n var range = window.getSelection().getRangeAt(0);\n var content = range.cloneContents();\n var span = document.createElement(\'span\');\n \n span.appendChild(content);\n var htmlContent = span.innerHTML;\n \n window.parent.postMessage(JSON.stringify({"type": "toDart: getSelectedText", "text": htmlContent}), "*");\n } else if (data["type"].includes("getSelectedText")) {\n window.parent.postMessage(JSON.stringify({"type": "toDart: getSelectedText", "text": window.getSelection().toString()}), "*");\n }\n \n }\n }\n }\n \n function onSelectionChange() {\n let {anchorNode, anchorOffset, focusNode, focusOffset} = document.getSelection();\n var isBold = false;\n var isItalic = false;\n var isUnderline = false;\n var isStrikethrough = false;\n var isSuperscript = false;\n var isSubscript = false;\n var isUL = false;\n var isOL = false;\n var isLeft = false;\n var isRight = false;\n var isCenter = false;\n var isFull = false;\n var parent;\n var fontName;\n var fontSize = 16;\n var foreColor = "000000";\n var backColor = "FFFF00";\n var focusNode2 = $(window.getSelection().focusNode);\n var parentList = focusNode2.closest("div.note-editable ol, div.note-editable ul");\n var parentListType = parentList.css(\'list-style-type\');\n var lineHeight = $(focusNode.parentNode).css(\'line-height\');\n var direction = $(focusNode.parentNode).css(\'direction\');\n if (document.queryCommandState) {\n isBold = document.queryCommandState(\'bold\');\n isItalic = document.queryCommandState(\'italic\');\n isUnderline = document.queryCommandState(\'underline\');\n isStrikethrough = document.queryCommandState(\'strikeThrough\');\n isSuperscript = document.queryCommandState(\'superscript\');\n isSubscript = document.queryCommandState(\'subscript\');\n isUL = document.queryCommandState(\'insertUnorderedList\');\n isOL = document.queryCommandState(\'insertOrderedList\');\n isLeft = document.queryCommandState(\'justifyLeft\');\n isRight = document.queryCommandState(\'justifyRight\');\n isCenter = document.queryCommandState(\'justifyCenter\');\n isFull = document.queryCommandState(\'justifyFull\');\n }\n if (document.queryCommandValue) {\n parent = document.queryCommandValue(\'formatBlock\');\n fontSize = document.queryCommandValue(\'fontSize\');\n foreColor = document.queryCommandValue(\'foreColor\');\n backColor = document.queryCommandValue(\'hiliteColor\');\n fontName = document.queryCommandValue(\'fontName\');\n }\n var message = {\n \'view\': "' + A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId") + "\", \n 'type': \"toDart: updateToolbar\",\n 'style': parent,\n 'fontName': fontName,\n 'fontSize': fontSize,\n 'font': [isBold, isItalic, isUnderline],\n 'miscFont': [isStrikethrough, isSuperscript, isSubscript],\n 'color': [foreColor, backColor],\n 'paragraph': [isUL, isOL],\n 'listStyle': parentListType,\n 'align': [isLeft, isCenter, isRight, isFull],\n 'lineHeight': lineHeight,\n 'direction': direction,\n };\n window.parent.postMessage(JSON.stringify(message), \"*\");\n }\n \n \n </script>\n "; $async$self._widget.toString; $async$temp1 = B.JSString_methods; $async$temp2 = B.JSString_methods; $async$temp3 = B.JSString_methods; $async$temp4 = B.JSString_methods; $async$temp5 = B.JSString_methods; $async$temp6 = B.JSString_methods; $async$goto = 2; return A._asyncAwait($.$get$rootBundle().loadString$1("packages/html_editor_enhanced/assets/summernote-no-plugins.html"), $async$initSummernote$0); case 2: // returning from await. htmlString = $async$temp1.replaceFirst$2($async$temp2.replaceFirst$2($async$temp3.replaceFirst$2($async$temp4.replaceFirst$2($async$temp5.replaceFirst$2($async$temp6.replaceFirst$2($async$result, "<!--darkCSS-->", darkCSS), "<!--headString-->", headString), "<!--summernoteScripts-->", summernoteScripts), '"jquery.min.js"', '"assets/packages/html_editor_enhanced/assets/jquery.min.js"'), '"summernote-lite.min.css"', '"assets/packages/html_editor_enhanced/assets/summernote-lite.min.css"'), '"summernote-lite.min.js"', '"assets/packages/html_editor_enhanced/assets/summernote-lite.min.js"'); $async$self._widget.toString; iframe = document.createElement("iframe"); iframe.width = B.JSNumber_methods.toString$0($async$self._widget.initBC.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dx); t1 = $async$self._widget; iframe.height = t1.htmlEditorOptions.autoAdjustHeight ? B.JSNumber_methods.toString$0(A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_actualHeight, "actualHeight")) : B.JSInt_methods.toString$0(t1.otherOptions.height); iframe.srcdoc = htmlString; t1 = iframe.style; t1.border = "none"; A._EventStreamSubscription$(iframe, "load", new A._HtmlEditorWidgetWebState_initSummernote_closure0($async$self), false, type$._ElementEventStreamImpl_Event._precomputed1); $.$get$platformViewRegistry(); t1 = A._lateReadCheck($async$self.___HtmlEditorWidgetWebState_createdViewId, "createdViewId"); $.$get$platformViewManager().registerFactory$2(t1, new A._HtmlEditorWidgetWebState_initSummernote_closure1(iframe)); if ($async$self._framework$_element != null) $async$self.get$setState().call$1(new A._HtmlEditorWidgetWebState_initSummernote_closure2($async$self)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$initSummernote$0, $async$completer); }, build$1(_, context) { var t2, t3, t4, t5, t6, _this = this, _null = null, t1 = _this._widget; t1 = t1.htmlEditorOptions.autoAdjustHeight ? A._lateReadCheck(_this.___HtmlEditorWidgetWebState_actualHeight, "actualHeight") : t1.otherOptions.height; t2 = _this._widget; t3 = t2.controller; t4 = t2.htmlToolbarOptions; t2 = t2.callbacks; t5 = A.Expanded$(A.Directionality$(A.FutureBuilder$(new A._HtmlEditorWidgetWebState_build_closure(_this), _this.summernoteInit, type$.bool), B.TextDirection_1), 1); t6 = A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, 0); return A.Container$(_null, A.Column$(A._setArrayType([new A.ToolbarWidget(t3, t4, t2, _this.toolbarKey), t5, t6], type$.JSArray_Widget), B.CrossAxisAlignment_2, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1), B.Clip_0, _null, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null); } }; A._HtmlEditorWidgetWebState_initSummernote_closure.prototype = { call$1($event) { var t2, _s4_ = "type", data = B.C_JsonCodec.decode$1(0, new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.data, true)), t1 = J.getInterceptor$asx(data); if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart:") && J.$eq$(t1.$index(data, "view"), A._lateReadCheck(this.$this.___HtmlEditorWidgetWebState_createdViewId, "createdViewId")) && J.contains$1$asx(t1.$index(data, _s4_), "onSelectMention")) { t2 = this.p; t2.get$onSelect(t2).call$1(t1.$index(data, "value")); } }, $signature: 194 }; A._HtmlEditorWidgetWebState_initSummernote_closure0.prototype = { call$1($event) { return this.$call$body$_HtmlEditorWidgetWebState_initSummernote_closure($event); }, $call$body$_HtmlEditorWidgetWebState_initSummernote_closure($event) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, data, data2, jsonStr, jsonStr2, 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 = $async$self.$this; t2 = t1._widget; t3 = t2.htmlEditorOptions.initialText; if (t3 != null) { t2 = t2.controller; t2._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: setText", "text", t2._processHtml$1$html(t3)], type$.String, type$.nullable_Object)); } t2 = type$.String; t3 = type$.Object; data = A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: getHeight"], t2, t3); data.$indexSet(0, "view", A._lateReadCheck(t1.___HtmlEditorWidgetWebState_createdViewId, "createdViewId")); data2 = A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: setInputType"], t2, t3); data2.$indexSet(0, "view", A._lateReadCheck(t1.___HtmlEditorWidgetWebState_createdViewId, "createdViewId")); jsonStr = A._JsonStringStringifier_stringify(data, null, null); jsonStr2 = A._JsonStringStringifier_stringify(data2, null, null); A._EventStreamSubscription$(window, "message", new A._HtmlEditorWidgetWebState_initSummernote__closure(t1), false, type$.MessageEvent); B.Window_methods.postMessage$2(window, jsonStr, "*"); B.Window_methods.postMessage$2(window, jsonStr2, "*"); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 881 }; A._HtmlEditorWidgetWebState_initSummernote__closure.prototype = { call$1($event) { var t2, docHeight, t3, _this = this, _s4_ = "type", _s4_0 = "view", _s13_ = "createdViewId", _s12_ = "actualHeight", data = B.C_JsonCodec.decode$1(0, new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.data, true)), t1 = J.getInterceptor$asx(data); if (t1.$index(data, _s4_) != null) if (J.contains$1$asx(t1.$index(data, _s4_), "toDart: htmlHeight")) { t2 = _this.$this; t2 = J.$eq$(t1.$index(data, _s4_0), A._lateReadCheck(t2.___HtmlEditorWidgetWebState_createdViewId, _s13_)) && t2._widget.htmlEditorOptions.autoAdjustHeight; } else t2 = false; else t2 = false; if (t2) { docHeight = t1.$index(data, "height"); if (docHeight == null) docHeight = A._lateReadCheck(_this.$this.___HtmlEditorWidgetWebState_actualHeight, _s12_); t2 = _this.$this; t2 = !J.$eq$(docHeight, A._lateReadCheck(t2.___HtmlEditorWidgetWebState_actualHeight, _s12_)) && t2._framework$_element != null; if (t2) { t2 = _this.$this; if (t2._framework$_element != null) t2.get$setState().call$1(new A._HtmlEditorWidgetWebState_initSummernote___closure(t2, docHeight)); } } if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart: onChangeContent") && J.$eq$(t1.$index(data, _s4_0), A._lateReadCheck(_this.$this.___HtmlEditorWidgetWebState_createdViewId, _s13_))) { t2 = _this.$this; t3 = t2._widget; if (t3.htmlEditorOptions.shouldEnsureVisible) { t3 = t2._framework$_element; t3.toString; t3 = A.Scrollable_of(t3) != null; } else t3 = false; if (t3) { t3 = t2._framework$_element; t3.toString; t3 = A.Scrollable_of(t3)._scrollable$_position; t3.toString; t2 = t2._framework$_element.get$renderObject(); t2.toString; t3.ensureVisible$3$curve$duration(t2, B.Cubic_JUR, B.Duration_100000); } } if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart: updateToolbar") && J.$eq$(t1.$index(data, _s4_0), A._lateReadCheck(_this.$this.___HtmlEditorWidgetWebState_createdViewId, _s13_))) { t1 = _this.$this._widget.controller.HtmlEditorController_toolbar; if (t1 != null) t1.updateToolbar$1(data); } }, $signature: 194 }; A._HtmlEditorWidgetWebState_initSummernote___closure.prototype = { call$0() { var t1 = this.$this, t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1.toolbarKey); if (t2 == null) t2 = null; else { t2 = t2.get$size(t2); t2 = t2 == null ? null : t2._dy; } if (t2 == null) t2 = 0; t1.___HtmlEditorWidgetWebState_actualHeight = J.$add$ansx(this.docHeight, t2); }, $signature: 0 }; A._HtmlEditorWidgetWebState_initSummernote_closure1.prototype = { call$1(viewId) { return this.iframe; }, $signature: 178 }; A._HtmlEditorWidgetWebState_initSummernote_closure2.prototype = { call$0() { this.$this.summernoteInit = A.Future_Future$value(true, type$.bool); }, $signature: 0 }; A._HtmlEditorWidgetWebState_build_closure.prototype = { call$2(context, snapshot) { var t1, t2, _null = null; if (snapshot.data != null) return new A.HtmlElementView(A._lateReadCheck(this.$this.___HtmlEditorWidgetWebState_createdViewId, "createdViewId"), _null, _null); else { t1 = this.$this; t2 = t1._widget; return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, t2.htmlEditorOptions.autoAdjustHeight ? A._lateReadCheck(t1.___HtmlEditorWidgetWebState_actualHeight, "actualHeight") : t2.otherOptions.height, _null, _null, _null, _null, _null, _null); } }, $signature: 882 }; A.ToolbarWidget.prototype = { createState$0() { var t1 = type$.bool; return new A.ToolbarWidgetState(A.List_List$filled(4, false, false, t1), A.List_List$filled(3, false, false, t1), A.List_List$filled(2, false, false, t1), A.List_List$filled(2, false, false, t1), A.List_List$filled(5, false, false, t1), A.List_List$filled(4, false, false, t1), A.List_List$filled(2, false, false, t1), B.Color_4278190080, B.MaterialColor_Map_JNHRl_4294961979, B._StateLifecycle_0); } }; A.ToolbarWidgetState.prototype = { initState$0() { var t1, t2, _i, t, icons, _this = this, _null = null; _this._widget.controller.HtmlEditorController_toolbar = _this; _this._toolbar_widget$_isExpanded = false; for (t1 = type$.bool, t2 = type$.JSArray_Icon, _i = 0; _i < 7; ++_i) { t = B.List_Y5a[_i]; if (t instanceof A.FontButtons) { _this._fontSelected = A.List_List$filled(t.getIcons1$0().length, false, false, t1); _this._miscFontSelected = A.List_List$filled(t.getIcons2$0().length, false, false, t1); } if (t instanceof A.ColorButtons) { icons = A._setArrayType([], t2); icons.push(new A.Icon(B.IconData_58035_MaterialIcons_null_false, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58033_MaterialIcons_null_false, _null, _null, _null)); _this._colorSelected = A.List_List$filled(icons.length, false, false, t1); } if (t instanceof A.ListButtons) { icons = A._setArrayType([], t2); icons.push(new A.Icon(B.IconData_58040_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58041_MaterialIcons_null_false, _null, _null, _null)); _this._listSelected = A.List_List$filled(icons.length, false, false, t1); } if (t instanceof A.ParagraphButtons) _this._alignSelected = A.List_List$filled(t.getIcons1$0().length, false, false, t1); } _this.super$State$initState(); }, updateToolbar$1(json) { var t2, fontName, fontSize, t3, fontList, miscFontList, colorList, paragraphList, alignList, lineHeight, listType, textDir, t4, lineHeightDouble, _this = this, t1 = J.getInterceptor$asx(json), parentElem = t1.$index(json, "style"); if (parentElem == null) parentElem = ""; t2 = t1.$index(json, "fontName"); t2 = J.toString$0$(t2 == null ? "" : t2); fontName = A.stringReplaceAllUnchecked(t2, '"', ""); fontSize = A.Primitives_parseDouble(t1.$index(json, "fontSize")); if (fontSize == null) fontSize = 3; t2 = type$.List_dynamic; t3 = type$.nullable_bool; fontList = J.cast$1$0$ax(t2._as(t1.$index(json, "font")), t3); miscFontList = J.cast$1$0$ax(t2._as(t1.$index(json, "miscFont")), t3); colorList = J.cast$1$0$ax(t2._as(t1.$index(json, "color")), type$.nullable_String); paragraphList = J.cast$1$0$ax(t2._as(t1.$index(json, "paragraph")), t3); alignList = J.cast$1$0$ax(t2._as(t1.$index(json, "align")), t3); lineHeight = t1.$index(json, "lineHeight"); if (lineHeight == null) lineHeight = ""; listType = t1.$index(json, "listStyle"); if (listType == null) listType = ""; textDir = t1.$index(json, "direction"); if (textDir == null) textDir = "ltr"; t1 = type$.JSArray_String; t2 = B.JSArray_methods.contains$1(A._setArrayType(["pre", "blockquote", "h1", "h2", "h3", "h4", "h5", "h6"], t1), parentElem); t3 = _this.get$setState(); t4 = _this._framework$_element == null; if (t2) { if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure(_this, parentElem)); } else if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure0(_this)); t2 = B.JSArray_methods.contains$1(A._setArrayType(["Courier New", "sans-serif", "Times New Roman"], t1), fontName); t4 = _this._framework$_element == null; if (t2) { if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure1(_this, fontName)); } else if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure2(_this)); if (colorList.$index(0, 0) != null) { t2 = colorList.$index(0, 0); t2.toString; t2 = J.get$length$asx(t2) !== 0; } else t2 = false; t4 = _this._framework$_element == null; if (t2) { if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure3(_this, colorList)); } else if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure4(_this)); if (colorList.$index(0, 1) != null) { t2 = colorList.$index(0, 1); t2.toString; t2 = J.get$length$asx(t2) !== 0; } else t2 = false; t4 = _this._framework$_element == null; if (t2) { if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure5(_this, colorList)); } else if (!t4) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure6(_this)); if (B.JSArray_methods.contains$1(A._setArrayType(["decimal", "lower-alpha", "upper-alpha", "lower-roman", "upper-roman", "disc", "circle", "square"], t1), listType)) { if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure7(_this, listType)); } else _this._listStyleSelectedItem = null; if (lineHeight.length !== 0 && B.JSString_methods.endsWith$1(lineHeight, "px")) { lineHeightDouble = A.Primitives_parseDouble(A.stringReplaceAllUnchecked(lineHeight, "px", "")); if (lineHeightDouble == null) lineHeightDouble = 16; t1 = type$.MappedListIterable_double_double; if (B.JSArray_methods.contains$1(A.List_List$of(new A.MappedListIterable(A._setArrayType([1, 1.2, 1.4, 1.5, 1.6, 1.8, 2, 3], type$.JSArray_double), new A.ToolbarWidgetState_updateToolbar_closure8(_this), t1), true, t1._eval$1("ListIterable.E")), lineHeightDouble)) if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure9(_this, lineHeightDouble)); } else if (lineHeight === "normal") if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure10(_this)); if (B.JSArray_methods.contains$1(A._setArrayType([1, 2, 3, 4, 5, 6, 7], type$.JSArray_int), fontSize)) if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure11(_this, fontSize)); if (textDir === "ltr") { if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure12(_this)); } else if (textDir === "rtl") if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure13(_this)); if (_this._framework$_element != null) t3.call$1(new A.ToolbarWidgetState_updateToolbar_closure14(_this, fontList, miscFontList, paragraphList, alignList)); _this._widget.toString; }, build$1(_, context) { var t2, t3, _this = this, _null = null, t1 = _this._widget.htmlToolbarOptions.toolbarType; if (t1 === B.ToolbarType_0) return A.PointerInterceptor$(A.AbsorbPointer$(false, A.Opacity$(false, new A.Padding(B.EdgeInsets_5_5_5_5, A.Wrap$(B.WrapAlignment_0, _this._toolbar_widget$_buildChildren$0(), B.WrapCrossAlignment_0, B.WrapAlignment_0, 5, 5), _null), 1))); else if (t1 === B.ToolbarType_1) return A.PointerInterceptor$(A.AbsorbPointer$(false, A.Opacity$(false, A.Container$(_null, new A.Padding(B.EdgeInsets_5_5_5_5, A.CustomScrollView$(B.Axis_0, false, A._setArrayType([A.SliverFillRemaining$(A.Row$(_this._toolbar_widget$_buildChildren$0(), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_5, B.MainAxisSize_1, _null, _null), false)], type$.JSArray_Widget)), _null), B.Clip_0, _null, _null, _null, _null, 51, _null, _null, _null, _null, _null, _null), 1))); else if (t1 === B.ToolbarType_2) { t1 = _this._toolbar_widget$_isExpanded ? context.dependOnInheritedWidgetOfExactType$1$0(type$.MediaQuery).data.size._dy : 51; t2 = _this._toolbar_widget$_isExpanded; t3 = _this._widget; if (t2) { t3.toString; t2 = _this._toolbar_widget$_buildChildren$0(); _this._widget.toString; B.JSArray_methods.insert$2(t2, 0, A.Container$(_null, A.IconButton$(B.Alignment_0_0, _null, _null, true, A.Icon$(_this._toolbar_widget$_isExpanded ? B.IconData_57925_MaterialIcons_null_false : B.IconData_57926_MaterialIcons_null_false, B.MaterialColor_Map_HFpTk_4288585374, _null), 24, new A.ToolbarWidgetState_build_closure(_this), B.EdgeInsets_8_8_8_8, _null, _null, _null), B.Clip_0, _null, _null, _null, _null, 36, _null, _null, _null, _null, _null, _null)); t2 = new A.Padding(B.EdgeInsets_5_5_5_5, A.Wrap$(B.WrapAlignment_0, t2, B.WrapCrossAlignment_0, B.WrapAlignment_0, 5, 5), _null); } else { t3.toString; t2 = new A.Padding(B.EdgeInsets_5_5_5_5, A.CustomScrollView$(B.Axis_0, true, A._setArrayType([new A.SliverPersistentHeader(new A.ExpandIconDelegate(36, false, new A.ToolbarWidgetState_build_closure0(_this)), true, _null), A.SliverFillRemaining$(A.Row$(_this._toolbar_widget$_buildChildren$0(), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_5, B.MainAxisSize_1, _null, _null), false)], type$.JSArray_Widget)), _null); } return A.PointerInterceptor$(A.AbsorbPointer$(false, A.Opacity$(false, A.Container$(_null, t2, B.Clip_0, _null, new A.BoxConstraints(0, 1 / 0, 0, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null), 1))); } return A.Container$(_null, _null, B.Clip_0, _null, _null, _null, _null, 0, _null, _null, _null, _null, _null, 0); }, _toolbar_widget$_buildChildren$0() { var t1, t2, t3, t4, t5, t6, t7, t8, t9, _i, t, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, icons, _this = this, _null = null, _s11_ = "Courier New", _s10_ = "sans-serif", _s15_ = "Times New Roman", toolbarChildren = A._setArrayType([], type$.JSArray_Widget); _this._widget.toString; t1 = type$.CustomDropdownMenuItem_String; t2 = type$.JSArray_CustomDropdownMenuItem_String; t3 = type$.String; t4 = type$.MediaQuery; t5 = type$.CustomDropdownMenuItem_double; t6 = type$.JSArray_CustomDropdownMenuItem_double; t7 = type$.double; t8 = type$.JSArray_Icon; t9 = type$.bool; _i = 0; for (; _i < 7; ++_i) { t = B.List_Y5a[_i]; if (t instanceof A.StyleButtons && true) { _this._widget.toString; t10 = _this._framework$_element; t10 = t10.dependOnInheritedWidgetOfExactType$1$0(t4).data.size._dy / 3; t11 = _this._widget.htmlToolbarOptions; t12 = $.PointerInterceptor__registered; if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } t13 = A.Container$(_null, new A.Text("Quote", _null, new A.TextStyle(true, B.MaterialColor_Map_HFpTk_4288585374, _null, "times", _null, _null, _null, _null, _null, _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.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, new A.Border(B.BorderSide_0CF, B.BorderSide_0CF, B.BorderSide_0CF, new A.BorderSide(B.MaterialColor_Map_HFpTk_4288585374, 3, B.BorderStyle_1)), _null, _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(10, 0, 10, 0), _null, _null, _null); if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } t14 = new A.Radius(5, 5); t14 = A.Container$(_null, new A.Text("Code", _null, new A.TextStyle(true, B.Color_4294967295, _null, "courier", _null, _null, _null, _null, _null, _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.Clip_0, _null, _null, new A.BoxDecoration(B.MaterialColor_Map_HFpTk_4288585374, _null, _null, new A.BorderRadius(t14, t14, t14, t14), _null, _null, B.BoxShape_0), _null, _null, _null, _null, new A.EdgeInsets(10, 0, 10, 0), _null, _null, _null); if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); t12 = $.PointerInterceptor__registered = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; } toolbarChildren.push(A.Container$(_null, new A.CustomDropdownButtonHideUnderline(A.CustomDropdownButton$(_null, 8, _null, _null, _null, _null, 24, 48, A._setArrayType([new A.CustomDropdownMenuItem("p", new A.PointerInterceptor(new A.Text("Normal", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t1), new A.CustomDropdownMenuItem("blockquote", new A.PointerInterceptor(t13, _null), _null, t1), new A.CustomDropdownMenuItem("pre", new A.PointerInterceptor(t14, _null), _null, t1), new A.CustomDropdownMenuItem("h1", new A.PointerInterceptor(new A.Text("Header 1", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 32, B.FontWeight_6, _null, _null, _null, _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), new A.CustomDropdownMenuItem("h2", new A.PointerInterceptor(new A.Text("Header 2", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 24, B.FontWeight_6, _null, _null, _null, _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), new A.CustomDropdownMenuItem("h3", new A.PointerInterceptor(new A.Text("Header 3", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 18, B.FontWeight_6, _null, _null, _null, _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), new A.CustomDropdownMenuItem("h4", new A.PointerInterceptor(new A.Text("Header 4", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 16, B.FontWeight_6, _null, _null, _null, _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), new A.CustomDropdownMenuItem("h5", new A.PointerInterceptor(new A.Text("Header 5", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 13, B.FontWeight_6, _null, _null, _null, _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), new A.CustomDropdownMenuItem("h6", new A.PointerInterceptor(new A.Text("Header 6", _null, new A.TextStyle(true, _null, _null, _null, _null, _null, 11, B.FontWeight_6, _null, _null, _null, _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)], t2), B.DropdownMenuDirection_0, t10, new A.ToolbarWidgetState__buildChildren_closure(_this), t11.textStyle, _this._fontSelectedItem, t3), _null), B.Clip_0, _null, _null, _null, _null, 36, _null, _null, B.EdgeInsets_8_0_0_0, _null, _null, _null)); } if (t instanceof A.FontSettingButtons) { t10 = _this._widget; t10.toString; t10 = _this._framework$_element; t10 = t10.dependOnInheritedWidgetOfExactType$1$0(t4).data.size._dy / 3; t11 = _this._widget.htmlToolbarOptions; t12 = $.PointerInterceptor__registered; if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t12 = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); t12 = $.PointerInterceptor__registered = true; } if (!t12) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; } toolbarChildren.push(A.Container$(_null, new A.CustomDropdownButtonHideUnderline(A.CustomDropdownButton$(_null, 8, _null, _null, _null, _null, 24, 48, A._setArrayType([new A.CustomDropdownMenuItem(_s11_, new A.PointerInterceptor(new A.Text(_s11_, _null, new A.TextStyle(true, _null, _null, "Courier", _null, _null, _null, _null, _null, _null, _null, _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), new A.CustomDropdownMenuItem(_s10_, new A.PointerInterceptor(new A.Text("Sans Serif", _null, new A.TextStyle(true, _null, _null, _s10_, _null, _null, _null, _null, _null, _null, _null, _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), new A.CustomDropdownMenuItem(_s15_, new A.PointerInterceptor(new A.Text(_s15_, _null, new A.TextStyle(true, _null, _null, "Times", _null, _null, _null, _null, _null, _null, _null, _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)], t2), B.DropdownMenuDirection_0, t10, new A.ToolbarWidgetState__buildChildren_closure0(_this), t11.textStyle, _this._fontNameSelectedItem, t3), _null), B.Clip_0, _null, _null, _null, _null, 36, _null, _null, B.EdgeInsets_8_0_0_0, _null, _null, _null)); t10 = _this._widget; t10.toString; t10 = _this._framework$_element; t10 = t10.dependOnInheritedWidgetOfExactType$1$0(t4).data.size._dy / 3; t11 = _this._widget.htmlToolbarOptions; t12 = _this._fontSizeUnitSelectedItem; t12 = (t12 === "px" ? "11" : "8") + " " + t12; t13 = $.PointerInterceptor__registered; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t13 = true; } t14 = _this._fontSizeUnitSelectedItem; t14 = (t14 === "px" ? "13" : "10") + " " + t14; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t13 = true; } t15 = _this._fontSizeUnitSelectedItem; t15 = (t15 === "px" ? "16" : "12") + " " + t15; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t13 = true; } t16 = _this._fontSizeUnitSelectedItem; t16 = (t16 === "px" ? "19" : "14") + " " + t16; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t13 = true; } t17 = _this._fontSizeUnitSelectedItem; t17 = (t17 === "px" ? "24" : "18") + " " + t17; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; t13 = true; } t18 = _this._fontSizeUnitSelectedItem; t18 = (t18 === "px" ? "32" : "24") + " " + t18; if (!t13) { A._registerFactory(false); A._registerFactory(true); t13 = $.PointerInterceptor__registered = true; } t19 = _this._fontSizeUnitSelectedItem; t19 = (t19 === "px" ? "48" : "36") + " " + t19; if (!t13) { A._registerFactory(false); A._registerFactory(true); $.PointerInterceptor__registered = true; } toolbarChildren.push(A.Container$(_null, new A.CustomDropdownButtonHideUnderline(A.CustomDropdownButton$(_null, 8, _null, _null, _null, _null, 24, 48, A._setArrayType([new A.CustomDropdownMenuItem(1, new A.PointerInterceptor(new A.Text(t12, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(2, new A.PointerInterceptor(new A.Text(t14, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(3, new A.PointerInterceptor(new A.Text(t15, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(4, new A.PointerInterceptor(new A.Text(t16, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(5, new A.PointerInterceptor(new A.Text(t17, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(6, new A.PointerInterceptor(new A.Text(t18, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5), new A.CustomDropdownMenuItem(7, new A.PointerInterceptor(new A.Text(t19, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null), _null, t5)], t6), B.DropdownMenuDirection_0, t10, new A.ToolbarWidgetState__buildChildren_closure1(_this), t11.textStyle, _this._fontSizeSelectedItem, t7), _null), B.Clip_0, _null, _null, _null, _null, 36, _null, _null, B.EdgeInsets_8_0_0_0, _null, _null, _null)); } if (t instanceof A.FontButtons) { t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = _this._fontSelected; toolbarChildren.push(new A.ToggleButtons(t.getIcons1$0(), t12, new A.ToolbarWidgetState__buildChildren_closure2(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = _this._miscFontSelected; toolbarChildren.push(new A.ToggleButtons(t.getIcons2$0(), t12, new A.ToolbarWidgetState__buildChildren_closure3(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); } if (t instanceof A.ColorButtons) t10 = true; else t10 = false; if (t10) { t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = _this._colorSelected; icons = A._setArrayType([], t8); icons.push(new A.Icon(B.IconData_58035_MaterialIcons_null_false, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58033_MaterialIcons_null_false, _null, _null, _null)); toolbarChildren.push(new A.ToggleButtons(icons, t12, new A.ToolbarWidgetState__buildChildren_closure4(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); } if (t instanceof A.ListButtons) { t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = _this._listSelected; icons = A._setArrayType([], t8); icons.push(new A.Icon(B.IconData_58040_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58041_MaterialIcons_null_false, _null, _null, _null)); toolbarChildren.push(new A.ToggleButtons(icons, t12, new A.ToolbarWidgetState__buildChildren_closure5(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); } if (t instanceof A.ParagraphButtons) { t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = _this._alignSelected; toolbarChildren.push(new A.ToggleButtons(t.getIcons1$0(), t12, new A.ToolbarWidgetState__buildChildren_closure6(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); icons = A._setArrayType([], t8); icons.push(new A.Icon(B.IconData_58037_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58036_MaterialIcons_null_true, _null, _null, _null)); t12 = A.List_List$filled(icons.length, false, false, t9); icons = A._setArrayType([], t8); icons.push(new A.Icon(B.IconData_58037_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58036_MaterialIcons_null_true, _null, _null, _null)); toolbarChildren.push(new A.ToggleButtons(icons, t12, new A.ToolbarWidgetState__buildChildren_closure7(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); } if (t instanceof A.InsertButtons) t10 = true; else t10 = false; if (t10) { t10 = _this._widget; t10.toString; t11 = A.BoxConstraints$tightFor(34, 34); t12 = A.List_List$filled(t.getIcons$0().length, false, false, t9); toolbarChildren.push(new A.ToggleButtons(t.getIcons$0(), t12, new A.ToolbarWidgetState__buildChildren_closure8(_this, t), t10.htmlToolbarOptions.textStyle, t11, _null, _null, _null, _null, _null, _null, _null, false, _null, _null, _null, _null, _null)); } } _this._widget.toString; B.JSArray_methods.addAll$1(toolbarChildren, B.List_empty12); _this._widget.toString; t1 = A.intersperse(B.VerticalDivider_iFe, toolbarChildren, type$.Widget); toolbarChildren = A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E")); return toolbarChildren; } }; A.ToolbarWidgetState_updateToolbar_closure.prototype = { call$0() { this.$this._fontSelectedItem = this.parentElem; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure0.prototype = { call$0() { this.$this._fontSelectedItem = "p"; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure1.prototype = { call$0() { this.$this._fontNameSelectedItem = this.fontName; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure2.prototype = { call$0() { this.$this._fontNameSelectedItem = "sans-serif"; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure3.prototype = { call$0() { var rgbList, t1 = this.colorList.$index(0, 0); t1.toString; t1 = A.stringReplaceAllUnchecked(t1, "rgb(", ""); rgbList = A.stringReplaceAllUnchecked(t1, ")", "").split(", "); this.$this._foreColorSelected = A.Color$fromRGBO(A.int_parse(rgbList[0], null), A.int_parse(rgbList[1], null), A.int_parse(rgbList[2], null), 1); }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure4.prototype = { call$0() { this.$this._foreColorSelected = B.Color_4278190080; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure5.prototype = { call$0() { var t1 = this.colorList.$index(0, 1); t1.toString; this.$this._backColorSelected = new A.Color(A.int_parse(t1, 16) + 4278190080 >>> 0); }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure6.prototype = { call$0() { this.$this._backColorSelected = B.MaterialColor_Map_JNHRl_4294961979; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure7.prototype = { call$0() { this.$this._listStyleSelectedItem = this.listType; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure8.prototype = { call$1(e) { return e * this.$this._actualFontSizeSelectedItem; }, $signature: 1 }; A.ToolbarWidgetState_updateToolbar_closure9.prototype = { call$0() { var t1 = this.$this; t1._lineHeightSelectedItem = this.lineHeightDouble / t1._actualFontSizeSelectedItem; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure10.prototype = { call$0() { this.$this._lineHeightSelectedItem = 1; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure11.prototype = { call$0() { this.$this._fontSizeSelectedItem = this.fontSize; }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure12.prototype = { call$0() { this.$this._textDirectionSelected = A._setArrayType([true, false], type$.JSArray_bool); }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure13.prototype = { call$0() { this.$this._textDirectionSelected = A._setArrayType([false, true], type$.JSArray_bool); }, $signature: 0 }; A.ToolbarWidgetState_updateToolbar_closure14.prototype = { call$0() { var t2, t3, t4, t5, t6, _i, t, i, t7, t8, icons, _this = this, _null = null, t1 = _this.$this; t1._widget.toString; t2 = _this.miscFontList; t3 = _this.fontList; t4 = type$.JSArray_Icon; t5 = _this.paragraphList; t6 = _this.alignList; _i = 0; for (; _i < 7; ++_i) { t = B.List_Y5a[_i]; if (t instanceof A.FontButtons) { for (i = 0; i < t1._fontSelected.length; ++i) { if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58031_MaterialIcons_null_false)) { t7 = t1._fontSelected; t8 = t3.$index(0, 0); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58038_MaterialIcons_null_false)) { t7 = t1._fontSelected; t8 = t3.$index(0, 1); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58050_MaterialIcons_null_false)) { t7 = t1._fontSelected; t8 = t3.$index(0, 2); t7[i] = t8 == null ? false : t8; } } for (i = 0; i < t1._miscFontSelected.length; ++i) { if (J.$eq$(t.getIcons2$0()[i].icon, B.IconData_58047_MaterialIcons_null_false)) { t7 = t1._miscFontSelected; t8 = t2.$index(0, 0); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons2$0()[i].icon, B.IconData_58909_MaterialIcons_null_false)) { t7 = t1._miscFontSelected; t8 = t2.$index(0, 1); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons2$0()[i].icon, B.IconData_58903_MaterialIcons_null_false)) { t7 = t1._miscFontSelected; t8 = t2.$index(0, 2); t7[i] = t8 == null ? false : t8; } } } if (t instanceof A.ListButtons) for (i = 0; i < t1._listSelected.length; ++i) { icons = A._setArrayType([], t4); icons.push(new A.Icon(B.IconData_58040_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58041_MaterialIcons_null_false, _null, _null, _null)); if (J.$eq$(icons[i].icon, B.IconData_58040_MaterialIcons_null_true)) { t7 = t1._listSelected; t8 = t5.$index(0, 0); t7[i] = t8 == null ? false : t8; } icons = A._setArrayType([], t4); icons.push(new A.Icon(B.IconData_58040_MaterialIcons_null_true, _null, _null, _null)); icons.push(new A.Icon(B.IconData_58041_MaterialIcons_null_false, _null, _null, _null)); if (J.$eq$(icons[i].icon, B.IconData_58041_MaterialIcons_null_false)) { t7 = t1._listSelected; t8 = t5.$index(0, 1); t7[i] = t8 == null ? false : t8; } } if (t instanceof A.ParagraphButtons) for (i = 0; i < t1._alignSelected.length; ++i) { if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58029_MaterialIcons_null_false)) { t7 = t1._alignSelected; t8 = t6.$index(0, 0); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58027_MaterialIcons_null_false)) { t7 = t1._alignSelected; t8 = t6.$index(0, 1); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58030_MaterialIcons_null_false)) { t7 = t1._alignSelected; t8 = t6.$index(0, 2); t7[i] = t8 == null ? false : t8; } if (J.$eq$(t.getIcons1$0()[i].icon, B.IconData_58028_MaterialIcons_null_false)) { t7 = t1._alignSelected; t8 = t6.$index(0, 3); t7[i] = t8 == null ? false : t8; } } } }, $signature: 0 }; A.ToolbarWidgetState_build_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; if (t1._framework$_element != null) t1.get$setState().call$1(new A.ToolbarWidgetState_build__closure0(t1)); $async$goto = 2; return A._asyncAwait(A.Future_Future$delayed(A.Duration$(0, 0, 0, 100, 0), null, type$.dynamic), $async$call$0); case 2: // returning from await. t1 = t1._widget; t1.controller._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: getHeight"], type$.String, type$.nullable_Object)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.ToolbarWidgetState_build__closure0.prototype = { call$0() { var t1 = this.$this; t1._toolbar_widget$_isExpanded = !t1._toolbar_widget$_isExpanded; }, $signature: 0 }; A.ToolbarWidgetState_build_closure0.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; if (t1._framework$_element != null) t1.get$setState().call$1(new A.ToolbarWidgetState_build__closure(t1)); $async$goto = 2; return A._asyncAwait(A.Future_Future$delayed(A.Duration$(0, 0, 0, 100, 0), null, type$.dynamic), $async$call$0); case 2: // returning from await. t1 = t1._widget; t1.controller._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: getHeight"], type$.String, type$.nullable_Object)); // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$0, $async$completer); }, $signature: 7 }; A.ToolbarWidgetState_build__closure.prototype = { call$0() { var t1 = this.$this; t1._toolbar_widget$_isExpanded = !t1._toolbar_widget$_isExpanded; }, $signature: 0 }; A.ToolbarWidgetState__buildChildren_closure.prototype = { call$1(changed) { return this.$call$body$ToolbarWidgetState__buildChildren_closure8(changed); }, $call$body$ToolbarWidgetState__buildChildren_closure8(changed) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, proceed, 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._widget; t2.toString; $async$goto = 2; return A._asyncAwait(null, $async$call$1); case 2: // returning from await. proceed = $async$result; if (proceed == null ? true : proceed) { t1._widget.controller.execCommand$2$argument(0, "formatBlock", changed); new A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem1(t1).call$1(changed); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 338 }; A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem1.prototype = { call$1(changed) { var t1; if (typeof changed == "string") { t1 = this.$this; if (t1._framework$_element != null) t1.get$setState().call$1(new A.ToolbarWidgetState__buildChildren__updateSelectedItem_closure1(t1, changed)); } }, $signature: 6 }; A.ToolbarWidgetState__buildChildren__updateSelectedItem_closure1.prototype = { call$0() { this.$this._fontSelectedItem = this.changed; }, $signature: 0 }; A.ToolbarWidgetState__buildChildren_closure0.prototype = { call$1(changed) { return this.$call$body$ToolbarWidgetState__buildChildren_closure7(changed); }, $call$body$ToolbarWidgetState__buildChildren_closure7(changed) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, proceed, 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._widget; t2.toString; $async$goto = 2; return A._asyncAwait(null, $async$call$1); case 2: // returning from await. proceed = $async$result; if (proceed == null ? true : proceed) { t1._widget.controller.execCommand$2$argument(0, "fontName", changed); new A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem0(t1).call$1(changed); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 338 }; A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem0.prototype = { call$1(changed) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic), $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 if (typeof changed == "string") { t1 = $async$self.$this; if (t1._framework$_element != null) t1.get$setState().call$1(new A.ToolbarWidgetState__buildChildren__updateSelectedItem_closure0(t1, changed)); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 6 }; A.ToolbarWidgetState__buildChildren__updateSelectedItem_closure0.prototype = { call$0() { this.$this._fontNameSelectedItem = this.changed; }, $signature: 0 }; A.ToolbarWidgetState__buildChildren_closure1.prototype = { call$1(changed) { return this.$call$body$ToolbarWidgetState__buildChildren_closure6(changed); }, $call$body$ToolbarWidgetState__buildChildren_closure6(changed) { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.void), $async$self = this, proceed, t1, intChanged, 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; intChanged = B.JSNumber_methods.toInt$0(changed); t2 = t1._widget; t2.toString; $async$goto = 2; return A._asyncAwait(null, $async$call$1); case 2: // returning from await. proceed = $async$result; if (proceed == null ? true : proceed) { switch (intChanged) { case 1: t1._actualFontSizeSelectedItem = 11; break; case 2: t1._actualFontSizeSelectedItem = 13; break; case 3: t1._actualFontSizeSelectedItem = 16; break; case 4: t1._actualFontSizeSelectedItem = 19; break; case 5: t1._actualFontSizeSelectedItem = 24; break; case 6: t1._actualFontSizeSelectedItem = 32; break; case 7: t1._actualFontSizeSelectedItem = 48; break; } t1._widget.controller.execCommand$2$argument(0, "fontSize", B.JSNumber_methods.toString$0(changed)); new A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem(t1).call$1(changed); } // implicit return return A._asyncReturn(null, $async$completer); } }); return A._asyncStartSync($async$call$1, $async$completer); }, $signature: 884 }; A.ToolbarWidgetState__buildChildren_closure_updateSelectedItem.prototype = { call$1(changed) { var t1; if (typeof changed == "number"